1 2010-10-24 Glenn Morris <rgm@gnu.org>
3 * term/ns-win.el (x-select-text): Doc fix.
4 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5 (x-select-text): Move to term/common-win.
6 * term/w32-win.el (xw-defined-colors): Move to common-win.
7 * term/x-win.el (xw-defined-colors, x-alternatives-map)
8 (x-setup-function-keys, x-select-text): Move to common-win.
9 * term/common-win.el (x-select-text, x-alternatives-map)
10 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
13 2010-10-24 "T.V. Raman" <tv.raman.tv@gmail.com>
15 * net/mairix.el (mairix-searches-mode-map):
16 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
18 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
20 * verilog-mode.el (verilog-directive-re): Make this variable
21 auto-built for efficiency of execution and updating.
22 (verilog-extended-complete-re): Support 'pure' fucntion & task
23 declarations (these have no bodies).
24 (verilog-beg-of-statement): general cleanup to enable support of
25 'pure' fucntion & task declarations (these have no bodies). These
26 efforts together fix Verilog bug210 from veripool; which was also
27 noticed by Steve Pearlmutter.
28 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
29 (verilog-directive-nest-re, verilog-set-auto-endcomments): Support
30 `elsif. Reported by Shankar Giri.
31 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
32 attribute handling for lining up declarations and assignments.
33 (verilog-beg-of-statement-1): Fix issue where continued declaration
34 is indented differently if it is after a begin..end clock.
35 (verilog-in-attribute-p, verilog-skip-backward-comments)
36 (verilog-skip-forward-comment-p): Support proper treatment of
37 attributes by indent code. Reported by Jeff Steele.
38 (verilog-in-directive-p): Fix comment to correctly describe
40 (verilog-backward-up-list, verilog-in-struct-region-p)
41 (verilog-backward-token, verilog-in-struct-p)
42 (verilog-in-coverage-p, verilog-do-indent)
43 (verilog-pretty-declarations): Use verilog-backward-up-list as
44 wrapper around backward-up-list inorder to properly skip comments.
45 Reported by David Rogoff.
46 (verilog-property-re, verilog-endcomment-reason-re)
47 (verilog-beg-of-statement, verilog-set-auto-endcomments)
48 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
49 of if). Reported by Max Bjurling and
50 (verilog-calc-1): Fix for clocking block in modport
51 declaration. Reported by Brian Hunter.
53 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
55 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
56 (verilog-gate-keywords, verilog-read-sub-decls)
57 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
58 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
59 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
60 (verilog-read-decls): Fix spaces in V2K module parameters causing
61 mis-identification as interfaces, bug287.
62 (verilog-read-decls): Fix not treating "parameter string" as a
63 parameter in AUTOINSTPARAM.
64 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
65 treating `elsif similar to `endif inside AUTOSENSE.
66 (verilog-do-indent): Implement correct automatic or static task or
67 function end comment highlight. Reported by Steve Pearlmutter.
68 (verilog-font-lock-keywords-2): Fix highlighting of single
69 character pins, bug264. Reported by Michael Laajanen.
70 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
71 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
72 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
73 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
74 (verilog-pretty-expr): Fix interactive arguments, bug272. Reported
76 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp): Add
77 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
78 bug269. Suggested by Gary Delp.
79 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
80 (verilog-preprocessor, verilog-set-compile-command): Create
81 verilog-preprocess and verilog-preprocessor to show preprocessed
83 (verilog-get-beg-of-line, verilog-get-end-of-line)
84 (verilog-modi-file-or-buffer, verilog-modi-name)
85 (verilog-modi-point, verilog-within-string): Move defmacro's
86 before first use to avoid warning. Reported by Steve Pearlmutter.
87 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
88 (verilog-colorize-region, verilog-highlight-buffer)
89 (verilog-highlight-includes, verilog-highlight-modules)
90 (verilog-highlight-region, verilog-mode): Rename colorize to
91 highlight to match other packages. Disable module highlighting,
92 as received speed complaints, reenable for experimentation only
93 using new verilog-highlight-modules.
94 (verilog-read-decls): Fix regexp stack overflow in very large
95 AUTO_TEMPLATEs, bug250.
96 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
97 (verilog-scan): Create verilog-save-buffer-state to standardize
98 making insignificant changes that shouldn't call hooks.
99 (verilog-save-no-change-functions, verilog-save-scan-cache)
100 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
101 Create verilog-save-no-change-functions to wrap verilog-scan
102 preservation, and fix to work with nested preserved calls.
103 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
104 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
105 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
106 (verilog-submit-bug-report): Update variable list to be complete.
107 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
108 breaking on-the-fly font-locking.
109 (verilog-colorize-buffer, verilog-colorize-include-files)
110 (verilog-colorize-include-files-buffer, verilog-colorize-region)
111 (verilog-load-file-at-mouse, verilog-load-file-at-point)
112 (verilog-mode, verilog-read-inst-module-matcher): With point on a
113 AUTOINST cell instance name, middle mouse button now finds-file on
114 it. Suggested by Brad Dobbie.
115 (verilog-alw-get-temps, verilog-auto-reset)
116 (verilog-auto-sense-sigs, verilog-read-always-signals)
117 (verilog-read-always-signals-recurse): Fix loop indexes being
118 AUTORESET. AUTORESET now assumes any variables in the
119 initialization section of a for() should be ignored. Reported by
121 (verilog-error-font-lock-keywords)
122 (verilog-error-regexp-emacs-alist)
123 (verilog-error-regexp-xemacs-alist): Fix error detection of
124 Cadence HAL, reported by David Asher. Repair drift between the
125 three similar error variables.
126 (verilog-modi-lookup, verilog-modi-lookup-cache)
127 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
128 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
129 Fix slow verilog-auto expansion on very large files.
130 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line): Fix
131 AUTOOUTPUT treating "1*2" as a signal name in submodule connection
132 "{1*2{...". Broke in last revision.
133 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
134 submodule connections with replications "{#{a},#{b}}".
136 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
138 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
139 Fix typo in docstring.
141 2010-10-24 Kenichi Handa <handa@m17n.org>
143 * face-remap.el (text-scale-adjust): Call read-event with a proper
146 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
148 * emacs-lisp/unsafep.el: Don't mark functions that display
149 messages as safe. Suggested by Johan Bockgård.
151 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
153 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
154 Turn comments into docstrings.
156 * minibuffer.el (completion--replace): Move point where it belongs
157 when there's a common suffix (bug#7215).
159 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
161 Merge read-color and facemenu-read-color (Bug#7242).
163 * faces.el (read-color): Use the completion code from
164 facemenu-read-color. Require match in completion. Doc fix.
166 * facemenu.el (facemenu-read-color): Alias for read-color.
167 (facemenu-set-foreground, facemenu-set-background): Use
170 * frame.el (set-background-color, set-foreground-color)
171 (set-cursor-color, set-mouse-color, set-border-color): Use
174 2010-10-24 Leo <sdl.web@gmail.com>
176 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
177 argument of delete-file and delete-directory (Bug#7011).
179 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
181 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
184 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
186 * emacs-lisp/package.el (package--generate-package-list): Make the
187 *Packages* buffer read-only.
189 2010-10-24 Alan Mackenzie <acm@muc.de>
191 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
192 result of `c-beginning-of-decl-1' between invocations of a lambda
193 function (Bug #7265).
195 2010-10-24 Daiki Ueno <ueno@unixuser.org>
197 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
198 executable is not available on the system (Bug#7268).
200 2010-10-24 Glenn Morris <rgm@gnu.org>
202 * select.el (selection-coding-system, next-selection-coding-system):
203 Sync doc with C versions.
205 * w32-vars.el (x-select-enable-clipboard):
206 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
207 * term/common-win.el (x-select-enable-clipboard): Move here.
209 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
210 definition of C variable.
212 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
213 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
214 Don't redefine things that are defined in C.
215 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
216 (show-trailing-whitespace, auto-hscroll-mode)
217 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
218 Set up the appropriate custom properties.
220 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
223 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
224 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
225 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
226 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
228 2010-10-23 Glenn Morris <rgm@gnu.org>
230 * textmodes/flyspell.el (flyspell-mode): If there was an error,
233 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
234 Sync docs with C version.
236 * term/ns-win.el (xw-defined-colors):
237 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
239 * term/pc-win.el (x-select-enable-clipboard):
240 * term/x-win.el (x-select-enable-clipboard):
241 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
243 * comint.el (comint-password-prompt-regexp): Make it less vague.
246 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
248 * help.el (finder-by-keyword): Remove unnecessary autoload.
250 2010-10-22 Glenn Morris <rgm@gnu.org>
252 * loadup.el: Unconditionally load float-sup.
253 * paren.el (show-paren-delay):
254 * emacs-lisp/float-sup.el:
255 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
256 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
257 (lazy-lock-stealth-verbose): Assume float support.
258 * ps-print.el: Assume float support on Emacs.
259 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
260 Remove non-float branch.
262 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
263 src/Makefile no longer being pre-processed.
265 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
267 * emacs-lisp/find-func.el (find-library): Use test-completion.
269 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
271 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
273 010-10-21 Michael Albinus <michael.albinus@gmx.de>
275 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
276 space in stat format string.
277 (tramp-send-command): Unset $PS1 when using here documents, in
278 order not to get several prompts.
279 (tramp-get-inline-coding): Return `nil' in case of errors.
281 2010-10-21 Daiki Ueno <ueno@unixuser.org>
283 * hexl.el (hexl-mode, hexl-mode-exit):
284 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
285 (hexl-revert-buffer-function): New function.
286 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
288 2010-10-19 Alan Mackenzie <acm@muc.de>
290 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
291 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
292 that these keywords aren't wrongly matched as identifiers.
294 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
295 setting of c-new-BEG and c-new-END from c-before-change to
296 c-after-change. (Bug#7181)
298 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
300 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
303 * custom.el (custom-theme-set-variables): Likewise.
304 (load-theme): Add custom-theme-set-faces and
305 custom-theme-set-variables to safe-functions while loading.
306 (custom-enabled-themes): Mark as risky.
308 2010-10-18 Julien Danjou <julien@danjou.info>
310 * bindings.el: Remove end dashes in default mode-line-format.
312 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
314 * bindings.el (global-map): Bind C-d to delete-char and deletechar
315 to delete-forward-char.
317 * simple.el (normal-erase-is-backspace-mode): Remap delete to
318 deletechar, and hence delete-forward-char.
320 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
322 * repeat.el (repeat): Use read-key (bug#6256).
324 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
326 * emacs-lisp/unsafep.el: Don't mark functions that display
327 messages as safe. Suggested by Johan Bockgård.
329 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
331 * minibuffer.el (completion--replace): Move point where it belongs
332 when there's a common suffix (bug#7215).
334 2010-10-19 Kenichi Handa <handa@m17n.org>
336 * international/characters.el: Add category '|' (word breakable)
337 to fullwidth characters.
339 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
341 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
342 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
343 order to make stat results a float. Patch by Andreas Schwab
344 <schwab@linux-m68k.org>.
346 2010-10-18 Julien Danjou <julien@danjou.info>
348 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
349 hidden by `make-pointer-invisible'.
351 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
353 * files.el (locate-file-completion-table): Strip non-matching elements
354 before checking length of list (bug#7238).
356 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
358 * custom.el (custom-theme-set-variables): Mark as a safe function.
359 (load-theme): Check forms using unsafep.
361 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
363 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
365 * textmodes/ispell.el (ispell-aspell-find-dictionary):
366 Fix aspell data file searching (bug#7230).
368 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
370 * cus-theme.el (custom-theme--migrate-settings): New var.
371 (customize-create-theme): Allow editing the `user' theme.
372 (custom-theme-add-variable, custom-theme-add-var-1)
373 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
374 to the front of each variable or face widget.
375 (custom-theme-write): Save theme settings in the correct order.
376 Optionally, remove saved settings from user customizations.
377 (custom-theme-write-variables, custom-theme-write-faces):
378 Save only the checked widgets.
379 (customize-themes): Add a link for migrating custom settings.
381 * custom.el (custom-declare-theme, provide-theme):
382 Use custom-theme-name-valid-p.
383 (custom-theme-name-valid-p): Remove checks that are now
384 unnecessary since themes no longer obey load-path.
386 * cus-edit.el (custom-variable-value-create): For the simple
387 style, hide documentation string when hidden.
389 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
391 * cus-edit.el (custom-variable, custom-face): Combine the
392 :inhibit-magic and :display-style properties into a single
393 :custom-style property.
394 (custom-toggle-hide-variable, custom-toggle-hide-face):
395 New functions. If hiding an edited value, save it to :shown-value.
396 (custom-variable-value-create, custom-face-value-create): Use them.
397 (custom-magic-reset): Allow magic property to be unset.
399 * custom.el: Custom themes no longer use load-path.
400 (custom-theme-load-path): New option. Change built-in theme
402 (custom-enabled-themes): Add custom-theme-load-path dependency.
403 (custom-theme--load-path): New function.
404 (load-theme, custom-available-themes): Use it.
406 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
407 (customize-themes): Link to custom-theme-load-path variable.
408 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
409 :custom-style property.
411 * themes/*.el: Moved to etc/.
413 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
415 * textmodes/reftex-cite.el
416 (reftex-extract-bib-entries-from-thebibliography): Do not move
417 point when searching for \bibitem entries. Match entries with
418 spaces or tabs in front of arguments.
420 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
422 * cus-theme.el (customize-create-theme): Delete overlays after
423 erasing. If given a THEME arg, display only the faces of that arg
424 instead of custom-theme--listed-faces.
425 (custom-theme-variable-menu, custom-theme-variable-action)
426 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
427 (custom-theme-add-variable, custom-theme-add-face): Apply value
428 from the theme settings, instead of the current value.
429 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
430 (custom-theme-visit-theme): Allow calling outside theme buffers.
431 (custom-theme-merge-theme): Don't enable the theme when merging.
432 (custom-theme-write-variables, custom-theme-write-faces): Use the
433 :shown-value properties to save buffer values, not global ones.
434 (customize-themes): Display a warning about user customizations.
436 * cus-edit.el (custom-variable-value-create)
437 (custom-face-value-create): Obey new special properties
438 :shown-value and :inhibit-magic.
440 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
442 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
443 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
446 2010-10-14 Kenichi Handa <handa@m17n.org>
448 * mail/rmail.el (rmail-show-message-1): Catch an error of
449 base64-decode-region and just show an error message (bug#7165).
451 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
452 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
453 a font-spec (bug#7197).
455 2010-10-14 Glenn Morris <rgm@gnu.org>
457 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
459 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
461 * international/mule.el (define-coding-system):
462 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
463 * composite.el (compose-region): Fix typo in docstring.
465 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
467 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
468 only after checking the theme-face property.
470 * faces.el (face-spec-reset-face): Reset all attributes in one
471 single call to set-face-attribute.
472 (face-spec-match-p): Make it a defsubst.
473 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
474 (x-create-frame-with-faces, tty-create-frame-with-faces)
475 (tty-set-up-initial-frame-faces): Don't recompute face specs in
476 frame-set-background-mode, since they are recomputed immediately
477 afterwards in face-set-after-frame-default.
478 (face-set-after-frame-default): Minor optimization.
479 (cursor): Provide non-trivial defface spec.
481 * custom.el (custom-theme-recalc-face): Simplify.
483 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
485 * calc/calc-alg.el (math-var): Rename from `var'.
486 (math-is-polynomial, math-is-poly-rec): Replace `var'
489 * calc/calcalg2.el (math-var): Rename from `var'.
490 (calcFunc-table, math-scan-for-limits): Replace `var'
493 2010-10-13 Glenn Morris <rgm@gnu.org>
495 * subr.el (last): Deal with dotted lists (reported in bug#7174).
497 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
499 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
501 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
503 * net/tls.el (tls-program): Remove spurious %s from openssl.
504 (tls-starttls-switches): Remove starttls hack.
505 (open-tls-stream): Ditto.
506 (tls-find-starttls-argument): Ditto.
508 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
510 * image.el (image-library-alist): Declare as obsolete alias.
511 (image-type-available-p): Use `dynamic-library-alist'.
513 * term/w32-win.el (dynamic-library-alist):
514 Use instead of `image-library-alist'.
516 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
518 * subr.el (last): Make it faster. (Bug#7174)
520 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
522 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
524 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
526 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
527 (describe-theme-1): Extract doc from unloaded themes.
529 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
531 * themes/tango-theme.el:
532 * themes/tango-dark-theme.el:
533 * themes/wheatgrass-theme.el: New files.
535 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
537 * cus-theme.el (describe-theme, customize-themes)
538 (custom-theme-save): New commands.
539 (custom-new-theme-mode-map): Bind C-x C-s.
540 (custom-new-theme-mode): Use custom--initialize-widget-variables.
541 (customize-create-theme): New optional arg THEME.
542 (custom-theme-revert): Use it.
543 (custom-theme-visit-theme): Remove dead code.
544 (custom-theme-merge-theme): Use custom-available-themes.
545 (custom-theme-write): Make interactive.
546 (custom-theme-write): Use custom-theme-name-valid-p.
547 (describe-theme-1, custom-theme-choose-revert)
548 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
550 (custom-theme-allow-multiple-selections): New option.
551 (custom-theme-choose-mode): New major mode.
553 * custom.el (custom-theme-set-variables): Remove dead code.
554 Obey custom--inhibit-theme-enable.
555 (custom--inhibit-theme-enable): New var.
556 (provide-theme): Obey it.
557 (load-theme): Replace load with manual read/eval, in order to
558 check for correctness. Use custom-theme-name-valid-p.
559 (custom-theme-name-valid-p): New function.
560 (custom-available-themes): Use it.
562 * cus-edit.el (custom--initialize-widget-variables): New function.
563 (Custom-mode): Use it.
565 * cus-face.el (custom-theme-set-faces): Remove dead code.
566 Obey custom--inhibit-theme-enable.
568 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
570 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
572 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
574 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
576 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
577 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
578 (mac-right-option-modifier): New alias for ns-right-option-modifier.
580 * cus-start.el (all): ns-right-alternate-modifier is new.
582 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
584 * emacs-lisp/lisp.el (lisp-completion-at-point):
585 Use emacs-lisp-mode-syntax-table for the whole function.
587 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
589 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
590 instead of font-lock-mode before adding keywords.
591 Remove hi-lock-mode off code. Remove inhibit hack.
592 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
593 non-nil; removed hook inhibit hack.
595 2010-10-12 Glenn Morris <rgm@gnu.org>
597 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
598 (load-path-shadows-find): ... to this.
599 (list-load-path-shadows): Update for above change.
601 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
603 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
605 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
606 Fix comment for declare-function.
608 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
610 * custom.el (custom-fix-face-spec): New function; code moved from
611 custom-face-edit-fix-value.
612 (custom-push-theme): Use it when checking if a face has been
613 changed outside customize.
614 (custom-available-themes): New function.
615 (load-theme): Use it.
617 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
619 * custom.el (custom-push-theme): Cleanup (use cond).
620 (disable-theme): Recompute the saved-face property.
621 (custom-theme-recalc-face): Follow face alias before setting prop.
623 * image.el (image-checkbox-checked, image-checkbox-unchecked):
624 New variables, containing checkbox images.
626 * startup.el (fancy-startup-tail):
627 * wid-edit.el (checkbox): Use them.
629 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
631 * shell.el (shell-mode-map):
632 * progmodes/modula2.el (m2-mode-map):
633 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
634 * play/mpuz.el (mpuz-mode-map):
635 * play/landmark.el (lm-mode-map):
636 * play/decipher.el (decipher-mode-map):
637 * play/5x5.el (5x5-mode-map):
638 * net/telnet.el (telnet-mode-map):
639 * net/quickurl.el (quickurl-list-mode-map):
640 * net/mairix.el (mairix-searches-mode-map):
641 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
642 * net/dig.el (dig-mode-map):
643 * mail/mspools.el (mspools-mode-map):
644 * hexl.el (hexl-mode-map):
645 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
646 (wordstar-C-o-map, wordstar-C-q-map):
647 * emacs-lisp/edebug.el (edebug-eval-mode-map):
648 * emacs-lisp/chart.el (chart-map):
649 * edmacro.el (edmacro-mode-map):
650 * erc/erc-list.el (erc-list-menu-mode-map):
651 * array.el (array-mode-map): Declare and define in one step.
653 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
655 2010-10-10 Daiki Ueno <ueno@unixuser.org>
657 * epa.el (epa-passphrase-callback-function): Display filename
658 passed as the 3rd arg.
659 * epa-file.el (epa-file-passphrase-callback-function):
660 Pass filename to epa-passphrase-callback-function.
662 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
664 * cus-edit.el (custom-face-widget-to-spec)
665 (custom-face-get-current-spec, custom-face-state): New functions.
666 (custom-face-set, custom-face-mark-to-save)
667 (custom-face-value-create, custom-face-state-set): Use them.
669 * cus-theme.el (custom-theme--listed-faces): New var.
670 (customize-create-theme): Use *Custom Theme* as the buffer name.
671 Set revert-buffer-function. Optional arg BUFFER. Insert all
672 faces listed in custom-theme--listed-faces.
673 (custom-theme-revert): New function.
674 (custom-theme-add-variable, custom-theme-add-face): Insert at the
676 (custom-theme-write): Prompt for theme name if empty.
677 (custom-theme-write-variables): Use dolist.
678 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
680 2010-10-09 Alan Mackenzie <acm@muc.de>
682 Enhance fontification of declarators to take account of the
683 presence/absence of "typedef".
685 * cc-engine.el (c-forward-type): New &optional param
687 (c-forward-decl-or-cast-1): cdr of return value now indicates the
688 presence of either or both of a "struct"-like keyword and "typedef".
690 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
691 fontification of declarators which follow a "}".
692 (c-font-lock-declarations): Fontify declarators according to the
693 presence/absence of "typedef".
695 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
697 (c-typedef-decl-key): New lang variable built from
700 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
702 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
703 since that's too annoying. Move the filter groups commands to
706 * epa.el (epa-passphrase-callback-function): Say what we're
707 querying the password for.
709 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
710 behaviour, don't bury the ibuffer buffer when visiting other buffers.
712 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
714 * cus-edit.el (custom-commands, custom-buffer-create-internal)
715 (custom-magic-value-create): Pad button tags with spaces.
716 (custom-face-edit): New variable.
717 (custom-face-value-create): Determine whether to use the usual
718 face editor here, instead of using custom-face-selected.
719 Pass face defaults to custom-face-edit widget.
720 (custom-face-selected, custom-display-unselected): Delete widgets.
721 (custom-display-unselected-match): Function removed.
722 (custom-face-set, custom-face-mark-to-save):
723 Accept custom-face-edit widgets as the direct widget child.
725 * wid-edit.el (widget--completing-widget): New var.
726 (widget-default-complete): Bind it when doing completion.
727 (widget-string-complete, widget-file-complete): Use it.
729 2010-10-09 Glenn Morris <rgm@gnu.org>
731 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
732 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
733 (holiday-hebrew-misc): Small simplifications.
735 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
737 * net/browse-url.el: Don't require thingatpt, term, dired,
738 executable, or w3-auto when compiling.
739 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
741 (browse-url-text-emacs): Require term.
743 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
745 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
747 2010-10-08 Glenn Morris <rgm@gnu.org>
749 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
751 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
752 (shadows-compare-text-p): Make it an obsolete alias for...
753 (load-path-shadows-compare-text): ... new name.
754 (find-emacs-lisp-shadows): Update for above name change.
755 (load-path-shadows-same-file-or-nonexistent): New name for the old
756 shadow-same-file-or-nonexistent.
758 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
760 * minibuffer.el (completion--some, completion--do-completion)
761 (minibuffer-complete-and-exit, minibuffer-completion-help)
762 (completion-basic-try-completion)
763 (completion-basic-all-completions)
764 (completion-pcm--find-all-completions): Use lexical-let to
765 avoid some false matches in variable completion (Bug#7056)
767 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
769 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
771 2010-10-08 Leo <sdl.web@gmail.com>
773 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
774 return non-nil if the file exists (Bug#7090).
776 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
778 * minibuffer.el (completion--replace):
779 Better preserve markers (bug#7138).
781 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
783 * server.el (server-process-filter): Doc fix.
785 2010-10-08 Drew Adams <drew.adams@oracle.com>
787 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
789 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
791 * Makefile.in (ELCFILES): Update.
793 2010-10-08 Glenn Morris <rgm@gnu.org>
795 * vc/ediff-wind.el (ediff-setup-control-frame):
796 * vc/ediff-ptch.el (ediff-default-backup-extension):
797 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
798 (ediff-exec-process): Remove system-types emx, windows-95.
800 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
802 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
804 * cus-edit.el (custom-variable, custom-face): Doc fix.
805 (custom-face-edit): Add value-create attribute.
806 (custom-face-edit-value-create)
807 (custom-face-edit-value-visibility-action): New functions.
808 Hide unused face attributes by default, and add a visibility toggle.
809 (custom-face-edit-deactivate): Show empty values with shadow face.
810 (custom-face-selected): Only use this for face specs with default
812 (custom-face-value-create): Cleanup.
814 * wid-edit.el (widget-checklist-value-create): Use dolist.
815 (widget-checklist-match-find): Make second arg optional.
817 2010-10-07 Glenn Morris <rgm@gnu.org>
819 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
822 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
823 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
824 load-path-shadows-mode, update references.
825 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
826 Rename variable and button.
827 (list-load-path-shadows): Update button caller.
829 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
831 * emacs-lisp/smie.el (smie-bnf-classify): New function.
832 (smie-bnf-precedence-table): Use it to remember the closers/openers.
833 (smie-merge-prec2s): Handle those new entries.
834 (smie-prec2-levels): Only set precedence to nil for actual
836 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
837 that is now unnecessary.
839 2010-10-07 Miles Bader <miles@gnu.org>
841 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
843 2010-10-07 Glenn Morris <rgm@gnu.org>
845 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
846 (mail-position-on-field): Remove declarations.
847 (mail-position-on-field): Autoload it.
848 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
849 and mail-header-end. Don't require sendmail.
851 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
852 (shadow-mode): New mode.
853 (shadow-find-file): New button.
854 (list-load-path-shadows): Use shadow-mode and buttons.
856 * iimage.el (iimage-version): Remove.
857 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
858 Turn into defcustoms.
859 (iimage-mode-map): Give it a doc string.
861 * calendar/appt.el (appt-activate): Give a warning rather than an error
862 if there is no diary-file.
864 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
866 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
867 Use `tramp-handle-find-backup-file-name'.
869 2010-10-06 Glenn Morris <rgm@gnu.org>
871 * font-core.el (font-lock-defaults-alist): Remove variable.
872 (font-lock-mode): Doc fix.
873 (font-lock-default-function): Do not consult font-lock-defaults-alist.
874 * font-lock.el (font-lock-refresh-defaults): Doc fix.
875 (font-lock-set-defaults): Doc fix.
876 Do not consult font-lock-defaults-alist.
878 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
880 * emacs-lisp/cl.el: No longer provide cl-19.
882 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
884 * net/tramp.el (tramp-handle-directory-files-and-attributes)
885 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
886 New defuns, taken from tramp-smb.el.
887 (tramp-coding-system-change-eol-conversion)
888 (tramp-set-process-query-on-exit-flag): Remove.
890 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
891 (tramp-compat-coding-system-change-eol-conversion)
892 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
896 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
897 by `tramp-compat-set-process-query-on-exit-flag'.
899 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
900 Use `tramp-handle-directory-files-and-attributes',
901 `tramp-handle-file-exists-p' and
902 `tramp-handle-file-newer-than-file-p'.
903 (tramp-imap-handle-file-exists-p)
904 (tramp-imap-handle-file-executable-p)
905 (tramp-imap-handle-file-readable-p)
906 (tramp-imap-handle-directory-files-and-attributes)
907 (tramp-imap-handle-file-newer-than-file-p): Remove.
909 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
910 by `tramp-compat-set-process-query-on-exit-flag' and
911 `tramp-coding-system-change-eol-conversion' by
912 `tramp-compat-coding-system-change-eol-conversion'.
914 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
915 Use `tramp-handle-directory-files-and-attributes',
916 `tramp-handle-file-exists-p' and
917 `tramp-handle-file-newer-than-file-p'.
918 (tramp-smb-handle-directory-files-and-attributes)
919 (tramp-smb-handle-file-exists-p)
920 (tramp-smb-handle-file-newer-than-file-p): Remove.
921 (tramp-smb-maybe-open-connection):
922 Replace `tramp-set-process-query-on-exit-flag' by
923 `tramp-compat-set-process-query-on-exit-flag'.
925 2010-10-05 Glenn Morris <rgm@gnu.org>
927 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
929 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
931 Continue reorganization of load dependencies. (Bug#7156)
933 * net/tramp.el (tramp-handle-file-local-copy-hook)
934 (tramp-delete-temp-file-function): Move down.
935 (tramp-exists-file-name-handler): Move up.
936 (tramp-register-file-name-handlers): Simplify autoload.
937 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
938 (tramp-handle-directory-files, tramp-handle-dired-uncache)
939 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
940 (tramp-handle-file-name-completion)
941 (tramp-handle-file-name-directory)
942 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
943 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
944 (tramp-handle-find-backup-file-name)
945 (tramp-handle-insert-file-contents, tramp-handle-load)
946 (tramp-handle-substitute-in-file-name)
947 (tramp-handle-unhandled-file-name-directory)
948 (tramp-mode-string-to-int, tramp-local-host-p)
949 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
951 * net/tramp-gvfs.el (top):
952 * net/tramp-smb.el (top): Do not require 'tramp-sh.
954 * net/tramp-sh.el (all): Move several objects to tramp.el, see
955 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
957 2010-10-04 Glenn Morris <rgm@gnu.org>
959 * calendar/appt.el (appt-add): Ensure reminders are enabled.
960 (appt-activate): Give status messages.
962 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
964 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
965 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
966 `gnutls-negotiate' (formerly `starttls-negotiate').
967 Remove trivial wrapper `starttls-open-stream'.
969 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
971 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
972 log-outgoing commands.
973 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
974 to create a buffer local revert-buffer-function variable.
975 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
976 revert-buffer-function lambda.
978 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
980 * net/gnutls.el (starttls-negotiate): Use the plist interface to
981 `gnutls-boot'. Make TYPE the only required parameter.
982 Allow TRUSTFILES and KEYFILES to be lists.
983 (open-ssl-stream): Use it.
985 2010-10-03 Glenn Morris <rgm@gnu.org>
987 * subr.el (directory-sep-char): Remove obsolete variable.
988 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
991 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
992 * vc/vc.el (vc-static-header-alist): Doc fix.
993 * vc/vc-cvs.el (vc-cvs-header):
994 * vc/vc-rcs.el (vc-rcs-header):
995 * vc/vc-sccs.el (vc-sccs-header):
996 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
997 * obsolete/vc-mcvs.el (vc-mcvs-header):
998 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1001 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1003 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1004 Remove obsolete use of binary-overwrite-mode (Bug#7001).
1006 2010-10-03 Glenn Morris <rgm@gnu.org>
1008 * obsolete/x-menu.el: Remove file, obsolete since 21.1
1010 * textmodes/rst.el (rst-font-lock-keywords-function):
1013 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1015 * printing.el: Drop Emacs 20 code.
1017 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1018 without having used appt.el already).
1020 * subr.el (make-local-hook): Remove function obsolete since 21.1.
1021 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1022 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1024 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1025 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1027 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1028 (charset-width, find-charset-region, chars-in-region, forward-point)
1029 (encode-coding-string, coding-system-p, ccl-execute-on-string)
1030 (define-ccl-program, multibyte-string-p, string-make-multibyte):
1031 Remove compatibility cruft (none of these are used by ps*.el).
1033 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1035 * subr.el (booleanp): Return t instead of a list (Bug#7086).
1037 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1039 * server.el (server-process-filter, server-return-error):
1040 Give emacsclient time to shut down after receiving an error string.
1042 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
1044 * files.el (remote-file-name-inhibit-cache): New defcustom.
1046 * time.el (display-time-file-nonempty-p):
1047 Use `remote-file-name-inhibit-cache'.
1049 * net/tramp.el (tramp-completion-reread-directory-timeout):
1052 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1053 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1054 `remote-file-name-inhibit-cache'. Check also for an integer
1055 value. Add/increase counter when `tramp-verbose' >= 10.
1056 (tramp-set-file-property): Add/increase counter when
1057 `tramp-verbose' >= 10.
1059 * net/tramp-cmds.el (tramp-cleanup-all-connections)
1060 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1061 (tramp-bug): Set tramp-autoload cookie. Report all interned
1062 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
1063 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
1064 characters only in strings.
1066 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1067 to backward compatibility.
1069 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1070 (tramp-handle-file-name-all-completions)
1071 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1072 (tramp-open-connection-setup-interactive-shell):
1073 Call `tramp-cleanup-connection' directly.
1075 2010-10-02 Glenn Morris <rgm@gnu.org>
1077 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
1079 * subr.el (char-bytes): Remove obsolete function.
1081 * isearch.el (isearch-return-char): Remove obsolete function.
1083 * mouse.el: No longer provide mldrag.
1084 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
1085 Remove obsolete aliases.
1087 * comint.el (comint-kill-output): Remove obsolete alias.
1089 * composite.el (decompose-composite-char): Remove obsolete function.
1090 * ps-def.el (decompose-composite-char): Remove unused function.
1092 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
1094 * outline.el (outline-visible): Remove obsolete function.
1096 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
1097 * faces.el (internal-find-face, internal-get-face)
1098 (frame-update-faces, frame-update-face-colors)
1099 (x-frob-font-weight, x-frob-font-slant)
1100 (internal-frob-font-weight, internal-frob-font-slant)
1101 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
1102 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
1103 (x-make-font-bold-italic): Remove functions and aliases, obsolete
1105 * emulation/viper-util.el (viper-get-face):
1106 * obsolete/lucid.el (find-face, get-face): Use facep.
1107 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
1108 Remove unused functions.
1109 * vc/ediff-util.el (ediff-submit-report): Doc fix.
1111 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
1112 delete tempfile if interrupted during compilation.
1114 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1116 * net/tls.el (tls-starttls-switches): Give up on using starttls with
1118 (tls-program): Add --insecure to be consistent with the defaults from
1119 openssl s_client. Now all three commands are insecure.
1121 2010-10-01 Eli Zaretskii <eliz@gnu.org>
1123 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
1124 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
1125 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
1127 2010-10-01 Glenn Morris <rgm@gnu.org>
1129 * obsolete/sc.el: Remove file.
1131 * files.el (temporary-file-directory): On darwin, also try
1132 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
1134 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
1136 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
1137 Let's not break compatibility gratuitously, shall we?
1139 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1141 * net/tls.el (tls-starttls-switches): New variable.
1142 (tls-find-starttls-argument): Use it.
1143 (open-tls-stream): Ditto.
1145 * net/netrc.el (netrc-credentials): Return the value of the "default"
1147 (netrc-machine): Ditto.
1149 2010-09-30 Eli Zaretskii <eliz@gnu.org>
1151 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
1153 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
1155 * server.el (server-start): Don't write pid to the authentication file.
1156 (server-create-tty-frame): Don't send pid.
1157 (server-process-filter): Send pid at the start of every connection.
1159 2010-09-30 Glenn Morris <rgm@gnu.org>
1161 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
1162 (show-all-diary-entries): Remove obsolete function aliases.
1164 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
1165 Remove options, obsolete since 22.1.
1166 (appt-display-format, appt-display-message): Remove
1167 backwards-compatibility code.
1168 (appt-check): No longer check appt-issue-message.
1169 (appt-make-list): No longer autoload it. Doc fix. No longer
1170 activate the package.
1172 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1174 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
1175 (starttls-negotiate): Just call boot, and let the handshake be
1176 triggered from the read loop.
1178 2010-09-29 Glenn Morris <rgm@gnu.org>
1180 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
1181 not displaying the diary.
1182 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
1183 * calendar/appt.el (appt-check): No longer need to kill diary.
1185 * calendar/diary-lib.el (diary-list-entries): Move the
1186 "Preparing..." message entirely here.
1187 (diary-simple-display, diary-fancy-display): Move "Preparing..."
1188 messages to diary-list-entries.
1189 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
1190 diary-display-function.
1192 * calendar/diary-lib.el (diary-include-other-diary-files):
1193 Trap some recursive includes.
1195 * calendar/appt.el (appt-activate): Check diary file.
1197 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
1199 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
1202 * calendar/time-date.el: No need to require cl for Emacs 21.
1204 2010-09-28 Glenn Morris <rgm@gnu.org>
1206 * calendar/appt.el (appt-check): Minor simplification.
1208 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
1210 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
1213 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
1215 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1216 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
1218 2010-09-27 Kenichi Handa <handa@m17n.org>
1220 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
1223 2010-09-27 Kenichi Handa <handa@m17n.org>
1225 * international/mule.el (define-coding-system): Docstring fixed.
1227 * international/mule-diag.el (describe-character-set): Use princ
1228 with proper print-length and print-level instead of insert.
1230 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
1232 * window.el (walk-windows): Doc fix (bug#7105).
1234 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1236 * emacs-lisp/float-sup.el (e): Remove.
1238 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
1240 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
1242 (starttls-negotiate): Use it.
1244 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1246 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
1249 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1251 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
1253 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1255 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
1257 * net/netrc.el (netrc-store-data): New function.
1259 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
1261 * net/gnutls.el: GnuTLS glue code to set up a connection.
1263 2010-09-25 Julien Danjou <julien@danjou.info>
1265 * notifications.el: Call dbus-register-signal only if it is bound.
1267 2010-09-25 Glenn Morris <rgm@gnu.org>
1269 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1270 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1271 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1272 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1273 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1274 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
1275 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
1276 * eshell/esh-util.el, eshell/esh-var.el:
1277 Remove leading `*' from docs of faces and defcustoms.
1279 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
1281 * eshell/em-ls.el (eshell-ls-archive-regexp):
1282 * eshell/esh-util.el (eshell-tar-regexp):
1283 * ibuffer.el (ibuffer-compressed-file-name-regexp):
1284 * info.el (Info-suffix-list):
1285 * international/mule.el (auto-coding-alist):
1286 * woman.el (woman-file-regexp, woman-file-compression-regexp):
1287 * progmodes/etags.el (tags-compression-info-list):
1288 Support xz compression.
1290 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1292 * files.el (get-free-disk-space): Don't assume the "df" output
1293 columns line up (Bug#6995).
1295 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1297 * finder.el (finder-unknown-keywords):
1298 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
1299 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
1301 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1303 * server.el (server-start): Revert part of 2010-08-08 change. Using
1304 address 127.0.0.1 for local host is now done in Fmake_network_process.
1306 2010-09-24 Glenn Morris <rgm@gnu.org>
1308 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
1309 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
1310 * textmodes/css-mode.el, textmodes/dns-mode.el:
1311 Move autoloaded auto-mode-alist entries to files.el.
1312 * files.el (auto-mode-alist): Move entries here.
1314 2010-09-23 Glenn Morris <rgm@gnu.org>
1316 * isearch.el (isearch-lazy-highlight-cleanup)
1317 (isearch-lazy-highlight-initial-delay)
1318 (isearch-lazy-highlight-interval)
1319 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
1320 * net/net-utils.el (ipconfig-program-options):
1321 Move aliases to options before the associated definitions.
1323 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1325 * newcomment.el (comment-normalize-vars): Better test validity of
1328 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1330 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
1331 (float-e): New name for `e'.
1332 (degrees-to-radians, radians-to-degrees):
1333 * calendar/solar.el (solar-longitude):
1334 * calculator.el (calculator-registers, calculator-funcall):
1335 * textmodes/artist.el (artist-spray-random-points):
1336 * play/bubbles.el (bubbles--initialize-images): Use new names.
1338 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
1340 Update to CEDET 1.0's version of EIEIO.
1342 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
1344 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
1345 (eieio-default-eval-maybe): Eval val instead of unquoting only.
1346 (class-precedence-list): If class is nil, return nil.
1347 (eieio-generic-call): If class of first input arg is nil, don't
1348 look up static methods, and do check for primary methods.
1349 (initialize-instance): See if the default needs to be evaluated
1350 during the constructor.
1351 (eieio-perform-slot-validation-for-default): Don't do the check
1352 for values that will eventually be evaluated.
1353 (eieio-eval-default-p): New function.
1354 (eieio-default-eval-maybe): Use it.
1356 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
1358 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
1359 method-invocation-order.
1360 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
1361 (eieio-class-precedence-dfs): Compute class precedence list using
1363 (eieio-class-precedence-bfs): Compute class precedence list using
1365 (eieio-class-precedence-c3): Compute class precedence list using
1367 (class-precedence-list): New function.
1368 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
1369 (inconsistent-class-hierarchy): New error symbol.
1370 (call-next-method): Stow the replacement argument list for future
1371 call-next-method invocations.
1373 2010-09-23 Glenn Morris <rgm@gnu.org>
1375 * calendar/appt.el (appt-check): If not displaying the diary,
1376 use (diary 1) to only get the entries we need.
1377 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
1378 that it is in day order. (Bug#7019)
1380 * calendar/appt.el (appt-check): Rather than showing the diary,
1381 just turn off invisible display, and only if needed.
1383 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
1385 2010-09-23 Glenn Morris <rgm@gnu.org>
1387 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1388 (byte-compile-defvar, byte-compile-cl-warn):
1389 Start warnings with lower-case, like the majority.
1391 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
1393 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
1395 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
1396 * files.el (auto-mode-alist): Move ld-script entries here, further down
1399 * vc/add-log.el: Don't require timezone when compiling.
1400 (timezone-make-date-sortable): Autoload it.
1401 (change-log-sortable-date-at): Don't require timezone.
1402 Use `ignore-errors'.
1404 * comint.el (comint-use-prompt-regexp-instead-of-fields):
1405 Move alias before definition, so it does not need autoloading.
1407 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
1408 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
1409 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
1410 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
1411 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
1412 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
1413 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
1414 * textmodes/tex-mode.el, textmodes/two-column.el:
1415 Remove leading `*' from docs of defcustoms etc.
1417 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
1419 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
1421 2010-09-22 Dan Christensen <jdc@uwo.ca>
1423 * calendar/time-date.el (date-to-time): Try using parse-time-string
1424 first before using the slower timezone-make-date-arpa-standard.
1426 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
1428 * calendar/time-date.el (format-seconds): Comment fix.
1430 2010-09-22 Glenn Morris <rgm@gnu.org>
1432 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
1433 is not automatically buffer-local.
1435 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1437 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
1438 (smie-indent-comment): Be more careful with comment-start-skip.
1439 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
1440 (smie-indent-functions): Use them.
1442 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
1444 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
1446 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
1448 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
1449 tool-bar-position. Don't modify frame parameters here.
1450 (menu-bar-options-save): Add tool-bar-position.
1452 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
1454 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1456 * textmodes/reftex-parse.el (reftex-what-macro)
1457 (reftex-context-substring): Let-bind forward-sexp-function to nil
1458 since we don't need/want to treat \begin...\end as a block (bug#7053).
1460 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
1462 * simple.el (blink-matching-open): Use syntax-class.
1464 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
1465 Set invisibility spec for pascal's outline mode.
1466 (pascal-outline-change): Clean up calling convention.
1467 (pascal-show-all, pascal-hide-other-defuns): Update callers.
1469 * progmodes/prolog.el (prolog-smie-forward-token)
1470 (prolog-smie-backward-token): New functions.
1471 (prolog-mode-variables): Use them to parse "!," correctly.
1472 Set up smie-blink-matching for ".".
1474 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
1476 (ispell-region, ispell-process-line): Update users.
1478 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
1481 * textmodes/ispell.el: Fix commenting convention.
1482 (ispell-parse-output): Simplify, use push.
1483 (ispell-region): Use match-string-no-properties.
1484 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
1485 (ispell-minor-mode): Use define-minor-mode.
1486 (ispell-message): Remove unused var `skip-regexp'.
1487 (ispell-add-per-file-word-list): Use dynamic let-binding.
1488 Try and use the proper comment marker.
1490 * mail/sendmail.el: Fix commenting convention.
1491 (sendmail-send-it): Use line-beginning-position.
1493 * help-fns.el (describe-variable): Add original value, if applicable.
1495 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
1497 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
1499 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
1501 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1503 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
1504 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
1505 (smie-prec2-levels): Use them to better diagnose precedence cycles.
1506 (smie-blink-matching-check): Don't signal a mismatch if car is t.
1507 (smie-blink-matching-open): Rewrite to remove assumptions, so that
1508 something like "." can also be a closer.
1509 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
1510 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
1511 Rename internal functions to use "--". Update callers.
1513 * frame.el (make-frame-names-alist): Don't list frames on other displays.
1515 * fringe.el (fringe-styles): New var.
1516 (fringe-mode, fringe-query-style): Use it.
1518 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
1520 * progmodes/sql.el: Version 2.8
1521 (sql-login-params): Update widget structure; changes still needed.
1522 (sql-product-alist): Add :list-all and :list-table features for
1523 SQLite, Postgres and MySQL products.
1524 (sql-redirect): Handle default value.
1525 (sql-execute, sql-execute-feature): New functions.
1526 (sql-read-table-name): New function.
1527 (sql-list-all, sql-list-table): New functions. User API.
1528 (sql-mode-map, sql-interactive-mode-map): Add key definitions
1529 for above functions.
1530 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
1531 for above functions.
1532 (sql-postgres-login-params): Add user and database defaults.
1533 (sql-buffer-live-p): Bug fix.
1534 (sql-product-history): New variable.
1535 (sql-read-product): New function. Use it.
1536 (sql-set-product, sql-product-interactive): Use it.
1537 (sql-connection-history): New variable.
1538 (sql-read-connection): New function. Use it.
1539 (sql-connect): New function.
1540 (sql-for-each-login): Redesign function interface.
1541 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
1542 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
1543 (sql-comint): Check for program. Existing live buffer.
1544 (sql-comint-postgres): Add port parameter.
1546 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * emacs-lisp/warnings.el: Fix commenting convention.
1549 (display-warning): Use special mode and make the buffer read-only.
1551 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
1553 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
1554 empty string when it follows a repeated or optional pattern.
1556 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1558 * indent.el (indent-according-to-mode): Apply syntax-propertize.
1559 (indent-region): Use indent-according-to-mode.
1561 2010-09-18 Eli Zaretskii <eliz@gnu.org>
1563 * fringe.el (fringe-mode): Doc fix.
1565 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
1567 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
1568 refreshing the preview buffer.
1570 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1572 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
1573 (latex-syntax-propertize-rules): New consts; replace
1574 tex-font-lock-syntactic-keywords.
1575 (tex-env-mark, latex-env-before-change): New functions.
1576 (latex-electric-env-pair-mode): New minor mode.
1577 (tex-font-lock-verb): Change arguments; do move point.
1578 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
1579 representation as a form of comment.
1580 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
1581 (doctex-syntax-propertize-rules): New const; replaces
1582 doctex-font-lock-syntactic-keywords.
1583 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
1585 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
1586 (fortran-make-syntax-propertize-function): New function; replaces
1587 fortran-font-lock-syntactic-keywords.
1588 (fortran-mode): Use it.
1589 (fortran-line-length): Use it. Improve interactive spec.
1591 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
1592 (syntax-propertize-rules): Add var-ref case. Fix offset computation
1593 when adding surrounding \(..\).
1595 * progmodes/js.el (js-mode): Fix last change (bug#7054).
1597 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1599 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
1600 Use with-current-buffer.
1602 * isearch.el (isearch-face): Rename from `isearch'.
1603 (isearch-highlight): Use new name.
1605 2010-09-17 Eli Zaretskii <eliz@gnu.org>
1607 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
1608 5, for `half' width fringes. (Bug#6933)
1610 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1612 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
1613 (byte-compile-defvar): "foo/bar" does not lack a prefix.
1615 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
1617 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
1619 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
1620 in calculating new frame position. Add more space between new and
1621 parent on the left (Bug#7048).
1623 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
1625 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
1628 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
1630 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
1632 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
1633 obsolete alias for x-selection-value.
1635 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
1637 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
1639 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
1642 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
1644 * net/tramp-compat.el (tramp-compat-with-temp-message)
1645 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
1646 (tramp-compat-process-put): New defuns.
1648 * net/tramp.el (top):
1649 * net/tramp-gvfs.el (top):
1650 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
1652 * net/tramp.el (tramp-progress-reporter-update):
1653 Use `tramp-compat-funcall'.
1655 * net/tramp.el (tramp-process-actions):
1656 * net/tramp-gvfs.el (tramp-handle-vc-registered):
1657 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
1658 (tramp-get-remote-stat, tramp-get-remote-readlink):
1659 Use `tramp-compat-with-temp-message'.
1661 * net/tramp-sh.el (top): Require 'cl.
1662 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
1663 (tramp-open-connection-setup-interactive-shell):
1664 Use `tramp-compat-process-put'.
1666 2010-09-15 Alan Mackenzie <acm@muc.de>
1668 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
1670 (c-forward-<>-arglist-recur): Fix an infinite recursion.
1672 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1674 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1675 `lexical' for warnings related to lexical scoping.
1676 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
1677 global vars which don't have a prefix and could hence affect lexical
1678 scoping in unrelated files.
1680 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1682 * net/imap.el: Revert back to version
1683 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
1686 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
1688 * obsolete/old-whitespace.el (whitespace-unload-function):
1689 Explicitly pass `obarray' to `unintern' to avoid a warning.
1691 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1693 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
1694 Add `when' argument. Update callers.
1696 * subr.el (unintern): Declare the obarray arg mandatory.
1698 2010-09-14 Glenn Morris <rgm@gnu.org>
1700 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
1703 * calendar/diary-lib.el (diary-included-files): New variable.
1704 (diary-list-entries): Maybe initialize diary-included-files.
1705 (diary-include-other-diary-files): Append to diary-included-files.
1706 * calendar/appt.el (appt-update-list): Also check the members of
1707 diary-included-files. (Bug#6999)
1708 (appt-check): Doc fix.
1710 2010-09-14 David Reitter <david.reitter@gmail.com>
1712 * simple.el (line-move-visual): Do not truncate goal column to
1713 integer size. (Bug#7020)
1715 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * repeat.el (repeat): Allow repeating when the last event is a click.
1718 Suggested by Drew Adams (bug#6256).
1720 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
1722 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
1723 Replace setting HGRCPATH to "" by some less invasive --config options.
1725 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1727 * font-lock.el (font-lock-beginning-of-syntax-function):
1730 2010-09-14 Glenn Morris <rgm@gnu.org>
1732 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
1733 and tool-bar modes. (Bug#6211)
1734 (menu-bar-mode): Move setting of standard-value after the
1735 minor-mode definition, otherwise it seems to have no effect.
1737 2010-09-14 Masatake YAMATO <yamato@redhat.com>
1739 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
1740 Fix typo. (Bug#6976)
1742 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1744 * whitespace.el: Allow cleaning up blanks without blank
1745 visualization (Bug#6651). Adjust help window for
1746 whitespace-toggle-options (Bug#6479). Allow to use fill-column
1747 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
1748 (whitespace-style): Add new value 'face. Adjust docstring.
1749 (whitespace-space, whitespace-hspace, whitespace-tab):
1750 Adjust foreground property face.
1751 (whitespace-line-column): Adjust docstring and type declaration.
1752 (whitespace-style-value-list, whitespace-toggle-option-alist)
1753 (whitespace-help-text): Adjust const initialization.
1754 (whitespace-toggle-options, global-whitespace-toggle-options):
1756 (whitespace-display-window, whitespace-interactive-char)
1757 (whitespace-style-face-p, whitespace-color-on): Adjust code.
1758 (whitespace-help-scroll): New fun.
1760 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
1762 * calendar/time-date.el (format-seconds): Comment fix.
1764 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
1766 * progmodes/sql.el: Version 2.7.
1767 (sql-buffer-live-p): Improve detection.
1768 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1769 (sql-set-sqli-buffer): Use it.
1770 (sql-product-interactive): Run `sql-set-sqli-hook'.
1771 (sql-rename-buffer): Code cleanup.
1772 (sql-redirect, sql-redirect-value): New functions. More to come.
1774 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
1776 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.
1777 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1778 (TRAMP_SRC): New macro.
1779 ($(lisp)/net/tramp-loaddefs.el): New target.
1781 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
1783 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
1785 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
1787 * net/tramp.el (top): Don't show loading message. Require just
1788 'tramp-compat, everything else is required there.
1789 Use `ignore-errors' where appropriate.
1790 (tramp-inline-compress-start-size, tramp-copy-size-limit)
1791 (tramp-terminal-type, tramp-end-of-output)
1792 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
1793 (tramp-completion-function-alist-ssh)
1794 (tramp-completion-function-alist-telnet)
1795 (tramp-completion-function-alist-su)
1796 (tramp-completion-function-alist-putty, tramp-remote-path)
1797 (tramp-remote-process-environment, tramp-sh-extra-args)
1798 (tramp-actions-before-shell, tramp-uudecode)
1799 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
1800 (tramp-perl-file-attributes)
1801 (tramp-perl-directory-files-and-attributes)
1802 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
1803 (tramp-perl-encode, tramp-perl-decode)
1804 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
1805 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
1806 (tramp-handle-make-symbolic-link, tramp-handle-load)
1807 (tramp-handle-file-name-as-directory)
1808 (tramp-handle-file-name-directory)
1809 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1810 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
1811 (tramp-do-file-attributes-with-ls)
1812 (tramp-do-file-attributes-with-perl)
1813 (tramp-do-file-attributes-with-stat)
1814 (tramp-handle-set-visited-file-modtime)
1815 (tramp-handle-verify-visited-file-modtime)
1816 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
1817 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
1818 (tramp-handle-file-selinux-context)
1819 (tramp-handle-set-file-selinux-context)
1820 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
1821 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
1822 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
1823 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
1824 (tramp-handle-file-ownership-preserved-p)
1825 (tramp-handle-directory-file-name, tramp-handle-directory-files)
1826 (tramp-handle-directory-files-and-attributes)
1827 (tramp-do-directory-files-and-attributes-with-perl)
1828 (tramp-do-directory-files-and-attributes-with-stat)
1829 (tramp-handle-file-name-all-completions)
1830 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
1831 (tramp-handle-copy-file, tramp-handle-copy-directory)
1832 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
1833 (tramp-do-copy-or-rename-file-via-buffer)
1834 (tramp-do-copy-or-rename-file-directly)
1835 (tramp-do-copy-or-rename-file-out-of-band)
1836 (tramp-handle-make-directory, tramp-handle-delete-directory)
1837 (tramp-handle-delete-file)
1838 (tramp-handle-dired-recursive-delete-directory)
1839 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
1840 (tramp-handle-insert-directory)
1841 (tramp-handle-unhandled-file-name-directory)
1842 (tramp-handle-expand-file-name)
1843 (tramp-handle-substitute-in-file-name)
1844 (tramp-handle-executable-find, tramp-process-sentinel)
1845 (tramp-handle-start-file-process, tramp-handle-process-file)
1846 (tramp-handle-call-process-region, tramp-handle-shell-command)
1847 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
1848 (tramp-handle-insert-file-contents)
1849 (tramp-handle-insert-file-contents-literally)
1850 (tramp-handle-find-backup-file-name)
1851 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
1852 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
1853 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
1854 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
1855 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
1856 (tramp-find-file-exists-command, tramp-open-shell)
1857 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
1858 (tramp-open-connection-setup-interactive-shell)
1859 (tramp-local-coding-commands, tramp-remote-coding-commands)
1860 (tramp-find-inline-encoding, tramp-call-local-coding-command)
1861 (tramp-inline-compress-commands, tramp-find-inline-compress)
1862 (tramp-compute-multi-hops, tramp-maybe-open-connection)
1863 (tramp-send-command, tramp-wait-for-output)
1864 (tramp-send-command-and-check, tramp-barf-unless-okay)
1865 (tramp-send-command-and-read, tramp-mode-string-to-int)
1866 (tramp-convert-file-attributes, tramp-check-cached-permissions)
1867 (tramp-file-mode-from-int, tramp-file-mode-permissions)
1868 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
1869 (tramp-method-out-of-band-p, tramp-local-host-p)
1870 (tramp-get-remote-path, tramp-get-remote-tmpdir)
1871 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
1872 (tramp-get-test-command, tramp-get-test-nt-command)
1873 (tramp-get-file-exists-command, tramp-get-remote-ln)
1874 (tramp-get-remote-perl, tramp-get-remote-stat)
1875 (tramp-get-remote-readlink, tramp-get-remote-trash)
1876 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
1877 (tramp-get-local-uid, tramp-get-local-gid)
1878 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
1880 (tramp-methods, tramp-default-method-alist)
1881 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
1882 Move initialization to tramp-sh.el.
1883 (tramp-temp-name-prefix): Make it a defconst.
1884 (tramp-dissect-file-name): Don't check anymore for multi-hop
1886 (tramp-debug-outline-regexp): Add a docstring.
1887 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
1888 (tramp-get-debug-buffer): Use it.
1890 * net/tramp-cache.el (top): Set tramp-autoload cookie for
1891 initialization forms.
1892 (tramp-set-connection-property): Don't protect `tramp-message'
1893 call, it isn't necessary any longer.
1894 (tramp-dump-connection-properties): Use `ignore-errors'.
1896 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
1897 'password-cache and 'auth-source.
1899 * net/tramp-gvfs.el (top):
1900 * net/tramp-smb.el (top): Require 'tramp-sh.
1902 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
1904 * net/tramp-sh.el: New file, derived from tramp.el.
1905 (top): Initialize `tramp-methods', `tramp-default-method-alist',
1906 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
1907 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
1908 Use `ignore-errors' where appropriate.
1909 (tramp-sh-file-name-handler-alist): Rename from
1910 `tramp-file-name-handler-alist'.
1911 (tramp-send-command-and-check): Return t or nil. Remove all
1912 `zerop' checks, where called.
1913 (tramp-handle-set-file-modes)
1914 (tramp-do-copy-or-rename-file-directly)
1915 (tramp-handle-delete-directory, tramp-handle-delete-file)
1916 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
1917 (tramp-sh-file-name-handler, tramp-send-command-and-check)
1918 (tramp-get-remote-ln): Set tramp-autoload cookie.
1920 * net/tramp-fish.el: Remove file.
1922 2010-09-13 Daiki Ueno <ueno@unixuser.org>
1924 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
1925 buffer-file-name to avoid file-locking. (Bug#7026)
1927 2010-09-13 Julien Danjou <julien@danjou.info>
1929 * notifications.el (notifications-notify): Add support for
1930 image-path and sound-name.
1931 (notifications-specification-version): Add this variable.
1933 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
1937 2010-09-12 Leo <sdl.web@gmail.com>
1939 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
1940 (rcirc-completion-start): New variables.
1941 (rcirc-nick-completions): Rename to rcirc-completions.
1942 (rcirc-nick-completion-start-offset): Delete.
1943 (rcirc-completion-at-point): New function for constructing
1944 completion data for both nicks and irc commands. Add to
1945 completion-at-point-functions in rcirc mode.
1946 (rcirc-complete): Rename from rcirc-nick-complete; use
1947 rcirc-completion-at-point.
1948 (defun-rcirc-command): Update rcirc-client-commands.
1950 2010-09-11 Glenn Morris <rgm@gnu.org>
1952 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
1953 atomically, to avoid parallel build errors. (Bug#4196)
1955 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
1957 * progmodes/sql.el: Version 2.6
1958 (sql-dialect): Synonym for "sql-product".
1959 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1960 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
1961 Set "sql-buffer" to buffer name not buffer object so multiple sql
1962 interactive buffers work properly. Reverts misguided changes in
1964 (sql-comint): Make sure different buffer name is used if "*SQL*"
1965 buffer is for a different product.
1966 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
1968 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
1969 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
1970 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
1971 Accept new buffer name or prompt for one.
1972 (sql-port): Default to zero.
1973 (sql-comint-mysql): Handle "sql-port" as a numeric.
1974 (sql-port-history): Delete unused variable.
1975 (sql-get-login): Default "sql-port" to a number.
1976 (sql-product-alist): Correct Postgres prompt and terminator regexp.
1977 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
1978 "sqlite3" executables.
1979 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
1980 (sql-buffer-live-p): New function.
1981 (sql-mode-menu, sql-send-string): Use it.
1982 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
1984 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
1985 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
1987 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1989 * net/netrc.el (netrc-credentials): New convenience function.
1991 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1993 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
1994 to replace texinfo-font-lock-syntactic-keywords.
1995 (texinfo-mode): Use it.
1997 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
1998 Use syntax-propertize-function.
2000 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2001 replace sgml-font-lock-syntactic-keywords.
2002 (sgml-mode): Use it.
2004 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2005 since we don't use it.
2007 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2009 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2011 (vhdl-fontify-buffer): Adjust.
2013 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2014 replace tcl-font-lock-syntactic-keywords.
2017 * progmodes/simula.el (simula-syntax-propertize-function): New var to
2018 replace simula-font-lock-syntactic-keywords.
2019 (simula-mode): Use it.
2021 * progmodes/sh-script.el (sh-st-symbol): Remove.
2022 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2023 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2024 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2025 (sh-font-lock-paren): Set syntax-multiline.
2026 (sh-font-lock-syntactic-keywords): Remove.
2027 (sh-syntax-propertize-function): New function to replace it.
2030 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2031 Define while compiling.
2032 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2033 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2034 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2035 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2036 (ruby-here-doc-end-syntax): Only define when
2037 syntax-propertize is not available.
2038 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2040 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2041 (electric-indent-chars): Silence bytecompiler.
2042 (ruby-mode): Use prog-mode, syntax-propertize-function, and
2043 electric-indent-chars.
2045 * progmodes/python.el (python-syntax-propertize-function): New var to
2046 replace python-font-lock-syntactic-keywords.
2047 (python-mode): Use it.
2048 (python-quote-syntax): Simplify and adjust to new use.
2050 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2051 replace perl-font-lock-syntactic-keywords.
2052 (perl-syntax-propertize-special-constructs): New fun to replace
2053 perl-font-lock-special-syntactic-constructs.
2054 (perl-font-lock-syntactic-face-function): New fun.
2055 (perl-mode): Use it.
2057 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2058 to replace octave-font-lock-close-quotes.
2059 (octave-syntax-propertize-function): New function to replace
2060 octave-font-lock-syntactic-keywords.
2061 (octave-mode): Use it.
2063 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2064 replaces mixal-font-lock-syntactic-keywords.
2065 (mixal-mode): Use it.
2067 * progmodes/make-mode.el (makefile-syntax-propertize-function):
2068 New var; replaces makefile-font-lock-syntactic-keywords.
2069 (makefile-mode): Use it.
2070 (makefile-imake-mode): Adjust.
2072 * progmodes/js.el (js--regexp-literal): Define while compiling.
2073 (js-syntax-propertize-function): New var; replaces
2074 js-font-lock-syntactic-keywords.
2077 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
2078 replaces gdb-script-font-lock-syntactic-keywords.
2079 (gdb-script-mode): Use it.
2081 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
2082 (fortran--font-lock-syntactic-keywords): New var.
2083 (fortran-line-length): Update syntax-propertize-function and
2084 fortran--font-lock-syntactic-keywords.
2086 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
2088 * progmodes/cfengine.el (cfengine-mode):
2089 Use syntax-propertize-function.
2090 (cfengine-font-lock-syntactic-keywords): Remove.
2092 * progmodes/autoconf.el (autoconf-mode):
2093 Use syntax-propertize-function.
2094 (autoconf-font-lock-syntactic-keywords): Remove.
2096 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
2097 (ada-after-change-function, ada-initialize-syntax-table-properties)
2098 (ada-handle-syntax-table-properties): Only define when
2099 syntax-propertize is not available.
2100 (ada-mode): Use syntax-propertize-function.
2102 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
2103 (font-lock-fontify-syntactic-keywords-region): Move handling of
2104 font-lock-syntactically-fontified to...
2105 (font-lock-default-fontify-region): ...here.
2106 Let syntax-propertize-function take precedence.
2107 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
2109 * emacs-lisp/syntax.el (syntax-propertize-function)
2110 (syntax-propertize-chunk-size, syntax-propertize--done)
2111 (syntax-propertize-extend-region-functions): New vars.
2112 (syntax-propertize-wholelines, syntax-propertize-multiline)
2113 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
2114 (syntax-propertize): New functions.
2115 (syntax-propertize-rules): New macro.
2116 (syntax-ppss-flush-cache): Set syntax-propertize--done.
2117 (syntax-ppss): Call syntax-propertize.
2119 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
2121 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
2123 * textmodes/ispell.el (ispell-init-process): Improve comments.
2124 XEmacs compatibility changes regarding (add-hook) 'local option
2125 and (set-process-query-on-exit-flag).
2127 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
2129 * net/tramp-cache.el (tramp-parse-connection-properties):
2130 Set tramp-autoload cookie.
2132 2010-09-09 Glenn Morris <rgm@gnu.org>
2134 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
2135 (imagemagick-register-types): Doc fix.
2137 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2139 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
2141 * progmodes/js.el (require): Require is already "eval-and-compile".
2142 (js--re-search-forward): Avoid `eval'. Preserve the error data.
2143 (js--re-search-backward): Use js--re-search-forward.
2145 * progmodes/fortran.el (fortran-line-length): Don't recompute
2146 syntactic keywords redundantly a second time.
2148 * progmodes/ada-mode.el: Replace "(set '" with setq.
2149 (ada-mode): Simplify.
2150 (ada-create-case-exception, ada-adjust-case-interactive)
2151 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
2152 (ada-search-ignore-string-comment, ada-move-to-start)
2153 (ada-move-to-end): Use with-syntax-table.
2155 * font-lock.el (save-buffer-state): Remove `varlist' arg.
2156 (font-lock-unfontify-region, font-lock-default-fontify-region):
2157 Update usage correspondingly.
2158 (font-lock-fontify-syntactic-keywords-region):
2159 Set parse-sexp-lookup-properties buffer-locally here.
2160 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
2162 * simple.el (blink-matching-open): Don't burp if we can't find a match.
2164 2010-09-08 Glenn Morris <rgm@gnu.org>
2166 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
2167 Error if not compiled with -DBYTE_CODE_METER.
2169 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2170 Ignore dir-locals-file.
2172 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2174 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2176 (compilation-error-regexp-alist-alist): Rule out ": " in file names
2177 for the `gnu' messages.
2178 (compilation-set-skip-threshold): New command.
2179 (compilation-start): Use \' rather than $.
2180 (compilation-forget-errors): Use clrhash.
2182 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
2184 * textmodes/ispell.el (ispell-valid-dictionary-list):
2187 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
2189 Migrate to Tramp 2.2. Rearrange load dependencies.
2190 (Bug#1529, Bug#5448, Bug#5705)
2192 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
2193 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
2194 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2196 * net/tramp.el (top): Remove all other tramp-* loads except
2197 tramp-compat.el. Remove all changes to tramp-unload-hook for
2198 other tramp-* packages. Rearrange defun order. Change calls of
2199 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
2200 `tramp-compat-octal-to-decimal' to new function names.
2201 (tramp-terminal-type, tramp-initial-end-of-output)
2202 (tramp-methods, tramp-foreign-file-name-handler-alist)
2203 (tramp-tramp-file-p, tramp-completion-mode-p)
2204 (tramp-send-command-and-check, tramp-get-remote-path)
2205 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
2206 (tramp-shell-quote-argument): Set tramp-autoload cookie.
2207 (with-file-property, with-connection-property): Move to
2209 (tramp-local-call-process, tramp-decimal-to-octal)
2210 (tramp-octal-to-decimal): Move to tramp-compat.el.
2211 (tramp-handle-shell-command): Do not require 'shell.
2212 (tramp-compute-multi-hops): No special handling for tramp-gw-*
2214 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
2216 * net/tramp-cache.el (top): Require 'tramp. Add to
2217 `tramp-unload-hook'.
2218 (tramp-cache-data, tramp-get-file-property)
2219 (tramp-set-file-property, tramp-flush-file-property)
2220 (tramp-flush-directory-property, tramp-get-connection-property)
2221 (tramp-set-connection-property, tramp-flush-connection-property)
2222 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
2224 (with-file-property, with-connection-property): New defuns, moved
2226 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
2229 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
2230 (tramp-version): Set tramp-autoload cookie.
2232 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
2233 changes to tramp-unload-hook for other tramp-* packages. Add to
2234 `tramp-unload-hook'.
2235 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
2236 (tramp-compat-call-process): New defuns, moved from tramp.el.
2238 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
2239 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2240 to `tramp-unload-hook'. Change call of
2241 `tramp-compat-decimal-to-octal' to new function name.
2242 (tramp-fish-method): Make it a defconst.
2243 (tramp-fish-file-name-p): Make it a defsubst.
2244 (tramp-fish-method, tramp-fish-file-name-handler)
2245 (tramp-fish-file-name-p): Set tramp-autoload cookie.
2247 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
2248 `tramp-foreign-file-name-handler-alist'. Add to
2249 `tramp-unload-hook'.
2250 (tramp-ftp-method): Make it a defconst.
2251 (tramp-ftp-file-name-p): Make it a defsubst.
2252 (tramp-ftp-method, tramp-ftp-file-name-handler)
2253 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
2255 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
2256 `tramp-foreign-file-name-handler-alist'. Add to
2257 `tramp-unload-hook'. Change checks, whether package can be
2259 (tramp-gvfs-file-name-p): Make it a defsubst.
2260 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
2261 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
2262 (tramp-gvfs-handle-file-directory-p): New defun.
2263 (tramp-gvfs-file-name-handler-alist): Use it.
2265 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
2266 `tramp-foreign-file-name-handler-alist'. Add to
2267 `tramp-unload-hook'.
2268 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
2269 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
2271 (tramp-gw-tunnel-method, tramp-gw-socks-method)
2272 (tramp-gw-open-connection): Set tramp-autoload cookie.
2274 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
2275 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2276 to `tramp-unload-hook'. Change checks, whether package can be
2278 (tramp-imap-file-name-p): Make it a defsubst.
2279 (tramp-imap-method, tramp-imaps-method)
2280 (tramp-imap-file-name-handler)
2281 (tramp-imap-file-name-p): Set tramp-autoload cookie.
2283 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
2284 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2285 to `tramp-unload-hook'. Change checks, whether package can be
2286 loaded. Change call of `tramp-compat-decimal-to-octal' to new
2288 (tramp-smb-tunnel-method): Make it a defconst.
2289 (tramp-smb-file-name-p): Make it a defsubst.
2290 (tramp-smb-method, tramp-smb-file-name-handler)
2291 (tramp-smb-file-name-p): Set tramp-autoload cookie.
2293 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
2294 (tramp-uuencode-region): Set tramp-autoload cookie.
2296 * net/trampver.el (top) Add to `tramp-unload-hook'.
2297 (tramp-version, tramp-bug-report-address): Set tramp-autoload
2298 cookie. Update release number.
2300 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
2302 * textmodes/ispell.el (ispell-start-process): Make sure original
2303 arg list is properly initialized (Bug#6993, Bug#6994).
2305 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2307 * files.el (directory-abbrev-alist): Use \` as default regexp.
2309 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
2310 chars like - or ] (bug#6984).
2311 (rx-any-condense-range): Explode 2-char ranges.
2313 2010-09-06 Glenn Morris <rgm@gnu.org>
2315 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
2317 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2319 * textmodes/bibtex.el:
2320 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
2322 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2324 * net/imap.el (imap-message-map): Remove optional buffer parameter,
2325 since no callers use it.
2326 (imap-message-get): Ditto.
2327 (imap-message-put): Ditto.
2328 (imap-mailbox-map): Ditto.
2329 (imap-mailbox-put): Ditto.
2330 (imap-mailbox-get): Ditto.
2331 (imap-mailbox-get): Revert last change for this function.
2333 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2335 * net/imap.el (imap-fetch-safe): Remove function, and alter all
2336 callers to use `imap-fetch' instead. According to the comments, this
2337 should be safe, since all other IMAP clients use the 1:* syntax.
2338 (imap-enable-exchange-bug-workaround): Remove.
2339 (imap-debug): Remove -- doesn't seem very useful.
2341 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2343 * net/imap.el (imap-log): New convenience function used throughout
2344 instead of repeating the same code all over the place.
2346 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
2348 * mouse.el (mouse-save-then-kill): Save region to kill-ring
2349 when mouse-drag-copy-region is non-nil (Bug#6956).
2351 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
2353 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
2354 Improve regexps (Bug#6987).
2355 (dired-sort-toggle): Search more robustly for -t flag.
2357 * files.el (get-free-disk-space): Search more robustly for
2358 "available" column. Suggested by Ehud Karni
2359 <ehud@unix.mvs.co.il>.
2361 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
2363 * international/uni-bidi.el:
2364 * international/uni-category.el:
2365 * international/uni-combining.el:
2366 * international/uni-decimal.el:
2367 * international/uni-mirrored.el:
2368 * international/uni-name.el: Regenerate.
2370 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2372 * electric.el (electric-indent-post-self-insert-function):
2373 Don't reindent with a sloppy indentation function.
2375 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
2376 border case in change-log-mode.
2378 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
2380 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2381 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
2382 Recognize leading tab in gcc-include regexp. Ignore names with
2383 leading "from" or "in" in gnu regexp (Bug#6937).
2385 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2387 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
2388 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
2389 (ispell-start-process): Avoid setq and simplify logic.
2390 (ispell-init-process): Setup kill-buffer-hook locally when needed.
2391 (kill-buffer-hook): Don't use it globally with code that uses
2392 expand-file-name since that may call kill-buffer via
2393 code_conversion_restore.
2395 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
2397 * emacs-lisp/package.el (package-directory-list): Only call
2398 file-name-nondirectory on a string.
2400 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2402 * emacs-lisp/package.el (package--download-one-archive):
2403 Ensure that archive-contents is valid before saving it.
2404 (package-activate-1, package-mark-obsolete, define-package)
2405 (package-compute-transaction, package-list-maybe-add): Use push.
2407 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2409 Use SMIE's blink-paren for octave-mode.
2410 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
2411 Backslashes do not escape single-quotes, single-quotes do.
2412 (octave-block-else-regexp, octave-block-end-regexp)
2413 (octave-block-match-alist): Remove.
2414 (octave-smie-bnf-table): New var, with old content.
2415 (octave-smie-op-levels): Use it.
2416 (octave-smie-closer-alist): New var.
2417 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
2418 (octave-blink-matching-block-open): Remove.
2419 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2420 (octave-electric-space): Let self-insert-command run expand-abbrev and
2423 * electric.el (electricity): New group.
2424 (electric-indent-chars): New var.
2425 (electric-indent-post-self-insert-function): New fun.
2426 (electric-indent-mode): New minor mode.
2427 (electric-pair-skip-self): New custom.
2428 (electric-pair-post-self-insert-function): New function.
2429 (electric-pair-mode): New minor mode.
2431 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
2432 calcAlg-blink-matching-open.
2433 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
2434 (calc-do-alg-entry): Only touch the part of the keymap that varies.
2435 Use the new blink-matching-check-function.
2437 Provide blink-matching support to SMIE.
2438 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
2439 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
2440 (smie-blink-matching-check, smie-blink-matching-open): New functions.
2442 * simple.el (newline): Fix last change to properly remove itself from
2445 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2447 * simple.el (newline): Eliminate optimization.
2448 Use post-self-insert-hook to set hard-newline and things before
2449 running post-self-insert-hook.
2450 (blink-matching-check-mismatch): New function.
2451 (blink-matching-check-function): New variable.
2452 (blink-matching-open): Use them.
2453 Skip back forward over prefix chars skipped by forward-sexp.
2454 Don't check if the parens are backslash escaped.
2455 (blink-paren-post-self-insert-function): Check backslash escaping here.
2457 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2459 * emacs-lisp/package.el (package-menu-mode-map):
2460 Change package-menu-revert bindings to revert-buffer.
2461 (package-menu-mode): Set revert-buffer-function.
2462 (package-menu-revert): Doc fix.
2464 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
2466 * textmodes/ispell.el (ispell-init-process): Use "~/" as
2467 `default-directory' unless using Ispell per-directory personal
2468 dictionaries and not in a mini-buffer under XEmacs.
2469 (kill-buffer-hook): Do not kill ispell process on exit when
2470 `ispell-process-directory' is "~/". (Bug#6143)
2472 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
2474 * simple.el (kill-new): Call interprogram-cut-function with only
2477 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
2478 Remove cut buffer from error message.
2480 * term/x-win.el (x-select-text):
2481 * term/pc-win.el (x-selection-value):
2482 * term/ns-win.el (x-selection-value):
2483 * eshell/em-term.el:
2484 * w32-fns.el (x-get-selection-value):
2485 * mouse-sel.el (mouse-sel-set-selection-function):
2486 * frame.el (display-selections-p): Remove cut-buffer in documentation.
2488 * term/x-win.el: Update documentation for x-last-selected-text-*.
2489 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
2490 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
2491 (x-select-text): Remove argument PUSH, update documentation. Remove
2493 (x-selection-value-internal): Was previously x-selection-value.
2494 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
2495 Update documentation, remove cut-buffer code. Call
2496 x-selection-value-internal.
2497 (x-clipboard-yank): Call x-selection-value-internal.
2498 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
2500 * term/pc-win.el (x-last-selected-text):
2501 x-cut-buffer-or-selection-value renamed to x-selection-value
2502 (x-select-text): Remove argument PUSH, update documentation.
2504 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
2505 x-cut-buffer-or-selection-value renamed to x-selection-value
2506 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
2507 (x-select-text): Remove argument PUSH, update documentation.
2509 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
2511 * w32-fns.el (x-last-selected-text):
2512 x-cut-buffer-or-selection-value renamed to x-selection-value.
2513 (x-cut-buffer-max): Remove.
2514 (x-select-text): Remove argument PUSH, update documentation.
2516 * simple.el (interprogram-cut-function): Remove mention of PUSH.
2518 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
2520 * mouse-sel.el (mouse-sel-get-selection-function):
2521 x-cut-buffer-or-selection-value renamed to x-selection-value.
2522 (x-select-text): Remove optional push.
2524 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2526 * simple.el (blink-paren-function): Move from C to here.
2527 (blink-paren-post-self-insert-function): New function.
2528 (post-self-insert-hook): Use it.
2530 * emacs-lisp/pcase.el (pcase-split-memq):
2531 Fix overenthusiastic optimisation.
2532 (pcase-u1): Handle the case of a lambda pred.
2534 2010-08-31 Kenichi Handa <handa@m17n.org>
2536 * international/mule-cmds.el (standard-display-european-internal):
2537 Setup standard-display-table for 8-bit characters by storing 8-bit
2538 characters in the element vector.
2540 * disp-table.el (standard-display-8bit):
2541 Setup standard-display-table for 8-bit characters by storing 8-bit
2542 characters in the element vector.
2543 (standard-display-european): Likewise.
2545 2010-08-31 Masatake YAMATO <yamato@redhat.com>
2547 * textmodes/nroff-mode.el (nroff-view): New command.
2548 (nroff-mode-map): Bind it to C-c C-c.
2550 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
2552 * emacs-lisp/smie.el (smie-down-list): New command.
2554 Remove old indentation and navigation code on octave-mode.
2555 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
2556 smie-down-list rather than add a binding for octave-down-block.
2557 (octave-mark-block, octave-blink-matching-block-open):
2558 Rely on forward-sexp-function.
2559 (octave-fill-paragraph): Don't narrow, so you can use
2560 indent-according-to-mode.
2561 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
2562 (octave-in-block-p, octave-re-search-forward-kw)
2563 (octave-re-search-backward-kw, octave-indent-calculate)
2564 (octave-end-as-array-index-p, octave-block-end-offset)
2565 (octave-scan-blocks, octave-forward-block, octave-backward-block)
2566 (octave-down-block, octave-backward-up-block, octave-up-block)
2567 (octave-before-magic-comment-p, octave-indent-line): Remove.
2569 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
2571 * emacs-lisp/package.el (package--read-archive-file): Just use
2572 `read', to avoid copying an additional string.
2573 (package-menu-mode): Set header-line-format here.
2574 (package-menu-refresh, package-menu-revert): Signal an error if
2575 not in the Package Menu.
2576 (package-menu-package-list): New var.
2577 (package--generate-package-list): Operate on the current buffer;
2578 don't assume that it is *Packages*, since the user may rename it.
2579 Allow persistent package listings and sort keys using
2580 package-menu-package-list and package-menu-package-sort-key.
2581 (package-menu--version-predicate): Fix version calculation.
2582 (package-menu-sort-by-column): Don't select the window.
2583 (package--list-packages): Create the *Packages* buffer.
2584 Set package-menu-package-list-key.
2585 (list-packages): Sorting by status is now the default.
2586 (package-buffer-info): Use match-string-no-properties.
2587 (define-package): Add a &rest argument for future proofing, but
2589 (package-install-from-buffer, package-install-buffer-internal):
2590 Merge into a single function, package-install-from-buffer.
2591 (package-install-file): Change caller.
2593 * finder.el: Load finder-inf using `require'.
2594 (finder-list-matches): Sorting by status is now the default.
2595 (finder-compile-keywords): Simpify printing.
2597 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2599 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2600 (octave-mode-map): Remove special bindings for forward/backward-block
2601 and octave-backward-up-block. Use smie-close-block.
2602 (octave-continuation-marker-regexp): New var.
2603 (octave-continuation-regexp): Use it.
2604 (octave-operator-table, octave-smie-op-levels)
2605 (octave-operator-regexp, octave-smie-indent-rules): New vars.
2606 (octave-smie-backward-token, octave-smie-forward-token): New funs.
2607 (octave-mode): Use SMIE.
2608 (octave-close-block): Delete.
2610 2010-08-30 Eli Zaretskii <eliz@gnu.org>
2612 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
2613 CLIPBOARD, not in PRIMARY. (Bug#6944)
2615 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2617 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
2619 (smie-indent-column): Allow indirection through variables.
2621 * composite.el (save-buffer-state): Delete, unused.
2622 * font-lock.el (save-buffer-state): Use with-silent-modifications.
2623 (font-lock-default-fontify-region): Use with-syntax-table.
2624 * jit-lock.el (with-buffer-unmodified): Remove.
2625 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
2627 Use `declare' in defmacros.
2628 * window.el (save-selected-window):
2629 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
2630 * progmodes/python.el (def-python-skeleton):
2631 * net/dbus.el (dbus-ignore-errors):
2632 * jka-cmpr-hook.el (with-auto-compression-mode):
2633 * international/mule.el (with-category-table):
2634 * emacs-lisp/timer.el (with-timeout):
2635 * emacs-lisp/lisp-mnt.el (lm-with-file):
2636 * emacs-lisp/eieio.el (with-slots):
2637 * emacs-lisp/easymenu.el (easy-menu-define):
2638 * emacs-lisp/debug.el (debugger-env-macro):
2639 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
2640 (Multiple-value-call, Multiple-value-prog1):
2641 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
2642 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
2643 edebug rule to definition.
2644 * emacs-lisp/lisp-mode.el (save-selected-window)
2645 (with-current-buffer, combine-after-change-calls)
2646 (with-output-to-string, with-temp-file, with-temp-buffer)
2647 (with-temp-message, with-syntax-table, read-if, eval-after-load)
2648 (dolist, dotimes, when, unless):
2649 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
2651 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2653 * finder.el: Require `package'.
2654 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
2655 (finder-package-info): Var deleted.
2656 (finder-keywords-hash, finder--builtins-alist): New vars.
2657 (finder-compile-keywords): Compute package--builtins and
2658 finder-keywords-hash instead of finder-keywords-hash, respecting
2659 the "Package" header.
2660 (finder-unknown-keywords, finder-list-matches):
2661 Use finder-keywords-hash and package--list-packages.
2662 (finder-mode): Don't set font-lock-defaults.
2663 (finder-exit): We don't use "*Finder-package*" and "*Finder
2664 Category*" buffers anymore.
2666 * emacs-lisp/package.el (package--builtins-base): Var deleted.
2667 (package--builtins): Set default value to nil.
2668 (package-initialize): Load precomputed value of package--builtins
2670 (package-alist, package-compute-transaction)
2671 (package-download-transaction): Improve docstring.
2672 (package-read-all-archive-contents): Do not change
2673 package--builtins here.
2674 (list-packages): Make package-list-packages an alias for this.
2675 Sort by status by default.
2676 (package--list-packages): Add optional PACKAGES arg.
2677 (describe-package-1): Use font-lock-face property. For built-in
2678 packages, insert file commentary.
2679 (package--generate-package-list): Rename from
2680 package-list-packages-internal; all callers changed. Add optional
2681 PACKAGES arg. Add alphabetical sort fallbacks.
2682 (package-menu--version-predicate, package-menu--status-predicate)
2683 (package-menu--description-predicate)
2684 (package-menu--name-predicate): New functions.
2686 * info.el (Info-finder-find-node): Search package-alist instead of
2687 finder-package-info.
2689 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2691 * subr.el (version-regexp-alist): Don't use "a" and "b" for
2693 (version-to-list): Handle versions like "10.3d".
2695 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2697 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
2698 (macroexp-accumulate): Use `declare'.
2700 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2702 * whitespace.el (whitespace-style): Adjust type declaration.
2704 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
2706 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2707 empty argument to gvfs-copy.
2709 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2711 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
2712 handle new TRASH arg of `delete-file'.
2714 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
2716 * net/tramp.el (tramp-handle-insert-directory): Don't use
2717 `forward-word', its default syntax could be changed.
2719 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2720 Michael Albinus <michael.albinus@gmx.de>
2722 Implement compression for inline methods.
2724 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
2725 (tramp-copy-size-limit): Allow also nil.
2726 (tramp-inline-compress-commands): New defconst.
2727 (tramp-find-inline-compress, tramp-get-inline-compress)
2728 (tramp-get-inline-coding): New defuns.
2729 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
2730 replaced by `tramp-get-inline-coding'.
2731 (tramp-handle-file-local-copy, tramp-handle-write-region)
2732 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
2734 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
2736 Detect ssh 'ControlMaster' argument automatically in some cases.
2738 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
2739 (tramp-default-method): Use it.
2741 2010-08-26 Karel Klíč <kklic@redhat.com>
2743 * net/tramp.el (tramp-file-name-for-operation):
2744 Add file-selinux-context.
2746 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
2748 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
2750 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2752 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
2755 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
2757 * progmodes/js.el: Make indentation more customizable (Bug#6914).
2758 (js-paren-indent-offset, js-square-indent-offset)
2759 (js-curly-indent-offset): New options.
2760 (js--proper-indentation): Use them.
2762 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
2764 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
2765 instead of inspecting font-lock properties (Bug#6916).
2767 2010-08-26 David Reitter <david.reitter@gmail.com>
2769 * server.el (server-visit-files): Run pre-command-hook and
2770 post-command-hook for each buffer while it is current (Bug#6910).
2771 (server-execute): Do not run hooks here.
2773 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
2775 Sync with Tramp 2.1.19.
2777 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2778 (tramp-reporter-dump-variable, tramp-load-report-modules)
2779 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
2780 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
2782 * net/tramp-compat.el (top): Do not autoload
2783 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
2784 only when `start-file-process' is not bound.
2785 (byte-compile-not-obsolete-vars): Define if not bound.
2786 (tramp-compat-funcall): New defmacro.
2787 (tramp-compat-line-beginning-position)
2788 (tramp-compat-line-end-position)
2789 (tramp-compat-temporary-file-directory)
2790 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
2791 (tramp-compat-copy-file, tramp-compat-copy-directory)
2792 (tramp-compat-delete-file, tramp-compat-delete-directory)
2793 (tramp-compat-number-sequence, tramp-compat-process-running-p):
2795 (tramp-advice-file-expand-wildcards): Do not use
2796 `tramp-handle-file-remote-p'.
2797 (tramp-compat-make-temp-file): Simplify fallback implementation.
2798 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2799 (tramp-compat-copy-tree): Remove function.
2800 (tramp-compat-delete-file): New defun.
2801 (tramp-compat-delete-directory): Provide implementation for older
2803 (tramp-compat-file-attributes): Handle only
2804 `wrong-number-of-arguments' error.
2806 * net/tramp-fish.el (tramp-fish-handle-copy-file):
2807 Add PRESERVE_SELINUX_CONTEXT.
2808 (tramp-fish-handle-delete-file): Add TRASH arg.
2809 (tramp-fish-handle-directory-files-and-attributes):
2810 Do not use `tramp-fish-handle-file-attributes.
2811 (tramp-fish-handle-file-local-copy)
2812 (tramp-fish-handle-insert-file-contents)
2813 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
2815 * net/tramp-gvfs.el (top): Require url-util.
2816 (tramp-gvfs-mount-point): Remove.
2817 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
2818 and `set-file-selinux-context'.
2819 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
2820 (tramp-gvfs-handle-file-selinux-context)
2821 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
2822 (with-tramp-dbus-call-method): Format trace message.
2823 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
2824 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
2825 Implement backup call, when operation on local files fails.
2826 Use progress reporter. Flush properties of changed files.
2827 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
2828 `tramp-compat-delete-file'.
2829 (tramp-gvfs-handle-expand-file-name): Expand "~/".
2830 (tramp-gvfs-handle-make-directory): Make more traces.
2831 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
2832 (tramp-gvfs-url-file-name): Hexify file name in url.
2833 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
2834 into account for the resulting file name.
2835 (tramp-gvfs-handler-askquestion): Preserve current message, in
2836 order to let progress reporter continue afterwards. (Bug#6257)
2837 Return dummy mountpoint, when the answer is "no".
2838 See `tramp-gvfs-maybe-open-connection'.
2839 (tramp-gvfs-handler-mounted-unmounted)
2840 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
2841 attribute "default_location". Set "prefix" property.
2842 Handle default-location.
2843 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
2844 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
2845 exists. Raise an error, if not (due to a corresponding answer
2846 "no" in interactive questions, for example).
2847 Use `tramp-compat-funcall'.
2849 * net/tramp-imap.el (top): Autoload `epg-make-context'.
2850 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2851 (tramp-imap-do-copy-or-rename-file)
2852 (tramp-imap-handle-insert-file-contents)
2853 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
2854 (tramp-imap-handle-delete-file): Add TRASH arg.
2856 * net/tramp-smb.el (tramp-smb-handle-copy-file):
2857 Add PRESERVE-SELINUX-CONTEXT.
2858 (tramp-smb-handle-copy-file)
2859 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
2860 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
2861 Use `with-progress-reporter'.
2862 (tramp-smb-handle-delete-file): Add TRASH arg.
2864 * net/tramp.el (tramp-methods): Move hostname to the end in all
2865 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
2867 (tramp-verbose): Describe verbose level 9.
2868 (tramp-completion-function-alist)
2869 (tramp-file-name-regexp, tramp-chunksize)
2870 (tramp-local-coding-commands, tramp-remote-coding-commands)
2871 (with-connection-property, tramp-completion-mode-p)
2872 (tramp-action-process-alive, tramp-action-out-of-band)
2873 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
2874 (tramp-exists-file-name-handler): Fix docstring.
2875 (tramp-remote-process-environment): Use `format' instead of
2876 `concat'. Protect version string by apostroph.
2877 (tramp-shell-prompt-pattern): Do not use a shy group in case of
2879 (tramp-file-name-regexp-unified)
2880 (tramp-completion-file-name-regexp-unified): On W32 systems, do
2881 not regard the volume letter as remote filename. (Bug#5447)
2882 (tramp-perl-file-attributes)
2883 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2884 (tramp-vc-registered-read-file-names): Read input as
2885 here-document, otherwise the command could exceed maximum length
2887 (tramp-file-name-handler-alist): Add `file-selinux-context' and
2888 `set-file-selinux-context'.
2889 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
2890 backtrace functions.
2891 (tramp-error-with-buffer): Don't show the connection buffer when
2892 we are in completion mode.
2893 (tramp-progress-reporter-update, tramp-remote-selinux-p)
2894 (tramp-handle-file-selinux-context)
2895 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
2896 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
2898 (with-progress-reporter): New defmacro.
2899 (tramp-debug-outline-regexp): New defconst.
2900 (top, tramp-rfn-eshadow-setup-minibuffer)
2901 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
2902 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
2903 (tramp-completion-mode-p, tramp-check-for-regexp)
2904 (tramp-open-connection-setup-interactive-shell)
2905 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
2906 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
2907 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
2908 Use `tramp-compat-funcall'.
2909 (tramp-handle-make-symbolic-link): Flush file properties.
2910 (tramp-handle-load, tramp-handle-file-local-copy)
2911 (tramp-handle-insert-file-contents, tramp-handle-write-region)
2912 (tramp-handle-vc-registered, tramp-maybe-send-script)
2913 (tramp-find-shell): Use `with-progress-reporter'.
2914 (tramp-do-file-attributes-with-stat): Add space in format string,
2915 in order to work around a bug in pdksh. Reported by Gilles Pion
2917 (tramp-handle-verify-visited-file-modtime): Do not send a command
2918 when the connection is not established.
2919 (tramp-handle-set-file-times): Simplify the check for utc.
2920 (tramp-handle-directory-files-and-attributes)
2921 (tramp-get-remote-path): Use `copy-tree'.
2922 (tramp-completion-handle-file-name-all-completions): Ensure, that
2923 non remote files are still checked. Oops.
2924 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
2925 Handle PRESERVE-SELINUX-CONTEXT.
2926 (tramp-do-copy-or-rename-file): Add progress reporter.
2927 (tramp-do-copy-or-rename-file-directly): Do not use
2928 `tramp-handle-file-remote-p'.
2929 (tramp-do-copy-or-rename-file-out-of-band):
2930 Use `tramp-compat-delete-directory'.
2931 (tramp-do-copy-or-rename-file-out-of-band)
2932 (tramp-compute-multi-hops, tramp-maybe-open-connection):
2933 Use `format-spec-make'.
2934 (tramp-handle-delete-file): Add TRASH arg.
2935 (tramp-handle-dired-uncache): Flush directory cache, not only file
2937 (tramp-handle-expand-file-name)
2938 (tramp-completion-handle-file-name-all-completions)
2939 (tramp-completion-handle-file-name-completion):
2940 Use `tramp-connectable-p'.
2941 (tramp-handle-start-file-process): Set connection property "vec".
2942 Use it, in order to invalidate file caches. Check only for
2943 `remote-tty' process property.
2944 Implement tty setting. (Bug#4604, Bug#6360)
2945 (tramp-file-name-for-operation): Add `call-process-region' and
2946 `set-file-selinux-context'.
2947 (tramp-find-foreign-file-name-handler)
2948 (tramp-advice-make-auto-save-file-name)
2949 (tramp-set-auto-save-file-modes): Remove superfluous check for
2950 `stringp'. This is done inside `tramp-tramp-file-p'.
2951 (tramp-file-name-handler): Trace 'quit. Catch the error for some
2952 operations when we are in completion mode. This gives the user
2953 the chance to correct the file name in the minibuffer.
2954 (tramp-completion-mode-p): Use `non-essential'.
2955 (tramp-handle-file-name-all-completions): Backward/ XEmacs
2956 compatibility: Use `completion-ignore-case' if
2957 `read-file-name-completion-ignore-case' does not exist.
2958 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
2959 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2961 (tramp-action-password): Hide password prompt before next run.
2962 (tramp-process-actions): Widen connection buffer for the trace.
2963 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2964 process property. Trace stty settings if `tramp-verbose' >= 9.
2965 Apply workaround for IRIX64 bug. Move argument of last
2966 `tramp-send-command' where it belongs to.
2967 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2968 front of `login-args'.
2969 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
2970 on "/dev/null" instead of "/".
2971 (tramp-get-ls-command-with-dired): Make test for "--dired"
2973 (tramp-set-auto-save-file-modes): Adapt version check.
2974 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
2975 (tramp-handle-process-file): Call the program in a subshell, in
2976 order to preserve working directory.
2977 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
2978 `tramp-remote-sh' from `tramp-methods'.
2979 (tramp-get-ls-command): Make test for "--color=never" stronger.
2980 (tramp-check-for-regexp): Use (forward-line 1).
2982 * net/trampver.el: Update release number.
2984 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2986 * help.el (help-map): Bind `C-h P' to describe-package.
2988 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
2990 * emacs-lisp/package.el (package-refresh-contents): Catch errors
2991 when downloading archives.
2992 (describe-package-1): Add package commentary.
2993 (package-install-button-action): New function.
2994 (package-menu-mode-map): Bind ? to package-menu-describe-package.
2995 (package-menu-view-commentary): Function removed.
2996 (package-list-packages-internal): Hide the `package' package too.
2998 2010-08-25 Kenichi Handa <handa@m17n.org>
3000 * language/misc-lang.el ("Arabic"): New language environment.
3001 Setup composition-function-table for Arabic characters.
3003 * international/fontset.el (setup-default-fontset): Fix typo for
3004 arabic OTF spec (fini->fina).
3006 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
3008 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3011 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3013 * whitespace.el: Allow cleaning up blanks without blank
3014 visualization (Bug#6651). Adjust help window for
3015 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3016 instead of whitespace-line-column (from EmacsWiki). New version
3018 (whitespace-style): Added new value 'face. Adjust docstring.
3019 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3020 foreground property face.
3021 (whitespace-line-column): Adjust docstring and type declaration.
3022 (whitespace-style-value-list, whitespace-toggle-option-alist)
3023 (whitespace-help-text): Adjust const initialization.
3024 (whitespace-toggle-options, global-whitespace-toggle-options):
3026 (whitespace-display-window, whitespace-interactive-char)
3027 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3028 (whitespace-help-scroll): New fun.
3030 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3032 * emacs-lisp/package.el (list-packages): Alias for
3033 package-list-packages.
3035 2010-08-24 Kevin Ryde <user42@zip.com.au>
3037 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3040 * progmodes/ruby-mode.el (ruby): Add defgroup.
3042 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3044 * progmodes/python.el: Add Ipython support (Bug#5390).
3045 (python-shell-prompt-alist)
3046 (python-shell-continuation-prompt-alist): New options.
3047 (python--set-prompt-regexp): New function.
3048 (inferior-python-mode, run-python, python-shell): Require
3049 ansi-color. Use python--set-prompt-regexp to set the comint
3050 prompt based on the Python interpreter.
3051 (python--prompt-regexp): New var.
3052 (python-check-comint-prompt)
3053 (python-comint-output-filter-function): Use it.
3054 (run-python): Use a pipe (Bug#5694).
3056 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
3058 * progmodes/python.el (python-send-region): Send a different
3059 Python command if Ipython is in use.
3060 (python-check-version): Use a Python command to find the version.
3062 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3064 * mouse.el (mouse-yank-primary): Avoid setting primary when
3065 deactivating the mark (Bug#6872).
3067 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
3069 * progmodes/python.el (python-block-pairs): Allow use of "finally"
3070 with "else" (Bug#3991).
3072 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
3074 * net/dbus.el: Accept UNIX domain sockets as bus address.
3075 (top): Don't initialize `dbus-registered-objects-table' anymore,
3076 this is done in dbusbind,c.
3077 (dbus-check-event): Adapt test for bus.
3078 (dbus-return-values-table, dbus-unregister-service)
3079 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
3082 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
3084 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
3086 2010-08-22 Juri Linkov <juri@jurta.org>
3088 * simple.el (read-extended-command): New function with the logic
3089 for `completing-read' moved to Elisp from `execute-extended-command'.
3090 Use `function-called-at-point' in `minibuffer-default-add-function'
3091 to get a command name for M-n (bug#5364, bug#5214).
3093 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3095 * startup.el (command-line-1): Issue warning for ignored arguments
3096 --unibyte, etc (Bug#6886).
3098 2010-08-22 Leo <sdl.web@gmail.com>
3100 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
3101 (ignore, bright, dim, keyword): Split list of nicknames before
3102 passing to rcirc-add-or-remove (Bug#6894).
3104 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3106 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
3108 2010-08-22 Leo <sdl.web@gmail.com>
3110 Fix buffer-list rename&refresh after killing a buffer in ido.
3111 * ido.el: Revert Óscar's.
3112 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
3113 Remember the buffers at head, rather than their name.
3114 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
3116 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
3117 Stefan Monnier <monnier@iro.umontreal.ca>
3119 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
3120 extra backslash added to each line (bug#6890).
3122 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3124 * subr.el (read-key): Don't echo keystrokes (bug#6883).
3126 2010-08-22 Glenn Morris <rgm@gnu.org>
3128 * menu-bar.el (menu-bar-games-menu): Add landmark.
3130 2010-08-22 Glenn Morris <rgm@gnu.org>
3132 * align.el (align-regexp): Make group and spacing arguments
3133 use the interactive defaults when non-interactive. (Bug#6698)
3135 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
3136 expansion, so as not to need sendmail.
3137 (mail-text-start): Remove declaration.
3138 (rmail-retry-failure): Require sendmail.
3140 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3142 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
3144 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
3146 * progmodes/flymake.el (flymake-start-syntax-check-process):
3147 Use `start-file-process' in order to let it run also on remote hosts.
3149 2010-08-22 Kenichi Handa <handa@m17n.org>
3151 * files.el: Add `word-wrap' as safe local variable.
3153 2010-08-22 Glenn Morris <rgm@gnu.org>
3155 * woman.el (woman-translate): Case matters. (Bug#6849)
3157 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3159 * simple.el (kill-region): Doc fix (Bug#6787).
3161 2010-08-22 Glenn Morris <rgm@gnu.org>
3163 * calendar/diary-lib.el (diary-header-line-format):
3164 Fit it to the window, not the frame.
3166 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
3168 * subr.el (ignore-errors): Add debug declaration.
3170 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
3172 * whitespace.el (whitespace-color-off): Remove post-command-hook
3175 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3177 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
3179 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3181 * cus-edit.el (custom-group-value-create): Add extra newline
3182 before end line (Bug#6876).
3184 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3186 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
3187 when extending it. Before killing on the second click, check if
3188 the buffer is the correct one. Doc fix.
3189 (mouse-secondary-save-then-kill): Allow usage without first
3190 calling mouse-start-secondary, by defaulting to point. Don't save
3191 an empty secondary selection. Doc fix.
3193 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3195 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
3196 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
3198 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
3199 Adjust initialization.
3200 (whitespace-bob-marker, whitespace-eob-marker)
3201 (whitespace-buffer-changed): New vars.
3202 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
3203 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3204 (whitespace-post-command-hook, whitespace-display-char-on):
3206 (whitespace-looking-back, whitespace-buffer-changed): New funs.
3207 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
3209 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
3211 * files.el (locate-file-completion-table): Only list the .el and .elc
3212 extensions if there's no other choice (bug#5955).
3214 * facemenu.el (facemenu-self-insert-data): New var.
3215 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
3217 (facemenu-add-face): Use them.
3219 * simple.el (blink-matching-open): Obey forward-sexp-function.
3221 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
3223 * simple.el (prog-mode-map): New var.
3224 (prog-indent-sexp): New command.
3226 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
3228 * progmodes/prolog.el (smie): Require.
3230 * emacs-lisp/smie.el (smie-default-backward-token)
3231 (smie-default-forward-token): Strip properties.
3232 (smie-next-sexp): Be more careful with associative operators.
3233 (smie-forward-sexp-command): Generalize.
3234 (smie-backward-sexp-command): Simplify.
3235 (smie-closer-alist): New var.
3236 (smie-close-block): New command.
3237 (smie-indent-debug-log): New var.
3238 (smie-indent-offset-rule): Add a few more cases.
3239 (smie-indent-column): New function.
3240 (smie-indent-after-keyword): Use it.
3241 (smie-indent-keyword): Use it.
3242 Fix up the opener code's point position.
3243 (smie-indent-comment): Only applies at BOL.
3244 (smie-indent-debug): New command.
3246 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
3247 declarations that are useful before running the macro.
3249 2010-08-18 Joakim Verona <joakim@verona.se>
3251 * image.el (imagemagick-types-inhibit): New variable.
3252 (imagemagick-register-types): New function.
3253 * image-mode.el (image-transform-properties): New function.
3254 (image-transform-set-scale, image-transform-fit-to-height)
3255 (image-transform-set-rotation, image-transform-set-resize)
3256 (image-transform-fit-to-width, image-transform-fit-to-height):
3258 (image-toggle-display-image): Support image transforms.
3260 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
3262 * image.el (create-animated-image): Don't add heuristic mask to image
3265 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
3267 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
3268 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
3270 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
3272 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
3274 Font-lock '...' strings, plus various simplifications and fixes.
3275 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3276 (octave-font-lock-close-quotes): New function.
3277 (octave-font-lock-syntactic-keywords): New var.
3278 (octave-mode): Use it. Set beginning-of-defun-function.
3279 (octave-mode-map): Don't override the <foo>-defun commands.
3280 (octave-mode-menu): Pass it directly to easy-menu-define;
3281 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
3282 (octave-block-match-alist): Fix up last change so that
3283 octave-close-block uses the more specific keyword.
3284 (info-lookup-mode): Silence byte-compiler.
3285 (octave-beginning-of-defun): Not interactive any more.
3287 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
3288 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
3289 (octave-completion-at-point-function): Make sure point is within
3291 (octave-reindent-then-newline-and-indent):
3292 Use reindent-then-newline-and-indent.
3293 (octave-add-octave-menu): Remove.
3295 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
3297 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
3298 (report-emacs-bug-can-use-xdg-email): New functions.
3299 (report-emacs-bug): Set can-xdg-email to result of
3300 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
3301 \C-cm to report-emacs-bug-insert-to-mailer and add help text
3304 * net/browse-url.el (browse-url-default-browser): Add cond
3305 for browse-url-xdg-open.
3306 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
3308 2010-08-17 Glenn Morris <rgm@gnu.org>
3310 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
3311 (c-fontify-recorded-types-and-refs): Define for compiler.
3312 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
3315 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
3318 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
3320 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
3322 (tramp-handle-process-file): Call the program in a subshell, in
3323 order to preserve working directory.
3324 (tramp-action-password): Hide password prompt before next run.
3325 (tramp-process-actions): Widen connection buffer for the trace.
3327 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3329 * net/rcirc.el (rcirc-log-process-buffers): New option.
3330 (rcirc-print): Use it.
3331 (rcirc-generate-log-filename): New function.
3332 (rcirc-log-filename-function): Change default to
3333 rcirc-generate-log-filename (Bug#6828).
3335 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
3337 * simple.el (deactivate-mark): If select-active-regions is `only',
3338 only set selection for temporarily active regions.
3340 * cus-start.el: Change defcustom for select-active-regions.
3342 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
3344 * mouse.el (mouse--drag-set-mark-and-point): New function.
3345 (mouse-drag-track): Use LOCATION arg to push-mark.
3346 Use mouse--drag-set-mark-and-point to take click-count into
3347 consideration when updating point and mark (Bug#6840).
3349 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
3351 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3352 Give the Ruby rule a lower priority than Gnu (Bug#6778).
3354 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
3356 * font-lock.el (lisp-font-lock-keywords-2):
3357 Add combine-after-change-calls, condition-case-no-debug,
3358 with-demoted-errors, and with-silent-modifications (Bug#6025).
3360 2010-08-14 Kevin Ryde <user42@zip.com.au>
3362 * emacs-lisp/copyright.el (copyright-update-year)
3363 (copyright-update): Temporary switch-to-buffer to ensure the
3364 buffer change being queried is visible (Bug#5394).
3366 2010-08-14 Tom Tromey <tromey@redhat.com>
3368 * progmodes/etags.el (tags-file-name): Mark safe if stringp
3371 2010-08-14 Eli Zaretskii <eliz@gnu.org>
3373 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
3376 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
3378 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
3379 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3380 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3381 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
3382 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
3383 Call menu-bar-set-tool-bar-position.
3385 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3387 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
3388 comment style (bug#6834).
3389 * progmodes/scheme.el (scheme-mode-syntax-table):
3390 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
3391 "b" flag in "' 14b" syntax.
3393 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
3394 for (un)commenting the region and performing completion.
3395 (octave-mode-menu): Use standard commands for help and completion.
3396 (octave-mode-syntax-table): Support %{..%} comments (sort of).
3397 (octave-mode): Use define-derived-mode.
3398 Set completion-at-point-functions and don't set columns.
3399 Don't disable adaptive-fill-regexp.
3400 (octave-describe-major-mode, octave-comment-region)
3401 (octave-uncomment-region, octave-comment-indent)
3402 (octave-indent-for-comment): Remove.
3403 (octave-indent-calculate): Rename from calculate-octave-indent.
3404 (octave-indent-line, octave-fill-paragraph): Update caller.
3405 (octave-initialize-completions): No need to make an alist.
3406 (octave-completion-at-point-function): New function.
3407 (octave-complete-symbol): Use it.
3408 (octave-insert-defun): Use define-skeleton.
3410 * progmodes/octave-mod.el (octave-mode): Set comment-add.
3411 (octave-mode-map): Use comment-dwim (bug#6829).
3413 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
3415 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
3416 indentation of inserted comment.
3418 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
3420 * faces.el (region): Add type gtk that uses gtk colors.
3422 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3423 Handle theme-name change.
3425 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
3427 * progmodes/sql.el: Version 2.5
3428 (sql-product-alist): Add :prompt-cont-regexp property for several
3430 (sql-prompt-cont-regexp): New variable.
3431 (sql-output-newline-count, sql-output-by-send):
3432 New variables. Record number of newlines in input text.
3433 (sql-send-string): Handle multiple filters and count newlines.
3434 (sql-send-magic-terminator): Count terminator newline.
3435 (sql-interactive-remove-continuation-prompt): Filters output to
3436 remove continuation prompts; one for each newline.
3437 (sql-interactive-mode): Set up new variables, prompt regexp and
3439 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
3440 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3442 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3444 * emacs-lisp/pcase.el: New file.
3446 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
3448 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
3449 as here-document, otherwise the command could exceed maximum
3450 length of command line.
3451 (tramp-handle-vc-registered): Call script accordingly.
3452 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
3454 2010-08-10 Kenichi Handa <handa@m17n.org>
3456 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
3459 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
3461 * emacs-lisp/package.el (package-version-split)
3462 (package--version-first-nonzero, package-version-compare):
3464 (package-directory-list, package-load-all-descriptors)
3465 (package--built-in, package-activate, define-package)
3466 (package-installed-p, package-compute-transaction)
3467 (package-read-all-archive-contents)
3468 (package--add-to-archive-contents, package-buffer-info)
3469 (package-tar-file-info, package-list-packages-internal):
3470 Use version-to-list and version-list-*.
3472 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3473 Use version-to-list.
3474 (package-upload-buffer-internal): Use version-list-<=.
3476 2010-08-09 Kenichi Handa <handa@m17n.org>
3478 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
3481 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
3483 * tutorial.el (tutorial--default-keys): C-d is now bound to
3484 delete-forward-char (Bug#6826).
3486 * mouse.el (mouse-drag-track): Remove accidentally-removed check
3487 for `double' value of mouse-1-click-follows-link (Bug#6807).
3489 2010-08-08 Johan Bockgård <bojohan@gnu.org>
3491 * replace.el (replace-highlight): Bind isearch-forward and
3492 isearch-error, ensuring that highlighting is updated if the user
3493 switches the search direction (Bug#6808).
3495 * isearch.el (isearch-lazy-highlight-forward): New var.
3496 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3497 (isearch-lazy-highlight-update): Use it.
3499 2010-08-08 Kenichi Handa <handa@m17n.org>
3501 * international/mule.el (define-charset): Store NAME as :base property.
3502 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
3503 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
3504 current priority. Force using the designation of the specific
3505 charset by adding `charset' text property. Improve the whole algorithm.
3507 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3509 * emulation/pc-select.el (pc-selection-mode-hook)
3510 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
3511 (pc-selection-mode): Fix typos in docstrings.
3513 2010-08-08 Kenichi Handa <handa@m17n.org>
3515 * language/cyrillic.el: Don't add "microsoft-cp1251" to
3516 ctext-non-standard-encodings-alist here.
3518 * international/mule.el (ctext-non-standard-encodings-alist):
3519 Add "koi8-r" and "microsoft-cp1251".
3520 (ctext-standard-encodings): New variable.
3521 (ctext-non-standard-encodings-table): List only elements for
3522 non-standard encodings.
3523 (ctext-pre-write-conversion): Adjust for the above change.
3524 Check ctext-standard-encodings.
3526 * international/mule-conf.el (compound-text): Doc fix.
3527 (ctext-no-compositions): Doc fix.
3528 (compound-text-with-extensions): Doc fix.
3530 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3532 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
3534 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3536 * progmodes/which-func.el (which-func-format): Split help-echo text
3537 into lines, like other mode-line tooltips.
3539 * server.el (server-start): When using TCP sockets, force IPv4
3540 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
3542 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3544 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
3546 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3548 * term.el (term-delimiter-argument-list): Reflow docstring.
3549 (term-read-input-ring, term-write-input-ring, term-send-input)
3550 (term-bol, term-erase-in-display, serial-supported-or-barf):
3551 Fix typos in docstrings.
3553 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3555 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
3557 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3559 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
3561 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
3563 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
3564 Fix typo in docstring (bug#6747).
3566 2010-08-08 Leo <sdl.web@gmail.com>
3568 * eshell/esh-io.el (eshell-get-target): Better detection of
3569 read-only file (Bug#6762).
3571 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3573 * align.el (align-default-spacing): Doc fix.
3574 (align-region-heuristic, align-regexp): Fix typos in docstrings.
3576 2010-08-08 Stephen Peters <speters@itasoftware.com>
3578 * calendar/icalendar.el
3579 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
3580 (icalendar--get-weekday-numbers): New.
3581 (icalendar--convert-recurring-to-diary): Handle multiple byday
3582 values in weekly rules. (Bug#6766)
3584 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
3586 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
3587 (icalendar--create-uid, icalendar-export-region)
3588 (icalendar--parse-summary-and-rest): Code formatting.
3590 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3592 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
3593 to italicize headers.
3594 (calc-highlight-selections-with-faces): New variable.
3595 (calc-selected-face, calc-nonselected-face): New faces.
3597 * calc/calccomp.el (math-comp-highlight-string): Use
3598 `calc-highlight-selections-with-faces' to determine how to highlight
3601 * calc/calc-sel.el (calc-show-selections): Change message to when
3602 using faces to highlight selections.
3604 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
3606 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
3607 Add SQLite 3 keywords, functions and datatypes.
3608 (sql-interactive-mode): Remove `comint-process-echoes' set to t
3611 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
3613 * simple.el (select-active-regions): Move to keyboard.c.
3614 (deactivate-mark): Used saved-region-selection.
3615 (select-active-region): Function removed.
3616 (activate-mark, set-mark, push-mark-command)
3617 (handle-shift-selection): Don't call it.
3618 (keyboard-quit): Avoid adding the region to the window selection.
3620 * mouse.el (mouse-drag-track): Remove hacks to deal with old
3621 select-active-regions implementation.
3622 (mouse-yank-at-click): Doc fix.
3624 * cus-start.el: Add custom declaration for select-active-regions.
3626 2010-08-07 Eli Zaretskii <eliz@gnu.org>
3628 * simple.el (delete-forward-char): Doc fix.
3630 * tutorial.el (help-with-tutorial): Hack safe file-local variables
3631 after reading the tutorial.
3633 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
3635 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
3636 for the case that a C style comment has its delimiters alone on
3637 their respective lines.
3639 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
3641 * net/tramp.el (tramp-handle-start-file-process): Set connection
3643 (tramp-process-sentinel): Use it for flushing the cache. We
3644 cannot do it via the process buffer, the buffer could be deleted
3645 already when running the sentinel.
3647 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3649 * comint.el (comint-mode): Make directory tracking functions
3650 functional on remote files. (Bug#6764)
3652 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
3654 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
3656 2010-08-05 Eli Zaretskii <eliz@gnu.org>
3658 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
3659 unexec.c => unexcoff.c.
3661 * emacs-lisp/authors.el (authors-fixed-entries): Rename
3662 unexec.c => unexcoff.c.
3664 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
3666 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
3667 cache, not only file cache.
3668 (tramp-process-sentinel): New defun.
3669 (tramp-handle-start-file-process): Use it, in order to invalidate
3672 2010-08-03 Leo <sdl.web@gmail.com>
3674 * server.el (server-start): Simplify loop.
3676 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3678 * frame.el (screen-height, screen-width, set-screen-width)
3679 (set-screen-height): Remove ancient compatibility aliases.
3681 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
3682 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
3684 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
3685 that change current buffer.
3687 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3689 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
3690 beginning of the string. Use `string-match-p'. (Bug#6765)
3692 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
3694 * cus-start.el (x-gtk-use-system-tooltips): New variable.
3696 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
3698 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
3699 (package--builtins): Tweak descriptions.
3700 (package-print-package): Upcase descriptions if necessary.
3701 Show all built-in packages in font-lock-builtin-face.
3702 (package-list-packages-internal): Omit "emacs" package.
3703 Show status of built-in packages as "built-in".
3705 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
3707 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
3708 before killing to preserve the primary selection (Bug#6701).
3710 * term/x-win.el (x-select-text): Doc fix.
3712 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
3714 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
3715 The following functions were modified or created:
3717 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
3718 (objc-font-lock-extra-types):
3719 * progmodes/cc-mode.el (c-basic-common-init):
3720 * progmodes/cc-langs.el (c-make-mode-syntax-table)
3721 (c++-make-template-syntax-table)
3722 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
3723 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
3724 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
3725 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
3726 * progmodes/cc-fonts.el (c-make-inverse-face)
3727 (c-basic-matchers-after):
3728 * progmodes/cc-engine.el (c-forward-keyword-clause)
3729 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
3730 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
3731 (c-guess-continued-construct, c-guess-basic-syntax):
3733 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
3735 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
3737 2010-07-31 Eli Zaretskii <eliz@gnu.org>
3739 * files.el (bidi-paragraph-direction): Define safe local values.
3741 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
3742 language-info-alist. Remove outdated FIXME in a comment.
3744 2010-07-31 Alan Mackenzie <acm@muc.de>
3746 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
3747 Auto-fill broken in C/C++ modes.
3749 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
3751 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3752 (menu-bar-showhide-tool-bar-menu-customize-disable)
3753 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3754 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
3755 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
3756 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
3757 make a menu for Options => toolbar that can move it.
3759 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
3761 * emacs-lisp/package-x.el (package--make-rss-entry):
3762 (package-maint-add-news-item, package--update-news)
3763 (package-upload-buffer-internal): New arg ARCHIVE-URL.
3765 * emacs-lisp/package.el (package-archive-url): Rename from
3767 (package-install): Doc fix.
3768 (package-download-single, package-download-tar, package-install)
3769 (package-menu-view-commentary): Callers changed.
3771 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
3773 * net/tramp.el (tramp-handle-start-file-process): Check only for
3774 `remote-tty' process property.
3775 (tramp-open-shell): Don't check for tty.
3776 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3779 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
3782 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
3784 * emacs-lisp/package.el (package-load-list, package-archives)
3785 (package-archive-contents, package-user-dir)
3786 (package-directory-list, package--builtins, package-alist)
3787 (package-activated-list, package-obsolete-alist): Mark as risky.
3789 2010-07-28 Phil Hagelberg <phil@evri.com>
3791 Add support for non-default package repositories.
3792 * emacs-lisp/package.el (package-archive-base): Var deleted.
3793 (package-archives): New variable.
3794 (package-archive-contents): Doc fix.
3795 (package-load-descriptor): Do nothing if descriptor file is missing.
3796 (package--write-file-no-coding): New function.
3797 (package-unpack-single): Use it.
3798 (package-archive-id): New function.
3799 (package-download-single, package-download-tar)
3800 (package-menu-view-commentary): Use it.
3801 (package-installed-p): Make second argument optional.
3802 (package-read-all-archive-contents): New function.
3803 (package-initialize): Use it.
3804 (package-read-archive-contents): Add ARCHIVE argument.
3805 (package--add-to-archive-contents): New function.
3806 (package-install): Don't call package-read-archive-contents.
3807 (package--download-one-archive): Store archive file in a
3808 subdirectory of package-user-dir.
3809 (package-menu-execute): Remove spurious line movement.
3811 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
3813 * cus-start.el (tool-bar-style): Add text-image-horiz.
3815 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3817 * progmodes/gud.el (gud-common-init): Check for remoteness of
3818 `file', and not of `default-directory'.
3820 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3822 * net/tramp.el (tramp-methods): Move hostname to the end in all
3823 ssh `tramp-login-args'.
3824 (tramp-verbose): Describe verbose level 9.
3825 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
3826 (tramp-open-connection-setup-interactive-shell): Trace stty
3827 settings if `tramp-verbose' >= 9.
3828 (tramp-handle-start-file-process): Implement tty setting.
3829 (Bug#4604, Bug#6360)
3831 * net/tramp-cmds.el (tramp-bug): Recommend setting of
3832 `tramp-verbose' to 9.
3834 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
3836 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
3837 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
3838 Remove references to package `lisp-re' (bug#4369).
3840 2010-07-27 Tom Tromey <tromey@redhat.com>
3842 * progmodes/js.el (js-mode):
3843 * progmodes/make-mode.el (makefile-mode):
3844 * progmodes/simula.el (simula-mode):
3845 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
3847 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
3849 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
3851 * time.el (display-time-day-and-date): Remove spurious * in docstring.
3852 (display-time-world-buffer-name, display-time-world-mode-map):
3853 Fix typos in docstrings.
3855 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
3857 * image-mode.el (image-display-size): New function.
3858 (image-forward-hscroll, image-next-line, image-eol, image-eob)
3859 (image-mode-fit-frame): Use it (Bug#6639).
3861 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
3863 * dired.el (dired-buffers-for-dir): Handle list values of
3864 dired-directory (Bug#6636).
3866 2010-07-26 Sam Steingold <sds@gnu.org>
3868 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3869 Do not call `x-get-selection' the second time, reuse the value.
3871 2010-07-26 Daiki Ueno <ueno@unixuser.org>
3873 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
3874 which consist of control chars only. Suggested by Richard Stallman.
3876 2010-07-25 Daiki Ueno <ueno@unixuser.org>
3878 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
3879 exists before passing an error to find-file-not-found-functions
3882 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
3884 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
3885 Remove leading nil element, adjust values.
3886 (tetris-shapes, tetris-shape-scores):
3887 Change representation of shapes and remove some redundancy.
3888 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
3889 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
3890 Adjust for working with new representation of shapes.
3891 (tetris-shape-rotations): New function.
3892 (tetris-move-bottom, tetris-move-left, tetris-move-right)
3893 (tetris-rotate-prev, tetris-rotate-next):
3894 Adjust for working with the new version of tetris-test-shape.
3896 2010-07-23 Markus Triska <markus.triska@gmx.at>
3898 * progmodes/ps-mode.el: Use comint (bug#5954).
3899 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
3900 (ps-mode-other-newline): Simplify.
3901 (ps-run-mode): Derive from comint-mode instead of
3902 fundamental-mode, yielding input history etc.
3903 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
3904 (ps-run-send-string): Adapt for comint-mode.
3905 (ps-run-newline): Remove now unneeded function.
3907 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3909 * net/tramp.el (tramp-methods): Move hostname to the end in all
3910 plink `tramp-login-args'.
3912 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3914 * net/tramp.el (tramp-open-shell): New defun.
3915 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3918 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3920 * net/tramp.el (tramp-file-name-regexp-unified)
3921 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3922 not regard the volume letter as remote filename. (Bug#5447)
3924 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
3926 * custom.el (custom-declare-variable): Give a clearer error message
3927 when the docstring is missing (bug#6476).
3929 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
3931 * progmodes/sql.el: Version 2.4. Improved Login prompting.
3932 (sql-login-params): New widget definition.
3933 (sql-oracle-login-params, sql-mysql-login-params)
3934 (sql-solid-login-params, sql-sybase-login-params)
3935 (sql-informix-login-params, sql-ingres-login-params)
3936 (sql-ms-login-params, sql-postgres-login-params)
3937 (sql-interbase-login-params, sql-db2-login-params)
3938 (sql-linter-login-params): Use it.
3939 (sql-sqlite-login-params): Use it; Define "database" parameter as
3941 (sql-sqlite-program): Change to "sqlite3".
3942 (sql-comint-sqlite): Make sure database name is complete.
3943 (sql-for-each-login): New function.
3944 (sql-connect, sql-save-connection): Use it.
3945 (sql-get-login-ext): New function.
3946 (sql-get-login): Use it.
3947 (sql-make-alternate-buffer-name): Handle :file parameters.
3949 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
3951 * dired.el (dired-no-confirm): Document value t and fix defcustom to
3952 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
3954 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
3956 * dired.el (dired-mode-map): Use command remapping (bug#6632).
3958 2010-07-22 Lawrence Mitchell <wence@gmx.li>
3960 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
3962 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
3964 * net/tramp.el (tramp-get-ls-command)
3965 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
3968 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
3970 * progmodes/sql.el: Version 2.3.
3971 (sql-connection-alist): Changed keys from symbols to strings;
3972 enhanced the widget definition.
3973 (sql-mode-menu): Added submenu to select connections.
3974 (sql-interactive-mode-menu): Added "Save Connection" item.
3975 (sql-add-product): Fixed menu item.
3976 (sql-get-product-feature): Improved error handling.
3977 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
3978 (sql-make-alternate-buffer-name): Simplified.
3979 (sql-product-interactive): Handle missing product.
3980 (sql-connect): Support string keys, minor improvements.
3981 (sql-save-connection): New function.
3982 (sql-connection-menu-filter): New function.
3984 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
3986 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
3987 (tramp-open-connection-setup-interactive-shell): Apply
3988 workaround for IRIX64 bug. Move argument of last
3989 `tramp-send-command' where it belongs to.
3991 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
3993 * net/tramp.el (tramp-perl-file-attributes)
3994 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3995 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3996 front of `login-args'.
3998 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
4000 * time.el (display-time-world-mode): Define with `define-derived-mode'.
4001 Set `show-trailing-whitespace' to nil.
4002 (display-time-world-display): Simplify.
4004 2010-07-18 Alan Mackenzie <acm@muc.de>
4006 Enhance `c-file-style' in file/directory local variables.
4007 * progmodes/cc-mode.el (c-count-cfss): New function.
4008 (c-before-hack-hook): Call `c-set-style' differently according to
4009 whether c-file-style was set in file or directory local
4012 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
4014 * progmodes/sql.el: Version 2.2.
4015 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4016 defcustom :safe keyword rather than putting safe-local-variable
4018 (sql-password): Use defcustom :risky keyword rather than putting
4019 risky-local-variable property.
4020 (sql-oracle-login-params, sql-sqlite-login-params)
4021 (sql-solid-login-params, sql-sybase-login-params)
4022 (sql-informix-login-params, sql-ingres-login-params)
4023 (sql-ms-login-params, sql-postgres-login-params)
4024 (sql-interbase-login-params, sql-db2-login-params)
4025 (sql-linter-login-params): Add `port' option.
4026 (sql-get-product-feature): Added NO-INDIRECT parameter.
4027 (sql-comint-oracle, sql-comint-sybase)
4028 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4029 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4030 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4031 (sql-comint-linter): Renamed sql-connect-* functions to
4033 (sql-product-alist, sql-mode-menu): Renamed as above and
4034 :sqli-connect-func to :sqli-comint-func.
4035 (sql-connection): New variable.
4036 (sql-interactive-mode): Set it.
4037 (sql-connection-alist): New variable.
4038 (sql-connect): New function.
4039 (sql--alt-buffer-part, sql--alt-if-not-empty)
4040 (sql-make-alternate-buffer-name): Improved alternative buffer name.
4042 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4044 * image-mode.el (image-bookmark-make-record): Do not set context
4045 in an image (Bug#6650).
4047 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4049 * simple.el (select-active-region): New function.
4050 (push-mark-command, set-mark, activate-mark)
4051 (handle-shift-selection): Use it.
4052 (deactivate-mark): Don't check for size of region.
4054 * mouse.el (mouse-drag-track): Use select-active-region.
4056 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
4058 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4061 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4063 * term/x-win.el (x-select-enable-primary): Change default to nil.
4064 (x-select-enable-clipboard): Add :version keyword.
4066 * mouse.el (mouse-drag-copy-region):
4067 * simple.el (select-active-regions): Likewise.
4069 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
4071 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4072 (vc-coding-system-for-diff): Use it to decide whether to inherit
4073 from the file the EOL format for reading the diffs of that file.
4076 2010-07-16 Eli Zaretskii <eliz@gnu.org>
4078 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
4079 unibyte, so compressed attachments are not compressed again.
4081 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
4083 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
4084 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
4085 (tramp-find-shell): Simplify setting connection property.
4086 (tramp-get-ls-command): Make test for "--color=never" stronger.
4088 2010-07-15 Simon South <ssouth@member.fsf.org>
4090 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
4091 blocks within record declarations (i.e. variant parts) correctly.
4093 2010-07-15 Simon South <ssouth@member.fsf.org>
4095 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
4096 over literal tokens when parsing so newlines aren't "absorbed" by
4097 single-line comments. Corrects the indentation of case blocks
4098 that have a comment on the first line.
4100 2010-07-14 Karl Fogel <kfogel@red-bean.com>
4102 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
4103 by Drew Adams (Bug#5504).
4105 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
4107 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
4108 now that Unicode is used (Bug#6594).
4110 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
4112 * term/x-win.el (x-select-enable-clipboard): Default to t.
4113 (x-initialize-window-system): Don't overwrite Paste menu item.
4115 * simple.el (select-active-regions): Default to t.
4116 (push-mark-command): Don't overwrite primary with empty string.
4118 * mouse.el: Bind mouse-2 to mouse-yank-primary.
4119 (mouse-drag-copy-region): Default to nil.
4121 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
4122 Cut/Copy/Paste menu bar items.
4124 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4126 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
4127 Patch applied by Karl Fogel.
4129 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
4130 and `bookmark-current-buffer' if they have been already set in
4131 another buffer (e.g gnus-art).
4133 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4134 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4136 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
4138 * bookmark.el (bookmark-make-record-default): Allow unneeded
4139 information to be omitted from the record.
4141 Adjust declarations and calls:
4143 * info.el (bookmark-make-record-default): Adjust declaration.
4144 (Info-bookmark-make-record): Adjust call.
4146 * woman.el (bookmark-make-record-default): Adjust declaration.
4147 (woman-bookmark-make-record): Adjust call.
4149 * man.el (bookmark-make-record-default): Adjust declaration.
4150 (Man-bookmark-make-record): Adjust call.
4152 * image-mode.el (bookmark-make-record-default): Adjust declaration.
4154 * doc-view.el (bookmark-make-record-default): Adjust declaration.
4156 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4158 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
4159 This is also from Thierry Volpiatto's patch in bug #6444. However,
4160 because it was extraneous to the functional change in that patch,
4161 and causes a re-indendation, I am committing it separately.
4163 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4165 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
4166 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
4167 Patch applied by Karl Fogel (Bug#6444).
4169 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
4171 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
4173 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
4175 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
4176 Dempsky; bug#5084). Remove incorrect binding for S-tab.
4177 (ns-alternatives-map): Change S-tab binding to backtab
4180 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
4183 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
4185 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
4188 * language/tv-util.el (tai-viet-re): Remove format.
4190 2010-07-12 Kenichi Handa <handa@m17n.org>
4192 * language/hebrew.el: Remove no-byte-compile declaration.
4193 Change coding: tag to utf-8. Register hebrew-shape-gstring in
4194 composition-function-table for 3-character looking back.
4195 (hebrew-font-get-precomposed): New function.
4196 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
4198 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
4200 * mouse.el (mouse-drag-track): Handle select-active-regions
4203 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
4205 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4206 empty argument to gvfs-copy.
4208 2010-07-10 Glenn Morris <rgm@gnu.org>
4210 * calendar/calendar.el (calendar-week-end-day): New function.
4211 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
4212 Respect calendar-week-start-day. (Bug#6606)
4213 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4214 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
4215 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
4216 respect calendar-week-start-day.
4218 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
4220 * simple.el (use-region-p): Doc fix (Bug#6607).
4222 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
4224 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
4225 regexps for cucumber and ruby.
4227 2010-07-08 Daiki Ueno <ueno@unixuser.org>
4229 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
4230 (epa-file-insert-file-contents): Hack to prevent
4231 find-file from opening empty buffer when decryption failed
4234 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
4236 * textmodes/ispell.el (ispell-alternate-dictionary):
4237 Use file-readable-p.
4238 Return nil if no word-list is found at default locations.
4239 (ispell-complete-word-dict): Default to nil.
4240 (ispell-command-loop): Use 'word-list' when using lookup-words.
4241 (lookup-words): Use ispell-complete-word-dict or
4242 ispell-alternate-dictionary. Check for word-list availability
4243 and handle errors if needed with better messages (Bug#6539).
4244 (ispell-complete-word): Use ispell-complete-word-dict or
4245 ispell-alternate-dictionary.
4247 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
4249 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
4250 builtins (BufferError, BytesWarning, WindowsError; callables
4251 bin, bytearray, bytes, format, memoryview, next, print; __package__).
4253 2010-07-07 Glenn Morris <rgm@gnu.org>
4255 * play/zone.el (top-level): Do not require timer, tabify, or cl.
4256 (zone-shift-left): Ignore intangibility, and any errors from
4258 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
4259 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
4260 deleting, and copying text properties.
4261 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
4262 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
4263 to point-max is hard.
4264 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
4265 (zone-fill-out-screen): Ignore intangibility.
4267 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
4269 * menu-bar.el (menu-bar-mode):
4270 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
4273 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
4274 word/line selection (Bug#6565).
4276 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
4278 * net/dbus.el (dbus-send-signal): Declare function.
4280 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
4282 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
4283 (dbus-register-property): New optional argument EMITS-SIGNAL.
4284 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
4286 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
4288 * mouse.el (mouse-drag-overlay): Variable deleted.
4289 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
4290 (mouse--remap-link-click-p): New function.
4291 (mouse-drag-track): Handle dragging by using temporary Transient
4292 Mark mode, instead of a special overlay.
4293 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
4296 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
4299 2010-07-02 Juri Linkov <juri@jurta.org>
4301 * autoinsert.el (auto-insert-alist): Fix readability
4302 by using dotted pair notation for lambda.
4304 2010-07-02 Juri Linkov <juri@jurta.org>
4306 * faces.el (read-face-name): Rename arg `string-describing-default'
4307 to `default'. Doc fix. Display the default value in quotes
4308 in the prompt. With empty input, return the `default' arg,
4309 unless the default value is a string (in which case return nil).
4310 (describe-face): Replace the string `default' arg of `read-face-name'
4311 with the symbol `default'.
4313 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
4315 * emulation/viper-cmd.el (viper-delete-backward-char)
4316 (viper-del-backward-char-in-insert)
4317 (viper-del-backward-char-in-replace, viper-change)
4318 (viper-backward-indent): Replace delete-backward-char with
4319 delete-char (Bug#6552).
4321 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
4323 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
4325 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4327 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
4328 argument passed to frame-creation-function (Bug#5378).
4330 * faces.el (x-handle-named-frame-geometry)
4331 (x-handle-reverse-video, x-create-frame-with-faces)
4332 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
4333 separately consult default-frame-alist. It is now passed as the
4336 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
4338 * startup.el (command-line): Don't call tool-bar-setup in a
4341 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4343 * ruler-mode.el (ruler--save-header-line-format): New fun.
4344 (ruler-mode): Use it as a setter function, so as not to overwrite
4345 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
4347 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
4349 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
4350 (vc-root-diff, vc-print-root-log, vc-log-incoming)
4351 (vc-log-outgoing): Use it.
4352 (vc-diff-internal): Set diff-vc-backend.
4354 * vc/diff-mode.el (diff-vc-backend): New var.
4356 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
4358 * dynamic-setting.el (font-setting-change-default-font): Remove
4361 2010-06-28 Kenichi Handa <handa@m17n.org>
4363 * international/quail.el (quail-insert-kbd-layout): Fix the
4364 showing of untranslated characters.
4366 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
4368 * simple.el (delete-active-region): New option.
4369 (delete-backward-char): Implement in Lisp.
4370 (delete-forward-char): New command.
4372 * mouse.el (mouse-region-delete-keys): Deleted.
4373 (mouse-show-mark): Simplify.
4375 * bindings.el (global-map): Bind delete and DEL, the former to
4376 delete-forward-char.
4378 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
4380 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
4381 (ruby-mode): Bind indent-line-function (Bug#5119).
4383 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4385 * startup.el (command-line): Recognize "0" X resource value.
4387 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4389 * startup.el (command-line): Use X resources to set the value of
4390 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
4392 * menu-bar.el (menu-bar-mode):
4393 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
4394 Set init-value to t.
4396 * frame.el (frame-notice-user-settings): Don't change
4397 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
4398 vice versa (Bug#2249).
4400 2010-06-26 Eli Zaretskii <eliz@gnu.org>
4402 * w32-fns.el (w32-convert-standard-filename): Doc fix.
4404 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
4406 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
4407 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
4409 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
4410 default directories are expanded (Bug#6143).
4412 2010-06-24 Juri Linkov <juri@jurta.org>
4414 * minibuffer.el (completions-format): Change default from nil to
4415 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
4417 2010-06-24 Juri Linkov <juri@jurta.org>
4419 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
4420 buffer-locally to lambda that re-runs the vc diff command.
4423 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
4425 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
4426 echo area is in use (Bug#3412).
4428 2010-06-22 Glenn Morris <rgm@gnu.org>
4430 * textmodes/texinfmt.el (texinfo-format-region)
4431 (texinfo-raise-lower-sections, texinfo-format-separate-node)
4432 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
4433 (texinfo-format-option, texinfo-noindent):
4434 Use line-beginning-position and line-end-position.
4436 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
4437 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
4438 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
4441 2010-06-21 Karl Fogel <kfogel@red-bean.com>
4443 * play/zone.el (zone-fall-through-ws): Fix next-line ->
4444 forward-line fallout.
4446 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
4448 * mouse.el (mouse-appearance-menu): Add docstring.
4450 * help.el (describe-key): Print up-event using key-description.
4452 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
4454 * net/zeroconf.el (zeroconf-resolve-service)
4455 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
4456 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
4458 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
4460 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
4462 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
4464 Avoid displaying files with a nil state in vc-dir.
4465 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
4466 cases that cause insertion.
4467 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
4470 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4472 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
4474 2010-06-29 Leo <sdl.web@gmail.com>
4476 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
4478 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4480 * generic-x.el (bat-generic-mode): Fix regexp for command line
4481 switches (Bug#5719).
4483 2010-06-27 Masatake YAMATO <yamato@redhat.com>
4485 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
4486 of nconc to avoid pure storage error (Bug#6239).
4488 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
4490 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
4491 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
4492 bindings of bookmark-automatically-show-annotations (Bug#6515).
4494 2010-06-25 Eli Zaretskii <eliz@gnu.org>
4496 * arc-mode.el (archive-zip-extract): Don't quote the file name on
4497 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
4499 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
4501 * comint.el (make-comint, make-comint-in-buffer): Mention return
4502 value in the docstrings. (Bug#6498)
4504 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
4506 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
4507 since it is not present when using some non-default switches.
4509 2010-06-23 Karl Fogel <kfogel@red-bean.com>
4511 * simple.el (compose-mail): Fix doc string to refer to
4512 `compose-mail-user-agent-warnings', instead of to the
4513 nonexistent `compose-mail-check-user-agent'.
4515 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
4517 Fix an indentation bug:
4519 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
4520 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
4523 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
4524 (c-clear->-pair-props-if-match-before): now return t when they've
4525 cleared properties, nil otherwise.
4526 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
4527 by taking account of the existing value.
4529 * progmodes/cc-defs.el
4530 (c-clear-char-property-with-value-function): Fix this to clear the
4531 property rather than overwriting it with nil.
4533 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
4535 * emacs-lisp/package.el (package-print-package): Add link to
4536 package description via describe-package.
4537 (describe-package-1): List package requirements. Add button to
4538 perform installation.
4539 (package-menu-describe-package): New command.
4541 * help-mode.el (help-package): New button type.
4543 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
4545 * emacs-lisp/package.el: Move package-list-packages binding to
4547 (describe-package, describe-package-1, package--dir): New funs.
4548 (package-activate-1): Use package--dir.
4550 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
4552 * help-mode.el (help-package-def): New button type.
4554 * menu-bar.el: Move package-list-packages binding here from
4557 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
4559 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
4561 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4563 * emacs-lisp/edebug.el (edebug-read-list):
4564 Phase out old-style backquotes.
4566 2010-06-17 Juri Linkov <juri@jurta.org>
4568 * help-mode.el (help-mode): Set buffer-local variable
4569 revert-buffer-function to help-mode-revert-buffer.
4570 (help-mode-revert-buffer): New function.
4572 * info.el (Info-revert-find-node): Check for major-mode Info-mode
4573 before popping to "*info*" (like in other Info functions).
4574 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
4575 old-history-forward. Pop to old-buffer-name or "*info*" to
4576 recreate the killed buffer. Set Info-history-forward from
4577 old-history-forward.
4578 (Info-breadcrumbs-depth): Add :group and :version.
4580 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
4582 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
4584 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
4586 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
4587 for languages like Portuguese with pt_{BR,PT} and no plain pt.
4589 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
4591 * emacs-lisp/package.el (package-menu-mode-map):
4592 Move initialization into declaration.
4594 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
4596 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
4598 * emacs-lisp/package.el (package-archive-base): Point to
4600 (package-enable, package-load-list): New defcustoms.
4601 (package-user-dir, package-directory-list): Turn into defcustoms.
4602 Don't include package-user-dir in package-directory-list.
4603 (package--builtins-base): Don't include Emacs as a "package".
4604 (package-subdirectory-regexp): New var.
4605 (package-load-all-descriptors, package-compute-transaction)
4606 (package-download-transaction): Obey package-load-list.
4607 (package-activate-1): Rename from package-do-activate.
4608 (package-list-packages-internal): Check package-load-list.
4609 (package-load-descriptor, package-generate-autoloads)
4610 (package-unpack, package-unpack-single)
4611 (package--read-archive-file, package-delete): Use
4614 * emacs-lisp/package-x.el: New file. Package uploading
4615 functionality split out from package.el.
4617 * startup.el (command-line): Load packages after reading init file.
4619 2010-06-17 Tom Tromey <tromey@redhat.com>
4621 * emacs-lisp/package.el: New file.
4623 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4625 Fix vc-annotate for renamed files when using Git.
4626 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
4627 ls-files. Doe not pass the object as a file name to cat-file, it
4629 (vc-git-annotate-command): Pass the file name using -- to avoid
4630 ambiguity with the revision.
4631 (vc-git-previous-revision): Pass a relative file name.
4633 2010-06-22 Glenn Morris <rgm@gnu.org>
4635 * progmodes/js.el (js-mode-map): Use standard capitalization and
4636 ellipses for menu entries.
4638 * wid-edit.el (widget-complete): Doc fix.
4640 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
4642 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
4644 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4646 Fix annotating other revisions for renamed files in vc-annotate.
4647 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
4648 VC backend. Use it when non-nil.
4649 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
4652 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
4653 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4654 Do not pass the file name to the 'previous-revision call when we
4655 don't want a file diff. (Bug#6489)
4657 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4659 Fix finding revisions for renamed files in vc-annotate.
4660 * vc/vc.el (vc-find-revision): Add an optional argument for
4661 the VC backend. Use it when non-nil.
4662 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
4663 backend to vc-find-revision. (Bug#6487)
4665 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4667 Fix reading file names in Git annotate buffers.
4668 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
4669 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
4671 2010-06-20 Alan Mackenzie <acm@muc.de>
4673 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
4674 in file local variables, set it first.
4676 2010-06-19 Glenn Morris <rgm@gnu.org>
4678 * descr-text.el (describe-char-unicode-data): Insert separating
4679 space when needed. (Bug#6422)
4681 * progmodes/idlwave.el (idlwave-action-and-binding):
4682 Fix typo in 2009-12-03 change. (Bug#6450)
4684 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4686 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
4687 handling for `lambda' (misunderstanding).
4689 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
4691 * calc/calc-poly.el (math-accum-factors): Make sure that
4692 constants aren't distributed after they are factored out.
4694 2010-06-16 Juri Linkov <juri@jurta.org>
4696 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
4697 `list-colors-print'. (Bug#6332)
4699 * subr.el (read-quoted-char): Fix up last change (bug#6290).
4701 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4703 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
4704 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
4706 * font-lock.el (font-lock-major-mode): Rename from
4707 font-lock-mode-major-mode to distinguish it from
4708 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
4709 (font-lock-set-defaults):
4710 * font-core.el (font-lock-default-function): Adjust users.
4711 (font-lock-mode): Don't set it at all.
4713 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4715 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
4717 2010-06-16 Glenn Morris <rgm@gnu.org>
4719 * calendar/appt.el (appt-time-msg-list): Doc fix.
4720 (appt-check): Let-bind appt-warn-time.
4721 (appt-add): Make the 3rd argument optional.
4722 Simplify argument names. Doc fix. Check for integer WARNTIME.
4723 Only add WARNTIME to the output list if non-nil.
4725 2010-06-16 Ivan Kanis <apple@kanis.eu>
4727 * calendar/appt.el (appt-check): Let the 3rd element of
4728 appt-time-msg-list specify the warning time.
4729 (appt-add): Add new argument with the warning time. (Bug#5176)
4731 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4733 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
4734 older than version 1.6. (Bug#6361)
4736 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
4738 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
4739 used by cl-do-arglist. (Bug#6408)
4741 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
4743 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
4744 portuguese casechars/not-casechars for missing 'çÇ'.
4745 Suggested by Rolando Pereira (bug#6434).
4747 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
4749 * facemenu.el (list-colors-sort): Doc fix.
4751 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4753 * progmodes/sql.el (sql-connect-mysql): Fix typo.
4755 2010-06-14 Juri Linkov <juri@jurta.org>
4757 Add sort option `list-colors-sort'. (Bug#6332)
4758 * facemenu.el (color-rgb-to-hsv): New function.
4759 (list-colors-sort): New defcustom.
4760 (list-colors-sort-key): New function.
4761 (list-colors-display): Doc fix. Sort list according to the option
4763 (list-colors-print): Add HSV values to `help-echo' property of
4766 2010-06-14 Juri Linkov <juri@jurta.org>
4768 * compare-w.el: Move to the "vc" subdirectory.
4770 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4772 * image-mode.el (image-mode-map): Remap left-char and right-char.
4774 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
4776 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
4778 * term/common-win.el (x-colors): Add all the color names defined
4779 in rgb.txt (Bug#6332).
4781 * facemenu.el (list-colors-print): Don't print extra names if it
4782 will overflow the window width.
4784 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
4787 2010-06-12 Eli Zaretskii <eliz@gnu.org>
4789 * files.el (make-directory): Doc fix (bug#6396).
4791 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
4793 * net/tramp.el (tramp-remote-process-environment): Protect version
4794 string by apostroph.
4795 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4797 (tramp-file-name-for-operation): Add `call-process-region'.
4798 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4800 * net/tramp-compat.el (top): Do not autoload
4801 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4802 only when `start-file-process' is not bound.
4803 (tramp-advice-file-expand-wildcards): Do not use
4804 `tramp-handle-file-remote-p'.
4805 (tramp-compat-make-temp-file): Handle the case, that
4806 `make-temp-file' has no third argument EXTENSION.
4808 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
4810 * makefile.w32-in (WINS_BASIC): Include new directory vc.
4812 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
4814 2010-06-11 Juri Linkov <juri@jurta.org>
4816 * finder.el (finder-known-keywords): Add keyword "vc"
4817 for version control.
4819 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
4820 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
4821 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
4822 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
4824 2010-06-11 Juri Linkov <juri@jurta.org>
4826 Move version control related files to the "vc" subdirectory.
4827 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
4828 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
4829 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
4830 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
4831 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
4832 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
4833 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
4834 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
4835 Move files to the "vc" subdirectory.
4837 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
4839 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
4842 2010-06-11 Stephen Eglen <stephen@gnu.org>
4844 * shell.el: Bind `shell-resync-dirs' to M-RET.
4846 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
4848 * notifications.el: Move file from lisp/net, because it is
4849 supposed to talk locally to the user.
4851 2010-06-10 Julien Danjou <julien@danjou.info>
4853 * net/notifications.el (notifications-on-action-signal)
4854 (notifications-on-closed-signal): Pass notification id as first
4855 argument to the callback functions. Add docstrings.
4856 (notifications-notify): Fix docstring.
4858 2010-06-10 Glenn Morris <rgm@gnu.org>
4860 * emacs-lisp/authors.el (authors-ignored-files)
4861 (authors-valid-file-names): Add some files.
4863 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4865 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
4866 merge conflict, giving preference to the emacs-23 version of the code.
4868 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4870 * emacs-lisp/advice.el (ad-compile-function):
4871 Define warning-suppress-types before we let-bind it (bug#6275).
4873 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
4874 declare it, make it buffer-local and permanent-local (bug#6324).
4875 (vc-resynch-window): Adjust name.
4876 * vc-hooks.el (vc-find-file-hook): Adjust name.
4878 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
4880 * net/notifications.el (notifications-notify): Fix docstring.
4882 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4884 Update to Unicode 6.0.0 beta.
4885 * international/charprop.el: Update copyright.
4886 * international/mule-cmds.el (ucs-names): Update character ranges.
4887 * international/uni-bidi.el:
4888 * international/uni-category.el:
4889 * international/uni-combining.el:
4890 * international/uni-comment.el:
4891 * international/uni-decimal.el:
4892 * international/uni-decomposition.el:
4893 * international/uni-digit.el:
4894 * international/uni-lowercase.el:
4895 * international/uni-mirrored.el:
4896 * international/uni-name.el:
4897 * international/uni-numeric.el:
4898 * international/uni-old-name.el:
4899 * international/uni-titlecase.el:
4900 * international/uni-uppercase.el: Regenerate.
4902 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4904 * emacs-lisp/smie.el (comment-string-strip): Declare function.
4905 (smie-precs-precedence-table): Fix typo in docstring.
4907 * vc-mtn.el (log-edit-extract-headers): Declare function.
4909 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
4911 * net/notifications.el (dbus-register-signal): Declare function.
4912 (notifications-notify): Fix typos and reflow docstring.
4914 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4916 Improve VC create/retrieve tag/branch.
4917 * vc.el (vc-create-tag): Do not read the directory name for VCs
4918 with repository revision granularity. Adjust the tag/branch
4919 prompt. Reset VC properties.
4920 (vc-retrieve-tag): Do not read the directory name for VCs
4921 with repository revision granularity. Reset VC properties.
4923 2010-06-09 Julien Danjou <julien@danjou.info>
4925 * net/notifications.el: New file.
4927 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4929 Add optional support for resetting VC properties.
4930 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
4931 call vc-file-clearprops when true.
4932 (vc-resynch-buffer): Add new optional argument, pass it down.
4933 (vc-resynch-buffers-in-directory): Likewise.
4935 Improve support for special markup in the VC commit message.
4936 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
4937 * vc-hg.el (vc-hg-checkin): Add support for Date:.
4938 * vc-git.el (vc-git-checkin):
4939 * vc-bzr.el (vc-bzr-checkin): Likewise.
4941 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4943 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
4944 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
4946 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
4948 * iimage.el: Remove images as soon as the underlying text is modified.
4949 (iimage-modification-hook): New function.
4950 (iimage-mode-buffer): Use it.
4952 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4954 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
4955 smie-indent-offset-after. Add :prev case. Make a bit more generic.
4956 (smie-indent-virtual): Remove `virtual' arg. Update callers.
4957 (smie-indent-keyword): Add handling of open-paren keywords.
4958 (smie-indent-comment-continue): Don't assume comment-continue.
4960 2010-06-07 Martin Rudalics <rudalics@gmx.at>
4962 * window.el (pop-to-buffer): Remove the conditional that
4963 compares new-window and old-window, so it will reselect
4964 the selected window unconditionally.
4965 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
4967 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4969 * emacs-lisp/smie.el (smie-indent-offset-after)
4970 (smie-indent-forward-token, smie-indent-backward-token): New functions.
4971 (smie-indent-after-keyword): Use them.
4972 (smie-indent-fixindent): Only applies to the indentation of the BOL.
4973 (smie-indent-keyword): Tweak the black magic.
4974 (smie-indent-comment-continue): Strip comment-continue before use.
4975 (smie-indent-functions): Indent comments before keywords.
4977 2010-06-06 Juri Linkov <juri@jurta.org>
4979 * isearch.el (isearch-lazy-highlight-search): Fix looping
4980 by checking for empty match. This syncs this loop with the
4981 similar loop in `isearch-search'. (Bug#6362)
4983 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
4985 * net/dbus.el (dbus-register-method): Declare function.
4986 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
4987 (dbus-introspect): Doc fix.
4988 (dbus-event-bus-name, dbus-introspect-get-interface)
4989 (dbus-introspect-get-argument): Reflow docstrings.
4991 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
4993 vc-log-incoming/vc-log-outgoing fixes for Git.
4994 * vc-git.el (vc-git-log-view-mode): Fix font lock for
4995 incoming/outgoing logs.
4996 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
4997 instead of vc-git-compute-remote.
4998 (vc-git-compute-remote): Remove.
5000 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
5002 * term/common-win.el (x-colors): Add "dark green" and "dark
5003 turquoise" (Bug#6332).
5005 2010-06-04 Juri Linkov <juri@jurta.org>
5007 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5008 Instead of setting `replace' to t and replacing the same string
5009 with itself, don't do certain actions when
5010 kill-do-not-save-duplicates is non-nil and string is equal to car
5011 of kill-ring: don't call menu-bar-update-yank-menu, don't push
5012 interprogram-paste strings to kill-ring, and don't push the input
5013 argument `string' to kill-ring.
5014 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5016 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5018 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5020 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
5022 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5023 (tramp-gvfs-handler-mounted-unmounted)
5024 (tramp-gvfs-connection-mounted-p): Handle default-location.
5026 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5027 move files to trash.
5029 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5031 * international/mule-cmds.el (nonascii-insert-offset)
5032 (nonascii-translation-table): Add obsolescence information.
5034 * international/mule.el (make-translation-table-from-vector): Doc fix.
5036 2010-06-03 Glenn Morris <rgm@gnu.org>
5038 * desktop.el (desktop-clear-preserve-buffers):
5039 Add "*Warnings*" buffer. (Bug#6336)
5041 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
5043 vc-log-incoming/vc-log-outgoing improvements for Git.
5044 * vc-git.el (vc-git-log-outgoing): Use the same format as the
5046 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
5048 Add bindings for vc-log-incoming and vc-log-outgoing.
5049 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5050 and vc-log-outgoing.
5051 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5052 and vc-log-outgoing.
5054 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5056 * net/rcirc.el (rcirc-sort-nicknames): Remove.
5057 (rcirc-handler-366): Always sort nicknames.
5059 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
5061 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5063 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5065 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5067 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5069 * net/rcirc.el (rcirc-sort-nicknames): Change default.
5070 (rcirc-sort-nicknames-join): Avoid setq.
5072 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5074 * net/rcirc.el (rcirc-sort-nicknames): New custom.
5075 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
5076 (rcirc-handler-366): Use them.
5078 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5080 Split smie-indent-calculate into more manageable chunks.
5081 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
5082 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
5083 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
5084 (smie-indent-exps): Extract from smie-indent-calculate.
5085 (smie-indent-functions): New var.
5086 (smie-indent-functions): Use them.
5088 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5090 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
5091 (smie-indent-calculate): Simplify and cleanup.
5093 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
5095 * net/tramp-gvfs.el (top): Require url-util.
5096 (tramp-gvfs-mount-point): Remove.
5097 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
5099 (with-tramp-dbus-call-method): Format trace message.
5100 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5101 Implement backup call, when operation on local files fails.
5102 Use progress reporter. Flush properties of changed files.
5103 (tramp-gvfs-handle-make-directory): Make more traces.
5104 (tramp-gvfs-url-file-name): Hexify file name in url.
5105 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5106 into account for the resulting file name.
5107 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
5108 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
5109 (tramp-gvfs-handler-mounted-unmounted)
5110 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5111 attribute "default_location". Set "prefix" property.
5112 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5113 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5114 exists. Raise an error, if not (due to a corresponding answer
5115 "no" in interactive questions, for example).
5117 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
5119 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
5121 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
5123 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
5126 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
5128 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
5129 * vc-git.el (vc-git-compute-remote): New function.
5130 (vc-git-log-outgoing): Use it instead of hard coding a value.
5131 (vc-git-log-incoming): New function.
5133 Improve state updating for VC tag commands.
5134 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
5135 to update the state of all buffers in the directory.
5137 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
5139 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5141 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
5142 `file-directory-p' to the filename part rather than to the whole text.
5144 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5146 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
5148 2010-05-31 Drew Adams <drew.adams@oracle.com>
5150 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
5152 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
5154 * subr.el (momentary-string-display): Just use read-event to read
5155 the exit event (Bug#6238).
5157 2010-05-30 Eli Zaretskii <eliz@gnu.org>
5159 * international/mule.el (define-coding-system): Doc fix (bug#6313).
5161 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5163 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
5164 Suggested by Eli Zaretskii <eliz@gnu.org>.
5166 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5168 * minibuffer.el (completion-file-name-table): Don't return a boundary
5169 past the end of `string' (bug#6299).
5170 (completion--file-name-table): Delegate to completion-file-name-table
5171 for the `boundaries' case.
5173 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5175 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
5178 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
5179 `path-separator', but maintain compatibility with Emacs 20.2.
5181 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5183 * server.el (server-process-filter): Receive parent-id argument
5185 (server-create-window-system-frame): New arg. Pass parent-id as
5188 2010-05-29 Eli Zaretskii <eliz@gnu.org>
5190 Bidi-sensitive word movement with arrow keys.
5191 * subr.el (right-arrow-command, left-arrow-command): Move to
5194 * bindings.el (right-char, left-char): Move from subr.el and
5195 rename from right-arrow-command and left-arrow-command.
5196 (right-word, left-word): New functions.
5197 (global-map) <right>: Bind to right-char.
5198 (global-map) <left>: Bind to left-char.
5199 (global-map) <C-right>: Bind to right-word.
5200 (global-map) <C-left>: Bind to left-word.
5202 * ls-lisp.el (ls-lisp-classify-file): New function.
5203 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
5204 (ls-lisp-classify): Call ls-lisp-classify-file.
5205 (insert-directory): Remove blanks from switches.
5207 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5209 * ansi-color.el: Delete unused escape sequences (Bug#6085).
5210 (ansi-color-drop-regexp): New constant.
5211 (ansi-color-apply, ansi-color-filter-region)
5212 (ansi-color-apply-on-region): Delete unrecognized control sequences.
5213 (ansi-color-apply): Build string list before calling concat.
5215 2010-05-28 Juri Linkov <juri@jurta.org>
5217 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5218 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
5221 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5223 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
5224 to ignored backtrace functions.
5225 (with-progress-reporter): Expand docstring.
5226 (tramp-handle-delete-file): Implement TRASH argument.
5227 (tramp-get-remote-trash): New defun.
5229 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5231 * net/tramp-compat.el (tramp-compat-delete-file): Use
5232 `symbol-value' for backward compatibility.
5234 * net/tramp.el (tramp-handle-make-symbolic-link)
5236 (tramp-do-copy-or-rename-file-via-buffer)
5237 (tramp-do-copy-or-rename-file-directly)
5238 (tramp-do-copy-or-rename-file-out-of-band)
5239 (tramp-handle-process-file, tramp-handle-call-process-region)
5240 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5241 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5242 (tramp-delete-temp-file-function): Use `delete-file' instead
5243 of `tramp-compat-delete-file'.
5245 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5246 (tramp-fish-handle-make-symbolic-link)
5247 (tramp-fish-handle-process-file): Use `delete-file' instead
5248 of `tramp-compat-delete-file'.
5250 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
5251 `delete-file' instead of `tramp-compat-delete-file'.
5253 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5254 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
5255 `tramp-compat-delete-file'.
5257 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
5258 `delete-file' instead of `tramp-compat-delete-file'.
5260 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5261 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5262 (tramp-smb-handle-write-region): Use `delete-file' instead of
5263 `tramp-compat-delete-file'.
5264 (tramp-smb-handle-delete-directory): Use 'trash as arg.
5266 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5268 * dired.el (dired-delete-file): New arg TRASH.
5269 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
5270 (dired-do-flagged-delete, dired-do-delete): Use trash.
5272 * speedbar.el (speedbar-item-delete): Allow trashing.
5274 * files.el (delete-directory): New arg TRASH.
5276 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
5277 (ange-ftp-rename-remote-to-remote)
5278 (ange-ftp-rename-local-to-remote)
5279 (ange-ftp-rename-remote-to-local, ange-ftp-load)
5280 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
5282 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
5285 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5286 handle new TRASH arg of `delete-file'.
5288 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
5289 (tramp-handle-make-symbolic-link, tramp-handle-load)
5290 (tramp-do-copy-or-rename-file-via-buffer)
5291 (tramp-do-copy-or-rename-file-directly)
5292 (tramp-do-copy-or-rename-file-out-of-band)
5293 (tramp-handle-process-file, tramp-handle-call-process-region)
5294 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5295 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5296 (tramp-delete-temp-file-function): Use null TRASH arg in
5297 tramp-compat-delete-file call.
5299 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5300 (tramp-fish-handle-delete-file)
5301 (tramp-fish-handle-make-symbolic-link)
5302 (tramp-fish-handle-process-file): Use null TRASH arg in
5303 `tramp-compat-delete-file' call.
5305 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
5306 arg in `tramp-compat-delete-file' call.
5308 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5309 (tramp-gvfs-handle-write-region): Use null TRASH arg in
5310 `tramp-compat-delete-file' call.
5312 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
5313 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
5314 `tramp-compat-delete-file' call.
5316 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5317 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5318 (tramp-smb-handle-write-region): Use null TRASH arg in
5319 tramp-compat-delete-file call.
5320 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
5321 (tramp-smb-handle-delete-file): Rename arg.
5323 * diff.el (diff-sentinel):
5324 * epg.el (epg--make-temp-file, epg-decrypt-string)
5325 (epg-verify-string, epg-sign-string, epg-encrypt-string):
5326 * jka-compr.el (jka-compr-partial-uncompress)
5327 (jka-compr-call-process, jka-compr-write-region):
5328 * server.el (server-sentinel): Remove optional arg from
5329 delete-file, reverting 2010-05-03 change.
5331 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5333 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
5334 font-lock-constant-face, not obsolete font-lock-reference-face.
5336 2010-05-27 Kenichi Handa <handa@m17n.org>
5338 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
5339 element of GSTRING is nil.
5341 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5343 * emacs-lisp/smie.el (smie-forward-token-function)
5344 (smie-backward-token-function): New vars.
5345 (smie-backward-sexp, smie-forward-sexp)
5346 (smie-indent-hanging-p, smie-indent-calculate): Use them.
5347 (smie-default-backward-token): Rename from smie-backward-token and
5349 (smie-default-forward-token): Rename from smie-forward-token and
5351 (smie-next-sexp): Handle nil results from next-token.
5352 (smie-indent-calculate): Add a new case for special `fixindent' comments.
5354 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5356 * progmodes/verilog-mode.el (verilog-type-font-keywords):
5357 Use font-lock-constant-face, not obsolete font-lock-reference-face.
5359 2010-05-27 Masatake YAMATO <yamato@redhat.com>
5361 * htmlfontify.el (hfy-face-resolve-face): New function.
5362 (hfy-face-to-style): Use it (Bug#6279).
5364 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5366 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
5367 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
5369 2010-05-26 Glenn Morris <rgm@gnu.org>
5371 * emulation/edt.el (edt-load-keys): Use locate-library.
5373 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
5375 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
5376 (log-edit-changelog-entries): Doc fix.
5377 (log-edit-changelog-insert-entries): Args changed.
5378 Rename relative filenames in ChangeLog entries. Delete tabs.
5379 (log-edit-insert-changelog-entries): Reorganize return value of
5380 `log-edit-changelog-entries' to pass filenames to
5381 log-edit-changelog-insert-entries.
5383 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5385 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
5386 `image-dired-dired-insert-marked-thumbs' to
5387 `image-dired-dired-toggle-marked-thumbs'.
5389 * image-dired.el: Require cl when compiling.
5390 (image-dired-dired-toggle-marked-thumbs): Rename from
5391 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
5392 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
5393 to 'no-dir. Skip files whose names don't match
5394 `image-file-name-regexp'. When file has a thumbnail overlay,
5395 delete it. (Bug#5270)
5397 2010-05-25 Juri Linkov <juri@jurta.org>
5399 * image-mode.el (image-mode): Add image-after-revert-hook to
5401 (image-after-revert-hook): New function. (Bug#5669)
5403 2010-05-25 Juri Linkov <juri@jurta.org>
5405 * image.el (image-animated-p): When delay between animated images
5406 is 0, set it to 10 (0.1 sec). (Bug#6258)
5408 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5410 * net/tramp.el (tramp-handle-insert-directory): Don't use
5411 `forward-word', its default syntax could be changed.
5413 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
5415 * net/tramp.el (tramp-progress-reporter-update): New defun.
5416 (with-progress-reporter): Use it.
5417 (tramp-process-actions):
5418 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
5419 current message, in order to let progress reporter continue
5420 afterwards. (Bug#6257)
5422 2010-05-25 Glenn Morris <rgm@gnu.org>
5424 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
5427 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5429 * net/rcirc.el (rcirc-default-user-name): Change to "user".
5430 (rcirc-default-full-name): Change to "unknown".
5431 (rcirc-user-name-history): Add variable.
5433 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5434 Jonathan Rockway <jon@jrock.us>
5436 * net/rcirc.el (rcirc-server-alist): Add :pass.
5437 (rcirc): When prompting for connection parameters, also prompt for
5438 username and password.
5439 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
5440 value to server when connecting.
5442 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5444 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
5445 (smie-merge-prec2s): Pass the tables as separate args.
5446 (smie-bnf-precedence-table): Adjust call accordingly.
5447 (smie-prec2-levels): Set levels at the end.
5449 Replace Lisp calls to delete-backward-char by delete-char.
5450 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
5451 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
5452 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
5453 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
5454 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
5455 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
5456 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
5457 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
5458 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
5459 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
5460 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
5461 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
5462 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
5463 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
5464 delete-backward-char by calls to delete-char.
5466 2010-05-25 Kenichi Handa <handa@m17n.org>
5468 * language/hebrew.el (hebrew-shape-gstring): New function.
5469 Register it in composition-function-table for all Hebrew combining
5472 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5474 * epa.el (epa--select-keys): Don't explicitly delete the window since
5475 that can fail (e.g. sole window in frame). Use dedication instead.
5477 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
5479 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
5481 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
5483 * image.el (image-refresh): Define as an alias for image-flush.
5485 * image-mode.el (image-toggle-display-image): Caller changed.
5487 2010-05-21 Juri Linkov <juri@jurta.org>
5489 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
5490 Remove "all" from grep-files-aliases. Split grep-files-aliases by
5491 whitespace, call wildcard-to-regexp on substrings and concat them
5492 with "\\|". (Bug#6114)
5494 2010-05-21 Alan Mackenzie <acm@muc.de>
5496 * progmodes/cc-engine.el (c-parse-state-get-strategy):
5497 Replace parameter `here' with `here-' and `here-plus', which sandwich
5498 any pertinent CPP construct.
5499 (c-remove-stale-state-cache-backwards): Fix a bug which happens
5500 when doing (c-parse-state) in a CPP construct: Exclude any "new"
5501 CPP construct from taking part in the scanning.
5503 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
5505 * net/tramp.el (tramp-do-copy-or-rename-file)
5506 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
5507 Tune `with-progress-reporter' messages.
5508 (tramp-handle-vc-registered):
5509 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
5510 (tramp-fish-handle-insert-file-contents)
5511 (tramp-fish-maybe-open-connection):
5512 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5513 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
5514 (tramp-imap-handle-insert-file-contents)
5515 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5517 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
5519 * add-log.el (change-log-font-lock-keywords):
5520 Highlight all authors in multi-author entries.
5522 * smerge-mode.el (smerge-refine-ignore-whitespace)
5523 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
5524 Fix typos in docstrings.
5525 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
5527 2010-05-21 Glenn Morris <rgm@gnu.org>
5529 * progmodes/fortran.el (fortran-mode):
5530 * progmodes/f90.el (f90-mode): Derive from prog-mode.
5532 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
5533 having a relative path in src/Makefile.in.
5535 2010-05-20 Kevin Ryde <user42@zip.com.au>
5537 * help-mode.el (help-make-xrefs): For Info node links turn
5538 newlines into spaces. Link node names with newlines are matched
5539 by help-xref-info-regexp and buttonized, this change ensures they
5540 can be followed successfully with RET. (Bug#6206)
5542 2010-05-20 Juri Linkov <juri@jurta.org>
5544 * locate.el (locate): Use pop-to-buffer instead of
5545 switch-to-buffer-other-window. (Bug#6204)
5547 2010-05-20 Juri Linkov <juri@jurta.org>
5549 * replace.el (replace-highlight): Fix lazy-highlighting
5550 for `M-s w str M-% str RET'.
5552 2009-12-15 Masatake YAMATO <yamato@redhat.com>
5554 * isearch.el (isearch-yank-word-or-char): Pull next subword
5555 when `subword-mode' is activated. (Bug#6220)
5557 2010-05-20 Mark A. Hershberger <mah@everybody.org>
5559 * isearch.el (isearch-update-post-hook): New hook.
5560 (isearch-update): Use the new hook. (Bug#6225)
5562 2010-05-20 Juri Linkov <juri@jurta.org>
5564 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
5565 [f1], [help], and (char-to-string help-char) instead of "\C-h".
5568 2010-05-20 Juri Linkov <juri@jurta.org>
5570 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
5573 2010-05-20 Juri Linkov <juri@jurta.org>
5575 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
5576 FILE-NAME to read from the minibuffer when called interactively
5577 with prefix argument instead of using buffer-file-name.
5578 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
5580 * dired.el: Update autoloads.
5582 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
5584 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
5585 nxml-finish-element, for consistency with SGML mode.
5587 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
5590 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
5592 * composite.el: Require cl when compiling.
5593 (reference-point-alist, compose-gstring-for-graphic)
5594 (compose-gstring-for-terminal): Fix typos in docstrings.
5596 2010-05-19 Juri Linkov <juri@jurta.org>
5598 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
5599 set-window-parameter.
5601 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5603 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
5605 (tramp-maybe-open-connection): Use it.
5607 2010-05-19 Eli Zaretskii <eliz@gnu.org>
5609 * simple.el (move-end-of-line): Make sure we are at line beginning
5610 before backing up to end of previous line.
5612 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5614 * password-cache.el (password-cache-remove): Fix docstring.
5616 * net/secrets.el: Autoload the widget functions.
5617 (secrets-search-items, secrets-create-item)
5618 (secrets-get-attributes, secrets-expand-item): Attributes will be
5619 stored on the password database without leading ":", as all other
5621 (secrets-mode): Fix docstring.
5622 (secrets-show-secrets): Provide it as autoloaded command only when
5623 D-Bus support is available. Check existence of Secret Service API.
5625 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5627 * indent.el (indent-region): Deactivate region (bug#6200).
5629 2010-05-19 Glenn Morris <rgm@gnu.org>
5631 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
5633 2010-05-19 Kenichi Handa <handa@m17n.org>
5635 * composite.el: Register compose-gstring-for-graphic in
5636 composition-function-table only for combining characters (Mn, Mc, Me).
5638 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
5640 * calc/calc-trail.el (calc-trail-isearch-forward)
5641 (calc-trail-isearch-backward): Ensure that the new window
5642 point is set correctly.
5644 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5646 * subr.el (read-quoted-char): Resolve modifiers after key
5647 remapping (bug#6212).
5649 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
5651 Add visualization code for secrets.
5652 * net/secrets.el (secrets-mode): New major mode.
5653 (secrets-show-secrets, secrets-show-collections)
5654 (secrets-expand-collection, secrets-expand-item)
5655 (secrets-tree-widget-after-toggle-function)
5656 (secrets-tree-widget-show-password): New defuns.
5658 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5660 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
5661 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
5662 handled in smie-next-sexp.
5663 (smie-indent-calculate): Provide a starting indentation (so the
5664 recursion is well-founded ;-).
5666 Fix handling of non-associative equal levels.
5667 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
5668 when it's not needed.
5669 (smie-op-left, smie-op-right): New functions.
5670 (smie-next-sexp): New function, extracted from smie-backward-sexp.
5671 Better handle equal levels to distinguish the associative case from
5672 the "multi-keyword construct" case.
5673 (smie-backward-sexp, smie-forward-sexp): Use it.
5675 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
5677 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
5679 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
5680 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
5682 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5684 Provide a simple generic indentation engine and use it for Prolog.
5685 * emacs-lisp/smie.el: New file.
5686 * progmodes/prolog.el (prolog-smie-op-levels)
5687 (prolog-smie-indent-rules): New var.
5688 (prolog-mode-variables): Use them to configure SMIE.
5689 (prolog-indent-line, prolog-indent-level): Remove.
5691 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5693 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
5694 order before computing the averages.
5696 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
5698 * calc/calc-vec.el (calc-histogram):
5699 (calcFunc-histogram): Allow vectors as inputs.
5700 (math-vector-avg): New function.
5702 * calc/calc-ext.el (math-group-float): Have the number of digits
5703 being grouped depend on the radix (Bug#6189).
5705 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
5707 * version.el (emacs-copyright, emacs-version): Don't define here,
5708 now that emacs.c defines it.
5710 2010-05-15 Eli Zaretskii <eliz@gnu.org>
5712 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
5713 "Describe Language Environment" menu item.
5715 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
5717 Bidi-sensitive movement with arrow keys.
5718 * subr.el (right-arrow-command, left-arrow-command): New functions.
5720 * bindings.el (global-map): Bind them to right and left arrow keys.
5722 Don't override standard definition of convert-standard-filename.
5723 * files.el (convert-standard-filename): Call
5724 w32-convert-standard-filename and dos-convert-standard-filename on
5725 the corresponding systems.
5727 * w32-fns.el (w32-convert-standard-filename): Rename from
5728 convert-standard-filename. Doc fix.
5730 * dos-fns.el (dos-convert-standard-filename): Doc fix.
5731 (convert-standard-filename): Don't defalias.
5732 (register-name-alist, make-register, register-value)
5733 (set-register-value, intdos): Obsolete aliases for the
5734 corresponding dos-* functions and variables.
5735 (dos-intdos): Add a doc string.
5737 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
5739 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
5740 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
5741 (math-compose-tex-func):
5742 * calc/calccomp.el (math-compose-expr):
5743 * calc/calc-ext.el (math-format-flat-expr-fancy):
5744 * calc/calc-store.el (calc-read-var-name):
5745 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
5747 * calc/calc.el (var-π, var-φ, var-γ): New variables.
5748 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
5749 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
5750 (math-standard-units): Add units.
5752 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5754 * progmodes/asm-mode.el (asm-mode):
5755 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
5757 * pcomplete.el (pcomplete-completions-at-point): New function,
5758 extracted from pcomplete-std-complete.
5759 (pcomplete-std-complete): Use it.
5761 2010-05-15 Glenn Morris <rgm@gnu.org>
5763 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5764 Remove references to CVS, RCS and Old directories.
5766 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
5768 * calc/calc-bin.el (math-format-twos-complement): Group digits when
5771 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5773 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
5774 (sh-mode-syntax-table): Give it a default value instead.
5775 (sh-header-marker): Make buffer-local.
5776 (sh-mode): Move make-local-variable to the corresponding setq.
5777 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
5778 Use complete-with-action.
5780 * simple.el (prog-mode): New (abstract) major mode.
5781 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
5782 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
5784 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
5786 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
5787 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
5788 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
5789 (sql-make-alternate-buffer-name, sql-placeholders-filter)
5790 (sql-escape-newlines-filter, sql-input-sender)
5791 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
5793 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
5795 Add TeX open-block and close-block keybindings to SGML, and vice versa.
5797 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
5798 latex-open-block and C-c / to latex-close-block.
5800 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
5801 and C-c C-e to sgml-close-tag.
5803 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
5805 * net/tramp.el (with-progress-reporter): Create reporter object
5806 only when the message would be displayed. Handle nested calls.
5807 (tramp-handle-load, tramp-handle-file-local-copy)
5808 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5809 (tramp-maybe-send-script, tramp-find-shell):
5810 Use `with-progress-reporter'.
5811 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
5814 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5815 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5816 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5817 Use `with-progress-reporter'.
5819 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
5821 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
5822 process everytime when spellchecking from the minibuffer (bug#6143).
5824 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5826 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
5828 * dos-fns.el: Add "dos-" prefix for namespace control.
5829 (convert-standard-filename): Define as alias for
5830 dos-convert-standard-filename but only if applicable.
5832 2010-05-12 Alan Mackenzie <acm@muc.de>
5834 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
5835 Push the mark at the start of these functions when appropriate.
5837 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5839 * minibuffer.el (completion-cycle-threshold): New custom var.
5840 (completion--do-completion): Use it.
5841 (minibuffer-complete): Use cycling if appropriate.
5843 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
5845 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
5846 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
5848 2010-05-11 Juri Linkov <juri@jurta.org>
5850 * scroll-all.el (scroll-all-check-to-scroll):
5851 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
5853 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * iimage.el (iimage-mode-map): Move initialization into declaration.
5856 (iimage-mode-buffer): Use with-silent-modifications.
5857 Simplify calling convention. Adjust callers.
5858 (iimage-mode): Don't run hook redundantly.
5860 * minibuffer.el (completion-pcm--pattern->regex):
5861 Fix last change (bug#6160).
5863 2010-05-10 Juri Linkov <juri@jurta.org>
5865 Remove nodes visited during Isearch from the Info history.
5866 * info.el (Info-isearch-initial-history)
5867 (Info-isearch-initial-history-list): New variables.
5868 (Info-isearch-start): Record initial values of
5869 Info-isearch-initial-history and Info-isearch-initial-history-list.
5870 Add Info-isearch-end to isearch-mode-end-hook.
5871 (Info-isearch-end): New function.
5873 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
5875 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
5876 format string, in order to work around a bug in pdksh.
5877 Reported by Gilles Pion <gpion@lfdj.com>.
5878 (tramp-handle-verify-visited-file-modtime): Do not send a command
5879 when the connection is not established.
5880 (tramp-handle-set-file-times): Simplify the check for utc.
5882 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
5884 Fix use of `filter-buffer-substring' (rework previous change).
5885 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
5886 (cua-repeat-replace-region):
5887 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
5888 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5889 (cua-cut-region-to-global-mark): Use it.
5891 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
5893 * progmodes/sql.el: Version 2.1.
5894 (sql-product-alist): Redesign structure of product info.
5895 (sql-product, sql-user, sql-server, sql-database): Safe variables.
5896 (sql-port, sql-port-history): New variables.
5897 (sql-interactive-product): New variable.
5898 (sql-send-terminator): New variable.
5899 (sql-imenu-generic-expression): Add "Types" imenu entry.
5900 (sql-oracle-login-params, sql-sqlite-login-params)
5901 (sql-mysql-login-params, sql-solid-login-params)
5902 (sql-sybase-login-params, sql-informix-login-params)
5903 (sql-ingres-login-params, sql-ms-login-params)
5904 (sql-postgres-login-params, sql-interbase-login-params)
5905 (sql-db2-login-params, sql-linter-login-params)
5906 (sql-oracle-scan-on): New variables.
5907 (sql-mode-map): Add C-c C-i to start interactive mode.
5908 (sql-mode-menu): Update existing menu entries.
5909 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
5910 (sql-mode-oracle-font-lock-keywords)
5911 (sql-mode-postgres-font-lock-keywords)
5912 (sql-mode-ms-font-lock-keywords)
5913 (sql-mode-sybase-font-lock-keywords)
5914 (sql-mode-informix-font-lock-keywords)
5915 (sql-mode-interbase-font-lock-keywords)
5916 (sql-mode-ingres-font-lock-keywords)
5917 (sql-mode-solid-font-lock-keywords)
5918 (sql-mode-mysql-font-lock-keywords)
5919 (sql-mode-sqlite-font-lock-keywords)
5920 (sql-mode-db2-font-lock-keywords)
5921 (sql-mode-linter-font-lock-keywords): Update initialization to
5922 reduce run-time complexity.
5923 (sql-add-product, sql-del-product): New functions.
5924 (sql-set-product-feature, sql-get-product-feature): New functions.
5925 (sql-product-font-lock): Update product API.
5926 (sql-add-product-keywords): New function.
5927 (sql-highlight-product): Update product API.
5928 (sql-help-list-products): New function.
5929 (sql-help): Dynamically lists free and non-free products.
5930 (sql-get-login): Correct bug in handling history and added
5932 (sql-copy-column): Copy without properties.
5933 (sqli-input-sender): Apply filters to SQLi input.
5934 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
5935 Implement as a filter.
5936 (sql-escape-newlines-filter): Implement as a filter.
5937 (sql-remove-tabs-filter): New function.
5938 (sql-send-magic-terminator): New function.
5939 (sql-send-string): Implement magic terminator.
5940 (sql-send-region): Use `sql-send-string'.
5941 (sql-interactive-mode): Use product API.
5942 (sql-product-interactive): Use product API.
5943 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5944 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5945 (sql-db2, sql-linter): Use `sql-product-interactive'.
5946 (sql-connect): New function.
5947 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
5948 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
5949 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
5950 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
5953 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5955 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5956 New custom variable.
5957 (completion-pcm--string->pattern): Use it.
5958 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
5959 Make it handle any symbol as `any'.
5960 (completion-pcm--merge-completions): Extract common suffix for the new
5961 `prefix' symbol as well.
5962 (completion-substring--all-completions): Use the new `prefix' symbol.
5964 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
5966 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
5968 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5969 (tramp-compat-funcall): New defmacro.
5970 (tramp-compat-line-beginning-position)
5971 (tramp-compat-line-end-position)
5972 (tramp-compat-temporary-file-directory)
5973 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5974 (tramp-compat-copy-file, tramp-compat-copy-directory)
5975 (tramp-compat-delete-file, tramp-compat-delete-directory)
5976 (tramp-compat-number-sequence, tramp-compat-process-running-p)
5977 * net/tramp.el (top, with-progress-reporter)
5978 (tramp-rfn-eshadow-setup-minibuffer)
5979 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5980 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5981 (tramp-completion-mode-p, tramp-check-for-regexp)
5982 (tramp-open-connection-setup-interactive-shell)
5983 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5984 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5985 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
5986 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5987 (tramp-reporter-dump-variable, tramp-load-report-modules)
5988 (tramp-append-tramp-buffers)
5989 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
5991 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5993 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5995 * progmodes/compile.el (compilation-buffer-modtime): Rename from
5996 buffer-modtime. Adjust users.
5998 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6000 * international/mule.el (auto-coding-alist): Only purecopy
6001 car of each item, not the whole list (Bug#6083).
6003 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6005 * progmodes/js.el (js-mode): Make paragraph variables local before
6006 calling c-setup-paragraph-variables (Bug#6071).
6008 2010-05-08 Eli Zaretskii <eliz@gnu.org>
6010 * composite.el (compose-region, reference-point-alist): Fix typos
6013 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6015 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6016 gnuplot's "set" command.
6018 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6020 * abbrev.el (last-abbrev-text): Doc fix.
6021 (abbrev-prefix-mark): Don't escape parenthesis.
6023 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
6025 * composite.el (find-composition): Doc fix.
6027 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6029 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6030 (sql-oracle-program, sql-sqlite-options)
6031 (sql-query-placeholders-and-send): Doc fixes.
6032 (sql-set-product, sql-interactive-mode): Reflow docstrings.
6033 (sql-imenu-generic-expression, sql-buffer)
6034 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6035 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6036 (sql-mode-sybase-font-lock-keywords)
6037 (sql-mode-informix-font-lock-keywords)
6038 (sql-mode-interbase-font-lock-keywords)
6039 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6040 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6041 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6042 (sql-product-feature, sql-highlight-product)
6043 (comint-line-beginning-position, sql-rename-buffer)
6044 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6045 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6046 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6047 Fix typos in docstrings.
6049 2010-05-08 Juri Linkov <juri@jurta.org>
6051 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6052 property instead of `invisible' and `after-string' (bug#5998).
6054 2010-05-08 Juri Linkov <juri@jurta.org>
6056 * image-mode.el (image-mode-as-text): Fix typo in docstring.
6058 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6060 * filecache.el (file-cache-add-directory-list)
6061 (file-cache-add-directory-recursively): Fix typos in docstrings.
6063 2010-05-08 Kenichi Handa <handa@m17n.org>
6065 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6066 (gujarati-composable-pattern): Fix typo.
6068 2010-05-08 Kenichi Handa <handa@m17n.org>
6070 * language/indian.el (oriya-composable-pattern)
6071 (tamil-composable-pattern, malayalam-composable-pattern):
6072 Add two-part vowels to "v" (vowel sign).
6074 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6076 * files.el (copy-directory): Handle symlinks (Bug#5982).
6078 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
6080 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
6081 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
6084 2010-05-08 Glenn Morris <rgm@gnu.org>
6086 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
6088 * minibuffer.el (completion-at-point): Doc fix.
6090 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6092 * electric.el (Electric-command-loop): Minor tweak.
6094 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
6095 better with dedicated windows.
6097 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
6099 * Version 23.2 released.
6101 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
6102 Stefan Monnier <monnier@iro.umontreal.ca>
6104 Highlight vendor specific properties.
6105 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
6106 (css-proprietary-property): New face.
6107 (css-font-lock-keywords): Use them.
6109 2010-05-07 Eli Zaretskii <eliz@gnu.org>
6111 * cus-start.el (all): Add native condition for tool-bar-* symbols.
6113 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6115 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
6116 * files.el (auto-mode-alist): Remove redundant entries.
6118 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
6119 * simple.el (auto-save-mode): Move from files.el.
6120 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
6122 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
6124 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
6126 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
6128 * mail/binhex.el (binhex-decode-region-internal)
6129 * mail/uudecode.el (uudecode-decode-region-internal)
6130 * net/dns.el (dns-read-string-name, dns-write, dns-read)
6131 (dns-read-type, dns-query)
6132 * pgg-parse.el (pgg-parse-armor)
6133 * pgg.el (pgg-verify-region)
6134 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
6137 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
6139 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
6141 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
6143 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
6144 * emulation/cua-base.el (cua-repeat-replace-region):
6145 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6146 (cua-cut-region-to-global-mark):
6147 Remove text properties with `set-text-properties'.
6149 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
6151 * net/tramp.el (top, with-progress-reporter):
6152 Use `symbol-function' inside `funcall'.
6154 * net/tramp-compat.el (tramp-compat-file-attributes)
6155 (tramp-compat-delete-file, tramp-compat-delete-directory):
6156 Handle only `wrong-number-of-arguments' error.
6158 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
6159 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
6162 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6164 * minibuffer.el (completion--sreverse, completion--common-suffix):
6166 (completion-pcm--merge-completions): Extract common suffix when safe.
6168 * emacs-lisp/easy-mmode.el (define-minor-mode):
6169 Make :variable more flexible.
6170 * files.el (auto-save-mode): Use it to define using define-minor-mode.
6172 2010-05-05 Juri Linkov <juri@jurta.org>
6174 Add `slow' and `history' tags to the desktop data.
6176 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
6177 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
6178 (Info-finder-find-node): Require `finder.el' to be able
6179 to restore node from the desktop.
6180 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
6181 data `Info-history' and `slow' tag in the assoc list.
6182 (Info-restore-desktop-buffer): Don't restore nodes with the
6183 `slow' tag. Restore `Info-history'.
6185 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
6187 Add FORCE argument to `delete-file'.
6189 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
6190 forcing to delete the temporary file.
6191 (ange-ftp-delete-file): Add FORCE arg.
6192 (ange-ftp-rename-remote-to-remote)
6193 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
6194 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
6195 Force file deletion.
6197 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
6199 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
6200 (tramp-handle-make-symbolic-link, tramp-handle-load)
6201 (tramp-do-copy-or-rename-file-via-buffer)
6202 (tramp-do-copy-or-rename-file-directly)
6203 (tramp-do-copy-or-rename-file-out-of-band)
6204 (tramp-handle-process-file, tramp-handle-call-process-region)
6205 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6206 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6207 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
6209 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
6210 (tramp-fish-handle-make-symbolic-link)
6211 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
6213 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6214 Use `tramp-compat-delete-file'.
6216 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
6217 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
6219 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
6220 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
6222 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
6223 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
6224 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
6225 `tramp-compat-delete-file'.
6227 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * subr.el (add-minor-mode): Use push.
6231 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
6232 * emulation/edt.el (edt-select-mode): Simplify.
6234 Use define-minor-mode in more cases.
6235 * term/tvi970.el (tvi970-set-keypad-mode):
6236 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6237 (normal-erase-is-backspace-mode):
6238 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
6239 (set-scroll-bar-mode-1): (Re)move to its sole caller.
6240 (get-scroll-bar-mode): New function.
6241 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
6243 Use define-minor-mode for less obvious cases.
6244 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
6245 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
6246 * international/iso-ascii.el (iso-ascii-mode):
6247 * frame.el (auto-raise-mode, auto-lower-mode):
6248 * composite.el (global-auto-composition-mode): Use define-minor-mode.
6250 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
6252 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
6253 in order to see error messages for failed logins.
6255 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
6257 * diff.el (diff-sentinel):
6259 * epg.el (epg--make-temp-file, epg-decrypt-string)
6260 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6262 * jka-compr.el (jka-compr-partial-uncompress)
6263 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
6265 * server.el (server-sentinel): Use delete-file's new FORCE arg
6268 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6270 Use define-minor-mode where applicable.
6271 * view.el (view-mode):
6272 * type-break.el (type-break-query-mode)
6273 (type-break-mode-line-message-mode):
6274 * textmodes/reftex.el (reftex-mode):
6275 * term/vt100.el (vt100-wide-mode):
6276 * tar-mode.el (tar-subfile-mode):
6277 * savehist.el (savehist-mode):
6278 * ibuf-ext.el (ibuffer-auto-mode):
6279 * composite.el (auto-composition-mode):
6280 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6281 Use define-minor-mode.
6282 (vhdl-mode): Use static mode-line format.
6283 (vhdl-mode-line-update): Delete.
6284 (vhdl-create-mode-menu, vhdl-activate-customizations)
6285 (vhdl-hs-minor-mode): Don't bother calling it.
6287 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6289 * simple.el (with-wrapper-hook): Move.
6290 (buffer-substring-filters): Mark obsolete.
6291 (filter-buffer-substring-functions): New variable.
6292 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
6294 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6295 Michael Albinus <michael.albinus@gmx.de>
6297 Implement compression for inline methods.
6299 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6300 (tramp-copy-size-limit): Allow also nil.
6301 (tramp-inline-compress-commands): New defconst.
6302 (tramp-find-inline-compress, tramp-get-inline-compress)
6303 (tramp-get-inline-coding): New defuns.
6304 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6305 replaced by `tramp-get-inline-coding'.
6306 (tramp-handle-file-local-copy, tramp-handle-write-region)
6307 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6309 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6311 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
6312 Remove unused functions.
6314 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
6315 Set find-tag-default-function as a variable rather than a property.
6317 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
6318 * progmodes/etags.el (tags-completion-at-point-function):
6319 Remove left over interactive spec. Add autoloading stub.
6320 (complete-tag): Use tags-completion-at-point-function.
6322 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
6324 * minibuffer.el (tags-completion-at-point-function): Fix return value.
6326 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
6328 * ido.el (ido-init-completion-maps): Remove C-v binding.
6329 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
6331 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
6333 * minibuffer.el (tags-completion-at-point-function): New function.
6334 (completion-at-point-functions): Use it.
6336 * progmodes/etags.el (complete-tag): Revert last change.
6338 2010-04-29 Alan Mackenzie <acm@muc.de>
6340 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
6341 off-by-one error (in end of macro position).
6343 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
6346 firefox is absent. Don't autoload.
6347 (browse-url-galeon-program): Don't autoload.
6349 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6351 * bindings.el (complete-symbol): Move into minibuffer.el.
6353 * minibuffer.el (complete-tag): Move from etags.el. If tags
6354 completion cannot be performed, return nil instead of signalling
6356 (completion-at-point): Make it an alias for complete-symbol.
6357 (complete-symbol): Move from bindings.el, and replace with the
6358 body of completion-at-point.
6360 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
6362 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
6364 * net/tramp.el (tramp-remote-selinux-p): New defun.
6365 (tramp-handle-file-selinux-context)
6366 (tramp-handle-set-file-selinux-context): Use it.
6368 2010-04-28 Sam Steingold <sds@gnu.org>
6370 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6371 `safe-local-variable' if the value is a string or a symbol with
6372 the property `bug-reference-url-format'.
6374 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6376 * progmodes/bug-reference.el (bug-reference-url-format):
6377 Revert 2010-04-27 change due to security risk.
6379 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6381 Make it possible to locally disable a globally enabled mode.
6382 * simple.el (fundamental-mode): Run fundamental-mode-hook.
6383 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
6384 rather than kill-all-local-variables so it runs fundamental-mode-hook.
6385 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6386 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
6387 that subsequent hooks get a chance to disable it.
6389 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6391 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6392 Avoid re-enabling a minor mode after the user turned the minor mode
6393 off if MODE-enable-in-buffers is run twice (typically once from
6394 fundamental-mode's after-change-major-mode-hook and a second time from
6395 run-mode-hook's own after-change-major-mode-hook).
6397 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
6399 2010-04-27 Sam Steingold <sds@gnu.org>
6401 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6402 `safe-local-variable' if the value is a string or a function, as
6403 documented and implemented on 2010-04-02.
6405 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
6407 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
6408 when method is 'kill.
6410 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
6412 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
6413 condition in default directory check.
6414 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
6415 Kill ispell process when killing its associated buffer.
6417 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
6419 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
6420 but we aren't using it.
6422 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
6424 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
6425 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
6427 2010-04-24 Glenn Morris <rgm@gnu.org>
6429 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
6430 Ignore VCS-ignore files, and deleted nextstep preferences files.
6431 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
6432 (authors-ambiguous-files): New list.
6433 (authors-valid-file-names): Add some deleted files.
6434 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
6435 (authors-disambiguate-file-name): New function. (Bug#5501)
6436 (authors-canonical-file-name): Doc fix.
6437 Don't warn about obsolete files.
6438 (authors-canonical-file-name, authors-scan-el):
6439 Use authors-disambiguate-file-name.
6441 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6442 Add autoload cookies.
6443 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
6444 (generated-autoload-file): Set file-local value to "htmlfontify.el".
6445 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
6446 They have definitions / compiler macros in cl.el.
6447 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6448 Replace manual autoloads with generated ones.
6449 (htmlfontify-unload-rgb-file): Remove autoload.
6450 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
6452 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6454 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
6455 (byte-compile-setq-default): Optimize for the
6456 single-var case and don't call byte-compile-form in this case to avoid
6457 inf-loop with byte-compile-set-default.
6459 * progmodes/compile.el (compilation-start): Abbreviate default directory.
6461 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
6463 Implement SELINUX backends.
6465 * net/tramp.el (tramp-file-name-handler-alist):
6466 Add `file-selinux-context' and `set-file-selinux-context'.
6467 (tramp-handle-file-selinux-context)
6468 (tramp-handle-set-file-selinux-context): New defuns.
6469 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6470 Handle PRESERVE-SELINUX-CONTEXT.
6472 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6473 Add `file-selinux-context' and `set-file-selinux-context'.
6474 (tramp-gvfs-handle-file-selinux-context)
6475 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6476 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6478 * net/ange-ftp.el (ange-ftp-copy-file):
6479 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6480 * net/tramp-imap.el (tramp-imap-handle-copy-file):
6481 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6482 Add PRESERVE-SELINUX-CONTEXT.
6484 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6486 Synchronize with Tramp repository.
6488 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
6489 (tramp-action-process-alive, tramp-action-out-of-band)
6490 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6491 (tramp-exists-file-name-handler): Fix docstring.
6492 (with-progress-reporter): New defmacro.
6493 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
6494 (tramp-maybe-open-connection): Use it.
6496 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
6498 Detect ssh 'ControlMaster' argument automatically in some cases.
6500 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6501 (tramp-default-method): Use it.
6503 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6505 * net/tramp.el (tramp-handle-copy-file): Add new optional
6506 parameter `preserve-selinux-context'.
6507 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
6509 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6511 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
6512 Ensure, that non remote files are still checked. Oops.
6514 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
6518 * icomplete.el (icomplete-completions): Use `non-essential'.
6520 * net/tramp.el (tramp-connectable-p): New defun.
6521 (tramp-handle-expand-file-name)
6522 (tramp-completion-handle-file-name-all-completions)
6523 (tramp-completion-handle-file-name-completion): Use it.
6525 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6527 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
6529 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
6531 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
6533 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
6535 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
6538 * info.el (info-tool-bar-map): Add labels.
6540 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
6542 * cus-edit.el (custom-commands): Add labels for tool bar.
6543 (custom-buffer-create-internal, Custom-mode): Adjust for
6544 labels in custom-commands.
6546 * dynamic-setting.el: Renamed from font-setting.el.
6548 2010-04-21 John Wiegley <jwiegley@gmail.com>
6550 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
6551 toggles the use of virtual buffers.
6552 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
6553 (ido-toggle-virtual-buffers): New function.
6555 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
6557 Use `define-derived-mode'; fix window selection; doc fixes.
6558 * play/tetris.el (tetris, tetris-update-speed-function)
6559 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
6560 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
6561 (tetris-rotate-next, tetris-end-game, tetris-start-game)
6562 (tetris-pause-game): Fix typos in docstrings.
6563 (tetris-mode-map, tetris-null-map):
6564 Move initialization into declaration.
6565 (tetris-mode): Define with `define-derived-mode';
6566 set show-trailing-whitespace to nil.
6567 (tetris): Prefer window already displaying the "*Tetris*" buffer.
6569 2010-04-21 Karel Klíč <kklic@redhat.com>
6571 * files.el (backup-buffer): Handle SELinux context, and return it
6572 if a backup was made by renaming.
6573 (backup-buffer-copy): Set SELinux context to the target file.
6574 (basic-save-buffer): Set SELinux context of the newly written file.
6575 (basic-save-buffer-1): Now it also returns any SELinux context.
6576 (basic-save-buffer-2): Set SELinux context of the newly created file,
6578 * net/tramp.el (tramp-file-name-for-operation):
6579 Add file-selinux-context.
6581 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6583 Make the log-edit comments use RFC822 format throughout.
6585 * vc.el (vc-checkin, vc-modify-change-comment):
6586 Adjust to new vc-start/finish-logentry.
6587 (vc-find-conflicted-file): New command.
6588 (vc-transfer-file): Adjust to new vc-checkin.
6589 (vc-next-action): Improve scoping.
6591 * vc-hg.el (vc-hg-log-edit-mode): Remove.
6592 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
6594 * vc-git.el (vc-git-log-edit-mode): Remove.
6595 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
6596 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
6598 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
6599 (vc-start-logentry): Remove argument `extra'.
6600 (vc-finish-logentry): Remove extra args.
6602 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
6603 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
6604 (vc-bzr-conflicted-files): New function.
6606 * log-edit.el (log-edit-extra-flags)
6607 (log-edit-before-checkin-process): Remove.
6608 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
6609 (log-edit-headers-alist): New var.
6610 (log-edit-header-contents-regexp): New const.
6611 (log-edit-match-to-eoh): New function.
6612 (log-edit-font-lock-keywords): Use them.
6613 (log-edit): Insert a "Summary:" header as default.
6614 (log-edit-mode): Mark font-lock rules as case-insensitive.
6615 (log-edit-done): Cleanup headers.
6616 (log-view-process-buffer): Remove.
6617 (log-edit-extract-headers): New function to replace it.
6619 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
6621 * subr.el (default-direction-reversed): Remove obsolescence info.
6623 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6625 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
6628 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
6629 I.e. include text after point in the completion region.
6630 Also, return nil when we're not after/in a symbol.
6632 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
6633 default enable-multibyte-characters.
6635 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6637 * international/mule.el: Help the user choose a valid coding-system.
6638 (read-buffer-file-coding-system): New function.
6639 (set-buffer-file-coding-system): Use it. Prompt the user if the
6640 coding-system cannot encode all the chars.
6642 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
6643 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
6644 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
6645 Don't use *vc-bzr-shelve*.
6647 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
6649 Fix the version number for added files.
6650 * vc-hg.el (vc-hg-working-revision): Check if the file is
6651 registered after hg parent fails (Bug#5961).
6653 2010-04-19 Glenn Morris <rgm@gnu.org>
6655 * htmlfontify.el (htmlfontify-buffer)
6656 (htmlfontify-copy-and-link-dir): Autoload entry points.
6658 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
6660 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
6661 name relative to the project root (Bug#5960).
6663 2010-04-19 Glenn Morris <rgm@gnu.org>
6665 * vc-git.el (vc-git-print-log): Doc fix.
6667 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
6669 * ido.el (ido-file-internal): Fix 2009-12-02 change.
6671 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
6673 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
6674 default settings (Bug#5928).
6676 2010-04-19 Glenn Morris <rgm@gnu.org>
6678 * progmodes/fortran.el (fortran-match-and-skip-declaration):
6680 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
6682 2010-04-19 Kenichi Handa <handa@m17n.org>
6684 * language/indian.el (malayalam-composable-pattern): Fix previous
6685 change (add U+0D4D "SIGN VIRAMA").
6686 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
6687 (tamil-composable-pattern): Fix typo in the regexp.
6688 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
6689 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
6690 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
6692 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6694 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
6695 paragraph-separate (Bug#5821).
6697 2010-04-19 Juri Linkov <juri@jurta.org>
6699 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
6701 * info.el (Info-find-node-2): Comment out code that skips
6703 (Info-mouse-follow-link): New command.
6704 (Info-link-keymap): New keymap.
6705 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
6706 Return a string with links instead of inserting breadcrumbs
6708 (Info-fontify-node): Comment out code that inserts breadcrumbs.
6709 Instead of putting the `invisible' text property over the Info
6710 header, make an overlay over the Info header with the `invisible'
6711 property and `after-string' set to the string returned by
6714 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6716 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
6717 Reported by monkey@sandpframing.com.
6719 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6721 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
6722 (tmm-get-keymap): Add key-binding shortcuts now that they're not
6723 available in the "keyseq cache" any more.
6725 * custom.el (defcustom): Add edebug spec.
6727 2010-04-18 Juri Linkov <juri@jurta.org>
6729 Test for special mode-class in view-buffer instead of view-file (bug#5513).
6731 * view.el (view-file, view-buffer): Move test for special mode-class
6732 from view-file to view-buffer.
6734 * tar-mode.el (tar-extract): Turn if's into one cond
6735 like in arc-mode.el.
6737 2010-04-18 Juri Linkov <juri@jurta.org>
6739 Add 7z archive format support (bug#5475).
6741 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
6742 (archive-7z-extract): New defcustom.
6743 (archive-find-type): Add magic string for 7z.
6744 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
6745 If `stderr-file' is non-nil, use `(t stderr-file)' for the
6746 `buffer' arg of `call-process'.
6747 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
6748 call the function `archive-7z-extract' with the variable
6749 `archive-7z-extract' let-bound to `archive-zip-extract'.
6750 (archive-7z-summarize, archive-7z-extract): New functions.
6752 * international/mule.el (auto-coding-alist):
6753 * files.el (auto-mode-alist): Add 7z file extension.
6755 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6757 * loadup.el: Setup hash-cons for pure data.
6759 Fix duplicate entries in cedet's loaddefs.el files.
6760 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
6761 Should make most file-local generated-autoload-file unnecessary.
6762 (print-readably): Silence warnings.
6763 (autoload-find-destination): Take load-name as an arg to make sure
6764 it's the same as the one that will be in the file.
6765 (autoload-generate-file-autoloads): Adjust to above changes.
6766 Try to make the dataflow a bit simpler.
6768 * cvs-status.el (cvs-refontify): Remove unused.
6770 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
6772 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
6774 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
6775 twos-complement mode.
6777 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
6779 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
6780 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
6781 (calc-inverse): Add "Option" to message, as appropriate.
6782 (calc-hyperbolic): Add "Option" to message, as appropriate.
6783 (calc-option, calc-is-option): New functions.
6785 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
6786 (calc-option-prefix-help): New function.
6788 * calc/calc-misc.el (calc-help): Add "Option" entry.
6790 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
6791 (calc-option-flag): New variable.
6792 (calc-do): Set `calc-option-flag to nil.
6793 (calc-set-mode-line): Add "Opt " as appropriate.
6795 2010-04-16 Juri Linkov <juri@jurta.org>
6797 Move scrolling commands from simple.el to window.el
6798 because their primitives are implemented in window.c.
6800 * simple.el (scroll-error-top-bottom)
6801 (scroll-up-command, scroll-down-command, scroll-up-line)
6802 (scroll-down-line, scroll-other-window-down)
6803 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6804 * window.el (scroll-error-top-bottom)
6805 (scroll-up-command, scroll-down-command, scroll-up-line)
6806 (scroll-down-line, scroll-other-window-down)
6807 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6808 Move from simple.el to window.el because their primitives are
6809 implemented in window.c.
6811 2010-04-16 Juri Linkov <juri@jurta.org>
6813 * isearch.el (isearch-lookup-scroll-key): Check both
6814 `isearch-scroll' and `scroll-command' properties.
6815 (scroll-up, scroll-down): Remove `isearch-scroll' property.
6817 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
6819 * simple.el (scroll-up-command, scroll-down-command)
6820 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
6822 2010-04-15 Juri Linkov <juri@jurta.org>
6824 * simple.el (scroll-up-command, scroll-down-command)
6825 (scroll-up-line, scroll-down-line): Put `scroll-command'
6826 property on the these symbols. Remove them from
6827 `scroll-preserve-screen-position-commands'.
6829 * mwheel.el (mwheel-scroll): Put `scroll-command' and
6830 `isearch-scroll' properties on the `mwheel-scroll' symbol.
6831 Remove it from `scroll-preserve-screen-position-commands'.
6833 * isearch.el (isearch-allow-scroll): Doc fix.
6835 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
6837 * net/tramp.el (tramp-error-with-buffer): Don't show the
6838 connection buffer when we are in completion mode.
6839 (tramp-file-name-handler): Catch the error for some operations
6840 when we are in completion mode. This gives the user the chance to
6841 correct the file name in the minibuffer.
6843 2010-04-15 Glenn Morris <rgm@gnu.org>
6845 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
6847 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
6849 Simplify by using `define-derived-mode'.
6850 * info.el (Info-mode):
6851 * calendar/todo-mode.el (todo-mode):
6852 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
6853 (gomoku-mode-map): Move initialization into declaration.
6855 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
6858 * ido.el (ido-file-name-all-completions-1):
6859 * minibuffer.el (minibuffer-completion-help):
6860 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
6862 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6864 * simple.el (non-essential): New var.
6866 Add a new field `location' to bookmarks for non-file bookmarks.
6867 * bookmark.el (bookmark-location): Use the new field, if present.
6868 (bookmark-insert-location): Undo last change, not needed any more.
6869 * man.el (Man-bookmark-make-record):
6870 * woman.el (woman-bookmark-make-record): Add `location' field.
6872 2010-04-14 Juri Linkov <juri@jurta.org>
6874 * simple.el (scroll-error-top-bottom): New defcustom.
6875 (scroll-up-command, scroll-down-command): Use it. Doc fix.
6877 * emulation/pc-select.el (pc-select-override-scroll-error):
6878 Obsolete in favor of `scroll-error-top-bottom'.
6880 2010-04-14 Juri Linkov <juri@jurta.org>
6882 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
6883 `scroll-up-command' and `M-v' to `scroll-down-command'.
6885 * emulation/cua-rect.el (cua--init-rectangles):
6886 * forms.el (forms--change-commands):
6887 * image-mode.el (image-mode-map):
6888 Remap scroll-down-command and scroll-up-command
6889 in addition to scroll-down and scroll-up.
6891 2010-04-14 Juri Linkov <juri@jurta.org>
6893 * mwheel.el (scroll-preserve-screen-position-commands):
6894 Add mwheel-scroll to this list of commands.
6896 * simple.el (scroll-preserve-screen-position-commands):
6897 Add scroll-up-command, scroll-down-command, scroll-up-line,
6898 scroll-down-line to this list of commands.
6900 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6902 * obsolete/complete.el: Move from lisp/complete.el.
6904 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
6906 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
6907 to the minor mode function now turns the mode ON unconditionally.
6909 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6911 * vc-dir.el (vc-dir-kill-line): New command.
6912 (vc-dir-mode-map): Bind it to C-k.
6914 * bookmark.el (bookmark-insert-location): Handle a nil filename.
6916 * woman.el: Add bookmark declarations to silence the compiler.
6917 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
6918 step to compatibility between man and woman bookmarks.
6919 Adjust for Man-default-bookmark-title renaming.
6920 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
6922 * man.el: Add bookmark declarations to silence the compiler.
6923 (Man-name-local-regexp): Make it match NAME as well.
6924 (Man-getpage-in-background): Return the buffer.
6925 (Man-notify-when-ready): Use `case'.
6926 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
6927 Don't hardcode "NAME". Simplify.
6928 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
6929 Rename from Man-bookmark-make-record.
6930 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
6931 we have the actual man-args. Use Man-getpage-in-background rather
6932 than `man' since the arg is already processed. Let bookmark.el do the
6933 window handling. Only wait for the relevant process.
6934 Don't forget to autoload.
6936 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
6938 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6940 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
6942 (woman-mode): Setup bookmark support.
6944 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
6945 (man-bookmark-jump): New functions.
6946 (Man-mode): Setup bookmark support.
6948 2010-04-10 Jari Aalto <jari.aalto@cante.net>
6950 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
6951 recognize ssh-keygen prompt (Bug#2817).
6953 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6955 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
6957 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6959 Synchronize with Tramp repository.
6961 * net/tramp.el (tramp-completion-function-alist)
6962 (tramp-file-name-regexp, tramp-chunksize)
6963 (tramp-local-coding-commands, tramp-remote-coding-commands):
6965 (tramp-remote-process-environment): Use `format' instead of `concat'.
6966 (tramp-handle-directory-files-and-attributes)
6967 (tramp-get-remote-path): Use `copy-tree'.
6968 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6969 compatibility: Use `completion-ignore-case' if
6970 `read-file-name-completion-ignore-case' does not exist.
6971 (tramp-do-copy-or-rename-file-directly): Do not use
6972 `tramp-handle-file-remote-p'.
6973 (tramp-do-copy-or-rename-file-out-of-band):
6974 Use `tramp-compat-delete-directory'.
6975 (tramp-do-copy-or-rename-file-out-of-band)
6976 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6977 Use `format-spec-make'.
6978 (tramp-find-foreign-file-name-handler)
6979 (tramp-advice-make-auto-save-file-name)
6980 (tramp-set-auto-save-file-modes): Remove superfluous check for
6981 `stringp'. This is done inside `tramp-tramp-file-p'.
6982 (tramp-debug-outline-regexp): New defconst.
6983 (tramp-get-debug-buffer): Use it.
6984 (tramp-check-for-regexp): Use (forward-line 1).
6985 (tramp-set-auto-save-file-modes): Adapt version check.
6987 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
6988 Wrap call of `featurep' for 2nd argument.
6989 (tramp-compat-make-temp-file): Simplify fallback implementation.
6990 (tramp-compat-copy-tree): Remove function.
6991 (tramp-compat-delete-directory): Provide implementation for older
6994 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
6995 Do not use `tramp-fish-handle-file-attributes.
6997 * net/trampver.el: Update release number.
6999 2010-04-10 Glenn Morris <rgm@gnu.org>
7001 * progmodes/compile.el (compilation-save-buffers-predicate):
7002 Add missing :version tag.
7004 2010-04-09 Sam Steingold <sds@gnu.org>
7006 * progmodes/compile.el (compilation-save-buffers-predicate):
7007 Remove the "autoload" cookie.
7009 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7010 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7011 and `bug-reference-prog-mode' can be used in hooks directly.
7013 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
7015 Add --author support to git commit.
7016 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7017 (vc-git-log-edit-mode): New minor mode.
7018 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7021 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
7023 * vc-hooks.el, vc-git.el: Improve documentation comments.
7025 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7027 Fix some of the problems in defsubst* (bug#5728).
7028 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7029 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7031 2010-04-07 Sam Steingold <sds@gnu.org>
7033 * progmodes/compile.el (compilation-save-buffers-predicate):
7034 New custom variable.
7035 (compile, recompile): Pass it to `save-some-buffers'.
7037 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
7039 * wid-edit.el (widget-choose): Move cursor to the second line of
7040 the buffer (Bug#5695).
7042 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7044 Add new VC methods: vc-log-incoming and vc-log-outgoing.
7045 * vc.el (vc-print-log-setup-buttons): New function split out from
7046 vc-print-log-internal.
7047 (vc-log-internal-common): New function, a parametrized version of
7048 vc-print-log-internal.
7049 (vc-print-log-internal): Just call vc-log-internal-common with the
7051 (vc-incoming-outgoing-internal):
7052 (vc-log-incoming, vc-log-outgoing): New functions.
7053 (vc-log-view-type): New permanent local variable.
7055 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7057 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7058 of the dynamic bound vc-short-log.
7059 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7061 * vc-git.el (vc-git-log-outgoing): New function.
7062 (vc-git-log-view-mode): Use vc-log-view-type instead
7063 of the dynamic bound vc-short-log.
7065 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7066 of the dynamic bound vc-short-log. Highlight the tag.
7067 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7068 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7069 (vc-hg-incoming-mode): Remove.
7070 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7072 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7074 Fix default-directory for vc-root-diff.
7075 * vc.el (vc-root-diff): Bind default-directory to the root
7076 directory for the diff command.
7078 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
7080 * progmodes/verilog-mode.el (verilog-forward-sexp):
7081 (verilog-calc-1): Support "disable fork" and "fork wait" multi
7082 word keywords, suggested by Steve Pearlmutter.
7083 (verilog-pretty-declarations): Support lineup of declarations in
7085 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
7086 fix bug for /* / comments.
7087 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
7088 Speed up and simplfy as this is never called with a bound.
7089 (verilog-pretty-declarations): Enhance to line up declarations
7090 inside a parameter list, suggested by Alan Morgan.
7091 (verilog-pretty-expr): Tune assignment regular expression match
7092 string for corner cases; also use markers instead of character
7093 number as indent changes the later.
7095 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
7097 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
7099 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
7100 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
7101 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
7102 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
7105 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
7106 1800-2009 keywords, including "global.".
7108 2010-04-06 John Wiegley <jwiegley@gmail.com>
7110 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
7111 appearing in buffer list (if a live buffer name matched a recentf
7112 file basename). Should use uniquify to offer a real solution.
7114 2010-04-06 John Wiegley <jwiegley@gmail.com>
7116 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
7117 comment to code, and add a :version tag.
7118 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
7120 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
7122 Enable recentf-mode if using virtual buffers.
7123 * ido.el (recentf-list): Declare for byte-compiler.
7124 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
7125 (ido-make-buffer-list): Simplify.
7126 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
7128 2010-04-05 Juri Linkov <juri@jurta.org>
7130 Scrolling commands which scroll a line instead of full screen.
7131 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7133 * simple.el (scroll-up-line, scroll-down-line): New commands.
7134 Put property isearch-scroll=t on them.
7136 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
7139 2010-04-05 Juri Linkov <juri@jurta.org>
7141 Scrolling commands which do not signal errors at top/bottom.
7142 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7144 * simple.el (scroll-up-command, scroll-down-command): New commands.
7145 Put property isearch-scroll=t on them.
7147 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
7148 `scroll-down-command' and [next] from `scroll-up' to
7149 `scroll-up-command'.
7151 * emulation/cua-base.el: Put property CUA=move on
7152 `scroll-up-command' and `scroll-down-command'.
7153 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
7154 and `scroll-down-command' to `cua-scroll-down'.
7156 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
7158 * help.el (describe-mode): Return nil.
7160 2010-04-04 John Wiegley <jwiegley@gmail.com>
7162 * ido.el (ido-use-virtual-buffers): New variable to indicate
7163 whether "virtual buffer" support is enabled for IDO.
7164 (ido-virtual): Face used to indicate virtual buffers in the list.
7165 (ido-buffer-internal): If a buffer is chosen, and no such buffer
7166 exists, but a virtual buffer of that name does (which would be why
7167 it was in the list), recreate the buffer by reopening the file.
7168 (ido-make-buffer-list): If virtual buffers are being used, call
7169 `ido-add-virtual-buffers-to-list' before the make list hook.
7170 (ido-virtual-buffers): New variable which contains a copy of the
7171 current contents of the `recentf-list', albeit pared down for the
7172 sake of speed, and with proper faces applied.
7173 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
7174 create a list of "virtual buffers" to present to the user in
7175 addition to the currently open set. Note that this logic could
7176 get rather slow if that list is too large. With the default
7177 `recentf-max-saved-items' of 200, there is little speed penalty.
7179 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
7181 * font-lock.el: Require CL when compiling.
7182 (font-lock-turn-on-thing-lock): Use `case'.
7184 2010-04-03 Eli Zaretskii <eliz@gnu.org>
7186 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
7189 2010-04-02 Juri Linkov <juri@jurta.org>
7191 * ehelp.el (electric-help-orig-major-mode):
7192 New buffer-local variable.
7193 (electric-help-mode): Set it to original major-mode. Doc fix.
7194 (with-electric-help): Use `electric-help-orig-major-mode' instead
7195 of (default-value 'major-mode). Doc fix.
7196 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
7198 2010-04-02 Sam Steingold <sds@gnu.org>
7200 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
7201 `vc-hg-command' with a list of flags.
7203 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7204 Also accept "patch" and "RFE".
7205 (bug-reference-fontify): `bug-reference-url-format' can also be a
7206 function to be able to handle the bug kind.
7207 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
7209 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
7211 * tmm.el (tmm-get-keymap): Check with symbolp before passing
7212 value to fboundp, it may not be a symbol.
7214 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7216 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
7218 2010-03-31 Juri Linkov <juri@jurta.org>
7220 * simple.el (next-line, previous-line): Re-throw a signal
7221 with `signal' instead of using `ding'.
7222 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
7224 2010-03-31 Juri Linkov <juri@jurta.org>
7226 * simple.el (keyboard-escape-quit): Raise deselecting the active
7227 region higher than exiting the minibuffer.
7228 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
7230 2010-03-31 Juri Linkov <juri@jurta.org>
7232 * image.el (image-animated-p): Use `image-metadata' instead of
7233 `image-extension-data'. Get GIF extenstion data from metadata
7234 property `extension-data'.
7236 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7238 * simple.el (append-to-buffer): Simplify.
7240 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
7242 * textmodes/artist.el (artist-mode): Fix typo in docstring.
7243 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
7245 2010-03-31 Kenichi Handa <handa@m17n.org>
7247 * language/sinhala.el (composition-function-table): Fix regexp for
7248 the new Unicode specification.
7250 * language/indian.el (devanagari-composable-pattern)
7251 (tamil-composable-pattern, kannada-composable-pattern)
7252 (malayalam-composable-pattern): Adjust for the new Unicode
7254 (bengali-composable-pattern, gurmukhi-composable-pattern)
7255 (gujarati-composable-pattern, oriya-composable-pattern)
7256 (telugu-composable-pattern): New variables to cope with the new
7257 Unicode specification. Use them in composition-function-table.
7259 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7261 Make tmm-menubar work for the Buffers menu again (bug#5726).
7262 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
7263 vectors rather than cons cells, as used in menu-bar-update-buffers.
7265 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7267 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
7268 (js-insert-and-indent): Revert 2009-08-15 change, restoring
7269 electric punctuation for "{}();,:" (Bug#5586).
7271 * mail/sendmail.el (mail-default-directory): Doc fix.
7273 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7275 * mail/sendmail.el (mail-default-directory): Doc fix.
7277 2010-03-31 Eli Zaretskii <eliz@gnu.org>
7279 * subr.el (version-regexp-alist, version-to-list)
7280 (version-list-<, version-list-=, version-list-<=)
7281 (version-list-not-zero, version<, version<=, version=): Doc fix.
7284 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
7286 * vc.el (vc-root-diff): Doc fix.
7288 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7290 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
7292 * simple.el (append-to-buffer): Fix last change.
7294 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7296 * simple.el (append-to-buffer): Ensure that point is preserved if
7297 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
7300 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7302 * files.el (auto-mode-case-fold): Change default to t.
7304 2010-03-30 Juri Linkov <juri@jurta.org>
7306 * dired-x.el (dired-omit-mode): Doc fix.
7308 2010-03-30 Juri Linkov <juri@jurta.org>
7310 * replace.el (occur-accumulate-lines): Move occur-engine related
7311 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
7312 to be located after `occur-engine'.
7314 2010-03-30 Juri Linkov <juri@jurta.org>
7316 Make occur handle multi-line matches cleanly with context.
7317 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
7319 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
7320 (occur-engine): Add local variables `ret', `prev-after-lines',
7321 `prev-lines'. Use more arguments for `occur-context-lines'.
7322 Set first elem of its returned list to `data', and the second elem
7323 to `prev-after-lines'. Don't print the separator line.
7324 In the end, print remaining context after-lines.
7325 (occur-context-lines): Add new arguments `begpt', `endpt',
7326 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
7327 after-lines of the previous match with before-lines of the
7328 current match and not overlap them. Return a list with two
7329 values: the output line and the list of context after-lines.
7331 2010-03-30 Juri Linkov <juri@jurta.org>
7333 * replace.el (occur-accumulate-lines): Fix a bug where the first
7334 context line at the beginning of the buffer was missing.
7336 2010-03-30 Eli Zaretskii <eliz@gnu.org>
7338 * files.el: Make bidi-display-reordering safe variable for boolean
7341 2010-03-29 Phil Hagelberg <phil@evri.com>
7342 Chong Yidong <cyd@stupidchicken.com>
7344 * subr.el: Extend progress reporters to perform "spinning".
7345 (progress-reporter-update, progress-reporter-do-update):
7346 Handle non-numeric value arguments.
7347 (progress-reporter--pulse-characters): New var.
7349 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
7351 * progmodes/compile.el (compilation-start): Fix regexp detection
7352 of initial cd command (Bug#5771).
7354 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
7356 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
7358 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
7360 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
7361 * progmodes/gdb-mi.el: Restore.
7362 * progmodes/gdb-ui.el: Remove.
7363 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
7365 2010-03-25 Glenn Morris <rgm@gnu.org>
7367 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
7368 all dired buffers, even tramp ones. (Bug#5755)
7370 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7372 Add "union tags" in mpc.el.
7373 * mpc.el: Remove backward compatibility code.
7374 (mpc-browser-tags): Change default.
7375 (mpc--find-memoize-union-tags): New var.
7376 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
7377 (mpc-cmd-find): Handle the case where the playlist does not exist.
7379 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
7380 (mpc-cmd-add): Use mpc-cmd-flush.
7381 (mpc-tagbrowser-tag-name): New fun.
7382 (mpc-tagbrowser-buf): Use it.
7383 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
7385 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7388 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
7389 Use replace-regexp-in-string.
7390 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
7391 (makefile-imake-mode-syntax-table): Move init into defvar.
7392 (makefile-mode): Use define-derived-mode.
7394 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
7395 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
7396 not be present any more.
7398 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7400 * faces.el (set-face-attribute): Fix typo in docstring.
7401 (face-valid-attribute-values): Reflow docstring.
7403 2010-03-24 Glenn Morris <rgm@gnu.org>
7405 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
7407 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7409 * indent.el (indent-for-tab-command): Doc fix.
7411 2010-03-24 Alan Mackenzie <acm@muc.de>
7413 * progmodes/cc-engine.el (c-remove-stale-state-cache):
7414 Fix off-by-one error. Fixes bug #5747.
7416 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7418 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
7419 (image-dired-read-comment): Doc fix.
7421 * json.el (json-object-type, json-array-type, json-key-type)
7422 (json-false, json-null, json-read-number):
7423 * minibuffer.el (completion-in-region-functions):
7424 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
7425 (cal-tex-cursor-week):
7426 * emacs-lisp/trace.el (trace-function):
7427 * eshell/em-basic.el (eshell/printnl):
7428 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
7429 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
7430 * obsolete/levents.el (allocate-event, event-key, event-object)
7431 (event-point, event-process, event-timestamp, event-to-character)
7432 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
7433 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
7434 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
7435 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
7436 (reftex-highlight-selection): Fix typos in docstrings.
7438 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7440 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
7442 2010-03-24 Glenn Morris <rgm@gnu.org>
7444 * mail/rmail.el (rmail-highlight-face): Restore option deleted
7445 2008-02-13 without comment; mark it obsolete.
7446 (rmail-highlight-headers): Use rmail-highlight-face once more.
7448 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7450 * woman.el (woman2-process-escapes): Only consume the newline if
7451 the filler character is on a line by itself (Bug#5729).
7453 2010-03-24 Kenichi Handa <handa@m17n.org>
7455 * language/indian.el (devanagari-composable-pattern): Add more
7458 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7460 * net/trampver.el: Update release number.
7462 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7464 * net/tramp.el (tramp-find-executable):
7465 Use `tramp-get-connection-buffer'. Make the regexp for checking
7466 output of "wc -l" more robust.
7467 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
7468 (tramp-open-connection-setup-interactive-shell): Remove workaround
7469 for OpenSolaris bug, it is not needed anymore.
7471 2010-03-24 Glenn Morris <rgm@gnu.org>
7473 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
7475 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
7477 * files.el (auto-mode-alist): Accept more verilog file patterns.
7479 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7481 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
7483 2010-03-24 Glenn Morris <rgm@gnu.org>
7485 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
7486 log-edit-before-checkin-process.
7488 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
7490 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
7492 * vc-dispatcher.el (vc-start-logentry): Doc fix.
7493 (log-view-process-buffer, log-edit-extra-flags): Declare.
7495 * log-edit.el (log-edit-before-checkin-process): Doc fix.
7497 2010-03-23 Sam Steingold <sds@gnu.org>
7499 Fix bug#5620: recalculate all markers on compilation buffer
7500 modifications, not on file modifications.
7501 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
7502 the buffer modification time, for buffers not associated with files.
7503 (compilation-mode): Create it.
7504 (compilation-filter): Update it.
7505 (compilation-next-error-function): Use it instead of
7506 `visited-file-modtime' for timestamp.
7508 2010-03-23 Juri Linkov <juri@jurta.org>
7510 Implement Occur multi-line matches.
7511 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
7513 * replace.el (occur): Doc fix.
7514 (occur-engine): Set `begpt' to the beginning of the first line.
7515 Set `endpt' to the end of the last match line. At first, count
7516 line numbers between `origpt' and `begpt'. Split out code from
7517 `out-line' variable to new let-bindings `match-prefix' and
7518 `match-str'. In `out-line' add non-numeric prefix to all
7519 non-first lines of multi-line matches. Finally, count lines
7520 between `begpt' and `endpt' and add to `lines'.
7522 2010-03-23 Juri Linkov <juri@jurta.org>
7524 * replace.el (occur-accumulate-lines, occur-engine):
7525 Use `occur-engine-line' instead of duplicate code.
7526 (occur-engine-line): New function created from duplicate code
7527 in `occur-accumulate-lines' and `occur-engine'.
7529 * replace.el (occur-engine-line): Add optional arg `keep-props'.
7530 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
7532 2010-03-23 Juri Linkov <juri@jurta.org>
7534 * finder.el: Remove TODO tasks.
7536 * info.el (Info-finder-find-node): Add node "all"
7537 with all package info. Handle a list of multiple keywords
7539 (info-finder): In interactive use with a prefix argument,
7540 use `completing-read-multiple' to read a list of keywords
7543 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7545 Add a new completion style `substring'.
7546 * minibuffer.el (completion-basic--pattern): New function.
7547 (completion-basic-try-completion, completion-basic-all-completions):
7549 (completion-substring--all-completions)
7550 (completion-substring-try-completion)
7551 (completion-substring-all-completions): New functions.
7552 (completion-styles-alist): New style `substring'.
7554 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
7556 Get rid of .elc files after removal of the corresponding .el.
7557 * Makefile.in (compile-clean): New target.
7558 (compile-main): Use it.
7560 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
7562 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
7563 don't do make there. When compiling with separate object dir, there
7564 is no Makefile there.
7566 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
7568 Get rid of the ELCFILES abomination, again.
7569 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
7570 (all, compile): Don't call compile-last.
7571 (compile-main): Build the "elcfiles" list dynamically.
7572 (compile-targets): New (internal) target.
7574 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
7576 * Makefile.in (top_srcdir): Define.
7577 (abs_top_builddir): Define.
7578 (srcdir): Don't append `/..'.
7579 (EMACS): Use ${abs_top_builddir}.
7580 (all, compile, compile-always, compile-last): Don't set emacswd.
7581 (update-subdirs, update-authors): Use $(top_srcdir) instead of
7583 (lisp): Use $(srcdir) instead of @srcdir@.
7585 2010-03-21 Juri Linkov <juri@jurta.org>
7587 Fix message of multi-line occur regexps and multi-buffer header lines.
7588 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
7590 * replace.el (occur-1): Don't display regexp if it is longer
7591 than window-width. Use `query-replace-descr' to display regexp.
7592 (occur-engine): Don't display regexp in the buffer header for
7593 multi-buffer occur. Display a separate header line with total
7594 match count and regexp for multi-buffer occur.
7595 Use `query-replace-descr' to display regexp.
7597 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
7599 * net/secrets.el: Fix parenthesis.
7600 (secrets-enabled): Fix parenthesis.
7602 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7604 Use more relative file and directory names.
7605 * Makefile.in (EMACS): Arrange for it to work when we chdir.
7606 (setwins, setwins_almost, setwins_for_subdirs):
7607 Don't `cd'; output relative names.
7608 (all, compile, compile-always, compile-last): Set emacswd.
7609 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
7610 Just cd to the lisp source dir so we can use relative file names.
7612 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
7614 2010-03-20 Glenn Morris <rgm@gnu.org>
7616 * textmodes/rst.el: Use faces for font-lock customization, and make the
7617 old -face variables obsolete.
7618 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
7619 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
7620 (rst-block-face, rst-external-face, rst-definition-face)
7621 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
7622 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
7624 (rst-font-lock-keywords-function): Update for above changes.
7626 2010-03-20 Juri Linkov <juri@jurta.org>
7629 * obsolete/s-region.el: Move to obsolete.
7631 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
7633 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
7635 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7637 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
7639 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7641 Add special markup processing for commit logs.
7642 * log-edit.el (log-edit-extra-flags): New variable.
7643 (log-edit): Add new argument MODE. Use that mode when non-nil
7644 instead of the log-view-mode.
7645 (log-view-process-buffer): New function.
7647 * vc.el: Document that the checkin method takes optional
7648 arguments. Document new backend specific method: log-view-mode.
7649 (vc-default-log-edit-mode): New function.
7650 (vc-checkin): Use a backend specific log-view-mode.
7651 Pass extra arguments to the checkin method.
7652 (vc-modify-change-comment): Pass a dummy extra argument.
7654 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
7656 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
7657 (vc-finish-logentry): Process the log buffer before passing it
7658 down. Pass log-edit-extra-flags.
7660 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
7662 (log-edit-extra-flags, log-edit-before-checkin-process):
7665 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
7667 (log-edit-extra-flags, log-edit-before-checkin-process):
7669 (vc-hg-log-edit-mode): New derived mode.
7671 * vc-arch.el (vc-arch-checkin):
7672 * vc-cvs.el (vc-cvs-checkin):
7673 * vc-git.el (vc-git-checkin):
7674 * vc-mtn.el (vc-mtn-checkin):
7675 * vc-rcs.el (vc-rcs-checkin):
7676 * vc-sccs.el (vc-sccs-checkin):
7677 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
7679 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7681 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
7684 2010-03-19 Glenn Morris <rgm@gnu.org>
7686 * password-cache.el (password-cache, password-cache-expiry): Autoload.
7688 2010-03-18 Glenn Morris <rgm@gnu.org>
7690 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
7692 * replace.el (query-replace-history): Give it a doc string.
7693 (map-query-replace-regexp): Use query-replace-from-history-variable
7694 and query-replace-to-history-variable.
7696 * mail/hashcash.el (declare-function): Remove duplicate definition.
7698 * mail/emacsbug.el (report-emacs-bug-pretest-address):
7699 Make it an obsolete alias for report-emacs-bug-address.
7700 (message-strip-special-text-properties): Declare.
7701 (report-emacs-bug): Remove test for a pretest bug address.
7702 Combine message-mode-specific code.
7704 * mail/supercite.el: Don't require sendmail.
7705 (mh-in-header-p): Declare rather than using with-no-warnings.
7706 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
7707 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
7709 * calendar/cal-french.el: Convert to utf-8.
7711 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
7714 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
7716 * net/secrets.el (secrets-enabled): New variable. Use it instead
7719 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
7721 * net/secrets.el (top): Register the D-Bus signals only when the
7722 service "org.freedesktop.secrets" can be pinged.
7723 Provide subfeature `enabled'.
7725 2010-03-14 Juri Linkov <juri@jurta.org>
7727 Add finder unknown keywords.
7729 * finder.el (finder-unknown-keywords): New function.
7731 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
7732 to create a Finder node with unknown keywords.
7734 2010-03-14 Juri Linkov <juri@jurta.org>
7736 * finder.el (finder-compile-keywords): Replace `princ' with
7737 `prin1' on a list of symbols interned from keyword strings.
7739 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
7740 a comma, then split keywords using a comma and optional whitespace.
7741 Otherwise, split by whitespace.
7749 * progmodes/mixal-mode.el: Fix keywords.
7751 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
7753 * Makefile.in (ELCFILES): Add net/secrets.elc.
7755 * net/secrets.el: New file.
7757 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7759 * facemenu.el (list-colors-display, list-colors-print): New arg
7760 callback. Use it to allow selecting colors.
7762 * wid-edit.el (widget-image-insert): Insert image prop even if the
7763 current display is non-graphic.
7764 (widget-field-value-set): New fun.
7765 (editable-field): Use it.
7766 (widget-field-value-get): Clean up unused var.
7767 (widget-color-value-create, widget-color--choose-action):
7768 New funs. Allow using list-colors-display to choose color.
7770 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7772 * cus-edit.el: Resort topmost custom groups.
7773 (custom-buffer-sort-alphabetically): Default to t.
7774 (customize-apropos): Use apropos-parse-pattern.
7775 (custom-search-field): New var.
7776 (custom-buffer-create-internal): Add custom-apropos search field.
7777 (custom-add-parent-links): Don't display parent doc.
7778 (custom-group-value-create): Don't sort top-level custom group.
7779 (custom-magic-value-create): Show visibility button before option name.
7781 (custom-variable-state): New fun, from custom-variable-state-set.
7782 (custom-variable-state-set): Use it.
7783 (custom-group-value-create): Hide options with standard values
7784 using the :hidden-states property. Use progress reporter.
7786 (custom-show): Simplify.
7787 (custom-visibility): Disable images by default.
7788 (custom-variable): New property :hidden-states.
7789 (custom-variable-value-create): Enable images for
7790 custom-visibility widgets. Use :hidden-states property to
7791 determine initial visibility.
7793 * wid-edit.el (widget-image-find): Give images center ascent.
7794 (visibility): Add :on-image and :off-image properties.
7795 (widget-visibility-value-create): Use them.
7797 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7799 * cus-edit.el (processes): Remove from development group.
7800 (oop, hypermedia): Delete group.
7801 (comm): Promote to top-level group.
7803 * net/browse-url.el (browse-url):
7804 * net/xesam.el (xesam):
7805 * net/tramp.el (tramp):
7806 * net/goto-addr.el (goto-address):
7807 * net/ange-ftp.el (ange-ftp): Put in comm group.
7809 * view.el (view): Remove from editing group.
7811 * uniquify.el (uniquify): Put in files group.
7813 * net/browse-url.el (browse-url):
7814 * ps-print.el (postscript): Put in external group.
7816 * cus-edit.el (outlines):
7817 * textmodes/text-mode.el (text-mode-hook):
7818 * textmodes/table.el (table):
7819 * textmodes/picture.el (picture):
7820 * outline.el (outlines): Put in wp group.
7822 * nxml/nxml-mode.el (nxml): Remove from wp group.
7824 * net/tramp-imap.el (tramp-imap): Put in tramp group.
7826 * mail/metamail.el (metamail): Remove from hypermedia group.
7828 * cus-edit.el (abbrev):
7829 * whitespace.el (whitespace):
7830 * vcursor.el (vcursor):
7831 * reveal.el (reveal):
7832 * hl-line.el (hl-line): Put in convenience group.
7834 * epg-config.el (epg): Put in data group.
7836 * emulation/pc-select.el (pc-select): Put in emulations group.
7838 * calculator.el (calculator): Put in applications group.
7840 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7842 Add .dir-locals.el support for file-less buffers.
7843 * files.el (hack-local-variables): Split out code to apply local
7844 variable settings ...
7845 (hack-local-variables-apply): ... here. New function.
7846 (hack-dir-local-variables): Use the default directory for when the
7847 buffer does not have an associated file.
7848 (hack-dir-local-variables-non-file-buffer): New function.
7849 * diff-mode.el (diff-mode):
7850 * vc-annotate.el (vc-annotate-mode):
7851 * vc-dir.el (vc-dir-mode):
7852 * log-edit.el (log-edit-mode):
7853 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
7855 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7857 Add support for shelving snapshots and for showing shelves.
7858 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
7859 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
7861 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
7862 (vc-bzr-extra-menu-map): Map them.
7864 2010-03-11 Glenn Morris <rgm@gnu.org>
7866 * cus-edit.el (customize-changed-options-previous-release):
7869 * image.el (image-animate-max-time): Fix :version tag.
7871 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
7875 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
7877 * vc-git.el (vc-git-revision-table): Include remote branches.
7879 2010-03-10 Kim F. Storm <storm@cua.dk>
7882 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
7884 * image.el (image-animate-max-time): New defcustom.
7885 (image-animated-types): New defconst.
7886 (create-animated-image, image-animate-timer)
7887 (image-animate-start, image-animate-stop, image-animate-timeout)
7888 (image-animated-p): New functions.
7890 * image-mode.el (image-toggle-display-image):
7891 Replace `create-image' with `create-animated-image'.
7893 2010-03-09 Miles Bader <miles@gnu.org>
7895 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
7896 instead of "format:"; this ensures that the output is
7899 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
7901 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
7902 that all errors are caught, and that the return value is always a
7905 2010-03-08 Kenichi Handa <handa@m17n.org>
7907 * language/misc-lang.el (windows-1256): New coding system.
7908 (cp1256): New alias of windows-1256 (bug#5690).
7910 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
7912 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
7913 call to rfc822-bad-address. (Bug#5692)
7915 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
7917 * vc-git.el (vc-git-annotate-extract-revision-at-line):
7918 Use vc-git-root as default directory for revision path (Bug#5657).
7920 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
7922 * calculator.el (calculator): Don't bind split-window-keep-point
7925 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
7927 * vc-git.el: Re-flow to fit into 80 columns.
7928 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
7929 Remove spurious `quote' element in each case alternative.
7930 (vc-git-show-log-entry): Use prog1.
7931 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
7933 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
7935 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
7937 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
7939 * macros.el (insert-kbd-macro): Look up keyboard macro using the
7940 definition, not the name (Bug#5481).
7942 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
7944 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
7945 argument with a local variable. (Bug#5670)
7947 2010-03-02 Juri Linkov <juri@jurta.org>
7949 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
7951 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
7953 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
7954 error when FILENAME and NEWNAME are existing remote directories.
7956 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
7959 2010-03-02 Glenn Morris <rgm@gnu.org>
7961 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
7962 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
7964 2010-03-01 Kenichi Handa <handa@m17n.org>
7966 * language/burmese.el (burmese-composable-pattern): Rename from
7967 myanmar-composable-pattern.
7969 * international/characters.el (script-list):
7970 * international/fontset.el (script-representative-chars):
7971 Change myanmar to burmese.
7972 (otf-script-alist): Likewise.
7973 (setup-default-fontset): Likewise. Re-fix :otf spec.
7975 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
7977 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
7979 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
7981 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
7983 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
7985 * net/tramp.el (tramp-handle-write-region): START can be a string.
7986 Take care in the checks. Reported by Dan Davison
7987 <davison@stats.ox.ac.uk>.
7989 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
7991 * net/dbus.el (dbus-introspect, dbus-get-property)
7992 (dbus-set-property, dbus-get-all-properties):
7993 Use `dbus-call-method' when noninteractive. (Bug#5645)
7995 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
7997 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
7998 * emacs-lisp/elint.el (elint-add-required-env):
7999 * calendar/icalendar.el (icalendar--add-diary-entry):
8000 * calc/calcalg2.el (math-tracing-integral):
8001 * files.el (recover-session-finish): Use with-current-buffer
8002 instead of save-excursion.
8004 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
8006 Fix in-buffer completion when after-change-functions modify the buffer.
8007 * minibuffer.el (completion--replace): New function.
8008 (completion--do-completion): Use it and use relative movement.
8010 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
8012 * international/fontset.el (setup-default-fontset): Fix :otf spec.
8014 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
8016 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8017 Allow the characters _<> in the stack entry (Bug#5653).
8019 2010-02-26 Kenichi Handa <handa@m17n.org>
8021 * language/burmese.el: Fix entries in composition-function-table.
8022 (myanmar-composable-pattern): New variable.
8024 * international/fontset.el (setup-default-fontset): Add an entry
8027 * international/characters.el (script-list): Add Myanmar
8030 2010-02-26 Glenn Morris <rgm@gnu.org>
8032 * custom.el (custom-initialize-delay): Doc fix.
8034 * mail/sendmail.el (send-mail-function): Autoload the call
8035 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8037 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
8039 * files.el (hack-local-variables-filter): For eval forms, also
8040 check safe-local-variable-p (Bug#5636).
8042 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
8044 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8045 setting the modes by `ignore-errors'. It might fail, for example
8046 if the file is not owned by the user but the group.
8047 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8049 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
8051 * files.el (directory-listing-before-filename-regexp): Use
8052 stricter matching for iso-style dates, to avoid false matches with
8053 date-like filenames (Bug#5597).
8055 * htmlfontify.el (htmlfontify): Doc fix.
8057 * eshell/eshell.el (eshell): Doc fix.
8059 * startup.el (fancy-about-screen): In mode-line, apply
8060 mode-line-buffer-id face only to the buffer name (Bug#5613).
8062 2010-02-20 Kevin Ryde <user42@zip.com.au>
8064 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8065 In `watcom' anchor regexp to start of line, to avoid slowness
8068 2010-02-20 Eli Zaretskii <eliz@gnu.org>
8070 * subr.el (remove-yank-excluded-properties): Explain in a comment
8071 why `category' property is removed.
8073 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
8075 * isearch.el (isearch-update-post-hook, isearch-update): Revert
8078 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
8080 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
8081 (icalendar--convert-weekly-to-ical)
8082 (icalendar--convert-yearly-to-ical)
8083 (icalendar--convert-block-to-ical)
8084 (icalendar--convert-cyclic-to-ical)
8085 (icalendar--convert-anniversary-to-ical): Take care of time
8086 specifications where hour has 1-digit only (Bug#5549).
8088 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
8090 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
8091 of disassemble output in GDB 7.1.
8093 2010-02-19 Glenn Morris <rgm@gnu.org>
8095 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
8096 property. (Bug#5593)
8098 2010-02-18 Sam Steingold <sds@gnu.org>
8100 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8102 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8104 Use abbreviated file names in bookmarks (bug#5591).
8105 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
8106 calls to expand-file-name.
8107 (bookmark-relocate): Use abbreviated file names in bookmarks.
8108 (bookmark-load): Use abbreviated file names in messages.
8110 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8112 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
8113 expand "." and "..". Reported by Thierry Volpiatto
8114 <thierry.volpiatto@gmail.com>.
8116 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8118 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
8119 permissions of the temporary file to "0600". In case the remote
8120 file has no read permissions for the owner, there might be
8121 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
8123 22010-02-18 Glenn Morris <rgm@gnu.org>
8125 * emacs-lisp/authors.el (authors-renamed-files-alist):
8126 Add entries for INSTALL.CVS.
8128 2010-02-17 Mark A. Hershberger <mah@everybody.org>
8130 * vc-bzr.el: Fix typo in Known Bugs section.
8132 * isearch.el (isearch-update-post-hook): New hook.
8133 (isearch-update): Use the new hook.
8135 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
8137 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
8138 Fix errors in copying directories.
8139 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
8140 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
8141 (tramp-handle-delete-file)
8142 (tramp-handle-dired-recursive-delete-directory)
8143 (tramp-handle-write-region): Flush also the cache for the upper
8146 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
8148 * simple.el (save-interprogram-paste-before-kill): Doc fix.
8150 * cus-edit.el (hardware): Doc fix.
8152 * man.el (man): Add to external custom group.
8154 * delim-col.el (columns): Move to wp custom group.
8156 * doc-view.el (doc-view): Add to data custom group.
8158 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
8160 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
8161 by ispell-parse-output (Bug#5575).
8163 2010-02-16 Kenichi Handa <handa@m17n.org>
8165 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
8166 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
8167 (skkdic-convert): Use `euc-japan' coding system for writing.
8169 2010-02-16 Glenn Morris <rgm@gnu.org>
8171 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
8172 tex-main-file before using it. (Bug#5562)
8174 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
8176 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
8177 warnings, since it is annoying for the user to see them each time he
8180 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
8182 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
8183 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
8184 instead of PROC for caching "first-password-request". Otherwise,
8185 new processes would not profit from passwords already entered.
8187 * net/tramp-cache.el (tramp-dump-connection-properties):
8188 Don't save "first-password-request" property.
8190 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
8192 * outline.el (outline-head-from-level):
8193 * simple.el (with-wrapper-hook):
8194 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
8195 (elint-defun, elint-buffer-env, elint-top-form-logged)
8196 (elint-unbound-variable):
8197 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
8198 Fix typos in docstrings.
8200 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
8202 * files.el (insert-directory): When WILDCARD-REGEXP and
8203 FULL-DIRECTORY-P are nil, insert the file entry instead of the
8204 whole directory. (Bug#5551)
8206 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
8207 dired's alignment sanity. (Bug#5516)
8209 2010-02-14 Juri Linkov <juri@jurta.org>
8211 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
8212 Remove remaining ^H with their preceding chars. (Bug#5566)
8214 2010-02-13 Glenn Morris <rgm@gnu.org>
8216 * simple.el (transpose-subr): Give it a doc-string.
8218 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
8221 2010-02-12 Juri Linkov <juri@jurta.org>
8223 * arc-mode.el (archive-unique-fname): Make directories for nested
8224 archives. (Bug#5540)
8226 2010-02-12 Juri Linkov <juri@jurta.org>
8228 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
8230 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
8232 * subr.el (copy-overlay): Handle deleted overlays.
8234 * man.el (Man-completion-table): Don't signal an error if we can't run
8235 manual-program (bug#4056).
8237 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
8239 * textmodes/artist.el (artist-mt): Fix typos in docstring.
8241 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8243 * info.el (Info-bookmark-jump): Simplify.
8245 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
8246 (bookmark-default-handler): Accept new bookmark field `buffer'.
8248 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
8250 * iswitchb.el (iswitchb-completions): Revert last change.
8252 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
8254 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
8255 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
8256 This prevents file names like "~/" being listed literally.
8258 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
8260 * term/xterm.el (xterm-maybe-set-dark-background-mode):
8261 Remove dead code. (Bug#5546)
8263 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
8265 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
8266 correctly (Bug#5548).
8268 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
8270 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
8271 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
8273 2010-02-08 Kenichi Handa <handa@m17n.org>
8275 * international/mule-util.el (with-coding-priority): Add autoload
8276 cookie for putting `lisp-indent-function'.
8278 2010-02-07 Glenn Morris <rgm@gnu.org>
8280 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
8281 Move F2003 named interfaces from keywords-2 to keywords-1, and
8282 use function-name-face rather than constant-face.
8283 Simplify "abstract interface" regexp.
8285 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
8287 * eshell/esh-util.el (eshell-file-attributes): New optional arg
8288 ID-FORMAT. Pass it to `file-attributes'.
8290 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
8292 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
8294 * faces.el (set-face-attribute): Allow calling
8295 internal-set-lisp-face-attribute with 'unspecified family and
8296 foundry argument (Bug#5536).
8298 2010-02-07 Glenn Morris <rgm@gnu.org>
8300 * progmodes/f90.el (f90-font-lock-keywords-2)
8301 (f90-looking-at-type-like, f90-looking-at-program-block-end):
8302 Handle F2003 named interfaces.
8304 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
8306 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
8307 beg and end before calling c-get-state-before-change-functions.
8309 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
8311 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
8313 2010-02-05 Juri Linkov <juri@jurta.org>
8315 * doc-view.el (doc-view-mode):
8316 * image-mode.el (image-mode): Put property mode-class=special.
8319 2010-02-05 Mark A. Hershberger <mah@everybody.org>
8321 * vc-svn.el (vc-svn-revision-table): New function.
8323 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
8325 * net/ange-ftp.el (ange-ftp-insert-directory):
8326 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8327 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8328 Handle also directories. (Bug#5478)
8330 2010-02-05 Glenn Morris <rgm@gnu.org>
8332 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
8334 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
8336 * startup.el (command-line-1): Convert options beginning with a
8337 single dash as well (Bug#5519).
8339 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
8341 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
8342 * minibuffer.el (completion-initials-expand): Only check the presence
8343 of delims *within* the boundaries, since otherwise the / delim is
8344 always found for files.
8346 Fix up various corner case problems.
8347 * doc-view.el (doc-view-last-page-number): New function.
8348 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
8349 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
8350 (doc-view-kill-proc): Avoid inf-loop in freak cases.
8351 (doc-view-reconvert-doc): Use the new recursive delete-directory.
8352 (doc-view-convert-current-doc): Don't create the resolution.el file
8354 (doc-view-pdf/ps->png): Do it here instead.
8355 (doc-view-already-converted-p): Check that resolution.el is present.
8356 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
8357 windows that are not yet showing images.
8359 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
8361 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
8362 `dired-uncache' for every elemnt which is an absolute file name.
8364 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
8365 directory, handle its directory component.
8366 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
8367 function is called permanently and creates noise, otherwise.
8369 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8370 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8371 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
8373 2010-02-04 David Burger <dburger@google.com> (tiny change)
8375 * macros.el (apply-macro-to-region-lines):
8376 Minor simplification. (Bug#5485)
8378 2010-02-04 Glenn Morris <rgm@gnu.org>
8380 * mail/rmail.el (rmail-show-message-1): Handle malformed
8381 quoted-printable text. (Bug#5441)
8383 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
8385 * simple.el (visual-line-mode): Capitalize lighter.
8387 2010-02-03 John Wiegley <jwiegley@gmail.com>
8389 * iswitchb.el (iswitchb-completions): Add bookmark files to the
8390 list of files considered for "virtual buffer" completions.
8392 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
8394 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
8395 also in case of (and (not full) (not wildcard)). This is needed
8396 when dired is called with a list of files, which are not in
8397 `default-directory'. (Bug#5478)
8399 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
8401 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
8403 2010-02-02 Juri Linkov <juri@jurta.org>
8405 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
8406 from unidiff to allow function-line after @@.
8408 2010-02-02 Juri Linkov <juri@jurta.org>
8410 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
8411 '(RCS SCCS) with inverted condition.
8413 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
8415 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
8418 2010-02-01 Juri Linkov <juri@jurta.org>
8420 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
8421 compare with "pkunzip" and "pkzip" instead of only "pkzip".
8422 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
8423 only when (car archive-zip-extract) is "unzip". (Bug#5475)
8425 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
8427 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
8428 (doc-view-revert-buffer): New command.
8429 (doc-view-mode-map): Use it.
8431 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
8433 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
8434 pending merge is detected.
8436 2010-01-31 Juri Linkov <juri@jurta.org>
8438 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
8439 beginning of interactive spec like all other grep commands do.
8440 Put "all" in front of "gz". (Bug#5260)
8442 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
8444 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
8446 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
8448 * dirtrack.el (dirtrack): Warn instead of signalling error if the
8449 regexp is incorrect (Bug#5476).
8451 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
8453 * net/tramp.el (tramp-handle-insert-directory): Handle also
8454 symlinks, when FILENAME is not in `default-directory'.
8456 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8458 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
8459 FILE is not in `default-directory'. (Bug#5478)
8461 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
8462 of SWITCHES. Handle the case, FILENAME is not in
8463 `default-directory'. (Bug#5478)
8464 (tramp-register-file-name-handlers): Add safe-magic property.
8466 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
8468 * arc-mode.el (archive-zip-extract): Quote the argument passed to
8471 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
8473 * progmodes/flymake.el (flymake-allowed-file-name-masks)
8474 (flymake-master-make-header-init): Add other C++ filename masks.
8475 (flymake-find-possible-master-files)
8476 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
8478 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8480 Fix some busybox annoyances.
8482 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
8483 not responding." string.
8484 (tramp-open-connection-setup-interactive-shell): Dump stty
8485 settings. Enable "neveropen" arg for all `tramp-send-command'
8486 calls. Handle "=" in variable values properly.
8487 (tramp-find-inline-encoding): Raise an error, when no encoding is
8489 (tramp-wait-for-output): Check, whether PROC buffer is available.
8490 Remove spurious " ^H" sequences, sent by busybox.
8491 (tramp-get-ls-command): Suppress coloring, if possible.
8493 2010-01-28 Glenn Morris <rgm@gnu.org>
8495 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
8497 * log-edit.el (log-edit-strip-single-file-name): Add missing
8498 :safe, :group, and :version tags.
8500 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
8502 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
8505 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
8507 * files.el (delete-directory): Handle moving to trash without
8508 first doing recursion (Bug#5436).
8510 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
8512 * vc-hooks.el (vc-path): Mark as obsolete.
8514 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
8516 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
8519 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
8521 (vc-bzr-log-view-mode): Adjust regexp for the above change.
8523 2010-01-25 Mark A. Hershberger <mah@everybody.org>
8525 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
8527 * vc-bzr.el (vc-bzr-revision-table): New function.
8529 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
8531 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
8532 diff-index command. This requires at least git-1.5.5. (Bug#1589).
8534 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
8536 Remove support for adding --signoff on commit.
8537 Future support will use an incompatible generic mechanism.
8538 * vc-git.el (vc-git-add-signoff): Remove variable.
8539 (vc-git-toggle-signoff): Remove function.
8540 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
8542 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
8543 from xterm-set-background-mode. Return t if the background mode
8545 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
8546 earlier, call it again in case the background mode has changed.
8548 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
8550 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
8553 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
8555 * emacs-lisp/assoc.el (aelement): Doc fix.
8556 (aput, adelete, amake): Use lexical-let (Bug#5450).
8558 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
8560 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
8561 is the same as subprogram call, not declaration. (Bug#5435).
8563 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
8565 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
8566 (tramp-smb-maybe-open-connection): Use it.
8568 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
8570 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
8572 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
8574 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
8575 just because we see "encoding: 8bit".
8576 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
8578 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
8580 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
8582 2010-01-22 Eli Zaretskii <eliz@gnu.org>
8584 * jka-compr.el (jka-compr-load): If load-file is not in
8585 load-history, try its file-truename version. (bug#5447)
8587 2010-01-21 Alan Mackenzie <acm@muc.de>
8589 Fix a situation where deletion of a cpp construct throws an error.
8590 * progmodes/cc-engine.el (c-invalidate-state-cache):
8591 Before invoking c-with-all-but-one-cpps-commented-out, check that the
8592 special cpp construct is still in the buffer.
8593 (c-parse-state): Record the special cpp with markers, not numbers.
8595 2010-01-21 Kenichi Handa <handa@m17n.org>
8597 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
8598 process last-command-event, as it is now decoded first (Bug#5380).
8600 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
8602 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
8604 2010-01-20 Glenn Morris <rgm@gnu.org>
8606 * indent.el (tab-always-indent): Fix custom-type.
8608 2010-01-19 Alan Mackenzie <acm@muc.de>
8610 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
8611 buffer throws "args out of range".
8612 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
8613 playing the role of delimiter.
8615 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
8617 * progmodes/ada-mode.el: Fix bug#5400.
8618 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
8619 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
8620 changed. Delete RECURSIVE parameter; never used. Improve doc string.
8621 Improve comments in "is" portion. Handle null procedure declaration.
8622 (ada-move-to-end): Improve doc string.
8624 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
8626 * ido.el (ido-cur-list): Initialize to nil.
8627 Remove obsolete information from commentary.
8628 (ido-choice-list): Initialize to nil.
8629 (ido-get-bufname): Reject minibuffers.
8630 (ido-make-buffer-list): If "default" is a nonexistent
8631 buffer, ignore it, as per the function's comment.
8632 (ido-kill-buffer-internal): New function.
8633 (ido-kill-buffer-at-head): Use it.
8634 (ido-visit-buffer): Likewise.
8636 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
8638 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
8640 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
8642 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
8643 Fix typos in chart titles.
8645 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
8646 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
8647 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
8648 (describe-class, eieio-describe-generic, describe-generic):
8649 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
8650 (eieio-speedbar-expand):
8651 * emulation/viper-cmd.el (viper-exec-form-in-vi)
8652 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
8653 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
8654 (viper-del-backward-char-in-replace, viper-backward-indent)
8655 (viper-brac-function, viper-register-to-point, viper-submit-report):
8656 * net/tramp.el (tramp-remote-coding-commands):
8657 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
8658 Fix typos in docstrings.
8660 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
8662 * mail/sendmail.el (mail-yank-original): Set the mark if the
8663 specified function for yanking does not do it.
8665 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
8667 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
8669 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
8670 resyncing a directory.
8672 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
8674 * progmodes/ada-mode.el: Fix bug#1920.
8675 (ada-ident-re): Delete ., allow multibyte characters.
8676 (ada-goto-label-re): New; matches goto labels.
8677 (ada-block-label-re): New; matches block labels.
8678 (ada-label-re): New; matches both.
8679 (ada-named-block-re): Deleted; callers changed to use
8680 `ada-block-label-re' instead.
8681 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
8682 Use `ada-block-label-re'.
8683 (ada-indent-on-previous-lines): Improve handling of goto labels.
8684 (ada-get-indent-block-start): Special-case block label.
8685 (ada-get-indent-label): Split into `ada-indent-block-label' and
8686 `ada-indent-goto-label'.
8687 (ada-goto-stmt-start, ada-goto-next-non-ws):
8688 Optionally ignore goto labels.
8689 (ada-goto-next-word): Simplify.
8690 (ada-indent-newline-indent-conditional): Insert newline before
8691 trying to fix indentation; doc fix.
8693 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
8695 * calc/calc.el (calc-command-flags): Give it an initial value.
8697 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
8699 * files.el (minibuffer-with-setup-hook):
8700 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
8701 (artist-key-draw-continously, artist-key-do-continously-continously)
8702 (artist-key-set-point-continously, artist-mouse-draw-continously):
8703 Fix typos in docstrings.
8705 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
8707 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
8708 return t (Bug#3898).
8710 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
8712 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
8713 can parse the output of the external commands (Bug#5279).
8715 2010-01-16 Jari Aalto <jari.aalto@cante.net>
8717 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
8719 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
8721 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
8723 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
8725 * startup.el (command-line): Remove unused --icon-type arg.
8726 Handle --display arg, passing it to command-line-1 (Bug#5392).
8728 2010-01-16 Mario Lang <mlang@delysid.org>
8730 * emacs-lisp/chart.el (chart-translate-namezone):
8731 * textmodes/artist.el (artist-compute-popup-menu-table):
8732 Remove duplicated words in doc-strings.
8734 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
8736 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
8737 to mairix-search to suppress threading (Bug#5342).
8739 2010-01-15 Kenichi Handa <handa@m17n.org>
8741 * international/mule-cmds.el (canonicalize-coding-system-name):
8742 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
8744 2010-01-15 Glenn Morris <rgm@gnu.org>
8746 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
8748 * wid-edit.el (widget-keymap): Doc fix.
8750 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
8751 former seems to be more widely accepted by various svn versions.
8753 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8755 * find-cmd.el (find-constituents):
8756 * vc-arch.el (vc-arch-root):
8757 * window.el (window-body-height, pop-up-frames):
8758 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
8759 * progmodes/ada-stmt.el (ada-if):
8760 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
8761 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
8762 (ispell-encoding8-command, ispell-aspell-supports-utf8)
8763 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
8765 * progmodes/flymake.el (flymake-post-syntax-check):
8766 Fix typo in error message.
8768 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8770 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
8771 which is always a string. (Bug#5313)
8773 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8775 * progmodes/ada-xref.el (ada-default-prj-properties):
8776 Simplify previous change.
8778 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8780 * progmodes/ada-xref.el (ada-default-prj-properties):
8781 Default ada_project_path to $ADA_PROJECT_PATH.
8783 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8785 * progmodes/ada-mode.el (ada-create-keymap):
8786 Override `narrow-to-defun' with `ada-narrow-to-defun'.
8788 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8790 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
8791 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
8792 (ada-get-current-indent, ada-imenu-generic-expression)
8793 (ada-which-function): Check for it.
8795 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8797 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
8798 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
8800 2010-01-14 Glenn Morris <rgm@gnu.org>
8802 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
8804 2010-01-14 Kenichi Handa <handa@m17n.org>
8806 * composite.el (auto-composition-mode): Make it a buffer local
8807 variable (permanent-local).
8808 (auto-composition-function): Set the default value to
8810 (auto-composition-mode): Make it a simple function, not a minor mode.
8811 (global-auto-composition-mode): Likewise.
8812 (turn-on-auto-composition-if-enabled): Delete it.
8814 2010-01-13 Karl Fogel <kfogel@red-bean.com>
8816 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
8818 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
8820 * files.el (copy-directory): Compute target for recursive
8821 directories with identical names. (Bug#5343)
8823 2010-01-12 Glenn Morris <rgm@gnu.org>
8825 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
8826 it to bug-gnu-emacs rather than emacs-pretest-bug.
8828 2010-01-11 Sam Steingold <sds@gnu.org>
8830 * imenu.el (imenu-default-create-index-function): Detect infinite
8831 loops caused by imenu-prev-index-position-function.
8833 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8835 * htmlfontify.el (htmlfontify-load-rgb-file)
8836 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
8837 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
8838 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
8839 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
8840 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
8841 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
8842 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
8843 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
8844 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
8845 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
8846 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
8847 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
8848 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
8849 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
8850 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
8851 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
8852 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
8853 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
8854 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
8855 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
8856 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
8857 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
8858 backslash-quoting from parentheses, etc.
8860 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
8862 * progmodes/js.el: Autoload javascript-mode alias.
8864 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8866 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
8867 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
8868 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
8869 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
8870 Fix typos in docstrings.
8871 (ffap-url-regexp): Doc fix.
8872 (ffap-at-mouse): Fix typo in message.
8874 2010-01-11 Glenn Morris <rgm@gnu.org>
8876 * version.el (emacs-copyright): Set copyright year to 2010.
8878 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
8880 * format.el (format-annotate-function): Only set
8881 write-region-post-annotation-function after running to-fn so as not to
8882 affect nested write-region calls (bug#5273).
8884 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
8886 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
8889 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8891 * man.el (Man-goto-section): Signal error if the section is not
8894 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
8896 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
8897 URLs with a leading triple slash in the file: scheme. (Bug#5345)
8899 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8901 * progmodes/compile.el: Don't treat compile-command as safe if
8902 compilation-read-command might be nil (Bug#4218).
8904 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
8906 * startup.el (command-line-1): Use orig-argi to check for ignored X and
8909 2010-01-08 Kenichi Handa <handa@m17n.org>
8911 * international/fontset.el (build-default-fontset-data):
8912 Exclude characters in scripts kana, hangul, han, or cjk-misc.
8914 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
8916 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
8917 to `create-file-buffer' as it expects, not just a buffer name.
8918 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
8919 to help uniquify. (Bug#3224)
8921 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
8923 * font-setting.el (font-setting-change-default-font): Use user-spec
8926 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
8928 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
8930 2010-01-05 Tom Tromey <tromey@redhat.com>
8932 * progmodes/python.el (python-font-lock-keywords):
8933 Handle qualified decorators (Bug#881).
8935 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8937 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
8938 in a lightweight checkout.
8940 2010-01-05 Kenichi Handa <handa@m17n.org>
8942 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
8944 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8946 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
8948 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
8950 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
8951 checkouts. (Bug#618)
8952 (vc-bzr-log-view-mode): Also highlight the author.
8953 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
8954 (vc-bzr-shelve-menu-map):
8955 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
8956 (vc-bzr-shelve-apply): Make prompt more explicit.
8958 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
8960 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
8961 They are valid characters in URL paths (rfc3986), and at least
8962 Firefox does not understand the encoded version (Bug#3166).
8964 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
8966 * progmodes/octave-mod.el (octave-end-keywords)
8967 (octave-block-begin-or-end-regexp, octave-block-match-alist):
8968 Add "end" keyword (Bug#3061).
8969 (octave-end-as-array-index-p): New function.
8970 (calculate-octave-indent): Use it.
8972 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8974 * bookmark.el: Consistently put the text property on the bookmark name.
8975 (bookmark-bmenu-marks-width): Bump back to 2, to include
8977 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
8978 property on the bookmark name, instead of not putting it at all.
8979 (bookmark-bmenu-list): Fix where we put the text property.
8981 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8983 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
8984 for showing buffer modified state (as added in the previous change).
8986 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8988 * bookmark.el: Show modified state of bookmark buffer more accurately.
8989 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
8990 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
8991 (with-buffer-modified-unmodified): New macro.
8992 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
8993 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
8994 Use new macro to preserve the buffer modified state.
8996 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8998 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
8999 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9000 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9001 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9002 (bookmark-bmenu-rename, bookmark-bmenu-locate)
9003 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9004 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9006 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9008 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9009 Make the lines in the generated doc string shorter. (Bug#4668)
9011 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
9013 * net/rcirc.el: Add follow-link binding (Bug#4738).
9015 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9017 * Makefile.in (bzr-update): Rename from cvs-update.
9018 (cvs-update): New target for backward compatibility.
9020 * makefile.w32-in (bzr-update): Rename from cvs-update.
9021 (cvs-update): New target for backward compatibility.
9023 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9025 * bookmark.el: Remove gratuitous gratitude.
9027 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9029 * bookmark.el (bookmark-bmenu-any-marks): New function.
9030 (bookmark-bmenu-save): Clear buffer modification if no marks.
9032 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9034 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9035 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9036 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9037 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9039 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9040 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9041 To: emacs-devel {_AT_} gnu.org
9042 Subject: bookmark.el bug report
9043 Date: Mon, 28 Dec 2009 14:19:16 +0800
9044 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9046 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9048 * bookmark.el: Improvements suggested by Drew Adams:
9049 (bookmark-bmenu-ensure-position): New name for
9050 `bookmark-bmenu-check-position'. Just ensure the position,
9051 don't return any meaningful value.
9052 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9055 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
9057 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9058 (bookmark-yank-point, bookmark-bmenu-check-position):
9059 Fix typos in docstrings.
9060 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9061 (bookmark-name-from-full-record, bookmark-get-position)
9062 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9063 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9064 Remove useless quoting of parenthesis, etc. in docstrings.
9066 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9067 (ediff-append-custom-diff): Fix typo in error message.
9068 (ediff-meta-mark-equal-files): Fix typos in messages.
9070 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9072 * net/imap-hash.el (imap-hash-make): Doc fix.
9073 (imap-hash-test): Fix typo in error message; reflow docstring.
9074 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
9075 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
9076 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
9077 Fix typos in docstrings.
9078 (imap-hash-open-connection): Fix typo in error message.
9080 * play/gomoku.el (gomoku): Fix typos in docstring.
9082 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
9083 (gdb-jsonify-buffer): Fix typos in docstring.
9084 (gdb-goto-breakpoint): Fix typo in error message.
9085 ("Display Other Windows"): Fix typo in help message.
9086 (gdb-speedbar-expand-node): Fix typo in question.
9088 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
9089 (idlwave-html-system-help-location, idlwave-html-help-location)
9090 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
9091 (idlwave-help-browser-generic-args, idlwave-help-directory)
9092 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
9093 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
9094 (idlwave-online-help, idlwave-help-html-link)
9095 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
9096 Fix typos in docstrings.
9097 (idlwave-help-with-source, idlwave-help-find-routine-definition):
9099 (idlwave-help-assistant-start): Fix typo in error message.
9101 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
9102 (octave-electric-space): Fix typos in docstrings.
9104 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
9106 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
9108 2010-01-01 Juri Linkov <juri@jurta.org>
9110 * comint.el (comint-input-ring-size): Make it a defcustom and
9111 increase the default to 500 (Bug#5148).
9113 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
9115 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
9116 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
9117 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
9119 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
9121 Show working revision correctly for mercurial.
9122 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
9123 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
9125 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
9127 Declare some functions for the byte-compiler.
9128 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
9129 (speedbar-timer-fn, speedbar-change-expand-button-char)
9130 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
9132 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
9134 This changeset reverts GDB Graphical Interface to use annotations.
9135 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
9137 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
9139 Make vc-dir work on subdirectories of the bzr root.
9140 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
9141 file names relative to it.
9142 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
9143 relative directory to vc-bzr-after-dir-status.
9145 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
9147 * font-lock.el (font-lock-refresh-defaults): New function, which
9148 can be used to let font-lock react to external changes in
9149 variables like font-lock-defaults and keywords.
9150 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
9152 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
9154 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
9156 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
9158 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
9160 Supersede color.diff settings in git log (bug#5211).
9162 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
9163 escape chars in its output when the user has color.diff set to `always'.
9164 This fix works on git 1.4.2 and newer (released on 2006-08-13).
9166 2009-12-26 Kevin Ryde <user42@zip.com.au>
9168 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
9169 node. Keep previous "Index" name to work with past coreutils too.
9171 * man.el (man): Revise docstring a bit to show -a and -l as
9172 examples. Add -k description since support for it has otherwise
9173 been a secret. (Further to bug#3717.)
9174 (Man-bgproc-sentinel): When "-k foo" produces no output show error
9175 "no matches" rather than "Can't find manpage", as the latter reads
9176 like -k was interpreted as a page name, which is not so. (Bug#5431)
9178 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
9180 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
9181 switches. Check also for //SUBDIRED// line.
9183 2009-12-25 Kenichi Handa <handa@m17n.org>
9185 * language/indian.el (devanagari-composable-pattern): Fixed to
9186 handle ZWNJ and ZWJ. Use it in composition-function-table for
9188 (malayalam-composable-pattern): Fix previous change.
9190 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9192 * ps-print.el (ps-face-attributes): It was not returning the
9193 attribute face for faces specified as string. Reported by harven
9194 <harven@free.fr>. (Bug#5254)
9195 (ps-print-version): New version 7.3.5.
9197 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
9199 * calendar/icalendar.el (icalendar--convert-tz-offset):
9201 (icalendar--convert-tz-offset): Fix the "last-day-problem".
9202 (icalendar--add-diary-entry): Remove the trailing blank that
9203 diary-make-entry inserts.
9205 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
9207 Make `file-expand-wildcards' work for remote files.
9209 * files.el (file-expand-wildcards): In case of remote files, check
9210 only local file name part for wildcards. Provide feature 'files
9211 and subfeature 'remote-wildcards. (Bug#5198)
9213 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
9214 if there is already an established connection.
9215 (tramp-advice-file-expand-wildcards): Remove it.
9217 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
9218 (tramp-advice-file-expand-wildcards): Move from tramp.el.
9219 Activate advice for older GNU Emacs versions. (Bug#5237)
9221 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
9223 Some doc fixes (more needed).
9225 * find-cmd.el (find-constituents): Reflow docstring.
9226 (find-cmd, find-prune, find-command): Fix typos in docstrings.
9227 (find-generic): Doc fix.
9229 2009-12-17 Juri Linkov <juri@jurta.org>
9231 Fix regression from 23.1 to allow multiple modes in Local Variables.
9233 * files.el (hack-local-variables-filter): While ignoring duplicates,
9234 don't take `mode' into account.
9235 (hack-local-variables-filter, hack-dir-local-variables):
9236 Don't remove duplicate `mode' from local-variables-alist (like `eval').
9238 2009-12-17 Juri Linkov <juri@jurta.org>
9240 Make `dired-diff' safer. (Bug#5225)
9242 * dired-aux.el (dired-diff): Signal an error when `file' equals to
9243 `current' or when `file' is a directory of the `current' file.
9245 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
9247 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
9248 unconditionally preloaded files.
9250 2009-12-16 Juri Linkov <juri@jurta.org>
9252 Revert to old 23.1 logic of using the file at the mark as default.
9253 * dired-aux.el (dired-diff): Use the file at the mark as default
9254 if it's not the same as the current file, and the target dir is
9255 the current dir or the mark is active. Add the current file
9256 as the arg of `dired-dwim-target-defaults'. Use the default file
9257 in the prompt. (Bug#5225)
9259 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
9261 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
9262 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
9263 (tramp-check-for-regexp): Check also, when an echoing shell stops
9264 to echo sent commands.
9266 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9268 * Makefile.in: Revert last change (Bug#5191).
9270 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
9272 * vc-hg.el (vc-hg-print-log): Fix argument order.
9273 (vc-hg-working-revision): Make sure the command is executed in a
9274 known environment so that we can parse the output. (Bug#4417)
9276 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9278 * progmodes/python.el (python-symbol-completions): Remove text
9279 properties from symbol string before calling python-send-receive.
9281 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
9283 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
9284 when there are values for both file and line. (Bug#5060)
9286 2009-12-14 Juri Linkov <juri@jurta.org>
9288 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
9289 whitespace after the file name of the first line of unified format,
9290 because git-diff doesn't output whitespace and file modification time
9291 after the file name.
9293 2009-12-14 David Kastrup <dak@gnu.org>
9295 * info.el (Info-hide-cookies-node): Before hiding a cookie,
9296 check if it already has the `display' property added by
9297 `Info-display-images-node', and not put the `invisible' property
9300 2009-12-13 Glenn Morris <rgm@gnu.org>
9302 * mail/emacsbug.el (message-sort-headers): Define for compiler.
9303 (report-emacs-bug): In message-mode, sort manually before storing
9304 original report text. (Bug#5178)
9305 Remove superfluous save-excursion.
9307 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
9309 * net/dbus.el (dbus-property-handler): Filter lambda forms out
9310 when responding to "GetAll" properties.
9312 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
9314 * simple.el (compose-mail): Remove mail-setup-with-from from
9315 customization checks.
9317 2009-12-12 Eli Zaretskii <eliz@gnu.org>
9319 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
9320 RAR archives created on Unix systems.
9322 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
9324 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
9325 the varalias that was accidentally removed by the 2009-11-19 change
9328 2009-12-12 Kenichi Handa <handa@m17n.org>
9330 * language/indian.el (indian-compose-regexp): New function.
9331 (malayalam-composable-pattern): Fix the pattern.
9332 (composition-function-table): Set malayalam-composable-pattern for
9333 Malayalam characters.
9335 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
9337 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
9338 rather than down-mouse-1, based on follow-link conventions.
9340 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
9343 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
9345 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
9346 (verilog-vmm-statement-re, verilog-ovm-statement-re)
9347 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
9348 (verilog-leap-to-head, verilog-backward-token):
9349 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
9351 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
9353 * progmodes/verilog-mode.el (verilog-auto-lineup)
9354 (verilog-nameable-item-re): Cleanup user-visible spelling and
9355 documentation errors. One reported by Gary Delp.
9356 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
9357 (verilog-read-decls): Fix AUTOWIRE with types declared in a
9358 package, bug195. Reported by Pierre-David Pfister.
9360 2009-12-11 Glenn Morris <rgm@gnu.org>
9362 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
9364 * mail/emacsbug.el: No longer require sendmail.
9365 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
9366 (report-emacs-bug-orig-text): Doc fix.
9367 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
9368 New local variables, to adapt to different mail-user-agents.
9369 (report-emacs-bug): Fix test for a gnu.org address.
9370 Use overlays for emphasis, since font-lock defeats 'face property.
9371 Pretest bugs also end up at the newsgroup these days.
9372 Stop message-mode stripping text properties.
9373 Set and use the new buffer-local variables.
9374 (report-emacs-bug-hook): Add doc-string.
9375 Remove some unnecessary save-excursions and simplify.
9376 Use the appropriate hook and send-command.
9378 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
9379 capitalization of some menu entries.
9381 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9383 * whitespace.el (whitespace-display-char-on):
9384 Ensure `buffer-display-table' is unique when two or more windows are
9385 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
9388 2009-12-10 Eli Zaretskii <eliz@gnu.org>
9390 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
9391 characters in the Attribute field.
9393 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
9395 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
9397 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
9399 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
9400 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9401 Disregard autoload-excludes.
9402 (update-directory-autoloads): Obey autoload-excludes here instead.
9403 But don't store its contents in no-autoloads and remove entries that
9404 refer to excludes files.
9406 2009-12-10 Glenn Morris <rgm@gnu.org>
9408 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
9409 (expand-mail-aliases): Define for compiler.
9411 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
9412 Define for compiler.
9414 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
9415 appropriate for the mail-user-agent in use.
9417 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
9419 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
9421 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
9423 Fix short log parsing and fontification.
9424 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
9425 Fix fontification for the [merge] label.
9427 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
9429 Drop some properties to avoid surprises (bug#5002).
9430 * htmlfontify.el (hfy-ignored-properties): New defcustom.
9431 (hfy-fontify-buffer): Use it.
9433 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
9436 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
9438 (ffap-locate-file): Remove unused arg `dir-ok' and make other
9439 args compulsory. Adjust callers.
9440 (ffap-gopher-at-point): Remove unused var `name'.
9442 Get rid of the ELCFILES abomination.
9443 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9444 (compile-elcfiles): New phony target.
9445 (compile-main): Compute ELCFILES dynamically.
9446 (compile-clean): New target to remove left-over elc files.
9447 (compile, all): Use it.
9449 2009-12-09 Kenichi Handa <handa@etlken>
9451 * international/mule-diag.el: Require help-mode instead of help-fns.
9453 2009-12-09 Kenichi Handa <handa@m17n.org>
9455 * international/mule-cmds.el (ucs-names): Supply sufficiently
9456 fine ranges instead of pre-calculating accurate ranges.
9457 Iterate with bigger gc-cons-threshold.
9459 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
9461 Add support for stashing a snapshot of the current tree.
9462 * vc-git.el (vc-git-stash-snapshot): New function.
9463 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
9465 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
9467 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
9468 instead of `(beginning|end)-of-line'.
9470 2009-12-08 Glenn Morris <rgm@gnu.org>
9472 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
9474 * Makefile.in (ELCFILES): Regenerate.
9476 2009-12-07 Juri Linkov <juri@jurta.org>
9478 Don't lazy-highlight the comint output in history Isearch mode.
9480 * comint.el (comint-history-isearch-search): Instead of
9481 `comint-line-beginning-position', use `comint-after-pmark-p'
9482 to check if point if before the process mark, and go to
9483 `process-mark' in this case.
9485 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9487 * textmodes/tex-mode.el (latex-complete)
9488 (latex-indent-or-complete): Remove.
9489 (latex-mode): Set completion-at-point-functions instead.
9491 Provide a standard completion command and hook it into TAB.
9492 * minibuffer.el (completion-at-point-functions): New var.
9493 (completion-at-point): New command.
9494 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
9495 * progmodes/python.el (python-mode-map): Use completion-at-point.
9496 (python-completion-at-point): Rename from python-partial-symbol and
9497 adjust for use in completion-at-point-functions.
9498 (python-mode): Setup completion-at-point for Python completion.
9499 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
9500 extracted from lisp-complete-symbol.
9501 (lisp-complete-symbol): Use it.
9502 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
9503 setup completion-at-point for Elisp completion.
9504 (emacs-lisp-mode-map, lisp-interaction-mode-map):
9505 Use completion-at-point.
9506 * ielm.el (ielm-map): Use completion-at-point.
9507 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
9508 * progmodes/sym-comp.el: Move to...
9509 * obsolete/sym-comp.el: Move from progmodes.
9511 2009-12-07 Eli Zaretskii <eliz@gnu.org>
9513 Prevent save-buffer in Rmail buffers from using the coding-system
9514 of the current message, and from clobbering the encoding mnemonics
9515 in the mode line (Bug#4623).
9517 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
9519 (rmail-message-encoding): New variable.
9520 (rmail-write-region-annotate): Record the encoding of the current
9521 message in rmail-message-encoding.
9522 (rmail-after-save-hook): New function, restores the encoding of
9523 the current message after the message collection is saved.
9525 2009-12-07 Juri Linkov <juri@jurta.org>
9527 * progmodes/grep.el (grep-read-files): Use `completing-read'
9528 instead of `read-string'. Set its `collection' arg to
9529 `read-file-name-internal'. (Bug#4301)
9531 2009-12-07 Juri Linkov <juri@jurta.org>
9533 Correctly restore original Isearch point. (Bug#4994)
9535 * isearch.el (isearch-mode): Move `isearch-push-state' after
9536 `(run-hooks 'isearch-mode-hook)'.
9537 (isearch-cancel): When `isearch-push-state-function' is defined,
9538 let-bind `isearch-cmds' to the first state (the last element of
9539 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
9540 function and restores the original point). Otherwise, move point
9541 to `isearch-opoint'.
9543 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9545 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
9546 chars that don't have names, so the table can be built much faster at
9549 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
9551 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
9552 change. Suggested by David Kastrup.
9554 * simple.el (compose-mail): Check for incompatibilities and warn.
9555 (compose-mail-user-agent-warnings): New option.
9557 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9559 Support showing a single log entry from vc-annotate.
9560 * vc.el (print-log): Add a new argument: START-REVISION.
9561 (vc-print-log-internal): Add a new optional argument and
9562 pass it to the backend.
9563 (vc-print-log, vc-print-root-log): Adjust callers.
9564 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
9565 buffer already displays the requested log entry, use it.
9566 Otherwise display only the log entry in question.
9567 * vc-svn.el (vc-svn-print-log):
9568 * vc-mtn.el (vc-mtn-print-log):
9569 * vc-hg.el (vc-hg-state):
9570 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
9571 (vc-git-show-log-entry): Return t on success.
9572 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
9573 (vc-bzr-show-log-entry): Return t on success.
9574 * vc-rcs.el (vc-rcs-print-log):
9575 * vc-sccs.el (vc-sccs-print-log):
9576 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
9578 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9580 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
9581 Add menus to the meta mode. (Bug#5043)
9583 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
9585 * ediff-init.el (ediff-event-key): Use event-to-character instead of
9588 * ediff.el (ediff-buffers-internal): Add unwind-protect.
9590 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
9592 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
9593 Berbain <raphael.berbain@gmail.com>.
9595 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
9597 (tramp-initial-end-of-output): New defconst.
9598 (tramp-methods, tramp-find-shell)
9599 (tramp-open-connection-setup-interactive-shell)
9600 (tramp-maybe-open-connection): Use it.
9601 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
9602 existence of `#' and `$'.
9604 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
9605 `tramp-initial-end-of-output'.
9607 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9609 Get the background mode from the terminal for xterm, and set
9611 * term/xterm.el (xterm-set-background-mode): New function.
9612 (terminal-init-xterm): Use it in case xterm supports background
9613 color queries. Recompute faces after getting the background
9616 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
9618 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
9619 number comment back on its own line, for easier parsing.
9621 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9623 Make it work for non-file buffers (bug#5102).
9624 * doc-view.el (doc-view-current-cache-dir):
9625 Use doc-view-buffer-file-name rather than buffer-file-name.
9626 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
9628 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
9630 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
9631 author field is too short.
9633 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
9635 * vc-git.el (vc-git-print-log): Handle a limit argument.
9636 Display the short log in graph form and with labels.
9637 (vc-git-log-view-mode): Handle labels.
9639 Make vc-revert change VC state from 'added to 'unregistered.
9640 * vc-git.el (vc-git-revert): Call git reset first.
9642 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9644 * net/newst-backend.el, net/newst-plainview.el:
9645 * net/newst-reader.el, net/newst-ticker.el:
9646 * net/newst-treeview.el, net/newsticker.el:
9647 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
9649 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9651 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
9653 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
9654 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
9655 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
9656 Update annotation regexp.
9658 * simple.el (beginning-of-visual-line): Constrain to field
9659 boundaries (Bug#5106).
9661 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9663 * xml.el (xml-substitute-numeric-entities): Move
9664 newsticker--decode-numeric-entities in newst-backend.el to
9665 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9666 * net/newst-backend.el (newsticker--parse-generic-feed)
9667 (newsticker--parse-generic-items)
9668 (newsticker--decode-numeric-entities): Move
9669 newsticker--decode-numeric-entities in newst-backend.el to
9670 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9672 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
9674 * progmodes/js.el (js--js-not): Add null to the list of values.
9676 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9678 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
9680 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9682 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
9683 delimiter if it is at the end of the current line.
9684 (bibtex-generate-url-list): Fix docstring.
9686 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9688 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
9689 minibuffer's content with itself.
9690 Fold the confirm-after-completion case into the `confirm' case.
9691 (completion-pcm-word-delimiters): Add : and / to the delimiters.
9693 2009-12-06 Kevin Ryde <user42@zip.com.au>
9695 * ffap.el (ffap-rfc-path): Make this a defcustom since
9696 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
9698 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
9699 manuals, similar to existing setup for help-mode. (Bug#3913.)
9701 2009-12-05 Juri Linkov <juri@jurta.org>
9703 Save and restore dired buffer's point positions too. (Bug#4880)
9705 * dired.el (dired-save-positions): Return in the first element
9706 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
9708 (dired-restore-positions): First restore buffer's position.
9709 While restoring window's positions, check if window still displays
9710 the original buffer.
9712 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
9714 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
9717 * shell.el (shell): Require ansi-color (Bug#5113).
9719 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
9721 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
9723 2009-12-05 Alan Mackenzie <acm@muc.de>
9725 * progmodes/cc-mode.el (c-before-hack-hook)
9726 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
9727 `c-file-style' to work again. This reversion restores the current
9728 software to its state in Emacs 23.1. (Bug#4146)
9730 2009-12-05 Kevin Ryde <user42@zip.com.au>
9732 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
9733 comment-start-skip to comment-end-skip as comment (Bug#4781).
9735 2009-12-05 Juri Linkov <juri@jurta.org>
9737 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
9738 for virtual nodes. (Bug#4147)
9739 (Info-find-node-2): Set `Info-current-node-virtual' to nil
9740 when moving from a virtual node.
9741 (Info-mode-menu): Add `Info-virtual-index' to the menu.
9742 (Info-mode): Add `Info-virtual-index' to the docstring.
9744 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9746 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
9747 track of the buffer position of the end of a BibTeX entry as this
9748 position may change during reformatting.
9749 (bibtex-format-entry): Remove whitespace before processing
9750 numerical fields so that we recognize the latter properly.
9751 (bibtex-reformat): Do not use push which changes the global value
9752 of bibtex-entry-format.
9753 (bibtex-field-braces-alist, bibtex-field-strings-alist)
9754 (bibtex-field-re-init): Replace only space characters by regexp
9756 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
9757 (bibtex-initialize): Also update bibtex-strings.
9758 (bibtex-kill-field): Preserve white space at end of entry.
9759 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
9760 Update bibtex-reference-keys.
9762 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
9764 * minibuffer.el (completion-pcm--merge-try): Also consider placing
9765 point after a star, if that's the only place where modifications can
9768 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
9770 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
9773 2009-12-04 Juri Linkov <juri@jurta.org>
9775 * proced.el (proced): Call `(proced-update t)' to update process
9776 information instead of only running proced-post-display-hook.
9777 (proced-send-signal): Add a leading space to the buffer name
9778 " *Marked Processes*" to make this buffer ephemeral.
9780 2009-12-04 Juri Linkov <juri@jurta.org>
9782 * dired.el (dired-auto-revert-buffer): New defcustom.
9783 (dired-internal-noselect): Use it.
9785 2009-12-04 Juri Linkov <juri@jurta.org>
9787 Change roles of modes and functions in image-mode.el (Bug#5062).
9789 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
9790 in `auto-mode-alist'.
9791 (image-mode-previous-major-mode): New variable.
9792 (image-minor-mode-map): Rename from `image-mode-text-map'.
9793 (image-mode): Move graceful error-handling code from
9794 `image-minor-mode' to here. On errors call `image-mode-as-text'.
9795 (image-minor-mode): Remove all image-handling code.
9796 Replace `image-mode-text-map' with `image-minor-mode-map'.
9797 Check for `image-type' in mode-line format string.
9798 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
9799 (image-mode-as-text): New function with most code from
9801 (image-toggle-display-text): Move code that removes image
9802 properties from `image-toggle-display' to here.
9803 (image-toggle-display-image): New function with code that adds
9804 image properties copied from `image-toggle-display'.
9805 (image-toggle-display): Remove most code with leaving only code
9806 that toggles between `image-mode-as-text' and `image-mode'.
9808 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
9810 * net/newst-treeview.el
9811 (newsticker--treeview-list-highlight-start): Restored call to
9812 save-excursion: Selected item was stuck.
9813 (newsticker--treeview-list-select): New.
9814 (newsticker--treeview-item-show-text)
9815 (newsticker--treeview-item-show)
9816 (newsticker--treeview-item-update): Use new
9817 newsticker-treeview-item-mode.
9818 (newsticker-treeview-update): Keep current item.
9819 (newsticker-treeview-next-new-or-immortal-item): Doc change.
9820 (newsticker--treeview-first-feed): Doc change.
9821 (newsticker-treeview-list-menu)
9822 (newsticker-treeview-item-menu): Added menu entries.
9823 (newsticker-treeview-item-mode): New.
9825 * net/newst-backend.el (newsticker-customize): Delete other
9828 2009-12-04 Sam Steingold <sds@gnu.org>
9830 * log-view.el (log-view-mode-map): "q" calls quit-window,
9831 like in all the other non-self-insert buffers.
9833 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
9836 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
9837 key decoding rather than do it manually via last-input-event +
9839 (term-exec): Use delete-and-extract-region.
9840 (term-handle-ansi-terminal-messages): Remove unused var `end'.
9841 (term-process-pager): Remove unused var `i'.
9842 (term-dynamic-simple-complete): Make obsolete.
9843 (serial-update-config-menu): Remove unused vars `y' and `str'.
9844 (term-update-mode-line): Remove unused var `temp'.
9846 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9848 Limit the number of log entries displayed by default.
9849 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
9850 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
9851 using a prefix argument.
9853 2009-12-03 Glenn Morris <rgm@gnu.org>
9855 * progmodes/idlwave.el (class): Restore still useful declaration.
9857 2009-12-03 Alan Mackenzie <acm@muc.de>
9859 Enhance `c-parse-state' to run efficiently in "brace deserts".
9861 * progmodes/cc-mode.el (c-basic-common-init):
9862 Call c-state-cache-init.
9863 (c-neutralize-syntax-in-and-mark-CPP): Rename from
9864 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
9865 placing `category' properties value 'c-cpp-delimiter at its boundaries.
9867 * progmodes/cc-langs.el (c-before-font-lock-function):
9868 c-extend-and-neutralize-syntax-in-CPP has been renamed
9869 c-neutralize-syntax-in-and-mark-CPP.
9871 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
9872 with `category' properties now, not `syntax-table' ones.
9874 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
9875 enhanced (but slower) version of c-end-of-macro that won't land
9876 inside a literal or on another awkward character.
9877 (c-state-cache-too-far, c-state-cache-start)
9878 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
9879 (c-state-nonlit-pos-cache-limit, c-state-point-min)
9880 (c-state-point-min-lit-type, c-state-point-min-lit-start)
9881 (c-state-min-scan-pos, c-state-brace-pair-desert)
9882 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
9883 buffer local variables.
9884 (c-state-literal-at, c-state-lit-beg)
9885 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
9886 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
9887 (c-state-cache-top-paren, c-state-cache-after-top-paren)
9888 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
9889 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
9890 (c-renarrow-state-cache)
9891 (c-append-lower-brace-pair-to-state-cache)
9892 (c-state-push-any-brace-pair, c-append-to-state-cache)
9893 (c-remove-stale-state-cache)
9894 (c-remove-stale-state-cache-backwards, c-state-cache-init)
9895 (c-invalidate-state-cache-1, c-parse-state-1)
9896 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
9897 (c-parse-state): Enhance and refactor.
9898 (c-debug-parse-state): Amend to deal with all the new variables.
9900 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
9901 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
9902 modify to use category text properties rather than syntax-table ones.
9903 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
9904 to switch off/on the syntactic paren property of C++ template
9905 delimiters using the category property.
9906 (c-with-<->-as-parens-suppressed): Macro to invoke code with
9907 template delims suppressed.
9908 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
9909 New constant/macros which apply category properties to the start
9910 and end of preprocessor constructs.
9911 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
9912 "comment out" the syntactic value of characters in preprocessor
9914 (c-with-cpps-commented-out)
9915 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
9916 with characters in all or all but one preprocessor constructs
9919 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9921 * proced.el (proced-filter-alist): Use regexp-quote.
9923 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
9926 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
9927 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
9928 arguments. Expand `default-directory'.
9930 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
9931 the benefit of returning an expanded localname.
9932 (tramp-tramp-file-p): Handle the case NAME is not a string.
9934 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9936 Add support for bzr shelve/unshelve.
9937 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9938 (vc-bzr-extra-menu-map): New variables.
9939 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
9940 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
9941 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
9942 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
9943 (vc-bzr-dir-extra-headers): Display shelves.
9945 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
9947 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9949 * textmodes/bibtex.el (bibtex-complete-internal):
9950 Use completion-in-region.
9951 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
9953 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9955 Support applying stashes. Improve UI.
9956 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
9957 (vc-git-stash-apply, vc-git-stash-pop)
9958 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
9959 (vc-git-stash-menu): New functions.
9960 (vc-git-stash-menu-map): New variable.
9961 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
9963 2009-12-03 Glenn Morris <rgm@gnu.org>
9965 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
9966 (vc-print-log-internal): Fix previous change.
9967 (vc-revert): Correct pluralization.
9969 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9971 * progmodes/make-mode.el (makefile-special-targets-list): No need for
9972 it to be an alist any more.
9973 (makefile-complete): Use completion-in-region.
9975 * progmodes/octave-mod.el (octave-complete-symbol):
9976 Use completion-in-region.
9979 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
9980 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
9981 (idlwave-complete-class): Don't quote lambda.
9982 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
9983 (idlwave-mode-map): Move initialization into declaration.
9984 (idlwave-action-and-binding): Use backquotes.
9985 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
9987 (idlwave-is-pointer-dereference): Remove unused var `pos'.
9988 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
9989 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
9990 `parts', and `all-parts'.
9991 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
9992 (idlwave-convert-xml-system-routine-info): Remove unused string
9994 (idlwave-display-user-catalog-widget): Use dolist.
9995 (idlwave-scanning-lib): Declare dynamically-scoped var.
9996 (idlwave-scan-library-catalogs): Remove unused var `flags'.
9997 (completion-highlight-first-word-only): Declare to silence bytecomp.
9998 (idlwave-popup-select): Tighten scope of `resp'.
9999 (idlwave-find-struct-tag): Remove unused var `beg'.
10000 (idlwave-after-load-rinfo-hook): Declare.
10001 (idlwave-sintern-class-info): Remove unused var `taglist'.
10002 (idlwave-find-class-definition): Remove unused var `list'.
10003 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10004 (idlwave-what-module-find-class): Remove unused var `classes'.
10006 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
10008 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10010 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10012 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10013 buffers visited. Remove redundant current-buffer-saving.
10015 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10017 Use completion-in-buffer and remove uses of dynamic scoping.
10018 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10019 (pascal-buffer-to-use, pascal-flag): Don't declare.
10020 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10021 (pascal-get-completion-decl, pascal-keyword-completion):
10022 Add `pascal-str' argument, save-excursion,
10023 return the found completions, and don't filter with pascal-pred.
10024 (pascal-completion-cache): New var.
10025 (pascal-completion): Don't switch buffer any more (it was never
10026 necessary). Don't save-excursion any more (it's done by the called
10027 subroutines). Use a cache to avoid redundant computations.
10028 Use complete-with-action rather than pascal-completion-response and
10029 let it apply the predicate as well.
10030 (pascal-complete-word): Use completion-in-buffer when
10031 pascal-toggle-completions is nil.
10032 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10034 (pascal-comp-defun): Don't change buffer any more.
10035 Use complete-with-action rather than pascal-completion-response and
10036 let it apply the predicate as well.
10037 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10040 2009-12-02 Kenichi Handa <handa@m17n.org>
10042 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10043 shape for all Indic scripts.
10045 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10047 Use completion-in-buffer.
10048 * wid-edit.el (widget-field-text-end): New function.
10049 (widget-field-value-get): Use it.
10050 (widget-string-complete, widget-file-complete)
10051 (widget-color-complete): Use it and completion-in-region.
10052 (widget-complete): Don't narrow the buffer.
10054 2009-12-02 Glenn Morris <rgm@gnu.org>
10056 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
10057 (rmail-select-summary): Use rmail-pop-to-buffer.
10058 * mail/rmailsum.el: Replace all pop-to-buffer calls with
10059 rmail-pop-to-buffer, to prevent horizontal splits.
10061 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10062 save-excursion with save-current-buffer.
10063 Widen before searching. (Bug#5093)
10064 (diary-list-sexp-entries): Remove superfluous save-excursion.
10066 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
10068 * woman.el (woman-make-bufname): Handle man-pages with "." in the
10071 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
10073 * ido.el (ido-file-internal): Handle filenames at point that do
10074 not have a directory part. (Bug#5049)
10076 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
10078 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
10079 (mpc-songs-jump-to, mpc-resume): Doc fixes.
10081 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
10083 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
10084 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
10087 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10089 * comint.el (comint-insert-input): Ignore clicks to the right of
10090 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
10092 * vc.el (vc-print-log-internal): Don't wait for the process to
10093 terminate before setting up the major mode.
10095 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
10098 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
10101 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
10103 2009-12-01 Glenn Morris <rgm@gnu.org>
10105 * window.el (window--display-buffer-2): Fix previous changes.
10107 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
10109 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
10111 2009-12-01 Glenn Morris <rgm@gnu.org>
10113 * Makefile.in (ELCFILES): Add mpc.elc.
10115 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * mpc.el: New file.
10119 2009-12-01 Glenn Morris <rgm@gnu.org>
10121 * window.el (window-to-use): Define for compiler.
10123 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
10124 consistent with others (no final period).
10126 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
10127 (rmail-mime-show): Downcase the encoding. (Bug#5070)
10129 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
10131 Make vc-print-log buttons work.
10132 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
10134 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
10136 * savehist.el (savehist-autosave-interval): Allow setting to nil
10137 through customize. (Bug#5056)
10139 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
10141 Fix references to jit-lock properties.
10142 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
10143 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
10144 (perl-font-lock-special-syntactic-constructs):
10145 Quote jit-lock-defer-multiline property.
10147 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
10149 * vc-git.el (vc-git-registered): Call vc-git-root only once.
10151 2009-11-30 Juri Linkov <juri@jurta.org>
10153 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
10154 value `buffer' of `multi-isearch-next-buffer-current-function'.
10155 Use `(current-buffer)' when `buffer' is nil.
10156 (multi-isearch-next-buffer-from-list): Don't fallback to
10157 `(current-buffer)' when `buffer' is nil. (Bug#4947)
10159 2009-11-30 Juri Linkov <juri@jurta.org>
10161 * misearch.el (multi-isearch-read-buffers): Move canonicalization
10162 of buffers with `get-buffer' to `multi-isearch-buffers'.
10163 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10164 Canonicalize BUFFERS with `get-buffer'. Doc fix.
10165 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
10166 FILES with `expand-file-name' converting relative file names
10167 to absolute. Doc fix. (Bug#4727)
10169 2009-11-30 Juri Linkov <juri@jurta.org>
10171 * misearch.el (multi-isearch-read-buffers)
10172 (multi-isearch-read-matching-buffers): New functions.
10173 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10174 Use them in the `interactive' spec. Doc fix.
10175 (multi-isearch-read-files, multi-isearch-read-matching-files):
10177 (multi-isearch-files, multi-isearch-files-regexp):
10178 Use them in the `interactive' spec. Doc fix. (Bug#4725)
10180 2009-11-30 Juri Linkov <juri@jurta.org>
10182 * doc-view.el (doc-view-continuous):
10183 Rename from `doc-view-continuous-mode'.
10184 (doc-view-menu): Move "Toggle display" to the top.
10185 Add submenu "Continuous" with radio buttons "Off"/"On"
10186 and "Save as Default".
10187 (doc-view-scroll-up-or-next-page)
10188 (doc-view-scroll-down-or-previous-page)
10189 (doc-view-next-line-or-next-page)
10190 (doc-view-previous-line-or-previous-page): Rename
10191 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
10193 2009-11-30 Juri Linkov <juri@jurta.org>
10195 * comint.el (comint-mode-map): Rebind `M-r' from
10196 `comint-previous-matching-input' to
10197 `comint-history-isearch-backward-regexp'.
10198 Unbind `M-s' to allow global key binding `M-s'.
10199 Add menu items for `comint-history-isearch-backward' and
10200 `comint-history-isearch-backward-regexp'. (Bug#3746)
10202 2009-11-30 Juri Linkov <juri@jurta.org>
10204 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
10205 For def=recenter, replace `recenter' with `recenter-top-bottom'
10206 that is called with `this-command' and `last-command' let-bound
10207 to `recenter-top-bottom'. When the last `def' was not `recenter',
10208 set `recenter-last-op' to nil. (Bug#4981)
10210 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
10212 Minor cleanup and simplification.
10213 * filecache.el (file-cache-add-directory)
10214 (file-cache-add-directory-recursively)
10215 (file-cache-add-from-file-cache-buffer)
10216 (file-cache-delete-file-regexp, file-cache-delete-directory)
10217 (file-cache-files-matching-internal, file-cache-display): Use dolist.
10218 (file-cache-temp-minibuffer-message): Delete function.
10219 (file-cache-minibuffer-complete): Use minibuffer-message instead.
10221 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
10222 Don't signal an error when bumping into EOB in tr, s, or y.
10224 2009-11-29 Juri Linkov <juri@jurta.org>
10226 * startup.el (fancy-about-text): Fix wording of Guided Tour.
10229 * descr-text.el (describe-char-unidata-list): Use lowercase name
10230 for "Unicode name" like in other tags.
10232 2009-11-29 Juri Linkov <juri@jurta.org>
10234 * ediff-util.el (ediff-minibuffer-with-setup-hook):
10235 New compatibility macro.
10236 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
10238 2009-11-29 Juri Linkov <juri@jurta.org>
10240 Add defcustom to define the cycling order of `recenter-top-bottom'.
10243 * window.el (recenter-last-op): Doc fix.
10244 (recenter-positions): New defcustom.
10245 (recenter-top-bottom): Rewrite to use `recenter-positions'.
10246 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
10248 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
10250 Improve integration of Tramp and ange-ftp in eshell.
10252 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
10253 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
10254 (eshell/sudo): Flatten args. Let-bind `default-directory'.
10256 * eshell/esh-util.el (top): Require also Tramp when compiling.
10257 (eshell-directory-files-and-attributes): Check for FTP remote
10259 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
10260 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
10261 (eshell-file-attributes): Handle ".". Return `entry'.
10263 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
10264 (ange-ftp-directory-files-and-attributes)
10265 (ange-ftp-real-directory-files-and-attributes): New defuns.
10267 * net/tramp.el (tramp-maybe-open-connection): Open the remote
10268 shell with "exec" when possible. This prevents trailing prompts
10269 in `start-file-process'.
10271 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10273 Try and remove assumptions about point-min==1.
10274 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
10275 (rng-compute-mode-line-string): Show the validation percentage in
10276 terms of the narrowed text, not the widened text.
10277 (rng-do-some-validation): Don't catch internal errors when debugging.
10278 (rng-first-error): Simplify.
10279 (rng-after-change-function): Remove work around. AFAIK the bug has
10280 been fixed a while ago.
10282 * image-mode.el (image-minor-mode): Exit more gracefully when the image
10283 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
10285 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
10287 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
10288 `cd' doesn't always do it for us (bug#5067).
10290 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
10291 on 2009-10-25 as part of some other change (bug#5067).
10293 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
10295 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
10297 (byte-compile-warnings): Use byte-compile-warning-types.
10298 (byte-compile-save-excursion): Warn about use of set-buffer right
10299 after save-excursion.
10301 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
10302 the excursion as well.
10304 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
10306 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
10307 providing a Tramp related implementation of "su" and "sudo".
10308 (eshell-unix-initialize): Add "su" and "sudo".
10310 2009-11-27 Daiki Ueno <ueno@unixuser.org>
10312 * net/socks.el (socks-send-command): Convert binary request to
10313 unibyte before sending. This fixes mishandling of some port
10314 numbers such as 129.
10316 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
10318 * help.el (describe-bindings-internal): Remove `interactive'.
10320 * man.el (Man-completion-table): Trim a terminating "(".
10321 Remove the space between name page a section.
10322 Add the command's description on the `help-echo' property.
10323 Remove `process-connection-type' binding since it's unused by
10325 Provide completion for the "<section> <name>" format as well.
10326 (Man-default-man-entry): Remove spurious var shadowing the argument.
10328 2009-11-26 Kevin Ryde <user42@zip.com.au>
10330 * log-view.el: Add "Keywords: tools", since its other keywords
10331 aren't in finder-known-keywords, and following vc.el.
10333 * sha1.el (sha1-string-external): default-directory "/" in case
10334 otherwise non-existent. process-connection-type pipe for touch of
10335 efficiency recommended by elisp manual. (An aside in Bug#3911.)
10337 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
10339 Misc coding convention cleanups.
10340 * htmlfontify.el (hfy-init-kludge-hook): Rename from
10341 hfy-init-kludge-hooks.
10342 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
10343 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
10344 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
10346 (hfy-slant, hfy-weight): Use tables rather than code.
10347 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
10348 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
10349 (hfy-face-attr-for-class): Initialize `face-spec' directly.
10350 (hfy-face-to-css): Remove `nconc' with single arg.
10351 (hfy-p-to-face-lennart): Use `or'.
10352 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
10353 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
10354 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
10355 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
10356 (hfy-force-fontification): Use run-hooks.
10358 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
10360 Various minor fixes.
10361 * htmlfontify.el (hfy-default-header): Add toggle_invis since
10362 Javascript belongs in the header, not the body.
10363 (hfy-javascript): Remove.
10364 (hfy-fontify-buffer): Don't insert it any more.
10365 (hfy-face-at): Handle (face0 face1 face2) style face properties.
10366 Fix bug in invis handling when there were no invis props in a chunk.
10368 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
10370 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
10372 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
10374 * finder.el (finder-mode-map): Add a menu.
10376 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
10378 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
10379 "unsigned" structs.
10381 (verilog-leap-to-head, verilog-backward-token): Handle "disable
10382 fork" statement better.
10384 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
10386 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
10387 (verilog-delete-auto, verilog-delete-empty-auto-pair)
10388 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
10389 Reported by Clay Douglass.
10391 (verilog-auto-inst, verilog-auto-star-safe)
10392 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
10393 Fix removing "// Interfaces" when saving .* expansions. Reported by
10394 Pierre-David Pfister.
10396 2009-11-26 Glenn Morris <rgm@gnu.org>
10398 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
10401 2009-11-25 Johan Bockgård <bojohan@gnu.org>
10403 * vc-annotate.el (vc-annotate-revision-previous-to-line):
10404 Really use previous revision.
10406 2009-11-25 Kevin Ryde <user42@zip.com.au>
10408 * man.el (Man-completion-table): default-directory "/" in case
10409 doesn't otherwise exist. process-environment COLUMNS=999 so as
10410 not to truncate long names. process-connection-type pipe to avoid
10411 any chance of hitting the pseudo-tty TIOCGWINSZ.
10412 (man): completion-ignore-case t for friendliness and since man
10413 itself is case-insensitive on the command line.
10414 Further to Bug#3717.
10416 * arc-mode.el: Add "Keywords: files", so the details in its
10417 commentary can be reached from finder-by-keyword.
10418 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
10419 editing mode, but it's comms related and sgml-mode.el has "comm"
10421 * textmodes/bibtex-style.el: Add "Keywords: tex".
10422 * international/isearch-x.el, international/ja-dic-cnv.el:
10423 * international/ja-dic-utl.el, international/kkc.el:
10424 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
10426 2009-11-25 Juri Linkov <juri@jurta.org>
10428 * man.el (Man-completion-table): Modify regexp to include
10429 section names to completion strings. (Bug#3717)
10431 2009-11-25 Juri Linkov <juri@jurta.org>
10433 Search recursively in gzipped files. (Bug#4982)
10435 * progmodes/grep.el (grep-highlight-matches): Add new options
10436 `always' and `auto'. Doc fix.
10437 (grep-process-setup): Check `grep-highlight-matches' for
10438 `auto-detect' to determine the need to compute grep defaults.
10439 Move Windows/DOS specific --colors settings handling
10440 to `grep-compute-defaults'. Check `grep-highlight-matches'
10441 to get the value of "--color=".
10442 (grep-compute-defaults): Compute `grep-highlight-matches' when it
10443 has the value `auto-detect'. Move Windows/DOS specific settings
10444 from `grep-process-setup'.
10445 (zrgrep): New command with alias `rzgrep'.
10447 2009-11-25 Juri Linkov <juri@jurta.org>
10449 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
10450 to nil instead of switching off view-mode. (Bug#4896)
10452 2009-11-25 Juri Linkov <juri@jurta.org>
10454 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
10456 * mwheel.el (mwheel-scroll-up-function)
10457 (mwheel-scroll-down-function): New defvars.
10458 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
10459 `scroll-up', and `mwheel-scroll-down-function' instead of
10462 * doc-view.el (doc-view-scroll-up-or-next-page)
10463 (doc-view-scroll-down-or-previous-page): Add optional ARG.
10464 Use this ARG in the call to image-scroll-up/image-scroll-down.
10465 Change `interactive' spec to "P". Goto next/previous page only
10466 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
10467 SPC/DEL case). Doc fix.
10468 (doc-view-next-line-or-next-page)
10469 (doc-view-previous-line-or-previous-page): Rename arg to ARG
10471 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
10472 `doc-view-scroll-up-or-next-page', and buffer-local
10473 `mwheel-scroll-down-function' to
10474 `doc-view-scroll-down-or-previous-page'.
10476 2009-11-25 Juri Linkov <juri@jurta.org>
10478 Provide additional default values (directories at other Dired
10479 windows) via M-n in the minibuffer of some Dired commands.
10481 * dired-aux.el (dired-diff, dired-compare-directories)
10482 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
10483 `minibuffer-default' in `minibuffer-with-setup-hook'.
10484 (dired-dwim-target-directory): Find a window that displays Dired
10485 buffer instead of failing when the next window is not Dired.
10486 Use `get-window-with-predicate' to find for the next Dired window.
10487 (dired-dwim-target-defaults): New function.
10489 * ediff-util.el (ediff-read-file-name):
10490 Use `dired-dwim-target-defaults' to set `minibuffer-default'
10491 in `minibuffer-with-setup-hook'.
10493 2009-11-25 Juri Linkov <juri@jurta.org>
10495 Provide additional default values (file name at point or at the
10496 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
10498 * minibuffer.el (read-file-name-defaults): New function.
10499 (read-file-name): Reset `minibuffer-default' to nil when
10500 it duplicates initial input `insdef'.
10501 Bind `minibuffer-default-add-function' to lambda that
10502 calls `read-file-name-defaults' in `minibuffer-selected-window'.
10503 (minibuffer-insert-file-name-at-point): New command.
10505 * files.el (file-name-at-point-functions): New defcustom.
10506 (find-file-default): Remove defvar.
10507 (find-file-read-args): Don't use `find-file-default'.
10508 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10509 to `read-file-name'.
10510 (find-file-literally): Use `read-file-name' with
10511 `confirm-nonexistent-file-or-buffer'.
10513 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
10515 * dired.el (dired-read-dir-and-switches):
10516 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10517 to `read-file-name'.
10518 (dired-file-name-at-point): New function.
10519 (dired-mode): Add hook `dired-file-name-at-point' to
10520 `file-name-at-point-functions'.
10522 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10524 Really make the *Completions* window soft-dedicated (bug#5030).
10525 * window.el (window--display-buffer-2): Add `dedicated' argument.
10526 (display-buffer): Pass it when needed so the dedicated flag is set
10527 after calling set-window-buffer, which would otherwise reset it.
10529 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10531 * progmodes/meta-mode.el (meta-complete-symbol):
10532 * progmodes/etags.el (complete-tag):
10533 * mail/mailabbrev.el (mail-abbrev-complete-alias):
10534 Use completion-in-region.
10536 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
10537 (dabbrev-completion): Use completion-in-region.
10538 (dabbrev--abbrev-at-point): Simplify regexp.
10540 * abbrev.el (abbrev--before-point): Use word-motion functions
10541 if :regexp is not specified (bug#5031).
10543 * subr.el (string-prefix-p): New function.
10545 * man.el (Man-completion-cache): New var.
10546 (Man-completion-table): Use it.
10548 * vc.el (vc-print-log-internal): Make `limit' optional for better
10549 compatibility (e.g. with vc-annotate.el).
10551 2009-11-24 Kevin Ryde <user42@zip.com.au>
10553 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
10554 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
10556 * emacs-lisp/elint.el (elint-add-required-env): Better error message
10557 when .el source file not found or other error.
10559 2009-11-24 Markus Triska <markus.triska@gmx.at>
10561 * linum.el (linum-update-window): Ignore intangible (bug#4996).
10563 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
10565 Handle the [back] button properly (bug#4979).
10566 * descr-text.el (describe-text-properties): Add a `buffer' argument.
10567 Use help-setup-xref, help-buffer, and with-help-window.
10568 (describe-char): Add `buffer' argument.
10569 Pass proper command to help-setup-xref. Don't meddle with
10570 help-xref-stack-item directly.
10571 (describe-text-category): Use with-help-window and help-buffer.
10573 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
10574 for the displayed buffer (bug#4887).
10576 * man.el (Man-completion-table): New function.
10579 2009-11-24 David Reitter <david.reitter@gmail.com>
10581 * vc-git.el (vc-git-registered): Use checkout directory (where
10582 .git is) rather than the file's directory and a relative path spec
10583 to work around a bug in git.
10585 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
10587 Improve handling of processes on remote hosts.
10589 * eshell/esh-util.el (eshell-path-env): New defvar.
10590 (eshell-parse-colon-path): New defun.
10591 (eshell-file-attributes): Use `eshell-parse-colon-path'.
10593 * eshell/esh-ext.el (eshell-search-path):
10594 Use `eshell-parse-colon-path'.
10595 (eshell-remote-command): Remove argument HANDLER.
10596 (eshell-external-command): Check for FTP remote connection.
10598 * eshell/esh-proc.el (eshell-gather-process-output):
10599 Use `file-truename', in order to start also symlinked files.
10600 Apply `start-file-process' instead of `start-process'.
10601 Shorten `command' to the local file name part.
10603 * eshell/em-cmpl.el (eshell-complete-commands-list):
10604 Use `eshell-parse-colon-path'.
10606 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
10608 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
10609 to `eshell-directory-change-hook'.
10611 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
10613 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
10614 because it could be enabled automatically if view-read-only is non-nil.
10616 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
10618 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
10619 made on 2009-11-22.
10621 2009-11-24 Glenn Morris <rgm@gnu.org>
10623 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
10624 deleted variable bookmark-bmenu-bookmark-column.
10626 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
10628 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
10630 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
10632 * net/browse-url.el (browse-url-filename-alist): On Windows, add
10633 two slashes to the "file:" prefix.
10634 (browse-url-file-url): De-munge Cygwin filenames before passing
10635 them to Windows browser.
10636 (browse-url-default-windows-browser): Use call-process.
10638 2009-11-23 Juri Linkov <juri@jurta.org>
10640 Implement DocView Continuous mode. (Bug#4896)
10641 * doc-view.el (doc-view-continuous-mode): New defcustom.
10642 (doc-view-mode-map): Bind C-n/<down> to
10643 `doc-view-next-line-or-next-page', C-p/<up> to
10644 `doc-view-previous-line-or-previous-page'.
10645 (doc-view-next-line-or-next-page)
10646 (doc-view-previous-line-or-previous-page): New commands.
10648 2009-11-23 Juri Linkov <juri@jurta.org>
10650 Implement Isearch in comint input history. (Bug#3746)
10651 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
10652 `isearch-mode-hook'.
10653 (comint-history-isearch): New defcustom.
10654 (comint-history-isearch-backward)
10655 (comint-history-isearch-backward-regexp): New commands.
10656 (comint-history-isearch-message-overlay): New buffer-local variable.
10657 (comint-history-isearch-setup, comint-history-isearch-end)
10658 (comint-goto-input, comint-history-isearch-search)
10659 (comint-history-isearch-message, comint-history-isearch-wrap)
10660 (comint-history-isearch-push-state)
10661 (comint-history-isearch-pop-state): New functions.
10663 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
10665 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
10667 (tramp-handle-make-symbolic-link)
10668 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
10670 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
10671 (tramp-handle-process-file): Use it.
10673 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
10675 * window.el (move-to-window-line-last-op): Remove.
10676 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
10678 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10680 Make M-r mirror the new cycling behavior of C-l.
10681 * window.el (move-to-window-line-last-op): New var.
10682 (move-to-window-line-top-bottom): New command.
10683 (global-map): Bind M-r move-to-window-line-top-bottom.
10685 2009-11-23 Sven Joachim <svenjoac@gmx.de>
10687 * dired-x.el (dired-guess-shell-alist-default):
10688 Support xz format. (Bug#4953)
10690 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
10692 * emulation/viper-cmd.el: Use viper-last-command-char instead of
10693 last-command-char/last-command-event.
10694 (viper-prefix-arg-value): Do correct conversion of event-char for
10697 * emulation/viper-util.el, emulation/viper.el:
10698 Use viper-last-command-char instead of
10699 last-command-char/last-command-event.
10701 * ediff-init.el, ediff-mult.el, ediff-util.el:
10702 Replace last-command-char and last-command-event
10703 with (ediff-last-command-char) everywhere.
10705 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
10706 created in fundamental mode.
10708 * ediff.el (ediff-version): Revert the change of interactive-p to
10709 called-interactively-p.
10711 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
10713 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
10714 generation from word-movement command names.
10716 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
10718 * cus-start.el (all): Add native condition for font-use-system-font.
10720 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
10722 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
10723 Correct the patch from 2009-11-18. (Bug#3910)
10725 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
10727 * progmodes/subword.el: Rename from lisp/subword.el.
10729 * subword.el: Rename to progmodes/subword.el.
10731 * Makefile.in (ELCFILES): Adapt to subword.el move.
10733 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10734 Stefan Monnier <monnier@iro.umontreal.ca>
10736 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
10737 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
10738 (bookmark-bmenu-show-filenames): Use push.
10739 (bookmark-bmenu-hide-filenames): Use local var instead of
10740 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
10741 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
10742 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
10743 filenames now that the bookmark names are always available.
10745 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10747 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
10748 (bookmark-search-pattern): Move and leave unbound.
10749 (bookmark-bmenu-mode-map): Change binding.
10750 (bookmark-read-search-input): Simplify.
10751 Don't use text-char-description. Don't error on non-char events.
10752 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
10753 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
10754 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
10755 Use a local var for the timer.
10756 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
10757 (i.e. bookmark-bmenu-search).
10759 2009-11-21 Glenn Morris <rgm@gnu.org>
10761 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
10763 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
10765 * net/browse-url.el (browse-url-default-windows-browser):
10766 Use cygstart for cygwin.
10768 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
10770 * bookmark.el: Formatting and doc fixes only:
10771 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
10772 (bookmark-bmenu-search): Wrap to fit within 80 columns.
10773 Minor grammar and punctuation fixes in doc string.
10774 (bookmark-read-search-input): Adjust to fit within 80 columns.
10776 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10778 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
10779 (c-backward-into-nomenclature): Adapt to subword renaming.
10781 * subword.el (subword-forward, subword-backward, subword-mark)
10782 (subword-kill, subword-backward-kill, subword-transpose)
10783 (subword-downcase, subword-upcase, subword-capitalize)
10784 (subword-forward-internal, subword-backward-internal):
10785 Rename from forward-subword, backward-subword, mark-subword,
10786 kill-subword, backward-kill-subword, transpose-subwords,
10787 downcase-subword, upcase-subword, capitalize-subword,
10788 forward-subword-internal, backward-subword-internal.
10790 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10792 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
10794 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
10796 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
10797 (bookmark-bmenu-filter-alist-by-regexp)
10798 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
10799 (bookmark-bmenu-search): New command.
10800 (bookmark-bmenu-mode-map): Bind it.
10802 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10804 * progmodes/cc-cmds.el: declare-functioned forward-subword and
10805 backward-subword to quit the byte-compiler.
10807 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
10809 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
10811 * progmodes/cc-cmds.el (c-update-modeline)
10812 (c-forward-into-nomenclature, c-backward-into-nomenclature):
10813 Refer to subword.el functions instead of cc-subword.el.
10815 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
10816 subword.el functions instead of cc-subword.el.
10818 * progmodes/cc-subword.el: Rename to subword.el.
10819 * subword.el: Rename from progmodes/cc-subword.el.
10820 (subword-mode-map): Rename from c-subword-mode-map.
10821 (subword-mode): Rename from c-subword-mode.
10822 (global-subword-mode): New global minor mode.
10823 (forward-subword): Rename from c-forward-subword.
10824 (backward-subword): Rename from c-backward-subword.
10825 (mark-subword): Rename from c-mark-subword.
10826 (kill-subword): Rename from c-kill-subword.
10827 (backward-kill-subword): Rename from c-backward-kill-subword.
10828 (transpose-subwords): Rename from c-tranpose-subword.
10829 (downcase-subword): Rename from c-downcase-subword.
10830 (capitalize-subword): Rename from c-capitalize-subword.
10831 (forward-subword-internal): Rename from c-forward-subword-internal.
10832 (backward-subword-internal): Rename from c-backward-subword-internal.
10834 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
10836 * vc.el (vc-deduce-fileset): Allow non-state changing operations
10837 from a dired buffer.
10838 (vc-dired-deduce-fileset): New function.
10839 (vc-root-diff, vc-print-root-log): Use it.
10841 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
10842 nil LIMIT argument to vc-print-log-internal.
10844 2009-11-20 Glenn Morris <rgm@gnu.org>
10846 * Makefile.in (ELCFILES): Regenerate.
10848 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
10850 * calc/calc.el (calc-set-mode-line):
10851 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10852 (math-format-number): Rename `math-format-complement-signed' to
10853 `math-format-twos-complement'.
10855 * calc/calc-bin.el (math-format-twos-complement): Rename from
10856 math-format-complement-signed.
10857 (calc-radix): Rename `calc-complement-signed-mode' to
10858 `calc-twos-complement-mode'.
10859 (calc-octal-radix, calc-hex-radix): Add an argument for
10862 * calc/calc-embed.el (calc-embedded-mode-vars):
10863 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10865 * calc/calc-ext.el (calc-init-extensions):
10866 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10867 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
10869 * calc/calc-units.el (math-build-units-table-buffer):
10870 Let `calc-twos-complement-mode' be nil.
10872 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
10875 * calc/calc-vec.el (calcFunc-vunpack):
10876 * calc/calc-aent.el (calc-do-calc-eval):
10877 * calc/calc-forms.el (math-format-date):
10878 * calc/calc-graph.el (calc-graph-plot):
10879 * calc/calc-math.el (math-use-emacs-fn):
10880 * calc/calccomp.el (math-compose-expr):
10881 Let `calc-twos-complement-mode' be nil.
10883 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10885 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
10886 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
10887 * minibuffer.el (completion-in-region-functions): New hook.
10888 (completion-in-region): New function.
10889 * emacs-lisp/lisp.el (lisp-complete-symbol):
10890 * pcomplete.el (pcomplete-std-complete): Use it.
10892 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10894 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
10895 (latex-complete-alist): New vars.
10896 (latex-string-prefix-p, latex-complete-bibtex-keys)
10897 (latex-complete-envnames, latex-complete-refkeys)
10898 (latex-complete-data): New functions.
10899 (latex-complete, latex-indent-or-complete): New commands.
10901 * window.el (display-buffer-mark-dedicated): New var.
10902 (display-buffer): Obey it.
10903 * minibuffer.el (minibuffer-completion-help): Use it.
10905 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
10907 * filecache.el (file-cache-add-file): Use push and cons.
10908 (file-cache-delete-file-regexp): Use push.
10909 (file-cache-complete): Use completion-in-region.
10911 * simple.el (with-wrapper-hook): Fix thinko.
10913 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
10914 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
10915 Use with-current-buffer and string-to-number.
10916 (hfy-fallback-colour-values): Use assoc-string.
10917 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
10918 (hfy-face-at): Remove unused var `found-face'.
10919 (hfy-compile-stylesheet): Remove unused var `css'.
10920 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
10922 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
10923 Use with-current-buffer.
10924 (hfy-text-p): Use expand-file-name and fewer setq.
10926 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
10928 * htmlfontify.el, hfy-cmap.el: New files.
10930 2009-11-19 Juri Linkov <juri@jurta.org>
10932 * minibuffer.el (completions-format): New defcustom.
10933 (completion--insert-strings): Implement vertical format.
10935 * simple.el (switch-to-completions): Move point to the first
10936 completion when point was at the beginning of the buffer.
10938 2009-11-19 Juri Linkov <juri@jurta.org>
10940 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
10942 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
10944 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
10946 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
10947 (mail-signature): Change default to t.
10948 (mail-from-style): Deprecate `system-default' value.
10949 (mail-insert-from-field): For default value of mail-from-style,
10950 default to `angles' unless `angles' needs quoting and `parens'
10952 (mail-citation-prefix-regexp): Use citation regexp from
10955 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
10957 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10958 Set variables for computing the prompt for reading password.
10960 2009-11-19 Glenn Morris <rgm@gnu.org>
10962 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
10964 * textmodes/flyspell.el (sgml-lexical-context): Declare.
10966 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
10967 (newsticker-treeview-listwindow-height): Fix custom type.
10969 2009-11-19 Kenichi Handa <handa@m17n.org>
10971 * descr-text.el (describe-char-padded-string): Compose with TAB
10972 only if there's a font for CH.
10973 (describe-char): Fix the condition for detecting a trivial composition.
10975 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
10977 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
10978 more accurate version of the regexp. (Bug#3910)
10980 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
10982 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
10984 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
10986 * font-setting.el (font-use-system-font): Declare for byte-compiler.
10987 (font-setting-change-default-font): Fix typo in docstring.
10989 2009-11-18 Alan Mackenzie <acm@muc.de>
10991 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
10993 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
10995 * font-setting.el (font-use-system-font): Move ...
10997 * cus-start.el (all): ... to here.
10999 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
11001 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11002 Don't set `ad-return-value' if `ad-do-it' doesn't.
11004 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11007 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11009 * menu-bar.el: Put "Use system font" in Option-menu.
11010 (menu-bar-options-save): Add font-use-system-font.
11012 * loadup.el: If feature system-font-setting or font-render-setting is
11013 there, load font-setting.
11015 * Makefile.in (ELCFILES): Add font-settings.el.
11016 * font-setting.el: New file.
11018 2009-11-17 Glenn Morris <rgm@gnu.org>
11020 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11022 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11023 Preserve point in the list buffer. (Bug#4939)
11025 (newsticker--treeview-list-update-highlight)
11026 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11028 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11030 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11033 * calc/calc-ext.el (calc-init-extensions): Remove references to
11036 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11038 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11039 * calc/calc-help.el (calc-b-prefix-help): Remove references to
11042 2009-11-16 Kevin Ryde <user42@zip.com.au>
11044 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11045 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11047 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11048 (lm-keywords-list): Allow comma-only separator like "foo,bar".
11049 Ignore trailing spaces by omit-nulls to split-string (fixing
11050 regression from Emacs 21 due to the incompatible split-string
11051 change). (Bug #4928.)
11053 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
11055 * vc.el (vc-log-show-limit): Default to 2000.
11056 (vc-print-log-internal): Insert buttons to request more entries
11057 when limiting the output.
11059 * vc-sccs.el (vc-sccs-print-log):
11060 * vc-rcs.el (vc-rcs-print-log):
11061 * vc-cvs.el (vc-cvs-print-log):
11062 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11065 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11067 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11068 error when `tramp-gvfs-dbus-event-vector' is set.
11069 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11071 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11073 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
11075 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11077 * net/dbus.el (dbus-unregister-service): New defun.
11078 (dbus-register-property): Register the handlers of
11079 "org.freedesktop.DBus.Properties" for SERVICE.
11080 (dbus-property-handler): Fix docstring.
11082 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11084 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
11085 Quote doc string reference in defvaralias as it is not in special form.
11086 (byte-compile-output-docform): Doc fix.
11088 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11090 * calc/calc.el (math-2-word-size, math-half-2-word-size)
11091 (calc-complement-signed-mode): New variables.
11092 (calc-set-mode-line): Add indicator for twos-complements.
11093 (math-format-number): Format twos-complement notation.
11095 * calc/calc-bin.el (calc-word-size): Reset the variables
11096 `math-2-word-size' and `math-half-2-word-size'.
11097 (math-format-complement-signed, math-symclip, calcFunc-symclip)
11098 (calc-symclip): New functions.
11100 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
11102 * calc/calc-embed.el (calc-embedded-mode-vars):
11103 Add `calc-complement-signed-mode' to the list of modes.
11105 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
11106 (calc-b-oper-keys): Add `calc-symclip' to list.
11108 * calc/calc-ext.el (math-read-number-fancy): Read complement
11110 (calc-init-extensions): Add binding for `calc-symclip'.
11111 Add autoload for `calcFunc-symclip' and `calc-symclip'.
11113 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
11115 (calc-modes-menu): Add item for twos complement mode.
11117 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
11119 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11121 * register.el (jump-to-register, insert-register): Handle Semantic
11122 tags. From commented-out advice in semantic/senator.el.
11124 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
11126 * vc.el (vc-log-show-limit): New variable.
11127 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
11128 when using a prefix argument.
11129 (vc-print-log-internal): Add new argument LIMIT.
11131 * vc-svn.el (vc-svn-print-log):
11132 * vc-mtn.el (vc-mtn-print-log):
11133 * vc-hg.el (vc-hg-print-log):
11134 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
11135 pass it to the log command when set. Make the BUFFER argument
11138 * vc-sccs.el (vc-sccs-print-log):
11139 * vc-rcs.el (vc-rcs-print-log):
11140 * vc-git.el (vc-git-print-log):
11141 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
11142 ignore it. Make the BUFFER argument non-optional
11144 * bindings.el (mode-line-buffer-identification): Do not purecopy.
11146 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11148 * dired.el (dired-mode-map): Move encryption items to "Operate"
11151 * strokes.el (strokes-update-window-configuration): Make strokes
11152 buffer current before erasing (Bug#4906).
11154 2009-11-15 Juri Linkov <juri@jurta.org>
11156 * simple.el (set-mark-default-inactive): Add :type, :group
11157 and :version. (Bug#4876)
11159 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
11161 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
11162 (archive-unique-fname): ... here. (Bug#4929)
11164 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
11166 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
11169 * novice.el (disabled-command-function): Add useful args.
11170 Setup the help buffer so that [back] works.
11171 Remove redundant call to help-mode.
11172 (disabled-command-function): Use `case'.
11173 (en/disable-command): New function extracted from enable-command.
11174 (enable-command, disable-command): Use it.
11176 2009-11-14 Glenn Morris <rgm@gnu.org>
11178 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
11179 constants. (Bug#4913)
11181 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
11183 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
11185 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
11186 defined in C that have no doc-strings. (Bug#1063)
11188 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
11190 * cus-edit.el (data, files):
11191 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
11193 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
11195 * simple.el (shell-command): Doc fix (Bug#4891).
11197 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
11199 2009-11-14 Glenn Morris <rgm@gnu.org>
11201 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
11202 statements for vc-diff, emerge-quit, and rmail-cease-edit.
11203 If they are already loaded, eval-after-load will do the right thing.
11205 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
11208 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
11210 * simple.el (x-selection-owner-p): Declare.
11211 (read-mail-command): Use custom radio type rather than choice.
11212 (completion-no-auto-exit): Doc fix.
11214 * custom.el (defgroup):
11215 * epg-config.el (epg): Doc fixes.
11217 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
11219 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
11220 * international/ccl.el (define-ccl-program): Do not purecopy the
11221 docstring, defconst does it anyway.
11223 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
11225 * add-log.el (add-change-log-entry): Avoid displaying the changelog
11228 * x-dnd.el (x-dnd-maybe-call-test-function):
11229 * window.el (split-window-vertically):
11230 * whitespace.el (whitespace-help-on):
11231 * vc-rcs.el (vc-rcs-consult-headers):
11232 * userlock.el (ask-user-about-lock-help)
11233 (ask-user-about-supersession-help):
11234 * type-break.el (type-break-force-mode-line-update):
11235 * time-stamp.el (time-stamp-conv-warn):
11236 * terminal.el (te-set-output-log, te-more-break, te-filter)
11237 (te-sentinel, terminal-emulator):
11238 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
11239 (term-write-input-ring, term-check-source, term-start-output-log):
11240 (term-display-buffer-line, term-dynamic-list-completions):
11241 (term-ansi-make-term, serial-term):
11242 * subr.el (selective-display):
11243 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
11244 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
11245 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
11246 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
11247 (speedbar-remove-localized-speedbar-support)
11248 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
11249 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
11250 (speedbar-buffers-line-directory):
11251 * simple.el (shell-command-on-region, append-to-buffer)
11252 (prepend-to-buffer):
11253 * shadowfile.el (shadow-save-todo-file):
11254 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
11255 (scroll-bar-maybe-set-window-start):
11256 * sb-image.el (speedbar-image-dump):
11257 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
11258 (load-save-place-alist-from-file):
11259 * ps-samp.el (ps-print-message-from-summary):
11260 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
11261 (ps-background-image, ps-begin-job, ps-do-despool):
11262 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
11263 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
11264 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
11265 (pr-call-process, pr-file-list, pr-interface-save):
11266 * novice.el (disabled-command-function)
11267 (enable-command, disable-command):
11268 * mouse.el (mouse-buffer-menu-alist):
11269 * mouse-copy.el (mouse-kill-preserving-secondary):
11270 * macros.el (kbd-macro-query):
11271 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
11272 * informat.el (batch-info-validate):
11273 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
11274 * hippie-exp.el (try-expand-dabbrev-visible):
11275 * help-mode.el (help-make-xrefs):
11276 * help-fns.el (describe-variable):
11277 * generic-x.el (bat-generic-mode-run-as-comint):
11278 * finder.el (finder-mouse-select):
11279 * find-dired.el (find-dired-sentinel):
11280 * filesets.el (filesets-file-close):
11281 * files.el (list-directory):
11282 * faces.el (list-faces-display, describe-face):
11283 * facemenu.el (list-colors-display):
11284 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
11285 * epg.el (epg--process-filter, epg-cancel):
11286 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
11287 (epa--read-signature-type):
11288 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
11289 (emerge-file-names):
11290 * ehelp.el (electric-helpify):
11291 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
11292 * ediff-vers.el (rcs-ediff-view-revision):
11293 * ediff-util.el (ediff-setup):
11294 * ediff-mult.el (ediff-append-custom-diff):
11295 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
11297 * echistory.el (Electric-command-history-redo-expression):
11298 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
11299 * disp-table.el (describe-display-table):
11300 * dired.el (dired-find-buffer-nocreate):
11301 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
11302 * dabbrev.el (dabbrev--same-major-mode-p):
11303 * chistory.el (list-command-history):
11304 * apropos.el (apropos-documentation):
11305 * allout.el (allout-obtain-passphrase):
11306 (allout-copy-exposed-to-buffer):
11307 (allout-verify-passphrase): Use with-current-buffer.
11309 2009-11-13 Glenn Morris <rgm@gnu.org>
11311 * Makefile.in (ELCFILES): Regenerate.
11313 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
11315 * net/dbus.el (dbus-registered-objects-table): Rename from
11316 `dbus-registered-functions-table', because it contains also properties.
11317 (dbus-unregister-object): Unregister also properties.
11318 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11319 Use a timeout of 500 msec, in order to not block.
11320 (dbus-register-property, dbus-property-handler): New defuns.
11322 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
11324 * simple.el (minibuffer-default-add-completions): Drop deprecated
11327 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
11329 * textmodes/artist.el (artist-mouse-choose-operation):
11330 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
11331 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
11332 (artist-compute-up-event-key): New function.
11333 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
11335 2009-11-13 Kenichi Handa <handa@m17n.org>
11337 * language/japan-util.el: Make sure that the value of jisx0208
11338 property is jisx0208 character.
11340 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
11342 * international/mule.el (auto-coding-regexp-alist): Only purecopy
11343 car or each item, not the whole list.
11345 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
11347 * minibuffer.el (minibuffer-completion-help):
11348 Use minibuffer-hide-completions.
11350 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
11352 * dired.el (dired-save-positions, dired-restore-positions): New funs.
11353 (dired-revert): Use them (bug#4880).
11355 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11357 * tooltip.el (tooltip-frame-parameters): Undo previous change.
11359 2009-11-12 Juri Linkov <juri@jurta.org>
11361 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
11363 (find-file-literally-at-point): Alias of `ffap-literally'.
11365 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11367 * textmodes/ispell.el (ispell-skip-region-alist):
11368 * textmodes/css-mode.el (auto-mode-alist):
11369 * progmodes/compile.el (auto-mode-alist):
11370 * international/mule.el (ctext-non-standard-encodings-alist)
11371 (ctext-non-standard-encodings-regexp):
11372 * simple.el (shell-command-switch, text-read-only):
11373 * replace.el (occur-mode-map):
11374 * paths.el (rmail-file-name):
11375 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
11376 * find-file.el (ff-special-constructs):
11377 * files.el (file-name-handler-alist):
11378 * composite.el: Purecopy strings.
11380 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
11382 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11384 * widget.el (define-widget): Purecopy the docstring.
11385 * international/mule-cmds.el (charset): Do not purecopy the
11386 docstring here, define-widget does it.
11388 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
11389 * textmodes/bibtex-style.el (auto-mode-alist):
11390 * progmodes/inf-lisp.el (inferior-lisp-prompt):
11391 * progmodes/compile.el (compile-command):
11392 * language/korea-util.el (default-korean-keyboard):
11393 * international/mule-conf.el (file-coding-system-alist):
11394 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
11395 * tooltip.el (tooltip-frame-parameters):
11396 * newcomment.el (comment-end, comment-padding):
11397 * dired.el (dired-trivial-filenames):
11398 * comint.el (comint-file-name-prefix): Purecopy initial values.
11400 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
11402 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
11403 (tramp-advice-minibuffer-electric-tilde): Unload advices via
11405 (tramp-advice-make-auto-save-file-name)
11406 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
11407 after removing the advice.
11409 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11411 * progmodes/grep.el (grep-regexp-alist):
11412 * international/mule-cmds.el (iso-2022-control-alist):
11413 * emacs-lisp/timer.el (timer-duration-words):
11414 * subr.el (version-separator, version-regexp-alist):
11415 * minibuffer.el (completion-styles-alist):
11416 * faces.el (face-attribute-name-alist, list-faces-sample-text):
11417 Change defvars to defconsts.
11419 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
11420 * loadup.el ("international/mule-conf"): Load the byte compiled version.
11421 * international/mule-conf.el: Allow to be byte compiled.
11423 * international/mule.el (define-charset): Purecopy props.
11424 (load-with-code-conversion): Purecopy doc string and file name.
11425 (put-charset-property): Purecopy strings.
11426 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
11428 * international/mule-cmds.el (register-input-method): Purecopy arguments.
11429 (define-char-code-property): Correctly purecopy the table.
11431 * international/ccl.el (define-ccl-program): Purecopy the docstring.
11433 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
11435 * subr.el (add-hook): Purecopy strings.
11436 (eval-after-load): Purecopy load-history-regexp and the form.
11438 * custom.el (custom-declare-group): Purecopy load-file-name.
11440 * subr.el (menu-bar-separator): New defconst.
11441 * net/eudc.el (eudc-tools-menu):
11442 * international/mule-cmds.el (set-coding-system-map)
11443 (mule-menu-keymap):
11444 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11445 * vc-hooks.el (vc-menu-map):
11446 * replace.el (occur-mode-map):
11447 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
11448 (menu-bar-edit-menu, menu-bar-goto-menu)
11449 (menu-bar-custom-menu, menu-bar-showhide-menu)
11450 (menu-bar-options-menu, menu-bar-tools-menu)
11451 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
11452 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
11453 (menu-bar-help-menu):
11454 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
11455 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
11457 * term/x-win.el (x-gtk-stock-map):
11458 * progmodes/vera-mode.el (auto-mode-alist):
11459 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
11460 (inferior-lisp-program, inferior-lisp-load-command):
11461 * progmodes/hideshow.el (hs-special-modes-alist):
11462 * progmodes/gud.el (same-window-regexps):
11463 * progmodes/grep.el (grep-program, find-program, xargs-program):
11464 * net/telnet.el (same-window-regexps):
11465 * net/rlogin.el (same-window-regexps):
11466 * language/ethiopic.el (font-ccl-encoder-alist):
11467 * vc-sccs.el (vc-sccs-master-templates):
11468 * vc-rcs.el (vc-rcs-master-templates):
11469 * subr.el (cl-assertion-failed):
11470 * simple.el (next-error-overlay-arrow-position):
11471 * lpr.el (lpr-command):
11472 * locate.el (locate-ls-subdir-switches):
11473 * info.el (same-window-regexps, info)
11474 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
11475 * image-mode.el (image-mode, auto-mode-alist):
11476 * hippie-exp.el (hippie-expand-ignore-buffers):
11477 * format.el (format-alist):
11478 * find-dired.el (find-ls-subdir-switches, find-grep-options)
11480 * facemenu.el (facemenu-keybindings):
11481 * dired.el (dired-listing-switches, dired-chown-program):
11482 * diff.el (diff-switches, diff-command):
11483 * cus-edit.el (same-window-regexps):
11484 * bindings.el (mode-line-mule-info)
11485 (mode-line-buffer-identification): Purecopy strings.
11487 2009-11-11 Juri Linkov <juri@jurta.org>
11489 * simple.el (dired-get-filename) <declare-function>:
11490 Tell the byte-compiler about dired-get-filename.
11491 (shell-command): In Dired mode, get filename from the current line
11492 as the default value.
11494 2009-11-10 Glenn Morris <rgm@gnu.org>
11496 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
11497 * calendar/holidays.el, progmodes/cperl-mode.el:
11498 Update x-popup-menu declarations.
11500 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
11501 (list-load-path-shadows): Use dolist.
11502 (list-load-path-shadows): Use with-current-buffer.
11504 2009-11-10 Juri Linkov <juri@jurta.org>
11506 * minibuffer.el (read-file-name): Support a list of default values
11507 in `default-filename'. Use the first file name where only one
11508 element is required. Doc fix.
11510 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
11512 * net/dbus.el (dbus-unregister-object): Release service, if no
11513 other method is registered for it.
11515 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
11517 * bookmark.el (bookmark-completing-read): Sort bookmark names if
11518 bookmark-sort-flag is non-nil (Bug#4653).
11520 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
11522 * emulation/cua-base.el: Add CUA property to some CC mode commands
11525 2009-11-08 Kevin Ryde <user42@zip.com.au>
11527 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
11528 at end of sentence (Bug#4818).
11530 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
11532 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11533 Handle "see declaration of" MSFT statements (Bug#4100).
11535 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
11537 * net/tramp.el (tramp-advice-make-auto-save-file-name)
11538 (tramp-advice-file-expand-wildcards): Unload via
11539 `ad-remove-advice'.
11541 * net/trampver.el: Update release number.
11543 2009-11-08 Kevin Ryde <user42@zip.com.au>
11545 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
11548 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
11550 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
11551 in order to keep context in SELinux.
11553 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
11555 * dired-aux.el (dired-query): Place cursor in echo area and allow
11558 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
11559 menu item if not on a directory (Bug#4701).
11561 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
11563 Sync with Tramp 2.1.17.
11565 * net/tramp.el (tramp-handle-copy-directory): Don't use
11566 `file-remote-p' (due to compatibility).
11568 * net/tramp-compat.el (tramp-compat-copy-directory)
11569 (tramp-compat-delete-directory): New defuns.
11571 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
11572 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
11573 `tramp-compat-delete-directory'.
11575 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11576 (tramp-smb-handle-delete-directory): Use
11577 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
11579 * net/trampver.el: Update release number.
11581 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
11583 * tar-mode.el (tar-copy): Call write-region on the right buffer
11586 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
11587 by hand, if necessary (Bug#4878).
11589 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
11591 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
11592 align size column (Bug#4839).
11594 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
11597 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11599 * progmodes/ld-script.el (auto-mode-alist):
11600 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
11602 * cus-face.el (custom-declare-face): Purecopy face spec.
11604 2009-11-06 Kenichi Handa <handa@m17n.org>
11606 * international/uni-bidi.el: Re-generated.
11607 * international/uni-category.el: Re-generated.
11608 * international/uni-combining.el: Re-generated.
11609 * international/uni-mirrored.el: Re-generated.
11611 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11613 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
11614 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
11615 (tex-start-options, slitex-run-command, latex-run-command)
11616 (tex-run-command, tex-directory):
11617 * textmodes/ispell.el (ispell-html-skip-alists)
11618 (ispell-tex-skip-alists, ispell-tex-skip-alists):
11619 * textmodes/fill.el (adaptive-fill-first-line-regexp):
11620 (adaptive-fill-regexp):
11621 * textmodes/dns-mode.el (auto-mode-alist):
11622 * progmodes/python.el (interpreter-mode-alist):
11623 * progmodes/etags.el (tags-compression-info-list):
11624 * progmodes/etags.el (tags-file-name):
11625 * net/browse-url.el (browse-url-galeon-program)
11626 (browse-url-firefox-program):
11627 * mail/sendmail.el (mail-signature-file)
11628 (mail-citation-prefix-regexp):
11629 * international/mule-conf.el (eight-bit):
11630 * international/latexenc.el (latex-inputenc-coding-alist):
11631 * international/fontset.el (x-pixel-size-width-font-regexp):
11632 * emacs-lisp/warnings.el (warning-type-format):
11633 * emacs-lisp/trace.el (trace-buffer):
11634 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
11635 (emacs-lisp-mode-map):
11636 * calendar/holidays.el (holiday-solar-holidays)
11637 (holiday-bahai-holidays, holiday-islamic-holidays)
11638 (holiday-christian-holidays, holiday-hebrew-holidays)
11639 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
11640 (hebrew-holidays-1, holiday-oriental-holidays)
11641 (holiday-general-holidays):
11642 * x-dnd.el (x-dnd-known-types):
11643 * tool-bar.el (tool-bar):
11644 * startup.el (site-run-file):
11645 * shell.el (shell-dumb-shell-regexp):
11646 * rfn-eshadow.el (file-name-shadow-tty-properties)
11647 (file-name-shadow-properties):
11648 * paths.el (remote-shell-program, news-directory):
11649 * mouse.el ([C-down-mouse-3]):
11650 * menu-bar.el (menu-bar-tools-menu):
11651 * jka-cmpr-hook.el (jka-compr-load-suffixes)
11652 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
11653 (jka-compr-compression-info-list):
11654 * isearch.el (search-whitespace-regexp):
11655 * image-file.el (image-file-name-extensions):
11656 * find-dired.el (find-ls-option):
11657 * files.el (directory-listing-before-filename-regexp)
11658 (directory-free-space-args, insert-directory-program)
11659 (list-directory-brief-switches, magic-fallback-mode-alist)
11660 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
11661 (automount-dir-prefix):
11662 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
11663 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
11664 (face-font-registry-alternatives, face-font-registry-alternatives)
11665 (face-font-family-alternatives):
11666 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
11667 (facemenu-foreground-menu, facemenu-face-menu):
11668 * epa-hook.el (epa-file-name-regexp):
11669 * dnd.el (dnd-protocol-alist):
11670 * textmodes/rst.el (auto-mode-alist):
11671 * button.el (default-button): Purecopy strings.
11673 2009-11-06 Glenn Morris <rgm@gnu.org>
11675 * Makefile.in (ELCFILES): Update.
11677 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11679 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
11680 * emacs-lisp/levents.el: Move to obsolete/levents.el.
11682 * nxml/xsd-regexp.el (xsdre-gen-categories):
11683 * nxml/xmltok.el (xmltok-parse-entity):
11684 * nxml/rng-parse.el (rng-parse-validate-file):
11685 * nxml/rng-maint.el (rng-format-manual)
11686 (rng-manual-output-force-new-line):
11687 * nxml/rng-loc.el (rng-save-schema-location-1):
11688 * nxml/rng-cmpct.el (rng-c-parse-file):
11689 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
11690 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
11692 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
11694 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
11695 Remove extra save-excursions and make-variable-buffer-local's.
11696 Suggested by Stefan Monnier.
11698 (verilog-getopt-file, verilog-module-inside-filename-p)
11699 (verilog-set-define): Merge GNU 1.35 and repair changes from
11700 switching to using with-current-buffer.
11702 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
11703 being treated as a number and confusing AUTORESET.
11704 Reported by Dan Dever.
11706 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
11707 Add verilog-auto-ignore-concat to fix backward compatibility with
11708 older verilog-modes. Reported by Dan Katz.
11710 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
11711 containing closing anchors "...$".
11713 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
11714 Reported by Wade Smith.
11716 (verilog-batch-execute-func): Comment on function usage.
11718 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
11720 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
11723 (verilog-label-re, verilog-calc-1): Support proper indent of named
11726 (verilog-backward-token, verilog-basic-complete-re)
11727 (verilog-beg-of-statement, verilog-indent-re): Support proper
11728 indent of the assert statement at the beginning of a block of text.
11730 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
11731 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
11734 2009-11-05 Glenn Morris <rgm@gnu.org>
11736 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
11737 Emacs 19. (Bug#1531)
11738 (byte-compile-fix-header): Update for the above change.
11739 Drop test for epoch::version.
11741 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
11742 * cus-dep.el (custom-make-dependencies):
11743 * finder.el (finder-compile-keywords):
11744 Use autoload-rubric's feature argument.
11746 * calendar/diary-lib.el (top-level): Make load behave more like require.
11748 * vc-git.el (vc-git-stash-map): Move definition before use.
11750 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
11752 * custom.el (custom-declare-group): Purecopy standard-value.
11753 (custom-declare-group): Purecopy custom-prefix.
11755 * international/mule.el (load-with-code-conversion):
11756 Call do-after-load-evaluation unconditionally.
11758 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
11760 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11762 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
11764 2009-11-04 Glenn Morris <rgm@gnu.org>
11766 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
11767 (byte-compile-compatibility): Remove option.
11768 (byte-compile-close-variables, byte-compile-fix-header)
11769 (byte-compile-insert-header, byte-compile-output-docform)
11770 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
11771 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
11772 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
11773 (byte-compile-insert, byte-compile-defun):
11774 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
11775 (byte-defop-compiler19): Remove.
11776 Without byte-compile-compatibility, the 'emacs19-opcode property is not
11777 used by anything. Replace all calls with byte-defop-compiler.
11779 2009-11-04 Juri Linkov <juri@jurta.org>
11781 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
11782 (menu-bar-options-menu): Don't quote the `prop' arg of
11783 `menu-bar-make-mm-toggle'.
11785 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
11787 * calendar/calendar.el (cal-loaddefs):
11788 * calendar/diary-lib.el (diary-loaddefs):
11789 * calendar/holidays.el (hol-loaddefs):
11790 * eshell/esh-module.el (esh-groups): Load rather than require.
11792 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11794 * calendar/todo-mode.el (todo-add-category): Don't hardcode
11796 (todo-top-priorities): Only display-buffer when called interactively.
11797 (todo-item-start): Don't save excursion point.
11798 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
11799 (todo-insert-item-here, todo-file-item, todo-remove-item):
11800 Adjust uses of todo-item-start and todo-item-end.
11802 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
11803 (autoload-rubric): Don't use any more.
11805 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
11806 and only put a prop if it is non-nil.
11808 2009-11-03 Juri Linkov <juri@jurta.org>
11810 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
11811 (menu-bar-options-menu): Fix list quoting (Bug#4429).
11813 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
11814 and "Menu" to make top-level menu item visually one unit (like
11815 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
11816 multi-word menu items). Fix :help string for quit-window.
11818 2009-11-03 Glenn Morris <rgm@gnu.org>
11820 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
11821 (byte-compile-file-form-define-abbrev-table)
11822 (byte-compile-file-form-custom-declare-variable)
11823 (byte-compile-variable-ref, byte-compile-defvar):
11824 Whether or not a warning is enabled should only affect whether we issue
11825 the warning, not whether or not we collect the relevant data.
11826 Eg warnings can be turned on and off throughout the course of a file.
11828 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
11829 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
11831 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11833 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
11834 * play/mpuz.el (mpuz-create-buffer):
11835 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
11836 (lm-print-y,s,noise, lm-print-w0, lm-init):
11837 * play/gomoku.el (gomoku-prompt-for-move):
11838 * play/fortune.el (fortune-in-buffer):
11839 * play/dissociate.el (dissociated-press):
11840 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
11841 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
11842 * mail/supercite.el (sc-eref-show):
11843 * mail/smtpmail.el (smtpmail-send-it):
11844 * mail/rmailsum.el (rmail-summary-next-labeled-message)
11845 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
11846 (rmail-summary-undelete-many, rmail-summary-rmail-update)
11847 (rmail-summary-goto-msg, rmail-summary-expunge)
11848 (rmail-summary-get-new-mail, rmail-summary-search-backward)
11849 (rmail-summary-add-label, rmail-summary-output-menu)
11850 (rmail-summary-output-body):
11851 * mail/rfc822.el (rfc822-addresses):
11852 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
11853 * mail/mailpost.el (post-mail-send-it):
11854 * mail/hashcash.el (hashcash-generate-payment):
11855 * mail/feedmail.el (feedmail-run-the-queue)
11856 (feedmail-queue-send-edit-prompt-help-first)
11857 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
11858 (feedmail-deduce-address-list):
11859 * eshell/esh-ext.el (eshell-remote-command):
11860 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
11861 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
11862 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
11863 (viper-save-string-in-file, viper-valid-marker):
11864 * emulation/viper-keym.el (viper-toggle-key):
11865 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
11866 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
11867 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
11868 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11869 (viper-exec-form-in-emacs, viper-brac-function):
11870 * emulation/viper.el (viper-delocalize-var):
11871 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
11872 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
11873 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
11874 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
11875 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
11876 * emulation/edt.el (edt-electric-helpify):
11877 * emulation/cua-rect.el (cua--rectangle-aux-replace):
11878 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
11879 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
11880 (cua-indent-to-global-mark-column):
11881 * calendar/diary-lib.el (calendar-mark-1):
11882 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
11883 Use with-current-buffer.
11884 * emulation/viper.el (viper-delocalize-var): Use dolist.
11886 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
11888 * comint.el (comint-replace-by-expanded-history-before-point):
11889 Replace !! with the previous input string literally (Bug#1795).
11891 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
11893 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
11894 to be made up of whitespace.
11896 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
11898 * minibuffer.el (read-file-name): Don't use file dialogs for
11899 remote directories (Bug#99).
11901 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
11903 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
11905 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
11907 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
11908 instead of deleting the window or frame.
11910 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11912 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
11913 Support face colors.
11915 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
11916 New function. Support face colors (Bug#1168).
11917 (tex-common-initialization): Use it.
11919 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
11920 mode allows it (Bug#1168).
11922 2009-10-31 Juri Linkov <juri@jurta.org>
11924 * facemenu.el (list-colors-display): Don't mark buffer as
11925 modified (Bug#3948).
11927 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11929 * international/mule-diag.el (list-character-sets-1): Minor
11930 message fix (Bug#3526).
11932 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
11933 face property (Bug#4834).
11934 (etags-list-tags, etags-tags-apropos-additional)
11935 (etags-tags-apropos, tags-select-tags-table): Add follow-link
11938 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
11941 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
11943 * textmodes/two-column.el (2C-split):
11944 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
11945 * textmodes/tex-mode.el (tex-set-buffer-directory):
11946 * textmodes/spell.el (spell-region, spell-string):
11947 * textmodes/reftex.el (reftex-erase-buffer):
11948 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
11949 * textmodes/reftex-toc.el (reftex-toc-promote-action):
11950 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
11951 (reftex-select-item):
11952 * textmodes/reftex-ref.el (reftex-label-info-update)
11953 (reftex-offer-label-menu):
11954 * textmodes/reftex-index.el (reftex-index-change-entry)
11955 (reftex-index-phrases-info):
11956 * textmodes/reftex-global.el (reftex-create-tags-file)
11957 (reftex-save-all-document-buffers, reftex-ensure-write-access):
11958 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
11959 (reftex-view-crossref-from-bibtex):
11960 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
11961 (reftex-extract-bib-entries-from-thebibliography)
11962 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
11963 * textmodes/refbib.el (r2b-capitalize-title):
11964 (r2b-convert-buffer, r2b-help):
11965 * textmodes/page-ext.el (pages-directory)
11966 (pages-directory-goto-with-mouse):
11967 * textmodes/bibtex.el (bibtex-validate-globally):
11968 * textmodes/bib-mode.el (bib-capitalize-title):
11969 * textmodes/artist.el (artist-clear-buffer, artist-system):
11970 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
11971 (local-set-scheme-interaction-buffer, xscheme-process-filter)
11972 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
11973 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
11974 (xscheme-send-control-g-interrupt, xscheme-start-process)
11975 (xscheme-process-sentinel, xscheme-cd):
11976 * progmodes/verilog-mode.el (verilog-read-always-signals)
11977 (verilog-set-define, verilog-getopt-file)
11978 (verilog-module-inside-filename-p):
11979 * progmodes/sh-script.el:
11980 * progmodes/python.el (python-pdbtrack-get-source-buffer)
11981 (python-pdbtrack-grub-for-buffer, python-execute-file):
11982 * progmodes/octave-inf.el (inferior-octave):
11983 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11984 (idlwave-shell-compile-helper-routines, idlwave-set-local)
11985 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
11986 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
11987 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
11988 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
11989 (idlwave-shell-filter, idlwave-shell-examine-highlight)
11990 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
11991 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
11992 (idlwave-shell-examine-display, idlwave-shell-run-region)
11993 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
11994 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
11995 * progmodes/idlw-help.el (idlwave-help-get-special-help)
11996 (idlwave-help-get-help-buffer):
11997 * progmodes/gud.el (gud-basic-call, gud-find-class)
11998 (gud-tooltip-activate-mouse-motions-if-enabled):
11999 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12000 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12001 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12002 (ebrowse-tags-next-file):
12003 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12004 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12005 (ebnf-eps-finish-and-write):
12006 * progmodes/cpp.el (cpp-edit-save):
12007 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12008 * progmodes/cc-defs.el (c-emacs-features):
12009 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12010 (antlr-directory-dependencies):
12011 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12012 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12013 (ada-find-any-references, ada-make-filename-from-adaname)
12014 (ada-make-body-gnatstub):
12015 * obsolete/rnews.el (news-list-news-groups):
12016 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12017 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12018 * net/rcirc.el (rcirc-debug):
12019 * net/newst-treeview.el (newsticker--treeview-list-add-item)
12020 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12021 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12022 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12023 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12024 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12025 (newsticker--treeview-list-clear-highlight)
12026 (newsticker--treeview-list-update-highlight)
12027 (newsticker--treeview-list-highlight-start)
12028 (newsticker--treeview-tree-update-highlight)
12029 (newsticker--treeview-get-selected-item)
12030 (newsticker-treeview-mark-list-items-old)
12031 (newsticker--treeview-set-current-node):
12032 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12033 * net/newst-backend.el (newsticker--get-news-by-funcall)
12034 (newsticker--get-news-by-wget, newsticker--image-get)
12035 (newsticker--image-sentinel):
12036 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12037 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12038 (eudc-ph-close-session):
12039 * net/eudc.el (eudc-save-options):
12040 * language/thai-word.el (thai-update-word-table):
12041 * language/japan-util.el (japanese-string-conversion):
12042 * international/titdic-cnv.el (tsang-quick-converter)
12043 (ziranma-converter, ctlau-converter):
12044 * international/mule-cmds.el (describe-language-environment):
12045 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12046 (skkdic-convert-postfix, skkdic-convert-prefix):
12047 (skkdic-convert-okuri-nasi, skkdic-convert):
12048 * emacs-lisp/re-builder.el (reb-update-overlays):
12049 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12050 * emacs-lisp/gulp.el (gulp-send-requests):
12051 * emacs-lisp/find-gc.el (trace-call-tree):
12052 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12053 (eieio-describe-generic):
12054 * emacs-lisp/eieio-base.el (eieio-persistent-read):
12055 * emacs-lisp/edebug.el (edebug-outside-excursion):
12056 * emacs-lisp/debug.el (debugger-make-xrefs):
12057 * emacs-lisp/cust-print.el (custom-prin1-to-string):
12058 * emacs-lisp/chart.el (chart-new-buffer):
12059 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12060 Use with-current-buffer.
12061 * textmodes/artist.el (artist-system): Don't call
12062 copy-sequence on a fresh string.
12063 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12065 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
12067 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12068 is no item to edit. (Bug#4820)
12069 (todo-top-priorities): Restore point and restore narrowing in Todo
12072 2009-10-31 Glenn Morris <rgm@gnu.org>
12074 * net/ange-ftp.el (top-level): Don't require dired when compiling.
12075 (comint-last-output-start, comint-last-input-start)
12076 (comint-last-input-end): Don't defvar when compiling.
12077 (ange-ftp-process-file): Use bound-and-true-p.
12079 * pcmpl-rpm.el (top-level): Move provide statement to end.
12080 (pcmpl-rpm): Remove unused custom group.
12082 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
12084 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
12086 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
12087 (byte-compile-warnings): Add `constants' as an option.
12088 (byte-compile-callargs-warn, byte-compile-arglist-warn)
12089 (display-call-tree): Update for byte-compile-fdefinition possibly
12090 returning `(macro lambda ...)'. (Bug#4778)
12091 (byte-compile-variable-ref, byte-compile-setq-default):
12092 Respect `constants' member of byte-compile-warnings.
12094 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12096 * vc-bzr.el (vc-bzr-revision-keywords): New var.
12097 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
12100 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
12102 * textmodes/ispell.el (ispell-skip-region-alist):
12103 * international/mule-conf.el (eight-bit):
12104 * international/fontset.el (font-encoding-alist):
12105 * startup.el (pure-space-overflow-message):
12106 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
12107 * paths.el (gnus-nntp-service, rmail-spool-directory)
12108 (term-file-prefix):
12109 * files.el (save-some-buffers-action-alist):
12110 * cmuscheme.el (same-window-buffer-names):
12111 * ielm.el (same-window-buffer-names):
12112 * shell.el (same-window-buffer-names):
12113 * mail/sendmail.el (same-window-buffer-names):
12114 * progmodes/inf-lisp.el (same-window-buffer-names):
12115 * bindings.el (mode-line-client)
12116 (mode-line-column-line-number-mode-map):
12117 * language/tibetan.el (tibetan-precomposition-rule-regexp)
12118 (tibetan-precomposed-regexp): Purecopy string arguments.
12120 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12122 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
12123 (calcDigit-nondigit):
12124 * calc/calc-yank.el (calc-copy-to-buffer):
12125 * calc/calc-units.el (calc-invalidate-units-table):
12126 * calc/calc-trail.el (calc-trail-yank):
12127 * calc/calc-store.el (calc-insert-variables):
12128 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
12129 * calc/calc-prog.el (calc-read-parse-table):
12130 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
12131 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
12132 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
12133 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
12134 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
12135 (calc-graph-name, calc-graph-find-command, calc-graph-view)
12136 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
12137 * calc/calc-ext.el (calc-realign):
12138 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
12139 (calc-embedded-finish-edit, calc-embedded-make-info)
12140 (calc-embedded-finish-command, calc-embedded-stack-change):
12141 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
12143 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
12144 shell-dynamic-complete-filename in preference to
12145 comint-dynamic-complete-filename.
12147 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
12148 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
12149 Don't consider whether the display supports colors.
12150 (bookmark-import-new-list): Use dolist.
12151 (bookmark-bmenu-mode-map): Move initialization into declaration.
12152 (bookmark-bmenu-list): Use dolist, simplify.
12153 (bookmark-show-all-annotations): Use save-selected-window and dolist.
12154 (menu-bar-final-items): Use push.
12156 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12158 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
12159 it works on remote files.
12160 (vc-hg-diff): Don't pass any `--cwd' argument.
12162 2009-10-27 Kevin Ryde <user42@zip.com.au>
12164 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12165 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
12166 (Further to Bug#3921).
12168 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
12170 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
12171 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
12172 calling `tramp-imap-put-file'. Add file size to the call.
12173 (tramp-imap-get-file-entries): Compute also user name, file size,
12175 (tramp-imap-handle-insert-directory): Insert uid and gid.
12176 (tramp-imap-handle-file-attributes): Transform uid and gid
12177 according to `id-format'.
12178 (tramp-imap-put-file): New optional parameter SIZE. Encode file
12179 size in header X-Size.
12181 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
12183 * simple.el (transpose-subr): Give clearer error when the mark
12184 is not set. (Bug#4807)
12186 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
12188 * net/tramp.el (tramp-perl-file-truename): New defconst.
12189 Perl code contributed by yary <not.com@gmail.com> (tiny change).
12190 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
12191 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
12192 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
12194 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
12195 Ignore `dired-call-process'.
12196 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
12198 2009-10-26 Julian Scheid <julians37@gmail.com>
12200 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
12201 (tramp-get-remote-readlink): New defun.
12202 (tramp-handle-file-truename): Use it.
12203 (tramp-handle-file-exists-p): Check file-attributes cache, assume
12204 file exists if cache value present.
12205 (tramp-check-cached-permissions): New defun.
12206 (tramp-handle-file-readable-p): Use it.
12207 (tramp-handle-file-writable-p): Likewise.
12208 (tramp-handle-file-executable-p): Likewise.
12209 (tramp-handle-file-name-all-completions): Try using Perl to get
12210 partial completions. When perl not available, combine `cd' and
12211 `ls' into single remote operation and use shell expansion to get
12212 partial remote directory contents. Set `file-exists-p' cache for
12213 directory and any files returned by ls. Change cache handling to
12214 support partial directory contents. Use error message emitted by
12215 remote `cd' or Perl code for local tramp-error.
12216 (tramp-do-copy-or-rename-file-directly): Avoid separate
12217 tramp-send-command-and-check call.
12218 (tramp-handle-process-file): Merge three remote ops into one.
12219 Do not flush all caches when `process-file-side-effects' is set.
12220 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
12221 file-attributes shows uid/gid to be set already.
12223 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
12225 * textmodes/tex-mode.el (tex-dvi-view-command)
12226 (tex-show-queue-command, tex-open-quote):
12227 * progmodes/ruby-mode.el (auto-mode-alist)
12228 (interpreter-mode-alist): Purecopy strings.
12230 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
12232 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
12233 string for the hook, keymap and abbrev table.
12235 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
12237 * x-dnd.el (x-dnd-xdnd-to-action):
12238 * startup.el (fancy-startup-text, fancy-about-text): Change to
12239 defconst from defvar.
12241 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
12243 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
12244 Purecopy initialization strings.
12246 * mail/sendmail.el (mail-header-separator)
12247 (mail-personal-alias-file):
12248 * mail/rmail.el (rmail-default-dont-reply-to-names)
12249 (rmail-ignored-headers, rmail-retry-ignored-headers)
12250 (rmail-highlighted-headers, rmail-secondary-file-directory)
12251 (rmail-secondary-file-regexp):
12252 * files.el (null-device, file-name-invalid-regexp)
12253 (locate-dominating-stop-dir-regexp)
12254 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
12255 (interpreter-mode-alist): Use mapcar instead of mapc.
12257 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
12259 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
12260 (completion-ignored-extensions):
12261 (debug-ignored-errors): Purecopy strings.
12263 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12265 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
12266 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
12267 (pcomplete--here): Use push.
12269 * subr.el (all-completions): Declare the 4th arg obsolete.
12271 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12273 * pcomplete.el (pcomplete-unquote-argument-function): New var.
12274 (pcomplete-unquote-argument): New function.
12275 (pcomplete--common-suffix): Always pay attention to case.
12276 (pcomplete--table-subvert): Quote and unquote the text.
12277 (pcomplete--common-quoted-suffix): New function.
12278 (pcomplete-std-complete): Use it and pcomplete-begin.
12280 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
12281 we're inside a dedicated or minibuffer window.
12283 2009-10-24 Karl Fogel <kfogel@red-bean.com>
12285 * bookmark.el: Update documentation, especially documentation
12286 of `bookmark-alist' and of the bookmark file format.
12287 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
12289 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
12291 * mail/emacsbug.el (report-emacs-bug): Clarify that the
12292 keybindings apply to the mail buffer (Bug#4003). Shrink help
12295 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12296 (global-whitespace-mode, global-whitespace-newline-mode)
12297 (whitespace-toggle-options, global-whitespace-toggle-options):
12298 Doc fix (Bug#3660).
12300 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
12301 of xmltok-start before the end tag was inserted (Bug#2840).
12303 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
12304 patterns that are preceded by an open-paren (Bug#1320).
12306 2009-10-24 Sven Joachim <svenjoac@gmx.de>
12308 * files.el (delete-directory): Delete symlinks to directories with
12309 delete-file (Bug#4739).
12311 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
12313 * vc.el (vc-backend-for-registration): Rename from
12314 vc-get-backend-for-registration. Update callers.
12316 * international/mule-cmds.el (set-language-info-alist):
12318 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
12319 (charset): Purecopy the name.
12320 (define-char-code-property): Purecopy string arguments.
12322 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12323 Purecopy string arguments.
12325 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12326 * ediff-hook.el (menu-bar-ediff-menu):
12327 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
12328 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
12330 2009-10-24 Glenn Morris <rgm@gnu.org>
12332 * comint.el (comint-dynamic-list-completions):
12333 * term.el (term-dynamic-list-completions): Use choose-completion rather
12334 than obsolete alias mouse-choose-completion.
12336 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
12337 file-cache-choose-completion.
12338 (file-cache-choose-completion): Handle an optional event argument.
12339 (file-cache-mouse-choose-completion): Make it an obsolete alias.
12341 * progmodes/octave-mod.el (octave-complete-symbol):
12342 Use choose-completion if mouse-choose-completion is ever removed.
12344 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
12347 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
12350 * vc-hooks.el (vc-responsible-backend): Fix declaration.
12352 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12354 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
12355 Ignore `pred' now that we receive one.
12356 Handle test-completion specially.
12358 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12360 * vc.el (vc-responsible-backend): Throw an error if not backend is
12361 found. Remove the REGISTER argument. Move the code dealing with
12363 (vc-get-backend-for-registration): ... here. New function.
12364 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
12365 of vc-responsible-backend, pass the file name instead of the
12368 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12370 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
12372 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
12373 (pcomplete-comint-setup): Don't modify a global var via
12374 accidental side-effects.
12375 (pcomplete-shell-setup): Adjust call accordingly.
12376 (pcomplete-parse-comint-arguments): Use push.
12378 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
12380 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12381 Allow uncapitalized info node names (Bug#3921).
12383 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
12384 to the DEBUG file (Bug#3781).
12386 2009-10-23 Jari Aalto <jari.aalto@cante.net>
12388 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
12389 dictionary entry (Bug#4579).
12391 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
12393 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
12394 from `rfn-eshadow-update-overlay-hook' when unloading.
12395 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
12396 "rsyncc". Adjust doc string.
12397 (tramp-temp-buffer-file-name): New buffer-local defvar.
12398 (tramp-handle-insert-file-contents, tramp-handle-write-region):
12399 Keep temporary file when indicated by method ("rsync" and
12401 (tramp-handle-write-region): Handle APPEND.
12402 (tramp-delete-temp-file-function): New defun. Added to
12403 `kill-buffer-hook'.
12405 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
12407 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
12409 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12411 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
12412 (color-name-rgb-alist, tty-standard-colors)
12413 (tty-color-mode-alist): Change to defconst.
12415 * simple.el (mark-inactive): Purecopy message.
12417 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
12418 (global-map, yank-menu):
12419 * textmodes/ispell.el (ispell-menu-map):
12420 * net/eudc.el (eudc-tools-menu):
12421 * international/mule-cmds.el (describe-language-environment-map)
12422 (setup-language-environment-map, set-coding-system-map)
12423 (mule-menu-keymap):
12424 * vc-hooks.el (vc-menu-entry, vc-menu-map):
12425 * replace.el (occur-mode-map):
12426 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
12428 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
12430 * calc/calc.el (math-read-number, math-read-number-simple): Use
12433 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12435 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
12436 rather than fiddling with global-map bindings, since it should only
12437 affect per-terminal settings.
12438 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
12440 * minibuffer.el (completion-table-with-terminator): Allow to specify
12441 the terminator-regexp.
12443 * simple.el (switch-to-completions): Look for *Completions* in other
12446 * pcomplete.el: Allow the use of completion-tables.
12447 (pcomplete-std-complete): New command.
12448 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
12449 (pcomplete--here): Use a function for `form' rather than an expression,
12450 so it can be byte-compiled.
12451 (pcomplete-here, pcomplete-here*): Adjust accordingly.
12452 Add edebug declaration.
12453 (pcomplete-show-completions): Remove unused var `curbuf'.
12454 (pcomplete-do-complete, pcomplete-stub):
12455 Don't assume `completions' is a list of strings any more.
12457 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
12459 * find-dired.el (find-name-arg): Fix typo in docstring.
12461 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12463 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
12464 (pcmpl-linux-fs-types): Same, and update to new modules layout.
12466 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
12469 * comint.el (comint-read-input-ring, comint-write-input-ring)
12470 (comint-substitute-in-file-name)
12471 (comint-dynamic-complete-as-filename)
12472 (comint-dynamic-simple-complete)
12473 (comint-dynamic-list-filename-completions)
12474 (comint-dynamic-list-completions)
12475 (comint-redirect-results-list-from-process): Minor simplifications.
12477 2009-10-21 Kevin Ryde <user42@zip.com.au>
12479 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
12480 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
12481 the first form. And insert a blank line after ";;; Code" since
12482 that's usual style. (Bug#4612)
12484 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
12486 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12488 * minibuffer.el (completion-table-with-terminator): Properly implement
12489 boundaries, in case `terminator' appears in the suffix.
12490 (completion--embedded-envvar-table): Don't return boundaries if
12491 there's no valid completion. Simplify.
12492 (completion-file-name-table): New completion table extracted from
12493 completion--file-name-table.
12494 (completion--file-name-table): Use it.
12495 (read-file-name-predicate): Declare obsolete.
12496 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
12497 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
12498 completion-file-name-table, and use the `pred' argument.
12499 * files.el (locate-file-completion-table): Use the `pred' arg rather
12500 than read-file-name-predicate.
12501 (abbreviate-file-name): Use \` rather than ^ for BOS.
12503 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
12505 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
12506 vc-responsible-backend to register, it causes problems.
12508 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12510 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
12512 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
12514 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
12515 (tramp-smb-handle-file-attributes): Use it.
12516 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
12517 (tramp-smb-handle-insert-directory): Use `mapc' rather than
12518 `mapcar'. Use `tramp-smb-get-stat-capability'.
12519 Add `dired-filename' text properties.
12520 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
12521 (tramp-smb-maybe-open-connection): Simplify check for smbclient
12524 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
12526 * subr.el (read-key-delay): Reduce to 0.01.
12527 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
12530 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12532 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
12534 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
12535 (Info-menu): Remove unused vars `last' and `completions'.
12536 (Info-index-nodes): Remove unused var `node'.
12538 * info.el (Info-complete-menu-item): Use complete-with-action.
12540 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
12542 Make vc-annotate work through copies and renames.
12543 * vc-annotate.el (vc-annotate-extract-revision-at-line):
12544 Return the file name too.
12545 (vc-annotate-revision-at-line)
12546 (vc-annotate-find-revision-at-line)
12547 (vc-annotate-revision-previous-to-line)
12548 (vc-annotate-show-log-revision-at-line): Update to get the file
12549 name from vc-annotate-extract-revision-at-line.
12550 (vc-annotate-show-diff-revision-at-line-internal): Change the
12551 argument to mean whether to show a file diff or not. Get the file
12552 name from vc-annotate-extract-revision-at-line.
12553 (vc-annotate-show-diff-revision-at-line):
12554 Update vc-annotate-show-diff-revision-at-line call.
12555 (vc-annotate-warp-revision): Add an optional file argument.
12557 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
12558 (vc-git-annotate-extract-revision-at-line): Also return the file
12561 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
12562 command. Remove unused code.
12563 (vc-hg-annotate-re): Update to match --follow output.
12564 (vc-hg-annotate-extract-revision-at-line): Also return the file
12567 * vc.el: Update annotate-extract-revision-at-line documentation.
12569 2009-10-18 Kevin Ryde <user42@zip.com.au>
12571 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
12572 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
12574 * net/browse-url.el (browse-url): Identify alist with "consp and
12575 not functionp" and let all other things go down the `apply' leg,
12576 as suggested by Stefan. (Further to bug#4531.)
12578 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
12580 * minibuffer.el (read-file-name): Check for repeat before putting
12581 a default argument in file-name-history (Bug#4657).
12583 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
12584 read syntax (Bug#4737).
12586 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
12588 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12590 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
12591 (html-tag-alist, html-tag-help): Add descriptions for undocumented
12592 entries and make note of obsolete tags.
12594 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12596 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
12598 2009-10-18 Glenn Morris <rgm@gnu.org>
12600 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
12601 grep, so that binary files (eg international/uni-bidi.el) can match.
12602 Remove test for "UnicodeData" files, since it is hopefully unnecessary
12603 now, and in any case the file header format has changed.
12605 2009-10-17 Glenn Morris <rgm@gnu.org>
12607 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
12608 (flyspell-get-word, flyspell-large-region)
12609 (flyspell-auto-correct-previous-word): Doc/error message fixes.
12611 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
12613 * Makefile.in (ELCFILES): Add ede/shell.
12615 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
12617 * term/common-win.el (x-colors): Purecopy it.
12619 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12621 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
12622 permissive for when the buffer is empty.
12623 (tar-header-block-tokenize): Decode the username and groupname.
12624 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
12626 2009-10-17 Eric Ludlam <zappo@gnu.org>
12628 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
12629 contains multibyte characters, choose first applicable coding
12630 system automatically.
12632 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12634 * international/mule-cmds.el (select-safe-coding-system): If the file
12635 has a coding cookie, use it regardless of any other setting (bug#4712).
12637 2009-10-17 Glenn Morris <rgm@gnu.org>
12639 * foldout.el (foldout-mouse-swallow-events):
12640 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
12642 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
12643 (dired-keep-marker-copy, dired-keep-marker-hardlink)
12644 (dired-keep-marker-symlink, dired-dwim-target)
12645 (dired-copy-preserve-time): Do not autoload these defcustoms.
12647 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
12648 messages from messing up the file coding. (Bug#4623)
12650 2009-10-17 Jari Aalto <jari.aalto@cante.net>
12652 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
12653 if no match is found for the current dictionary. (Bug#4578)
12655 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
12656 optional, since that is how it is documented, and this is often called
12657 with a nil argument. (Bug#4577)
12658 (flyspell-external-point-words, flyspell-auto-correct-word)
12659 (flyspell-correct-word-before-point, flyspell-word-search-forward)
12660 (flyspell-word-search-backward): Remove nil argument in calls to
12661 flyspell-get-word, since it is not needed now.
12663 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
12665 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
12667 2009-10-16 Glenn Morris <rgm@gnu.org>
12669 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
12671 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12673 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
12674 (ange-ftp-file-size): New function.
12675 (ange-ftp-file-attributes): Use it.
12677 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
12679 * net/tramp-smb.el (tramp-smb-version): New defvar.
12680 (tramp-smb-maybe-open-connection): Use it, in order to avoid
12683 2009-10-16 Glenn Morris <rgm@gnu.org>
12685 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
12686 Maybe copy some custom properties from old to new name. (Bug#4706)
12688 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
12690 * subr.el (error, sit-for, start-process-shell-command)
12691 (start-file-process-shell-command): Set the calling convention
12692 after the function definition.
12694 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
12696 * subr.el (error, sit-for, start-process-shell-command)
12697 (start-file-process-shell-command): Use the new
12698 set-advertised-calling-convention feature.
12700 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
12702 * international/ucs-normalize.el (ucs-normalize-version):
12704 (check-range): Adjust for Unicode 5.2.
12706 2009-10-15 Juri Linkov <juri@jurta.org>
12708 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
12709 to the `menu-item' format.
12711 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
12713 * net/tramp.el (tramp-replace-environment-variables): Do not fail
12714 if the environment variable does not exist.
12716 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12717 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
12719 (tramp-smb-handle-add-name-to-file)
12720 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12721 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12722 (tramp-smb-handle-file-attributes)
12723 (tramp-smb-do-file-attributes-with-stat)
12724 (tramp-smb-handle-file-local-copy)
12725 (tramp-smb-handle-insert-directory)
12726 (tramp-smb-handle-make-directory)
12727 (tramp-smb-handle-make-directory-internal)
12728 (tramp-smb-handle-make-symbolic-link)
12729 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
12730 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
12731 (tramp-smb-maybe-open-connection): Apply the changed parameters.
12732 (tramp-smb-read-file-entry): Read Disk names in compressed format.
12733 Handle long file names.
12734 (tramp-smb-get-cifs-capabilities): Check, whether the connection
12735 process is running.
12736 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
12737 Read share names with "-g" option.
12739 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
12741 * net/rcirc.el (rcirc-view-log-file): New command.
12742 (rcirc-track-minor-mode-map): Remove C-c ` binding.
12743 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
12746 2009-10-15 Glenn Morris <rgm@gnu.org>
12748 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
12749 from the second command-line argument.
12750 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
12751 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
12752 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
12753 w32-batch-update-autoloads.
12754 * emacs-lisp/autoload.el (autoload-make-program): New variable.
12755 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
12757 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
12758 the headers cannot be located. Simplify, subtracting superflous
12761 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
12763 Replace completion-base-size by completion-base-position to fix bugs
12764 such as (bug#4699).
12765 * simple.el (completion-base-position): New var.
12766 (completion-base-size): Mark as obsolete.
12767 (choose-completion): Make it work for mouse events as well.
12768 Pass the new base-position to choose-completion-string.
12769 (choose-completion-guess-base-position): New function, extracted from
12770 choose-completion-delete-max-match.
12771 (choose-completion-delete-max-match): Use it. Make obsolete.
12772 (choose-completion-string): Use the new base-position info.
12773 (completion-root-regexp): Delete.
12774 (completion-setup-function): Preserve completion-base-position.
12775 Eliminate obsolete base-size manipulation.
12776 * minibuffer.el (display-completion-list): Don't mess with base-size.
12777 (minibuffer-completion-help): Set completion-base-position instead.
12778 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
12780 * textmodes/bibtex.el (bibtex-complete):
12781 * emacs-lisp/crm.el (crm--choose-completion-string):
12782 Adjust to new calling convention.
12783 * complete.el (partial-completion-mode): Use minibufferp to avoid
12784 bumping into incompatible change to choose-completion-string-functions.
12785 * ido.el (ido-choose-completion-string): Make its calling convention
12787 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
12788 base-size manipulation.
12789 (comint-dynamic-list-input-ring): Use dotimes and push.
12790 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
12791 fundamental-mode. Use `or'.
12793 2009-10-14 Juri Linkov <juri@jurta.org>
12795 * misearch.el (multi-isearch-next-buffer-from-list)
12796 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
12798 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12800 * Makefile.in (compile-onefile): Load `bytecomp' rather than
12803 * minibuffer.el (completion-pcm--merge-completions): Make sure the
12804 string we return is all made up of text from the completions rather
12805 than part from the completions and part from the input (bug#4219).
12807 * ido.el (ido-everywhere): Use define-minor-mode.
12809 * buff-menu.el (list-buffers, ctl-x-map):
12810 Mark the entry points with ;;;###autoload cookies.
12812 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
12814 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
12815 correctly in the detached head case.
12816 (vc-git-print-log): Remove unused binding.
12818 * vc.el (vc-responsible-backend): When a directory is passed for
12819 for registration create a VC repository if no backend is
12820 responsible for the directory argument.
12821 (vc-deduce-fileset): Tell vc-responsible-backend to register.
12823 * vc.el: Move comments about RCS and SCCS ...
12825 * vc-sccs.el: ... here, respectively.
12827 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12829 * minibuffer.el (completion--file-name-table): Return nil if there's
12830 no file completion, even if substitute-in-file-name changed
12831 the string (bug#4708).
12833 2009-10-13 Juri Linkov <juri@jurta.org>
12835 * files-x.el (read-file-local-variable-value): Don't filter out
12836 minor modes from mode name completion (bug#4664).
12838 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12840 * international/mule-cmds.el (ucs-names): Remove exclusion of
12841 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
12843 2009-10-13 Kenichi Handa <handa@m17n.org>
12845 * international/uni-name.el: Regenerated.
12847 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12849 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
12850 should be automatically buffer-local, but isn't.)
12852 2009-10-12 Sam Steingold <sds@gnu.org>
12854 * progmodes/compile.el (compilation-next-error-function): Fix the
12855 timestamps if the buffer has been visited before.
12856 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
12857 non-anchored patterns, like the perl one (bug#3928).
12859 2009-10-12 Glenn Morris <rgm@gnu.org>
12861 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
12864 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
12866 * proced.el (proced-unload-function): New function.
12868 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
12869 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
12872 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
12874 2009-10-11 Juri Linkov <juri@jurta.org>
12876 * files-x.el (read-file-local-variable-value):
12877 Provide default value only for bound variables (bug#4664).
12879 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
12881 * net/tramp.el (tramp-local-host-p): Function shall return nil for
12882 connection methods like smb.
12884 * net/tramp-cache.el (tramp-flush-connection-property): The hash
12887 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12888 (tramp-smb-file-name-handler-alist): Add handlers for
12889 `add-name-to-file', `make-symbolic-link'.
12890 (tramp-smb-handle-add-name-to-file)
12891 (tramp-smb-do-file-attributes-with-stat)
12892 (tramp-smb-handle-make-symbolic-link)
12893 (tramp-smb-get-cifs-capabilities): New defuns.
12894 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12895 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12896 (tramp-smb-handle-file-local-copy)
12897 (tramp-smb-handle-make-directory-internal)
12898 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
12899 The file name syntax depends on cifs capabilities.
12900 (tramp-smb-handle-file-attributes):
12901 Call `tramp-smb-do-file-attributes-with-stat' if possible.
12902 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
12903 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
12905 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
12907 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
12908 (eieio-defclass): Apply deftype handler and setf-method properties
12910 (eieio-add-new-slot): Avoid union function from cl library.
12911 (eieio--typep): New function.
12912 (eieio-perform-slot-validation): Use it.
12914 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12916 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
12917 Update documentation to refer to the variables documented in r1.135.
12920 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12922 * bookmark.el (Info-suffix-list): Remove this unused variable.
12923 (bookmark-current-point): Remove this obsolete variable.
12924 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
12925 Adjust for removal of bookmark-current-point.
12927 (bookmarks-already-loaded, bookmark-current-buffer)
12928 (bookmark-yank-point): Document. (Bug#4188)
12930 2009-10-10 Glenn Morris <rgm@gnu.org>
12932 * frame.el (frame-height): Doc fix.
12934 * calendar/calendar.el (calendar-split-width-threshold): New option.
12935 (calendar-basic-setup): Use calendar-split-width-threshold.
12937 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
12939 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
12940 Ideographic Supplement" range (U+1F200..U+1F2FF).
12942 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12944 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
12945 since the list will have been rebuilt anyway. (Bug#4349)
12947 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12949 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
12950 (bookmark-bmenu-execute-deletions): Don't save here, as
12951 bookmark-delete will now do so if necessary.
12952 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
12955 2009-10-09 Glenn Morris <rgm@gnu.org>
12957 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
12959 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12961 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
12962 (bookmark-jump-other-window): Just invoke bookmark-jump with new
12963 argument now, so the two function's behaviors will match. (Bug#3645)
12965 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
12967 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
12968 (tramp-file-name-real-host, tramp-file-name-port):
12969 Apply `save-match-data'.
12971 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
12972 case both directories are remote.
12973 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
12974 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
12976 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
12978 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
12980 2009-10-07 Glenn Morris <rgm@gnu.org>
12982 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
12985 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
12987 * files-x.el (read-file-local-variable): Include some
12988 non-user-variables in the completion table (bug#4664).
12990 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
12992 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
12995 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12996 (tramp-smb-file-name-handler-alist): Add handler for
12997 `copy-directory', `expand-file-name', `set-file-modes'.
12998 (tramp-smb-handle-copy-directory)
12999 (tramp-smb-handle-expand-file-name)
13000 (tramp-smb-handle-set-file-modes): New defuns.
13001 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13002 (tramp-smb-handle-file-attributes): Simplify check for retrieving
13004 (tramp-smb-handle-insert-directory): Don't flush the cache.
13005 (tramp-smb-maybe-open-connection): Check for samba client and
13008 2009-10-07 Eli Zaretskii <eliz@gnu.org>
13010 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13011 to not error out of search for "^lisp=" fails.
13013 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13015 * makefile.w32-in (WINS_UPDATES): New macro.
13016 (custom-deps, finder-data, autoloads): Use it.
13018 2009-10-07 Glenn Morris <rgm@gnu.org>
13020 * Makefile.in (autoloads): Revert previous change.
13021 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13022 the list of preloaded files passed on the command-line, get
13023 it from src/Makefile.
13025 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13026 show the original buffer rather than a random one.
13028 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
13030 * help.el (describe-no-warranty): Place point in a slightly better
13031 position in the GPLv3 text.
13033 2009-10-06 Sam Steingold <sds@gnu.org>
13035 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13036 the comm attribute is present before calling regexp-quote.
13038 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
13040 * play/animate.el (animate-string): For good effect, make sure
13041 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13043 * play/animate.el (animate-sequence, animate-birthday-present):
13044 * misc.el (butterfly): Don't set `indent-tabs-mode'.
13046 2009-10-06 Glenn Morris <rgm@gnu.org>
13048 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13050 * emacs-lisp/autoload.el (autoload-excludes): New variable.
13051 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13052 (batch-update-autoloads): Process a string value of autoload-excludes,
13053 set during the build process.
13054 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
13056 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13057 inside with-parsed... macro so that `v' is defined.
13059 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13060 * progmodes/fortran.el (fortran-end-of-block)
13061 (fortran-beginning-of-block):
13062 Also push mark in the macro case.
13064 * emerge.el (emerge-show-file-name):
13065 * calc/calc.el (calc-quit):
13066 * calc/calc-misc.el (calc-big-or-small):
13067 * calc/calc-graph.el (calc-graph-view):
13068 * calc/calc-ext.el (calc-reset):
13069 * calendar/calendar.el (calendar-basic-setup):
13070 Use window-full-height-p.
13072 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13073 header we don't understand, don't insert another. (Bug#4624)
13074 If changing mime charset, insert the new one in the right place.
13076 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
13078 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
13079 (cal-tex-cursor-month): Correctly increment the end date for diary and
13080 holiday listing. (Bug#4626)
13082 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13084 * help-fns.el (describe-function-1): Don't burp if the function is not
13087 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
13089 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
13090 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
13091 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
13092 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13094 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
13095 (eieio-default-superclass): Reflow docstrings.
13096 (this, class-option-assoc, defclass, eieio-class-un-autoload)
13097 (eieio-unbind-method-implementations, defmethod)
13098 (eieio-validate-slot-value, eieio-validate-class-slot-value)
13099 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
13100 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
13101 (eieio-slot-originating-class-p, eieio-slot-name-index)
13102 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
13103 (constructor, initialize-instance, no-next-method, object-print)
13104 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
13105 Fix typos in docstrings.
13106 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
13107 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
13108 (next-method-p): Doc fixes.
13109 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
13110 Fix typos in error messages.
13111 (eieio-defmethod): Fix typo in description of generic method.
13113 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
13114 (eieio-persistent-save-interactive, slot-missing):
13115 Fix typos in docstrings.
13116 (eieio-instance-inheritor-slot-boundp): Doc fix.
13118 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
13119 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
13121 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
13122 (eieio-custom-object-apply-reset):
13123 Fix typos in docstrings and error messages.
13125 * emacs-lisp/eieio-datadebug.el (data-debug-show):
13126 Fix typo in docstring.
13128 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
13129 (eieio-browse-tree): Doc fix.
13130 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
13131 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
13132 Fix typos in docstrings.
13134 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
13135 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
13136 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
13137 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
13140 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
13142 * vc-hg.el (log-view-vc-backend): Declare for compiler.
13143 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
13144 Set log-view-vc-backend so that diff can work.
13146 * log-view.el (log-view-diff): Use vc-diff-internal instead of
13148 (vc-diff-internal): Autoload this instead of vc-version-diff.
13150 2009-10-05 Eli Zaretskii <eliz@gnu.org>
13152 * simple.el (eval-expression): Doc fix.
13154 * progmodes/cwarn.el (cwarn-mode): Doc fix.
13156 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
13158 * files.el (directory-files-no-dot-files-regexp): New defconst.
13159 (delete-directory): Use it.
13160 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
13162 * net/tramp.el (tramp-verbose): Fix docstring.
13163 (tramp-methods): Add recursive option to `tramp-copy-args'.
13164 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
13165 "scp1_old", "scp2_old", "rsync", "rsyncc".
13166 (tramp-default-method): Check also for `auth-source-user-or-password'.
13167 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
13168 Add handler for `copy-directory'.
13169 (tramp-handle-copy-directory): New defun.
13170 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
13171 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
13172 Optimize sent command.
13174 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13176 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
13177 window if necessary.
13179 * calendar/calendar.el (calendar-basic-setup): Don't call
13180 switch-to-buffer in a dedicated window.
13182 2009-10-05 Karl Fogel <kfogel@red-bean.com>
13184 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
13185 don't do anything related to relocating, just return nil.
13186 (bookmark-error-no-filename): New error.
13187 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
13188 bookmark has no file. Don't even attempt to handle things that
13189 are not files; the whole point of custom handlers is to keep that
13190 knowledge elsewhere anyway. Tighten some comments.
13191 (bookmark-file-or-variation-thereof): Remove now-unused function.
13192 (bookmark-location): Doc string fix.
13195 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13197 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
13198 don't use a file dialog, because they usually don't know how to read
13199 a directory target from the user. (Bug#4230)
13200 Also, make sure the prompt can display directories as well as files.
13202 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13204 * bookmark.el (bookmark-set, bookmark-buffer-name):
13205 Improve doc strings. (Bug#1193)
13207 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13209 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
13210 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
13211 (bookmark-get-annotation, bookmark-set-annotation)
13212 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
13213 (bookmark-set-position, bookmark-get-front-context-string)
13214 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
13215 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
13216 (bookmark-jump-other-window, bookmark-handle-bookmark)
13217 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
13218 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
13219 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
13220 Improve doc strings to say whether bookmark can be a string or
13221 a record or both, and make other consistency and clarity fixes.
13222 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
13223 (bookmark-default-annotation-text, bookmark-yank-word)
13224 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
13225 (bookmark-import-new-list, bookmark-maybe-rename)
13226 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13227 (bookmark-bmenu-bookmark): Give these doc strings.
13228 (bookmark-bmenu-check-position): Give this a doc string, but also
13229 add a FIXME comment about how the function may be pointless.
13230 (bookmark-default-handler): Rework doc string and change a
13231 parameter name, to clarify that this takes a bookmark record
13232 not a bookmark name.
13233 (bookmark-set): Change a parameter name to indicate its meaning,
13234 and improve the doc string a bit.
13237 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13239 * bookmark.el (bookmark-alist): Document the new `handler' element
13240 in the param alist.
13241 (bookmark-make-record-function): Adjust documentation for above.
13244 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13246 * info.el (Info-bookmark-make-record): Document this function.
13247 (Info-bookmark-jump): Document with a doc string, not just a comment.
13250 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
13252 * files.el (copy-directory): New defun.
13254 * dired-aux.el (dired-copy-file-recursive): Use it.
13256 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
13258 * files-x.el (modify-dir-local-variable)
13259 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
13262 * recentf.el (recentf-unload-function): New function.
13264 2009-10-04 Glenn Morris <rgm@gnu.org>
13266 * window.el (window-full-height-p): Add doc string.
13268 2009-10-04 Martin Rudalics <rudalics@gmx.at>
13270 * window.el (window-full-height-p): New function. (Bug#4543)
13272 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
13274 * vc.el: Remove commented out code.
13275 (vc-derived-from-dir-mode): Remove, unused.
13276 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
13278 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
13280 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
13281 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
13282 there could be recursive loading when `default-directory' is a
13283 remote file name. (Bug#4614)
13285 2009-10-03 Glenn Morris <rgm@gnu.org>
13287 * calendar/calendar.el (calendar-basic-setup): Handle the case where
13289 (calendar-generate-window): Test for shrinkability rather than width.
13291 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
13292 reusing existing buffers, in case we happen to visit two files with the
13293 same basename. (Bug#4593)
13295 2009-10-02 Eli Zaretskii <eliz@gnu.org>
13297 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
13298 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
13299 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
13300 subdirs of cedet as well.
13301 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
13303 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13305 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
13306 Obey advertised-signature-table.
13308 * help-fns.el (help-function-arglist): Don't check
13309 advertised-signature-table.
13310 (describe-function-1): Do it here instead so it also applies to subrs.
13312 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
13314 * simple.el (start-file-process): Say in the doc-string, that file
13315 handlers might not support pty association, if PROGRAM is nil.
13317 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
13318 HOST and USER are strings. They are nil, when there are
13319 incomplete entries in ~/.netrc, for example.
13320 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
13321 root directory ("device busy" error otherwise).
13323 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
13324 Flush file properties of created directory.
13326 2009-10-02 Eli Zaretskii <eliz@gnu.org>
13328 * makefile.w32-in (WINS_BASIC): Remove cedet.
13329 (WINS_CEDET): Add cedet.
13330 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
13332 2009-10-02 Kevin Ryde <user42@zip.com.au>
13334 * net/browse-url.el (browse-url): Pass any symbol in
13335 browse-url-browser-function to `apply', since if you've mistakenly put
13336 an unbound symbol then the error is clearer. (Bug#4531)
13338 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
13340 * allout.el (allout-init, allout-back-to-current-heading)
13341 (allout-beginning-of-current-entry, allout-ascend-to-depth)
13342 (allout-ascend, allout-up-current-level, allout-end-of-level)
13343 (allout-previous-visible-heading, allout-forward-current-level)
13344 (allout-backward-current-level, allout-show-children):
13345 * apropos.el (apropos-describe-plist):
13346 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
13347 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
13348 * completion.el (add-completion, add-permanent-completion):
13349 * descr-text.el (describe-text-category, describe-char):
13350 * desktop.el (desktop-lazy-abort):
13351 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
13352 * dired.el (dired-build-subdir-alist):
13353 * ediff.el (ediff-version):
13354 * elide-head.el (elide-head, elide-head-show):
13355 * emerge.el (emerge-version):
13357 * face-remap.el (variable-pitch-mode):
13358 * faces.el (describe-face):
13359 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
13361 * files.el (find-file-existing, auto-save-mode):
13362 * font-lock.el (font-lock-fontify-buffer):
13363 * help-fns.el (describe-function, describe-variable)
13364 (describe-syntax, describe-categories):
13365 * help.el (view-lossage, describe-bindings, describe-key)
13367 * hexl.el (hexl-current-address):
13368 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
13369 * info.el (Info-goto-emacs-key-command-node):
13370 * log-edit.el (log-edit-insert-cvs-template)
13371 (log-edit-insert-cvs-rcstemplate):
13372 * menu-bar.el (menu-bar-mode):
13373 * mouse.el (mouse-appearance-menu):
13374 * newcomment.el (comment-indent-new-line):
13375 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
13376 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
13377 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
13378 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
13379 * recentf.el (recentf-mode):
13380 * savehist.el (savehist-mode, savehist-save):
13381 * shadowfile.el (shadow-copy-files):
13382 * simple.el (kill-ring-save, next-line, previous-line)
13383 (normal-erase-is-backspace-mode):
13384 * strokes.el (strokes-update-window-configuration)
13385 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
13386 (strokes-xpm-for-stroke):
13387 * time.el (emacs-uptime, emacs-init-time):
13388 * tutorial.el (tutorial--describe-nonstandard-key)
13389 (tutorial--detailed-help):
13390 * type-break.el (type-break-mode)
13391 (type-break-mode-line-message-mode, type-break-query-mode)
13392 (type-break-guesstimate-keystroke-threshold):
13393 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
13394 * version.el (emacs-version):
13395 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
13396 * winner.el (winner-mode):
13397 * calendar/timeclock.el (timeclock-in, timeclock-out)
13398 (timeclock-status-string, timeclock-change)
13399 (timeclock-workday-remaining-string)
13400 (timeclock-workday-elapsed-string)
13401 (timeclock-when-to-leave-string):
13402 * calendar/todo-mode.el (todo-add-category):
13403 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
13404 * emacs-lisp/autoload.el (update-file-autoloads):
13405 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
13406 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
13407 (checkdoc-message-text, checkdoc-defun):
13408 * emacs-lisp/debug.el (debugger-list-functions):
13409 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13410 * emacs-lisp/eieio-opt.el (eieio-describe-class)
13411 (eieio-describe-generic):
13412 * emacs-lisp/lisp-mnt.el (lm-synopsis):
13413 * emacs-lisp/shadow.el (list-load-path-shadows):
13414 * emulation/cua-base.el (cua-mode):
13415 * emulation/edt.el (edt-set-scroll-margins):
13416 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
13417 (tpu-toggle-regexp, tpu-toggle-search-direction)
13418 (tpu-toggle-rectangle, tpu-toggle-control-keys):
13419 * emulation/tpu-extras.el (tpu-set-scroll-margins):
13420 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13421 (viper-set-parsing-style-toggling-macro)
13422 (viper-set-emacs-state-searchstyle-macros):
13423 * emulation/viper.el (viper-set-hooks):
13424 * eshell/esh-mode.el (eshell-truncate-buffer):
13425 * international/mule-cmds.el (prefer-coding-system)
13426 (describe-input-method, describe-language-environment):
13427 * international/mule-diag.el (list-character-sets)
13428 (describe-character-set, describe-coding-system)
13429 (describe-fontset, list-fontsets, list-input-methods):
13430 * mail/sendmail.el (mail-signature):
13431 * net/ange-ftp.el (ange-ftp-copy-file):
13432 * net/browse-url.el (browse-url):
13433 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
13434 * net/quickurl.el (quickurl-add-url):
13435 * net/rcirc.el (names, topic):
13436 * net/xesam.el (xesam-mode):
13437 * play/5x5.el (5x5-new-game):
13438 * play/yow.el (apropos-zippy):
13439 * progmodes/ada-mode.el (ada-mode-version):
13440 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
13442 (f90-beginning-of-block):
13443 * progmodes/fortran.el (fortran-end-of-block)
13444 (fortran-beginning-of-block):
13445 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
13446 * progmodes/python.el (python-describe-symbol, python-shell):
13447 * term/ns-win.el (ns-print-buffer):
13448 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
13449 * textmodes/flyspell.el (flyspell-mode-on):
13450 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
13451 (pages-directory-for-addresses):
13452 * textmodes/table.el (table-recognize-cell)
13453 (table-query-dimension, table-generate-source)
13454 (table-insert-sequence, table--warn-incompatibility):
13455 * textmodes/tex-mode.el (tex-validate-buffer):
13456 * textmodes/texinfmt.el (texinfmt-version)
13457 (texinfo-format-buffer):
13458 Use `called-interactively-p' instead of `interactive-p'.
13460 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
13462 * image-mode.el (image-toggle-display):
13463 * emacs-lisp/elp.el (elp-instrument-function):
13464 * emacs-lisp/advice.el (ad-make-advised-definition):
13465 * emacs-lisp/easy-mmode.el (define-minor-mode):
13466 * net/browse-url.el (browse-url-maybe-new-window):
13467 * progmodes/sh-script.el (sh-learn-buffer-indent):
13468 Pass new argument 'any to `called-interactively-p'.
13470 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
13472 * international/uni-bidi.el:
13473 * international/uni-category.el:
13474 * international/uni-combining.el:
13475 * international/uni-comment.el:
13476 * international/uni-decimal.el:
13477 * international/uni-decomposition.el:
13478 * international/uni-digit.el:
13479 * international/uni-lowercase.el:
13480 * international/uni-mirrored.el:
13481 * international/uni-name.el:
13482 * international/uni-numeric.el:
13483 * international/uni-old-name.el:
13484 * international/uni-titlecase.el:
13485 * international/uni-uppercase.el:
13486 Regenerate from Unicode 5.2.0 data.
13488 2009-10-01 Glenn Morris <rgm@gnu.org>
13490 * Makefile.in (ELCFILES): Regenerate.
13492 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13494 * subr.el (interactive-p): Mark obsolete.
13495 (called-interactively-p): Make the optional-ness of `kind' obsolete.
13496 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
13497 advertised-signature-table for subroutines as well.
13499 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
13500 (set-advertised-calling-convention): New function.
13501 (make-obsolete, define-obsolete-function-alias)
13502 (make-obsolete-variable, define-obsolete-variable-alias):
13503 Make the optional-ness of `when' obsolete.
13504 (define-obsolete-face-alias): Make `when' non-optional.
13505 * help-fns.el (help-function-arglist):
13506 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
13507 Use advertised-signature-table.
13509 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
13511 * files.el (delete-directory): New defun. The original function
13512 in fileio.c has been renamed to `delete-directory-internal'.
13514 * dired.el (dired-delete-file): Call `delete-directory' with
13515 RECURSIVE parameter.
13517 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
13518 parameter RECURSIVE. Implementation is missing.
13520 * net/tramp.el (tramp-handle-make-directory): Flush upper
13521 directory's file properties.
13522 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
13523 (tramp-handle-dired-recursive-delete-directory): Flush directory
13524 properties after the remove command only.
13526 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13527 Handle optional parameter RECURSIVE.
13529 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13530 Handle optional parameter RECURSIVE.
13532 * net/tramp-smb.el (tramp-smb-errors): Add error message for
13533 connection timeout.
13534 (tramp-smb-handle-delete-directory): Handle optional parameter
13537 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13539 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
13540 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
13541 (byte-compile-defmacro): Use backquotes.
13543 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
13545 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
13546 has no associated file.
13547 (vc-resynch-buffer): Use vc-dir-buffers.
13549 2009-10-01 Glenn Morris <rgm@gnu.org>
13551 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
13552 (chart-file-count):
13553 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
13554 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
13555 * emacs-lisp/eieio-opt.el (eieio-describe-class):
13556 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
13557 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
13558 (eieio-copy-parents-into-subclass, make-instance, class-children)
13559 (eieio-generic-form):
13561 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
13562 match-data. (Bug#4555).
13564 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
13565 rather than parsing it as a regexp. This relaxes the layout
13566 requirements and makes errors easier to detect.
13567 (check-declare-verify): Check file is regular.
13568 (check-declare-directory): Doc fix.
13569 * subr.el (declare-function): Doc fix.
13571 * ibuffer.el (ibuffer-format-qualifier):
13572 * isearch.el (hi-lock-regexp-okay):
13573 * calc/calc.el (math-zerop):
13574 * mail/uce.el (rmail-msgbeg, rmail-msgend):
13575 * term/w32-win.el (setup-default-fontset, set-fontset-font):
13576 Remove unused declarations.
13578 2009-09-30 Eric Ludlam <zappo@gnu.org>
13580 * emacs-lisp/eieio.el (boolean-p): Delete.
13582 2009-09-30 Glenn Morris <rgm@gnu.org>
13584 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
13586 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
13587 filename is not a string.
13589 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
13591 * files.el (safe-local-eval-forms): Fix typo.
13593 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
13595 * vc-hooks.el (vc-dir-buffers): New var.
13596 (vc-state-refresh): New function.
13597 (vc-state): Use it.
13598 (vc-after-save): Always ask the backend to recompute the new state.
13599 Always call vc-dir if necessary, using vc-dir-buffers.
13600 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
13601 Use vc-dir-buffers.
13602 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
13603 (vc-dir-prepare-status-buffer, vc-dir-update)
13604 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
13605 Don't call expand-file-name on default-directory.
13607 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13609 * speedbar.el (speedbar-item-delete):
13610 * calc/calc-prog.el (calc-kbd-if):
13611 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
13613 * epa.el (epa-key-list-mode-map):
13614 * hi-lock.el (hi-lock-menu): Fix typos in menus.
13616 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
13617 (hs-show-hook): Fix typo in docstring.
13619 2009-09-29 Glenn Morris <rgm@gnu.org>
13621 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
13622 file-name-nondirectory call preventing location of cedet files.
13623 (check-declare-verify): Use literal search rather than re-search.
13624 Add basic defmethod and defclass, and define-overloadable-function.
13626 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13627 Use tramp-compat-file-attributes rather than nonexistent
13628 tramp-compat-handle-file-attributes.
13630 * Makefile.in (lisptagsfiles4): New.
13631 (AUTOGENEL): Add cedet loaddefs files.
13632 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
13633 (update-elclist, compile-always, backup-compiled-files)
13634 (bootstrap-clean): Add yet another directory level.
13635 (update-elclist): Use LC_COLLATE rather than COLLATE.
13636 (ELCFILES): Update, via `make update-elclist'.
13638 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13640 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
13641 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
13642 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
13644 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
13646 * Makefile.in (lisptagsfiles3): Define.
13647 (TAGS, TAGS-LISP): Use it.
13648 (update-elclist): Add third directory level to look for elc files.
13649 (compile-always): Likewise.
13650 (backup-compiled-files): Likewise.
13651 (bootstrap-clean): Likewise.
13652 (ELCFILES): Update.
13654 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
13656 * Makefile.in (ELCFILES): Add CEDET files.
13658 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
13660 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
13662 * net/tramp.el (top): Require tramp-imap.
13664 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13665 Use `tramp-compat-handle-file-attributes'.
13667 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
13669 * net/tramp-imap.el: New package.
13671 2009-09-28 Eric Ludlam <zappo@gnu.org>
13673 * emacs-lisp/chart.el:
13674 * emacs-lisp/eieio-base.el:
13675 * emacs-lisp/eieio-comp.el:
13676 * emacs-lisp/eieio-custom.el:
13677 * emacs-lisp/eieio-datadebug.el:
13678 * emacs-lisp/eieio-opt.el:
13679 * emacs-lisp/eieio-speedbar.el:
13680 * emacs-lisp/eieio.el: New files.
13682 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13684 * whitespace.el (whitespace-trailing-regexp)
13685 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
13688 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
13690 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
13693 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
13694 menu-bar-ediff-menu.
13696 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
13697 define-overloadable-function.
13699 * progmodes/autoconf.el: Provide autoconf as well, so that this
13700 file can be `require'd.
13702 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
13704 * emacs-lisp/autoload.el (generated-autoload-feature)
13705 (generated-autoload-load-name): New vars.
13706 (autoload-rubric, autoload-generate-file-autoloads): Use them.
13707 (make-autoload): Recognize define-overloadable-function and
13708 defclass forms (for EIEIO).
13710 * Makefile.in (update-subdirs): Exclude cedet directory.
13712 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
13714 * term/ns-win.el: Don't set the region face background. (Bug#4381)
13716 * faces.el: Default light-background background for region face to
13717 ns_selection_color under NS.
13719 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
13721 * net/imap-hash.el: New library, see NEWS.
13723 * Makefile.in (ELCFILES): Add imap-hash.el.
13725 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
13727 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
13728 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
13729 * help-macro.el (make-help-screen): Avoid using an ambiguous function
13730 definition where the docstring could be taken for the return value.
13732 2009-09-26 Glenn Morris <rgm@gnu.org>
13734 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
13735 Add option to only show images below a certain size.
13736 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
13737 save-excursion calls.
13739 2009-09-26 Eli Zaretskii <eliz@gnu.org>
13741 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
13742 subdirectories) and eieio.
13744 2009-09-26 Alan Mackenzie <acm@muc.de>
13746 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
13747 buggy bracketing. (Bug#4289)
13749 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
13750 character constants (as case labels). (Bug#4289)
13752 2009-09-25 Juri Linkov <juri@jurta.org>
13754 * files.el (safe-local-eval-forms): Allow time-stamp in
13755 before-save-hook (Bug#4554).
13757 2009-09-25 Drew Adams <drew.adams@oracle.com>
13759 * menu-bar.el (list-buffers-directory): Doc fix.
13761 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
13763 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
13764 Try and avoid copying twice the same paragraph.
13765 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
13766 Remove save-excursion.
13767 (log-edit-changelog-entry): Do it here instead.
13769 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
13771 * bs.el (bs--get-file-name): Use `list-buffers-directory'
13772 when available, instead of hardcoding mode names. Doc fix.
13774 * menu-bar.el (list-buffers-directory): Add docstring.
13775 Make automatically buffer-local.
13777 * dired.el (dired-mode):
13778 * files.el (cd-absolute):
13779 * pcvs.el (cvs-temp-buffer):
13780 * pcvs-util.el (cvs-get-buffer-create):
13781 * shell.el (shell-mode):
13782 * vc-dir.el (vc-dir-mode):
13783 Don't make `list-buffers-directory' buffer local.
13785 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
13787 * comint.el (comint-exec, comint-run, make-comint):
13788 Doc fixes (Bug#4542).
13790 2009-09-25 Glenn Morris <rgm@gnu.org>
13792 * mail/rmailmm.el (rmail-mime): New custom group.
13793 Move all defcustoms in this file into this group.
13794 (rmail-mime-media-type-handlers-alist): Revert previous change.
13795 (rmail-mime-show-images): New option.
13796 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
13797 references to it, since it wasn't actually used for anything.
13798 (rmail-mime-insert-image): New function.
13799 (rmail-mime-image): Use rmail-mime-insert-image.
13800 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
13801 obey the value of `rmail-mime-show-images' option. Print the size of
13804 2009-09-25 David Engster <deng@randomsample.de>
13806 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
13808 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13810 * whitespace.el: Does not highlight trailing spaces While point is
13811 at end of line. Does not highligt spaces at beginning of buffer
13812 while point is at beginning of buffer. Does not highlight spaces
13813 at end of buffer while point is at end of buffer. (Bug#4177)
13815 (whitespace-display-mappings): Adjust initialization.
13816 (whitespace-point, whitespace-font-lock-refontify): New vars.
13817 (whitespace-color-on, whitespace-color-off): Adjust code.
13818 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
13819 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
13820 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
13822 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
13824 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
13826 * textmodes/sgml-mode.el: Remove xml-mode alias.
13828 * files.el (auto-mode-alist, conf-mode-maybe)
13829 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
13831 2009-09-24 Alan Mackenzie <acm@muc.de>
13833 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
13834 c-forward-conditionals, but it doesn't move point and doesn't set
13836 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
13837 (c-down-conditional-with-else, c-backward-conditional)
13838 (c-forward-conditional): Refactor to use c-scan-conditionals.
13840 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13842 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
13843 (help-default-arg-highlight): Remove.
13844 (help-highlight-arg): New function.
13845 (help-do-arg-highlight): Use it.
13846 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
13848 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13850 * term.el (term-set-scroll-region, term-handle-ansi-escape):
13851 Undo last change, which didn't fix the problem and introduced others.
13853 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
13855 * progmodes/gdb-mi.el: Don't require speedbar.
13856 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
13858 2009-09-24 Glenn Morris <rgm@gnu.org>
13860 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
13862 * term/ns-win.el (ns-reg-to-script): Define for compiler.
13864 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
13865 there is no newline after the final mime boundary. (Bug#4539)
13866 Move markers on insertion so that any buttons inserted don't end up in
13867 the next part of a multipart message.
13868 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
13869 (rmail-mime-bulk-handler): Optionally handle images.
13870 (rmail-mime-image): New button action.
13871 (rmail-mime-image-handler): New function.
13872 (rmail-mime-mode): New mode.
13873 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
13875 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13877 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
13878 than just dropping elements from it (bug#4504).
13880 * term.el (term-set-scroll-region): Don't move cursor any more.
13881 (term-handle-ansi-escape): Call term-goto here instead.
13882 Suggested by Ivan Kanis <apple@kanis.eu>.
13884 * term.el: Require CL.
13885 (term-ansi-reset): New function.
13886 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
13887 (term-handle-colors-array): Simplify.
13889 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13891 * allout.el (allout-overlay-interior-modification-handler)
13892 (allout-obtain-passphrase):
13893 * epa-file.el (epa-file-write-region):
13894 * ps-print.el (ps-begin-job):
13895 * vc-hooks.el (vc-toggle-read-only):
13896 * vc-rcs.el (vc-rcs-rollback):
13897 * vc-sccs.el (vc-sccs-rollback):
13898 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
13899 (vc-version-diff, vc-revert, vc-rollback):
13900 * wdired.el (wdired-check-kill-buffer):
13901 * emacs-lisp/authors.el (authors):
13902 * net/socks.el (socks-open-connection):
13903 * net/zeroconf.el (zeroconf-service-add-hook):
13904 * obsolete/vc-mcvs.el (vc-mcvs-register):
13905 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
13906 (gdb-select-frame):
13907 * progmodes/grep.el (lgrep, rgrep):
13908 * progmodes/idlw-help.el (idlwave-help-check-locations)
13909 (idlwave-help-html-link, idlwave-help-assistant-open-link):
13910 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13911 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
13912 (reftex-toc-rename-label): Fix typos in error messages.
13914 * dired-aux.el (dired-do-shell-command): Reflow docstring.
13915 (dired-copy-how-to-fn): Doc fix.
13916 (dired-files-attributes, dired-read-shell-command):
13917 Fix typos in docstrings.
13919 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
13920 (dired-x-find-file-other-window): Reflow docstrings.
13921 (dired-omit-marker-char, dired-read-shell-command)
13922 (dired-x-submit-report): Fix typos in docstrings.
13924 * shell.el (shell-mode-hook):
13925 * view.el (View-scroll-line-forward):
13926 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
13927 Fix typos in docstrings.
13929 * net/dig.el (dig-invoke): Fix typo in docstring.
13930 (query-dig): Reflow docstring.
13932 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
13933 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
13934 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
13935 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
13936 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
13937 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
13938 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
13939 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
13940 (idlwave-completion-map, idlwave-current-indent)
13941 (idlwave-custom-ampersand-surround, idlwave-customize)
13942 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
13943 (idlwave-define-abbrev, idlwave-determine-class-special)
13944 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
13945 (idlwave-end-block-reg, idlwave-end-of-statement)
13946 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
13947 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
13948 (idlwave-explicit-class-listed, idlwave-file-header)
13949 (idlwave-fill-paragraph, idlwave-find-class-definition)
13950 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
13951 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
13952 (idlwave-in-quote, idlwave-indent-action-table)
13953 (idlwave-indent-expand-table, idlwave-indent-line)
13954 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
13955 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
13956 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
13957 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
13958 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
13959 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
13960 (idlwave-outlawed-buffers, idlwave-popup-select)
13961 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
13962 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
13963 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
13964 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
13965 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
13966 (idlwave-statement-type, idlwave-struct-skip)
13967 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
13968 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
13969 (idlwave-what-module-find-class): Fix typos in docstrings.
13970 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
13971 (idlwave-calculate-cont-indent, idlwave-expand-equal)
13972 (idlwave-find-module, idlwave-find-structure-definition)
13973 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
13974 (idlwave-list-load-path-shadows, idlwave-next-statement)
13975 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
13976 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
13977 (idlwave-template): Reflow docstrings.
13979 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
13980 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
13981 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
13982 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
13983 (idlwave-shell-display-line, idlwave-shell-display-wframe)
13984 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
13985 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
13986 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
13987 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
13988 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
13989 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
13990 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
13991 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
13992 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
13993 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
13994 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
13995 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
13996 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
13997 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
13998 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
13999 Fix typos in docstrings.
14000 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14001 (idlwave-shell-hide-output, idlwave-shell-mode)
14002 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14005 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14007 2009-09-24 Ivan Kanis <apple@kanis.eu>
14009 * term.el (term-bold-attribute): New var.
14010 (term-handle-colors-array): Use it.
14012 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
14014 * progmodes/gdb-mi.el (gdb-version): New variable.
14015 (gdb-non-stop-handler): Set gdb-version.
14016 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14017 Condition "--thread" option on gdb-version.
14018 (gdb-invalidate-threads): Remove unused argument.
14020 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14022 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14023 to looking-back to avoid ridiculous slow down in large files (bug#4511).
14025 2009-09-23 Glenn Morris <rgm@gnu.org>
14027 * mail/rmail.el (rmail-reply): Don't try to add a References header when
14028 replying to mail without References or Message-Id. (Bug#4525)
14030 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
14032 * term/ns-win.el (ns-reg-to-script): New variable.
14034 2009-09-23 Daiki Ueno <ueno@unixuser.org>
14036 * epg.el (epg-wait-for-status): Preserve existing 'error results.
14038 2009-09-22 Sam Steingold <sds@gnu.org>
14040 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14041 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14042 to 1 because hg returns status 1 when nothing is found.
14043 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14045 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
14047 * textmodes/fill.el: Convert to utf-8 encoding.
14048 (fill-french-nobreak-p): Remove redundant » and « inherited from our
14051 * add-log.el (change-log-fill-forward-paragraph): New function.
14052 (change-log-mode): Use it so fill-region DTRT.
14053 Set fill-indent-according-to-mode here rather than in
14054 change-log-fill-paragraph.
14055 (change-log-fill-paragraph): Remove.
14057 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
14059 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14060 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
14062 2009-09-22 Glenn Morris <rgm@gnu.org>
14064 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14065 the scroll-bar scroll the calendar window rather than the buffer.
14067 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14068 commands that move point (as opposed to scrolling).
14070 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14072 * emacs-lisp/elint.el (elint): New custom group.
14073 (elint-log-buffer): Make it a defcustom.
14074 (elint-scan-preloaded, elint-ignored-warnings)
14075 (elint-directory-skip-re): New options.
14076 (elint-builtin-variables): Doc fix.
14077 (elint-preloaded-env): New variable.
14078 (elint-unknown-builtin-args): Add an entry for encode-time.
14079 (elint-extra-errors): Make it a variable rather than a constant.
14080 (elint-preloaded-skip-re): New constant.
14081 (elint-directory): Skip files matching elint-directory-skip-re.
14082 (elint-features): New variable, local to linted buffers.
14083 (elint-update-env): Initialize elint-features. Possibly add
14084 elint-preloaded-env to the buffer's environment.
14085 (elint-get-top-forms): Bind elint-current-pos, for log messages.
14087 (elint-init-form): New function, extracted from elint-init-env.
14088 Make non-list forms a warning rather than an error.
14089 Add the mode-map for define-derived-mode. Handle define-minor-mode,
14090 easy-menu-define, put that adds an error-condition, and provide.
14091 When requiring cl, also require cl-macs. Really require cl, to handle
14092 some cl macros. Store required libraries in the list elint-features,
14093 so as not to re-load them. Treat cc-require like require.
14094 (elint-init-env): Call elint-init-form to do the work.
14095 Handle eval-and-compile and such like.
14096 (elint-add-required-env): Do not clear messages.
14097 (elint-special-forms): Add handlers for function, defalias, if, when,
14099 (elint-form): Add optional argument to ignore elint-special-forms,
14100 useful to prevent recursive calls from handlers. Doc fix.
14101 Respect elint-ignored-warnings.
14102 (elint-form): Respect elint-ignored-warnings.
14103 (elint-bound-variable, elint-bound-function): New variables.
14104 (elint-unbound-variable): Respect elint-bound-variable.
14105 (elint-get-args): Respect elint-bound-function.
14106 (elint-check-cond-form): Add some simple handling for (f)boundp and
14108 (elint-check-defalias-form): New handler.
14109 (elint-check-let-form): Make an empty let a warning rather than an
14111 (elint-check-setq-form): Make an empty setq a warning rather than an
14112 error. Respect elint-ignored-warnings.
14113 (elint-check-defvar-form): Accept null doc-strings.
14114 (elint-check-conditional-form): New handler. Does some simple-minded
14115 checking of featurep and (f)boundp tests.
14116 (elint-put-function-args): New function.
14117 (elint-initialize): Use elint-scan-doc-file rather than
14118 elint-find-builtin-variables. Use elint-put-function-args.
14119 Possibly scan preloaded-file-list.
14120 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
14121 extend to handle functions as well.
14123 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
14125 * linum.el (linum-delete-overlays, linum-update-window):
14126 Do not modify the right margin. (Bug#3971)
14128 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
14130 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
14131 nxml-mode instead of xml-mode.
14133 2009-09-21 Kevin Ryde <user42@zip.com.au>
14135 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
14137 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14139 * net/dig.el (dig-mode): Use define-derived-mode.
14141 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
14143 * vc-dispatcher.el (vc-do-command): Return the process object in
14144 the asynchronous case. Use when instead of if. Do not run
14145 vc-exec-after to display a message if not enabled. (Bug#4463)
14147 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
14148 properties to the stash strings.
14149 (vc-git-stash-list): Return a list of strings.
14150 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
14151 (vc-git-stash-show-at-point): New functions.
14152 (vc-git-stash-map): New keymap.
14154 * register.el (ctl-x-r-map): Define the keys here instead of
14157 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
14159 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
14160 list, to workaround performance problem (bug#4485).
14162 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
14164 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
14166 2009-09-20 Daiki Ueno <ueno@unixuser.org>
14168 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14169 Document that this option is not recommended to use.
14171 2009-09-19 Glenn Morris <rgm@gnu.org>
14173 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
14176 * calc/calc-alg.el (var):
14177 * calc/calcalg2.el (var): Define for compiler.
14179 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
14181 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
14182 Doc fix (Bug#3932).
14184 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
14186 * time-stamp.el (time-stamp-month-dd-yyyy)
14187 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
14188 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
14189 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
14190 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
14191 Remove functions that have been obsolete since 1995 (Bug#4436).
14193 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
14194 indent buffer only if called interactively (Bug#4452).
14196 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
14197 Eli Zaretskii <eliz@gnu.org>
14199 This fixes bug#4197 (merged to bug#865, though not identical).
14200 * server.el (server-auth-dir): Add docstring note about FAT32.
14201 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
14202 but warn against using them.
14204 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
14206 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
14207 older GDB where there is no has_more field.
14209 2009-09-19 Glenn Morris <rgm@gnu.org>
14211 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
14213 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
14215 * files.el (auto-mode-alist): Change default for XML files to nXML
14218 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
14220 * server.el (server-ensure-safe-dir): Pass 'integer
14221 to `file-attributes', as suggested.
14223 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
14225 * dired-aux.el (dired-query-alist): Remove spurious backslash.
14226 (dired-query): Use read-key.
14228 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
14230 * cus-start.el (ns-use-qd-smoothing): Remove.
14232 2009-09-18 Glenn Morris <rgm@gnu.org>
14234 * allout.el (top-level): Remove unnecessary progn.
14236 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
14238 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
14239 definition of abbrev table.
14241 * speedbar.el (speedbar-track-mouse):
14242 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
14243 * net/eudc.el (eudc-expand-inline):
14244 * net/newst-backend.el (newsticker--cache-read-feed):
14245 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
14246 condition-case handlers.
14248 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
14250 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
14251 (gdb-var-list): Add an element for has_more field.
14252 (gdb-non-stop-handler): Enable pretty printing for STL containers.
14253 (gdb-var-create-handler, gdb-var-list-children-handler-1)
14254 (gdb-var-update-handler-1): Parse output of dynamic variable
14255 objects (STL containers).
14256 (gdb-var-delete-1): Pass var1 as an explicit second argument.
14257 (gdb-get-field): Delete alias. Use bindat-get-field directly.
14259 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
14261 (gud-speedbar-buttons): Make node expandable if expression "has more"
14264 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
14266 * startup.el (emacs-quick-startup): Remove variable and all uses.
14267 (command-line): Set `inhibit-x-resources' instead.
14268 (command-line-1): Use `inhibit-x-resources' instead.
14270 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
14272 * subr.el: Fix last change to avoid using the `unless' macro,
14273 which breaks bootstrapping.
14275 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14277 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
14278 extended definitions, in case we reload subr.el after having
14280 (eval-next-after-load): Mark as obsolete.
14282 2009-09-17 Juri Linkov <juri@jurta.org>
14284 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
14285 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
14286 (menu-bar-showhide-menu, menu-bar-tools-menu)
14287 (menu-bar-describe-menu, menu-bar-help-menu)
14288 (minibuffer-local-completion-map, minibuffer-local-map):
14291 2009-09-17 Glenn Morris <rgm@gnu.org>
14293 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
14294 arguments, whether or not it has a handler.
14296 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
14298 * simple.el (hard-newline): Give it a doc-string.
14300 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14301 (lisp-mode-syntax-table): Give them doc-strings.
14303 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
14305 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
14306 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
14307 (menu-bar-options-menu, menu-bar-showhide-menu)
14308 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
14309 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
14310 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
14311 (menu-bar-options-menu, menu-bar-tools-menu)
14312 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
14313 (menu-bar-help-menu):
14314 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
14317 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
14318 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
14319 calls for the menu names and :help.
14321 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14323 * mouse.el (minor-mode-menu-from-indicator): Pay attention
14324 to :minor-mode-function (bug#4455).
14326 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14328 * startup.el (command-line): Initialize the window-system after
14329 processing the command-line.
14331 * textmodes/page.el (what-page): Make sure we don't inf-loop if
14332 page-delimiter matches the empty string.
14334 2009-09-16 Glenn Morris <rgm@gnu.org>
14336 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
14337 byte-compile-not-obsolete-var. It's a list now.
14338 (byte-compile-not-obsolete-funcs): New variable.
14339 (byte-compile-warn-obsolete): Don't warn about functions if they are in
14340 byte-compile-not-obsolete-funcs.
14341 (byte-compile-variable-ref, byte-compile-defvar): Update for
14342 byte-compile-not-obsolete-vars name-change and list nature.
14343 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
14344 and variables behind (f)boundp tests.
14345 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
14347 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
14349 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
14351 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14353 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
14354 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
14357 2009-09-15 Stephen Eglen <stephen@gnu.org>
14359 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
14360 the virtual-buffers, use the name of the buffer specified by
14361 find-file-noselect, as the match may be a symlink. (This was a
14362 problem if the target and the symlink had different names.)
14364 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14366 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
14368 * desktop.el (desktop-path): Check user-emacs-directory.
14370 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
14372 * loadup.el: Use after-load-functions to GC after loading each file.
14373 Remove the explicit GC calls that used to be sprinkled around.
14375 * subr.el (after-load-functions): New hook.
14376 (do-after-load-evaluation): Run it. Use string-match-p to detect
14377 `obsolete' packages, rather than painfully extracting the relevant
14380 2009-09-15 Glenn Morris <rgm@gnu.org>
14382 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
14383 free variable `doc'.
14385 * dired.el (dired-mode-map): Add menu entry for async shell command.
14387 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
14388 variables, also consider the .elc files, since the .el files are
14389 normally gzipped (subsequent code locates the .el.gz from the .elc).
14391 * calc/calc-prog.el (arglist): Define for compiler.
14393 * calendar/diary-lib.el (diary-display-function): Change the default to
14395 (body): Define for compiler.
14397 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
14398 (byte-compile-file-form, byte-compile-lambda)
14399 (byte-compile-top-level-body, byte-compile-form)
14400 (byte-compile-variable-ref, byte-compile-setq)
14401 (byte-compile-setq-default, byte-compile-body)
14402 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
14403 (batch-byte-compile): Give some more local variables with common names
14404 a "bytecomp-" prefix to avoid masking warnings about free variables.
14406 * startup.el (command-line-1): Give local variables with common names a
14407 distinguishing prefix, so as not to hide free variable warnings during
14410 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
14411 clever and add a suffix to make a unique name, just let the user decide
14412 whether or not to overwrite it. If the input is a directory, write the
14413 default filename to that directory. (Bug#4388)
14414 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
14415 is a filename-as-a-directory.
14417 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14419 * textmodes/page.el (what-page): Don't move to beginning of line.
14420 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
14422 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
14424 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
14426 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
14428 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
14429 * help.el (help-for-help-internal): Add purecopy calls for text.
14431 * vc.el (top): print-log method now takes an optional SHORTLOG
14432 argument. Add a new method: root.
14433 (vc-root-diff, vc-print-root-log): New functions.
14434 (vc-log-short-style): New variable.
14435 (vc-print-log-internal): Add support for showing short logs.
14437 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
14438 vc-print-root-log and vc-print-root-diff.
14440 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
14441 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
14442 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
14445 * vc-cvs.el (vc-cvs-print-log):
14446 * vc-mtn.el (vc-mtn-print-log):
14447 * vc-rcs.el (vc-rcs-print-log):
14448 * vc-sccs.el (vc-sccs-print-log):
14449 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
14450 that is ignored for now.
14452 * vc-mtn.el (vc-mtn-annotate-command):
14453 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
14455 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14457 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
14458 to function-key-map, and give them ascii-character property.
14459 * term/x-win.el (x-alternatives-map):
14460 * term/ns-win.el (ns-alternatives-map):
14461 * term/internal.el (msdos-key-remapping-map):
14462 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
14464 2009-09-14 Glenn Morris <rgm@gnu.org>
14466 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
14467 temp-buffers (2009-09-12).
14469 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
14471 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
14472 the new read-key function.
14474 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14476 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
14477 is defined (Bug#4405).
14479 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
14481 * recentf.el (recentf-cleanup): Use a hash table to find
14482 duplicates (Bug#4407).
14484 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
14486 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
14487 kp-0 to ascii equivalents (Bug#4325).
14489 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14491 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
14493 * eshell/em-hist.el:
14494 * eshell/em-dirs.el (eshell-complete-user-reference):
14495 Declare pcomplete functions and variables to avoid compiler warnings.
14497 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
14499 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
14500 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
14501 * eshell/em-alias.el (eshell-aliases-file):
14502 * eshell/em-hist.el (eshell-history-file-name):
14503 Use expand-file-name instead of concat to make file names (Bug#4308).
14505 2009-09-13 Glenn Morris <rgm@gnu.org>
14507 * ediff-merg.el (ediff-do-merge):
14508 * filesets.el (filesets-run-cmd):
14509 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
14510 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
14511 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
14512 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
14513 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
14514 Replace empty `let's with `progn'.
14516 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
14518 * mail/sendmail.el (send-mail-function):
14519 * tooltip.el (tooltip-mode):
14520 * simple.el (transient-mark-mode):
14521 * rfn-eshadow.el (file-name-shadow-mode):
14522 * frame.el (blink-cursor-mode):
14523 * font-core.el (global-font-lock-mode):
14524 * files.el (temporary-file-directory)
14525 (small-temporary-file-directory, auto-save-file-name-transforms):
14526 * epa-hook.el (auto-encryption-mode):
14527 * composite.el (global-auto-composition-mode):
14528 Use custom-initialize-delay.
14529 * startup.el (command-line): Don't explicitly call
14530 custom-reevaluate-setting for all the above vars.
14531 * custom.el (custom-initialize-safe-set)
14532 (custom-initialize-safe-default): Delete.
14534 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14536 * term/x-win.el (x-initialize-window-system):
14537 * term/w32-win.el (w32-initialize-window-system):
14538 * term/ns-win.el (ns-initialize-window-system): Don't call
14539 mouse-wheel-mode since it's enabled globally by default already.
14541 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
14542 actually define the variable, but only silences the byte-compiler.
14543 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
14544 before looking it up.
14545 (mouse-wheel-scroll-amount): Also reset the bindings if this value
14548 2009-09-12 Glenn Morris <rgm@gnu.org>
14550 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
14552 (elint-add-required-env): Don't beep on error.
14553 (elint-forms): In case of error, return ENV unchanged.
14554 (elint-init-env): Skip non-list forms.
14555 (elint-log): Handle unknown file positions.
14557 2009-09-12 Daiki Ueno <ueno@unixuser.org>
14559 * epg.el (epg-make-context): Add autoload cookie.
14560 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
14561 (epg-decrypt-string, epg-start-verify, epg-verify-file)
14562 (epg-verify-string, epg-start-sign, epg-sign-file)
14563 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
14564 (epg-encrypt-string, epg-start-export-keys)
14565 (epg-export-keys-to-file, epg-export-keys-to-string)
14566 (epg-start-import-keys, epg-import-keys-from-file)
14567 (epg-import-keys-from-string, epg-start-receive-keys)
14568 (epg-receive-keys, epg-import-keys-from-server)
14569 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
14570 (epg-sign-keys, epg-start-generate-key)
14571 (epg-generate-key-from-file, epg-generate-key-from-string):
14572 Remove autoload cookie.
14574 2009-09-12 Eli Zaretskii <eliz@gnu.org>
14576 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
14577 reevaluation of trash-directory.
14579 * mwheel.el: Fix last change.
14580 (mouse-wheel-mode): New defvar.
14581 (mouse-wheel-mode): Remove autoload cookie.
14583 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14585 * mwheel.el (mwheel-installed-bindings): New var.
14586 (mouse-wheel-mode): Use it, so as to make sure we really remove all
14587 the bindings we set last time. Use custom-initialize-delay.
14588 * loadup.el: Load mwheel after term/*-win.el.
14589 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
14590 and mouse-wheel-up-event now that their first evaluation is done
14591 sufficiently late to be correct.
14593 * startup.el (tutorial-directory): Make it a defcustom.
14594 Use custom-initialize-delay rather than eval-at-startup to set it.
14595 * image.el (image-load-path): Make it a defcustom.
14596 Use custom-initialize-delay rather than eval-at-startup to set it.
14597 * subr.el (eval-at-startup): Remove.
14598 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
14600 * subr.el (do-after-load-evaluation): Warn the user after loading an
14603 2009-09-12 Glenn Morris <rgm@gnu.org>
14605 * proced.el (proced-mark-alt): Remove alias.
14606 (proced-mode-map): Remove proced-mark-alt.
14608 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
14609 Elint file and directory. Remove initialization entry.
14611 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
14613 (elint-current-buffer): Set mode-line-process.
14614 (elint-init-env): Handle define-derived-mode.
14615 Fix declare-function with unspecified arglist. Guard against odd
14616 defalias statements (eg iso-insert's 8859-1-map).
14617 (elint-add-required-env): Use a temp buffer.
14618 (elint-form): Just print the function/macro name, not the whole form.
14619 Return env unchanged if we fail to parse a macro.
14620 (elint-forms): Guard against parse errors.
14621 (elint-output): New function, to handle batch mode.
14622 (elint-log-message): Add optional argument. Use elint-output.
14623 (elint-set-mode-line): New function.
14625 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
14627 * emacs-lisp/elp.el (elp-not-profilable): Add more
14628 functions (Bug#4233).
14630 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
14632 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
14633 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
14635 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14637 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
14638 (gdb-var-list-children): Use json parsing.
14640 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
14642 * progmodes/js.el (js--proper-indentation): Handle the case where
14643 char-before is null. Reported by Deniz Dogan.
14645 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14647 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
14649 2009-09-11 Daiki Ueno <ueno@unixuser.org>
14651 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
14652 (epg-digest-algorithm-alist): Add SHA224.
14653 (epg-context-set-passphrase-callback)
14654 (epg-context-set-progress-callback): Add description about
14657 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14659 * custom.el (custom-delayed-init-variables): New var.
14660 (custom-initialize-delay): New function.
14661 * startup.el (command-line): "Re"evaluate all vars in
14662 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
14663 explicitly any more.
14664 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
14665 to avoid creating a ~/.emacs.d at build-time (bug#4347).
14667 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
14669 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14671 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
14672 (gdb-var-update-handler): Use json parsing.
14674 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14676 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
14677 decode annotated text, regardless of language environment. (Bug#2741)
14679 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14681 * Makefile.in (autoloads): Make rmail.el writable as well.
14683 2009-09-11 Glenn Morris <rgm@gnu.org>
14685 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
14687 * dired.el: Regenerate with extracted autoloads.
14688 * Makefile.in (autoloads): Make dired.el writable.
14690 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
14691 * ibuffer.el: Regenerate with extracted autoloads.
14692 * Makefile.in (autoloads): Make ibuffer.el writable.
14694 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
14695 * version.el (emacs-copyright, emacs-major-version)
14696 (emacs-minor-version): Reformat doc-strings for make-docfile.
14698 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
14699 functions and variables, since they must be stuff specific to some other
14701 (apropos-print): Make mouse-click message less specific about button.
14703 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
14704 that records where a macro was defined.
14705 * help-fns.el (describe-function-1): Mention if a function has a
14707 * help-mode.el (help-function-cmacro): New button.
14709 * locate.el (top-level): Always require dired.
14710 (locate-mode-map): Initialize inside the defvar.
14712 * net/ange-ftp.el (dired-compress-file): Declare.
14713 (ange-ftp-dired-compress-file): Add doc string.
14715 * term/ns-win.el (x-display-name, x-setup-function-keys):
14716 Unify doc-strings with X versions.
14718 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14720 * emulation/crisp.el (crisp-mode-map): Move initialization
14722 (crisp-mode): Use define-minor-mode.
14724 * progmodes/xscheme.el (xscheme-evaluation-commands):
14725 Put a :advertised-binding property rather than using
14726 advertised-xscheme-send-previous-expression.
14727 (advertised-xscheme-send-previous-expression): Declare obsolete.
14728 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
14730 (crisp-mode): Add corresponding bindings to
14731 undo's :advertised-binding instead.
14732 * dired.el (dired-mode-map): Put a :advertised-binding property rather
14733 than using dired-advertised-find-file.
14734 (dired-advertised-find-file):
14735 * simple.el (advertised-undo):
14736 * wid-edit.el (advertised-widget-backward): Declare obsolete.
14737 (widget-keymap): Put a :advertised-binding property rather
14738 than using advertised-widget-backward.
14739 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
14740 than using advertised-undo.
14741 * tutorial.el (tutorial--default-keys): Adjust accordingly.
14743 2009-09-10 Simon South <ssouth@slowcomputing.org>
14745 * progmodes/delphi.el (delphi-tab): Indent region when Transient
14746 Mark mode is enabled and region is active; otherwise indent or
14747 insert TAB as usual.
14748 (delphi-mode): Update description of TAB-key binding.
14750 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
14752 * subr.el (define-key-rebound-commands): Mark obsolete.
14753 * startup.el (precompute-menubar-bindings): Remove.
14754 (normal-top-level): Remove obsolete code that tried to precompute
14756 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
14757 define-key-rebound-commands and precompute-menubar-bindings.
14759 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
14761 * net/imap.el (imap-interactive-login): Better messages.
14762 (imap-open): Fix bug with renamed buffer on reconnect.
14763 (imap-authenticate): Add buffer-local imap-last-authenticator variable
14764 for easier debugging and cleaner code. On successful (guessed based on
14765 server capabilities) secondary authentication, set imap-state
14767 (imap-last-authenticator): Define imap-last-authenticator as a variable
14770 2009-09-10 Glenn Morris <rgm@gnu.org>
14772 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
14774 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
14775 (byte-compile-file-form-autoload): Don't warn about unknown functions
14776 where the autoload statement comes after the use.
14777 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
14778 that any handlers inside the body (eg require) are in turn respected.
14780 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
14783 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
14784 and syntax and abbrev tables basic docs, if they don't have any.
14786 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
14788 * international/mule-cmds.el (top-level): Require cl when compiling.
14789 (view-hello-file): Use default-value rather than
14790 default-enable-multibyte-characters.
14792 * progmodes/fortran.el: Move all safe and risky properties into the
14795 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
14796 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
14797 * mail/undigest.el:
14798 Put autoloads in rmail.el rather than loaddefs.el.
14799 * mail/rmail.el: Regenerate with extracted autoloads.
14801 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
14802 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
14804 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
14806 Reported in thread for Bug#4375.
14807 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
14808 "-data-evaluate-expression" instead of print.
14809 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
14810 (gdb-tooltip-print): Parse output from above MI command.
14811 (gdb): Revert 2009-08-11 change. User should detach inferior
14814 Remove the word "separate" from IO functions as inferior
14815 output is now never displayed in the GUD buffer.
14817 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
14819 * startup.el (command-line-normalize-file-name): On Windows and
14820 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
14822 2009-09-10 Juri Linkov <juri@jurta.org>
14824 * isearch.el (isearch-text-char-description): Propertize escape
14825 character sequences with the `escape-glyph' face. (Bug#4344)
14827 * simple.el (shell-command): Set asynchronous process filter to
14828 `comint-output-filter'. (Bug#4343)
14830 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
14831 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
14832 the list. Move "asm" to the bottom.
14833 (grep-find-ignored-directories): Add `choice' with nil value
14834 to empty the list easily.
14835 (grep-find-ignored-files): New option.
14836 (grep-files-history): Set to nil by default instead of '("ch" "el").
14837 (grep-compute-defaults): Add "<X>" to `grep-template'.
14838 (grep-read-files): Bind new local variables `default-alias' and
14839 `default-extension'. Use a list of default values for the file prompt.
14840 (lgrep): Add `--exclude=' command line options composed from
14841 `grep-find-ignored-files'.
14842 (rgrep): Add `-name' command line options composed from
14843 `grep-find-ignored-files'. (Bug#4301)
14845 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
14847 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
14850 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
14852 * calendar/time-date.el (autoload):
14853 Expand define-obsolete-function-alias into defalias and make-obsolete
14854 for old Emacsen that Gnus supports.
14855 (with-no-warnings): Define it for old Emacsen.
14856 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
14858 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
14859 float-time is available; suppress compile warning for time-to-seconds.
14861 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
14863 * net/imap.el (imap-message-map): Docstring fix.
14865 2009-09-09 Glenn Morris <rgm@gnu.org>
14867 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
14868 line numbers too. (Bug#4374)
14870 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
14872 * smerge-mode.el (smerge-remove-props, smerge-refine):
14873 Use with-silent-modifications (bug#4342).
14875 * subr.el (with-silent-modifications): New macro.
14877 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
14879 * files.el (top-level): Require `cl' when compiling.
14881 2009-09-07 Glenn Morris <rgm@gnu.org>
14883 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
14885 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
14886 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
14888 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
14890 * vc-git.el (vc-git-annotate-command): Use separator to parse
14891 arguments correctly.
14893 2009-09-06 Eli Zaretskii <eliz@gnu.org>
14895 * proced.el (proced-mode): Doc fix.
14897 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
14899 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
14901 (tramp-do-file-attributes-with-ls): Check for file existence at
14903 (tramp-do-file-attributes-with-stat): Likewise.
14904 (tramp-convert-file-attributes): Return nil when attr is nil.
14906 2009-09-05 Glenn Morris <rgm@gnu.org>
14908 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
14909 properties to this button.
14910 (diary-fancy-display): Don't extend the button to the final newline.
14911 (diary-fancy-display-mode): Continue to define "q" as a local key.
14913 * calendar/cal-china.el (holiday-chinese): Make it slightly more
14916 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
14918 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
14919 (byte-compile-dest-file-function): New option.
14920 (byte-compile-dest-file): Doc fix.
14921 Obey byte-compile-dest-file-function.
14922 (byte-compile-cl-file-p): New function.
14923 (byte-compile-eval): Only suppress noruntime warnings about cl functions
14924 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
14925 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
14926 than for file being previously loaded.
14927 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
14928 (byte-compile-file-form-require): Handle the case where requiring a file
14929 indirectly causes CL to be loaded.
14931 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14933 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
14934 before killing the old buffer, since by the time `kill-buffer' is
14935 run so many buffer variables have been set to nil that it may not
14936 behave as expected. (Bug#4061)
14938 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14940 * files.el (find-alternate-file): If the old buffer is modified
14941 and visiting a file, behave similarly to `kill-buffer' when
14942 killing it, thus reverting to the pre-1.878 behavior; see
14943 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
14944 for discussion. Also, consult `buffer-file-name' as a variable
14945 not as a function, for consistency with the rest of the code.
14947 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
14949 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
14950 also when adding a new directory.
14952 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
14955 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
14957 * files.el (locate-file-completion-table): Make it provide boundary
14958 information, so partial-completion works better.
14960 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
14962 * mail/footnote.el (Footnote-text-under-cursor):
14963 Check footnote-text-marker-alist before using it (bug#4324).
14965 2009-09-04 Glenn Morris <rgm@gnu.org>
14967 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
14968 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
14969 * play/solitaire.el, play/tetris.el:
14970 Remove leading * from defcustom and defface docs.
14972 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
14974 (diary-fancy-overriding-map): New variable.
14975 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
14978 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
14981 2009-09-03 Glenn Morris <rgm@gnu.org>
14983 * arc-mode.el (archive-mode):
14984 * dos-fns.el (set-default-process-coding-system):
14985 * man.el (Man-getpage-in-background):
14986 * menu-bar.el (menu-bar-describe-menu):
14987 * server.el (server-process-filter):
14988 * startup.el (command-line):
14989 * tar-mode.el (tar-header-block-tokenize, tar-extract):
14990 * w32-fns.el (set-default-process-coding-system):
14991 * x-dnd.el (x-dnd-handle-file-name):
14992 * international/mule-cmds.el (mule-menu-keymap)
14993 (set-default-coding-systems, language-info-alist, set-language-info)
14994 (set-language-environment, standard-display-european-internal)
14995 (set-locale-environment):
14996 * international/mule-diag.el (mule-diag):
14997 * mail/emacsbug.el (report-emacs-bug):
14998 * mail/rmail.el (rmail-mode):
14999 * mail/sendmail.el (mail-setup):
15000 Use default-value rather than default-enable-multibyte-characters.
15002 * progmodes/f90.el: Move all safe properties into the defcustoms.
15003 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15005 * calendar/appt.el (appt-check):
15006 * calendar/diary-lib.el (diary-set-header, diary-live-p)
15007 (diary-check-diary-file, diary-list-entries)
15008 (diary-include-other-diary-files, diary-simple-display)
15009 (diary-fancy-display, diary-print-entries)
15010 (diary-mark-included-diary-files, diary-make-entry):
15011 Don't call substitute-in-file-name on diary-file.
15013 2009-09-03 Eduard Wiebe <usenet@pusto.de>
15014 Stefan Monnier <monnier@iro.umontreal.ca>
15016 * mail/footnote.el (footnote-prefix): Make it a defcustom.
15017 (footnote-mode-map): Move initialization into the declaration.
15018 (footnote-minor-mode-map): Define it rather than changing global-map.
15019 (footnote-mode): Use define-minor-mode.
15021 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
15023 * net/tramp.el (tramp-handle-file-attributes-with-ls)
15024 (tramp-do-file-attributes-with-perl)
15025 (tramp-do-file-attributes-with-stat): Rename from
15026 `tramp-handle-file-attributes-with-*'.
15027 (tramp-handle-file-attributes): Use them.
15028 (tramp-do-directory-files-and-attributes-with-perl)
15029 (tramp-do-directory-files-and-attributes-with-stat): Rename from
15030 `tramp-handle-directory-files-and-attributes-with-*'.
15031 (tramp-handle-directory-files-and-attributes): Use them.
15032 (tramp-method-out-of-band-p): Additional parameter SIZE.
15033 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15034 (tramp-handle-write-region): Use it.
15035 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15036 (tramp-handle-vc-registered): Check, whether the first run did
15037 return files to be tested.
15038 (tramp-advice-make-auto-save-file-name): Do not call directly
15039 `tramp-handle-make-auto-save-file-name', because this would bypass
15040 the locking mechanism.
15042 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15043 (file-remote-p, process-file, start-file-process, set-file-times)
15044 (tramp-compat-file-attributes): Compatibility functions shall not
15045 call directly `tramp-handle-*', because this would bypass the
15047 (tramp-compat-number-sequence): New defun.
15049 2009-09-02 Glenn Morris <rgm@gnu.org>
15051 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15052 alias for float-time.
15053 (time-to-number-of-days): In Emacs, use float-time.
15054 * net/newst-backend.el (time-add): Suppress warnings from compat
15056 * time.el (emacs-uptime, emacs-init-time):
15057 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15058 Use float-time rather than time-to-seconds.
15060 * minibuffer.el (completion-initials-expand): Fix typo.
15062 * faces.el (modeline, modeline-inactive, modeline-highlight)
15063 (modeline-buffer-id):
15064 * info.el (info-menu-5): Mark these face aliases as obsolete.
15066 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15068 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15070 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15071 no "--thread" option.
15072 (gdb-stopped): Don't print "Switched to thread" message when it is
15075 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
15077 * minibuffer.el (completion-try-completion)
15078 (completion-all-completions): Remove ill-defined (and
15079 mistakenly installed and luckily never used nor documented)
15080 `completion-styles' property.
15081 (completion-initials-expand, completion-initials-all-completions)
15082 (completion-initials-try-completion): New functions.
15083 (completion-styles-alist): Add doc to each entry.
15084 Add new `initials' entry.
15086 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15088 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
15089 MI command -var-evaluate-expression.
15090 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
15091 and tweak for case of string child.
15092 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
15094 2009-09-01 Glenn Morris <rgm@gnu.org>
15096 * add-log.el (change-log-date-face, change-log-name-face)
15097 (change-log-email-face, change-log-file-face, change-log-list-face)
15098 (change-log-conditionals-face, change-log-function-face)
15099 (change-log-acknowledgement-face):
15100 * cus-edit.el (custom-invalid-face, custom-rogue-face)
15101 (custom-modified-face, custom-set-face, custom-changed-face)
15102 (custom-saved-face, custom-button-face, custom-button-pressed-face)
15103 (custom-documentation-face, custom-state-face, custom-comment-face)
15104 (custom-comment-tag-face, custom-variable-tag-face)
15105 (custom-variable-button-face, custom-face-tag-face)
15106 (custom-group-tag-face-1, custom-group-tag-face):
15107 * diff-mode.el (diff-header-face, diff-file-header-face)
15108 (diff-index-face, diff-hunk-header-face, diff-removed-face)
15109 (diff-added-face, diff-changed-face, diff-function-face)
15110 (diff-context-face, diff-nonexistent-face):
15111 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
15112 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
15113 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
15114 (Info-title-4-face):
15115 * isearch.el (isearch-lazy-highlight-face):
15116 * log-view.el (log-view-file-face, log-view-message-face):
15117 * paren.el (show-paren-match-face, show-paren-mismatch-face):
15118 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
15119 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
15121 * smerge-mode.el (smerge-mine-face, smerge-other-face)
15122 (smerge-base-face, smerge-markers-face):
15123 * wid-edit.el (widget-documentation-face, widget-button-face)
15124 (widget-field-face, widget-single-line-field-face)
15125 (widget-inactive-face, widget-button-pressed-face):
15126 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
15127 (woman-addition-face):
15128 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
15129 (eshell-ls-executable-face, eshell-ls-readonly-face)
15130 (eshell-ls-unreadable-face, eshell-ls-special-face)
15131 (eshell-ls-missing-face, eshell-ls-archive-face)
15132 (eshell-ls-backup-face, eshell-ls-product-face)
15133 (eshell-ls-clutter-face):
15134 * eshell/em-prompt.el (eshell-prompt-face):
15135 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
15136 * obsolete/old-whitespace.el (whitespace-highlight-face):
15137 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
15138 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
15139 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
15140 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
15141 (antlr-font-lock-literal-face):
15142 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
15143 (ebrowse-root-class-face, ebrowse-file-name-face)
15144 (ebrowse-default-face, ebrowse-member-attribute-face)
15145 (ebrowse-member-class-face, ebrowse-progress-face):
15146 * progmodes/make-mode.el (makefile-space-face):
15147 * progmodes/sh-script.el (sh-heredoc-face):
15148 * textmodes/flyspell.el (flyspell-incorrect-face)
15149 (flyspell-duplicate-face):
15150 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
15151 * textmodes/texinfo.el (texinfo-heading-face):
15152 Mark face aliases with "-face" suffix as obsolete.
15154 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
15157 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
15158 (eudc-bob-sound-menu): Use defvar rather than defconst, since
15159 easy-menu-define wants to modify these.
15161 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
15163 * net/browse-url.el (browse-url-file-url):
15164 * term/internal.el (dos-codepage-setup):
15165 Use default-value rather than default-enable-multibyte-characters.
15167 * progmodes/etags.el (etags-goto-tag-location):
15168 * progmodes/flymake.el (flymake-highlight-line)
15169 (flymake-goto-file-and-line, flymake-goto-line):
15170 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
15171 (gdb-goto-breakpoint):
15172 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
15173 * progmodes/python.el (python-find-function)
15174 (python-pdbtrack-track-stack-file):
15175 * progmodes/verilog-mode.el (verilog-surelint-off):
15176 * term/ns-win.el (ns-open-file-select-line):
15177 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
15178 Use forward-line rather than goto-line.
15180 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
15181 * textmodes/reftex-index.el (reftex-display-index):
15182 * textmodes/reftex-ref.el (reftex-offer-label-menu):
15183 * textmodes/reftex-toc.el (reftex-toc):
15184 Remove unnecessary bindings of default-major-mode (all are followed by
15185 major-mode check and possible mode switch).
15187 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15189 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15190 Handle watchpoints (bug#4282).
15191 (def-gdb-thread-buffer-command): Enable thread to be selected by
15192 clicking without selecting threads buffer first.
15193 (gdb-current-context-command): Use selected frame so that "up",
15194 "down" etc work in the GUD buffer.
15195 (gdb-update): Find selected frame before rendering stack buffer.
15196 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
15198 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
15200 * progmodes/sym-comp.el (displayed-completions): Remove.
15201 (symbol-complete): Use minibuffer-complete.
15203 2009-08-31 Glenn Morris <rgm@gnu.org>
15205 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
15207 * apropos.el (apropos-symbols-internal):
15208 Handle (obsolete) face aliases.
15210 * faces.el (describe-face): Adjust the output format to be more like
15211 describe-variable, and to mention (obsolete) face aliases.
15212 Adjust the whitespace so that help-setup-xref works.
15214 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
15215 * calendar/diary-lib.el (diary-button-face):
15216 Mark these face aliases as obsolete.
15218 * calendar/calendar.el (calendar-today): Doc fix.
15220 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15222 * progmodes/gdb-mi.el (gdb-control-all-threads)
15223 (gdb-control-current-thread): Force tool bar update.
15224 (gdb-non-stop-handler): New function.
15225 (gdb-init-1): Use it to test if non-stop mode is supported.
15226 Remove unused gdbmi buffer type.
15228 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
15230 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
15231 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
15233 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
15235 * comint.el (comint-exec-1): Check command is non-null first.
15236 Part of gdb-mi.el change (2009-08-28).
15238 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15240 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
15242 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
15244 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
15245 instead of `dolist' to avoid a recursive require when bootstrapping.
15247 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15249 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
15251 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
15253 * net/imap.el (imap-send-command): Simplify.
15254 (imap-wait-for-tag): point-max -> buffer-size.
15256 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
15258 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
15259 with constant argument.
15261 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
15263 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
15265 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
15266 Change default, since most of our files don't have a history.
15267 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
15270 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15273 * calc/calc.el: Improve commenting convention.
15274 (calc-digit-map, toplevel): Simplify.
15276 * comint.el (comint-insert-input): Be careful to only set point if we
15277 don't delegate to some other command.
15279 * proced.el (proced-signal-list): Make it an alist.
15280 (proced-grammar-alist): Capitalize names.
15281 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
15282 Disable undo manually and make it read-only.
15283 Use completion-annotate-function.
15285 * minibuffer.el (minibuffer-message): If the current buffer is not
15286 a minibuffer, insert the message in the echo area rather than at the
15288 (completion-annotate-function): New variable.
15289 (minibuffer-completion-help): Use it.
15290 (completion--embedded-envvar-table): Environment vars are
15291 always case-sensitive.
15293 2009-08-30 Glenn Morris <rgm@gnu.org>
15295 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
15296 from fortran-current-defun.
15297 (fortran-beginning-of-subprogram): Be more precise about finding the
15298 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
15299 (fortran-end-of-subprogram): Simplify.
15300 (fortran-current-defun): Use fortran-start-prog-re.
15302 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
15304 * subr.el (do-after-load-evaluation): Simplify.
15306 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
15308 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
15310 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
15311 (vc-rcs-print-log): Use it.
15313 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
15315 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
15317 * paths.el (abbrev-file-name): Move to abbrev.el.
15318 * abbrev.el (abbrev-file-name): Move from paths.el.
15319 Obey user-emacs-directory.
15320 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
15321 user-emacs-directory.
15322 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
15323 abbrev-file-name and calc-settings-file any more.
15324 * startup.el (command-line): Recompute abbrev-file-name and
15325 abbreviated-home-dir.
15326 (normal-no-mouse-startup-screen): Improve the generic code and get rid
15327 of the special code for when C-h bindings haven't been changed.
15328 (display-startup-echo-area-message): Use with-current-buffer.
15329 (command-line-1): Use a list of strings, rather than a list of lists
15330 of strings for longopts.
15332 * files.el (get-free-disk-space): Use / for default-directory.
15334 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
15335 Use with-current-buffer.
15337 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
15338 Recognize immutable variables like most-positive-fixnum.
15339 (byte-compile-setq-default): Check and warn if trying to assign
15340 to an immutable variable, or a non-variable.
15342 * progmodes/cc-vars.el (c-comment-continuation-stars):
15343 * progmodes/cc-engine.el (c-looking-at-bos):
15344 * progmodes/cc-cmds.el (c-toggle-auto-state)
15345 (c-forward-into-nomenclature, c-backward-into-nomenclature)
15346 (c-comment-line-break-function): Add version of obsolescence.
15348 2009-08-28 Juri Linkov <juri@jurta.org>
15350 * files.el (magic-fallback-mode-alist): Add ZIP magic number
15351 associated with `archive-mode'.
15353 * image.el (image-type-header-regexps): Use only JPEG magic number
15354 to determine JPEG images, and don't use `image-jpeg-p' because
15355 Emacs can display non-JFIF non-Exif JPEG images.
15357 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15359 * arc-mode.el (archive-mode):
15360 * emacs-lisp/re-builder.el (re-builder-unload-function):
15361 Protect against the default value of `major-mode' being nil.
15363 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15365 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
15366 Fix typos in docstrings.
15368 * progmodes/js.el (js--macro-decl-re): Doc fix.
15369 (js--plain-method-re, js--split-name): Refloc docstring.
15370 (js--class-styles, js--make-merged-item, js--splice-into-items):
15371 Fix typos in docstrings; reflow docstrings.
15372 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
15373 (js--variable-decl-matcher, js--inside-pitem-p)
15374 (js--parse-state-at-point, js--get-all-known-symbols)
15375 (js--symbol-history, js-find-symbol, js--js-references)
15376 (js--moz-interactor, js--js-encode-value, js--read-tab):
15377 Fix typos in docstrings.
15379 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15381 * textmodes/reftex.el (reftex-get-file-buffer-force):
15382 * progmodes/verilog-mode.el (verilog-batch-execute-func):
15383 * emulation/viper.el (viper-go-away, viper-set-hooks):
15384 * emacs-lisp/re-builder.el (re-builder-unload-function):
15385 * emacs-lisp/bytecomp.el (byte-compile-file):
15386 * ses.el (ses-unload-function):
15387 * hexl.el (hexl-find-file):
15388 * files.el (normal-mode):
15389 * ehelp.el (with-electric-help):
15390 * autoinsert.el (auto-insert-alist):
15391 * arc-mode.el (archive-mode):
15392 Use (default-value 'major-mode) instead of default-major-mode.
15394 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
15395 * international/mule.el (load-with-code-conversion):
15396 * emacs-lisp/debug.el (debug):
15397 * ediff-vers.el (ediff-rcs-get-output-buffer):
15398 * dired.el (dired-internal-noselect): Don't let-bind
15399 default-major-mode around code that doesn't use it.
15400 E.g. buffer creation via get-buffer-create doesn't use it.
15402 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
15404 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
15405 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
15406 when writing the temp file. Otherwise, epa-file gets confused.
15407 (tramp-register-file-name-handlers): Make it a defun. Move also
15408 `epa-file-handler' to the front of `file-name-handler-alist'.
15410 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15412 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
15413 start right after a ^M.
15414 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
15415 (tramp-completion-file-name-regexp-separate)
15416 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
15417 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
15418 Don't modify last-coding-system-used by accident.
15419 (tramp-completion-file-name-handler): Apply the checks here,
15420 instead during registration.
15421 (tramp-register-file-name-handlers): Renamed from
15422 `tramp-register-file-name-handler'. Register both
15423 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
15424 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
15426 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
15428 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
15429 Remove variable ...
15430 (gdb-init-1, gdb-display-separate-io-buffer)
15431 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
15433 (gdb-inferior-io-mode): Use make-comint-in-buffer.
15434 (gdb-inferior-filter): Use comint-output-filter to stop
15435 echoing and remove ^M characters.
15437 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15439 * emulation/viper-init.el (viper-restore-cursor-type):
15440 * emulation/cua-base.el (cua--update-indications):
15441 Replace default-cursor-type with (default-value 'cursor-type).
15443 * mail/sendmail.el (mail-recover-1):
15444 * international/mule-diag.el (describe-current-coding-system-briefly)
15445 (describe-current-coding-system):
15446 * international/mule-cmds.el (select-safe-coding-system)
15447 (select-message-coding-system)
15448 (set-language-environment-coding-systems, set-locale-environment):
15449 * hexl.el (hexl-insert-multibyte-char):
15450 * dos-w32.el (find-buffer-file-type-coding-system):
15451 * simple.el (what-cursor-position):
15452 Replace uses of default-buffer-file-coding-system
15453 with (default-value 'buffer-file-coding-system).
15455 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
15456 Replace uses of default-cursor-in-non-selected-windows
15457 with (default-value 'cursor-in-non-selected-windows).
15458 Use with-current-buffer.
15460 * mail/feedmail.el: Use CL macros.
15461 (feedmail-run-the-queue, feedmail-send-it-immediately):
15462 * dos-w32.el (find-buffer-file-type): Replace uses of
15463 default-buffer-file-type with (default-value 'buffer-file-type).
15465 2009-08-28 Glenn Morris <rgm@gnu.org>
15467 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
15468 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
15469 Use default-value of major-mode rather than default-major-mode.
15471 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15473 * Makefile.in (update-elcfiles): Report left over elc files.
15475 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
15476 expand-file-name and with-current-buffer.
15477 (mail-get-names, mail-directory): Use with-current-buffer.
15479 * vc.el (vc-read-revision): New function.
15480 (vc-version-diff, vc-merge): Use it.
15482 2009-08-27 Sam Steingold <sds@gnu.org>
15484 * simple.el (kill-do-not-save-duplicates): New user option.
15485 (kill-new): When it is non-nil, and the new string is the same as
15486 the latest kill, set replace to t to avoid duplicates in kill-ring.
15488 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
15490 * net/tramp.el (tramp-handle-process-file): Do not flush all
15491 caches when `process-file-side-effects' is set.
15492 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
15493 instead of `tramp-find-file-exists-command'.
15494 Unset `process-file-side-effects'.
15496 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
15498 * net/tramp.el (tramp-methods): New method "rsyncc".
15499 (top): Add completion function for "rsyncc".
15500 (tramp-message-show-message): New defvar.
15501 (tramp-message, tramp-error): Use it.
15502 (tramp-do-copy-or-rename-file-directly): Extend check for direct
15504 (tramp-do-copy-or-rename-file-out-of-band): Handle new
15505 `tramp-methods' entry `copy-env' of "rsyncc".
15506 (tramp-vc-registered-read-file-names): New defconst.
15507 (tramp-vc-registered-file-names): New defvar.
15508 (tramp-handle-vc-registered): Implement optimization strategy.
15509 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
15510 (tramp-vc-file-name-handler): New defun.
15511 (tramp-get-ls-command, tramp-get-test-command)
15512 (tramp-get-file-exists-command, tramp-get-remote-ln)
15513 (tramp-get-remote-perl, tramp-get-remote-stat)
15514 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
15516 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
15517 (tramp-cache-inhibit-cache): Extend doc string. It allows also
15519 (tramp-get-file-property): Check for timestamps in
15520 `tramp-cache-inhibit-cache'.
15521 (tramp-set-file-property): Write timestamp.
15523 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15525 * language/japan-util.el (japanese-symbol-table): Add entries for
15528 * international/characters.el: Add category `j' to cp932-2-byte.
15530 2009-08-27 Kenichi Handa <handa@m17n.org>
15532 * international/fontset.el (build-default-fontset-data): New macro.
15533 (setup-default-fontset): Use build-default-fontset-data for CJK,
15534 tibetan, ethiopic, and ipa.
15536 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15538 * cus-start.el (default-major-mode): Customize `major-mode' instead.
15539 (enable-multibyte-characters): Not customizable any more.
15541 * subr.el (default-mode-line-format, default-header-line-format)
15542 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
15543 (default-direction-reversed, default-truncate-lines)
15544 (default-left-margin, default-tab-width, default-case-fold-search)
15545 (default-left-margin-width, default-right-margin-width)
15546 (default-left-fringe-width, default-right-fringe-width)
15547 (default-fringes-outside-margins, default-scroll-bar-width)
15548 (default-vertical-scroll-bar, default-indicate-empty-lines)
15549 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
15550 (default-fringe-cursor-alist, default-scroll-up-aggressively)
15551 (default-scroll-down-aggressively, default-fill-column)
15552 (default-cursor-type, default-buffer-file-type)
15553 (default-cursor-in-non-selected-windows)
15554 (default-buffer-file-coding-system, default-major-mode)
15555 (default-enable-multibyte-characters): Mark as obsolete.
15557 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
15559 * vc-dir.el (vc-dir-update): Remove debug helper.
15561 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
15563 2009-08-26 Sam Steingold <sds@gnu.org>
15565 * simple.el (save-interprogram-paste-before-kill): New user option.
15566 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
15567 save the interprogram-paste into kill-ring before overriding it
15568 with the Emacs kill.
15570 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
15572 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
15573 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
15574 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
15575 and move to vc-rcs.el.
15576 (vc-default-next-revision): Rename to vc-rcs-next-revision and
15578 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
15579 (vc-rcs-update-changelog): Remove.
15580 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
15581 and move to vc-rcs.el.
15583 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
15584 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
15586 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
15587 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
15588 vc.el, renamed to be RCS specific.
15590 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
15592 (vc-cvs-update-changelog): Move here from vc.el.
15594 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
15597 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
15599 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
15601 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
15603 * vc-git.el (vc-git-register): Use "git add" for directories.
15604 (vc-git-stash, vc-git-stash-show): New functions.
15605 (vc-git-extra-menu-map): Bind them.
15607 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
15608 directory correctly in case the item is a directory itself.
15610 * vc.el: Document the desired behavior for reverted files in the
15612 (vc-default-prettify-state-info): Remove function, unused.
15614 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
15616 2009-08-26 Glenn Morris <rgm@gnu.org>
15618 * bindings.el (standard-mode-line-format): Reposition dashes in
15619 which-func entry. (Bug#4217)
15621 * files.el (enable-local-variables, enable-local-eval)
15622 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
15624 (auto-mode-alist, ignored-local-variables)
15625 (save-some-buffers-action-alist): Move risky declarations to the
15627 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
15628 (font-lock-defaults, format-alist, imenu--index-alist)
15629 (imenu-generic-expression, input-method-alist, minor-mode-alist)
15630 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
15631 (mode-line-modified, mode-line-mule-info, mode-line-position)
15632 (mode-line-process, mode-line-remote, outline-level)
15633 (parse-time-rules, rmail-output-file-alist)
15634 (special-display-buffer-names, vc-mode):
15635 Move risky declarations to the relevant files.
15636 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
15637 (mode-line-modified, mode-line-process, mode-line-position)
15638 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
15639 * font-core.el (font-lock-defaults):
15640 * format.el (format-alist):
15641 * vc-hooks.el (vc-mode):
15642 * window.el (special-display-buffer-names):
15643 * international/mule-cmds.el (input-method-alist):
15644 Define riskiness here (dumped file) rather than in files.el.
15645 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
15646 * imenu.el (imenu-generic-expression, imenu--index-alist):
15647 * outline.el (outline-level):
15648 * time.el (display-time-string):
15649 * calendar/parse-time.el (parse-time-rules):
15650 * mail/rmailout.el (rmail-output-file-alist):
15651 Autoload riskiness here, rather than placing in files.el.
15653 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
15655 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
15657 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
15659 * simple.el (process-file-side-effects): New defvar.
15661 * dired-aux.el (dired-show-file-type):
15662 * vc.el (vc-diff-internal):
15663 * vc-arch.el (vc-arch-diff):
15664 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
15665 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
15666 * vc-git.el (vc-git-registered, vc-git-working-revision)
15667 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
15668 (vc-git--empty-db-p):
15669 * vc-hooks.el (vc-user-login-name):
15670 * vc-svn.el (vc-svn-registered, vc-svn-state)
15671 (vc-svn-dir-extra-headers, vc-svn-find-revision):
15672 * progmodes/grep.el (grep-probe): Let-bind
15673 `process-file-side-effects' with nil.
15675 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
15677 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
15678 daemon. Replace ping by checking for running service for bluez
15679 and zeroconf. (Bug#4239)
15681 2009-08-25 Kevin Ryde <user42@zip.com.au>
15683 * net/dig.el (dig): Add autoload cookie.
15685 2009-08-25 Glenn Morris <rgm@gnu.org>
15687 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
15688 load-history for absolute file-names.
15689 (byte-compile-file-form-require): Warn about use of the cl package.
15691 * format.el (format-alist): Doc fix.
15693 * play/bubbles.el (top-level): Don't require cl at run-time.
15695 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
15698 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
15700 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
15702 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
15704 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
15706 * calc/calc-alg.el (math-trig-rewrite)
15707 (math-hyperbolic-trig-rewrite): New functions.
15708 (calc-simplify): Simplify trig functions when asked.
15710 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15712 * diff-mode.el (diff-find-source-location): Avoid goto-line.
15714 2009-08-24 Kenichi Handa <handa@m17n.org>
15716 * language/ind-util.el (mapthread): Delete it.
15717 (combinatorial): New function.
15718 (indian--puthash-cv): Use combinatorial instead of mapthread.
15720 2009-08-22 Kevin Ryde <user42@zip.com.au>
15722 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
15723 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
15724 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
15725 Clarify docstring that the value is strings not symbols.
15726 (checkdoc-list-of-strings-p): New function.
15728 2009-08-22 Glenn Morris <rgm@gnu.org>
15730 * files.el (auto-mode-alist):
15731 * hippie-exp.el (he-concat-directory-file-name):
15732 * lpr.el (lpr-windows-system, printer-name):
15733 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
15734 * ps-print.el (ps-windows-system):
15735 * startup.el (command-line):
15736 * emulation/viper-ex.el (viper-glob-function):
15737 * international/mule-cmds.el (set-language-environment-coding-systems):
15738 * net/ange-ftp.el (ange-ftp-write-region):
15739 * obsolete/fast-lock.el (fast-lock-cache-name):
15740 Remove code for defunct system-types emx, macos, mswindows, next-mach,
15741 unisoft-unix, vax-vms, win32, w32.
15743 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
15744 given name if the pattern is not more specific.
15746 * calendar/lunar.el (lunar-phase-names): New option.
15747 (lunar-phase): Doc fix.
15748 (lunar-cycles-per-year): New constant.
15749 (lunar-index): New function.
15750 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
15751 (lunar-phase-name): Use lunar-phase-names.
15752 (calendar-lunar-phases): Use format.
15753 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
15755 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
15756 Copy imenu-example--name-and-position function here for own use.
15757 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
15759 * bs.el (bs--redisplay):
15760 * cus-edit.el (custom-redraw):
15761 * ibuffer.el (ibuffer-bury-buffer):
15762 * server.el (server-goto-line-column):
15763 * startup.el (command-line-1):
15764 * strokes.el (strokes-xpm-for-stroke):
15765 * term.el (term-display-buffer-line):
15766 * view.el (View-goto-line):
15767 * calc/calc.el (calc-do, calc-trail-buffer):
15768 * play/gamegrid.el (gamegrid-add-score-insecure):
15769 * progmodes/ada-mode.el (ada-compile-goto-error):
15770 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
15771 (ebrowse-select-1st-to-9nth):
15772 * progmodes/cperl-mode.el (cperl-time-fontification):
15773 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
15774 * progmodes/gud.el (gud-display-line):
15775 (idlwave-shell-display-line):
15776 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
15777 * progmodes/make-mode.el (makefile-browser-toggle):
15778 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
15779 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
15780 * textmodes/picture.el (picture-draw-rectangle):
15781 * textmodes/reftex-index.el (reftex-index-goto-letter):
15782 (reftex-select-jump-to-previous):
15783 * textmodes/reftex-sel.el (reftex-find-start-point)
15784 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
15785 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
15786 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
15787 * textmodes/tex-mode.el (tex-compilation-parse-errors):
15788 * textmodes/two-column.el (2C-associated-buffer):
15789 Use forward-line rather than goto-line.
15791 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
15794 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
15795 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
15796 (quick-check-list-to-regexp): Declare.
15798 * progmodes/make-mode.el (makefile-browser-insert-selection):
15799 Use goto-char rather than goto-line.
15801 * progmodes/prolog.el (compilation-error-regexp-alist)
15802 (compilation-forget-errors): Declare.
15804 2009-08-22 Juri Linkov <juri@jurta.org>
15806 * progmodes/grep.el (lgrep, rgrep): At the beginning
15807 set `dir' to `default-directory' unless `dir' is a non-nil
15808 readable directory. (Bug#4052)
15809 (lgrep, rgrep): Change a weird way to report an error
15810 from using `read-string' to using `error'.
15811 Instead of using interactive arguments in the function body,
15812 add new argument `confirm'.
15814 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
15816 * textmodes/remember.el (remember-buffer):
15817 * progmodes/cperl-mode.el (cperl-vc-header-alist):
15818 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
15819 (icalendar-extract-ical-from-buffer):
15820 * net/newst-treeview.el (newsticker-groups-filename):
15821 * net/newst-backend.el (newsticker-cache-filename):
15822 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
15823 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
15824 (speedbar-add-ignored-path-regexp, speedbar-line-path)
15825 (speedbar-buffers-line-path, speedbar-path-line)
15826 (speedbar-buffers-line-path):
15827 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
15829 * epa.el (epa-display-verify-result):
15830 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
15832 2009-08-21 Glenn Morris <rgm@gnu.org>
15834 * progmodes/js.el (inferior-moz-process): Fix declaration.
15836 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
15838 * obsolete/rnewspost.el (news-mail-reply):
15839 Use goto-char rather than goto-line.
15841 * term/ns-win.el (ns-open-file-select-line):
15842 Use line-beginning-position rather than goto-line.
15844 * apropos.el (apropos-command):
15845 * ehelp.el (electric-helpify):
15846 * printing.el (pr-show-setup):
15847 * strokes.el (strokes-help):
15848 * tutorial.el (tutorial--describe-nonstandard-key)
15849 (tutorial--detailed-help):
15850 * woman.el (woman-mini-help, woman-display-extended-fonts):
15851 * calc/calc-help.el (calc-describe-key):
15852 * emulation/edt.el (edt-electric-helpify):
15853 * international/mule-diag.el (mule-diag):
15854 * play/yow.el (apropos-zippy):
15855 * progmodes/python.el (python-describe-symbol):
15856 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
15857 * textmodes/table.el (*table--cell-describe-mode)
15858 (*table--cell-describe-bindings):
15859 Use help-print-return-message rather than the now obsolete alias.
15861 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
15862 (calendar-cursor-to-visible-date):
15863 * play/5x5.el (5x5-position-cursor):
15864 * play/decipher.el (decipher):
15865 * play/gomoku.el (gomoku-goto-xy):
15866 * play/landmark.el (lm-goto-xy):
15867 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
15868 (mpuz-paint-digit):
15869 Use forward-line, not goto-line.
15871 * mail/rmail.el (rmail-obsolete): Delete custom group.
15872 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
15873 (rmail-remote-password, rmail-remote-password-required):
15874 Remove unneeded :set-after and :set properties.
15876 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
15878 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
15880 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
15882 * loadup.el: Remove leftover macos code.
15884 * vc-git.el (vc-git-annotate-command): Run asynchronously.
15885 Explicitly pass the date format to git blame so that user local
15886 so that the output format can be parsed.
15888 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
15890 * net/dbus.el (top): Don't check for (getenv
15891 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
15893 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
15895 * log-edit.el (log-edit-strip-single-file-name): New var.
15896 (log-edit-insert-changelog): Use it. Bug#3571
15898 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15900 * subr.el (read-passwd): Use read-key so keypad keys work as well.
15903 * help.el (help-print-return-message): Rename from
15904 print-help-return-message.
15906 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
15907 cvs-mode-map parent hack.
15908 (log-view-mode): Derive from special-mode.
15910 * linum.el (linum-mode): window-size-change-functions is redundant.
15911 Adapt to new window-configuration-change-hook behavior.
15912 (linum-after-size, linum-after-config): Remove.
15914 * imenu.el (imenu-example--name-and-position)
15915 (imenu-example--lisp-extract-index-name)
15916 (imenu-example--create-lisp-index, imenu-example--create-c-index):
15919 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
15920 (inferior-prolog-mode): Use it.
15921 (inferior-prolog-load-file): Reset list of errors.
15923 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15925 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
15927 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
15929 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
15931 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
15932 is running already.
15934 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15936 * subr.el (listify-key-sequence-1): Use normal syntax since those
15937 integers are nowadays always represented by the same (positive) number
15939 (read-key-empty-map): New const.
15940 (read-key-delay): New var.
15941 (read-key): New function.
15942 (force-mode-line-update): Use with-current-buffer.
15943 (locate-user-emacs-file): Don't forget to abbreviate the file name.
15944 (start-process-shell-command, start-file-process-shell-command):
15945 Discourage the use of command-args.
15947 2009-08-19 Glenn Morris <rgm@gnu.org>
15949 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
15951 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15953 * simple.el (choose-completion-string): Don't rely on
15954 minibuffer-completing-file-name and ad-hoc checks to decide whether
15955 to continue completion or not.
15957 * minibuffer.el (minibuffer-hide-completions): New function.
15958 (completion--do-completion): Use it.
15959 (completions-annotations): New face.
15960 (completion--insert-strings): Use it.
15961 (completion-pcm--delim-wild-regex): Add docstring.
15962 (completion-pcm--string->pattern): Add support for 0-width delimiters
15963 in completion-pcm--delim-wild-regex.
15965 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
15967 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
15968 Remove unused var `buffer-modified-p'.
15970 * minibuffer.el (completion--do-completion): Move point for the #b001
15971 case as well (bug#4176).
15972 (minibuffer-complete, minibuffer-complete-word): Don't move point.
15974 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
15976 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
15977 and :session buses.
15979 2009-08-18 Kenichi Handa <handa@m17n.org>
15981 * international/ucs-normalize.el (ucs-normalize-version):
15983 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
15984 (utf-8-hfs): Make it perform normalization on encoding too.
15986 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
15987 (sentence-end-without-space): Delete duplicated chars.
15988 (sentence-end-base): Likewise.
15990 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
15991 (html-mode): Delete duplicated chars from sentence-end-base.
15993 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
15994 (texinfo-mode): Delete duplicated chars from sentence-end-base.
15996 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
15998 * files.el (hack-one-local-variable): If the mode function is for
15999 a minor mode, pass it an argument (Bug#4148).
16001 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
16003 * net/tramp.el (tramp-register-completion-file-name-handler):
16004 Check also for (member 'partial-completion completion-styles).
16006 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16008 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16011 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
16013 * progmodes/cperl-mode.el: Merge upstream 6.2.
16014 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16015 (cperl-forward-re): Check cperl-brace-recursing.
16016 (cperl-highlight-charclass): New function.
16017 (cperl-find-pods-heres): Use it.
16018 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16019 (cperl-beautify-regexp-piece): Fix column calculation.
16020 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16021 (cperl-beautify-level): Don't process entire regexp.
16022 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16024 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16025 (cperl-init-faces): Build a list in the normal way.
16027 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16029 * calendar/parse-time.el (parse-time-string-chars): Save match
16032 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
16034 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16035 (sql-product): Use it.
16036 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16037 (sql-set-product): Add completion.
16038 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16039 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16040 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16041 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16042 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16043 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16044 (sql-highlight-db2-keywords): Remove.
16045 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16046 (sql-highlight-product): Use derived-mode-p.
16047 (sql-set-sqli-buffer): Use with-current-buffer.
16048 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16051 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16053 * term.el: Fix commenting convention, turn comments into docstrings.
16055 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16057 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16059 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
16061 * calendar/parse-time.el (parse-time-string-chars): Compute using
16062 character classes, to handle non-ascii characters (Bug#3190).
16064 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16066 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16067 another heredoc if the user adds another < (Bug#3226).
16069 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16070 Don't initialize based on window-system (Bug#4124).
16072 * facemenu.el (facemenu-read-color): Use a completion function
16073 that accepts any defined color, such as RGB triplets (Bug#3677).
16075 * files.el (get-free-disk-space): Change fallback default
16076 directory to /. Expand DIR argument before switching to fallback.
16077 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
16079 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16081 * files.el (load-library): Doc fix.
16083 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
16085 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
16086 (viper-if-string): Redefine C-s in the minibuffer to insert the last
16087 incremental search string.
16089 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
16092 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
16093 (ediff-merge-region-is-non-clash)
16094 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
16095 Also check if the job is really a merge job.
16097 * ediff.el (ediff-current-file): New function.
16099 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16101 * progmodes/js.el: Edit docstrings throughout to follow Emacs
16103 (js-insert-and-indent): Delete function.
16104 (js-mode-map): Don't bind keys to js-insert-and-indent.
16105 (js-beginning-of-defun): Rename from js--beginning-of-defun.
16106 (js-end-of-defun): Rename from js--end-of-defun.
16107 (js-auto-indent-flag): Delete variable.
16109 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
16111 * progmodes/js.el: Remove proclaim statement.
16112 Defvar which-func-imenu-joiner-function to silence compiler.
16114 * files.el (auto-mode-alist): Use js-mode for .js files.
16116 * progmodes/js2-mode.el: Remove file.
16118 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
16120 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
16122 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
16124 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
16125 Karl Landstrom <karl.landstrom@brgeight.se>
16127 * progmodes/js.el: New file.
16129 2009-08-14 Mark A. Hershberger <mah@everybody.org>
16131 * timezone.el (timezone-parse-date): Add ability to understand ISO
16132 basic format (minimal separators) dates in addition to the
16133 already-supported extended format dates.
16135 2009-08-14 Eli Zaretskii <eliz@gnu.org>
16137 * international/ucs-normalize.el: Add a `coding' file variable.
16139 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
16141 2009-08-14 Sam Steingold <sds@gnu.org>
16143 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
16145 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
16147 * faces.el (help-argument-name): Define it here instead of
16148 help-fns.el, because in daemon mode help-fns.el may be loaded when
16149 faces are still uninitialized (Bug#1078).
16151 * help-fns.el (help-argument-name): Move defface to faces.el.
16153 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
16155 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
16156 create buffer with a pty but no process so that GDB can make the
16157 inferior the controlling process.
16159 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
16161 * international/ucs-normalize.el: New file.
16163 2009-08-13 Richard Stallman <rms@gnu.org>
16165 * mail/rmail.el (rmail-get-attr-names):
16166 Accept an attribute header that is too short.
16168 * mail/rmail.el (rmail-forget-messages):
16169 Ignore nil elt in rmail-message-vector. Use dotimes.
16171 * progmodes/compile.el (compilation-goto-locus):
16172 Use next-error-move-function.
16174 * simple.el (next-error-move-function): New variable.
16176 2009-08-12 Juri Linkov <juri@jurta.org>
16178 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
16179 always non-nil. (Bug#4052)
16181 * replace.el (read-regexp): Return empty string when
16182 `default-value' is nil.
16183 (keep-lines-read-args): Don't use empty string as the
16184 default value for `read-regexp'. (Bug#2495)
16186 2009-08-12 Juri Linkov <juri@jurta.org>
16188 * international/mule-cmds.el (ucs-insert): Change arguments
16189 from `arg' to `character', `count', `inherit' to be the same
16190 as in `insert-char'. Doc fix. (Bug#4039)
16192 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
16194 2009-08-12 Juri Linkov <juri@jurta.org>
16196 * files-x.el: New file.
16198 * files.el: Move code that deals with adding/deleting
16199 file/directory-local variables to files-x.el.
16201 * Makefile.in (ELCFILES): Add files-x.elc.
16203 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
16205 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
16206 to use `goto-line'.
16207 (gdb-place-breakpoints, gdb-get-location): Rewritten without
16209 (gdb-invalidate-disassembly): Do not refresh upon receiving
16210 'update signal. Instead, update all disassembly buffers only after
16212 (gdb): Send -target-detach when buffer is killed (Bug#3794).
16213 (gdb-starting): Moved -data-list-register-names...
16214 (gdb-stopped): ...here so it's sent when first thread stops.
16215 (gdb-registers-handler-custom): Do nothing if register names are
16218 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
16219 from `gdb-mi.el' to avoid extra tangling.
16221 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
16222 change which breaks `gud-def' definitions used in `gdb'.
16223 (gdb-update-gud-running): No extra fuss for updating frame number.
16225 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
16227 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
16228 (describe-language-environment-map, setup-language-environment-map)
16229 (set-coding-system-map): Move initialization into declaration.
16230 (set-language-info-alist): Last arg to define-key-after can be skipped.
16232 * international/quail.el (quail-completion-1): Simplify.
16233 (quail-define-rules): Use slightly more compact code.
16234 (quail-insert-decode-map): Propertize keys, compact columns.
16236 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16239 2009-08-10 Miles Bader <miles@gnu.org>
16241 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
16242 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
16243 (js2-instance-member, js2-private-member, js2-private-function-call)
16244 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
16245 (js2-magic-paren, js2-external-variable):
16246 Remove "-face" suffix from face names.
16247 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
16248 (js2-highlight-undeclared-vars, js2-peek-token)
16249 (js2-parse-function-params, js2-mode-show-errors)
16250 (js2-mode-show-warnings, js2-make-magic-delimiter)
16251 (js2-mode-highlight-magic-parens): Update to use new face names.
16253 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
16255 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
16256 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
16258 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
16260 * subr.el: Provide hashtable-print-readable.
16262 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
16263 hs-c-like-adjust-block-beginning.
16264 (hs-hide-block-at-point): Stop hiding at the beginning of
16265 hs-block-end-regexp (Bug#700).
16267 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
16269 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
16271 (gdb-registers-handler-custom): Do not fail when register names
16274 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16276 * progmodes/gdb-mi.el (gdb-control-all-threads)
16277 (gdb-control-current-thread): Interactive setters for
16278 `gdb-gud-control-all-threads' to use in menu.
16279 (gdb-show-run-p): Show «Go» when process is not active.
16280 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
16281 gud/thread.xpm and gud/all.xpm.
16283 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
16285 * net/net-utils.el (net-utils-font-lock-keywords): New var.
16286 (nslookup-font-lock-keywords): Make it a variable.
16287 (net-utils-mode): New mode for viewing diagnostic network output.
16288 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
16289 (net-utils-run-simple): New function.
16290 (ifconfig, iwconfig, netstat, arp, route): Use it.
16292 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16294 * progmodes/gdb-mi.el (gdb-read-memory-custom)
16295 (gdb-memory-set-address, def-gdb-set-positive-number)
16296 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
16297 after changing settings.
16298 (gdb-invalidate-disassembly): Update when first shown.
16299 (gdb-edit-locals-value): Fixed.
16300 (gdb-registers-handler-custom): Print registers in right order and
16301 allow changing register values (only for current thread yet).
16302 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
16303 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
16304 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
16305 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
16307 (gdb-registers-mode-map): TAB to switch to locals.
16309 2009-08-08 Eli Zaretskii <eliz@gnu.org>
16311 * mail/rmail.el (rmail-add-mbox-headers)
16312 (rmail-set-message-counters-counter): Search for
16313 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
16315 2009-08-08 Glenn Morris <rgm@gnu.org>
16317 * Makefile.in (ELCFILES): Update.
16319 2009-08-07 Eli Zaretskii <eliz@gnu.org>
16321 * mail/sendmail.el (mail-yank-original): Set
16322 buffer-file-coding-system from the one used by the message whose
16325 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
16326 to "windows" when "pgnuplot" is used.
16327 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
16328 call accept-process-output if "pgnuplot" is used.
16329 (calc-graph-init): Don't send -display and -geometry to
16330 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
16331 running "pgnuplot -V" with shell-command-to-string.
16333 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
16336 2009-08-07 Eli Zaretskii <eliz@gnu.org>
16338 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
16341 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
16343 * vc-dispatcher.el (vc-resynch-window): Update comment.
16345 * term.el (term-handle-ansi-escape): Add comments with the
16346 terminfo capabilities implemented.
16348 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
16350 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
16351 (gdb-var-create-handler): Rewritten using JSON parser.
16352 (gdb-propertize-header): Moved earlier.
16353 (gdb-set-header): Removed to avoid duplication.
16354 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
16355 Refresh disassembly buffers only after threads list have been
16357 (gdb-threads-header, gdb-registers-header): Per-buffer header line
16360 2009-08-04 Juri Linkov <juri@jurta.org>
16362 * files.el: Commands to add/delete file/directory-local variables.
16363 (read-file-local-variable, read-file-local-variable-value)
16364 (read-file-local-variable-mode, modify-file-local-variable)
16365 (modify-file-local-variable-prop-line)
16366 (modify-dir-local-variable): New functions.
16367 (add-file-local-variable, delete-file-local-variable)
16368 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
16369 (add-dir-local-variable, delete-dir-local-variable)
16370 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
16371 (copy-dir-locals-to-file-locals-prop-line): New commands.
16373 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
16375 * abbrev.el (insert-abbrev-table-description): Prettify output.
16376 Suggested by Karl Chen.
16378 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
16380 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
16381 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
16382 (gdb-overlay-arrow-position, gdb-thread-position)
16383 (gdb-disassembly-position): Declare variables.
16384 (gdb-wait-for-pending): Function now.
16385 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
16386 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
16387 compilation goes smoothly.
16388 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
16389 (gdb-non-stop-setting): New customization setting which replaces
16390 `gdb-non-stop' so changing it doesn't break active GDB session.
16391 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
16392 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
16393 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
16394 (gdb-show-threads-by-default): New customization options.
16395 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
16397 (gdb-get-buffer-create): Send buffers update signal when they are
16399 (gdb-invalidate-locals, gdb-invalidate-registers)
16400 (gdb-invalidate-breakpoints)
16401 (gdb-invalidate-threads, gdb-invalidate-disassembly)
16402 (gdb-invalidate-memory): Accept update signal.
16403 (gdb-current-context-command): Use --frame option.
16404 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
16405 Implement `gdb-frame-number' selection logic.
16406 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
16407 whether to show GUD toolbar buttons.
16408 (gdb-thread-exited): Unselect current thread when it exits.
16409 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
16410 (gdb-mark-line): Routine which sets overlay arrow or inverses
16411 video on fringeless displays.
16412 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
16413 to build aligned columns of data in GDB buffers and set text
16414 properties line-by-line.
16415 (gdb-invalidate-breakpoints)
16416 (gdb-breakpoints-list-handler-custom)
16417 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
16418 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
16419 (gdb-registers-handler-custom): Align data columns.
16420 (gdb-locals-handler-custom): Now prints data like in variable
16422 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
16423 Removed confusing buttons.
16424 (gdb-invalidate-threads): Append --frame.
16425 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
16426 between breakpoints/threads buffers.
16427 (gdb-set-window-buffer): Now can ignore dedicated windows.
16428 (gdb-propertize-header): Use `gdb-set-window-buffer'.
16429 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
16430 (def-gdb-thread-buffer-gud-command): Replaces
16431 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
16432 for fine thread control.
16433 (gdb-preempt-existing-or-display-buffer): New function used to
16434 display bound buffers without breaking window layout.
16435 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
16436 (gdb-select-frame): New version of `gdb-frames-select' which now
16437 sets `gdb-frame-number' so commands may use --frame option instead
16438 of inner debugger state.
16439 (gdb-frame-handler): Do not set `gdb-frame-number'.
16440 (gdb-threads-mode-map): Select threads with mouse.
16442 * progmodes/gud.el (gdb-gud-context-call): Declare function to
16443 avoid compilation warning.
16444 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
16447 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
16448 Argument `key' renamed to `buffer-type'.
16449 (gdb-current-context-buffer-name): Do not add thread info to
16450 buffer name when no thread is selected.
16451 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
16452 command (bug 3794).
16453 (gdb-thread-selected): Handle `=thread-selected' notification.
16454 (gdb-wait-for-pending): New macro to deal with congestion problems.
16455 (gdb-breakpoints-list-handler-custom): Don't fail on pending
16457 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
16458 This fixes problem similar to one described in bug 3947.
16459 (gud-menu-map): More menu items.
16460 (gdb-init-1): Reset `gdb-thread-number' to nil.
16462 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
16465 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
16466 (gdb-current-context-command): Do not append --thread if
16467 `gdb-thread-number' is nil.
16468 (gdb-running-threads-count, gdb-stopped-threads-count): New
16470 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
16471 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
16472 customization options.
16473 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
16475 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
16476 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
16477 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
16478 set `gdb-thread-number' and update `gud-running' properly.
16479 (gdb-running): Update threads list when new threads appear.
16480 (gdb-stopped): Support non-stop operation and new thread switching
16482 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
16483 (gdb-json-partial-output): New set of JSON routines.
16484 (def-gdb-auto-update-trigger): New `signal-list' optional
16486 (gdb-thread-list-handler-custom): Update `gud-running',
16487 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
16488 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
16489 (gdb-continue-thread, gdb-step-thread): New commands for fine
16490 thread execution control.
16491 (gud-menu-map): New menu items to switch non-stop options.
16492 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
16493 (gdb-send): Mimic RET properly (bug 3794).
16495 * progmodes/gdb-mi.el (gdb-rules-name-maker)
16496 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
16498 (def-gdb-auto-update-handler): New nopreserve optional argument.
16499 (gdb-stack-list-frames-custom): Print stack from top to bottom.
16501 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
16502 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
16503 (gdb-parent-mode): New mode to derive other GDB modes from.
16504 (gdb-display-disassembly-for-thread)
16505 (gdb-frame-disassembly-for-thread): New commands for threads
16508 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
16509 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
16510 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
16511 (gdb-update): We now store all GDB buffers in a list so that they
16512 can be updated by traversing a list instead of calling invalidate
16513 triggers explicitly.
16514 (def-gdb-trigger-and-handler): New macro to define trigger-handler
16515 pair for GDB buffer.
16516 (gdb-stack-buffer-name): Add thread information.
16517 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
16518 handle pending triggers.
16519 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
16520 (def-gdb-thread-buffer-simple-command)
16521 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
16522 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
16523 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
16524 New commands which show buffers bound to thread.
16525 (gdb-stack-list-locals-regexp): Removed unused regexp.
16527 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
16528 (gdb-locals-buffer-name, gdb-registers-buffer-name)
16529 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
16530 to (gud-comint-buffer) in *-buffer-name functions
16531 because (gdb-get-target-string) already does that.
16532 (gdb-locals-handler-custom, gdb-registers-handler-custom)
16533 (gdb-changed-registers-handler): Rewritten without regexps.
16535 * progmodes/gdb-mi.el: Basic thread selection support.
16536 (gdb-thread-number): New variable.
16537 (gdb-current-context-command): New macro which adds --thread
16539 (gdb-threads-mode-map): Select thread with SPC.
16540 (gdb-thread-list-handler-custom): Mark current thread with overlay
16541 arrow. Synchronize GDB thread and Emacs thread.
16542 (gdb-select-thread): New command which selects current thread.
16543 (gdb-invalidate-frames, gdb-invalidate-locals)
16544 (gdb-invalidate-registers): Use --thread option.
16546 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
16548 * net/tramp.el (top): Make check for tramp-gvfs loading more
16550 (tramp-handle-insert-file-contents): `unwind-protect' must be
16551 inside `with-parsed-tramp-file-name'.
16553 * net/tramp-gvfs.el (top): Remove superfluous message when loading
16556 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
16558 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
16559 directory if CLASSPATH is not set.
16561 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
16563 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
16565 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
16567 2009-08-02 Kevin Ryde <user42@zip.com.au>
16569 * net/newst-backend.el (newsticker--raw-url-list-defaults):
16570 Update freshmeat link. Delete newsforge.com as it seems gone.
16572 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
16574 * select.el (x-set-selection): Doc fix (Bug#4021).
16576 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
16578 * help-fns.el (describe-variable): Treat list return values from
16579 dir-locals-find-file properly (Bug#4005).
16581 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
16583 * net/tramp.el (tramp-debug-message): Print also microseconds.
16585 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
16587 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
16589 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
16590 (tramp-get-debug-buffer): Change `outline-regexp' according to new
16593 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
16594 (tramp-get-file-property): Use it.
16596 * autorevert.el (auto-revert-handler): Allow
16597 `auto-revert-tail-mode' for remote files.
16599 2009-08-02 Jason Rumney <jasonr@gnu.org>
16601 * minibuffer.el (read-file-name): Treat confirm options to
16602 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
16604 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
16606 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
16607 (font-lock-variable-name-face, font-lock-constant-face): Darken
16608 the colors for light backgrounds.
16610 2009-08-01 Eli Zaretskii <eliz@gnu.org>
16612 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
16613 month names. (Bug#3987)
16615 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
16617 * simple.el (line-move-finish): Pass whole number to
16618 line-move-to-column.
16619 (line-move-visual): Perform hscroll to the recorded position.
16621 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
16623 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
16625 2009-07-29 Alan Mackenzie <acm@muc.de>
16627 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
16629 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
16631 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
16632 (gdb-place-breakpoints): Use full path when setting breakpoints.
16634 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
16636 * calc/calc.el (calc-mode-map): Add keybinding for
16637 `calc-transpose-lines'.
16639 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
16641 * calc/calc-misc.el (calc-transpose-lines): New function.
16643 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
16645 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
16646 Simplify check for out-of-band methods.
16647 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
16648 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
16650 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
16652 * vc-git.el (vc-git-checkin): Fix typo.
16654 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
16656 * progmodes/js2-mode.el: New file.
16658 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
16660 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
16661 (gud-menu-map): Adjust tooltip accordingly.
16663 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
16665 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
16666 (vc-bzr-log-view-mode): Adjust log-view-file-re.
16668 * add-log.el (change-log-mode-map): Add a menu.
16670 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
16672 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
16673 function returns nil.
16674 (dbus-handle-event): Handle special return value :ignore.
16675 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
16677 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
16679 * view.el (view-mode-enable): Don't define Helper-return-blurb if
16682 2009-07-25 Eli Zaretskii <eliz@gnu.org>
16686 * w32-vars.el (x-select-enable-clipboard): Doc fix.
16688 * term/pc-win.el (x-display-name, x-colors)
16689 (x-select-enable-clipboard, x-select-text): Doc fix.
16691 * term/common-win.el (x-display-name, x-colors): Doc fix.
16693 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
16694 (xw-defined-colors): Doc fix.
16696 * w32-fns.el (x-select-text, x-setup-function-keys)
16697 (x-get-selection, x-set-selection): Doc fix.
16699 * term/x-win.el (x-select-text, x-setup-function-keys)
16700 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
16702 * select.el (x-set-selection): Doc fix.
16704 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
16706 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
16707 instead of "IsNSSSupportAvailable". Avahi ought to work also when
16708 "IsNSSSupportAvailable" method is not available. Reported by
16709 Steve Youngs <steve@sxemacs.org>.
16711 2009-07-24 Kenichi Handa <handa@m17n.org>
16713 * international/characters.el: Fix setting of category ?C, ?|, ?K,
16714 and ?H. Fix setting of case for Latin Extended and Greek Extended.
16715 (build-unicode-category-table): Fix range checks.
16717 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
16719 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
16720 the buffer we try to sync is current when calling
16723 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
16724 not show up to date files.
16726 2009-07-24 Glenn Morris <rgm@gnu.org>
16728 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
16729 Add autoload cookies. If necessary, initialize.
16730 (elint-log): Handle non-file buffers.
16731 (elint-initialize): Add optional argument to reinitialize.
16732 (elint-find-builtin-variables): Save excursion.
16734 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
16736 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
16739 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
16741 * vc.el (vc-print-log-internal): New function, split out from ...
16742 (vc-print-log): ... here.
16743 (vc-dir-move-to-goal-column): Declare.
16745 * vc-git.el (vc-git-add-signoff): New variable.
16746 (vc-git-checkin): Use it.
16747 (vc-git-toggle-signoff): New function.
16748 (vc-git-extra-menu-map): Bind it to menu.
16749 (vc-git--run-command-string): Accept a nil FILE argument.
16750 (vc-git-stash-list): New function.
16751 (vc-git-dir-extra-headers): Use it.
16753 2009-07-23 Glenn Morris <rgm@gnu.org>
16755 * help-fns.el (describe-variable): Describe ignored and risky local
16756 variables in a similar way to that in which we describe safe ones.
16758 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
16759 (byte-compile-output-file-form, byte-compile-output-docform)
16760 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
16761 Give some more local variables with common names a "bytecomp-" prefix,
16762 so as not to shadow things during compilation.
16763 * emacs-lisp/cl-macs.el (load-time-value)
16764 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
16765 `outbuffer' to `bytecomp-outbuffer'.
16767 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
16768 since the next two variables cover them automatically now.
16769 (elint-builtin-variables, elint-autoloaded-variables): New.
16770 (elint-unknown-builtin-args): Remove all members, since they can be
16771 parsed automatically now.
16772 (elint-extra-errors): New.
16773 (elint-env-add-env, elint-env-add-macro): Use cadr.
16774 (elint-current-buffer): Use or. Change final message.
16775 (elint-get-top-forms): Use line-end-position.
16776 (elint-init-env): Use cadr. Handle autoload, declare-function,
16778 (elint-add-required-env): Doc fix. Use or. Standardize error.
16779 (regexp-assoc): Remove unused function.
16780 (elint-top-form): Set elint-current-pos, to record the start of the
16781 top-level form, for compilation-mode.
16782 (elint-form): Trap errors in macro expansion. Use dolist.
16783 (elint-unbound-variable): Use elint-builtin-variables and
16784 elint-autoloaded-variables.
16785 (elint-get-args): Use cadr, or.
16786 (elint-check-cond-form): Use dolist, cadr.
16787 (elint-check-condition-case-form): Doc fix. Use cadr.
16788 Use elint-extra-errors.
16789 (elint-log): New function.
16790 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
16791 Distinguish errors and warnings.
16792 (elint-log-message): Use with-current-buffer. Inhibit read-only.
16793 Use a bytecomp-style format.
16794 (elint-clear-log): Preserve default-directory. Inhibit read-only.
16795 (elint-get-log-buffer): Use compilation mode. Disable undo.
16796 Don't truncate lines.
16797 (elint-initialize): Set builtin and autoloaded variable lists.
16798 Only process elint-unknown-builtin-args if non-nil.
16799 (elint-find-builtin-variables, elint-find-autoloaded-variables):
16801 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
16803 2009-07-22 Kevin Ryde <user42@zip.com.au>
16805 * net/newst-backend.el (newsticker--parse-atom-1.0)
16806 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
16807 (newsticker--parse-rss-1.0):
16808 * progmodes/idlwave.el (idlwave-mode):
16809 * progmodes/idlw-shell.el (idlwave-shell-mode):
16810 * progmodes/vera-mode.el (vera-mode):
16811 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
16812 * progmodes/vhdl-mode.el (vhdl-mode):
16813 * textmodes/table.el (table-generate-source)
16814 (table--warn-incompatibility):
16815 Hyperlink urls in docstrings with URL `...'.
16817 2009-07-22 Glenn Morris <rgm@gnu.org>
16819 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
16820 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
16821 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
16822 Remove leading * from defcustom docs.
16824 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
16826 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
16828 (list-load-path-shadows): Optionally, just return shadows as a string.
16830 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
16832 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
16834 * mail/rmailedit.el (rmail-edit-mode): Use
16835 auto-save-include-big-deletions.
16837 * mail/rmail.el (rmail-variables): Use
16838 auto-save-include-big-deletions.
16840 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
16843 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
16845 * calc/calc.el (calc-undo-length): New variable.
16846 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
16848 2009-07-21 Richard Stallman <rms@gnu.org>
16850 * files.el (auto-save-mode): Handle buffer-save-size = -2
16853 2009-07-21 Glenn Morris <rgm@gnu.org>
16855 * textmodes/ispell.el (ispell-looking-back): Update declaration.
16857 * calendar/todo-mode.el (calendar-current-date): Update declaration.
16859 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
16860 silence compiler. Instead...
16861 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
16862 (ps-print-ensure-fontified): Update for above function name changes.
16864 * printing.el (pr-mh-get-msg-num, pr-mh-show)
16865 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
16866 silence compiler. Instead...
16867 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
16868 (mh-show-buffer): Only define for compiler.
16869 (pr-mh-current-message): Update for above function name changes.
16871 * files.el (abort-if-file-too-large): Explicitly pass `filename'
16873 (find-file-noselect, insert-file-1): Update for above change.
16875 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
16877 * mail/mailclient.el (mailclient-send-it): Fix message.
16879 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
16880 (edebug-eval): Check cl-debug-env is bound.
16881 (print-level, print-circle): Don't redefine built-in variables.
16883 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
16884 (custom-print-vectors): Remove old comments from doc.
16886 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
16887 (emerge-version): Make the variable an obsolete alias for the
16888 emacs-version variable. Make the function obsolete.
16889 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
16890 Emerge options, rather than merging in into the main Options menu.
16891 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
16892 and auto advance modes. Disable edit/fast items when not relevant.
16894 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
16896 * term/vt420.el (terminal-init-vt420): Fix typo.
16898 2009-07-20 Sam Steingold <sds@gnu.org>
16900 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
16901 variable (removed from compile.el on 2004-03-11).
16903 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
16905 * files.el (hack-local-variables-filter): Fix last change.
16907 2009-07-19 Juri Linkov <juri@jurta.org>
16909 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
16910 (dir-local-variables-alist): New buffer-local variable.
16911 (hack-local-variables-filter): If variable is not dir-local,
16912 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
16913 because file-local overrides dir-local.
16914 (c-postprocess-file-styles) <declare-function>:
16915 Remove obsolete declaration.
16916 (hack-dir-local-variables): Add dir-local variable/value pair to
16917 `dir-local-variables-alist' and remove duplicates. Doc fix.
16919 * help-fns.el (describe-variable): Add information about
16920 file-local and dir-local variables.
16922 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
16924 * files.el (hack-local-variables-filter): Rewrite.
16926 2009-07-19 Glenn Morris <rgm@gnu.org>
16928 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
16929 Silence compiler by only defining on XEmacs.
16931 * international/mule.el (auto-coding-regexp-alist): Only match
16932 BABYL... at the start of buffer, not of lines. (Bug#3790)
16934 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
16935 non-calendar buffers (Bug#3862). Restore "not on a date" message.
16936 (cal-menu-context-mouse-menu): Doc fix.
16938 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
16940 * simple.el (mail-user-agent): Doc fix. Set :version tag.
16942 2009-07-18 Juri Linkov <juri@jurta.org>
16944 * info.el: Virtual Info keyword finder.
16945 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
16946 (Info-finder-file): New variable.
16947 (Info-finder-find-file): New function.
16948 (finder-known-keywords, finder-package-info)
16949 (find-library-name, lm-commentary): Use defvar and
16950 declare-function to silence compiler warnings.
16951 (Info-finder-find-node): New function.
16952 (info-finder): New command.
16954 * subr.el (process-kill-buffer-query-function): New function.
16955 (add-hook)<kill-buffer-query-functions>: Add hook
16956 `process-kill-buffer-query-function'.
16958 2009-07-18 Alan Mackenzie <acm@muc.de>
16960 * progmodes/cc-mode.el (c-before-hack-hook)
16961 (c-postprocess-file-styles): Give invocation of `c-set-style'
16962 DONT-OVERRIDE parameter of t. Already set style variables will
16963 thus not be overridden by style settings given by `c-file-syle'.
16965 * files.el (hack-local-variables-filter): Remove entries with
16966 duplicate keys from `file-local-variables-alist'.
16968 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16970 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
16971 x-set-selection if display-selections-p returns nil for the
16974 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
16976 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
16978 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16980 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
16981 Accept nil in addition to a regexp.
16982 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
16983 Accept nil in addition to a regexp.
16984 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
16985 buffers that have an associated file. Handle nil values of
16986 desktop-buffers-not-to-save and desktop-files-not-to-save.
16989 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16990 (x-disown-selection-internal): New functions.
16992 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
16994 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
16996 (gdb-breakpoints-header): Move forward to avoid compiler warning.
16997 (gdb-make-header-line-mouse-map): Remove duplicate definition.
16999 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
17001 * simple.el (set-mark): Revert last change.
17003 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
17005 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17006 rendering of pngs is not possible instead of messaging a long
17009 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
17011 * w32-fns.el (x-selection-owner-p): New function.
17013 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17014 (mouse-yank-at-click, mouse-yank-primary): If
17015 select-active-regions is non-nil, deactivate the mark before
17018 * simple.el (deactivate-mark, set-mark): Only save selection if we
17021 2009-07-17 Kenichi Handa <handa@m17n.org>
17023 * case-table.el (describe-buffer-case-table): Fix for the case
17024 that KEY is a cons.
17026 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
17028 * vc-rcs.el (vc-rcs-find-file-hook):
17029 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17031 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
17033 * net/tramp.el (tramp-wait-for-output): Handle the case when
17034 commands do not return a newline but a null byte before the shell
17037 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17039 * term/ns-win.el (ns-set-alpha): Don't declare.
17040 (ns-set-background-alpha): Remove function.
17042 2009-07-16 Kevin Ryde <user42@zip.com.au>
17044 * emacs-lisp/copyright.el (copyright-update): Save match-data across
17045 y-or-n-p, for safety.
17047 2009-07-16 Richard Stallman <rms@gnu.org>
17049 * files.el (auto-save-mode): If buffer-saved-size is -2,
17052 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17053 (rmail-retry-ignored-headers): Add more uninteresting fields.
17055 2009-07-15 Jari Aalto <jari.aalto@cante.net>
17057 * net/rcirc.el (rcirc): Use history variables.
17058 (rcirc-server-name-history, rcirc-nick-name-history)
17059 (rcirc-server-port-history): New variables.
17061 2009-07-15 Kenichi Handa <handa@m17n.org>
17063 * international/mule-cmds.el (set-language-environment-charset):
17064 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17067 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17068 Delete unibyte-display.
17070 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17072 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
17074 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17076 * simple.el (deactivate-mark): Optional argument FORCE.
17077 (set-mark): Use deactivate-mark.
17079 * info.el (Info-search): No need to check transient-mark-mode
17080 before calling deactivate-mark.
17082 * select.el (x-set-selection): Doc fix.
17083 (x-valid-simple-selection-p): Allow buffer values.
17084 (xselect--selection-bounds): Handle buffer values. Suggested by
17085 David De La Harpe Golden.
17087 * mouse.el (mouse-set-region, mouse-drag-track): Call
17088 copy-region-as-kill before setting the mark, to let
17089 select-active-regions work.
17091 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
17093 * simple.el (deactivate-mark): If select-active-regions is
17094 non-nil, copy the selection data into a string.
17095 (activate-mark): If select-active-regions is non-nil, set the
17096 selection to the current buffer.
17097 (set-mark): Update selection if select-active-regions is non-nil.
17099 * select.el (x-valid-simple-selection-p): Allow buffer values.
17101 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
17103 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
17104 and more featureful message-mode.
17106 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
17108 * select.el (x-set-selection): Doc fix.
17109 (x-valid-simple-selection-p): Disallow selection data consisting
17110 of a list or cons of integers, since that is not used.
17111 (xselect--selection-bounds, xselect--int-to-cons): New functions.
17112 (xselect-convert-to-string, xselect-convert-to-length)
17113 (xselect-convert-to-filename, xselect-convert-to-charpos)
17114 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
17116 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
17118 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
17119 output in -break-info command (Emacs bug #3794).
17121 2009-07-14 Glenn Morris <rgm@gnu.org>
17123 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
17124 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
17125 (edebug-print-length, edebug-print-level, edebug-print-circle)
17126 (edebug-sit-for-seconds, edebug-view-outside)
17127 (edebug-bounce-point, edebug-set-global-break-condition)
17128 (edebug-Go-nonstop-mode, edebug-trace-mode)
17129 (edebug-Trace-fast-mode, edebug-continue-mode)
17130 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
17131 (edebug-visit-eval-list): Doc fixes.
17133 * subr.el (def-edebug-spec): Doc fix.
17135 2009-07-14 Kenichi Handa <handa@m17n.org>
17137 * international/characters.el: Fix setting of category ?C.
17139 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
17141 * term/ns-win.el (x-select-font): defalias x-select-font to
17142 ns-popup-font-panel instead of generate-fontset-menu.
17144 2009-07-12 Eli Zaretskii <eliz@gnu.org>
17146 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
17148 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
17150 * arc-mode.el (archive-find-type): Allow for a PK00 string before
17151 the PK\003\004 header (Bug#3770).
17153 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
17155 * pcomplete.el (pcomplete-comint-setup): Check for
17156 shell-dynamic-complete-filename too.
17158 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
17160 * simple.el (temporary-goal-column): Change the value for
17161 line-move-visual to a cons cell.
17162 (line-move-visual): Record or set the window hscroll, if
17163 necessary (Bug#3494).
17164 (line-move-1): Handle cons value of temporary-goal-column.
17166 2009-07-11 Kenichi Handa <handa@m17n.org>
17168 * international/mule-diag.el (describe-character-set): Don't show
17171 2009-07-10 Sam Steingold <sds@gnu.org>
17173 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17174 Omake sometimes indents the errors it prints, so allow all
17175 regexps to start with spaces.
17177 2009-07-10 Eli Zaretskii <eliz@gnu.org>
17179 * cus-edit.el (customize-changed-options-previous-release):
17180 Bump value to 22.1. (Bug#3804)
17182 2009-07-08 Sam Steingold <sds@gnu.org>
17184 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
17185 to be a cons cell (test . ignored-directory) to selectively ignore
17186 some directories depending on the location of the search.
17188 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
17190 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
17191 remote user is root, on the local host.
17192 (tramp-local-host-p): Either the local user or the remote user
17193 must be root. (Bug#3771)
17195 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17197 * progmodes/gdb-mi.el (gdb): Remove description of
17198 gdb-use-separate-io-buffer.
17199 (menu): Don't allow toggling of or enable
17200 gdb-use-separate-io-buffer from menubar.
17202 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17204 * mail/unrmail.el (unrmail): Make sure the message ends with two
17205 newlines (Bug#3769).
17207 2009-07-08 Glenn Morris <rgm@gnu.org>
17209 * calendar/calendar.el (calendar-current-date): Rework previous change.
17211 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
17213 * calendar/calendar.el (calendar-current-date):
17214 Add an optional argument giving an offset from today.
17216 2009-07-08 Glenn Morris <rgm@gnu.org>
17218 * tutorial.el (tutorial--describe-nonstandard-key):
17219 Adjust the message for when a key has been unbound.
17220 (help-with-tutorial): Hide the arch-tag.
17222 2009-07-08 Kenichi Handa <handa@m17n.org>
17224 * international/fontset.el (setup-default-fontset): For each
17225 script, append (not set) font-specs.
17227 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
17230 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17232 * progmodes/gdb-mi.el (gdb-init-1): Move sending
17233 -data-list-register-names to ...
17234 (gdb-starting): ... here because GDB 7.0 requires execution to
17235 have started when using this MI command.
17236 (gdb-set-header): New function to distinguish select and
17237 unselected tabs in gdb buffers.
17238 (gdb-propertize-header): New macro that uses gdb-set-header.
17239 (gdb-breakpoints-header, gdb-locals-header): Use it.
17240 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
17242 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
17244 * Makefile.in (ELCFILES): Remove fadr.elc.
17246 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
17248 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
17249 may contain frame information, so `string-match' should be used.
17250 (gdb-update): Disassembly is invalidated through
17251 `gdb-get-selected-frame'.
17252 (gdb-pad-string): New function to pad string with spaces.
17253 (gdb-invalidate-disassembly): Invalidate only if the buffer
17255 (gdb-disassembly-handler-custom): Column alignment.
17256 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
17258 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
17260 (gdb-frame-handler): Match convention to for disassembly buffer
17262 (gdb-stack-list-frames-handler): Rewritten without regexps.
17263 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
17264 not highlight breakpoints without line information.
17265 (gdb-input): Add trailing newline to command.
17267 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
17269 (gdb-breakpoints-list-handler-custom): Replacement for
17270 `gdb-break-list-handler'. Using real parser instead of regexps
17272 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
17273 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
17274 to place breakpoints.
17275 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
17277 (gdb-disassembly-handler-custom): Show overlay arrow.
17278 (gdb-disassembly-place-breakpoints): Show breakpoints in
17279 disassembly buffer.
17280 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
17281 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
17282 instead of parsing breakpoints buffer. Fixed old menu references
17287 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
17288 (gdb-memory-address): New variable which holds top address of
17289 memory page shown in memory buffer.
17290 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
17291 customization variables.
17293 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
17294 display the memory buffer.
17295 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
17296 buffer display parameters.
17297 (def-gdb-memory-format, gdb-memory-format-binary)
17298 (gdb-memory-format-octal, gdb-memory-format-unsigned)
17299 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
17300 Functions for setting memory buffer format.
17301 (gdb-memory-unit-word, gdb-memory-unit-halfword)
17302 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
17303 unit size used in memory buffer.
17304 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
17305 to next/previous page of memory buffer.
17306 Now using (bindat-get-field) instead of fadr functions.
17308 2009-07-07 Sam Steingold <sds@gnu.org>
17310 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
17311 non-top-level files.
17313 2009-07-07 Kenichi Handa <handa@m17n.org>
17315 * international/mule-cmds.el (reset-language-environment): Put
17316 the highset priority to the charset iso-8859-1.
17318 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
17320 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
17321 to the end of the line when locating the block (Bug#700).
17323 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
17325 * net/tramp.el (tramp-handle-write-region): Flush file properties
17326 in case of short track.
17328 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
17330 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
17331 Coded custom representation of verilog error regular expressions
17332 to work with Emacs-22's new format.
17333 (verilog-error-regexp-xemacs-alist): Coded custom representation
17334 of verilog error regular expressions to work with XEmacs format.
17335 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
17336 error recognition into XEmacs.
17337 (verilog-error-regexp-add-emacs): Hook routine to install verilog
17338 error recognition into Emacs-22.
17340 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
17342 * woman.el: Remove stand-alone closing parentheses.
17343 (woman-file-name, woman2-format-paragraphs)
17344 (woman-leave-blank-lines): Code cleanup.
17345 (woman-use-own-frame): Change default to nil.
17346 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
17347 defaults to inherit from default faces.
17348 (woman2-process-escapes): Consume the newline after a stand-alone
17349 filler character (Bug#3651).
17351 2009-07-06 Glenn Morris <rgm@gnu.org>
17353 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
17354 (top-level): Move provide to the end.
17355 (ffap): Remove defunct URL from custom group.
17357 * subr.el (eval-after-load): Doc fix.
17359 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
17361 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
17362 `calc-embedded-word' is called twice.
17364 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17366 * files.el (find-alternate-file-other-window, find-alternate-file):
17367 Obey confirm-nonexistent-file-or-buffer.
17369 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
17371 * dired-aux.el (dired-show-file-type): Handle remote files.
17373 2009-07-05 Jari Aalto <jari.aalto@cante.net>
17375 * desktop.el (desktop-globals-to-save):
17376 Add file-name-history (Bug#2750).
17378 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
17380 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
17382 2009-07-04 Johan Bockgård <bojohan@gnu.org>
17384 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
17385 property on entire argument since this is what eshell-lisp-command
17388 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
17390 * net/tramp-gvfs.el (tramp-gvfs-methods)
17391 (tramp-gvfs-zeroconf-domain)
17392 (tramp-bluez-discover-devices-timeout): Add version flag.
17393 (tramp-gvfs-handler-mounted-unmounted)
17394 (tramp-gvfs-connection-mounted-p): Polish handling of
17395 incompatibilities between GVFS 0.2 and 1.0.
17397 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
17399 * cus-start.el (all): Add make-pointer-invisible.
17401 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
17403 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
17404 formatted correctly.
17406 2009-07-02 Juri Linkov <juri@jurta.org>
17408 * info.el: Virtual Info files and nodes.
17409 (Info-virtual-files, Info-virtual-nodes): New variables.
17410 (Info-current-node-virtual): New variable.
17411 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
17413 (Info-file-supports-index-cookies): Use Info-virtual-file-p
17414 to check for a virtual file instead of checking a fixed list
17416 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
17417 instead of ad-hoc processing of "dir" and (apropos history toc).
17418 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
17419 instead of ad-hoc processing of "dir" and (apropos history toc).
17420 Reread a file when moving from a virtual node.
17421 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
17422 (Info-directory-toc-nodes, Info-directory-find-file)
17423 (Info-directory-find-node): New functions.
17424 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
17425 (Info-history): Move part of code to
17426 `Info-history-find-node'.
17427 (Info-history-toc-nodes, Info-history-find-file)
17428 (Info-history-find-node): New functions.
17429 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
17430 (Info-toc): Move part of code to `Info-toc-find-node'.
17431 (Info-toc-find-node): New function.
17432 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
17433 the current Info file name to references because now the node
17434 "*TOC*" belongs to the same Info manual.
17435 (Info-toc-build): Rename from `Info-build-toc'.
17436 (Info-toc-nodes): Rename input argument `file' to `filename'.
17437 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
17438 instead of ad-hoc processing of ("dir" apropos history toc).
17439 (Info-index-nodes): Use Info-virtual-file-p
17440 to check for a virtual file instead of checking a fixed list
17442 (Info-index-node): Add check for `Info-current-node-virtual'.
17443 Raise `save-match-data' higher up the tree to contain
17444 `search-forward' too (bug fix).
17445 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
17446 (Info-virtual-index-nodes): New variable.
17447 (Info-virtual-index-find-node, Info-virtual-index): New functions.
17448 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
17449 (Info-apropos-file, Info-apropos-nodes): New variables.
17450 (Info-apropos-toc-nodes, Info-apropos-find-file)
17451 (Info-apropos-find-node, Info-apropos-matches): New functions.
17452 (info-apropos): Move part of code to `Info-apropos-find-node' and
17453 `Info-apropos-matches'.
17454 (Info-mode-map): Bind "I" to `Info-virtual-index'.
17455 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
17456 for a virtual file instead of checking a fixed list of node names.
17458 * simple.el (async-shell-command): New command.
17460 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
17462 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
17463 instead of `mount-info'.
17465 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
17467 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
17468 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
17470 2009-07-02 Kenichi Handa <handa@m17n.org>
17472 * international/mule.el (set-keyboard-coding-system): Force *-unix
17473 coding-system to avoid eol conversion.
17475 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
17477 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17478 Add handler for `process-file', `shell-command' and
17479 `start-file-process'.
17480 (tramp-gvfs-handle-shell-command)
17481 (tramp-gvfs-handle-start-file-process)
17482 (tramp-gvfs-handle-process-file): New defuns.
17483 (tramp-synce-list-devices): Simplify check for existence of property.
17485 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
17487 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
17489 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
17491 * language/korean.el (set-language-info-alist): Add korean-cp949,
17494 2009-07-01 Kenichi Handa <handa@m17n.org>
17496 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
17498 * international/encoded-kb.el: Deleted.
17500 * international/mule.el (set-keyboard-coding-system): Perform the
17501 necessary setup here instead of calling encoded-kbd-setup-display.
17503 2009-07-01 Glenn Morris <rgm@gnu.org>
17505 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
17507 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
17509 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
17511 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
17513 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
17514 Handle also the 'rename case, when setting file modes. (Bug#3712)
17515 (tramp-default-file-modes): Remove execute permissions.
17517 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
17518 (top): Add a default for "synce" in `tramp-default-user-alist'.
17519 Add completion function for "synce" method.
17520 (tramp-hal-service, tramp-hal-path-manager)
17521 (tramp-hal-interface-manager, tramp-hal-interface-device):
17523 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
17524 (tramp-synce-list-devices, tramp-synce-parse-device-names):
17527 * net/trampver.el: Update release number.
17529 2009-06-30 Kenichi Handa <handa@m17n.org>
17531 * international/fontset.el (setup-default-fontset): Add CJK fonts
17532 for symbols and the other miscellaneous characters.
17534 * language/korea-util.el (setup-korean-environment-internal):
17535 Make char-width-table suitable for Korean environments.
17536 (exit-korean-environment): Cancel above.
17538 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
17539 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
17540 setup-function to make char-width-table suitable for respective
17541 environments, and an exit-function to cancel that.
17543 * language/japan-util.el (setup-japanese-environment-internal):
17544 Call use-cjk-char-width-table with arg `ja_JP'.
17546 * international/characters.el (cjk-char-width-table): Delete it.
17547 (cjk-char-width-table-list): New variable.
17548 (use-cjk-char-width-table): New arg local-name.
17549 (use-default-char-width-table): Fix for the case that Emacs is
17550 already using the default char-width-table.
17552 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
17554 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
17555 modes mandatory. (Bug#3712)
17557 2009-06-29 Alan Mackenzie <acm@muc.de>
17559 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
17560 correction between the visible width of TABs and their number of bytes.
17562 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
17564 * server.el (server-buffer-done): Prevent kill-buffer from
17565 prompting by clearing the buffer modification flag (Bug#3696).
17567 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
17569 * progmodes/verilog-mode.el (verilog-beg-of-statement)
17570 (verilog-endcomment-reason-re): Support unique case and priority case.
17571 (verilog-basic-complete-re): Support localparam lineup.
17572 (verilog-beg-of-statement-1): Fix for robustness, unique case.
17573 (verilog-set-auto-endcomments): Fix for unique case, always_comb
17575 (verilog-leap-to-case-head): Now support *nested* unique &
17576 priority case statements.
17577 (verilog-auto-lineup): Make just declarations the default (as it
17579 (verilog-leap-to-case-head): Support priority/unique case statements.
17580 (verilog-auto-lineup): Rework to give users radio buttons to
17581 select the various styles of automatic lineup.
17582 (verilog-error-regexp-alist): Rework to support the XEmacs style
17583 of error regular expressions from compilers, lint tools &
17584 simulators. Note that GNU Emacs has made it impossible for a mode
17585 to load such things.
17586 (electric-verilog-terminate-line, verilog-indent-declaration)
17587 (verilog-auto-wiure): Rework for radio button selection of
17588 auto-lineup selection of specification of auto lineup.
17589 (verilog-beg-of-statement-1): Redesign to support proper operation
17590 in additional code, based on testing with auto-lineup.
17591 (verilog-calculate-indent, assignments & declarations)
17592 (verilog-backward-token): Enhance to support auto-lineup of
17593 assignments & declarations.
17594 (verilog-in-directive-p, verilog-at-struct-p): New function for
17595 easy test of whether we are.
17596 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
17597 to support safe execution at almost anyline.
17598 (verilog-calc-1): Properly support indenting deep inside generate
17600 (verilog-init-font): Remove definition & use of verilog-init-font,
17601 as it is redundant with font-lock-defaults.
17602 (verilog-mode): Alter the definition of verilog-font-lock-defaults
17603 to avoid circular calls if syntax-ppss is a function (as is the
17604 case now in 22.x GNU Emacs) as that function would sometimes call
17605 itself, leading to (nearly) infinite recursion.
17606 (verilog-ovm-begin-re, verilog-ovm-end-re)
17607 (verilog-ovm-statement-re, verilog-leap-to-head)
17608 (verilog-backward-token): Add support for OVM macros. Some are
17609 complete statements, and others open and close scopes like begin
17611 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
17612 (verilog-defun-level-generate-only-re): Really fix the defun-list
17614 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
17615 coverpoint, constraint and cross statements.
17616 (verilog-defun-level-list, verilog-generate-defun-level-list)
17617 (verilog-all-defun-level-list): Redo these specifications - it is
17618 too hard to support eval-when compile aggregation of lists also
17619 built at when-compile time.
17620 (verilog-defun-level-list): Place defconsts of variables used in
17621 building regular expressions which are built in eval-when-compile
17622 bodies in the same eval-when-compile body to facilitate compile
17624 (verilog-beg-block-re-ordered): Support indenting
17625 virtual/protected tasks and functions.
17626 (verilog-defun-level-list, verilog-in-generate-region-p)
17627 (verilog-backward-ws&directives, verilog-calc-1): Speed up
17628 indentation of some module items (generate items).
17629 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
17630 across virtual/protected tasks and functions.
17632 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
17634 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
17635 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
17636 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
17637 in concatenations. Reported by Yishay Belkind.
17638 (verilog-auto-ascii-enum): Support one-hot state machines in
17639 AUTOASCIIENUM. Suggested by Lloyd Gomez.
17640 (verilog-auto-inst, verilog-auto-inst-port): Include interface
17641 modport in AUTOINST and add vl-modport for users. Reported by
17643 (verilog-auto-inout-module, verilog-auto-inst)
17644 (verilog-decls-get-interfaces, verilog-insert-definition)
17645 (verilog-insert-one-definition, verilog-read-decls)
17646 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
17647 (verilog-sig-modport, verilog-signals-combine-bus)
17648 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
17649 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
17650 Suggested by David Rogoff.
17651 (verilog-repair-open-comma): Fix non-insertion of comma when
17652 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
17653 (verilog-make-width-expression): Simplify [A-1:0] expression
17654 widths to just {A{1'b0}}.
17655 (verilog-mode): Cleanup checkdoc warnings.
17656 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
17657 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
17658 inputs/outputs or data type. Suggested by Vasu Kandadi.
17659 (next-error-last-buffer): Fix byte-compiler warning.
17660 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
17661 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
17662 or shell command text during AUTO expansion. Suggested by Tad Truex.
17663 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
17664 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
17665 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
17666 in AUTOINOUT. Reported by Matthew Lovell.
17667 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
17668 causing use of <= assignments. Reported by Alex Reed.
17669 (verilog-read-decls): Fix triand, trior, wand, wor to be
17670 recognized by AUTOWIRE. Reported by Spencer Isaacson.
17671 (verilog-extended-complete-re): Support import "DPI-C" functions.
17672 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
17673 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
17674 (verilog-insert-date, verilog-insert-year)
17675 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
17676 Windows systems. Reported by Michael Potts.
17677 (verilog-read-module-name): Fix AUTOINST when the child module
17678 declaration's name is a tick define. Reported by Elliot Mednick.
17679 (verilog-read-decls): Fix V2K parameter bit subscripts getting
17680 passed to next parameter's definition. Reported by Bruce T.
17681 (verilog-read-decls): Fix detecting "parameter int" when using
17682 AUTOINSTPARAM. Reported by Bruce T.
17683 (verilog-goto-defun): Fix goto not finding modules unless first
17684 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
17685 (verilog-mode): Expand -f flag arguments on entry to mode so
17686 verilog-goto-defun will work. Reported by Lawrence Butcher.
17687 (verilog-getopt): Expand environment variables in -f file
17688 arguments. Suggested by Lawrence Butcher.
17689 (verilog-set-define): Fix "Symbol's value as variable is void"
17690 when reading enumerations.
17691 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
17692 Suggested by Stephen Peltan.
17693 (verilog-read-defines): Fix reading of enumerations in include
17694 files. Reported by Steve Peltan.
17696 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17698 * files.el (trash-directory): Fix defcustom type.
17700 2009-06-28 Juri Linkov <juri@jurta.org>
17702 * help-fns.el (describe-function-1): Correctly locate adviced
17703 functions in hyperlink (Bug#2438).
17705 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
17707 * files.el (trash-directory): Change default to nil.
17708 (move-file-to-trash): If trash-directory is nil and
17709 system-move-file-to-trash is unbound, perform freedesktop-style
17712 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17714 * files.el (move-file-to-trash): Add freedesktop trash
17717 2009-06-28 Glenn Morris <rgm@gnu.org>
17719 * autorevert.el (global-auto-revert-non-file-buffers)
17720 (global-auto-revert-mode): Doc fixes.
17722 2009-06-27 Johan Bockgård <bojohan@gnu.org>
17724 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
17726 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
17728 * faces.el (x-handle-named-frame-geometry): Ensure that we have
17729 opened an X connection before calling x-get-resource (Bug#3194).
17731 * play/doctor.el: Remove reference to obsolete website.
17732 (make-doctor-variables): Correct grammar mistake (Bug#2633).
17734 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
17736 Remove find-file-not-found-hook VC method. (Bug#2757)
17737 * vc-hooks.el (vc-file-not-found-hook)
17738 (vc-default-find-file-not-found-hook): Remove functions.
17739 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
17740 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
17743 * vc-git.el: Do not mention find-file-not-found-hook VC method.
17745 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
17747 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
17748 compatibility function for `looking-back'.
17750 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
17751 Use `ispell-looking-back'.
17753 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
17755 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
17756 rather than `filename'.
17758 2009-06-23 Miles Bader <miles@gnu.org>
17760 * face-remap.el (text-scale-set): New function.
17762 2009-06-23 Glenn Morris <rgm@gnu.org>
17764 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
17766 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
17768 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
17770 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
17772 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
17773 Simplify Persian conditionals.
17775 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
17776 variable `filename'.
17778 * comint.el (comint-insert-input): Doc fix.
17780 * Makefile.in (ELCFILES): Fix typo in previous change.
17782 2009-06-23 Miles Bader <miles@gnu.org>
17784 * cus-start.el: Add entry for `recenter-redisplay'.
17786 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17788 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
17789 Add an optional argument for the backend, use it instead of
17790 calling vc-backend.
17791 (vc-mode-line): Add an optional argument for the backend.
17792 Pass the backend to vc-state and vc-working-revision. Move code for
17793 special handling for vc-state being a buffer to ...
17795 * vc-rcs.el (vc-rcs-find-file-hook):
17796 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
17798 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
17799 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
17800 vc-stay-local-p and vc-mode-line calls.
17802 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
17803 (vc-cvs-diff, vc-cvs-annotate-command)
17804 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
17805 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
17806 vc-mode-line calls.
17808 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
17810 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
17811 backend when calling vc-mode-line.
17812 (vc-register): Do not create a closure for calling the vc register
17813 function, call it directly.
17815 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17817 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
17818 to make it obvious item can be clicked.
17820 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
17822 2009-06-23 Kenichi Handa <handa@m17n.org>
17824 * language/korea-util.el (korean-key-bindings): Change the binding
17825 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
17828 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
17830 Sync with Tramp 2.1.16.
17832 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
17834 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
17835 when a loading of a package fails. Completion function for rsync
17836 is `tramp-completion-function-alist-ssh'.
17837 (all): Replace all calls of `split-string' and
17838 `tramp-split-string' by `tramp-compat-split-string'.
17839 (tramp-default-method): Use `tramp-compat-process-running-p'.
17840 (tramp-default-proxies-alist): Allow also Lisp forms.
17841 (tramp-remote-path): Add choice "Private Directories".
17842 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
17843 (tramp-domain-regexp): Allow also "-", "_" and ".".
17844 (tramp-end-of-output): Remove newlines, and add "$" at the end.
17845 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
17846 (tramp-debug-message): Insert header line in debug buffer.
17847 (tramp-handle-directory-files-and-attributes-with-stat):
17848 Care about filenames with spaces, or starting with "-".
17849 (tramp-handle-dired-uncache): New defun.
17850 (tramp-handle-insert-directory): Don't flush the directory from
17851 cache, this is handled by `dired-uncache' now.
17852 (tramp-handle-insert-file-contents): Improve error handling.
17853 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17854 Quote `tramp-end-of-output'.
17855 (tramp-action-password): Improve trace message.
17856 (tramp-check-for-regexp): Both echoes must be present, before removing.
17857 (tramp-open-connection-setup-interactive-shell): Trace coding system.
17858 (tramp-compute-multi-hops): Eval cons cells of
17859 `tramp-default-proxies-alist'.
17860 (tramp-maybe-open-connection): Use the same command pattern for
17861 first hop and further hops.
17862 (tramp-wait-for-output): Remove handling of newlines.
17863 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
17864 (tramp-split-string): Remove function. It is handled in
17867 * net/tramp-cmds.el (tramp-bug):
17868 Recommend `tramp-cleanup-all-connections' in the bug mail.
17870 * net/tramp-compat.el (tramp-compat-split-string)
17871 (tramp-compat-process-running-p): New defuns.
17873 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
17874 for `dired-uncache'.
17876 * net/tramp-gvfs.el: New package.
17878 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17879 Add handler for `dired-uncache'.
17880 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
17882 * net/trampver.el: Update release number. Make version check fit
17885 2009-06-22 Jim Meyering <meyering@redhat.com>
17887 Automatically handle .xz suffix (XZ-compressed files), too.
17888 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
17889 XZ is the successor to LZMA: <http://tukaani.org/xz/>
17891 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
17892 Nick Roberts <nickrob@snap.net.nz>
17894 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
17895 repository (http://sphinx.net.ru/hg/gdb-mi/).
17897 2009-06-22 Glenn Morris <rgm@gnu.org>
17899 * files.el (dir-locals-collect-mode-variables): Allow for any number of
17900 `mode' and `eval' entries. (Bug#3430)
17902 * Makefile.in (ELCFILES): Add fadr.elc.
17904 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
17905 differing behavior of \n and ^ in strings. (Bug#3385)
17907 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
17909 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
17911 (lisp-indent-function): Make it a defcustom.
17913 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
17915 * progmodes/gdb-ui.el: Replace with ...
17916 * progmodes/gdb-mi.el: ... this file.
17917 * progmodes/gud.el: Modify for gdb-mi.el.
17919 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
17921 * fadr.el: New file.
17923 See ChangeLog.14 for earlier changes.
17925 ;; Local Variables:
17929 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
17931 This file is part of GNU Emacs.
17933 GNU Emacs is free software: you can redistribute it and/or modify
17934 it under the terms of the GNU General Public License as published by
17935 the Free Software Foundation, either version 3 of the License, or
17936 (at your option) any later version.
17938 GNU Emacs is distributed in the hope that it will be useful,
17939 but WITHOUT ANY WARRANTY; without even the implied warranty of
17940 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17941 GNU General Public License for more details.
17943 You should have received a copy of the GNU General Public License
17944 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.