]> code.delx.au - gnu-emacs/log
gnu-emacs
24 years ago*** empty log message ***
Dave Love [Thu, 16 Mar 2000 22:18:59 +0000 (22:18 +0000)]
*** empty log message ***

24 years ago(custom-variable-tag-face): Handle case that
Gerd Moellmann [Thu, 16 Mar 2000 22:15:26 +0000 (22:15 +0000)]
(custom-variable-tag-face): Handle case that
default face's height is not a number.
(custom-face-tag-face, custom-group-tag-face-1)
(custom-group-tag-face): Ditto.
(custom-group-tag-face-1): Add :group.

24 years agoComments only.
Dave Love [Thu, 16 Mar 2000 22:12:57 +0000 (22:12 +0000)]
Comments only.

24 years ago(f90): Put custom group under `languages', not
Dave Love [Thu, 16 Mar 2000 22:05:51 +0000 (22:05 +0000)]
(f90): Put custom group under `languages', not
`fortran'.
(f90-mode-hook): Customize.
(f90-mode): Set add-log-current-defun-function.
(f90-current-defun): New function.

24 years ago*** empty log message ***
Gerd Moellmann [Thu, 16 Mar 2000 16:31:26 +0000 (16:31 +0000)]
*** empty log message ***

24 years ago(Info-fontify-maximum-menu-size): Increase to 100000.
Gerd Moellmann [Thu, 16 Mar 2000 16:29:52 +0000 (16:29 +0000)]
(Info-fontify-maximum-menu-size): Increase to 100000.

24 years agoChange /setduplexmode, /settumble, add /packedarray.
Gerd Moellmann [Thu, 16 Mar 2000 16:29:09 +0000 (16:29 +0000)]
Change /setduplexmode, /settumble, add /packedarray.

24 years ago*** empty log message ***
Gerd Moellmann [Thu, 16 Mar 2000 13:24:56 +0000 (13:24 +0000)]
*** empty log message ***

24 years ago(read_integer): New function.
Gerd Moellmann [Thu, 16 Mar 2000 13:23:06 +0000 (13:23 +0000)]
(read_integer): New function.
(read1): Support read syntax #o, #x, #b, #r.

24 years ago(re_match_2): Fix string shortening (to fit `stop') to make sure
Stefan Monnier [Thu, 16 Mar 2000 02:55:33 +0000 (02:55 +0000)]
(re_match_2): Fix string shortening (to fit `stop') to make sure
POINTER_TO_OFFSET gives the same value before and after PREFETCH.
Use `dfail' to guarantee "atomic" matching.
(PTR_TO_OFFSET): Use POINTER_TO_OFFSET.
(debug): Now only active if > 0 rather than if != 0.
(DEBUG_*): Update for the new meaning of `debug'.
(print_partial_compiled_pattern): Add missing `succeed' case.
Use CHARSET_* macros in the charset(_not) branch.
Fix off-by-two bugs in `succeed_n', `jump_n' and `set_number_at'.
(store_op1, store_op2, insert_op1, insert_op2)
(at_begline_loc_p, at_endline_loc_p): Add prototype.
(group_in_compile_stack): Move to after its arg's types are declared
and add a prototype.
(PATFETCH): Define in terms of PATFETCH_RAW.
(GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' wrapper.
(QUIT): Redefine as a nop except for NTemacs.
(regex_compile): Handle intervals {,M} as if it was {0,M}.
Fix indentation of the greedy-op and shy-group code.
(at_(beg|end)line_loc_p): Fix argument's types.
(re_compile_fastmap): Ifdef out failure_stack_ptr to shut up gcc.
(re_search_2): Use POS_AS_IN_BUFFER.  Simplify `room' computation.
(MATCHING_IN_FIRST_STRING): Remove.
(re_match_2): Use POS_AS_IN_BUFFER.
Ifdef out failure_stack_ptr to shut up gcc.
Use FIRST_STRING_P and POINTER_TO_OFFSET.
Use QUIT unconditionally.

24 years ago*** empty log message ***
Gerd Moellmann [Wed, 15 Mar 2000 23:09:16 +0000 (23:09 +0000)]
*** empty log message ***

24 years ago(toplevel): Remove autoload cookie for form
Gerd Moellmann [Wed, 15 Mar 2000 21:29:58 +0000 (21:29 +0000)]
(toplevel): Remove autoload cookie for form
requiring easymenu.

24 years ago*** empty log message ***
Gerd Moellmann [Wed, 15 Mar 2000 19:59:06 +0000 (19:59 +0000)]
*** empty log message ***

24 years ago(Fminibuffer_complete): Set point to ZV if finding
Gerd Moellmann [Wed, 15 Mar 2000 19:58:19 +0000 (19:58 +0000)]
(Fminibuffer_complete): Set point to ZV if finding
a sole completion.

24 years ago(send_process): Add a hint that the function
Gerd Moellmann [Wed, 15 Mar 2000 19:58:03 +0000 (19:58 +0000)]
(send_process): Add a hint that the function
can call Lisp code to its comment.

24 years ago(load_dangerous_libraries): New variable.
Gerd Moellmann [Wed, 15 Mar 2000 19:57:38 +0000 (19:57 +0000)]
(load_dangerous_libraries): New variable.
(Vbytecomp_version_regexp): New variable.
(safe_to_load_p): New function.
(Fload): Handle files not compiled with Emacs specially.
(syms_of_lread): New Lisp variable load-dangerous-libraries.

24 years ago*** empty log message ***
Gerd Moellmann [Wed, 15 Mar 2000 13:39:19 +0000 (13:39 +0000)]
*** empty log message ***

24 years agoEliminate CheckConfig.
Gerd Moellmann [Wed, 15 Mar 2000 13:39:10 +0000 (13:39 +0000)]
Eliminate CheckConfig.

24 years agoPostScript user-defined prologue, PostScript error
Gerd Moellmann [Wed, 15 Mar 2000 13:35:02 +0000 (13:35 +0000)]
PostScript user-defined prologue, PostScript error
handler, doc fix.
(ps-print-version): New version number (5.1).
(ps-user-defined-prologue, ps-error-handler-message)
(ps-print-prologue-0, ps-error-handler-alist): New vars.
(ps-setup, ps-begin-file, ps-begin-job): Code fix.
(ps-insert-string): New function.

24 years ago(ccl-compile-expression): Don't generate
Kenichi Handa [Wed, 15 Mar 2000 02:29:17 +0000 (02:29 +0000)]
(ccl-compile-expression): Don't generate
invalid self-assignment code.

24 years ago*** empty log message ***
Kenichi Handa [Wed, 15 Mar 2000 02:28:31 +0000 (02:28 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Dave Love [Tue, 14 Mar 2000 23:01:20 +0000 (23:01 +0000)]
*** empty log message ***

24 years ago(replace-regexp-in-string): Renamed from
Dave Love [Tue, 14 Mar 2000 22:57:28 +0000 (22:57 +0000)]
(replace-regexp-in-string): Renamed from
replace-regexps-in-string.  Doc fix.

24 years ago(HAVE_X_I18N) [HAVE_X11R6]: Moved to config.in.
Gerd Moellmann [Tue, 14 Mar 2000 21:17:59 +0000 (21:17 +0000)]
(HAVE_X_I18N) [HAVE_X11R6]: Moved to config.in.

24 years ago(HAVE_X_I18N): Moved here from xterm.h.
Gerd Moellmann [Tue, 14 Mar 2000 21:16:55 +0000 (21:16 +0000)]
(HAVE_X_I18N): Moved here from xterm.h.
(HAVE_X11R6_XIM): Define.

24 years ago(X_I18N_INHIBITED): Don't define.
Gerd Moellmann [Tue, 14 Mar 2000 21:16:36 +0000 (21:16 +0000)]
(X_I18N_INHIBITED): Don't define.
(create_frame_xic): Remove conditional compilation on
X_I18N_INHIBITED.
(x_kill_gs_process, x_window): Use FRAME_X_VISUAL.

24 years ago(INHIBIT_X11R6_XIM): Define.
Gerd Moellmann [Tue, 14 Mar 2000 21:16:04 +0000 (21:16 +0000)]
(INHIBIT_X11R6_XIM): Define.

24 years ago(xim_close_dpy, xim_initialize): Use X11R6-style XIM
Gerd Moellmann [Tue, 14 Mar 2000 21:15:46 +0000 (21:15 +0000)]
(xim_close_dpy, xim_initialize): Use X11R6-style XIM
support functions only if HAVE_X11R6_XIM is defined.
(xim_instantiate_callback): Define only if HAVE_X11R6_XIM.

24 years ago(free_frame_xic) [HAVE_X_I18N]: Add missing semicolon.
Gerd Moellmann [Tue, 14 Mar 2000 21:15:03 +0000 (21:15 +0000)]
(free_frame_xic) [HAVE_X_I18N]: Add missing semicolon.

24 years ago*** empty log message ***
Gerd Moellmann [Tue, 14 Mar 2000 17:02:06 +0000 (17:02 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Gerd Moellmann [Tue, 14 Mar 2000 15:19:58 +0000 (15:19 +0000)]
*** empty log message ***

24 years ago* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier [Tue, 14 Mar 2000 00:27:57 +0000 (00:27 +0000)]
* regex.c: Declare a new type `re_char' used throughout the code for the
string char type.  It's `const unsigned char' to match the rest of Emacs.
Consistently make sure all pointers to strings use it and make sure all
pointers into the pattern use `unsigned char'.
(re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of
GET_CHAR_AFTER_2.
Also merge wordbound and notwordbound to reduce code duplication.
* charset.h (GET_CHAR_AFTER_2): Remove.
(GET_CHAR_BEFORE_2): Use unsigned chars, like everywhere else.

24 years ago*** empty log message ***
Kenichi Handa [Mon, 13 Mar 2000 23:33:46 +0000 (23:33 +0000)]
*** empty log message ***

24 years agoAdd PROTOTYPES and POINTER_TYPE, per the new config.in.
Eli Zaretskii [Mon, 13 Mar 2000 17:14:30 +0000 (17:14 +0000)]
Add PROTOTYPES and POINTER_TYPE, per the new config.in.

24 years ago*** empty log message ***
Stefan Monnier [Mon, 13 Mar 2000 10:13:41 +0000 (10:13 +0000)]
*** empty log message ***

24 years ago* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn [Mon, 13 Mar 2000 01:04:12 +0000 (01:04 +0000)]
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
the invocation of YMF_PASS_LDFLAGS, in case both of them try to use backquotes.

24 years agoreplace-rectangle, autoconf.el
Dave Love [Sun, 12 Mar 2000 19:14:25 +0000 (19:14 +0000)]
replace-rectangle, autoconf.el

24 years ago*** empty log message ***
Dave Love [Sun, 12 Mar 2000 19:11:33 +0000 (19:11 +0000)]
*** empty log message ***

24 years agoDoc fixes.
Dave Love [Sun, 12 Mar 2000 18:50:49 +0000 (18:50 +0000)]
Doc fixes.
(customize-set-variable, customize-save-variable): Rename args for
doc.
(custom-variable-tag-face, custom-face-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Modify from
style which user identify as hyperlink.
(hook): Don't add undefined functions to the hook.
(debug-ignored-errors): Transfer message from bindings.el.

24 years agoMore on partial completion.
Dave Love [Sun, 12 Mar 2000 18:36:20 +0000 (18:36 +0000)]
More on partial completion.

24 years agoFix copyright lines.
Dave Love [Sun, 12 Mar 2000 18:22:15 +0000 (18:22 +0000)]
Fix copyright lines.

24 years agoFix copyright line.
Dave Love [Sun, 12 Mar 2000 18:19:41 +0000 (18:19 +0000)]
Fix copyright line.

24 years agoTypo, copyright fix.
Dave Love [Sun, 12 Mar 2000 18:16:00 +0000 (18:16 +0000)]
Typo, copyright fix.

24 years ago(Mouse Avoidance): New section.
Dave Love [Sun, 12 Mar 2000 18:14:58 +0000 (18:14 +0000)]
(Mouse Avoidance): New section.

24 years ago(Compressed Files): Note custom option.
Dave Love [Sun, 12 Mar 2000 18:13:30 +0000 (18:13 +0000)]
(Compressed Files): Note custom option.
(File Archives): New section.

24 years ago*** empty log message ***
Dave Love [Sun, 12 Mar 2000 17:43:39 +0000 (17:43 +0000)]
*** empty log message ***

24 years agoRestore changes of 1999-10-19.
Dave Love [Sun, 12 Mar 2000 17:04:43 +0000 (17:04 +0000)]
Restore changes of 1999-10-19.
(unexec): Don't adjust bss for sbss type SHT_PROGBITS; otherwise
fix its type and alignment; copy it from current process.

24 years ago*** empty log message ***
Gerd Moellmann [Sun, 12 Mar 2000 17:01:50 +0000 (17:01 +0000)]
*** empty log message ***

24 years ago(cancel_atimer): Break out of the loop as soon as timer
Gerd Moellmann [Sun, 12 Mar 2000 17:01:02 +0000 (17:01 +0000)]
(cancel_atimer): Break out of the loop as soon as timer
has been found.  Fix bug not computing timer's predecessor.

24 years ago(Fread_file_name): Handle case that DIR contains a
Gerd Moellmann [Sun, 12 Mar 2000 16:24:20 +0000 (16:24 +0000)]
(Fread_file_name): Handle case that DIR contains a
file name.

24 years ago(make_menubar) [LESSTIF_VERSION]: Don't set
Gerd Moellmann [Sun, 12 Mar 2000 16:22:19 +0000 (16:22 +0000)]
(make_menubar) [LESSTIF_VERSION]: Don't set
XmNresizeHeight and XmNresizeWidth.

24 years ago(recentf-keep-non-readable-files-p): Remove
Gerd Moellmann [Sun, 12 Mar 2000 16:18:34 +0000 (16:18 +0000)]
(recentf-keep-non-readable-files-p): Remove
double/nested definition.

24 years ago(completion-setup-function): Use display-color-p.
Dave Love [Sun, 12 Mar 2000 15:34:37 +0000 (15:34 +0000)]
(completion-setup-function): Use display-color-p.

24 years ago(info-lookup): Use display-color-p.
Dave Love [Sun, 12 Mar 2000 15:29:12 +0000 (15:29 +0000)]
(info-lookup): Use display-color-p.

24 years agoUse display-color-p.
Dave Love [Sun, 12 Mar 2000 15:27:33 +0000 (15:27 +0000)]
Use display-color-p.

24 years ago(enriched-decode-foreground): Use display-color-p.
Dave Love [Sun, 12 Mar 2000 15:25:35 +0000 (15:25 +0000)]
(enriched-decode-foreground): Use display-color-p.
(enriched-decode-background): Likewise.

24 years ago*** empty log message ***
Gerd Moellmann [Sun, 12 Mar 2000 15:22:51 +0000 (15:22 +0000)]
*** empty log message ***

24 years ago(text-mode-hook): Add flyspell-mode to
Dave Love [Sun, 12 Mar 2000 15:22:14 +0000 (15:22 +0000)]
(text-mode-hook): Add flyspell-mode to
:options.

24 years agoRemove RCS Id, remove history comment.
Gerd Moellmann [Sun, 12 Mar 2000 15:22:03 +0000 (15:22 +0000)]
Remove RCS Id, remove history comment.

24 years ago(archive-zip-update): Add `-P' for pkzip.
Gerd Moellmann [Sun, 12 Mar 2000 15:21:26 +0000 (15:21 +0000)]
(archive-zip-update): Add `-P' for pkzip.

24 years ago(mode-line-format): Fix line-number and
Dave Love [Sun, 12 Mar 2000 15:19:44 +0000 (15:19 +0000)]
(mode-line-format): Fix line-number and
column-number items.  Add help-echo for the background.
(mode-line-mule-info): Modify help-echo.

24 years ago(Fsave_window_excursion): Doc fix.
Gerd Moellmann [Sun, 12 Mar 2000 15:19:21 +0000 (15:19 +0000)]
(Fsave_window_excursion): Doc fix.

24 years agoUse the versions of the file from subversions.
Gerd Moellmann [Sun, 12 Mar 2000 15:18:26 +0000 (15:18 +0000)]
Use the versions of the file from subversions.

24 years agoDoc fixes.
Dave Love [Sun, 12 Mar 2000 14:49:20 +0000 (14:49 +0000)]
Doc fixes.
(Man-init-defvars): Use display-color-p to set fontification.

24 years ago(mouse-avoidance-mode): Add autoload cookie to
Dave Love [Sun, 12 Mar 2000 14:48:32 +0000 (14:48 +0000)]
(mouse-avoidance-mode): Add autoload cookie to
defcustom.

24 years ago(isearch-highlight): Use display-color-p.
Dave Love [Sun, 12 Mar 2000 14:42:58 +0000 (14:42 +0000)]
(isearch-highlight): Use display-color-p.

24 years ago(load-file): Allow completion to .elc.
Dave Love [Sun, 12 Mar 2000 14:42:35 +0000 (14:42 +0000)]
(load-file): Allow completion to .elc.

24 years ago*** empty log message ***
Gerd Moellmann [Sun, 12 Mar 2000 13:49:28 +0000 (13:49 +0000)]
*** empty log message ***

24 years ago(reb-re-syntax): Fix typo in `:type'. Fix comment.
Gerd Moellmann [Sun, 12 Mar 2000 13:45:25 +0000 (13:45 +0000)]
(reb-re-syntax): Fix typo in `:type'. Fix comment.

24 years ago(x_defined_color): Rewritten to use x_allocate_nearest_color.
Gerd Moellmann [Sun, 12 Mar 2000 12:52:29 +0000 (12:52 +0000)]
(x_defined_color): Rewritten to use x_allocate_nearest_color.

24 years agoMention cursor-type support on MS-DOS terminals.
Eli Zaretskii [Sun, 12 Mar 2000 12:36:51 +0000 (12:36 +0000)]
Mention cursor-type support on MS-DOS terminals.

24 years ago(MS-DOS Display) Explain the differences in cursor type control
Eli Zaretskii [Sun, 12 Mar 2000 12:33:59 +0000 (12:33 +0000)]
(MS-DOS Display) Explain the differences in cursor type control
on MSDOS terminals.

24 years ago(vga_installed): New function, code moved from
Eli Zaretskii [Sun, 12 Mar 2000 12:32:17 +0000 (12:32 +0000)]
(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).

24 years ago(hanoi-internal): Don't use oddp.
Dave Love [Sat, 11 Mar 2000 18:47:38 +0000 (18:47 +0000)]
(hanoi-internal): Don't use oddp.

24 years ago*** empty log message ***
Stefan Monnier [Sat, 11 Mar 2000 06:54:21 +0000 (06:54 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Stefan Monnier [Sat, 11 Mar 2000 06:49:17 +0000 (06:49 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Stefan Monnier [Sat, 11 Mar 2000 03:51:31 +0000 (03:51 +0000)]
*** empty log message ***

24 years ago(font-lock-keywords): Fix the doc now that regexp-opt-depth is unnecessary.
Stefan Monnier [Sat, 11 Mar 2000 03:50:50 +0000 (03:50 +0000)]
(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.

24 years ago(easy-mmode-defmap, easy-mmode-defsyntax): Autoload the functions used.
Stefan Monnier [Sat, 11 Mar 2000 03:37:37 +0000 (03:37 +0000)]
(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.

24 years ago(texinfo-version): Variable and function
Gerd Moellmann [Fri, 10 Mar 2000 20:07:01 +0000 (20:07 +0000)]
(texinfo-version): Variable and function
removed.

24 years ago(easy-mmode-define-keymap): Extend to allow more flexibility.
Stefan Monnier [Fri, 10 Mar 2000 01:17:04 +0000 (01:17 +0000)]
(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.

24 years ago*** empty log message ***
Dave Love [Thu, 9 Mar 2000 23:17:52 +0000 (23:17 +0000)]
*** empty log message ***

24 years ago(fortran-comment-line-start): Define as
Dave Love [Thu, 9 Mar 2000 23:02:51 +0000 (23:02 +0000)]
(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.

24 years ago2000-09-01 Didier Verna <didier@xemacs.org>
Dave Love [Thu, 9 Mar 2000 22:50:30 +0000 (22:50 +0000)]
2000-09-01  Didier Verna  <didier@xemacs.org>

* rect.el (replace-rectangle): New function.

24 years ago*** empty log message ***
Gerd Moellmann [Thu, 9 Mar 2000 20:28:18 +0000 (20:28 +0000)]
*** empty log message ***

24 years ago(mouse-drag-region): Don't run up-event handler
Gerd Moellmann [Thu, 9 Mar 2000 20:08:49 +0000 (20:08 +0000)]
(mouse-drag-region): Don't run up-event handler
if hscroll has changed.

24 years ago*** empty log message ***
Richard M. Stallman [Thu, 9 Mar 2000 13:59:23 +0000 (13:59 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Gerd Moellmann [Thu, 9 Mar 2000 13:40:34 +0000 (13:40 +0000)]
*** empty log message ***

24 years ago(Fy_or_n_p): Cancel busy-cursor.
Gerd Moellmann [Thu, 9 Mar 2000 13:34:34 +0000 (13:34 +0000)]
(Fy_or_n_p): Cancel busy-cursor.

24 years agoUpdate maintainer address.
Dave Love [Thu, 9 Mar 2000 13:32:23 +0000 (13:32 +0000)]
Update maintainer address.

24 years ago(octave-font-lock-keywords): To font-lock the
Gerd Moellmann [Thu, 9 Mar 2000 13:29:44 +0000 (13:29 +0000)]
(octave-font-lock-keywords): To font-lock the
builtin operators, use `font-lock-builtin-face' for Emacs and
`font-lock-preprocessor-face' otherwise.

24 years ago(lisp-font-lock-keywords-1): Highlight
Gerd Moellmann [Thu, 9 Mar 2000 13:28:42 +0000 (13:28 +0000)]
(lisp-font-lock-keywords-1): Highlight
`(defun (setf foo)' differently.

24 years agoUpdate copyright and leading comment.
Stefan Monnier [Thu, 9 Mar 2000 00:45:15 +0000 (00:45 +0000)]
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.

24 years ago(inferior-scheme-mode-map): Define it independently
Stefan Monnier [Wed, 8 Mar 2000 23:55:36 +0000 (23:55 +0000)]
(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.

24 years ago(replace-regexps-in-string): Properly handle the case where
Stefan Monnier [Wed, 8 Mar 2000 23:49:09 +0000 (23:49 +0000)]
(replace-regexps-in-string): Properly handle the case where
we match an empty string.

24 years ago(comint-exec-1): Add the current-dir to the exec-path when
Stefan Monnier [Wed, 8 Mar 2000 23:46:09 +0000 (23:46 +0000)]
(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.

24 years ago*** empty log message ***
Stefan Monnier [Wed, 8 Mar 2000 23:26:00 +0000 (23:26 +0000)]
*** empty log message ***

24 years agoThis is a big redesign of failure-stack and register handling, prompted
Stefan Monnier [Wed, 8 Mar 2000 23:25:41 +0000 (23:25 +0000)]
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.

24 years agoUpdate the copyright.
Stefan Monnier [Wed, 8 Mar 2000 23:24:54 +0000 (23:24 +0000)]
Update the copyright.
(RE_SHY_GROUPS): New value.
(RE_UNMATCHED_RIGHT_PAREN_ORD): Renumber.
(RE_SYNTAX_EMACS): Add RE_SHY_GROUPS.

24 years ago(liblw.a): Don't bother testing for ranlib failing
Dave Love [Wed, 8 Mar 2000 19:10:01 +0000 (19:10 +0000)]
(liblw.a): Don't bother testing for ranlib failing
since configure sets it up.