Glenn Morris [Sat, 22 Nov 2008 03:34:55 +0000 (03:34 +0000)]
(vc-mtn-diff-switches): New option.
(vc-mtn-program): Rename from vc-mtn-command, for
consistency with other backends. Keep old name as alias.
Update callers. Make it a defcustom.
(vc-mtn-diff): Give it a doc string. Apply diff switches.
Glenn Morris [Sat, 22 Nov 2008 03:30:22 +0000 (03:30 +0000)]
(vc-arch-program): Rename from vc-arch-command, for
consistency with other backends. Make it a defcustom.
(vc-arch-command, vc-arch-trim-revlib): Adapt for above change.
Glenn Morris [Sat, 22 Nov 2008 03:27:18 +0000 (03:27 +0000)]
Remove leading `*' from defcustom doc-strings.
(vc-svn-program): Move defcustom to start.
(vc-svn-create-repo, vc-svn-modify-change-comment):
Use vc-svn-program rather than hard-coded "svn".
Stefan Monnier [Fri, 21 Nov 2008 22:26:54 +0000 (22:26 +0000)]
(message-send-mail): Just set the buffer to unibyte
rather than use mm-with-unibyte-current-buffer which does a lot more.
(message-send-mail-partially): Don't bother with
mm-with-unibyte-current-buffer since it's already been made unibyte by
message-send-mail.
Stefan Monnier [Fri, 21 Nov 2008 20:40:08 +0000 (20:40 +0000)]
(quail-indent-to): New function.
(quail-completion-1, quail-completion-list-translations)
(quail-insert-decode-map): Use it to improve alignment.
(quail-build-decode-map): Don't ignore latin-1 chars.
(quail-help): Increase the max decode-map size so that even the TeX map
gets printed.
Stefan Monnier [Fri, 21 Nov 2008 19:29:16 +0000 (19:29 +0000)]
(bookmark-get-bookmark): Add `noerror' arg.
Signal error for invalid bookmark.
(bookmark-get-bookmark-record): Undo last change.
(bookmark-store, bookmark-delete): Use new arg `noerror'.
Chong Yidong [Fri, 21 Nov 2008 18:51:48 +0000 (18:51 +0000)]
(byte-compile-butlast): Move up in file.
(byte-optimize-plus): Don't call
byte-optimize-delay-constants-math (bug#1334). Use
byte-optimize-predicate to optimize constants.
(byte-optimize-minus): Don't call
byte-optimize-delay-constants-math. Remove zero arguments first
if possible. Call byte-optimize-predicate to optimize constants.
(byte-optimize-multiply): Remove optimizations for arguments of 0
and 2, which may be inaccurate. Optimize (* x -1) to (- x). Call
byte-optimize-predicate.
(byte-optimize-divide): Leave runtime errors unchanged.
Optimize (/ x 1) to (+ x 0). Remove optimizations for arguments of
0 and 2.0, which may be inaccurate. Call byte-optimize-predicate.
Chong Yidong [Fri, 21 Nov 2008 18:51:19 +0000 (18:51 +0000)]
* byte-opt.el (byte-compile-butlast): Move up in file.
(byte-optimize-plus): Don't call
byte-optimize-delay-constants-math (bug#1334). Use
byte-optimize-predicate to optimize constants.
(byte-optimize-minus): Don't call
byte-optimize-delay-constants-math. Remove zero arguments first
if possible. Call byte-optimize-predicate to optimize constants.
(byte-optimize-multiply): Remove optimizations for arguments of 0
and 2, which may be inaccurate. Optimize (* x -1) to (- x). Call
byte-optimize-predicate.
(byte-optimize-divide): Leave runtime errors unchanged.
Optimize (/ x 1) to (+ x 0). Remove optimizations for arguments of
0 and 2.0, which may be inaccurate. Call byte-optimize-predicate.
Kenichi Handa [Fri, 21 Nov 2008 02:24:40 +0000 (02:24 +0000)]
(detect_coding_iso_2022): Reject invalid composition
sequence.
(DECODE_COMPOSITION_START): If the current source is the last
block, and the current composition doesn't end, regard this
sequence as invalid.
(decode_coding_iso_2022): Handle invalid composition sequence.
Stefan Monnier [Thu, 20 Nov 2008 15:35:30 +0000 (15:35 +0000)]
(Buffer-menu-short-ellipsis): New constant.
(Buffer-menu-buffer+size): Use it, fix last change, and simplify.
(list-buffers-noselect): Don't need to pad.
Martin Rudalics [Thu, 20 Nov 2008 10:13:40 +0000 (10:13 +0000)]
(coordinates_in_window): Don't return
ON_VERTICAL_BORDER for the rightmost position of a mode/header
line when the window is not the rightmost one. (Bug#1372)
* server.el (server-temp-file-p): Use `string-match-p'.
(server-socket-dir): Set to nil if local sockets are unsupported.
(server-start): Don't try to delete local socket if unsupported.
(server-kill-new-buffers): Reflow docstring.
(server-delete-client, server-handle-delete-frame)
(server-save-buffers-kill-terminal): Doc fixes.
(server-send-string): Fix typo in docstring.
Chong Yidong [Mon, 17 Nov 2008 23:09:04 +0000 (23:09 +0000)]
(Easy Customization): Use "init file" instead of .emacs.
(Customization Groups): Update to new Custom buffer appearance.
(Saving Customizations): Copyedits. Update example.
(Variables): Give example of variable type-sensitivity.
(Examining): Update example.
(Hooks): Copyedits.
(Specifying File Variables): Use C comments instead of an artificial
Lisp for the example.
(Keymaps): Move internals discussion to Prefix Keymaps.
(Rebinding): Remove redundant paragraph (stated in Key Binding).
(Init Rebinding): Document kbd macro.
(Init File): Link to Find Init.
Chong Yidong [Mon, 17 Nov 2008 23:08:58 +0000 (23:08 +0000)]
* custom.texi (Easy Customization): Use "init file" instead of .emacs.
(Customization Groups): Update to new Custom buffer appearance.
(Saving Customizations): Copyedits. Update example.
(Variables): Give example of variable type-sensitivity.
(Examining): Update example.
(Hooks): Copyedits.
(Specifying File Variables): Use C comments instead of an artificial
Lisp for the example.
(Keymaps): Move internals discussion to Prefix Keymaps.
(Rebinding): Remove redundant paragraph (stated in Key Binding).
(Init Rebinding): Document kbd macro.
(Init File): Link to Find Init.
Chong Yidong [Mon, 17 Nov 2008 16:39:04 +0000 (16:39 +0000)]
(Minor Modes): Define mode commands and mode variables more precisely.
Recommend using mode commands instead of setting variables directly.
Put minor modes in a list, and add more modes.
Chong Yidong [Mon, 17 Nov 2008 16:38:54 +0000 (16:38 +0000)]
* custom.texi (Minor Modes): Define mode commands and mode variables
more precisely. Recommend using mode commands instead of setting
variables directly. Put minor modes in a list, and add more modes.
* mark.texi (Using Region): Document Delete Selection Mode more
thoroughly.
* frames.texi (Mouse Commands): Move most of the description of Delete
Selection Mode to Using Region, and link to it.