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.
Martin Rudalics [Mon, 17 Nov 2008 10:07:37 +0000 (10:07 +0000)]
(three-step-help): Remove * from defcustom.
(make-help-screen): Don't iconify selected frame. (Bug#1322)
Use when instead of if and cond within condition-case.
Chong Yidong [Mon, 17 Nov 2008 01:38:47 +0000 (01:38 +0000)]
(Compilation): Document first-error value of compilation-scroll-output.
(Compilation Mode): Note that compilation-auto-jump-to-first-error
works as soon as an error is available. Suggested by Juri Linkov.
Chong Yidong [Mon, 17 Nov 2008 01:38:08 +0000 (01:38 +0000)]
* building.texi (Compilation): Document first-error value of
compilation-scroll-output.
(Compilation Mode): Note that compilation-auto-jump-to-first-error
works as soon as an error is available. Suggested by Juri Linkov.