1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00
Commit graph

27706 commits

Author SHA1 Message Date
Dave Love
5bbf0b3c7f Doc fixes.
(Man-init-defvars): Use display-color-p to set fontification.
2000-03-12 14:49:20 +00:00
Dave Love
4bce8c17dd (mouse-avoidance-mode): Add autoload cookie to
defcustom.
2000-03-12 14:48:32 +00:00
Dave Love
3cf0730529 (isearch-highlight): Use display-color-p. 2000-03-12 14:42:58 +00:00
Dave Love
a1fe6488ec (load-file): Allow completion to .elc. 2000-03-12 14:42:35 +00:00
Gerd Moellmann
5e5dff44e7 *** empty log message *** 2000-03-12 13:49:28 +00:00
Gerd Moellmann
b78417b000 (reb-re-syntax): Fix typo in `:type'. Fix comment. 2000-03-12 13:45:25 +00:00
Gerd Moellmann
7b746c3810 (x_defined_color): Rewritten to use x_allocate_nearest_color. 2000-03-12 12:52:29 +00:00
Eli Zaretskii
e411ce4be0 Mention cursor-type support on MS-DOS terminals. 2000-03-12 12:36:51 +00:00
Eli Zaretskii
0fceb73215 (MS-DOS Display) Explain the differences in cursor type control
on MSDOS terminals.
2000-03-12 12:33:59 +00:00
Eli Zaretskii
8ba01a329c (vga_installed): New function, code moved from
dos_set_window_size.
(Qbar, Qcursor_type, outside_cursor): New variables.
(syms_of_msdos): Intern and staticpro them.
(dos_ttraw) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Save the cursor
shape used outside Emacs when called for the first time.
(dos_ttcooked) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Restore the
cursor shape used outside Emacs.
(msdos_set_cursor_shape, IT_set_cursor_type): New functions.
(IT_frame_up_to_date): Call IT_set_cursor_type, in case the cursor
type has changed.
(IT_set_frame_parameters): Call IT_set_cursor_type if the frame
parameters specify the cursor.  Make qreverse a global
variable (renamed to Qreverse).
2000-03-12 12:32:17 +00:00
Dave Love
cbf48ec9a2 (hanoi-internal): Don't use oddp. 2000-03-11 18:47:38 +00:00
Stefan Monnier
f24fef2f20 *** empty log message *** 2000-03-11 06:54:21 +00:00
Stefan Monnier
83fef604bc *** empty log message *** 2000-03-11 06:49:17 +00:00
Stefan Monnier
5b467bf4e2 *** empty log message *** 2000-03-11 03:51:31 +00:00
Stefan Monnier
afa18a4e5d (font-lock-keywords): Fix the doc now that regexp-opt-depth is unnecessary.
(save-buffer-state): Set an edebug spec.
(font-lock-fontify-anchored-keywords): Properly handle the case where the
matcher goes past the limit.
2000-03-11 03:50:50 +00:00
Stefan Monnier
e4ad5f9e5f (easy-mmode-defmap, easy-mmode-defsyntax): Autoload the functions used.
(easy-mmode-define-syntax): Fix CL typo.
(easy-mmode-define-derived-mode): Improve the docstring generation.
2000-03-11 03:37:37 +00:00
Gerd Moellmann
d407456c9e (texinfo-version): Variable and function
removed.
2000-03-10 20:07:01 +00:00
Stefan Monnier
5a7a545cc5 (easy-mmode-define-keymap): Extend to allow more flexibility.
(easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New functions.
(easy-mmode-defmap, easy-mmode-defsyntax, easy-mmode-define-derived-mode):
New macros.
2000-03-10 01:17:04 +00:00
Dave Love
445b0666d6 *** empty log message *** 2000-03-09 23:17:52 +00:00
Dave Love
68ca306cb5 (fortran-comment-line-start): Define as
"C".
(fortran-comment-line-start-skip): Don't match cpp stuff.
(font-lock-keywords): Add * to comment-chars.  Grok cpp stuff.
(fortran-mode-map): Remove over-eager custom-menu-create for now.
(fortran-mode): Don't set fortran-comment-line-start-skip,
fortran-comment-line-start here.  Set comment-start,
add-log-current-defun.
(fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
(fortran-current-defun): New function.
2000-03-09 23:02:51 +00:00
Dave Love
852eeeafd2 2000-09-01 Didier Verna <didier@xemacs.org>
* rect.el (replace-rectangle): New function.
2000-03-09 22:50:30 +00:00
Gerd Moellmann
d1221ea91d *** empty log message *** 2000-03-09 20:28:18 +00:00
Gerd Moellmann
1853aa6bc9 (mouse-drag-region): Don't run up-event handler
if hscroll has changed.
2000-03-09 20:08:49 +00:00
Richard M. Stallman
f74bbbbf55 *** empty log message *** 2000-03-09 13:59:23 +00:00
Gerd Moellmann
80460654af *** empty log message *** 2000-03-09 13:40:34 +00:00
Gerd Moellmann
eff9591695 (Fy_or_n_p): Cancel busy-cursor. 2000-03-09 13:34:34 +00:00
Dave Love
e27e5e075f Update maintainer address. 2000-03-09 13:32:23 +00:00
Gerd Moellmann
cb41203e13 (octave-font-lock-keywords): To font-lock the
builtin operators, use `font-lock-builtin-face' for Emacs and
`font-lock-preprocessor-face' otherwise.
2000-03-09 13:29:44 +00:00
Gerd Moellmann
11b42ef4cd (lisp-font-lock-keywords-1): Highlight
`(defun (setf foo)' differently.
2000-03-09 13:28:42 +00:00
Stefan Monnier
c00562751d Update copyright and leading comment.
(regexp-opt): Update comment and adapt the code the new meaning of the
`paren' argument of regex-opt-group for shy-groups.
(regexp-opt-depth): Handle shy groups as well as backslashed backslashes.
(regexp-opt-group): Turn the leading comment into a docstring.
Allow `paren' to be a string (the string to use to open a group).
Remove open-presuf and close-presuf.
Instead of checking for `all one-char' and then later on check for
`several one-char', handle both cases close together.
Also apply a more generic algorithm for suffixes (the mirror image
of the algorithm used for prefixes).
Use shy-groups.
\Use nreverse rather than reverse.
(regexp-opt-try-suffix): Removed.
2000-03-09 00:45:15 +00:00
Stefan Monnier
e3f9c7f8fc (inferior-scheme-mode-map): Define it independently
from comint-mode-map, so we can just inherit from it.  Also, move the
initialization into the `defvar' since there's no docstring anyway
and it's fairly short.
(inferior-scheme-mode): Define it as derived-mode: the code is shorter
and this way we inherit from comint-mode-map rather than copying it.
2000-03-08 23:55:36 +00:00
Stefan Monnier
a9853251a3 (replace-regexps-in-string): Properly handle the case where
we match an empty string.
2000-03-08 23:49:09 +00:00
Stefan Monnier
433d16a196 (comint-exec-1): Add the current-dir to the exec-path when
the command has a directory component (such as "./testml").
Also fix a typo in the comment.
2000-03-08 23:46:09 +00:00
Stefan Monnier
95cd4c403d *** empty log message *** 2000-03-08 23:26:00 +00:00
Stefan Monnier
505bde11b0 This is a big redesign of failure-stack and register handling, prompted
by bugs revealed when trying to add shy-groups.  Overall, what happened
is that loops are now structured a little differently, groups can be
shy and the code is a little simpler.

(enum re_opcode_t): Remove jump_past_alt, maybe_pop_jump,
push_dummy_failure and dumy_failure_jump.
Add on_failure_jump_(exclusive, loop and smart).
Also fix the comment for (start|stop)_memory since they now only take
one argument (the second has becomes unnecessary).
(print_partial_compiled_pattern): Adjust for changes in re_opcode_t.
(print_compiled_pattern): Use %ld to printf long ints and flush to make
debugging a little easier.
(union fail_stack_elt): Make the integer unsigned.
(struct fail_stack_type): Add a `frame' element.
(INIT_FAIL_STACK): Init `frame' as well.
(POP_PATTERN_OP): New macro for re_compile_fastmap.
(DEBUG_PUSH, DEBUG_POP): Remove.
(NUM_REG_ITEMS): Remove.
(NUM_NONREG_ITEMS): Adjust.
(FAILURE_PAT, FAILURE_STR, NEXT_FAILURE_HANDLE, TOP_FAILURE_HANDLE):
New macros for the cycle detection.
(ENSURE_FAIL_STACK): New macro for PUSH_FAILURE_(REG|POINT).
(PUSH_FAILURE_REG, POP_FAILURE_REG, CHECK_INFINITE_LOOP): New macros.
(PUSH_FAILURE_POINT): Don't push registers any more.
The pattern address pushed is not the destination of the jump
but the source of it instead.
(NUM_FAILURE_ITEMS): Remove.
(POP_FAILURE_POINT): Adapt to the new stack structure (i.e. pop
registers before the actual failure point).
Don't hardcode any meaning for str==NULL anymore.
(union register_info_type, REG_MATCH_NULL_STRING_P, IS_ACTIVE)
(MATCHED_SOMETHING, EVER_MATCHED_SOMETHING, SET_REGS_MATCHED): Remove.
(REG_UNSET_VALUE): Use NULL (why not?).
(compile_range): Remove declaration since it doesn't exist.
(struct compile_stack_elt_t): Remove inner_group_offset.
(old_reg(start|end), reg_info, reg_dummy, reg_info_dummy): Remove.
(regex_grow_registers): Remove dead code.
(FIXUP_ALT_JUMP): New macro.
(regex_compile): Add shy-groups
Change loops to use	on_failure_jump_smart&jump instead of
on_failure_jump&maybe_pop_jump.
Change + loops to eliminate the initial (dummy_failure_)jump.
Remove c1_base (looks like unused variable to me).
Use `jump' instead of `jump_past_alt' and don't bother with
push_dummy_failure in alternatives since it is now unnecessary.
Use FIXUP_ALT_JUMP.
Eliminate a useless `#ifdef emacs' for (re)allocating the stack.
(re_compile_fastmap): Remove dead variables i and num_regs.
Exit from loop when bufp->can_be_null rather than jumping to `done'.
Avoid jumping backwards so as to ensure termination.
Use PATTERN_STACK_EMPTY and POP_PATTERN_OP.
Improved handling of backreferences.
Remove dead code in handling of `anychar'.
(skip_noops, mutually_exclusive_p): New functions taken from the
handling of `maybe_pop_jump' in re_match_2_internal.
Slightly improve mutually_exclusive_p to handle ".+\n".
((lowest|highest)_active_reg, NO_(LOWEST|HIGHEST)_ACTIVE_REG)
Remove.
(re_match_2_internal): Use %p instead of 0x%x when printf'ing ptrs.
Don't SET_REGS_MATCHED anymore.  Remove many dead variables.
Push register (in `start_memory') on the stack rather than storing it
in old_reg(start|end).
Remove the cycle detection from `stop_memory', replaced by the use
of on_failure_jump_loop for greedy loops.
Add code for the new on_failure_jump_<foo>.
Remove ad-hoc code in `on_failure_jump' to push more registers
in the case of a loop.
Take out code from `maybe_pop_jump' into separate functions and
adapt it to the semantics of `on_failure_jump_smart'.
Remove jump_past_alt, dummy_failure_jump and push_dummy_failure.
Remove dummy_failure handling and handling of `failures to jump
to on_failure_jump' (this last one was already dead code, it seems).
((group|alt|common_op)_match_null_string_p): Remove.
2000-03-08 23:25:41 +00:00
Stefan Monnier
dd52d9705c Update the copyright.
(RE_SHY_GROUPS): New value.
(RE_UNMATCHED_RIGHT_PAREN_ORD): Renumber.
(RE_SYNTAX_EMACS): Add RE_SHY_GROUPS.
2000-03-08 23:24:54 +00:00
Dave Love
7397acc494 (liblw.a): Don't bother testing for ranlib failing
since configure sets it up.
2000-03-08 19:10:01 +00:00
Dave Love
eea0252e83 Use PROTOTYPES. 2000-03-08 18:55:10 +00:00
Dave Love
b369fa6568 (find_handler_clause): Use PROTOTYPES. 2000-03-08 18:53:12 +00:00
Dave Love
8bbffb1392 Use POINTER_TYPE. 2000-03-08 18:49:46 +00:00
Dave Love
9043c90a5e (P_): Define based on PROTOTYPES, not __STDC__.
(memory_warnings): Declare using POINTER_TYPE.
2000-03-08 18:46:21 +00:00
Dave Love
3f5b097c6d Use AC_PROG_RANLIB, AC_C_PROTOTYPES, AC_C_VOLATILE. Define
POINTER_TYPE.
2000-03-08 18:40:13 +00:00
Dave Love
308a47937d Don't depend on __STDC__ for volatile.
Add POINTER_TYPE, PTR, PROTOTYPES.
2000-03-08 18:37:20 +00:00
Gerd Moellmann
feab4fba81 *** empty log message *** 2000-03-08 14:49:11 +00:00
Gerd Moellmann
08ac855487 (x_set_cursor_type): If ARG is nil, give frame no cursor. 2000-03-08 14:48:16 +00:00
Gerd Moellmann
8256e31b78 (compile-files): Compile files one by one because
that's the only way to ensure a clean compilation environment for
each individual file.
2000-03-08 13:56:00 +00:00
Gerd Moellmann
25edb08f89 (display_echo_area): Temporarily inhibit garbage collection. 2000-03-08 13:55:23 +00:00
Gerd Moellmann
5e91ff9eff *** empty log message *** 2000-03-07 23:32:47 +00:00
Gerd Moellmann
9af0f4cde5 (other-frame): Call x-focus-frame. 2000-03-07 23:31:17 +00:00
Gerd Moellmann
3decc1e7f5 Remove a buch of really old code in #if 0.
(Fx_focus_frame): New function.
2000-03-07 23:29:38 +00:00