Kenichi Handa [Thu, 27 Nov 2008 08:01:29 +0000 (08:01 +0000)]
(sub_char_table_ref_and_range): Adjusted for the
change of char_table_ref_and_range.
(char_table_ref_and_range): Change the meaning of argument FROM
and TO. Now the caller must provide initial values for *FROM
and *TO.
Kenichi Handa [Thu, 27 Nov 2008 08:00:43 +0000 (08:00 +0000)]
(enum charset_method): Delete
CHARSET_METHOD_MAP_DEFERRED.
(DECODE_CHAR): Check if the decoder vector is ready.
(ENCODE_CHAR): Check if the encoder char-table is ready.
(maybe_unify_char): Extern it.
Kenichi Handa [Thu, 27 Nov 2008 08:00:16 +0000 (08:00 +0000)]
(Vchar_unified_charset_table): Delete it.
(inhibit_load_charset_map): New variable.
(temp_charset_work): New variable.
(SET_TEMP_CHARSET_WORK_ENCODER, GET_TEMP_CHARSET_WORK_ENCODER)
(SET_TEMP_CHARSET_WORK_DECODER, GET_TEMP_CHARSET_WORK_DECODER):
New macros.
(load_charset_map): Meaning of control_flag changed. If
inhibit_load_charset_map is nonzero, setup a table in
temp_charset_work.
(load_charset): New argument control_flag.
(map_charset_for_dump): New function.
(map_charset_chars): If inhibit_load_charset_map is nonzero, use
map_charset_for_dump.
(Fdefine_charset_internal): If the charset method is MAP, load
mapping tables by calling load_charset.
(Funify_charset): Don't load a mapping table but directly set
Vchar_unify_table.
(maybe_unify_char): New function.
(decode_char): Don't handle the deleted method MAP_DEFERRED.
Handle the case of inhibit_load_charset_map being nonzero.
(encode_char): Don't handle the deleted method MAP_DEFERRED.
Handle the case of inhibit_load_charset_map being nonzero.
(Fclear_charset_maps): Just free temp_charset_work.
(syms_of_charset): Make `inhibit-load-charset-map' a Lisp
variable.
Kenichi Handa [Thu, 27 Nov 2008 07:59:21 +0000 (07:59 +0000)]
(hash_get_category_set): New function.
(Fmodify_category_entry): Adjusted for the change of
char_table_ref_and_range. Call hash_get_category_set to get a
category set to store in the table.
Chong Yidong [Thu, 27 Nov 2008 03:29:37 +0000 (03:29 +0000)]
(tool-bar-find-image-cache): Var deleted.
(tool-bar-find-image): Function deleted.
(tool-bar-local-item, tool-bar-local-item-from-menu): Use
find-image instead of tool-bar-find-image.
(tool-bar-keymap-cache): New hash table.
(tool-bar-make-keymap): Use it.
(tool-bar-make-keymap-1): Move body of tool-bar-make-keymap here.
Chong Yidong [Thu, 27 Nov 2008 03:27:54 +0000 (03:27 +0000)]
* tool-bar.el (tool-bar-find-image-cache): Var deleted.
(tool-bar-find-image): Function deleted.
(tool-bar-local-item, tool-bar-local-item-from-menu): Use
find-image instead of tool-bar-find-image.
(tool-bar-keymap-cache): New hash table.
(tool-bar-make-keymap): Use it.
(tool-bar-make-keymap-1): Move body of tool-bar-make-keymap here.
Alan Mackenzie [Wed, 26 Nov 2008 10:30:53 +0000 (10:30 +0000)]
(forward-sexp, backward-sexp, mark-sexp)
(forward-list, backward-list, down-list, backward-up-list)
(up-list, kill-sexp, backward-kill-sexp, kill-backward-up-list)
(insert-pair, insert-parentheses): State that the
command assumes that point is not in a string or comment.
Alan Mackenzie [Wed, 26 Nov 2008 10:27:42 +0000 (10:27 +0000)]
(Moving by Parens): Clarify that parens inside strings and comments are
ignored, and that the commands assume the starting point isn't in a
string or comment.
Alan Mackenzie [Wed, 26 Nov 2008 10:22:48 +0000 (10:22 +0000)]
* programs.texi (Moving by Parens): Clarify that parens inside strings
and comments are ignored, and that the commands assume the starting point
isn't in a string or comment.
Michael Albinus [Wed, 26 Nov 2008 07:08:36 +0000 (07:08 +0000)]
* dbus.texi (Type Conversion): New defuns `dbus-string-to-byte-array',
`dbus-escape-as-identifier', `dbus-byte-array-to-string' and
`dbus-unescape-from-identifier'.
(Receiving Method Calls): New constants `dbus-service-emacs' and
`dbus-path-emacs'.
(Signals): Use the constants in the example.
Michael Albinus [Wed, 26 Nov 2008 06:09:44 +0000 (06:09 +0000)]
* net/dbus.el (dbus-string-to-byte-array)
(dbus-byte-array-to-string, dbus-escape-as-identifier)
(dbus-unescape-from-identifier): New defuns.
(dbus-handle-event): The result of a message call is a list of
arguments, which must be expanded when passing to
`dbus-method-return-internal'.
Michael Albinus [Wed, 26 Nov 2008 06:09:17 +0000 (06:09 +0000)]
* net/tramp.el (tramp-handle-write-region): Improve the check for
calling direct copy.
(tramp-find-inline-encoding): Don't raise an error but a warning,
when no inline encoding is found.
(tramp-get-remote-coding): Check for a symbol. The negative check
for a string fails, when there is an empty string.
Adrian Robert [Wed, 26 Nov 2008 05:27:11 +0000 (05:27 +0000)]
* macos.texi: Add Prev/Next/Top pointers to all nodes. (Mac Basics): Merge in Grabbing Environment Variables from earlier version. (Mac Customization): Rewrite Preferences Panel section and merge in to this node, add Open files by dragging to an Emacs window. * emacs.texi: Remove TOC reference to Mac Preferences Panel section.
Chong Yidong [Wed, 26 Nov 2008 04:13:33 +0000 (04:13 +0000)]
(Text): Simplify description of markup languages.
(TeX Mode): Simplify introduction. Mention BibTeX mode.
(TeX Editing): Note that `""' inserts one `"' character.
(HTML Mode): Note in the introduction that XML mode is an alias for
SGML mode. Mention nXML mode.
Chong Yidong [Wed, 26 Nov 2008 04:07:53 +0000 (04:07 +0000)]
* text.texi (Text): Simplify description of markup languages.
(TeX Mode): Simplify introduction. Mention BibTeX mode.
(TeX Editing): Note that `""' inserts one `"' character.
(HTML Mode): Note in the introduction that XML mode is an alias for
SGML mode. Mention nXML mode.
Adrian Robert [Tue, 25 Nov 2008 02:45:39 +0000 (02:45 +0000)]
Fix bug #1362. * image.c (x_clear_image_1): Do not free background under HAVE_NS, it is not an indexed color. * nsterm.m (free_indexed_color): Add argument checking. * nsfns.m: Move config.h to before system includes (advised by Dan N.).
* play/bubbles.el (bubbles-mode): Define with `define-derived-mode'.
(bubbles-shift-mode, bubbles--update-score): Fix typos in docstrings.
(bubbles--empty-char): Use "\s".
Chong Yidong [Mon, 24 Nov 2008 19:14:05 +0000 (19:14 +0000)]
(minibuffer-complete-and-exit): Change `confirm-only' value of
minibuffer-completion-confirm to `confirm', and handle a
`confirm-after-completion' value.
Chong Yidong [Mon, 24 Nov 2008 19:13:58 +0000 (19:13 +0000)]
(confirm-nonexistent-file-or-buffer): Allow
`after-completion' value to request confirm only after TAB.
(confirm-nonexistent-file-or-buffer): New function.
(read-buffer-to-switch, find-file, find-file-other-window)
(find-file-other-frame, find-file-read-only)
(find-file-read-only-other-window)
(find-file-read-only-other-frame): Use it.
(switch-to-buffer-other-window, switch-to-buffer-other-frame): Doc
fix.