Chong Yidong [Tue, 7 Oct 2008 18:08:26 +0000 (18:08 +0000)]
(rx-constituents): Change `anything' to call
rx-anything. Change `not-wordchar' assignment to "\\W" from
"[^[:word:]]".
(rx-group-if): New function.
(rx-parent): New variable.
(rx-and, rx-or): Put shy groups only when necessary.
(rx-bracket): Remove.
(rx-anything): New function.
(rx-any-delete-from-range, rx-any-condense-range)
(rx-check-any-string): New functions.
(rx-check-any): Return result as a list. Don't convert chars to
strings. Don't prepend "\\" to "^". Don't search for close
bracket. Check char category string. Call rx-form instead of
rx-to-string.
(rx-any): Rebuid to complete the function.
(rx-check-not): Fix char category regexp pattern string. Call
rx-form instead of rx-to-string.
(rx-not): Call rx-form instead of rx-to-string. Convert "[^]" to
"[^^]". Call regexp-quote for one char string when not called from
rx-not. Add "\\w", and toggle to upcase. Add the case of
"\\[SCBW]" to toggle.
(rx-=, rx->=, rx -**, rx-repeat, rx-submatch): Call rx-form
instead of rx-to-string.
(rx-kleene): Call rx-form instead of rx-to-string. Call
rx-group-if to adjust putting of shy groups.
(rx-atomic-p): Make check more precisely.
(rx-eval, rx-greedy): Call rx-form instead of rx-to-string.
(rx-regexp): Call rx-group-if.
(rx-form): New function.
(rx-to-string): Call rx-form, rx-group-if. Refine definition of
NO-GROUP.
Chong Yidong [Tue, 7 Oct 2008 18:08:16 +0000 (18:08 +0000)]
* rx-new.el (rx-constituents): Change `anything' to call
rx-anything. Change `not-wordchar' assignment to "\\W" from
"[^[:word:]]".
(rx-group-if): New function.
(rx-parent): New variable.
(rx-and, rx-or): Put shy groups only when necessary.
(rx-bracket): Remove.
(rx-anything): New function.
(rx-any-delete-from-range, rx-any-condense-range)
(rx-check-any-string): New functions.
(rx-check-any): Return result as a list. Don't convert chars to
strings. Don't prepend "\\" to "^". Don't search for close
bracket. Check char category string. Call rx-form instead of
rx-to-string.
(rx-any): Rebuid to complete the function.
(rx-check-not): Fix char category regexp pattern string. Call
rx-form instead of rx-to-string.
(rx-not): Call rx-form instead of rx-to-string. Convert "[^]" to
"[^^]". Call regexp-quote for one char string when not called from
rx-not. Add "\\w", and toggle to upcase. Add the case of
"\\[SCBW]" to toggle.
(rx-=, rx->=, rx -**, rx-repeat, rx-submatch): Call rx-form
instead of rx-to-string.
(rx-kleene): Call rx-form instead of rx-to-string. Call
rx-group-if to adjust putting of shy groups.
(rx-atomic-p): Make check more precisely.
(rx-eval, rx-greedy): Call rx-form instead of rx-to-string.
(rx-regexp): Call rx-group-if.
(rx-form): New function.
(rx-to-string): Call rx-form, rx-group-if. Refine definition of
NO-GROUP.
Martin Rudalics [Mon, 6 Oct 2008 06:29:05 +0000 (06:29 +0000)]
Remove * in defcustom docstrings and tell
for most options that customizing them doesn't affect buffers
already displaying footnotes.
(Footnote-refresh-footnotes, Footnote-renumber-footnotes): Fix
handling of text properties and identical start/end tags. Do
not use format when renumbering.
(Footnote-set-style): Make it work.
(Footnote-insert-numbered-footnote): Simplify.
(Footnote-narrow-to-footnotes, Footnote-insert-footnote)
(Footnote-goto-footnote): Fix handling of empty section tag.
(Footnote-delete-footnote): Fix handling of identical start/end
tags, empty section tag, and spaced footnotes. Do not use
kill-region.
(footnote-mode): Make most options buffer-local to avoid that
customizing messes up handling of footnotes in buffers that
already display them.
Eli Zaretskii [Sat, 4 Oct 2008 15:27:56 +0000 (15:27 +0000)]
(update_frame): Flush termscript for MSDOS frames as well as for TTY.
(Fopen_termscript): Allow opening a termscript on MSDOS frames as well as
on a TTY.
Eli Zaretskii [Wed, 1 Oct 2008 16:23:28 +0000 (16:23 +0000)]
(dos-locale-alist): New alist.
(dos-codepage-setup): Use it to compute a value of locale with which to call
set-locale-environment. Remove code to set terminal, keyboard, and
file-name encoding (done by set-locale-environment).
Stefan Monnier [Tue, 30 Sep 2008 21:59:26 +0000 (21:59 +0000)]
(xterm-turn-on-modify-other-keys)
(xterm-turn-off-modify-other-keys, xterm-remove-modify-other-keys):
Don't forget to pass `terminal' to `send-string-to-terminal'.
Eli Zaretskii [Tue, 30 Sep 2008 19:12:17 +0000 (19:12 +0000)]
(MS-DOS Printing, MS-DOS and MULE): No need to create cpNNN coding systems
anymore.
(MS-DOS and MULE): Don't mention code-pages.el. Don't mention support for
unibyte mode. Don't mention line-drawing characters. Don't mention
dos-unsupported-char-glyph.
Michael Albinus [Tue, 30 Sep 2008 19:11:07 +0000 (19:11 +0000)]
* vc-hooks.el (vc-file-clearprops): Revert change from 2008-09-29.
(vc-file-not-found-hook): Check, that `buffer-file-name' is
non-nil. It is not clear, whether this is only fixing symptoms on
an error. OTOH, in all other cases, the call of `vc-file-clearprops'
is embedded by that check. So it might be TRT. Suggested by Dan
Nicolaescu <dann@ics.uci.edu>.