1 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6 * startup.el (fancy-startup-tail): Instead of using inline images,
7 refer to image files from etc/.
9 * wid-edit.el (checkbox): Likewise.
10 (widget-image-find): Center image specs.
12 2010-10-24 Glenn Morris <rgm@gnu.org>
14 * term/ns-win.el (x-select-text): Doc fix.
15 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
16 (x-select-text): Move to term/common-win.
17 * term/w32-win.el (xw-defined-colors): Move to common-win.
18 * term/x-win.el (xw-defined-colors, x-alternatives-map)
19 (x-setup-function-keys, x-select-text): Move to common-win.
20 * term/common-win.el (x-select-text, x-alternatives-map)
21 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
24 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
26 * net/mairix.el (mairix-searches-mode-map):
27 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
29 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
31 * verilog-mode.el (verilog-directive-re): Make this variable
32 auto-built for efficiency of execution and updating.
33 (verilog-extended-complete-re): Support 'pure' fucntion & task
34 declarations (these have no bodies).
35 (verilog-beg-of-statement): general cleanup to enable support of
36 'pure' fucntion & task declarations (these have no bodies). These
37 efforts together fix Verilog bug210 from veripool; which was also
38 noticed by Steve Pearlmutter.
39 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
40 (verilog-directive-nest-re, verilog-set-auto-endcomments): Support
41 `elsif. Reported by Shankar Giri.
42 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
43 attribute handling for lining up declarations and assignments.
44 (verilog-beg-of-statement-1): Fix issue where continued declaration
45 is indented differently if it is after a begin..end clock.
46 (verilog-in-attribute-p, verilog-skip-backward-comments)
47 (verilog-skip-forward-comment-p): Support proper treatment of
48 attributes by indent code. Reported by Jeff Steele.
49 (verilog-in-directive-p): Fix comment to correctly describe
51 (verilog-backward-up-list, verilog-in-struct-region-p)
52 (verilog-backward-token, verilog-in-struct-p)
53 (verilog-in-coverage-p, verilog-do-indent)
54 (verilog-pretty-declarations): Use verilog-backward-up-list as
55 wrapper around backward-up-list inorder to properly skip comments.
56 Reported by David Rogoff.
57 (verilog-property-re, verilog-endcomment-reason-re)
58 (verilog-beg-of-statement, verilog-set-auto-endcomments)
59 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
60 of if). Reported by Max Bjurling and
61 (verilog-calc-1): Fix for clocking block in modport
62 declaration. Reported by Brian Hunter.
64 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
66 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
67 (verilog-gate-keywords, verilog-read-sub-decls)
68 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
69 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
70 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
71 (verilog-read-decls): Fix spaces in V2K module parameters causing
72 mis-identification as interfaces, bug287.
73 (verilog-read-decls): Fix not treating "parameter string" as a
74 parameter in AUTOINSTPARAM.
75 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
76 treating `elsif similar to `endif inside AUTOSENSE.
77 (verilog-do-indent): Implement correct automatic or static task or
78 function end comment highlight. Reported by Steve Pearlmutter.
79 (verilog-font-lock-keywords-2): Fix highlighting of single
80 character pins, bug264. Reported by Michael Laajanen.
81 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
82 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
83 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
84 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
85 (verilog-pretty-expr): Fix interactive arguments, bug272. Reported
87 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp): Add
88 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
89 bug269. Suggested by Gary Delp.
90 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
91 (verilog-preprocessor, verilog-set-compile-command): Create
92 verilog-preprocess and verilog-preprocessor to show preprocessed
94 (verilog-get-beg-of-line, verilog-get-end-of-line)
95 (verilog-modi-file-or-buffer, verilog-modi-name)
96 (verilog-modi-point, verilog-within-string): Move defmacro's
97 before first use to avoid warning. Reported by Steve Pearlmutter.
98 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
99 (verilog-colorize-region, verilog-highlight-buffer)
100 (verilog-highlight-includes, verilog-highlight-modules)
101 (verilog-highlight-region, verilog-mode): Rename colorize to
102 highlight to match other packages. Disable module highlighting,
103 as received speed complaints, reenable for experimentation only
104 using new verilog-highlight-modules.
105 (verilog-read-decls): Fix regexp stack overflow in very large
106 AUTO_TEMPLATEs, bug250.
107 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
108 (verilog-scan): Create verilog-save-buffer-state to standardize
109 making insignificant changes that shouldn't call hooks.
110 (verilog-save-no-change-functions, verilog-save-scan-cache)
111 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
112 Create verilog-save-no-change-functions to wrap verilog-scan
113 preservation, and fix to work with nested preserved calls.
114 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
115 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
116 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
117 (verilog-submit-bug-report): Update variable list to be complete.
118 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
119 breaking on-the-fly font-locking.
120 (verilog-colorize-buffer, verilog-colorize-include-files)
121 (verilog-colorize-include-files-buffer, verilog-colorize-region)
122 (verilog-load-file-at-mouse, verilog-load-file-at-point)
123 (verilog-mode, verilog-read-inst-module-matcher): With point on a
124 AUTOINST cell instance name, middle mouse button now finds-file on
125 it. Suggested by Brad Dobbie.
126 (verilog-alw-get-temps, verilog-auto-reset)
127 (verilog-auto-sense-sigs, verilog-read-always-signals)
128 (verilog-read-always-signals-recurse): Fix loop indexes being
129 AUTORESET. AUTORESET now assumes any variables in the
130 initialization section of a for() should be ignored. Reported by
132 (verilog-error-font-lock-keywords)
133 (verilog-error-regexp-emacs-alist)
134 (verilog-error-regexp-xemacs-alist): Fix error detection of
135 Cadence HAL, reported by David Asher. Repair drift between the
136 three similar error variables.
137 (verilog-modi-lookup, verilog-modi-lookup-cache)
138 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
139 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
140 Fix slow verilog-auto expansion on very large files.
141 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line): Fix
142 AUTOOUTPUT treating "1*2" as a signal name in submodule connection
143 "{1*2{...". Broke in last revision.
144 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
145 submodule connections with replications "{#{a},#{b}}".
147 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
149 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
150 Fix typo in docstring.
152 2010-10-24 Kenichi Handa <handa@m17n.org>
154 * face-remap.el (text-scale-adjust): Call read-event with a proper
157 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
159 * emacs-lisp/unsafep.el: Don't mark functions that display
160 messages as safe. Suggested by Johan Bockgård.
162 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
164 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
165 Turn comments into docstrings.
167 * minibuffer.el (completion--replace): Move point where it belongs
168 when there's a common suffix (bug#7215).
170 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
172 Merge read-color and facemenu-read-color (Bug#7242).
174 * faces.el (read-color): Use the completion code from
175 facemenu-read-color. Require match in completion. Doc fix.
177 * facemenu.el (facemenu-read-color): Alias for read-color.
178 (facemenu-set-foreground, facemenu-set-background): Use
181 * frame.el (set-background-color, set-foreground-color)
182 (set-cursor-color, set-mouse-color, set-border-color): Use
185 2010-10-24 Leo <sdl.web@gmail.com>
187 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
188 argument of delete-file and delete-directory (Bug#7011).
190 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
192 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
195 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
197 * emacs-lisp/package.el (package--generate-package-list): Make the
198 *Packages* buffer read-only.
200 2010-10-24 Alan Mackenzie <acm@muc.de>
202 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
203 result of `c-beginning-of-decl-1' between invocations of a lambda
204 function (Bug #7265).
206 2010-10-24 Daiki Ueno <ueno@unixuser.org>
208 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
209 executable is not available on the system (Bug#7268).
211 2010-10-24 Glenn Morris <rgm@gnu.org>
213 * select.el (selection-coding-system, next-selection-coding-system):
214 Sync doc with C versions.
216 * w32-vars.el (x-select-enable-clipboard):
217 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
218 * term/common-win.el (x-select-enable-clipboard): Move here.
220 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
221 definition of C variable.
223 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
224 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
225 Don't redefine things that are defined in C.
226 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
227 (show-trailing-whitespace, auto-hscroll-mode)
228 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
229 Set up the appropriate custom properties.
231 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
234 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
235 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
236 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
237 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
239 2010-10-23 Glenn Morris <rgm@gnu.org>
241 * textmodes/flyspell.el (flyspell-mode): If there was an error,
244 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
245 Sync docs with C version.
247 * term/ns-win.el (xw-defined-colors):
248 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
250 * term/pc-win.el (x-select-enable-clipboard):
251 * term/x-win.el (x-select-enable-clipboard):
252 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
254 * comint.el (comint-password-prompt-regexp): Make it less vague.
257 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
259 * help.el (finder-by-keyword): Remove unnecessary autoload.
261 2010-10-22 Glenn Morris <rgm@gnu.org>
263 * loadup.el: Unconditionally load float-sup.
264 * paren.el (show-paren-delay):
265 * emacs-lisp/float-sup.el:
266 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
267 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
268 (lazy-lock-stealth-verbose): Assume float support.
269 * ps-print.el: Assume float support on Emacs.
270 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
271 Remove non-float branch.
273 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
274 src/Makefile no longer being pre-processed.
276 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
278 * emacs-lisp/find-func.el (find-library): Use test-completion.
280 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
282 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
284 010-10-21 Michael Albinus <michael.albinus@gmx.de>
286 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
287 space in stat format string.
288 (tramp-send-command): Unset $PS1 when using here documents, in
289 order not to get several prompts.
290 (tramp-get-inline-coding): Return `nil' in case of errors.
292 2010-10-21 Daiki Ueno <ueno@unixuser.org>
294 * hexl.el (hexl-mode, hexl-mode-exit):
295 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
296 (hexl-revert-buffer-function): New function.
297 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
299 2010-10-19 Alan Mackenzie <acm@muc.de>
301 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
302 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
303 that these keywords aren't wrongly matched as identifiers.
305 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
306 setting of c-new-BEG and c-new-END from c-before-change to
307 c-after-change. (Bug#7181)
309 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
311 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
314 * custom.el (custom-theme-set-variables): Likewise.
315 (load-theme): Add custom-theme-set-faces and
316 custom-theme-set-variables to safe-functions while loading.
317 (custom-enabled-themes): Mark as risky.
319 2010-10-18 Julien Danjou <julien@danjou.info>
321 * bindings.el: Remove end dashes in default mode-line-format.
323 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
325 * bindings.el (global-map): Bind C-d to delete-char and deletechar
326 to delete-forward-char.
328 * simple.el (normal-erase-is-backspace-mode): Remap delete to
329 deletechar, and hence delete-forward-char.
331 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
333 * repeat.el (repeat): Use read-key (bug#6256).
335 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
337 * emacs-lisp/unsafep.el: Don't mark functions that display
338 messages as safe. Suggested by Johan Bockgård.
340 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
342 * minibuffer.el (completion--replace): Move point where it belongs
343 when there's a common suffix (bug#7215).
345 2010-10-19 Kenichi Handa <handa@m17n.org>
347 * international/characters.el: Add category '|' (word breakable)
348 to fullwidth characters.
350 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
352 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
353 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
354 order to make stat results a float. Patch by Andreas Schwab
355 <schwab@linux-m68k.org>.
357 2010-10-18 Julien Danjou <julien@danjou.info>
359 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
360 hidden by `make-pointer-invisible'.
362 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
364 * files.el (locate-file-completion-table): Strip non-matching elements
365 before checking length of list (bug#7238).
367 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
369 * custom.el (custom-theme-set-variables): Mark as a safe function.
370 (load-theme): Check forms using unsafep.
372 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
374 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
376 * textmodes/ispell.el (ispell-aspell-find-dictionary):
377 Fix aspell data file searching (bug#7230).
379 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
381 * cus-theme.el (custom-theme--migrate-settings): New var.
382 (customize-create-theme): Allow editing the `user' theme.
383 (custom-theme-add-variable, custom-theme-add-var-1)
384 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
385 to the front of each variable or face widget.
386 (custom-theme-write): Save theme settings in the correct order.
387 Optionally, remove saved settings from user customizations.
388 (custom-theme-write-variables, custom-theme-write-faces):
389 Save only the checked widgets.
390 (customize-themes): Add a link for migrating custom settings.
392 * custom.el (custom-declare-theme, provide-theme):
393 Use custom-theme-name-valid-p.
394 (custom-theme-name-valid-p): Remove checks that are now
395 unnecessary since themes no longer obey load-path.
397 * cus-edit.el (custom-variable-value-create): For the simple
398 style, hide documentation string when hidden.
400 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
402 * cus-edit.el (custom-variable, custom-face): Combine the
403 :inhibit-magic and :display-style properties into a single
404 :custom-style property.
405 (custom-toggle-hide-variable, custom-toggle-hide-face):
406 New functions. If hiding an edited value, save it to :shown-value.
407 (custom-variable-value-create, custom-face-value-create): Use them.
408 (custom-magic-reset): Allow magic property to be unset.
410 * custom.el: Custom themes no longer use load-path.
411 (custom-theme-load-path): New option. Change built-in theme
413 (custom-enabled-themes): Add custom-theme-load-path dependency.
414 (custom-theme--load-path): New function.
415 (load-theme, custom-available-themes): Use it.
417 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
418 (customize-themes): Link to custom-theme-load-path variable.
419 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
420 :custom-style property.
422 * themes/*.el: Moved to etc/.
424 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
426 * textmodes/reftex-cite.el
427 (reftex-extract-bib-entries-from-thebibliography): Do not move
428 point when searching for \bibitem entries. Match entries with
429 spaces or tabs in front of arguments.
431 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
433 * cus-theme.el (customize-create-theme): Delete overlays after
434 erasing. If given a THEME arg, display only the faces of that arg
435 instead of custom-theme--listed-faces.
436 (custom-theme-variable-menu, custom-theme-variable-action)
437 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
438 (custom-theme-add-variable, custom-theme-add-face): Apply value
439 from the theme settings, instead of the current value.
440 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
441 (custom-theme-visit-theme): Allow calling outside theme buffers.
442 (custom-theme-merge-theme): Don't enable the theme when merging.
443 (custom-theme-write-variables, custom-theme-write-faces): Use the
444 :shown-value properties to save buffer values, not global ones.
445 (customize-themes): Display a warning about user customizations.
447 * cus-edit.el (custom-variable-value-create)
448 (custom-face-value-create): Obey new special properties
449 :shown-value and :inhibit-magic.
451 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
453 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
454 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
457 2010-10-14 Kenichi Handa <handa@m17n.org>
459 * mail/rmail.el (rmail-show-message-1): Catch an error of
460 base64-decode-region and just show an error message (bug#7165).
462 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
463 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
464 a font-spec (bug#7197).
466 2010-10-14 Glenn Morris <rgm@gnu.org>
468 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
470 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
472 * international/mule.el (define-coding-system):
473 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
474 * composite.el (compose-region): Fix typo in docstring.
476 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
478 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
479 only after checking the theme-face property.
481 * faces.el (face-spec-reset-face): Reset all attributes in one
482 single call to set-face-attribute.
483 (face-spec-match-p): Make it a defsubst.
484 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
485 (x-create-frame-with-faces, tty-create-frame-with-faces)
486 (tty-set-up-initial-frame-faces): Don't recompute face specs in
487 frame-set-background-mode, since they are recomputed immediately
488 afterwards in face-set-after-frame-default.
489 (face-set-after-frame-default): Minor optimization.
490 (cursor): Provide non-trivial defface spec.
492 * custom.el (custom-theme-recalc-face): Simplify.
494 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
496 * calc/calc-alg.el (math-var): Rename from `var'.
497 (math-is-polynomial, math-is-poly-rec): Replace `var'
500 * calc/calcalg2.el (math-var): Rename from `var'.
501 (calcFunc-table, math-scan-for-limits): Replace `var'
504 2010-10-13 Glenn Morris <rgm@gnu.org>
506 * subr.el (last): Deal with dotted lists (reported in bug#7174).
508 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
510 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
512 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
514 * net/tls.el (tls-program): Remove spurious %s from openssl.
515 (tls-starttls-switches): Remove starttls hack.
516 (open-tls-stream): Ditto.
517 (tls-find-starttls-argument): Ditto.
519 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
521 * image.el (image-library-alist): Declare as obsolete alias.
522 (image-type-available-p): Use `dynamic-library-alist'.
524 * term/w32-win.el (dynamic-library-alist):
525 Use instead of `image-library-alist'.
527 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
529 * subr.el (last): Make it faster. (Bug#7174)
531 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
533 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
535 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
537 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
538 (describe-theme-1): Extract doc from unloaded themes.
540 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
542 * themes/tango-theme.el:
543 * themes/tango-dark-theme.el:
544 * themes/wheatgrass-theme.el: New files.
546 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
548 * cus-theme.el (describe-theme, customize-themes)
549 (custom-theme-save): New commands.
550 (custom-new-theme-mode-map): Bind C-x C-s.
551 (custom-new-theme-mode): Use custom--initialize-widget-variables.
552 (customize-create-theme): New optional arg THEME.
553 (custom-theme-revert): Use it.
554 (custom-theme-visit-theme): Remove dead code.
555 (custom-theme-merge-theme): Use custom-available-themes.
556 (custom-theme-write): Make interactive.
557 (custom-theme-write): Use custom-theme-name-valid-p.
558 (describe-theme-1, custom-theme-choose-revert)
559 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
561 (custom-theme-allow-multiple-selections): New option.
562 (custom-theme-choose-mode): New major mode.
564 * custom.el (custom-theme-set-variables): Remove dead code.
565 Obey custom--inhibit-theme-enable.
566 (custom--inhibit-theme-enable): New var.
567 (provide-theme): Obey it.
568 (load-theme): Replace load with manual read/eval, in order to
569 check for correctness. Use custom-theme-name-valid-p.
570 (custom-theme-name-valid-p): New function.
571 (custom-available-themes): Use it.
573 * cus-edit.el (custom--initialize-widget-variables): New function.
574 (Custom-mode): Use it.
576 * cus-face.el (custom-theme-set-faces): Remove dead code.
577 Obey custom--inhibit-theme-enable.
579 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
581 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
583 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
585 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
587 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
588 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
589 (mac-right-option-modifier): New alias for ns-right-option-modifier.
591 * cus-start.el (all): ns-right-alternate-modifier is new.
593 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
595 * emacs-lisp/lisp.el (lisp-completion-at-point):
596 Use emacs-lisp-mode-syntax-table for the whole function.
598 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
600 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
601 instead of font-lock-mode before adding keywords.
602 Remove hi-lock-mode off code. Remove inhibit hack.
603 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
604 non-nil; removed hook inhibit hack.
606 2010-10-12 Glenn Morris <rgm@gnu.org>
608 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
609 (load-path-shadows-find): ... to this.
610 (list-load-path-shadows): Update for above change.
612 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
614 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
616 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
617 Fix comment for declare-function.
619 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
621 * custom.el (custom-fix-face-spec): New function; code moved from
622 custom-face-edit-fix-value.
623 (custom-push-theme): Use it when checking if a face has been
624 changed outside customize.
625 (custom-available-themes): New function.
626 (load-theme): Use it.
628 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
630 * custom.el (custom-push-theme): Cleanup (use cond).
631 (disable-theme): Recompute the saved-face property.
632 (custom-theme-recalc-face): Follow face alias before setting prop.
634 * image.el (image-checkbox-checked, image-checkbox-unchecked):
635 New variables, containing checkbox images.
637 * startup.el (fancy-startup-tail):
638 * wid-edit.el (checkbox): Use them.
640 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
642 * shell.el (shell-mode-map):
643 * progmodes/modula2.el (m2-mode-map):
644 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
645 * play/mpuz.el (mpuz-mode-map):
646 * play/landmark.el (lm-mode-map):
647 * play/decipher.el (decipher-mode-map):
648 * play/5x5.el (5x5-mode-map):
649 * net/telnet.el (telnet-mode-map):
650 * net/quickurl.el (quickurl-list-mode-map):
651 * net/mairix.el (mairix-searches-mode-map):
652 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
653 * net/dig.el (dig-mode-map):
654 * mail/mspools.el (mspools-mode-map):
655 * hexl.el (hexl-mode-map):
656 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
657 (wordstar-C-o-map, wordstar-C-q-map):
658 * emacs-lisp/edebug.el (edebug-eval-mode-map):
659 * emacs-lisp/chart.el (chart-map):
660 * edmacro.el (edmacro-mode-map):
661 * erc/erc-list.el (erc-list-menu-mode-map):
662 * array.el (array-mode-map): Declare and define in one step.
664 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
666 2010-10-10 Daiki Ueno <ueno@unixuser.org>
668 * epa.el (epa-passphrase-callback-function): Display filename
669 passed as the 3rd arg.
670 * epa-file.el (epa-file-passphrase-callback-function):
671 Pass filename to epa-passphrase-callback-function.
673 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
675 * cus-edit.el (custom-face-widget-to-spec)
676 (custom-face-get-current-spec, custom-face-state): New functions.
677 (custom-face-set, custom-face-mark-to-save)
678 (custom-face-value-create, custom-face-state-set): Use them.
680 * cus-theme.el (custom-theme--listed-faces): New var.
681 (customize-create-theme): Use *Custom Theme* as the buffer name.
682 Set revert-buffer-function. Optional arg BUFFER. Insert all
683 faces listed in custom-theme--listed-faces.
684 (custom-theme-revert): New function.
685 (custom-theme-add-variable, custom-theme-add-face): Insert at the
687 (custom-theme-write): Prompt for theme name if empty.
688 (custom-theme-write-variables): Use dolist.
689 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
691 2010-10-09 Alan Mackenzie <acm@muc.de>
693 Enhance fontification of declarators to take account of the
694 presence/absence of "typedef".
696 * cc-engine.el (c-forward-type): New &optional param
698 (c-forward-decl-or-cast-1): cdr of return value now indicates the
699 presence of either or both of a "struct"-like keyword and "typedef".
701 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
702 fontification of declarators which follow a "}".
703 (c-font-lock-declarations): Fontify declarators according to the
704 presence/absence of "typedef".
706 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
708 (c-typedef-decl-key): New lang variable built from
711 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
713 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
714 since that's too annoying. Move the filter groups commands to
717 * epa.el (epa-passphrase-callback-function): Say what we're
718 querying the password for.
720 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
721 behaviour, don't bury the ibuffer buffer when visiting other buffers.
723 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
725 * cus-edit.el (custom-commands, custom-buffer-create-internal)
726 (custom-magic-value-create): Pad button tags with spaces.
727 (custom-face-edit): New variable.
728 (custom-face-value-create): Determine whether to use the usual
729 face editor here, instead of using custom-face-selected.
730 Pass face defaults to custom-face-edit widget.
731 (custom-face-selected, custom-display-unselected): Delete widgets.
732 (custom-display-unselected-match): Function removed.
733 (custom-face-set, custom-face-mark-to-save):
734 Accept custom-face-edit widgets as the direct widget child.
736 * wid-edit.el (widget--completing-widget): New var.
737 (widget-default-complete): Bind it when doing completion.
738 (widget-string-complete, widget-file-complete): Use it.
740 2010-10-09 Glenn Morris <rgm@gnu.org>
742 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
743 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
744 (holiday-hebrew-misc): Small simplifications.
746 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
748 * net/browse-url.el: Don't require thingatpt, term, dired,
749 executable, or w3-auto when compiling.
750 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
752 (browse-url-text-emacs): Require term.
754 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
756 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
758 2010-10-08 Glenn Morris <rgm@gnu.org>
760 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
762 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
763 (shadows-compare-text-p): Make it an obsolete alias for...
764 (load-path-shadows-compare-text): ... new name.
765 (find-emacs-lisp-shadows): Update for above name change.
766 (load-path-shadows-same-file-or-nonexistent): New name for the old
767 shadow-same-file-or-nonexistent.
769 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
771 * minibuffer.el (completion--some, completion--do-completion)
772 (minibuffer-complete-and-exit, minibuffer-completion-help)
773 (completion-basic-try-completion)
774 (completion-basic-all-completions)
775 (completion-pcm--find-all-completions): Use lexical-let to
776 avoid some false matches in variable completion (Bug#7056)
778 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
780 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
782 2010-10-08 Leo <sdl.web@gmail.com>
784 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
785 return non-nil if the file exists (Bug#7090).
787 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
789 * minibuffer.el (completion--replace):
790 Better preserve markers (bug#7138).
792 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
794 * server.el (server-process-filter): Doc fix.
796 2010-10-08 Drew Adams <drew.adams@oracle.com>
798 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
800 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
802 * Makefile.in (ELCFILES): Update.
804 2010-10-08 Glenn Morris <rgm@gnu.org>
806 * vc/ediff-wind.el (ediff-setup-control-frame):
807 * vc/ediff-ptch.el (ediff-default-backup-extension):
808 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
809 (ediff-exec-process): Remove system-types emx, windows-95.
811 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
813 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
815 * cus-edit.el (custom-variable, custom-face): Doc fix.
816 (custom-face-edit): Add value-create attribute.
817 (custom-face-edit-value-create)
818 (custom-face-edit-value-visibility-action): New functions.
819 Hide unused face attributes by default, and add a visibility toggle.
820 (custom-face-edit-deactivate): Show empty values with shadow face.
821 (custom-face-selected): Only use this for face specs with default
823 (custom-face-value-create): Cleanup.
825 * wid-edit.el (widget-checklist-value-create): Use dolist.
826 (widget-checklist-match-find): Make second arg optional.
828 2010-10-07 Glenn Morris <rgm@gnu.org>
830 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
833 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
834 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
835 load-path-shadows-mode, update references.
836 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
837 Rename variable and button.
838 (list-load-path-shadows): Update button caller.
840 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
842 * emacs-lisp/smie.el (smie-bnf-classify): New function.
843 (smie-bnf-precedence-table): Use it to remember the closers/openers.
844 (smie-merge-prec2s): Handle those new entries.
845 (smie-prec2-levels): Only set precedence to nil for actual
847 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
848 that is now unnecessary.
850 2010-10-07 Miles Bader <miles@gnu.org>
852 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
854 2010-10-07 Glenn Morris <rgm@gnu.org>
856 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
857 (mail-position-on-field): Remove declarations.
858 (mail-position-on-field): Autoload it.
859 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
860 and mail-header-end. Don't require sendmail.
862 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
863 (shadow-mode): New mode.
864 (shadow-find-file): New button.
865 (list-load-path-shadows): Use shadow-mode and buttons.
867 * iimage.el (iimage-version): Remove.
868 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
869 Turn into defcustoms.
870 (iimage-mode-map): Give it a doc string.
872 * calendar/appt.el (appt-activate): Give a warning rather than an error
873 if there is no diary-file.
875 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
877 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
878 Use `tramp-handle-find-backup-file-name'.
880 2010-10-06 Glenn Morris <rgm@gnu.org>
882 * font-core.el (font-lock-defaults-alist): Remove variable.
883 (font-lock-mode): Doc fix.
884 (font-lock-default-function): Do not consult font-lock-defaults-alist.
885 * font-lock.el (font-lock-refresh-defaults): Doc fix.
886 (font-lock-set-defaults): Doc fix.
887 Do not consult font-lock-defaults-alist.
889 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
891 * emacs-lisp/cl.el: No longer provide cl-19.
893 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
895 * net/tramp.el (tramp-handle-directory-files-and-attributes)
896 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
897 New defuns, taken from tramp-smb.el.
898 (tramp-coding-system-change-eol-conversion)
899 (tramp-set-process-query-on-exit-flag): Remove.
901 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
902 (tramp-compat-coding-system-change-eol-conversion)
903 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
907 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
908 by `tramp-compat-set-process-query-on-exit-flag'.
910 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
911 Use `tramp-handle-directory-files-and-attributes',
912 `tramp-handle-file-exists-p' and
913 `tramp-handle-file-newer-than-file-p'.
914 (tramp-imap-handle-file-exists-p)
915 (tramp-imap-handle-file-executable-p)
916 (tramp-imap-handle-file-readable-p)
917 (tramp-imap-handle-directory-files-and-attributes)
918 (tramp-imap-handle-file-newer-than-file-p): Remove.
920 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
921 by `tramp-compat-set-process-query-on-exit-flag' and
922 `tramp-coding-system-change-eol-conversion' by
923 `tramp-compat-coding-system-change-eol-conversion'.
925 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
926 Use `tramp-handle-directory-files-and-attributes',
927 `tramp-handle-file-exists-p' and
928 `tramp-handle-file-newer-than-file-p'.
929 (tramp-smb-handle-directory-files-and-attributes)
930 (tramp-smb-handle-file-exists-p)
931 (tramp-smb-handle-file-newer-than-file-p): Remove.
932 (tramp-smb-maybe-open-connection):
933 Replace `tramp-set-process-query-on-exit-flag' by
934 `tramp-compat-set-process-query-on-exit-flag'.
936 2010-10-05 Glenn Morris <rgm@gnu.org>
938 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
940 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
942 Continue reorganization of load dependencies. (Bug#7156)
944 * net/tramp.el (tramp-handle-file-local-copy-hook)
945 (tramp-delete-temp-file-function): Move down.
946 (tramp-exists-file-name-handler): Move up.
947 (tramp-register-file-name-handlers): Simplify autoload.
948 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
949 (tramp-handle-directory-files, tramp-handle-dired-uncache)
950 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
951 (tramp-handle-file-name-completion)
952 (tramp-handle-file-name-directory)
953 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
954 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
955 (tramp-handle-find-backup-file-name)
956 (tramp-handle-insert-file-contents, tramp-handle-load)
957 (tramp-handle-substitute-in-file-name)
958 (tramp-handle-unhandled-file-name-directory)
959 (tramp-mode-string-to-int, tramp-local-host-p)
960 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
962 * net/tramp-gvfs.el (top):
963 * net/tramp-smb.el (top): Do not require 'tramp-sh.
965 * net/tramp-sh.el (all): Move several objects to tramp.el, see
966 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
968 2010-10-04 Glenn Morris <rgm@gnu.org>
970 * calendar/appt.el (appt-add): Ensure reminders are enabled.
971 (appt-activate): Give status messages.
973 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
975 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
976 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
977 `gnutls-negotiate' (formerly `starttls-negotiate').
978 Remove trivial wrapper `starttls-open-stream'.
980 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
982 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
983 log-outgoing commands.
984 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
985 to create a buffer local revert-buffer-function variable.
986 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
987 revert-buffer-function lambda.
989 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
991 * net/gnutls.el (starttls-negotiate): Use the plist interface to
992 `gnutls-boot'. Make TYPE the only required parameter.
993 Allow TRUSTFILES and KEYFILES to be lists.
994 (open-ssl-stream): Use it.
996 2010-10-03 Glenn Morris <rgm@gnu.org>
998 * subr.el (directory-sep-char): Remove obsolete variable.
999 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1002 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1003 * vc/vc.el (vc-static-header-alist): Doc fix.
1004 * vc/vc-cvs.el (vc-cvs-header):
1005 * vc/vc-rcs.el (vc-rcs-header):
1006 * vc/vc-sccs.el (vc-sccs-header):
1007 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1008 * obsolete/vc-mcvs.el (vc-mcvs-header):
1009 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1012 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1014 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1015 Remove obsolete use of binary-overwrite-mode (Bug#7001).
1017 2010-10-03 Glenn Morris <rgm@gnu.org>
1019 * obsolete/x-menu.el: Remove file, obsolete since 21.1
1021 * textmodes/rst.el (rst-font-lock-keywords-function):
1024 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1026 * printing.el: Drop Emacs 20 code.
1028 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1029 without having used appt.el already).
1031 * subr.el (make-local-hook): Remove function obsolete since 21.1.
1032 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1033 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1035 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1036 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1038 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1039 (charset-width, find-charset-region, chars-in-region, forward-point)
1040 (encode-coding-string, coding-system-p, ccl-execute-on-string)
1041 (define-ccl-program, multibyte-string-p, string-make-multibyte):
1042 Remove compatibility cruft (none of these are used by ps*.el).
1044 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1046 * subr.el (booleanp): Return t instead of a list (Bug#7086).
1048 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1050 * server.el (server-process-filter, server-return-error):
1051 Give emacsclient time to shut down after receiving an error string.
1053 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
1055 * files.el (remote-file-name-inhibit-cache): New defcustom.
1057 * time.el (display-time-file-nonempty-p):
1058 Use `remote-file-name-inhibit-cache'.
1060 * net/tramp.el (tramp-completion-reread-directory-timeout):
1063 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1064 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1065 `remote-file-name-inhibit-cache'. Check also for an integer
1066 value. Add/increase counter when `tramp-verbose' >= 10.
1067 (tramp-set-file-property): Add/increase counter when
1068 `tramp-verbose' >= 10.
1070 * net/tramp-cmds.el (tramp-cleanup-all-connections)
1071 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1072 (tramp-bug): Set tramp-autoload cookie. Report all interned
1073 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
1074 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
1075 characters only in strings.
1077 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1078 to backward compatibility.
1080 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1081 (tramp-handle-file-name-all-completions)
1082 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1083 (tramp-open-connection-setup-interactive-shell):
1084 Call `tramp-cleanup-connection' directly.
1086 2010-10-02 Glenn Morris <rgm@gnu.org>
1088 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
1090 * subr.el (char-bytes): Remove obsolete function.
1092 * isearch.el (isearch-return-char): Remove obsolete function.
1094 * mouse.el: No longer provide mldrag.
1095 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
1096 Remove obsolete aliases.
1098 * comint.el (comint-kill-output): Remove obsolete alias.
1100 * composite.el (decompose-composite-char): Remove obsolete function.
1101 * ps-def.el (decompose-composite-char): Remove unused function.
1103 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
1105 * outline.el (outline-visible): Remove obsolete function.
1107 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
1108 * faces.el (internal-find-face, internal-get-face)
1109 (frame-update-faces, frame-update-face-colors)
1110 (x-frob-font-weight, x-frob-font-slant)
1111 (internal-frob-font-weight, internal-frob-font-slant)
1112 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
1113 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
1114 (x-make-font-bold-italic): Remove functions and aliases, obsolete
1116 * emulation/viper-util.el (viper-get-face):
1117 * obsolete/lucid.el (find-face, get-face): Use facep.
1118 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
1119 Remove unused functions.
1120 * vc/ediff-util.el (ediff-submit-report): Doc fix.
1122 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
1123 delete tempfile if interrupted during compilation.
1125 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1127 * net/tls.el (tls-starttls-switches): Give up on using starttls with
1129 (tls-program): Add --insecure to be consistent with the defaults from
1130 openssl s_client. Now all three commands are insecure.
1132 2010-10-01 Eli Zaretskii <eliz@gnu.org>
1134 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
1135 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
1136 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
1138 2010-10-01 Glenn Morris <rgm@gnu.org>
1140 * obsolete/sc.el: Remove file.
1142 * files.el (temporary-file-directory): On darwin, also try
1143 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
1145 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
1147 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
1148 Let's not break compatibility gratuitously, shall we?
1150 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1152 * net/tls.el (tls-starttls-switches): New variable.
1153 (tls-find-starttls-argument): Use it.
1154 (open-tls-stream): Ditto.
1156 * net/netrc.el (netrc-credentials): Return the value of the "default"
1158 (netrc-machine): Ditto.
1160 2010-09-30 Eli Zaretskii <eliz@gnu.org>
1162 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
1164 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
1166 * server.el (server-start): Don't write pid to the authentication file.
1167 (server-create-tty-frame): Don't send pid.
1168 (server-process-filter): Send pid at the start of every connection.
1170 2010-09-30 Glenn Morris <rgm@gnu.org>
1172 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
1173 (show-all-diary-entries): Remove obsolete function aliases.
1175 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
1176 Remove options, obsolete since 22.1.
1177 (appt-display-format, appt-display-message): Remove
1178 backwards-compatibility code.
1179 (appt-check): No longer check appt-issue-message.
1180 (appt-make-list): No longer autoload it. Doc fix. No longer
1181 activate the package.
1183 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1185 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
1186 (starttls-negotiate): Just call boot, and let the handshake be
1187 triggered from the read loop.
1189 2010-09-29 Glenn Morris <rgm@gnu.org>
1191 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
1192 not displaying the diary.
1193 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
1194 * calendar/appt.el (appt-check): No longer need to kill diary.
1196 * calendar/diary-lib.el (diary-list-entries): Move the
1197 "Preparing..." message entirely here.
1198 (diary-simple-display, diary-fancy-display): Move "Preparing..."
1199 messages to diary-list-entries.
1200 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
1201 diary-display-function.
1203 * calendar/diary-lib.el (diary-include-other-diary-files):
1204 Trap some recursive includes.
1206 * calendar/appt.el (appt-activate): Check diary file.
1208 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
1210 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
1213 * calendar/time-date.el: No need to require cl for Emacs 21.
1215 2010-09-28 Glenn Morris <rgm@gnu.org>
1217 * calendar/appt.el (appt-check): Minor simplification.
1219 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
1221 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
1224 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
1226 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1227 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
1229 2010-09-27 Kenichi Handa <handa@m17n.org>
1231 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
1234 2010-09-27 Kenichi Handa <handa@m17n.org>
1236 * international/mule.el (define-coding-system): Docstring fixed.
1238 * international/mule-diag.el (describe-character-set): Use princ
1239 with proper print-length and print-level instead of insert.
1241 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
1243 * window.el (walk-windows): Doc fix (bug#7105).
1245 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1247 * emacs-lisp/float-sup.el (e): Remove.
1249 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
1251 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
1253 (starttls-negotiate): Use it.
1255 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1257 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
1260 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1262 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
1264 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1266 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
1268 * net/netrc.el (netrc-store-data): New function.
1270 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
1272 * net/gnutls.el: GnuTLS glue code to set up a connection.
1274 2010-09-25 Julien Danjou <julien@danjou.info>
1276 * notifications.el: Call dbus-register-signal only if it is bound.
1278 2010-09-25 Glenn Morris <rgm@gnu.org>
1280 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1281 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1282 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1283 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1284 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1285 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
1286 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
1287 * eshell/esh-util.el, eshell/esh-var.el:
1288 Remove leading `*' from docs of faces and defcustoms.
1290 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
1292 * eshell/em-ls.el (eshell-ls-archive-regexp):
1293 * eshell/esh-util.el (eshell-tar-regexp):
1294 * ibuffer.el (ibuffer-compressed-file-name-regexp):
1295 * info.el (Info-suffix-list):
1296 * international/mule.el (auto-coding-alist):
1297 * woman.el (woman-file-regexp, woman-file-compression-regexp):
1298 * progmodes/etags.el (tags-compression-info-list):
1299 Support xz compression.
1301 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1303 * files.el (get-free-disk-space): Don't assume the "df" output
1304 columns line up (Bug#6995).
1306 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1308 * finder.el (finder-unknown-keywords):
1309 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
1310 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
1312 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1314 * server.el (server-start): Revert part of 2010-08-08 change. Using
1315 address 127.0.0.1 for local host is now done in Fmake_network_process.
1317 2010-09-24 Glenn Morris <rgm@gnu.org>
1319 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
1320 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
1321 * textmodes/css-mode.el, textmodes/dns-mode.el:
1322 Move autoloaded auto-mode-alist entries to files.el.
1323 * files.el (auto-mode-alist): Move entries here.
1325 2010-09-23 Glenn Morris <rgm@gnu.org>
1327 * isearch.el (isearch-lazy-highlight-cleanup)
1328 (isearch-lazy-highlight-initial-delay)
1329 (isearch-lazy-highlight-interval)
1330 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
1331 * net/net-utils.el (ipconfig-program-options):
1332 Move aliases to options before the associated definitions.
1334 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1336 * newcomment.el (comment-normalize-vars): Better test validity of
1339 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1341 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
1342 (float-e): New name for `e'.
1343 (degrees-to-radians, radians-to-degrees):
1344 * calendar/solar.el (solar-longitude):
1345 * calculator.el (calculator-registers, calculator-funcall):
1346 * textmodes/artist.el (artist-spray-random-points):
1347 * play/bubbles.el (bubbles--initialize-images): Use new names.
1349 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
1351 Update to CEDET 1.0's version of EIEIO.
1353 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
1355 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
1356 (eieio-default-eval-maybe): Eval val instead of unquoting only.
1357 (class-precedence-list): If class is nil, return nil.
1358 (eieio-generic-call): If class of first input arg is nil, don't
1359 look up static methods, and do check for primary methods.
1360 (initialize-instance): See if the default needs to be evaluated
1361 during the constructor.
1362 (eieio-perform-slot-validation-for-default): Don't do the check
1363 for values that will eventually be evaluated.
1364 (eieio-eval-default-p): New function.
1365 (eieio-default-eval-maybe): Use it.
1367 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
1369 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
1370 method-invocation-order.
1371 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
1372 (eieio-class-precedence-dfs): Compute class precedence list using
1374 (eieio-class-precedence-bfs): Compute class precedence list using
1376 (eieio-class-precedence-c3): Compute class precedence list using
1378 (class-precedence-list): New function.
1379 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
1380 (inconsistent-class-hierarchy): New error symbol.
1381 (call-next-method): Stow the replacement argument list for future
1382 call-next-method invocations.
1384 2010-09-23 Glenn Morris <rgm@gnu.org>
1386 * calendar/appt.el (appt-check): If not displaying the diary,
1387 use (diary 1) to only get the entries we need.
1388 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
1389 that it is in day order. (Bug#7019)
1391 * calendar/appt.el (appt-check): Rather than showing the diary,
1392 just turn off invisible display, and only if needed.
1394 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
1396 2010-09-23 Glenn Morris <rgm@gnu.org>
1398 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1399 (byte-compile-defvar, byte-compile-cl-warn):
1400 Start warnings with lower-case, like the majority.
1402 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
1404 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
1406 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
1407 * files.el (auto-mode-alist): Move ld-script entries here, further down
1410 * vc/add-log.el: Don't require timezone when compiling.
1411 (timezone-make-date-sortable): Autoload it.
1412 (change-log-sortable-date-at): Don't require timezone.
1413 Use `ignore-errors'.
1415 * comint.el (comint-use-prompt-regexp-instead-of-fields):
1416 Move alias before definition, so it does not need autoloading.
1418 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
1419 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
1420 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
1421 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
1422 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
1423 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
1424 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
1425 * textmodes/tex-mode.el, textmodes/two-column.el:
1426 Remove leading `*' from docs of defcustoms etc.
1428 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
1430 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
1432 2010-09-22 Dan Christensen <jdc@uwo.ca>
1434 * calendar/time-date.el (date-to-time): Try using parse-time-string
1435 first before using the slower timezone-make-date-arpa-standard.
1437 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
1439 * calendar/time-date.el (format-seconds): Comment fix.
1441 2010-09-22 Glenn Morris <rgm@gnu.org>
1443 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
1444 is not automatically buffer-local.
1446 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1448 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
1449 (smie-indent-comment): Be more careful with comment-start-skip.
1450 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
1451 (smie-indent-functions): Use them.
1453 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
1455 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
1457 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
1459 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
1460 tool-bar-position. Don't modify frame parameters here.
1461 (menu-bar-options-save): Add tool-bar-position.
1463 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
1465 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1467 * textmodes/reftex-parse.el (reftex-what-macro)
1468 (reftex-context-substring): Let-bind forward-sexp-function to nil
1469 since we don't need/want to treat \begin...\end as a block (bug#7053).
1471 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
1473 * simple.el (blink-matching-open): Use syntax-class.
1475 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
1476 Set invisibility spec for pascal's outline mode.
1477 (pascal-outline-change): Clean up calling convention.
1478 (pascal-show-all, pascal-hide-other-defuns): Update callers.
1480 * progmodes/prolog.el (prolog-smie-forward-token)
1481 (prolog-smie-backward-token): New functions.
1482 (prolog-mode-variables): Use them to parse "!," correctly.
1483 Set up smie-blink-matching for ".".
1485 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
1487 (ispell-region, ispell-process-line): Update users.
1489 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
1492 * textmodes/ispell.el: Fix commenting convention.
1493 (ispell-parse-output): Simplify, use push.
1494 (ispell-region): Use match-string-no-properties.
1495 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
1496 (ispell-minor-mode): Use define-minor-mode.
1497 (ispell-message): Remove unused var `skip-regexp'.
1498 (ispell-add-per-file-word-list): Use dynamic let-binding.
1499 Try and use the proper comment marker.
1501 * mail/sendmail.el: Fix commenting convention.
1502 (sendmail-send-it): Use line-beginning-position.
1504 * help-fns.el (describe-variable): Add original value, if applicable.
1506 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
1508 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
1510 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
1512 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1514 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
1515 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
1516 (smie-prec2-levels): Use them to better diagnose precedence cycles.
1517 (smie-blink-matching-check): Don't signal a mismatch if car is t.
1518 (smie-blink-matching-open): Rewrite to remove assumptions, so that
1519 something like "." can also be a closer.
1520 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
1521 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
1522 Rename internal functions to use "--". Update callers.
1524 * frame.el (make-frame-names-alist): Don't list frames on other displays.
1526 * fringe.el (fringe-styles): New var.
1527 (fringe-mode, fringe-query-style): Use it.
1529 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
1531 * progmodes/sql.el: Version 2.8
1532 (sql-login-params): Update widget structure; changes still needed.
1533 (sql-product-alist): Add :list-all and :list-table features for
1534 SQLite, Postgres and MySQL products.
1535 (sql-redirect): Handle default value.
1536 (sql-execute, sql-execute-feature): New functions.
1537 (sql-read-table-name): New function.
1538 (sql-list-all, sql-list-table): New functions. User API.
1539 (sql-mode-map, sql-interactive-mode-map): Add key definitions
1540 for above functions.
1541 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
1542 for above functions.
1543 (sql-postgres-login-params): Add user and database defaults.
1544 (sql-buffer-live-p): Bug fix.
1545 (sql-product-history): New variable.
1546 (sql-read-product): New function. Use it.
1547 (sql-set-product, sql-product-interactive): Use it.
1548 (sql-connection-history): New variable.
1549 (sql-read-connection): New function. Use it.
1550 (sql-connect): New function.
1551 (sql-for-each-login): Redesign function interface.
1552 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
1553 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
1554 (sql-comint): Check for program. Existing live buffer.
1555 (sql-comint-postgres): Add port parameter.
1557 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1559 * emacs-lisp/warnings.el: Fix commenting convention.
1560 (display-warning): Use special mode and make the buffer read-only.
1562 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
1564 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
1565 empty string when it follows a repeated or optional pattern.
1567 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1569 * indent.el (indent-according-to-mode): Apply syntax-propertize.
1570 (indent-region): Use indent-according-to-mode.
1572 2010-09-18 Eli Zaretskii <eliz@gnu.org>
1574 * fringe.el (fringe-mode): Doc fix.
1576 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
1578 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
1579 refreshing the preview buffer.
1581 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1583 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
1584 (latex-syntax-propertize-rules): New consts; replace
1585 tex-font-lock-syntactic-keywords.
1586 (tex-env-mark, latex-env-before-change): New functions.
1587 (latex-electric-env-pair-mode): New minor mode.
1588 (tex-font-lock-verb): Change arguments; do move point.
1589 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
1590 representation as a form of comment.
1591 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
1592 (doctex-syntax-propertize-rules): New const; replaces
1593 doctex-font-lock-syntactic-keywords.
1594 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
1596 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
1597 (fortran-make-syntax-propertize-function): New function; replaces
1598 fortran-font-lock-syntactic-keywords.
1599 (fortran-mode): Use it.
1600 (fortran-line-length): Use it. Improve interactive spec.
1602 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
1603 (syntax-propertize-rules): Add var-ref case. Fix offset computation
1604 when adding surrounding \(..\).
1606 * progmodes/js.el (js-mode): Fix last change (bug#7054).
1608 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1610 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
1611 Use with-current-buffer.
1613 * isearch.el (isearch-face): Rename from `isearch'.
1614 (isearch-highlight): Use new name.
1616 2010-09-17 Eli Zaretskii <eliz@gnu.org>
1618 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
1619 5, for `half' width fringes. (Bug#6933)
1621 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1623 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
1624 (byte-compile-defvar): "foo/bar" does not lack a prefix.
1626 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
1628 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
1630 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
1631 in calculating new frame position. Add more space between new and
1632 parent on the left (Bug#7048).
1634 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
1636 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
1639 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
1641 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
1643 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
1644 obsolete alias for x-selection-value.
1646 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
1648 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
1650 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
1653 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
1655 * net/tramp-compat.el (tramp-compat-with-temp-message)
1656 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
1657 (tramp-compat-process-put): New defuns.
1659 * net/tramp.el (top):
1660 * net/tramp-gvfs.el (top):
1661 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
1663 * net/tramp.el (tramp-progress-reporter-update):
1664 Use `tramp-compat-funcall'.
1666 * net/tramp.el (tramp-process-actions):
1667 * net/tramp-gvfs.el (tramp-handle-vc-registered):
1668 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
1669 (tramp-get-remote-stat, tramp-get-remote-readlink):
1670 Use `tramp-compat-with-temp-message'.
1672 * net/tramp-sh.el (top): Require 'cl.
1673 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
1674 (tramp-open-connection-setup-interactive-shell):
1675 Use `tramp-compat-process-put'.
1677 2010-09-15 Alan Mackenzie <acm@muc.de>
1679 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
1681 (c-forward-<>-arglist-recur): Fix an infinite recursion.
1683 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1685 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1686 `lexical' for warnings related to lexical scoping.
1687 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
1688 global vars which don't have a prefix and could hence affect lexical
1689 scoping in unrelated files.
1691 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1693 * net/imap.el: Revert back to version
1694 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
1697 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
1699 * obsolete/old-whitespace.el (whitespace-unload-function):
1700 Explicitly pass `obarray' to `unintern' to avoid a warning.
1702 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1704 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
1705 Add `when' argument. Update callers.
1707 * subr.el (unintern): Declare the obarray arg mandatory.
1709 2010-09-14 Glenn Morris <rgm@gnu.org>
1711 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
1714 * calendar/diary-lib.el (diary-included-files): New variable.
1715 (diary-list-entries): Maybe initialize diary-included-files.
1716 (diary-include-other-diary-files): Append to diary-included-files.
1717 * calendar/appt.el (appt-update-list): Also check the members of
1718 diary-included-files. (Bug#6999)
1719 (appt-check): Doc fix.
1721 2010-09-14 David Reitter <david.reitter@gmail.com>
1723 * simple.el (line-move-visual): Do not truncate goal column to
1724 integer size. (Bug#7020)
1726 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1728 * repeat.el (repeat): Allow repeating when the last event is a click.
1729 Suggested by Drew Adams (bug#6256).
1731 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
1733 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
1734 Replace setting HGRCPATH to "" by some less invasive --config options.
1736 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1738 * font-lock.el (font-lock-beginning-of-syntax-function):
1741 2010-09-14 Glenn Morris <rgm@gnu.org>
1743 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
1744 and tool-bar modes. (Bug#6211)
1745 (menu-bar-mode): Move setting of standard-value after the
1746 minor-mode definition, otherwise it seems to have no effect.
1748 2010-09-14 Masatake YAMATO <yamato@redhat.com>
1750 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
1751 Fix typo. (Bug#6976)
1753 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1755 * whitespace.el: Allow cleaning up blanks without blank
1756 visualization (Bug#6651). Adjust help window for
1757 whitespace-toggle-options (Bug#6479). Allow to use fill-column
1758 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
1759 (whitespace-style): Add new value 'face. Adjust docstring.
1760 (whitespace-space, whitespace-hspace, whitespace-tab):
1761 Adjust foreground property face.
1762 (whitespace-line-column): Adjust docstring and type declaration.
1763 (whitespace-style-value-list, whitespace-toggle-option-alist)
1764 (whitespace-help-text): Adjust const initialization.
1765 (whitespace-toggle-options, global-whitespace-toggle-options):
1767 (whitespace-display-window, whitespace-interactive-char)
1768 (whitespace-style-face-p, whitespace-color-on): Adjust code.
1769 (whitespace-help-scroll): New fun.
1771 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
1773 * calendar/time-date.el (format-seconds): Comment fix.
1775 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
1777 * progmodes/sql.el: Version 2.7.
1778 (sql-buffer-live-p): Improve detection.
1779 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1780 (sql-set-sqli-buffer): Use it.
1781 (sql-product-interactive): Run `sql-set-sqli-hook'.
1782 (sql-rename-buffer): Code cleanup.
1783 (sql-redirect, sql-redirect-value): New functions. More to come.
1785 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
1787 Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
1788 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1789 (TRAMP_SRC): New macro.
1790 ($(lisp)/net/tramp-loaddefs.el): New target.
1792 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
1794 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
1796 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
1798 * net/tramp.el (top): Don't show loading message. Require just
1799 'tramp-compat, everything else is required there.
1800 Use `ignore-errors' where appropriate.
1801 (tramp-inline-compress-start-size, tramp-copy-size-limit)
1802 (tramp-terminal-type, tramp-end-of-output)
1803 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
1804 (tramp-completion-function-alist-ssh)
1805 (tramp-completion-function-alist-telnet)
1806 (tramp-completion-function-alist-su)
1807 (tramp-completion-function-alist-putty, tramp-remote-path)
1808 (tramp-remote-process-environment, tramp-sh-extra-args)
1809 (tramp-actions-before-shell, tramp-uudecode)
1810 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
1811 (tramp-perl-file-attributes)
1812 (tramp-perl-directory-files-and-attributes)
1813 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
1814 (tramp-perl-encode, tramp-perl-decode)
1815 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
1816 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
1817 (tramp-handle-make-symbolic-link, tramp-handle-load)
1818 (tramp-handle-file-name-as-directory)
1819 (tramp-handle-file-name-directory)
1820 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1821 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
1822 (tramp-do-file-attributes-with-ls)
1823 (tramp-do-file-attributes-with-perl)
1824 (tramp-do-file-attributes-with-stat)
1825 (tramp-handle-set-visited-file-modtime)
1826 (tramp-handle-verify-visited-file-modtime)
1827 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
1828 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
1829 (tramp-handle-file-selinux-context)
1830 (tramp-handle-set-file-selinux-context)
1831 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
1832 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
1833 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
1834 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
1835 (tramp-handle-file-ownership-preserved-p)
1836 (tramp-handle-directory-file-name, tramp-handle-directory-files)
1837 (tramp-handle-directory-files-and-attributes)
1838 (tramp-do-directory-files-and-attributes-with-perl)
1839 (tramp-do-directory-files-and-attributes-with-stat)
1840 (tramp-handle-file-name-all-completions)
1841 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
1842 (tramp-handle-copy-file, tramp-handle-copy-directory)
1843 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
1844 (tramp-do-copy-or-rename-file-via-buffer)
1845 (tramp-do-copy-or-rename-file-directly)
1846 (tramp-do-copy-or-rename-file-out-of-band)
1847 (tramp-handle-make-directory, tramp-handle-delete-directory)
1848 (tramp-handle-delete-file)
1849 (tramp-handle-dired-recursive-delete-directory)
1850 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
1851 (tramp-handle-insert-directory)
1852 (tramp-handle-unhandled-file-name-directory)
1853 (tramp-handle-expand-file-name)
1854 (tramp-handle-substitute-in-file-name)
1855 (tramp-handle-executable-find, tramp-process-sentinel)
1856 (tramp-handle-start-file-process, tramp-handle-process-file)
1857 (tramp-handle-call-process-region, tramp-handle-shell-command)
1858 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
1859 (tramp-handle-insert-file-contents)
1860 (tramp-handle-insert-file-contents-literally)
1861 (tramp-handle-find-backup-file-name)
1862 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
1863 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
1864 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
1865 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
1866 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
1867 (tramp-find-file-exists-command, tramp-open-shell)
1868 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
1869 (tramp-open-connection-setup-interactive-shell)
1870 (tramp-local-coding-commands, tramp-remote-coding-commands)
1871 (tramp-find-inline-encoding, tramp-call-local-coding-command)
1872 (tramp-inline-compress-commands, tramp-find-inline-compress)
1873 (tramp-compute-multi-hops, tramp-maybe-open-connection)
1874 (tramp-send-command, tramp-wait-for-output)
1875 (tramp-send-command-and-check, tramp-barf-unless-okay)
1876 (tramp-send-command-and-read, tramp-mode-string-to-int)
1877 (tramp-convert-file-attributes, tramp-check-cached-permissions)
1878 (tramp-file-mode-from-int, tramp-file-mode-permissions)
1879 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
1880 (tramp-method-out-of-band-p, tramp-local-host-p)
1881 (tramp-get-remote-path, tramp-get-remote-tmpdir)
1882 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
1883 (tramp-get-test-command, tramp-get-test-nt-command)
1884 (tramp-get-file-exists-command, tramp-get-remote-ln)
1885 (tramp-get-remote-perl, tramp-get-remote-stat)
1886 (tramp-get-remote-readlink, tramp-get-remote-trash)
1887 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
1888 (tramp-get-local-uid, tramp-get-local-gid)
1889 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
1891 (tramp-methods, tramp-default-method-alist)
1892 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
1893 Move initialization to tramp-sh.el.
1894 (tramp-temp-name-prefix): Make it a defconst.
1895 (tramp-dissect-file-name): Don't check anymore for multi-hop
1897 (tramp-debug-outline-regexp): Add a docstring.
1898 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
1899 (tramp-get-debug-buffer): Use it.
1901 * net/tramp-cache.el (top): Set tramp-autoload cookie for
1902 initialization forms.
1903 (tramp-set-connection-property): Don't protect `tramp-message'
1904 call, it isn't necessary any longer.
1905 (tramp-dump-connection-properties): Use `ignore-errors'.
1907 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
1908 'password-cache and 'auth-source.
1910 * net/tramp-gvfs.el (top):
1911 * net/tramp-smb.el (top): Require 'tramp-sh.
1913 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
1915 * net/tramp-sh.el: New file, derived from tramp.el.
1916 (top): Initialize `tramp-methods', `tramp-default-method-alist',
1917 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
1918 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
1919 Use `ignore-errors' where appropriate.
1920 (tramp-sh-file-name-handler-alist): Rename from
1921 `tramp-file-name-handler-alist'.
1922 (tramp-send-command-and-check): Return t or nil. Remove all
1923 `zerop' checks, where called.
1924 (tramp-handle-set-file-modes)
1925 (tramp-do-copy-or-rename-file-directly)
1926 (tramp-handle-delete-directory, tramp-handle-delete-file)
1927 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
1928 (tramp-sh-file-name-handler, tramp-send-command-and-check)
1929 (tramp-get-remote-ln): Set tramp-autoload cookie.
1931 * net/tramp-fish.el: Remove file.
1933 2010-09-13 Daiki Ueno <ueno@unixuser.org>
1935 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
1936 buffer-file-name to avoid file-locking. (Bug#7026)
1938 2010-09-13 Julien Danjou <julien@danjou.info>
1940 * notifications.el (notifications-notify): Add support for
1941 image-path and sound-name.
1942 (notifications-specification-version): Add this variable.
1944 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1946 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
1948 2010-09-12 Leo <sdl.web@gmail.com>
1950 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
1951 (rcirc-completion-start): New variables.
1952 (rcirc-nick-completions): Rename to rcirc-completions.
1953 (rcirc-nick-completion-start-offset): Delete.
1954 (rcirc-completion-at-point): New function for constructing
1955 completion data for both nicks and irc commands. Add to
1956 completion-at-point-functions in rcirc mode.
1957 (rcirc-complete): Rename from rcirc-nick-complete; use
1958 rcirc-completion-at-point.
1959 (defun-rcirc-command): Update rcirc-client-commands.
1961 2010-09-11 Glenn Morris <rgm@gnu.org>
1963 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
1964 atomically, to avoid parallel build errors. (Bug#4196)
1966 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
1968 * progmodes/sql.el: Version 2.6
1969 (sql-dialect): Synonym for "sql-product".
1970 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1971 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
1972 Set "sql-buffer" to buffer name not buffer object so multiple sql
1973 interactive buffers work properly. Reverts misguided changes in
1975 (sql-comint): Make sure different buffer name is used if "*SQL*"
1976 buffer is for a different product.
1977 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
1979 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
1980 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
1981 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
1982 Accept new buffer name or prompt for one.
1983 (sql-port): Default to zero.
1984 (sql-comint-mysql): Handle "sql-port" as a numeric.
1985 (sql-port-history): Delete unused variable.
1986 (sql-get-login): Default "sql-port" to a number.
1987 (sql-product-alist): Correct Postgres prompt and terminator regexp.
1988 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
1989 "sqlite3" executables.
1990 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
1991 (sql-buffer-live-p): New function.
1992 (sql-mode-menu, sql-send-string): Use it.
1993 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
1995 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
1996 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
1998 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2000 * net/netrc.el (netrc-credentials): New convenience function.
2002 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2004 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2005 to replace texinfo-font-lock-syntactic-keywords.
2006 (texinfo-mode): Use it.
2008 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2009 Use syntax-propertize-function.
2011 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2012 replace sgml-font-lock-syntactic-keywords.
2013 (sgml-mode): Use it.
2015 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2016 since we don't use it.
2018 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2020 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2022 (vhdl-fontify-buffer): Adjust.
2024 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2025 replace tcl-font-lock-syntactic-keywords.
2028 * progmodes/simula.el (simula-syntax-propertize-function): New var to
2029 replace simula-font-lock-syntactic-keywords.
2030 (simula-mode): Use it.
2032 * progmodes/sh-script.el (sh-st-symbol): Remove.
2033 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2034 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2035 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2036 (sh-font-lock-paren): Set syntax-multiline.
2037 (sh-font-lock-syntactic-keywords): Remove.
2038 (sh-syntax-propertize-function): New function to replace it.
2041 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2042 Define while compiling.
2043 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2044 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2045 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2046 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2047 (ruby-here-doc-end-syntax): Only define when
2048 syntax-propertize is not available.
2049 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2051 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2052 (electric-indent-chars): Silence bytecompiler.
2053 (ruby-mode): Use prog-mode, syntax-propertize-function, and
2054 electric-indent-chars.
2056 * progmodes/python.el (python-syntax-propertize-function): New var to
2057 replace python-font-lock-syntactic-keywords.
2058 (python-mode): Use it.
2059 (python-quote-syntax): Simplify and adjust to new use.
2061 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2062 replace perl-font-lock-syntactic-keywords.
2063 (perl-syntax-propertize-special-constructs): New fun to replace
2064 perl-font-lock-special-syntactic-constructs.
2065 (perl-font-lock-syntactic-face-function): New fun.
2066 (perl-mode): Use it.
2068 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2069 to replace octave-font-lock-close-quotes.
2070 (octave-syntax-propertize-function): New function to replace
2071 octave-font-lock-syntactic-keywords.
2072 (octave-mode): Use it.
2074 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2075 replaces mixal-font-lock-syntactic-keywords.
2076 (mixal-mode): Use it.
2078 * progmodes/make-mode.el (makefile-syntax-propertize-function):
2079 New var; replaces makefile-font-lock-syntactic-keywords.
2080 (makefile-mode): Use it.
2081 (makefile-imake-mode): Adjust.
2083 * progmodes/js.el (js--regexp-literal): Define while compiling.
2084 (js-syntax-propertize-function): New var; replaces
2085 js-font-lock-syntactic-keywords.
2088 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
2089 replaces gdb-script-font-lock-syntactic-keywords.
2090 (gdb-script-mode): Use it.
2092 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
2093 (fortran--font-lock-syntactic-keywords): New var.
2094 (fortran-line-length): Update syntax-propertize-function and
2095 fortran--font-lock-syntactic-keywords.
2097 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
2099 * progmodes/cfengine.el (cfengine-mode):
2100 Use syntax-propertize-function.
2101 (cfengine-font-lock-syntactic-keywords): Remove.
2103 * progmodes/autoconf.el (autoconf-mode):
2104 Use syntax-propertize-function.
2105 (autoconf-font-lock-syntactic-keywords): Remove.
2107 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
2108 (ada-after-change-function, ada-initialize-syntax-table-properties)
2109 (ada-handle-syntax-table-properties): Only define when
2110 syntax-propertize is not available.
2111 (ada-mode): Use syntax-propertize-function.
2113 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
2114 (font-lock-fontify-syntactic-keywords-region): Move handling of
2115 font-lock-syntactically-fontified to...
2116 (font-lock-default-fontify-region): ...here.
2117 Let syntax-propertize-function take precedence.
2118 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
2120 * emacs-lisp/syntax.el (syntax-propertize-function)
2121 (syntax-propertize-chunk-size, syntax-propertize--done)
2122 (syntax-propertize-extend-region-functions): New vars.
2123 (syntax-propertize-wholelines, syntax-propertize-multiline)
2124 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
2125 (syntax-propertize): New functions.
2126 (syntax-propertize-rules): New macro.
2127 (syntax-ppss-flush-cache): Set syntax-propertize--done.
2128 (syntax-ppss): Call syntax-propertize.
2130 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
2132 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
2134 * textmodes/ispell.el (ispell-init-process): Improve comments.
2135 XEmacs compatibility changes regarding (add-hook) 'local option
2136 and (set-process-query-on-exit-flag).
2138 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
2140 * net/tramp-cache.el (tramp-parse-connection-properties):
2141 Set tramp-autoload cookie.
2143 2010-09-09 Glenn Morris <rgm@gnu.org>
2145 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
2146 (imagemagick-register-types): Doc fix.
2148 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2150 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
2152 * progmodes/js.el (require): Require is already "eval-and-compile".
2153 (js--re-search-forward): Avoid `eval'. Preserve the error data.
2154 (js--re-search-backward): Use js--re-search-forward.
2156 * progmodes/fortran.el (fortran-line-length): Don't recompute
2157 syntactic keywords redundantly a second time.
2159 * progmodes/ada-mode.el: Replace "(set '" with setq.
2160 (ada-mode): Simplify.
2161 (ada-create-case-exception, ada-adjust-case-interactive)
2162 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
2163 (ada-search-ignore-string-comment, ada-move-to-start)
2164 (ada-move-to-end): Use with-syntax-table.
2166 * font-lock.el (save-buffer-state): Remove `varlist' arg.
2167 (font-lock-unfontify-region, font-lock-default-fontify-region):
2168 Update usage correspondingly.
2169 (font-lock-fontify-syntactic-keywords-region):
2170 Set parse-sexp-lookup-properties buffer-locally here.
2171 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
2173 * simple.el (blink-matching-open): Don't burp if we can't find a match.
2175 2010-09-08 Glenn Morris <rgm@gnu.org>
2177 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
2178 Error if not compiled with -DBYTE_CODE_METER.
2180 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2181 Ignore dir-locals-file.
2183 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2185 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2187 (compilation-error-regexp-alist-alist): Rule out ": " in file names
2188 for the `gnu' messages.
2189 (compilation-set-skip-threshold): New command.
2190 (compilation-start): Use \' rather than $.
2191 (compilation-forget-errors): Use clrhash.
2193 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
2195 * textmodes/ispell.el (ispell-valid-dictionary-list):
2198 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
2200 Migrate to Tramp 2.2. Rearrange load dependencies.
2201 (Bug#1529, Bug#5448, Bug#5705)
2203 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
2204 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
2205 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2207 * net/tramp.el (top): Remove all other tramp-* loads except
2208 tramp-compat.el. Remove all changes to tramp-unload-hook for
2209 other tramp-* packages. Rearrange defun order. Change calls of
2210 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
2211 `tramp-compat-octal-to-decimal' to new function names.
2212 (tramp-terminal-type, tramp-initial-end-of-output)
2213 (tramp-methods, tramp-foreign-file-name-handler-alist)
2214 (tramp-tramp-file-p, tramp-completion-mode-p)
2215 (tramp-send-command-and-check, tramp-get-remote-path)
2216 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
2217 (tramp-shell-quote-argument): Set tramp-autoload cookie.
2218 (with-file-property, with-connection-property): Move to
2220 (tramp-local-call-process, tramp-decimal-to-octal)
2221 (tramp-octal-to-decimal): Move to tramp-compat.el.
2222 (tramp-handle-shell-command): Do not require 'shell.
2223 (tramp-compute-multi-hops): No special handling for tramp-gw-*
2225 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
2227 * net/tramp-cache.el (top): Require 'tramp. Add to
2228 `tramp-unload-hook'.
2229 (tramp-cache-data, tramp-get-file-property)
2230 (tramp-set-file-property, tramp-flush-file-property)
2231 (tramp-flush-directory-property, tramp-get-connection-property)
2232 (tramp-set-connection-property, tramp-flush-connection-property)
2233 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
2235 (with-file-property, with-connection-property): New defuns, moved
2237 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
2240 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
2241 (tramp-version): Set tramp-autoload cookie.
2243 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
2244 changes to tramp-unload-hook for other tramp-* packages. Add to
2245 `tramp-unload-hook'.
2246 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
2247 (tramp-compat-call-process): New defuns, moved from tramp.el.
2249 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
2250 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2251 to `tramp-unload-hook'. Change call of
2252 `tramp-compat-decimal-to-octal' to new function name.
2253 (tramp-fish-method): Make it a defconst.
2254 (tramp-fish-file-name-p): Make it a defsubst.
2255 (tramp-fish-method, tramp-fish-file-name-handler)
2256 (tramp-fish-file-name-p): Set tramp-autoload cookie.
2258 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
2259 `tramp-foreign-file-name-handler-alist'. Add to
2260 `tramp-unload-hook'.
2261 (tramp-ftp-method): Make it a defconst.
2262 (tramp-ftp-file-name-p): Make it a defsubst.
2263 (tramp-ftp-method, tramp-ftp-file-name-handler)
2264 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
2266 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
2267 `tramp-foreign-file-name-handler-alist'. Add to
2268 `tramp-unload-hook'. Change checks, whether package can be
2270 (tramp-gvfs-file-name-p): Make it a defsubst.
2271 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
2272 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
2273 (tramp-gvfs-handle-file-directory-p): New defun.
2274 (tramp-gvfs-file-name-handler-alist): Use it.
2276 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
2277 `tramp-foreign-file-name-handler-alist'. Add to
2278 `tramp-unload-hook'.
2279 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
2280 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
2282 (tramp-gw-tunnel-method, tramp-gw-socks-method)
2283 (tramp-gw-open-connection): Set tramp-autoload cookie.
2285 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
2286 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2287 to `tramp-unload-hook'. Change checks, whether package can be
2289 (tramp-imap-file-name-p): Make it a defsubst.
2290 (tramp-imap-method, tramp-imaps-method)
2291 (tramp-imap-file-name-handler)
2292 (tramp-imap-file-name-p): Set tramp-autoload cookie.
2294 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
2295 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2296 to `tramp-unload-hook'. Change checks, whether package can be
2297 loaded. Change call of `tramp-compat-decimal-to-octal' to new
2299 (tramp-smb-tunnel-method): Make it a defconst.
2300 (tramp-smb-file-name-p): Make it a defsubst.
2301 (tramp-smb-method, tramp-smb-file-name-handler)
2302 (tramp-smb-file-name-p): Set tramp-autoload cookie.
2304 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
2305 (tramp-uuencode-region): Set tramp-autoload cookie.
2307 * net/trampver.el (top) Add to `tramp-unload-hook'.
2308 (tramp-version, tramp-bug-report-address): Set tramp-autoload
2309 cookie. Update release number.
2311 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
2313 * textmodes/ispell.el (ispell-start-process): Make sure original
2314 arg list is properly initialized (Bug#6993, Bug#6994).
2316 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2318 * files.el (directory-abbrev-alist): Use \` as default regexp.
2320 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
2321 chars like - or ] (bug#6984).
2322 (rx-any-condense-range): Explode 2-char ranges.
2324 2010-09-06 Glenn Morris <rgm@gnu.org>
2326 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
2328 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2330 * textmodes/bibtex.el:
2331 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
2333 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2335 * net/imap.el (imap-message-map): Remove optional buffer parameter,
2336 since no callers use it.
2337 (imap-message-get): Ditto.
2338 (imap-message-put): Ditto.
2339 (imap-mailbox-map): Ditto.
2340 (imap-mailbox-put): Ditto.
2341 (imap-mailbox-get): Ditto.
2342 (imap-mailbox-get): Revert last change for this function.
2344 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2346 * net/imap.el (imap-fetch-safe): Remove function, and alter all
2347 callers to use `imap-fetch' instead. According to the comments, this
2348 should be safe, since all other IMAP clients use the 1:* syntax.
2349 (imap-enable-exchange-bug-workaround): Remove.
2350 (imap-debug): Remove -- doesn't seem very useful.
2352 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2354 * net/imap.el (imap-log): New convenience function used throughout
2355 instead of repeating the same code all over the place.
2357 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
2359 * mouse.el (mouse-save-then-kill): Save region to kill-ring
2360 when mouse-drag-copy-region is non-nil (Bug#6956).
2362 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
2364 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
2365 Improve regexps (Bug#6987).
2366 (dired-sort-toggle): Search more robustly for -t flag.
2368 * files.el (get-free-disk-space): Search more robustly for
2369 "available" column. Suggested by Ehud Karni
2370 <ehud@unix.mvs.co.il>.
2372 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
2374 * international/uni-bidi.el:
2375 * international/uni-category.el:
2376 * international/uni-combining.el:
2377 * international/uni-decimal.el:
2378 * international/uni-mirrored.el:
2379 * international/uni-name.el: Regenerate.
2381 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2383 * electric.el (electric-indent-post-self-insert-function):
2384 Don't reindent with a sloppy indentation function.
2386 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
2387 border case in change-log-mode.
2389 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
2391 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2392 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
2393 Recognize leading tab in gcc-include regexp. Ignore names with
2394 leading "from" or "in" in gnu regexp (Bug#6937).
2396 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2398 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
2399 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
2400 (ispell-start-process): Avoid setq and simplify logic.
2401 (ispell-init-process): Setup kill-buffer-hook locally when needed.
2402 (kill-buffer-hook): Don't use it globally with code that uses
2403 expand-file-name since that may call kill-buffer via
2404 code_conversion_restore.
2406 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
2408 * emacs-lisp/package.el (package-directory-list): Only call
2409 file-name-nondirectory on a string.
2411 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2413 * emacs-lisp/package.el (package--download-one-archive):
2414 Ensure that archive-contents is valid before saving it.
2415 (package-activate-1, package-mark-obsolete, define-package)
2416 (package-compute-transaction, package-list-maybe-add): Use push.
2418 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2420 Use SMIE's blink-paren for octave-mode.
2421 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
2422 Backslashes do not escape single-quotes, single-quotes do.
2423 (octave-block-else-regexp, octave-block-end-regexp)
2424 (octave-block-match-alist): Remove.
2425 (octave-smie-bnf-table): New var, with old content.
2426 (octave-smie-op-levels): Use it.
2427 (octave-smie-closer-alist): New var.
2428 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
2429 (octave-blink-matching-block-open): Remove.
2430 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2431 (octave-electric-space): Let self-insert-command run expand-abbrev and
2434 * electric.el (electricity): New group.
2435 (electric-indent-chars): New var.
2436 (electric-indent-post-self-insert-function): New fun.
2437 (electric-indent-mode): New minor mode.
2438 (electric-pair-skip-self): New custom.
2439 (electric-pair-post-self-insert-function): New function.
2440 (electric-pair-mode): New minor mode.
2442 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
2443 calcAlg-blink-matching-open.
2444 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
2445 (calc-do-alg-entry): Only touch the part of the keymap that varies.
2446 Use the new blink-matching-check-function.
2448 Provide blink-matching support to SMIE.
2449 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
2450 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
2451 (smie-blink-matching-check, smie-blink-matching-open): New functions.
2453 * simple.el (newline): Fix last change to properly remove itself from
2456 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2458 * simple.el (newline): Eliminate optimization.
2459 Use post-self-insert-hook to set hard-newline and things before
2460 running post-self-insert-hook.
2461 (blink-matching-check-mismatch): New function.
2462 (blink-matching-check-function): New variable.
2463 (blink-matching-open): Use them.
2464 Skip back forward over prefix chars skipped by forward-sexp.
2465 Don't check if the parens are backslash escaped.
2466 (blink-paren-post-self-insert-function): Check backslash escaping here.
2468 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2470 * emacs-lisp/package.el (package-menu-mode-map):
2471 Change package-menu-revert bindings to revert-buffer.
2472 (package-menu-mode): Set revert-buffer-function.
2473 (package-menu-revert): Doc fix.
2475 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
2477 * textmodes/ispell.el (ispell-init-process): Use "~/" as
2478 `default-directory' unless using Ispell per-directory personal
2479 dictionaries and not in a mini-buffer under XEmacs.
2480 (kill-buffer-hook): Do not kill ispell process on exit when
2481 `ispell-process-directory' is "~/". (Bug#6143)
2483 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
2485 * simple.el (kill-new): Call interprogram-cut-function with only
2488 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
2489 Remove cut buffer from error message.
2491 * term/x-win.el (x-select-text):
2492 * term/pc-win.el (x-selection-value):
2493 * term/ns-win.el (x-selection-value):
2494 * eshell/em-term.el:
2495 * w32-fns.el (x-get-selection-value):
2496 * mouse-sel.el (mouse-sel-set-selection-function):
2497 * frame.el (display-selections-p): Remove cut-buffer in documentation.
2499 * term/x-win.el: Update documentation for x-last-selected-text-*.
2500 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
2501 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
2502 (x-select-text): Remove argument PUSH, update documentation. Remove
2504 (x-selection-value-internal): Was previously x-selection-value.
2505 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
2506 Update documentation, remove cut-buffer code. Call
2507 x-selection-value-internal.
2508 (x-clipboard-yank): Call x-selection-value-internal.
2509 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
2511 * term/pc-win.el (x-last-selected-text):
2512 x-cut-buffer-or-selection-value renamed to x-selection-value
2513 (x-select-text): Remove argument PUSH, update documentation.
2515 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
2516 x-cut-buffer-or-selection-value renamed to x-selection-value
2517 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
2518 (x-select-text): Remove argument PUSH, update documentation.
2520 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
2522 * w32-fns.el (x-last-selected-text):
2523 x-cut-buffer-or-selection-value renamed to x-selection-value.
2524 (x-cut-buffer-max): Remove.
2525 (x-select-text): Remove argument PUSH, update documentation.
2527 * simple.el (interprogram-cut-function): Remove mention of PUSH.
2529 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
2531 * mouse-sel.el (mouse-sel-get-selection-function):
2532 x-cut-buffer-or-selection-value renamed to x-selection-value.
2533 (x-select-text): Remove optional push.
2535 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2537 * simple.el (blink-paren-function): Move from C to here.
2538 (blink-paren-post-self-insert-function): New function.
2539 (post-self-insert-hook): Use it.
2541 * emacs-lisp/pcase.el (pcase-split-memq):
2542 Fix overenthusiastic optimisation.
2543 (pcase-u1): Handle the case of a lambda pred.
2545 2010-08-31 Kenichi Handa <handa@m17n.org>
2547 * international/mule-cmds.el (standard-display-european-internal):
2548 Setup standard-display-table for 8-bit characters by storing 8-bit
2549 characters in the element vector.
2551 * disp-table.el (standard-display-8bit):
2552 Setup standard-display-table for 8-bit characters by storing 8-bit
2553 characters in the element vector.
2554 (standard-display-european): Likewise.
2556 2010-08-31 Masatake YAMATO <yamato@redhat.com>
2558 * textmodes/nroff-mode.el (nroff-view): New command.
2559 (nroff-mode-map): Bind it to C-c C-c.
2561 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * emacs-lisp/smie.el (smie-down-list): New command.
2565 Remove old indentation and navigation code on octave-mode.
2566 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
2567 smie-down-list rather than add a binding for octave-down-block.
2568 (octave-mark-block, octave-blink-matching-block-open):
2569 Rely on forward-sexp-function.
2570 (octave-fill-paragraph): Don't narrow, so you can use
2571 indent-according-to-mode.
2572 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
2573 (octave-in-block-p, octave-re-search-forward-kw)
2574 (octave-re-search-backward-kw, octave-indent-calculate)
2575 (octave-end-as-array-index-p, octave-block-end-offset)
2576 (octave-scan-blocks, octave-forward-block, octave-backward-block)
2577 (octave-down-block, octave-backward-up-block, octave-up-block)
2578 (octave-before-magic-comment-p, octave-indent-line): Remove.
2580 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
2582 * emacs-lisp/package.el (package--read-archive-file): Just use
2583 `read', to avoid copying an additional string.
2584 (package-menu-mode): Set header-line-format here.
2585 (package-menu-refresh, package-menu-revert): Signal an error if
2586 not in the Package Menu.
2587 (package-menu-package-list): New var.
2588 (package--generate-package-list): Operate on the current buffer;
2589 don't assume that it is *Packages*, since the user may rename it.
2590 Allow persistent package listings and sort keys using
2591 package-menu-package-list and package-menu-package-sort-key.
2592 (package-menu--version-predicate): Fix version calculation.
2593 (package-menu-sort-by-column): Don't select the window.
2594 (package--list-packages): Create the *Packages* buffer.
2595 Set package-menu-package-list-key.
2596 (list-packages): Sorting by status is now the default.
2597 (package-buffer-info): Use match-string-no-properties.
2598 (define-package): Add a &rest argument for future proofing, but
2600 (package-install-from-buffer, package-install-buffer-internal):
2601 Merge into a single function, package-install-from-buffer.
2602 (package-install-file): Change caller.
2604 * finder.el: Load finder-inf using `require'.
2605 (finder-list-matches): Sorting by status is now the default.
2606 (finder-compile-keywords): Simpify printing.
2608 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2611 (octave-mode-map): Remove special bindings for forward/backward-block
2612 and octave-backward-up-block. Use smie-close-block.
2613 (octave-continuation-marker-regexp): New var.
2614 (octave-continuation-regexp): Use it.
2615 (octave-operator-table, octave-smie-op-levels)
2616 (octave-operator-regexp, octave-smie-indent-rules): New vars.
2617 (octave-smie-backward-token, octave-smie-forward-token): New funs.
2618 (octave-mode): Use SMIE.
2619 (octave-close-block): Delete.
2621 2010-08-30 Eli Zaretskii <eliz@gnu.org>
2623 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
2624 CLIPBOARD, not in PRIMARY. (Bug#6944)
2626 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2628 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
2630 (smie-indent-column): Allow indirection through variables.
2632 * composite.el (save-buffer-state): Delete, unused.
2633 * font-lock.el (save-buffer-state): Use with-silent-modifications.
2634 (font-lock-default-fontify-region): Use with-syntax-table.
2635 * jit-lock.el (with-buffer-unmodified): Remove.
2636 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
2638 Use `declare' in defmacros.
2639 * window.el (save-selected-window):
2640 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
2641 * progmodes/python.el (def-python-skeleton):
2642 * net/dbus.el (dbus-ignore-errors):
2643 * jka-cmpr-hook.el (with-auto-compression-mode):
2644 * international/mule.el (with-category-table):
2645 * emacs-lisp/timer.el (with-timeout):
2646 * emacs-lisp/lisp-mnt.el (lm-with-file):
2647 * emacs-lisp/eieio.el (with-slots):
2648 * emacs-lisp/easymenu.el (easy-menu-define):
2649 * emacs-lisp/debug.el (debugger-env-macro):
2650 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
2651 (Multiple-value-call, Multiple-value-prog1):
2652 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
2653 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
2654 edebug rule to definition.
2655 * emacs-lisp/lisp-mode.el (save-selected-window)
2656 (with-current-buffer, combine-after-change-calls)
2657 (with-output-to-string, with-temp-file, with-temp-buffer)
2658 (with-temp-message, with-syntax-table, read-if, eval-after-load)
2659 (dolist, dotimes, when, unless):
2660 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
2662 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2664 * finder.el: Require `package'.
2665 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
2666 (finder-package-info): Var deleted.
2667 (finder-keywords-hash, finder--builtins-alist): New vars.
2668 (finder-compile-keywords): Compute package--builtins and
2669 finder-keywords-hash instead of finder-keywords-hash, respecting
2670 the "Package" header.
2671 (finder-unknown-keywords, finder-list-matches):
2672 Use finder-keywords-hash and package--list-packages.
2673 (finder-mode): Don't set font-lock-defaults.
2674 (finder-exit): We don't use "*Finder-package*" and "*Finder
2675 Category*" buffers anymore.
2677 * emacs-lisp/package.el (package--builtins-base): Var deleted.
2678 (package--builtins): Set default value to nil.
2679 (package-initialize): Load precomputed value of package--builtins
2681 (package-alist, package-compute-transaction)
2682 (package-download-transaction): Improve docstring.
2683 (package-read-all-archive-contents): Do not change
2684 package--builtins here.
2685 (list-packages): Make package-list-packages an alias for this.
2686 Sort by status by default.
2687 (package--list-packages): Add optional PACKAGES arg.
2688 (describe-package-1): Use font-lock-face property. For built-in
2689 packages, insert file commentary.
2690 (package--generate-package-list): Rename from
2691 package-list-packages-internal; all callers changed. Add optional
2692 PACKAGES arg. Add alphabetical sort fallbacks.
2693 (package-menu--version-predicate, package-menu--status-predicate)
2694 (package-menu--description-predicate)
2695 (package-menu--name-predicate): New functions.
2697 * info.el (Info-finder-find-node): Search package-alist instead of
2698 finder-package-info.
2700 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2702 * subr.el (version-regexp-alist): Don't use "a" and "b" for
2704 (version-to-list): Handle versions like "10.3d".
2706 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2708 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
2709 (macroexp-accumulate): Use `declare'.
2711 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2713 * whitespace.el (whitespace-style): Adjust type declaration.
2715 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
2717 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2718 empty argument to gvfs-copy.
2720 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2722 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
2723 handle new TRASH arg of `delete-file'.
2725 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
2727 * net/tramp.el (tramp-handle-insert-directory): Don't use
2728 `forward-word', its default syntax could be changed.
2730 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2731 Michael Albinus <michael.albinus@gmx.de>
2733 Implement compression for inline methods.
2735 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
2736 (tramp-copy-size-limit): Allow also nil.
2737 (tramp-inline-compress-commands): New defconst.
2738 (tramp-find-inline-compress, tramp-get-inline-compress)
2739 (tramp-get-inline-coding): New defuns.
2740 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
2741 replaced by `tramp-get-inline-coding'.
2742 (tramp-handle-file-local-copy, tramp-handle-write-region)
2743 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
2745 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
2747 Detect ssh 'ControlMaster' argument automatically in some cases.
2749 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
2750 (tramp-default-method): Use it.
2752 2010-08-26 Karel Klíč <kklic@redhat.com>
2754 * net/tramp.el (tramp-file-name-for-operation):
2755 Add file-selinux-context.
2757 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
2759 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
2761 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2763 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
2766 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
2768 * progmodes/js.el: Make indentation more customizable (Bug#6914).
2769 (js-paren-indent-offset, js-square-indent-offset)
2770 (js-curly-indent-offset): New options.
2771 (js--proper-indentation): Use them.
2773 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
2775 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
2776 instead of inspecting font-lock properties (Bug#6916).
2778 2010-08-26 David Reitter <david.reitter@gmail.com>
2780 * server.el (server-visit-files): Run pre-command-hook and
2781 post-command-hook for each buffer while it is current (Bug#6910).
2782 (server-execute): Do not run hooks here.
2784 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
2786 Sync with Tramp 2.1.19.
2788 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2789 (tramp-reporter-dump-variable, tramp-load-report-modules)
2790 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
2791 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
2793 * net/tramp-compat.el (top): Do not autoload
2794 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
2795 only when `start-file-process' is not bound.
2796 (byte-compile-not-obsolete-vars): Define if not bound.
2797 (tramp-compat-funcall): New defmacro.
2798 (tramp-compat-line-beginning-position)
2799 (tramp-compat-line-end-position)
2800 (tramp-compat-temporary-file-directory)
2801 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
2802 (tramp-compat-copy-file, tramp-compat-copy-directory)
2803 (tramp-compat-delete-file, tramp-compat-delete-directory)
2804 (tramp-compat-number-sequence, tramp-compat-process-running-p):
2806 (tramp-advice-file-expand-wildcards): Do not use
2807 `tramp-handle-file-remote-p'.
2808 (tramp-compat-make-temp-file): Simplify fallback implementation.
2809 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2810 (tramp-compat-copy-tree): Remove function.
2811 (tramp-compat-delete-file): New defun.
2812 (tramp-compat-delete-directory): Provide implementation for older
2814 (tramp-compat-file-attributes): Handle only
2815 `wrong-number-of-arguments' error.
2817 * net/tramp-fish.el (tramp-fish-handle-copy-file):
2818 Add PRESERVE_SELINUX_CONTEXT.
2819 (tramp-fish-handle-delete-file): Add TRASH arg.
2820 (tramp-fish-handle-directory-files-and-attributes):
2821 Do not use `tramp-fish-handle-file-attributes.
2822 (tramp-fish-handle-file-local-copy)
2823 (tramp-fish-handle-insert-file-contents)
2824 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
2826 * net/tramp-gvfs.el (top): Require url-util.
2827 (tramp-gvfs-mount-point): Remove.
2828 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
2829 and `set-file-selinux-context'.
2830 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
2831 (tramp-gvfs-handle-file-selinux-context)
2832 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
2833 (with-tramp-dbus-call-method): Format trace message.
2834 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
2835 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
2836 Implement backup call, when operation on local files fails.
2837 Use progress reporter. Flush properties of changed files.
2838 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
2839 `tramp-compat-delete-file'.
2840 (tramp-gvfs-handle-expand-file-name): Expand "~/".
2841 (tramp-gvfs-handle-make-directory): Make more traces.
2842 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
2843 (tramp-gvfs-url-file-name): Hexify file name in url.
2844 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
2845 into account for the resulting file name.
2846 (tramp-gvfs-handler-askquestion): Preserve current message, in
2847 order to let progress reporter continue afterwards. (Bug#6257)
2848 Return dummy mountpoint, when the answer is "no".
2849 See `tramp-gvfs-maybe-open-connection'.
2850 (tramp-gvfs-handler-mounted-unmounted)
2851 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
2852 attribute "default_location". Set "prefix" property.
2853 Handle default-location.
2854 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
2855 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
2856 exists. Raise an error, if not (due to a corresponding answer
2857 "no" in interactive questions, for example).
2858 Use `tramp-compat-funcall'.
2860 * net/tramp-imap.el (top): Autoload `epg-make-context'.
2861 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2862 (tramp-imap-do-copy-or-rename-file)
2863 (tramp-imap-handle-insert-file-contents)
2864 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
2865 (tramp-imap-handle-delete-file): Add TRASH arg.
2867 * net/tramp-smb.el (tramp-smb-handle-copy-file):
2868 Add PRESERVE-SELINUX-CONTEXT.
2869 (tramp-smb-handle-copy-file)
2870 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
2871 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
2872 Use `with-progress-reporter'.
2873 (tramp-smb-handle-delete-file): Add TRASH arg.
2875 * net/tramp.el (tramp-methods): Move hostname to the end in all
2876 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
2878 (tramp-verbose): Describe verbose level 9.
2879 (tramp-completion-function-alist)
2880 (tramp-file-name-regexp, tramp-chunksize)
2881 (tramp-local-coding-commands, tramp-remote-coding-commands)
2882 (with-connection-property, tramp-completion-mode-p)
2883 (tramp-action-process-alive, tramp-action-out-of-band)
2884 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
2885 (tramp-exists-file-name-handler): Fix docstring.
2886 (tramp-remote-process-environment): Use `format' instead of
2887 `concat'. Protect version string by apostroph.
2888 (tramp-shell-prompt-pattern): Do not use a shy group in case of
2890 (tramp-file-name-regexp-unified)
2891 (tramp-completion-file-name-regexp-unified): On W32 systems, do
2892 not regard the volume letter as remote filename. (Bug#5447)
2893 (tramp-perl-file-attributes)
2894 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2895 (tramp-vc-registered-read-file-names): Read input as
2896 here-document, otherwise the command could exceed maximum length
2898 (tramp-file-name-handler-alist): Add `file-selinux-context' and
2899 `set-file-selinux-context'.
2900 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
2901 backtrace functions.
2902 (tramp-error-with-buffer): Don't show the connection buffer when
2903 we are in completion mode.
2904 (tramp-progress-reporter-update, tramp-remote-selinux-p)
2905 (tramp-handle-file-selinux-context)
2906 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
2907 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
2909 (with-progress-reporter): New defmacro.
2910 (tramp-debug-outline-regexp): New defconst.
2911 (top, tramp-rfn-eshadow-setup-minibuffer)
2912 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
2913 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
2914 (tramp-completion-mode-p, tramp-check-for-regexp)
2915 (tramp-open-connection-setup-interactive-shell)
2916 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
2917 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
2918 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
2919 Use `tramp-compat-funcall'.
2920 (tramp-handle-make-symbolic-link): Flush file properties.
2921 (tramp-handle-load, tramp-handle-file-local-copy)
2922 (tramp-handle-insert-file-contents, tramp-handle-write-region)
2923 (tramp-handle-vc-registered, tramp-maybe-send-script)
2924 (tramp-find-shell): Use `with-progress-reporter'.
2925 (tramp-do-file-attributes-with-stat): Add space in format string,
2926 in order to work around a bug in pdksh. Reported by Gilles Pion
2928 (tramp-handle-verify-visited-file-modtime): Do not send a command
2929 when the connection is not established.
2930 (tramp-handle-set-file-times): Simplify the check for utc.
2931 (tramp-handle-directory-files-and-attributes)
2932 (tramp-get-remote-path): Use `copy-tree'.
2933 (tramp-completion-handle-file-name-all-completions): Ensure, that
2934 non remote files are still checked. Oops.
2935 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
2936 Handle PRESERVE-SELINUX-CONTEXT.
2937 (tramp-do-copy-or-rename-file): Add progress reporter.
2938 (tramp-do-copy-or-rename-file-directly): Do not use
2939 `tramp-handle-file-remote-p'.
2940 (tramp-do-copy-or-rename-file-out-of-band):
2941 Use `tramp-compat-delete-directory'.
2942 (tramp-do-copy-or-rename-file-out-of-band)
2943 (tramp-compute-multi-hops, tramp-maybe-open-connection):
2944 Use `format-spec-make'.
2945 (tramp-handle-delete-file): Add TRASH arg.
2946 (tramp-handle-dired-uncache): Flush directory cache, not only file
2948 (tramp-handle-expand-file-name)
2949 (tramp-completion-handle-file-name-all-completions)
2950 (tramp-completion-handle-file-name-completion):
2951 Use `tramp-connectable-p'.
2952 (tramp-handle-start-file-process): Set connection property "vec".
2953 Use it, in order to invalidate file caches. Check only for
2954 `remote-tty' process property.
2955 Implement tty setting. (Bug#4604, Bug#6360)
2956 (tramp-file-name-for-operation): Add `call-process-region' and
2957 `set-file-selinux-context'.
2958 (tramp-find-foreign-file-name-handler)
2959 (tramp-advice-make-auto-save-file-name)
2960 (tramp-set-auto-save-file-modes): Remove superfluous check for
2961 `stringp'. This is done inside `tramp-tramp-file-p'.
2962 (tramp-file-name-handler): Trace 'quit. Catch the error for some
2963 operations when we are in completion mode. This gives the user
2964 the chance to correct the file name in the minibuffer.
2965 (tramp-completion-mode-p): Use `non-essential'.
2966 (tramp-handle-file-name-all-completions): Backward/ XEmacs
2967 compatibility: Use `completion-ignore-case' if
2968 `read-file-name-completion-ignore-case' does not exist.
2969 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
2970 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2972 (tramp-action-password): Hide password prompt before next run.
2973 (tramp-process-actions): Widen connection buffer for the trace.
2974 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2975 process property. Trace stty settings if `tramp-verbose' >= 9.
2976 Apply workaround for IRIX64 bug. Move argument of last
2977 `tramp-send-command' where it belongs to.
2978 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2979 front of `login-args'.
2980 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
2981 on "/dev/null" instead of "/".
2982 (tramp-get-ls-command-with-dired): Make test for "--dired"
2984 (tramp-set-auto-save-file-modes): Adapt version check.
2985 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
2986 (tramp-handle-process-file): Call the program in a subshell, in
2987 order to preserve working directory.
2988 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
2989 `tramp-remote-sh' from `tramp-methods'.
2990 (tramp-get-ls-command): Make test for "--color=never" stronger.
2991 (tramp-check-for-regexp): Use (forward-line 1).
2993 * net/trampver.el: Update release number.
2995 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2997 * help.el (help-map): Bind `C-h P' to describe-package.
2999 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3001 * emacs-lisp/package.el (package-refresh-contents): Catch errors
3002 when downloading archives.
3003 (describe-package-1): Add package commentary.
3004 (package-install-button-action): New function.
3005 (package-menu-mode-map): Bind ? to package-menu-describe-package.
3006 (package-menu-view-commentary): Function removed.
3007 (package-list-packages-internal): Hide the `package' package too.
3009 2010-08-25 Kenichi Handa <handa@m17n.org>
3011 * language/misc-lang.el ("Arabic"): New language environment.
3012 Setup composition-function-table for Arabic characters.
3014 * international/fontset.el (setup-default-fontset): Fix typo for
3015 arabic OTF spec (fini->fina).
3017 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
3019 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3022 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3024 * whitespace.el: Allow cleaning up blanks without blank
3025 visualization (Bug#6651). Adjust help window for
3026 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3027 instead of whitespace-line-column (from EmacsWiki). New version
3029 (whitespace-style): Added new value 'face. Adjust docstring.
3030 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3031 foreground property face.
3032 (whitespace-line-column): Adjust docstring and type declaration.
3033 (whitespace-style-value-list, whitespace-toggle-option-alist)
3034 (whitespace-help-text): Adjust const initialization.
3035 (whitespace-toggle-options, global-whitespace-toggle-options):
3037 (whitespace-display-window, whitespace-interactive-char)
3038 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3039 (whitespace-help-scroll): New fun.
3041 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3043 * emacs-lisp/package.el (list-packages): Alias for
3044 package-list-packages.
3046 2010-08-24 Kevin Ryde <user42@zip.com.au>
3048 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3051 * progmodes/ruby-mode.el (ruby): Add defgroup.
3053 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3055 * progmodes/python.el: Add Ipython support (Bug#5390).
3056 (python-shell-prompt-alist)
3057 (python-shell-continuation-prompt-alist): New options.
3058 (python--set-prompt-regexp): New function.
3059 (inferior-python-mode, run-python, python-shell): Require
3060 ansi-color. Use python--set-prompt-regexp to set the comint
3061 prompt based on the Python interpreter.
3062 (python--prompt-regexp): New var.
3063 (python-check-comint-prompt)
3064 (python-comint-output-filter-function): Use it.
3065 (run-python): Use a pipe (Bug#5694).
3067 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
3069 * progmodes/python.el (python-send-region): Send a different
3070 Python command if Ipython is in use.
3071 (python-check-version): Use a Python command to find the version.
3073 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3075 * mouse.el (mouse-yank-primary): Avoid setting primary when
3076 deactivating the mark (Bug#6872).
3078 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
3080 * progmodes/python.el (python-block-pairs): Allow use of "finally"
3081 with "else" (Bug#3991).
3083 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
3085 * net/dbus.el: Accept UNIX domain sockets as bus address.
3086 (top): Don't initialize `dbus-registered-objects-table' anymore,
3087 this is done in dbusbind,c.
3088 (dbus-check-event): Adapt test for bus.
3089 (dbus-return-values-table, dbus-unregister-service)
3090 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
3093 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
3095 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
3097 2010-08-22 Juri Linkov <juri@jurta.org>
3099 * simple.el (read-extended-command): New function with the logic
3100 for `completing-read' moved to Elisp from `execute-extended-command'.
3101 Use `function-called-at-point' in `minibuffer-default-add-function'
3102 to get a command name for M-n (bug#5364, bug#5214).
3104 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3106 * startup.el (command-line-1): Issue warning for ignored arguments
3107 --unibyte, etc (Bug#6886).
3109 2010-08-22 Leo <sdl.web@gmail.com>
3111 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
3112 (ignore, bright, dim, keyword): Split list of nicknames before
3113 passing to rcirc-add-or-remove (Bug#6894).
3115 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3117 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
3119 2010-08-22 Leo <sdl.web@gmail.com>
3121 Fix buffer-list rename&refresh after killing a buffer in ido.
3122 * ido.el: Revert Óscar's.
3123 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
3124 Remember the buffers at head, rather than their name.
3125 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
3127 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
3128 Stefan Monnier <monnier@iro.umontreal.ca>
3130 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
3131 extra backslash added to each line (bug#6890).
3133 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3135 * subr.el (read-key): Don't echo keystrokes (bug#6883).
3137 2010-08-22 Glenn Morris <rgm@gnu.org>
3139 * menu-bar.el (menu-bar-games-menu): Add landmark.
3141 2010-08-22 Glenn Morris <rgm@gnu.org>
3143 * align.el (align-regexp): Make group and spacing arguments
3144 use the interactive defaults when non-interactive. (Bug#6698)
3146 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
3147 expansion, so as not to need sendmail.
3148 (mail-text-start): Remove declaration.
3149 (rmail-retry-failure): Require sendmail.
3151 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3153 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
3155 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
3157 * progmodes/flymake.el (flymake-start-syntax-check-process):
3158 Use `start-file-process' in order to let it run also on remote hosts.
3160 2010-08-22 Kenichi Handa <handa@m17n.org>
3162 * files.el: Add `word-wrap' as safe local variable.
3164 2010-08-22 Glenn Morris <rgm@gnu.org>
3166 * woman.el (woman-translate): Case matters. (Bug#6849)
3168 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3170 * simple.el (kill-region): Doc fix (Bug#6787).
3172 2010-08-22 Glenn Morris <rgm@gnu.org>
3174 * calendar/diary-lib.el (diary-header-line-format):
3175 Fit it to the window, not the frame.
3177 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
3179 * subr.el (ignore-errors): Add debug declaration.
3181 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
3183 * whitespace.el (whitespace-color-off): Remove post-command-hook
3186 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3188 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
3190 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3192 * cus-edit.el (custom-group-value-create): Add extra newline
3193 before end line (Bug#6876).
3195 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3197 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
3198 when extending it. Before killing on the second click, check if
3199 the buffer is the correct one. Doc fix.
3200 (mouse-secondary-save-then-kill): Allow usage without first
3201 calling mouse-start-secondary, by defaulting to point. Don't save
3202 an empty secondary selection. Doc fix.
3204 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3206 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
3207 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
3209 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
3210 Adjust initialization.
3211 (whitespace-bob-marker, whitespace-eob-marker)
3212 (whitespace-buffer-changed): New vars.
3213 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
3214 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3215 (whitespace-post-command-hook, whitespace-display-char-on):
3217 (whitespace-looking-back, whitespace-buffer-changed): New funs.
3218 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
3220 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
3222 * files.el (locate-file-completion-table): Only list the .el and .elc
3223 extensions if there's no other choice (bug#5955).
3225 * facemenu.el (facemenu-self-insert-data): New var.
3226 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
3228 (facemenu-add-face): Use them.
3230 * simple.el (blink-matching-open): Obey forward-sexp-function.
3232 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
3234 * simple.el (prog-mode-map): New var.
3235 (prog-indent-sexp): New command.
3237 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
3239 * progmodes/prolog.el (smie): Require.
3241 * emacs-lisp/smie.el (smie-default-backward-token)
3242 (smie-default-forward-token): Strip properties.
3243 (smie-next-sexp): Be more careful with associative operators.
3244 (smie-forward-sexp-command): Generalize.
3245 (smie-backward-sexp-command): Simplify.
3246 (smie-closer-alist): New var.
3247 (smie-close-block): New command.
3248 (smie-indent-debug-log): New var.
3249 (smie-indent-offset-rule): Add a few more cases.
3250 (smie-indent-column): New function.
3251 (smie-indent-after-keyword): Use it.
3252 (smie-indent-keyword): Use it.
3253 Fix up the opener code's point position.
3254 (smie-indent-comment): Only applies at BOL.
3255 (smie-indent-debug): New command.
3257 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
3258 declarations that are useful before running the macro.
3260 2010-08-18 Joakim Verona <joakim@verona.se>
3262 * image.el (imagemagick-types-inhibit): New variable.
3263 (imagemagick-register-types): New function.
3264 * image-mode.el (image-transform-properties): New function.
3265 (image-transform-set-scale, image-transform-fit-to-height)
3266 (image-transform-set-rotation, image-transform-set-resize)
3267 (image-transform-fit-to-width, image-transform-fit-to-height):
3269 (image-toggle-display-image): Support image transforms.
3271 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
3273 * image.el (create-animated-image): Don't add heuristic mask to image
3276 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
3278 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
3279 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
3281 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
3283 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
3285 Font-lock '...' strings, plus various simplifications and fixes.
3286 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3287 (octave-font-lock-close-quotes): New function.
3288 (octave-font-lock-syntactic-keywords): New var.
3289 (octave-mode): Use it. Set beginning-of-defun-function.
3290 (octave-mode-map): Don't override the <foo>-defun commands.
3291 (octave-mode-menu): Pass it directly to easy-menu-define;
3292 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
3293 (octave-block-match-alist): Fix up last change so that
3294 octave-close-block uses the more specific keyword.
3295 (info-lookup-mode): Silence byte-compiler.
3296 (octave-beginning-of-defun): Not interactive any more.
3298 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
3299 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
3300 (octave-completion-at-point-function): Make sure point is within
3302 (octave-reindent-then-newline-and-indent):
3303 Use reindent-then-newline-and-indent.
3304 (octave-add-octave-menu): Remove.
3306 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
3308 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
3309 (report-emacs-bug-can-use-xdg-email): New functions.
3310 (report-emacs-bug): Set can-xdg-email to result of
3311 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
3312 \C-cm to report-emacs-bug-insert-to-mailer and add help text
3315 * net/browse-url.el (browse-url-default-browser): Add cond
3316 for browse-url-xdg-open.
3317 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
3319 2010-08-17 Glenn Morris <rgm@gnu.org>
3321 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
3322 (c-fontify-recorded-types-and-refs): Define for compiler.
3323 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
3326 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
3329 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
3331 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
3333 (tramp-handle-process-file): Call the program in a subshell, in
3334 order to preserve working directory.
3335 (tramp-action-password): Hide password prompt before next run.
3336 (tramp-process-actions): Widen connection buffer for the trace.
3338 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3340 * net/rcirc.el (rcirc-log-process-buffers): New option.
3341 (rcirc-print): Use it.
3342 (rcirc-generate-log-filename): New function.
3343 (rcirc-log-filename-function): Change default to
3344 rcirc-generate-log-filename (Bug#6828).
3346 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
3348 * simple.el (deactivate-mark): If select-active-regions is `only',
3349 only set selection for temporarily active regions.
3351 * cus-start.el: Change defcustom for select-active-regions.
3353 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
3355 * mouse.el (mouse--drag-set-mark-and-point): New function.
3356 (mouse-drag-track): Use LOCATION arg to push-mark.
3357 Use mouse--drag-set-mark-and-point to take click-count into
3358 consideration when updating point and mark (Bug#6840).
3360 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
3362 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3363 Give the Ruby rule a lower priority than Gnu (Bug#6778).
3365 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
3367 * font-lock.el (lisp-font-lock-keywords-2):
3368 Add combine-after-change-calls, condition-case-no-debug,
3369 with-demoted-errors, and with-silent-modifications (Bug#6025).
3371 2010-08-14 Kevin Ryde <user42@zip.com.au>
3373 * emacs-lisp/copyright.el (copyright-update-year)
3374 (copyright-update): Temporary switch-to-buffer to ensure the
3375 buffer change being queried is visible (Bug#5394).
3377 2010-08-14 Tom Tromey <tromey@redhat.com>
3379 * progmodes/etags.el (tags-file-name): Mark safe if stringp
3382 2010-08-14 Eli Zaretskii <eliz@gnu.org>
3384 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
3387 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
3389 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
3390 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3391 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3392 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
3393 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
3394 Call menu-bar-set-tool-bar-position.
3396 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3398 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
3399 comment style (bug#6834).
3400 * progmodes/scheme.el (scheme-mode-syntax-table):
3401 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
3402 "b" flag in "' 14b" syntax.
3404 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
3405 for (un)commenting the region and performing completion.
3406 (octave-mode-menu): Use standard commands for help and completion.
3407 (octave-mode-syntax-table): Support %{..%} comments (sort of).
3408 (octave-mode): Use define-derived-mode.
3409 Set completion-at-point-functions and don't set columns.
3410 Don't disable adaptive-fill-regexp.
3411 (octave-describe-major-mode, octave-comment-region)
3412 (octave-uncomment-region, octave-comment-indent)
3413 (octave-indent-for-comment): Remove.
3414 (octave-indent-calculate): Rename from calculate-octave-indent.
3415 (octave-indent-line, octave-fill-paragraph): Update caller.
3416 (octave-initialize-completions): No need to make an alist.
3417 (octave-completion-at-point-function): New function.
3418 (octave-complete-symbol): Use it.
3419 (octave-insert-defun): Use define-skeleton.
3421 * progmodes/octave-mod.el (octave-mode): Set comment-add.
3422 (octave-mode-map): Use comment-dwim (bug#6829).
3424 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
3426 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
3427 indentation of inserted comment.
3429 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
3431 * faces.el (region): Add type gtk that uses gtk colors.
3433 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3434 Handle theme-name change.
3436 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
3438 * progmodes/sql.el: Version 2.5
3439 (sql-product-alist): Add :prompt-cont-regexp property for several
3441 (sql-prompt-cont-regexp): New variable.
3442 (sql-output-newline-count, sql-output-by-send):
3443 New variables. Record number of newlines in input text.
3444 (sql-send-string): Handle multiple filters and count newlines.
3445 (sql-send-magic-terminator): Count terminator newline.
3446 (sql-interactive-remove-continuation-prompt): Filters output to
3447 remove continuation prompts; one for each newline.
3448 (sql-interactive-mode): Set up new variables, prompt regexp and
3450 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
3451 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3453 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3455 * emacs-lisp/pcase.el: New file.
3457 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
3459 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
3460 as here-document, otherwise the command could exceed maximum
3461 length of command line.
3462 (tramp-handle-vc-registered): Call script accordingly.
3463 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
3465 2010-08-10 Kenichi Handa <handa@m17n.org>
3467 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
3470 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
3472 * emacs-lisp/package.el (package-version-split)
3473 (package--version-first-nonzero, package-version-compare):
3475 (package-directory-list, package-load-all-descriptors)
3476 (package--built-in, package-activate, define-package)
3477 (package-installed-p, package-compute-transaction)
3478 (package-read-all-archive-contents)
3479 (package--add-to-archive-contents, package-buffer-info)
3480 (package-tar-file-info, package-list-packages-internal):
3481 Use version-to-list and version-list-*.
3483 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3484 Use version-to-list.
3485 (package-upload-buffer-internal): Use version-list-<=.
3487 2010-08-09 Kenichi Handa <handa@m17n.org>
3489 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
3492 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
3494 * tutorial.el (tutorial--default-keys): C-d is now bound to
3495 delete-forward-char (Bug#6826).
3497 * mouse.el (mouse-drag-track): Remove accidentally-removed check
3498 for `double' value of mouse-1-click-follows-link (Bug#6807).
3500 2010-08-08 Johan Bockgård <bojohan@gnu.org>
3502 * replace.el (replace-highlight): Bind isearch-forward and
3503 isearch-error, ensuring that highlighting is updated if the user
3504 switches the search direction (Bug#6808).
3506 * isearch.el (isearch-lazy-highlight-forward): New var.
3507 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3508 (isearch-lazy-highlight-update): Use it.
3510 2010-08-08 Kenichi Handa <handa@m17n.org>
3512 * international/mule.el (define-charset): Store NAME as :base property.
3513 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
3514 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
3515 current priority. Force using the designation of the specific
3516 charset by adding `charset' text property. Improve the whole algorithm.
3518 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3520 * emulation/pc-select.el (pc-selection-mode-hook)
3521 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
3522 (pc-selection-mode): Fix typos in docstrings.
3524 2010-08-08 Kenichi Handa <handa@m17n.org>
3526 * language/cyrillic.el: Don't add "microsoft-cp1251" to
3527 ctext-non-standard-encodings-alist here.
3529 * international/mule.el (ctext-non-standard-encodings-alist):
3530 Add "koi8-r" and "microsoft-cp1251".
3531 (ctext-standard-encodings): New variable.
3532 (ctext-non-standard-encodings-table): List only elements for
3533 non-standard encodings.
3534 (ctext-pre-write-conversion): Adjust for the above change.
3535 Check ctext-standard-encodings.
3537 * international/mule-conf.el (compound-text): Doc fix.
3538 (ctext-no-compositions): Doc fix.
3539 (compound-text-with-extensions): Doc fix.
3541 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3543 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
3545 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3547 * progmodes/which-func.el (which-func-format): Split help-echo text
3548 into lines, like other mode-line tooltips.
3550 * server.el (server-start): When using TCP sockets, force IPv4
3551 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
3553 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3555 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
3557 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3559 * term.el (term-delimiter-argument-list): Reflow docstring.
3560 (term-read-input-ring, term-write-input-ring, term-send-input)
3561 (term-bol, term-erase-in-display, serial-supported-or-barf):
3562 Fix typos in docstrings.
3564 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
3568 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3570 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
3572 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
3574 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
3575 Fix typo in docstring (bug#6747).
3577 2010-08-08 Leo <sdl.web@gmail.com>
3579 * eshell/esh-io.el (eshell-get-target): Better detection of
3580 read-only file (Bug#6762).
3582 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3584 * align.el (align-default-spacing): Doc fix.
3585 (align-region-heuristic, align-regexp): Fix typos in docstrings.
3587 2010-08-08 Stephen Peters <speters@itasoftware.com>
3589 * calendar/icalendar.el
3590 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
3591 (icalendar--get-weekday-numbers): New.
3592 (icalendar--convert-recurring-to-diary): Handle multiple byday
3593 values in weekly rules. (Bug#6766)
3595 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
3597 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
3598 (icalendar--create-uid, icalendar-export-region)
3599 (icalendar--parse-summary-and-rest): Code formatting.
3601 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3603 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
3604 to italicize headers.
3605 (calc-highlight-selections-with-faces): New variable.
3606 (calc-selected-face, calc-nonselected-face): New faces.
3608 * calc/calccomp.el (math-comp-highlight-string): Use
3609 `calc-highlight-selections-with-faces' to determine how to highlight
3612 * calc/calc-sel.el (calc-show-selections): Change message to when
3613 using faces to highlight selections.
3615 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
3617 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
3618 Add SQLite 3 keywords, functions and datatypes.
3619 (sql-interactive-mode): Remove `comint-process-echoes' set to t
3622 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
3624 * simple.el (select-active-regions): Move to keyboard.c.
3625 (deactivate-mark): Used saved-region-selection.
3626 (select-active-region): Function removed.
3627 (activate-mark, set-mark, push-mark-command)
3628 (handle-shift-selection): Don't call it.
3629 (keyboard-quit): Avoid adding the region to the window selection.
3631 * mouse.el (mouse-drag-track): Remove hacks to deal with old
3632 select-active-regions implementation.
3633 (mouse-yank-at-click): Doc fix.
3635 * cus-start.el: Add custom declaration for select-active-regions.
3637 2010-08-07 Eli Zaretskii <eliz@gnu.org>
3639 * simple.el (delete-forward-char): Doc fix.
3641 * tutorial.el (help-with-tutorial): Hack safe file-local variables
3642 after reading the tutorial.
3644 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
3646 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
3647 for the case that a C style comment has its delimiters alone on
3648 their respective lines.
3650 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
3652 * net/tramp.el (tramp-handle-start-file-process): Set connection
3654 (tramp-process-sentinel): Use it for flushing the cache. We
3655 cannot do it via the process buffer, the buffer could be deleted
3656 already when running the sentinel.
3658 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3660 * comint.el (comint-mode): Make directory tracking functions
3661 functional on remote files. (Bug#6764)
3663 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
3665 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
3667 2010-08-05 Eli Zaretskii <eliz@gnu.org>
3669 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
3670 unexec.c => unexcoff.c.
3672 * emacs-lisp/authors.el (authors-fixed-entries): Rename
3673 unexec.c => unexcoff.c.
3675 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
3677 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
3678 cache, not only file cache.
3679 (tramp-process-sentinel): New defun.
3680 (tramp-handle-start-file-process): Use it, in order to invalidate
3683 2010-08-03 Leo <sdl.web@gmail.com>
3685 * server.el (server-start): Simplify loop.
3687 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3689 * frame.el (screen-height, screen-width, set-screen-width)
3690 (set-screen-height): Remove ancient compatibility aliases.
3692 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
3693 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
3695 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
3696 that change current buffer.
3698 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3700 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
3701 beginning of the string. Use `string-match-p'. (Bug#6765)
3703 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
3705 * cus-start.el (x-gtk-use-system-tooltips): New variable.
3707 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
3709 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
3710 (package--builtins): Tweak descriptions.
3711 (package-print-package): Upcase descriptions if necessary.
3712 Show all built-in packages in font-lock-builtin-face.
3713 (package-list-packages-internal): Omit "emacs" package.
3714 Show status of built-in packages as "built-in".
3716 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
3718 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
3719 before killing to preserve the primary selection (Bug#6701).
3721 * term/x-win.el (x-select-text): Doc fix.
3723 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
3725 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
3726 The following functions were modified or created:
3728 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
3729 (objc-font-lock-extra-types):
3730 * progmodes/cc-mode.el (c-basic-common-init):
3731 * progmodes/cc-langs.el (c-make-mode-syntax-table)
3732 (c++-make-template-syntax-table)
3733 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
3734 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
3735 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
3736 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
3737 * progmodes/cc-fonts.el (c-make-inverse-face)
3738 (c-basic-matchers-after):
3739 * progmodes/cc-engine.el (c-forward-keyword-clause)
3740 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
3741 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
3742 (c-guess-continued-construct, c-guess-basic-syntax):
3744 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
3746 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
3748 2010-07-31 Eli Zaretskii <eliz@gnu.org>
3750 * files.el (bidi-paragraph-direction): Define safe local values.
3752 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
3753 language-info-alist. Remove outdated FIXME in a comment.
3755 2010-07-31 Alan Mackenzie <acm@muc.de>
3757 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
3758 Auto-fill broken in C/C++ modes.
3760 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
3762 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3763 (menu-bar-showhide-tool-bar-menu-customize-disable)
3764 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3765 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
3766 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
3767 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
3768 make a menu for Options => toolbar that can move it.
3770 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
3772 * emacs-lisp/package-x.el (package--make-rss-entry):
3773 (package-maint-add-news-item, package--update-news)
3774 (package-upload-buffer-internal): New arg ARCHIVE-URL.
3776 * emacs-lisp/package.el (package-archive-url): Rename from
3778 (package-install): Doc fix.
3779 (package-download-single, package-download-tar, package-install)
3780 (package-menu-view-commentary): Callers changed.
3782 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
3784 * net/tramp.el (tramp-handle-start-file-process): Check only for
3785 `remote-tty' process property.
3786 (tramp-open-shell): Don't check for tty.
3787 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3790 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
3793 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
3795 * emacs-lisp/package.el (package-load-list, package-archives)
3796 (package-archive-contents, package-user-dir)
3797 (package-directory-list, package--builtins, package-alist)
3798 (package-activated-list, package-obsolete-alist): Mark as risky.
3800 2010-07-28 Phil Hagelberg <phil@evri.com>
3802 Add support for non-default package repositories.
3803 * emacs-lisp/package.el (package-archive-base): Var deleted.
3804 (package-archives): New variable.
3805 (package-archive-contents): Doc fix.
3806 (package-load-descriptor): Do nothing if descriptor file is missing.
3807 (package--write-file-no-coding): New function.
3808 (package-unpack-single): Use it.
3809 (package-archive-id): New function.
3810 (package-download-single, package-download-tar)
3811 (package-menu-view-commentary): Use it.
3812 (package-installed-p): Make second argument optional.
3813 (package-read-all-archive-contents): New function.
3814 (package-initialize): Use it.
3815 (package-read-archive-contents): Add ARCHIVE argument.
3816 (package--add-to-archive-contents): New function.
3817 (package-install): Don't call package-read-archive-contents.
3818 (package--download-one-archive): Store archive file in a
3819 subdirectory of package-user-dir.
3820 (package-menu-execute): Remove spurious line movement.
3822 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
3824 * cus-start.el (tool-bar-style): Add text-image-horiz.
3826 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3828 * progmodes/gud.el (gud-common-init): Check for remoteness of
3829 `file', and not of `default-directory'.
3831 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3833 * net/tramp.el (tramp-methods): Move hostname to the end in all
3834 ssh `tramp-login-args'.
3835 (tramp-verbose): Describe verbose level 9.
3836 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
3837 (tramp-open-connection-setup-interactive-shell): Trace stty
3838 settings if `tramp-verbose' >= 9.
3839 (tramp-handle-start-file-process): Implement tty setting.
3840 (Bug#4604, Bug#6360)
3842 * net/tramp-cmds.el (tramp-bug): Recommend setting of
3843 `tramp-verbose' to 9.
3845 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
3847 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
3848 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
3849 Remove references to package `lisp-re' (bug#4369).
3851 2010-07-27 Tom Tromey <tromey@redhat.com>
3853 * progmodes/js.el (js-mode):
3854 * progmodes/make-mode.el (makefile-mode):
3855 * progmodes/simula.el (simula-mode):
3856 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
3858 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
3860 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
3862 * time.el (display-time-day-and-date): Remove spurious * in docstring.
3863 (display-time-world-buffer-name, display-time-world-mode-map):
3864 Fix typos in docstrings.
3866 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
3868 * image-mode.el (image-display-size): New function.
3869 (image-forward-hscroll, image-next-line, image-eol, image-eob)
3870 (image-mode-fit-frame): Use it (Bug#6639).
3872 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
3874 * dired.el (dired-buffers-for-dir): Handle list values of
3875 dired-directory (Bug#6636).
3877 2010-07-26 Sam Steingold <sds@gnu.org>
3879 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3880 Do not call `x-get-selection' the second time, reuse the value.
3882 2010-07-26 Daiki Ueno <ueno@unixuser.org>
3884 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
3885 which consist of control chars only. Suggested by Richard Stallman.
3887 2010-07-25 Daiki Ueno <ueno@unixuser.org>
3889 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
3890 exists before passing an error to find-file-not-found-functions
3893 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
3895 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
3896 Remove leading nil element, adjust values.
3897 (tetris-shapes, tetris-shape-scores):
3898 Change representation of shapes and remove some redundancy.
3899 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
3900 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
3901 Adjust for working with new representation of shapes.
3902 (tetris-shape-rotations): New function.
3903 (tetris-move-bottom, tetris-move-left, tetris-move-right)
3904 (tetris-rotate-prev, tetris-rotate-next):
3905 Adjust for working with the new version of tetris-test-shape.
3907 2010-07-23 Markus Triska <markus.triska@gmx.at>
3909 * progmodes/ps-mode.el: Use comint (bug#5954).
3910 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
3911 (ps-mode-other-newline): Simplify.
3912 (ps-run-mode): Derive from comint-mode instead of
3913 fundamental-mode, yielding input history etc.
3914 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
3915 (ps-run-send-string): Adapt for comint-mode.
3916 (ps-run-newline): Remove now unneeded function.
3918 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3920 * net/tramp.el (tramp-methods): Move hostname to the end in all
3921 plink `tramp-login-args'.
3923 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3925 * net/tramp.el (tramp-open-shell): New defun.
3926 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3929 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3931 * net/tramp.el (tramp-file-name-regexp-unified)
3932 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3933 not regard the volume letter as remote filename. (Bug#5447)
3935 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
3937 * custom.el (custom-declare-variable): Give a clearer error message
3938 when the docstring is missing (bug#6476).
3940 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
3942 * progmodes/sql.el: Version 2.4. Improved Login prompting.
3943 (sql-login-params): New widget definition.
3944 (sql-oracle-login-params, sql-mysql-login-params)
3945 (sql-solid-login-params, sql-sybase-login-params)
3946 (sql-informix-login-params, sql-ingres-login-params)
3947 (sql-ms-login-params, sql-postgres-login-params)
3948 (sql-interbase-login-params, sql-db2-login-params)
3949 (sql-linter-login-params): Use it.
3950 (sql-sqlite-login-params): Use it; Define "database" parameter as
3952 (sql-sqlite-program): Change to "sqlite3".
3953 (sql-comint-sqlite): Make sure database name is complete.
3954 (sql-for-each-login): New function.
3955 (sql-connect, sql-save-connection): Use it.
3956 (sql-get-login-ext): New function.
3957 (sql-get-login): Use it.
3958 (sql-make-alternate-buffer-name): Handle :file parameters.
3960 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
3962 * dired.el (dired-no-confirm): Document value t and fix defcustom to
3963 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
3965 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
3967 * dired.el (dired-mode-map): Use command remapping (bug#6632).
3969 2010-07-22 Lawrence Mitchell <wence@gmx.li>
3971 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
3973 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
3975 * net/tramp.el (tramp-get-ls-command)
3976 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
3979 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
3981 * progmodes/sql.el: Version 2.3.
3982 (sql-connection-alist): Changed keys from symbols to strings;
3983 enhanced the widget definition.
3984 (sql-mode-menu): Added submenu to select connections.
3985 (sql-interactive-mode-menu): Added "Save Connection" item.
3986 (sql-add-product): Fixed menu item.
3987 (sql-get-product-feature): Improved error handling.
3988 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
3989 (sql-make-alternate-buffer-name): Simplified.
3990 (sql-product-interactive): Handle missing product.
3991 (sql-connect): Support string keys, minor improvements.
3992 (sql-save-connection): New function.
3993 (sql-connection-menu-filter): New function.
3995 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
3997 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
3998 (tramp-open-connection-setup-interactive-shell): Apply
3999 workaround for IRIX64 bug. Move argument of last
4000 `tramp-send-command' where it belongs to.
4002 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4004 * net/tramp.el (tramp-perl-file-attributes)
4005 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4006 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4007 front of `login-args'.
4009 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
4011 * time.el (display-time-world-mode): Define with `define-derived-mode'.
4012 Set `show-trailing-whitespace' to nil.
4013 (display-time-world-display): Simplify.
4015 2010-07-18 Alan Mackenzie <acm@muc.de>
4017 Enhance `c-file-style' in file/directory local variables.
4018 * progmodes/cc-mode.el (c-count-cfss): New function.
4019 (c-before-hack-hook): Call `c-set-style' differently according to
4020 whether c-file-style was set in file or directory local
4023 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
4025 * progmodes/sql.el: Version 2.2.
4026 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4027 defcustom :safe keyword rather than putting safe-local-variable
4029 (sql-password): Use defcustom :risky keyword rather than putting
4030 risky-local-variable property.
4031 (sql-oracle-login-params, sql-sqlite-login-params)
4032 (sql-solid-login-params, sql-sybase-login-params)
4033 (sql-informix-login-params, sql-ingres-login-params)
4034 (sql-ms-login-params, sql-postgres-login-params)
4035 (sql-interbase-login-params, sql-db2-login-params)
4036 (sql-linter-login-params): Add `port' option.
4037 (sql-get-product-feature): Added NO-INDIRECT parameter.
4038 (sql-comint-oracle, sql-comint-sybase)
4039 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4040 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4041 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4042 (sql-comint-linter): Renamed sql-connect-* functions to
4044 (sql-product-alist, sql-mode-menu): Renamed as above and
4045 :sqli-connect-func to :sqli-comint-func.
4046 (sql-connection): New variable.
4047 (sql-interactive-mode): Set it.
4048 (sql-connection-alist): New variable.
4049 (sql-connect): New function.
4050 (sql--alt-buffer-part, sql--alt-if-not-empty)
4051 (sql-make-alternate-buffer-name): Improved alternative buffer name.
4053 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4055 * image-mode.el (image-bookmark-make-record): Do not set context
4056 in an image (Bug#6650).
4058 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4060 * simple.el (select-active-region): New function.
4061 (push-mark-command, set-mark, activate-mark)
4062 (handle-shift-selection): Use it.
4063 (deactivate-mark): Don't check for size of region.
4065 * mouse.el (mouse-drag-track): Use select-active-region.
4067 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
4069 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4072 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4074 * term/x-win.el (x-select-enable-primary): Change default to nil.
4075 (x-select-enable-clipboard): Add :version keyword.
4077 * mouse.el (mouse-drag-copy-region):
4078 * simple.el (select-active-regions): Likewise.
4080 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
4082 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4083 (vc-coding-system-for-diff): Use it to decide whether to inherit
4084 from the file the EOL format for reading the diffs of that file.
4087 2010-07-16 Eli Zaretskii <eliz@gnu.org>
4089 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
4090 unibyte, so compressed attachments are not compressed again.
4092 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
4094 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
4095 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
4096 (tramp-find-shell): Simplify setting connection property.
4097 (tramp-get-ls-command): Make test for "--color=never" stronger.
4099 2010-07-15 Simon South <ssouth@member.fsf.org>
4101 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
4102 blocks within record declarations (i.e. variant parts) correctly.
4104 2010-07-15 Simon South <ssouth@member.fsf.org>
4106 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
4107 over literal tokens when parsing so newlines aren't "absorbed" by
4108 single-line comments. Corrects the indentation of case blocks
4109 that have a comment on the first line.
4111 2010-07-14 Karl Fogel <kfogel@red-bean.com>
4113 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
4114 by Drew Adams (Bug#5504).
4116 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
4118 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
4119 now that Unicode is used (Bug#6594).
4121 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
4123 * term/x-win.el (x-select-enable-clipboard): Default to t.
4124 (x-initialize-window-system): Don't overwrite Paste menu item.
4126 * simple.el (select-active-regions): Default to t.
4127 (push-mark-command): Don't overwrite primary with empty string.
4129 * mouse.el: Bind mouse-2 to mouse-yank-primary.
4130 (mouse-drag-copy-region): Default to nil.
4132 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
4133 Cut/Copy/Paste menu bar items.
4135 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4137 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
4138 Patch applied by Karl Fogel.
4140 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
4141 and `bookmark-current-buffer' if they have been already set in
4142 another buffer (e.g gnus-art).
4144 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4145 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4147 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
4149 * bookmark.el (bookmark-make-record-default): Allow unneeded
4150 information to be omitted from the record.
4152 Adjust declarations and calls:
4154 * info.el (bookmark-make-record-default): Adjust declaration.
4155 (Info-bookmark-make-record): Adjust call.
4157 * woman.el (bookmark-make-record-default): Adjust declaration.
4158 (woman-bookmark-make-record): Adjust call.
4160 * man.el (bookmark-make-record-default): Adjust declaration.
4161 (Man-bookmark-make-record): Adjust call.
4163 * image-mode.el (bookmark-make-record-default): Adjust declaration.
4165 * doc-view.el (bookmark-make-record-default): Adjust declaration.
4167 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4169 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
4170 This is also from Thierry Volpiatto's patch in bug #6444. However,
4171 because it was extraneous to the functional change in that patch,
4172 and causes a re-indendation, I am committing it separately.
4174 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4176 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
4177 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
4178 Patch applied by Karl Fogel (Bug#6444).
4180 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
4182 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
4184 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
4186 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
4187 Dempsky; bug#5084). Remove incorrect binding for S-tab.
4188 (ns-alternatives-map): Change S-tab binding to backtab
4191 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
4194 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
4196 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
4199 * language/tv-util.el (tai-viet-re): Remove format.
4201 2010-07-12 Kenichi Handa <handa@m17n.org>
4203 * language/hebrew.el: Remove no-byte-compile declaration.
4204 Change coding: tag to utf-8. Register hebrew-shape-gstring in
4205 composition-function-table for 3-character looking back.
4206 (hebrew-font-get-precomposed): New function.
4207 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
4209 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
4211 * mouse.el (mouse-drag-track): Handle select-active-regions
4214 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
4216 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4217 empty argument to gvfs-copy.
4219 2010-07-10 Glenn Morris <rgm@gnu.org>
4221 * calendar/calendar.el (calendar-week-end-day): New function.
4222 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
4223 Respect calendar-week-start-day. (Bug#6606)
4224 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4225 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
4226 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
4227 respect calendar-week-start-day.
4229 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
4231 * simple.el (use-region-p): Doc fix (Bug#6607).
4233 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
4235 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
4236 regexps for cucumber and ruby.
4238 2010-07-08 Daiki Ueno <ueno@unixuser.org>
4240 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
4241 (epa-file-insert-file-contents): Hack to prevent
4242 find-file from opening empty buffer when decryption failed
4245 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
4247 * textmodes/ispell.el (ispell-alternate-dictionary):
4248 Use file-readable-p.
4249 Return nil if no word-list is found at default locations.
4250 (ispell-complete-word-dict): Default to nil.
4251 (ispell-command-loop): Use 'word-list' when using lookup-words.
4252 (lookup-words): Use ispell-complete-word-dict or
4253 ispell-alternate-dictionary. Check for word-list availability
4254 and handle errors if needed with better messages (Bug#6539).
4255 (ispell-complete-word): Use ispell-complete-word-dict or
4256 ispell-alternate-dictionary.
4258 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
4260 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
4261 builtins (BufferError, BytesWarning, WindowsError; callables
4262 bin, bytearray, bytes, format, memoryview, next, print; __package__).
4264 2010-07-07 Glenn Morris <rgm@gnu.org>
4266 * play/zone.el (top-level): Do not require timer, tabify, or cl.
4267 (zone-shift-left): Ignore intangibility, and any errors from
4269 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
4270 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
4271 deleting, and copying text properties.
4272 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
4273 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
4274 to point-max is hard.
4275 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
4276 (zone-fill-out-screen): Ignore intangibility.
4278 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
4280 * menu-bar.el (menu-bar-mode):
4281 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
4284 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
4285 word/line selection (Bug#6565).
4287 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
4289 * net/dbus.el (dbus-send-signal): Declare function.
4291 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
4293 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
4294 (dbus-register-property): New optional argument EMITS-SIGNAL.
4295 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
4297 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
4299 * mouse.el (mouse-drag-overlay): Variable deleted.
4300 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
4301 (mouse--remap-link-click-p): New function.
4302 (mouse-drag-track): Handle dragging by using temporary Transient
4303 Mark mode, instead of a special overlay.
4304 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
4307 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
4310 2010-07-02 Juri Linkov <juri@jurta.org>
4312 * autoinsert.el (auto-insert-alist): Fix readability
4313 by using dotted pair notation for lambda.
4315 2010-07-02 Juri Linkov <juri@jurta.org>
4317 * faces.el (read-face-name): Rename arg `string-describing-default'
4318 to `default'. Doc fix. Display the default value in quotes
4319 in the prompt. With empty input, return the `default' arg,
4320 unless the default value is a string (in which case return nil).
4321 (describe-face): Replace the string `default' arg of `read-face-name'
4322 with the symbol `default'.
4324 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
4326 * emulation/viper-cmd.el (viper-delete-backward-char)
4327 (viper-del-backward-char-in-insert)
4328 (viper-del-backward-char-in-replace, viper-change)
4329 (viper-backward-indent): Replace delete-backward-char with
4330 delete-char (Bug#6552).
4332 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
4334 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
4336 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4338 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
4339 argument passed to frame-creation-function (Bug#5378).
4341 * faces.el (x-handle-named-frame-geometry)
4342 (x-handle-reverse-video, x-create-frame-with-faces)
4343 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
4344 separately consult default-frame-alist. It is now passed as the
4347 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
4349 * startup.el (command-line): Don't call tool-bar-setup in a
4352 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4354 * ruler-mode.el (ruler--save-header-line-format): New fun.
4355 (ruler-mode): Use it as a setter function, so as not to overwrite
4356 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
4358 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
4360 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
4361 (vc-root-diff, vc-print-root-log, vc-log-incoming)
4362 (vc-log-outgoing): Use it.
4363 (vc-diff-internal): Set diff-vc-backend.
4365 * vc/diff-mode.el (diff-vc-backend): New var.
4367 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
4369 * dynamic-setting.el (font-setting-change-default-font): Remove
4372 2010-06-28 Kenichi Handa <handa@m17n.org>
4374 * international/quail.el (quail-insert-kbd-layout): Fix the
4375 showing of untranslated characters.
4377 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
4379 * simple.el (delete-active-region): New option.
4380 (delete-backward-char): Implement in Lisp.
4381 (delete-forward-char): New command.
4383 * mouse.el (mouse-region-delete-keys): Deleted.
4384 (mouse-show-mark): Simplify.
4386 * bindings.el (global-map): Bind delete and DEL, the former to
4387 delete-forward-char.
4389 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
4391 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
4392 (ruby-mode): Bind indent-line-function (Bug#5119).
4394 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4396 * startup.el (command-line): Recognize "0" X resource value.
4398 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4400 * startup.el (command-line): Use X resources to set the value of
4401 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
4403 * menu-bar.el (menu-bar-mode):
4404 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
4405 Set init-value to t.
4407 * frame.el (frame-notice-user-settings): Don't change
4408 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
4409 vice versa (Bug#2249).
4411 2010-06-26 Eli Zaretskii <eliz@gnu.org>
4413 * w32-fns.el (w32-convert-standard-filename): Doc fix.
4415 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
4417 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
4418 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
4420 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
4421 default directories are expanded (Bug#6143).
4423 2010-06-24 Juri Linkov <juri@jurta.org>
4425 * minibuffer.el (completions-format): Change default from nil to
4426 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
4428 2010-06-24 Juri Linkov <juri@jurta.org>
4430 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
4431 buffer-locally to lambda that re-runs the vc diff command.
4434 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
4436 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
4437 echo area is in use (Bug#3412).
4439 2010-06-22 Glenn Morris <rgm@gnu.org>
4441 * textmodes/texinfmt.el (texinfo-format-region)
4442 (texinfo-raise-lower-sections, texinfo-format-separate-node)
4443 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
4444 (texinfo-format-option, texinfo-noindent):
4445 Use line-beginning-position and line-end-position.
4447 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
4448 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
4449 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
4452 2010-06-21 Karl Fogel <kfogel@red-bean.com>
4454 * play/zone.el (zone-fall-through-ws): Fix next-line ->
4455 forward-line fallout.
4457 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
4459 * mouse.el (mouse-appearance-menu): Add docstring.
4461 * help.el (describe-key): Print up-event using key-description.
4463 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
4465 * net/zeroconf.el (zeroconf-resolve-service)
4466 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
4467 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
4469 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
4471 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
4473 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
4475 Avoid displaying files with a nil state in vc-dir.
4476 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
4477 cases that cause insertion.
4478 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
4481 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4483 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
4485 2010-06-29 Leo <sdl.web@gmail.com>
4487 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
4489 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4491 * generic-x.el (bat-generic-mode): Fix regexp for command line
4492 switches (Bug#5719).
4494 2010-06-27 Masatake YAMATO <yamato@redhat.com>
4496 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
4497 of nconc to avoid pure storage error (Bug#6239).
4499 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
4501 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
4502 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
4503 bindings of bookmark-automatically-show-annotations (Bug#6515).
4505 2010-06-25 Eli Zaretskii <eliz@gnu.org>
4507 * arc-mode.el (archive-zip-extract): Don't quote the file name on
4508 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
4510 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
4512 * comint.el (make-comint, make-comint-in-buffer): Mention return
4513 value in the docstrings. (Bug#6498)
4515 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
4517 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
4518 since it is not present when using some non-default switches.
4520 2010-06-23 Karl Fogel <kfogel@red-bean.com>
4522 * simple.el (compose-mail): Fix doc string to refer to
4523 `compose-mail-user-agent-warnings', instead of to the
4524 nonexistent `compose-mail-check-user-agent'.
4526 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
4528 Fix an indentation bug:
4530 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
4531 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
4534 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
4535 (c-clear->-pair-props-if-match-before): now return t when they've
4536 cleared properties, nil otherwise.
4537 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
4538 by taking account of the existing value.
4540 * progmodes/cc-defs.el
4541 (c-clear-char-property-with-value-function): Fix this to clear the
4542 property rather than overwriting it with nil.
4544 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
4546 * emacs-lisp/package.el (package-print-package): Add link to
4547 package description via describe-package.
4548 (describe-package-1): List package requirements. Add button to
4549 perform installation.
4550 (package-menu-describe-package): New command.
4552 * help-mode.el (help-package): New button type.
4554 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
4556 * emacs-lisp/package.el: Move package-list-packages binding to
4558 (describe-package, describe-package-1, package--dir): New funs.
4559 (package-activate-1): Use package--dir.
4561 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
4563 * help-mode.el (help-package-def): New button type.
4565 * menu-bar.el: Move package-list-packages binding here from
4568 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
4570 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
4572 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4574 * emacs-lisp/edebug.el (edebug-read-list):
4575 Phase out old-style backquotes.
4577 2010-06-17 Juri Linkov <juri@jurta.org>
4579 * help-mode.el (help-mode): Set buffer-local variable
4580 revert-buffer-function to help-mode-revert-buffer.
4581 (help-mode-revert-buffer): New function.
4583 * info.el (Info-revert-find-node): Check for major-mode Info-mode
4584 before popping to "*info*" (like in other Info functions).
4585 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
4586 old-history-forward. Pop to old-buffer-name or "*info*" to
4587 recreate the killed buffer. Set Info-history-forward from
4588 old-history-forward.
4589 (Info-breadcrumbs-depth): Add :group and :version.
4591 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
4593 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
4595 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
4597 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
4598 for languages like Portuguese with pt_{BR,PT} and no plain pt.
4600 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
4602 * emacs-lisp/package.el (package-menu-mode-map):
4603 Move initialization into declaration.
4605 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
4607 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
4609 * emacs-lisp/package.el (package-archive-base): Point to
4611 (package-enable, package-load-list): New defcustoms.
4612 (package-user-dir, package-directory-list): Turn into defcustoms.
4613 Don't include package-user-dir in package-directory-list.
4614 (package--builtins-base): Don't include Emacs as a "package".
4615 (package-subdirectory-regexp): New var.
4616 (package-load-all-descriptors, package-compute-transaction)
4617 (package-download-transaction): Obey package-load-list.
4618 (package-activate-1): Rename from package-do-activate.
4619 (package-list-packages-internal): Check package-load-list.
4620 (package-load-descriptor, package-generate-autoloads)
4621 (package-unpack, package-unpack-single)
4622 (package--read-archive-file, package-delete): Use
4625 * emacs-lisp/package-x.el: New file. Package uploading
4626 functionality split out from package.el.
4628 * startup.el (command-line): Load packages after reading init file.
4630 2010-06-17 Tom Tromey <tromey@redhat.com>
4632 * emacs-lisp/package.el: New file.
4634 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4636 Fix vc-annotate for renamed files when using Git.
4637 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
4638 ls-files. Doe not pass the object as a file name to cat-file, it
4640 (vc-git-annotate-command): Pass the file name using -- to avoid
4641 ambiguity with the revision.
4642 (vc-git-previous-revision): Pass a relative file name.
4644 2010-06-22 Glenn Morris <rgm@gnu.org>
4646 * progmodes/js.el (js-mode-map): Use standard capitalization and
4647 ellipses for menu entries.
4649 * wid-edit.el (widget-complete): Doc fix.
4651 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
4653 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
4655 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4657 Fix annotating other revisions for renamed files in vc-annotate.
4658 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
4659 VC backend. Use it when non-nil.
4660 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
4663 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
4664 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4665 Do not pass the file name to the 'previous-revision call when we
4666 don't want a file diff. (Bug#6489)
4668 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4670 Fix finding revisions for renamed files in vc-annotate.
4671 * vc/vc.el (vc-find-revision): Add an optional argument for
4672 the VC backend. Use it when non-nil.
4673 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
4674 backend to vc-find-revision. (Bug#6487)
4676 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4678 Fix reading file names in Git annotate buffers.
4679 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
4680 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
4682 2010-06-20 Alan Mackenzie <acm@muc.de>
4684 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
4685 in file local variables, set it first.
4687 2010-06-19 Glenn Morris <rgm@gnu.org>
4689 * descr-text.el (describe-char-unicode-data): Insert separating
4690 space when needed. (Bug#6422)
4692 * progmodes/idlwave.el (idlwave-action-and-binding):
4693 Fix typo in 2009-12-03 change. (Bug#6450)
4695 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4697 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
4698 handling for `lambda' (misunderstanding).
4700 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
4702 * calc/calc-poly.el (math-accum-factors): Make sure that
4703 constants aren't distributed after they are factored out.
4705 2010-06-16 Juri Linkov <juri@jurta.org>
4707 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
4708 `list-colors-print'. (Bug#6332)
4710 * subr.el (read-quoted-char): Fix up last change (bug#6290).
4712 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4714 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
4715 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
4717 * font-lock.el (font-lock-major-mode): Rename from
4718 font-lock-mode-major-mode to distinguish it from
4719 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
4720 (font-lock-set-defaults):
4721 * font-core.el (font-lock-default-function): Adjust users.
4722 (font-lock-mode): Don't set it at all.
4724 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4726 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
4728 2010-06-16 Glenn Morris <rgm@gnu.org>
4730 * calendar/appt.el (appt-time-msg-list): Doc fix.
4731 (appt-check): Let-bind appt-warn-time.
4732 (appt-add): Make the 3rd argument optional.
4733 Simplify argument names. Doc fix. Check for integer WARNTIME.
4734 Only add WARNTIME to the output list if non-nil.
4736 2010-06-16 Ivan Kanis <apple@kanis.eu>
4738 * calendar/appt.el (appt-check): Let the 3rd element of
4739 appt-time-msg-list specify the warning time.
4740 (appt-add): Add new argument with the warning time. (Bug#5176)
4742 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4744 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
4745 older than version 1.6. (Bug#6361)
4747 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
4749 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
4750 used by cl-do-arglist. (Bug#6408)
4752 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
4754 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
4755 portuguese casechars/not-casechars for missing 'çÇ'.
4756 Suggested by Rolando Pereira (bug#6434).
4758 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
4760 * facemenu.el (list-colors-sort): Doc fix.
4762 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4764 * progmodes/sql.el (sql-connect-mysql): Fix typo.
4766 2010-06-14 Juri Linkov <juri@jurta.org>
4768 Add sort option `list-colors-sort'. (Bug#6332)
4769 * facemenu.el (color-rgb-to-hsv): New function.
4770 (list-colors-sort): New defcustom.
4771 (list-colors-sort-key): New function.
4772 (list-colors-display): Doc fix. Sort list according to the option
4774 (list-colors-print): Add HSV values to `help-echo' property of
4777 2010-06-14 Juri Linkov <juri@jurta.org>
4779 * compare-w.el: Move to the "vc" subdirectory.
4781 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4783 * image-mode.el (image-mode-map): Remap left-char and right-char.
4785 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
4787 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
4789 * term/common-win.el (x-colors): Add all the color names defined
4790 in rgb.txt (Bug#6332).
4792 * facemenu.el (list-colors-print): Don't print extra names if it
4793 will overflow the window width.
4795 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
4798 2010-06-12 Eli Zaretskii <eliz@gnu.org>
4800 * files.el (make-directory): Doc fix (bug#6396).
4802 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
4804 * net/tramp.el (tramp-remote-process-environment): Protect version
4805 string by apostroph.
4806 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4808 (tramp-file-name-for-operation): Add `call-process-region'.
4809 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4811 * net/tramp-compat.el (top): Do not autoload
4812 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4813 only when `start-file-process' is not bound.
4814 (tramp-advice-file-expand-wildcards): Do not use
4815 `tramp-handle-file-remote-p'.
4816 (tramp-compat-make-temp-file): Handle the case, that
4817 `make-temp-file' has no third argument EXTENSION.
4819 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
4821 * makefile.w32-in (WINS_BASIC): Include new directory vc.
4823 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
4825 2010-06-11 Juri Linkov <juri@jurta.org>
4827 * finder.el (finder-known-keywords): Add keyword "vc"
4828 for version control.
4830 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
4831 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
4832 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
4833 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
4835 2010-06-11 Juri Linkov <juri@jurta.org>
4837 Move version control related files to the "vc" subdirectory.
4838 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
4839 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
4840 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
4841 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
4842 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
4843 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
4844 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
4845 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
4846 Move files to the "vc" subdirectory.
4848 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
4850 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
4853 2010-06-11 Stephen Eglen <stephen@gnu.org>
4855 * shell.el: Bind `shell-resync-dirs' to M-RET.
4857 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
4859 * notifications.el: Move file from lisp/net, because it is
4860 supposed to talk locally to the user.
4862 2010-06-10 Julien Danjou <julien@danjou.info>
4864 * net/notifications.el (notifications-on-action-signal)
4865 (notifications-on-closed-signal): Pass notification id as first
4866 argument to the callback functions. Add docstrings.
4867 (notifications-notify): Fix docstring.
4869 2010-06-10 Glenn Morris <rgm@gnu.org>
4871 * emacs-lisp/authors.el (authors-ignored-files)
4872 (authors-valid-file-names): Add some files.
4874 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4876 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
4877 merge conflict, giving preference to the emacs-23 version of the code.
4879 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4881 * emacs-lisp/advice.el (ad-compile-function):
4882 Define warning-suppress-types before we let-bind it (bug#6275).
4884 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
4885 declare it, make it buffer-local and permanent-local (bug#6324).
4886 (vc-resynch-window): Adjust name.
4887 * vc-hooks.el (vc-find-file-hook): Adjust name.
4889 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
4891 * net/notifications.el (notifications-notify): Fix docstring.
4893 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4895 Update to Unicode 6.0.0 beta.
4896 * international/charprop.el: Update copyright.
4897 * international/mule-cmds.el (ucs-names): Update character ranges.
4898 * international/uni-bidi.el:
4899 * international/uni-category.el:
4900 * international/uni-combining.el:
4901 * international/uni-comment.el:
4902 * international/uni-decimal.el:
4903 * international/uni-decomposition.el:
4904 * international/uni-digit.el:
4905 * international/uni-lowercase.el:
4906 * international/uni-mirrored.el:
4907 * international/uni-name.el:
4908 * international/uni-numeric.el:
4909 * international/uni-old-name.el:
4910 * international/uni-titlecase.el:
4911 * international/uni-uppercase.el: Regenerate.
4913 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4915 * emacs-lisp/smie.el (comment-string-strip): Declare function.
4916 (smie-precs-precedence-table): Fix typo in docstring.
4918 * vc-mtn.el (log-edit-extract-headers): Declare function.
4920 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
4922 * net/notifications.el (dbus-register-signal): Declare function.
4923 (notifications-notify): Fix typos and reflow docstring.
4925 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4927 Improve VC create/retrieve tag/branch.
4928 * vc.el (vc-create-tag): Do not read the directory name for VCs
4929 with repository revision granularity. Adjust the tag/branch
4930 prompt. Reset VC properties.
4931 (vc-retrieve-tag): Do not read the directory name for VCs
4932 with repository revision granularity. Reset VC properties.
4934 2010-06-09 Julien Danjou <julien@danjou.info>
4936 * net/notifications.el: New file.
4938 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4940 Add optional support for resetting VC properties.
4941 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
4942 call vc-file-clearprops when true.
4943 (vc-resynch-buffer): Add new optional argument, pass it down.
4944 (vc-resynch-buffers-in-directory): Likewise.
4946 Improve support for special markup in the VC commit message.
4947 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
4948 * vc-hg.el (vc-hg-checkin): Add support for Date:.
4949 * vc-git.el (vc-git-checkin):
4950 * vc-bzr.el (vc-bzr-checkin): Likewise.
4952 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4954 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
4955 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
4957 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
4959 * iimage.el: Remove images as soon as the underlying text is modified.
4960 (iimage-modification-hook): New function.
4961 (iimage-mode-buffer): Use it.
4963 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4965 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
4966 smie-indent-offset-after. Add :prev case. Make a bit more generic.
4967 (smie-indent-virtual): Remove `virtual' arg. Update callers.
4968 (smie-indent-keyword): Add handling of open-paren keywords.
4969 (smie-indent-comment-continue): Don't assume comment-continue.
4971 2010-06-07 Martin Rudalics <rudalics@gmx.at>
4973 * window.el (pop-to-buffer): Remove the conditional that
4974 compares new-window and old-window, so it will reselect
4975 the selected window unconditionally.
4976 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
4978 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4980 * emacs-lisp/smie.el (smie-indent-offset-after)
4981 (smie-indent-forward-token, smie-indent-backward-token): New functions.
4982 (smie-indent-after-keyword): Use them.
4983 (smie-indent-fixindent): Only applies to the indentation of the BOL.
4984 (smie-indent-keyword): Tweak the black magic.
4985 (smie-indent-comment-continue): Strip comment-continue before use.
4986 (smie-indent-functions): Indent comments before keywords.
4988 2010-06-06 Juri Linkov <juri@jurta.org>
4990 * isearch.el (isearch-lazy-highlight-search): Fix looping
4991 by checking for empty match. This syncs this loop with the
4992 similar loop in `isearch-search'. (Bug#6362)
4994 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
4996 * net/dbus.el (dbus-register-method): Declare function.
4997 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
4998 (dbus-introspect): Doc fix.
4999 (dbus-event-bus-name, dbus-introspect-get-interface)
5000 (dbus-introspect-get-argument): Reflow docstrings.
5002 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
5004 vc-log-incoming/vc-log-outgoing fixes for Git.
5005 * vc-git.el (vc-git-log-view-mode): Fix font lock for
5006 incoming/outgoing logs.
5007 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5008 instead of vc-git-compute-remote.
5009 (vc-git-compute-remote): Remove.
5011 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
5013 * term/common-win.el (x-colors): Add "dark green" and "dark
5014 turquoise" (Bug#6332).
5016 2010-06-04 Juri Linkov <juri@jurta.org>
5018 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5019 Instead of setting `replace' to t and replacing the same string
5020 with itself, don't do certain actions when
5021 kill-do-not-save-duplicates is non-nil and string is equal to car
5022 of kill-ring: don't call menu-bar-update-yank-menu, don't push
5023 interprogram-paste strings to kill-ring, and don't push the input
5024 argument `string' to kill-ring.
5025 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5027 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5029 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5031 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
5033 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5034 (tramp-gvfs-handler-mounted-unmounted)
5035 (tramp-gvfs-connection-mounted-p): Handle default-location.
5037 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5038 move files to trash.
5040 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5042 * international/mule-cmds.el (nonascii-insert-offset)
5043 (nonascii-translation-table): Add obsolescence information.
5045 * international/mule.el (make-translation-table-from-vector): Doc fix.
5047 2010-06-03 Glenn Morris <rgm@gnu.org>
5049 * desktop.el (desktop-clear-preserve-buffers):
5050 Add "*Warnings*" buffer. (Bug#6336)
5052 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
5054 vc-log-incoming/vc-log-outgoing improvements for Git.
5055 * vc-git.el (vc-git-log-outgoing): Use the same format as the
5057 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
5059 Add bindings for vc-log-incoming and vc-log-outgoing.
5060 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5061 and vc-log-outgoing.
5062 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5063 and vc-log-outgoing.
5065 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5067 * net/rcirc.el (rcirc-sort-nicknames): Remove.
5068 (rcirc-handler-366): Always sort nicknames.
5070 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
5072 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5074 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5076 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5078 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5080 * net/rcirc.el (rcirc-sort-nicknames): Change default.
5081 (rcirc-sort-nicknames-join): Avoid setq.
5083 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5085 * net/rcirc.el (rcirc-sort-nicknames): New custom.
5086 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
5087 (rcirc-handler-366): Use them.
5089 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5091 Split smie-indent-calculate into more manageable chunks.
5092 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
5093 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
5094 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
5095 (smie-indent-exps): Extract from smie-indent-calculate.
5096 (smie-indent-functions): New var.
5097 (smie-indent-functions): Use them.
5099 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5101 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
5102 (smie-indent-calculate): Simplify and cleanup.
5104 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
5106 * net/tramp-gvfs.el (top): Require url-util.
5107 (tramp-gvfs-mount-point): Remove.
5108 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
5110 (with-tramp-dbus-call-method): Format trace message.
5111 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5112 Implement backup call, when operation on local files fails.
5113 Use progress reporter. Flush properties of changed files.
5114 (tramp-gvfs-handle-make-directory): Make more traces.
5115 (tramp-gvfs-url-file-name): Hexify file name in url.
5116 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5117 into account for the resulting file name.
5118 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
5119 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
5120 (tramp-gvfs-handler-mounted-unmounted)
5121 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5122 attribute "default_location". Set "prefix" property.
5123 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5124 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5125 exists. Raise an error, if not (due to a corresponding answer
5126 "no" in interactive questions, for example).
5128 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
5130 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
5132 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
5134 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
5137 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
5139 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
5140 * vc-git.el (vc-git-compute-remote): New function.
5141 (vc-git-log-outgoing): Use it instead of hard coding a value.
5142 (vc-git-log-incoming): New function.
5144 Improve state updating for VC tag commands.
5145 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
5146 to update the state of all buffers in the directory.
5148 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
5150 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5152 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
5153 `file-directory-p' to the filename part rather than to the whole text.
5155 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5157 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
5159 2010-05-31 Drew Adams <drew.adams@oracle.com>
5161 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
5163 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
5165 * subr.el (momentary-string-display): Just use read-event to read
5166 the exit event (Bug#6238).
5168 2010-05-30 Eli Zaretskii <eliz@gnu.org>
5170 * international/mule.el (define-coding-system): Doc fix (bug#6313).
5172 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5174 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
5175 Suggested by Eli Zaretskii <eliz@gnu.org>.
5177 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5179 * minibuffer.el (completion-file-name-table): Don't return a boundary
5180 past the end of `string' (bug#6299).
5181 (completion--file-name-table): Delegate to completion-file-name-table
5182 for the `boundaries' case.
5184 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5186 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
5189 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
5190 `path-separator', but maintain compatibility with Emacs 20.2.
5192 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5194 * server.el (server-process-filter): Receive parent-id argument
5196 (server-create-window-system-frame): New arg. Pass parent-id as
5199 2010-05-29 Eli Zaretskii <eliz@gnu.org>
5201 Bidi-sensitive word movement with arrow keys.
5202 * subr.el (right-arrow-command, left-arrow-command): Move to
5205 * bindings.el (right-char, left-char): Move from subr.el and
5206 rename from right-arrow-command and left-arrow-command.
5207 (right-word, left-word): New functions.
5208 (global-map) <right>: Bind to right-char.
5209 (global-map) <left>: Bind to left-char.
5210 (global-map) <C-right>: Bind to right-word.
5211 (global-map) <C-left>: Bind to left-word.
5213 * ls-lisp.el (ls-lisp-classify-file): New function.
5214 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
5215 (ls-lisp-classify): Call ls-lisp-classify-file.
5216 (insert-directory): Remove blanks from switches.
5218 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5220 * ansi-color.el: Delete unused escape sequences (Bug#6085).
5221 (ansi-color-drop-regexp): New constant.
5222 (ansi-color-apply, ansi-color-filter-region)
5223 (ansi-color-apply-on-region): Delete unrecognized control sequences.
5224 (ansi-color-apply): Build string list before calling concat.
5226 2010-05-28 Juri Linkov <juri@jurta.org>
5228 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5229 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
5232 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5234 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
5235 to ignored backtrace functions.
5236 (with-progress-reporter): Expand docstring.
5237 (tramp-handle-delete-file): Implement TRASH argument.
5238 (tramp-get-remote-trash): New defun.
5240 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5242 * net/tramp-compat.el (tramp-compat-delete-file): Use
5243 `symbol-value' for backward compatibility.
5245 * net/tramp.el (tramp-handle-make-symbolic-link)
5247 (tramp-do-copy-or-rename-file-via-buffer)
5248 (tramp-do-copy-or-rename-file-directly)
5249 (tramp-do-copy-or-rename-file-out-of-band)
5250 (tramp-handle-process-file, tramp-handle-call-process-region)
5251 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5252 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5253 (tramp-delete-temp-file-function): Use `delete-file' instead
5254 of `tramp-compat-delete-file'.
5256 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5257 (tramp-fish-handle-make-symbolic-link)
5258 (tramp-fish-handle-process-file): Use `delete-file' instead
5259 of `tramp-compat-delete-file'.
5261 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
5262 `delete-file' instead of `tramp-compat-delete-file'.
5264 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5265 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
5266 `tramp-compat-delete-file'.
5268 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
5269 `delete-file' instead of `tramp-compat-delete-file'.
5271 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5272 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5273 (tramp-smb-handle-write-region): Use `delete-file' instead of
5274 `tramp-compat-delete-file'.
5275 (tramp-smb-handle-delete-directory): Use 'trash as arg.
5277 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5279 * dired.el (dired-delete-file): New arg TRASH.
5280 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
5281 (dired-do-flagged-delete, dired-do-delete): Use trash.
5283 * speedbar.el (speedbar-item-delete): Allow trashing.
5285 * files.el (delete-directory): New arg TRASH.
5287 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
5288 (ange-ftp-rename-remote-to-remote)
5289 (ange-ftp-rename-local-to-remote)
5290 (ange-ftp-rename-remote-to-local, ange-ftp-load)
5291 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
5293 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
5296 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5297 handle new TRASH arg of `delete-file'.
5299 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
5300 (tramp-handle-make-symbolic-link, tramp-handle-load)
5301 (tramp-do-copy-or-rename-file-via-buffer)
5302 (tramp-do-copy-or-rename-file-directly)
5303 (tramp-do-copy-or-rename-file-out-of-band)
5304 (tramp-handle-process-file, tramp-handle-call-process-region)
5305 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5306 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5307 (tramp-delete-temp-file-function): Use null TRASH arg in
5308 tramp-compat-delete-file call.
5310 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5311 (tramp-fish-handle-delete-file)
5312 (tramp-fish-handle-make-symbolic-link)
5313 (tramp-fish-handle-process-file): Use null TRASH arg in
5314 `tramp-compat-delete-file' call.
5316 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
5317 arg in `tramp-compat-delete-file' call.
5319 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5320 (tramp-gvfs-handle-write-region): Use null TRASH arg in
5321 `tramp-compat-delete-file' call.
5323 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
5324 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
5325 `tramp-compat-delete-file' call.
5327 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5328 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5329 (tramp-smb-handle-write-region): Use null TRASH arg in
5330 tramp-compat-delete-file call.
5331 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
5332 (tramp-smb-handle-delete-file): Rename arg.
5334 * diff.el (diff-sentinel):
5335 * epg.el (epg--make-temp-file, epg-decrypt-string)
5336 (epg-verify-string, epg-sign-string, epg-encrypt-string):
5337 * jka-compr.el (jka-compr-partial-uncompress)
5338 (jka-compr-call-process, jka-compr-write-region):
5339 * server.el (server-sentinel): Remove optional arg from
5340 delete-file, reverting 2010-05-03 change.
5342 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5344 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
5345 font-lock-constant-face, not obsolete font-lock-reference-face.
5347 2010-05-27 Kenichi Handa <handa@m17n.org>
5349 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
5350 element of GSTRING is nil.
5352 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5354 * emacs-lisp/smie.el (smie-forward-token-function)
5355 (smie-backward-token-function): New vars.
5356 (smie-backward-sexp, smie-forward-sexp)
5357 (smie-indent-hanging-p, smie-indent-calculate): Use them.
5358 (smie-default-backward-token): Rename from smie-backward-token and
5360 (smie-default-forward-token): Rename from smie-forward-token and
5362 (smie-next-sexp): Handle nil results from next-token.
5363 (smie-indent-calculate): Add a new case for special `fixindent' comments.
5365 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5367 * progmodes/verilog-mode.el (verilog-type-font-keywords):
5368 Use font-lock-constant-face, not obsolete font-lock-reference-face.
5370 2010-05-27 Masatake YAMATO <yamato@redhat.com>
5372 * htmlfontify.el (hfy-face-resolve-face): New function.
5373 (hfy-face-to-style): Use it (Bug#6279).
5375 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5377 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
5378 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
5380 2010-05-26 Glenn Morris <rgm@gnu.org>
5382 * emulation/edt.el (edt-load-keys): Use locate-library.
5384 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
5386 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
5387 (log-edit-changelog-entries): Doc fix.
5388 (log-edit-changelog-insert-entries): Args changed.
5389 Rename relative filenames in ChangeLog entries. Delete tabs.
5390 (log-edit-insert-changelog-entries): Reorganize return value of
5391 `log-edit-changelog-entries' to pass filenames to
5392 log-edit-changelog-insert-entries.
5394 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5396 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
5397 `image-dired-dired-insert-marked-thumbs' to
5398 `image-dired-dired-toggle-marked-thumbs'.
5400 * image-dired.el: Require cl when compiling.
5401 (image-dired-dired-toggle-marked-thumbs): Rename from
5402 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
5403 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
5404 to 'no-dir. Skip files whose names don't match
5405 `image-file-name-regexp'. When file has a thumbnail overlay,
5406 delete it. (Bug#5270)
5408 2010-05-25 Juri Linkov <juri@jurta.org>
5410 * image-mode.el (image-mode): Add image-after-revert-hook to
5412 (image-after-revert-hook): New function. (Bug#5669)
5414 2010-05-25 Juri Linkov <juri@jurta.org>
5416 * image.el (image-animated-p): When delay between animated images
5417 is 0, set it to 10 (0.1 sec). (Bug#6258)
5419 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5421 * net/tramp.el (tramp-handle-insert-directory): Don't use
5422 `forward-word', its default syntax could be changed.
5424 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
5426 * net/tramp.el (tramp-progress-reporter-update): New defun.
5427 (with-progress-reporter): Use it.
5428 (tramp-process-actions):
5429 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
5430 current message, in order to let progress reporter continue
5431 afterwards. (Bug#6257)
5433 2010-05-25 Glenn Morris <rgm@gnu.org>
5435 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
5438 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5440 * net/rcirc.el (rcirc-default-user-name): Change to "user".
5441 (rcirc-default-full-name): Change to "unknown".
5442 (rcirc-user-name-history): Add variable.
5444 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5445 Jonathan Rockway <jon@jrock.us>
5447 * net/rcirc.el (rcirc-server-alist): Add :pass.
5448 (rcirc): When prompting for connection parameters, also prompt for
5449 username and password.
5450 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
5451 value to server when connecting.
5453 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5455 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
5456 (smie-merge-prec2s): Pass the tables as separate args.
5457 (smie-bnf-precedence-table): Adjust call accordingly.
5458 (smie-prec2-levels): Set levels at the end.
5460 Replace Lisp calls to delete-backward-char by delete-char.
5461 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
5462 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
5463 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
5464 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
5465 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
5466 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
5467 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
5468 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
5469 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
5470 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
5471 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
5472 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
5473 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
5474 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
5475 delete-backward-char by calls to delete-char.
5477 2010-05-25 Kenichi Handa <handa@m17n.org>
5479 * language/hebrew.el (hebrew-shape-gstring): New function.
5480 Register it in composition-function-table for all Hebrew combining
5483 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5485 * epa.el (epa--select-keys): Don't explicitly delete the window since
5486 that can fail (e.g. sole window in frame). Use dedication instead.
5488 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
5490 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
5492 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
5494 * image.el (image-refresh): Define as an alias for image-flush.
5496 * image-mode.el (image-toggle-display-image): Caller changed.
5498 2010-05-21 Juri Linkov <juri@jurta.org>
5500 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
5501 Remove "all" from grep-files-aliases. Split grep-files-aliases by
5502 whitespace, call wildcard-to-regexp on substrings and concat them
5503 with "\\|". (Bug#6114)
5505 2010-05-21 Alan Mackenzie <acm@muc.de>
5507 * progmodes/cc-engine.el (c-parse-state-get-strategy):
5508 Replace parameter `here' with `here-' and `here-plus', which sandwich
5509 any pertinent CPP construct.
5510 (c-remove-stale-state-cache-backwards): Fix a bug which happens
5511 when doing (c-parse-state) in a CPP construct: Exclude any "new"
5512 CPP construct from taking part in the scanning.
5514 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
5516 * net/tramp.el (tramp-do-copy-or-rename-file)
5517 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
5518 Tune `with-progress-reporter' messages.
5519 (tramp-handle-vc-registered):
5520 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
5521 (tramp-fish-handle-insert-file-contents)
5522 (tramp-fish-maybe-open-connection):
5523 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5524 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
5525 (tramp-imap-handle-insert-file-contents)
5526 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5528 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
5530 * add-log.el (change-log-font-lock-keywords):
5531 Highlight all authors in multi-author entries.
5533 * smerge-mode.el (smerge-refine-ignore-whitespace)
5534 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
5535 Fix typos in docstrings.
5536 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
5538 2010-05-21 Glenn Morris <rgm@gnu.org>
5540 * progmodes/fortran.el (fortran-mode):
5541 * progmodes/f90.el (f90-mode): Derive from prog-mode.
5543 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
5544 having a relative path in src/Makefile.in.
5546 2010-05-20 Kevin Ryde <user42@zip.com.au>
5548 * help-mode.el (help-make-xrefs): For Info node links turn
5549 newlines into spaces. Link node names with newlines are matched
5550 by help-xref-info-regexp and buttonized, this change ensures they
5551 can be followed successfully with RET. (Bug#6206)
5553 2010-05-20 Juri Linkov <juri@jurta.org>
5555 * locate.el (locate): Use pop-to-buffer instead of
5556 switch-to-buffer-other-window. (Bug#6204)
5558 2010-05-20 Juri Linkov <juri@jurta.org>
5560 * replace.el (replace-highlight): Fix lazy-highlighting
5561 for `M-s w str M-% str RET'.
5563 2009-12-15 Masatake YAMATO <yamato@redhat.com>
5565 * isearch.el (isearch-yank-word-or-char): Pull next subword
5566 when `subword-mode' is activated. (Bug#6220)
5568 2010-05-20 Mark A. Hershberger <mah@everybody.org>
5570 * isearch.el (isearch-update-post-hook): New hook.
5571 (isearch-update): Use the new hook. (Bug#6225)
5573 2010-05-20 Juri Linkov <juri@jurta.org>
5575 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
5576 [f1], [help], and (char-to-string help-char) instead of "\C-h".
5579 2010-05-20 Juri Linkov <juri@jurta.org>
5581 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
5584 2010-05-20 Juri Linkov <juri@jurta.org>
5586 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
5587 FILE-NAME to read from the minibuffer when called interactively
5588 with prefix argument instead of using buffer-file-name.
5589 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
5591 * dired.el: Update autoloads.
5593 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
5595 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
5596 nxml-finish-element, for consistency with SGML mode.
5598 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
5601 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
5603 * composite.el: Require cl when compiling.
5604 (reference-point-alist, compose-gstring-for-graphic)
5605 (compose-gstring-for-terminal): Fix typos in docstrings.
5607 2010-05-19 Juri Linkov <juri@jurta.org>
5609 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
5610 set-window-parameter.
5612 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5614 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
5616 (tramp-maybe-open-connection): Use it.
5618 2010-05-19 Eli Zaretskii <eliz@gnu.org>
5620 * simple.el (move-end-of-line): Make sure we are at line beginning
5621 before backing up to end of previous line.
5623 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5625 * password-cache.el (password-cache-remove): Fix docstring.
5627 * net/secrets.el: Autoload the widget functions.
5628 (secrets-search-items, secrets-create-item)
5629 (secrets-get-attributes, secrets-expand-item): Attributes will be
5630 stored on the password database without leading ":", as all other
5632 (secrets-mode): Fix docstring.
5633 (secrets-show-secrets): Provide it as autoloaded command only when
5634 D-Bus support is available. Check existence of Secret Service API.
5636 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5638 * indent.el (indent-region): Deactivate region (bug#6200).
5640 2010-05-19 Glenn Morris <rgm@gnu.org>
5642 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
5644 2010-05-19 Kenichi Handa <handa@m17n.org>
5646 * composite.el: Register compose-gstring-for-graphic in
5647 composition-function-table only for combining characters (Mn, Mc, Me).
5649 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
5651 * calc/calc-trail.el (calc-trail-isearch-forward)
5652 (calc-trail-isearch-backward): Ensure that the new window
5653 point is set correctly.
5655 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5657 * subr.el (read-quoted-char): Resolve modifiers after key
5658 remapping (bug#6212).
5660 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
5662 Add visualization code for secrets.
5663 * net/secrets.el (secrets-mode): New major mode.
5664 (secrets-show-secrets, secrets-show-collections)
5665 (secrets-expand-collection, secrets-expand-item)
5666 (secrets-tree-widget-after-toggle-function)
5667 (secrets-tree-widget-show-password): New defuns.
5669 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5671 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
5672 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
5673 handled in smie-next-sexp.
5674 (smie-indent-calculate): Provide a starting indentation (so the
5675 recursion is well-founded ;-).
5677 Fix handling of non-associative equal levels.
5678 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
5679 when it's not needed.
5680 (smie-op-left, smie-op-right): New functions.
5681 (smie-next-sexp): New function, extracted from smie-backward-sexp.
5682 Better handle equal levels to distinguish the associative case from
5683 the "multi-keyword construct" case.
5684 (smie-backward-sexp, smie-forward-sexp): Use it.
5686 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
5688 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
5690 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
5691 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
5693 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5695 Provide a simple generic indentation engine and use it for Prolog.
5696 * emacs-lisp/smie.el: New file.
5697 * progmodes/prolog.el (prolog-smie-op-levels)
5698 (prolog-smie-indent-rules): New var.
5699 (prolog-mode-variables): Use them to configure SMIE.
5700 (prolog-indent-line, prolog-indent-level): Remove.
5702 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5704 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
5705 order before computing the averages.
5707 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
5709 * calc/calc-vec.el (calc-histogram):
5710 (calcFunc-histogram): Allow vectors as inputs.
5711 (math-vector-avg): New function.
5713 * calc/calc-ext.el (math-group-float): Have the number of digits
5714 being grouped depend on the radix (Bug#6189).
5716 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
5718 * version.el (emacs-copyright, emacs-version): Don't define here,
5719 now that emacs.c defines it.
5721 2010-05-15 Eli Zaretskii <eliz@gnu.org>
5723 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
5724 "Describe Language Environment" menu item.
5726 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
5728 Bidi-sensitive movement with arrow keys.
5729 * subr.el (right-arrow-command, left-arrow-command): New functions.
5731 * bindings.el (global-map): Bind them to right and left arrow keys.
5733 Don't override standard definition of convert-standard-filename.
5734 * files.el (convert-standard-filename): Call
5735 w32-convert-standard-filename and dos-convert-standard-filename on
5736 the corresponding systems.
5738 * w32-fns.el (w32-convert-standard-filename): Rename from
5739 convert-standard-filename. Doc fix.
5741 * dos-fns.el (dos-convert-standard-filename): Doc fix.
5742 (convert-standard-filename): Don't defalias.
5743 (register-name-alist, make-register, register-value)
5744 (set-register-value, intdos): Obsolete aliases for the
5745 corresponding dos-* functions and variables.
5746 (dos-intdos): Add a doc string.
5748 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
5750 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
5751 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
5752 (math-compose-tex-func):
5753 * calc/calccomp.el (math-compose-expr):
5754 * calc/calc-ext.el (math-format-flat-expr-fancy):
5755 * calc/calc-store.el (calc-read-var-name):
5756 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
5758 * calc/calc.el (var-π, var-φ, var-γ): New variables.
5759 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
5760 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
5761 (math-standard-units): Add units.
5763 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5765 * progmodes/asm-mode.el (asm-mode):
5766 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
5768 * pcomplete.el (pcomplete-completions-at-point): New function,
5769 extracted from pcomplete-std-complete.
5770 (pcomplete-std-complete): Use it.
5772 2010-05-15 Glenn Morris <rgm@gnu.org>
5774 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5775 Remove references to CVS, RCS and Old directories.
5777 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
5779 * calc/calc-bin.el (math-format-twos-complement): Group digits when
5782 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5784 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
5785 (sh-mode-syntax-table): Give it a default value instead.
5786 (sh-header-marker): Make buffer-local.
5787 (sh-mode): Move make-local-variable to the corresponding setq.
5788 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
5789 Use complete-with-action.
5791 * simple.el (prog-mode): New (abstract) major mode.
5792 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
5793 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
5795 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
5797 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
5798 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
5799 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
5800 (sql-make-alternate-buffer-name, sql-placeholders-filter)
5801 (sql-escape-newlines-filter, sql-input-sender)
5802 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
5804 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
5806 Add TeX open-block and close-block keybindings to SGML, and vice versa.
5808 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
5809 latex-open-block and C-c / to latex-close-block.
5811 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
5812 and C-c C-e to sgml-close-tag.
5814 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
5816 * net/tramp.el (with-progress-reporter): Create reporter object
5817 only when the message would be displayed. Handle nested calls.
5818 (tramp-handle-load, tramp-handle-file-local-copy)
5819 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5820 (tramp-maybe-send-script, tramp-find-shell):
5821 Use `with-progress-reporter'.
5822 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
5825 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5826 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5827 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5828 Use `with-progress-reporter'.
5830 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
5832 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
5833 process everytime when spellchecking from the minibuffer (bug#6143).
5835 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5837 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
5839 * dos-fns.el: Add "dos-" prefix for namespace control.
5840 (convert-standard-filename): Define as alias for
5841 dos-convert-standard-filename but only if applicable.
5843 2010-05-12 Alan Mackenzie <acm@muc.de>
5845 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
5846 Push the mark at the start of these functions when appropriate.
5848 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5850 * minibuffer.el (completion-cycle-threshold): New custom var.
5851 (completion--do-completion): Use it.
5852 (minibuffer-complete): Use cycling if appropriate.
5854 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
5856 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
5857 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
5859 2010-05-11 Juri Linkov <juri@jurta.org>
5861 * scroll-all.el (scroll-all-check-to-scroll):
5862 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
5864 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5866 * iimage.el (iimage-mode-map): Move initialization into declaration.
5867 (iimage-mode-buffer): Use with-silent-modifications.
5868 Simplify calling convention. Adjust callers.
5869 (iimage-mode): Don't run hook redundantly.
5871 * minibuffer.el (completion-pcm--pattern->regex):
5872 Fix last change (bug#6160).
5874 2010-05-10 Juri Linkov <juri@jurta.org>
5876 Remove nodes visited during Isearch from the Info history.
5877 * info.el (Info-isearch-initial-history)
5878 (Info-isearch-initial-history-list): New variables.
5879 (Info-isearch-start): Record initial values of
5880 Info-isearch-initial-history and Info-isearch-initial-history-list.
5881 Add Info-isearch-end to isearch-mode-end-hook.
5882 (Info-isearch-end): New function.
5884 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
5886 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
5887 format string, in order to work around a bug in pdksh.
5888 Reported by Gilles Pion <gpion@lfdj.com>.
5889 (tramp-handle-verify-visited-file-modtime): Do not send a command
5890 when the connection is not established.
5891 (tramp-handle-set-file-times): Simplify the check for utc.
5893 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
5895 Fix use of `filter-buffer-substring' (rework previous change).
5896 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
5897 (cua-repeat-replace-region):
5898 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
5899 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5900 (cua-cut-region-to-global-mark): Use it.
5902 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
5904 * progmodes/sql.el: Version 2.1.
5905 (sql-product-alist): Redesign structure of product info.
5906 (sql-product, sql-user, sql-server, sql-database): Safe variables.
5907 (sql-port, sql-port-history): New variables.
5908 (sql-interactive-product): New variable.
5909 (sql-send-terminator): New variable.
5910 (sql-imenu-generic-expression): Add "Types" imenu entry.
5911 (sql-oracle-login-params, sql-sqlite-login-params)
5912 (sql-mysql-login-params, sql-solid-login-params)
5913 (sql-sybase-login-params, sql-informix-login-params)
5914 (sql-ingres-login-params, sql-ms-login-params)
5915 (sql-postgres-login-params, sql-interbase-login-params)
5916 (sql-db2-login-params, sql-linter-login-params)
5917 (sql-oracle-scan-on): New variables.
5918 (sql-mode-map): Add C-c C-i to start interactive mode.
5919 (sql-mode-menu): Update existing menu entries.
5920 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
5921 (sql-mode-oracle-font-lock-keywords)
5922 (sql-mode-postgres-font-lock-keywords)
5923 (sql-mode-ms-font-lock-keywords)
5924 (sql-mode-sybase-font-lock-keywords)
5925 (sql-mode-informix-font-lock-keywords)
5926 (sql-mode-interbase-font-lock-keywords)
5927 (sql-mode-ingres-font-lock-keywords)
5928 (sql-mode-solid-font-lock-keywords)
5929 (sql-mode-mysql-font-lock-keywords)
5930 (sql-mode-sqlite-font-lock-keywords)
5931 (sql-mode-db2-font-lock-keywords)
5932 (sql-mode-linter-font-lock-keywords): Update initialization to
5933 reduce run-time complexity.
5934 (sql-add-product, sql-del-product): New functions.
5935 (sql-set-product-feature, sql-get-product-feature): New functions.
5936 (sql-product-font-lock): Update product API.
5937 (sql-add-product-keywords): New function.
5938 (sql-highlight-product): Update product API.
5939 (sql-help-list-products): New function.
5940 (sql-help): Dynamically lists free and non-free products.
5941 (sql-get-login): Correct bug in handling history and added
5943 (sql-copy-column): Copy without properties.
5944 (sqli-input-sender): Apply filters to SQLi input.
5945 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
5946 Implement as a filter.
5947 (sql-escape-newlines-filter): Implement as a filter.
5948 (sql-remove-tabs-filter): New function.
5949 (sql-send-magic-terminator): New function.
5950 (sql-send-string): Implement magic terminator.
5951 (sql-send-region): Use `sql-send-string'.
5952 (sql-interactive-mode): Use product API.
5953 (sql-product-interactive): Use product API.
5954 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5955 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5956 (sql-db2, sql-linter): Use `sql-product-interactive'.
5957 (sql-connect): New function.
5958 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
5959 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
5960 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
5961 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
5964 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5966 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5967 New custom variable.
5968 (completion-pcm--string->pattern): Use it.
5969 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
5970 Make it handle any symbol as `any'.
5971 (completion-pcm--merge-completions): Extract common suffix for the new
5972 `prefix' symbol as well.
5973 (completion-substring--all-completions): Use the new `prefix' symbol.
5975 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
5977 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
5979 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5980 (tramp-compat-funcall): New defmacro.
5981 (tramp-compat-line-beginning-position)
5982 (tramp-compat-line-end-position)
5983 (tramp-compat-temporary-file-directory)
5984 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5985 (tramp-compat-copy-file, tramp-compat-copy-directory)
5986 (tramp-compat-delete-file, tramp-compat-delete-directory)
5987 (tramp-compat-number-sequence, tramp-compat-process-running-p)
5988 * net/tramp.el (top, with-progress-reporter)
5989 (tramp-rfn-eshadow-setup-minibuffer)
5990 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5991 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5992 (tramp-completion-mode-p, tramp-check-for-regexp)
5993 (tramp-open-connection-setup-interactive-shell)
5994 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5995 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5996 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
5997 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5998 (tramp-reporter-dump-variable, tramp-load-report-modules)
5999 (tramp-append-tramp-buffers)
6000 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6002 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6004 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6006 * progmodes/compile.el (compilation-buffer-modtime): Rename from
6007 buffer-modtime. Adjust users.
6009 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6011 * international/mule.el (auto-coding-alist): Only purecopy
6012 car of each item, not the whole list (Bug#6083).
6014 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6016 * progmodes/js.el (js-mode): Make paragraph variables local before
6017 calling c-setup-paragraph-variables (Bug#6071).
6019 2010-05-08 Eli Zaretskii <eliz@gnu.org>
6021 * composite.el (compose-region, reference-point-alist): Fix typos
6024 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6026 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6027 gnuplot's "set" command.
6029 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6031 * abbrev.el (last-abbrev-text): Doc fix.
6032 (abbrev-prefix-mark): Don't escape parenthesis.
6034 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
6036 * composite.el (find-composition): Doc fix.
6038 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6040 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6041 (sql-oracle-program, sql-sqlite-options)
6042 (sql-query-placeholders-and-send): Doc fixes.
6043 (sql-set-product, sql-interactive-mode): Reflow docstrings.
6044 (sql-imenu-generic-expression, sql-buffer)
6045 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6046 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6047 (sql-mode-sybase-font-lock-keywords)
6048 (sql-mode-informix-font-lock-keywords)
6049 (sql-mode-interbase-font-lock-keywords)
6050 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6051 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6052 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6053 (sql-product-feature, sql-highlight-product)
6054 (comint-line-beginning-position, sql-rename-buffer)
6055 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6056 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6057 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6058 Fix typos in docstrings.
6060 2010-05-08 Juri Linkov <juri@jurta.org>
6062 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6063 property instead of `invisible' and `after-string' (bug#5998).
6065 2010-05-08 Juri Linkov <juri@jurta.org>
6067 * image-mode.el (image-mode-as-text): Fix typo in docstring.
6069 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6071 * filecache.el (file-cache-add-directory-list)
6072 (file-cache-add-directory-recursively): Fix typos in docstrings.
6074 2010-05-08 Kenichi Handa <handa@m17n.org>
6076 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6077 (gujarati-composable-pattern): Fix typo.
6079 2010-05-08 Kenichi Handa <handa@m17n.org>
6081 * language/indian.el (oriya-composable-pattern)
6082 (tamil-composable-pattern, malayalam-composable-pattern):
6083 Add two-part vowels to "v" (vowel sign).
6085 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6087 * files.el (copy-directory): Handle symlinks (Bug#5982).
6089 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
6091 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
6092 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
6095 2010-05-08 Glenn Morris <rgm@gnu.org>
6097 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
6099 * minibuffer.el (completion-at-point): Doc fix.
6101 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6103 * electric.el (Electric-command-loop): Minor tweak.
6105 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
6106 better with dedicated windows.
6108 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
6110 * Version 23.2 released.
6112 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
6113 Stefan Monnier <monnier@iro.umontreal.ca>
6115 Highlight vendor specific properties.
6116 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
6117 (css-proprietary-property): New face.
6118 (css-font-lock-keywords): Use them.
6120 2010-05-07 Eli Zaretskii <eliz@gnu.org>
6122 * cus-start.el (all): Add native condition for tool-bar-* symbols.
6124 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6126 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
6127 * files.el (auto-mode-alist): Remove redundant entries.
6129 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
6130 * simple.el (auto-save-mode): Move from files.el.
6131 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
6133 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
6135 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
6137 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
6139 * mail/binhex.el (binhex-decode-region-internal)
6140 * mail/uudecode.el (uudecode-decode-region-internal)
6141 * net/dns.el (dns-read-string-name, dns-write, dns-read)
6142 (dns-read-type, dns-query)
6143 * pgg-parse.el (pgg-parse-armor)
6144 * pgg.el (pgg-verify-region)
6145 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
6148 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
6150 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
6152 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
6154 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
6155 * emulation/cua-base.el (cua-repeat-replace-region):
6156 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6157 (cua-cut-region-to-global-mark):
6158 Remove text properties with `set-text-properties'.
6160 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
6162 * net/tramp.el (top, with-progress-reporter):
6163 Use `symbol-function' inside `funcall'.
6165 * net/tramp-compat.el (tramp-compat-file-attributes)
6166 (tramp-compat-delete-file, tramp-compat-delete-directory):
6167 Handle only `wrong-number-of-arguments' error.
6169 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
6170 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
6173 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6175 * minibuffer.el (completion--sreverse, completion--common-suffix):
6177 (completion-pcm--merge-completions): Extract common suffix when safe.
6179 * emacs-lisp/easy-mmode.el (define-minor-mode):
6180 Make :variable more flexible.
6181 * files.el (auto-save-mode): Use it to define using define-minor-mode.
6183 2010-05-05 Juri Linkov <juri@jurta.org>
6185 Add `slow' and `history' tags to the desktop data.
6187 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
6188 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
6189 (Info-finder-find-node): Require `finder.el' to be able
6190 to restore node from the desktop.
6191 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
6192 data `Info-history' and `slow' tag in the assoc list.
6193 (Info-restore-desktop-buffer): Don't restore nodes with the
6194 `slow' tag. Restore `Info-history'.
6196 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
6198 Add FORCE argument to `delete-file'.
6200 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
6201 forcing to delete the temporary file.
6202 (ange-ftp-delete-file): Add FORCE arg.
6203 (ange-ftp-rename-remote-to-remote)
6204 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
6205 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
6206 Force file deletion.
6208 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
6210 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
6211 (tramp-handle-make-symbolic-link, tramp-handle-load)
6212 (tramp-do-copy-or-rename-file-via-buffer)
6213 (tramp-do-copy-or-rename-file-directly)
6214 (tramp-do-copy-or-rename-file-out-of-band)
6215 (tramp-handle-process-file, tramp-handle-call-process-region)
6216 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6217 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6218 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
6220 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
6221 (tramp-fish-handle-make-symbolic-link)
6222 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
6224 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6225 Use `tramp-compat-delete-file'.
6227 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
6228 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
6230 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
6231 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
6233 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
6234 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
6235 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
6236 `tramp-compat-delete-file'.
6238 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6241 * subr.el (add-minor-mode): Use push.
6242 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
6243 * emulation/edt.el (edt-select-mode): Simplify.
6245 Use define-minor-mode in more cases.
6246 * term/tvi970.el (tvi970-set-keypad-mode):
6247 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6248 (normal-erase-is-backspace-mode):
6249 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
6250 (set-scroll-bar-mode-1): (Re)move to its sole caller.
6251 (get-scroll-bar-mode): New function.
6252 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
6254 Use define-minor-mode for less obvious cases.
6255 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
6256 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
6257 * international/iso-ascii.el (iso-ascii-mode):
6258 * frame.el (auto-raise-mode, auto-lower-mode):
6259 * composite.el (global-auto-composition-mode): Use define-minor-mode.
6261 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
6263 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
6264 in order to see error messages for failed logins.
6266 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
6268 * diff.el (diff-sentinel):
6270 * epg.el (epg--make-temp-file, epg-decrypt-string)
6271 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6273 * jka-compr.el (jka-compr-partial-uncompress)
6274 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
6276 * server.el (server-sentinel): Use delete-file's new FORCE arg
6279 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6281 Use define-minor-mode where applicable.
6282 * view.el (view-mode):
6283 * type-break.el (type-break-query-mode)
6284 (type-break-mode-line-message-mode):
6285 * textmodes/reftex.el (reftex-mode):
6286 * term/vt100.el (vt100-wide-mode):
6287 * tar-mode.el (tar-subfile-mode):
6288 * savehist.el (savehist-mode):
6289 * ibuf-ext.el (ibuffer-auto-mode):
6290 * composite.el (auto-composition-mode):
6291 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6292 Use define-minor-mode.
6293 (vhdl-mode): Use static mode-line format.
6294 (vhdl-mode-line-update): Delete.
6295 (vhdl-create-mode-menu, vhdl-activate-customizations)
6296 (vhdl-hs-minor-mode): Don't bother calling it.
6298 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6300 * simple.el (with-wrapper-hook): Move.
6301 (buffer-substring-filters): Mark obsolete.
6302 (filter-buffer-substring-functions): New variable.
6303 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
6305 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6306 Michael Albinus <michael.albinus@gmx.de>
6308 Implement compression for inline methods.
6310 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6311 (tramp-copy-size-limit): Allow also nil.
6312 (tramp-inline-compress-commands): New defconst.
6313 (tramp-find-inline-compress, tramp-get-inline-compress)
6314 (tramp-get-inline-coding): New defuns.
6315 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6316 replaced by `tramp-get-inline-coding'.
6317 (tramp-handle-file-local-copy, tramp-handle-write-region)
6318 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6320 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6322 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
6323 Remove unused functions.
6325 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
6326 Set find-tag-default-function as a variable rather than a property.
6328 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
6329 * progmodes/etags.el (tags-completion-at-point-function):
6330 Remove left over interactive spec. Add autoloading stub.
6331 (complete-tag): Use tags-completion-at-point-function.
6333 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
6335 * minibuffer.el (tags-completion-at-point-function): Fix return value.
6337 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
6339 * ido.el (ido-init-completion-maps): Remove C-v binding.
6340 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
6342 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
6344 * minibuffer.el (tags-completion-at-point-function): New function.
6345 (completion-at-point-functions): Use it.
6347 * progmodes/etags.el (complete-tag): Revert last change.
6349 2010-04-29 Alan Mackenzie <acm@muc.de>
6351 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
6352 off-by-one error (in end of macro position).
6354 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6356 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
6357 firefox is absent. Don't autoload.
6358 (browse-url-galeon-program): Don't autoload.
6360 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6362 * bindings.el (complete-symbol): Move into minibuffer.el.
6364 * minibuffer.el (complete-tag): Move from etags.el. If tags
6365 completion cannot be performed, return nil instead of signalling
6367 (completion-at-point): Make it an alias for complete-symbol.
6368 (complete-symbol): Move from bindings.el, and replace with the
6369 body of completion-at-point.
6371 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
6373 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
6375 * net/tramp.el (tramp-remote-selinux-p): New defun.
6376 (tramp-handle-file-selinux-context)
6377 (tramp-handle-set-file-selinux-context): Use it.
6379 2010-04-28 Sam Steingold <sds@gnu.org>
6381 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6382 `safe-local-variable' if the value is a string or a symbol with
6383 the property `bug-reference-url-format'.
6385 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6387 * progmodes/bug-reference.el (bug-reference-url-format):
6388 Revert 2010-04-27 change due to security risk.
6390 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6392 Make it possible to locally disable a globally enabled mode.
6393 * simple.el (fundamental-mode): Run fundamental-mode-hook.
6394 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
6395 rather than kill-all-local-variables so it runs fundamental-mode-hook.
6396 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6397 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
6398 that subsequent hooks get a chance to disable it.
6400 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6402 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6403 Avoid re-enabling a minor mode after the user turned the minor mode
6404 off if MODE-enable-in-buffers is run twice (typically once from
6405 fundamental-mode's after-change-major-mode-hook and a second time from
6406 run-mode-hook's own after-change-major-mode-hook).
6408 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
6410 2010-04-27 Sam Steingold <sds@gnu.org>
6412 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6413 `safe-local-variable' if the value is a string or a function, as
6414 documented and implemented on 2010-04-02.
6416 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
6418 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
6419 when method is 'kill.
6421 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
6423 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
6424 condition in default directory check.
6425 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
6426 Kill ispell process when killing its associated buffer.
6428 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
6430 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
6431 but we aren't using it.
6433 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
6435 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
6436 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
6438 2010-04-24 Glenn Morris <rgm@gnu.org>
6440 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
6441 Ignore VCS-ignore files, and deleted nextstep preferences files.
6442 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
6443 (authors-ambiguous-files): New list.
6444 (authors-valid-file-names): Add some deleted files.
6445 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
6446 (authors-disambiguate-file-name): New function. (Bug#5501)
6447 (authors-canonical-file-name): Doc fix.
6448 Don't warn about obsolete files.
6449 (authors-canonical-file-name, authors-scan-el):
6450 Use authors-disambiguate-file-name.
6452 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6453 Add autoload cookies.
6454 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
6455 (generated-autoload-file): Set file-local value to "htmlfontify.el".
6456 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
6457 They have definitions / compiler macros in cl.el.
6458 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6459 Replace manual autoloads with generated ones.
6460 (htmlfontify-unload-rgb-file): Remove autoload.
6461 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
6463 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6465 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
6466 (byte-compile-setq-default): Optimize for the
6467 single-var case and don't call byte-compile-form in this case to avoid
6468 inf-loop with byte-compile-set-default.
6470 * progmodes/compile.el (compilation-start): Abbreviate default directory.
6472 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
6474 Implement SELINUX backends.
6476 * net/tramp.el (tramp-file-name-handler-alist):
6477 Add `file-selinux-context' and `set-file-selinux-context'.
6478 (tramp-handle-file-selinux-context)
6479 (tramp-handle-set-file-selinux-context): New defuns.
6480 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6481 Handle PRESERVE-SELINUX-CONTEXT.
6483 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6484 Add `file-selinux-context' and `set-file-selinux-context'.
6485 (tramp-gvfs-handle-file-selinux-context)
6486 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6487 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6489 * net/ange-ftp.el (ange-ftp-copy-file):
6490 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6491 * net/tramp-imap.el (tramp-imap-handle-copy-file):
6492 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6493 Add PRESERVE-SELINUX-CONTEXT.
6495 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6497 Synchronize with Tramp repository.
6499 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
6500 (tramp-action-process-alive, tramp-action-out-of-band)
6501 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6502 (tramp-exists-file-name-handler): Fix docstring.
6503 (with-progress-reporter): New defmacro.
6504 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
6505 (tramp-maybe-open-connection): Use it.
6507 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
6509 Detect ssh 'ControlMaster' argument automatically in some cases.
6511 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6512 (tramp-default-method): Use it.
6514 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6516 * net/tramp.el (tramp-handle-copy-file): Add new optional
6517 parameter `preserve-selinux-context'.
6518 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
6520 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6522 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
6523 Ensure, that non remote files are still checked. Oops.
6525 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
6529 * icomplete.el (icomplete-completions): Use `non-essential'.
6531 * net/tramp.el (tramp-connectable-p): New defun.
6532 (tramp-handle-expand-file-name)
6533 (tramp-completion-handle-file-name-all-completions)
6534 (tramp-completion-handle-file-name-completion): Use it.
6536 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6538 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
6540 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
6542 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
6544 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
6546 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
6549 * info.el (info-tool-bar-map): Add labels.
6551 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
6553 * cus-edit.el (custom-commands): Add labels for tool bar.
6554 (custom-buffer-create-internal, Custom-mode): Adjust for
6555 labels in custom-commands.
6557 * dynamic-setting.el: Renamed from font-setting.el.
6559 2010-04-21 John Wiegley <jwiegley@gmail.com>
6561 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
6562 toggles the use of virtual buffers.
6563 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
6564 (ido-toggle-virtual-buffers): New function.
6566 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
6568 Use `define-derived-mode'; fix window selection; doc fixes.
6569 * play/tetris.el (tetris, tetris-update-speed-function)
6570 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
6571 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
6572 (tetris-rotate-next, tetris-end-game, tetris-start-game)
6573 (tetris-pause-game): Fix typos in docstrings.
6574 (tetris-mode-map, tetris-null-map):
6575 Move initialization into declaration.
6576 (tetris-mode): Define with `define-derived-mode';
6577 set show-trailing-whitespace to nil.
6578 (tetris): Prefer window already displaying the "*Tetris*" buffer.
6580 2010-04-21 Karel Klíč <kklic@redhat.com>
6582 * files.el (backup-buffer): Handle SELinux context, and return it
6583 if a backup was made by renaming.
6584 (backup-buffer-copy): Set SELinux context to the target file.
6585 (basic-save-buffer): Set SELinux context of the newly written file.
6586 (basic-save-buffer-1): Now it also returns any SELinux context.
6587 (basic-save-buffer-2): Set SELinux context of the newly created file,
6589 * net/tramp.el (tramp-file-name-for-operation):
6590 Add file-selinux-context.
6592 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6594 Make the log-edit comments use RFC822 format throughout.
6596 * vc.el (vc-checkin, vc-modify-change-comment):
6597 Adjust to new vc-start/finish-logentry.
6598 (vc-find-conflicted-file): New command.
6599 (vc-transfer-file): Adjust to new vc-checkin.
6600 (vc-next-action): Improve scoping.
6602 * vc-hg.el (vc-hg-log-edit-mode): Remove.
6603 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
6605 * vc-git.el (vc-git-log-edit-mode): Remove.
6606 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
6607 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
6609 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
6610 (vc-start-logentry): Remove argument `extra'.
6611 (vc-finish-logentry): Remove extra args.
6613 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
6614 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
6615 (vc-bzr-conflicted-files): New function.
6617 * log-edit.el (log-edit-extra-flags)
6618 (log-edit-before-checkin-process): Remove.
6619 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
6620 (log-edit-headers-alist): New var.
6621 (log-edit-header-contents-regexp): New const.
6622 (log-edit-match-to-eoh): New function.
6623 (log-edit-font-lock-keywords): Use them.
6624 (log-edit): Insert a "Summary:" header as default.
6625 (log-edit-mode): Mark font-lock rules as case-insensitive.
6626 (log-edit-done): Cleanup headers.
6627 (log-view-process-buffer): Remove.
6628 (log-edit-extract-headers): New function to replace it.
6630 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
6632 * subr.el (default-direction-reversed): Remove obsolescence info.
6634 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6636 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
6639 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
6640 I.e. include text after point in the completion region.
6641 Also, return nil when we're not after/in a symbol.
6643 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
6644 default enable-multibyte-characters.
6646 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6648 * international/mule.el: Help the user choose a valid coding-system.
6649 (read-buffer-file-coding-system): New function.
6650 (set-buffer-file-coding-system): Use it. Prompt the user if the
6651 coding-system cannot encode all the chars.
6653 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
6654 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
6655 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
6656 Don't use *vc-bzr-shelve*.
6658 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
6660 Fix the version number for added files.
6661 * vc-hg.el (vc-hg-working-revision): Check if the file is
6662 registered after hg parent fails (Bug#5961).
6664 2010-04-19 Glenn Morris <rgm@gnu.org>
6666 * htmlfontify.el (htmlfontify-buffer)
6667 (htmlfontify-copy-and-link-dir): Autoload entry points.
6669 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
6671 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
6672 name relative to the project root (Bug#5960).
6674 2010-04-19 Glenn Morris <rgm@gnu.org>
6676 * vc-git.el (vc-git-print-log): Doc fix.
6678 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
6680 * ido.el (ido-file-internal): Fix 2009-12-02 change.
6682 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
6684 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
6685 default settings (Bug#5928).
6687 2010-04-19 Glenn Morris <rgm@gnu.org>
6689 * progmodes/fortran.el (fortran-match-and-skip-declaration):
6691 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
6693 2010-04-19 Kenichi Handa <handa@m17n.org>
6695 * language/indian.el (malayalam-composable-pattern): Fix previous
6696 change (add U+0D4D "SIGN VIRAMA").
6697 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
6698 (tamil-composable-pattern): Fix typo in the regexp.
6699 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
6700 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
6701 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
6703 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6705 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
6706 paragraph-separate (Bug#5821).
6708 2010-04-19 Juri Linkov <juri@jurta.org>
6710 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
6712 * info.el (Info-find-node-2): Comment out code that skips
6714 (Info-mouse-follow-link): New command.
6715 (Info-link-keymap): New keymap.
6716 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
6717 Return a string with links instead of inserting breadcrumbs
6719 (Info-fontify-node): Comment out code that inserts breadcrumbs.
6720 Instead of putting the `invisible' text property over the Info
6721 header, make an overlay over the Info header with the `invisible'
6722 property and `after-string' set to the string returned by
6725 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6727 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
6728 Reported by monkey@sandpframing.com.
6730 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6732 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
6733 (tmm-get-keymap): Add key-binding shortcuts now that they're not
6734 available in the "keyseq cache" any more.
6736 * custom.el (defcustom): Add edebug spec.
6738 2010-04-18 Juri Linkov <juri@jurta.org>
6740 Test for special mode-class in view-buffer instead of view-file (bug#5513).
6742 * view.el (view-file, view-buffer): Move test for special mode-class
6743 from view-file to view-buffer.
6745 * tar-mode.el (tar-extract): Turn if's into one cond
6746 like in arc-mode.el.
6748 2010-04-18 Juri Linkov <juri@jurta.org>
6750 Add 7z archive format support (bug#5475).
6752 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
6753 (archive-7z-extract): New defcustom.
6754 (archive-find-type): Add magic string for 7z.
6755 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
6756 If `stderr-file' is non-nil, use `(t stderr-file)' for the
6757 `buffer' arg of `call-process'.
6758 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
6759 call the function `archive-7z-extract' with the variable
6760 `archive-7z-extract' let-bound to `archive-zip-extract'.
6761 (archive-7z-summarize, archive-7z-extract): New functions.
6763 * international/mule.el (auto-coding-alist):
6764 * files.el (auto-mode-alist): Add 7z file extension.
6766 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6768 * loadup.el: Setup hash-cons for pure data.
6770 Fix duplicate entries in cedet's loaddefs.el files.
6771 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
6772 Should make most file-local generated-autoload-file unnecessary.
6773 (print-readably): Silence warnings.
6774 (autoload-find-destination): Take load-name as an arg to make sure
6775 it's the same as the one that will be in the file.
6776 (autoload-generate-file-autoloads): Adjust to above changes.
6777 Try to make the dataflow a bit simpler.
6779 * cvs-status.el (cvs-refontify): Remove unused.
6781 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
6783 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
6785 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
6786 twos-complement mode.
6788 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
6790 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
6791 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
6792 (calc-inverse): Add "Option" to message, as appropriate.
6793 (calc-hyperbolic): Add "Option" to message, as appropriate.
6794 (calc-option, calc-is-option): New functions.
6796 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
6797 (calc-option-prefix-help): New function.
6799 * calc/calc-misc.el (calc-help): Add "Option" entry.
6801 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
6802 (calc-option-flag): New variable.
6803 (calc-do): Set `calc-option-flag to nil.
6804 (calc-set-mode-line): Add "Opt " as appropriate.
6806 2010-04-16 Juri Linkov <juri@jurta.org>
6808 Move scrolling commands from simple.el to window.el
6809 because their primitives are implemented in window.c.
6811 * simple.el (scroll-error-top-bottom)
6812 (scroll-up-command, scroll-down-command, scroll-up-line)
6813 (scroll-down-line, scroll-other-window-down)
6814 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6815 * window.el (scroll-error-top-bottom)
6816 (scroll-up-command, scroll-down-command, scroll-up-line)
6817 (scroll-down-line, scroll-other-window-down)
6818 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6819 Move from simple.el to window.el because their primitives are
6820 implemented in window.c.
6822 2010-04-16 Juri Linkov <juri@jurta.org>
6824 * isearch.el (isearch-lookup-scroll-key): Check both
6825 `isearch-scroll' and `scroll-command' properties.
6826 (scroll-up, scroll-down): Remove `isearch-scroll' property.
6828 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
6830 * simple.el (scroll-up-command, scroll-down-command)
6831 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
6833 2010-04-15 Juri Linkov <juri@jurta.org>
6835 * simple.el (scroll-up-command, scroll-down-command)
6836 (scroll-up-line, scroll-down-line): Put `scroll-command'
6837 property on the these symbols. Remove them from
6838 `scroll-preserve-screen-position-commands'.
6840 * mwheel.el (mwheel-scroll): Put `scroll-command' and
6841 `isearch-scroll' properties on the `mwheel-scroll' symbol.
6842 Remove it from `scroll-preserve-screen-position-commands'.
6844 * isearch.el (isearch-allow-scroll): Doc fix.
6846 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
6848 * net/tramp.el (tramp-error-with-buffer): Don't show the
6849 connection buffer when we are in completion mode.
6850 (tramp-file-name-handler): Catch the error for some operations
6851 when we are in completion mode. This gives the user the chance to
6852 correct the file name in the minibuffer.
6854 2010-04-15 Glenn Morris <rgm@gnu.org>
6856 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
6858 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
6860 Simplify by using `define-derived-mode'.
6861 * info.el (Info-mode):
6862 * calendar/todo-mode.el (todo-mode):
6863 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
6864 (gomoku-mode-map): Move initialization into declaration.
6866 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
6869 * ido.el (ido-file-name-all-completions-1):
6870 * minibuffer.el (minibuffer-completion-help):
6871 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
6873 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6875 * simple.el (non-essential): New var.
6877 Add a new field `location' to bookmarks for non-file bookmarks.
6878 * bookmark.el (bookmark-location): Use the new field, if present.
6879 (bookmark-insert-location): Undo last change, not needed any more.
6880 * man.el (Man-bookmark-make-record):
6881 * woman.el (woman-bookmark-make-record): Add `location' field.
6883 2010-04-14 Juri Linkov <juri@jurta.org>
6885 * simple.el (scroll-error-top-bottom): New defcustom.
6886 (scroll-up-command, scroll-down-command): Use it. Doc fix.
6888 * emulation/pc-select.el (pc-select-override-scroll-error):
6889 Obsolete in favor of `scroll-error-top-bottom'.
6891 2010-04-14 Juri Linkov <juri@jurta.org>
6893 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
6894 `scroll-up-command' and `M-v' to `scroll-down-command'.
6896 * emulation/cua-rect.el (cua--init-rectangles):
6897 * forms.el (forms--change-commands):
6898 * image-mode.el (image-mode-map):
6899 Remap scroll-down-command and scroll-up-command
6900 in addition to scroll-down and scroll-up.
6902 2010-04-14 Juri Linkov <juri@jurta.org>
6904 * mwheel.el (scroll-preserve-screen-position-commands):
6905 Add mwheel-scroll to this list of commands.
6907 * simple.el (scroll-preserve-screen-position-commands):
6908 Add scroll-up-command, scroll-down-command, scroll-up-line,
6909 scroll-down-line to this list of commands.
6911 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6913 * obsolete/complete.el: Move from lisp/complete.el.
6915 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
6917 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
6918 to the minor mode function now turns the mode ON unconditionally.
6920 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6922 * vc-dir.el (vc-dir-kill-line): New command.
6923 (vc-dir-mode-map): Bind it to C-k.
6925 * bookmark.el (bookmark-insert-location): Handle a nil filename.
6927 * woman.el: Add bookmark declarations to silence the compiler.
6928 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
6929 step to compatibility between man and woman bookmarks.
6930 Adjust for Man-default-bookmark-title renaming.
6931 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
6933 * man.el: Add bookmark declarations to silence the compiler.
6934 (Man-name-local-regexp): Make it match NAME as well.
6935 (Man-getpage-in-background): Return the buffer.
6936 (Man-notify-when-ready): Use `case'.
6937 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
6938 Don't hardcode "NAME". Simplify.
6939 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
6940 Rename from Man-bookmark-make-record.
6941 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
6942 we have the actual man-args. Use Man-getpage-in-background rather
6943 than `man' since the arg is already processed. Let bookmark.el do the
6944 window handling. Only wait for the relevant process.
6945 Don't forget to autoload.
6947 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
6949 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6951 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
6953 (woman-mode): Setup bookmark support.
6955 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
6956 (man-bookmark-jump): New functions.
6957 (Man-mode): Setup bookmark support.
6959 2010-04-10 Jari Aalto <jari.aalto@cante.net>
6961 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
6962 recognize ssh-keygen prompt (Bug#2817).
6964 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6966 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
6968 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6970 Synchronize with Tramp repository.
6972 * net/tramp.el (tramp-completion-function-alist)
6973 (tramp-file-name-regexp, tramp-chunksize)
6974 (tramp-local-coding-commands, tramp-remote-coding-commands):
6976 (tramp-remote-process-environment): Use `format' instead of `concat'.
6977 (tramp-handle-directory-files-and-attributes)
6978 (tramp-get-remote-path): Use `copy-tree'.
6979 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6980 compatibility: Use `completion-ignore-case' if
6981 `read-file-name-completion-ignore-case' does not exist.
6982 (tramp-do-copy-or-rename-file-directly): Do not use
6983 `tramp-handle-file-remote-p'.
6984 (tramp-do-copy-or-rename-file-out-of-band):
6985 Use `tramp-compat-delete-directory'.
6986 (tramp-do-copy-or-rename-file-out-of-band)
6987 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6988 Use `format-spec-make'.
6989 (tramp-find-foreign-file-name-handler)
6990 (tramp-advice-make-auto-save-file-name)
6991 (tramp-set-auto-save-file-modes): Remove superfluous check for
6992 `stringp'. This is done inside `tramp-tramp-file-p'.
6993 (tramp-debug-outline-regexp): New defconst.
6994 (tramp-get-debug-buffer): Use it.
6995 (tramp-check-for-regexp): Use (forward-line 1).
6996 (tramp-set-auto-save-file-modes): Adapt version check.
6998 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
6999 Wrap call of `featurep' for 2nd argument.
7000 (tramp-compat-make-temp-file): Simplify fallback implementation.
7001 (tramp-compat-copy-tree): Remove function.
7002 (tramp-compat-delete-directory): Provide implementation for older
7005 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7006 Do not use `tramp-fish-handle-file-attributes.
7008 * net/trampver.el: Update release number.
7010 2010-04-10 Glenn Morris <rgm@gnu.org>
7012 * progmodes/compile.el (compilation-save-buffers-predicate):
7013 Add missing :version tag.
7015 2010-04-09 Sam Steingold <sds@gnu.org>
7017 * progmodes/compile.el (compilation-save-buffers-predicate):
7018 Remove the "autoload" cookie.
7020 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7021 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7022 and `bug-reference-prog-mode' can be used in hooks directly.
7024 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
7026 Add --author support to git commit.
7027 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7028 (vc-git-log-edit-mode): New minor mode.
7029 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7032 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
7034 * vc-hooks.el, vc-git.el: Improve documentation comments.
7036 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7038 Fix some of the problems in defsubst* (bug#5728).
7039 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7040 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7042 2010-04-07 Sam Steingold <sds@gnu.org>
7044 * progmodes/compile.el (compilation-save-buffers-predicate):
7045 New custom variable.
7046 (compile, recompile): Pass it to `save-some-buffers'.
7048 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
7050 * wid-edit.el (widget-choose): Move cursor to the second line of
7051 the buffer (Bug#5695).
7053 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7055 Add new VC methods: vc-log-incoming and vc-log-outgoing.
7056 * vc.el (vc-print-log-setup-buttons): New function split out from
7057 vc-print-log-internal.
7058 (vc-log-internal-common): New function, a parametrized version of
7059 vc-print-log-internal.
7060 (vc-print-log-internal): Just call vc-log-internal-common with the
7062 (vc-incoming-outgoing-internal):
7063 (vc-log-incoming, vc-log-outgoing): New functions.
7064 (vc-log-view-type): New permanent local variable.
7066 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7068 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7069 of the dynamic bound vc-short-log.
7070 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7072 * vc-git.el (vc-git-log-outgoing): New function.
7073 (vc-git-log-view-mode): Use vc-log-view-type instead
7074 of the dynamic bound vc-short-log.
7076 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7077 of the dynamic bound vc-short-log. Highlight the tag.
7078 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7079 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7080 (vc-hg-incoming-mode): Remove.
7081 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7083 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7085 Fix default-directory for vc-root-diff.
7086 * vc.el (vc-root-diff): Bind default-directory to the root
7087 directory for the diff command.
7089 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
7091 * progmodes/verilog-mode.el (verilog-forward-sexp):
7092 (verilog-calc-1): Support "disable fork" and "fork wait" multi
7093 word keywords, suggested by Steve Pearlmutter.
7094 (verilog-pretty-declarations): Support lineup of declarations in
7096 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
7097 fix bug for /* / comments.
7098 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
7099 Speed up and simplfy as this is never called with a bound.
7100 (verilog-pretty-declarations): Enhance to line up declarations
7101 inside a parameter list, suggested by Alan Morgan.
7102 (verilog-pretty-expr): Tune assignment regular expression match
7103 string for corner cases; also use markers instead of character
7104 number as indent changes the later.
7106 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
7108 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
7110 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
7111 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
7112 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
7113 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
7116 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
7117 1800-2009 keywords, including "global.".
7119 2010-04-06 John Wiegley <jwiegley@gmail.com>
7121 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
7122 appearing in buffer list (if a live buffer name matched a recentf
7123 file basename). Should use uniquify to offer a real solution.
7125 2010-04-06 John Wiegley <jwiegley@gmail.com>
7127 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
7128 comment to code, and add a :version tag.
7129 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
7131 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
7133 Enable recentf-mode if using virtual buffers.
7134 * ido.el (recentf-list): Declare for byte-compiler.
7135 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
7136 (ido-make-buffer-list): Simplify.
7137 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
7139 2010-04-05 Juri Linkov <juri@jurta.org>
7141 Scrolling commands which scroll a line instead of full screen.
7142 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7144 * simple.el (scroll-up-line, scroll-down-line): New commands.
7145 Put property isearch-scroll=t on them.
7147 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
7150 2010-04-05 Juri Linkov <juri@jurta.org>
7152 Scrolling commands which do not signal errors at top/bottom.
7153 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7155 * simple.el (scroll-up-command, scroll-down-command): New commands.
7156 Put property isearch-scroll=t on them.
7158 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
7159 `scroll-down-command' and [next] from `scroll-up' to
7160 `scroll-up-command'.
7162 * emulation/cua-base.el: Put property CUA=move on
7163 `scroll-up-command' and `scroll-down-command'.
7164 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
7165 and `scroll-down-command' to `cua-scroll-down'.
7167 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
7169 * help.el (describe-mode): Return nil.
7171 2010-04-04 John Wiegley <jwiegley@gmail.com>
7173 * ido.el (ido-use-virtual-buffers): New variable to indicate
7174 whether "virtual buffer" support is enabled for IDO.
7175 (ido-virtual): Face used to indicate virtual buffers in the list.
7176 (ido-buffer-internal): If a buffer is chosen, and no such buffer
7177 exists, but a virtual buffer of that name does (which would be why
7178 it was in the list), recreate the buffer by reopening the file.
7179 (ido-make-buffer-list): If virtual buffers are being used, call
7180 `ido-add-virtual-buffers-to-list' before the make list hook.
7181 (ido-virtual-buffers): New variable which contains a copy of the
7182 current contents of the `recentf-list', albeit pared down for the
7183 sake of speed, and with proper faces applied.
7184 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
7185 create a list of "virtual buffers" to present to the user in
7186 addition to the currently open set. Note that this logic could
7187 get rather slow if that list is too large. With the default
7188 `recentf-max-saved-items' of 200, there is little speed penalty.
7190 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
7192 * font-lock.el: Require CL when compiling.
7193 (font-lock-turn-on-thing-lock): Use `case'.
7195 2010-04-03 Eli Zaretskii <eliz@gnu.org>
7197 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
7200 2010-04-02 Juri Linkov <juri@jurta.org>
7202 * ehelp.el (electric-help-orig-major-mode):
7203 New buffer-local variable.
7204 (electric-help-mode): Set it to original major-mode. Doc fix.
7205 (with-electric-help): Use `electric-help-orig-major-mode' instead
7206 of (default-value 'major-mode). Doc fix.
7207 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
7209 2010-04-02 Sam Steingold <sds@gnu.org>
7211 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
7212 `vc-hg-command' with a list of flags.
7214 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7215 Also accept "patch" and "RFE".
7216 (bug-reference-fontify): `bug-reference-url-format' can also be a
7217 function to be able to handle the bug kind.
7218 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
7220 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
7222 * tmm.el (tmm-get-keymap): Check with symbolp before passing
7223 value to fboundp, it may not be a symbol.
7225 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7227 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
7229 2010-03-31 Juri Linkov <juri@jurta.org>
7231 * simple.el (next-line, previous-line): Re-throw a signal
7232 with `signal' instead of using `ding'.
7233 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
7235 2010-03-31 Juri Linkov <juri@jurta.org>
7237 * simple.el (keyboard-escape-quit): Raise deselecting the active
7238 region higher than exiting the minibuffer.
7239 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
7241 2010-03-31 Juri Linkov <juri@jurta.org>
7243 * image.el (image-animated-p): Use `image-metadata' instead of
7244 `image-extension-data'. Get GIF extenstion data from metadata
7245 property `extension-data'.
7247 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7249 * simple.el (append-to-buffer): Simplify.
7251 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
7253 * textmodes/artist.el (artist-mode): Fix typo in docstring.
7254 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
7256 2010-03-31 Kenichi Handa <handa@m17n.org>
7258 * language/sinhala.el (composition-function-table): Fix regexp for
7259 the new Unicode specification.
7261 * language/indian.el (devanagari-composable-pattern)
7262 (tamil-composable-pattern, kannada-composable-pattern)
7263 (malayalam-composable-pattern): Adjust for the new Unicode
7265 (bengali-composable-pattern, gurmukhi-composable-pattern)
7266 (gujarati-composable-pattern, oriya-composable-pattern)
7267 (telugu-composable-pattern): New variables to cope with the new
7268 Unicode specification. Use them in composition-function-table.
7270 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7272 Make tmm-menubar work for the Buffers menu again (bug#5726).
7273 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
7274 vectors rather than cons cells, as used in menu-bar-update-buffers.
7276 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7278 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
7279 (js-insert-and-indent): Revert 2009-08-15 change, restoring
7280 electric punctuation for "{}();,:" (Bug#5586).
7282 * mail/sendmail.el (mail-default-directory): Doc fix.
7284 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7286 * mail/sendmail.el (mail-default-directory): Doc fix.
7288 2010-03-31 Eli Zaretskii <eliz@gnu.org>
7290 * subr.el (version-regexp-alist, version-to-list)
7291 (version-list-<, version-list-=, version-list-<=)
7292 (version-list-not-zero, version<, version<=, version=): Doc fix.
7295 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
7297 * vc.el (vc-root-diff): Doc fix.
7299 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7301 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
7303 * simple.el (append-to-buffer): Fix last change.
7305 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7307 * simple.el (append-to-buffer): Ensure that point is preserved if
7308 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
7311 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7313 * files.el (auto-mode-case-fold): Change default to t.
7315 2010-03-30 Juri Linkov <juri@jurta.org>
7317 * dired-x.el (dired-omit-mode): Doc fix.
7319 2010-03-30 Juri Linkov <juri@jurta.org>
7321 * replace.el (occur-accumulate-lines): Move occur-engine related
7322 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
7323 to be located after `occur-engine'.
7325 2010-03-30 Juri Linkov <juri@jurta.org>
7327 Make occur handle multi-line matches cleanly with context.
7328 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
7330 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
7331 (occur-engine): Add local variables `ret', `prev-after-lines',
7332 `prev-lines'. Use more arguments for `occur-context-lines'.
7333 Set first elem of its returned list to `data', and the second elem
7334 to `prev-after-lines'. Don't print the separator line.
7335 In the end, print remaining context after-lines.
7336 (occur-context-lines): Add new arguments `begpt', `endpt',
7337 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
7338 after-lines of the previous match with before-lines of the
7339 current match and not overlap them. Return a list with two
7340 values: the output line and the list of context after-lines.
7342 2010-03-30 Juri Linkov <juri@jurta.org>
7344 * replace.el (occur-accumulate-lines): Fix a bug where the first
7345 context line at the beginning of the buffer was missing.
7347 2010-03-30 Eli Zaretskii <eliz@gnu.org>
7349 * files.el: Make bidi-display-reordering safe variable for boolean
7352 2010-03-29 Phil Hagelberg <phil@evri.com>
7353 Chong Yidong <cyd@stupidchicken.com>
7355 * subr.el: Extend progress reporters to perform "spinning".
7356 (progress-reporter-update, progress-reporter-do-update):
7357 Handle non-numeric value arguments.
7358 (progress-reporter--pulse-characters): New var.
7360 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
7362 * progmodes/compile.el (compilation-start): Fix regexp detection
7363 of initial cd command (Bug#5771).
7365 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
7367 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
7369 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
7371 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
7372 * progmodes/gdb-mi.el: Restore.
7373 * progmodes/gdb-ui.el: Remove.
7374 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
7376 2010-03-25 Glenn Morris <rgm@gnu.org>
7378 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
7379 all dired buffers, even tramp ones. (Bug#5755)
7381 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7383 Add "union tags" in mpc.el.
7384 * mpc.el: Remove backward compatibility code.
7385 (mpc-browser-tags): Change default.
7386 (mpc--find-memoize-union-tags): New var.
7387 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
7388 (mpc-cmd-find): Handle the case where the playlist does not exist.
7390 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
7391 (mpc-cmd-add): Use mpc-cmd-flush.
7392 (mpc-tagbrowser-tag-name): New fun.
7393 (mpc-tagbrowser-buf): Use it.
7394 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
7396 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7399 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
7400 Use replace-regexp-in-string.
7401 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
7402 (makefile-imake-mode-syntax-table): Move init into defvar.
7403 (makefile-mode): Use define-derived-mode.
7405 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
7406 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
7407 not be present any more.
7409 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7411 * faces.el (set-face-attribute): Fix typo in docstring.
7412 (face-valid-attribute-values): Reflow docstring.
7414 2010-03-24 Glenn Morris <rgm@gnu.org>
7416 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
7418 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7420 * indent.el (indent-for-tab-command): Doc fix.
7422 2010-03-24 Alan Mackenzie <acm@muc.de>
7424 * progmodes/cc-engine.el (c-remove-stale-state-cache):
7425 Fix off-by-one error. Fixes bug #5747.
7427 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7429 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
7430 (image-dired-read-comment): Doc fix.
7432 * json.el (json-object-type, json-array-type, json-key-type)
7433 (json-false, json-null, json-read-number):
7434 * minibuffer.el (completion-in-region-functions):
7435 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
7436 (cal-tex-cursor-week):
7437 * emacs-lisp/trace.el (trace-function):
7438 * eshell/em-basic.el (eshell/printnl):
7439 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
7440 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
7441 * obsolete/levents.el (allocate-event, event-key, event-object)
7442 (event-point, event-process, event-timestamp, event-to-character)
7443 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
7444 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
7445 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
7446 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
7447 (reftex-highlight-selection): Fix typos in docstrings.
7449 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7451 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
7453 2010-03-24 Glenn Morris <rgm@gnu.org>
7455 * mail/rmail.el (rmail-highlight-face): Restore option deleted
7456 2008-02-13 without comment; mark it obsolete.
7457 (rmail-highlight-headers): Use rmail-highlight-face once more.
7459 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7461 * woman.el (woman2-process-escapes): Only consume the newline if
7462 the filler character is on a line by itself (Bug#5729).
7464 2010-03-24 Kenichi Handa <handa@m17n.org>
7466 * language/indian.el (devanagari-composable-pattern): Add more
7469 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7471 * net/trampver.el: Update release number.
7473 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7475 * net/tramp.el (tramp-find-executable):
7476 Use `tramp-get-connection-buffer'. Make the regexp for checking
7477 output of "wc -l" more robust.
7478 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
7479 (tramp-open-connection-setup-interactive-shell): Remove workaround
7480 for OpenSolaris bug, it is not needed anymore.
7482 2010-03-24 Glenn Morris <rgm@gnu.org>
7484 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
7486 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
7488 * files.el (auto-mode-alist): Accept more verilog file patterns.
7490 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7492 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
7494 2010-03-24 Glenn Morris <rgm@gnu.org>
7496 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
7497 log-edit-before-checkin-process.
7499 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
7501 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
7503 * vc-dispatcher.el (vc-start-logentry): Doc fix.
7504 (log-view-process-buffer, log-edit-extra-flags): Declare.
7506 * log-edit.el (log-edit-before-checkin-process): Doc fix.
7508 2010-03-23 Sam Steingold <sds@gnu.org>
7510 Fix bug#5620: recalculate all markers on compilation buffer
7511 modifications, not on file modifications.
7512 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
7513 the buffer modification time, for buffers not associated with files.
7514 (compilation-mode): Create it.
7515 (compilation-filter): Update it.
7516 (compilation-next-error-function): Use it instead of
7517 `visited-file-modtime' for timestamp.
7519 2010-03-23 Juri Linkov <juri@jurta.org>
7521 Implement Occur multi-line matches.
7522 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
7524 * replace.el (occur): Doc fix.
7525 (occur-engine): Set `begpt' to the beginning of the first line.
7526 Set `endpt' to the end of the last match line. At first, count
7527 line numbers between `origpt' and `begpt'. Split out code from
7528 `out-line' variable to new let-bindings `match-prefix' and
7529 `match-str'. In `out-line' add non-numeric prefix to all
7530 non-first lines of multi-line matches. Finally, count lines
7531 between `begpt' and `endpt' and add to `lines'.
7533 2010-03-23 Juri Linkov <juri@jurta.org>
7535 * replace.el (occur-accumulate-lines, occur-engine):
7536 Use `occur-engine-line' instead of duplicate code.
7537 (occur-engine-line): New function created from duplicate code
7538 in `occur-accumulate-lines' and `occur-engine'.
7540 * replace.el (occur-engine-line): Add optional arg `keep-props'.
7541 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
7543 2010-03-23 Juri Linkov <juri@jurta.org>
7545 * finder.el: Remove TODO tasks.
7547 * info.el (Info-finder-find-node): Add node "all"
7548 with all package info. Handle a list of multiple keywords
7550 (info-finder): In interactive use with a prefix argument,
7551 use `completing-read-multiple' to read a list of keywords
7554 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7556 Add a new completion style `substring'.
7557 * minibuffer.el (completion-basic--pattern): New function.
7558 (completion-basic-try-completion, completion-basic-all-completions):
7560 (completion-substring--all-completions)
7561 (completion-substring-try-completion)
7562 (completion-substring-all-completions): New functions.
7563 (completion-styles-alist): New style `substring'.
7565 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
7567 Get rid of .elc files after removal of the corresponding .el.
7568 * Makefile.in (compile-clean): New target.
7569 (compile-main): Use it.
7571 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
7573 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
7574 don't do make there. When compiling with separate object dir, there
7575 is no Makefile there.
7577 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
7579 Get rid of the ELCFILES abomination, again.
7580 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
7581 (all, compile): Don't call compile-last.
7582 (compile-main): Build the "elcfiles" list dynamically.
7583 (compile-targets): New (internal) target.
7585 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
7587 * Makefile.in (top_srcdir): Define.
7588 (abs_top_builddir): Define.
7589 (srcdir): Don't append `/..'.
7590 (EMACS): Use ${abs_top_builddir}.
7591 (all, compile, compile-always, compile-last): Don't set emacswd.
7592 (update-subdirs, update-authors): Use $(top_srcdir) instead of
7594 (lisp): Use $(srcdir) instead of @srcdir@.
7596 2010-03-21 Juri Linkov <juri@jurta.org>
7598 Fix message of multi-line occur regexps and multi-buffer header lines.
7599 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
7601 * replace.el (occur-1): Don't display regexp if it is longer
7602 than window-width. Use `query-replace-descr' to display regexp.
7603 (occur-engine): Don't display regexp in the buffer header for
7604 multi-buffer occur. Display a separate header line with total
7605 match count and regexp for multi-buffer occur.
7606 Use `query-replace-descr' to display regexp.
7608 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
7610 * net/secrets.el: Fix parenthesis.
7611 (secrets-enabled): Fix parenthesis.
7613 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7615 Use more relative file and directory names.
7616 * Makefile.in (EMACS): Arrange for it to work when we chdir.
7617 (setwins, setwins_almost, setwins_for_subdirs):
7618 Don't `cd'; output relative names.
7619 (all, compile, compile-always, compile-last): Set emacswd.
7620 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
7621 Just cd to the lisp source dir so we can use relative file names.
7623 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
7625 2010-03-20 Glenn Morris <rgm@gnu.org>
7627 * textmodes/rst.el: Use faces for font-lock customization, and make the
7628 old -face variables obsolete.
7629 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
7630 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
7631 (rst-block-face, rst-external-face, rst-definition-face)
7632 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
7633 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
7635 (rst-font-lock-keywords-function): Update for above changes.
7637 2010-03-20 Juri Linkov <juri@jurta.org>
7640 * obsolete/s-region.el: Move to obsolete.
7642 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
7644 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
7646 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7648 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
7650 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7652 Add special markup processing for commit logs.
7653 * log-edit.el (log-edit-extra-flags): New variable.
7654 (log-edit): Add new argument MODE. Use that mode when non-nil
7655 instead of the log-view-mode.
7656 (log-view-process-buffer): New function.
7658 * vc.el: Document that the checkin method takes optional
7659 arguments. Document new backend specific method: log-view-mode.
7660 (vc-default-log-edit-mode): New function.
7661 (vc-checkin): Use a backend specific log-view-mode.
7662 Pass extra arguments to the checkin method.
7663 (vc-modify-change-comment): Pass a dummy extra argument.
7665 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
7667 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
7668 (vc-finish-logentry): Process the log buffer before passing it
7669 down. Pass log-edit-extra-flags.
7671 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
7673 (log-edit-extra-flags, log-edit-before-checkin-process):
7676 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
7678 (log-edit-extra-flags, log-edit-before-checkin-process):
7680 (vc-hg-log-edit-mode): New derived mode.
7682 * vc-arch.el (vc-arch-checkin):
7683 * vc-cvs.el (vc-cvs-checkin):
7684 * vc-git.el (vc-git-checkin):
7685 * vc-mtn.el (vc-mtn-checkin):
7686 * vc-rcs.el (vc-rcs-checkin):
7687 * vc-sccs.el (vc-sccs-checkin):
7688 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
7690 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7692 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
7695 2010-03-19 Glenn Morris <rgm@gnu.org>
7697 * password-cache.el (password-cache, password-cache-expiry): Autoload.
7699 2010-03-18 Glenn Morris <rgm@gnu.org>
7701 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
7703 * replace.el (query-replace-history): Give it a doc string.
7704 (map-query-replace-regexp): Use query-replace-from-history-variable
7705 and query-replace-to-history-variable.
7707 * mail/hashcash.el (declare-function): Remove duplicate definition.
7709 * mail/emacsbug.el (report-emacs-bug-pretest-address):
7710 Make it an obsolete alias for report-emacs-bug-address.
7711 (message-strip-special-text-properties): Declare.
7712 (report-emacs-bug): Remove test for a pretest bug address.
7713 Combine message-mode-specific code.
7715 * mail/supercite.el: Don't require sendmail.
7716 (mh-in-header-p): Declare rather than using with-no-warnings.
7717 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
7718 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
7720 * calendar/cal-french.el: Convert to utf-8.
7722 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
7725 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
7727 * net/secrets.el (secrets-enabled): New variable. Use it instead
7730 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
7732 * net/secrets.el (top): Register the D-Bus signals only when the
7733 service "org.freedesktop.secrets" can be pinged.
7734 Provide subfeature `enabled'.
7736 2010-03-14 Juri Linkov <juri@jurta.org>
7738 Add finder unknown keywords.
7740 * finder.el (finder-unknown-keywords): New function.
7742 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
7743 to create a Finder node with unknown keywords.
7745 2010-03-14 Juri Linkov <juri@jurta.org>
7747 * finder.el (finder-compile-keywords): Replace `princ' with
7748 `prin1' on a list of symbols interned from keyword strings.
7750 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
7751 a comma, then split keywords using a comma and optional whitespace.
7752 Otherwise, split by whitespace.
7760 * progmodes/mixal-mode.el: Fix keywords.
7762 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
7764 * Makefile.in (ELCFILES): Add net/secrets.elc.
7766 * net/secrets.el: New file.
7768 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7770 * facemenu.el (list-colors-display, list-colors-print): New arg
7771 callback. Use it to allow selecting colors.
7773 * wid-edit.el (widget-image-insert): Insert image prop even if the
7774 current display is non-graphic.
7775 (widget-field-value-set): New fun.
7776 (editable-field): Use it.
7777 (widget-field-value-get): Clean up unused var.
7778 (widget-color-value-create, widget-color--choose-action):
7779 New funs. Allow using list-colors-display to choose color.
7781 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7783 * cus-edit.el: Resort topmost custom groups.
7784 (custom-buffer-sort-alphabetically): Default to t.
7785 (customize-apropos): Use apropos-parse-pattern.
7786 (custom-search-field): New var.
7787 (custom-buffer-create-internal): Add custom-apropos search field.
7788 (custom-add-parent-links): Don't display parent doc.
7789 (custom-group-value-create): Don't sort top-level custom group.
7790 (custom-magic-value-create): Show visibility button before option name.
7792 (custom-variable-state): New fun, from custom-variable-state-set.
7793 (custom-variable-state-set): Use it.
7794 (custom-group-value-create): Hide options with standard values
7795 using the :hidden-states property. Use progress reporter.
7797 (custom-show): Simplify.
7798 (custom-visibility): Disable images by default.
7799 (custom-variable): New property :hidden-states.
7800 (custom-variable-value-create): Enable images for
7801 custom-visibility widgets. Use :hidden-states property to
7802 determine initial visibility.
7804 * wid-edit.el (widget-image-find): Give images center ascent.
7805 (visibility): Add :on-image and :off-image properties.
7806 (widget-visibility-value-create): Use them.
7808 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7810 * cus-edit.el (processes): Remove from development group.
7811 (oop, hypermedia): Delete group.
7812 (comm): Promote to top-level group.
7814 * net/browse-url.el (browse-url):
7815 * net/xesam.el (xesam):
7816 * net/tramp.el (tramp):
7817 * net/goto-addr.el (goto-address):
7818 * net/ange-ftp.el (ange-ftp): Put in comm group.
7820 * view.el (view): Remove from editing group.
7822 * uniquify.el (uniquify): Put in files group.
7824 * net/browse-url.el (browse-url):
7825 * ps-print.el (postscript): Put in external group.
7827 * cus-edit.el (outlines):
7828 * textmodes/text-mode.el (text-mode-hook):
7829 * textmodes/table.el (table):
7830 * textmodes/picture.el (picture):
7831 * outline.el (outlines): Put in wp group.
7833 * nxml/nxml-mode.el (nxml): Remove from wp group.
7835 * net/tramp-imap.el (tramp-imap): Put in tramp group.
7837 * mail/metamail.el (metamail): Remove from hypermedia group.
7839 * cus-edit.el (abbrev):
7840 * whitespace.el (whitespace):
7841 * vcursor.el (vcursor):
7842 * reveal.el (reveal):
7843 * hl-line.el (hl-line): Put in convenience group.
7845 * epg-config.el (epg): Put in data group.
7847 * emulation/pc-select.el (pc-select): Put in emulations group.
7849 * calculator.el (calculator): Put in applications group.
7851 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7853 Add .dir-locals.el support for file-less buffers.
7854 * files.el (hack-local-variables): Split out code to apply local
7855 variable settings ...
7856 (hack-local-variables-apply): ... here. New function.
7857 (hack-dir-local-variables): Use the default directory for when the
7858 buffer does not have an associated file.
7859 (hack-dir-local-variables-non-file-buffer): New function.
7860 * diff-mode.el (diff-mode):
7861 * vc-annotate.el (vc-annotate-mode):
7862 * vc-dir.el (vc-dir-mode):
7863 * log-edit.el (log-edit-mode):
7864 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
7866 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7868 Add support for shelving snapshots and for showing shelves.
7869 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
7870 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
7872 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
7873 (vc-bzr-extra-menu-map): Map them.
7875 2010-03-11 Glenn Morris <rgm@gnu.org>
7877 * cus-edit.el (customize-changed-options-previous-release):
7880 * image.el (image-animate-max-time): Fix :version tag.
7882 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
7886 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
7888 * vc-git.el (vc-git-revision-table): Include remote branches.
7890 2010-03-10 Kim F. Storm <storm@cua.dk>
7893 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
7895 * image.el (image-animate-max-time): New defcustom.
7896 (image-animated-types): New defconst.
7897 (create-animated-image, image-animate-timer)
7898 (image-animate-start, image-animate-stop, image-animate-timeout)
7899 (image-animated-p): New functions.
7901 * image-mode.el (image-toggle-display-image):
7902 Replace `create-image' with `create-animated-image'.
7904 2010-03-09 Miles Bader <miles@gnu.org>
7906 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
7907 instead of "format:"; this ensures that the output is
7910 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
7912 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
7913 that all errors are caught, and that the return value is always a
7916 2010-03-08 Kenichi Handa <handa@m17n.org>
7918 * language/misc-lang.el (windows-1256): New coding system.
7919 (cp1256): New alias of windows-1256 (bug#5690).
7921 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
7923 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
7924 call to rfc822-bad-address. (Bug#5692)
7926 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
7928 * vc-git.el (vc-git-annotate-extract-revision-at-line):
7929 Use vc-git-root as default directory for revision path (Bug#5657).
7931 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
7933 * calculator.el (calculator): Don't bind split-window-keep-point
7936 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
7938 * vc-git.el: Re-flow to fit into 80 columns.
7939 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
7940 Remove spurious `quote' element in each case alternative.
7941 (vc-git-show-log-entry): Use prog1.
7942 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
7944 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
7946 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
7948 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
7950 * macros.el (insert-kbd-macro): Look up keyboard macro using the
7951 definition, not the name (Bug#5481).
7953 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
7955 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
7956 argument with a local variable. (Bug#5670)
7958 2010-03-02 Juri Linkov <juri@jurta.org>
7960 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
7962 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
7964 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
7965 error when FILENAME and NEWNAME are existing remote directories.
7967 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
7970 2010-03-02 Glenn Morris <rgm@gnu.org>
7972 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
7973 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
7975 2010-03-01 Kenichi Handa <handa@m17n.org>
7977 * language/burmese.el (burmese-composable-pattern): Rename from
7978 myanmar-composable-pattern.
7980 * international/characters.el (script-list):
7981 * international/fontset.el (script-representative-chars):
7982 Change myanmar to burmese.
7983 (otf-script-alist): Likewise.
7984 (setup-default-fontset): Likewise. Re-fix :otf spec.
7986 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
7988 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
7990 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
7992 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
7994 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
7996 * net/tramp.el (tramp-handle-write-region): START can be a string.
7997 Take care in the checks. Reported by Dan Davison
7998 <davison@stats.ox.ac.uk>.
8000 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8002 * net/dbus.el (dbus-introspect, dbus-get-property)
8003 (dbus-set-property, dbus-get-all-properties):
8004 Use `dbus-call-method' when noninteractive. (Bug#5645)
8006 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
8008 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8009 * emacs-lisp/elint.el (elint-add-required-env):
8010 * calendar/icalendar.el (icalendar--add-diary-entry):
8011 * calc/calcalg2.el (math-tracing-integral):
8012 * files.el (recover-session-finish): Use with-current-buffer
8013 instead of save-excursion.
8015 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
8017 Fix in-buffer completion when after-change-functions modify the buffer.
8018 * minibuffer.el (completion--replace): New function.
8019 (completion--do-completion): Use it and use relative movement.
8021 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
8023 * international/fontset.el (setup-default-fontset): Fix :otf spec.
8025 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
8027 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8028 Allow the characters _<> in the stack entry (Bug#5653).
8030 2010-02-26 Kenichi Handa <handa@m17n.org>
8032 * language/burmese.el: Fix entries in composition-function-table.
8033 (myanmar-composable-pattern): New variable.
8035 * international/fontset.el (setup-default-fontset): Add an entry
8038 * international/characters.el (script-list): Add Myanmar
8041 2010-02-26 Glenn Morris <rgm@gnu.org>
8043 * custom.el (custom-initialize-delay): Doc fix.
8045 * mail/sendmail.el (send-mail-function): Autoload the call
8046 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8048 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
8050 * files.el (hack-local-variables-filter): For eval forms, also
8051 check safe-local-variable-p (Bug#5636).
8053 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
8055 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8056 setting the modes by `ignore-errors'. It might fail, for example
8057 if the file is not owned by the user but the group.
8058 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8060 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
8062 * files.el (directory-listing-before-filename-regexp): Use
8063 stricter matching for iso-style dates, to avoid false matches with
8064 date-like filenames (Bug#5597).
8066 * htmlfontify.el (htmlfontify): Doc fix.
8068 * eshell/eshell.el (eshell): Doc fix.
8070 * startup.el (fancy-about-screen): In mode-line, apply
8071 mode-line-buffer-id face only to the buffer name (Bug#5613).
8073 2010-02-20 Kevin Ryde <user42@zip.com.au>
8075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8076 In `watcom' anchor regexp to start of line, to avoid slowness
8079 2010-02-20 Eli Zaretskii <eliz@gnu.org>
8081 * subr.el (remove-yank-excluded-properties): Explain in a comment
8082 why `category' property is removed.
8084 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
8086 * isearch.el (isearch-update-post-hook, isearch-update): Revert
8089 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
8091 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
8092 (icalendar--convert-weekly-to-ical)
8093 (icalendar--convert-yearly-to-ical)
8094 (icalendar--convert-block-to-ical)
8095 (icalendar--convert-cyclic-to-ical)
8096 (icalendar--convert-anniversary-to-ical): Take care of time
8097 specifications where hour has 1-digit only (Bug#5549).
8099 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
8101 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
8102 of disassemble output in GDB 7.1.
8104 2010-02-19 Glenn Morris <rgm@gnu.org>
8106 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
8107 property. (Bug#5593)
8109 2010-02-18 Sam Steingold <sds@gnu.org>
8111 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8113 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8115 Use abbreviated file names in bookmarks (bug#5591).
8116 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
8117 calls to expand-file-name.
8118 (bookmark-relocate): Use abbreviated file names in bookmarks.
8119 (bookmark-load): Use abbreviated file names in messages.
8121 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8123 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
8124 expand "." and "..". Reported by Thierry Volpiatto
8125 <thierry.volpiatto@gmail.com>.
8127 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8129 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
8130 permissions of the temporary file to "0600". In case the remote
8131 file has no read permissions for the owner, there might be
8132 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
8134 22010-02-18 Glenn Morris <rgm@gnu.org>
8136 * emacs-lisp/authors.el (authors-renamed-files-alist):
8137 Add entries for INSTALL.CVS.
8139 2010-02-17 Mark A. Hershberger <mah@everybody.org>
8141 * vc-bzr.el: Fix typo in Known Bugs section.
8143 * isearch.el (isearch-update-post-hook): New hook.
8144 (isearch-update): Use the new hook.
8146 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
8148 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
8149 Fix errors in copying directories.
8150 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
8151 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
8152 (tramp-handle-delete-file)
8153 (tramp-handle-dired-recursive-delete-directory)
8154 (tramp-handle-write-region): Flush also the cache for the upper
8157 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
8159 * simple.el (save-interprogram-paste-before-kill): Doc fix.
8161 * cus-edit.el (hardware): Doc fix.
8163 * man.el (man): Add to external custom group.
8165 * delim-col.el (columns): Move to wp custom group.
8167 * doc-view.el (doc-view): Add to data custom group.
8169 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
8171 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
8172 by ispell-parse-output (Bug#5575).
8174 2010-02-16 Kenichi Handa <handa@m17n.org>
8176 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
8177 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
8178 (skkdic-convert): Use `euc-japan' coding system for writing.
8180 2010-02-16 Glenn Morris <rgm@gnu.org>
8182 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
8183 tex-main-file before using it. (Bug#5562)
8185 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
8187 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
8188 warnings, since it is annoying for the user to see them each time he
8191 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
8193 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
8194 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
8195 instead of PROC for caching "first-password-request". Otherwise,
8196 new processes would not profit from passwords already entered.
8198 * net/tramp-cache.el (tramp-dump-connection-properties):
8199 Don't save "first-password-request" property.
8201 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
8203 * outline.el (outline-head-from-level):
8204 * simple.el (with-wrapper-hook):
8205 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
8206 (elint-defun, elint-buffer-env, elint-top-form-logged)
8207 (elint-unbound-variable):
8208 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
8209 Fix typos in docstrings.
8211 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
8213 * files.el (insert-directory): When WILDCARD-REGEXP and
8214 FULL-DIRECTORY-P are nil, insert the file entry instead of the
8215 whole directory. (Bug#5551)
8217 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
8218 dired's alignment sanity. (Bug#5516)
8220 2010-02-14 Juri Linkov <juri@jurta.org>
8222 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
8223 Remove remaining ^H with their preceding chars. (Bug#5566)
8225 2010-02-13 Glenn Morris <rgm@gnu.org>
8227 * simple.el (transpose-subr): Give it a doc-string.
8229 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
8232 2010-02-12 Juri Linkov <juri@jurta.org>
8234 * arc-mode.el (archive-unique-fname): Make directories for nested
8235 archives. (Bug#5540)
8237 2010-02-12 Juri Linkov <juri@jurta.org>
8239 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
8241 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
8243 * subr.el (copy-overlay): Handle deleted overlays.
8245 * man.el (Man-completion-table): Don't signal an error if we can't run
8246 manual-program (bug#4056).
8248 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
8250 * textmodes/artist.el (artist-mt): Fix typos in docstring.
8252 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8254 * info.el (Info-bookmark-jump): Simplify.
8256 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
8257 (bookmark-default-handler): Accept new bookmark field `buffer'.
8259 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
8261 * iswitchb.el (iswitchb-completions): Revert last change.
8263 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
8265 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
8266 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
8267 This prevents file names like "~/" being listed literally.
8269 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
8271 * term/xterm.el (xterm-maybe-set-dark-background-mode):
8272 Remove dead code. (Bug#5546)
8274 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
8276 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
8277 correctly (Bug#5548).
8279 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
8281 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
8282 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
8284 2010-02-08 Kenichi Handa <handa@m17n.org>
8286 * international/mule-util.el (with-coding-priority): Add autoload
8287 cookie for putting `lisp-indent-function'.
8289 2010-02-07 Glenn Morris <rgm@gnu.org>
8291 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
8292 Move F2003 named interfaces from keywords-2 to keywords-1, and
8293 use function-name-face rather than constant-face.
8294 Simplify "abstract interface" regexp.
8296 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
8298 * eshell/esh-util.el (eshell-file-attributes): New optional arg
8299 ID-FORMAT. Pass it to `file-attributes'.
8301 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
8303 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
8305 * faces.el (set-face-attribute): Allow calling
8306 internal-set-lisp-face-attribute with 'unspecified family and
8307 foundry argument (Bug#5536).
8309 2010-02-07 Glenn Morris <rgm@gnu.org>
8311 * progmodes/f90.el (f90-font-lock-keywords-2)
8312 (f90-looking-at-type-like, f90-looking-at-program-block-end):
8313 Handle F2003 named interfaces.
8315 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
8317 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
8318 beg and end before calling c-get-state-before-change-functions.
8320 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
8322 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
8324 2010-02-05 Juri Linkov <juri@jurta.org>
8326 * doc-view.el (doc-view-mode):
8327 * image-mode.el (image-mode): Put property mode-class=special.
8330 2010-02-05 Mark A. Hershberger <mah@everybody.org>
8332 * vc-svn.el (vc-svn-revision-table): New function.
8334 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
8336 * net/ange-ftp.el (ange-ftp-insert-directory):
8337 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8338 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8339 Handle also directories. (Bug#5478)
8341 2010-02-05 Glenn Morris <rgm@gnu.org>
8343 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
8345 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
8347 * startup.el (command-line-1): Convert options beginning with a
8348 single dash as well (Bug#5519).
8350 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
8352 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
8353 * minibuffer.el (completion-initials-expand): Only check the presence
8354 of delims *within* the boundaries, since otherwise the / delim is
8355 always found for files.
8357 Fix up various corner case problems.
8358 * doc-view.el (doc-view-last-page-number): New function.
8359 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
8360 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
8361 (doc-view-kill-proc): Avoid inf-loop in freak cases.
8362 (doc-view-reconvert-doc): Use the new recursive delete-directory.
8363 (doc-view-convert-current-doc): Don't create the resolution.el file
8365 (doc-view-pdf/ps->png): Do it here instead.
8366 (doc-view-already-converted-p): Check that resolution.el is present.
8367 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
8368 windows that are not yet showing images.
8370 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
8372 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
8373 `dired-uncache' for every elemnt which is an absolute file name.
8375 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
8376 directory, handle its directory component.
8377 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
8378 function is called permanently and creates noise, otherwise.
8380 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8381 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8382 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
8384 2010-02-04 David Burger <dburger@google.com> (tiny change)
8386 * macros.el (apply-macro-to-region-lines):
8387 Minor simplification. (Bug#5485)
8389 2010-02-04 Glenn Morris <rgm@gnu.org>
8391 * mail/rmail.el (rmail-show-message-1): Handle malformed
8392 quoted-printable text. (Bug#5441)
8394 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
8396 * simple.el (visual-line-mode): Capitalize lighter.
8398 2010-02-03 John Wiegley <jwiegley@gmail.com>
8400 * iswitchb.el (iswitchb-completions): Add bookmark files to the
8401 list of files considered for "virtual buffer" completions.
8403 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
8405 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
8406 also in case of (and (not full) (not wildcard)). This is needed
8407 when dired is called with a list of files, which are not in
8408 `default-directory'. (Bug#5478)
8410 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
8412 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
8414 2010-02-02 Juri Linkov <juri@jurta.org>
8416 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
8417 from unidiff to allow function-line after @@.
8419 2010-02-02 Juri Linkov <juri@jurta.org>
8421 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
8422 '(RCS SCCS) with inverted condition.
8424 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
8426 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
8429 2010-02-01 Juri Linkov <juri@jurta.org>
8431 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
8432 compare with "pkunzip" and "pkzip" instead of only "pkzip".
8433 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
8434 only when (car archive-zip-extract) is "unzip". (Bug#5475)
8436 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
8438 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
8439 (doc-view-revert-buffer): New command.
8440 (doc-view-mode-map): Use it.
8442 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
8444 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
8445 pending merge is detected.
8447 2010-01-31 Juri Linkov <juri@jurta.org>
8449 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
8450 beginning of interactive spec like all other grep commands do.
8451 Put "all" in front of "gz". (Bug#5260)
8453 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
8455 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
8457 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
8459 * dirtrack.el (dirtrack): Warn instead of signalling error if the
8460 regexp is incorrect (Bug#5476).
8462 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
8464 * net/tramp.el (tramp-handle-insert-directory): Handle also
8465 symlinks, when FILENAME is not in `default-directory'.
8467 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8469 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
8470 FILE is not in `default-directory'. (Bug#5478)
8472 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
8473 of SWITCHES. Handle the case, FILENAME is not in
8474 `default-directory'. (Bug#5478)
8475 (tramp-register-file-name-handlers): Add safe-magic property.
8477 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
8479 * arc-mode.el (archive-zip-extract): Quote the argument passed to
8482 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
8484 * progmodes/flymake.el (flymake-allowed-file-name-masks)
8485 (flymake-master-make-header-init): Add other C++ filename masks.
8486 (flymake-find-possible-master-files)
8487 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
8489 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8491 Fix some busybox annoyances.
8493 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
8494 not responding." string.
8495 (tramp-open-connection-setup-interactive-shell): Dump stty
8496 settings. Enable "neveropen" arg for all `tramp-send-command'
8497 calls. Handle "=" in variable values properly.
8498 (tramp-find-inline-encoding): Raise an error, when no encoding is
8500 (tramp-wait-for-output): Check, whether PROC buffer is available.
8501 Remove spurious " ^H" sequences, sent by busybox.
8502 (tramp-get-ls-command): Suppress coloring, if possible.
8504 2010-01-28 Glenn Morris <rgm@gnu.org>
8506 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
8508 * log-edit.el (log-edit-strip-single-file-name): Add missing
8509 :safe, :group, and :version tags.
8511 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
8513 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
8516 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
8518 * files.el (delete-directory): Handle moving to trash without
8519 first doing recursion (Bug#5436).
8521 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
8523 * vc-hooks.el (vc-path): Mark as obsolete.
8525 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
8527 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
8530 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
8532 (vc-bzr-log-view-mode): Adjust regexp for the above change.
8534 2010-01-25 Mark A. Hershberger <mah@everybody.org>
8536 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
8538 * vc-bzr.el (vc-bzr-revision-table): New function.
8540 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
8542 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
8543 diff-index command. This requires at least git-1.5.5. (Bug#1589).
8545 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
8547 Remove support for adding --signoff on commit.
8548 Future support will use an incompatible generic mechanism.
8549 * vc-git.el (vc-git-add-signoff): Remove variable.
8550 (vc-git-toggle-signoff): Remove function.
8551 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
8553 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
8554 from xterm-set-background-mode. Return t if the background mode
8556 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
8557 earlier, call it again in case the background mode has changed.
8559 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
8561 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
8564 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
8566 * emacs-lisp/assoc.el (aelement): Doc fix.
8567 (aput, adelete, amake): Use lexical-let (Bug#5450).
8569 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
8571 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
8572 is the same as subprogram call, not declaration. (Bug#5435).
8574 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
8576 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
8577 (tramp-smb-maybe-open-connection): Use it.
8579 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
8581 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
8583 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
8585 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
8586 just because we see "encoding: 8bit".
8587 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
8589 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
8591 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
8593 2010-01-22 Eli Zaretskii <eliz@gnu.org>
8595 * jka-compr.el (jka-compr-load): If load-file is not in
8596 load-history, try its file-truename version. (bug#5447)
8598 2010-01-21 Alan Mackenzie <acm@muc.de>
8600 Fix a situation where deletion of a cpp construct throws an error.
8601 * progmodes/cc-engine.el (c-invalidate-state-cache):
8602 Before invoking c-with-all-but-one-cpps-commented-out, check that the
8603 special cpp construct is still in the buffer.
8604 (c-parse-state): Record the special cpp with markers, not numbers.
8606 2010-01-21 Kenichi Handa <handa@m17n.org>
8608 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
8609 process last-command-event, as it is now decoded first (Bug#5380).
8611 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
8613 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
8615 2010-01-20 Glenn Morris <rgm@gnu.org>
8617 * indent.el (tab-always-indent): Fix custom-type.
8619 2010-01-19 Alan Mackenzie <acm@muc.de>
8621 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
8622 buffer throws "args out of range".
8623 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
8624 playing the role of delimiter.
8626 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
8628 * progmodes/ada-mode.el: Fix bug#5400.
8629 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
8630 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
8631 changed. Delete RECURSIVE parameter; never used. Improve doc string.
8632 Improve comments in "is" portion. Handle null procedure declaration.
8633 (ada-move-to-end): Improve doc string.
8635 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
8637 * ido.el (ido-cur-list): Initialize to nil.
8638 Remove obsolete information from commentary.
8639 (ido-choice-list): Initialize to nil.
8640 (ido-get-bufname): Reject minibuffers.
8641 (ido-make-buffer-list): If "default" is a nonexistent
8642 buffer, ignore it, as per the function's comment.
8643 (ido-kill-buffer-internal): New function.
8644 (ido-kill-buffer-at-head): Use it.
8645 (ido-visit-buffer): Likewise.
8647 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
8649 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
8651 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
8653 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
8654 Fix typos in chart titles.
8656 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
8657 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
8658 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
8659 (describe-class, eieio-describe-generic, describe-generic):
8660 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
8661 (eieio-speedbar-expand):
8662 * emulation/viper-cmd.el (viper-exec-form-in-vi)
8663 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
8664 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
8665 (viper-del-backward-char-in-replace, viper-backward-indent)
8666 (viper-brac-function, viper-register-to-point, viper-submit-report):
8667 * net/tramp.el (tramp-remote-coding-commands):
8668 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
8669 Fix typos in docstrings.
8671 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
8673 * mail/sendmail.el (mail-yank-original): Set the mark if the
8674 specified function for yanking does not do it.
8676 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
8678 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
8680 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
8681 resyncing a directory.
8683 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
8685 * progmodes/ada-mode.el: Fix bug#1920.
8686 (ada-ident-re): Delete ., allow multibyte characters.
8687 (ada-goto-label-re): New; matches goto labels.
8688 (ada-block-label-re): New; matches block labels.
8689 (ada-label-re): New; matches both.
8690 (ada-named-block-re): Deleted; callers changed to use
8691 `ada-block-label-re' instead.
8692 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
8693 Use `ada-block-label-re'.
8694 (ada-indent-on-previous-lines): Improve handling of goto labels.
8695 (ada-get-indent-block-start): Special-case block label.
8696 (ada-get-indent-label): Split into `ada-indent-block-label' and
8697 `ada-indent-goto-label'.
8698 (ada-goto-stmt-start, ada-goto-next-non-ws):
8699 Optionally ignore goto labels.
8700 (ada-goto-next-word): Simplify.
8701 (ada-indent-newline-indent-conditional): Insert newline before
8702 trying to fix indentation; doc fix.
8704 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
8706 * calc/calc.el (calc-command-flags): Give it an initial value.
8708 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
8710 * files.el (minibuffer-with-setup-hook):
8711 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
8712 (artist-key-draw-continously, artist-key-do-continously-continously)
8713 (artist-key-set-point-continously, artist-mouse-draw-continously):
8714 Fix typos in docstrings.
8716 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
8718 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
8719 return t (Bug#3898).
8721 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
8723 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
8724 can parse the output of the external commands (Bug#5279).
8726 2010-01-16 Jari Aalto <jari.aalto@cante.net>
8728 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
8730 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
8732 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
8734 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
8736 * startup.el (command-line): Remove unused --icon-type arg.
8737 Handle --display arg, passing it to command-line-1 (Bug#5392).
8739 2010-01-16 Mario Lang <mlang@delysid.org>
8741 * emacs-lisp/chart.el (chart-translate-namezone):
8742 * textmodes/artist.el (artist-compute-popup-menu-table):
8743 Remove duplicated words in doc-strings.
8745 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
8747 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
8748 to mairix-search to suppress threading (Bug#5342).
8750 2010-01-15 Kenichi Handa <handa@m17n.org>
8752 * international/mule-cmds.el (canonicalize-coding-system-name):
8753 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
8755 2010-01-15 Glenn Morris <rgm@gnu.org>
8757 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
8759 * wid-edit.el (widget-keymap): Doc fix.
8761 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
8762 former seems to be more widely accepted by various svn versions.
8764 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8766 * find-cmd.el (find-constituents):
8767 * vc-arch.el (vc-arch-root):
8768 * window.el (window-body-height, pop-up-frames):
8769 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
8770 * progmodes/ada-stmt.el (ada-if):
8771 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
8772 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
8773 (ispell-encoding8-command, ispell-aspell-supports-utf8)
8774 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
8776 * progmodes/flymake.el (flymake-post-syntax-check):
8777 Fix typo in error message.
8779 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8781 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
8782 which is always a string. (Bug#5313)
8784 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8786 * progmodes/ada-xref.el (ada-default-prj-properties):
8787 Simplify previous change.
8789 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8791 * progmodes/ada-xref.el (ada-default-prj-properties):
8792 Default ada_project_path to $ADA_PROJECT_PATH.
8794 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8796 * progmodes/ada-mode.el (ada-create-keymap):
8797 Override `narrow-to-defun' with `ada-narrow-to-defun'.
8799 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8801 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
8802 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
8803 (ada-get-current-indent, ada-imenu-generic-expression)
8804 (ada-which-function): Check for it.
8806 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8808 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
8809 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
8811 2010-01-14 Glenn Morris <rgm@gnu.org>
8813 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
8815 2010-01-14 Kenichi Handa <handa@m17n.org>
8817 * composite.el (auto-composition-mode): Make it a buffer local
8818 variable (permanent-local).
8819 (auto-composition-function): Set the default value to
8821 (auto-composition-mode): Make it a simple function, not a minor mode.
8822 (global-auto-composition-mode): Likewise.
8823 (turn-on-auto-composition-if-enabled): Delete it.
8825 2010-01-13 Karl Fogel <kfogel@red-bean.com>
8827 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
8829 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
8831 * files.el (copy-directory): Compute target for recursive
8832 directories with identical names. (Bug#5343)
8834 2010-01-12 Glenn Morris <rgm@gnu.org>
8836 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
8837 it to bug-gnu-emacs rather than emacs-pretest-bug.
8839 2010-01-11 Sam Steingold <sds@gnu.org>
8841 * imenu.el (imenu-default-create-index-function): Detect infinite
8842 loops caused by imenu-prev-index-position-function.
8844 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8846 * htmlfontify.el (htmlfontify-load-rgb-file)
8847 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
8848 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
8849 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
8850 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
8851 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
8852 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
8853 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
8854 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
8855 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
8856 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
8857 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
8858 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
8859 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
8860 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
8861 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
8862 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
8863 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
8864 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
8865 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
8866 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
8867 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
8868 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
8869 backslash-quoting from parentheses, etc.
8871 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
8873 * progmodes/js.el: Autoload javascript-mode alias.
8875 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8877 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
8878 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
8879 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
8880 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
8881 Fix typos in docstrings.
8882 (ffap-url-regexp): Doc fix.
8883 (ffap-at-mouse): Fix typo in message.
8885 2010-01-11 Glenn Morris <rgm@gnu.org>
8887 * version.el (emacs-copyright): Set copyright year to 2010.
8889 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
8891 * format.el (format-annotate-function): Only set
8892 write-region-post-annotation-function after running to-fn so as not to
8893 affect nested write-region calls (bug#5273).
8895 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
8897 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
8900 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8902 * man.el (Man-goto-section): Signal error if the section is not
8905 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
8907 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
8908 URLs with a leading triple slash in the file: scheme. (Bug#5345)
8910 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8912 * progmodes/compile.el: Don't treat compile-command as safe if
8913 compilation-read-command might be nil (Bug#4218).
8915 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
8917 * startup.el (command-line-1): Use orig-argi to check for ignored X and
8920 2010-01-08 Kenichi Handa <handa@m17n.org>
8922 * international/fontset.el (build-default-fontset-data):
8923 Exclude characters in scripts kana, hangul, han, or cjk-misc.
8925 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
8927 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
8928 to `create-file-buffer' as it expects, not just a buffer name.
8929 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
8930 to help uniquify. (Bug#3224)
8932 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
8934 * font-setting.el (font-setting-change-default-font): Use user-spec
8937 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
8939 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
8941 2010-01-05 Tom Tromey <tromey@redhat.com>
8943 * progmodes/python.el (python-font-lock-keywords):
8944 Handle qualified decorators (Bug#881).
8946 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8948 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
8949 in a lightweight checkout.
8951 2010-01-05 Kenichi Handa <handa@m17n.org>
8953 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
8955 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8957 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
8959 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
8961 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
8962 checkouts. (Bug#618)
8963 (vc-bzr-log-view-mode): Also highlight the author.
8964 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
8965 (vc-bzr-shelve-menu-map):
8966 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
8967 (vc-bzr-shelve-apply): Make prompt more explicit.
8969 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
8971 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
8972 They are valid characters in URL paths (rfc3986), and at least
8973 Firefox does not understand the encoded version (Bug#3166).
8975 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
8977 * progmodes/octave-mod.el (octave-end-keywords)
8978 (octave-block-begin-or-end-regexp, octave-block-match-alist):
8979 Add "end" keyword (Bug#3061).
8980 (octave-end-as-array-index-p): New function.
8981 (calculate-octave-indent): Use it.
8983 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8985 * bookmark.el: Consistently put the text property on the bookmark name.
8986 (bookmark-bmenu-marks-width): Bump back to 2, to include
8988 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
8989 property on the bookmark name, instead of not putting it at all.
8990 (bookmark-bmenu-list): Fix where we put the text property.
8992 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8994 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
8995 for showing buffer modified state (as added in the previous change).
8997 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8999 * bookmark.el: Show modified state of bookmark buffer more accurately.
9000 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9001 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9002 (with-buffer-modified-unmodified): New macro.
9003 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9004 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9005 Use new macro to preserve the buffer modified state.
9007 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9009 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9010 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9011 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9012 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9013 (bookmark-bmenu-rename, bookmark-bmenu-locate)
9014 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9015 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9017 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9019 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9020 Make the lines in the generated doc string shorter. (Bug#4668)
9022 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
9024 * net/rcirc.el: Add follow-link binding (Bug#4738).
9026 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9028 * Makefile.in (bzr-update): Rename from cvs-update.
9029 (cvs-update): New target for backward compatibility.
9031 * makefile.w32-in (bzr-update): Rename from cvs-update.
9032 (cvs-update): New target for backward compatibility.
9034 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9036 * bookmark.el: Remove gratuitous gratitude.
9038 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9040 * bookmark.el (bookmark-bmenu-any-marks): New function.
9041 (bookmark-bmenu-save): Clear buffer modification if no marks.
9043 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9045 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9046 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9047 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9048 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9050 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9051 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9052 To: emacs-devel {_AT_} gnu.org
9053 Subject: bookmark.el bug report
9054 Date: Mon, 28 Dec 2009 14:19:16 +0800
9055 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9057 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9059 * bookmark.el: Improvements suggested by Drew Adams:
9060 (bookmark-bmenu-ensure-position): New name for
9061 `bookmark-bmenu-check-position'. Just ensure the position,
9062 don't return any meaningful value.
9063 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9066 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
9068 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9069 (bookmark-yank-point, bookmark-bmenu-check-position):
9070 Fix typos in docstrings.
9071 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9072 (bookmark-name-from-full-record, bookmark-get-position)
9073 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9074 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9075 Remove useless quoting of parenthesis, etc. in docstrings.
9077 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9078 (ediff-append-custom-diff): Fix typo in error message.
9079 (ediff-meta-mark-equal-files): Fix typos in messages.
9081 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9083 * net/imap-hash.el (imap-hash-make): Doc fix.
9084 (imap-hash-test): Fix typo in error message; reflow docstring.
9085 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
9086 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
9087 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
9088 Fix typos in docstrings.
9089 (imap-hash-open-connection): Fix typo in error message.
9091 * play/gomoku.el (gomoku): Fix typos in docstring.
9093 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
9094 (gdb-jsonify-buffer): Fix typos in docstring.
9095 (gdb-goto-breakpoint): Fix typo in error message.
9096 ("Display Other Windows"): Fix typo in help message.
9097 (gdb-speedbar-expand-node): Fix typo in question.
9099 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
9100 (idlwave-html-system-help-location, idlwave-html-help-location)
9101 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
9102 (idlwave-help-browser-generic-args, idlwave-help-directory)
9103 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
9104 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
9105 (idlwave-online-help, idlwave-help-html-link)
9106 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
9107 Fix typos in docstrings.
9108 (idlwave-help-with-source, idlwave-help-find-routine-definition):
9110 (idlwave-help-assistant-start): Fix typo in error message.
9112 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
9113 (octave-electric-space): Fix typos in docstrings.
9115 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
9117 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
9119 2010-01-01 Juri Linkov <juri@jurta.org>
9121 * comint.el (comint-input-ring-size): Make it a defcustom and
9122 increase the default to 500 (Bug#5148).
9124 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
9126 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
9127 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
9128 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
9130 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
9132 Show working revision correctly for mercurial.
9133 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
9134 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
9136 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
9138 Declare some functions for the byte-compiler.
9139 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
9140 (speedbar-timer-fn, speedbar-change-expand-button-char)
9141 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
9143 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
9145 This changeset reverts GDB Graphical Interface to use annotations.
9146 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
9148 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
9150 Make vc-dir work on subdirectories of the bzr root.
9151 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
9152 file names relative to it.
9153 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
9154 relative directory to vc-bzr-after-dir-status.
9156 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
9158 * font-lock.el (font-lock-refresh-defaults): New function, which
9159 can be used to let font-lock react to external changes in
9160 variables like font-lock-defaults and keywords.
9161 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
9163 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
9165 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
9167 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
9169 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
9171 Supersede color.diff settings in git log (bug#5211).
9173 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
9174 escape chars in its output when the user has color.diff set to `always'.
9175 This fix works on git 1.4.2 and newer (released on 2006-08-13).
9177 2009-12-26 Kevin Ryde <user42@zip.com.au>
9179 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
9180 node. Keep previous "Index" name to work with past coreutils too.
9182 * man.el (man): Revise docstring a bit to show -a and -l as
9183 examples. Add -k description since support for it has otherwise
9184 been a secret. (Further to bug#3717.)
9185 (Man-bgproc-sentinel): When "-k foo" produces no output show error
9186 "no matches" rather than "Can't find manpage", as the latter reads
9187 like -k was interpreted as a page name, which is not so. (Bug#5431)
9189 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
9191 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
9192 switches. Check also for //SUBDIRED// line.
9194 2009-12-25 Kenichi Handa <handa@m17n.org>
9196 * language/indian.el (devanagari-composable-pattern): Fixed to
9197 handle ZWNJ and ZWJ. Use it in composition-function-table for
9199 (malayalam-composable-pattern): Fix previous change.
9201 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9203 * ps-print.el (ps-face-attributes): It was not returning the
9204 attribute face for faces specified as string. Reported by harven
9205 <harven@free.fr>. (Bug#5254)
9206 (ps-print-version): New version 7.3.5.
9208 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
9210 * calendar/icalendar.el (icalendar--convert-tz-offset):
9212 (icalendar--convert-tz-offset): Fix the "last-day-problem".
9213 (icalendar--add-diary-entry): Remove the trailing blank that
9214 diary-make-entry inserts.
9216 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
9218 Make `file-expand-wildcards' work for remote files.
9220 * files.el (file-expand-wildcards): In case of remote files, check
9221 only local file name part for wildcards. Provide feature 'files
9222 and subfeature 'remote-wildcards. (Bug#5198)
9224 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
9225 if there is already an established connection.
9226 (tramp-advice-file-expand-wildcards): Remove it.
9228 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
9229 (tramp-advice-file-expand-wildcards): Move from tramp.el.
9230 Activate advice for older GNU Emacs versions. (Bug#5237)
9232 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
9234 Some doc fixes (more needed).
9236 * find-cmd.el (find-constituents): Reflow docstring.
9237 (find-cmd, find-prune, find-command): Fix typos in docstrings.
9238 (find-generic): Doc fix.
9240 2009-12-17 Juri Linkov <juri@jurta.org>
9242 Fix regression from 23.1 to allow multiple modes in Local Variables.
9244 * files.el (hack-local-variables-filter): While ignoring duplicates,
9245 don't take `mode' into account.
9246 (hack-local-variables-filter, hack-dir-local-variables):
9247 Don't remove duplicate `mode' from local-variables-alist (like `eval').
9249 2009-12-17 Juri Linkov <juri@jurta.org>
9251 Make `dired-diff' safer. (Bug#5225)
9253 * dired-aux.el (dired-diff): Signal an error when `file' equals to
9254 `current' or when `file' is a directory of the `current' file.
9256 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
9258 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
9259 unconditionally preloaded files.
9261 2009-12-16 Juri Linkov <juri@jurta.org>
9263 Revert to old 23.1 logic of using the file at the mark as default.
9264 * dired-aux.el (dired-diff): Use the file at the mark as default
9265 if it's not the same as the current file, and the target dir is
9266 the current dir or the mark is active. Add the current file
9267 as the arg of `dired-dwim-target-defaults'. Use the default file
9268 in the prompt. (Bug#5225)
9270 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
9272 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
9273 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
9274 (tramp-check-for-regexp): Check also, when an echoing shell stops
9275 to echo sent commands.
9277 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9279 * Makefile.in: Revert last change (Bug#5191).
9281 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
9283 * vc-hg.el (vc-hg-print-log): Fix argument order.
9284 (vc-hg-working-revision): Make sure the command is executed in a
9285 known environment so that we can parse the output. (Bug#4417)
9287 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9289 * progmodes/python.el (python-symbol-completions): Remove text
9290 properties from symbol string before calling python-send-receive.
9292 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
9294 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
9295 when there are values for both file and line. (Bug#5060)
9297 2009-12-14 Juri Linkov <juri@jurta.org>
9299 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
9300 whitespace after the file name of the first line of unified format,
9301 because git-diff doesn't output whitespace and file modification time
9302 after the file name.
9304 2009-12-14 David Kastrup <dak@gnu.org>
9306 * info.el (Info-hide-cookies-node): Before hiding a cookie,
9307 check if it already has the `display' property added by
9308 `Info-display-images-node', and not put the `invisible' property
9311 2009-12-13 Glenn Morris <rgm@gnu.org>
9313 * mail/emacsbug.el (message-sort-headers): Define for compiler.
9314 (report-emacs-bug): In message-mode, sort manually before storing
9315 original report text. (Bug#5178)
9316 Remove superfluous save-excursion.
9318 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
9320 * net/dbus.el (dbus-property-handler): Filter lambda forms out
9321 when responding to "GetAll" properties.
9323 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
9325 * simple.el (compose-mail): Remove mail-setup-with-from from
9326 customization checks.
9328 2009-12-12 Eli Zaretskii <eliz@gnu.org>
9330 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
9331 RAR archives created on Unix systems.
9333 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
9335 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
9336 the varalias that was accidentally removed by the 2009-11-19 change
9339 2009-12-12 Kenichi Handa <handa@m17n.org>
9341 * language/indian.el (indian-compose-regexp): New function.
9342 (malayalam-composable-pattern): Fix the pattern.
9343 (composition-function-table): Set malayalam-composable-pattern for
9344 Malayalam characters.
9346 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
9348 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
9349 rather than down-mouse-1, based on follow-link conventions.
9351 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
9354 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
9356 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
9357 (verilog-vmm-statement-re, verilog-ovm-statement-re)
9358 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
9359 (verilog-leap-to-head, verilog-backward-token):
9360 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
9362 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
9364 * progmodes/verilog-mode.el (verilog-auto-lineup)
9365 (verilog-nameable-item-re): Cleanup user-visible spelling and
9366 documentation errors. One reported by Gary Delp.
9367 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
9368 (verilog-read-decls): Fix AUTOWIRE with types declared in a
9369 package, bug195. Reported by Pierre-David Pfister.
9371 2009-12-11 Glenn Morris <rgm@gnu.org>
9373 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
9375 * mail/emacsbug.el: No longer require sendmail.
9376 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
9377 (report-emacs-bug-orig-text): Doc fix.
9378 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
9379 New local variables, to adapt to different mail-user-agents.
9380 (report-emacs-bug): Fix test for a gnu.org address.
9381 Use overlays for emphasis, since font-lock defeats 'face property.
9382 Pretest bugs also end up at the newsgroup these days.
9383 Stop message-mode stripping text properties.
9384 Set and use the new buffer-local variables.
9385 (report-emacs-bug-hook): Add doc-string.
9386 Remove some unnecessary save-excursions and simplify.
9387 Use the appropriate hook and send-command.
9389 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
9390 capitalization of some menu entries.
9392 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9394 * whitespace.el (whitespace-display-char-on):
9395 Ensure `buffer-display-table' is unique when two or more windows are
9396 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
9399 2009-12-10 Eli Zaretskii <eliz@gnu.org>
9401 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
9402 characters in the Attribute field.
9404 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
9406 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
9408 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
9410 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
9411 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9412 Disregard autoload-excludes.
9413 (update-directory-autoloads): Obey autoload-excludes here instead.
9414 But don't store its contents in no-autoloads and remove entries that
9415 refer to excludes files.
9417 2009-12-10 Glenn Morris <rgm@gnu.org>
9419 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
9420 (expand-mail-aliases): Define for compiler.
9422 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
9423 Define for compiler.
9425 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
9426 appropriate for the mail-user-agent in use.
9428 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
9430 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
9432 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
9434 Fix short log parsing and fontification.
9435 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
9436 Fix fontification for the [merge] label.
9438 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
9440 Drop some properties to avoid surprises (bug#5002).
9441 * htmlfontify.el (hfy-ignored-properties): New defcustom.
9442 (hfy-fontify-buffer): Use it.
9444 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
9447 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
9449 (ffap-locate-file): Remove unused arg `dir-ok' and make other
9450 args compulsory. Adjust callers.
9451 (ffap-gopher-at-point): Remove unused var `name'.
9453 Get rid of the ELCFILES abomination.
9454 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9455 (compile-elcfiles): New phony target.
9456 (compile-main): Compute ELCFILES dynamically.
9457 (compile-clean): New target to remove left-over elc files.
9458 (compile, all): Use it.
9460 2009-12-09 Kenichi Handa <handa@etlken>
9462 * international/mule-diag.el: Require help-mode instead of help-fns.
9464 2009-12-09 Kenichi Handa <handa@m17n.org>
9466 * international/mule-cmds.el (ucs-names): Supply sufficiently
9467 fine ranges instead of pre-calculating accurate ranges.
9468 Iterate with bigger gc-cons-threshold.
9470 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
9472 Add support for stashing a snapshot of the current tree.
9473 * vc-git.el (vc-git-stash-snapshot): New function.
9474 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
9476 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
9478 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
9479 instead of `(beginning|end)-of-line'.
9481 2009-12-08 Glenn Morris <rgm@gnu.org>
9483 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
9485 * Makefile.in (ELCFILES): Regenerate.
9487 2009-12-07 Juri Linkov <juri@jurta.org>
9489 Don't lazy-highlight the comint output in history Isearch mode.
9491 * comint.el (comint-history-isearch-search): Instead of
9492 `comint-line-beginning-position', use `comint-after-pmark-p'
9493 to check if point if before the process mark, and go to
9494 `process-mark' in this case.
9496 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9498 * textmodes/tex-mode.el (latex-complete)
9499 (latex-indent-or-complete): Remove.
9500 (latex-mode): Set completion-at-point-functions instead.
9502 Provide a standard completion command and hook it into TAB.
9503 * minibuffer.el (completion-at-point-functions): New var.
9504 (completion-at-point): New command.
9505 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
9506 * progmodes/python.el (python-mode-map): Use completion-at-point.
9507 (python-completion-at-point): Rename from python-partial-symbol and
9508 adjust for use in completion-at-point-functions.
9509 (python-mode): Setup completion-at-point for Python completion.
9510 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
9511 extracted from lisp-complete-symbol.
9512 (lisp-complete-symbol): Use it.
9513 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
9514 setup completion-at-point for Elisp completion.
9515 (emacs-lisp-mode-map, lisp-interaction-mode-map):
9516 Use completion-at-point.
9517 * ielm.el (ielm-map): Use completion-at-point.
9518 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
9519 * progmodes/sym-comp.el: Move to...
9520 * obsolete/sym-comp.el: Move from progmodes.
9522 2009-12-07 Eli Zaretskii <eliz@gnu.org>
9524 Prevent save-buffer in Rmail buffers from using the coding-system
9525 of the current message, and from clobbering the encoding mnemonics
9526 in the mode line (Bug#4623).
9528 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
9530 (rmail-message-encoding): New variable.
9531 (rmail-write-region-annotate): Record the encoding of the current
9532 message in rmail-message-encoding.
9533 (rmail-after-save-hook): New function, restores the encoding of
9534 the current message after the message collection is saved.
9536 2009-12-07 Juri Linkov <juri@jurta.org>
9538 * progmodes/grep.el (grep-read-files): Use `completing-read'
9539 instead of `read-string'. Set its `collection' arg to
9540 `read-file-name-internal'. (Bug#4301)
9542 2009-12-07 Juri Linkov <juri@jurta.org>
9544 Correctly restore original Isearch point. (Bug#4994)
9546 * isearch.el (isearch-mode): Move `isearch-push-state' after
9547 `(run-hooks 'isearch-mode-hook)'.
9548 (isearch-cancel): When `isearch-push-state-function' is defined,
9549 let-bind `isearch-cmds' to the first state (the last element of
9550 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
9551 function and restores the original point). Otherwise, move point
9552 to `isearch-opoint'.
9554 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9556 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
9557 chars that don't have names, so the table can be built much faster at
9560 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
9562 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
9563 change. Suggested by David Kastrup.
9565 * simple.el (compose-mail): Check for incompatibilities and warn.
9566 (compose-mail-user-agent-warnings): New option.
9568 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9570 Support showing a single log entry from vc-annotate.
9571 * vc.el (print-log): Add a new argument: START-REVISION.
9572 (vc-print-log-internal): Add a new optional argument and
9573 pass it to the backend.
9574 (vc-print-log, vc-print-root-log): Adjust callers.
9575 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
9576 buffer already displays the requested log entry, use it.
9577 Otherwise display only the log entry in question.
9578 * vc-svn.el (vc-svn-print-log):
9579 * vc-mtn.el (vc-mtn-print-log):
9580 * vc-hg.el (vc-hg-state):
9581 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
9582 (vc-git-show-log-entry): Return t on success.
9583 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
9584 (vc-bzr-show-log-entry): Return t on success.
9585 * vc-rcs.el (vc-rcs-print-log):
9586 * vc-sccs.el (vc-sccs-print-log):
9587 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
9589 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9591 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
9592 Add menus to the meta mode. (Bug#5043)
9594 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
9596 * ediff-init.el (ediff-event-key): Use event-to-character instead of
9599 * ediff.el (ediff-buffers-internal): Add unwind-protect.
9601 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
9603 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
9604 Berbain <raphael.berbain@gmail.com>.
9606 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
9608 (tramp-initial-end-of-output): New defconst.
9609 (tramp-methods, tramp-find-shell)
9610 (tramp-open-connection-setup-interactive-shell)
9611 (tramp-maybe-open-connection): Use it.
9612 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
9613 existence of `#' and `$'.
9615 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
9616 `tramp-initial-end-of-output'.
9618 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9620 Get the background mode from the terminal for xterm, and set
9622 * term/xterm.el (xterm-set-background-mode): New function.
9623 (terminal-init-xterm): Use it in case xterm supports background
9624 color queries. Recompute faces after getting the background
9627 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
9629 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
9630 number comment back on its own line, for easier parsing.
9632 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9634 Make it work for non-file buffers (bug#5102).
9635 * doc-view.el (doc-view-current-cache-dir):
9636 Use doc-view-buffer-file-name rather than buffer-file-name.
9637 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
9639 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
9641 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
9642 author field is too short.
9644 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
9646 * vc-git.el (vc-git-print-log): Handle a limit argument.
9647 Display the short log in graph form and with labels.
9648 (vc-git-log-view-mode): Handle labels.
9650 Make vc-revert change VC state from 'added to 'unregistered.
9651 * vc-git.el (vc-git-revert): Call git reset first.
9653 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9655 * net/newst-backend.el, net/newst-plainview.el:
9656 * net/newst-reader.el, net/newst-ticker.el:
9657 * net/newst-treeview.el, net/newsticker.el:
9658 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
9660 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9662 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
9664 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
9665 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
9666 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
9667 Update annotation regexp.
9669 * simple.el (beginning-of-visual-line): Constrain to field
9670 boundaries (Bug#5106).
9672 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9674 * xml.el (xml-substitute-numeric-entities): Move
9675 newsticker--decode-numeric-entities in newst-backend.el to
9676 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9677 * net/newst-backend.el (newsticker--parse-generic-feed)
9678 (newsticker--parse-generic-items)
9679 (newsticker--decode-numeric-entities): Move
9680 newsticker--decode-numeric-entities in newst-backend.el to
9681 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9683 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
9685 * progmodes/js.el (js--js-not): Add null to the list of values.
9687 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9689 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
9691 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9693 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
9694 delimiter if it is at the end of the current line.
9695 (bibtex-generate-url-list): Fix docstring.
9697 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9699 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
9700 minibuffer's content with itself.
9701 Fold the confirm-after-completion case into the `confirm' case.
9702 (completion-pcm-word-delimiters): Add : and / to the delimiters.
9704 2009-12-06 Kevin Ryde <user42@zip.com.au>
9706 * ffap.el (ffap-rfc-path): Make this a defcustom since
9707 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
9709 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
9710 manuals, similar to existing setup for help-mode. (Bug#3913.)
9712 2009-12-05 Juri Linkov <juri@jurta.org>
9714 Save and restore dired buffer's point positions too. (Bug#4880)
9716 * dired.el (dired-save-positions): Return in the first element
9717 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
9719 (dired-restore-positions): First restore buffer's position.
9720 While restoring window's positions, check if window still displays
9721 the original buffer.
9723 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
9725 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
9728 * shell.el (shell): Require ansi-color (Bug#5113).
9730 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
9732 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
9734 2009-12-05 Alan Mackenzie <acm@muc.de>
9736 * progmodes/cc-mode.el (c-before-hack-hook)
9737 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
9738 `c-file-style' to work again. This reversion restores the current
9739 software to its state in Emacs 23.1. (Bug#4146)
9741 2009-12-05 Kevin Ryde <user42@zip.com.au>
9743 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
9744 comment-start-skip to comment-end-skip as comment (Bug#4781).
9746 2009-12-05 Juri Linkov <juri@jurta.org>
9748 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
9749 for virtual nodes. (Bug#4147)
9750 (Info-find-node-2): Set `Info-current-node-virtual' to nil
9751 when moving from a virtual node.
9752 (Info-mode-menu): Add `Info-virtual-index' to the menu.
9753 (Info-mode): Add `Info-virtual-index' to the docstring.
9755 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9757 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
9758 track of the buffer position of the end of a BibTeX entry as this
9759 position may change during reformatting.
9760 (bibtex-format-entry): Remove whitespace before processing
9761 numerical fields so that we recognize the latter properly.
9762 (bibtex-reformat): Do not use push which changes the global value
9763 of bibtex-entry-format.
9764 (bibtex-field-braces-alist, bibtex-field-strings-alist)
9765 (bibtex-field-re-init): Replace only space characters by regexp
9767 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
9768 (bibtex-initialize): Also update bibtex-strings.
9769 (bibtex-kill-field): Preserve white space at end of entry.
9770 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
9771 Update bibtex-reference-keys.
9773 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
9775 * minibuffer.el (completion-pcm--merge-try): Also consider placing
9776 point after a star, if that's the only place where modifications can
9779 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
9781 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
9784 2009-12-04 Juri Linkov <juri@jurta.org>
9786 * proced.el (proced): Call `(proced-update t)' to update process
9787 information instead of only running proced-post-display-hook.
9788 (proced-send-signal): Add a leading space to the buffer name
9789 " *Marked Processes*" to make this buffer ephemeral.
9791 2009-12-04 Juri Linkov <juri@jurta.org>
9793 * dired.el (dired-auto-revert-buffer): New defcustom.
9794 (dired-internal-noselect): Use it.
9796 2009-12-04 Juri Linkov <juri@jurta.org>
9798 Change roles of modes and functions in image-mode.el (Bug#5062).
9800 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
9801 in `auto-mode-alist'.
9802 (image-mode-previous-major-mode): New variable.
9803 (image-minor-mode-map): Rename from `image-mode-text-map'.
9804 (image-mode): Move graceful error-handling code from
9805 `image-minor-mode' to here. On errors call `image-mode-as-text'.
9806 (image-minor-mode): Remove all image-handling code.
9807 Replace `image-mode-text-map' with `image-minor-mode-map'.
9808 Check for `image-type' in mode-line format string.
9809 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
9810 (image-mode-as-text): New function with most code from
9812 (image-toggle-display-text): Move code that removes image
9813 properties from `image-toggle-display' to here.
9814 (image-toggle-display-image): New function with code that adds
9815 image properties copied from `image-toggle-display'.
9816 (image-toggle-display): Remove most code with leaving only code
9817 that toggles between `image-mode-as-text' and `image-mode'.
9819 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
9821 * net/newst-treeview.el
9822 (newsticker--treeview-list-highlight-start): Restored call to
9823 save-excursion: Selected item was stuck.
9824 (newsticker--treeview-list-select): New.
9825 (newsticker--treeview-item-show-text)
9826 (newsticker--treeview-item-show)
9827 (newsticker--treeview-item-update): Use new
9828 newsticker-treeview-item-mode.
9829 (newsticker-treeview-update): Keep current item.
9830 (newsticker-treeview-next-new-or-immortal-item): Doc change.
9831 (newsticker--treeview-first-feed): Doc change.
9832 (newsticker-treeview-list-menu)
9833 (newsticker-treeview-item-menu): Added menu entries.
9834 (newsticker-treeview-item-mode): New.
9836 * net/newst-backend.el (newsticker-customize): Delete other
9839 2009-12-04 Sam Steingold <sds@gnu.org>
9841 * log-view.el (log-view-mode-map): "q" calls quit-window,
9842 like in all the other non-self-insert buffers.
9844 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
9847 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
9848 key decoding rather than do it manually via last-input-event +
9850 (term-exec): Use delete-and-extract-region.
9851 (term-handle-ansi-terminal-messages): Remove unused var `end'.
9852 (term-process-pager): Remove unused var `i'.
9853 (term-dynamic-simple-complete): Make obsolete.
9854 (serial-update-config-menu): Remove unused vars `y' and `str'.
9855 (term-update-mode-line): Remove unused var `temp'.
9857 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9859 Limit the number of log entries displayed by default.
9860 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
9861 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
9862 using a prefix argument.
9864 2009-12-03 Glenn Morris <rgm@gnu.org>
9866 * progmodes/idlwave.el (class): Restore still useful declaration.
9868 2009-12-03 Alan Mackenzie <acm@muc.de>
9870 Enhance `c-parse-state' to run efficiently in "brace deserts".
9872 * progmodes/cc-mode.el (c-basic-common-init):
9873 Call c-state-cache-init.
9874 (c-neutralize-syntax-in-and-mark-CPP): Rename from
9875 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
9876 placing `category' properties value 'c-cpp-delimiter at its boundaries.
9878 * progmodes/cc-langs.el (c-before-font-lock-function):
9879 c-extend-and-neutralize-syntax-in-CPP has been renamed
9880 c-neutralize-syntax-in-and-mark-CPP.
9882 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
9883 with `category' properties now, not `syntax-table' ones.
9885 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
9886 enhanced (but slower) version of c-end-of-macro that won't land
9887 inside a literal or on another awkward character.
9888 (c-state-cache-too-far, c-state-cache-start)
9889 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
9890 (c-state-nonlit-pos-cache-limit, c-state-point-min)
9891 (c-state-point-min-lit-type, c-state-point-min-lit-start)
9892 (c-state-min-scan-pos, c-state-brace-pair-desert)
9893 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
9894 buffer local variables.
9895 (c-state-literal-at, c-state-lit-beg)
9896 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
9897 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
9898 (c-state-cache-top-paren, c-state-cache-after-top-paren)
9899 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
9900 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
9901 (c-renarrow-state-cache)
9902 (c-append-lower-brace-pair-to-state-cache)
9903 (c-state-push-any-brace-pair, c-append-to-state-cache)
9904 (c-remove-stale-state-cache)
9905 (c-remove-stale-state-cache-backwards, c-state-cache-init)
9906 (c-invalidate-state-cache-1, c-parse-state-1)
9907 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
9908 (c-parse-state): Enhance and refactor.
9909 (c-debug-parse-state): Amend to deal with all the new variables.
9911 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
9912 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
9913 modify to use category text properties rather than syntax-table ones.
9914 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
9915 to switch off/on the syntactic paren property of C++ template
9916 delimiters using the category property.
9917 (c-with-<->-as-parens-suppressed): Macro to invoke code with
9918 template delims suppressed.
9919 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
9920 New constant/macros which apply category properties to the start
9921 and end of preprocessor constructs.
9922 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
9923 "comment out" the syntactic value of characters in preprocessor
9925 (c-with-cpps-commented-out)
9926 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
9927 with characters in all or all but one preprocessor constructs
9930 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9932 * proced.el (proced-filter-alist): Use regexp-quote.
9934 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
9937 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
9938 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
9939 arguments. Expand `default-directory'.
9941 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
9942 the benefit of returning an expanded localname.
9943 (tramp-tramp-file-p): Handle the case NAME is not a string.
9945 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9947 Add support for bzr shelve/unshelve.
9948 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9949 (vc-bzr-extra-menu-map): New variables.
9950 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
9951 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
9952 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
9953 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
9954 (vc-bzr-dir-extra-headers): Display shelves.
9956 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
9958 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9960 * textmodes/bibtex.el (bibtex-complete-internal):
9961 Use completion-in-region.
9962 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
9964 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9966 Support applying stashes. Improve UI.
9967 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
9968 (vc-git-stash-apply, vc-git-stash-pop)
9969 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
9970 (vc-git-stash-menu): New functions.
9971 (vc-git-stash-menu-map): New variable.
9972 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
9974 2009-12-03 Glenn Morris <rgm@gnu.org>
9976 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
9977 (vc-print-log-internal): Fix previous change.
9978 (vc-revert): Correct pluralization.
9980 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9982 * progmodes/make-mode.el (makefile-special-targets-list): No need for
9983 it to be an alist any more.
9984 (makefile-complete): Use completion-in-region.
9986 * progmodes/octave-mod.el (octave-complete-symbol):
9987 Use completion-in-region.
9990 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
9991 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
9992 (idlwave-complete-class): Don't quote lambda.
9993 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
9994 (idlwave-mode-map): Move initialization into declaration.
9995 (idlwave-action-and-binding): Use backquotes.
9996 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
9998 (idlwave-is-pointer-dereference): Remove unused var `pos'.
9999 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10000 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10001 `parts', and `all-parts'.
10002 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10003 (idlwave-convert-xml-system-routine-info): Remove unused string
10005 (idlwave-display-user-catalog-widget): Use dolist.
10006 (idlwave-scanning-lib): Declare dynamically-scoped var.
10007 (idlwave-scan-library-catalogs): Remove unused var `flags'.
10008 (completion-highlight-first-word-only): Declare to silence bytecomp.
10009 (idlwave-popup-select): Tighten scope of `resp'.
10010 (idlwave-find-struct-tag): Remove unused var `beg'.
10011 (idlwave-after-load-rinfo-hook): Declare.
10012 (idlwave-sintern-class-info): Remove unused var `taglist'.
10013 (idlwave-find-class-definition): Remove unused var `list'.
10014 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10015 (idlwave-what-module-find-class): Remove unused var `classes'.
10017 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
10019 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10021 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10023 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10024 buffers visited. Remove redundant current-buffer-saving.
10026 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10028 Use completion-in-buffer and remove uses of dynamic scoping.
10029 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10030 (pascal-buffer-to-use, pascal-flag): Don't declare.
10031 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10032 (pascal-get-completion-decl, pascal-keyword-completion):
10033 Add `pascal-str' argument, save-excursion,
10034 return the found completions, and don't filter with pascal-pred.
10035 (pascal-completion-cache): New var.
10036 (pascal-completion): Don't switch buffer any more (it was never
10037 necessary). Don't save-excursion any more (it's done by the called
10038 subroutines). Use a cache to avoid redundant computations.
10039 Use complete-with-action rather than pascal-completion-response and
10040 let it apply the predicate as well.
10041 (pascal-complete-word): Use completion-in-buffer when
10042 pascal-toggle-completions is nil.
10043 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10045 (pascal-comp-defun): Don't change buffer any more.
10046 Use complete-with-action rather than pascal-completion-response and
10047 let it apply the predicate as well.
10048 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10051 2009-12-02 Kenichi Handa <handa@m17n.org>
10053 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10054 shape for all Indic scripts.
10056 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10058 Use completion-in-buffer.
10059 * wid-edit.el (widget-field-text-end): New function.
10060 (widget-field-value-get): Use it.
10061 (widget-string-complete, widget-file-complete)
10062 (widget-color-complete): Use it and completion-in-region.
10063 (widget-complete): Don't narrow the buffer.
10065 2009-12-02 Glenn Morris <rgm@gnu.org>
10067 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
10068 (rmail-select-summary): Use rmail-pop-to-buffer.
10069 * mail/rmailsum.el: Replace all pop-to-buffer calls with
10070 rmail-pop-to-buffer, to prevent horizontal splits.
10072 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10073 save-excursion with save-current-buffer.
10074 Widen before searching. (Bug#5093)
10075 (diary-list-sexp-entries): Remove superfluous save-excursion.
10077 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
10079 * woman.el (woman-make-bufname): Handle man-pages with "." in the
10082 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
10084 * ido.el (ido-file-internal): Handle filenames at point that do
10085 not have a directory part. (Bug#5049)
10087 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
10089 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
10090 (mpc-songs-jump-to, mpc-resume): Doc fixes.
10092 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
10094 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
10095 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
10098 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10100 * comint.el (comint-insert-input): Ignore clicks to the right of
10101 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
10103 * vc.el (vc-print-log-internal): Don't wait for the process to
10104 terminate before setting up the major mode.
10106 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
10109 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
10112 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
10114 2009-12-01 Glenn Morris <rgm@gnu.org>
10116 * window.el (window--display-buffer-2): Fix previous changes.
10118 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
10120 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
10122 2009-12-01 Glenn Morris <rgm@gnu.org>
10124 * Makefile.in (ELCFILES): Add mpc.elc.
10126 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10128 * mpc.el: New file.
10130 2009-12-01 Glenn Morris <rgm@gnu.org>
10132 * window.el (window-to-use): Define for compiler.
10134 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
10135 consistent with others (no final period).
10137 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
10138 (rmail-mime-show): Downcase the encoding. (Bug#5070)
10140 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
10142 Make vc-print-log buttons work.
10143 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
10145 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
10147 * savehist.el (savehist-autosave-interval): Allow setting to nil
10148 through customize. (Bug#5056)
10150 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
10152 Fix references to jit-lock properties.
10153 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
10154 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
10155 (perl-font-lock-special-syntactic-constructs):
10156 Quote jit-lock-defer-multiline property.
10158 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
10160 * vc-git.el (vc-git-registered): Call vc-git-root only once.
10162 2009-11-30 Juri Linkov <juri@jurta.org>
10164 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
10165 value `buffer' of `multi-isearch-next-buffer-current-function'.
10166 Use `(current-buffer)' when `buffer' is nil.
10167 (multi-isearch-next-buffer-from-list): Don't fallback to
10168 `(current-buffer)' when `buffer' is nil. (Bug#4947)
10170 2009-11-30 Juri Linkov <juri@jurta.org>
10172 * misearch.el (multi-isearch-read-buffers): Move canonicalization
10173 of buffers with `get-buffer' to `multi-isearch-buffers'.
10174 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10175 Canonicalize BUFFERS with `get-buffer'. Doc fix.
10176 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
10177 FILES with `expand-file-name' converting relative file names
10178 to absolute. Doc fix. (Bug#4727)
10180 2009-11-30 Juri Linkov <juri@jurta.org>
10182 * misearch.el (multi-isearch-read-buffers)
10183 (multi-isearch-read-matching-buffers): New functions.
10184 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10185 Use them in the `interactive' spec. Doc fix.
10186 (multi-isearch-read-files, multi-isearch-read-matching-files):
10188 (multi-isearch-files, multi-isearch-files-regexp):
10189 Use them in the `interactive' spec. Doc fix. (Bug#4725)
10191 2009-11-30 Juri Linkov <juri@jurta.org>
10193 * doc-view.el (doc-view-continuous):
10194 Rename from `doc-view-continuous-mode'.
10195 (doc-view-menu): Move "Toggle display" to the top.
10196 Add submenu "Continuous" with radio buttons "Off"/"On"
10197 and "Save as Default".
10198 (doc-view-scroll-up-or-next-page)
10199 (doc-view-scroll-down-or-previous-page)
10200 (doc-view-next-line-or-next-page)
10201 (doc-view-previous-line-or-previous-page): Rename
10202 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
10204 2009-11-30 Juri Linkov <juri@jurta.org>
10206 * comint.el (comint-mode-map): Rebind `M-r' from
10207 `comint-previous-matching-input' to
10208 `comint-history-isearch-backward-regexp'.
10209 Unbind `M-s' to allow global key binding `M-s'.
10210 Add menu items for `comint-history-isearch-backward' and
10211 `comint-history-isearch-backward-regexp'. (Bug#3746)
10213 2009-11-30 Juri Linkov <juri@jurta.org>
10215 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
10216 For def=recenter, replace `recenter' with `recenter-top-bottom'
10217 that is called with `this-command' and `last-command' let-bound
10218 to `recenter-top-bottom'. When the last `def' was not `recenter',
10219 set `recenter-last-op' to nil. (Bug#4981)
10221 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
10223 Minor cleanup and simplification.
10224 * filecache.el (file-cache-add-directory)
10225 (file-cache-add-directory-recursively)
10226 (file-cache-add-from-file-cache-buffer)
10227 (file-cache-delete-file-regexp, file-cache-delete-directory)
10228 (file-cache-files-matching-internal, file-cache-display): Use dolist.
10229 (file-cache-temp-minibuffer-message): Delete function.
10230 (file-cache-minibuffer-complete): Use minibuffer-message instead.
10232 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
10233 Don't signal an error when bumping into EOB in tr, s, or y.
10235 2009-11-29 Juri Linkov <juri@jurta.org>
10237 * startup.el (fancy-about-text): Fix wording of Guided Tour.
10240 * descr-text.el (describe-char-unidata-list): Use lowercase name
10241 for "Unicode name" like in other tags.
10243 2009-11-29 Juri Linkov <juri@jurta.org>
10245 * ediff-util.el (ediff-minibuffer-with-setup-hook):
10246 New compatibility macro.
10247 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
10249 2009-11-29 Juri Linkov <juri@jurta.org>
10251 Add defcustom to define the cycling order of `recenter-top-bottom'.
10254 * window.el (recenter-last-op): Doc fix.
10255 (recenter-positions): New defcustom.
10256 (recenter-top-bottom): Rewrite to use `recenter-positions'.
10257 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
10259 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
10261 Improve integration of Tramp and ange-ftp in eshell.
10263 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
10264 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
10265 (eshell/sudo): Flatten args. Let-bind `default-directory'.
10267 * eshell/esh-util.el (top): Require also Tramp when compiling.
10268 (eshell-directory-files-and-attributes): Check for FTP remote
10270 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
10271 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
10272 (eshell-file-attributes): Handle ".". Return `entry'.
10274 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
10275 (ange-ftp-directory-files-and-attributes)
10276 (ange-ftp-real-directory-files-and-attributes): New defuns.
10278 * net/tramp.el (tramp-maybe-open-connection): Open the remote
10279 shell with "exec" when possible. This prevents trailing prompts
10280 in `start-file-process'.
10282 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10284 Try and remove assumptions about point-min==1.
10285 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
10286 (rng-compute-mode-line-string): Show the validation percentage in
10287 terms of the narrowed text, not the widened text.
10288 (rng-do-some-validation): Don't catch internal errors when debugging.
10289 (rng-first-error): Simplify.
10290 (rng-after-change-function): Remove work around. AFAIK the bug has
10291 been fixed a while ago.
10293 * image-mode.el (image-minor-mode): Exit more gracefully when the image
10294 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
10296 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
10298 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
10299 `cd' doesn't always do it for us (bug#5067).
10301 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
10302 on 2009-10-25 as part of some other change (bug#5067).
10304 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
10306 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
10308 (byte-compile-warnings): Use byte-compile-warning-types.
10309 (byte-compile-save-excursion): Warn about use of set-buffer right
10310 after save-excursion.
10312 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
10313 the excursion as well.
10315 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
10317 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
10318 providing a Tramp related implementation of "su" and "sudo".
10319 (eshell-unix-initialize): Add "su" and "sudo".
10321 2009-11-27 Daiki Ueno <ueno@unixuser.org>
10323 * net/socks.el (socks-send-command): Convert binary request to
10324 unibyte before sending. This fixes mishandling of some port
10325 numbers such as 129.
10327 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
10329 * help.el (describe-bindings-internal): Remove `interactive'.
10331 * man.el (Man-completion-table): Trim a terminating "(".
10332 Remove the space between name page a section.
10333 Add the command's description on the `help-echo' property.
10334 Remove `process-connection-type' binding since it's unused by
10336 Provide completion for the "<section> <name>" format as well.
10337 (Man-default-man-entry): Remove spurious var shadowing the argument.
10339 2009-11-26 Kevin Ryde <user42@zip.com.au>
10341 * log-view.el: Add "Keywords: tools", since its other keywords
10342 aren't in finder-known-keywords, and following vc.el.
10344 * sha1.el (sha1-string-external): default-directory "/" in case
10345 otherwise non-existent. process-connection-type pipe for touch of
10346 efficiency recommended by elisp manual. (An aside in Bug#3911.)
10348 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
10350 Misc coding convention cleanups.
10351 * htmlfontify.el (hfy-init-kludge-hook): Rename from
10352 hfy-init-kludge-hooks.
10353 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
10354 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
10355 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
10357 (hfy-slant, hfy-weight): Use tables rather than code.
10358 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
10359 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
10360 (hfy-face-attr-for-class): Initialize `face-spec' directly.
10361 (hfy-face-to-css): Remove `nconc' with single arg.
10362 (hfy-p-to-face-lennart): Use `or'.
10363 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
10364 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
10365 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
10366 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
10367 (hfy-force-fontification): Use run-hooks.
10369 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
10371 Various minor fixes.
10372 * htmlfontify.el (hfy-default-header): Add toggle_invis since
10373 Javascript belongs in the header, not the body.
10374 (hfy-javascript): Remove.
10375 (hfy-fontify-buffer): Don't insert it any more.
10376 (hfy-face-at): Handle (face0 face1 face2) style face properties.
10377 Fix bug in invis handling when there were no invis props in a chunk.
10379 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
10381 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
10383 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
10385 * finder.el (finder-mode-map): Add a menu.
10387 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
10389 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
10390 "unsigned" structs.
10392 (verilog-leap-to-head, verilog-backward-token): Handle "disable
10393 fork" statement better.
10395 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
10397 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
10398 (verilog-delete-auto, verilog-delete-empty-auto-pair)
10399 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
10400 Reported by Clay Douglass.
10402 (verilog-auto-inst, verilog-auto-star-safe)
10403 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
10404 Fix removing "// Interfaces" when saving .* expansions. Reported by
10405 Pierre-David Pfister.
10407 2009-11-26 Glenn Morris <rgm@gnu.org>
10409 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
10412 2009-11-25 Johan Bockgård <bojohan@gnu.org>
10414 * vc-annotate.el (vc-annotate-revision-previous-to-line):
10415 Really use previous revision.
10417 2009-11-25 Kevin Ryde <user42@zip.com.au>
10419 * man.el (Man-completion-table): default-directory "/" in case
10420 doesn't otherwise exist. process-environment COLUMNS=999 so as
10421 not to truncate long names. process-connection-type pipe to avoid
10422 any chance of hitting the pseudo-tty TIOCGWINSZ.
10423 (man): completion-ignore-case t for friendliness and since man
10424 itself is case-insensitive on the command line.
10425 Further to Bug#3717.
10427 * arc-mode.el: Add "Keywords: files", so the details in its
10428 commentary can be reached from finder-by-keyword.
10429 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
10430 editing mode, but it's comms related and sgml-mode.el has "comm"
10432 * textmodes/bibtex-style.el: Add "Keywords: tex".
10433 * international/isearch-x.el, international/ja-dic-cnv.el:
10434 * international/ja-dic-utl.el, international/kkc.el:
10435 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
10437 2009-11-25 Juri Linkov <juri@jurta.org>
10439 * man.el (Man-completion-table): Modify regexp to include
10440 section names to completion strings. (Bug#3717)
10442 2009-11-25 Juri Linkov <juri@jurta.org>
10444 Search recursively in gzipped files. (Bug#4982)
10446 * progmodes/grep.el (grep-highlight-matches): Add new options
10447 `always' and `auto'. Doc fix.
10448 (grep-process-setup): Check `grep-highlight-matches' for
10449 `auto-detect' to determine the need to compute grep defaults.
10450 Move Windows/DOS specific --colors settings handling
10451 to `grep-compute-defaults'. Check `grep-highlight-matches'
10452 to get the value of "--color=".
10453 (grep-compute-defaults): Compute `grep-highlight-matches' when it
10454 has the value `auto-detect'. Move Windows/DOS specific settings
10455 from `grep-process-setup'.
10456 (zrgrep): New command with alias `rzgrep'.
10458 2009-11-25 Juri Linkov <juri@jurta.org>
10460 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
10461 to nil instead of switching off view-mode. (Bug#4896)
10463 2009-11-25 Juri Linkov <juri@jurta.org>
10465 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
10467 * mwheel.el (mwheel-scroll-up-function)
10468 (mwheel-scroll-down-function): New defvars.
10469 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
10470 `scroll-up', and `mwheel-scroll-down-function' instead of
10473 * doc-view.el (doc-view-scroll-up-or-next-page)
10474 (doc-view-scroll-down-or-previous-page): Add optional ARG.
10475 Use this ARG in the call to image-scroll-up/image-scroll-down.
10476 Change `interactive' spec to "P". Goto next/previous page only
10477 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
10478 SPC/DEL case). Doc fix.
10479 (doc-view-next-line-or-next-page)
10480 (doc-view-previous-line-or-previous-page): Rename arg to ARG
10482 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
10483 `doc-view-scroll-up-or-next-page', and buffer-local
10484 `mwheel-scroll-down-function' to
10485 `doc-view-scroll-down-or-previous-page'.
10487 2009-11-25 Juri Linkov <juri@jurta.org>
10489 Provide additional default values (directories at other Dired
10490 windows) via M-n in the minibuffer of some Dired commands.
10492 * dired-aux.el (dired-diff, dired-compare-directories)
10493 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
10494 `minibuffer-default' in `minibuffer-with-setup-hook'.
10495 (dired-dwim-target-directory): Find a window that displays Dired
10496 buffer instead of failing when the next window is not Dired.
10497 Use `get-window-with-predicate' to find for the next Dired window.
10498 (dired-dwim-target-defaults): New function.
10500 * ediff-util.el (ediff-read-file-name):
10501 Use `dired-dwim-target-defaults' to set `minibuffer-default'
10502 in `minibuffer-with-setup-hook'.
10504 2009-11-25 Juri Linkov <juri@jurta.org>
10506 Provide additional default values (file name at point or at the
10507 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
10509 * minibuffer.el (read-file-name-defaults): New function.
10510 (read-file-name): Reset `minibuffer-default' to nil when
10511 it duplicates initial input `insdef'.
10512 Bind `minibuffer-default-add-function' to lambda that
10513 calls `read-file-name-defaults' in `minibuffer-selected-window'.
10514 (minibuffer-insert-file-name-at-point): New command.
10516 * files.el (file-name-at-point-functions): New defcustom.
10517 (find-file-default): Remove defvar.
10518 (find-file-read-args): Don't use `find-file-default'.
10519 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10520 to `read-file-name'.
10521 (find-file-literally): Use `read-file-name' with
10522 `confirm-nonexistent-file-or-buffer'.
10524 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
10526 * dired.el (dired-read-dir-and-switches):
10527 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10528 to `read-file-name'.
10529 (dired-file-name-at-point): New function.
10530 (dired-mode): Add hook `dired-file-name-at-point' to
10531 `file-name-at-point-functions'.
10533 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10535 Really make the *Completions* window soft-dedicated (bug#5030).
10536 * window.el (window--display-buffer-2): Add `dedicated' argument.
10537 (display-buffer): Pass it when needed so the dedicated flag is set
10538 after calling set-window-buffer, which would otherwise reset it.
10540 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10542 * progmodes/meta-mode.el (meta-complete-symbol):
10543 * progmodes/etags.el (complete-tag):
10544 * mail/mailabbrev.el (mail-abbrev-complete-alias):
10545 Use completion-in-region.
10547 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
10548 (dabbrev-completion): Use completion-in-region.
10549 (dabbrev--abbrev-at-point): Simplify regexp.
10551 * abbrev.el (abbrev--before-point): Use word-motion functions
10552 if :regexp is not specified (bug#5031).
10554 * subr.el (string-prefix-p): New function.
10556 * man.el (Man-completion-cache): New var.
10557 (Man-completion-table): Use it.
10559 * vc.el (vc-print-log-internal): Make `limit' optional for better
10560 compatibility (e.g. with vc-annotate.el).
10562 2009-11-24 Kevin Ryde <user42@zip.com.au>
10564 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
10565 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
10567 * emacs-lisp/elint.el (elint-add-required-env): Better error message
10568 when .el source file not found or other error.
10570 2009-11-24 Markus Triska <markus.triska@gmx.at>
10572 * linum.el (linum-update-window): Ignore intangible (bug#4996).
10574 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
10576 Handle the [back] button properly (bug#4979).
10577 * descr-text.el (describe-text-properties): Add a `buffer' argument.
10578 Use help-setup-xref, help-buffer, and with-help-window.
10579 (describe-char): Add `buffer' argument.
10580 Pass proper command to help-setup-xref. Don't meddle with
10581 help-xref-stack-item directly.
10582 (describe-text-category): Use with-help-window and help-buffer.
10584 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
10585 for the displayed buffer (bug#4887).
10587 * man.el (Man-completion-table): New function.
10590 2009-11-24 David Reitter <david.reitter@gmail.com>
10592 * vc-git.el (vc-git-registered): Use checkout directory (where
10593 .git is) rather than the file's directory and a relative path spec
10594 to work around a bug in git.
10596 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
10598 Improve handling of processes on remote hosts.
10600 * eshell/esh-util.el (eshell-path-env): New defvar.
10601 (eshell-parse-colon-path): New defun.
10602 (eshell-file-attributes): Use `eshell-parse-colon-path'.
10604 * eshell/esh-ext.el (eshell-search-path):
10605 Use `eshell-parse-colon-path'.
10606 (eshell-remote-command): Remove argument HANDLER.
10607 (eshell-external-command): Check for FTP remote connection.
10609 * eshell/esh-proc.el (eshell-gather-process-output):
10610 Use `file-truename', in order to start also symlinked files.
10611 Apply `start-file-process' instead of `start-process'.
10612 Shorten `command' to the local file name part.
10614 * eshell/em-cmpl.el (eshell-complete-commands-list):
10615 Use `eshell-parse-colon-path'.
10617 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
10619 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
10620 to `eshell-directory-change-hook'.
10622 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
10624 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
10625 because it could be enabled automatically if view-read-only is non-nil.
10627 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
10629 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
10630 made on 2009-11-22.
10632 2009-11-24 Glenn Morris <rgm@gnu.org>
10634 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
10635 deleted variable bookmark-bmenu-bookmark-column.
10637 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
10639 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
10641 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
10643 * net/browse-url.el (browse-url-filename-alist): On Windows, add
10644 two slashes to the "file:" prefix.
10645 (browse-url-file-url): De-munge Cygwin filenames before passing
10646 them to Windows browser.
10647 (browse-url-default-windows-browser): Use call-process.
10649 2009-11-23 Juri Linkov <juri@jurta.org>
10651 Implement DocView Continuous mode. (Bug#4896)
10652 * doc-view.el (doc-view-continuous-mode): New defcustom.
10653 (doc-view-mode-map): Bind C-n/<down> to
10654 `doc-view-next-line-or-next-page', C-p/<up> to
10655 `doc-view-previous-line-or-previous-page'.
10656 (doc-view-next-line-or-next-page)
10657 (doc-view-previous-line-or-previous-page): New commands.
10659 2009-11-23 Juri Linkov <juri@jurta.org>
10661 Implement Isearch in comint input history. (Bug#3746)
10662 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
10663 `isearch-mode-hook'.
10664 (comint-history-isearch): New defcustom.
10665 (comint-history-isearch-backward)
10666 (comint-history-isearch-backward-regexp): New commands.
10667 (comint-history-isearch-message-overlay): New buffer-local variable.
10668 (comint-history-isearch-setup, comint-history-isearch-end)
10669 (comint-goto-input, comint-history-isearch-search)
10670 (comint-history-isearch-message, comint-history-isearch-wrap)
10671 (comint-history-isearch-push-state)
10672 (comint-history-isearch-pop-state): New functions.
10674 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
10676 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
10678 (tramp-handle-make-symbolic-link)
10679 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
10681 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
10682 (tramp-handle-process-file): Use it.
10684 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
10686 * window.el (move-to-window-line-last-op): Remove.
10687 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
10689 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10691 Make M-r mirror the new cycling behavior of C-l.
10692 * window.el (move-to-window-line-last-op): New var.
10693 (move-to-window-line-top-bottom): New command.
10694 (global-map): Bind M-r move-to-window-line-top-bottom.
10696 2009-11-23 Sven Joachim <svenjoac@gmx.de>
10698 * dired-x.el (dired-guess-shell-alist-default):
10699 Support xz format. (Bug#4953)
10701 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
10703 * emulation/viper-cmd.el: Use viper-last-command-char instead of
10704 last-command-char/last-command-event.
10705 (viper-prefix-arg-value): Do correct conversion of event-char for
10708 * emulation/viper-util.el, emulation/viper.el:
10709 Use viper-last-command-char instead of
10710 last-command-char/last-command-event.
10712 * ediff-init.el, ediff-mult.el, ediff-util.el:
10713 Replace last-command-char and last-command-event
10714 with (ediff-last-command-char) everywhere.
10716 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
10717 created in fundamental mode.
10719 * ediff.el (ediff-version): Revert the change of interactive-p to
10720 called-interactively-p.
10722 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
10724 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
10725 generation from word-movement command names.
10727 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
10729 * cus-start.el (all): Add native condition for font-use-system-font.
10731 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
10733 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
10734 Correct the patch from 2009-11-18. (Bug#3910)
10736 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
10738 * progmodes/subword.el: Rename from lisp/subword.el.
10740 * subword.el: Rename to progmodes/subword.el.
10742 * Makefile.in (ELCFILES): Adapt to subword.el move.
10744 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10745 Stefan Monnier <monnier@iro.umontreal.ca>
10747 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
10748 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
10749 (bookmark-bmenu-show-filenames): Use push.
10750 (bookmark-bmenu-hide-filenames): Use local var instead of
10751 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
10752 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
10753 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
10754 filenames now that the bookmark names are always available.
10756 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10758 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
10759 (bookmark-search-pattern): Move and leave unbound.
10760 (bookmark-bmenu-mode-map): Change binding.
10761 (bookmark-read-search-input): Simplify.
10762 Don't use text-char-description. Don't error on non-char events.
10763 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
10764 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
10765 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
10766 Use a local var for the timer.
10767 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
10768 (i.e. bookmark-bmenu-search).
10770 2009-11-21 Glenn Morris <rgm@gnu.org>
10772 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
10774 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
10776 * net/browse-url.el (browse-url-default-windows-browser):
10777 Use cygstart for cygwin.
10779 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
10781 * bookmark.el: Formatting and doc fixes only:
10782 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
10783 (bookmark-bmenu-search): Wrap to fit within 80 columns.
10784 Minor grammar and punctuation fixes in doc string.
10785 (bookmark-read-search-input): Adjust to fit within 80 columns.
10787 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10789 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
10790 (c-backward-into-nomenclature): Adapt to subword renaming.
10792 * subword.el (subword-forward, subword-backward, subword-mark)
10793 (subword-kill, subword-backward-kill, subword-transpose)
10794 (subword-downcase, subword-upcase, subword-capitalize)
10795 (subword-forward-internal, subword-backward-internal):
10796 Rename from forward-subword, backward-subword, mark-subword,
10797 kill-subword, backward-kill-subword, transpose-subwords,
10798 downcase-subword, upcase-subword, capitalize-subword,
10799 forward-subword-internal, backward-subword-internal.
10801 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10803 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
10805 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
10807 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
10808 (bookmark-bmenu-filter-alist-by-regexp)
10809 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
10810 (bookmark-bmenu-search): New command.
10811 (bookmark-bmenu-mode-map): Bind it.
10813 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10815 * progmodes/cc-cmds.el: declare-functioned forward-subword and
10816 backward-subword to quit the byte-compiler.
10818 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
10820 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
10822 * progmodes/cc-cmds.el (c-update-modeline)
10823 (c-forward-into-nomenclature, c-backward-into-nomenclature):
10824 Refer to subword.el functions instead of cc-subword.el.
10826 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
10827 subword.el functions instead of cc-subword.el.
10829 * progmodes/cc-subword.el: Rename to subword.el.
10830 * subword.el: Rename from progmodes/cc-subword.el.
10831 (subword-mode-map): Rename from c-subword-mode-map.
10832 (subword-mode): Rename from c-subword-mode.
10833 (global-subword-mode): New global minor mode.
10834 (forward-subword): Rename from c-forward-subword.
10835 (backward-subword): Rename from c-backward-subword.
10836 (mark-subword): Rename from c-mark-subword.
10837 (kill-subword): Rename from c-kill-subword.
10838 (backward-kill-subword): Rename from c-backward-kill-subword.
10839 (transpose-subwords): Rename from c-tranpose-subword.
10840 (downcase-subword): Rename from c-downcase-subword.
10841 (capitalize-subword): Rename from c-capitalize-subword.
10842 (forward-subword-internal): Rename from c-forward-subword-internal.
10843 (backward-subword-internal): Rename from c-backward-subword-internal.
10845 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
10847 * vc.el (vc-deduce-fileset): Allow non-state changing operations
10848 from a dired buffer.
10849 (vc-dired-deduce-fileset): New function.
10850 (vc-root-diff, vc-print-root-log): Use it.
10852 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
10853 nil LIMIT argument to vc-print-log-internal.
10855 2009-11-20 Glenn Morris <rgm@gnu.org>
10857 * Makefile.in (ELCFILES): Regenerate.
10859 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
10861 * calc/calc.el (calc-set-mode-line):
10862 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10863 (math-format-number): Rename `math-format-complement-signed' to
10864 `math-format-twos-complement'.
10866 * calc/calc-bin.el (math-format-twos-complement): Rename from
10867 math-format-complement-signed.
10868 (calc-radix): Rename `calc-complement-signed-mode' to
10869 `calc-twos-complement-mode'.
10870 (calc-octal-radix, calc-hex-radix): Add an argument for
10873 * calc/calc-embed.el (calc-embedded-mode-vars):
10874 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10876 * calc/calc-ext.el (calc-init-extensions):
10877 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10878 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
10880 * calc/calc-units.el (math-build-units-table-buffer):
10881 Let `calc-twos-complement-mode' be nil.
10883 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
10886 * calc/calc-vec.el (calcFunc-vunpack):
10887 * calc/calc-aent.el (calc-do-calc-eval):
10888 * calc/calc-forms.el (math-format-date):
10889 * calc/calc-graph.el (calc-graph-plot):
10890 * calc/calc-math.el (math-use-emacs-fn):
10891 * calc/calccomp.el (math-compose-expr):
10892 Let `calc-twos-complement-mode' be nil.
10894 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10896 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
10897 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
10898 * minibuffer.el (completion-in-region-functions): New hook.
10899 (completion-in-region): New function.
10900 * emacs-lisp/lisp.el (lisp-complete-symbol):
10901 * pcomplete.el (pcomplete-std-complete): Use it.
10903 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10905 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
10906 (latex-complete-alist): New vars.
10907 (latex-string-prefix-p, latex-complete-bibtex-keys)
10908 (latex-complete-envnames, latex-complete-refkeys)
10909 (latex-complete-data): New functions.
10910 (latex-complete, latex-indent-or-complete): New commands.
10912 * window.el (display-buffer-mark-dedicated): New var.
10913 (display-buffer): Obey it.
10914 * minibuffer.el (minibuffer-completion-help): Use it.
10916 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
10918 * filecache.el (file-cache-add-file): Use push and cons.
10919 (file-cache-delete-file-regexp): Use push.
10920 (file-cache-complete): Use completion-in-region.
10922 * simple.el (with-wrapper-hook): Fix thinko.
10924 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
10925 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
10926 Use with-current-buffer and string-to-number.
10927 (hfy-fallback-colour-values): Use assoc-string.
10928 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
10929 (hfy-face-at): Remove unused var `found-face'.
10930 (hfy-compile-stylesheet): Remove unused var `css'.
10931 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
10933 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
10934 Use with-current-buffer.
10935 (hfy-text-p): Use expand-file-name and fewer setq.
10937 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
10939 * htmlfontify.el, hfy-cmap.el: New files.
10941 2009-11-19 Juri Linkov <juri@jurta.org>
10943 * minibuffer.el (completions-format): New defcustom.
10944 (completion--insert-strings): Implement vertical format.
10946 * simple.el (switch-to-completions): Move point to the first
10947 completion when point was at the beginning of the buffer.
10949 2009-11-19 Juri Linkov <juri@jurta.org>
10951 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
10953 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
10955 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
10957 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
10958 (mail-signature): Change default to t.
10959 (mail-from-style): Deprecate `system-default' value.
10960 (mail-insert-from-field): For default value of mail-from-style,
10961 default to `angles' unless `angles' needs quoting and `parens'
10963 (mail-citation-prefix-regexp): Use citation regexp from
10966 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
10968 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10969 Set variables for computing the prompt for reading password.
10971 2009-11-19 Glenn Morris <rgm@gnu.org>
10973 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
10975 * textmodes/flyspell.el (sgml-lexical-context): Declare.
10977 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
10978 (newsticker-treeview-listwindow-height): Fix custom type.
10980 2009-11-19 Kenichi Handa <handa@m17n.org>
10982 * descr-text.el (describe-char-padded-string): Compose with TAB
10983 only if there's a font for CH.
10984 (describe-char): Fix the condition for detecting a trivial composition.
10986 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
10988 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
10989 more accurate version of the regexp. (Bug#3910)
10991 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
10993 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
10995 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
10997 * font-setting.el (font-use-system-font): Declare for byte-compiler.
10998 (font-setting-change-default-font): Fix typo in docstring.
11000 2009-11-18 Alan Mackenzie <acm@muc.de>
11002 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11004 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11006 * font-setting.el (font-use-system-font): Move ...
11008 * cus-start.el (all): ... to here.
11010 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
11012 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11013 Don't set `ad-return-value' if `ad-do-it' doesn't.
11015 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11018 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11020 * menu-bar.el: Put "Use system font" in Option-menu.
11021 (menu-bar-options-save): Add font-use-system-font.
11023 * loadup.el: If feature system-font-setting or font-render-setting is
11024 there, load font-setting.
11026 * Makefile.in (ELCFILES): Add font-settings.el.
11027 * font-setting.el: New file.
11029 2009-11-17 Glenn Morris <rgm@gnu.org>
11031 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11033 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11034 Preserve point in the list buffer. (Bug#4939)
11036 (newsticker--treeview-list-update-highlight)
11037 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11039 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11041 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11044 * calc/calc-ext.el (calc-init-extensions): Remove references to
11047 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11049 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11050 * calc/calc-help.el (calc-b-prefix-help): Remove references to
11053 2009-11-16 Kevin Ryde <user42@zip.com.au>
11055 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11056 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11058 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11059 (lm-keywords-list): Allow comma-only separator like "foo,bar".
11060 Ignore trailing spaces by omit-nulls to split-string (fixing
11061 regression from Emacs 21 due to the incompatible split-string
11062 change). (Bug #4928.)
11064 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
11066 * vc.el (vc-log-show-limit): Default to 2000.
11067 (vc-print-log-internal): Insert buttons to request more entries
11068 when limiting the output.
11070 * vc-sccs.el (vc-sccs-print-log):
11071 * vc-rcs.el (vc-rcs-print-log):
11072 * vc-cvs.el (vc-cvs-print-log):
11073 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11076 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11078 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11079 error when `tramp-gvfs-dbus-event-vector' is set.
11080 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11082 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11084 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
11086 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11088 * net/dbus.el (dbus-unregister-service): New defun.
11089 (dbus-register-property): Register the handlers of
11090 "org.freedesktop.DBus.Properties" for SERVICE.
11091 (dbus-property-handler): Fix docstring.
11093 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11095 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
11096 Quote doc string reference in defvaralias as it is not in special form.
11097 (byte-compile-output-docform): Doc fix.
11099 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11101 * calc/calc.el (math-2-word-size, math-half-2-word-size)
11102 (calc-complement-signed-mode): New variables.
11103 (calc-set-mode-line): Add indicator for twos-complements.
11104 (math-format-number): Format twos-complement notation.
11106 * calc/calc-bin.el (calc-word-size): Reset the variables
11107 `math-2-word-size' and `math-half-2-word-size'.
11108 (math-format-complement-signed, math-symclip, calcFunc-symclip)
11109 (calc-symclip): New functions.
11111 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
11113 * calc/calc-embed.el (calc-embedded-mode-vars):
11114 Add `calc-complement-signed-mode' to the list of modes.
11116 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
11117 (calc-b-oper-keys): Add `calc-symclip' to list.
11119 * calc/calc-ext.el (math-read-number-fancy): Read complement
11121 (calc-init-extensions): Add binding for `calc-symclip'.
11122 Add autoload for `calcFunc-symclip' and `calc-symclip'.
11124 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
11126 (calc-modes-menu): Add item for twos complement mode.
11128 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
11130 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11132 * register.el (jump-to-register, insert-register): Handle Semantic
11133 tags. From commented-out advice in semantic/senator.el.
11135 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
11137 * vc.el (vc-log-show-limit): New variable.
11138 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
11139 when using a prefix argument.
11140 (vc-print-log-internal): Add new argument LIMIT.
11142 * vc-svn.el (vc-svn-print-log):
11143 * vc-mtn.el (vc-mtn-print-log):
11144 * vc-hg.el (vc-hg-print-log):
11145 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
11146 pass it to the log command when set. Make the BUFFER argument
11149 * vc-sccs.el (vc-sccs-print-log):
11150 * vc-rcs.el (vc-rcs-print-log):
11151 * vc-git.el (vc-git-print-log):
11152 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
11153 ignore it. Make the BUFFER argument non-optional
11155 * bindings.el (mode-line-buffer-identification): Do not purecopy.
11157 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11159 * dired.el (dired-mode-map): Move encryption items to "Operate"
11162 * strokes.el (strokes-update-window-configuration): Make strokes
11163 buffer current before erasing (Bug#4906).
11165 2009-11-15 Juri Linkov <juri@jurta.org>
11167 * simple.el (set-mark-default-inactive): Add :type, :group
11168 and :version. (Bug#4876)
11170 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
11172 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
11173 (archive-unique-fname): ... here. (Bug#4929)
11175 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
11177 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
11180 * novice.el (disabled-command-function): Add useful args.
11181 Setup the help buffer so that [back] works.
11182 Remove redundant call to help-mode.
11183 (disabled-command-function): Use `case'.
11184 (en/disable-command): New function extracted from enable-command.
11185 (enable-command, disable-command): Use it.
11187 2009-11-14 Glenn Morris <rgm@gnu.org>
11189 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
11190 constants. (Bug#4913)
11192 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
11194 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
11196 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
11197 defined in C that have no doc-strings. (Bug#1063)
11199 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
11201 * cus-edit.el (data, files):
11202 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
11204 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
11206 * simple.el (shell-command): Doc fix (Bug#4891).
11208 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
11210 2009-11-14 Glenn Morris <rgm@gnu.org>
11212 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
11213 statements for vc-diff, emerge-quit, and rmail-cease-edit.
11214 If they are already loaded, eval-after-load will do the right thing.
11216 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
11219 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
11221 * simple.el (x-selection-owner-p): Declare.
11222 (read-mail-command): Use custom radio type rather than choice.
11223 (completion-no-auto-exit): Doc fix.
11225 * custom.el (defgroup):
11226 * epg-config.el (epg): Doc fixes.
11228 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
11230 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
11231 * international/ccl.el (define-ccl-program): Do not purecopy the
11232 docstring, defconst does it anyway.
11234 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
11236 * add-log.el (add-change-log-entry): Avoid displaying the changelog
11239 * x-dnd.el (x-dnd-maybe-call-test-function):
11240 * window.el (split-window-vertically):
11241 * whitespace.el (whitespace-help-on):
11242 * vc-rcs.el (vc-rcs-consult-headers):
11243 * userlock.el (ask-user-about-lock-help)
11244 (ask-user-about-supersession-help):
11245 * type-break.el (type-break-force-mode-line-update):
11246 * time-stamp.el (time-stamp-conv-warn):
11247 * terminal.el (te-set-output-log, te-more-break, te-filter)
11248 (te-sentinel, terminal-emulator):
11249 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
11250 (term-write-input-ring, term-check-source, term-start-output-log):
11251 (term-display-buffer-line, term-dynamic-list-completions):
11252 (term-ansi-make-term, serial-term):
11253 * subr.el (selective-display):
11254 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
11255 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
11256 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
11257 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
11258 (speedbar-remove-localized-speedbar-support)
11259 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
11260 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
11261 (speedbar-buffers-line-directory):
11262 * simple.el (shell-command-on-region, append-to-buffer)
11263 (prepend-to-buffer):
11264 * shadowfile.el (shadow-save-todo-file):
11265 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
11266 (scroll-bar-maybe-set-window-start):
11267 * sb-image.el (speedbar-image-dump):
11268 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
11269 (load-save-place-alist-from-file):
11270 * ps-samp.el (ps-print-message-from-summary):
11271 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
11272 (ps-background-image, ps-begin-job, ps-do-despool):
11273 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
11274 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
11275 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
11276 (pr-call-process, pr-file-list, pr-interface-save):
11277 * novice.el (disabled-command-function)
11278 (enable-command, disable-command):
11279 * mouse.el (mouse-buffer-menu-alist):
11280 * mouse-copy.el (mouse-kill-preserving-secondary):
11281 * macros.el (kbd-macro-query):
11282 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
11283 * informat.el (batch-info-validate):
11284 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
11285 * hippie-exp.el (try-expand-dabbrev-visible):
11286 * help-mode.el (help-make-xrefs):
11287 * help-fns.el (describe-variable):
11288 * generic-x.el (bat-generic-mode-run-as-comint):
11289 * finder.el (finder-mouse-select):
11290 * find-dired.el (find-dired-sentinel):
11291 * filesets.el (filesets-file-close):
11292 * files.el (list-directory):
11293 * faces.el (list-faces-display, describe-face):
11294 * facemenu.el (list-colors-display):
11295 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
11296 * epg.el (epg--process-filter, epg-cancel):
11297 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
11298 (epa--read-signature-type):
11299 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
11300 (emerge-file-names):
11301 * ehelp.el (electric-helpify):
11302 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
11303 * ediff-vers.el (rcs-ediff-view-revision):
11304 * ediff-util.el (ediff-setup):
11305 * ediff-mult.el (ediff-append-custom-diff):
11306 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
11308 * echistory.el (Electric-command-history-redo-expression):
11309 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
11310 * disp-table.el (describe-display-table):
11311 * dired.el (dired-find-buffer-nocreate):
11312 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
11313 * dabbrev.el (dabbrev--same-major-mode-p):
11314 * chistory.el (list-command-history):
11315 * apropos.el (apropos-documentation):
11316 * allout.el (allout-obtain-passphrase):
11317 (allout-copy-exposed-to-buffer):
11318 (allout-verify-passphrase): Use with-current-buffer.
11320 2009-11-13 Glenn Morris <rgm@gnu.org>
11322 * Makefile.in (ELCFILES): Regenerate.
11324 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
11326 * net/dbus.el (dbus-registered-objects-table): Rename from
11327 `dbus-registered-functions-table', because it contains also properties.
11328 (dbus-unregister-object): Unregister also properties.
11329 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11330 Use a timeout of 500 msec, in order to not block.
11331 (dbus-register-property, dbus-property-handler): New defuns.
11333 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
11335 * simple.el (minibuffer-default-add-completions): Drop deprecated
11338 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
11340 * textmodes/artist.el (artist-mouse-choose-operation):
11341 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
11342 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
11343 (artist-compute-up-event-key): New function.
11344 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
11346 2009-11-13 Kenichi Handa <handa@m17n.org>
11348 * language/japan-util.el: Make sure that the value of jisx0208
11349 property is jisx0208 character.
11351 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
11353 * international/mule.el (auto-coding-regexp-alist): Only purecopy
11354 car or each item, not the whole list.
11356 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
11358 * minibuffer.el (minibuffer-completion-help):
11359 Use minibuffer-hide-completions.
11361 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
11363 * dired.el (dired-save-positions, dired-restore-positions): New funs.
11364 (dired-revert): Use them (bug#4880).
11366 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11368 * tooltip.el (tooltip-frame-parameters): Undo previous change.
11370 2009-11-12 Juri Linkov <juri@jurta.org>
11372 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
11374 (find-file-literally-at-point): Alias of `ffap-literally'.
11376 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11378 * textmodes/ispell.el (ispell-skip-region-alist):
11379 * textmodes/css-mode.el (auto-mode-alist):
11380 * progmodes/compile.el (auto-mode-alist):
11381 * international/mule.el (ctext-non-standard-encodings-alist)
11382 (ctext-non-standard-encodings-regexp):
11383 * simple.el (shell-command-switch, text-read-only):
11384 * replace.el (occur-mode-map):
11385 * paths.el (rmail-file-name):
11386 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
11387 * find-file.el (ff-special-constructs):
11388 * files.el (file-name-handler-alist):
11389 * composite.el: Purecopy strings.
11391 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
11393 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11395 * widget.el (define-widget): Purecopy the docstring.
11396 * international/mule-cmds.el (charset): Do not purecopy the
11397 docstring here, define-widget does it.
11399 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
11400 * textmodes/bibtex-style.el (auto-mode-alist):
11401 * progmodes/inf-lisp.el (inferior-lisp-prompt):
11402 * progmodes/compile.el (compile-command):
11403 * language/korea-util.el (default-korean-keyboard):
11404 * international/mule-conf.el (file-coding-system-alist):
11405 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
11406 * tooltip.el (tooltip-frame-parameters):
11407 * newcomment.el (comment-end, comment-padding):
11408 * dired.el (dired-trivial-filenames):
11409 * comint.el (comint-file-name-prefix): Purecopy initial values.
11411 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
11413 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
11414 (tramp-advice-minibuffer-electric-tilde): Unload advices via
11416 (tramp-advice-make-auto-save-file-name)
11417 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
11418 after removing the advice.
11420 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11422 * progmodes/grep.el (grep-regexp-alist):
11423 * international/mule-cmds.el (iso-2022-control-alist):
11424 * emacs-lisp/timer.el (timer-duration-words):
11425 * subr.el (version-separator, version-regexp-alist):
11426 * minibuffer.el (completion-styles-alist):
11427 * faces.el (face-attribute-name-alist, list-faces-sample-text):
11428 Change defvars to defconsts.
11430 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
11431 * loadup.el ("international/mule-conf"): Load the byte compiled version.
11432 * international/mule-conf.el: Allow to be byte compiled.
11434 * international/mule.el (define-charset): Purecopy props.
11435 (load-with-code-conversion): Purecopy doc string and file name.
11436 (put-charset-property): Purecopy strings.
11437 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
11439 * international/mule-cmds.el (register-input-method): Purecopy arguments.
11440 (define-char-code-property): Correctly purecopy the table.
11442 * international/ccl.el (define-ccl-program): Purecopy the docstring.
11444 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
11446 * subr.el (add-hook): Purecopy strings.
11447 (eval-after-load): Purecopy load-history-regexp and the form.
11449 * custom.el (custom-declare-group): Purecopy load-file-name.
11451 * subr.el (menu-bar-separator): New defconst.
11452 * net/eudc.el (eudc-tools-menu):
11453 * international/mule-cmds.el (set-coding-system-map)
11454 (mule-menu-keymap):
11455 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11456 * vc-hooks.el (vc-menu-map):
11457 * replace.el (occur-mode-map):
11458 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
11459 (menu-bar-edit-menu, menu-bar-goto-menu)
11460 (menu-bar-custom-menu, menu-bar-showhide-menu)
11461 (menu-bar-options-menu, menu-bar-tools-menu)
11462 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
11463 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
11464 (menu-bar-help-menu):
11465 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
11466 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
11468 * term/x-win.el (x-gtk-stock-map):
11469 * progmodes/vera-mode.el (auto-mode-alist):
11470 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
11471 (inferior-lisp-program, inferior-lisp-load-command):
11472 * progmodes/hideshow.el (hs-special-modes-alist):
11473 * progmodes/gud.el (same-window-regexps):
11474 * progmodes/grep.el (grep-program, find-program, xargs-program):
11475 * net/telnet.el (same-window-regexps):
11476 * net/rlogin.el (same-window-regexps):
11477 * language/ethiopic.el (font-ccl-encoder-alist):
11478 * vc-sccs.el (vc-sccs-master-templates):
11479 * vc-rcs.el (vc-rcs-master-templates):
11480 * subr.el (cl-assertion-failed):
11481 * simple.el (next-error-overlay-arrow-position):
11482 * lpr.el (lpr-command):
11483 * locate.el (locate-ls-subdir-switches):
11484 * info.el (same-window-regexps, info)
11485 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
11486 * image-mode.el (image-mode, auto-mode-alist):
11487 * hippie-exp.el (hippie-expand-ignore-buffers):
11488 * format.el (format-alist):
11489 * find-dired.el (find-ls-subdir-switches, find-grep-options)
11491 * facemenu.el (facemenu-keybindings):
11492 * dired.el (dired-listing-switches, dired-chown-program):
11493 * diff.el (diff-switches, diff-command):
11494 * cus-edit.el (same-window-regexps):
11495 * bindings.el (mode-line-mule-info)
11496 (mode-line-buffer-identification): Purecopy strings.
11498 2009-11-11 Juri Linkov <juri@jurta.org>
11500 * simple.el (dired-get-filename) <declare-function>:
11501 Tell the byte-compiler about dired-get-filename.
11502 (shell-command): In Dired mode, get filename from the current line
11503 as the default value.
11505 2009-11-10 Glenn Morris <rgm@gnu.org>
11507 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
11508 * calendar/holidays.el, progmodes/cperl-mode.el:
11509 Update x-popup-menu declarations.
11511 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
11512 (list-load-path-shadows): Use dolist.
11513 (list-load-path-shadows): Use with-current-buffer.
11515 2009-11-10 Juri Linkov <juri@jurta.org>
11517 * minibuffer.el (read-file-name): Support a list of default values
11518 in `default-filename'. Use the first file name where only one
11519 element is required. Doc fix.
11521 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
11523 * net/dbus.el (dbus-unregister-object): Release service, if no
11524 other method is registered for it.
11526 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
11528 * bookmark.el (bookmark-completing-read): Sort bookmark names if
11529 bookmark-sort-flag is non-nil (Bug#4653).
11531 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
11533 * emulation/cua-base.el: Add CUA property to some CC mode commands
11536 2009-11-08 Kevin Ryde <user42@zip.com.au>
11538 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
11539 at end of sentence (Bug#4818).
11541 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
11543 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11544 Handle "see declaration of" MSFT statements (Bug#4100).
11546 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
11548 * net/tramp.el (tramp-advice-make-auto-save-file-name)
11549 (tramp-advice-file-expand-wildcards): Unload via
11550 `ad-remove-advice'.
11552 * net/trampver.el: Update release number.
11554 2009-11-08 Kevin Ryde <user42@zip.com.au>
11556 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
11559 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
11561 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
11562 in order to keep context in SELinux.
11564 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
11566 * dired-aux.el (dired-query): Place cursor in echo area and allow
11569 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
11570 menu item if not on a directory (Bug#4701).
11572 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
11574 Sync with Tramp 2.1.17.
11576 * net/tramp.el (tramp-handle-copy-directory): Don't use
11577 `file-remote-p' (due to compatibility).
11579 * net/tramp-compat.el (tramp-compat-copy-directory)
11580 (tramp-compat-delete-directory): New defuns.
11582 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
11583 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
11584 `tramp-compat-delete-directory'.
11586 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11587 (tramp-smb-handle-delete-directory): Use
11588 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
11590 * net/trampver.el: Update release number.
11592 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
11594 * tar-mode.el (tar-copy): Call write-region on the right buffer
11597 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
11598 by hand, if necessary (Bug#4878).
11600 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
11602 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
11603 align size column (Bug#4839).
11605 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
11608 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11610 * progmodes/ld-script.el (auto-mode-alist):
11611 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
11613 * cus-face.el (custom-declare-face): Purecopy face spec.
11615 2009-11-06 Kenichi Handa <handa@m17n.org>
11617 * international/uni-bidi.el: Re-generated.
11618 * international/uni-category.el: Re-generated.
11619 * international/uni-combining.el: Re-generated.
11620 * international/uni-mirrored.el: Re-generated.
11622 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11624 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
11625 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
11626 (tex-start-options, slitex-run-command, latex-run-command)
11627 (tex-run-command, tex-directory):
11628 * textmodes/ispell.el (ispell-html-skip-alists)
11629 (ispell-tex-skip-alists, ispell-tex-skip-alists):
11630 * textmodes/fill.el (adaptive-fill-first-line-regexp):
11631 (adaptive-fill-regexp):
11632 * textmodes/dns-mode.el (auto-mode-alist):
11633 * progmodes/python.el (interpreter-mode-alist):
11634 * progmodes/etags.el (tags-compression-info-list):
11635 * progmodes/etags.el (tags-file-name):
11636 * net/browse-url.el (browse-url-galeon-program)
11637 (browse-url-firefox-program):
11638 * mail/sendmail.el (mail-signature-file)
11639 (mail-citation-prefix-regexp):
11640 * international/mule-conf.el (eight-bit):
11641 * international/latexenc.el (latex-inputenc-coding-alist):
11642 * international/fontset.el (x-pixel-size-width-font-regexp):
11643 * emacs-lisp/warnings.el (warning-type-format):
11644 * emacs-lisp/trace.el (trace-buffer):
11645 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
11646 (emacs-lisp-mode-map):
11647 * calendar/holidays.el (holiday-solar-holidays)
11648 (holiday-bahai-holidays, holiday-islamic-holidays)
11649 (holiday-christian-holidays, holiday-hebrew-holidays)
11650 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
11651 (hebrew-holidays-1, holiday-oriental-holidays)
11652 (holiday-general-holidays):
11653 * x-dnd.el (x-dnd-known-types):
11654 * tool-bar.el (tool-bar):
11655 * startup.el (site-run-file):
11656 * shell.el (shell-dumb-shell-regexp):
11657 * rfn-eshadow.el (file-name-shadow-tty-properties)
11658 (file-name-shadow-properties):
11659 * paths.el (remote-shell-program, news-directory):
11660 * mouse.el ([C-down-mouse-3]):
11661 * menu-bar.el (menu-bar-tools-menu):
11662 * jka-cmpr-hook.el (jka-compr-load-suffixes)
11663 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
11664 (jka-compr-compression-info-list):
11665 * isearch.el (search-whitespace-regexp):
11666 * image-file.el (image-file-name-extensions):
11667 * find-dired.el (find-ls-option):
11668 * files.el (directory-listing-before-filename-regexp)
11669 (directory-free-space-args, insert-directory-program)
11670 (list-directory-brief-switches, magic-fallback-mode-alist)
11671 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
11672 (automount-dir-prefix):
11673 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
11674 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
11675 (face-font-registry-alternatives, face-font-registry-alternatives)
11676 (face-font-family-alternatives):
11677 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
11678 (facemenu-foreground-menu, facemenu-face-menu):
11679 * epa-hook.el (epa-file-name-regexp):
11680 * dnd.el (dnd-protocol-alist):
11681 * textmodes/rst.el (auto-mode-alist):
11682 * button.el (default-button): Purecopy strings.
11684 2009-11-06 Glenn Morris <rgm@gnu.org>
11686 * Makefile.in (ELCFILES): Update.
11688 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11690 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
11691 * emacs-lisp/levents.el: Move to obsolete/levents.el.
11693 * nxml/xsd-regexp.el (xsdre-gen-categories):
11694 * nxml/xmltok.el (xmltok-parse-entity):
11695 * nxml/rng-parse.el (rng-parse-validate-file):
11696 * nxml/rng-maint.el (rng-format-manual)
11697 (rng-manual-output-force-new-line):
11698 * nxml/rng-loc.el (rng-save-schema-location-1):
11699 * nxml/rng-cmpct.el (rng-c-parse-file):
11700 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
11701 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
11703 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
11705 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
11706 Remove extra save-excursions and make-variable-buffer-local's.
11707 Suggested by Stefan Monnier.
11709 (verilog-getopt-file, verilog-module-inside-filename-p)
11710 (verilog-set-define): Merge GNU 1.35 and repair changes from
11711 switching to using with-current-buffer.
11713 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
11714 being treated as a number and confusing AUTORESET.
11715 Reported by Dan Dever.
11717 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
11718 Add verilog-auto-ignore-concat to fix backward compatibility with
11719 older verilog-modes. Reported by Dan Katz.
11721 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
11722 containing closing anchors "...$".
11724 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
11725 Reported by Wade Smith.
11727 (verilog-batch-execute-func): Comment on function usage.
11729 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
11731 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
11734 (verilog-label-re, verilog-calc-1): Support proper indent of named
11737 (verilog-backward-token, verilog-basic-complete-re)
11738 (verilog-beg-of-statement, verilog-indent-re): Support proper
11739 indent of the assert statement at the beginning of a block of text.
11741 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
11742 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
11745 2009-11-05 Glenn Morris <rgm@gnu.org>
11747 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
11748 Emacs 19. (Bug#1531)
11749 (byte-compile-fix-header): Update for the above change.
11750 Drop test for epoch::version.
11752 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
11753 * cus-dep.el (custom-make-dependencies):
11754 * finder.el (finder-compile-keywords):
11755 Use autoload-rubric's feature argument.
11757 * calendar/diary-lib.el (top-level): Make load behave more like require.
11759 * vc-git.el (vc-git-stash-map): Move definition before use.
11761 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
11763 * custom.el (custom-declare-group): Purecopy standard-value.
11764 (custom-declare-group): Purecopy custom-prefix.
11766 * international/mule.el (load-with-code-conversion):
11767 Call do-after-load-evaluation unconditionally.
11769 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
11771 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11773 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
11775 2009-11-04 Glenn Morris <rgm@gnu.org>
11777 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
11778 (byte-compile-compatibility): Remove option.
11779 (byte-compile-close-variables, byte-compile-fix-header)
11780 (byte-compile-insert-header, byte-compile-output-docform)
11781 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
11782 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
11783 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
11784 (byte-compile-insert, byte-compile-defun):
11785 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
11786 (byte-defop-compiler19): Remove.
11787 Without byte-compile-compatibility, the 'emacs19-opcode property is not
11788 used by anything. Replace all calls with byte-defop-compiler.
11790 2009-11-04 Juri Linkov <juri@jurta.org>
11792 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
11793 (menu-bar-options-menu): Don't quote the `prop' arg of
11794 `menu-bar-make-mm-toggle'.
11796 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
11798 * calendar/calendar.el (cal-loaddefs):
11799 * calendar/diary-lib.el (diary-loaddefs):
11800 * calendar/holidays.el (hol-loaddefs):
11801 * eshell/esh-module.el (esh-groups): Load rather than require.
11803 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11805 * calendar/todo-mode.el (todo-add-category): Don't hardcode
11807 (todo-top-priorities): Only display-buffer when called interactively.
11808 (todo-item-start): Don't save excursion point.
11809 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
11810 (todo-insert-item-here, todo-file-item, todo-remove-item):
11811 Adjust uses of todo-item-start and todo-item-end.
11813 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
11814 (autoload-rubric): Don't use any more.
11816 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
11817 and only put a prop if it is non-nil.
11819 2009-11-03 Juri Linkov <juri@jurta.org>
11821 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
11822 (menu-bar-options-menu): Fix list quoting (Bug#4429).
11824 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
11825 and "Menu" to make top-level menu item visually one unit (like
11826 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
11827 multi-word menu items). Fix :help string for quit-window.
11829 2009-11-03 Glenn Morris <rgm@gnu.org>
11831 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
11832 (byte-compile-file-form-define-abbrev-table)
11833 (byte-compile-file-form-custom-declare-variable)
11834 (byte-compile-variable-ref, byte-compile-defvar):
11835 Whether or not a warning is enabled should only affect whether we issue
11836 the warning, not whether or not we collect the relevant data.
11837 Eg warnings can be turned on and off throughout the course of a file.
11839 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
11840 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
11842 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11844 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
11845 * play/mpuz.el (mpuz-create-buffer):
11846 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
11847 (lm-print-y,s,noise, lm-print-w0, lm-init):
11848 * play/gomoku.el (gomoku-prompt-for-move):
11849 * play/fortune.el (fortune-in-buffer):
11850 * play/dissociate.el (dissociated-press):
11851 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
11852 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
11853 * mail/supercite.el (sc-eref-show):
11854 * mail/smtpmail.el (smtpmail-send-it):
11855 * mail/rmailsum.el (rmail-summary-next-labeled-message)
11856 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
11857 (rmail-summary-undelete-many, rmail-summary-rmail-update)
11858 (rmail-summary-goto-msg, rmail-summary-expunge)
11859 (rmail-summary-get-new-mail, rmail-summary-search-backward)
11860 (rmail-summary-add-label, rmail-summary-output-menu)
11861 (rmail-summary-output-body):
11862 * mail/rfc822.el (rfc822-addresses):
11863 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
11864 * mail/mailpost.el (post-mail-send-it):
11865 * mail/hashcash.el (hashcash-generate-payment):
11866 * mail/feedmail.el (feedmail-run-the-queue)
11867 (feedmail-queue-send-edit-prompt-help-first)
11868 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
11869 (feedmail-deduce-address-list):
11870 * eshell/esh-ext.el (eshell-remote-command):
11871 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
11872 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
11873 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
11874 (viper-save-string-in-file, viper-valid-marker):
11875 * emulation/viper-keym.el (viper-toggle-key):
11876 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
11877 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
11878 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
11879 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11880 (viper-exec-form-in-emacs, viper-brac-function):
11881 * emulation/viper.el (viper-delocalize-var):
11882 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
11883 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
11884 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
11885 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
11886 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
11887 * emulation/edt.el (edt-electric-helpify):
11888 * emulation/cua-rect.el (cua--rectangle-aux-replace):
11889 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
11890 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
11891 (cua-indent-to-global-mark-column):
11892 * calendar/diary-lib.el (calendar-mark-1):
11893 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
11894 Use with-current-buffer.
11895 * emulation/viper.el (viper-delocalize-var): Use dolist.
11897 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
11899 * comint.el (comint-replace-by-expanded-history-before-point):
11900 Replace !! with the previous input string literally (Bug#1795).
11902 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
11904 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
11905 to be made up of whitespace.
11907 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
11909 * minibuffer.el (read-file-name): Don't use file dialogs for
11910 remote directories (Bug#99).
11912 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
11914 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
11916 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
11918 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
11919 instead of deleting the window or frame.
11921 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11923 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
11924 Support face colors.
11926 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
11927 New function. Support face colors (Bug#1168).
11928 (tex-common-initialization): Use it.
11930 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
11931 mode allows it (Bug#1168).
11933 2009-10-31 Juri Linkov <juri@jurta.org>
11935 * facemenu.el (list-colors-display): Don't mark buffer as
11936 modified (Bug#3948).
11938 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11940 * international/mule-diag.el (list-character-sets-1): Minor
11941 message fix (Bug#3526).
11943 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
11944 face property (Bug#4834).
11945 (etags-list-tags, etags-tags-apropos-additional)
11946 (etags-tags-apropos, tags-select-tags-table): Add follow-link
11949 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
11952 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
11954 * textmodes/two-column.el (2C-split):
11955 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
11956 * textmodes/tex-mode.el (tex-set-buffer-directory):
11957 * textmodes/spell.el (spell-region, spell-string):
11958 * textmodes/reftex.el (reftex-erase-buffer):
11959 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
11960 * textmodes/reftex-toc.el (reftex-toc-promote-action):
11961 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
11962 (reftex-select-item):
11963 * textmodes/reftex-ref.el (reftex-label-info-update)
11964 (reftex-offer-label-menu):
11965 * textmodes/reftex-index.el (reftex-index-change-entry)
11966 (reftex-index-phrases-info):
11967 * textmodes/reftex-global.el (reftex-create-tags-file)
11968 (reftex-save-all-document-buffers, reftex-ensure-write-access):
11969 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
11970 (reftex-view-crossref-from-bibtex):
11971 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
11972 (reftex-extract-bib-entries-from-thebibliography)
11973 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
11974 * textmodes/refbib.el (r2b-capitalize-title):
11975 (r2b-convert-buffer, r2b-help):
11976 * textmodes/page-ext.el (pages-directory)
11977 (pages-directory-goto-with-mouse):
11978 * textmodes/bibtex.el (bibtex-validate-globally):
11979 * textmodes/bib-mode.el (bib-capitalize-title):
11980 * textmodes/artist.el (artist-clear-buffer, artist-system):
11981 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
11982 (local-set-scheme-interaction-buffer, xscheme-process-filter)
11983 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
11984 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
11985 (xscheme-send-control-g-interrupt, xscheme-start-process)
11986 (xscheme-process-sentinel, xscheme-cd):
11987 * progmodes/verilog-mode.el (verilog-read-always-signals)
11988 (verilog-set-define, verilog-getopt-file)
11989 (verilog-module-inside-filename-p):
11990 * progmodes/sh-script.el:
11991 * progmodes/python.el (python-pdbtrack-get-source-buffer)
11992 (python-pdbtrack-grub-for-buffer, python-execute-file):
11993 * progmodes/octave-inf.el (inferior-octave):
11994 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11995 (idlwave-shell-compile-helper-routines, idlwave-set-local)
11996 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
11997 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
11998 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
11999 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12000 (idlwave-shell-filter, idlwave-shell-examine-highlight)
12001 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12002 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12003 (idlwave-shell-examine-display, idlwave-shell-run-region)
12004 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12005 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12006 * progmodes/idlw-help.el (idlwave-help-get-special-help)
12007 (idlwave-help-get-help-buffer):
12008 * progmodes/gud.el (gud-basic-call, gud-find-class)
12009 (gud-tooltip-activate-mouse-motions-if-enabled):
12010 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12011 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12012 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12013 (ebrowse-tags-next-file):
12014 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12015 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12016 (ebnf-eps-finish-and-write):
12017 * progmodes/cpp.el (cpp-edit-save):
12018 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12019 * progmodes/cc-defs.el (c-emacs-features):
12020 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12021 (antlr-directory-dependencies):
12022 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12023 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12024 (ada-find-any-references, ada-make-filename-from-adaname)
12025 (ada-make-body-gnatstub):
12026 * obsolete/rnews.el (news-list-news-groups):
12027 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12028 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12029 * net/rcirc.el (rcirc-debug):
12030 * net/newst-treeview.el (newsticker--treeview-list-add-item)
12031 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12032 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12033 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12034 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12035 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12036 (newsticker--treeview-list-clear-highlight)
12037 (newsticker--treeview-list-update-highlight)
12038 (newsticker--treeview-list-highlight-start)
12039 (newsticker--treeview-tree-update-highlight)
12040 (newsticker--treeview-get-selected-item)
12041 (newsticker-treeview-mark-list-items-old)
12042 (newsticker--treeview-set-current-node):
12043 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12044 * net/newst-backend.el (newsticker--get-news-by-funcall)
12045 (newsticker--get-news-by-wget, newsticker--image-get)
12046 (newsticker--image-sentinel):
12047 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12048 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12049 (eudc-ph-close-session):
12050 * net/eudc.el (eudc-save-options):
12051 * language/thai-word.el (thai-update-word-table):
12052 * language/japan-util.el (japanese-string-conversion):
12053 * international/titdic-cnv.el (tsang-quick-converter)
12054 (ziranma-converter, ctlau-converter):
12055 * international/mule-cmds.el (describe-language-environment):
12056 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12057 (skkdic-convert-postfix, skkdic-convert-prefix):
12058 (skkdic-convert-okuri-nasi, skkdic-convert):
12059 * emacs-lisp/re-builder.el (reb-update-overlays):
12060 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12061 * emacs-lisp/gulp.el (gulp-send-requests):
12062 * emacs-lisp/find-gc.el (trace-call-tree):
12063 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12064 (eieio-describe-generic):
12065 * emacs-lisp/eieio-base.el (eieio-persistent-read):
12066 * emacs-lisp/edebug.el (edebug-outside-excursion):
12067 * emacs-lisp/debug.el (debugger-make-xrefs):
12068 * emacs-lisp/cust-print.el (custom-prin1-to-string):
12069 * emacs-lisp/chart.el (chart-new-buffer):
12070 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12071 Use with-current-buffer.
12072 * textmodes/artist.el (artist-system): Don't call
12073 copy-sequence on a fresh string.
12074 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12076 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
12078 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12079 is no item to edit. (Bug#4820)
12080 (todo-top-priorities): Restore point and restore narrowing in Todo
12083 2009-10-31 Glenn Morris <rgm@gnu.org>
12085 * net/ange-ftp.el (top-level): Don't require dired when compiling.
12086 (comint-last-output-start, comint-last-input-start)
12087 (comint-last-input-end): Don't defvar when compiling.
12088 (ange-ftp-process-file): Use bound-and-true-p.
12090 * pcmpl-rpm.el (top-level): Move provide statement to end.
12091 (pcmpl-rpm): Remove unused custom group.
12093 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
12095 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
12097 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
12098 (byte-compile-warnings): Add `constants' as an option.
12099 (byte-compile-callargs-warn, byte-compile-arglist-warn)
12100 (display-call-tree): Update for byte-compile-fdefinition possibly
12101 returning `(macro lambda ...)'. (Bug#4778)
12102 (byte-compile-variable-ref, byte-compile-setq-default):
12103 Respect `constants' member of byte-compile-warnings.
12105 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12107 * vc-bzr.el (vc-bzr-revision-keywords): New var.
12108 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
12111 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
12113 * textmodes/ispell.el (ispell-skip-region-alist):
12114 * international/mule-conf.el (eight-bit):
12115 * international/fontset.el (font-encoding-alist):
12116 * startup.el (pure-space-overflow-message):
12117 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
12118 * paths.el (gnus-nntp-service, rmail-spool-directory)
12119 (term-file-prefix):
12120 * files.el (save-some-buffers-action-alist):
12121 * cmuscheme.el (same-window-buffer-names):
12122 * ielm.el (same-window-buffer-names):
12123 * shell.el (same-window-buffer-names):
12124 * mail/sendmail.el (same-window-buffer-names):
12125 * progmodes/inf-lisp.el (same-window-buffer-names):
12126 * bindings.el (mode-line-client)
12127 (mode-line-column-line-number-mode-map):
12128 * language/tibetan.el (tibetan-precomposition-rule-regexp)
12129 (tibetan-precomposed-regexp): Purecopy string arguments.
12131 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12133 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
12134 (calcDigit-nondigit):
12135 * calc/calc-yank.el (calc-copy-to-buffer):
12136 * calc/calc-units.el (calc-invalidate-units-table):
12137 * calc/calc-trail.el (calc-trail-yank):
12138 * calc/calc-store.el (calc-insert-variables):
12139 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
12140 * calc/calc-prog.el (calc-read-parse-table):
12141 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
12142 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
12143 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
12144 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
12145 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
12146 (calc-graph-name, calc-graph-find-command, calc-graph-view)
12147 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
12148 * calc/calc-ext.el (calc-realign):
12149 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
12150 (calc-embedded-finish-edit, calc-embedded-make-info)
12151 (calc-embedded-finish-command, calc-embedded-stack-change):
12152 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
12154 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
12155 shell-dynamic-complete-filename in preference to
12156 comint-dynamic-complete-filename.
12158 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
12159 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
12160 Don't consider whether the display supports colors.
12161 (bookmark-import-new-list): Use dolist.
12162 (bookmark-bmenu-mode-map): Move initialization into declaration.
12163 (bookmark-bmenu-list): Use dolist, simplify.
12164 (bookmark-show-all-annotations): Use save-selected-window and dolist.
12165 (menu-bar-final-items): Use push.
12167 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12169 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
12170 it works on remote files.
12171 (vc-hg-diff): Don't pass any `--cwd' argument.
12173 2009-10-27 Kevin Ryde <user42@zip.com.au>
12175 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12176 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
12177 (Further to Bug#3921).
12179 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
12181 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
12182 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
12183 calling `tramp-imap-put-file'. Add file size to the call.
12184 (tramp-imap-get-file-entries): Compute also user name, file size,
12186 (tramp-imap-handle-insert-directory): Insert uid and gid.
12187 (tramp-imap-handle-file-attributes): Transform uid and gid
12188 according to `id-format'.
12189 (tramp-imap-put-file): New optional parameter SIZE. Encode file
12190 size in header X-Size.
12192 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
12194 * simple.el (transpose-subr): Give clearer error when the mark
12195 is not set. (Bug#4807)
12197 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
12199 * net/tramp.el (tramp-perl-file-truename): New defconst.
12200 Perl code contributed by yary <not.com@gmail.com> (tiny change).
12201 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
12202 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
12203 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
12205 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
12206 Ignore `dired-call-process'.
12207 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
12209 2009-10-26 Julian Scheid <julians37@gmail.com>
12211 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
12212 (tramp-get-remote-readlink): New defun.
12213 (tramp-handle-file-truename): Use it.
12214 (tramp-handle-file-exists-p): Check file-attributes cache, assume
12215 file exists if cache value present.
12216 (tramp-check-cached-permissions): New defun.
12217 (tramp-handle-file-readable-p): Use it.
12218 (tramp-handle-file-writable-p): Likewise.
12219 (tramp-handle-file-executable-p): Likewise.
12220 (tramp-handle-file-name-all-completions): Try using Perl to get
12221 partial completions. When perl not available, combine `cd' and
12222 `ls' into single remote operation and use shell expansion to get
12223 partial remote directory contents. Set `file-exists-p' cache for
12224 directory and any files returned by ls. Change cache handling to
12225 support partial directory contents. Use error message emitted by
12226 remote `cd' or Perl code for local tramp-error.
12227 (tramp-do-copy-or-rename-file-directly): Avoid separate
12228 tramp-send-command-and-check call.
12229 (tramp-handle-process-file): Merge three remote ops into one.
12230 Do not flush all caches when `process-file-side-effects' is set.
12231 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
12232 file-attributes shows uid/gid to be set already.
12234 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
12236 * textmodes/tex-mode.el (tex-dvi-view-command)
12237 (tex-show-queue-command, tex-open-quote):
12238 * progmodes/ruby-mode.el (auto-mode-alist)
12239 (interpreter-mode-alist): Purecopy strings.
12241 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
12243 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
12244 string for the hook, keymap and abbrev table.
12246 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
12248 * x-dnd.el (x-dnd-xdnd-to-action):
12249 * startup.el (fancy-startup-text, fancy-about-text): Change to
12250 defconst from defvar.
12252 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
12254 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
12255 Purecopy initialization strings.
12257 * mail/sendmail.el (mail-header-separator)
12258 (mail-personal-alias-file):
12259 * mail/rmail.el (rmail-default-dont-reply-to-names)
12260 (rmail-ignored-headers, rmail-retry-ignored-headers)
12261 (rmail-highlighted-headers, rmail-secondary-file-directory)
12262 (rmail-secondary-file-regexp):
12263 * files.el (null-device, file-name-invalid-regexp)
12264 (locate-dominating-stop-dir-regexp)
12265 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
12266 (interpreter-mode-alist): Use mapcar instead of mapc.
12268 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
12270 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
12271 (completion-ignored-extensions):
12272 (debug-ignored-errors): Purecopy strings.
12274 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12276 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
12277 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
12278 (pcomplete--here): Use push.
12280 * subr.el (all-completions): Declare the 4th arg obsolete.
12282 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12284 * pcomplete.el (pcomplete-unquote-argument-function): New var.
12285 (pcomplete-unquote-argument): New function.
12286 (pcomplete--common-suffix): Always pay attention to case.
12287 (pcomplete--table-subvert): Quote and unquote the text.
12288 (pcomplete--common-quoted-suffix): New function.
12289 (pcomplete-std-complete): Use it and pcomplete-begin.
12291 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
12292 we're inside a dedicated or minibuffer window.
12294 2009-10-24 Karl Fogel <kfogel@red-bean.com>
12296 * bookmark.el: Update documentation, especially documentation
12297 of `bookmark-alist' and of the bookmark file format.
12298 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
12300 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
12302 * mail/emacsbug.el (report-emacs-bug): Clarify that the
12303 keybindings apply to the mail buffer (Bug#4003). Shrink help
12306 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12307 (global-whitespace-mode, global-whitespace-newline-mode)
12308 (whitespace-toggle-options, global-whitespace-toggle-options):
12309 Doc fix (Bug#3660).
12311 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
12312 of xmltok-start before the end tag was inserted (Bug#2840).
12314 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
12315 patterns that are preceded by an open-paren (Bug#1320).
12317 2009-10-24 Sven Joachim <svenjoac@gmx.de>
12319 * files.el (delete-directory): Delete symlinks to directories with
12320 delete-file (Bug#4739).
12322 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
12324 * vc.el (vc-backend-for-registration): Rename from
12325 vc-get-backend-for-registration. Update callers.
12327 * international/mule-cmds.el (set-language-info-alist):
12329 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
12330 (charset): Purecopy the name.
12331 (define-char-code-property): Purecopy string arguments.
12333 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12334 Purecopy string arguments.
12336 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12337 * ediff-hook.el (menu-bar-ediff-menu):
12338 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
12339 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
12341 2009-10-24 Glenn Morris <rgm@gnu.org>
12343 * comint.el (comint-dynamic-list-completions):
12344 * term.el (term-dynamic-list-completions): Use choose-completion rather
12345 than obsolete alias mouse-choose-completion.
12347 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
12348 file-cache-choose-completion.
12349 (file-cache-choose-completion): Handle an optional event argument.
12350 (file-cache-mouse-choose-completion): Make it an obsolete alias.
12352 * progmodes/octave-mod.el (octave-complete-symbol):
12353 Use choose-completion if mouse-choose-completion is ever removed.
12355 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
12358 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
12361 * vc-hooks.el (vc-responsible-backend): Fix declaration.
12363 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12365 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
12366 Ignore `pred' now that we receive one.
12367 Handle test-completion specially.
12369 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12371 * vc.el (vc-responsible-backend): Throw an error if not backend is
12372 found. Remove the REGISTER argument. Move the code dealing with
12374 (vc-get-backend-for-registration): ... here. New function.
12375 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
12376 of vc-responsible-backend, pass the file name instead of the
12379 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12381 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
12383 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
12384 (pcomplete-comint-setup): Don't modify a global var via
12385 accidental side-effects.
12386 (pcomplete-shell-setup): Adjust call accordingly.
12387 (pcomplete-parse-comint-arguments): Use push.
12389 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
12391 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12392 Allow uncapitalized info node names (Bug#3921).
12394 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
12395 to the DEBUG file (Bug#3781).
12397 2009-10-23 Jari Aalto <jari.aalto@cante.net>
12399 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
12400 dictionary entry (Bug#4579).
12402 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
12404 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
12405 from `rfn-eshadow-update-overlay-hook' when unloading.
12406 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
12407 "rsyncc". Adjust doc string.
12408 (tramp-temp-buffer-file-name): New buffer-local defvar.
12409 (tramp-handle-insert-file-contents, tramp-handle-write-region):
12410 Keep temporary file when indicated by method ("rsync" and
12412 (tramp-handle-write-region): Handle APPEND.
12413 (tramp-delete-temp-file-function): New defun. Added to
12414 `kill-buffer-hook'.
12416 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
12418 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
12420 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12422 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
12423 (color-name-rgb-alist, tty-standard-colors)
12424 (tty-color-mode-alist): Change to defconst.
12426 * simple.el (mark-inactive): Purecopy message.
12428 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
12429 (global-map, yank-menu):
12430 * textmodes/ispell.el (ispell-menu-map):
12431 * net/eudc.el (eudc-tools-menu):
12432 * international/mule-cmds.el (describe-language-environment-map)
12433 (setup-language-environment-map, set-coding-system-map)
12434 (mule-menu-keymap):
12435 * vc-hooks.el (vc-menu-entry, vc-menu-map):
12436 * replace.el (occur-mode-map):
12437 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
12439 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
12441 * calc/calc.el (math-read-number, math-read-number-simple): Use
12444 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12446 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
12447 rather than fiddling with global-map bindings, since it should only
12448 affect per-terminal settings.
12449 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
12451 * minibuffer.el (completion-table-with-terminator): Allow to specify
12452 the terminator-regexp.
12454 * simple.el (switch-to-completions): Look for *Completions* in other
12457 * pcomplete.el: Allow the use of completion-tables.
12458 (pcomplete-std-complete): New command.
12459 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
12460 (pcomplete--here): Use a function for `form' rather than an expression,
12461 so it can be byte-compiled.
12462 (pcomplete-here, pcomplete-here*): Adjust accordingly.
12463 Add edebug declaration.
12464 (pcomplete-show-completions): Remove unused var `curbuf'.
12465 (pcomplete-do-complete, pcomplete-stub):
12466 Don't assume `completions' is a list of strings any more.
12468 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
12470 * find-dired.el (find-name-arg): Fix typo in docstring.
12472 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12474 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
12475 (pcmpl-linux-fs-types): Same, and update to new modules layout.
12477 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
12480 * comint.el (comint-read-input-ring, comint-write-input-ring)
12481 (comint-substitute-in-file-name)
12482 (comint-dynamic-complete-as-filename)
12483 (comint-dynamic-simple-complete)
12484 (comint-dynamic-list-filename-completions)
12485 (comint-dynamic-list-completions)
12486 (comint-redirect-results-list-from-process): Minor simplifications.
12488 2009-10-21 Kevin Ryde <user42@zip.com.au>
12490 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
12491 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
12492 the first form. And insert a blank line after ";;; Code" since
12493 that's usual style. (Bug#4612)
12495 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
12497 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12499 * minibuffer.el (completion-table-with-terminator): Properly implement
12500 boundaries, in case `terminator' appears in the suffix.
12501 (completion--embedded-envvar-table): Don't return boundaries if
12502 there's no valid completion. Simplify.
12503 (completion-file-name-table): New completion table extracted from
12504 completion--file-name-table.
12505 (completion--file-name-table): Use it.
12506 (read-file-name-predicate): Declare obsolete.
12507 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
12508 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
12509 completion-file-name-table, and use the `pred' argument.
12510 * files.el (locate-file-completion-table): Use the `pred' arg rather
12511 than read-file-name-predicate.
12512 (abbreviate-file-name): Use \` rather than ^ for BOS.
12514 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
12516 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
12517 vc-responsible-backend to register, it causes problems.
12519 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12521 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
12523 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
12525 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
12526 (tramp-smb-handle-file-attributes): Use it.
12527 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
12528 (tramp-smb-handle-insert-directory): Use `mapc' rather than
12529 `mapcar'. Use `tramp-smb-get-stat-capability'.
12530 Add `dired-filename' text properties.
12531 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
12532 (tramp-smb-maybe-open-connection): Simplify check for smbclient
12535 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
12537 * subr.el (read-key-delay): Reduce to 0.01.
12538 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
12541 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12543 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
12545 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
12546 (Info-menu): Remove unused vars `last' and `completions'.
12547 (Info-index-nodes): Remove unused var `node'.
12549 * info.el (Info-complete-menu-item): Use complete-with-action.
12551 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
12553 Make vc-annotate work through copies and renames.
12554 * vc-annotate.el (vc-annotate-extract-revision-at-line):
12555 Return the file name too.
12556 (vc-annotate-revision-at-line)
12557 (vc-annotate-find-revision-at-line)
12558 (vc-annotate-revision-previous-to-line)
12559 (vc-annotate-show-log-revision-at-line): Update to get the file
12560 name from vc-annotate-extract-revision-at-line.
12561 (vc-annotate-show-diff-revision-at-line-internal): Change the
12562 argument to mean whether to show a file diff or not. Get the file
12563 name from vc-annotate-extract-revision-at-line.
12564 (vc-annotate-show-diff-revision-at-line):
12565 Update vc-annotate-show-diff-revision-at-line call.
12566 (vc-annotate-warp-revision): Add an optional file argument.
12568 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
12569 (vc-git-annotate-extract-revision-at-line): Also return the file
12572 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
12573 command. Remove unused code.
12574 (vc-hg-annotate-re): Update to match --follow output.
12575 (vc-hg-annotate-extract-revision-at-line): Also return the file
12578 * vc.el: Update annotate-extract-revision-at-line documentation.
12580 2009-10-18 Kevin Ryde <user42@zip.com.au>
12582 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
12583 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
12585 * net/browse-url.el (browse-url): Identify alist with "consp and
12586 not functionp" and let all other things go down the `apply' leg,
12587 as suggested by Stefan. (Further to bug#4531.)
12589 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
12591 * minibuffer.el (read-file-name): Check for repeat before putting
12592 a default argument in file-name-history (Bug#4657).
12594 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
12595 read syntax (Bug#4737).
12597 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
12599 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12601 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
12602 (html-tag-alist, html-tag-help): Add descriptions for undocumented
12603 entries and make note of obsolete tags.
12605 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12607 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
12609 2009-10-18 Glenn Morris <rgm@gnu.org>
12611 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
12612 grep, so that binary files (eg international/uni-bidi.el) can match.
12613 Remove test for "UnicodeData" files, since it is hopefully unnecessary
12614 now, and in any case the file header format has changed.
12616 2009-10-17 Glenn Morris <rgm@gnu.org>
12618 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
12619 (flyspell-get-word, flyspell-large-region)
12620 (flyspell-auto-correct-previous-word): Doc/error message fixes.
12622 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
12624 * Makefile.in (ELCFILES): Add ede/shell.
12626 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
12628 * term/common-win.el (x-colors): Purecopy it.
12630 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12632 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
12633 permissive for when the buffer is empty.
12634 (tar-header-block-tokenize): Decode the username and groupname.
12635 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
12637 2009-10-17 Eric Ludlam <zappo@gnu.org>
12639 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
12640 contains multibyte characters, choose first applicable coding
12641 system automatically.
12643 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12645 * international/mule-cmds.el (select-safe-coding-system): If the file
12646 has a coding cookie, use it regardless of any other setting (bug#4712).
12648 2009-10-17 Glenn Morris <rgm@gnu.org>
12650 * foldout.el (foldout-mouse-swallow-events):
12651 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
12653 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
12654 (dired-keep-marker-copy, dired-keep-marker-hardlink)
12655 (dired-keep-marker-symlink, dired-dwim-target)
12656 (dired-copy-preserve-time): Do not autoload these defcustoms.
12658 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
12659 messages from messing up the file coding. (Bug#4623)
12661 2009-10-17 Jari Aalto <jari.aalto@cante.net>
12663 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
12664 if no match is found for the current dictionary. (Bug#4578)
12666 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
12667 optional, since that is how it is documented, and this is often called
12668 with a nil argument. (Bug#4577)
12669 (flyspell-external-point-words, flyspell-auto-correct-word)
12670 (flyspell-correct-word-before-point, flyspell-word-search-forward)
12671 (flyspell-word-search-backward): Remove nil argument in calls to
12672 flyspell-get-word, since it is not needed now.
12674 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
12676 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
12678 2009-10-16 Glenn Morris <rgm@gnu.org>
12680 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
12682 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12684 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
12685 (ange-ftp-file-size): New function.
12686 (ange-ftp-file-attributes): Use it.
12688 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
12690 * net/tramp-smb.el (tramp-smb-version): New defvar.
12691 (tramp-smb-maybe-open-connection): Use it, in order to avoid
12694 2009-10-16 Glenn Morris <rgm@gnu.org>
12696 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
12697 Maybe copy some custom properties from old to new name. (Bug#4706)
12699 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
12701 * subr.el (error, sit-for, start-process-shell-command)
12702 (start-file-process-shell-command): Set the calling convention
12703 after the function definition.
12705 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
12707 * subr.el (error, sit-for, start-process-shell-command)
12708 (start-file-process-shell-command): Use the new
12709 set-advertised-calling-convention feature.
12711 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
12713 * international/ucs-normalize.el (ucs-normalize-version):
12715 (check-range): Adjust for Unicode 5.2.
12717 2009-10-15 Juri Linkov <juri@jurta.org>
12719 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
12720 to the `menu-item' format.
12722 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
12724 * net/tramp.el (tramp-replace-environment-variables): Do not fail
12725 if the environment variable does not exist.
12727 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12728 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
12730 (tramp-smb-handle-add-name-to-file)
12731 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12732 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12733 (tramp-smb-handle-file-attributes)
12734 (tramp-smb-do-file-attributes-with-stat)
12735 (tramp-smb-handle-file-local-copy)
12736 (tramp-smb-handle-insert-directory)
12737 (tramp-smb-handle-make-directory)
12738 (tramp-smb-handle-make-directory-internal)
12739 (tramp-smb-handle-make-symbolic-link)
12740 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
12741 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
12742 (tramp-smb-maybe-open-connection): Apply the changed parameters.
12743 (tramp-smb-read-file-entry): Read Disk names in compressed format.
12744 Handle long file names.
12745 (tramp-smb-get-cifs-capabilities): Check, whether the connection
12746 process is running.
12747 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
12748 Read share names with "-g" option.
12750 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
12752 * net/rcirc.el (rcirc-view-log-file): New command.
12753 (rcirc-track-minor-mode-map): Remove C-c ` binding.
12754 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
12757 2009-10-15 Glenn Morris <rgm@gnu.org>
12759 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
12760 from the second command-line argument.
12761 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
12762 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
12763 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
12764 w32-batch-update-autoloads.
12765 * emacs-lisp/autoload.el (autoload-make-program): New variable.
12766 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
12768 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
12769 the headers cannot be located. Simplify, subtracting superflous
12772 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
12774 Replace completion-base-size by completion-base-position to fix bugs
12775 such as (bug#4699).
12776 * simple.el (completion-base-position): New var.
12777 (completion-base-size): Mark as obsolete.
12778 (choose-completion): Make it work for mouse events as well.
12779 Pass the new base-position to choose-completion-string.
12780 (choose-completion-guess-base-position): New function, extracted from
12781 choose-completion-delete-max-match.
12782 (choose-completion-delete-max-match): Use it. Make obsolete.
12783 (choose-completion-string): Use the new base-position info.
12784 (completion-root-regexp): Delete.
12785 (completion-setup-function): Preserve completion-base-position.
12786 Eliminate obsolete base-size manipulation.
12787 * minibuffer.el (display-completion-list): Don't mess with base-size.
12788 (minibuffer-completion-help): Set completion-base-position instead.
12789 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
12791 * textmodes/bibtex.el (bibtex-complete):
12792 * emacs-lisp/crm.el (crm--choose-completion-string):
12793 Adjust to new calling convention.
12794 * complete.el (partial-completion-mode): Use minibufferp to avoid
12795 bumping into incompatible change to choose-completion-string-functions.
12796 * ido.el (ido-choose-completion-string): Make its calling convention
12798 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
12799 base-size manipulation.
12800 (comint-dynamic-list-input-ring): Use dotimes and push.
12801 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
12802 fundamental-mode. Use `or'.
12804 2009-10-14 Juri Linkov <juri@jurta.org>
12806 * misearch.el (multi-isearch-next-buffer-from-list)
12807 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
12809 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12811 * Makefile.in (compile-onefile): Load `bytecomp' rather than
12814 * minibuffer.el (completion-pcm--merge-completions): Make sure the
12815 string we return is all made up of text from the completions rather
12816 than part from the completions and part from the input (bug#4219).
12818 * ido.el (ido-everywhere): Use define-minor-mode.
12820 * buff-menu.el (list-buffers, ctl-x-map):
12821 Mark the entry points with ;;;###autoload cookies.
12823 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
12825 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
12826 correctly in the detached head case.
12827 (vc-git-print-log): Remove unused binding.
12829 * vc.el (vc-responsible-backend): When a directory is passed for
12830 for registration create a VC repository if no backend is
12831 responsible for the directory argument.
12832 (vc-deduce-fileset): Tell vc-responsible-backend to register.
12834 * vc.el: Move comments about RCS and SCCS ...
12836 * vc-sccs.el: ... here, respectively.
12838 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12840 * minibuffer.el (completion--file-name-table): Return nil if there's
12841 no file completion, even if substitute-in-file-name changed
12842 the string (bug#4708).
12844 2009-10-13 Juri Linkov <juri@jurta.org>
12846 * files-x.el (read-file-local-variable-value): Don't filter out
12847 minor modes from mode name completion (bug#4664).
12849 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12851 * international/mule-cmds.el (ucs-names): Remove exclusion of
12852 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
12854 2009-10-13 Kenichi Handa <handa@m17n.org>
12856 * international/uni-name.el: Regenerated.
12858 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12860 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
12861 should be automatically buffer-local, but isn't.)
12863 2009-10-12 Sam Steingold <sds@gnu.org>
12865 * progmodes/compile.el (compilation-next-error-function): Fix the
12866 timestamps if the buffer has been visited before.
12867 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
12868 non-anchored patterns, like the perl one (bug#3928).
12870 2009-10-12 Glenn Morris <rgm@gnu.org>
12872 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
12875 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
12877 * proced.el (proced-unload-function): New function.
12879 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
12880 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
12883 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
12885 2009-10-11 Juri Linkov <juri@jurta.org>
12887 * files-x.el (read-file-local-variable-value):
12888 Provide default value only for bound variables (bug#4664).
12890 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
12892 * net/tramp.el (tramp-local-host-p): Function shall return nil for
12893 connection methods like smb.
12895 * net/tramp-cache.el (tramp-flush-connection-property): The hash
12898 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12899 (tramp-smb-file-name-handler-alist): Add handlers for
12900 `add-name-to-file', `make-symbolic-link'.
12901 (tramp-smb-handle-add-name-to-file)
12902 (tramp-smb-do-file-attributes-with-stat)
12903 (tramp-smb-handle-make-symbolic-link)
12904 (tramp-smb-get-cifs-capabilities): New defuns.
12905 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12906 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12907 (tramp-smb-handle-file-local-copy)
12908 (tramp-smb-handle-make-directory-internal)
12909 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
12910 The file name syntax depends on cifs capabilities.
12911 (tramp-smb-handle-file-attributes):
12912 Call `tramp-smb-do-file-attributes-with-stat' if possible.
12913 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
12914 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
12916 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
12918 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
12919 (eieio-defclass): Apply deftype handler and setf-method properties
12921 (eieio-add-new-slot): Avoid union function from cl library.
12922 (eieio--typep): New function.
12923 (eieio-perform-slot-validation): Use it.
12925 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12927 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
12928 Update documentation to refer to the variables documented in r1.135.
12931 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12933 * bookmark.el (Info-suffix-list): Remove this unused variable.
12934 (bookmark-current-point): Remove this obsolete variable.
12935 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
12936 Adjust for removal of bookmark-current-point.
12938 (bookmarks-already-loaded, bookmark-current-buffer)
12939 (bookmark-yank-point): Document. (Bug#4188)
12941 2009-10-10 Glenn Morris <rgm@gnu.org>
12943 * frame.el (frame-height): Doc fix.
12945 * calendar/calendar.el (calendar-split-width-threshold): New option.
12946 (calendar-basic-setup): Use calendar-split-width-threshold.
12948 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
12950 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
12951 Ideographic Supplement" range (U+1F200..U+1F2FF).
12953 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12955 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
12956 since the list will have been rebuilt anyway. (Bug#4349)
12958 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12960 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
12961 (bookmark-bmenu-execute-deletions): Don't save here, as
12962 bookmark-delete will now do so if necessary.
12963 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
12966 2009-10-09 Glenn Morris <rgm@gnu.org>
12968 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
12970 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12972 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
12973 (bookmark-jump-other-window): Just invoke bookmark-jump with new
12974 argument now, so the two function's behaviors will match. (Bug#3645)
12976 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
12978 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
12979 (tramp-file-name-real-host, tramp-file-name-port):
12980 Apply `save-match-data'.
12982 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
12983 case both directories are remote.
12984 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
12985 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
12987 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
12989 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
12991 2009-10-07 Glenn Morris <rgm@gnu.org>
12993 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
12996 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
12998 * files-x.el (read-file-local-variable): Include some
12999 non-user-variables in the completion table (bug#4664).
13001 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
13003 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13006 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13007 (tramp-smb-file-name-handler-alist): Add handler for
13008 `copy-directory', `expand-file-name', `set-file-modes'.
13009 (tramp-smb-handle-copy-directory)
13010 (tramp-smb-handle-expand-file-name)
13011 (tramp-smb-handle-set-file-modes): New defuns.
13012 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13013 (tramp-smb-handle-file-attributes): Simplify check for retrieving
13015 (tramp-smb-handle-insert-directory): Don't flush the cache.
13016 (tramp-smb-maybe-open-connection): Check for samba client and
13019 2009-10-07 Eli Zaretskii <eliz@gnu.org>
13021 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13022 to not error out of search for "^lisp=" fails.
13024 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13026 * makefile.w32-in (WINS_UPDATES): New macro.
13027 (custom-deps, finder-data, autoloads): Use it.
13029 2009-10-07 Glenn Morris <rgm@gnu.org>
13031 * Makefile.in (autoloads): Revert previous change.
13032 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13033 the list of preloaded files passed on the command-line, get
13034 it from src/Makefile.
13036 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13037 show the original buffer rather than a random one.
13039 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
13041 * help.el (describe-no-warranty): Place point in a slightly better
13042 position in the GPLv3 text.
13044 2009-10-06 Sam Steingold <sds@gnu.org>
13046 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13047 the comm attribute is present before calling regexp-quote.
13049 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
13051 * play/animate.el (animate-string): For good effect, make sure
13052 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13054 * play/animate.el (animate-sequence, animate-birthday-present):
13055 * misc.el (butterfly): Don't set `indent-tabs-mode'.
13057 2009-10-06 Glenn Morris <rgm@gnu.org>
13059 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13061 * emacs-lisp/autoload.el (autoload-excludes): New variable.
13062 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13063 (batch-update-autoloads): Process a string value of autoload-excludes,
13064 set during the build process.
13065 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
13067 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13068 inside with-parsed... macro so that `v' is defined.
13070 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13071 * progmodes/fortran.el (fortran-end-of-block)
13072 (fortran-beginning-of-block):
13073 Also push mark in the macro case.
13075 * emerge.el (emerge-show-file-name):
13076 * calc/calc.el (calc-quit):
13077 * calc/calc-misc.el (calc-big-or-small):
13078 * calc/calc-graph.el (calc-graph-view):
13079 * calc/calc-ext.el (calc-reset):
13080 * calendar/calendar.el (calendar-basic-setup):
13081 Use window-full-height-p.
13083 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13084 header we don't understand, don't insert another. (Bug#4624)
13085 If changing mime charset, insert the new one in the right place.
13087 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
13089 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
13090 (cal-tex-cursor-month): Correctly increment the end date for diary and
13091 holiday listing. (Bug#4626)
13093 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13095 * help-fns.el (describe-function-1): Don't burp if the function is not
13098 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
13100 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
13101 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
13102 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
13103 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13105 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
13106 (eieio-default-superclass): Reflow docstrings.
13107 (this, class-option-assoc, defclass, eieio-class-un-autoload)
13108 (eieio-unbind-method-implementations, defmethod)
13109 (eieio-validate-slot-value, eieio-validate-class-slot-value)
13110 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
13111 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
13112 (eieio-slot-originating-class-p, eieio-slot-name-index)
13113 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
13114 (constructor, initialize-instance, no-next-method, object-print)
13115 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
13116 Fix typos in docstrings.
13117 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
13118 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
13119 (next-method-p): Doc fixes.
13120 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
13121 Fix typos in error messages.
13122 (eieio-defmethod): Fix typo in description of generic method.
13124 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
13125 (eieio-persistent-save-interactive, slot-missing):
13126 Fix typos in docstrings.
13127 (eieio-instance-inheritor-slot-boundp): Doc fix.
13129 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
13130 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
13132 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
13133 (eieio-custom-object-apply-reset):
13134 Fix typos in docstrings and error messages.
13136 * emacs-lisp/eieio-datadebug.el (data-debug-show):
13137 Fix typo in docstring.
13139 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
13140 (eieio-browse-tree): Doc fix.
13141 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
13142 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
13143 Fix typos in docstrings.
13145 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
13146 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
13147 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
13148 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
13151 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
13153 * vc-hg.el (log-view-vc-backend): Declare for compiler.
13154 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
13155 Set log-view-vc-backend so that diff can work.
13157 * log-view.el (log-view-diff): Use vc-diff-internal instead of
13159 (vc-diff-internal): Autoload this instead of vc-version-diff.
13161 2009-10-05 Eli Zaretskii <eliz@gnu.org>
13163 * simple.el (eval-expression): Doc fix.
13165 * progmodes/cwarn.el (cwarn-mode): Doc fix.
13167 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
13169 * files.el (directory-files-no-dot-files-regexp): New defconst.
13170 (delete-directory): Use it.
13171 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
13173 * net/tramp.el (tramp-verbose): Fix docstring.
13174 (tramp-methods): Add recursive option to `tramp-copy-args'.
13175 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
13176 "scp1_old", "scp2_old", "rsync", "rsyncc".
13177 (tramp-default-method): Check also for `auth-source-user-or-password'.
13178 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
13179 Add handler for `copy-directory'.
13180 (tramp-handle-copy-directory): New defun.
13181 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
13182 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
13183 Optimize sent command.
13185 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13187 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
13188 window if necessary.
13190 * calendar/calendar.el (calendar-basic-setup): Don't call
13191 switch-to-buffer in a dedicated window.
13193 2009-10-05 Karl Fogel <kfogel@red-bean.com>
13195 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
13196 don't do anything related to relocating, just return nil.
13197 (bookmark-error-no-filename): New error.
13198 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
13199 bookmark has no file. Don't even attempt to handle things that
13200 are not files; the whole point of custom handlers is to keep that
13201 knowledge elsewhere anyway. Tighten some comments.
13202 (bookmark-file-or-variation-thereof): Remove now-unused function.
13203 (bookmark-location): Doc string fix.
13206 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13208 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
13209 don't use a file dialog, because they usually don't know how to read
13210 a directory target from the user. (Bug#4230)
13211 Also, make sure the prompt can display directories as well as files.
13213 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13215 * bookmark.el (bookmark-set, bookmark-buffer-name):
13216 Improve doc strings. (Bug#1193)
13218 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13220 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
13221 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
13222 (bookmark-get-annotation, bookmark-set-annotation)
13223 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
13224 (bookmark-set-position, bookmark-get-front-context-string)
13225 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
13226 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
13227 (bookmark-jump-other-window, bookmark-handle-bookmark)
13228 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
13229 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
13230 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
13231 Improve doc strings to say whether bookmark can be a string or
13232 a record or both, and make other consistency and clarity fixes.
13233 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
13234 (bookmark-default-annotation-text, bookmark-yank-word)
13235 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
13236 (bookmark-import-new-list, bookmark-maybe-rename)
13237 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13238 (bookmark-bmenu-bookmark): Give these doc strings.
13239 (bookmark-bmenu-check-position): Give this a doc string, but also
13240 add a FIXME comment about how the function may be pointless.
13241 (bookmark-default-handler): Rework doc string and change a
13242 parameter name, to clarify that this takes a bookmark record
13243 not a bookmark name.
13244 (bookmark-set): Change a parameter name to indicate its meaning,
13245 and improve the doc string a bit.
13248 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13250 * bookmark.el (bookmark-alist): Document the new `handler' element
13251 in the param alist.
13252 (bookmark-make-record-function): Adjust documentation for above.
13255 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13257 * info.el (Info-bookmark-make-record): Document this function.
13258 (Info-bookmark-jump): Document with a doc string, not just a comment.
13261 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
13263 * files.el (copy-directory): New defun.
13265 * dired-aux.el (dired-copy-file-recursive): Use it.
13267 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
13269 * files-x.el (modify-dir-local-variable)
13270 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
13273 * recentf.el (recentf-unload-function): New function.
13275 2009-10-04 Glenn Morris <rgm@gnu.org>
13277 * window.el (window-full-height-p): Add doc string.
13279 2009-10-04 Martin Rudalics <rudalics@gmx.at>
13281 * window.el (window-full-height-p): New function. (Bug#4543)
13283 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
13285 * vc.el: Remove commented out code.
13286 (vc-derived-from-dir-mode): Remove, unused.
13287 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
13289 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
13291 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
13292 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
13293 there could be recursive loading when `default-directory' is a
13294 remote file name. (Bug#4614)
13296 2009-10-03 Glenn Morris <rgm@gnu.org>
13298 * calendar/calendar.el (calendar-basic-setup): Handle the case where
13300 (calendar-generate-window): Test for shrinkability rather than width.
13302 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
13303 reusing existing buffers, in case we happen to visit two files with the
13304 same basename. (Bug#4593)
13306 2009-10-02 Eli Zaretskii <eliz@gnu.org>
13308 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
13309 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
13310 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
13311 subdirs of cedet as well.
13312 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
13314 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13316 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
13317 Obey advertised-signature-table.
13319 * help-fns.el (help-function-arglist): Don't check
13320 advertised-signature-table.
13321 (describe-function-1): Do it here instead so it also applies to subrs.
13323 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
13325 * simple.el (start-file-process): Say in the doc-string, that file
13326 handlers might not support pty association, if PROGRAM is nil.
13328 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
13329 HOST and USER are strings. They are nil, when there are
13330 incomplete entries in ~/.netrc, for example.
13331 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
13332 root directory ("device busy" error otherwise).
13334 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
13335 Flush file properties of created directory.
13337 2009-10-02 Eli Zaretskii <eliz@gnu.org>
13339 * makefile.w32-in (WINS_BASIC): Remove cedet.
13340 (WINS_CEDET): Add cedet.
13341 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
13343 2009-10-02 Kevin Ryde <user42@zip.com.au>
13345 * net/browse-url.el (browse-url): Pass any symbol in
13346 browse-url-browser-function to `apply', since if you've mistakenly put
13347 an unbound symbol then the error is clearer. (Bug#4531)
13349 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
13351 * allout.el (allout-init, allout-back-to-current-heading)
13352 (allout-beginning-of-current-entry, allout-ascend-to-depth)
13353 (allout-ascend, allout-up-current-level, allout-end-of-level)
13354 (allout-previous-visible-heading, allout-forward-current-level)
13355 (allout-backward-current-level, allout-show-children):
13356 * apropos.el (apropos-describe-plist):
13357 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
13358 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
13359 * completion.el (add-completion, add-permanent-completion):
13360 * descr-text.el (describe-text-category, describe-char):
13361 * desktop.el (desktop-lazy-abort):
13362 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
13363 * dired.el (dired-build-subdir-alist):
13364 * ediff.el (ediff-version):
13365 * elide-head.el (elide-head, elide-head-show):
13366 * emerge.el (emerge-version):
13368 * face-remap.el (variable-pitch-mode):
13369 * faces.el (describe-face):
13370 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
13372 * files.el (find-file-existing, auto-save-mode):
13373 * font-lock.el (font-lock-fontify-buffer):
13374 * help-fns.el (describe-function, describe-variable)
13375 (describe-syntax, describe-categories):
13376 * help.el (view-lossage, describe-bindings, describe-key)
13378 * hexl.el (hexl-current-address):
13379 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
13380 * info.el (Info-goto-emacs-key-command-node):
13381 * log-edit.el (log-edit-insert-cvs-template)
13382 (log-edit-insert-cvs-rcstemplate):
13383 * menu-bar.el (menu-bar-mode):
13384 * mouse.el (mouse-appearance-menu):
13385 * newcomment.el (comment-indent-new-line):
13386 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
13387 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
13388 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
13389 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
13390 * recentf.el (recentf-mode):
13391 * savehist.el (savehist-mode, savehist-save):
13392 * shadowfile.el (shadow-copy-files):
13393 * simple.el (kill-ring-save, next-line, previous-line)
13394 (normal-erase-is-backspace-mode):
13395 * strokes.el (strokes-update-window-configuration)
13396 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
13397 (strokes-xpm-for-stroke):
13398 * time.el (emacs-uptime, emacs-init-time):
13399 * tutorial.el (tutorial--describe-nonstandard-key)
13400 (tutorial--detailed-help):
13401 * type-break.el (type-break-mode)
13402 (type-break-mode-line-message-mode, type-break-query-mode)
13403 (type-break-guesstimate-keystroke-threshold):
13404 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
13405 * version.el (emacs-version):
13406 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
13407 * winner.el (winner-mode):
13408 * calendar/timeclock.el (timeclock-in, timeclock-out)
13409 (timeclock-status-string, timeclock-change)
13410 (timeclock-workday-remaining-string)
13411 (timeclock-workday-elapsed-string)
13412 (timeclock-when-to-leave-string):
13413 * calendar/todo-mode.el (todo-add-category):
13414 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
13415 * emacs-lisp/autoload.el (update-file-autoloads):
13416 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
13417 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
13418 (checkdoc-message-text, checkdoc-defun):
13419 * emacs-lisp/debug.el (debugger-list-functions):
13420 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13421 * emacs-lisp/eieio-opt.el (eieio-describe-class)
13422 (eieio-describe-generic):
13423 * emacs-lisp/lisp-mnt.el (lm-synopsis):
13424 * emacs-lisp/shadow.el (list-load-path-shadows):
13425 * emulation/cua-base.el (cua-mode):
13426 * emulation/edt.el (edt-set-scroll-margins):
13427 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
13428 (tpu-toggle-regexp, tpu-toggle-search-direction)
13429 (tpu-toggle-rectangle, tpu-toggle-control-keys):
13430 * emulation/tpu-extras.el (tpu-set-scroll-margins):
13431 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13432 (viper-set-parsing-style-toggling-macro)
13433 (viper-set-emacs-state-searchstyle-macros):
13434 * emulation/viper.el (viper-set-hooks):
13435 * eshell/esh-mode.el (eshell-truncate-buffer):
13436 * international/mule-cmds.el (prefer-coding-system)
13437 (describe-input-method, describe-language-environment):
13438 * international/mule-diag.el (list-character-sets)
13439 (describe-character-set, describe-coding-system)
13440 (describe-fontset, list-fontsets, list-input-methods):
13441 * mail/sendmail.el (mail-signature):
13442 * net/ange-ftp.el (ange-ftp-copy-file):
13443 * net/browse-url.el (browse-url):
13444 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
13445 * net/quickurl.el (quickurl-add-url):
13446 * net/rcirc.el (names, topic):
13447 * net/xesam.el (xesam-mode):
13448 * play/5x5.el (5x5-new-game):
13449 * play/yow.el (apropos-zippy):
13450 * progmodes/ada-mode.el (ada-mode-version):
13451 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
13453 (f90-beginning-of-block):
13454 * progmodes/fortran.el (fortran-end-of-block)
13455 (fortran-beginning-of-block):
13456 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
13457 * progmodes/python.el (python-describe-symbol, python-shell):
13458 * term/ns-win.el (ns-print-buffer):
13459 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
13460 * textmodes/flyspell.el (flyspell-mode-on):
13461 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
13462 (pages-directory-for-addresses):
13463 * textmodes/table.el (table-recognize-cell)
13464 (table-query-dimension, table-generate-source)
13465 (table-insert-sequence, table--warn-incompatibility):
13466 * textmodes/tex-mode.el (tex-validate-buffer):
13467 * textmodes/texinfmt.el (texinfmt-version)
13468 (texinfo-format-buffer):
13469 Use `called-interactively-p' instead of `interactive-p'.
13471 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
13473 * image-mode.el (image-toggle-display):
13474 * emacs-lisp/elp.el (elp-instrument-function):
13475 * emacs-lisp/advice.el (ad-make-advised-definition):
13476 * emacs-lisp/easy-mmode.el (define-minor-mode):
13477 * net/browse-url.el (browse-url-maybe-new-window):
13478 * progmodes/sh-script.el (sh-learn-buffer-indent):
13479 Pass new argument 'any to `called-interactively-p'.
13481 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
13483 * international/uni-bidi.el:
13484 * international/uni-category.el:
13485 * international/uni-combining.el:
13486 * international/uni-comment.el:
13487 * international/uni-decimal.el:
13488 * international/uni-decomposition.el:
13489 * international/uni-digit.el:
13490 * international/uni-lowercase.el:
13491 * international/uni-mirrored.el:
13492 * international/uni-name.el:
13493 * international/uni-numeric.el:
13494 * international/uni-old-name.el:
13495 * international/uni-titlecase.el:
13496 * international/uni-uppercase.el:
13497 Regenerate from Unicode 5.2.0 data.
13499 2009-10-01 Glenn Morris <rgm@gnu.org>
13501 * Makefile.in (ELCFILES): Regenerate.
13503 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13505 * subr.el (interactive-p): Mark obsolete.
13506 (called-interactively-p): Make the optional-ness of `kind' obsolete.
13507 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
13508 advertised-signature-table for subroutines as well.
13510 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
13511 (set-advertised-calling-convention): New function.
13512 (make-obsolete, define-obsolete-function-alias)
13513 (make-obsolete-variable, define-obsolete-variable-alias):
13514 Make the optional-ness of `when' obsolete.
13515 (define-obsolete-face-alias): Make `when' non-optional.
13516 * help-fns.el (help-function-arglist):
13517 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
13518 Use advertised-signature-table.
13520 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
13522 * files.el (delete-directory): New defun. The original function
13523 in fileio.c has been renamed to `delete-directory-internal'.
13525 * dired.el (dired-delete-file): Call `delete-directory' with
13526 RECURSIVE parameter.
13528 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
13529 parameter RECURSIVE. Implementation is missing.
13531 * net/tramp.el (tramp-handle-make-directory): Flush upper
13532 directory's file properties.
13533 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
13534 (tramp-handle-dired-recursive-delete-directory): Flush directory
13535 properties after the remove command only.
13537 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13538 Handle optional parameter RECURSIVE.
13540 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13541 Handle optional parameter RECURSIVE.
13543 * net/tramp-smb.el (tramp-smb-errors): Add error message for
13544 connection timeout.
13545 (tramp-smb-handle-delete-directory): Handle optional parameter
13548 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13550 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
13551 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
13552 (byte-compile-defmacro): Use backquotes.
13554 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
13556 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
13557 has no associated file.
13558 (vc-resynch-buffer): Use vc-dir-buffers.
13560 2009-10-01 Glenn Morris <rgm@gnu.org>
13562 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
13563 (chart-file-count):
13564 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
13565 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
13566 * emacs-lisp/eieio-opt.el (eieio-describe-class):
13567 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
13568 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
13569 (eieio-copy-parents-into-subclass, make-instance, class-children)
13570 (eieio-generic-form):
13572 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
13573 match-data. (Bug#4555).
13575 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
13576 rather than parsing it as a regexp. This relaxes the layout
13577 requirements and makes errors easier to detect.
13578 (check-declare-verify): Check file is regular.
13579 (check-declare-directory): Doc fix.
13580 * subr.el (declare-function): Doc fix.
13582 * ibuffer.el (ibuffer-format-qualifier):
13583 * isearch.el (hi-lock-regexp-okay):
13584 * calc/calc.el (math-zerop):
13585 * mail/uce.el (rmail-msgbeg, rmail-msgend):
13586 * term/w32-win.el (setup-default-fontset, set-fontset-font):
13587 Remove unused declarations.
13589 2009-09-30 Eric Ludlam <zappo@gnu.org>
13591 * emacs-lisp/eieio.el (boolean-p): Delete.
13593 2009-09-30 Glenn Morris <rgm@gnu.org>
13595 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
13597 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
13598 filename is not a string.
13600 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
13602 * files.el (safe-local-eval-forms): Fix typo.
13604 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
13606 * vc-hooks.el (vc-dir-buffers): New var.
13607 (vc-state-refresh): New function.
13608 (vc-state): Use it.
13609 (vc-after-save): Always ask the backend to recompute the new state.
13610 Always call vc-dir if necessary, using vc-dir-buffers.
13611 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
13612 Use vc-dir-buffers.
13613 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
13614 (vc-dir-prepare-status-buffer, vc-dir-update)
13615 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
13616 Don't call expand-file-name on default-directory.
13618 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13620 * speedbar.el (speedbar-item-delete):
13621 * calc/calc-prog.el (calc-kbd-if):
13622 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
13624 * epa.el (epa-key-list-mode-map):
13625 * hi-lock.el (hi-lock-menu): Fix typos in menus.
13627 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
13628 (hs-show-hook): Fix typo in docstring.
13630 2009-09-29 Glenn Morris <rgm@gnu.org>
13632 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
13633 file-name-nondirectory call preventing location of cedet files.
13634 (check-declare-verify): Use literal search rather than re-search.
13635 Add basic defmethod and defclass, and define-overloadable-function.
13637 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13638 Use tramp-compat-file-attributes rather than nonexistent
13639 tramp-compat-handle-file-attributes.
13641 * Makefile.in (lisptagsfiles4): New.
13642 (AUTOGENEL): Add cedet loaddefs files.
13643 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
13644 (update-elclist, compile-always, backup-compiled-files)
13645 (bootstrap-clean): Add yet another directory level.
13646 (update-elclist): Use LC_COLLATE rather than COLLATE.
13647 (ELCFILES): Update, via `make update-elclist'.
13649 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13651 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
13652 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
13653 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
13655 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
13657 * Makefile.in (lisptagsfiles3): Define.
13658 (TAGS, TAGS-LISP): Use it.
13659 (update-elclist): Add third directory level to look for elc files.
13660 (compile-always): Likewise.
13661 (backup-compiled-files): Likewise.
13662 (bootstrap-clean): Likewise.
13663 (ELCFILES): Update.
13665 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
13667 * Makefile.in (ELCFILES): Add CEDET files.
13669 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
13671 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
13673 * net/tramp.el (top): Require tramp-imap.
13675 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13676 Use `tramp-compat-handle-file-attributes'.
13678 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
13680 * net/tramp-imap.el: New package.
13682 2009-09-28 Eric Ludlam <zappo@gnu.org>
13684 * emacs-lisp/chart.el:
13685 * emacs-lisp/eieio-base.el:
13686 * emacs-lisp/eieio-comp.el:
13687 * emacs-lisp/eieio-custom.el:
13688 * emacs-lisp/eieio-datadebug.el:
13689 * emacs-lisp/eieio-opt.el:
13690 * emacs-lisp/eieio-speedbar.el:
13691 * emacs-lisp/eieio.el: New files.
13693 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13695 * whitespace.el (whitespace-trailing-regexp)
13696 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
13699 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
13701 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
13704 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
13705 menu-bar-ediff-menu.
13707 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
13708 define-overloadable-function.
13710 * progmodes/autoconf.el: Provide autoconf as well, so that this
13711 file can be `require'd.
13713 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
13715 * emacs-lisp/autoload.el (generated-autoload-feature)
13716 (generated-autoload-load-name): New vars.
13717 (autoload-rubric, autoload-generate-file-autoloads): Use them.
13718 (make-autoload): Recognize define-overloadable-function and
13719 defclass forms (for EIEIO).
13721 * Makefile.in (update-subdirs): Exclude cedet directory.
13723 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
13725 * term/ns-win.el: Don't set the region face background. (Bug#4381)
13727 * faces.el: Default light-background background for region face to
13728 ns_selection_color under NS.
13730 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
13732 * net/imap-hash.el: New library, see NEWS.
13734 * Makefile.in (ELCFILES): Add imap-hash.el.
13736 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
13738 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
13739 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
13740 * help-macro.el (make-help-screen): Avoid using an ambiguous function
13741 definition where the docstring could be taken for the return value.
13743 2009-09-26 Glenn Morris <rgm@gnu.org>
13745 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
13746 Add option to only show images below a certain size.
13747 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
13748 save-excursion calls.
13750 2009-09-26 Eli Zaretskii <eliz@gnu.org>
13752 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
13753 subdirectories) and eieio.
13755 2009-09-26 Alan Mackenzie <acm@muc.de>
13757 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
13758 buggy bracketing. (Bug#4289)
13760 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
13761 character constants (as case labels). (Bug#4289)
13763 2009-09-25 Juri Linkov <juri@jurta.org>
13765 * files.el (safe-local-eval-forms): Allow time-stamp in
13766 before-save-hook (Bug#4554).
13768 2009-09-25 Drew Adams <drew.adams@oracle.com>
13770 * menu-bar.el (list-buffers-directory): Doc fix.
13772 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
13774 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
13775 Try and avoid copying twice the same paragraph.
13776 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
13777 Remove save-excursion.
13778 (log-edit-changelog-entry): Do it here instead.
13780 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
13782 * bs.el (bs--get-file-name): Use `list-buffers-directory'
13783 when available, instead of hardcoding mode names. Doc fix.
13785 * menu-bar.el (list-buffers-directory): Add docstring.
13786 Make automatically buffer-local.
13788 * dired.el (dired-mode):
13789 * files.el (cd-absolute):
13790 * pcvs.el (cvs-temp-buffer):
13791 * pcvs-util.el (cvs-get-buffer-create):
13792 * shell.el (shell-mode):
13793 * vc-dir.el (vc-dir-mode):
13794 Don't make `list-buffers-directory' buffer local.
13796 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
13798 * comint.el (comint-exec, comint-run, make-comint):
13799 Doc fixes (Bug#4542).
13801 2009-09-25 Glenn Morris <rgm@gnu.org>
13803 * mail/rmailmm.el (rmail-mime): New custom group.
13804 Move all defcustoms in this file into this group.
13805 (rmail-mime-media-type-handlers-alist): Revert previous change.
13806 (rmail-mime-show-images): New option.
13807 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
13808 references to it, since it wasn't actually used for anything.
13809 (rmail-mime-insert-image): New function.
13810 (rmail-mime-image): Use rmail-mime-insert-image.
13811 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
13812 obey the value of `rmail-mime-show-images' option. Print the size of
13815 2009-09-25 David Engster <deng@randomsample.de>
13817 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
13819 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13821 * whitespace.el: Does not highlight trailing spaces While point is
13822 at end of line. Does not highligt spaces at beginning of buffer
13823 while point is at beginning of buffer. Does not highlight spaces
13824 at end of buffer while point is at end of buffer. (Bug#4177)
13826 (whitespace-display-mappings): Adjust initialization.
13827 (whitespace-point, whitespace-font-lock-refontify): New vars.
13828 (whitespace-color-on, whitespace-color-off): Adjust code.
13829 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
13830 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
13831 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
13833 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
13835 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
13837 * textmodes/sgml-mode.el: Remove xml-mode alias.
13839 * files.el (auto-mode-alist, conf-mode-maybe)
13840 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
13842 2009-09-24 Alan Mackenzie <acm@muc.de>
13844 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
13845 c-forward-conditionals, but it doesn't move point and doesn't set
13847 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
13848 (c-down-conditional-with-else, c-backward-conditional)
13849 (c-forward-conditional): Refactor to use c-scan-conditionals.
13851 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13853 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
13854 (help-default-arg-highlight): Remove.
13855 (help-highlight-arg): New function.
13856 (help-do-arg-highlight): Use it.
13857 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
13859 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13861 * term.el (term-set-scroll-region, term-handle-ansi-escape):
13862 Undo last change, which didn't fix the problem and introduced others.
13864 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
13866 * progmodes/gdb-mi.el: Don't require speedbar.
13867 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
13869 2009-09-24 Glenn Morris <rgm@gnu.org>
13871 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
13873 * term/ns-win.el (ns-reg-to-script): Define for compiler.
13875 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
13876 there is no newline after the final mime boundary. (Bug#4539)
13877 Move markers on insertion so that any buttons inserted don't end up in
13878 the next part of a multipart message.
13879 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
13880 (rmail-mime-bulk-handler): Optionally handle images.
13881 (rmail-mime-image): New button action.
13882 (rmail-mime-image-handler): New function.
13883 (rmail-mime-mode): New mode.
13884 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
13886 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13888 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
13889 than just dropping elements from it (bug#4504).
13891 * term.el (term-set-scroll-region): Don't move cursor any more.
13892 (term-handle-ansi-escape): Call term-goto here instead.
13893 Suggested by Ivan Kanis <apple@kanis.eu>.
13895 * term.el: Require CL.
13896 (term-ansi-reset): New function.
13897 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
13898 (term-handle-colors-array): Simplify.
13900 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13902 * allout.el (allout-overlay-interior-modification-handler)
13903 (allout-obtain-passphrase):
13904 * epa-file.el (epa-file-write-region):
13905 * ps-print.el (ps-begin-job):
13906 * vc-hooks.el (vc-toggle-read-only):
13907 * vc-rcs.el (vc-rcs-rollback):
13908 * vc-sccs.el (vc-sccs-rollback):
13909 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
13910 (vc-version-diff, vc-revert, vc-rollback):
13911 * wdired.el (wdired-check-kill-buffer):
13912 * emacs-lisp/authors.el (authors):
13913 * net/socks.el (socks-open-connection):
13914 * net/zeroconf.el (zeroconf-service-add-hook):
13915 * obsolete/vc-mcvs.el (vc-mcvs-register):
13916 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
13917 (gdb-select-frame):
13918 * progmodes/grep.el (lgrep, rgrep):
13919 * progmodes/idlw-help.el (idlwave-help-check-locations)
13920 (idlwave-help-html-link, idlwave-help-assistant-open-link):
13921 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13922 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
13923 (reftex-toc-rename-label): Fix typos in error messages.
13925 * dired-aux.el (dired-do-shell-command): Reflow docstring.
13926 (dired-copy-how-to-fn): Doc fix.
13927 (dired-files-attributes, dired-read-shell-command):
13928 Fix typos in docstrings.
13930 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
13931 (dired-x-find-file-other-window): Reflow docstrings.
13932 (dired-omit-marker-char, dired-read-shell-command)
13933 (dired-x-submit-report): Fix typos in docstrings.
13935 * shell.el (shell-mode-hook):
13936 * view.el (View-scroll-line-forward):
13937 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
13938 Fix typos in docstrings.
13940 * net/dig.el (dig-invoke): Fix typo in docstring.
13941 (query-dig): Reflow docstring.
13943 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
13944 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
13945 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
13946 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
13947 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
13948 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
13949 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
13950 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
13951 (idlwave-completion-map, idlwave-current-indent)
13952 (idlwave-custom-ampersand-surround, idlwave-customize)
13953 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
13954 (idlwave-define-abbrev, idlwave-determine-class-special)
13955 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
13956 (idlwave-end-block-reg, idlwave-end-of-statement)
13957 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
13958 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
13959 (idlwave-explicit-class-listed, idlwave-file-header)
13960 (idlwave-fill-paragraph, idlwave-find-class-definition)
13961 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
13962 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
13963 (idlwave-in-quote, idlwave-indent-action-table)
13964 (idlwave-indent-expand-table, idlwave-indent-line)
13965 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
13966 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
13967 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
13968 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
13969 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
13970 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
13971 (idlwave-outlawed-buffers, idlwave-popup-select)
13972 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
13973 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
13974 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
13975 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
13976 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
13977 (idlwave-statement-type, idlwave-struct-skip)
13978 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
13979 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
13980 (idlwave-what-module-find-class): Fix typos in docstrings.
13981 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
13982 (idlwave-calculate-cont-indent, idlwave-expand-equal)
13983 (idlwave-find-module, idlwave-find-structure-definition)
13984 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
13985 (idlwave-list-load-path-shadows, idlwave-next-statement)
13986 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
13987 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
13988 (idlwave-template): Reflow docstrings.
13990 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
13991 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
13992 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
13993 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
13994 (idlwave-shell-display-line, idlwave-shell-display-wframe)
13995 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
13996 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
13997 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
13998 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
13999 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14000 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14001 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14002 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14003 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14004 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14005 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14006 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14007 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14008 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14009 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14010 Fix typos in docstrings.
14011 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14012 (idlwave-shell-hide-output, idlwave-shell-mode)
14013 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14016 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14018 2009-09-24 Ivan Kanis <apple@kanis.eu>
14020 * term.el (term-bold-attribute): New var.
14021 (term-handle-colors-array): Use it.
14023 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
14025 * progmodes/gdb-mi.el (gdb-version): New variable.
14026 (gdb-non-stop-handler): Set gdb-version.
14027 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14028 Condition "--thread" option on gdb-version.
14029 (gdb-invalidate-threads): Remove unused argument.
14031 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14033 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14034 to looking-back to avoid ridiculous slow down in large files (bug#4511).
14036 2009-09-23 Glenn Morris <rgm@gnu.org>
14038 * mail/rmail.el (rmail-reply): Don't try to add a References header when
14039 replying to mail without References or Message-Id. (Bug#4525)
14041 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
14043 * term/ns-win.el (ns-reg-to-script): New variable.
14045 2009-09-23 Daiki Ueno <ueno@unixuser.org>
14047 * epg.el (epg-wait-for-status): Preserve existing 'error results.
14049 2009-09-22 Sam Steingold <sds@gnu.org>
14051 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14052 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14053 to 1 because hg returns status 1 when nothing is found.
14054 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14056 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
14058 * textmodes/fill.el: Convert to utf-8 encoding.
14059 (fill-french-nobreak-p): Remove redundant » and « inherited from our
14062 * add-log.el (change-log-fill-forward-paragraph): New function.
14063 (change-log-mode): Use it so fill-region DTRT.
14064 Set fill-indent-according-to-mode here rather than in
14065 change-log-fill-paragraph.
14066 (change-log-fill-paragraph): Remove.
14068 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
14070 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14071 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
14073 2009-09-22 Glenn Morris <rgm@gnu.org>
14075 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14076 the scroll-bar scroll the calendar window rather than the buffer.
14078 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14079 commands that move point (as opposed to scrolling).
14081 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14083 * emacs-lisp/elint.el (elint): New custom group.
14084 (elint-log-buffer): Make it a defcustom.
14085 (elint-scan-preloaded, elint-ignored-warnings)
14086 (elint-directory-skip-re): New options.
14087 (elint-builtin-variables): Doc fix.
14088 (elint-preloaded-env): New variable.
14089 (elint-unknown-builtin-args): Add an entry for encode-time.
14090 (elint-extra-errors): Make it a variable rather than a constant.
14091 (elint-preloaded-skip-re): New constant.
14092 (elint-directory): Skip files matching elint-directory-skip-re.
14093 (elint-features): New variable, local to linted buffers.
14094 (elint-update-env): Initialize elint-features. Possibly add
14095 elint-preloaded-env to the buffer's environment.
14096 (elint-get-top-forms): Bind elint-current-pos, for log messages.
14098 (elint-init-form): New function, extracted from elint-init-env.
14099 Make non-list forms a warning rather than an error.
14100 Add the mode-map for define-derived-mode. Handle define-minor-mode,
14101 easy-menu-define, put that adds an error-condition, and provide.
14102 When requiring cl, also require cl-macs. Really require cl, to handle
14103 some cl macros. Store required libraries in the list elint-features,
14104 so as not to re-load them. Treat cc-require like require.
14105 (elint-init-env): Call elint-init-form to do the work.
14106 Handle eval-and-compile and such like.
14107 (elint-add-required-env): Do not clear messages.
14108 (elint-special-forms): Add handlers for function, defalias, if, when,
14110 (elint-form): Add optional argument to ignore elint-special-forms,
14111 useful to prevent recursive calls from handlers. Doc fix.
14112 Respect elint-ignored-warnings.
14113 (elint-form): Respect elint-ignored-warnings.
14114 (elint-bound-variable, elint-bound-function): New variables.
14115 (elint-unbound-variable): Respect elint-bound-variable.
14116 (elint-get-args): Respect elint-bound-function.
14117 (elint-check-cond-form): Add some simple handling for (f)boundp and
14119 (elint-check-defalias-form): New handler.
14120 (elint-check-let-form): Make an empty let a warning rather than an
14122 (elint-check-setq-form): Make an empty setq a warning rather than an
14123 error. Respect elint-ignored-warnings.
14124 (elint-check-defvar-form): Accept null doc-strings.
14125 (elint-check-conditional-form): New handler. Does some simple-minded
14126 checking of featurep and (f)boundp tests.
14127 (elint-put-function-args): New function.
14128 (elint-initialize): Use elint-scan-doc-file rather than
14129 elint-find-builtin-variables. Use elint-put-function-args.
14130 Possibly scan preloaded-file-list.
14131 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
14132 extend to handle functions as well.
14134 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
14136 * linum.el (linum-delete-overlays, linum-update-window):
14137 Do not modify the right margin. (Bug#3971)
14139 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
14141 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
14142 nxml-mode instead of xml-mode.
14144 2009-09-21 Kevin Ryde <user42@zip.com.au>
14146 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
14148 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14150 * net/dig.el (dig-mode): Use define-derived-mode.
14152 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
14154 * vc-dispatcher.el (vc-do-command): Return the process object in
14155 the asynchronous case. Use when instead of if. Do not run
14156 vc-exec-after to display a message if not enabled. (Bug#4463)
14158 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
14159 properties to the stash strings.
14160 (vc-git-stash-list): Return a list of strings.
14161 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
14162 (vc-git-stash-show-at-point): New functions.
14163 (vc-git-stash-map): New keymap.
14165 * register.el (ctl-x-r-map): Define the keys here instead of
14168 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
14170 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
14171 list, to workaround performance problem (bug#4485).
14173 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
14175 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
14177 2009-09-20 Daiki Ueno <ueno@unixuser.org>
14179 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14180 Document that this option is not recommended to use.
14182 2009-09-19 Glenn Morris <rgm@gnu.org>
14184 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
14187 * calc/calc-alg.el (var):
14188 * calc/calcalg2.el (var): Define for compiler.
14190 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
14192 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
14193 Doc fix (Bug#3932).
14195 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
14197 * time-stamp.el (time-stamp-month-dd-yyyy)
14198 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
14199 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
14200 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
14201 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
14202 Remove functions that have been obsolete since 1995 (Bug#4436).
14204 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
14205 indent buffer only if called interactively (Bug#4452).
14207 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
14208 Eli Zaretskii <eliz@gnu.org>
14210 This fixes bug#4197 (merged to bug#865, though not identical).
14211 * server.el (server-auth-dir): Add docstring note about FAT32.
14212 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
14213 but warn against using them.
14215 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
14217 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
14218 older GDB where there is no has_more field.
14220 2009-09-19 Glenn Morris <rgm@gnu.org>
14222 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
14224 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
14226 * files.el (auto-mode-alist): Change default for XML files to nXML
14229 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
14231 * server.el (server-ensure-safe-dir): Pass 'integer
14232 to `file-attributes', as suggested.
14234 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
14236 * dired-aux.el (dired-query-alist): Remove spurious backslash.
14237 (dired-query): Use read-key.
14239 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
14241 * cus-start.el (ns-use-qd-smoothing): Remove.
14243 2009-09-18 Glenn Morris <rgm@gnu.org>
14245 * allout.el (top-level): Remove unnecessary progn.
14247 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
14249 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
14250 definition of abbrev table.
14252 * speedbar.el (speedbar-track-mouse):
14253 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
14254 * net/eudc.el (eudc-expand-inline):
14255 * net/newst-backend.el (newsticker--cache-read-feed):
14256 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
14257 condition-case handlers.
14259 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
14261 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
14262 (gdb-var-list): Add an element for has_more field.
14263 (gdb-non-stop-handler): Enable pretty printing for STL containers.
14264 (gdb-var-create-handler, gdb-var-list-children-handler-1)
14265 (gdb-var-update-handler-1): Parse output of dynamic variable
14266 objects (STL containers).
14267 (gdb-var-delete-1): Pass var1 as an explicit second argument.
14268 (gdb-get-field): Delete alias. Use bindat-get-field directly.
14270 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
14272 (gud-speedbar-buttons): Make node expandable if expression "has more"
14275 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
14277 * startup.el (emacs-quick-startup): Remove variable and all uses.
14278 (command-line): Set `inhibit-x-resources' instead.
14279 (command-line-1): Use `inhibit-x-resources' instead.
14281 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
14283 * subr.el: Fix last change to avoid using the `unless' macro,
14284 which breaks bootstrapping.
14286 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14288 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
14289 extended definitions, in case we reload subr.el after having
14291 (eval-next-after-load): Mark as obsolete.
14293 2009-09-17 Juri Linkov <juri@jurta.org>
14295 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
14296 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
14297 (menu-bar-showhide-menu, menu-bar-tools-menu)
14298 (menu-bar-describe-menu, menu-bar-help-menu)
14299 (minibuffer-local-completion-map, minibuffer-local-map):
14302 2009-09-17 Glenn Morris <rgm@gnu.org>
14304 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
14305 arguments, whether or not it has a handler.
14307 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
14309 * simple.el (hard-newline): Give it a doc-string.
14311 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14312 (lisp-mode-syntax-table): Give them doc-strings.
14314 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
14316 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
14317 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
14318 (menu-bar-options-menu, menu-bar-showhide-menu)
14319 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
14320 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
14321 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
14322 (menu-bar-options-menu, menu-bar-tools-menu)
14323 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
14324 (menu-bar-help-menu):
14325 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
14328 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
14329 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
14330 calls for the menu names and :help.
14332 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14334 * mouse.el (minor-mode-menu-from-indicator): Pay attention
14335 to :minor-mode-function (bug#4455).
14337 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14339 * startup.el (command-line): Initialize the window-system after
14340 processing the command-line.
14342 * textmodes/page.el (what-page): Make sure we don't inf-loop if
14343 page-delimiter matches the empty string.
14345 2009-09-16 Glenn Morris <rgm@gnu.org>
14347 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
14348 byte-compile-not-obsolete-var. It's a list now.
14349 (byte-compile-not-obsolete-funcs): New variable.
14350 (byte-compile-warn-obsolete): Don't warn about functions if they are in
14351 byte-compile-not-obsolete-funcs.
14352 (byte-compile-variable-ref, byte-compile-defvar): Update for
14353 byte-compile-not-obsolete-vars name-change and list nature.
14354 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
14355 and variables behind (f)boundp tests.
14356 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
14358 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
14360 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
14362 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14364 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
14365 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
14368 2009-09-15 Stephen Eglen <stephen@gnu.org>
14370 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
14371 the virtual-buffers, use the name of the buffer specified by
14372 find-file-noselect, as the match may be a symlink. (This was a
14373 problem if the target and the symlink had different names.)
14375 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14377 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
14379 * desktop.el (desktop-path): Check user-emacs-directory.
14381 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
14383 * loadup.el: Use after-load-functions to GC after loading each file.
14384 Remove the explicit GC calls that used to be sprinkled around.
14386 * subr.el (after-load-functions): New hook.
14387 (do-after-load-evaluation): Run it. Use string-match-p to detect
14388 `obsolete' packages, rather than painfully extracting the relevant
14391 2009-09-15 Glenn Morris <rgm@gnu.org>
14393 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
14394 free variable `doc'.
14396 * dired.el (dired-mode-map): Add menu entry for async shell command.
14398 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
14399 variables, also consider the .elc files, since the .el files are
14400 normally gzipped (subsequent code locates the .el.gz from the .elc).
14402 * calc/calc-prog.el (arglist): Define for compiler.
14404 * calendar/diary-lib.el (diary-display-function): Change the default to
14406 (body): Define for compiler.
14408 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
14409 (byte-compile-file-form, byte-compile-lambda)
14410 (byte-compile-top-level-body, byte-compile-form)
14411 (byte-compile-variable-ref, byte-compile-setq)
14412 (byte-compile-setq-default, byte-compile-body)
14413 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
14414 (batch-byte-compile): Give some more local variables with common names
14415 a "bytecomp-" prefix to avoid masking warnings about free variables.
14417 * startup.el (command-line-1): Give local variables with common names a
14418 distinguishing prefix, so as not to hide free variable warnings during
14421 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
14422 clever and add a suffix to make a unique name, just let the user decide
14423 whether or not to overwrite it. If the input is a directory, write the
14424 default filename to that directory. (Bug#4388)
14425 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
14426 is a filename-as-a-directory.
14428 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14430 * textmodes/page.el (what-page): Don't move to beginning of line.
14431 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
14433 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
14435 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
14437 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
14439 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
14440 * help.el (help-for-help-internal): Add purecopy calls for text.
14442 * vc.el (top): print-log method now takes an optional SHORTLOG
14443 argument. Add a new method: root.
14444 (vc-root-diff, vc-print-root-log): New functions.
14445 (vc-log-short-style): New variable.
14446 (vc-print-log-internal): Add support for showing short logs.
14448 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
14449 vc-print-root-log and vc-print-root-diff.
14451 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
14452 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
14453 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
14456 * vc-cvs.el (vc-cvs-print-log):
14457 * vc-mtn.el (vc-mtn-print-log):
14458 * vc-rcs.el (vc-rcs-print-log):
14459 * vc-sccs.el (vc-sccs-print-log):
14460 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
14461 that is ignored for now.
14463 * vc-mtn.el (vc-mtn-annotate-command):
14464 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
14466 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14468 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
14469 to function-key-map, and give them ascii-character property.
14470 * term/x-win.el (x-alternatives-map):
14471 * term/ns-win.el (ns-alternatives-map):
14472 * term/internal.el (msdos-key-remapping-map):
14473 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
14475 2009-09-14 Glenn Morris <rgm@gnu.org>
14477 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
14478 temp-buffers (2009-09-12).
14480 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
14482 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
14483 the new read-key function.
14485 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14487 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
14488 is defined (Bug#4405).
14490 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
14492 * recentf.el (recentf-cleanup): Use a hash table to find
14493 duplicates (Bug#4407).
14495 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
14497 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
14498 kp-0 to ascii equivalents (Bug#4325).
14500 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14502 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
14504 * eshell/em-hist.el:
14505 * eshell/em-dirs.el (eshell-complete-user-reference):
14506 Declare pcomplete functions and variables to avoid compiler warnings.
14508 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
14510 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
14511 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
14512 * eshell/em-alias.el (eshell-aliases-file):
14513 * eshell/em-hist.el (eshell-history-file-name):
14514 Use expand-file-name instead of concat to make file names (Bug#4308).
14516 2009-09-13 Glenn Morris <rgm@gnu.org>
14518 * ediff-merg.el (ediff-do-merge):
14519 * filesets.el (filesets-run-cmd):
14520 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
14521 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
14522 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
14523 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
14524 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
14525 Replace empty `let's with `progn'.
14527 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
14529 * mail/sendmail.el (send-mail-function):
14530 * tooltip.el (tooltip-mode):
14531 * simple.el (transient-mark-mode):
14532 * rfn-eshadow.el (file-name-shadow-mode):
14533 * frame.el (blink-cursor-mode):
14534 * font-core.el (global-font-lock-mode):
14535 * files.el (temporary-file-directory)
14536 (small-temporary-file-directory, auto-save-file-name-transforms):
14537 * epa-hook.el (auto-encryption-mode):
14538 * composite.el (global-auto-composition-mode):
14539 Use custom-initialize-delay.
14540 * startup.el (command-line): Don't explicitly call
14541 custom-reevaluate-setting for all the above vars.
14542 * custom.el (custom-initialize-safe-set)
14543 (custom-initialize-safe-default): Delete.
14545 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14547 * term/x-win.el (x-initialize-window-system):
14548 * term/w32-win.el (w32-initialize-window-system):
14549 * term/ns-win.el (ns-initialize-window-system): Don't call
14550 mouse-wheel-mode since it's enabled globally by default already.
14552 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
14553 actually define the variable, but only silences the byte-compiler.
14554 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
14555 before looking it up.
14556 (mouse-wheel-scroll-amount): Also reset the bindings if this value
14559 2009-09-12 Glenn Morris <rgm@gnu.org>
14561 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
14563 (elint-add-required-env): Don't beep on error.
14564 (elint-forms): In case of error, return ENV unchanged.
14565 (elint-init-env): Skip non-list forms.
14566 (elint-log): Handle unknown file positions.
14568 2009-09-12 Daiki Ueno <ueno@unixuser.org>
14570 * epg.el (epg-make-context): Add autoload cookie.
14571 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
14572 (epg-decrypt-string, epg-start-verify, epg-verify-file)
14573 (epg-verify-string, epg-start-sign, epg-sign-file)
14574 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
14575 (epg-encrypt-string, epg-start-export-keys)
14576 (epg-export-keys-to-file, epg-export-keys-to-string)
14577 (epg-start-import-keys, epg-import-keys-from-file)
14578 (epg-import-keys-from-string, epg-start-receive-keys)
14579 (epg-receive-keys, epg-import-keys-from-server)
14580 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
14581 (epg-sign-keys, epg-start-generate-key)
14582 (epg-generate-key-from-file, epg-generate-key-from-string):
14583 Remove autoload cookie.
14585 2009-09-12 Eli Zaretskii <eliz@gnu.org>
14587 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
14588 reevaluation of trash-directory.
14590 * mwheel.el: Fix last change.
14591 (mouse-wheel-mode): New defvar.
14592 (mouse-wheel-mode): Remove autoload cookie.
14594 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14596 * mwheel.el (mwheel-installed-bindings): New var.
14597 (mouse-wheel-mode): Use it, so as to make sure we really remove all
14598 the bindings we set last time. Use custom-initialize-delay.
14599 * loadup.el: Load mwheel after term/*-win.el.
14600 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
14601 and mouse-wheel-up-event now that their first evaluation is done
14602 sufficiently late to be correct.
14604 * startup.el (tutorial-directory): Make it a defcustom.
14605 Use custom-initialize-delay rather than eval-at-startup to set it.
14606 * image.el (image-load-path): Make it a defcustom.
14607 Use custom-initialize-delay rather than eval-at-startup to set it.
14608 * subr.el (eval-at-startup): Remove.
14609 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
14611 * subr.el (do-after-load-evaluation): Warn the user after loading an
14614 2009-09-12 Glenn Morris <rgm@gnu.org>
14616 * proced.el (proced-mark-alt): Remove alias.
14617 (proced-mode-map): Remove proced-mark-alt.
14619 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
14620 Elint file and directory. Remove initialization entry.
14622 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
14624 (elint-current-buffer): Set mode-line-process.
14625 (elint-init-env): Handle define-derived-mode.
14626 Fix declare-function with unspecified arglist. Guard against odd
14627 defalias statements (eg iso-insert's 8859-1-map).
14628 (elint-add-required-env): Use a temp buffer.
14629 (elint-form): Just print the function/macro name, not the whole form.
14630 Return env unchanged if we fail to parse a macro.
14631 (elint-forms): Guard against parse errors.
14632 (elint-output): New function, to handle batch mode.
14633 (elint-log-message): Add optional argument. Use elint-output.
14634 (elint-set-mode-line): New function.
14636 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
14638 * emacs-lisp/elp.el (elp-not-profilable): Add more
14639 functions (Bug#4233).
14641 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
14643 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
14644 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
14646 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14648 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
14649 (gdb-var-list-children): Use json parsing.
14651 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
14653 * progmodes/js.el (js--proper-indentation): Handle the case where
14654 char-before is null. Reported by Deniz Dogan.
14656 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14658 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
14660 2009-09-11 Daiki Ueno <ueno@unixuser.org>
14662 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
14663 (epg-digest-algorithm-alist): Add SHA224.
14664 (epg-context-set-passphrase-callback)
14665 (epg-context-set-progress-callback): Add description about
14668 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14670 * custom.el (custom-delayed-init-variables): New var.
14671 (custom-initialize-delay): New function.
14672 * startup.el (command-line): "Re"evaluate all vars in
14673 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
14674 explicitly any more.
14675 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
14676 to avoid creating a ~/.emacs.d at build-time (bug#4347).
14678 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
14680 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14682 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
14683 (gdb-var-update-handler): Use json parsing.
14685 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14687 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
14688 decode annotated text, regardless of language environment. (Bug#2741)
14690 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14692 * Makefile.in (autoloads): Make rmail.el writable as well.
14694 2009-09-11 Glenn Morris <rgm@gnu.org>
14696 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
14698 * dired.el: Regenerate with extracted autoloads.
14699 * Makefile.in (autoloads): Make dired.el writable.
14701 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
14702 * ibuffer.el: Regenerate with extracted autoloads.
14703 * Makefile.in (autoloads): Make ibuffer.el writable.
14705 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
14706 * version.el (emacs-copyright, emacs-major-version)
14707 (emacs-minor-version): Reformat doc-strings for make-docfile.
14709 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
14710 functions and variables, since they must be stuff specific to some other
14712 (apropos-print): Make mouse-click message less specific about button.
14714 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
14715 that records where a macro was defined.
14716 * help-fns.el (describe-function-1): Mention if a function has a
14718 * help-mode.el (help-function-cmacro): New button.
14720 * locate.el (top-level): Always require dired.
14721 (locate-mode-map): Initialize inside the defvar.
14723 * net/ange-ftp.el (dired-compress-file): Declare.
14724 (ange-ftp-dired-compress-file): Add doc string.
14726 * term/ns-win.el (x-display-name, x-setup-function-keys):
14727 Unify doc-strings with X versions.
14729 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14731 * emulation/crisp.el (crisp-mode-map): Move initialization
14733 (crisp-mode): Use define-minor-mode.
14735 * progmodes/xscheme.el (xscheme-evaluation-commands):
14736 Put a :advertised-binding property rather than using
14737 advertised-xscheme-send-previous-expression.
14738 (advertised-xscheme-send-previous-expression): Declare obsolete.
14739 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
14741 (crisp-mode): Add corresponding bindings to
14742 undo's :advertised-binding instead.
14743 * dired.el (dired-mode-map): Put a :advertised-binding property rather
14744 than using dired-advertised-find-file.
14745 (dired-advertised-find-file):
14746 * simple.el (advertised-undo):
14747 * wid-edit.el (advertised-widget-backward): Declare obsolete.
14748 (widget-keymap): Put a :advertised-binding property rather
14749 than using advertised-widget-backward.
14750 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
14751 than using advertised-undo.
14752 * tutorial.el (tutorial--default-keys): Adjust accordingly.
14754 2009-09-10 Simon South <ssouth@slowcomputing.org>
14756 * progmodes/delphi.el (delphi-tab): Indent region when Transient
14757 Mark mode is enabled and region is active; otherwise indent or
14758 insert TAB as usual.
14759 (delphi-mode): Update description of TAB-key binding.
14761 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
14763 * subr.el (define-key-rebound-commands): Mark obsolete.
14764 * startup.el (precompute-menubar-bindings): Remove.
14765 (normal-top-level): Remove obsolete code that tried to precompute
14767 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
14768 define-key-rebound-commands and precompute-menubar-bindings.
14770 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
14772 * net/imap.el (imap-interactive-login): Better messages.
14773 (imap-open): Fix bug with renamed buffer on reconnect.
14774 (imap-authenticate): Add buffer-local imap-last-authenticator variable
14775 for easier debugging and cleaner code. On successful (guessed based on
14776 server capabilities) secondary authentication, set imap-state
14778 (imap-last-authenticator): Define imap-last-authenticator as a variable
14781 2009-09-10 Glenn Morris <rgm@gnu.org>
14783 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
14785 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
14786 (byte-compile-file-form-autoload): Don't warn about unknown functions
14787 where the autoload statement comes after the use.
14788 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
14789 that any handlers inside the body (eg require) are in turn respected.
14791 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
14794 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
14795 and syntax and abbrev tables basic docs, if they don't have any.
14797 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
14799 * international/mule-cmds.el (top-level): Require cl when compiling.
14800 (view-hello-file): Use default-value rather than
14801 default-enable-multibyte-characters.
14803 * progmodes/fortran.el: Move all safe and risky properties into the
14806 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
14807 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
14808 * mail/undigest.el:
14809 Put autoloads in rmail.el rather than loaddefs.el.
14810 * mail/rmail.el: Regenerate with extracted autoloads.
14812 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
14813 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
14815 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
14817 Reported in thread for Bug#4375.
14818 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
14819 "-data-evaluate-expression" instead of print.
14820 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
14821 (gdb-tooltip-print): Parse output from above MI command.
14822 (gdb): Revert 2009-08-11 change. User should detach inferior
14825 Remove the word "separate" from IO functions as inferior
14826 output is now never displayed in the GUD buffer.
14828 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
14830 * startup.el (command-line-normalize-file-name): On Windows and
14831 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
14833 2009-09-10 Juri Linkov <juri@jurta.org>
14835 * isearch.el (isearch-text-char-description): Propertize escape
14836 character sequences with the `escape-glyph' face. (Bug#4344)
14838 * simple.el (shell-command): Set asynchronous process filter to
14839 `comint-output-filter'. (Bug#4343)
14841 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
14842 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
14843 the list. Move "asm" to the bottom.
14844 (grep-find-ignored-directories): Add `choice' with nil value
14845 to empty the list easily.
14846 (grep-find-ignored-files): New option.
14847 (grep-files-history): Set to nil by default instead of '("ch" "el").
14848 (grep-compute-defaults): Add "<X>" to `grep-template'.
14849 (grep-read-files): Bind new local variables `default-alias' and
14850 `default-extension'. Use a list of default values for the file prompt.
14851 (lgrep): Add `--exclude=' command line options composed from
14852 `grep-find-ignored-files'.
14853 (rgrep): Add `-name' command line options composed from
14854 `grep-find-ignored-files'. (Bug#4301)
14856 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
14858 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
14861 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
14863 * calendar/time-date.el (autoload):
14864 Expand define-obsolete-function-alias into defalias and make-obsolete
14865 for old Emacsen that Gnus supports.
14866 (with-no-warnings): Define it for old Emacsen.
14867 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
14869 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
14870 float-time is available; suppress compile warning for time-to-seconds.
14872 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
14874 * net/imap.el (imap-message-map): Docstring fix.
14876 2009-09-09 Glenn Morris <rgm@gnu.org>
14878 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
14879 line numbers too. (Bug#4374)
14881 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
14883 * smerge-mode.el (smerge-remove-props, smerge-refine):
14884 Use with-silent-modifications (bug#4342).
14886 * subr.el (with-silent-modifications): New macro.
14888 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
14890 * files.el (top-level): Require `cl' when compiling.
14892 2009-09-07 Glenn Morris <rgm@gnu.org>
14894 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
14896 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
14897 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
14899 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
14901 * vc-git.el (vc-git-annotate-command): Use separator to parse
14902 arguments correctly.
14904 2009-09-06 Eli Zaretskii <eliz@gnu.org>
14906 * proced.el (proced-mode): Doc fix.
14908 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
14910 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
14912 (tramp-do-file-attributes-with-ls): Check for file existence at
14914 (tramp-do-file-attributes-with-stat): Likewise.
14915 (tramp-convert-file-attributes): Return nil when attr is nil.
14917 2009-09-05 Glenn Morris <rgm@gnu.org>
14919 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
14920 properties to this button.
14921 (diary-fancy-display): Don't extend the button to the final newline.
14922 (diary-fancy-display-mode): Continue to define "q" as a local key.
14924 * calendar/cal-china.el (holiday-chinese): Make it slightly more
14927 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
14929 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
14930 (byte-compile-dest-file-function): New option.
14931 (byte-compile-dest-file): Doc fix.
14932 Obey byte-compile-dest-file-function.
14933 (byte-compile-cl-file-p): New function.
14934 (byte-compile-eval): Only suppress noruntime warnings about cl functions
14935 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
14936 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
14937 than for file being previously loaded.
14938 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
14939 (byte-compile-file-form-require): Handle the case where requiring a file
14940 indirectly causes CL to be loaded.
14942 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14944 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
14945 before killing the old buffer, since by the time `kill-buffer' is
14946 run so many buffer variables have been set to nil that it may not
14947 behave as expected. (Bug#4061)
14949 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14951 * files.el (find-alternate-file): If the old buffer is modified
14952 and visiting a file, behave similarly to `kill-buffer' when
14953 killing it, thus reverting to the pre-1.878 behavior; see
14954 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
14955 for discussion. Also, consult `buffer-file-name' as a variable
14956 not as a function, for consistency with the rest of the code.
14958 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
14960 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
14961 also when adding a new directory.
14963 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
14966 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
14968 * files.el (locate-file-completion-table): Make it provide boundary
14969 information, so partial-completion works better.
14971 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
14973 * mail/footnote.el (Footnote-text-under-cursor):
14974 Check footnote-text-marker-alist before using it (bug#4324).
14976 2009-09-04 Glenn Morris <rgm@gnu.org>
14978 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
14979 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
14980 * play/solitaire.el, play/tetris.el:
14981 Remove leading * from defcustom and defface docs.
14983 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
14985 (diary-fancy-overriding-map): New variable.
14986 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
14989 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
14992 2009-09-03 Glenn Morris <rgm@gnu.org>
14994 * arc-mode.el (archive-mode):
14995 * dos-fns.el (set-default-process-coding-system):
14996 * man.el (Man-getpage-in-background):
14997 * menu-bar.el (menu-bar-describe-menu):
14998 * server.el (server-process-filter):
14999 * startup.el (command-line):
15000 * tar-mode.el (tar-header-block-tokenize, tar-extract):
15001 * w32-fns.el (set-default-process-coding-system):
15002 * x-dnd.el (x-dnd-handle-file-name):
15003 * international/mule-cmds.el (mule-menu-keymap)
15004 (set-default-coding-systems, language-info-alist, set-language-info)
15005 (set-language-environment, standard-display-european-internal)
15006 (set-locale-environment):
15007 * international/mule-diag.el (mule-diag):
15008 * mail/emacsbug.el (report-emacs-bug):
15009 * mail/rmail.el (rmail-mode):
15010 * mail/sendmail.el (mail-setup):
15011 Use default-value rather than default-enable-multibyte-characters.
15013 * progmodes/f90.el: Move all safe properties into the defcustoms.
15014 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15016 * calendar/appt.el (appt-check):
15017 * calendar/diary-lib.el (diary-set-header, diary-live-p)
15018 (diary-check-diary-file, diary-list-entries)
15019 (diary-include-other-diary-files, diary-simple-display)
15020 (diary-fancy-display, diary-print-entries)
15021 (diary-mark-included-diary-files, diary-make-entry):
15022 Don't call substitute-in-file-name on diary-file.
15024 2009-09-03 Eduard Wiebe <usenet@pusto.de>
15025 Stefan Monnier <monnier@iro.umontreal.ca>
15027 * mail/footnote.el (footnote-prefix): Make it a defcustom.
15028 (footnote-mode-map): Move initialization into the declaration.
15029 (footnote-minor-mode-map): Define it rather than changing global-map.
15030 (footnote-mode): Use define-minor-mode.
15032 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
15034 * net/tramp.el (tramp-handle-file-attributes-with-ls)
15035 (tramp-do-file-attributes-with-perl)
15036 (tramp-do-file-attributes-with-stat): Rename from
15037 `tramp-handle-file-attributes-with-*'.
15038 (tramp-handle-file-attributes): Use them.
15039 (tramp-do-directory-files-and-attributes-with-perl)
15040 (tramp-do-directory-files-and-attributes-with-stat): Rename from
15041 `tramp-handle-directory-files-and-attributes-with-*'.
15042 (tramp-handle-directory-files-and-attributes): Use them.
15043 (tramp-method-out-of-band-p): Additional parameter SIZE.
15044 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15045 (tramp-handle-write-region): Use it.
15046 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15047 (tramp-handle-vc-registered): Check, whether the first run did
15048 return files to be tested.
15049 (tramp-advice-make-auto-save-file-name): Do not call directly
15050 `tramp-handle-make-auto-save-file-name', because this would bypass
15051 the locking mechanism.
15053 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15054 (file-remote-p, process-file, start-file-process, set-file-times)
15055 (tramp-compat-file-attributes): Compatibility functions shall not
15056 call directly `tramp-handle-*', because this would bypass the
15058 (tramp-compat-number-sequence): New defun.
15060 2009-09-02 Glenn Morris <rgm@gnu.org>
15062 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15063 alias for float-time.
15064 (time-to-number-of-days): In Emacs, use float-time.
15065 * net/newst-backend.el (time-add): Suppress warnings from compat
15067 * time.el (emacs-uptime, emacs-init-time):
15068 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15069 Use float-time rather than time-to-seconds.
15071 * minibuffer.el (completion-initials-expand): Fix typo.
15073 * faces.el (modeline, modeline-inactive, modeline-highlight)
15074 (modeline-buffer-id):
15075 * info.el (info-menu-5): Mark these face aliases as obsolete.
15077 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15079 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15081 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15082 no "--thread" option.
15083 (gdb-stopped): Don't print "Switched to thread" message when it is
15086 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
15088 * minibuffer.el (completion-try-completion)
15089 (completion-all-completions): Remove ill-defined (and
15090 mistakenly installed and luckily never used nor documented)
15091 `completion-styles' property.
15092 (completion-initials-expand, completion-initials-all-completions)
15093 (completion-initials-try-completion): New functions.
15094 (completion-styles-alist): Add doc to each entry.
15095 Add new `initials' entry.
15097 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15099 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
15100 MI command -var-evaluate-expression.
15101 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
15102 and tweak for case of string child.
15103 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
15105 2009-09-01 Glenn Morris <rgm@gnu.org>
15107 * add-log.el (change-log-date-face, change-log-name-face)
15108 (change-log-email-face, change-log-file-face, change-log-list-face)
15109 (change-log-conditionals-face, change-log-function-face)
15110 (change-log-acknowledgement-face):
15111 * cus-edit.el (custom-invalid-face, custom-rogue-face)
15112 (custom-modified-face, custom-set-face, custom-changed-face)
15113 (custom-saved-face, custom-button-face, custom-button-pressed-face)
15114 (custom-documentation-face, custom-state-face, custom-comment-face)
15115 (custom-comment-tag-face, custom-variable-tag-face)
15116 (custom-variable-button-face, custom-face-tag-face)
15117 (custom-group-tag-face-1, custom-group-tag-face):
15118 * diff-mode.el (diff-header-face, diff-file-header-face)
15119 (diff-index-face, diff-hunk-header-face, diff-removed-face)
15120 (diff-added-face, diff-changed-face, diff-function-face)
15121 (diff-context-face, diff-nonexistent-face):
15122 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
15123 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
15124 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
15125 (Info-title-4-face):
15126 * isearch.el (isearch-lazy-highlight-face):
15127 * log-view.el (log-view-file-face, log-view-message-face):
15128 * paren.el (show-paren-match-face, show-paren-mismatch-face):
15129 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
15130 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
15132 * smerge-mode.el (smerge-mine-face, smerge-other-face)
15133 (smerge-base-face, smerge-markers-face):
15134 * wid-edit.el (widget-documentation-face, widget-button-face)
15135 (widget-field-face, widget-single-line-field-face)
15136 (widget-inactive-face, widget-button-pressed-face):
15137 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
15138 (woman-addition-face):
15139 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
15140 (eshell-ls-executable-face, eshell-ls-readonly-face)
15141 (eshell-ls-unreadable-face, eshell-ls-special-face)
15142 (eshell-ls-missing-face, eshell-ls-archive-face)
15143 (eshell-ls-backup-face, eshell-ls-product-face)
15144 (eshell-ls-clutter-face):
15145 * eshell/em-prompt.el (eshell-prompt-face):
15146 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
15147 * obsolete/old-whitespace.el (whitespace-highlight-face):
15148 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
15149 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
15150 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
15151 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
15152 (antlr-font-lock-literal-face):
15153 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
15154 (ebrowse-root-class-face, ebrowse-file-name-face)
15155 (ebrowse-default-face, ebrowse-member-attribute-face)
15156 (ebrowse-member-class-face, ebrowse-progress-face):
15157 * progmodes/make-mode.el (makefile-space-face):
15158 * progmodes/sh-script.el (sh-heredoc-face):
15159 * textmodes/flyspell.el (flyspell-incorrect-face)
15160 (flyspell-duplicate-face):
15161 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
15162 * textmodes/texinfo.el (texinfo-heading-face):
15163 Mark face aliases with "-face" suffix as obsolete.
15165 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
15168 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
15169 (eudc-bob-sound-menu): Use defvar rather than defconst, since
15170 easy-menu-define wants to modify these.
15172 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
15174 * net/browse-url.el (browse-url-file-url):
15175 * term/internal.el (dos-codepage-setup):
15176 Use default-value rather than default-enable-multibyte-characters.
15178 * progmodes/etags.el (etags-goto-tag-location):
15179 * progmodes/flymake.el (flymake-highlight-line)
15180 (flymake-goto-file-and-line, flymake-goto-line):
15181 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
15182 (gdb-goto-breakpoint):
15183 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
15184 * progmodes/python.el (python-find-function)
15185 (python-pdbtrack-track-stack-file):
15186 * progmodes/verilog-mode.el (verilog-surelint-off):
15187 * term/ns-win.el (ns-open-file-select-line):
15188 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
15189 Use forward-line rather than goto-line.
15191 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
15192 * textmodes/reftex-index.el (reftex-display-index):
15193 * textmodes/reftex-ref.el (reftex-offer-label-menu):
15194 * textmodes/reftex-toc.el (reftex-toc):
15195 Remove unnecessary bindings of default-major-mode (all are followed by
15196 major-mode check and possible mode switch).
15198 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15200 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15201 Handle watchpoints (bug#4282).
15202 (def-gdb-thread-buffer-command): Enable thread to be selected by
15203 clicking without selecting threads buffer first.
15204 (gdb-current-context-command): Use selected frame so that "up",
15205 "down" etc work in the GUD buffer.
15206 (gdb-update): Find selected frame before rendering stack buffer.
15207 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
15209 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
15211 * progmodes/sym-comp.el (displayed-completions): Remove.
15212 (symbol-complete): Use minibuffer-complete.
15214 2009-08-31 Glenn Morris <rgm@gnu.org>
15216 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
15218 * apropos.el (apropos-symbols-internal):
15219 Handle (obsolete) face aliases.
15221 * faces.el (describe-face): Adjust the output format to be more like
15222 describe-variable, and to mention (obsolete) face aliases.
15223 Adjust the whitespace so that help-setup-xref works.
15225 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
15226 * calendar/diary-lib.el (diary-button-face):
15227 Mark these face aliases as obsolete.
15229 * calendar/calendar.el (calendar-today): Doc fix.
15231 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15233 * progmodes/gdb-mi.el (gdb-control-all-threads)
15234 (gdb-control-current-thread): Force tool bar update.
15235 (gdb-non-stop-handler): New function.
15236 (gdb-init-1): Use it to test if non-stop mode is supported.
15237 Remove unused gdbmi buffer type.
15239 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
15241 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
15242 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
15244 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
15246 * comint.el (comint-exec-1): Check command is non-null first.
15247 Part of gdb-mi.el change (2009-08-28).
15249 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15251 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
15253 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
15255 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
15256 instead of `dolist' to avoid a recursive require when bootstrapping.
15258 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15260 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
15262 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
15264 * net/imap.el (imap-send-command): Simplify.
15265 (imap-wait-for-tag): point-max -> buffer-size.
15267 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
15269 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
15270 with constant argument.
15272 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
15274 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
15276 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
15277 Change default, since most of our files don't have a history.
15278 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
15281 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15284 * calc/calc.el: Improve commenting convention.
15285 (calc-digit-map, toplevel): Simplify.
15287 * comint.el (comint-insert-input): Be careful to only set point if we
15288 don't delegate to some other command.
15290 * proced.el (proced-signal-list): Make it an alist.
15291 (proced-grammar-alist): Capitalize names.
15292 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
15293 Disable undo manually and make it read-only.
15294 Use completion-annotate-function.
15296 * minibuffer.el (minibuffer-message): If the current buffer is not
15297 a minibuffer, insert the message in the echo area rather than at the
15299 (completion-annotate-function): New variable.
15300 (minibuffer-completion-help): Use it.
15301 (completion--embedded-envvar-table): Environment vars are
15302 always case-sensitive.
15304 2009-08-30 Glenn Morris <rgm@gnu.org>
15306 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
15307 from fortran-current-defun.
15308 (fortran-beginning-of-subprogram): Be more precise about finding the
15309 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
15310 (fortran-end-of-subprogram): Simplify.
15311 (fortran-current-defun): Use fortran-start-prog-re.
15313 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
15315 * subr.el (do-after-load-evaluation): Simplify.
15317 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
15319 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
15321 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
15322 (vc-rcs-print-log): Use it.
15324 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
15326 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
15328 * paths.el (abbrev-file-name): Move to abbrev.el.
15329 * abbrev.el (abbrev-file-name): Move from paths.el.
15330 Obey user-emacs-directory.
15331 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
15332 user-emacs-directory.
15333 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
15334 abbrev-file-name and calc-settings-file any more.
15335 * startup.el (command-line): Recompute abbrev-file-name and
15336 abbreviated-home-dir.
15337 (normal-no-mouse-startup-screen): Improve the generic code and get rid
15338 of the special code for when C-h bindings haven't been changed.
15339 (display-startup-echo-area-message): Use with-current-buffer.
15340 (command-line-1): Use a list of strings, rather than a list of lists
15341 of strings for longopts.
15343 * files.el (get-free-disk-space): Use / for default-directory.
15345 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
15346 Use with-current-buffer.
15348 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
15349 Recognize immutable variables like most-positive-fixnum.
15350 (byte-compile-setq-default): Check and warn if trying to assign
15351 to an immutable variable, or a non-variable.
15353 * progmodes/cc-vars.el (c-comment-continuation-stars):
15354 * progmodes/cc-engine.el (c-looking-at-bos):
15355 * progmodes/cc-cmds.el (c-toggle-auto-state)
15356 (c-forward-into-nomenclature, c-backward-into-nomenclature)
15357 (c-comment-line-break-function): Add version of obsolescence.
15359 2009-08-28 Juri Linkov <juri@jurta.org>
15361 * files.el (magic-fallback-mode-alist): Add ZIP magic number
15362 associated with `archive-mode'.
15364 * image.el (image-type-header-regexps): Use only JPEG magic number
15365 to determine JPEG images, and don't use `image-jpeg-p' because
15366 Emacs can display non-JFIF non-Exif JPEG images.
15368 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15370 * arc-mode.el (archive-mode):
15371 * emacs-lisp/re-builder.el (re-builder-unload-function):
15372 Protect against the default value of `major-mode' being nil.
15374 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15376 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
15377 Fix typos in docstrings.
15379 * progmodes/js.el (js--macro-decl-re): Doc fix.
15380 (js--plain-method-re, js--split-name): Refloc docstring.
15381 (js--class-styles, js--make-merged-item, js--splice-into-items):
15382 Fix typos in docstrings; reflow docstrings.
15383 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
15384 (js--variable-decl-matcher, js--inside-pitem-p)
15385 (js--parse-state-at-point, js--get-all-known-symbols)
15386 (js--symbol-history, js-find-symbol, js--js-references)
15387 (js--moz-interactor, js--js-encode-value, js--read-tab):
15388 Fix typos in docstrings.
15390 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15392 * textmodes/reftex.el (reftex-get-file-buffer-force):
15393 * progmodes/verilog-mode.el (verilog-batch-execute-func):
15394 * emulation/viper.el (viper-go-away, viper-set-hooks):
15395 * emacs-lisp/re-builder.el (re-builder-unload-function):
15396 * emacs-lisp/bytecomp.el (byte-compile-file):
15397 * ses.el (ses-unload-function):
15398 * hexl.el (hexl-find-file):
15399 * files.el (normal-mode):
15400 * ehelp.el (with-electric-help):
15401 * autoinsert.el (auto-insert-alist):
15402 * arc-mode.el (archive-mode):
15403 Use (default-value 'major-mode) instead of default-major-mode.
15405 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
15406 * international/mule.el (load-with-code-conversion):
15407 * emacs-lisp/debug.el (debug):
15408 * ediff-vers.el (ediff-rcs-get-output-buffer):
15409 * dired.el (dired-internal-noselect): Don't let-bind
15410 default-major-mode around code that doesn't use it.
15411 E.g. buffer creation via get-buffer-create doesn't use it.
15413 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
15415 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
15416 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
15417 when writing the temp file. Otherwise, epa-file gets confused.
15418 (tramp-register-file-name-handlers): Make it a defun. Move also
15419 `epa-file-handler' to the front of `file-name-handler-alist'.
15421 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15423 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
15424 start right after a ^M.
15425 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
15426 (tramp-completion-file-name-regexp-separate)
15427 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
15428 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
15429 Don't modify last-coding-system-used by accident.
15430 (tramp-completion-file-name-handler): Apply the checks here,
15431 instead during registration.
15432 (tramp-register-file-name-handlers): Renamed from
15433 `tramp-register-file-name-handler'. Register both
15434 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
15435 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
15437 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
15439 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
15440 Remove variable ...
15441 (gdb-init-1, gdb-display-separate-io-buffer)
15442 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
15444 (gdb-inferior-io-mode): Use make-comint-in-buffer.
15445 (gdb-inferior-filter): Use comint-output-filter to stop
15446 echoing and remove ^M characters.
15448 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15450 * emulation/viper-init.el (viper-restore-cursor-type):
15451 * emulation/cua-base.el (cua--update-indications):
15452 Replace default-cursor-type with (default-value 'cursor-type).
15454 * mail/sendmail.el (mail-recover-1):
15455 * international/mule-diag.el (describe-current-coding-system-briefly)
15456 (describe-current-coding-system):
15457 * international/mule-cmds.el (select-safe-coding-system)
15458 (select-message-coding-system)
15459 (set-language-environment-coding-systems, set-locale-environment):
15460 * hexl.el (hexl-insert-multibyte-char):
15461 * dos-w32.el (find-buffer-file-type-coding-system):
15462 * simple.el (what-cursor-position):
15463 Replace uses of default-buffer-file-coding-system
15464 with (default-value 'buffer-file-coding-system).
15466 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
15467 Replace uses of default-cursor-in-non-selected-windows
15468 with (default-value 'cursor-in-non-selected-windows).
15469 Use with-current-buffer.
15471 * mail/feedmail.el: Use CL macros.
15472 (feedmail-run-the-queue, feedmail-send-it-immediately):
15473 * dos-w32.el (find-buffer-file-type): Replace uses of
15474 default-buffer-file-type with (default-value 'buffer-file-type).
15476 2009-08-28 Glenn Morris <rgm@gnu.org>
15478 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
15479 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
15480 Use default-value of major-mode rather than default-major-mode.
15482 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15484 * Makefile.in (update-elcfiles): Report left over elc files.
15486 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
15487 expand-file-name and with-current-buffer.
15488 (mail-get-names, mail-directory): Use with-current-buffer.
15490 * vc.el (vc-read-revision): New function.
15491 (vc-version-diff, vc-merge): Use it.
15493 2009-08-27 Sam Steingold <sds@gnu.org>
15495 * simple.el (kill-do-not-save-duplicates): New user option.
15496 (kill-new): When it is non-nil, and the new string is the same as
15497 the latest kill, set replace to t to avoid duplicates in kill-ring.
15499 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
15501 * net/tramp.el (tramp-handle-process-file): Do not flush all
15502 caches when `process-file-side-effects' is set.
15503 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
15504 instead of `tramp-find-file-exists-command'.
15505 Unset `process-file-side-effects'.
15507 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
15509 * net/tramp.el (tramp-methods): New method "rsyncc".
15510 (top): Add completion function for "rsyncc".
15511 (tramp-message-show-message): New defvar.
15512 (tramp-message, tramp-error): Use it.
15513 (tramp-do-copy-or-rename-file-directly): Extend check for direct
15515 (tramp-do-copy-or-rename-file-out-of-band): Handle new
15516 `tramp-methods' entry `copy-env' of "rsyncc".
15517 (tramp-vc-registered-read-file-names): New defconst.
15518 (tramp-vc-registered-file-names): New defvar.
15519 (tramp-handle-vc-registered): Implement optimization strategy.
15520 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
15521 (tramp-vc-file-name-handler): New defun.
15522 (tramp-get-ls-command, tramp-get-test-command)
15523 (tramp-get-file-exists-command, tramp-get-remote-ln)
15524 (tramp-get-remote-perl, tramp-get-remote-stat)
15525 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
15527 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
15528 (tramp-cache-inhibit-cache): Extend doc string. It allows also
15530 (tramp-get-file-property): Check for timestamps in
15531 `tramp-cache-inhibit-cache'.
15532 (tramp-set-file-property): Write timestamp.
15534 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15536 * language/japan-util.el (japanese-symbol-table): Add entries for
15539 * international/characters.el: Add category `j' to cp932-2-byte.
15541 2009-08-27 Kenichi Handa <handa@m17n.org>
15543 * international/fontset.el (build-default-fontset-data): New macro.
15544 (setup-default-fontset): Use build-default-fontset-data for CJK,
15545 tibetan, ethiopic, and ipa.
15547 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15549 * cus-start.el (default-major-mode): Customize `major-mode' instead.
15550 (enable-multibyte-characters): Not customizable any more.
15552 * subr.el (default-mode-line-format, default-header-line-format)
15553 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
15554 (default-direction-reversed, default-truncate-lines)
15555 (default-left-margin, default-tab-width, default-case-fold-search)
15556 (default-left-margin-width, default-right-margin-width)
15557 (default-left-fringe-width, default-right-fringe-width)
15558 (default-fringes-outside-margins, default-scroll-bar-width)
15559 (default-vertical-scroll-bar, default-indicate-empty-lines)
15560 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
15561 (default-fringe-cursor-alist, default-scroll-up-aggressively)
15562 (default-scroll-down-aggressively, default-fill-column)
15563 (default-cursor-type, default-buffer-file-type)
15564 (default-cursor-in-non-selected-windows)
15565 (default-buffer-file-coding-system, default-major-mode)
15566 (default-enable-multibyte-characters): Mark as obsolete.
15568 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
15570 * vc-dir.el (vc-dir-update): Remove debug helper.
15572 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
15574 2009-08-26 Sam Steingold <sds@gnu.org>
15576 * simple.el (save-interprogram-paste-before-kill): New user option.
15577 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
15578 save the interprogram-paste into kill-ring before overriding it
15579 with the Emacs kill.
15581 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
15583 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
15584 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
15585 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
15586 and move to vc-rcs.el.
15587 (vc-default-next-revision): Rename to vc-rcs-next-revision and
15589 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
15590 (vc-rcs-update-changelog): Remove.
15591 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
15592 and move to vc-rcs.el.
15594 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
15595 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
15597 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
15598 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
15599 vc.el, renamed to be RCS specific.
15601 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
15603 (vc-cvs-update-changelog): Move here from vc.el.
15605 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
15608 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
15610 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
15612 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
15614 * vc-git.el (vc-git-register): Use "git add" for directories.
15615 (vc-git-stash, vc-git-stash-show): New functions.
15616 (vc-git-extra-menu-map): Bind them.
15618 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
15619 directory correctly in case the item is a directory itself.
15621 * vc.el: Document the desired behavior for reverted files in the
15623 (vc-default-prettify-state-info): Remove function, unused.
15625 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
15627 2009-08-26 Glenn Morris <rgm@gnu.org>
15629 * bindings.el (standard-mode-line-format): Reposition dashes in
15630 which-func entry. (Bug#4217)
15632 * files.el (enable-local-variables, enable-local-eval)
15633 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
15635 (auto-mode-alist, ignored-local-variables)
15636 (save-some-buffers-action-alist): Move risky declarations to the
15638 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
15639 (font-lock-defaults, format-alist, imenu--index-alist)
15640 (imenu-generic-expression, input-method-alist, minor-mode-alist)
15641 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
15642 (mode-line-modified, mode-line-mule-info, mode-line-position)
15643 (mode-line-process, mode-line-remote, outline-level)
15644 (parse-time-rules, rmail-output-file-alist)
15645 (special-display-buffer-names, vc-mode):
15646 Move risky declarations to the relevant files.
15647 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
15648 (mode-line-modified, mode-line-process, mode-line-position)
15649 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
15650 * font-core.el (font-lock-defaults):
15651 * format.el (format-alist):
15652 * vc-hooks.el (vc-mode):
15653 * window.el (special-display-buffer-names):
15654 * international/mule-cmds.el (input-method-alist):
15655 Define riskiness here (dumped file) rather than in files.el.
15656 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
15657 * imenu.el (imenu-generic-expression, imenu--index-alist):
15658 * outline.el (outline-level):
15659 * time.el (display-time-string):
15660 * calendar/parse-time.el (parse-time-rules):
15661 * mail/rmailout.el (rmail-output-file-alist):
15662 Autoload riskiness here, rather than placing in files.el.
15664 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
15666 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
15668 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
15670 * simple.el (process-file-side-effects): New defvar.
15672 * dired-aux.el (dired-show-file-type):
15673 * vc.el (vc-diff-internal):
15674 * vc-arch.el (vc-arch-diff):
15675 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
15676 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
15677 * vc-git.el (vc-git-registered, vc-git-working-revision)
15678 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
15679 (vc-git--empty-db-p):
15680 * vc-hooks.el (vc-user-login-name):
15681 * vc-svn.el (vc-svn-registered, vc-svn-state)
15682 (vc-svn-dir-extra-headers, vc-svn-find-revision):
15683 * progmodes/grep.el (grep-probe): Let-bind
15684 `process-file-side-effects' with nil.
15686 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
15688 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
15689 daemon. Replace ping by checking for running service for bluez
15690 and zeroconf. (Bug#4239)
15692 2009-08-25 Kevin Ryde <user42@zip.com.au>
15694 * net/dig.el (dig): Add autoload cookie.
15696 2009-08-25 Glenn Morris <rgm@gnu.org>
15698 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
15699 load-history for absolute file-names.
15700 (byte-compile-file-form-require): Warn about use of the cl package.
15702 * format.el (format-alist): Doc fix.
15704 * play/bubbles.el (top-level): Don't require cl at run-time.
15706 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
15709 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
15711 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
15713 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
15715 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
15717 * calc/calc-alg.el (math-trig-rewrite)
15718 (math-hyperbolic-trig-rewrite): New functions.
15719 (calc-simplify): Simplify trig functions when asked.
15721 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15723 * diff-mode.el (diff-find-source-location): Avoid goto-line.
15725 2009-08-24 Kenichi Handa <handa@m17n.org>
15727 * language/ind-util.el (mapthread): Delete it.
15728 (combinatorial): New function.
15729 (indian--puthash-cv): Use combinatorial instead of mapthread.
15731 2009-08-22 Kevin Ryde <user42@zip.com.au>
15733 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
15734 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
15735 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
15736 Clarify docstring that the value is strings not symbols.
15737 (checkdoc-list-of-strings-p): New function.
15739 2009-08-22 Glenn Morris <rgm@gnu.org>
15741 * files.el (auto-mode-alist):
15742 * hippie-exp.el (he-concat-directory-file-name):
15743 * lpr.el (lpr-windows-system, printer-name):
15744 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
15745 * ps-print.el (ps-windows-system):
15746 * startup.el (command-line):
15747 * emulation/viper-ex.el (viper-glob-function):
15748 * international/mule-cmds.el (set-language-environment-coding-systems):
15749 * net/ange-ftp.el (ange-ftp-write-region):
15750 * obsolete/fast-lock.el (fast-lock-cache-name):
15751 Remove code for defunct system-types emx, macos, mswindows, next-mach,
15752 unisoft-unix, vax-vms, win32, w32.
15754 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
15755 given name if the pattern is not more specific.
15757 * calendar/lunar.el (lunar-phase-names): New option.
15758 (lunar-phase): Doc fix.
15759 (lunar-cycles-per-year): New constant.
15760 (lunar-index): New function.
15761 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
15762 (lunar-phase-name): Use lunar-phase-names.
15763 (calendar-lunar-phases): Use format.
15764 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
15766 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
15767 Copy imenu-example--name-and-position function here for own use.
15768 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
15770 * bs.el (bs--redisplay):
15771 * cus-edit.el (custom-redraw):
15772 * ibuffer.el (ibuffer-bury-buffer):
15773 * server.el (server-goto-line-column):
15774 * startup.el (command-line-1):
15775 * strokes.el (strokes-xpm-for-stroke):
15776 * term.el (term-display-buffer-line):
15777 * view.el (View-goto-line):
15778 * calc/calc.el (calc-do, calc-trail-buffer):
15779 * play/gamegrid.el (gamegrid-add-score-insecure):
15780 * progmodes/ada-mode.el (ada-compile-goto-error):
15781 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
15782 (ebrowse-select-1st-to-9nth):
15783 * progmodes/cperl-mode.el (cperl-time-fontification):
15784 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
15785 * progmodes/gud.el (gud-display-line):
15786 (idlwave-shell-display-line):
15787 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
15788 * progmodes/make-mode.el (makefile-browser-toggle):
15789 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
15790 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
15791 * textmodes/picture.el (picture-draw-rectangle):
15792 * textmodes/reftex-index.el (reftex-index-goto-letter):
15793 (reftex-select-jump-to-previous):
15794 * textmodes/reftex-sel.el (reftex-find-start-point)
15795 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
15796 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
15797 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
15798 * textmodes/tex-mode.el (tex-compilation-parse-errors):
15799 * textmodes/two-column.el (2C-associated-buffer):
15800 Use forward-line rather than goto-line.
15802 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
15805 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
15806 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
15807 (quick-check-list-to-regexp): Declare.
15809 * progmodes/make-mode.el (makefile-browser-insert-selection):
15810 Use goto-char rather than goto-line.
15812 * progmodes/prolog.el (compilation-error-regexp-alist)
15813 (compilation-forget-errors): Declare.
15815 2009-08-22 Juri Linkov <juri@jurta.org>
15817 * progmodes/grep.el (lgrep, rgrep): At the beginning
15818 set `dir' to `default-directory' unless `dir' is a non-nil
15819 readable directory. (Bug#4052)
15820 (lgrep, rgrep): Change a weird way to report an error
15821 from using `read-string' to using `error'.
15822 Instead of using interactive arguments in the function body,
15823 add new argument `confirm'.
15825 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
15827 * textmodes/remember.el (remember-buffer):
15828 * progmodes/cperl-mode.el (cperl-vc-header-alist):
15829 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
15830 (icalendar-extract-ical-from-buffer):
15831 * net/newst-treeview.el (newsticker-groups-filename):
15832 * net/newst-backend.el (newsticker-cache-filename):
15833 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
15834 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
15835 (speedbar-add-ignored-path-regexp, speedbar-line-path)
15836 (speedbar-buffers-line-path, speedbar-path-line)
15837 (speedbar-buffers-line-path):
15838 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
15840 * epa.el (epa-display-verify-result):
15841 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
15843 2009-08-21 Glenn Morris <rgm@gnu.org>
15845 * progmodes/js.el (inferior-moz-process): Fix declaration.
15847 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
15849 * obsolete/rnewspost.el (news-mail-reply):
15850 Use goto-char rather than goto-line.
15852 * term/ns-win.el (ns-open-file-select-line):
15853 Use line-beginning-position rather than goto-line.
15855 * apropos.el (apropos-command):
15856 * ehelp.el (electric-helpify):
15857 * printing.el (pr-show-setup):
15858 * strokes.el (strokes-help):
15859 * tutorial.el (tutorial--describe-nonstandard-key)
15860 (tutorial--detailed-help):
15861 * woman.el (woman-mini-help, woman-display-extended-fonts):
15862 * calc/calc-help.el (calc-describe-key):
15863 * emulation/edt.el (edt-electric-helpify):
15864 * international/mule-diag.el (mule-diag):
15865 * play/yow.el (apropos-zippy):
15866 * progmodes/python.el (python-describe-symbol):
15867 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
15868 * textmodes/table.el (*table--cell-describe-mode)
15869 (*table--cell-describe-bindings):
15870 Use help-print-return-message rather than the now obsolete alias.
15872 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
15873 (calendar-cursor-to-visible-date):
15874 * play/5x5.el (5x5-position-cursor):
15875 * play/decipher.el (decipher):
15876 * play/gomoku.el (gomoku-goto-xy):
15877 * play/landmark.el (lm-goto-xy):
15878 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
15879 (mpuz-paint-digit):
15880 Use forward-line, not goto-line.
15882 * mail/rmail.el (rmail-obsolete): Delete custom group.
15883 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
15884 (rmail-remote-password, rmail-remote-password-required):
15885 Remove unneeded :set-after and :set properties.
15887 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
15889 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
15891 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
15893 * loadup.el: Remove leftover macos code.
15895 * vc-git.el (vc-git-annotate-command): Run asynchronously.
15896 Explicitly pass the date format to git blame so that user local
15897 so that the output format can be parsed.
15899 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
15901 * net/dbus.el (top): Don't check for (getenv
15902 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
15904 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
15906 * log-edit.el (log-edit-strip-single-file-name): New var.
15907 (log-edit-insert-changelog): Use it. Bug#3571
15909 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15911 * subr.el (read-passwd): Use read-key so keypad keys work as well.
15914 * help.el (help-print-return-message): Rename from
15915 print-help-return-message.
15917 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
15918 cvs-mode-map parent hack.
15919 (log-view-mode): Derive from special-mode.
15921 * linum.el (linum-mode): window-size-change-functions is redundant.
15922 Adapt to new window-configuration-change-hook behavior.
15923 (linum-after-size, linum-after-config): Remove.
15925 * imenu.el (imenu-example--name-and-position)
15926 (imenu-example--lisp-extract-index-name)
15927 (imenu-example--create-lisp-index, imenu-example--create-c-index):
15930 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
15931 (inferior-prolog-mode): Use it.
15932 (inferior-prolog-load-file): Reset list of errors.
15934 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15936 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
15938 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
15940 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
15942 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
15943 is running already.
15945 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15947 * subr.el (listify-key-sequence-1): Use normal syntax since those
15948 integers are nowadays always represented by the same (positive) number
15950 (read-key-empty-map): New const.
15951 (read-key-delay): New var.
15952 (read-key): New function.
15953 (force-mode-line-update): Use with-current-buffer.
15954 (locate-user-emacs-file): Don't forget to abbreviate the file name.
15955 (start-process-shell-command, start-file-process-shell-command):
15956 Discourage the use of command-args.
15958 2009-08-19 Glenn Morris <rgm@gnu.org>
15960 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
15962 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15964 * simple.el (choose-completion-string): Don't rely on
15965 minibuffer-completing-file-name and ad-hoc checks to decide whether
15966 to continue completion or not.
15968 * minibuffer.el (minibuffer-hide-completions): New function.
15969 (completion--do-completion): Use it.
15970 (completions-annotations): New face.
15971 (completion--insert-strings): Use it.
15972 (completion-pcm--delim-wild-regex): Add docstring.
15973 (completion-pcm--string->pattern): Add support for 0-width delimiters
15974 in completion-pcm--delim-wild-regex.
15976 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
15978 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
15979 Remove unused var `buffer-modified-p'.
15981 * minibuffer.el (completion--do-completion): Move point for the #b001
15982 case as well (bug#4176).
15983 (minibuffer-complete, minibuffer-complete-word): Don't move point.
15985 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
15987 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
15988 and :session buses.
15990 2009-08-18 Kenichi Handa <handa@m17n.org>
15992 * international/ucs-normalize.el (ucs-normalize-version):
15994 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
15995 (utf-8-hfs): Make it perform normalization on encoding too.
15997 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
15998 (sentence-end-without-space): Delete duplicated chars.
15999 (sentence-end-base): Likewise.
16001 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
16002 (html-mode): Delete duplicated chars from sentence-end-base.
16004 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
16005 (texinfo-mode): Delete duplicated chars from sentence-end-base.
16007 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
16009 * files.el (hack-one-local-variable): If the mode function is for
16010 a minor mode, pass it an argument (Bug#4148).
16012 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
16014 * net/tramp.el (tramp-register-completion-file-name-handler):
16015 Check also for (member 'partial-completion completion-styles).
16017 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16019 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16022 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
16024 * progmodes/cperl-mode.el: Merge upstream 6.2.
16025 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16026 (cperl-forward-re): Check cperl-brace-recursing.
16027 (cperl-highlight-charclass): New function.
16028 (cperl-find-pods-heres): Use it.
16029 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16030 (cperl-beautify-regexp-piece): Fix column calculation.
16031 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16032 (cperl-beautify-level): Don't process entire regexp.
16033 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16035 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16036 (cperl-init-faces): Build a list in the normal way.
16038 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16040 * calendar/parse-time.el (parse-time-string-chars): Save match
16043 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
16045 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16046 (sql-product): Use it.
16047 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16048 (sql-set-product): Add completion.
16049 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16050 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16051 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16052 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16053 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16054 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16055 (sql-highlight-db2-keywords): Remove.
16056 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16057 (sql-highlight-product): Use derived-mode-p.
16058 (sql-set-sqli-buffer): Use with-current-buffer.
16059 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16062 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16064 * term.el: Fix commenting convention, turn comments into docstrings.
16066 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16068 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16070 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
16072 * calendar/parse-time.el (parse-time-string-chars): Compute using
16073 character classes, to handle non-ascii characters (Bug#3190).
16075 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16077 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16078 another heredoc if the user adds another < (Bug#3226).
16080 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16081 Don't initialize based on window-system (Bug#4124).
16083 * facemenu.el (facemenu-read-color): Use a completion function
16084 that accepts any defined color, such as RGB triplets (Bug#3677).
16086 * files.el (get-free-disk-space): Change fallback default
16087 directory to /. Expand DIR argument before switching to fallback.
16088 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
16090 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16092 * files.el (load-library): Doc fix.
16094 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
16096 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
16097 (viper-if-string): Redefine C-s in the minibuffer to insert the last
16098 incremental search string.
16100 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
16103 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
16104 (ediff-merge-region-is-non-clash)
16105 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
16106 Also check if the job is really a merge job.
16108 * ediff.el (ediff-current-file): New function.
16110 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16112 * progmodes/js.el: Edit docstrings throughout to follow Emacs
16114 (js-insert-and-indent): Delete function.
16115 (js-mode-map): Don't bind keys to js-insert-and-indent.
16116 (js-beginning-of-defun): Rename from js--beginning-of-defun.
16117 (js-end-of-defun): Rename from js--end-of-defun.
16118 (js-auto-indent-flag): Delete variable.
16120 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
16122 * progmodes/js.el: Remove proclaim statement.
16123 Defvar which-func-imenu-joiner-function to silence compiler.
16125 * files.el (auto-mode-alist): Use js-mode for .js files.
16127 * progmodes/js2-mode.el: Remove file.
16129 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
16131 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
16133 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
16135 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
16136 Karl Landstrom <karl.landstrom@brgeight.se>
16138 * progmodes/js.el: New file.
16140 2009-08-14 Mark A. Hershberger <mah@everybody.org>
16142 * timezone.el (timezone-parse-date): Add ability to understand ISO
16143 basic format (minimal separators) dates in addition to the
16144 already-supported extended format dates.
16146 2009-08-14 Eli Zaretskii <eliz@gnu.org>
16148 * international/ucs-normalize.el: Add a `coding' file variable.
16150 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
16152 2009-08-14 Sam Steingold <sds@gnu.org>
16154 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
16156 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
16158 * faces.el (help-argument-name): Define it here instead of
16159 help-fns.el, because in daemon mode help-fns.el may be loaded when
16160 faces are still uninitialized (Bug#1078).
16162 * help-fns.el (help-argument-name): Move defface to faces.el.
16164 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
16166 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
16167 create buffer with a pty but no process so that GDB can make the
16168 inferior the controlling process.
16170 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
16172 * international/ucs-normalize.el: New file.
16174 2009-08-13 Richard Stallman <rms@gnu.org>
16176 * mail/rmail.el (rmail-get-attr-names):
16177 Accept an attribute header that is too short.
16179 * mail/rmail.el (rmail-forget-messages):
16180 Ignore nil elt in rmail-message-vector. Use dotimes.
16182 * progmodes/compile.el (compilation-goto-locus):
16183 Use next-error-move-function.
16185 * simple.el (next-error-move-function): New variable.
16187 2009-08-12 Juri Linkov <juri@jurta.org>
16189 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
16190 always non-nil. (Bug#4052)
16192 * replace.el (read-regexp): Return empty string when
16193 `default-value' is nil.
16194 (keep-lines-read-args): Don't use empty string as the
16195 default value for `read-regexp'. (Bug#2495)
16197 2009-08-12 Juri Linkov <juri@jurta.org>
16199 * international/mule-cmds.el (ucs-insert): Change arguments
16200 from `arg' to `character', `count', `inherit' to be the same
16201 as in `insert-char'. Doc fix. (Bug#4039)
16203 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
16205 2009-08-12 Juri Linkov <juri@jurta.org>
16207 * files-x.el: New file.
16209 * files.el: Move code that deals with adding/deleting
16210 file/directory-local variables to files-x.el.
16212 * Makefile.in (ELCFILES): Add files-x.elc.
16214 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
16216 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
16217 to use `goto-line'.
16218 (gdb-place-breakpoints, gdb-get-location): Rewritten without
16220 (gdb-invalidate-disassembly): Do not refresh upon receiving
16221 'update signal. Instead, update all disassembly buffers only after
16223 (gdb): Send -target-detach when buffer is killed (Bug#3794).
16224 (gdb-starting): Moved -data-list-register-names...
16225 (gdb-stopped): ...here so it's sent when first thread stops.
16226 (gdb-registers-handler-custom): Do nothing if register names are
16229 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
16230 from `gdb-mi.el' to avoid extra tangling.
16232 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
16233 change which breaks `gud-def' definitions used in `gdb'.
16234 (gdb-update-gud-running): No extra fuss for updating frame number.
16236 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
16238 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
16239 (describe-language-environment-map, setup-language-environment-map)
16240 (set-coding-system-map): Move initialization into declaration.
16241 (set-language-info-alist): Last arg to define-key-after can be skipped.
16243 * international/quail.el (quail-completion-1): Simplify.
16244 (quail-define-rules): Use slightly more compact code.
16245 (quail-insert-decode-map): Propertize keys, compact columns.
16247 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16250 2009-08-10 Miles Bader <miles@gnu.org>
16252 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
16253 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
16254 (js2-instance-member, js2-private-member, js2-private-function-call)
16255 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
16256 (js2-magic-paren, js2-external-variable):
16257 Remove "-face" suffix from face names.
16258 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
16259 (js2-highlight-undeclared-vars, js2-peek-token)
16260 (js2-parse-function-params, js2-mode-show-errors)
16261 (js2-mode-show-warnings, js2-make-magic-delimiter)
16262 (js2-mode-highlight-magic-parens): Update to use new face names.
16264 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
16266 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
16267 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
16269 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
16271 * subr.el: Provide hashtable-print-readable.
16273 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
16274 hs-c-like-adjust-block-beginning.
16275 (hs-hide-block-at-point): Stop hiding at the beginning of
16276 hs-block-end-regexp (Bug#700).
16278 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
16280 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
16282 (gdb-registers-handler-custom): Do not fail when register names
16285 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16287 * progmodes/gdb-mi.el (gdb-control-all-threads)
16288 (gdb-control-current-thread): Interactive setters for
16289 `gdb-gud-control-all-threads' to use in menu.
16290 (gdb-show-run-p): Show «Go» when process is not active.
16291 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
16292 gud/thread.xpm and gud/all.xpm.
16294 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
16296 * net/net-utils.el (net-utils-font-lock-keywords): New var.
16297 (nslookup-font-lock-keywords): Make it a variable.
16298 (net-utils-mode): New mode for viewing diagnostic network output.
16299 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
16300 (net-utils-run-simple): New function.
16301 (ifconfig, iwconfig, netstat, arp, route): Use it.
16303 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16305 * progmodes/gdb-mi.el (gdb-read-memory-custom)
16306 (gdb-memory-set-address, def-gdb-set-positive-number)
16307 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
16308 after changing settings.
16309 (gdb-invalidate-disassembly): Update when first shown.
16310 (gdb-edit-locals-value): Fixed.
16311 (gdb-registers-handler-custom): Print registers in right order and
16312 allow changing register values (only for current thread yet).
16313 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
16314 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
16315 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
16316 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
16318 (gdb-registers-mode-map): TAB to switch to locals.
16320 2009-08-08 Eli Zaretskii <eliz@gnu.org>
16322 * mail/rmail.el (rmail-add-mbox-headers)
16323 (rmail-set-message-counters-counter): Search for
16324 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
16326 2009-08-08 Glenn Morris <rgm@gnu.org>
16328 * Makefile.in (ELCFILES): Update.
16330 2009-08-07 Eli Zaretskii <eliz@gnu.org>
16332 * mail/sendmail.el (mail-yank-original): Set
16333 buffer-file-coding-system from the one used by the message whose
16336 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
16337 to "windows" when "pgnuplot" is used.
16338 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
16339 call accept-process-output if "pgnuplot" is used.
16340 (calc-graph-init): Don't send -display and -geometry to
16341 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
16342 running "pgnuplot -V" with shell-command-to-string.
16344 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
16347 2009-08-07 Eli Zaretskii <eliz@gnu.org>
16349 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
16352 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
16354 * vc-dispatcher.el (vc-resynch-window): Update comment.
16356 * term.el (term-handle-ansi-escape): Add comments with the
16357 terminfo capabilities implemented.
16359 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
16361 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
16362 (gdb-var-create-handler): Rewritten using JSON parser.
16363 (gdb-propertize-header): Moved earlier.
16364 (gdb-set-header): Removed to avoid duplication.
16365 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
16366 Refresh disassembly buffers only after threads list have been
16368 (gdb-threads-header, gdb-registers-header): Per-buffer header line
16371 2009-08-04 Juri Linkov <juri@jurta.org>
16373 * files.el: Commands to add/delete file/directory-local variables.
16374 (read-file-local-variable, read-file-local-variable-value)
16375 (read-file-local-variable-mode, modify-file-local-variable)
16376 (modify-file-local-variable-prop-line)
16377 (modify-dir-local-variable): New functions.
16378 (add-file-local-variable, delete-file-local-variable)
16379 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
16380 (add-dir-local-variable, delete-dir-local-variable)
16381 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
16382 (copy-dir-locals-to-file-locals-prop-line): New commands.
16384 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
16386 * abbrev.el (insert-abbrev-table-description): Prettify output.
16387 Suggested by Karl Chen.
16389 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
16391 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
16392 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
16393 (gdb-overlay-arrow-position, gdb-thread-position)
16394 (gdb-disassembly-position): Declare variables.
16395 (gdb-wait-for-pending): Function now.
16396 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
16397 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
16398 compilation goes smoothly.
16399 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
16400 (gdb-non-stop-setting): New customization setting which replaces
16401 `gdb-non-stop' so changing it doesn't break active GDB session.
16402 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
16403 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
16404 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
16405 (gdb-show-threads-by-default): New customization options.
16406 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
16408 (gdb-get-buffer-create): Send buffers update signal when they are
16410 (gdb-invalidate-locals, gdb-invalidate-registers)
16411 (gdb-invalidate-breakpoints)
16412 (gdb-invalidate-threads, gdb-invalidate-disassembly)
16413 (gdb-invalidate-memory): Accept update signal.
16414 (gdb-current-context-command): Use --frame option.
16415 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
16416 Implement `gdb-frame-number' selection logic.
16417 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
16418 whether to show GUD toolbar buttons.
16419 (gdb-thread-exited): Unselect current thread when it exits.
16420 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
16421 (gdb-mark-line): Routine which sets overlay arrow or inverses
16422 video on fringeless displays.
16423 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
16424 to build aligned columns of data in GDB buffers and set text
16425 properties line-by-line.
16426 (gdb-invalidate-breakpoints)
16427 (gdb-breakpoints-list-handler-custom)
16428 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
16429 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
16430 (gdb-registers-handler-custom): Align data columns.
16431 (gdb-locals-handler-custom): Now prints data like in variable
16433 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
16434 Removed confusing buttons.
16435 (gdb-invalidate-threads): Append --frame.
16436 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
16437 between breakpoints/threads buffers.
16438 (gdb-set-window-buffer): Now can ignore dedicated windows.
16439 (gdb-propertize-header): Use `gdb-set-window-buffer'.
16440 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
16441 (def-gdb-thread-buffer-gud-command): Replaces
16442 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
16443 for fine thread control.
16444 (gdb-preempt-existing-or-display-buffer): New function used to
16445 display bound buffers without breaking window layout.
16446 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
16447 (gdb-select-frame): New version of `gdb-frames-select' which now
16448 sets `gdb-frame-number' so commands may use --frame option instead
16449 of inner debugger state.
16450 (gdb-frame-handler): Do not set `gdb-frame-number'.
16451 (gdb-threads-mode-map): Select threads with mouse.
16453 * progmodes/gud.el (gdb-gud-context-call): Declare function to
16454 avoid compilation warning.
16455 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
16458 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
16459 Argument `key' renamed to `buffer-type'.
16460 (gdb-current-context-buffer-name): Do not add thread info to
16461 buffer name when no thread is selected.
16462 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
16463 command (bug 3794).
16464 (gdb-thread-selected): Handle `=thread-selected' notification.
16465 (gdb-wait-for-pending): New macro to deal with congestion problems.
16466 (gdb-breakpoints-list-handler-custom): Don't fail on pending
16468 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
16469 This fixes problem similar to one described in bug 3947.
16470 (gud-menu-map): More menu items.
16471 (gdb-init-1): Reset `gdb-thread-number' to nil.
16473 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
16476 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
16477 (gdb-current-context-command): Do not append --thread if
16478 `gdb-thread-number' is nil.
16479 (gdb-running-threads-count, gdb-stopped-threads-count): New
16481 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
16482 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
16483 customization options.
16484 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
16486 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
16487 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
16488 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
16489 set `gdb-thread-number' and update `gud-running' properly.
16490 (gdb-running): Update threads list when new threads appear.
16491 (gdb-stopped): Support non-stop operation and new thread switching
16493 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
16494 (gdb-json-partial-output): New set of JSON routines.
16495 (def-gdb-auto-update-trigger): New `signal-list' optional
16497 (gdb-thread-list-handler-custom): Update `gud-running',
16498 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
16499 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
16500 (gdb-continue-thread, gdb-step-thread): New commands for fine
16501 thread execution control.
16502 (gud-menu-map): New menu items to switch non-stop options.
16503 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
16504 (gdb-send): Mimic RET properly (bug 3794).
16506 * progmodes/gdb-mi.el (gdb-rules-name-maker)
16507 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
16509 (def-gdb-auto-update-handler): New nopreserve optional argument.
16510 (gdb-stack-list-frames-custom): Print stack from top to bottom.
16512 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
16513 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
16514 (gdb-parent-mode): New mode to derive other GDB modes from.
16515 (gdb-display-disassembly-for-thread)
16516 (gdb-frame-disassembly-for-thread): New commands for threads
16519 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
16520 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
16521 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
16522 (gdb-update): We now store all GDB buffers in a list so that they
16523 can be updated by traversing a list instead of calling invalidate
16524 triggers explicitly.
16525 (def-gdb-trigger-and-handler): New macro to define trigger-handler
16526 pair for GDB buffer.
16527 (gdb-stack-buffer-name): Add thread information.
16528 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
16529 handle pending triggers.
16530 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
16531 (def-gdb-thread-buffer-simple-command)
16532 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
16533 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
16534 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
16535 New commands which show buffers bound to thread.
16536 (gdb-stack-list-locals-regexp): Removed unused regexp.
16538 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
16539 (gdb-locals-buffer-name, gdb-registers-buffer-name)
16540 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
16541 to (gud-comint-buffer) in *-buffer-name functions
16542 because (gdb-get-target-string) already does that.
16543 (gdb-locals-handler-custom, gdb-registers-handler-custom)
16544 (gdb-changed-registers-handler): Rewritten without regexps.
16546 * progmodes/gdb-mi.el: Basic thread selection support.
16547 (gdb-thread-number): New variable.
16548 (gdb-current-context-command): New macro which adds --thread
16550 (gdb-threads-mode-map): Select thread with SPC.
16551 (gdb-thread-list-handler-custom): Mark current thread with overlay
16552 arrow. Synchronize GDB thread and Emacs thread.
16553 (gdb-select-thread): New command which selects current thread.
16554 (gdb-invalidate-frames, gdb-invalidate-locals)
16555 (gdb-invalidate-registers): Use --thread option.
16557 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
16559 * net/tramp.el (top): Make check for tramp-gvfs loading more
16561 (tramp-handle-insert-file-contents): `unwind-protect' must be
16562 inside `with-parsed-tramp-file-name'.
16564 * net/tramp-gvfs.el (top): Remove superfluous message when loading
16567 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
16569 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
16570 directory if CLASSPATH is not set.
16572 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
16574 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
16576 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
16578 2009-08-02 Kevin Ryde <user42@zip.com.au>
16580 * net/newst-backend.el (newsticker--raw-url-list-defaults):
16581 Update freshmeat link. Delete newsforge.com as it seems gone.
16583 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
16585 * select.el (x-set-selection): Doc fix (Bug#4021).
16587 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
16589 * help-fns.el (describe-variable): Treat list return values from
16590 dir-locals-find-file properly (Bug#4005).
16592 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
16594 * net/tramp.el (tramp-debug-message): Print also microseconds.
16596 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
16598 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
16600 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
16601 (tramp-get-debug-buffer): Change `outline-regexp' according to new
16604 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
16605 (tramp-get-file-property): Use it.
16607 * autorevert.el (auto-revert-handler): Allow
16608 `auto-revert-tail-mode' for remote files.
16610 2009-08-02 Jason Rumney <jasonr@gnu.org>
16612 * minibuffer.el (read-file-name): Treat confirm options to
16613 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
16615 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
16617 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
16618 (font-lock-variable-name-face, font-lock-constant-face): Darken
16619 the colors for light backgrounds.
16621 2009-08-01 Eli Zaretskii <eliz@gnu.org>
16623 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
16624 month names. (Bug#3987)
16626 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
16628 * simple.el (line-move-finish): Pass whole number to
16629 line-move-to-column.
16630 (line-move-visual): Perform hscroll to the recorded position.
16632 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
16634 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
16636 2009-07-29 Alan Mackenzie <acm@muc.de>
16638 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
16640 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
16642 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
16643 (gdb-place-breakpoints): Use full path when setting breakpoints.
16645 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
16647 * calc/calc.el (calc-mode-map): Add keybinding for
16648 `calc-transpose-lines'.
16650 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
16652 * calc/calc-misc.el (calc-transpose-lines): New function.
16654 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
16656 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
16657 Simplify check for out-of-band methods.
16658 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
16659 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
16661 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
16663 * vc-git.el (vc-git-checkin): Fix typo.
16665 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
16667 * progmodes/js2-mode.el: New file.
16669 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
16671 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
16672 (gud-menu-map): Adjust tooltip accordingly.
16674 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
16676 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
16677 (vc-bzr-log-view-mode): Adjust log-view-file-re.
16679 * add-log.el (change-log-mode-map): Add a menu.
16681 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
16683 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
16684 function returns nil.
16685 (dbus-handle-event): Handle special return value :ignore.
16686 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
16688 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
16690 * view.el (view-mode-enable): Don't define Helper-return-blurb if
16693 2009-07-25 Eli Zaretskii <eliz@gnu.org>
16697 * w32-vars.el (x-select-enable-clipboard): Doc fix.
16699 * term/pc-win.el (x-display-name, x-colors)
16700 (x-select-enable-clipboard, x-select-text): Doc fix.
16702 * term/common-win.el (x-display-name, x-colors): Doc fix.
16704 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
16705 (xw-defined-colors): Doc fix.
16707 * w32-fns.el (x-select-text, x-setup-function-keys)
16708 (x-get-selection, x-set-selection): Doc fix.
16710 * term/x-win.el (x-select-text, x-setup-function-keys)
16711 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
16713 * select.el (x-set-selection): Doc fix.
16715 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
16717 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
16718 instead of "IsNSSSupportAvailable". Avahi ought to work also when
16719 "IsNSSSupportAvailable" method is not available. Reported by
16720 Steve Youngs <steve@sxemacs.org>.
16722 2009-07-24 Kenichi Handa <handa@m17n.org>
16724 * international/characters.el: Fix setting of category ?C, ?|, ?K,
16725 and ?H. Fix setting of case for Latin Extended and Greek Extended.
16726 (build-unicode-category-table): Fix range checks.
16728 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
16730 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
16731 the buffer we try to sync is current when calling
16734 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
16735 not show up to date files.
16737 2009-07-24 Glenn Morris <rgm@gnu.org>
16739 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
16740 Add autoload cookies. If necessary, initialize.
16741 (elint-log): Handle non-file buffers.
16742 (elint-initialize): Add optional argument to reinitialize.
16743 (elint-find-builtin-variables): Save excursion.
16745 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
16747 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
16750 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
16752 * vc.el (vc-print-log-internal): New function, split out from ...
16753 (vc-print-log): ... here.
16754 (vc-dir-move-to-goal-column): Declare.
16756 * vc-git.el (vc-git-add-signoff): New variable.
16757 (vc-git-checkin): Use it.
16758 (vc-git-toggle-signoff): New function.
16759 (vc-git-extra-menu-map): Bind it to menu.
16760 (vc-git--run-command-string): Accept a nil FILE argument.
16761 (vc-git-stash-list): New function.
16762 (vc-git-dir-extra-headers): Use it.
16764 2009-07-23 Glenn Morris <rgm@gnu.org>
16766 * help-fns.el (describe-variable): Describe ignored and risky local
16767 variables in a similar way to that in which we describe safe ones.
16769 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
16770 (byte-compile-output-file-form, byte-compile-output-docform)
16771 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
16772 Give some more local variables with common names a "bytecomp-" prefix,
16773 so as not to shadow things during compilation.
16774 * emacs-lisp/cl-macs.el (load-time-value)
16775 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
16776 `outbuffer' to `bytecomp-outbuffer'.
16778 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
16779 since the next two variables cover them automatically now.
16780 (elint-builtin-variables, elint-autoloaded-variables): New.
16781 (elint-unknown-builtin-args): Remove all members, since they can be
16782 parsed automatically now.
16783 (elint-extra-errors): New.
16784 (elint-env-add-env, elint-env-add-macro): Use cadr.
16785 (elint-current-buffer): Use or. Change final message.
16786 (elint-get-top-forms): Use line-end-position.
16787 (elint-init-env): Use cadr. Handle autoload, declare-function,
16789 (elint-add-required-env): Doc fix. Use or. Standardize error.
16790 (regexp-assoc): Remove unused function.
16791 (elint-top-form): Set elint-current-pos, to record the start of the
16792 top-level form, for compilation-mode.
16793 (elint-form): Trap errors in macro expansion. Use dolist.
16794 (elint-unbound-variable): Use elint-builtin-variables and
16795 elint-autoloaded-variables.
16796 (elint-get-args): Use cadr, or.
16797 (elint-check-cond-form): Use dolist, cadr.
16798 (elint-check-condition-case-form): Doc fix. Use cadr.
16799 Use elint-extra-errors.
16800 (elint-log): New function.
16801 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
16802 Distinguish errors and warnings.
16803 (elint-log-message): Use with-current-buffer. Inhibit read-only.
16804 Use a bytecomp-style format.
16805 (elint-clear-log): Preserve default-directory. Inhibit read-only.
16806 (elint-get-log-buffer): Use compilation mode. Disable undo.
16807 Don't truncate lines.
16808 (elint-initialize): Set builtin and autoloaded variable lists.
16809 Only process elint-unknown-builtin-args if non-nil.
16810 (elint-find-builtin-variables, elint-find-autoloaded-variables):
16812 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
16814 2009-07-22 Kevin Ryde <user42@zip.com.au>
16816 * net/newst-backend.el (newsticker--parse-atom-1.0)
16817 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
16818 (newsticker--parse-rss-1.0):
16819 * progmodes/idlwave.el (idlwave-mode):
16820 * progmodes/idlw-shell.el (idlwave-shell-mode):
16821 * progmodes/vera-mode.el (vera-mode):
16822 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
16823 * progmodes/vhdl-mode.el (vhdl-mode):
16824 * textmodes/table.el (table-generate-source)
16825 (table--warn-incompatibility):
16826 Hyperlink urls in docstrings with URL `...'.
16828 2009-07-22 Glenn Morris <rgm@gnu.org>
16830 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
16831 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
16832 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
16833 Remove leading * from defcustom docs.
16835 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
16837 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
16839 (list-load-path-shadows): Optionally, just return shadows as a string.
16841 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
16843 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
16845 * mail/rmailedit.el (rmail-edit-mode): Use
16846 auto-save-include-big-deletions.
16848 * mail/rmail.el (rmail-variables): Use
16849 auto-save-include-big-deletions.
16851 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
16854 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
16856 * calc/calc.el (calc-undo-length): New variable.
16857 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
16859 2009-07-21 Richard Stallman <rms@gnu.org>
16861 * files.el (auto-save-mode): Handle buffer-save-size = -2
16864 2009-07-21 Glenn Morris <rgm@gnu.org>
16866 * textmodes/ispell.el (ispell-looking-back): Update declaration.
16868 * calendar/todo-mode.el (calendar-current-date): Update declaration.
16870 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
16871 silence compiler. Instead...
16872 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
16873 (ps-print-ensure-fontified): Update for above function name changes.
16875 * printing.el (pr-mh-get-msg-num, pr-mh-show)
16876 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
16877 silence compiler. Instead...
16878 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
16879 (mh-show-buffer): Only define for compiler.
16880 (pr-mh-current-message): Update for above function name changes.
16882 * files.el (abort-if-file-too-large): Explicitly pass `filename'
16884 (find-file-noselect, insert-file-1): Update for above change.
16886 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
16888 * mail/mailclient.el (mailclient-send-it): Fix message.
16890 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
16891 (edebug-eval): Check cl-debug-env is bound.
16892 (print-level, print-circle): Don't redefine built-in variables.
16894 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
16895 (custom-print-vectors): Remove old comments from doc.
16897 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
16898 (emerge-version): Make the variable an obsolete alias for the
16899 emacs-version variable. Make the function obsolete.
16900 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
16901 Emerge options, rather than merging in into the main Options menu.
16902 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
16903 and auto advance modes. Disable edit/fast items when not relevant.
16905 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
16907 * term/vt420.el (terminal-init-vt420): Fix typo.
16909 2009-07-20 Sam Steingold <sds@gnu.org>
16911 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
16912 variable (removed from compile.el on 2004-03-11).
16914 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
16916 * files.el (hack-local-variables-filter): Fix last change.
16918 2009-07-19 Juri Linkov <juri@jurta.org>
16920 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
16921 (dir-local-variables-alist): New buffer-local variable.
16922 (hack-local-variables-filter): If variable is not dir-local,
16923 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
16924 because file-local overrides dir-local.
16925 (c-postprocess-file-styles) <declare-function>:
16926 Remove obsolete declaration.
16927 (hack-dir-local-variables): Add dir-local variable/value pair to
16928 `dir-local-variables-alist' and remove duplicates. Doc fix.
16930 * help-fns.el (describe-variable): Add information about
16931 file-local and dir-local variables.
16933 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
16935 * files.el (hack-local-variables-filter): Rewrite.
16937 2009-07-19 Glenn Morris <rgm@gnu.org>
16939 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
16940 Silence compiler by only defining on XEmacs.
16942 * international/mule.el (auto-coding-regexp-alist): Only match
16943 BABYL... at the start of buffer, not of lines. (Bug#3790)
16945 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
16946 non-calendar buffers (Bug#3862). Restore "not on a date" message.
16947 (cal-menu-context-mouse-menu): Doc fix.
16949 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
16951 * simple.el (mail-user-agent): Doc fix. Set :version tag.
16953 2009-07-18 Juri Linkov <juri@jurta.org>
16955 * info.el: Virtual Info keyword finder.
16956 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
16957 (Info-finder-file): New variable.
16958 (Info-finder-find-file): New function.
16959 (finder-known-keywords, finder-package-info)
16960 (find-library-name, lm-commentary): Use defvar and
16961 declare-function to silence compiler warnings.
16962 (Info-finder-find-node): New function.
16963 (info-finder): New command.
16965 * subr.el (process-kill-buffer-query-function): New function.
16966 (add-hook)<kill-buffer-query-functions>: Add hook
16967 `process-kill-buffer-query-function'.
16969 2009-07-18 Alan Mackenzie <acm@muc.de>
16971 * progmodes/cc-mode.el (c-before-hack-hook)
16972 (c-postprocess-file-styles): Give invocation of `c-set-style'
16973 DONT-OVERRIDE parameter of t. Already set style variables will
16974 thus not be overridden by style settings given by `c-file-syle'.
16976 * files.el (hack-local-variables-filter): Remove entries with
16977 duplicate keys from `file-local-variables-alist'.
16979 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16981 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
16982 x-set-selection if display-selections-p returns nil for the
16985 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
16987 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
16989 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16991 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
16992 Accept nil in addition to a regexp.
16993 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
16994 Accept nil in addition to a regexp.
16995 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
16996 buffers that have an associated file. Handle nil values of
16997 desktop-buffers-not-to-save and desktop-files-not-to-save.
17000 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17001 (x-disown-selection-internal): New functions.
17003 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
17005 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17007 (gdb-breakpoints-header): Move forward to avoid compiler warning.
17008 (gdb-make-header-line-mouse-map): Remove duplicate definition.
17010 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
17012 * simple.el (set-mark): Revert last change.
17014 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
17016 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17017 rendering of pngs is not possible instead of messaging a long
17020 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
17022 * w32-fns.el (x-selection-owner-p): New function.
17024 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17025 (mouse-yank-at-click, mouse-yank-primary): If
17026 select-active-regions is non-nil, deactivate the mark before
17029 * simple.el (deactivate-mark, set-mark): Only save selection if we
17032 2009-07-17 Kenichi Handa <handa@m17n.org>
17034 * case-table.el (describe-buffer-case-table): Fix for the case
17035 that KEY is a cons.
17037 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
17039 * vc-rcs.el (vc-rcs-find-file-hook):
17040 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17042 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
17044 * net/tramp.el (tramp-wait-for-output): Handle the case when
17045 commands do not return a newline but a null byte before the shell
17048 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17050 * term/ns-win.el (ns-set-alpha): Don't declare.
17051 (ns-set-background-alpha): Remove function.
17053 2009-07-16 Kevin Ryde <user42@zip.com.au>
17055 * emacs-lisp/copyright.el (copyright-update): Save match-data across
17056 y-or-n-p, for safety.
17058 2009-07-16 Richard Stallman <rms@gnu.org>
17060 * files.el (auto-save-mode): If buffer-saved-size is -2,
17063 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17064 (rmail-retry-ignored-headers): Add more uninteresting fields.
17066 2009-07-15 Jari Aalto <jari.aalto@cante.net>
17068 * net/rcirc.el (rcirc): Use history variables.
17069 (rcirc-server-name-history, rcirc-nick-name-history)
17070 (rcirc-server-port-history): New variables.
17072 2009-07-15 Kenichi Handa <handa@m17n.org>
17074 * international/mule-cmds.el (set-language-environment-charset):
17075 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17078 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17079 Delete unibyte-display.
17081 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17083 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
17085 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17087 * simple.el (deactivate-mark): Optional argument FORCE.
17088 (set-mark): Use deactivate-mark.
17090 * info.el (Info-search): No need to check transient-mark-mode
17091 before calling deactivate-mark.
17093 * select.el (x-set-selection): Doc fix.
17094 (x-valid-simple-selection-p): Allow buffer values.
17095 (xselect--selection-bounds): Handle buffer values. Suggested by
17096 David De La Harpe Golden.
17098 * mouse.el (mouse-set-region, mouse-drag-track): Call
17099 copy-region-as-kill before setting the mark, to let
17100 select-active-regions work.
17102 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
17104 * simple.el (deactivate-mark): If select-active-regions is
17105 non-nil, copy the selection data into a string.
17106 (activate-mark): If select-active-regions is non-nil, set the
17107 selection to the current buffer.
17108 (set-mark): Update selection if select-active-regions is non-nil.
17110 * select.el (x-valid-simple-selection-p): Allow buffer values.
17112 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
17114 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
17115 and more featureful message-mode.
17117 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
17119 * select.el (x-set-selection): Doc fix.
17120 (x-valid-simple-selection-p): Disallow selection data consisting
17121 of a list or cons of integers, since that is not used.
17122 (xselect--selection-bounds, xselect--int-to-cons): New functions.
17123 (xselect-convert-to-string, xselect-convert-to-length)
17124 (xselect-convert-to-filename, xselect-convert-to-charpos)
17125 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
17127 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
17129 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
17130 output in -break-info command (Emacs bug #3794).
17132 2009-07-14 Glenn Morris <rgm@gnu.org>
17134 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
17135 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
17136 (edebug-print-length, edebug-print-level, edebug-print-circle)
17137 (edebug-sit-for-seconds, edebug-view-outside)
17138 (edebug-bounce-point, edebug-set-global-break-condition)
17139 (edebug-Go-nonstop-mode, edebug-trace-mode)
17140 (edebug-Trace-fast-mode, edebug-continue-mode)
17141 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
17142 (edebug-visit-eval-list): Doc fixes.
17144 * subr.el (def-edebug-spec): Doc fix.
17146 2009-07-14 Kenichi Handa <handa@m17n.org>
17148 * international/characters.el: Fix setting of category ?C.
17150 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
17152 * term/ns-win.el (x-select-font): defalias x-select-font to
17153 ns-popup-font-panel instead of generate-fontset-menu.
17155 2009-07-12 Eli Zaretskii <eliz@gnu.org>
17157 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
17159 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
17161 * arc-mode.el (archive-find-type): Allow for a PK00 string before
17162 the PK\003\004 header (Bug#3770).
17164 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
17166 * pcomplete.el (pcomplete-comint-setup): Check for
17167 shell-dynamic-complete-filename too.
17169 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
17171 * simple.el (temporary-goal-column): Change the value for
17172 line-move-visual to a cons cell.
17173 (line-move-visual): Record or set the window hscroll, if
17174 necessary (Bug#3494).
17175 (line-move-1): Handle cons value of temporary-goal-column.
17177 2009-07-11 Kenichi Handa <handa@m17n.org>
17179 * international/mule-diag.el (describe-character-set): Don't show
17182 2009-07-10 Sam Steingold <sds@gnu.org>
17184 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17185 Omake sometimes indents the errors it prints, so allow all
17186 regexps to start with spaces.
17188 2009-07-10 Eli Zaretskii <eliz@gnu.org>
17190 * cus-edit.el (customize-changed-options-previous-release):
17191 Bump value to 22.1. (Bug#3804)
17193 2009-07-08 Sam Steingold <sds@gnu.org>
17195 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
17196 to be a cons cell (test . ignored-directory) to selectively ignore
17197 some directories depending on the location of the search.
17199 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
17201 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
17202 remote user is root, on the local host.
17203 (tramp-local-host-p): Either the local user or the remote user
17204 must be root. (Bug#3771)
17206 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17208 * progmodes/gdb-mi.el (gdb): Remove description of
17209 gdb-use-separate-io-buffer.
17210 (menu): Don't allow toggling of or enable
17211 gdb-use-separate-io-buffer from menubar.
17213 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17215 * mail/unrmail.el (unrmail): Make sure the message ends with two
17216 newlines (Bug#3769).
17218 2009-07-08 Glenn Morris <rgm@gnu.org>
17220 * calendar/calendar.el (calendar-current-date): Rework previous change.
17222 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
17224 * calendar/calendar.el (calendar-current-date):
17225 Add an optional argument giving an offset from today.
17227 2009-07-08 Glenn Morris <rgm@gnu.org>
17229 * tutorial.el (tutorial--describe-nonstandard-key):
17230 Adjust the message for when a key has been unbound.
17231 (help-with-tutorial): Hide the arch-tag.
17233 2009-07-08 Kenichi Handa <handa@m17n.org>
17235 * international/fontset.el (setup-default-fontset): For each
17236 script, append (not set) font-specs.
17238 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
17241 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17243 * progmodes/gdb-mi.el (gdb-init-1): Move sending
17244 -data-list-register-names to ...
17245 (gdb-starting): ... here because GDB 7.0 requires execution to
17246 have started when using this MI command.
17247 (gdb-set-header): New function to distinguish select and
17248 unselected tabs in gdb buffers.
17249 (gdb-propertize-header): New macro that uses gdb-set-header.
17250 (gdb-breakpoints-header, gdb-locals-header): Use it.
17251 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
17253 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
17255 * Makefile.in (ELCFILES): Remove fadr.elc.
17257 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
17259 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
17260 may contain frame information, so `string-match' should be used.
17261 (gdb-update): Disassembly is invalidated through
17262 `gdb-get-selected-frame'.
17263 (gdb-pad-string): New function to pad string with spaces.
17264 (gdb-invalidate-disassembly): Invalidate only if the buffer
17266 (gdb-disassembly-handler-custom): Column alignment.
17267 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
17269 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
17271 (gdb-frame-handler): Match convention to for disassembly buffer
17273 (gdb-stack-list-frames-handler): Rewritten without regexps.
17274 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
17275 not highlight breakpoints without line information.
17276 (gdb-input): Add trailing newline to command.
17278 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
17280 (gdb-breakpoints-list-handler-custom): Replacement for
17281 `gdb-break-list-handler'. Using real parser instead of regexps
17283 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
17284 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
17285 to place breakpoints.
17286 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
17288 (gdb-disassembly-handler-custom): Show overlay arrow.
17289 (gdb-disassembly-place-breakpoints): Show breakpoints in
17290 disassembly buffer.
17291 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
17292 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
17293 instead of parsing breakpoints buffer. Fixed old menu references
17298 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
17299 (gdb-memory-address): New variable which holds top address of
17300 memory page shown in memory buffer.
17301 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
17302 customization variables.
17304 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
17305 display the memory buffer.
17306 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
17307 buffer display parameters.
17308 (def-gdb-memory-format, gdb-memory-format-binary)
17309 (gdb-memory-format-octal, gdb-memory-format-unsigned)
17310 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
17311 Functions for setting memory buffer format.
17312 (gdb-memory-unit-word, gdb-memory-unit-halfword)
17313 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
17314 unit size used in memory buffer.
17315 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
17316 to next/previous page of memory buffer.
17317 Now using (bindat-get-field) instead of fadr functions.
17319 2009-07-07 Sam Steingold <sds@gnu.org>
17321 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
17322 non-top-level files.
17324 2009-07-07 Kenichi Handa <handa@m17n.org>
17326 * international/mule-cmds.el (reset-language-environment): Put
17327 the highset priority to the charset iso-8859-1.
17329 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
17331 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
17332 to the end of the line when locating the block (Bug#700).
17334 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
17336 * net/tramp.el (tramp-handle-write-region): Flush file properties
17337 in case of short track.
17339 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
17341 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
17342 Coded custom representation of verilog error regular expressions
17343 to work with Emacs-22's new format.
17344 (verilog-error-regexp-xemacs-alist): Coded custom representation
17345 of verilog error regular expressions to work with XEmacs format.
17346 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
17347 error recognition into XEmacs.
17348 (verilog-error-regexp-add-emacs): Hook routine to install verilog
17349 error recognition into Emacs-22.
17351 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
17353 * woman.el: Remove stand-alone closing parentheses.
17354 (woman-file-name, woman2-format-paragraphs)
17355 (woman-leave-blank-lines): Code cleanup.
17356 (woman-use-own-frame): Change default to nil.
17357 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
17358 defaults to inherit from default faces.
17359 (woman2-process-escapes): Consume the newline after a stand-alone
17360 filler character (Bug#3651).
17362 2009-07-06 Glenn Morris <rgm@gnu.org>
17364 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
17365 (top-level): Move provide to the end.
17366 (ffap): Remove defunct URL from custom group.
17368 * subr.el (eval-after-load): Doc fix.
17370 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
17372 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
17373 `calc-embedded-word' is called twice.
17375 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17377 * files.el (find-alternate-file-other-window, find-alternate-file):
17378 Obey confirm-nonexistent-file-or-buffer.
17380 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
17382 * dired-aux.el (dired-show-file-type): Handle remote files.
17384 2009-07-05 Jari Aalto <jari.aalto@cante.net>
17386 * desktop.el (desktop-globals-to-save):
17387 Add file-name-history (Bug#2750).
17389 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
17391 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
17393 2009-07-04 Johan Bockgård <bojohan@gnu.org>
17395 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
17396 property on entire argument since this is what eshell-lisp-command
17399 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
17401 * net/tramp-gvfs.el (tramp-gvfs-methods)
17402 (tramp-gvfs-zeroconf-domain)
17403 (tramp-bluez-discover-devices-timeout): Add version flag.
17404 (tramp-gvfs-handler-mounted-unmounted)
17405 (tramp-gvfs-connection-mounted-p): Polish handling of
17406 incompatibilities between GVFS 0.2 and 1.0.
17408 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
17410 * cus-start.el (all): Add make-pointer-invisible.
17412 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
17414 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
17415 formatted correctly.
17417 2009-07-02 Juri Linkov <juri@jurta.org>
17419 * info.el: Virtual Info files and nodes.
17420 (Info-virtual-files, Info-virtual-nodes): New variables.
17421 (Info-current-node-virtual): New variable.
17422 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
17424 (Info-file-supports-index-cookies): Use Info-virtual-file-p
17425 to check for a virtual file instead of checking a fixed list
17427 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
17428 instead of ad-hoc processing of "dir" and (apropos history toc).
17429 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
17430 instead of ad-hoc processing of "dir" and (apropos history toc).
17431 Reread a file when moving from a virtual node.
17432 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
17433 (Info-directory-toc-nodes, Info-directory-find-file)
17434 (Info-directory-find-node): New functions.
17435 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
17436 (Info-history): Move part of code to
17437 `Info-history-find-node'.
17438 (Info-history-toc-nodes, Info-history-find-file)
17439 (Info-history-find-node): New functions.
17440 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
17441 (Info-toc): Move part of code to `Info-toc-find-node'.
17442 (Info-toc-find-node): New function.
17443 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
17444 the current Info file name to references because now the node
17445 "*TOC*" belongs to the same Info manual.
17446 (Info-toc-build): Rename from `Info-build-toc'.
17447 (Info-toc-nodes): Rename input argument `file' to `filename'.
17448 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
17449 instead of ad-hoc processing of ("dir" apropos history toc).
17450 (Info-index-nodes): Use Info-virtual-file-p
17451 to check for a virtual file instead of checking a fixed list
17453 (Info-index-node): Add check for `Info-current-node-virtual'.
17454 Raise `save-match-data' higher up the tree to contain
17455 `search-forward' too (bug fix).
17456 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
17457 (Info-virtual-index-nodes): New variable.
17458 (Info-virtual-index-find-node, Info-virtual-index): New functions.
17459 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
17460 (Info-apropos-file, Info-apropos-nodes): New variables.
17461 (Info-apropos-toc-nodes, Info-apropos-find-file)
17462 (Info-apropos-find-node, Info-apropos-matches): New functions.
17463 (info-apropos): Move part of code to `Info-apropos-find-node' and
17464 `Info-apropos-matches'.
17465 (Info-mode-map): Bind "I" to `Info-virtual-index'.
17466 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
17467 for a virtual file instead of checking a fixed list of node names.
17469 * simple.el (async-shell-command): New command.
17471 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
17473 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
17474 instead of `mount-info'.
17476 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
17478 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
17479 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
17481 2009-07-02 Kenichi Handa <handa@m17n.org>
17483 * international/mule.el (set-keyboard-coding-system): Force *-unix
17484 coding-system to avoid eol conversion.
17486 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
17488 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17489 Add handler for `process-file', `shell-command' and
17490 `start-file-process'.
17491 (tramp-gvfs-handle-shell-command)
17492 (tramp-gvfs-handle-start-file-process)
17493 (tramp-gvfs-handle-process-file): New defuns.
17494 (tramp-synce-list-devices): Simplify check for existence of property.
17496 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
17498 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
17500 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
17502 * language/korean.el (set-language-info-alist): Add korean-cp949,
17505 2009-07-01 Kenichi Handa <handa@m17n.org>
17507 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
17509 * international/encoded-kb.el: Deleted.
17511 * international/mule.el (set-keyboard-coding-system): Perform the
17512 necessary setup here instead of calling encoded-kbd-setup-display.
17514 2009-07-01 Glenn Morris <rgm@gnu.org>
17516 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
17518 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
17520 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
17522 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
17524 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
17525 Handle also the 'rename case, when setting file modes. (Bug#3712)
17526 (tramp-default-file-modes): Remove execute permissions.
17528 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
17529 (top): Add a default for "synce" in `tramp-default-user-alist'.
17530 Add completion function for "synce" method.
17531 (tramp-hal-service, tramp-hal-path-manager)
17532 (tramp-hal-interface-manager, tramp-hal-interface-device):
17534 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
17535 (tramp-synce-list-devices, tramp-synce-parse-device-names):
17538 * net/trampver.el: Update release number.
17540 2009-06-30 Kenichi Handa <handa@m17n.org>
17542 * international/fontset.el (setup-default-fontset): Add CJK fonts
17543 for symbols and the other miscellaneous characters.
17545 * language/korea-util.el (setup-korean-environment-internal):
17546 Make char-width-table suitable for Korean environments.
17547 (exit-korean-environment): Cancel above.
17549 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
17550 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
17551 setup-function to make char-width-table suitable for respective
17552 environments, and an exit-function to cancel that.
17554 * language/japan-util.el (setup-japanese-environment-internal):
17555 Call use-cjk-char-width-table with arg `ja_JP'.
17557 * international/characters.el (cjk-char-width-table): Delete it.
17558 (cjk-char-width-table-list): New variable.
17559 (use-cjk-char-width-table): New arg local-name.
17560 (use-default-char-width-table): Fix for the case that Emacs is
17561 already using the default char-width-table.
17563 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
17565 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
17566 modes mandatory. (Bug#3712)
17568 2009-06-29 Alan Mackenzie <acm@muc.de>
17570 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
17571 correction between the visible width of TABs and their number of bytes.
17573 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
17575 * server.el (server-buffer-done): Prevent kill-buffer from
17576 prompting by clearing the buffer modification flag (Bug#3696).
17578 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
17580 * progmodes/verilog-mode.el (verilog-beg-of-statement)
17581 (verilog-endcomment-reason-re): Support unique case and priority case.
17582 (verilog-basic-complete-re): Support localparam lineup.
17583 (verilog-beg-of-statement-1): Fix for robustness, unique case.
17584 (verilog-set-auto-endcomments): Fix for unique case, always_comb
17586 (verilog-leap-to-case-head): Now support *nested* unique &
17587 priority case statements.
17588 (verilog-auto-lineup): Make just declarations the default (as it
17590 (verilog-leap-to-case-head): Support priority/unique case statements.
17591 (verilog-auto-lineup): Rework to give users radio buttons to
17592 select the various styles of automatic lineup.
17593 (verilog-error-regexp-alist): Rework to support the XEmacs style
17594 of error regular expressions from compilers, lint tools &
17595 simulators. Note that GNU Emacs has made it impossible for a mode
17596 to load such things.
17597 (electric-verilog-terminate-line, verilog-indent-declaration)
17598 (verilog-auto-wiure): Rework for radio button selection of
17599 auto-lineup selection of specification of auto lineup.
17600 (verilog-beg-of-statement-1): Redesign to support proper operation
17601 in additional code, based on testing with auto-lineup.
17602 (verilog-calculate-indent, assignments & declarations)
17603 (verilog-backward-token): Enhance to support auto-lineup of
17604 assignments & declarations.
17605 (verilog-in-directive-p, verilog-at-struct-p): New function for
17606 easy test of whether we are.
17607 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
17608 to support safe execution at almost anyline.
17609 (verilog-calc-1): Properly support indenting deep inside generate
17611 (verilog-init-font): Remove definition & use of verilog-init-font,
17612 as it is redundant with font-lock-defaults.
17613 (verilog-mode): Alter the definition of verilog-font-lock-defaults
17614 to avoid circular calls if syntax-ppss is a function (as is the
17615 case now in 22.x GNU Emacs) as that function would sometimes call
17616 itself, leading to (nearly) infinite recursion.
17617 (verilog-ovm-begin-re, verilog-ovm-end-re)
17618 (verilog-ovm-statement-re, verilog-leap-to-head)
17619 (verilog-backward-token): Add support for OVM macros. Some are
17620 complete statements, and others open and close scopes like begin
17622 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
17623 (verilog-defun-level-generate-only-re): Really fix the defun-list
17625 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
17626 coverpoint, constraint and cross statements.
17627 (verilog-defun-level-list, verilog-generate-defun-level-list)
17628 (verilog-all-defun-level-list): Redo these specifications - it is
17629 too hard to support eval-when compile aggregation of lists also
17630 built at when-compile time.
17631 (verilog-defun-level-list): Place defconsts of variables used in
17632 building regular expressions which are built in eval-when-compile
17633 bodies in the same eval-when-compile body to facilitate compile
17635 (verilog-beg-block-re-ordered): Support indenting
17636 virtual/protected tasks and functions.
17637 (verilog-defun-level-list, verilog-in-generate-region-p)
17638 (verilog-backward-ws&directives, verilog-calc-1): Speed up
17639 indentation of some module items (generate items).
17640 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
17641 across virtual/protected tasks and functions.
17643 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
17645 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
17646 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
17647 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
17648 in concatenations. Reported by Yishay Belkind.
17649 (verilog-auto-ascii-enum): Support one-hot state machines in
17650 AUTOASCIIENUM. Suggested by Lloyd Gomez.
17651 (verilog-auto-inst, verilog-auto-inst-port): Include interface
17652 modport in AUTOINST and add vl-modport for users. Reported by
17654 (verilog-auto-inout-module, verilog-auto-inst)
17655 (verilog-decls-get-interfaces, verilog-insert-definition)
17656 (verilog-insert-one-definition, verilog-read-decls)
17657 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
17658 (verilog-sig-modport, verilog-signals-combine-bus)
17659 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
17660 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
17661 Suggested by David Rogoff.
17662 (verilog-repair-open-comma): Fix non-insertion of comma when
17663 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
17664 (verilog-make-width-expression): Simplify [A-1:0] expression
17665 widths to just {A{1'b0}}.
17666 (verilog-mode): Cleanup checkdoc warnings.
17667 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
17668 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
17669 inputs/outputs or data type. Suggested by Vasu Kandadi.
17670 (next-error-last-buffer): Fix byte-compiler warning.
17671 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
17672 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
17673 or shell command text during AUTO expansion. Suggested by Tad Truex.
17674 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
17675 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
17676 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
17677 in AUTOINOUT. Reported by Matthew Lovell.
17678 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
17679 causing use of <= assignments. Reported by Alex Reed.
17680 (verilog-read-decls): Fix triand, trior, wand, wor to be
17681 recognized by AUTOWIRE. Reported by Spencer Isaacson.
17682 (verilog-extended-complete-re): Support import "DPI-C" functions.
17683 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
17684 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
17685 (verilog-insert-date, verilog-insert-year)
17686 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
17687 Windows systems. Reported by Michael Potts.
17688 (verilog-read-module-name): Fix AUTOINST when the child module
17689 declaration's name is a tick define. Reported by Elliot Mednick.
17690 (verilog-read-decls): Fix V2K parameter bit subscripts getting
17691 passed to next parameter's definition. Reported by Bruce T.
17692 (verilog-read-decls): Fix detecting "parameter int" when using
17693 AUTOINSTPARAM. Reported by Bruce T.
17694 (verilog-goto-defun): Fix goto not finding modules unless first
17695 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
17696 (verilog-mode): Expand -f flag arguments on entry to mode so
17697 verilog-goto-defun will work. Reported by Lawrence Butcher.
17698 (verilog-getopt): Expand environment variables in -f file
17699 arguments. Suggested by Lawrence Butcher.
17700 (verilog-set-define): Fix "Symbol's value as variable is void"
17701 when reading enumerations.
17702 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
17703 Suggested by Stephen Peltan.
17704 (verilog-read-defines): Fix reading of enumerations in include
17705 files. Reported by Steve Peltan.
17707 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17709 * files.el (trash-directory): Fix defcustom type.
17711 2009-06-28 Juri Linkov <juri@jurta.org>
17713 * help-fns.el (describe-function-1): Correctly locate adviced
17714 functions in hyperlink (Bug#2438).
17716 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
17718 * files.el (trash-directory): Change default to nil.
17719 (move-file-to-trash): If trash-directory is nil and
17720 system-move-file-to-trash is unbound, perform freedesktop-style
17723 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17725 * files.el (move-file-to-trash): Add freedesktop trash
17728 2009-06-28 Glenn Morris <rgm@gnu.org>
17730 * autorevert.el (global-auto-revert-non-file-buffers)
17731 (global-auto-revert-mode): Doc fixes.
17733 2009-06-27 Johan Bockgård <bojohan@gnu.org>
17735 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
17737 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
17739 * faces.el (x-handle-named-frame-geometry): Ensure that we have
17740 opened an X connection before calling x-get-resource (Bug#3194).
17742 * play/doctor.el: Remove reference to obsolete website.
17743 (make-doctor-variables): Correct grammar mistake (Bug#2633).
17745 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
17747 Remove find-file-not-found-hook VC method. (Bug#2757)
17748 * vc-hooks.el (vc-file-not-found-hook)
17749 (vc-default-find-file-not-found-hook): Remove functions.
17750 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
17751 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
17754 * vc-git.el: Do not mention find-file-not-found-hook VC method.
17756 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
17758 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
17759 compatibility function for `looking-back'.
17761 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
17762 Use `ispell-looking-back'.
17764 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
17766 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
17767 rather than `filename'.
17769 2009-06-23 Miles Bader <miles@gnu.org>
17771 * face-remap.el (text-scale-set): New function.
17773 2009-06-23 Glenn Morris <rgm@gnu.org>
17775 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
17777 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
17779 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
17781 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
17783 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
17784 Simplify Persian conditionals.
17786 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
17787 variable `filename'.
17789 * comint.el (comint-insert-input): Doc fix.
17791 * Makefile.in (ELCFILES): Fix typo in previous change.
17793 2009-06-23 Miles Bader <miles@gnu.org>
17795 * cus-start.el: Add entry for `recenter-redisplay'.
17797 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17799 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
17800 Add an optional argument for the backend, use it instead of
17801 calling vc-backend.
17802 (vc-mode-line): Add an optional argument for the backend.
17803 Pass the backend to vc-state and vc-working-revision. Move code for
17804 special handling for vc-state being a buffer to ...
17806 * vc-rcs.el (vc-rcs-find-file-hook):
17807 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
17809 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
17810 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
17811 vc-stay-local-p and vc-mode-line calls.
17813 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
17814 (vc-cvs-diff, vc-cvs-annotate-command)
17815 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
17816 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
17817 vc-mode-line calls.
17819 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
17821 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
17822 backend when calling vc-mode-line.
17823 (vc-register): Do not create a closure for calling the vc register
17824 function, call it directly.
17826 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17828 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
17829 to make it obvious item can be clicked.
17831 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
17833 2009-06-23 Kenichi Handa <handa@m17n.org>
17835 * language/korea-util.el (korean-key-bindings): Change the binding
17836 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
17839 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
17841 Sync with Tramp 2.1.16.
17843 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
17845 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
17846 when a loading of a package fails. Completion function for rsync
17847 is `tramp-completion-function-alist-ssh'.
17848 (all): Replace all calls of `split-string' and
17849 `tramp-split-string' by `tramp-compat-split-string'.
17850 (tramp-default-method): Use `tramp-compat-process-running-p'.
17851 (tramp-default-proxies-alist): Allow also Lisp forms.
17852 (tramp-remote-path): Add choice "Private Directories".
17853 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
17854 (tramp-domain-regexp): Allow also "-", "_" and ".".
17855 (tramp-end-of-output): Remove newlines, and add "$" at the end.
17856 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
17857 (tramp-debug-message): Insert header line in debug buffer.
17858 (tramp-handle-directory-files-and-attributes-with-stat):
17859 Care about filenames with spaces, or starting with "-".
17860 (tramp-handle-dired-uncache): New defun.
17861 (tramp-handle-insert-directory): Don't flush the directory from
17862 cache, this is handled by `dired-uncache' now.
17863 (tramp-handle-insert-file-contents): Improve error handling.
17864 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17865 Quote `tramp-end-of-output'.
17866 (tramp-action-password): Improve trace message.
17867 (tramp-check-for-regexp): Both echoes must be present, before removing.
17868 (tramp-open-connection-setup-interactive-shell): Trace coding system.
17869 (tramp-compute-multi-hops): Eval cons cells of
17870 `tramp-default-proxies-alist'.
17871 (tramp-maybe-open-connection): Use the same command pattern for
17872 first hop and further hops.
17873 (tramp-wait-for-output): Remove handling of newlines.
17874 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
17875 (tramp-split-string): Remove function. It is handled in
17878 * net/tramp-cmds.el (tramp-bug):
17879 Recommend `tramp-cleanup-all-connections' in the bug mail.
17881 * net/tramp-compat.el (tramp-compat-split-string)
17882 (tramp-compat-process-running-p): New defuns.
17884 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
17885 for `dired-uncache'.
17887 * net/tramp-gvfs.el: New package.
17889 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17890 Add handler for `dired-uncache'.
17891 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
17893 * net/trampver.el: Update release number. Make version check fit
17896 2009-06-22 Jim Meyering <meyering@redhat.com>
17898 Automatically handle .xz suffix (XZ-compressed files), too.
17899 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
17900 XZ is the successor to LZMA: <http://tukaani.org/xz/>
17902 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
17903 Nick Roberts <nickrob@snap.net.nz>
17905 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
17906 repository (http://sphinx.net.ru/hg/gdb-mi/).
17908 2009-06-22 Glenn Morris <rgm@gnu.org>
17910 * files.el (dir-locals-collect-mode-variables): Allow for any number of
17911 `mode' and `eval' entries. (Bug#3430)
17913 * Makefile.in (ELCFILES): Add fadr.elc.
17915 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
17916 differing behavior of \n and ^ in strings. (Bug#3385)
17918 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
17920 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
17922 (lisp-indent-function): Make it a defcustom.
17924 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
17926 * progmodes/gdb-ui.el: Replace with ...
17927 * progmodes/gdb-mi.el: ... this file.
17928 * progmodes/gud.el: Modify for gdb-mi.el.
17930 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
17932 * fadr.el: New file.
17934 See ChangeLog.14 for earlier changes.
17936 ;; Local Variables:
17940 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
17942 This file is part of GNU Emacs.
17944 GNU Emacs is free software: you can redistribute it and/or modify
17945 it under the terms of the GNU General Public License as published by
17946 the Free Software Foundation, either version 3 of the License, or
17947 (at your option) any later version.
17949 GNU Emacs is distributed in the hope that it will be useful,
17950 but WITHOUT ANY WARRANTY; without even the implied warranty of
17951 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17952 GNU General Public License for more details.
17954 You should have received a copy of the GNU General Public License
17955 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.