Kim F. Storm [Wed, 8 Jun 2005 22:32:20 +0000 (22:32 +0000)]
(Fmatch_data): Add optional RESEAT arg. Unchain markers
in REUSE list if non-nil; free them if equal to evaporate.
(Fset_match_data): Add optional RESEAT arg. Unchain markers in LIST
if non-nil; free them if equal to evaporate. Use XCAR/XCDR.
(restore_search_regs): Rename from restore_match_data. Uses changed.
(unwind_set_match_data): New function.
(record_unwind_save_match_data): New function like save-match-data.
(makefile-shell-face): Make this a no-op
except on terminals with enough colors to really display it.
(makefile-dependency-regex): Delete spurious `bb'.
(Mode Line Data): Minor cleanup.
(Customizing Keywords): Node split out of Search-based Fontification.
Add example of using font-lock-add-keywords from a hook.
Clarify when MODE should be non-nil, and when nil.
(get_next_display_element): Alter previous change:
Distinguish Vshow_nonbreak_escape = t or not t.
For t, use escape_glyph once again, as before previous change.
Use space or hyphen for display, instead of the non-ASCII char.
(syms_of_xdisp) <show-nonbreak-escape>: Doc fix.
Masatake YAMATO [Tue, 7 Jun 2005 14:32:23 +0000 (14:32 +0000)]
* xdisp.c (note_mode_line_or_margin_highlight): Check
the overlapping of re-rendering area to avoid flickering.
(note_mouse_highlight): Call clear_mouse_face if PART
is not ON_MODE_LINE nor ON_HEADER_LINE.
Stefan Monnier [Mon, 6 Jun 2005 21:15:03 +0000 (21:15 +0000)]
(tex-guess-mode): Add RequirePackage.
(tex-compile-default): In the absence of any history, use the order in
tex-compile-alist to choose the preferred command.
(tex-compile-commands): Reorder a bit.
Stefan Monnier [Mon, 6 Jun 2005 21:06:19 +0000 (21:06 +0000)]
(flyspell-auto-correct-binding, flyspell-incorrect-face)
(flyspell-duplicate-face): Use (X)Emacs-agnostic code.
(flyspell-mode-map): Don't overwrite at each load. Remove code
redundant with the subsequent add-minor-mode. Merge Emacs and XEmacs code.
(flyspell-word): Minor simplification.
(flyspell-math-tex-command-p): Quieten the byte-compiler.
(flyspell-external-point-words): Remove unused vars `size' and `start'.
(flyspell-do-correct): Rename from flyspell-xemacs-correct.
Merge the corresponding Emacs code.
(flyspell-correct-word, flyspell-xemacs-popup): Use flyspell-do-correct.
Jan Djärv [Mon, 6 Jun 2005 20:24:13 +0000 (20:24 +0000)]
* macmenu.c (menu_quit_handler, install_menu_quit_handler): New
functions for popping down menus on C-g.
(set_frame_menubar, mac_menu_show): Call install_menu_quit_handler.
Jan Djärv [Mon, 6 Jun 2005 20:23:30 +0000 (20:23 +0000)]
* macmenu.c (menu_quit_handler, install_menu_quit_handler): New
functions for popping down menus on C-g.
(set_frame_menubar, mac_menu_show): Call install_menu_quit_handler.
* macterm.c: Make mac_quit_char_modifiers and mac_quit_char_keycode
non-static.
(makefile-dependency-regex): Handle whitespace
just like other allowed characters.
(makefile-match-dependency): Exclude leading and training whitespace
from the range of regexp subexp 1.
(makefile-macroassign-regex): Don't try to match the body,
just the name of the macro being defined.
Juri Linkov [Mon, 6 Jun 2005 12:36:29 +0000 (12:36 +0000)]
(Qno_break_space): New variable.
(syms_of_xdisp): Initialize it.
(get_next_display_element): Add no-break space and soft hypen
codes for iso8859-2 and iso8859-5. Don't add `\' for them.
Use `no-break-space' face for no-break spaces.
(hack-local-variables-confirm): New arg FLAG-TO-CHECK.
(hack-one-local-variable, hack-local-variables)
(hack-local-variables-prop-line): Pass that arg.
Juri Linkov [Mon, 6 Jun 2005 12:02:35 +0000 (12:02 +0000)]
(font-lock-regexp-backslash)
(font-lock-regexp-backslash-construct): New faces.
(lisp-font-lock-keywords-2): Use new faces. Match `?:' only
after `('. Add `while-no-input' to control structures.