(ucs-mule-to-mule-unicode): Define this
translation table name here.
(ucs-mule-cjk-to-unicode): New translation table name.
(ccl-encode-unicode-font): Merge the code in ucs-tables.el.
(font-ccl-encoder-alist): Change the font registry pattern to
"ISO10646.*-*".
(decode-char): Refer to the translation
hash table named utf-subst-table-for-decode. Refer to the
translation table utf-translation-table-for-decode instead of
utf-8-translation-table-for-decode.
(encode-char): Refer to the translation hash table named
utf-subst-table-for-encode. Refer to the translation table
utf-translation-table-for-encode instead of
utf-8-translation-table-for-encode.
Don't bind
utf-8-translation-table-for-decode while setting up
ucs-mule-8859-to-ucs-table, etc. Add `depenency' property to
iso-8859-* coding systems.
(ucs-unify-8859): Arguments changed to FOR-ENCODE and FOR-DECODE.
If FOR-DECODE is non-nil, make ucs-mule-8859-to-mule-unicode
populate the translation table named
ucs-translation-table-for-decode. If FOR-ENCODE is non-nil, make
ucs-mule-to-mule-unicode populates the translation table named
utf-translation-table-for-encode. Call register-char-codings for
mule-utf-16-be and mule-utf-16-le too.
(ucs-fragment-8859): Arguments changed to FOR-ENCODE and
FOR-DECODE. If FOR-DECODE is non-nil, make the translation table
named ucs-translation-table-for-decode vacant. If FOR-ENCODE is
non-nil, make a proper char-table populates the translation table
name utf-translation-table-for-encode. Call register-char-codings
for all mule-utf-* to to reset their status to the origianl.
(unify-8859-on-encoding-mode): Call ucs-unify-8859 and
ucs-fragment-8859 with fixed arguments. Set the version to 21.3.
(unify-8859-on-decoding-mode): Likewise. Remove dependency.
(ccl-encode-unicode-font): Deleted,
(ucs-tables-unload-hook): Deleted.
(utf-16-decode-ucs): Look up
utf-subst-table-for-decode. Fix for the case that the looking up
succeeds.
(ccl-decode-mule-utf-16-le): Translate characters by
utf-translation-table-for-decode.
(ccl-decode-mule-utf-16-be): Likewise.
(ccl-encode-mule-utf-16-le): Look up utf-subst-table-for-encode
at first. Translate characters by
utf-translation-table-for-encode.
(ccl-encode-mule-utf-16-be): Likewise.
(mule-utf-16-le, mule-utf-16-be): Add `dependency' property.
(ucs-mule-to-mule-unicode): Don't define
this translation-table name here.
(utf-translation-table-for-encode): New translation-table name.
(utf-fragmentation-table): Renamed from utf-8-fragmentation-table.
(utf-defragmentation-table): New variable.
(ucs-mule-cjk-to-unicode): Renamed from utf-8-subst-rev-table.
(utf-subst-table-for-encode): New translation-table name.
(ucs-unicode-to-mule-cjk): Renamed from utf-8-subst-table.
(utf-subst-table-for-decode): New translation-table name.
(utf-fragment-on-decoding): Renamed from
utf-8-fragment-on-decoding. Correctly handle the case that
unify-8859-on-encoding-mode is off. Handle mule-utf-16-le and
mule-utf-16-be too.
(utf-translate-cjk): Renamed from utf-8-translate-cjk. Handle
mule-utf-16-le and mule-utf-16-be too.
(ccl-decode-mule-utf-8): Refer to utf-translation-table-for-decode
and utf-subst-table-for-decode.
(ccl-encode-mule-utf-8): Refer to utf-translation-table-for-encode
and utf-subst-table-for-encode.
(mule-utf-8): Fix `safe-charsets' property, put `dependency'
property.
(decode_coding_emacs_mule): Check coding->cmp_data.
Only when it is non-nil, handle composition sequence.
(setup_coding_system) <0>: Don't force composition handling.
Colin Walters [Mon, 30 Sep 2002 04:24:40 +0000 (04:24 +0000)]
(calc-reset): Don't bind `executing-kbd-macro'. Call
`calc-flush-caches' with inhibit-msg arg.
(calc-change-mode): Remove extra arg for `calc-save-modes'.
(user-mail-address): Initialize to a useful value
once Emacs is started up; initialize to "" at loadup time.
(command-line): "", not nil, means user-mail-address not set yet.
Kai Großjohann [Sun, 29 Sep 2002 16:22:19 +0000 (16:22 +0000)]
Version 2.0.24 released.
(tramp-methods, tramp-completion-function-alist):
Rename "*-old" methods to "*_old". From Michael Albinus.
(tramp-completion-function-alist): Use
`tramp-completion-function-alist-ssh' for the "fcp" method. From
Michael Albinus.
(tramp-default-method-alist): Use "su" for "root@localhost".
(tramp-host-regexp): Allow "#" for "host#port" kludge.
(tramp-ange-ftp-file-name-p): If METHOD is nil, find the right
default method. Require additional args USER and HOST for this.
Callers changed.
(tramp-handle-file-local-copy): More local bindings. Bind results
of tramp-get-{remote,local}-{de,en}coding earlier to avoid nasty
"are you awake" problem.
(tramp-action-password): Protect against clobbered match data.
(tramp-open-connection-setup-interactive-shell): Explicitly set
tramp-last-cmd-time before invoking tramp-send-command the first
time. Otherwise, tramp-send-command would issue "echo are you
awake" right at the first time, which is not what we want.
Reported by Douglas Gray Stephens.
(tramp-find-inline-encoding): Don't redirect stdout to
/dev/null to avoid "chmode go-rwx" operation from "mimencode
>/dev/null" as root(!), and to check the output of the decoding
command.
(tramp-maybe-open-connection): Don't send "are you awake" if
process has died.
(ps-print-emacs-type): Error if ps-print is
activated in Epoch, inLucid or in Emacs v19 or lesser.
Value can no longer be `lucid'.
(ps-print-version): New version number (6.5.8).
(faces): Never do (require 'faces).
Jonathan Yavner [Sat, 28 Sep 2002 18:45:56 +0000 (18:45 +0000)]
New major mode "SES" for spreadsheets.
New function (unsafep X) determines whether X is a safe Lisp form.
New support module testcover.el for coverage testing.
Stefan Monnier [Fri, 27 Sep 2002 23:16:27 +0000 (23:16 +0000)]
Use the new usage-in-docstring syntax.
(cl-push, cl-pop): Remove. Use pop and push throughout the file instead.
(cl-transform-lambda): Add usage info to docstring if the arglist is complex.
Stefan Monnier [Fri, 27 Sep 2002 22:32:48 +0000 (22:32 +0000)]
(cl-push, cl-pop): Remove. Use pop and push throughout the file instead.
(cl-hash-lookup): Remove.
(cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash)
(cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify.
Stefan Monnier [Fri, 27 Sep 2002 21:12:12 +0000 (21:12 +0000)]
(define-minor-mode): Don't add properties
to the name since they're added by mode-line-format already.
(define-minor-mode): Run (,mode -1) when needed.
Stefan Monnier [Fri, 27 Sep 2002 19:44:05 +0000 (19:44 +0000)]
(read-key-auxiliary-map): New var.
(read-key): Use it.
(make-temp-file): Make the file have mode 600.
(add-minor-mode): Don't add properties to the name since it's
added by mode-line-format already.
Be more careful with the mode-line-menu entry name.
Stefan Monnier [Fri, 27 Sep 2002 18:21:44 +0000 (18:21 +0000)]
Remove SYSV support.
(eval, display): New vars.
(longopts): Add --eval and --display.
(decode_options): Add -e and -d processing.
(print_help_and_exit): Update the usage string.
(main): Add support for --eval and --display.
Stefan Monnier [Fri, 27 Sep 2002 17:47:38 +0000 (17:47 +0000)]
(set-register): Use push.
(point-to-register): Set kill-buffer-hook in this buffer.
(register-swap-out): Use dolist.
(kill-buffer-hook): Don't change globally.
Stefan Monnier [Fri, 27 Sep 2002 17:43:29 +0000 (17:43 +0000)]
(server-select-display): New function.
(server-process-filter): Add support for `-display' and `-eval' args.
(server-visit-files): Use save-current-buffer, push, and dolist.
Add server-kill-buffer to kill-buffer-hook.
(kill-buffer-hook): Don't modify globally.
(server-switch-buffer): Be a bit more careful with multiple displays.
Stefan Monnier [Fri, 27 Sep 2002 17:37:47 +0000 (17:37 +0000)]
(uniquify-rationalize-file-buffer-names):
Add to kill-buffer-hook for buffers with conflict.
(rename-buffer): Check kill-buffer-hook to see if there was a conflict.
(uniquify-delay-rationalize-file-buffer-names): Remove useless check.
(kill-buffer-hook): Don't change globally.
(backup-buffer): Bind local var MODES.
Don't use renaming for a suid or sgid file.
Use backup-buffer-copy to do copying.
(backup-buffer-copy): New subroutine.
Clear suid and sgid bits for the copy.
(try_font_list): New arg PREFER_FACE_FAMILY. If it is
nonzero, try face's family at first. Otherwise try FAMILY at
first.
(choose_face_font): If C is a single byte char or latin-1, call
try_font_list with PREFER_FACE_FAMILY 1.
Stefan Monnier [Wed, 25 Sep 2002 19:54:13 +0000 (19:54 +0000)]
Use built-in network primitives.
(server-program, server-previous-string): Remove.
(server-previous-strings): New var.
(server-socket-name): New var.
(server-log): Minor change to the output format.
(server-sentinel): Clean up global state when a client disconnects.
(server-unquote-arg): New fun.
(server-start): Use server-socket-name and make-network-process.
(server-process-filter): Now talks to the clients directly.
Normalize file name after unquoting and decoding.
(server-buffer-done): Just close the connection.
(server-switch-buffer): Handle the case where all windows are
dedicated or minibuffers.
Stefan Monnier [Wed, 25 Sep 2002 19:34:07 +0000 (19:34 +0000)]
(fast-lock-mode, lazy-lock-mode, jit-lock-mode): Don't bind them variables.
(font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
(font-lock-after-unfontify-buffer): Check that the vars are bound.
(font-lock-dont-widen): New var.
(font-lock-default-fontify-region): Use it.