Gerd Moellmann [Fri, 15 Dec 2000 14:32:55 +0000 (14:32 +0000)]
(ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
Use them throughout instead of ctype functions/macros.
(lowcase): Cast to unsigned char.
(UPCASE): New macro.
(canonicalize_filename): Use UPCASE instead toupper.
Gerd Moellmann [Fri, 15 Dec 2000 11:51:04 +0000 (11:51 +0000)]
(dabbrev--last-case-pattern): Value is now
`upcase' or `downcase' or nil.
(dabbrev-expand): Don't do anything with dabbrev--last-case-pattern.
Pass new record-case-pattern arg to dabbrev--substitute-expansion.
(dabbrev--substitute-expansion): New arg record-case-pattern.
If it is non-nil, set dabbrev--last-case-pattern.
If ABBREV is " ", use dabbrev--last-case-pattern to change EXPANSION.
Kenichi Handa [Fri, 15 Dec 2000 08:30:40 +0000 (08:30 +0000)]
(detect_coding): Call detect_coding_mask with a correct MULTIBYTEP
argument.
(code_convert_region): Don't override coding->src_multibyte and
coding->dst_multibyte.
Miles Bader [Fri, 15 Dec 2000 03:54:32 +0000 (03:54 +0000)]
(Info-default-directory-list): Don't delete configure-info-directory
from the list of standard info directories when appending it to the
end -- their order is important.
Miles Bader [Fri, 15 Dec 2000 03:12:09 +0000 (03:12 +0000)]
(read-face-attribute): If there's no entry for the user's input in
VALID, just use it as-is (this will often result in an error, but it may
be OK for e.g. colors using hexadecimal notation, and at least will
yield a better error message).
Miles Bader [Fri, 15 Dec 2000 01:09:50 +0000 (01:09 +0000)]
(ispell-overlay-window): Ensure that the new window is really the right size.
Use vertical-motion rather than forward-line.
(ispell-help): Don't use ispell-mode-line-window-height-fudge.
(ispell-command-loop, ispell-show-choices): Use the variable
ispell-choices-win-default-height, rather than the function.
(ispell-choices-win-default-height): Function removed.
(ispell-mode-line-window-height-fudge): Function removed.
Eli Zaretskii [Thu, 14 Dec 2000 17:12:39 +0000 (17:12 +0000)]
(Info-default-directory-list): If
configure-info-directory is not one of the standard directories,
put it first in the list; otherwise put it last. Doc string
changed accordingly.
Eli Zaretskii [Thu, 14 Dec 2000 16:51:13 +0000 (16:51 +0000)]
(command-line): Don't call x-backspace-delete-keys-p
if not fboundp. Switch delete-forward mode for the <delete> key
on all PC platforms, even under -nw.
Andrew Innes [Thu, 14 Dec 2000 10:55:36 +0000 (10:55 +0000)]
(Fx_hide_tip): Avoid unnecessary work when there's
nothing to do. Bind inhibit-quit.
(tip_frame): Make it a Lisp_Object.
(x_create_tip_frame): Set tip_frame after it has been added to
Vframe_list.
(Fx_show_tip): Don't set tip_frame here.
(image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New
variables.
(unwind_create_frame, unwind_create_tip_frame): New functions.
(Fx_create_frame, x_create_tip_frame): Handle errors signaled
while a frame is only partially constructed.
Kenichi Handa [Thu, 14 Dec 2000 10:44:56 +0000 (10:44 +0000)]
(echo_prompt): Argument type changed to Lisp_Object.
Always store string in multibyte representation in echobuf.
(echo_char): Always store string in multibyte representation in
echobuf.
(echo_now): Call message2_nolog with the arg MULTIBYTE 1.
(read_key_sequence): Adjusted for the change of echo_prompt.
Kenichi Handa [Thu, 14 Dec 2000 01:27:43 +0000 (01:27 +0000)]
(decode_coding_string): Set coding->src_multibyte and
coding->dst_multibyte before calling detect_coding and detect_eol.
Update them after some coding system is detected.
Kenichi Handa [Wed, 13 Dec 2000 23:24:37 +0000 (23:24 +0000)]
(ONE_MORE_BYTE_CHECK_MULTIBYTE): New macro.
(detect_coding_emacs_mule, detect_coding_iso2022,)
(detect_coding_sjis, detect_coding_big5, detect_coding_utf_8)
(detect_coding_utf_16, detect_coding_ccl): Make them static. New
argument MULTIBYTEP. Callers changed.
(detect_coding_mask, detect_coding_system): New argument
MULTIBYTEP. Callers changed.
Karl Fogel [Wed, 13 Dec 2000 22:56:38 +0000 (22:56 +0000)]
* bookmark.el: Provide a generic exit hook, as suggested by Ovidiu
Predescu <ovidiu@cup.hp.com>:
(bookmark-exit-hook): new var.
(bookmark-exit-hook-internal): new func, replaces old raw lambda form
in `kill-emacs-hook', and runs new `bookmark-exit-hooks'. No longer
tests for the bookmark feature, as logically that feature must have
been provided if this function is running.
Removed ;;;###autoload before the `add-hook' call.
Gerd Moellmann [Wed, 13 Dec 2000 20:27:01 +0000 (20:27 +0000)]
(image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]:
New variables.
(unwind_create_frame, unwind_create_tip_frame): New functions.
(Fx_create_frame, x_create_tip_frame): Handle errors signaled
while a frame is only partially constructed.
Stefan Monnier [Wed, 13 Dec 2000 16:14:49 +0000 (16:14 +0000)]
(easy-menu-define): Setup indentation.
(easy-menu-current-active-maps): New function.
(easy-menu-get-map): Use it.
Make a proper menu entry when creating a new keymap.