1 2011-02-10 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/cl-seq.el (union, nunion, intersection)
4 (nintersection, set-difference, nset-difference)
5 (set-exclusive-or, nset-exclusive-or): Doc fix.
7 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
9 2011-02-08 Glenn Morris <rgm@gnu.org>
11 * faces.el (face-attr-match-p): Handle the obsolete :bold and
12 :italic props, so that frame-set-background-mode works. (Bug#7966)
14 2011-02-07 Glenn Morris <rgm@gnu.org>
16 * simple.el (next-error): Doc fix.
18 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20 * dired-aux.el (dired-create-files): Adapt destination name to
21 match the new behavior of copy-directory.
23 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
25 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
26 from rmail-dont-reply-to-names. Callers changed.
27 (mail-dont-reply-to): Rename from mail-dont-reply-to.
28 (rmail-dont-reply-to): Make it an obsolete alias.
30 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
31 nil, and make obsolete (Bug#7888).
32 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
34 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
36 * mail/rmailsort.el (rmail-sort-by-correspondent)
37 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
39 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
41 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
43 * files.el (copy-directory): New argument COPY-CONTENTS for
44 copying directory contents into another existing directory.
46 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
48 * minibuffer.el (completion-table-case-fold): New function for
49 creating a case-insensitive completion table.
51 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
53 * net/tramp.el (tramp-default-method): Also check if
54 `auth-source-search' is bound.
55 (tramp-read-passwd): Use `auth-source-search' instead of
56 `auto-source-user-or-password'.
58 * net/tramp-imap.el: Autoload `auto-source-search' instead of
59 `auto-source-user-or-password.
60 (tramp-imap-passphrase-callback-function): Use it.
62 * net/imap-hash.el: Autoload `auto-source-search' instead of
63 `auto-source-user-or-password.
64 (imap-hash-open-connection): Use it.
66 * mail/smtpmail.el: Autoload `auto-source-search' instead of
67 `auto-source-user-or-password.
68 (smtpmail-try-auth-methods): Use it.
70 2011-02-12 Phil Hagelberg <phil@hagelb.org>
72 * emacs-lisp/package.el: Allow packages to be reinstalled.
73 (package--write-file-no-coding): Remove EXCL arg.
74 (package-unpack-single): Don't use it.
76 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
78 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
79 in each sub directory.
80 (vc-svn-registered): Use vc-svn-root.
81 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
82 (vc-svn-repository-hostname): Use "svn info".
84 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
86 * simple.el (delete-trailing-whitespace): New optional buffer
89 2011-02-11 Bastien Guerry <bzg@altern.org>
91 * files.el (basic-save-buffer): save unmodified buffers when
92 the file pointed by buffer-file-name doesn't exist.
94 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
96 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
98 2011-02-11 Glenn Morris <rgm@gnu.org>
100 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
102 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
104 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
106 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
108 * server.el (server-process-filter): Use pcase.
110 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
112 (smie-indent--parent): Extend to "parent of arg".
113 (smie-indent-inside-string): New function.
114 (smie-indent-functions): Use it.
116 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
117 bzr locking race condition.
119 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
120 still valid before using it.
122 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
123 `message' -> `compilation-message' rename (bug#8004).
125 Move keymap initialization into declaration.
126 * textmodes/enriched.el (enriched-mode-map):
127 * textmodes/bib-mode.el (bib-mode-map):
128 * term/lk201.el (lk201-function-map):
129 * tar-mode.el (tar-mode-map):
130 * replace.el (occur-mode-map):
131 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
132 * progmodes/idlw-help.el (idlwave-help-mode-map):
133 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
134 * play/solitaire.el (solitaire-mode-map):
135 * play/snake.el (snake-mode-map, snake-null-map):
136 * play/pong.el (pong-mode-map):
137 * play/handwrite.el (menu-bar-handwrite-map):
138 * play/gametree.el (gametree-mode-map):
139 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
140 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
141 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
142 (newsticker--url-keymap):
143 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
144 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
145 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
146 (menu-bar-edit-menu, menu-bar-custom-menu)
147 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
148 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
149 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
150 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
151 (menu-bar-tools-menu, menu-bar-describe-menu)
152 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
153 (menu-bar-help-menu):
154 * mail/rmailsum.el (rmail-summary-mode-map):
155 * kmacro.el (kmacro-step-edit-map):
156 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
157 (ibuffer-mode-operate-map):
158 * hi-lock.el (hi-lock-menu, hi-lock-map):
159 * emulation/vip.el (vip-mode-map):
160 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
161 * bookmark.el (bookmark-bmenu-mode-map):
162 * help-mode.el (help-mode-map): Move initialization into declaration.
164 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
166 * net/rcirc.el: Add PRIVMSG and CTCP functions.
167 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
168 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
169 (rcirc-cmd-me, rcirc-authenticate): Use them.
171 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
173 * allout.el: Synopsis: Change allout user configuration so
174 auto-activation is controlled solely by customization
175 `allout-auto-activation'.
177 (allout-auto-activation-helper) (allout-setup): New autoloads
178 implement new custom set procedure for allout-auto-activation.
179 Also, explicitly invoke
180 (allout-setup) after allout-auto-activation is custom-defined, to
181 effect the settings in emacs sessions besides the few where
182 allout-auto-activation customization is donea.
183 (allout-auto-activation): Use allout-auto-activation-helper to
184 :set. Revise the docstring.
185 (allout-init): Reduce functionality to just customizing
186 allout-auto-activation, and mark obsolete.
187 (allout-mode): Respect string values for allout-auto-activation.
188 Run allout-after-copy-or-kill-hook without any args.
189 (allout-mode) (allout-layout) (allout-default-layout)
190 (outlineify-sticky): Adjust docstring for new scheme.
191 (allout-after-copy-or-kill-hook): No arguments - hook implementers
192 should concentrate on the kill ring.
194 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
196 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
197 of here-doc that immediately follows a comment.
199 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
201 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
203 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
205 (rcirc-ctcp-sender-PING): New function.
207 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
209 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
210 Remove the mark/nomark handling, and activate shift-select-mode instead.
212 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
214 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
216 * calc/calc-units.el (math-logunits-quant): Add support for
217 non-logarithmic units.
219 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
221 * allout.el (allout-after-copy-or-kill-hook): New hook for
222 extension-specific processing of killed text.
223 (allout-mode): Include new allout-after-copy-or-kill-hook among
225 (allout-kill-line) (allout-kill-topic): Ensure that processing
226 after kill happens even if barf-if-buffer-read-only is raised.
227 Include new allout-after-copy-or-kill-hook among that subsequent
229 (allout-deannotate-hidden): Actually remove the annotation text
232 * allout.el (allout-listify-exposed): Copy text sans text properties.
234 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
236 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
238 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
240 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
242 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
244 * calc/calc.el (calc-logunits-field-reference): Rename from
245 `calc-default-field-reference-level'.
246 (calc-logunits-power-reference): Rename from
247 `calc-default-power-reference-level'
249 * calc/calc-units.el (math-logunits-quant): Rename from
250 `math-logunits-level'
251 (math-logunits-plus): Rename from math-logcombine.
252 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
253 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
254 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
256 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
257 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
258 (calc-logunits-quantity): Rename from `calc-level'.
259 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
260 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
261 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
262 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
263 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
266 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
267 (calc-ul-prefix-help): Remove.
268 (calc-l-prefix-help): New function.
269 (calc-full-help): Add reference to `calc-l-prefix-help'.
271 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
273 * calc/README: Mention logarithmic units.
275 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
277 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
278 non-ASCII characters (Bug#7925).
280 2011-02-05 Glenn Morris <rgm@gnu.org>
282 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
284 * calendar/diary-lib.el (diary-font-lock-keywords):
285 Tweak diary-time-regexp match. (Bug#7891)
287 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
288 (f90-mode): Use it for mode's `find-tag-default-function' property.
290 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
292 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
294 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
296 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
299 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
301 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
302 font-lock-syntax-table remappings.
303 (sh-here-doc-markers, sh-here-doc-re): Remove.
304 (sh-font-lock-close-heredoc): Remove.
305 (sh-syntax-propertize-here-doc): New function.
306 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
307 instead of the sh-here-doc-re.
308 (sh-font-lock-paren): Don't do anything in comments or strings.
309 Handle line continuations. Accept a few more chars.
310 Don't rely on the font-lock-syntax-table remappings.
311 `esac' is not a valid pattern.
312 (sh-syntax-propertize-function): Handle here-docs differently, so we
313 don't bother syntax-propertizing the insides.
315 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
316 Handle new bashisms ";&" and ";;&" (bug#7947).
318 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
320 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
321 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
323 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
325 * net/tramp.el (tramp-postfix-method-format)
326 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
327 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
328 (tramp-postfix-user-regexp, tramp-prefix-port-format)
329 (tramp-prefix-port-regexp, tramp-postfix-host-format)
330 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
333 2011-02-04 Sam Steingold <sds@gnu.org>
335 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
337 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
339 * international/mule-util.el (with-coding-priority): Doc fix.
341 2011-02-04 Eli Zaretskii <eliz@gnu.org>
343 * arc-mode.el (archive-mode-map): Fix a typo in last change.
345 2011-02-03 Sam Steingold <sds@gnu.org>
347 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
348 Do not error out when `func' is nil.
350 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
352 * net/tramp-sh.el (tramp-remote-path): Add default settings for
353 `tramp-default-remote-path' to the docstring.
354 (tramp-get-remote-path): Suppress error message when `getconf
357 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
359 2011-02-03 Glenn Morris <rgm@gnu.org>
361 * vc/vc-hg.el (vc-hg-command): Doc fix.
363 * term/w32-win.el (libpng-version): Declare for compiler.
365 * msb.el: No need to load dired while compiling.
367 * emacs-lisp/elint.el (elint-standard-variables):
368 Remove a couple of built-ins that now have doc-strings.
370 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
371 `require' is automatically `eval-and-compile'd.
373 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
374 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
376 * strokes.el (strokes-fill-current-buffer-with-whitespace):
377 Move definition before use.
378 (strokes-report-bug): Make it obsolete.
380 2011-02-02 Sam Steingold <sds@gnu.org>
382 * apropos.el (apropos-print): Now that `apropos-mode' inherits
383 from `special-mode', entering it makes the buffer read-only, so
384 call it only when everything has been already inserted.
385 * emacs-lisp/ert.el (ert--setup-results-buffer)
386 (ert-results-pop-to-backtrace-for-test-at-point)
387 (ert-results-pop-to-messages-for-test-at-point)
388 (ert-results-pop-to-timings): Ditto.
389 * emacs-lisp/package.el (package--list-packages): Ditto.
390 * play/solitaire.el (solitaire): Ditto.
392 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
394 * progmodes/compile.el: Make all faces inherit.
395 (compilation-warning): Inherit from font-lock-variable-name-face.
396 (compilation-info): Inherit from font-lock-type-face.
397 (compilation-line-number): Reassign to font-lock-keyword-face.
398 (compilation-column-number): Reassign to font-lock-doc-face.
399 (compilation-leave-directory-face): Reassign to
400 font-lock-builtin-face.
402 2011-02-02 Eli Zaretskii <eliz@gnu.org>
404 * dired.el (dired-insert-directory): Don't invoke `ls' when
405 ls-lisp.el is used to emulate it.
407 2011-02-01 Julien Danjou <julien@danjou.info>
409 * color.el (color-gradient): Add a color-gradient function.
411 2011-02-01 Sam Steingold <sds@gnu.org>
413 * simple.el (special-mode-map): Bind "h" to `describe-mode';
414 bind "z" to `kill-this-buffer'.
415 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
416 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
417 (apropos-mode): Inherit from `special-mode'.
418 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
419 * bookmark.el (bookmark-bmenu-mode): Define using
420 `define-derived-mode' inheriting from `special-mode'.
421 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
422 * image-mode.el (image-mode-map): Ditto.
423 * replace.el (occur-mode): Define using
424 `define-derived-mode' inheriting from `special-mode'.
425 * tar-mode.el (tar-mode): Inherit from `special-mode'.
426 * calendar/diary-lib.el (diary-fancy-display-mode):
427 Inherit from `special-mode-map'.
428 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
429 Inherit from `special-mode'.
430 * emacs-lisp/package.el (package-menu-mode-map): Copy from
432 (package-menu-mode): Define using `define-derived-mode'
433 inheriting from `special-mode'.
434 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
435 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
436 (xesam-mode-map): Define separately.
437 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
438 * progmodes/compile.el (compilation-minor-mode-map)
439 (compilation-mode-map): Inherit from `special-mode-map'.
440 * vc/diff-mode.el (diff-mode-shared-map):
441 Inherit from `special-mode-map'.
442 * vc/log-view.el (log-view-mode-map): Add a comment.
444 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
446 * custom.el (load-theme): Define return value. Drop use of
447 unsafep; call custom-theme-load-confirm for non-known-safe themes.
448 (custom-theme-load-confirm): Scroll in the correct window.
449 (custom-enabled-themes): Add custom-safe-themes to :set-after.
451 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
452 checkbox if load-theme fails.
454 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
456 * progmodes/compile.el (compilation-next-error): Check there's
457 a message before using it (bug#7941).
459 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
461 * calc/calc-mtx.el (math-lud-pivot-check): New function.
462 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
465 2011-01-31 Alan Mackenzie <acm@muc.de>
467 * progmodes/cc-cmds.el (c-forward-over-illiterals):
468 Continue parsing if we encounter a naked # (Bug#7595).
469 (c-beginning-of-statement): Avoid loop in locating the beginning
472 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
474 * files.el (copy-directory): Fix arguments to recursive call.
476 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
478 * files.el (copy-directory): If destination is an existing
479 directory, copy into a subdirectory there.
481 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
483 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
486 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
488 * image-dired.el (image-dired-mouse-display-image): No-op if no
489 file is found (Bug#7817).
491 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
493 2011-01-31 Kenichi Handa <handa@m17n.org>
495 * international/quail.el (quail-keyboard-layout-alist):
496 Remove superfluous SPC for "pc105-uk" (bug#7927).
498 2011-01-31 Glenn Morris <rgm@gnu.org>
500 * msb.el (msb-menu-bar-update-buffers): Update for changed
501 argument handling of menu-bar-select-frame. (Bug#7902)
503 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
505 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
506 to the recursion depth (Bug#7722).
508 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
510 * term/ns-win.el (ns-find-file): Expand ns-input-file with
511 command-line-default-directory (Bug#7872).
513 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
515 * progmodes/compile.el (compilation--flush-directory-cache):
516 New function, extracted from compilation--remove-properties.
517 (compilation--remove-properties, compilation--parse-region): Use it.
518 (compilation--previous-directory): Handle one more case.
519 (compilation-enable-debug-messages): Remove.
520 (compilation-parse-errors, compilation--flush-parse): Just remove the
521 left over debug messages.
523 2011-01-31 Sam Steingold <sds@gnu.org>
525 * progmodes/compile.el (compilation-enable-debug-messages):
526 Add a variable to make the parsing messages introduced in
527 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
528 (compilation-parse-errors, compilation--flush-parse): Use it.
530 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
532 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
533 (rcirc-nick-completion-format): New defcustom.
534 (rcirc-complete): Use it.
536 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
538 * net/rcirc.el: Clean log filenames (Bug#7933).
539 (rcirc-log-write): Use convert-standard-filename.
540 (rcirc-log-filename-function): Documentation updates.
542 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
544 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
545 Check report-emacs-bug-can-use-osx-open and use that if t.
546 (report-emacs-bug-can-use-osx-open): New function.
547 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
548 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
550 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
552 * vc/vc-dispatcher.el (vc-set-async-update): New function for
553 updating Dired or VC-dir buffers after async command completes.
555 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
556 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
558 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
559 completions if it exists. Use vc-set-async-update.
560 (vc-git-pull): Use vc-set-async-update.
562 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
563 read-shell-command. Use vc-set-async-update.
564 (vc-hg-merge-branch): Use vc-set-async-update.
566 2011-01-29 Daiki Ueno <ueno@unixuser.org>
568 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
569 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
572 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
574 * progmodes/compile.el: Avoid an N² behavior in grep.
575 (compilation--previous-directory): New fun.
576 (compilation--previous-directory-cache): New var.
577 (compilation--remove-properties): Flush it.
578 (compilation-directory-properties, compilation-error-properties):
579 Use the new fun to speed up looking for the current directory.
581 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
583 * vc/vc-hg.el (vc-hg-history): New var.
584 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
585 (vc-hg-merge-branch): New function.
587 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
588 the other way around.
590 * vc/vc-git.el (vc-git-branches, vc-git-pull)
591 (vc-git-merge-branch): New functions.
592 (vc-git-history): New var.
594 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
596 * vc/vc-dispatcher.el (vc-do-async-command): New function.
598 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
601 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
604 2011-01-28 Leo <sdl.web@gmail.com>
606 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
607 highlighting to the "this function is advised" message.
609 * help-mode.el (help-mode-finish): Apply highlighting here, to
610 avoid clobbering by substitute-command-keys (Bug#6304).
612 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
614 * woman.el (woman0-roff-buffer): Process roff escape sequences
615 occurring prior to the first request (Bug#7843).
617 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
619 * progmodes/compile.el: Don't use font-lock any more.
620 (compilation-error-regexp-alist-alist): Change handling of makepp
621 so it preserves the warning/error distinction on subsequent files.
622 Simplify various rules.
623 (compilation-directory-properties): Use font-lock-face.
624 Add a compilation-message property.
625 (compilation-internal-error-properties): Use font-lock-face.
626 Don't set the compilation-debug property here.
627 (compilation--put-prop, compilation--remove-properties)
628 (compilation--parse-region, compilation--ensure-parse)
629 (compilation--ensure-parse): New functions.
630 (compilation-parse-errors): New function, largely inspired of
631 compilation-mode-font-lock-keywords. Set compilation-debug here.
632 (compilation--parsed): New var.
633 (compilation--flush-parse): Use compilation--ensure-parse.
634 (compilation-start): Don't call font-lock.
635 (compilation-turn-on-font-lock): Remove.
636 (compilation-setup): Don't set font-lock-extra-managed-props not change
637 other font-lock settings, other than keywords.
638 Don't activate font-lock-mode.
639 Set change-major-mode-hook and before-change-functions.
640 (compilation--unsetup): Remove properties and hooks.
641 (compilation-next-single-property-change): New function.
642 (compilation-next-error): Use it to parse when needed.
643 (compile-goto-error): Parse buffer as needed.
644 (compilation--compat-error-properties): Don't need a dummy `face'
647 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
649 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
650 (compilation-process-setup-function): Fix docstring's false promises.
651 (compilation-error-regexp-alist-alist): Catch omake's continuous
652 recompilation message and avoid reuse of old markers.
653 (compilation-parse-errors-function): Declare obsolete.
654 (compilation-buffer-modtime): Remove.
655 (compilation--make-cdrloc, compilation--loc->col)
656 (compilation--loc->line, compilation--loc->file-struct)
657 (compilation--loc->marker, compilation--loc->visited)
658 (compilation--make-file-struct, compilation--file-struct->file-spec)
659 (compilation--file-struct->formats)
660 (compilation--file-struct->loc-tree): New macros. Use them.
661 (compilation--message): New defstruct. Use them.
662 (compilation-next-error-function): Don't mess with timestamps to try
663 and guess when to reparse.
665 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
667 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
668 (tex-old-error-file-name): New function,
669 extracted from tex-compilation-parse-errors.
670 (tex-compilation-parse-errors): Remove.
671 (tex-error-regexp-alist): New var.
672 (tex-shell): Use it to avoid compilation-parse-errors-function.
674 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
675 (grep-mode-font-lock-keywords): Remove regexp that seems like
676 a left-over from before we used compile.el.
677 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
678 modifying the buffer within with-silent-modifications.
680 * progmodes/compile.el: Cleanup text-properties namespace by using
681 `compilation-message' instead of `message', `compilation-directory'
682 instead of `directory', and `compilation-debug' instead of `debug'.
683 (compilation-last-buffer, compilation-parsing-end)
684 (compilation-error-list, compilation-old-error-list): Move to the
685 compatibility part of the code.
686 (compilation-error-properties): If `file' is a function, let it return
688 (compilation-mode-font-lock-keywords): Be more conservative with the
689 omake "^ *" pattern prefix, to try and minimize the risk of
690 pathologically slow regexp matching.
691 (compilation-start): Use inhibit-read-only.
692 (compilation--unsetup): New function.
693 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
694 (compilation-filter): Minor tweaks.
695 (compilation-next-error-function): Try and avoid abusing variables.
696 (compilation--flush-file-structure): New fun.
697 (compilation-fake-loc): Use it to improve behavior when file is reused.
698 (debug-ignored-errors): Add "Moved past last ...".
699 (compilation--compat-error-properties)
700 (compilation--compat-parse-errors): Rename by doubling the "-".
702 Port features from the previous prolog.el to the new one.
703 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
704 (prolog-program-name, prolog-program-switches, prolog-consult-string)
705 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
706 variable and use a function to compute the value dynamically.
707 (prolog-prompt-regexp): Add regexp for GNU Prolog.
708 (prolog-continued-prompt-regexp): Remove, unused.
709 (prolog-find-value-by-system): Try and use the value of prolog-system
710 in the *prolog* buffer if it helps.
711 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
712 (prolog-zip-on): ..and check prolog-system and version here instead.
713 (prolog-inferior-self-insert-command): New command.
714 (prolog-inferior-mode-map): Use it.
715 (prolog-inferior-error-regexp-alist): New var.
716 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
717 (prolog-input-filter): Use derived-mode-p.
718 (prolog-inferior-guess-flavor): New function.
719 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
720 make-comint to avoid running comint-mode twice.
721 (prolog-inferior-buffer): New fun.
722 (prolog-old-process-region, prolog-old-process-file):
723 Don't call prolog-bsts here...
724 (prolog-build-prolog-command): ...do it here instead.
725 (prolog-old-process-region, prolog-old-process-file):
726 Use compilation-fake-loc and compilation-forget-errors.
727 (prolog-consult-compile-region): Use bolp.
729 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
731 * image-mode.el (image-display-size): Doc fix (Bug#7820).
733 2011-01-27 Sam Steingold <sds@gnu.org>
735 * midnight.el (clean-buffer-list-kill-never-buffer-names):
736 Remove "*server*" which is never created by emacs server.
738 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
740 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
741 there are some diff switches.
743 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
745 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
746 Copy change made to ruby-font-lock-syntactic-keywords.
748 * htmlfontify.el: Make it obey the font-lock-face text property.
749 Miscellaneous cleanup such as:
750 - Don't hide expressions after a closing paren.
751 - Move initial setq into let.
752 - Hoist common parts out of ifs.
753 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
754 (hfy-face-at): Use get-text-property instead.
755 (hfy-prop-invisible-p): Use invisible-p if available.
756 (htmlfontify-manual): Use \\[...].
757 (hfy-html-quote-regex): Use [...].
758 (hfy-combined-face-spec): Simplify.
759 (hfy-compile-face-map): Don't presume point-min==1.
760 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
762 (hfy-text-p): η-reduce.
763 (hfy-tags-for-file): Receive cache-hash directly.
764 (hfy-mark-tag-names): Adjust call.
766 2011-01-27 Glenn Morris <rgm@gnu.org>
768 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
769 (msb-after-load-hook): Remove eval-after-load wackiness.
771 2011-01-25 Sam Steingold <sds@gnu.org>
773 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
774 literal "diff" (important for windows-nt).
776 2011-01-25 Glenn Morris <rgm@gnu.org>
778 * emacs-lisp/copyright.el (copyright-at-end-flag)
779 (copyright-names-regexp): Add safety properties.
780 (copyright-year-ranges): New option.
781 (copyright-find-end): New function, split from copyright-update-year.
782 (copyright-update-year): Use copyright-find-end.
783 (copyright-fix-years): Optionally, convert years to ranges.
784 Handle years continued over comment lines.
785 Do not mess with the fill-prefix.
786 Do not call copyright-update.
787 (copyright-update-directory): Optionally, fix years rather than update.
788 Skip directories. Find files with only safe local vars.
790 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
792 * files.el (file-name-non-special): Only change buffer-file-name after
793 insert-file-contents if it's `visit'ing the file (bug#7854).
795 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
797 * dired.el (dired-revert): Doc fix (Bug#7758).
799 * simple.el (line-move-visual): Doc fix (Bug#7594).
801 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
803 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
804 here-doc which ends with an underscore.
805 (ruby-mode-set-encoding): Skip shebang line always.
806 (ruby-mode-map): Bind C-c C-c to comment-region.
807 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
808 (ruby-forward-sexp): Stop after literal hash key labels.
809 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
812 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
814 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
815 the correct buffer (Bug#7650).
817 2011-01-25 Glenn Morris <rgm@gnu.org>
819 * comint.el (comint-mode): Doc fix. (Bug#7897)
821 * simple.el (do-auto-fill): Give it a doc string.
823 * button.el (make-text-button): Doc fix. (See bug#7881)
825 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
827 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
828 Don't move backward, so as not to fall in an inf-loop (bug#7736).
830 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
831 Handle ?" and friends differently (e.g. don't use backrefs).
833 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
835 * calc/calc.el (calc-default-power-reference-level)
836 (calc-default-field-reference-level): New variables.
837 * calc/calc-units.el (math-standard-units): Add dB and Np.
838 (math-logunits): New variable.
839 (math-extract-logunits, math-logcombine, calcFunc-luplus)
840 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
841 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
843 (math-find-base-units-rec): Add entry for ln(10).
844 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
845 (calc-ul-prefix-help): New function.
846 * calc/calc-ext.el (calc-init-extensions): Autoload new units
847 functions. Add keybindings for new units functions.
849 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
851 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
852 rcirc buffers. (Bug#4940)
854 2011-01-22 Glenn Morris <rgm@gnu.org>
856 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
857 split out from copyright-update-year.
858 (copyright-update): Don't mess with the GPL version if we don't own the
859 copyright. Update license regexp, and remove no longer needed
861 (copyright-fix-years): Use copyright-find-copyright.
863 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
865 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
867 2011-01-22 Jari Aalto <jari.aalto@cante.net>
869 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
870 (lm): Rename to landmark.
871 (lm-test-run): Rename to landmark-test-run.
873 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
875 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
876 "Case sensitive" menu item.
878 2011-01-22 Roland McGrath <roland@frob.com>
880 * comint.el (comint-replace-by-expanded-history-before-point): Fix
881 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
883 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
885 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
887 2011-01-22 Jari Aalto <jari.aalto@cante.net>
889 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
890 Assume foo(bar) is a manpage reference rather than some unquoted
893 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
895 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
896 Suggested by Flo <sensorflo@gmail.com>.
898 2011-01-22 Glenn Morris <rgm@gnu.org>
900 * progmodes/compile.el (compilation-error-regexp-alist):
901 Fix custom type. (Bug#7812)
903 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
905 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
906 allout-number-siblings, in keeping with what obtained due to
907 (now-defunct) allout-keybindings-list. Ditch repeat binding to
909 (allout-before-change-handler): Better expose spots affected by
912 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
914 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
916 2011-01-22 Phil Hagelberg <phil@evri.com>
918 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
919 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
920 (pcmpl-ssh-config-hosts): New function.
921 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
922 pcmpl-ssh-known-hosts.
924 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
926 * calc/calc-undo.el (calc-undo): Autoload it.
927 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
928 and autoload for `calc-undo'.
929 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
931 * calc/calc-graph.el:
932 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
934 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
936 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
937 keybindings to `calc-undo'.
939 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
941 Don't mess with *temp*.
942 * obsolete/spell.el: Move from textmodes/spell.el.
944 * term.el (term-read-input-ring):
945 * startup.el (display-startup-echo-area-message):
946 * progmodes/antlr-mode.el (antlr-directory-dependencies):
947 * comint.el (comint-read-input-ring): Use with-temp-buffer.
948 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
951 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
953 * allout.el: (allout-institute-keymap): Use fset instead of
956 (allout-hotspot-key-handler): Check for non-control-modified
957 bindings for hotspot characters if there are no control-modified
960 * allout.el: Summary - migrate to defining allout mode using
961 define-minor-mode instead of defun. Significantly clean-up
962 internal keymap provisions, refactoring and, in the process,
963 removing a lot of accumulated cruft.
965 allout-mode-map is now a keymap by virtue of being a defalias to
966 allout-mode-map-value, which contains the actual keymap structure.
968 (allout-mode): Use define-minor-mode rather than defun.
969 Remove now-unnecessary minor-mode setup activities from the body.
970 Specify :keymap as allout-mode-map so the minor-mode-map-alist
971 entry will be '(allout-mode . allout-mode-map) - see
972 allout-mode-map-value, below. Adjust docstring to track changes.
973 (allout-minor-mode): Remove this defalias, now that we're using
975 (allout-mode-map): Set value to be 'allout-mode-map. The actual
976 keymap is allout-mode-map-value, via defalias.
977 (allout-mode-map-value): The variable holding the actual mode
978 keymap structure, by virtue of defalias from allout-mode-map.
979 (allout-compose-and-institute-keymap): Rename from
980 allout-bind-keys, and including the binding-composition
981 functionality of the former produce-allout-mode-map and
982 allout-setup-mode-map.
983 (allout-institute-keymap): Take over the "setup" part of the former
984 allout-setup-mode-map. Reassign allout-mode-map-value value and
986 (allout-command-prefix) (allout-prefixed-keybindings)
987 (allout-unprefixed-keybindings):
988 Use allout-compose-and-institute-keymap to process the bindings.
989 (allout-unprefixed-keybindings): Remove extraneous '?' question
991 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
992 user can customize if they want to use that binding.
993 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
994 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
995 elided that, previously, instead of the one for \C-h.)
996 (allout-hotspot-key-handler): Remove attempt to resolve the key
997 through the literal key-string lookup on allout-keybindings-list.
998 That probably hasn't worked for a Long Time, and removal of
999 allout-keybindings-list further simplifies the keybindings
1001 (allout-pre-command-business): Use allout-mode-map-value instead
1003 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1004 the bindings if they want to use a keybinding having a trailing
1005 \C-h. No deprecation needed since this feature was never in a
1007 (allout-keybindings-list): Remove. It's not been useful for a
1008 while. (See allout-hotspot-key-handler changes, above.)
1009 (produce-allout-mode-map): Remove. Consolidate into
1010 allout-compose-and-institute-keymap.
1011 (allout-mode-map-adjustments): Remove. No longer necessary with
1012 removal of allout-preempt-trailing-ctrl-h.
1013 (allout-setup-mode-map): Remove. Consolidate into
1014 allout-compose-and-institute-keymap and allout-institute-keymap.
1016 2011-01-20 Glenn Morris <rgm@gnu.org>
1018 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1020 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1022 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1024 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1026 * files.el (find-alternate-file, basic-save-buffer)
1027 (basic-save-buffer-2, revert-buffer, recover-file)
1028 (kill-buffer-ask, abort-if-file-too-large)
1029 (set-visited-file-name, write-file, backup-buffer)
1030 (basic-save-buffer, save-some-buffers):
1031 * dired-aux.el (dired-compress-file): Callers changed.
1033 2011-01-19 Glenn Morris <rgm@gnu.org>
1035 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1036 Also check the property status. (Bug#7861)
1038 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1040 * net/tramp.el (tramp-debug-message): Extend function exclude
1041 list. Use `regexp-opt'.
1043 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1045 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1046 highlighting doesn't spill over subsequent lines.
1048 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1049 keymap expression. Improve docstring.
1051 * electric.el (electric-indent-post-self-insert-function):
1052 Don't auto-indent for indent-to-left-margin, it's too often
1055 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1057 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1058 spaces if the frame was resized, so that the full visible buffer
1059 serves as canvas for strokes.
1061 2011-01-16 Glenn Morris <rgm@gnu.org>
1063 * info-xref.el (info-xref-docstrings): Replace cl function.
1064 Also skip directories.
1066 2011-01-16 Kevin Ryde <user42@zip.com.au>
1068 * info-xref.el: Version 3.
1069 (info-xref-check, info-xref-check-all): Move commentary details
1070 into docstrings for better visibility.
1071 Use compilation-mode for the results buffer.
1072 (info-xref-output, info-xref-output-error, info-xref-with-output)
1073 (info-xref-filename, info-xref-in-progress):
1074 New internals for this.
1075 (info-xref-check-list, info-xref-check-buffer)
1076 (info-xref-check-all-custom): Use those.
1077 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1078 (info-xref-output-heading): Rename from info-xref-filename-heading.
1079 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1080 (info-xref-filename-heading): Move to output managing section.
1081 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1082 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1083 (info-xref-subfile-p): Move to generic section with those two.
1084 (info-xref-check-node): New function split from
1085 info-xref-check-buffer, shared by info-xref-docstrings.
1086 (info-xref-goto-node-p): Move to a checking section with that func.
1087 (info-xref-unavail): New counter.
1088 (info-xref-check-node): Use it.
1089 (info-xref-with-output): Show count of unavailables at end of output.
1090 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1091 symlinks. Exclude .texi files. Exclude Emacs backup files.
1092 (info-xref-check-all-custom): Fix quietening viper-mode and
1093 gnus-registry-install -- use setq not let so as not to unbind
1096 2011-01-16 Juri Linkov <juri@jurta.org>
1098 * isearch.el (isearch-abort): Don't quit if search has
1099 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1101 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1103 * files.el (backup-buffer): Make last-resort backup file in
1104 .emacs.d (Bug#6953).
1106 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1107 make it with permission 700.
1109 2011-01-15 Kenichi Handa <handa@m17n.org>
1111 * mail/rmailmm.el (rmail-mime-insert-header):
1112 Set rmail-mime-coding-system to a cons whose car is the last coding
1113 system used to decode the header.
1114 (rmail-mime-find-header-encoding): New function.
1115 (rmail-mime-insert-decoded-text):
1116 Override rmail-mime-coding-system if it is a cons.
1117 (rmail-show-mime): If only a header part was decoded, find the
1118 coding system while ignoring mm-charset-override-alist.
1120 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1122 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1124 2011-01-15 Kenichi Handa <handa@m17n.org>
1126 * mail/rmailmm.el (rmail-mime-next-item)
1127 (rmail-mime-previous-item): Delete them.
1128 (rmail-mime-shown-mode): Recursively call for children.
1129 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1131 (rmail-mime-raw-mode): Recursively call for children.
1132 (rmail-mode-map): Change mapping of tab and backtab to
1133 forward-button and backward-button respectively.
1134 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1136 (rmail-mime-update-tagline): New function.
1137 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1138 body display is changed.
1139 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1140 (rmail-mime-image): Delete this button type.
1141 (rmail-mime-toggle): New button type.
1142 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1143 body display is changed. Change the save button label to "Save".
1144 Don't process show/hide button here.
1145 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1146 the body display is changed. Unconditionally call
1147 rmail-mime-insert for children.
1148 (rmail-mime-handle): Update `display' vector of the just inserted
1150 (rmail-mime-process): If mail-header-parse-content-type returns
1151 nil, use "text/plain" as the fallback type.
1152 (rmail-mime-insert): For raw-mode, recursively call
1153 rmail-mim-insert for children.
1154 (rmail-mime): Handle the case that the current buffer is not rmail
1155 buffer (e.g. in summary buffer).
1157 2011-01-15 Kenichi Handa <handa@m17n.org>
1159 * mail/rmailmm.el (rmail-mime-next-item)
1160 (rmail-mime-previous-item): Skip the body of a non-multipart
1161 entity if a tagline is shown.
1163 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1165 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1166 (tmm-prompt): Simplify.
1167 (tmm-add-prompt): Remove unused var `win'.
1169 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1170 to minor mode which used nil accidentally to mean "turn off".
1172 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1174 * net/tramp-sh.el (tramp-find-inline-compress)
1175 (tramp-get-inline-coding): Quote command after pipe symbol for
1176 local calls under W32. (Bug#6784)
1178 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1180 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1181 only when running under W32.
1183 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1185 * progmodes/grep.el (grep-compute-defaults): Quote the program
1186 file name after the pipe symbol in Grep templates. (Bug#6784)
1187 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1189 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1191 * buff-menu.el (Buffer-menu-buffer-list): New var.
1192 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1193 restricted buffer list is not lost on revert (Bug#7749).
1195 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1197 * net/ldap.el (ldap-search-internal): Discard stderr output.
1199 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1201 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1203 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1205 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1207 2011-01-15 Kenichi Handa <handa@m17n.org>
1209 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1210 part as a plain text.
1211 (rmail-mime-process-multipart): Set the default content-type to
1212 nil for unknown multipart subtypes (bug#7651).
1214 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1216 * hexl.el (hexl-mode-old-*): Remove.
1217 (hexl-mode--old-var-vals): New var to replace them.
1218 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1219 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1220 Use them to set local vars (bug#7846).
1221 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1222 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1223 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1225 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1226 (smerge-resolve--normalize-re): New var.
1227 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1228 (smerge-resolve): Use them.
1229 * newcomment.el (comment-only-p): New function.
1230 (comment-or-uncomment-region): Use it.
1232 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1234 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1235 table, get the value before switching to the output buffer. (Bug#7733)
1237 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1239 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1241 2011-01-14 Kim F. Storm <storm@cua.dk>
1243 * emulation/cua-base.el (cua--init-keymaps):
1244 Remap exchange-point-and-mark in cua-global-keymap.
1246 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1248 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1251 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1253 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1255 (easy-menu-create-menu, easy-menu-convert-item-1):
1256 Use :label rather than nil for labels. Use `case'.
1257 Add :enable as alias for :active.
1258 (easy-menu-binding): Obey :label.
1260 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1262 Use run-mode-hooks for major mode hooks (bug#513).
1263 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1264 Rename from reftex-toc-map.
1265 (reftex-toc-mode): Use define-derived-mode.
1266 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1267 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1268 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1269 (reftex-select-label-mode, reftex-select-bib-mode):
1270 Use define-derived-mode.
1271 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1272 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1273 Move init into delcaration.
1274 (reftex-index-mode, reftex-index-phrases-mode):
1275 Use define-derived-mode.
1276 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1277 speedbar-syntax-table. Move init into declaration.
1278 (speedbar-mode-map): Rename from speedbar-key-map.
1279 Move init into declaration.
1280 (speedbar-file-key-map): Move init into declaration.
1281 (speedbar-mode): Use define-derived-mode.
1282 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1283 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1284 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1285 (chart-face-list): Move initialization into declaration.
1286 (chart-mode): Use define-derived-mode.
1287 * calculator.el (calculator-mode-map): Move init into declaration.
1288 (calculator-mode): Use define-derived-mode.
1290 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1291 work for nested comments.
1293 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1294 (prolog-use-prolog-tokenizer-flag): Change default when
1295 syntax-propertize can be used.
1296 (prolog-syntax-propertize-function): New var.
1297 (prolog-mode-variables): Move make-local-variable into `set'.
1298 Don't make comment-column local since we don't set it.
1299 Set comment-add (as it was in previous prolog.el). Use dolist.
1300 Set syntax-propertize-function.
1301 (prolog-mode, prolog-inferior-mode):
1302 Call prolog(-inferior)-menu directly, not through the mode-hook.
1303 (prolog-buffer-module, prolog-indent-level)
1304 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1305 (prolog-comment-limits, prolog-goto-comment-column):
1306 Use line-(end|beginning)-position.
1307 (prolog-build-prolog-command): Tighten up regexp.
1308 (prolog-consult-compile): Move make-local-variable into `set'.
1309 (prolog-consult-compile-filter, prolog-goto-next-paren)
1310 (prolog-help-on-predicate, prolog-clause-info)
1311 (prolog-mark-predicate): Don't let+setq.
1312 (prolog-indent-line): Use indent-line-to.
1313 Only call prolog-goto-comment-column if necessary.
1314 (prolog-indent-level): Use bobp.
1315 (prolog-first-pos-on-line): Remove, not used any more.
1316 (prolog-in-string-or-comment): Use syntax-ppss if available.
1317 (prolog-help-on-predicate): Use read-string.
1318 (prolog-goto-predicate-info): Simplify.
1319 (prolog-read-predicate): Use `default' rather than `initial'.
1320 (prolog-temporary-file): Use make-temp-file to close a security hole.
1321 (prolog-toggle-sicstus-sd): New command.
1322 (prolog-electric-underscore, prolog-variables-to-anonymous):
1323 Use dynamic-scoping as it was meant.
1324 (prolog-menu): Move menu definitions to top-level.
1325 Use a toggle-button for Sicstus's source debugger.
1326 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1328 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1329 Move other menu definition to top-level.
1331 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1333 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1334 name. Keep original document's directory as default-directory
1336 (doc-view-initiate-display): Fall back to normal mode when
1337 doc-view-mode cannot be enabled, also when extracting the document
1338 text into a separate buffer (bug#6446).
1340 * simple.el (shell-command): Don't error out if shell command
1341 buffer contains text with non-nil read-only property when erasing
1344 2011-01-13 Kim F. Storm <storm@cua.dk>
1346 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1347 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1348 items when cycling through the matches.
1350 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1352 * dired-x.el (dired-omit-verbose): New defcustom that allows
1353 disabling the omit messages.
1354 (dired-omit-expunge): Use it.
1356 2011-01-13 Christian Ohler <ohler@gnu.org>
1358 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1360 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1362 * font-lock.el (font-lock-verbose): Default to nil.
1364 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1366 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1367 (compose-mail): New arg RETURN-ACTION.
1368 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1370 * mail/sendmail.el (mail-return-action): New var.
1371 (mail-mode): Make it buffer-local.
1372 (mail-bury): Obey it. Move special Rmail window handling to
1374 (mail, mail-setup): New arg RETURN-ACTION.
1375 (sendmail-user-agent-compose): Move from simple.el.
1377 * mail/rmail.el (rmail-mail-return): New function.
1378 (rmail-start-mail): Pass it to compose-mail.
1380 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1382 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1383 menus. Add menu item for customize-themes.
1385 * cus-theme.el (customize-themes):
1386 * emacs-lisp/package.el (package--list-packages):
1387 Use switch-to-buffer.
1389 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1391 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1393 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * progmodes/prolog.el: Fix up coding convention and such.
1396 (prolog-indent-width): Use the same default as in
1397 previous prolog.el rather than tab-width which depends on which buffer
1398 is current when the file is loaded.
1399 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1401 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1402 (prolog-known-systems): Remove.
1403 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1404 Move initialization into declaration.
1405 (prolog-mode-map): Move initialization into declaration.
1406 Remove system-specific mode-map vars, since they referred to the same
1408 (prolog-mode-variables): Obey the user's preference w.r.t
1409 adaptive-fill-mode. Prefer symbol-value to `eval'.
1410 (prolog-mode-keybindings-edit): Add compatibility bindings.
1411 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1412 (mercury-mode-map): New var.
1413 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1414 (prolog-ensure-process, prolog-process-insert-string)
1415 (prolog-consult-compile): Use with-current-buffer.
1416 (prolog-guess-fill-prefix): Simplify data flow.
1417 (prolog-replace-in-string): New function to use instead of
1419 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1420 (prolog-uncomment-region): Use `uncomment-region' when available.
1421 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1422 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1423 of int-to-char and char-to-int.
1424 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1426 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1428 * progmodes/prolog.el: Replace by a whole new file.
1430 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1432 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1433 (declare-function, undefined, insert-for-yank)
1434 (replace-regexp-in-string): Follow checkdoc's recommendations.
1436 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1438 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1439 refreshing the diary buffer.
1441 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1443 * allout.el: Add 2011 to the file copyright.
1444 (allout-encrypt-string): Prevent encryption from adding an extra
1445 newline at the end of the topic body.
1446 (allout-version): Increment to 2.3.
1448 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1450 * net/dbus.el (dbus-unregister-service): Complete doc.
1451 Fix call of dbus-error signal.
1452 (dbus-register-property): Use `dont-register' keyword.
1454 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1456 * net/dbus.el (dbus-unregister-service): Translate returned
1457 integer into a symbol.
1458 (dbus-register-property): Use `dbus-register-service' to do the
1461 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1463 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1464 Suggested by Joakim Verona.
1466 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1468 * wid-edit.el (visibility): Replace :on-image and :off-image
1469 widget properties with :on-glyph and :off-glyph, for consistency
1470 with the `visibility' widget.
1471 (widget-toggle-value-create, widget-visibility-value-create):
1472 Merge into a single function `widget-toggle-value-create'.
1474 * cus-edit.el (custom-variable-value-create, custom-visibility)
1475 (custom-face-edit-value-create, custom-face-value-create):
1476 Replace :on-image and :off-image widget properties with :on-glyph and
1477 :off-glyph, for consistency with the `visibility' widget.
1479 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1481 * net/ldap.el (ldap-search-internal): Don't use eval.
1483 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1485 * subr.el (read-char-choice): Use read-key.
1487 * custom.el (custom-safe-themes): Rename from
1488 custom-safe-theme-files. Add :risky tag.
1489 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1490 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1492 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1494 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1495 from Search and add a label to Undo.
1497 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1498 inappropriate buttons and adding :vert-only tags.
1500 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1501 removal of Help tool-bar button. Remove Undo button for space.
1503 * info.el (info-tool-bar-map): Add :vert-only tags.
1505 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1507 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1508 image backend support. Either of them is fine.
1510 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1512 * subr.el (y-or-n-p): Doc fix.
1514 * custom.el (custom-safe-theme-files): New defcustom.
1515 (custom-theme-load-confirm): New function.
1516 (load-theme): Load theme using `load', confirming with
1517 custom-theme-load-confirm if necessary.
1519 * subr.el (read-char-choice): New function, factored out from
1520 dired-query and hack-local-variables-confirm.
1522 * dired-aux.el (dired-query):
1523 * files.el (hack-local-variables-confirm): Use it.
1525 * dired-aux.el (dired-compress-file):
1526 * files.el (abort-if-file-too-large, find-alternate-file)
1527 (set-visited-file-name, write-file, backup-buffer)
1528 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1529 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1530 Use new format string args for y-or-n-p and yes-or-no-p.
1532 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1534 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1535 [gcc-include]: Tighten file name match, add match for column
1537 [gnu]: Remove unused group.
1539 2011-01-08 Glenn Morris <rgm@gnu.org>
1541 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1543 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1545 2011-01-07 Sam Steingold <sds@gnu.org>
1547 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1548 the `explicit-shell-file-name' because that is the
1549 non-interactive shell.
1551 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1553 * subr.el (y-or-n-p): Accept format string args.
1555 2011-01-07 Glenn Morris <rgm@gnu.org>
1557 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1559 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1561 * allout.el (allout-back-to-current-heading): Ensure return to
1562 the visible containing topic, rather than a collapsed one.
1563 (allout-view-change-hook): Remove hook that was deprecated long ago.
1564 (allout-exposure-change-hook): Remove documentation remarks
1565 concerning removed allout-view-change-hook.
1566 (allout-flag-region): Remove invocation of and documentation
1567 remarks concerning allout-view-change-hook.
1569 2011-01-06 Glenn Morris <rgm@gnu.org>
1571 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1572 (vc-bzr-annotate-extract-revision-at-line):
1573 Handle authors with embedded spaces. (Bug#7792)
1575 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1577 * doc-view.el (doc-view-image-width): New variable.
1578 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1579 backend for PNG images, and do dynamic rescaling instead of
1580 reconverting the whole doc.
1582 2011-01-05 Glenn Morris <rgm@gnu.org>
1584 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1586 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1588 * allout.el: Reconcile with changes in line movement behavior for
1589 long text lines that cross more than a single physical window
1590 line, ie when truncate-lines is nil.
1591 (allout-next-visible-heading): Provide for change in line-move
1592 behavior on long lines when truncate-lines is nil. In that case,
1593 line-move can wind up on the same textual line when it moves to
1594 the next window line, and moving to the bullet position after the
1595 move yields zero advancement. Add logic to detect and compensate
1596 for the lack of progress.
1597 (allout-current-topic-collapsed-p): move-end-of-line respect for
1598 field boundaries is different when operating with body lines
1599 shorter than window width versus ones greater than window width,
1600 which can yield false negatives in this function. Avoid
1601 difference by applying move-end-of-line while field-text-motion is
1604 2011-01-04 Glenn Morris <rgm@gnu.org>
1606 * textmodes/rst.el (rst-compile-toolsets):
1607 Add pdf and s5 to option alist.
1609 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1611 * net/dbus.el (dbus-register-property): Add optional parameter
1612 dont-register-service. Updated docstring accordingly.
1614 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1616 * textmodes/rst.el (rst-compile-pdf-preview)
1617 (rst-compile-slides-preview): Remove extra line.
1619 2011-01-04 Glenn Morris <rgm@gnu.org>
1621 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1622 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1623 default to `prog' without a .py extension.
1624 (rst-compile-pdf-preview, rst-compile-slides-preview):
1625 Use program names from rst-compile-toolsets, rather than hard-coding.
1626 (rst-portable-mark-active-p): Fix presumed typo.
1628 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1630 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1631 libpng versions both before and after 1.4.0. (Bug#7716)
1633 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1635 * time.el (display-time-mode): Mention display-time-interval in
1636 the doc string. (Bug#7713)
1638 2011-01-02 Kenichi Handa <handa@m17n.org>
1640 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1641 condition-case and return an error message string if something
1643 (rmail-show-mime): Adjust for the above change. Insert the
1644 header by rmail-mime-insert-header.
1646 2011-01-02 Kenichi Handa <handa@m17n.org>
1648 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1649 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1650 (rmail-mime-mbox-buffer)
1651 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1652 (rmail-mime-entity): Argument changed. All codes handling an
1653 entity object are changed.
1654 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1656 (rmail-mime-entity-children, rmail-mime-entity-handler)
1657 (rmail-mime-entity-tagline): New functions.
1658 (rmail-mime-message-p): New function.
1659 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1660 (rmail-mime-entity-segment, rmail-mime-next-item)
1661 (rmail-mime-previous-item, rmail-mime-shown-mode)
1662 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1663 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1664 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1666 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1667 (rmail-mime-insert-decoded-text): New function.
1668 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1669 (rmail-mime-insert-image): Argument changed. Caller changed.
1670 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1671 (rmail-mime-set-bulk-data): New function.
1672 (rmail-mime-insert-bulk): Argument changed.
1673 (rmail-mime-multipart-handler): Return t.
1674 (rmail-mime-process-multipart): Argument changed.
1675 Handle "multipart/alternative" here.
1676 (rmail-mime-process): Argument changed.
1677 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1678 (rmail-mime-insert): Argument changed. Handle raw display mode.
1679 (rmail-mime): Argument changed. Handle toggling of raw display
1681 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1682 rmail-mime-view-buffer.
1683 (rmail-insert-mime-forwarded-message): Likewise.
1684 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1686 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1687 non-nil, handle the header in rmail-show-mime-function.
1689 2011-01-02 Leo <sdl.web@gmail.com>
1691 * help-fns.el (describe-variable): Fix previous change.
1693 2011-01-02 Juri Linkov <juri@jurta.org>
1695 * isearch.el (isearch-lazy-highlight-error): New variable.
1696 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1697 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1698 to the current value of `isearch-error' (Bug#7468).
1700 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1702 * help-fns.el (describe-variable): Don't emit trailing whitespace
1705 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1707 * textmodes/rst.el (rst-compile-pdf-preview)
1708 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1710 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1712 * emulation/edt-mapper.el: Override mapping of function keys so
1713 that the later call to read-key-sequence works.
1715 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1717 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1718 Unix EOLs. (Bug#7589)
1720 2011-01-02 Leo <sdl.web@gmail.com>
1722 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1723 if point is not behind eshell-last-output-end (Bug#7585).
1725 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1727 * files.el (file-local-variables-alist):
1728 Make permanent-local (bug#7767).
1730 2011-01-02 Glenn Morris <rgm@gnu.org>
1732 * version.el (emacs-copyright): Set short copyright year to 2011.
1734 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1736 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1737 an existing temp buffer. (Bug#7746)
1739 2011-01-02 Glenn Morris <rgm@gnu.org>
1741 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1742 multiple addresses. (Bug#7760)
1744 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1746 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1747 do-auto-fill if everything points back to allout-auto-fill.
1748 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1749 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1751 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1753 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1756 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1758 * doc-view.el (doc-view-set-doc-type): New function refactored
1760 (doc-view-fallback-mode): New function.
1761 (doc-view-mode): Use it.
1762 (doc-view-mode-maybe): New function that checks if doc-view-mode
1763 can be used and falls back to the next best mode otherwise.
1765 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1766 DVI, OpenDocument, and MS Office files.
1768 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1770 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1772 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1774 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1775 on a copy of auto-mode-alist, because that deletes with side
1778 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1780 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1781 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1782 fallback instead of hard coding fundamental mode.
1784 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1786 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1787 Office) files also for searching.
1789 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1791 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1792 Office) files. Not yet enabled via auto-mode-list.
1793 (doc-view-unoconv-program): New custom variable.
1794 (doc-view-mode-p): Handle new odf document type.
1795 (doc-view-odf->pdf): New conversion function.
1796 (doc-view-convert-current-doc): Call it for odf files.
1797 (doc-view-mode): Recognize newly supported file extensions.
1799 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1801 * net/tramp.el (tramp-default-method-alist)
1802 (tramp-default-user-alist)
1803 (tramp-local-host-regexp, tramp-prefix-domain-format)
1804 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1807 * net/tramp-gvfs.el:
1809 * net/tramp-imap.el:
1811 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1812 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1814 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1816 * saveplace.el (save-place-alist-to-file): Save list sorted and
1817 pretty-printed, so that it is mergeable by line-based text merging,
1818 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1820 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1822 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1823 (allout-mode): Argument "toggle" => "force".
1824 Refine the docstring.
1825 Remove special provisions for reactivation, besides the 'force'
1827 Consolidate layout provisions coce directly into the activation
1828 condition branch, now that we've removed those provisions.
1829 (allout-unload-function): Explicitly activate the mode before
1830 deactivating, if it's initially deactivated.
1831 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1832 warnings for version of function used only where
1833 set-buffer-multibyte is unavailable.
1835 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1837 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1838 are handled by the menu-bar entries. As before, don't use
1839 :visibile to avoid changing the tool-bar.
1841 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1843 * net/secrets.el (secrets-delete-alias): New defun.
1845 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1847 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1848 methods, otherwise ~/.ssh/config would be ignored.
1850 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1852 * emacs-lisp/rx.el: Make it a superset of sregex.
1853 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1854 of args, add `regex' alias.
1855 (rx-info): Add arg to distinguish head and standalone forms.
1856 (rx-check, rx-form): Pass the corresponding arg.
1858 (rx-repeat): Make it work for any number of args.
1859 (rx-syntax): Make it accept syntax chars as is.
1860 * obsolete/sregex.el: Move from emacs-lisp/.
1861 * emacs-lisp/re-builder.el: Remove sregex support.
1862 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1864 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1866 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1867 PRIMARY first, then the clipboard. (Bug#7699)
1869 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1871 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1874 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1876 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1877 .emacs.elc (Bug#7530).
1879 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1880 image spec (Bug#7480).
1882 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1884 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1885 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1888 2010-12-20 Leo <sdl.web@gmail.com>
1890 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1891 always be performed (Bug#7680).
1893 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1895 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1896 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1899 * color.el: Move from gnus/.
1901 * vc/diff.el (diff-better-file-name): Function deleted.
1902 abbreviating file names causes problems with shell-quote-argument.
1903 (diff-no-select): Just use expand-file-name.
1905 * tool-bar.el (tool-bar--image-expression): New function.
1906 (tool-bar-local-item, tool-bar--image-exp): Use it.
1907 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1908 Use :enable instead of :visible to avoid changing the tool-bar
1909 configuration unnecessarily.
1911 * info.el (info-tool-bar-map): Add separators.
1913 2010-12-17 Ken Brown <kbrown@cornell.edu>
1915 * loadup.el: Use version numbers in Cygwin build.
1917 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1919 * ido.el (ido-file-internal): Ask for confirmation before
1920 overwriting an existing file (Bug#1238).
1922 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1924 * tool-bar.el (tool-bar-setup): Add separators.
1926 * menu-bar.el (featurep): Use menu-bar-separator.
1928 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1930 Migrate allout encryption provisions from pgg to epg.
1932 * allout.el (allout-toggle-current-subtree-encryption)
1933 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1934 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1935 for simpler universal argument interpretation.
1936 (allout-toggle-subtree-encryption): Adjust docstring to describe
1937 changed encryption provisions. Change fetch-pass to keymode-cue, for
1938 simpler universal argument interpretation. Remove provisions for
1939 handling key type and identity - they'll all be within
1940 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1941 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1942 for keypair recipients (universal argument > 1) and, in addition,
1943 associating the specified recipients with the outline (universal
1944 argument > 4) using a file local variable setting for
1945 'epa-file-encrypt-to'.
1946 Require epa, for recipients handling.
1947 Change how regexp filtering elements are named.
1948 Describe the problem with caching of incorrect symmetric-decryption
1950 Use the epa-passphrase-callback-function, in case the user is using
1952 Support saving of the selected keypair recipients when invoked with a
1954 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1956 Establish epg-context with armoring and default epg-protocol.
1957 Remove all passphrase cache, verification, and hinting code.
1958 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1959 No longer used, delete.
1960 (allout-mode): Adjust docstring to describe changed encryption
1961 provisions. Describe the problem with caching of incorrect
1962 symmetric-decryption keys.
1963 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1964 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1965 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1966 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1969 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1971 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1972 key selection prompt; make 'silent as default (Bug#7487).
1974 2010-12-16 Leo <sdl.web@gmail.com>
1976 * eshell/eshell.el (eshell-directory-name):
1977 Use locate-user-emacs-file (Bug#7578).
1979 2010-12-15 Glenn Morris <rgm@gnu.org>
1981 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1983 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1984 Scott Evans <gse@antisleep.com>
1986 * rect.el (rectange--default-line-number-format)
1987 (rectangle-number-line-callback): New functions.
1988 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1990 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1992 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1993 Delete unused variables.
1994 (move-to-column-force): Remove function obsolete since 21.2.
1996 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1998 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1999 (tramp-handle-insert-file-contents): Do not set permanent-local
2002 * net/tramp-cache.el (tramp-persistency-file-name):
2003 Use `locate-user-emacs-file' if fboundp.
2005 * net/tramp-sh.el (tramp-methods): Add "ksu".
2006 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2009 2010-12-14 Glenn Morris <rgm@gnu.org>
2011 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2012 (find-tag-marker-ring): Declare.
2013 (js-find-symbol): Require etags.
2015 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2017 (mail-alias-file): Don't autoload. Doc fix.
2018 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2019 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2020 Mark as obsolete, and risky.
2021 (mail-setup): Simplify.
2023 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2024 * mail/sendmail.el (build-mail-aliases): Update autoload.
2026 * dired.el (dired-trivial-filenames, dired-chown-program)
2027 (dired-auto-revert-buffer): Remove autoload cookies.
2028 * mail/sendmail.el (mail-recover-1): Require 'dired.
2030 * dired.el (dired-subdir-switches, dired-chown-program)
2031 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2032 Make into defcustoms.
2033 (dired-chown-program): Simplify initialization.
2035 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2037 2010-12-13 Romain Francoise <romain@orebokech.com>
2039 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2041 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2043 * net/netrc.el (netrc-point-at-eol): Remove the unused
2044 netrc-point-at-old and netrc-bound-and-true-p bindings.
2045 (netrc-parse): Cache the netrc contents.
2047 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2049 * subr.el (posn-col-row): Evaluate header-line-format in the
2050 context of the POSITION window's buffer.
2052 2010-12-13 Glenn Morris <rgm@gnu.org>
2054 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2055 (with-silent-modifications): Doc fixes.
2057 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2059 * net/tramp.el (tramp-action-password, tramp-process-actions):
2060 Revert previous from. Use `save-restriction'.
2062 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2064 * calendar/diary-lib.el (diary-list-sexp-entries):
2065 Handle case of no newline at end of file. (Bug#7536)
2067 2010-12-13 Glenn Morris <rgm@gnu.org>
2069 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2071 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2073 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2074 (tramp-process-actions): Do not widen.
2076 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2077 Protect buffer-modified value. (Bug#7557)
2079 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2081 * log-edit.el (log-edit-changelog-entries):
2082 Regexp quote filename. (Bug#7505)
2084 2010-12-13 Tom Breton <tehom@panix.com>
2086 * cus-edit.el (custom-save-all):
2087 Bind print-length and print-level to nil. (Bug#7581)
2089 2010-12-13 Glenn Morris <rgm@gnu.org>
2091 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2092 Run hooks to update menu contents. (Bug#7586)
2094 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2095 file names, for the sake of MS Windows. (Bug#7588)
2097 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2100 empty lines without a leading space.
2102 2010-12-13 Leo <sdl.web@gmail.com>
2104 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2105 while mapping over marks (Bug#6810).
2107 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2109 * image-dired.el (image-dired-db-file)
2110 (image-dired-temp-image-file, image-dired-gallery-dir)
2111 (image-dired-temp-rotate-image-file): Set default values relative
2112 to image-dired-dir (Bug#7518).
2114 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2116 * format.el (format-decode-run-method): Pass args FROM and TO, not
2117 point-min and point-max, to shell-command-on-region (Bug#7488).
2119 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2121 * frame.el (blink-cursor-mode): Make default t for ns.
2123 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2125 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2127 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2129 * comint.el (comint-dynamic-list-input-ring)
2130 (comint-dynamic-complete-filename)
2131 (comint-replace-by-expanded-filename)
2132 (comint-dynamic-simple-complete)
2133 (comint-dynamic-list-filename-completions)
2134 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2136 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2139 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2141 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2144 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2146 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2149 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2151 * files.el (file-relative-name): Handle UNC file names on
2152 DOS/Windows. (Bug#4674)
2154 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2156 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2157 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2158 (epg-context-set-passphrase-callback): Mention that the callback
2159 is not called when used with GnuPG 2.x.
2161 2010-12-13 Glenn Morris <rgm@gnu.org>
2163 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2164 Ensure ps-footer-font-size-internal is initialized.
2165 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2167 2010-12-13 Kenichi Handa <handa@m17n.org>
2169 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2170 within condition-case.
2171 (rmail-show-mime): Don't use condition-case.
2172 (rmail-search-mime-message): New function.
2173 (rmail-search-mime-message-function): Set to
2174 rmail-search-mime-message.
2176 2010-12-13 Leo <sdl.web@gmail.com>
2178 * ido.el (ido-common-initialization): New function. (bug#3274)
2180 (ido-completing-read): Call it.
2182 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2184 * bookmark.el (bookmark-name-from-full-record): Rename back to
2185 this original name from `bookmark-name-from-record' reverting part
2186 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2187 As Drew Adams pointed out, there was no reason to cause churn for
2188 third-party callers.
2190 2010-12-12 Alan Mackenzie <acm@muc.de>
2192 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2193 template arglist, check that the current language supports this.
2195 2010-12-11 Glenn Morris <rgm@gnu.org>
2197 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2198 state of the file matches. (Bug#7544)
2199 (vc-bzr-register, vc-bzr-checkin)
2200 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2201 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2203 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2205 2010-12-11 Karel Klíč <kklic@redhat.com>
2207 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2209 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2211 Derive from prog-mode, use derived-mode-p, and fix up various
2212 minor style issues in lisp/progmodes.
2214 * progmodes/vhdl-mode.el (vhdl-mode):
2215 * progmodes/verilog-mode.el (verilog-mode):
2216 * progmodes/vera-mode.el (vera-mode):
2217 * progmodes/sql.el (sql-mode):
2218 * progmodes/scheme.el (scheme-mode):
2219 * progmodes/perl-mode.el (perl-mode):
2220 * progmodes/octave-inf.el (inferior-octave-mode):
2221 * progmodes/autoconf.el (autoconf-mode):
2222 * progmodes/m4-mode.el (m4-mode):
2223 * progmodes/inf-lisp.el (inferior-lisp-mode):
2224 * progmodes/idlwave.el (idlwave-mode):
2225 * progmodes/icon.el (icon-mode):
2226 * progmodes/idlw-help.el (idlwave-help-mode):
2227 * progmodes/dcl-mode.el (dcl-mode):
2228 * progmodes/idlw-shell.el (idlwave-shell-mode):
2229 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2230 (ebrowse-member-mode, ebrowse-electric-position-mode):
2231 Use define-derived-mode.
2233 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2234 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2235 (xscheme-debugger-mode-p, xscheme-send-string-1):
2236 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2237 (tcl-load-file, tcl-restart-with-file):
2238 * progmodes/ps-mode.el (ps-run-running):
2239 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2240 * progmodes/js.el (js--get-all-known-symbols):
2241 * progmodes/inf-lisp.el (inferior-lisp-proc):
2242 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2243 (idlwave-template, idlwave-update-buffer-routine-info)
2244 (idlwave-update-current-buffer-info)
2245 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2246 (idlwave-scan-class-info, idlwave-fix-keywords)
2247 (idlwave-list-buffer-load-path-shadows):
2248 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2249 (idlwave-toolbar-remove):
2250 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2251 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2252 (idlwave-shell-menu-def):
2253 * progmodes/idlw-complete-structtag.el
2254 (idlwave-prepare-structure-tag-completion):
2255 * progmodes/gud.el (gud-set-buffer):
2256 * progmodes/f90.el (f90-backslash-not-special):
2257 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2259 * progmodes/xscheme.el (xscheme-start)
2260 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2261 * progmodes/which-func.el (which-function):
2262 * progmodes/vhdl-mode.el (vhdl-set-style):
2263 * progmodes/verilog-mode.el (verilog-set-compile-command)
2264 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2265 (verilog-set-define, verilog-auto-reeval-locals):
2266 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2267 * progmodes/simula.el (simula-mode):
2268 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2269 * progmodes/python.el (python-check, python-mode):
2270 * progmodes/prolog.el (prolog-mode-variables):
2271 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2272 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2273 * progmodes/delphi.el (delphi-mode):
2274 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2275 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2276 (c-font-lock-init): Move make-local-variable to their setq.
2278 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2279 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2281 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2282 (sh-set-shell): Don't set require-final-newline since it's already done
2284 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2285 since we never set it.
2286 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2287 Use read-string and standard prompt.
2288 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2289 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2290 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2291 (meta-common-mode-map): Rename from meta-mode-map.
2292 Remove C-m binding, which is a user preference, not mode specific.
2293 (meta-common-mode): New major mode; replace meta-common-initialization.
2294 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2295 around with font-lock.
2296 * progmodes/etags.el (select-tags-table-mode):
2297 Derive from special-mode.
2298 * progmodes/octave-mod.el (octave-mode):
2299 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2300 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2301 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2302 Let define-derived-mode do its job.
2303 * progmodes/cpp.el (cpp-edit-mode-map):
2304 Move initialization into declaration.
2305 (cpp-edit-mode): Use define-derived-mode.
2306 (cpp-edit-load): Use derived-mode-p.
2307 * progmodes/mixal-mode.el (mixal-mode):
2308 * progmodes/f90.el (f90-mode):
2309 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2310 require-final-newline since prog-mode does it already.
2311 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2312 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2313 * progmodes/antlr-mode.el: Require cc-mode upfront.
2314 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2316 (antlr-directory-dependencies, antlr-show-makefile-rules):
2318 (antlr-language-option): Don't assume point-min==1.
2319 (antlr-mode): Use define-derived-mode.
2320 * progmodes/ada-mode.el: Use derived-mode-p.
2321 (ada-mode): Use define-derived-mode.
2322 Use hack-local-variables-hook.
2324 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2326 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2327 (texinfo-mode): Don't disable adaptive-fill-mode.
2328 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2329 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2330 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2331 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2332 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2333 (texinfo-insert-@quotation, texinfo-insert-@samp)
2334 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2335 (texinfo-insert-@uref): Use define-skeleton.
2336 (texinfo-insert-@-with-arg): Delete.
2338 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2340 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2341 nil, do quote archive member names. (Bug#6144)
2343 2010-12-10 Glenn Morris <rgm@gnu.org>
2345 * files.el (diff-no-select): Declare.
2347 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2348 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2350 * comint.el (comint-input-ring-file-name): Doc fix.
2352 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2354 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2356 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2357 Use them instead of `nil' and `>', respectively.
2358 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2360 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2361 and menu-bar-positive-p instead of `nil' and `>', respectively.
2364 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2366 * whitespace.el (whitespace-newline-mode): Code fix.
2368 2010-12-09 Glenn Morris <rgm@gnu.org>
2370 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2371 Rename functions without commas, update callers.
2373 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2375 * whitespace.el (whitespace-cleanup-region):
2376 Clean up spaces before tabs. (Bug#7582)
2378 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2380 * bookmark.el: Adjust parameter names and doc strings to resolve
2381 confusion over whether "bookmark" meant a bookmark name or a
2382 bookmark record. Along the way, shorten one function's name for
2383 similar reasons. (Issue #7548)
2384 (bookmark-name-from-record): New name for
2385 `bookmark-name-from-full-record'. All callers changed.
2386 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2387 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2388 (bookmark-get-annotation, bookmark-set-annotation)
2389 (bookmark-get-filename, bookmark-set-filename)
2390 (bookmark-get-position, bookmark-set-position)
2391 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2392 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2393 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2394 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2395 Rename `bookmark' parameter to `bookmark-name-or-record', to
2396 clearly show its role, and shorten or adjust doc strings accordingly.
2397 (bookmark-set-name): Same, and pass the parameter directly to
2398 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2399 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2400 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2401 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2402 and in some cases shorten doc string accordingly.
2403 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2404 and `new-name', and adjust an internal variable to avoid confusion.
2405 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2406 parameter in doc string.
2408 2010-12-08 Glenn Morris <rgm@gnu.org>
2410 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2411 from gdb's history file. (Bug#7575)
2413 * mail/emacsbug.el (report-emacs-bug):
2414 Try to handle some other mail clients.
2416 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2418 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2419 Use string-prefix-p.
2420 (file-name-version-regexp): New var.
2421 (file-name-sans-versions):
2422 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2423 (jka-compr-get-compression-info): Use dolist.
2424 (jka-compr-compression-info-list): Don't bother specifying
2425 version/backup regexps.
2427 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2429 * simple.el (just-one-space): Make argument n default to 1 if
2432 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2434 * electric.el (electric-indent-post-self-insert-function):
2435 Delete trailing newlines even if we don't reindent.
2437 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2439 * minibuffer.el (completion-at-point): Remove the `arg'.
2440 * bindings.el (complete-symbol): Move back from minibuffer.el.
2442 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2444 * simple.el (just-one-space): Delete newlines for negative arg.
2446 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2448 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2449 (ansi-color-filter-apply): Simplify.
2450 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2452 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2454 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2456 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2458 * dired.el (dired-use-ls-dired): Set default to a special
2459 "unspecified" value.
2460 (dired-insert-directory): When called the first time, check
2461 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2463 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2465 * replace.el: Add "collect" feature to occur.
2466 (occur-collect-regexp-history): New var.
2467 (occur-read-primary-args): Return a replace string for nlines,
2469 (occur): Extend the meaning of nlines.
2471 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2473 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2474 (which-func-update-1): Distinguish symbols from strings.
2475 (which-function): Stay within 80 columns.
2477 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2479 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2481 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2483 (comment-style): Use comment-styles's docs to describe values.
2485 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2487 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2488 and ns-show-prefs (Bug#7535).
2490 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2491 bindings (Bug#7535).
2493 2010-12-03 Glenn Morris <rgm@gnu.org>
2495 * nxml/nxml-mode.el: Require rng-nxml.
2496 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2497 Remove declarations.
2499 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2500 * nxml/rng-nxml.el, nxml/rng-valid.el:
2501 Remove leading `*' from defcustom docs.
2503 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2504 (normal-top-level-add-to-load-path, tty-handle-args):
2505 Convert comments to basic doc-strings.
2507 * net/browse-url.el (browse-url-url-at-point)
2508 (browse-url-default-browser): Remove autoload cookies.
2510 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2511 Remove more undefined cl functions.
2513 * vc/diff.el (diff-sentinel): Make new arguments optional.
2514 * ibuf-ext.el (diff-sentinel): Update declaration.
2516 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2518 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2519 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2520 (epg-context-set-passphrase-callback): Mention that the callback
2521 is not called when used with GnuPG 2.x.
2523 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2525 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2526 (tramp-file-name-port): Check also for `tramp-default-port'.
2527 (tramp-get-connection-name): New defun.
2528 (tramp-get-connection-process): Use it.
2529 (tramp-debug-message): Extend function exclude list.
2530 (tramp-drop-volume-letter): Fix doc string.
2532 * net/tramp-cmds.el: Remove solved todo item.
2536 * net/tramp-gvfs.el:
2538 * net/tramp-imap.el:
2539 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2540 and `tramp-default-user-alist', respectively.
2542 * net/tramp-gw.el (tramp-gw-open-connection):
2543 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2545 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2546 `tramp-file-name-port'.
2548 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2549 and "psftp". Exchange "%k" marker with options.
2550 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2551 Compute size of link target.
2552 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2553 `tramp-current-*' up due to gateway methods. Optimze computing of
2554 copy arguments. Use `tramp-get-connection-name' and
2555 `tramp-get-connection-buffer'. Improve debug messages.
2556 (tramp-compute-multi-hops): Remove port determination.
2557 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2559 * net/trampver.el: Update release number.
2561 2010-12-02 Glenn Morris <rgm@gnu.org>
2563 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2564 Avoid infinite loop over windows. (Bug#7492)
2566 * progmodes/flymake.el (flymake-check-file-limit):
2567 Allow nil to mean "no limit".
2568 (flymake-check-patch-master-file-buffer): Update for above change.
2569 Allow a .tex file-name extension to be optional.
2570 (flymake-master-tex-init): Also match \include statements.
2572 2010-11-30 Sam Steingold <sds@gnu.org>
2574 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2575 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2576 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2577 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2578 define-derived-mode').
2579 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2580 users who want to call `nxml-parent-document-set'.
2582 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2584 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2585 stand-alone lines, since that is handled by log-edit-match-to-eoh
2588 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2590 * dired.el (dired-get-filename): Replace backslashes with slashes
2591 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2592 * locate.el (locate-default-make-command-line): Don't consider
2593 drive letter and root directory part of
2594 `directory-listing-before-filename-regexp'. (Bug#7308)
2595 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2597 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2599 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2600 of :smie-open/close-alist.
2601 (smie-next-sexp): Make it accept a "start token" as argument.
2602 (smie-indent-keyword): Be careful not to misidentify tokens that span
2603 more than one line, as empty lines. Add argument `token'.
2605 2010-11-27 Kenichi Handa <handa@m17n.org>
2607 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2608 multipart subtypes, insert all as usual.
2610 * mail/rmail.el: Require rfc2047.
2612 2010-11-27 Kenichi Handa <handa@m17n.org>
2614 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2615 (rmail-mime-entity-disposition)
2616 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2617 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2618 (rmail-mime-save): Handle the case that the button's `data' is a
2620 (rmail-mime-insert-text): New function.
2621 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2622 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2623 (rmail-mime-insert-bulk): New function mostly copied from the old
2624 rmail-mime-bulk-handler.
2625 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2626 (rmail-mime-process-multipart): New function mostly copied from
2627 the old rmail-mime-multipart-handler.
2628 (rmail-mime-show): Just call rmail-mime-process.
2629 (rmail-mime-process): New function mostly copied from the old
2631 (rmail-mime-insert-multipart, rmail-mime-parse)
2632 (rmail-mime-insert, rmail-show-mime)
2633 (rmail-insert-mime-forwarded-message)
2634 (rmail-insert-mime-resent-message): New functions.
2635 (rmail-insert-mime-forwarded-message-function): Set to
2636 rmail-insert-mime-forwarded-message.
2637 (rmail-insert-mime-resent-message-function): Set to
2638 rmail-insert-mime-resent-message.
2640 * mail/rmailsum.el: Require rfc2047.
2641 (rmail-header-summary): Handle multiline Subject: field.
2642 (rmail-summary-line-decoder): Change the default to
2643 rfc2047-decode-string.
2645 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2646 (rmail-mime-feature): Change the default to `rmailmm'.
2647 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2648 (rmail-display-labels): Likewise.
2649 (rmail-show-message-1): Check rmail-enable-mime, and use
2650 rmail-show-mime-function for a MIME message. Decode the headers
2651 according to RFC2047.
2653 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2655 * progmodes/which-func.el (which-func-imenu-joiner-function):
2656 Return a string, as expected.
2657 (which-function-mode): Make sure we stop any previous timer before
2660 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2662 * net/tramp.el (tramp-default-method-alist)
2663 (tramp-default-user-alist, tramp-default-proxies-alist):
2664 Adapt custom options type. (Bug#7445)
2666 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2668 * progmodes/python.el: Add Ipython support (Bug#5390).
2669 (python-shell-prompt-alist)
2670 (python-shell-continuation-prompt-alist): New options.
2671 (python--set-prompt-regexp): New function.
2672 (inferior-python-mode, run-python, python-shell):
2673 Require ansi-color. Use python--set-prompt-regexp to set the comint
2674 prompt based on the Python interpreter.
2675 (python--prompt-regexp): New var.
2676 (python-check-comint-prompt)
2677 (python-comint-output-filter-function): Use it.
2678 (run-python): Use a pipe (Bug#5694).
2680 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2682 * progmodes/python.el (run-python): Doc fix.
2683 (python-keep-current-directory-in-path): New var (Bug#7454).
2685 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2687 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2688 Prompt user before actually printing.
2690 2010-11-27 Glenn Morris <rgm@gnu.org>
2692 * startup.el (package-enable-at-startup, package-initialize):
2693 Remove unnecessary declarations.
2695 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2697 * international/characters.el (glyphless-char-display-control):
2698 Exclude newline and TAB from the c0-control group.
2700 2010-11-27 Glenn Morris <rgm@gnu.org>
2702 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2703 (expand-mail-aliases): Remove unnecessary autoload.
2705 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2707 * shell.el (shell-dir-cookie-re): Move definition before use.
2709 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2710 Replace undefined CL functions.
2712 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2714 * simple.el (prog-mode): Set bidi-paragraph-direction to
2717 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2719 2010-11-26 Glenn Morris <rgm@gnu.org>
2721 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2722 diary-outlook-formats can be sensitive to calendar-date-style.
2723 (diary-outlook-formats): Simplify the default setting.
2724 (diary-from-outlook-internal): Pass subject and body as arguments.
2725 Use dolist rather than dotimes. Don't save the diary buffer.
2726 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2727 Pass subject and body as explicit arguments to the -internal function.
2729 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2731 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2732 parsing them. This makes mailto:...?subject=foo\nbar work.
2734 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2736 * vc/diff.el (diff): Fix last change.
2738 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2740 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2741 (pcase--dontcare-upats): New var.
2742 (pcase-let, pcase-let*): Generate better code.
2743 Accept the same bodies as `let'.
2744 (pcase-dolist): New macro.
2745 (pcase--trivial-upat-p): New helper function.
2746 (pcase--expand): Strip leading "(let nil" if any.
2748 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2750 * mail/mailclient.el (browse-url): Require.
2751 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2752 use the external browser function to send the mail (bug#7469).
2754 * net/browse-url.el (browse-url-browser-function): Revert the
2755 default back to the previous value, since the new value broke
2757 (browse-url-mailto-function): New variable for mailto: URLs.
2758 (browse-url): Use the new variable for mailto: URLs.
2760 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2762 * eshell/esh-cmd.el (eshell-parse-command):
2763 * eshell/esh-arg.el (eshell-parse-arguments):
2764 * eshell/em-script.el (eshell-source-file):
2765 Use with-silent-modifications.
2767 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2769 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2770 for a merge location.
2772 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2773 (vc-bzr-merge-branch): Always prompt.
2774 (vc-bzr-async-command): Use the full branch filename.
2776 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2778 * shell.el (shell): Use current-buffer by default if it's already
2779 a shell mode buffer and its process is dead.
2780 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2782 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2784 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2785 Mention that the keywords should be comma separated.
2787 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2789 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2790 Accept optional prefix arg meaning to prompt for a command.
2791 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2792 prefix arg meaning to prompt for a command.
2793 (vc-pull): Alias for vc-update.
2795 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2796 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2797 (vc-bzr-merge-branch): New functions, implementing merge-branch
2798 and pull operations.
2800 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2802 * Makefile.in: Fix up last merge.
2804 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2805 (diff-sentinel): Get them as arguments instead.
2806 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2807 (diff-file-local-copy, diff-better-file-name): New funs.
2808 (diff-no-select): Rename from diff-into-buffer.
2809 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2810 Prefer closures to buffer-local variables.
2811 (diff): Adjust accordingly.
2812 (diff-buffer-with-file): Move from files.el.
2813 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2814 (diff-buffer-internal): Remove.
2815 (diff-buffer-buffer): Remove.
2816 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2817 the buffer name used, and so as not to mess up windows and frames.
2819 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2821 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2822 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2823 (diff-buffer-with-file): Use it.
2824 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2827 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2829 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2830 \ref's or \pageref's value as default instead of initial input.
2832 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2834 * files.el (backup-by-copying-when-mismatch): The default value is
2837 * startup.el (normal-top-level):
2838 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2839 `backup-by-copying-when-mismatch'.
2841 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2843 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2845 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2847 * progmodes/python.el (python-font-lock-keywords):
2848 Highlight top-level augmented assignments (Bug#6445).
2850 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2852 * term/ns-win.el (ns-right-control-modifier)
2853 (ns-right-command-modifier): Defvar them.
2855 * cus-start.el (all): Add ns-right-control-modifier and
2856 ns-right-command-modifier (Bug#7458).
2858 2010-11-20 Glenn Morris <rgm@gnu.org>
2860 * emacs-lisp/authors.el (authors-ignored-files)
2861 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2863 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2865 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2866 (report-emacs-bug-parse-query-results)
2867 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2868 keywords used for querying the bug database to show them in the
2869 existing bugs buffer.
2871 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2873 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2875 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2877 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2879 * international/characters.el (glyphless-char-display-control):
2880 Make it a defcustom, with update-glyphless-char-display as its
2882 (top level): Don't call update-glyphless-char-display.
2884 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2886 Sync with Tramp 2.2.0.
2888 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2889 `file-remote-p' (due to compatibility).
2891 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2892 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2894 * net/trampver.el: Update release number.
2896 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2898 * faces.el (glyphless-char): Define value for `pc'.
2900 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2902 Implemented a bug querying mechanism.
2903 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2904 (report-emacs-bug-create-existing-bugs-buffer)
2905 (report-emacs-bug-parse-query-results)
2906 (report-emacs-bug-query-existing-bugs): New functions.
2908 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2910 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2911 a \ref{} or \pageref{} macro, then use its value as initial input.
2913 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2915 * calc/calc-units.el (math-build-units-table-buffer):
2916 calc/README: Mention that the TeX specific units won't use the
2917 `tex' prefix in TeX mode.
2918 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2919 prefix for units in TeX mode.
2921 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2923 * simple.el (kill-new, kill-append, kill-region):
2924 * comint.el (comint-kill-region): Make the yank-handler argument
2927 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2929 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2930 that are both openers (resp. closers) and something else.
2931 (smie-grammar): Loosen definition of valid values.
2932 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2933 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2934 (smie-indent-after-keyword): Adjust users.
2935 (smie-indent-keyword): Don't indent empty lines.
2937 * vc-hg.el (vc-hg-program): New var.
2938 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2939 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2941 2010-11-18 Glenn Morris <rgm@gnu.org>
2943 * emacs-lisp/autoload.el (autoload-find-destination): The function
2944 coding-system-eol-type may return non-numeric values. (Bug#7414)
2946 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2948 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2950 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2952 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2954 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2956 * textmodes/picture.el (picture-mouse-set-point): Don't use
2957 posn-col-row; explicitly compute the motion based on the posn at
2958 the window-start (Bug#7390).
2960 2010-11-18 Glenn Morris <rgm@gnu.org>
2962 * novice.el (disabled-command-function):
2963 Fix 2009-11-15 change. (Bug#7384)
2965 2010-11-18 Glenn Morris <rgm@gnu.org>
2967 * calendar/calendar.el (diary-iso-date-forms): Make elements
2968 mutually exclusive. (Bug#7377)
2970 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2972 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2973 when filling the remaining "unconstrained" values.
2975 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2977 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2980 * files.el (safe-local-variable-p): Gracefully handle errors.
2982 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2983 Use smie-indent-virtual when indenting relative to an opener.
2984 (smie-rule-separator): Use smie-rule-parent.
2985 (smie-indent-keyword): Consult rules, even for openers at bol.
2986 (smie-indent-comment-close): Try to align closer's content.
2988 2010-11-18 Glenn Morris <rgm@gnu.org>
2990 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2992 2010-11-18 Glenn Morris <rgm@gnu.org>
2994 * printing.el (pr-menu-bind): Doc fix.
2996 * speedbar.el (speedbar-toggle-images): Doc fix.
2998 * progmodes/python.el (python-shell): Doc fix.
3000 * wid-edit.el (widget-field-use-before-change)
3001 (widget-use-overlay-change): Doc fixes.
3003 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3005 Minor cleanup to improve style.
3006 * textmodes/rst.el (rst-update-section): Use point-marker.
3007 (rst-get-decoration): Eliminate unneeded assignment.
3008 (rst-promote-region, rst-straighten-decorations)
3009 (rst-section-tree, rst-adjust): Use point-marker.
3010 (rst-toc-mode-mouse-goto): Avoid setq.
3011 (rst-shift-region-guts, rst-shift-region-left)
3012 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3013 (rst-convert-bullets-to-enumeration): Use copy-marker.
3015 * minibuffer.el (completion-fail-discreetly): New var.
3016 (completion--do-completion): Use it.
3018 * electric.el (electric-pair-pairs): New var.
3019 (electric-pair-post-self-insert-function): Use it.
3020 (electric-layout-post-self-insert-function): Don't insert a before
3021 newline unless it's actually needed.
3023 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3025 * progmodes/python.el (run-python): Explain why we remove the current
3026 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3028 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3030 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3032 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3033 (octave-mode-map): Don't bind ;, SPC, and LF.
3034 (octave-auto-indent, octave-auto-newline): Remove.
3035 (electric-layout-rules): Declare.
3036 (octave-mode): Set electric-layout-rules.
3037 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3038 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3039 (octave-electric-space): Remove.
3041 * electric.el (electric-layout-mode): New minor mode.
3042 (electric--after-char-pos): New function.
3043 (electric-indent-post-self-insert-function): Use it.
3044 (electric-layout-rules): New var.
3045 (electric-layout-post-self-insert-function): New function.
3046 (electric-indent-mode): Make them interact better.
3048 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3050 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3051 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3052 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3054 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3056 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3057 Make sure to check inside the word (Bug#6761).
3059 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3061 * startup.el (command-line): If the cursorColor resource is set,
3062 change the cursor face-spec (Bug#7392).
3064 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3066 The main features of the following allout.el changes are:
3067 - implement user customization for the allout key bindings
3068 - add a customization control by which the user can inhibit use of
3069 a trailing Ctrl-H, so by default it's reserved for use with
3070 describe-prefix-bindings
3071 - adapt to new version of called-interactively-p, while
3072 maintaining backwards compatibility with old version
3073 - fix hotspot navigation so i works properly with meta-modified keys
3075 * allout.el (allout-keybindings, allout-bind-keys)
3076 (allout-keybindings-binding, allout-prefixed-keybindings)
3077 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3078 (allout-keybindings-list, allout-mode-map-adjustments)
3079 (allout-setup-mode-map): Establish allout-mode keymaps as user
3080 customizable settings, and also establish a customizable setting which
3081 regulates whether or not a trailing control-h is reserved for use with
3082 describe-prefix-bindings - and inhibit it by default, so that control-h
3083 *is* reserved for describe-prefix-bindings unless the user changes it.
3085 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3086 and accurately between modified and unmodified events, and handle
3087 modified events more comprehensively.
3089 * allout.el (allout-substring-no-properties):
3090 Alias to use or provide version of `substring-no-properties'.
3091 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3093 * allout.el (allout-next-single-char-property-change):
3094 Alias to use or provide version of `next-single-char-property-change'.
3095 (allout-annotate-hidden, allout-hide-by-annotation):
3096 Use `allout-next-single-char-property-change'.
3098 * allout.el (allout-select-safe-coding-system):
3099 Alias to use or provide version of `select-safe-coding-system'.
3100 (allout-toggle-subtree-encryption):
3101 Use `allout-select-safe-coding-system'.
3103 * allout.el (allout-set-buffer-multibyte):
3104 Alias to use or provide version of `set-buffer-multibyte'.
3105 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3107 * allout.el (allout-called-interactively-p): Macro for using the
3108 different versions of called-interactively-p identically, depending on
3109 the subroutine's argument signature.
3110 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3111 Use `(interactive "p")' instead of `(called-interactively-p)'.
3113 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3114 (allout-previous-visible-heading, allout-forward-current-level)
3115 (allout-backward-current-level, allout-show-children):
3116 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3118 * allout.el (allout-before-change-handler):
3119 Exempt edits to the (overlaid) character after the allout outline
3120 bullet from edit confirmation prompt.
3122 * allout.el (allout-add-resumptions):
3123 Ensure that it respects correct buffer for keybindings.
3125 * allout.el (allout-beginning-of-line):
3126 Use `allout-previous-single-char-property-change' alias for the sake of
3127 diverse compatibility.
3129 * allout.el (allout-end-of-line):
3130 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3132 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3134 * frame.el (frame-notice-user-settings): Don't clobber other
3135 user-set parameters when calling face-set-after-frame-default in
3136 response to background-color parameter (Bug#7373).
3138 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3140 * international/characters.el (glyphless-char-display-control):
3141 Rename from glyphless-char-control; all users changed. Doc fix.
3142 Signal an error if display method is not one of the recognized
3145 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3147 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3148 (tramp-compat-line-end-position): Remove them.
3150 * net/tramp.el (tramp-parse-rhosts-group)
3151 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3152 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3153 (tramp-parse-netrc-group, tramp-parse-putty-group)
3154 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3155 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3156 (tramp-sh-handle-file-selinux-context)
3157 (tramp-sh-handle-file-name-all-completions)
3158 (tramp-sh-handle-insert-directory)
3159 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3160 (tramp-wait-for-output, tramp-send-command-and-read)
3161 * net/tramp-smb.el (tramp-smb-read-file-entry)
3162 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3164 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3166 (tramp-remote-coding-commands): Add an alternative using "base64
3167 -d -i". This is needed for older base64 versions from GNU
3168 coreutils. Reported by Klaus Reichl
3169 <Klaus.Reichl@thalesgroup.com>.
3171 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3173 * simple.el (count-words-region): New function.
3175 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3177 * shell.el (shell-dir-cookie-re): New custom variable.
3178 (shell-dir-cookie-watcher): New function.
3180 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3181 and compilation-mode (bug#7350).
3183 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3184 highlight when one of them is empty.
3186 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3188 (skeleton-newline): New function.
3189 (skeleton-internal-1): Use it.
3191 * simple.el (open-line): `newline' may strip trailing space.
3193 2010-11-12 Kevin Ryde <user42@zip.com.au>
3195 * international/mule-cmds.el (princ-list): Use mapc.
3197 2010-11-12 Glenn Morris <rgm@gnu.org>
3199 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3200 Use it to replace all instances of "*Compile-Log*"
3202 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3204 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3207 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3209 * progmodes/modula2.el: Use SMIE and skeleton.
3210 (m2-mode-syntax-table): (*..*) can be nested.
3211 Add //...\n. Fix paren syntax.
3212 (m2-mode-map): Remove LF and TAB bindings.
3213 (m2-indent): Add safety property.
3214 (m2-smie-grammar): New var.
3215 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3216 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3217 (m2-mode): Use define-derived-mode.
3218 (m2-newline, m2-tab): Remove.
3219 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3220 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3221 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3222 (m2-import): Use define-skeleton.
3224 2010-11-11 Glenn Morris <rgm@gnu.org>
3226 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3228 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3229 (ls-lisp-verbosity): Add custom :set-after property.
3230 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3231 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3232 (ls-lisp-insert-directory): Update caller.
3233 (ls-lisp-set-options): New function.
3234 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3237 * play/landmark.el (lm-prompt-for-move):
3238 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3240 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3242 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3243 (idlwave-study-twins): Prefix dynamic local variable `name'.
3244 (idlwave-routine-twin-compare): Update for above change.
3246 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3247 Prefix dynamic local variables `name', `kwd', and `link'.
3248 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3249 * progmodes/idlw-complete-structtag.el
3250 (idlwave-complete-structure-tag-help):
3251 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3252 (idlwave-complete-sysvar-tag-help)
3253 (idlwave-complete-class-structure-tag-help):
3254 Update for above name changes.
3256 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3258 * net/browse-url.el (browse-url-browser-function): Change the
3259 default to use `browse-url-mail' on mailto: URLs.
3261 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3263 * emacs-lisp/package.el (package-read-all-archive-contents):
3264 Reset package-archive-contents to nil before re-reading.
3266 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3268 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3269 already found as misspellings by (flyspell-large-region), just
3270 do highlighting (bug#7322).
3272 2010-11-10 Glenn Morris <rgm@gnu.org>
3274 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3276 * emulation/edt.el (edt-with-position): New macro.
3277 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3278 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3279 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3281 * emulation/tpu-extras.el (tpu-with-position): New macro.
3282 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3284 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3286 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3287 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3288 (texinfo-master-menu, texinfo-insert-node-lines)
3289 (texinfo-multiple-files-update):
3290 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3291 Use line-beginning-position.
3293 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3294 No recent Emacs supports system-type `emx'.
3296 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3297 (ada-command-separator, ada-default-prj-properties)
3298 (ada-find-any-references): Update for above name change.
3300 * dirtrack.el (dirtrack-directory-function)
3301 (dirtrack-canonicalize-function):
3302 * filecache.el (file-cache-completion-ignore-case)
3303 (file-cache-case-fold-search, file-cache-ignore-case):
3304 * term.el (serial-port-is-file-p): Cosmetic change.
3306 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3307 Remove non-existent `windows-95' system-type.
3308 * dired.el (dired-chown-program): Remove non-existent `linux'
3311 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3312 (ping-program-options): Remove non-existent `linux' system-type.
3314 * startup.el (package-initialize): Update declaration.
3316 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3317 (ls-lisp-handle-switches): Use time-less-p.
3318 (ls-lisp-format-time): Use float-time.
3320 * textmodes/remember.el (remember-time-to-seconds): Remove.
3321 (remember-store-in-mailbox): Use float-time.
3323 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3325 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3326 never a real function.
3327 (with-no-warnings): Remove compat stub, now unused.
3328 (time-less-p): Doc fix.
3329 (time-to-number-of-days): Simplify.
3331 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3333 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3334 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3335 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3336 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3337 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3339 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3340 (eshell-shuffle-files, eshell-shorthand-tar-command)
3341 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3342 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3343 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3344 Prefix dynamic local variable `matches'.
3346 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3347 Prefix dynamic local variable `skeleton'.
3349 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3351 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3352 in mail buffer; make yank-action always a command that yanks original
3355 2010-11-09 Glenn Morris <rgm@gnu.org>
3357 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3359 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3361 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3362 completion field (bug#7211).
3364 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3365 Fix handling of backslash escapes.
3366 (python-quote-syntax): Adjust accordingly.
3368 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3370 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3371 (vc-mtn-workfile-branch): Adjust to new output format.
3373 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3375 * international/mule-cmds.el (princ-list): Mark as obsolete.
3377 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3379 * emacs-lisp/smie.el: New package.
3381 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3383 * files.el (backup-by-copying-when-mismatch):
3384 Set `permanent-local' property.
3386 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3387 `permanent-local' property for `backup-by-copying-when-mismatch'.
3389 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3391 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3393 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3395 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3396 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3397 AUTOINOUT for SV style multidimensional arrays, bug294.
3398 Reported by Eric Mastromarchi.
3399 (verilog-preprocess): Use with-current-buffer and
3400 font-lock-fontify-buffer to cleanup style issues.
3402 2010-11-09 Glenn Morris <rgm@gnu.org>
3404 * locate.el (locate, locate-mode): Doc fixes.
3406 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3408 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3409 user for confirmation.
3410 (server-force-stop): Use it.
3411 (server-start): Use server-force-stop for kill-emacs-hook, to
3412 avoid user interaction while killing Emacs.
3414 2010-11-09 Glenn Morris <rgm@gnu.org>
3416 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3417 (meta-indent-line): Simplify.
3419 * vc/emerge.el (emerge-line-number-in-buf):
3420 * textmodes/ispell.el (ispell-region):
3421 * textmodes/fill.el (current-fill-column):
3422 * progmodes/xscheme.el (xscheme-send-current-line):
3423 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3424 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3425 * progmodes/sh-script.el (sh-handle-prev-do):
3426 * progmodes/meta-mode.el (meta-indent-line):
3427 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3429 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3430 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3431 * progmodes/fortran.el (fortran-looking-at-if-then):
3432 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3433 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3434 (cperl-find-pods-heres):
3435 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3436 * net/quickurl.el (quickurl-list-insert):
3437 * net/ldap.el (ldap-search-internal):
3438 * net/eudc.el (eudc-expand-inline):
3439 * mail/sendmail.el (sendmail-send-it):
3440 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3441 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3442 (viper-brac-function):
3443 * calc/calc-yank.el (calc-do-grab-region):
3444 * calc/calc-keypd.el (calc-keypad-press):
3445 * term.el (term-move-columns, term-insert-spaces):
3446 * speedbar.el (speedbar-highlight-one-tag-line):
3447 * simple.el (current-word):
3448 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3449 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3451 * hippie-exp.el (he-line-beg):
3452 * epa.el (epa--marked-keys):
3453 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3454 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3455 (dired-relist-entry):
3456 * buff-menu.el (Buffer-menu-buffer):
3457 * array.el (current-line):
3458 * allout.el (allout-resolve-xref)
3459 (allout-latex-verbatim-quote-curr-line):
3460 Replace yet more uses of end-of-line etc with line-end-position, etc.
3462 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3464 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3465 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3466 (checkdoc-syntax-table): Initialize in the declaration.
3467 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3468 the mode on unconditionally.
3470 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3471 (extent-end-position, extent-start-position): Remove setf method for
3472 non-existing functions (bug#7319).
3474 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3476 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3477 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3478 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3479 (smie-prec2->grammar): Rename from smie-prec2-levels.
3480 (smie-grammar): Rename from smie-op-levels.
3481 (smie-indent--hanging-p): Rename from smie-hanging-p.
3482 (smie-rule-hanging-p): New alias.
3483 (smie-indent--bolp): Rename from smie-bolp.
3484 (smie-indent--hanging-p): New alias.
3485 (smie--token): New dynamically bound variable.
3486 (smie-indent--parent): New function.
3487 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3488 (smie-rule-next-p): Rename from smie-next-p.
3489 (smie-rule-prev-p): Rename from smie-prev-p.
3490 (smie-rule-sibling-p, smie-rule-parent)
3491 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3492 (smie-rule-separator-outdent): New var.
3493 (smie-indent--rule): Merge with smie-indent--column.
3494 (smie-indent-forward-token, smie-indent-backward-token):
3495 Also recognize close parens.
3496 (smie-indent-keyword): Don't use smie-indent--column any more.
3497 (smie-indent-after-keyword): Ignore closers by default.
3498 (smie-indent-line): Use with-demoted-errors.
3499 * progmodes/octave-mod.el (octave-smie-grammar):
3500 Rename from octave-smie-op-levels.
3501 (octave-smie-rules): Adjust to new behavior.
3502 * progmodes/prolog.el (prolog-smie-grammar):
3503 Rename from prolog-smie-op-levels.
3505 2010-11-07 Glenn Morris <rgm@gnu.org>
3507 * eshell/esh-util.el (subst-char-in-string)
3508 (directory-files-and-attributes): These compatibility definitions are
3509 not needed on any version of Emacs since at least 21.4.
3511 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3512 (verilog-get-end-of-line): Remove.
3513 (verilog-within-string, verilog-re-search-forward-substr)
3514 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3515 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3516 Use point-at-bol, point-at-eol.
3517 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3519 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3520 (electric-pascal-terminate-line, pascal-set-auto-comments)
3521 (pascal-indent-paramlist, pascal-indent-declaration)
3522 (pascal-get-lineup-indent, pascal-func-completion)
3523 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3524 Use point-at-bol, point-at-eol.
3525 * progmodes/flymake.el (flymake-line-beginning-position)
3526 (flymake-line-end-position): Remove.
3527 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3528 * eshell/esh-util.el (line-end-position, line-beginning-position):
3529 Remove compat definitions.
3531 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3533 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3534 Use line-end-position.
3536 * emacs-lisp/chart.el (chart-zap-chars):
3537 * play/decipher.el (decipher-set-map):
3538 * progmodes/ada-mode.el (ada-get-current-indent)
3539 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3540 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3541 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3542 (ada-get-all-references):
3543 * progmodes/cperl-mode.el (cperl-electric-paren)
3544 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3545 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3546 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3547 (cperl-word-at-point-hard):
3548 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3549 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3550 (idlwave-shell-display-line):
3551 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3552 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3553 * progmodes/js.el (js--re-search-forward-inner)
3554 (js--re-search-backward-inner):
3555 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3556 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3557 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3558 * textmodes/flyspell.el (flyspell-process-localwords):
3559 * textmodes/ispell.el (ispell-buffer-local-parsing)
3560 (ispell-buffer-local-dict, ispell-buffer-local-words):
3561 Use point-at-bol and point-at-eol.
3563 * speedbar.el (speedbar-generic-item-info)
3564 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3565 (speedbar-add-indicator, speedbar-check-vc-this-line)
3566 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3567 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3568 Replace more uses of end-of-line etc with line-end-position.
3570 2010-11-06 Glenn Morris <rgm@gnu.org>
3572 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3573 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3574 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3575 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3576 (texinfo-multiple-files-update):
3577 * textmodes/table.el (table--probe-cell-left-up)
3578 (table--probe-cell-right-bottom):
3579 * textmodes/picture.el (picture-tab-search):
3580 * textmodes/page-ext.el (pages-copy-header-and-position)
3581 (pages-directory-for-addresses):
3582 * progmodes/vera-mode.el (vera-get-offset):
3583 * progmodes/simula.el (simula-calculate-indent):
3584 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3585 * progmodes/prolog.el (end-of-prolog-clause):
3586 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3587 * progmodes/icon.el (indent-icon-exp):
3588 * progmodes/etags.el (tag-re-match-p):
3589 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3590 * progmodes/ebnf2ps.el (ebnf-begin-file):
3591 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3592 (dcl-save-local-variable):
3593 * play/life.el (life-setup):
3594 * play/gametree.el (gametree-looking-at-ply):
3595 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3596 * mail/sendmail.el (mail-mode-auto-fill):
3597 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3598 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3599 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3600 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3601 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3602 * type-break.el (type-break-file-keystroke-count):
3603 * term.el (term-replace-by-expanded-history-before-point)
3604 (term-skip-prompt, term-extract-string):
3605 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3606 (speedbar-contract-line, speedbar-toggle-line-expansion)
3607 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3608 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3609 * sort.el (sort-skip-fields):
3610 * skeleton.el (skeleton-internal-list):
3611 * simple.el (line-move-finish, line-move-to-column):
3612 * shell.el (shell-forward-command):
3613 * misc.el (copy-from-above-command):
3614 * makesum.el (double-column):
3615 * ebuff-menu.el (electric-buffer-update-highlight):
3616 * dired.el (dired-move-to-end-of-filename):
3617 * dframe.el (dframe-popup-kludge):
3618 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3619 * arc-mode.el (archive-get-lineno):
3620 Use line-end-position and line-beginning-position.
3622 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3623 (idlwave-study-twins): Prefix dynamic local `class'.
3624 (idlwave-routine-twin-compare): Update for above name change.
3626 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3627 Use boundp tests to silence compiler. Update for changed name of
3628 bytecomp-filename variable.
3630 * emulation/viper-cmd.el (viper-read-string-with-history):
3631 Prefix dynamic local `initial'.
3632 (viper-minibuffer-standard-hook): Update for above name change.
3634 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3635 (elint-init-form): Update for above name change.
3637 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3638 local variables `cbeg' and `cend' a prefix.
3639 (mail-extr-voodoo): Update for above name change.
3641 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3642 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3643 (reftex-toc-promote-action): Doc fix.
3645 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3646 `prompt', `data' a prefix.
3647 (reftex-select-post-command-hook, reftex-select-callback)
3648 (reftex-select-mouse-accept, reftex-select-read-cite):
3649 Update for above name changes.
3651 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3652 `refstyle' to reftex-refstyle.
3653 (reftex-offer-label-menu): Update for above name change.
3654 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3655 `refstyle' name change.
3657 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3658 with with-current-buffer.
3659 (diff, template): Give dynamic local variables a prefix.
3660 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3661 (emerge-line-number-in-buf): Update for above name change.
3662 (emerge-combine-versions-internal): Rename local `template' to
3663 emerge-combine-template.
3664 (emerge-combine-versions-edit): Update for above name change.
3666 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3668 * textmodes/reftex-cite.el
3669 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3670 entries with whitespace after \bibitem.
3671 (reftex-create-bibtex-file): Match entries containing numbers and
3672 symbol constituents. Make sure that entries with whitespace at
3673 various places are found.
3675 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3677 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3679 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3681 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3683 2010-11-05 Glenn Morris <rgm@gnu.org>
3685 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3686 (woman2-roff-buffer): Give local variable `request' a prefix.
3687 (woman0-macro): Rename argument `request' in the same way.
3688 (woman-request): New name for `request' dynamic variable.
3689 (woman-unquote, woman-forward-arg): Update for above name change.
3690 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3691 (woman1-unquote): New name for `unquote' dynamic variable.
3692 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3693 (woman-translations): Rename from `translations'. No longer global.
3694 (woman2-tr, woman-translate): Update for above name change.
3695 (woman-translate): Check for bound variable.
3696 (woman2-roff-buffer): Give local variable `translations' a prefix.
3698 * play/doctor.el: Give all local variables a prefix. Update callers.
3699 (doc$, doctor-put-meaning): Use backquote.
3701 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3702 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3704 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3705 variables bytes, ptr, op a prefix.
3706 (disassemble-offset): Update for above change.
3708 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3710 * emacs-lisp/package.el (package-unpack): Remove no-op.
3711 (package--builtins, package--dir): Doc fix.
3712 (package-activate-1, package-activate, package-install)
3713 (package-compute-transaction): Fix error message.
3714 (package-delete): Use delete-directory. Omit system packages.
3715 (package-initialize): Set package-alist to nil first.
3716 (package-menu-mark-delete, package-menu-mark-install): Don't add
3717 symbols that are inconsistent with the package state.
3718 (package-menu-execute): Perform deletions and installations as
3719 single batch operations.
3721 2010-11-03 Glenn Morris <rgm@gnu.org>
3723 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3724 (props): Remove unnecessary declaration.
3726 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3727 set-process-query-on-exit-flag.
3729 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3730 (reftex-toc-do-promote): Remove unused local `mpos'.
3731 (reftex-toc-restore-region): Make `mpos' local to this function.
3733 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3735 * play/landmark.el (lm-losing-threshold): Correct spelling.
3736 (lm-human-plays): Use new name.
3738 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3739 (gomoku-human-plays): Use new name.
3741 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3742 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3743 (gomoku-score-trans-table, gomoku-winning-threshold)
3744 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3746 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3748 * emacs-lisp/package.el: Don't put built-in packages in
3749 package-alist, to avoid loading inefficiencies.
3750 (package-built-in-p): Make VERSION optional, and treat it as a
3751 minimum acceptable version.
3752 (package-activate): Search separately for built-in packages.
3753 Emit a warning if a dependency fails.
3754 (define-package): Handle most common case, where there is no
3755 obsolete package, first.
3756 (package-compute-transaction): Print required version in error.
3757 (package--initialized): New variable.
3758 (list-packages): Use it.
3759 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3760 built-in packages in packages-alist; keep it separate.
3761 Set package--initialized.
3762 (describe-package): Avoid activating packages as a side-effect.
3763 Search separately for built-in packages.
3764 (describe-package-1): Handle the case where an elpa package is
3765 simultaneously built-in and available/installed.
3766 (package-installed-p, package--generate-package-list):
3767 Search separately for built-in packages.
3768 (package-load-descriptor): Doc fix.
3770 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3773 Handle __DATA__ and __END__.
3775 2010-11-02 Noah Friedman <friedman@splode.com>
3777 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3778 nil, do not ask to recompile files that are not already compiled,
3779 and do not recompile them.
3781 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3783 * emacs-lisp/package.el (package-initialize): Ensure that
3784 obsoleted built-in packages are not in package-activated-list
3786 (describe-package-1): Make the "installed" status override
3789 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3791 * subr.el (version-separator, version-regexp-alist): Remove '*'
3793 (version-list-<=, version<=, version=): Doc fix.
3795 2010-11-01 Kenichi Handa <handa@m17n.org>
3797 * faces.el (glyphless-char): Inherit underline for tty.
3799 2010-11-01 Kenichi Handa <handa@m17n.org>
3801 Implement various display methods for glyphless characters.
3803 * international/characters.el (char-acronym-table): New variable.
3804 (glyphless-char-control): New variable.
3805 (update-glyphless-char-display): New funciton.
3807 * faces.el (glyphless-char): New face.
3809 2010-11-01 Glenn Morris <rgm@gnu.org>
3811 * calendar/holidays.el (general-holidays, oriental-holidays)
3812 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3813 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3814 the definitions of their targets.
3816 * emacs-lisp/smie.el (smie): New custom group.
3817 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3819 * faces.el (xw-defined-colors, x-setup-function-keys):
3820 * mouse-sel.el (x-select-text):
3821 * term/w32console.el (x-setup-function-keys): Update declarations.
3823 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3825 * textmodes/ispell.el (comment-add): Declare.
3827 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3830 * info.el (finder-keywords-hash, package-alist): Declare.
3832 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3834 * finder.el (finder-compile-keywords): Don't use intern-soft,
3835 since package names may not yet exist in the obarray.
3837 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3839 * vc/vc-arch.el (vc-arch-checkin):
3840 * vc/vc-cvs.el (vc-cvs-checkin):
3841 * vc/vc-mtn.el (vc-mtn-checkin):
3842 * vc/vc-rcs.el (vc-rcs-checkin):
3843 * vc/vc-sccs.el (vc-sccs-checkin):
3844 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3845 since 2010-04-21 commit by Stefan Monnier.
3847 2010-11-01 Glenn Morris <rgm@gnu.org>
3849 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3851 * startup.el (package-enable-at-startup, package-initialize):
3854 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3857 2010-10-31 Julien Danjou <julien@danjou.info>
3859 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3860 (byte-recompile-directory):
3861 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3862 Use `byte-recompile-file'.
3864 2010-10-31 Glenn Morris <rgm@gnu.org>
3866 * cus-start.el: Handle standard values via a keyword.
3867 Only set version property if specified.
3868 (cursor-in-non-selected-windows, menu-bar-mode)
3869 (tool-bar-mode, show-trailing-whitespace):
3870 Do not specify standard values.
3871 (transient-mark-mode, temporary-file-directory): Use :standard.
3873 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3875 * term/x-win.el (x-get-selection-value): New function that gets
3876 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3878 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3880 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3881 preserve owner and group when editing files. (Bug#7289)
3883 2010-10-31 Glenn Morris <rgm@gnu.org>
3885 * speedbar.el (speedbar-mode):
3886 * play/fortune.el (fortune-in-buffer, fortune):
3887 * play/gomoku.el (gomoku-mode):
3888 * play/landmark.el (lm-mode):
3889 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3890 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3892 * select.el (x-selection): Mark it as an obsolete alias.
3894 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3896 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3897 major-mode (bug#7284).
3899 2010-10-31 Glenn Morris <rgm@gnu.org>
3901 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3902 rather than just an unused variable that inherits from the real one.
3904 2010-10-31 Alan Mackenzie <acm@muc.de>
3906 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3907 This fixes bug #7185.
3909 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3911 * startup.el (command-line): Search for package directories, and
3912 don't load package.el if none are found.
3914 * emacs-lisp/package.el (describe-package, list-packages):
3915 Call package-initialize if it has not been called yet.
3917 2010-10-30 Alan Mackenzie <acm@muc.de>
3919 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3920 which fontifies the tail of an enum.
3921 (c-basic-matchers-after): Insert a call to the above new function.
3922 This fixes bug #7264.
3924 2010-10-30 Glenn Morris <rgm@gnu.org>
3926 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3927 tool-bar-mode, transient-mark-mode. (Bug#7306)
3928 Include the :set property in the dumped Emacs.
3930 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3932 SMIE: change indent rules format, improve smie-setup.
3933 * emacs-lisp/smie.el (smie-precs-precedence-table)
3934 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3935 Mark them pure so the tables gets built at compile time.
3936 (smie-bnf-precedence-table): Store the closer-alist in the table.
3937 (smie-prec2-levels): Preserve the closer-alist.
3938 (smie-blink-matching-open): Be more forgiving in case of indentation.
3939 (smie-hanging-p): Rename from smie-indent--hanging-p.
3940 (smie-bolp): Rename from smie-indent--bolp.
3941 (smie--parent, smie--after): New dynamic vars.
3942 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3943 (smie-indent-rules): Remove.
3944 (smie-indent--offset-rule): Remove fun.
3945 (smie-rules-function): New var.
3946 (smie-indent--rule): New fun.
3947 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3948 (smie-indent-exps): Use it.
3949 (smie-setup): Setup paren blinking; add keyword args for token
3950 functions; extract closer-alist from op-levels.
3951 (smie-indent-debug-log): Remove var.
3952 (smie-indent-debug): Remove fun.
3953 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3954 (prolog-smie-rules): New fun to replace it.
3955 (prolog-mode-variables): Simplify.
3956 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3957 it's setup automatically.
3958 (octave-smie-indent-rules): Remove.
3959 (octave-smie-rules): New fun to replace it.
3960 (octave-mode): Simplify.
3962 2010-10-29 Glenn Morris <rgm@gnu.org>
3964 * files.el (temporary-file-directory): Remove (already defined in C).
3965 * cus-start.el: Add temporary-file-directory.
3967 * abbrev.el (abbrev-mode):
3968 * composite.el (auto-composition-mode):
3969 * menu-bar.el (menu-bar-mode):
3970 * simple.el (transient-mark-mode):
3971 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3972 that they do not define the associated variables twice.
3973 * simple.el (transient-mark-mode): Remove defvar.
3974 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3975 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3976 Handle multiple groups, and also custom-delayed-init-variables.
3977 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3979 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3981 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3982 (pcase-if): Add one minor optimization.
3983 (pcase-split-equal): Rename from pcase-split-eq.
3984 (pcase-split-member): Rename from pcase-split-memq.
3985 (pcase-u1): Add strings to the member optimization.
3986 Add `guard' variant of predicates.
3987 (pcase-q1): Add string patterns.
3989 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3991 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3993 2010-10-28 Glenn Morris <rgm@gnu.org>
3995 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3996 Move menu-bar related settings to ../menu-bar.el.
3997 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3998 Move ns-specific settings here from term/ns-win.el.
4000 * simple.el (x-selection-owner-p): Remove unused declaration.
4002 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4004 * minibuffer.el (completion-cycling): New var (bug#7266).
4005 (minibuffer-complete, completion--do-completion):
4006 Use completion--flush-all-sorted-completions.
4007 (minibuffer-complete): Only cycle if completion-cycling is set.
4008 (completion--flush-all-sorted-completions): Unset completion-cycling.
4009 (minibuffer-force-complete): Set completion-cycling.
4010 (completion-all-sorted-completions): Move declaration before first use.
4012 2010-10-28 Leo <sdl.web@gmail.com>
4014 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4015 which changes the order of matches seen by users (bug#7231).
4017 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4019 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4020 Don't confuse -omega as "-o mega".
4022 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4024 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4025 (log-edit-author): New dynamic var.
4026 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4027 to return the author if different from committer.
4028 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4030 * play/landmark.el: Adjust commenting convention.
4031 (lm-nil-score): Rename from nil-score.
4032 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4033 (OOOOscore): Move into a let in lm-score-trans-table.
4034 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4036 * electric.el (electric-indent-chars): Autoload.
4037 * progmodes/octave-mod.el (octave-mode):
4038 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4039 (ruby-mode-abbrev-table): Merge initialization and declaration.
4041 2010-10-27 Glenn Morris <rgm@gnu.org>
4043 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4046 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4048 * term/ns-win.el: Restore require of cl when compiling.
4049 (menu-bar-final-items): Remove non-existent `windows' menu.
4050 (ns-handle-nxopen): Optionally handle the temp-case.
4051 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4052 (ns-insert-file, ns-find-file): Use `pop'.
4054 2010-10-26 Glenn Morris <rgm@gnu.org>
4056 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4058 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4060 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4062 * term/common-win.el (x-setup-function-keys): Remove most of the
4063 keymappings. Comment on the remaining ones.
4065 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4067 * server.el (server-port): New option. (Bug#854)
4068 (server-start): Use server-port.
4070 2010-10-26 Glenn Morris <rgm@gnu.org>
4072 * term/ns-win.el (ns-version-string): Remove unused declaration.
4073 (ns-invocation-args): Change to x-invocation-args.
4074 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4075 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4076 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4077 Use x-invocation-args instead of ns-invocation-args.
4078 (ns-initialize-window-system, handle-args-function-alist):
4079 Use x-handle-args instead of ns-handle-args.
4080 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4081 * startup.el (command-line-ns-option-alist): Replace
4082 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4083 ns-handle-iconic with the x- equivalents.
4085 * term/common-win.el (x-select-enable-clipboard):
4086 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4088 * term/ns-win.el: No need to require cl when compiling.
4089 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4090 (xw-defined-colors): Use the common-win definitions.
4091 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4092 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4093 * term/common-win.el (x-select-text, x-alternatives-map)
4094 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4095 * loadup.el [ns]: Load common-win.
4097 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4099 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4100 recipients; expand mail aliases (Bug#7280).
4102 2010-10-25 Glenn Morris <rgm@gnu.org>
4104 * term/common-win.el (x-handle-switch): Simplify with pop.
4105 Optionally handle numeric switches.
4106 (x-handle-numeric-switch): Just call x-handle-switch.
4107 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4108 (x-handle-name-switch, x-handle-display, x-handle-args):
4111 * term/ns-win.el: Do not require easymenu.
4112 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4113 <spell>: Move adjustments to menu-bar.el.
4114 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4115 <separator-undo, spell>: Move ns-win's adjustments here.
4116 * loadup.el [ns]: Do not load easymenu.
4118 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4120 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4123 * startup.el (fancy-startup-tail): Instead of using inline images,
4124 refer to image files from etc/.
4126 * wid-edit.el (checkbox): Likewise.
4127 (widget-image-find): Center image specs.
4129 2010-10-24 Glenn Morris <rgm@gnu.org>
4131 * term/ns-win.el (x-select-text): Doc fix.
4132 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4133 (x-select-text): Move to term/common-win.
4134 * term/w32-win.el (xw-defined-colors): Move to common-win.
4135 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4136 (x-setup-function-keys, x-select-text): Move to common-win.
4137 * term/common-win.el (x-select-text, x-alternatives-map)
4138 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4141 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4143 * net/mairix.el (mairix-searches-mode-map):
4144 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4146 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4148 * verilog-mode.el (verilog-directive-re): Make this variable
4149 auto-built for efficiency of execution and updating.
4150 (verilog-extended-complete-re): Support 'pure' fucntion & task
4151 declarations (these have no bodies).
4152 (verilog-beg-of-statement): General cleanup to enable support of
4153 'pure' fucntion & task declarations (these have no bodies).
4154 These efforts together fix Verilog bug210 from veripool; which was also
4155 noticed by Steve Pearlmutter.
4156 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4157 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4158 Support `elsif. Reported by Shankar Giri.
4159 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4160 attribute handling for lining up declarations and assignments.
4161 (verilog-beg-of-statement-1): Fix issue where continued declaration
4162 is indented differently if it is after a begin..end clock.
4163 (verilog-in-attribute-p, verilog-skip-backward-comments)
4164 (verilog-skip-forward-comment-p): Support proper treatment of
4165 attributes by indent code. Reported by Jeff Steele.
4166 (verilog-in-directive-p): Fix comment to correctly describe function.
4167 (verilog-backward-up-list, verilog-in-struct-region-p)
4168 (verilog-backward-token, verilog-in-struct-p)
4169 (verilog-in-coverage-p, verilog-do-indent)
4170 (verilog-pretty-declarations): Use verilog-backward-up-list as
4171 wrapper around backward-up-list inorder to properly skip comments.
4172 Reported by David Rogoff.
4173 (verilog-property-re, verilog-endcomment-reason-re)
4174 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4175 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4176 of if). Reported by Max Bjurling and
4177 (verilog-calc-1): Fix for clocking block in modport
4178 declaration. Reported by Brian Hunter.
4180 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4182 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4183 (verilog-gate-keywords, verilog-read-sub-decls)
4184 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4185 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4186 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4187 (verilog-read-decls): Fix spaces in V2K module parameters causing
4188 mis-identification as interfaces, bug287.
4189 (verilog-read-decls): Fix not treating "parameter string" as a
4190 parameter in AUTOINSTPARAM.
4191 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4192 treating `elsif similar to `endif inside AUTOSENSE.
4193 (verilog-do-indent): Implement correct automatic or static task or
4194 function end comment highlight. Reported by Steve Pearlmutter.
4195 (verilog-font-lock-keywords-2): Fix highlighting of single
4196 character pins, bug264. Reported by Michael Laajanen.
4197 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4198 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4199 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4200 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4201 (verilog-pretty-expr): Fix interactive arguments, bug272.
4202 Reported by Mark Johnson.
4203 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4204 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4205 bug269. Suggested by Gary Delp.
4206 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4207 (verilog-preprocessor, verilog-set-compile-command):
4208 Create verilog-preprocess and verilog-preprocessor to show
4209 preprocessed output.
4210 (verilog-get-beg-of-line, verilog-get-end-of-line)
4211 (verilog-modi-file-or-buffer, verilog-modi-name)
4212 (verilog-modi-point, verilog-within-string): Move defmacro's
4213 before first use to avoid warning. Reported by Steve Pearlmutter.
4214 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4215 (verilog-colorize-region, verilog-highlight-buffer)
4216 (verilog-highlight-includes, verilog-highlight-modules)
4217 (verilog-highlight-region, verilog-mode): Rename colorize to
4218 highlight to match other packages. Disable module highlighting,
4219 as received speed complaints, reenable for experimentation only
4220 using new verilog-highlight-modules.
4221 (verilog-read-decls): Fix regexp stack overflow in very large
4222 AUTO_TEMPLATEs, bug250.
4223 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4224 (verilog-scan): Create verilog-save-buffer-state to standardize
4225 making insignificant changes that shouldn't call hooks.
4226 (verilog-save-no-change-functions, verilog-save-scan-cache)
4227 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4228 Create verilog-save-no-change-functions to wrap verilog-scan
4229 preservation, and fix to work with nested preserved calls.
4230 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4231 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4232 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4233 (verilog-submit-bug-report): Update variable list to be complete.
4234 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4235 breaking on-the-fly font-locking.
4236 (verilog-colorize-buffer, verilog-colorize-include-files)
4237 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4238 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4239 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4240 AUTOINST cell instance name, middle mouse button now finds-file on
4241 it. Suggested by Brad Dobbie.
4242 (verilog-alw-get-temps, verilog-auto-reset)
4243 (verilog-auto-sense-sigs, verilog-read-always-signals)
4244 (verilog-read-always-signals-recurse): Fix loop indexes being
4245 AUTORESET. AUTORESET now assumes any variables in the
4246 initialization section of a for() should be ignored.
4247 Reported by Dan Dever.
4248 (verilog-error-font-lock-keywords)
4249 (verilog-error-regexp-emacs-alist)
4250 (verilog-error-regexp-xemacs-alist): Fix error detection of
4251 Cadence HAL, reported by David Asher. Repair drift between the
4252 three similar error variables.
4253 (verilog-modi-lookup, verilog-modi-lookup-cache)
4254 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4255 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4256 Fix slow verilog-auto expansion on very large files.
4257 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4258 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4259 "{1*2{...". Broke in last revision.
4260 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4261 submodule connections with replications "{#{a},#{b}}".
4263 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4265 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4266 Fix typo in docstring.
4268 2010-10-24 Kenichi Handa <handa@m17n.org>
4270 * face-remap.el (text-scale-adjust): Call read-event with a proper
4273 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4275 * emacs-lisp/unsafep.el: Don't mark functions that display
4276 messages as safe. Suggested by Johan Bockgård.
4278 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4280 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4281 Turn comments into docstrings.
4283 * minibuffer.el (completion--replace): Move point where it belongs
4284 when there's a common suffix (bug#7215).
4286 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4288 Merge read-color and facemenu-read-color (Bug#7242).
4290 * faces.el (read-color): Use the completion code from
4291 facemenu-read-color. Require match in completion. Doc fix.
4293 * facemenu.el (facemenu-read-color): Alias for read-color.
4294 (facemenu-set-foreground, facemenu-set-background):
4297 * frame.el (set-background-color, set-foreground-color)
4298 (set-cursor-color, set-mouse-color, set-border-color):
4301 2010-10-24 Leo <sdl.web@gmail.com>
4303 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4304 argument of delete-file and delete-directory (Bug#7011).
4306 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4308 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4311 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4313 * emacs-lisp/package.el (package--generate-package-list): Make the
4314 *Packages* buffer read-only.
4316 2010-10-24 Alan Mackenzie <acm@muc.de>
4318 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4319 result of `c-beginning-of-decl-1' between invocations of a lambda
4320 function (Bug #7265).
4322 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4324 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4325 executable is not available on the system (Bug#7268).
4327 2010-10-24 Glenn Morris <rgm@gnu.org>
4329 * select.el (selection-coding-system, next-selection-coding-system):
4330 Sync doc with C versions.
4332 * w32-vars.el (x-select-enable-clipboard):
4333 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4334 * term/common-win.el (x-select-enable-clipboard): Move here.
4336 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4337 definition of C variable.
4339 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4340 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4341 Don't redefine things that are defined in C.
4342 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4343 (show-trailing-whitespace, auto-hscroll-mode)
4344 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4345 Set up the appropriate custom properties.
4347 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4350 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4351 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4352 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4353 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4355 2010-10-23 Glenn Morris <rgm@gnu.org>
4357 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4360 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4361 Sync docs with C version.
4363 * term/ns-win.el (xw-defined-colors):
4364 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4366 * term/pc-win.el (x-select-enable-clipboard):
4367 * term/x-win.el (x-select-enable-clipboard):
4368 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4370 * comint.el (comint-password-prompt-regexp): Make it less vague.
4373 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4375 * help.el (finder-by-keyword): Remove unnecessary autoload.
4377 2010-10-22 Glenn Morris <rgm@gnu.org>
4379 * loadup.el: Unconditionally load float-sup.
4380 * paren.el (show-paren-delay):
4381 * emacs-lisp/float-sup.el:
4382 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4383 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4384 (lazy-lock-stealth-verbose): Assume float support.
4385 * ps-print.el: Assume float support on Emacs.
4386 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4387 Remove non-float branch.
4389 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4390 src/Makefile no longer being pre-processed.
4392 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4394 * emacs-lisp/find-func.el (find-library): Use test-completion.
4396 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4398 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4400 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4402 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4403 space in stat format string.
4404 (tramp-send-command): Unset $PS1 when using here documents, in
4405 order not to get several prompts.
4406 (tramp-get-inline-coding): Return `nil' in case of errors.
4408 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4410 * hexl.el (hexl-mode, hexl-mode-exit):
4411 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4412 (hexl-revert-buffer-function): New function.
4413 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4415 2010-10-19 Alan Mackenzie <acm@muc.de>
4417 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4418 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4419 that these keywords aren't wrongly matched as identifiers.
4421 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4422 setting of c-new-BEG and c-new-END from c-before-change to
4423 c-after-change. (Bug#7181)
4425 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4427 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4430 * custom.el (custom-theme-set-variables): Likewise.
4431 (load-theme): Add custom-theme-set-faces and
4432 custom-theme-set-variables to safe-functions while loading.
4433 (custom-enabled-themes): Mark as risky.
4435 2010-10-18 Julien Danjou <julien@danjou.info>
4437 * bindings.el: Remove end dashes in default mode-line-format.
4439 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4441 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4442 to delete-forward-char.
4444 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4445 deletechar, and hence delete-forward-char.
4447 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4449 * repeat.el (repeat): Use read-key (bug#6256).
4451 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4453 * emacs-lisp/unsafep.el: Don't mark functions that display
4454 messages as safe. Suggested by Johan Bockgård.
4456 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4458 * minibuffer.el (completion--replace): Move point where it belongs
4459 when there's a common suffix (bug#7215).
4461 2010-10-19 Kenichi Handa <handa@m17n.org>
4463 * international/characters.el: Add category '|' (word breakable)
4464 to fullwidth characters.
4466 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4468 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4469 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4470 order to make stat results a float. Patch by Andreas Schwab
4471 <schwab@linux-m68k.org>.
4473 2010-10-18 Julien Danjou <julien@danjou.info>
4475 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4476 hidden by `make-pointer-invisible'.
4478 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4480 * files.el (locate-file-completion-table): Strip non-matching elements
4481 before checking length of list (bug#7238).
4483 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4485 * custom.el (custom-theme-set-variables): Mark as a safe function.
4486 (load-theme): Check forms using unsafep.
4488 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4490 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4492 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4493 Fix aspell data file searching (bug#7230).
4495 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4497 * cus-theme.el (custom-theme--migrate-settings): New var.
4498 (customize-create-theme): Allow editing the `user' theme.
4499 (custom-theme-add-variable, custom-theme-add-var-1)
4500 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4501 to the front of each variable or face widget.
4502 (custom-theme-write): Save theme settings in the correct order.
4503 Optionally, remove saved settings from user customizations.
4504 (custom-theme-write-variables, custom-theme-write-faces):
4505 Save only the checked widgets.
4506 (customize-themes): Add a link for migrating custom settings.
4508 * custom.el (custom-declare-theme, provide-theme):
4509 Use custom-theme-name-valid-p.
4510 (custom-theme-name-valid-p): Remove checks that are now
4511 unnecessary since themes no longer obey load-path.
4513 * cus-edit.el (custom-variable-value-create): For the simple
4514 style, hide documentation string when hidden.
4516 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4518 * cus-edit.el (custom-variable, custom-face): Combine the
4519 :inhibit-magic and :display-style properties into a single
4520 :custom-style property.
4521 (custom-toggle-hide-variable, custom-toggle-hide-face):
4522 New functions. If hiding an edited value, save it to :shown-value.
4523 (custom-variable-value-create, custom-face-value-create): Use them.
4524 (custom-magic-reset): Allow magic property to be unset.
4526 * custom.el: Custom themes no longer use load-path.
4527 (custom-theme-load-path): New option. Change built-in theme
4529 (custom-enabled-themes): Add custom-theme-load-path dependency.
4530 (custom-theme--load-path): New function.
4531 (load-theme, custom-available-themes): Use it.
4533 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4534 (customize-themes): Link to custom-theme-load-path variable.
4535 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4536 :custom-style property.
4538 * themes/*.el: Moved to etc/.
4540 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4542 * textmodes/reftex-cite.el
4543 (reftex-extract-bib-entries-from-thebibliography): Do not move
4544 point when searching for \bibitem entries. Match entries with
4545 spaces or tabs in front of arguments.
4547 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4549 * cus-theme.el (customize-create-theme): Delete overlays after
4550 erasing. If given a THEME arg, display only the faces of that arg
4551 instead of custom-theme--listed-faces.
4552 (custom-theme-variable-menu, custom-theme-variable-action)
4553 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4554 (custom-theme-add-variable, custom-theme-add-face): Apply value
4555 from the theme settings, instead of the current value.
4556 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4557 (custom-theme-visit-theme): Allow calling outside theme buffers.
4558 (custom-theme-merge-theme): Don't enable the theme when merging.
4559 (custom-theme-write-variables, custom-theme-write-faces): Use the
4560 :shown-value properties to save buffer values, not global ones.
4561 (customize-themes): Display a warning about user customizations.
4563 * cus-edit.el (custom-variable-value-create)
4564 (custom-face-value-create): Obey new special properties
4565 :shown-value and :inhibit-magic.
4567 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4569 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4570 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4573 2010-10-14 Kenichi Handa <handa@m17n.org>
4575 * mail/rmail.el (rmail-show-message-1): Catch an error of
4576 base64-decode-region and just show an error message (bug#7165).
4578 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4579 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4580 a font-spec (bug#7197).
4582 2010-10-14 Glenn Morris <rgm@gnu.org>
4584 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4586 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4588 * international/mule.el (define-coding-system):
4589 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4590 * composite.el (compose-region): Fix typo in docstring.
4592 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4594 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4595 only after checking the theme-face property.
4597 * faces.el (face-spec-reset-face): Reset all attributes in one
4598 single call to set-face-attribute.
4599 (face-spec-match-p): Make it a defsubst.
4600 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4601 (x-create-frame-with-faces, tty-create-frame-with-faces)
4602 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4603 frame-set-background-mode, since they are recomputed immediately
4604 afterwards in face-set-after-frame-default.
4605 (face-set-after-frame-default): Minor optimization.
4606 (cursor): Provide non-trivial defface spec.
4608 * custom.el (custom-theme-recalc-face): Simplify.
4610 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4612 * calc/calc-alg.el (math-var): Rename from `var'.
4613 (math-is-polynomial, math-is-poly-rec): Replace `var'
4616 * calc/calcalg2.el (math-var): Rename from `var'.
4617 (calcFunc-table, math-scan-for-limits): Replace `var'
4620 2010-10-13 Glenn Morris <rgm@gnu.org>
4622 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4624 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4626 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4628 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4630 * net/tls.el (tls-program): Remove spurious %s from openssl.
4631 (tls-starttls-switches): Remove starttls hack.
4632 (open-tls-stream): Ditto.
4633 (tls-find-starttls-argument): Ditto.
4635 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4637 * image.el (image-library-alist): Declare as obsolete alias.
4638 (image-type-available-p): Use `dynamic-library-alist'.
4640 * term/w32-win.el (dynamic-library-alist):
4641 Use instead of `image-library-alist'.
4643 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4645 * subr.el (last): Make it faster. (Bug#7174)
4647 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4649 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4651 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4653 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4654 (describe-theme-1): Extract doc from unloaded themes.
4656 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4658 * themes/tango-theme.el:
4659 * themes/tango-dark-theme.el:
4660 * themes/wheatgrass-theme.el: New files.
4662 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4664 * cus-theme.el (describe-theme, customize-themes)
4665 (custom-theme-save): New commands.
4666 (custom-new-theme-mode-map): Bind C-x C-s.
4667 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4668 (customize-create-theme): New optional arg THEME.
4669 (custom-theme-revert): Use it.
4670 (custom-theme-visit-theme): Remove dead code.
4671 (custom-theme-merge-theme): Use custom-available-themes.
4672 (custom-theme-write): Make interactive.
4673 (custom-theme-write): Use custom-theme-name-valid-p.
4674 (describe-theme-1, custom-theme-choose-revert)
4675 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4677 (custom-theme-allow-multiple-selections): New option.
4678 (custom-theme-choose-mode): New major mode.
4680 * custom.el (custom-theme-set-variables): Remove dead code.
4681 Obey custom--inhibit-theme-enable.
4682 (custom--inhibit-theme-enable): New var.
4683 (provide-theme): Obey it.
4684 (load-theme): Replace load with manual read/eval, in order to
4685 check for correctness. Use custom-theme-name-valid-p.
4686 (custom-theme-name-valid-p): New function.
4687 (custom-available-themes): Use it.
4689 * cus-edit.el (custom--initialize-widget-variables): New function.
4690 (Custom-mode): Use it.
4692 * cus-face.el (custom-theme-set-faces): Remove dead code.
4693 Obey custom--inhibit-theme-enable.
4695 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4697 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4699 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4701 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4703 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4704 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4705 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4707 * cus-start.el (all): ns-right-alternate-modifier is new.
4709 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4711 * emacs-lisp/lisp.el (lisp-completion-at-point):
4712 Use emacs-lisp-mode-syntax-table for the whole function.
4714 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4716 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4717 instead of font-lock-mode before adding keywords.
4718 Remove hi-lock-mode off code. Remove inhibit hack.
4719 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4720 non-nil; removed hook inhibit hack.
4722 2010-10-12 Glenn Morris <rgm@gnu.org>
4724 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4725 (load-path-shadows-find): ... to this.
4726 (list-load-path-shadows): Update for above change.
4728 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4730 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4732 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4733 Fix comment for declare-function.
4735 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4737 * custom.el (custom-fix-face-spec): New function; code moved from
4738 custom-face-edit-fix-value.
4739 (custom-push-theme): Use it when checking if a face has been
4740 changed outside customize.
4741 (custom-available-themes): New function.
4742 (load-theme): Use it.
4744 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4746 * custom.el (custom-push-theme): Cleanup (use cond).
4747 (disable-theme): Recompute the saved-face property.
4748 (custom-theme-recalc-face): Follow face alias before setting prop.
4750 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4751 New variables, containing checkbox images.
4753 * startup.el (fancy-startup-tail):
4754 * wid-edit.el (checkbox): Use them.
4756 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4758 * shell.el (shell-mode-map):
4759 * progmodes/modula2.el (m2-mode-map):
4760 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4761 * play/mpuz.el (mpuz-mode-map):
4762 * play/landmark.el (lm-mode-map):
4763 * play/decipher.el (decipher-mode-map):
4764 * play/5x5.el (5x5-mode-map):
4765 * net/telnet.el (telnet-mode-map):
4766 * net/quickurl.el (quickurl-list-mode-map):
4767 * net/mairix.el (mairix-searches-mode-map):
4768 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4769 * net/dig.el (dig-mode-map):
4770 * mail/mspools.el (mspools-mode-map):
4771 * hexl.el (hexl-mode-map):
4772 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4773 (wordstar-C-o-map, wordstar-C-q-map):
4774 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4775 * emacs-lisp/chart.el (chart-map):
4776 * edmacro.el (edmacro-mode-map):
4777 * erc/erc-list.el (erc-list-menu-mode-map):
4778 * array.el (array-mode-map): Declare and define in one step.
4780 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4782 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4784 * epa.el (epa-passphrase-callback-function): Display filename
4785 passed as the 3rd arg.
4786 * epa-file.el (epa-file-passphrase-callback-function):
4787 Pass filename to epa-passphrase-callback-function.
4789 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4791 * cus-edit.el (custom-face-widget-to-spec)
4792 (custom-face-get-current-spec, custom-face-state): New functions.
4793 (custom-face-set, custom-face-mark-to-save)
4794 (custom-face-value-create, custom-face-state-set): Use them.
4796 * cus-theme.el (custom-theme--listed-faces): New var.
4797 (customize-create-theme): Use *Custom Theme* as the buffer name.
4798 Set revert-buffer-function. Optional arg BUFFER. Insert all
4799 faces listed in custom-theme--listed-faces.
4800 (custom-theme-revert): New function.
4801 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4803 (custom-theme-write): Prompt for theme name if empty.
4804 (custom-theme-write-variables): Use dolist.
4805 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4807 2010-10-09 Alan Mackenzie <acm@muc.de>
4809 Enhance fontification of declarators to take account of the
4810 presence/absence of "typedef".
4812 * cc-engine.el (c-forward-type): New &optional param
4814 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4815 presence of either or both of a "struct"-like keyword and "typedef".
4817 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4818 fontification of declarators which follow a "}".
4819 (c-font-lock-declarations): Fontify declarators according to the
4820 presence/absence of "typedef".
4822 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4824 (c-typedef-decl-key): New lang variable built from
4825 c-typedef-decl-kwds.
4827 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4829 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4830 since that's too annoying. Move the filter groups commands to
4833 * epa.el (epa-passphrase-callback-function): Say what we're
4834 querying the password for.
4836 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4837 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4839 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4841 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4842 (custom-magic-value-create): Pad button tags with spaces.
4843 (custom-face-edit): New variable.
4844 (custom-face-value-create): Determine whether to use the usual
4845 face editor here, instead of using custom-face-selected.
4846 Pass face defaults to custom-face-edit widget.
4847 (custom-face-selected, custom-display-unselected): Delete widgets.
4848 (custom-display-unselected-match): Function removed.
4849 (custom-face-set, custom-face-mark-to-save):
4850 Accept custom-face-edit widgets as the direct widget child.
4852 * wid-edit.el (widget--completing-widget): New var.
4853 (widget-default-complete): Bind it when doing completion.
4854 (widget-string-complete, widget-file-complete): Use it.
4856 2010-10-09 Glenn Morris <rgm@gnu.org>
4858 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4859 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4860 (holiday-hebrew-misc): Small simplifications.
4862 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4864 * net/browse-url.el: Don't require thingatpt, term, dired,
4865 executable, or w3-auto when compiling.
4866 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4868 (browse-url-text-emacs): Require term.
4870 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4872 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4874 2010-10-08 Glenn Morris <rgm@gnu.org>
4876 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4878 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4879 (shadows-compare-text-p): Make it an obsolete alias for...
4880 (load-path-shadows-compare-text): ... new name.
4881 (find-emacs-lisp-shadows): Update for above name change.
4882 (load-path-shadows-same-file-or-nonexistent): New name for the old
4883 shadow-same-file-or-nonexistent.
4885 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4887 * minibuffer.el (completion--some, completion--do-completion)
4888 (minibuffer-complete-and-exit, minibuffer-completion-help)
4889 (completion-basic-try-completion)
4890 (completion-basic-all-completions)
4891 (completion-pcm--find-all-completions): Use lexical-let to
4892 avoid some false matches in variable completion (Bug#7056)
4894 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4896 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4898 2010-10-08 Leo <sdl.web@gmail.com>
4900 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4901 return non-nil if the file exists (Bug#7090).
4903 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4905 * minibuffer.el (completion--replace):
4906 Better preserve markers (bug#7138).
4908 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4910 * server.el (server-process-filter): Doc fix.
4912 2010-10-08 Drew Adams <drew.adams@oracle.com>
4914 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4916 2010-10-08 Glenn Morris <rgm@gnu.org>
4918 * vc/ediff-wind.el (ediff-setup-control-frame):
4919 * vc/ediff-ptch.el (ediff-default-backup-extension):
4920 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4921 (ediff-exec-process): Remove system-types emx, windows-95.
4923 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4925 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4927 * cus-edit.el (custom-variable, custom-face): Doc fix.
4928 (custom-face-edit): Add value-create attribute.
4929 (custom-face-edit-value-create)
4930 (custom-face-edit-value-visibility-action): New functions.
4931 Hide unused face attributes by default, and add a visibility toggle.
4932 (custom-face-edit-deactivate): Show empty values with shadow face.
4933 (custom-face-selected): Only use this for face specs with default
4935 (custom-face-value-create): Cleanup.
4937 * wid-edit.el (widget-checklist-value-create): Use dolist.
4938 (widget-checklist-match-find): Make second arg optional.
4940 2010-10-07 Glenn Morris <rgm@gnu.org>
4942 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4945 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4946 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4947 load-path-shadows-mode, update references.
4948 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4949 Rename variable and button.
4950 (list-load-path-shadows): Update button caller.
4952 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4954 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4955 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4956 (smie-merge-prec2s): Handle those new entries.
4957 (smie-prec2-levels): Only set precedence to nil for actual
4959 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4960 that is now unnecessary.
4962 2010-10-07 Miles Bader <miles@gnu.org>
4964 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4966 2010-10-07 Glenn Morris <rgm@gnu.org>
4968 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4969 (mail-position-on-field): Remove declarations.
4970 (mail-position-on-field): Autoload it.
4971 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4972 and mail-header-end. Don't require sendmail.
4974 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4975 (shadow-mode): New mode.
4976 (shadow-find-file): New button.
4977 (list-load-path-shadows): Use shadow-mode and buttons.
4979 * iimage.el (iimage-version): Remove.
4980 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4981 Turn into defcustoms.
4982 (iimage-mode-map): Give it a doc string.
4984 * calendar/appt.el (appt-activate): Give a warning rather than an error
4985 if there is no diary-file.
4987 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4989 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4990 Use `tramp-handle-find-backup-file-name'.
4992 2010-10-06 Glenn Morris <rgm@gnu.org>
4994 * font-core.el (font-lock-defaults-alist): Remove variable.
4995 (font-lock-mode): Doc fix.
4996 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4997 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4998 (font-lock-set-defaults): Doc fix.
4999 Do not consult font-lock-defaults-alist.
5001 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5003 * emacs-lisp/cl.el: No longer provide cl-19.
5005 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5007 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5008 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5009 New defuns, taken from tramp-smb.el.
5010 (tramp-coding-system-change-eol-conversion)
5011 (tramp-set-process-query-on-exit-flag): Remove.
5013 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5014 (tramp-compat-coding-system-change-eol-conversion)
5015 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5018 * net/tramp-gvfs.el:
5019 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5020 by `tramp-compat-set-process-query-on-exit-flag'.
5022 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5023 Use `tramp-handle-directory-files-and-attributes',
5024 `tramp-handle-file-exists-p' and
5025 `tramp-handle-file-newer-than-file-p'.
5026 (tramp-imap-handle-file-exists-p)
5027 (tramp-imap-handle-file-executable-p)
5028 (tramp-imap-handle-file-readable-p)
5029 (tramp-imap-handle-directory-files-and-attributes)
5030 (tramp-imap-handle-file-newer-than-file-p): Remove.
5032 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5033 by `tramp-compat-set-process-query-on-exit-flag' and
5034 `tramp-coding-system-change-eol-conversion' by
5035 `tramp-compat-coding-system-change-eol-conversion'.
5037 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5038 Use `tramp-handle-directory-files-and-attributes',
5039 `tramp-handle-file-exists-p' and
5040 `tramp-handle-file-newer-than-file-p'.
5041 (tramp-smb-handle-directory-files-and-attributes)
5042 (tramp-smb-handle-file-exists-p)
5043 (tramp-smb-handle-file-newer-than-file-p): Remove.
5044 (tramp-smb-maybe-open-connection):
5045 Replace `tramp-set-process-query-on-exit-flag' by
5046 `tramp-compat-set-process-query-on-exit-flag'.
5048 2010-10-05 Glenn Morris <rgm@gnu.org>
5050 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5052 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5054 Continue reorganization of load dependencies. (Bug#7156)
5056 * net/tramp.el (tramp-handle-file-local-copy-hook)
5057 (tramp-delete-temp-file-function): Move down.
5058 (tramp-exists-file-name-handler): Move up.
5059 (tramp-register-file-name-handlers): Simplify autoload.
5060 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5061 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5062 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5063 (tramp-handle-file-name-completion)
5064 (tramp-handle-file-name-directory)
5065 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5066 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5067 (tramp-handle-find-backup-file-name)
5068 (tramp-handle-insert-file-contents, tramp-handle-load)
5069 (tramp-handle-substitute-in-file-name)
5070 (tramp-handle-unhandled-file-name-directory)
5071 (tramp-mode-string-to-int, tramp-local-host-p)
5072 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5074 * net/tramp-gvfs.el (top):
5075 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5077 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5078 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5080 2010-10-04 Glenn Morris <rgm@gnu.org>
5082 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5083 (appt-activate): Give status messages.
5085 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5087 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5088 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5089 `gnutls-negotiate' (formerly `starttls-negotiate').
5090 Remove trivial wrapper `starttls-open-stream'.
5092 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5094 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5095 log-outgoing commands.
5096 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5097 to create a buffer local revert-buffer-function variable.
5098 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5099 revert-buffer-function lambda.
5101 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5103 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5104 `gnutls-boot'. Make TYPE the only required parameter.
5105 Allow TRUSTFILES and KEYFILES to be lists.
5106 (open-ssl-stream): Use it.
5108 2010-10-03 Glenn Morris <rgm@gnu.org>
5110 * subr.el (directory-sep-char): Remove obsolete variable.
5111 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5114 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5115 * vc/vc.el (vc-static-header-alist): Doc fix.
5116 * vc/vc-cvs.el (vc-cvs-header):
5117 * vc/vc-rcs.el (vc-rcs-header):
5118 * vc/vc-sccs.el (vc-sccs-header):
5119 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5120 * obsolete/vc-mcvs.el (vc-mcvs-header):
5121 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5124 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5126 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5127 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5129 2010-10-03 Glenn Morris <rgm@gnu.org>
5131 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5133 * textmodes/rst.el (rst-font-lock-keywords-function):
5136 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5138 * printing.el: Drop Emacs 20 code.
5140 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5141 without having used appt.el already).
5143 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5144 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5145 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5147 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5148 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5150 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5151 (charset-width, find-charset-region, chars-in-region, forward-point)
5152 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5153 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5154 Remove compatibility cruft (none of these are used by ps*.el).
5156 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5158 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5160 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5162 * server.el (server-process-filter, server-return-error):
5163 Give emacsclient time to shut down after receiving an error string.
5165 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5167 * files.el (remote-file-name-inhibit-cache): New defcustom.
5169 * time.el (display-time-file-nonempty-p):
5170 Use `remote-file-name-inhibit-cache'.
5172 * net/tramp.el (tramp-completion-reread-directory-timeout):
5175 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5176 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5177 `remote-file-name-inhibit-cache'. Check also for an integer
5178 value. Add/increase counter when `tramp-verbose' >= 10.
5179 (tramp-set-file-property): Add/increase counter when
5180 `tramp-verbose' >= 10.
5182 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5183 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5184 (tramp-bug): Set tramp-autoload cookie. Report all interned
5185 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5186 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5187 characters only in strings.
5189 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5190 to backward compatibility.
5192 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5193 (tramp-handle-file-name-all-completions)
5194 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5195 (tramp-open-connection-setup-interactive-shell):
5196 Call `tramp-cleanup-connection' directly.
5198 2010-10-02 Glenn Morris <rgm@gnu.org>
5200 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5202 * subr.el (char-bytes): Remove obsolete function.
5204 * isearch.el (isearch-return-char): Remove obsolete function.
5206 * mouse.el: No longer provide mldrag.
5207 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5208 Remove obsolete aliases.
5210 * comint.el (comint-kill-output): Remove obsolete alias.
5212 * composite.el (decompose-composite-char): Remove obsolete function.
5213 * ps-def.el (decompose-composite-char): Remove unused function.
5215 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5217 * outline.el (outline-visible): Remove obsolete function.
5219 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5220 * faces.el (internal-find-face, internal-get-face)
5221 (frame-update-faces, frame-update-face-colors)
5222 (x-frob-font-weight, x-frob-font-slant)
5223 (internal-frob-font-weight, internal-frob-font-slant)
5224 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5225 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5226 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5228 * emulation/viper-util.el (viper-get-face):
5229 * obsolete/lucid.el (find-face, get-face): Use facep.
5230 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5231 Remove unused functions.
5232 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5234 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5235 delete tempfile if interrupted during compilation.
5237 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5239 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5241 (tls-program): Add --insecure to be consistent with the defaults from
5242 openssl s_client. Now all three commands are insecure.
5244 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5246 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5247 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5248 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5250 2010-10-01 Glenn Morris <rgm@gnu.org>
5252 * obsolete/sc.el: Remove file.
5254 * files.el (temporary-file-directory): On darwin, also try
5255 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5257 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5259 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5260 Let's not break compatibility gratuitously, shall we?
5262 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5264 * net/tls.el (tls-starttls-switches): New variable.
5265 (tls-find-starttls-argument): Use it.
5266 (open-tls-stream): Ditto.
5268 * net/netrc.el (netrc-credentials): Return the value of the "default"
5270 (netrc-machine): Ditto.
5272 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5274 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5276 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5278 * server.el (server-start): Don't write pid to the authentication file.
5279 (server-create-tty-frame): Don't send pid.
5280 (server-process-filter): Send pid at the start of every connection.
5282 2010-09-30 Glenn Morris <rgm@gnu.org>
5284 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5285 (show-all-diary-entries): Remove obsolete function aliases.
5287 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5288 Remove options, obsolete since 22.1.
5289 (appt-display-format, appt-display-message):
5290 Remove backwards-compatibility code.
5291 (appt-check): No longer check appt-issue-message.
5292 (appt-make-list): No longer autoload it. Doc fix. No longer
5293 activate the package.
5295 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5297 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5298 (starttls-negotiate): Just call boot, and let the handshake be
5299 triggered from the read loop.
5301 2010-09-29 Glenn Morris <rgm@gnu.org>
5303 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5304 not displaying the diary.
5305 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5306 * calendar/appt.el (appt-check): No longer need to kill diary.
5308 * calendar/diary-lib.el (diary-list-entries): Move the
5309 "Preparing..." message entirely here.
5310 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5311 messages to diary-list-entries.
5312 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5313 diary-display-function.
5315 * calendar/diary-lib.el (diary-include-other-diary-files):
5316 Trap some recursive includes.
5318 * calendar/appt.el (appt-activate): Check diary file.
5320 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5322 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5325 * calendar/time-date.el: No need to require cl for Emacs 21.
5327 2010-09-28 Glenn Morris <rgm@gnu.org>
5329 * calendar/appt.el (appt-check): Minor simplification.
5331 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5333 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5336 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5338 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5339 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5341 2010-09-27 Kenichi Handa <handa@m17n.org>
5343 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5346 2010-09-27 Kenichi Handa <handa@m17n.org>
5348 * international/mule.el (define-coding-system): Docstring fixed.
5350 * international/mule-diag.el (describe-character-set): Use princ
5351 with proper print-length and print-level instead of insert.
5353 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5355 * window.el (walk-windows): Doc fix (bug#7105).
5357 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5359 * emacs-lisp/float-sup.el (e): Remove.
5361 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5363 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5365 (starttls-negotiate): Use it.
5367 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5369 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5372 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5374 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5376 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5378 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5380 * net/netrc.el (netrc-store-data): New function.
5382 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5384 * net/gnutls.el: GnuTLS glue code to set up a connection.
5386 2010-09-25 Julien Danjou <julien@danjou.info>
5388 * notifications.el: Call dbus-register-signal only if it is bound.
5390 2010-09-25 Glenn Morris <rgm@gnu.org>
5392 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5393 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5394 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5395 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5396 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5397 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5398 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5399 * eshell/esh-util.el, eshell/esh-var.el:
5400 Remove leading `*' from docs of faces and defcustoms.
5402 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5404 * eshell/em-ls.el (eshell-ls-archive-regexp):
5405 * eshell/esh-util.el (eshell-tar-regexp):
5406 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5407 * info.el (Info-suffix-list):
5408 * international/mule.el (auto-coding-alist):
5409 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5410 * progmodes/etags.el (tags-compression-info-list):
5411 Support xz compression.
5413 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5415 * files.el (get-free-disk-space): Don't assume the "df" output
5416 columns line up (Bug#6995).
5418 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5420 * finder.el (finder-unknown-keywords):
5421 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5422 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5424 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5426 * server.el (server-start): Revert part of 2010-08-08 change. Using
5427 address 127.0.0.1 for local host is now done in Fmake_network_process.
5429 2010-09-24 Glenn Morris <rgm@gnu.org>
5431 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5432 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5433 * textmodes/css-mode.el, textmodes/dns-mode.el:
5434 Move autoloaded auto-mode-alist entries to files.el.
5435 * files.el (auto-mode-alist): Move entries here.
5437 2010-09-23 Glenn Morris <rgm@gnu.org>
5439 * isearch.el (isearch-lazy-highlight-cleanup)
5440 (isearch-lazy-highlight-initial-delay)
5441 (isearch-lazy-highlight-interval)
5442 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5443 * net/net-utils.el (ipconfig-program-options):
5444 Move aliases to options before the associated definitions.
5446 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5448 * newcomment.el (comment-normalize-vars): Better test validity of
5451 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5453 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5454 (float-e): New name for `e'.
5455 (degrees-to-radians, radians-to-degrees):
5456 * calendar/solar.el (solar-longitude):
5457 * calculator.el (calculator-registers, calculator-funcall):
5458 * textmodes/artist.el (artist-spray-random-points):
5459 * play/bubbles.el (bubbles--initialize-images): Use new names.
5461 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5463 Update to CEDET 1.0's version of EIEIO.
5465 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5467 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5468 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5469 (class-precedence-list): If class is nil, return nil.
5470 (eieio-generic-call): If class of first input arg is nil, don't
5471 look up static methods, and do check for primary methods.
5472 (initialize-instance): See if the default needs to be evaluated
5473 during the constructor.
5474 (eieio-perform-slot-validation-for-default): Don't do the check
5475 for values that will eventually be evaluated.
5476 (eieio-eval-default-p): New function.
5477 (eieio-default-eval-maybe): Use it.
5479 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5481 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5482 method-invocation-order.
5483 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5484 (eieio-class-precedence-dfs): Compute class precedence list using
5486 (eieio-class-precedence-bfs): Compute class precedence list using
5488 (eieio-class-precedence-c3): Compute class precedence list using
5490 (class-precedence-list): New function.
5491 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5492 (inconsistent-class-hierarchy): New error symbol.
5493 (call-next-method): Stow the replacement argument list for future
5494 call-next-method invocations.
5496 2010-09-23 Glenn Morris <rgm@gnu.org>
5498 * calendar/appt.el (appt-check): If not displaying the diary,
5499 use (diary 1) to only get the entries we need.
5500 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5501 that it is in day order. (Bug#7019)
5503 * calendar/appt.el (appt-check): Rather than showing the diary,
5504 just turn off invisible display, and only if needed.
5506 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5508 2010-09-23 Glenn Morris <rgm@gnu.org>
5510 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5511 (byte-compile-defvar, byte-compile-cl-warn):
5512 Start warnings with lower-case, like the majority.
5514 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5516 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5518 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5519 * files.el (auto-mode-alist): Move ld-script entries here, further down
5522 * vc/add-log.el: Don't require timezone when compiling.
5523 (timezone-make-date-sortable): Autoload it.
5524 (change-log-sortable-date-at): Don't require timezone.
5525 Use `ignore-errors'.
5527 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5528 Move alias before definition, so it does not need autoloading.
5530 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5531 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5532 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5533 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5534 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5535 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5536 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5537 * textmodes/tex-mode.el, textmodes/two-column.el:
5538 Remove leading `*' from docs of defcustoms etc.
5540 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5542 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5544 2010-09-22 Dan Christensen <jdc@uwo.ca>
5546 * calendar/time-date.el (date-to-time): Try using parse-time-string
5547 first before using the slower timezone-make-date-arpa-standard.
5549 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5551 * calendar/time-date.el (format-seconds): Comment fix.
5553 2010-09-22 Glenn Morris <rgm@gnu.org>
5555 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5556 is not automatically buffer-local.
5558 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5560 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5561 (smie-indent-comment): Be more careful with comment-start-skip.
5562 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5563 (smie-indent-functions): Use them.
5565 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5567 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5569 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5571 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5572 tool-bar-position. Don't modify frame parameters here.
5573 (menu-bar-options-save): Add tool-bar-position.
5575 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5577 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5579 * textmodes/reftex-parse.el (reftex-what-macro)
5580 (reftex-context-substring): Let-bind forward-sexp-function to nil
5581 since we don't need/want to treat \begin...\end as a block (bug#7053).
5583 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5585 * simple.el (blink-matching-open): Use syntax-class.
5587 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5588 Set invisibility spec for pascal's outline mode.
5589 (pascal-outline-change): Clean up calling convention.
5590 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5592 * progmodes/prolog.el (prolog-smie-forward-token)
5593 (prolog-smie-backward-token): New functions.
5594 (prolog-mode-variables): Use them to parse "!," correctly.
5595 Set up smie-blink-matching for ".".
5597 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5599 (ispell-region, ispell-process-line): Update users.
5601 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5604 * textmodes/ispell.el: Fix commenting convention.
5605 (ispell-parse-output): Simplify, use push.
5606 (ispell-region): Use match-string-no-properties.
5607 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5608 (ispell-minor-mode): Use define-minor-mode.
5609 (ispell-message): Remove unused var `skip-regexp'.
5610 (ispell-add-per-file-word-list): Use dynamic let-binding.
5611 Try and use the proper comment marker.
5613 * mail/sendmail.el: Fix commenting convention.
5614 (sendmail-send-it): Use line-beginning-position.
5616 * help-fns.el (describe-variable): Add original value, if applicable.
5618 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5620 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5622 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5624 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5626 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5627 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5628 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5629 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5630 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5631 something like "." can also be a closer.
5632 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5633 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5634 Rename internal functions to use "--". Update callers.
5636 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5638 * fringe.el (fringe-styles): New var.
5639 (fringe-mode, fringe-query-style): Use it.
5641 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5643 * progmodes/sql.el: Version 2.8
5644 (sql-login-params): Update widget structure; changes still needed.
5645 (sql-product-alist): Add :list-all and :list-table features for
5646 SQLite, Postgres and MySQL products.
5647 (sql-redirect): Handle default value.
5648 (sql-execute, sql-execute-feature): New functions.
5649 (sql-read-table-name): New function.
5650 (sql-list-all, sql-list-table): New functions. User API.
5651 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5652 for above functions.
5653 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5654 for above functions.
5655 (sql-postgres-login-params): Add user and database defaults.
5656 (sql-buffer-live-p): Bug fix.
5657 (sql-product-history): New variable.
5658 (sql-read-product): New function. Use it.
5659 (sql-set-product, sql-product-interactive): Use it.
5660 (sql-connection-history): New variable.
5661 (sql-read-connection): New function. Use it.
5662 (sql-connect): New function.
5663 (sql-for-each-login): Redesign function interface.
5664 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5665 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5666 (sql-comint): Check for program. Existing live buffer.
5667 (sql-comint-postgres): Add port parameter.
5669 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5671 * emacs-lisp/warnings.el: Fix commenting convention.
5672 (display-warning): Use special mode and make the buffer read-only.
5674 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5676 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5677 empty string when it follows a repeated or optional pattern.
5679 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5681 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5682 (indent-region): Use indent-according-to-mode.
5684 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5686 * fringe.el (fringe-mode): Doc fix.
5688 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5690 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5691 refreshing the preview buffer.
5693 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5695 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5696 (latex-syntax-propertize-rules): New consts; replace
5697 tex-font-lock-syntactic-keywords.
5698 (tex-env-mark, latex-env-before-change): New functions.
5699 (latex-electric-env-pair-mode): New minor mode.
5700 (tex-font-lock-verb): Change arguments; do move point.
5701 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5702 representation as a form of comment.
5703 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5704 (doctex-syntax-propertize-rules): New const; replaces
5705 doctex-font-lock-syntactic-keywords.
5706 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5708 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5709 (fortran-make-syntax-propertize-function): New function; replaces
5710 fortran-font-lock-syntactic-keywords.
5711 (fortran-mode): Use it.
5712 (fortran-line-length): Use it. Improve interactive spec.
5714 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5715 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5716 when adding surrounding \(..\).
5718 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5720 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5722 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5723 Use with-current-buffer.
5725 * isearch.el (isearch-face): Rename from `isearch'.
5726 (isearch-highlight): Use new name.
5728 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5730 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5731 5, for `half' width fringes. (Bug#6933)
5733 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5735 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5736 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5738 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5740 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5742 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5743 in calculating new frame position. Add more space between new and
5744 parent on the left (Bug#7048).
5746 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5748 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5751 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5753 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5755 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5756 obsolete alias for x-selection-value.
5758 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5760 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5762 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5765 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5767 * net/tramp-compat.el (tramp-compat-with-temp-message)
5768 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5769 (tramp-compat-process-put): New defuns.
5771 * net/tramp.el (top):
5772 * net/tramp-gvfs.el (top):
5773 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5775 * net/tramp.el (tramp-progress-reporter-update):
5776 Use `tramp-compat-funcall'.
5778 * net/tramp.el (tramp-process-actions):
5779 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5780 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5781 (tramp-get-remote-stat, tramp-get-remote-readlink):
5782 Use `tramp-compat-with-temp-message'.
5784 * net/tramp-sh.el (top): Require 'cl.
5785 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5786 (tramp-open-connection-setup-interactive-shell):
5787 Use `tramp-compat-process-put'.
5789 2010-09-15 Alan Mackenzie <acm@muc.de>
5791 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5793 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5795 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5797 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5798 `lexical' for warnings related to lexical scoping.
5799 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5800 global vars which don't have a prefix and could hence affect lexical
5801 scoping in unrelated files.
5803 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5805 * net/imap.el: Revert back to version
5806 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5809 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5811 * obsolete/old-whitespace.el (whitespace-unload-function):
5812 Explicitly pass `obarray' to `unintern' to avoid a warning.
5814 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5816 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5817 Add `when' argument. Update callers.
5819 * subr.el (unintern): Declare the obarray arg mandatory.
5821 2010-09-14 Glenn Morris <rgm@gnu.org>
5823 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5826 * calendar/diary-lib.el (diary-included-files): New variable.
5827 (diary-list-entries): Maybe initialize diary-included-files.
5828 (diary-include-other-diary-files): Append to diary-included-files.
5829 * calendar/appt.el (appt-update-list): Also check the members of
5830 diary-included-files. (Bug#6999)
5831 (appt-check): Doc fix.
5833 2010-09-14 David Reitter <david.reitter@gmail.com>
5835 * simple.el (line-move-visual): Do not truncate goal column to
5836 integer size. (Bug#7020)
5838 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5840 * repeat.el (repeat): Allow repeating when the last event is a click.
5841 Suggested by Drew Adams (bug#6256).
5843 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5845 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5846 Replace setting HGRCPATH to "" by some less invasive --config options.
5848 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5850 * font-lock.el (font-lock-beginning-of-syntax-function):
5853 2010-09-14 Glenn Morris <rgm@gnu.org>
5855 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5856 and tool-bar modes. (Bug#6211)
5857 (menu-bar-mode): Move setting of standard-value after the
5858 minor-mode definition, otherwise it seems to have no effect.
5860 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5862 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5863 Fix typo. (Bug#6976)
5865 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5867 * whitespace.el: Allow cleaning up blanks without blank
5868 visualization (Bug#6651). Adjust help window for
5869 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5870 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5871 (whitespace-style): Add new value 'face. Adjust docstring.
5872 (whitespace-space, whitespace-hspace, whitespace-tab):
5873 Adjust foreground property face.
5874 (whitespace-line-column): Adjust docstring and type declaration.
5875 (whitespace-style-value-list, whitespace-toggle-option-alist)
5876 (whitespace-help-text): Adjust const initialization.
5877 (whitespace-toggle-options, global-whitespace-toggle-options):
5879 (whitespace-display-window, whitespace-interactive-char)
5880 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5881 (whitespace-help-scroll): New fun.
5883 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5885 * calendar/time-date.el (format-seconds): Comment fix.
5887 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5889 * progmodes/sql.el: Version 2.7.
5890 (sql-buffer-live-p): Improve detection.
5891 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5892 (sql-set-sqli-buffer): Use it.
5893 (sql-product-interactive): Run `sql-set-sqli-hook'.
5894 (sql-rename-buffer): Code cleanup.
5895 (sql-redirect, sql-redirect-value): New functions. More to come.
5897 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5899 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.
5900 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5901 (TRAMP_SRC): New macro.
5902 ($(lisp)/net/tramp-loaddefs.el): New target.
5904 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5906 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5908 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5910 * net/tramp.el (top): Don't show loading message. Require just
5911 'tramp-compat, everything else is required there.
5912 Use `ignore-errors' where appropriate.
5913 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5914 (tramp-terminal-type, tramp-end-of-output)
5915 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5916 (tramp-completion-function-alist-ssh)
5917 (tramp-completion-function-alist-telnet)
5918 (tramp-completion-function-alist-su)
5919 (tramp-completion-function-alist-putty, tramp-remote-path)
5920 (tramp-remote-process-environment, tramp-sh-extra-args)
5921 (tramp-actions-before-shell, tramp-uudecode)
5922 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5923 (tramp-perl-file-attributes)
5924 (tramp-perl-directory-files-and-attributes)
5925 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5926 (tramp-perl-encode, tramp-perl-decode)
5927 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5928 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5929 (tramp-handle-make-symbolic-link, tramp-handle-load)
5930 (tramp-handle-file-name-as-directory)
5931 (tramp-handle-file-name-directory)
5932 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5933 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5934 (tramp-do-file-attributes-with-ls)
5935 (tramp-do-file-attributes-with-perl)
5936 (tramp-do-file-attributes-with-stat)
5937 (tramp-handle-set-visited-file-modtime)
5938 (tramp-handle-verify-visited-file-modtime)
5939 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5940 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5941 (tramp-handle-file-selinux-context)
5942 (tramp-handle-set-file-selinux-context)
5943 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5944 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5945 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5946 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5947 (tramp-handle-file-ownership-preserved-p)
5948 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5949 (tramp-handle-directory-files-and-attributes)
5950 (tramp-do-directory-files-and-attributes-with-perl)
5951 (tramp-do-directory-files-and-attributes-with-stat)
5952 (tramp-handle-file-name-all-completions)
5953 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5954 (tramp-handle-copy-file, tramp-handle-copy-directory)
5955 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5956 (tramp-do-copy-or-rename-file-via-buffer)
5957 (tramp-do-copy-or-rename-file-directly)
5958 (tramp-do-copy-or-rename-file-out-of-band)
5959 (tramp-handle-make-directory, tramp-handle-delete-directory)
5960 (tramp-handle-delete-file)
5961 (tramp-handle-dired-recursive-delete-directory)
5962 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5963 (tramp-handle-insert-directory)
5964 (tramp-handle-unhandled-file-name-directory)
5965 (tramp-handle-expand-file-name)
5966 (tramp-handle-substitute-in-file-name)
5967 (tramp-handle-executable-find, tramp-process-sentinel)
5968 (tramp-handle-start-file-process, tramp-handle-process-file)
5969 (tramp-handle-call-process-region, tramp-handle-shell-command)
5970 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5971 (tramp-handle-insert-file-contents)
5972 (tramp-handle-insert-file-contents-literally)
5973 (tramp-handle-find-backup-file-name)
5974 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5975 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5976 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5977 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5978 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5979 (tramp-find-file-exists-command, tramp-open-shell)
5980 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5981 (tramp-open-connection-setup-interactive-shell)
5982 (tramp-local-coding-commands, tramp-remote-coding-commands)
5983 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5984 (tramp-inline-compress-commands, tramp-find-inline-compress)
5985 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5986 (tramp-send-command, tramp-wait-for-output)
5987 (tramp-send-command-and-check, tramp-barf-unless-okay)
5988 (tramp-send-command-and-read, tramp-mode-string-to-int)
5989 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5990 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5991 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5992 (tramp-method-out-of-band-p, tramp-local-host-p)
5993 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5994 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5995 (tramp-get-test-command, tramp-get-test-nt-command)
5996 (tramp-get-file-exists-command, tramp-get-remote-ln)
5997 (tramp-get-remote-perl, tramp-get-remote-stat)
5998 (tramp-get-remote-readlink, tramp-get-remote-trash)
5999 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6000 (tramp-get-local-uid, tramp-get-local-gid)
6001 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6003 (tramp-methods, tramp-default-method-alist)
6004 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6005 Move initialization to tramp-sh.el.
6006 (tramp-temp-name-prefix): Make it a defconst.
6007 (tramp-dissect-file-name): Don't check anymore for multi-hop
6009 (tramp-debug-outline-regexp): Add a docstring.
6010 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6011 (tramp-get-debug-buffer): Use it.
6013 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6014 initialization forms.
6015 (tramp-set-connection-property): Don't protect `tramp-message'
6016 call, it isn't necessary any longer.
6017 (tramp-dump-connection-properties): Use `ignore-errors'.
6019 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6020 'password-cache and 'auth-source.
6022 * net/tramp-gvfs.el (top):
6023 * net/tramp-smb.el (top): Require 'tramp-sh.
6025 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6027 * net/tramp-sh.el: New file, derived from tramp.el.
6028 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6029 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6030 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6031 Use `ignore-errors' where appropriate.
6032 (tramp-sh-file-name-handler-alist): Rename from
6033 `tramp-file-name-handler-alist'.
6034 (tramp-send-command-and-check): Return t or nil. Remove all
6035 `zerop' checks, where called.
6036 (tramp-handle-set-file-modes)
6037 (tramp-do-copy-or-rename-file-directly)
6038 (tramp-handle-delete-directory, tramp-handle-delete-file)
6039 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6040 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6041 (tramp-get-remote-ln): Set tramp-autoload cookie.
6043 * net/tramp-fish.el: Remove file.
6045 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6047 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6048 buffer-file-name to avoid file-locking. (Bug#7026)
6050 2010-09-13 Julien Danjou <julien@danjou.info>
6052 * notifications.el (notifications-notify): Add support for
6053 image-path and sound-name.
6054 (notifications-specification-version): Add this variable.
6056 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6058 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6060 2010-09-12 Leo <sdl.web@gmail.com>
6062 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6063 (rcirc-completion-start): New variables.
6064 (rcirc-nick-completions): Rename to rcirc-completions.
6065 (rcirc-nick-completion-start-offset): Delete.
6066 (rcirc-completion-at-point): New function for constructing
6067 completion data for both nicks and irc commands. Add to
6068 completion-at-point-functions in rcirc mode.
6069 (rcirc-complete): Rename from rcirc-nick-complete; use
6070 rcirc-completion-at-point.
6071 (defun-rcirc-command): Update rcirc-client-commands.
6073 2010-09-11 Glenn Morris <rgm@gnu.org>
6075 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6076 atomically, to avoid parallel build errors. (Bug#4196)
6078 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6080 * progmodes/sql.el: Version 2.6
6081 (sql-dialect): Synonym for "sql-product".
6082 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6083 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6084 Set "sql-buffer" to buffer name not buffer object so multiple sql
6085 interactive buffers work properly. Reverts misguided changes in
6087 (sql-comint): Make sure different buffer name is used if "*SQL*"
6088 buffer is for a different product.
6089 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6091 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6092 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6093 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6094 Accept new buffer name or prompt for one.
6095 (sql-port): Default to zero.
6096 (sql-comint-mysql): Handle "sql-port" as a numeric.
6097 (sql-port-history): Delete unused variable.
6098 (sql-get-login): Default "sql-port" to a number.
6099 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6100 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6101 "sqlite3" executables.
6102 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6103 (sql-buffer-live-p): New function.
6104 (sql-mode-menu, sql-send-string): Use it.
6105 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6107 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6108 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6110 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6112 * net/netrc.el (netrc-credentials): New convenience function.
6114 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6116 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6117 to replace texinfo-font-lock-syntactic-keywords.
6118 (texinfo-mode): Use it.
6120 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6121 Use syntax-propertize-function.
6123 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6124 replace sgml-font-lock-syntactic-keywords.
6125 (sgml-mode): Use it.
6127 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6128 since we don't use it.
6130 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6132 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6134 (vhdl-fontify-buffer): Adjust.
6136 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6137 replace tcl-font-lock-syntactic-keywords.
6140 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6141 replace simula-font-lock-syntactic-keywords.
6142 (simula-mode): Use it.
6144 * progmodes/sh-script.el (sh-st-symbol): Remove.
6145 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6146 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6147 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6148 (sh-font-lock-paren): Set syntax-multiline.
6149 (sh-font-lock-syntactic-keywords): Remove.
6150 (sh-syntax-propertize-function): New function to replace it.
6153 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6154 Define while compiling.
6155 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6156 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6157 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6158 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6159 (ruby-here-doc-end-syntax): Only define when
6160 syntax-propertize is not available.
6161 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6163 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6164 (electric-indent-chars): Silence bytecompiler.
6165 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6166 electric-indent-chars.
6168 * progmodes/python.el (python-syntax-propertize-function): New var to
6169 replace python-font-lock-syntactic-keywords.
6170 (python-mode): Use it.
6171 (python-quote-syntax): Simplify and adjust to new use.
6173 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6174 replace perl-font-lock-syntactic-keywords.
6175 (perl-syntax-propertize-special-constructs): New fun to replace
6176 perl-font-lock-special-syntactic-constructs.
6177 (perl-font-lock-syntactic-face-function): New fun.
6178 (perl-mode): Use it.
6180 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6181 to replace octave-font-lock-close-quotes.
6182 (octave-syntax-propertize-function): New function to replace
6183 octave-font-lock-syntactic-keywords.
6184 (octave-mode): Use it.
6186 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6187 replaces mixal-font-lock-syntactic-keywords.
6188 (mixal-mode): Use it.
6190 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6191 New var; replaces makefile-font-lock-syntactic-keywords.
6192 (makefile-mode): Use it.
6193 (makefile-imake-mode): Adjust.
6195 * progmodes/js.el (js--regexp-literal): Define while compiling.
6196 (js-syntax-propertize-function): New var; replaces
6197 js-font-lock-syntactic-keywords.
6200 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6201 replaces gdb-script-font-lock-syntactic-keywords.
6202 (gdb-script-mode): Use it.
6204 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6205 (fortran--font-lock-syntactic-keywords): New var.
6206 (fortran-line-length): Update syntax-propertize-function and
6207 fortran--font-lock-syntactic-keywords.
6209 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6211 * progmodes/cfengine.el (cfengine-mode):
6212 Use syntax-propertize-function.
6213 (cfengine-font-lock-syntactic-keywords): Remove.
6215 * progmodes/autoconf.el (autoconf-mode):
6216 Use syntax-propertize-function.
6217 (autoconf-font-lock-syntactic-keywords): Remove.
6219 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6220 (ada-after-change-function, ada-initialize-syntax-table-properties)
6221 (ada-handle-syntax-table-properties): Only define when
6222 syntax-propertize is not available.
6223 (ada-mode): Use syntax-propertize-function.
6225 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6226 (font-lock-fontify-syntactic-keywords-region): Move handling of
6227 font-lock-syntactically-fontified to...
6228 (font-lock-default-fontify-region): ...here.
6229 Let syntax-propertize-function take precedence.
6230 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6232 * emacs-lisp/syntax.el (syntax-propertize-function)
6233 (syntax-propertize-chunk-size, syntax-propertize--done)
6234 (syntax-propertize-extend-region-functions): New vars.
6235 (syntax-propertize-wholelines, syntax-propertize-multiline)
6236 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6237 (syntax-propertize): New functions.
6238 (syntax-propertize-rules): New macro.
6239 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6240 (syntax-ppss): Call syntax-propertize.
6242 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6244 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6246 * textmodes/ispell.el (ispell-init-process): Improve comments.
6247 XEmacs compatibility changes regarding (add-hook) 'local option
6248 and (set-process-query-on-exit-flag).
6250 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6252 * net/tramp-cache.el (tramp-parse-connection-properties):
6253 Set tramp-autoload cookie.
6255 2010-09-09 Glenn Morris <rgm@gnu.org>
6257 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6258 (imagemagick-register-types): Doc fix.
6260 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6262 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6264 * progmodes/js.el (require): Require is already "eval-and-compile".
6265 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6266 (js--re-search-backward): Use js--re-search-forward.
6268 * progmodes/fortran.el (fortran-line-length): Don't recompute
6269 syntactic keywords redundantly a second time.
6271 * progmodes/ada-mode.el: Replace "(set '" with setq.
6272 (ada-mode): Simplify.
6273 (ada-create-case-exception, ada-adjust-case-interactive)
6274 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6275 (ada-search-ignore-string-comment, ada-move-to-start)
6276 (ada-move-to-end): Use with-syntax-table.
6278 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6279 (font-lock-unfontify-region, font-lock-default-fontify-region):
6280 Update usage correspondingly.
6281 (font-lock-fontify-syntactic-keywords-region):
6282 Set parse-sexp-lookup-properties buffer-locally here.
6283 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6285 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6287 2010-09-08 Glenn Morris <rgm@gnu.org>
6289 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6290 Error if not compiled with -DBYTE_CODE_METER.
6292 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6293 Ignore dir-locals-file.
6295 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6297 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6299 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6300 for the `gnu' messages.
6301 (compilation-set-skip-threshold): New command.
6302 (compilation-start): Use \' rather than $.
6303 (compilation-forget-errors): Use clrhash.
6305 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6307 * textmodes/ispell.el (ispell-valid-dictionary-list):
6310 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6312 Migrate to Tramp 2.2. Rearrange load dependencies.
6313 (Bug#1529, Bug#5448, Bug#5705)
6315 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6316 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6317 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6319 * net/tramp.el (top): Remove all other tramp-* loads except
6320 tramp-compat.el. Remove all changes to tramp-unload-hook for
6321 other tramp-* packages. Rearrange defun order. Change calls of
6322 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6323 `tramp-compat-octal-to-decimal' to new function names.
6324 (tramp-terminal-type, tramp-initial-end-of-output)
6325 (tramp-methods, tramp-foreign-file-name-handler-alist)
6326 (tramp-tramp-file-p, tramp-completion-mode-p)
6327 (tramp-send-command-and-check, tramp-get-remote-path)
6328 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6329 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6330 (with-file-property, with-connection-property): Move to
6332 (tramp-local-call-process, tramp-decimal-to-octal)
6333 (tramp-octal-to-decimal): Move to tramp-compat.el.
6334 (tramp-handle-shell-command): Do not require 'shell.
6335 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6337 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6339 * net/tramp-cache.el (top): Require 'tramp. Add to
6340 `tramp-unload-hook'.
6341 (tramp-cache-data, tramp-get-file-property)
6342 (tramp-set-file-property, tramp-flush-file-property)
6343 (tramp-flush-directory-property, tramp-get-connection-property)
6344 (tramp-set-connection-property, tramp-flush-connection-property)
6345 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6347 (with-file-property, with-connection-property): New defuns, moved
6349 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6352 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6353 (tramp-version): Set tramp-autoload cookie.
6355 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6356 changes to tramp-unload-hook for other tramp-* packages. Add to
6357 `tramp-unload-hook'.
6358 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6359 (tramp-compat-call-process): New defuns, moved from tramp.el.
6361 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6362 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6363 Add to `tramp-unload-hook'. Change call of
6364 `tramp-compat-decimal-to-octal' to new function name.
6365 (tramp-fish-method): Make it a defconst.
6366 (tramp-fish-file-name-p): Make it a defsubst.
6367 (tramp-fish-method, tramp-fish-file-name-handler)
6368 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6370 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6371 `tramp-foreign-file-name-handler-alist'. Add to
6372 `tramp-unload-hook'.
6373 (tramp-ftp-method): Make it a defconst.
6374 (tramp-ftp-file-name-p): Make it a defsubst.
6375 (tramp-ftp-method, tramp-ftp-file-name-handler)
6376 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6378 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6379 `tramp-foreign-file-name-handler-alist'. Add to
6380 `tramp-unload-hook'. Change checks, whether package can be
6382 (tramp-gvfs-file-name-p): Make it a defsubst.
6383 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6384 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6385 (tramp-gvfs-handle-file-directory-p): New defun.
6386 (tramp-gvfs-file-name-handler-alist): Use it.
6388 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6389 `tramp-foreign-file-name-handler-alist'. Add to
6390 `tramp-unload-hook'.
6391 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6392 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6394 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6395 (tramp-gw-open-connection): Set tramp-autoload cookie.
6397 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6398 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6399 Add to `tramp-unload-hook'. Change checks, whether package can be
6401 (tramp-imap-file-name-p): Make it a defsubst.
6402 (tramp-imap-method, tramp-imaps-method)
6403 (tramp-imap-file-name-handler)
6404 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6406 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6407 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6408 Add to `tramp-unload-hook'. Change checks, whether package can be
6409 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6411 (tramp-smb-tunnel-method): Make it a defconst.
6412 (tramp-smb-file-name-p): Make it a defsubst.
6413 (tramp-smb-method, tramp-smb-file-name-handler)
6414 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6416 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6417 (tramp-uuencode-region): Set tramp-autoload cookie.
6419 * net/trampver.el (top) Add to `tramp-unload-hook'.
6420 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6421 cookie. Update release number.
6423 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6425 * textmodes/ispell.el (ispell-start-process): Make sure original
6426 arg list is properly initialized (Bug#6993, Bug#6994).
6428 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6430 * files.el (directory-abbrev-alist): Use \` as default regexp.
6432 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6433 chars like - or ] (bug#6984).
6434 (rx-any-condense-range): Explode 2-char ranges.
6436 2010-09-06 Glenn Morris <rgm@gnu.org>
6438 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6440 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6442 * textmodes/bibtex.el:
6443 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6445 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6447 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6448 since no callers use it.
6449 (imap-message-get): Ditto.
6450 (imap-message-put): Ditto.
6451 (imap-mailbox-map): Ditto.
6452 (imap-mailbox-put): Ditto.
6453 (imap-mailbox-get): Ditto.
6454 (imap-mailbox-get): Revert last change for this function.
6456 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6458 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6459 callers to use `imap-fetch' instead. According to the comments, this
6460 should be safe, since all other IMAP clients use the 1:* syntax.
6461 (imap-enable-exchange-bug-workaround): Remove.
6462 (imap-debug): Remove -- doesn't seem very useful.
6464 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6466 * net/imap.el (imap-log): New convenience function used throughout
6467 instead of repeating the same code all over the place.
6469 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6471 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6472 when mouse-drag-copy-region is non-nil (Bug#6956).
6474 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6476 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6477 Improve regexps (Bug#6987).
6478 (dired-sort-toggle): Search more robustly for -t flag.
6480 * files.el (get-free-disk-space): Search more robustly for
6481 "available" column. Suggested by Ehud Karni
6482 <ehud@unix.mvs.co.il>.
6484 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6486 * international/uni-bidi.el:
6487 * international/uni-category.el:
6488 * international/uni-combining.el:
6489 * international/uni-decimal.el:
6490 * international/uni-mirrored.el:
6491 * international/uni-name.el: Regenerate.
6493 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6495 * electric.el (electric-indent-post-self-insert-function):
6496 Don't reindent with a sloppy indentation function.
6498 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6499 border case in change-log-mode.
6501 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6504 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6505 Recognize leading tab in gcc-include regexp. Ignore names with
6506 leading "from" or "in" in gnu regexp (Bug#6937).
6508 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6510 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6511 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6512 (ispell-start-process): Avoid setq and simplify logic.
6513 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6514 (kill-buffer-hook): Don't use it globally with code that uses
6515 expand-file-name since that may call kill-buffer via
6516 code_conversion_restore.
6518 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6520 * emacs-lisp/package.el (package-directory-list): Only call
6521 file-name-nondirectory on a string.
6523 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6525 * emacs-lisp/package.el (package--download-one-archive):
6526 Ensure that archive-contents is valid before saving it.
6527 (package-activate-1, package-mark-obsolete, define-package)
6528 (package-compute-transaction, package-list-maybe-add): Use push.
6530 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6532 Use SMIE's blink-paren for octave-mode.
6533 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6534 Backslashes do not escape single-quotes, single-quotes do.
6535 (octave-block-else-regexp, octave-block-end-regexp)
6536 (octave-block-match-alist): Remove.
6537 (octave-smie-bnf-table): New var, with old content.
6538 (octave-smie-op-levels): Use it.
6539 (octave-smie-closer-alist): New var.
6540 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6541 (octave-blink-matching-block-open): Remove.
6542 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6543 (octave-electric-space): Let self-insert-command run expand-abbrev and
6546 * electric.el (electricity): New group.
6547 (electric-indent-chars): New var.
6548 (electric-indent-post-self-insert-function): New fun.
6549 (electric-indent-mode): New minor mode.
6550 (electric-pair-skip-self): New custom.
6551 (electric-pair-post-self-insert-function): New function.
6552 (electric-pair-mode): New minor mode.
6554 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6555 calcAlg-blink-matching-open.
6556 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6557 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6558 Use the new blink-matching-check-function.
6560 Provide blink-matching support to SMIE.
6561 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6562 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6563 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6565 * simple.el (newline): Fix last change to properly remove itself from
6568 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6570 * simple.el (newline): Eliminate optimization.
6571 Use post-self-insert-hook to set hard-newline and things before
6572 running post-self-insert-hook.
6573 (blink-matching-check-mismatch): New function.
6574 (blink-matching-check-function): New variable.
6575 (blink-matching-open): Use them.
6576 Skip back forward over prefix chars skipped by forward-sexp.
6577 Don't check if the parens are backslash escaped.
6578 (blink-paren-post-self-insert-function): Check backslash escaping here.
6580 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6582 * emacs-lisp/package.el (package-menu-mode-map):
6583 Change package-menu-revert bindings to revert-buffer.
6584 (package-menu-mode): Set revert-buffer-function.
6585 (package-menu-revert): Doc fix.
6587 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6589 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6590 `default-directory' unless using Ispell per-directory personal
6591 dictionaries and not in a mini-buffer under XEmacs.
6592 (kill-buffer-hook): Do not kill ispell process on exit when
6593 `ispell-process-directory' is "~/". (Bug#6143)
6595 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6597 * simple.el (kill-new): Call interprogram-cut-function with only
6600 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6601 Remove cut buffer from error message.
6603 * term/x-win.el (x-select-text):
6604 * term/pc-win.el (x-selection-value):
6605 * term/ns-win.el (x-selection-value):
6606 * eshell/em-term.el:
6607 * w32-fns.el (x-get-selection-value):
6608 * mouse-sel.el (mouse-sel-set-selection-function):
6609 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6611 * term/x-win.el: Update documentation for x-last-selected-text-*.
6612 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6613 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6614 (x-select-text): Remove argument PUSH, update documentation.
6615 Remove cut-buffer code.
6616 (x-selection-value-internal): Was previously x-selection-value.
6617 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6618 Update documentation, remove cut-buffer code.
6619 Call x-selection-value-internal.
6620 (x-clipboard-yank): Call x-selection-value-internal.
6621 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6623 * term/pc-win.el (x-last-selected-text):
6624 x-cut-buffer-or-selection-value renamed to x-selection-value
6625 (x-select-text): Remove argument PUSH, update documentation.
6627 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6628 x-cut-buffer-or-selection-value renamed to x-selection-value
6629 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6630 (x-select-text): Remove argument PUSH, update documentation.
6632 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6634 * w32-fns.el (x-last-selected-text):
6635 x-cut-buffer-or-selection-value renamed to x-selection-value.
6636 (x-cut-buffer-max): Remove.
6637 (x-select-text): Remove argument PUSH, update documentation.
6639 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6641 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6643 * mouse-sel.el (mouse-sel-get-selection-function):
6644 x-cut-buffer-or-selection-value renamed to x-selection-value.
6645 (x-select-text): Remove optional push.
6647 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6649 * simple.el (blink-paren-function): Move from C to here.
6650 (blink-paren-post-self-insert-function): New function.
6651 (post-self-insert-hook): Use it.
6653 * emacs-lisp/pcase.el (pcase-split-memq):
6654 Fix overenthusiastic optimisation.
6655 (pcase-u1): Handle the case of a lambda pred.
6657 2010-08-31 Kenichi Handa <handa@m17n.org>
6659 * international/mule-cmds.el (standard-display-european-internal):
6660 Setup standard-display-table for 8-bit characters by storing 8-bit
6661 characters in the element vector.
6663 * disp-table.el (standard-display-8bit):
6664 Setup standard-display-table for 8-bit characters by storing 8-bit
6665 characters in the element vector.
6666 (standard-display-european): Likewise.
6668 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6670 * textmodes/nroff-mode.el (nroff-view): New command.
6671 (nroff-mode-map): Bind it to C-c C-c.
6673 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6675 * emacs-lisp/smie.el (smie-down-list): New command.
6677 Remove old indentation and navigation code on octave-mode.
6678 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6679 smie-down-list rather than add a binding for octave-down-block.
6680 (octave-mark-block, octave-blink-matching-block-open):
6681 Rely on forward-sexp-function.
6682 (octave-fill-paragraph): Don't narrow, so you can use
6683 indent-according-to-mode.
6684 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6685 (octave-in-block-p, octave-re-search-forward-kw)
6686 (octave-re-search-backward-kw, octave-indent-calculate)
6687 (octave-end-as-array-index-p, octave-block-end-offset)
6688 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6689 (octave-down-block, octave-backward-up-block, octave-up-block)
6690 (octave-before-magic-comment-p, octave-indent-line): Remove.
6692 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6694 * emacs-lisp/package.el (package--read-archive-file): Just use
6695 `read', to avoid copying an additional string.
6696 (package-menu-mode): Set header-line-format here.
6697 (package-menu-refresh, package-menu-revert): Signal an error if
6698 not in the Package Menu.
6699 (package-menu-package-list): New var.
6700 (package--generate-package-list): Operate on the current buffer;
6701 don't assume that it is *Packages*, since the user may rename it.
6702 Allow persistent package listings and sort keys using
6703 package-menu-package-list and package-menu-package-sort-key.
6704 (package-menu--version-predicate): Fix version calculation.
6705 (package-menu-sort-by-column): Don't select the window.
6706 (package--list-packages): Create the *Packages* buffer.
6707 Set package-menu-package-list-key.
6708 (list-packages): Sorting by status is now the default.
6709 (package-buffer-info): Use match-string-no-properties.
6710 (define-package): Add a &rest argument for future proofing, but
6712 (package-install-from-buffer, package-install-buffer-internal):
6713 Merge into a single function, package-install-from-buffer.
6714 (package-install-file): Change caller.
6716 * finder.el: Load finder-inf using `require'.
6717 (finder-list-matches): Sorting by status is now the default.
6718 (finder-compile-keywords): Simpify printing.
6720 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6722 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6723 (octave-mode-map): Remove special bindings for forward/backward-block
6724 and octave-backward-up-block. Use smie-close-block.
6725 (octave-continuation-marker-regexp): New var.
6726 (octave-continuation-regexp): Use it.
6727 (octave-operator-table, octave-smie-op-levels)
6728 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6729 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6730 (octave-mode): Use SMIE.
6731 (octave-close-block): Delete.
6733 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6735 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6736 CLIPBOARD, not in PRIMARY. (Bug#6944)
6738 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6740 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6742 (smie-indent-column): Allow indirection through variables.
6744 * composite.el (save-buffer-state): Delete, unused.
6745 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6746 (font-lock-default-fontify-region): Use with-syntax-table.
6747 * jit-lock.el (with-buffer-unmodified): Remove.
6748 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6750 Use `declare' in defmacros.
6751 * window.el (save-selected-window):
6752 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6753 * progmodes/python.el (def-python-skeleton):
6754 * net/dbus.el (dbus-ignore-errors):
6755 * jka-cmpr-hook.el (with-auto-compression-mode):
6756 * international/mule.el (with-category-table):
6757 * emacs-lisp/timer.el (with-timeout):
6758 * emacs-lisp/lisp-mnt.el (lm-with-file):
6759 * emacs-lisp/eieio.el (with-slots):
6760 * emacs-lisp/easymenu.el (easy-menu-define):
6761 * emacs-lisp/debug.el (debugger-env-macro):
6762 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6763 (Multiple-value-call, Multiple-value-prog1):
6764 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6765 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6766 edebug rule to definition.
6767 * emacs-lisp/lisp-mode.el (save-selected-window)
6768 (with-current-buffer, combine-after-change-calls)
6769 (with-output-to-string, with-temp-file, with-temp-buffer)
6770 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6771 (dolist, dotimes, when, unless):
6772 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6774 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6776 * finder.el: Require `package'.
6777 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6778 (finder-package-info): Var deleted.
6779 (finder-keywords-hash, finder--builtins-alist): New vars.
6780 (finder-compile-keywords): Compute package--builtins and
6781 finder-keywords-hash instead of finder-keywords-hash, respecting
6782 the "Package" header.
6783 (finder-unknown-keywords, finder-list-matches):
6784 Use finder-keywords-hash and package--list-packages.
6785 (finder-mode): Don't set font-lock-defaults.
6786 (finder-exit): We don't use "*Finder-package*" and "*Finder
6787 Category*" buffers anymore.
6789 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6790 (package--builtins): Set default value to nil.
6791 (package-initialize): Load precomputed value of package--builtins
6793 (package-alist, package-compute-transaction)
6794 (package-download-transaction): Improve docstring.
6795 (package-read-all-archive-contents): Do not change
6796 package--builtins here.
6797 (list-packages): Make package-list-packages an alias for this.
6798 Sort by status by default.
6799 (package--list-packages): Add optional PACKAGES arg.
6800 (describe-package-1): Use font-lock-face property. For built-in
6801 packages, insert file commentary.
6802 (package--generate-package-list): Rename from
6803 package-list-packages-internal; all callers changed. Add optional
6804 PACKAGES arg. Add alphabetical sort fallbacks.
6805 (package-menu--version-predicate, package-menu--status-predicate)
6806 (package-menu--description-predicate)
6807 (package-menu--name-predicate): New functions.
6809 * info.el (Info-finder-find-node): Search package-alist instead of
6810 finder-package-info.
6812 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6814 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6816 (version-to-list): Handle versions like "10.3d".
6818 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6820 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6821 (macroexp-accumulate): Use `declare'.
6823 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6825 * whitespace.el (whitespace-style): Adjust type declaration.
6827 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6829 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6830 empty argument to gvfs-copy.
6832 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6834 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6835 handle new TRASH arg of `delete-file'.
6837 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6839 * net/tramp.el (tramp-handle-insert-directory): Don't use
6840 `forward-word', its default syntax could be changed.
6842 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6843 Michael Albinus <michael.albinus@gmx.de>
6845 Implement compression for inline methods.
6847 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6848 (tramp-copy-size-limit): Allow also nil.
6849 (tramp-inline-compress-commands): New defconst.
6850 (tramp-find-inline-compress, tramp-get-inline-compress)
6851 (tramp-get-inline-coding): New defuns.
6852 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6853 replaced by `tramp-get-inline-coding'.
6854 (tramp-handle-file-local-copy, tramp-handle-write-region)
6855 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6857 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6859 Detect ssh 'ControlMaster' argument automatically in some cases.
6861 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6862 (tramp-default-method): Use it.
6864 2010-08-26 Karel Klíč <kklic@redhat.com>
6866 * net/tramp.el (tramp-file-name-for-operation):
6867 Add file-selinux-context.
6869 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6871 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6873 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6875 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6878 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6880 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6881 (js-paren-indent-offset, js-square-indent-offset)
6882 (js-curly-indent-offset): New options.
6883 (js--proper-indentation): Use them.
6885 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6887 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6888 instead of inspecting font-lock properties (Bug#6916).
6890 2010-08-26 David Reitter <david.reitter@gmail.com>
6892 * server.el (server-visit-files): Run pre-command-hook and
6893 post-command-hook for each buffer while it is current (Bug#6910).
6894 (server-execute): Do not run hooks here.
6896 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6898 Sync with Tramp 2.1.19.
6900 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6901 (tramp-reporter-dump-variable, tramp-load-report-modules)
6902 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6903 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6905 * net/tramp-compat.el (top): Do not autoload
6906 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6907 only when `start-file-process' is not bound.
6908 (byte-compile-not-obsolete-vars): Define if not bound.
6909 (tramp-compat-funcall): New defmacro.
6910 (tramp-compat-line-beginning-position)
6911 (tramp-compat-line-end-position)
6912 (tramp-compat-temporary-file-directory)
6913 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6914 (tramp-compat-copy-file, tramp-compat-copy-directory)
6915 (tramp-compat-delete-file, tramp-compat-delete-directory)
6916 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6918 (tramp-advice-file-expand-wildcards): Do not use
6919 `tramp-handle-file-remote-p'.
6920 (tramp-compat-make-temp-file): Simplify fallback implementation.
6921 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6922 (tramp-compat-copy-tree): Remove function.
6923 (tramp-compat-delete-file): New defun.
6924 (tramp-compat-delete-directory): Provide implementation for older
6926 (tramp-compat-file-attributes): Handle only
6927 `wrong-number-of-arguments' error.
6929 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6930 Add PRESERVE_SELINUX_CONTEXT.
6931 (tramp-fish-handle-delete-file): Add TRASH arg.
6932 (tramp-fish-handle-directory-files-and-attributes):
6933 Do not use `tramp-fish-handle-file-attributes.
6934 (tramp-fish-handle-file-local-copy)
6935 (tramp-fish-handle-insert-file-contents)
6936 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6938 * net/tramp-gvfs.el (top): Require url-util.
6939 (tramp-gvfs-mount-point): Remove.
6940 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6941 and `set-file-selinux-context'.
6942 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6943 (tramp-gvfs-handle-file-selinux-context)
6944 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6945 (with-tramp-dbus-call-method): Format trace message.
6946 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6947 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6948 Implement backup call, when operation on local files fails.
6949 Use progress reporter. Flush properties of changed files.
6950 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6951 Use `tramp-compat-delete-file'.
6952 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6953 (tramp-gvfs-handle-make-directory): Make more traces.
6954 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6955 (tramp-gvfs-url-file-name): Hexify file name in url.
6956 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6957 into account for the resulting file name.
6958 (tramp-gvfs-handler-askquestion): Preserve current message, in
6959 order to let progress reporter continue afterwards. (Bug#6257)
6960 Return dummy mountpoint, when the answer is "no".
6961 See `tramp-gvfs-maybe-open-connection'.
6962 (tramp-gvfs-handler-mounted-unmounted)
6963 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6964 attribute "default_location". Set "prefix" property.
6965 Handle default-location.
6966 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6967 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6968 exists. Raise an error, if not (due to a corresponding answer
6969 "no" in interactive questions, for example).
6970 Use `tramp-compat-funcall'.
6972 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6973 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6974 (tramp-imap-do-copy-or-rename-file)
6975 (tramp-imap-handle-insert-file-contents)
6976 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6977 (tramp-imap-handle-delete-file): Add TRASH arg.
6979 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6980 Add PRESERVE-SELINUX-CONTEXT.
6981 (tramp-smb-handle-copy-file)
6982 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6983 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6984 Use `with-progress-reporter'.
6985 (tramp-smb-handle-delete-file): Add TRASH arg.
6987 * net/tramp.el (tramp-methods): Move hostname to the end in all
6988 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6990 (tramp-verbose): Describe verbose level 9.
6991 (tramp-completion-function-alist)
6992 (tramp-file-name-regexp, tramp-chunksize)
6993 (tramp-local-coding-commands, tramp-remote-coding-commands)
6994 (with-connection-property, tramp-completion-mode-p)
6995 (tramp-action-process-alive, tramp-action-out-of-band)
6996 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6997 (tramp-exists-file-name-handler): Fix docstring.
6998 (tramp-remote-process-environment): Use `format' instead of
6999 `concat'. Protect version string by apostroph.
7000 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7002 (tramp-file-name-regexp-unified)
7003 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7004 not regard the volume letter as remote filename. (Bug#5447)
7005 (tramp-perl-file-attributes)
7006 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7007 (tramp-vc-registered-read-file-names): Read input as
7008 here-document, otherwise the command could exceed maximum length
7010 (tramp-file-name-handler-alist): Add `file-selinux-context' and
7011 `set-file-selinux-context'.
7012 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7013 backtrace functions.
7014 (tramp-error-with-buffer): Don't show the connection buffer when
7015 we are in completion mode.
7016 (tramp-progress-reporter-update, tramp-remote-selinux-p)
7017 (tramp-handle-file-selinux-context)
7018 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7019 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7021 (with-progress-reporter): New defmacro.
7022 (tramp-debug-outline-regexp): New defconst.
7023 (top, tramp-rfn-eshadow-setup-minibuffer)
7024 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7025 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7026 (tramp-completion-mode-p, tramp-check-for-regexp)
7027 (tramp-open-connection-setup-interactive-shell)
7028 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7029 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7030 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7031 Use `tramp-compat-funcall'.
7032 (tramp-handle-make-symbolic-link): Flush file properties.
7033 (tramp-handle-load, tramp-handle-file-local-copy)
7034 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7035 (tramp-handle-vc-registered, tramp-maybe-send-script)
7036 (tramp-find-shell): Use `with-progress-reporter'.
7037 (tramp-do-file-attributes-with-stat): Add space in format string,
7038 in order to work around a bug in pdksh. Reported by Gilles Pion
7040 (tramp-handle-verify-visited-file-modtime): Do not send a command
7041 when the connection is not established.
7042 (tramp-handle-set-file-times): Simplify the check for utc.
7043 (tramp-handle-directory-files-and-attributes)
7044 (tramp-get-remote-path): Use `copy-tree'.
7045 (tramp-completion-handle-file-name-all-completions): Ensure, that
7046 non remote files are still checked. Oops.
7047 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7048 Handle PRESERVE-SELINUX-CONTEXT.
7049 (tramp-do-copy-or-rename-file): Add progress reporter.
7050 (tramp-do-copy-or-rename-file-directly): Do not use
7051 `tramp-handle-file-remote-p'.
7052 (tramp-do-copy-or-rename-file-out-of-band):
7053 Use `tramp-compat-delete-directory'.
7054 (tramp-do-copy-or-rename-file-out-of-band)
7055 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7056 Use `format-spec-make'.
7057 (tramp-handle-delete-file): Add TRASH arg.
7058 (tramp-handle-dired-uncache): Flush directory cache, not only file
7060 (tramp-handle-expand-file-name)
7061 (tramp-completion-handle-file-name-all-completions)
7062 (tramp-completion-handle-file-name-completion):
7063 Use `tramp-connectable-p'.
7064 (tramp-handle-start-file-process): Set connection property "vec".
7065 Use it, in order to invalidate file caches. Check only for
7066 `remote-tty' process property.
7067 Implement tty setting. (Bug#4604, Bug#6360)
7068 (tramp-file-name-for-operation): Add `call-process-region' and
7069 `set-file-selinux-context'.
7070 (tramp-find-foreign-file-name-handler)
7071 (tramp-advice-make-auto-save-file-name)
7072 (tramp-set-auto-save-file-modes): Remove superfluous check for
7073 `stringp'. This is done inside `tramp-tramp-file-p'.
7074 (tramp-file-name-handler): Trace 'quit. Catch the error for some
7075 operations when we are in completion mode. This gives the user
7076 the chance to correct the file name in the minibuffer.
7077 (tramp-completion-mode-p): Use `non-essential'.
7078 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7079 compatibility: Use `completion-ignore-case' if
7080 `read-file-name-completion-ignore-case' does not exist.
7081 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7082 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7084 (tramp-action-password): Hide password prompt before next run.
7085 (tramp-process-actions): Widen connection buffer for the trace.
7086 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7087 process property. Trace stty settings if `tramp-verbose' >= 9.
7088 Apply workaround for IRIX64 bug. Move argument of last
7089 `tramp-send-command' where it belongs to.
7090 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7091 front of `login-args'.
7092 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7093 on "/dev/null" instead of "/".
7094 (tramp-get-ls-command-with-dired): Make test for "--dired"
7096 (tramp-set-auto-save-file-modes): Adapt version check.
7097 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7098 (tramp-handle-process-file): Call the program in a subshell, in
7099 order to preserve working directory.
7100 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7101 `tramp-remote-sh' from `tramp-methods'.
7102 (tramp-get-ls-command): Make test for "--color=never" stronger.
7103 (tramp-check-for-regexp): Use (forward-line 1).
7105 * net/trampver.el: Update release number.
7107 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7109 * help.el (help-map): Bind `C-h P' to describe-package.
7111 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7113 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7114 when downloading archives.
7115 (describe-package-1): Add package commentary.
7116 (package-install-button-action): New function.
7117 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7118 (package-menu-view-commentary): Function removed.
7119 (package-list-packages-internal): Hide the `package' package too.
7121 2010-08-25 Kenichi Handa <handa@m17n.org>
7123 * language/misc-lang.el ("Arabic"): New language environment.
7124 Setup composition-function-table for Arabic characters.
7126 * international/fontset.el (setup-default-fontset): Fix typo for
7127 arabic OTF spec (fini->fina).
7129 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7131 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7134 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7136 * whitespace.el: Allow cleaning up blanks without blank
7137 visualization (Bug#6651). Adjust help window for
7138 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7139 instead of whitespace-line-column (from EmacsWiki). New version
7141 (whitespace-style): Add new value 'face. Adjust docstring.
7142 (whitespace-space, whitespace-hspace, whitespace-tab):
7143 Adjust foreground property face.
7144 (whitespace-line-column): Adjust docstring and type declaration.
7145 (whitespace-style-value-list, whitespace-toggle-option-alist)
7146 (whitespace-help-text): Adjust const initialization.
7147 (whitespace-toggle-options, global-whitespace-toggle-options):
7149 (whitespace-display-window, whitespace-interactive-char)
7150 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7151 (whitespace-help-scroll): New fun.
7153 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7155 * emacs-lisp/package.el (list-packages): Alias for
7156 package-list-packages.
7158 2010-08-24 Kevin Ryde <user42@zip.com.au>
7160 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7163 * progmodes/ruby-mode.el (ruby): Add defgroup.
7165 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7167 * progmodes/python.el: Add Ipython support (Bug#5390).
7168 (python-shell-prompt-alist)
7169 (python-shell-continuation-prompt-alist): New options.
7170 (python--set-prompt-regexp): New function.
7171 (inferior-python-mode, run-python, python-shell):
7172 Require ansi-color. Use python--set-prompt-regexp to set the comint
7173 prompt based on the Python interpreter.
7174 (python--prompt-regexp): New var.
7175 (python-check-comint-prompt)
7176 (python-comint-output-filter-function): Use it.
7177 (run-python): Use a pipe (Bug#5694).
7179 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7181 * progmodes/python.el (python-send-region): Send a different
7182 Python command if Ipython is in use.
7183 (python-check-version): Use a Python command to find the version.
7185 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7187 * mouse.el (mouse-yank-primary): Avoid setting primary when
7188 deactivating the mark (Bug#6872).
7190 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7192 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7193 with "else" (Bug#3991).
7195 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7197 * net/dbus.el: Accept UNIX domain sockets as bus address.
7198 (top): Don't initialize `dbus-registered-objects-table' anymore,
7199 this is done in dbusbind,c.
7200 (dbus-check-event): Adapt test for bus.
7201 (dbus-return-values-table, dbus-unregister-service)
7202 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7205 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7207 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7209 2010-08-22 Juri Linkov <juri@jurta.org>
7211 * simple.el (read-extended-command): New function with the logic
7212 for `completing-read' moved to Elisp from `execute-extended-command'.
7213 Use `function-called-at-point' in `minibuffer-default-add-function'
7214 to get a command name for M-n (bug#5364, bug#5214).
7216 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7218 * startup.el (command-line-1): Issue warning for ignored arguments
7219 --unibyte, etc (Bug#6886).
7221 2010-08-22 Leo <sdl.web@gmail.com>
7223 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7224 (ignore, bright, dim, keyword): Split list of nicknames before
7225 passing to rcirc-add-or-remove (Bug#6894).
7227 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7229 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7231 2010-08-22 Leo <sdl.web@gmail.com>
7233 Fix buffer-list rename&refresh after killing a buffer in ido.
7234 * ido.el: Revert Óscar's.
7235 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7236 Remember the buffers at head, rather than their name.
7237 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7239 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7240 Stefan Monnier <monnier@iro.umontreal.ca>
7242 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7243 extra backslash added to each line (bug#6890).
7245 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7247 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7249 2010-08-22 Glenn Morris <rgm@gnu.org>
7251 * menu-bar.el (menu-bar-games-menu): Add landmark.
7253 2010-08-22 Glenn Morris <rgm@gnu.org>
7255 * align.el (align-regexp): Make group and spacing arguments
7256 use the interactive defaults when non-interactive. (Bug#6698)
7258 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7259 expansion, so as not to need sendmail.
7260 (mail-text-start): Remove declaration.
7261 (rmail-retry-failure): Require sendmail.
7263 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7265 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7267 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7269 * progmodes/flymake.el (flymake-start-syntax-check-process):
7270 Use `start-file-process' in order to let it run also on remote hosts.
7272 2010-08-22 Kenichi Handa <handa@m17n.org>
7274 * files.el: Add `word-wrap' as safe local variable.
7276 2010-08-22 Glenn Morris <rgm@gnu.org>
7278 * woman.el (woman-translate): Case matters. (Bug#6849)
7280 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7282 * simple.el (kill-region): Doc fix (Bug#6787).
7284 2010-08-22 Glenn Morris <rgm@gnu.org>
7286 * calendar/diary-lib.el (diary-header-line-format):
7287 Fit it to the window, not the frame.
7289 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7291 * subr.el (ignore-errors): Add debug declaration.
7293 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7295 * whitespace.el (whitespace-color-off): Remove post-command-hook
7298 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7300 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7302 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7304 * cus-edit.el (custom-group-value-create): Add extra newline
7305 before end line (Bug#6876).
7307 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7309 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7310 when extending it. Before killing on the second click, check if
7311 the buffer is the correct one. Doc fix.
7312 (mouse-secondary-save-then-kill): Allow usage without first
7313 calling mouse-start-secondary, by defaulting to point. Don't save
7314 an empty secondary selection. Doc fix.
7316 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7318 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7319 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7321 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7322 Adjust initialization.
7323 (whitespace-bob-marker, whitespace-eob-marker)
7324 (whitespace-buffer-changed): New vars.
7325 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7326 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7327 (whitespace-post-command-hook, whitespace-display-char-on):
7329 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7330 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7332 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7334 * files.el (locate-file-completion-table): Only list the .el and .elc
7335 extensions if there's no other choice (bug#5955).
7337 * facemenu.el (facemenu-self-insert-data): New var.
7338 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7340 (facemenu-add-face): Use them.
7342 * simple.el (blink-matching-open): Obey forward-sexp-function.
7344 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7346 * simple.el (prog-mode-map): New var.
7347 (prog-indent-sexp): New command.
7349 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7351 * progmodes/prolog.el (smie): Require.
7353 * emacs-lisp/smie.el (smie-default-backward-token)
7354 (smie-default-forward-token): Strip properties.
7355 (smie-next-sexp): Be more careful with associative operators.
7356 (smie-forward-sexp-command): Generalize.
7357 (smie-backward-sexp-command): Simplify.
7358 (smie-closer-alist): New var.
7359 (smie-close-block): New command.
7360 (smie-indent-debug-log): New var.
7361 (smie-indent-offset-rule): Add a few more cases.
7362 (smie-indent-column): New function.
7363 (smie-indent-after-keyword): Use it.
7364 (smie-indent-keyword): Use it.
7365 Fix up the opener code's point position.
7366 (smie-indent-comment): Only applies at BOL.
7367 (smie-indent-debug): New command.
7369 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7370 declarations that are useful before running the macro.
7372 2010-08-18 Joakim Verona <joakim@verona.se>
7374 * image.el (imagemagick-types-inhibit): New variable.
7375 (imagemagick-register-types): New function.
7376 * image-mode.el (image-transform-properties): New function.
7377 (image-transform-set-scale, image-transform-fit-to-height)
7378 (image-transform-set-rotation, image-transform-set-resize)
7379 (image-transform-fit-to-width, image-transform-fit-to-height):
7381 (image-toggle-display-image): Support image transforms.
7383 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7385 * image.el (create-animated-image): Don't add heuristic mask to image
7388 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7390 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7391 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7393 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7395 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7397 Font-lock '...' strings, plus various simplifications and fixes.
7398 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7399 (octave-font-lock-close-quotes): New function.
7400 (octave-font-lock-syntactic-keywords): New var.
7401 (octave-mode): Use it. Set beginning-of-defun-function.
7402 (octave-mode-map): Don't override the <foo>-defun commands.
7403 (octave-mode-menu): Pass it directly to easy-menu-define;
7404 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7405 (octave-block-match-alist): Fix up last change so that
7406 octave-close-block uses the more specific keyword.
7407 (info-lookup-mode): Silence byte-compiler.
7408 (octave-beginning-of-defun): Not interactive any more.
7410 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7411 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7412 (octave-completion-at-point-function): Make sure point is within
7414 (octave-reindent-then-newline-and-indent):
7415 Use reindent-then-newline-and-indent.
7416 (octave-add-octave-menu): Remove.
7418 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7420 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7421 (report-emacs-bug-can-use-xdg-email): New functions.
7422 (report-emacs-bug): Set can-xdg-email to result of
7423 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7424 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7427 * net/browse-url.el (browse-url-default-browser): Add cond
7428 for browse-url-xdg-open.
7429 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7431 2010-08-17 Glenn Morris <rgm@gnu.org>
7433 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7434 (c-fontify-recorded-types-and-refs): Define for compiler.
7435 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7438 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7441 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7443 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7445 (tramp-handle-process-file): Call the program in a subshell, in
7446 order to preserve working directory.
7447 (tramp-action-password): Hide password prompt before next run.
7448 (tramp-process-actions): Widen connection buffer for the trace.
7450 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7452 * net/rcirc.el (rcirc-log-process-buffers): New option.
7453 (rcirc-print): Use it.
7454 (rcirc-generate-log-filename): New function.
7455 (rcirc-log-filename-function): Change default to
7456 rcirc-generate-log-filename (Bug#6828).
7458 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7460 * simple.el (deactivate-mark): If select-active-regions is `only',
7461 only set selection for temporarily active regions.
7463 * cus-start.el: Change defcustom for select-active-regions.
7465 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7467 * mouse.el (mouse--drag-set-mark-and-point): New function.
7468 (mouse-drag-track): Use LOCATION arg to push-mark.
7469 Use mouse--drag-set-mark-and-point to take click-count into
7470 consideration when updating point and mark (Bug#6840).
7472 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7474 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7475 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7477 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7479 * font-lock.el (lisp-font-lock-keywords-2):
7480 Add combine-after-change-calls, condition-case-no-debug,
7481 with-demoted-errors, and with-silent-modifications (Bug#6025).
7483 2010-08-14 Kevin Ryde <user42@zip.com.au>
7485 * emacs-lisp/copyright.el (copyright-update-year)
7486 (copyright-update): Temporary switch-to-buffer to ensure the
7487 buffer change being queried is visible (Bug#5394).
7489 2010-08-14 Tom Tromey <tromey@redhat.com>
7491 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7494 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7496 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7499 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7501 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7502 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7503 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7504 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7505 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7506 Call menu-bar-set-tool-bar-position.
7508 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7510 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7511 comment style (bug#6834).
7512 * progmodes/scheme.el (scheme-mode-syntax-table):
7513 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7514 "b" flag in "' 14b" syntax.
7516 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7517 for (un)commenting the region and performing completion.
7518 (octave-mode-menu): Use standard commands for help and completion.
7519 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7520 (octave-mode): Use define-derived-mode.
7521 Set completion-at-point-functions and don't set columns.
7522 Don't disable adaptive-fill-regexp.
7523 (octave-describe-major-mode, octave-comment-region)
7524 (octave-uncomment-region, octave-comment-indent)
7525 (octave-indent-for-comment): Remove.
7526 (octave-indent-calculate): Rename from calculate-octave-indent.
7527 (octave-indent-line, octave-fill-paragraph): Update caller.
7528 (octave-initialize-completions): No need to make an alist.
7529 (octave-completion-at-point-function): New function.
7530 (octave-complete-symbol): Use it.
7531 (octave-insert-defun): Use define-skeleton.
7533 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7534 (octave-mode-map): Use comment-dwim (bug#6829).
7536 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7538 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7539 indentation of inserted comment.
7541 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7543 * faces.el (region): Add type gtk that uses gtk colors.
7545 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7546 Handle theme-name change.
7548 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7550 * progmodes/sql.el: Version 2.5
7551 (sql-product-alist): Add :prompt-cont-regexp property for several
7553 (sql-prompt-cont-regexp): New variable.
7554 (sql-output-newline-count, sql-output-by-send):
7555 New variables. Record number of newlines in input text.
7556 (sql-send-string): Handle multiple filters and count newlines.
7557 (sql-send-magic-terminator): Count terminator newline.
7558 (sql-interactive-remove-continuation-prompt): Filters output to
7559 remove continuation prompts; one for each newline.
7560 (sql-interactive-mode): Set up new variables, prompt regexp and
7562 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7563 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7565 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7567 * emacs-lisp/pcase.el: New file.
7569 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7571 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7572 as here-document, otherwise the command could exceed maximum
7573 length of command line.
7574 (tramp-handle-vc-registered): Call script accordingly.
7575 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7577 2010-08-10 Kenichi Handa <handa@m17n.org>
7579 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7582 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7584 * emacs-lisp/package.el (package-version-split)
7585 (package--version-first-nonzero, package-version-compare):
7587 (package-directory-list, package-load-all-descriptors)
7588 (package--built-in, package-activate, define-package)
7589 (package-installed-p, package-compute-transaction)
7590 (package-read-all-archive-contents)
7591 (package--add-to-archive-contents, package-buffer-info)
7592 (package-tar-file-info, package-list-packages-internal):
7593 Use version-to-list and version-list-*.
7595 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7596 Use version-to-list.
7597 (package-upload-buffer-internal): Use version-list-<=.
7599 2010-08-09 Kenichi Handa <handa@m17n.org>
7601 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7604 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7606 * tutorial.el (tutorial--default-keys): C-d is now bound to
7607 delete-forward-char (Bug#6826).
7609 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7610 for `double' value of mouse-1-click-follows-link (Bug#6807).
7612 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7614 * replace.el (replace-highlight): Bind isearch-forward and
7615 isearch-error, ensuring that highlighting is updated if the user
7616 switches the search direction (Bug#6808).
7618 * isearch.el (isearch-lazy-highlight-forward): New var.
7619 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7620 (isearch-lazy-highlight-update): Use it.
7622 2010-08-08 Kenichi Handa <handa@m17n.org>
7624 * international/mule.el (define-charset): Store NAME as :base property.
7625 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7626 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7627 current priority. Force using the designation of the specific
7628 charset by adding `charset' text property. Improve the whole algorithm.
7630 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7632 * emulation/pc-select.el (pc-selection-mode-hook)
7633 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7634 (pc-selection-mode): Fix typos in docstrings.
7636 2010-08-08 Kenichi Handa <handa@m17n.org>
7638 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7639 ctext-non-standard-encodings-alist here.
7641 * international/mule.el (ctext-non-standard-encodings-alist):
7642 Add "koi8-r" and "microsoft-cp1251".
7643 (ctext-standard-encodings): New variable.
7644 (ctext-non-standard-encodings-table): List only elements for
7645 non-standard encodings.
7646 (ctext-pre-write-conversion): Adjust for the above change.
7647 Check ctext-standard-encodings.
7649 * international/mule-conf.el (compound-text): Doc fix.
7650 (ctext-no-compositions): Doc fix.
7651 (compound-text-with-extensions): Doc fix.
7653 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7655 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7657 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7659 * progmodes/which-func.el (which-func-format): Split help-echo text
7660 into lines, like other mode-line tooltips.
7662 * server.el (server-start): When using TCP sockets, force IPv4
7663 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7665 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7667 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7669 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7671 * term.el (term-delimiter-argument-list): Reflow docstring.
7672 (term-read-input-ring, term-write-input-ring, term-send-input)
7673 (term-bol, term-erase-in-display, serial-supported-or-barf):
7674 Fix typos in docstrings.
7676 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7678 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7680 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7682 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7684 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7686 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7687 Fix typo in docstring (bug#6747).
7689 2010-08-08 Leo <sdl.web@gmail.com>
7691 * eshell/esh-io.el (eshell-get-target): Better detection of
7692 read-only file (Bug#6762).
7694 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7696 * align.el (align-default-spacing): Doc fix.
7697 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7699 2010-08-08 Stephen Peters <speters@itasoftware.com>
7701 * calendar/icalendar.el
7702 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7703 (icalendar--get-weekday-numbers): New.
7704 (icalendar--convert-recurring-to-diary): Handle multiple byday
7705 values in weekly rules. (Bug#6766)
7707 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7709 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7710 (icalendar--create-uid, icalendar-export-region)
7711 (icalendar--parse-summary-and-rest): Code formatting.
7713 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7715 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7716 to italicize headers.
7717 (calc-highlight-selections-with-faces): New variable.
7718 (calc-selected-face, calc-nonselected-face): New faces.
7720 * calc/calccomp.el (math-comp-highlight-string): Use
7721 `calc-highlight-selections-with-faces' to determine how to highlight
7724 * calc/calc-sel.el (calc-show-selections): Change message to when
7725 using faces to highlight selections.
7727 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7729 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7730 Add SQLite 3 keywords, functions and datatypes.
7731 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7734 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7736 * simple.el (select-active-regions): Move to keyboard.c.
7737 (deactivate-mark): Used saved-region-selection.
7738 (select-active-region): Function removed.
7739 (activate-mark, set-mark, push-mark-command)
7740 (handle-shift-selection): Don't call it.
7741 (keyboard-quit): Avoid adding the region to the window selection.
7743 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7744 select-active-regions implementation.
7745 (mouse-yank-at-click): Doc fix.
7747 * cus-start.el: Add custom declaration for select-active-regions.
7749 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7751 * simple.el (delete-forward-char): Doc fix.
7753 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7754 after reading the tutorial.
7756 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7758 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7759 Fix for the case that a C style comment has its delimiters alone on
7760 their respective lines.
7762 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7764 * net/tramp.el (tramp-handle-start-file-process): Set connection
7766 (tramp-process-sentinel): Use it for flushing the cache.
7767 We cannot do it via the process buffer, the buffer could be deleted
7768 already when running the sentinel.
7770 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7772 * comint.el (comint-mode): Make directory tracking functions
7773 functional on remote files. (Bug#6764)
7775 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7777 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7779 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7781 * emacs-lisp/find-gc.el (find-gc-source-files):
7782 Rename unexec.c => unexcoff.c.
7784 * emacs-lisp/authors.el (authors-fixed-entries):
7785 Rename unexec.c => unexcoff.c.
7787 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7789 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7790 cache, not only file cache.
7791 (tramp-process-sentinel): New defun.
7792 (tramp-handle-start-file-process): Use it, in order to invalidate
7795 2010-08-03 Leo <sdl.web@gmail.com>
7797 * server.el (server-start): Simplify loop.
7799 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7801 * frame.el (screen-height, screen-width, set-screen-width)
7802 (set-screen-height): Remove ancient compatibility aliases.
7804 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7805 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7807 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7808 that change current buffer.
7810 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7812 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7813 beginning of the string. Use `string-match-p'. (Bug#6765)
7815 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7817 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7819 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7821 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7822 (package--builtins): Tweak descriptions.
7823 (package-print-package): Upcase descriptions if necessary.
7824 Show all built-in packages in font-lock-builtin-face.
7825 (package-list-packages-internal): Omit "emacs" package.
7826 Show status of built-in packages as "built-in".
7828 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7830 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7831 before killing to preserve the primary selection (Bug#6701).
7833 * term/x-win.el (x-select-text): Doc fix.
7835 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7837 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7838 (objc-font-lock-extra-types):
7839 * progmodes/cc-mode.el (c-basic-common-init):
7840 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7841 (c++-make-template-syntax-table)
7842 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7843 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7844 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7845 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7846 * progmodes/cc-fonts.el (c-make-inverse-face)
7847 (c-basic-matchers-after):
7848 * progmodes/cc-engine.el (c-forward-keyword-clause)
7849 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7850 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7851 (c-guess-continued-construct, c-guess-basic-syntax):
7852 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7853 The above functions were modified or created.
7855 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7857 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7859 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7861 * files.el (bidi-paragraph-direction): Define safe local values.
7863 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7864 language-info-alist. Remove outdated FIXME in a comment.
7866 2010-07-31 Alan Mackenzie <acm@muc.de>
7868 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7869 Auto-fill broken in C/C++ modes.
7871 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7873 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7874 (menu-bar-showhide-tool-bar-menu-customize-disable)
7875 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7876 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7877 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7878 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7879 make a menu for Options => toolbar that can move it.
7881 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7883 * emacs-lisp/package-x.el (package--make-rss-entry):
7884 (package-maint-add-news-item, package--update-news)
7885 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7887 * emacs-lisp/package.el (package-archive-url): Rename from
7889 (package-install): Doc fix.
7890 (package-download-single, package-download-tar, package-install)
7891 (package-menu-view-commentary): Callers changed.
7893 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7895 * net/tramp.el (tramp-handle-start-file-process): Check only for
7896 `remote-tty' process property.
7897 (tramp-open-shell): Don't check for tty.
7898 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7901 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7904 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7906 * emacs-lisp/package.el (package-load-list, package-archives)
7907 (package-archive-contents, package-user-dir)
7908 (package-directory-list, package--builtins, package-alist)
7909 (package-activated-list, package-obsolete-alist): Mark as risky.
7911 2010-07-28 Phil Hagelberg <phil@evri.com>
7913 Add support for non-default package repositories.
7914 * emacs-lisp/package.el (package-archive-base): Var deleted.
7915 (package-archives): New variable.
7916 (package-archive-contents): Doc fix.
7917 (package-load-descriptor): Do nothing if descriptor file is missing.
7918 (package--write-file-no-coding): New function.
7919 (package-unpack-single): Use it.
7920 (package-archive-id): New function.
7921 (package-download-single, package-download-tar)
7922 (package-menu-view-commentary): Use it.
7923 (package-installed-p): Make second argument optional.
7924 (package-read-all-archive-contents): New function.
7925 (package-initialize): Use it.
7926 (package-read-archive-contents): Add ARCHIVE argument.
7927 (package--add-to-archive-contents): New function.
7928 (package-install): Don't call package-read-archive-contents.
7929 (package--download-one-archive): Store archive file in a
7930 subdirectory of package-user-dir.
7931 (package-menu-execute): Remove spurious line movement.
7933 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7935 * cus-start.el (tool-bar-style): Add text-image-horiz.
7937 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7939 * progmodes/gud.el (gud-common-init): Check for remoteness of
7940 `file', and not of `default-directory'.
7942 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7944 * net/tramp.el (tramp-methods): Move hostname to the end in all
7945 ssh `tramp-login-args'.
7946 (tramp-verbose): Describe verbose level 9.
7947 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7948 (tramp-open-connection-setup-interactive-shell): Trace stty
7949 settings if `tramp-verbose' >= 9.
7950 (tramp-handle-start-file-process): Implement tty setting.
7951 (Bug#4604, Bug#6360)
7953 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7954 `tramp-verbose' to 9.
7956 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7958 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7959 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7960 Remove references to package `lisp-re' (bug#4369).
7962 2010-07-27 Tom Tromey <tromey@redhat.com>
7964 * progmodes/js.el (js-mode):
7965 * progmodes/make-mode.el (makefile-mode):
7966 * progmodes/simula.el (simula-mode):
7967 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7969 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7971 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7973 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7974 (display-time-world-buffer-name, display-time-world-mode-map):
7975 Fix typos in docstrings.
7977 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7979 * image-mode.el (image-display-size): New function.
7980 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7981 (image-mode-fit-frame): Use it (Bug#6639).
7983 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7985 * dired.el (dired-buffers-for-dir): Handle list values of
7986 dired-directory (Bug#6636).
7988 2010-07-26 Sam Steingold <sds@gnu.org>
7990 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7991 Do not call `x-get-selection' the second time, reuse the value.
7993 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7995 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7996 which consist of control chars only. Suggested by Richard Stallman.
7998 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8000 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8001 exists before passing an error to find-file-not-found-functions
8004 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8006 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8007 Remove leading nil element, adjust values.
8008 (tetris-shapes, tetris-shape-scores):
8009 Change representation of shapes and remove some redundancy.
8010 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8011 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8012 Adjust for working with new representation of shapes.
8013 (tetris-shape-rotations): New function.
8014 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8015 (tetris-rotate-prev, tetris-rotate-next):
8016 Adjust for working with the new version of tetris-test-shape.
8018 2010-07-23 Markus Triska <markus.triska@gmx.at>
8020 * progmodes/ps-mode.el: Use comint (bug#5954).
8021 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8022 (ps-mode-other-newline): Simplify.
8023 (ps-run-mode): Derive from comint-mode instead of
8024 fundamental-mode, yielding input history etc.
8025 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8026 (ps-run-send-string): Adapt for comint-mode.
8027 (ps-run-newline): Remove now unneeded function.
8029 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8031 * net/tramp.el (tramp-methods): Move hostname to the end in all
8032 plink `tramp-login-args'.
8034 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8036 * net/tramp.el (tramp-open-shell): New defun.
8037 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8040 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8042 * net/tramp.el (tramp-file-name-regexp-unified)
8043 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8044 not regard the volume letter as remote filename. (Bug#5447)
8046 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8048 * custom.el (custom-declare-variable): Give a clearer error message
8049 when the docstring is missing (bug#6476).
8051 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8053 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8054 (sql-login-params): New widget definition.
8055 (sql-oracle-login-params, sql-mysql-login-params)
8056 (sql-solid-login-params, sql-sybase-login-params)
8057 (sql-informix-login-params, sql-ingres-login-params)
8058 (sql-ms-login-params, sql-postgres-login-params)
8059 (sql-interbase-login-params, sql-db2-login-params)
8060 (sql-linter-login-params): Use it.
8061 (sql-sqlite-login-params): Use it; Define "database" parameter as
8063 (sql-sqlite-program): Change to "sqlite3".
8064 (sql-comint-sqlite): Make sure database name is complete.
8065 (sql-for-each-login): New function.
8066 (sql-connect, sql-save-connection): Use it.
8067 (sql-get-login-ext): New function.
8068 (sql-get-login): Use it.
8069 (sql-make-alternate-buffer-name): Handle :file parameters.
8071 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8073 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8074 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8076 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8078 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8080 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8082 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8084 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8086 * net/tramp.el (tramp-get-ls-command)
8087 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8090 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8092 * progmodes/sql.el: Version 2.3.
8093 (sql-connection-alist): Change keys from symbols to strings;
8094 enhanced the widget definition.
8095 (sql-mode-menu): Add submenu to select connections.
8096 (sql-interactive-mode-menu): Add "Save Connection" item.
8097 (sql-add-product): Fix menu item.
8098 (sql-get-product-feature): Improved error handling.
8099 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
8100 (sql-make-alternate-buffer-name): Simplified.
8101 (sql-product-interactive): Handle missing product.
8102 (sql-connect): Support string keys, minor improvements.
8103 (sql-save-connection): New function.
8104 (sql-connection-menu-filter): New function.
8106 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8108 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8109 (tramp-open-connection-setup-interactive-shell):
8110 Apply workaround for IRIX64 bug. Move argument of last
8111 `tramp-send-command' where it belongs to.
8113 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8115 * net/tramp.el (tramp-perl-file-attributes)
8116 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8117 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8118 front of `login-args'.
8120 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8122 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8123 Set `show-trailing-whitespace' to nil.
8124 (display-time-world-display): Simplify.
8126 2010-07-18 Alan Mackenzie <acm@muc.de>
8128 Enhance `c-file-style' in file/directory local variables.
8129 * progmodes/cc-mode.el (c-count-cfss): New function.
8130 (c-before-hack-hook): Call `c-set-style' differently according to
8131 whether c-file-style was set in file or directory local
8134 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8136 * progmodes/sql.el: Version 2.2.
8137 (sql-product, sql-user, sql-database, sql-server, sql-port):
8138 Use defcustom :safe keyword rather than putting safe-local-variable
8140 (sql-password): Use defcustom :risky keyword rather than putting
8141 risky-local-variable property.
8142 (sql-oracle-login-params, sql-sqlite-login-params)
8143 (sql-solid-login-params, sql-sybase-login-params)
8144 (sql-informix-login-params, sql-ingres-login-params)
8145 (sql-ms-login-params, sql-postgres-login-params)
8146 (sql-interbase-login-params, sql-db2-login-params)
8147 (sql-linter-login-params): Add `port' option.
8148 (sql-get-product-feature): Add NO-INDIRECT parameter.
8149 (sql-comint-oracle, sql-comint-sybase)
8150 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8151 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8152 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8153 (sql-comint-linter): Rename sql-connect-* functions to
8155 (sql-product-alist, sql-mode-menu): Rename as above and
8156 :sqli-connect-func to :sqli-comint-func.
8157 (sql-connection): New variable.
8158 (sql-interactive-mode): Set it.
8159 (sql-connection-alist): New variable.
8160 (sql-connect): New function.
8161 (sql--alt-buffer-part, sql--alt-if-not-empty)
8162 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8164 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8166 * image-mode.el (image-bookmark-make-record): Do not set context
8167 in an image (Bug#6650).
8169 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8171 * simple.el (select-active-region): New function.
8172 (push-mark-command, set-mark, activate-mark)
8173 (handle-shift-selection): Use it.
8174 (deactivate-mark): Don't check for size of region.
8176 * mouse.el (mouse-drag-track): Use select-active-region.
8178 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8180 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8183 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8185 * term/x-win.el (x-select-enable-primary): Change default to nil.
8186 (x-select-enable-clipboard): Add :version keyword.
8188 * mouse.el (mouse-drag-copy-region):
8189 * simple.el (select-active-regions): Likewise.
8191 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8193 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8194 (vc-coding-system-for-diff): Use it to decide whether to inherit
8195 from the file the EOL format for reading the diffs of that file.
8198 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8200 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8201 unibyte, so compressed attachments are not compressed again.
8203 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8205 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8206 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8207 (tramp-find-shell): Simplify setting connection property.
8208 (tramp-get-ls-command): Make test for "--color=never" stronger.
8210 2010-07-15 Simon South <ssouth@member.fsf.org>
8212 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8213 blocks within record declarations (i.e. variant parts) correctly.
8215 2010-07-15 Simon South <ssouth@member.fsf.org>
8217 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8218 over literal tokens when parsing so newlines aren't "absorbed" by
8219 single-line comments. Corrects the indentation of case blocks
8220 that have a comment on the first line.
8222 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8224 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8225 by Drew Adams (Bug#5504).
8227 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8229 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8230 now that Unicode is used (Bug#6594).
8232 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8234 * term/x-win.el (x-select-enable-clipboard): Default to t.
8235 (x-initialize-window-system): Don't overwrite Paste menu item.
8237 * simple.el (select-active-regions): Default to t.
8238 (push-mark-command): Don't overwrite primary with empty string.
8240 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8241 (mouse-drag-copy-region): Default to nil.
8243 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8244 Cut/Copy/Paste menu bar items.
8246 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8248 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8249 Patch applied by Karl Fogel.
8251 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8252 and `bookmark-current-buffer' if they have been already set in
8253 another buffer (e.g gnus-art).
8255 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8256 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8258 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8260 * bookmark.el (bookmark-make-record-default): Allow unneeded
8261 information to be omitted from the record.
8263 Adjust declarations and calls:
8265 * info.el (bookmark-make-record-default): Adjust declaration.
8266 (Info-bookmark-make-record): Adjust call.
8268 * woman.el (bookmark-make-record-default): Adjust declaration.
8269 (woman-bookmark-make-record): Adjust call.
8271 * man.el (bookmark-make-record-default): Adjust declaration.
8272 (Man-bookmark-make-record): Adjust call.
8274 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8276 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8278 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8280 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8281 This is also from Thierry Volpiatto's patch in bug #6444. However,
8282 because it was extraneous to the functional change in that patch,
8283 and causes a re-indendation, I am committing it separately.
8285 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8287 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8288 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8289 Patch applied by Karl Fogel (Bug#6444).
8291 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8293 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8295 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8297 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8298 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8299 (ns-alternatives-map): Change S-tab binding to backtab
8302 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8305 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8307 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8310 * language/tv-util.el (tai-viet-re): Remove format.
8312 2010-07-12 Kenichi Handa <handa@m17n.org>
8314 * language/hebrew.el: Remove no-byte-compile declaration.
8315 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8316 composition-function-table for 3-character looking back.
8317 (hebrew-font-get-precomposed): New function.
8318 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8320 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8322 * mouse.el (mouse-drag-track): Handle select-active-regions
8325 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8327 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8328 empty argument to gvfs-copy.
8330 2010-07-10 Glenn Morris <rgm@gnu.org>
8332 * calendar/calendar.el (calendar-week-end-day): New function.
8333 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8334 Respect calendar-week-start-day. (Bug#6606)
8335 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8336 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8337 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8338 respect calendar-week-start-day.
8340 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8342 * simple.el (use-region-p): Doc fix (Bug#6607).
8344 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8346 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8347 Add regexps for cucumber and ruby.
8349 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8351 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8352 (epa-file-insert-file-contents): Hack to prevent
8353 find-file from opening empty buffer when decryption failed
8356 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8358 * textmodes/ispell.el (ispell-alternate-dictionary):
8359 Use file-readable-p.
8360 Return nil if no word-list is found at default locations.
8361 (ispell-complete-word-dict): Default to nil.
8362 (ispell-command-loop): Use 'word-list' when using lookup-words.
8363 (lookup-words): Use ispell-complete-word-dict or
8364 ispell-alternate-dictionary. Check for word-list availability
8365 and handle errors if needed with better messages (Bug#6539).
8366 (ispell-complete-word): Use ispell-complete-word-dict or
8367 ispell-alternate-dictionary.
8369 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8371 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8372 builtins (BufferError, BytesWarning, WindowsError; callables
8373 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8375 2010-07-07 Glenn Morris <rgm@gnu.org>
8377 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8378 (zone-shift-left): Ignore intangibility, and any errors from
8380 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8381 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8382 deleting, and copying text properties.
8383 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8384 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8385 to point-max is hard.
8386 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8387 (zone-fill-out-screen): Ignore intangibility.
8389 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8391 * menu-bar.el (menu-bar-mode):
8392 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8395 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8396 word/line selection (Bug#6565).
8398 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8400 * net/dbus.el (dbus-send-signal): Declare function.
8402 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8404 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8405 (dbus-register-property): New optional argument EMITS-SIGNAL.
8406 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8408 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8410 * mouse.el (mouse-drag-overlay): Variable deleted.
8411 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8412 (mouse--remap-link-click-p): New function.
8413 (mouse-drag-track): Handle dragging by using temporary Transient
8414 Mark mode, instead of a special overlay.
8415 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8418 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8421 2010-07-02 Juri Linkov <juri@jurta.org>
8423 * autoinsert.el (auto-insert-alist): Fix readability
8424 by using dotted pair notation for lambda.
8426 2010-07-02 Juri Linkov <juri@jurta.org>
8428 * faces.el (read-face-name): Rename arg `string-describing-default'
8429 to `default'. Doc fix. Display the default value in quotes
8430 in the prompt. With empty input, return the `default' arg,
8431 unless the default value is a string (in which case return nil).
8432 (describe-face): Replace the string `default' arg of `read-face-name'
8433 with the symbol `default'.
8435 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8437 * emulation/viper-cmd.el (viper-delete-backward-char)
8438 (viper-del-backward-char-in-insert)
8439 (viper-del-backward-char-in-replace, viper-change)
8440 (viper-backward-indent): Replace delete-backward-char with
8441 delete-char (Bug#6552).
8443 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8445 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8447 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8449 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8450 argument passed to frame-creation-function (Bug#5378).
8452 * faces.el (x-handle-named-frame-geometry)
8453 (x-handle-reverse-video, x-create-frame-with-faces)
8454 (face-set-after-frame-default, tty-create-frame-with-faces):
8455 Don't separately consult default-frame-alist. It is now passed as the
8458 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8460 * startup.el (command-line): Don't call tool-bar-setup in a
8463 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8465 * ruler-mode.el (ruler--save-header-line-format): New fun.
8466 (ruler-mode): Use it as a setter function, so as not to overwrite
8467 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8469 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8471 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8472 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8473 (vc-log-outgoing): Use it.
8474 (vc-diff-internal): Set diff-vc-backend.
8476 * vc/diff-mode.el (diff-vc-backend): New var.
8478 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8480 * dynamic-setting.el (font-setting-change-default-font):
8481 Remove call to message.
8483 2010-06-28 Kenichi Handa <handa@m17n.org>
8485 * international/quail.el (quail-insert-kbd-layout): Fix the
8486 showing of untranslated characters.
8488 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8490 * simple.el (delete-active-region): New option.
8491 (delete-backward-char): Implement in Lisp.
8492 (delete-forward-char): New command.
8494 * mouse.el (mouse-region-delete-keys): Deleted.
8495 (mouse-show-mark): Simplify.
8497 * bindings.el (global-map): Bind delete and DEL, the former to
8498 delete-forward-char.
8500 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8502 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8503 (ruby-mode): Bind indent-line-function (Bug#5119).
8505 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8507 * startup.el (command-line): Recognize "0" X resource value.
8509 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8511 * startup.el (command-line): Use X resources to set the value of
8512 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8514 * menu-bar.el (menu-bar-mode):
8515 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8516 Set init-value to t.
8518 * frame.el (frame-notice-user-settings): Don't change
8519 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8520 vice versa (Bug#2249).
8522 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8524 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8526 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8528 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8529 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8531 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8532 default directories are expanded (Bug#6143).
8534 2010-06-24 Juri Linkov <juri@jurta.org>
8536 * minibuffer.el (completions-format): Change default from nil to
8537 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8539 2010-06-24 Juri Linkov <juri@jurta.org>
8541 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8542 buffer-locally to lambda that re-runs the vc diff command.
8545 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8547 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8548 echo area is in use (Bug#3412).
8550 2010-06-22 Glenn Morris <rgm@gnu.org>
8552 * textmodes/texinfmt.el (texinfo-format-region)
8553 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8554 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8555 (texinfo-format-option, texinfo-noindent):
8556 Use line-beginning-position and line-end-position.
8558 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8559 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8560 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8563 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8565 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8566 forward-line fallout.
8568 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8570 * mouse.el (mouse-appearance-menu): Add docstring.
8572 * help.el (describe-key): Print up-event using key-description.
8574 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8576 * net/zeroconf.el (zeroconf-resolve-service)
8577 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8578 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8580 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8582 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8584 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8586 Avoid displaying files with a nil state in vc-dir.
8587 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8588 cases that cause insertion.
8589 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8592 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8594 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8596 2010-06-29 Leo <sdl.web@gmail.com>
8598 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8600 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8602 * generic-x.el (bat-generic-mode): Fix regexp for command line
8603 switches (Bug#5719).
8605 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8607 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8608 of nconc to avoid pure storage error (Bug#6239).
8610 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8612 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8613 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8614 bindings of bookmark-automatically-show-annotations (Bug#6515).
8616 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8618 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8619 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8621 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8623 * comint.el (make-comint, make-comint-in-buffer): Mention return
8624 value in the docstrings. (Bug#6498)
8626 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8628 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8629 since it is not present when using some non-default switches.
8631 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8633 * simple.el (compose-mail): Fix doc string to refer to
8634 `compose-mail-user-agent-warnings', instead of to the
8635 nonexistent `compose-mail-check-user-agent'.
8637 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8639 Fix an indentation bug:
8641 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8642 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8645 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8646 (c-clear->-pair-props-if-match-before): now return t when they've
8647 cleared properties, nil otherwise.
8648 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8649 by taking account of the existing value.
8651 * progmodes/cc-defs.el
8652 (c-clear-char-property-with-value-function): Fix this to clear the
8653 property rather than overwriting it with nil.
8655 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8657 * emacs-lisp/package.el (package-print-package): Add link to
8658 package description via describe-package.
8659 (describe-package-1): List package requirements. Add button to
8660 perform installation.
8661 (package-menu-describe-package): New command.
8663 * help-mode.el (help-package): New button type.
8665 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8667 * emacs-lisp/package.el: Move package-list-packages binding to
8669 (describe-package, describe-package-1, package--dir): New funs.
8670 (package-activate-1): Use package--dir.
8672 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8674 * help-mode.el (help-package-def): New button type.
8676 * menu-bar.el: Move package-list-packages binding here from
8679 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8681 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8683 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8685 * emacs-lisp/edebug.el (edebug-read-list):
8686 Phase out old-style backquotes.
8688 2010-06-17 Juri Linkov <juri@jurta.org>
8690 * help-mode.el (help-mode): Set buffer-local variable
8691 revert-buffer-function to help-mode-revert-buffer.
8692 (help-mode-revert-buffer): New function.
8694 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8695 before popping to "*info*" (like in other Info functions).
8696 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8697 old-history-forward. Pop to old-buffer-name or "*info*" to
8698 recreate the killed buffer. Set Info-history-forward from
8699 old-history-forward.
8700 (Info-breadcrumbs-depth): Add :group and :version.
8702 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8704 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8706 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8708 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8709 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8711 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8713 * emacs-lisp/package.el (package-menu-mode-map):
8714 Move initialization into declaration.
8716 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8718 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8720 * emacs-lisp/package.el (package-archive-base): Point to
8722 (package-enable, package-load-list): New defcustoms.
8723 (package-user-dir, package-directory-list): Turn into defcustoms.
8724 Don't include package-user-dir in package-directory-list.
8725 (package--builtins-base): Don't include Emacs as a "package".
8726 (package-subdirectory-regexp): New var.
8727 (package-load-all-descriptors, package-compute-transaction)
8728 (package-download-transaction): Obey package-load-list.
8729 (package-activate-1): Rename from package-do-activate.
8730 (package-list-packages-internal): Check package-load-list.
8731 (package-load-descriptor, package-generate-autoloads)
8732 (package-unpack, package-unpack-single)
8733 (package--read-archive-file, package-delete):
8734 Use expand-file-name.
8736 * emacs-lisp/package-x.el: New file. Package uploading
8737 functionality split out from package.el.
8739 * startup.el (command-line): Load packages after reading init file.
8741 2010-06-17 Tom Tromey <tromey@redhat.com>
8743 * emacs-lisp/package.el: New file.
8745 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8747 Fix vc-annotate for renamed files when using Git.
8748 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8749 ls-files. Doe not pass the object as a file name to cat-file, it
8751 (vc-git-annotate-command): Pass the file name using -- to avoid
8752 ambiguity with the revision.
8753 (vc-git-previous-revision): Pass a relative file name.
8755 2010-06-22 Glenn Morris <rgm@gnu.org>
8757 * progmodes/js.el (js-mode-map): Use standard capitalization and
8758 ellipses for menu entries.
8760 * wid-edit.el (widget-complete): Doc fix.
8762 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8764 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8766 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8768 Fix annotating other revisions for renamed files in vc-annotate.
8769 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8770 VC backend. Use it when non-nil.
8771 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8774 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8775 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8776 Do not pass the file name to the 'previous-revision call when we
8777 don't want a file diff. (Bug#6489)
8779 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8781 Fix finding revisions for renamed files in vc-annotate.
8782 * vc/vc.el (vc-find-revision): Add an optional argument for
8783 the VC backend. Use it when non-nil.
8784 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8785 backend to vc-find-revision. (Bug#6487)
8787 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8789 Fix reading file names in Git annotate buffers.
8790 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8791 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8793 2010-06-20 Alan Mackenzie <acm@muc.de>
8795 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8796 in file local variables, set it first.
8798 2010-06-19 Glenn Morris <rgm@gnu.org>
8800 * descr-text.el (describe-char-unicode-data): Insert separating
8801 space when needed. (Bug#6422)
8803 * progmodes/idlwave.el (idlwave-action-and-binding):
8804 Fix typo in 2009-12-03 change. (Bug#6450)
8806 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8808 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8809 handling for `lambda' (misunderstanding).
8811 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8813 * calc/calc-poly.el (math-accum-factors): Make sure that
8814 constants aren't distributed after they are factored out.
8816 2010-06-16 Juri Linkov <juri@jurta.org>
8818 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8819 `list-colors-print'. (Bug#6332)
8821 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8823 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8825 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8826 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8828 * font-lock.el (font-lock-major-mode): Rename from
8829 font-lock-mode-major-mode to distinguish it from
8830 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8831 (font-lock-set-defaults):
8832 * font-core.el (font-lock-default-function): Adjust users.
8833 (font-lock-mode): Don't set it at all.
8835 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8837 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8839 2010-06-16 Glenn Morris <rgm@gnu.org>
8841 * calendar/appt.el (appt-time-msg-list): Doc fix.
8842 (appt-check): Let-bind appt-warn-time.
8843 (appt-add): Make the 3rd argument optional.
8844 Simplify argument names. Doc fix. Check for integer WARNTIME.
8845 Only add WARNTIME to the output list if non-nil.
8847 2010-06-16 Ivan Kanis <apple@kanis.eu>
8849 * calendar/appt.el (appt-check): Let the 3rd element of
8850 appt-time-msg-list specify the warning time.
8851 (appt-add): Add new argument with the warning time. (Bug#5176)
8853 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8855 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8856 older than version 1.6. (Bug#6361)
8858 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8860 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8861 used by cl-do-arglist. (Bug#6408)
8863 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8865 * textmodes/ispell.el (ispell-dictionary-base-alist):
8866 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8867 Suggested by Rolando Pereira (bug#6434).
8869 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8871 * facemenu.el (list-colors-sort): Doc fix.
8873 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8875 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8877 2010-06-14 Juri Linkov <juri@jurta.org>
8879 Add sort option `list-colors-sort'. (Bug#6332)
8880 * facemenu.el (color-rgb-to-hsv): New function.
8881 (list-colors-sort): New defcustom.
8882 (list-colors-sort-key): New function.
8883 (list-colors-display): Doc fix. Sort list according to the option
8885 (list-colors-print): Add HSV values to `help-echo' property of
8888 2010-06-14 Juri Linkov <juri@jurta.org>
8890 * compare-w.el: Move to the "vc" subdirectory.
8892 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * image-mode.el (image-mode-map): Remap left-char and right-char.
8896 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8898 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8900 * term/common-win.el (x-colors): Add all the color names defined
8901 in rgb.txt (Bug#6332).
8903 * facemenu.el (list-colors-print): Don't print extra names if it
8904 will overflow the window width.
8906 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8909 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8911 * files.el (make-directory): Doc fix (bug#6396).
8913 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8915 * net/tramp.el (tramp-remote-process-environment): Protect version
8916 string by apostroph.
8917 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8919 (tramp-file-name-for-operation): Add `call-process-region'.
8920 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8922 * net/tramp-compat.el (top): Do not autoload
8923 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8924 only when `start-file-process' is not bound.
8925 (tramp-advice-file-expand-wildcards): Do not use
8926 `tramp-handle-file-remote-p'.
8927 (tramp-compat-make-temp-file): Handle the case, that
8928 `make-temp-file' has no third argument EXTENSION.
8930 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8932 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8934 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8936 2010-06-11 Juri Linkov <juri@jurta.org>
8938 * finder.el (finder-known-keywords): Add keyword "vc"
8939 for version control.
8941 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8942 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8943 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8944 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8946 2010-06-11 Juri Linkov <juri@jurta.org>
8948 Move version control related files to the "vc" subdirectory.
8949 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8950 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8951 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8952 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8953 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8954 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8955 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8956 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8957 Move files to the "vc" subdirectory.
8959 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8961 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8964 2010-06-11 Stephen Eglen <stephen@gnu.org>
8966 * shell.el: Bind `shell-resync-dirs' to M-RET.
8968 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8970 * notifications.el: Move file from lisp/net, because it is
8971 supposed to talk locally to the user.
8973 2010-06-10 Julien Danjou <julien@danjou.info>
8975 * net/notifications.el (notifications-on-action-signal)
8976 (notifications-on-closed-signal): Pass notification id as first
8977 argument to the callback functions. Add docstrings.
8978 (notifications-notify): Fix docstring.
8980 2010-06-10 Glenn Morris <rgm@gnu.org>
8982 * emacs-lisp/authors.el (authors-ignored-files)
8983 (authors-valid-file-names): Add some files.
8985 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8987 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8988 merge conflict, giving preference to the emacs-23 version of the code.
8990 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8992 * emacs-lisp/advice.el (ad-compile-function):
8993 Define warning-suppress-types before we let-bind it (bug#6275).
8995 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8996 declare it, make it buffer-local and permanent-local (bug#6324).
8997 (vc-resynch-window): Adjust name.
8998 * vc-hooks.el (vc-find-file-hook): Adjust name.
9000 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9002 * net/notifications.el (notifications-notify): Fix docstring.
9004 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9006 Update to Unicode 6.0.0 beta.
9007 * international/charprop.el: Update copyright.
9008 * international/mule-cmds.el (ucs-names): Update character ranges.
9009 * international/uni-bidi.el:
9010 * international/uni-category.el:
9011 * international/uni-combining.el:
9012 * international/uni-comment.el:
9013 * international/uni-decimal.el:
9014 * international/uni-decomposition.el:
9015 * international/uni-digit.el:
9016 * international/uni-lowercase.el:
9017 * international/uni-mirrored.el:
9018 * international/uni-name.el:
9019 * international/uni-numeric.el:
9020 * international/uni-old-name.el:
9021 * international/uni-titlecase.el:
9022 * international/uni-uppercase.el: Regenerate.
9024 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9026 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9027 (smie-precs-precedence-table): Fix typo in docstring.
9029 * vc-mtn.el (log-edit-extract-headers): Declare function.
9031 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9033 * net/notifications.el (dbus-register-signal): Declare function.
9034 (notifications-notify): Fix typos and reflow docstring.
9036 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9038 Improve VC create/retrieve tag/branch.
9039 * vc.el (vc-create-tag): Do not read the directory name for VCs
9040 with repository revision granularity. Adjust the tag/branch
9041 prompt. Reset VC properties.
9042 (vc-retrieve-tag): Do not read the directory name for VCs
9043 with repository revision granularity. Reset VC properties.
9045 2010-06-09 Julien Danjou <julien@danjou.info>
9047 * net/notifications.el: New file.
9049 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9051 Add optional support for resetting VC properties.
9052 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9053 call vc-file-clearprops when true.
9054 (vc-resynch-buffer): Add new optional argument, pass it down.
9055 (vc-resynch-buffers-in-directory): Likewise.
9057 Improve support for special markup in the VC commit message.
9058 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9059 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9060 * vc-git.el (vc-git-checkin):
9061 * vc-bzr.el (vc-bzr-checkin): Likewise.
9063 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9065 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9066 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9068 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9070 * iimage.el: Remove images as soon as the underlying text is modified.
9071 (iimage-modification-hook): New function.
9072 (iimage-mode-buffer): Use it.
9074 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9076 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9077 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9078 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9079 (smie-indent-keyword): Add handling of open-paren keywords.
9080 (smie-indent-comment-continue): Don't assume comment-continue.
9082 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9084 * window.el (pop-to-buffer): Remove the conditional that
9085 compares new-window and old-window, so it will reselect
9086 the selected window unconditionally.
9087 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9089 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9091 * emacs-lisp/smie.el (smie-indent-offset-after)
9092 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9093 (smie-indent-after-keyword): Use them.
9094 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9095 (smie-indent-keyword): Tweak the black magic.
9096 (smie-indent-comment-continue): Strip comment-continue before use.
9097 (smie-indent-functions): Indent comments before keywords.
9099 2010-06-06 Juri Linkov <juri@jurta.org>
9101 * isearch.el (isearch-lazy-highlight-search): Fix looping
9102 by checking for empty match. This syncs this loop with the
9103 similar loop in `isearch-search'. (Bug#6362)
9105 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9107 * net/dbus.el (dbus-register-method): Declare function.
9108 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9109 (dbus-introspect): Doc fix.
9110 (dbus-event-bus-name, dbus-introspect-get-interface)
9111 (dbus-introspect-get-argument): Reflow docstrings.
9113 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9115 vc-log-incoming/vc-log-outgoing fixes for Git.
9116 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9117 incoming/outgoing logs.
9118 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9119 instead of vc-git-compute-remote.
9120 (vc-git-compute-remote): Remove.
9122 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9124 * term/common-win.el (x-colors): Add "dark green" and "dark
9125 turquoise" (Bug#6332).
9127 2010-06-04 Juri Linkov <juri@jurta.org>
9129 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9130 Instead of setting `replace' to t and replacing the same string
9131 with itself, don't do certain actions when
9132 kill-do-not-save-duplicates is non-nil and string is equal to car
9133 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9134 interprogram-paste strings to kill-ring, and don't push the input
9135 argument `string' to kill-ring.
9136 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9138 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9140 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9142 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9144 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9145 (tramp-gvfs-handler-mounted-unmounted)
9146 (tramp-gvfs-connection-mounted-p): Handle default-location.
9148 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9149 move files to trash.
9151 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9153 * international/mule-cmds.el (nonascii-insert-offset)
9154 (nonascii-translation-table): Add obsolescence information.
9156 * international/mule.el (make-translation-table-from-vector): Doc fix.
9158 2010-06-03 Glenn Morris <rgm@gnu.org>
9160 * desktop.el (desktop-clear-preserve-buffers):
9161 Add "*Warnings*" buffer. (Bug#6336)
9163 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9165 vc-log-incoming/vc-log-outgoing improvements for Git.
9166 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9168 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9170 Add bindings for vc-log-incoming and vc-log-outgoing.
9171 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9172 and vc-log-outgoing.
9173 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9174 and vc-log-outgoing.
9176 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9178 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9179 (rcirc-handler-366): Always sort nicknames.
9181 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9183 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9185 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9187 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9189 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9191 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9192 (rcirc-sort-nicknames-join): Avoid setq.
9194 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9196 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9197 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9198 (rcirc-handler-366): Use them.
9200 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9202 Split smie-indent-calculate into more manageable chunks.
9203 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9204 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9205 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9206 (smie-indent-exps): Extract from smie-indent-calculate.
9207 (smie-indent-functions): New var.
9208 (smie-indent-functions): Use them.
9210 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9212 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9213 (smie-indent-calculate): Simplify and cleanup.
9215 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9217 * net/tramp-gvfs.el (top): Require url-util.
9218 (tramp-gvfs-mount-point): Remove.
9219 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9221 (with-tramp-dbus-call-method): Format trace message.
9222 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9223 Implement backup call, when operation on local files fails.
9224 Use progress reporter. Flush properties of changed files.
9225 (tramp-gvfs-handle-make-directory): Make more traces.
9226 (tramp-gvfs-url-file-name): Hexify file name in url.
9227 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9228 into account for the resulting file name.
9229 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9230 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9231 (tramp-gvfs-handler-mounted-unmounted)
9232 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9233 attribute "default_location". Set "prefix" property.
9234 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9235 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9236 exists. Raise an error, if not (due to a corresponding answer
9237 "no" in interactive questions, for example).
9239 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9241 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9243 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9245 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9248 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9250 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9251 * vc-git.el (vc-git-compute-remote): New function.
9252 (vc-git-log-outgoing): Use it instead of hard coding a value.
9253 (vc-git-log-incoming): New function.
9255 Improve state updating for VC tag commands.
9256 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9257 to update the state of all buffers in the directory.
9259 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9261 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9263 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9264 `file-directory-p' to the filename part rather than to the whole text.
9266 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9268 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9270 2010-05-31 Drew Adams <drew.adams@oracle.com>
9272 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9274 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9276 * subr.el (momentary-string-display): Just use read-event to read
9277 the exit event (Bug#6238).
9279 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9281 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9283 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9285 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9286 Suggested by Eli Zaretskii <eliz@gnu.org>.
9288 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9290 * minibuffer.el (completion-file-name-table): Don't return a boundary
9291 past the end of `string' (bug#6299).
9292 (completion--file-name-table): Delegate to completion-file-name-table
9293 for the `boundaries' case.
9295 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9297 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9300 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9301 `path-separator', but maintain compatibility with Emacs 20.2.
9303 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9305 * server.el (server-process-filter): Receive parent-id argument
9307 (server-create-window-system-frame): New arg. Pass parent-id as
9310 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9312 Bidi-sensitive word movement with arrow keys.
9313 * subr.el (right-arrow-command, left-arrow-command): Move to
9316 * bindings.el (right-char, left-char): Move from subr.el and
9317 rename from right-arrow-command and left-arrow-command.
9318 (right-word, left-word): New functions.
9319 (global-map) <right>: Bind to right-char.
9320 (global-map) <left>: Bind to left-char.
9321 (global-map) <C-right>: Bind to right-word.
9322 (global-map) <C-left>: Bind to left-word.
9324 * ls-lisp.el (ls-lisp-classify-file): New function.
9325 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9326 (ls-lisp-classify): Call ls-lisp-classify-file.
9327 (insert-directory): Remove blanks from switches.
9329 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9331 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9332 (ansi-color-drop-regexp): New constant.
9333 (ansi-color-apply, ansi-color-filter-region)
9334 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9335 (ansi-color-apply): Build string list before calling concat.
9337 2010-05-28 Juri Linkov <juri@jurta.org>
9339 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9340 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9343 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9345 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9346 to ignored backtrace functions.
9347 (with-progress-reporter): Expand docstring.
9348 (tramp-handle-delete-file): Implement TRASH argument.
9349 (tramp-get-remote-trash): New defun.
9351 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9353 * net/tramp-compat.el (tramp-compat-delete-file):
9354 Use `symbol-value' for backward compatibility.
9356 * net/tramp.el (tramp-handle-make-symbolic-link)
9358 (tramp-do-copy-or-rename-file-via-buffer)
9359 (tramp-do-copy-or-rename-file-directly)
9360 (tramp-do-copy-or-rename-file-out-of-band)
9361 (tramp-handle-process-file, tramp-handle-call-process-region)
9362 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9363 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9364 (tramp-delete-temp-file-function): Use `delete-file' instead
9365 of `tramp-compat-delete-file'.
9367 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9368 (tramp-fish-handle-make-symbolic-link)
9369 (tramp-fish-handle-process-file): Use `delete-file' instead
9370 of `tramp-compat-delete-file'.
9372 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9373 Use `delete-file' instead of `tramp-compat-delete-file'.
9375 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9376 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9377 `tramp-compat-delete-file'.
9379 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9380 Use `delete-file' instead of `tramp-compat-delete-file'.
9382 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9383 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9384 (tramp-smb-handle-write-region): Use `delete-file' instead of
9385 `tramp-compat-delete-file'.
9386 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9388 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9390 * dired.el (dired-delete-file): New arg TRASH.
9391 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9392 (dired-do-flagged-delete, dired-do-delete): Use trash.
9394 * speedbar.el (speedbar-item-delete): Allow trashing.
9396 * files.el (delete-directory): New arg TRASH.
9398 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9399 (ange-ftp-rename-remote-to-remote)
9400 (ange-ftp-rename-local-to-remote)
9401 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9402 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9404 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9407 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9408 handle new TRASH arg of `delete-file'.
9410 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9411 (tramp-handle-make-symbolic-link, tramp-handle-load)
9412 (tramp-do-copy-or-rename-file-via-buffer)
9413 (tramp-do-copy-or-rename-file-directly)
9414 (tramp-do-copy-or-rename-file-out-of-band)
9415 (tramp-handle-process-file, tramp-handle-call-process-region)
9416 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9417 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9418 (tramp-delete-temp-file-function): Use null TRASH arg in
9419 tramp-compat-delete-file call.
9421 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9422 (tramp-fish-handle-delete-file)
9423 (tramp-fish-handle-make-symbolic-link)
9424 (tramp-fish-handle-process-file): Use null TRASH arg in
9425 `tramp-compat-delete-file' call.
9427 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9428 arg in `tramp-compat-delete-file' call.
9430 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9431 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9432 `tramp-compat-delete-file' call.
9434 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9435 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9436 `tramp-compat-delete-file' call.
9438 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9439 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9440 (tramp-smb-handle-write-region): Use null TRASH arg in
9441 tramp-compat-delete-file call.
9442 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9443 (tramp-smb-handle-delete-file): Rename arg.
9445 * diff.el (diff-sentinel):
9446 * epg.el (epg--make-temp-file, epg-decrypt-string)
9447 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9448 * jka-compr.el (jka-compr-partial-uncompress)
9449 (jka-compr-call-process, jka-compr-write-region):
9450 * server.el (server-sentinel): Remove optional arg from
9451 delete-file, reverting 2010-05-03 change.
9453 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9455 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9456 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9458 2010-05-27 Kenichi Handa <handa@m17n.org>
9460 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9461 element of GSTRING is nil.
9463 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9465 * emacs-lisp/smie.el (smie-forward-token-function)
9466 (smie-backward-token-function): New vars.
9467 (smie-backward-sexp, smie-forward-sexp)
9468 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9469 (smie-default-backward-token): Rename from smie-backward-token and
9471 (smie-default-forward-token): Rename from smie-forward-token and
9473 (smie-next-sexp): Handle nil results from next-token.
9474 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9476 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9478 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9479 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9481 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9483 * htmlfontify.el (hfy-face-resolve-face): New function.
9484 (hfy-face-to-style): Use it (Bug#6279).
9486 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9488 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9489 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9491 2010-05-26 Glenn Morris <rgm@gnu.org>
9493 * emulation/edt.el (edt-load-keys): Use locate-library.
9495 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9497 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9498 (log-edit-changelog-entries): Doc fix.
9499 (log-edit-changelog-insert-entries): Args changed.
9500 Rename relative filenames in ChangeLog entries. Delete tabs.
9501 (log-edit-insert-changelog-entries): Reorganize return value of
9502 `log-edit-changelog-entries' to pass filenames to
9503 log-edit-changelog-insert-entries.
9505 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9507 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9508 `image-dired-dired-insert-marked-thumbs' to
9509 `image-dired-dired-toggle-marked-thumbs'.
9511 * image-dired.el: Require cl when compiling.
9512 (image-dired-dired-toggle-marked-thumbs): Rename from
9513 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9514 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9515 to 'no-dir. Skip files whose names don't match
9516 `image-file-name-regexp'. When file has a thumbnail overlay,
9517 delete it. (Bug#5270)
9519 2010-05-25 Juri Linkov <juri@jurta.org>
9521 * image-mode.el (image-mode): Add image-after-revert-hook to
9523 (image-after-revert-hook): New function. (Bug#5669)
9525 2010-05-25 Juri Linkov <juri@jurta.org>
9527 * image.el (image-animated-p): When delay between animated images
9528 is 0, set it to 10 (0.1 sec). (Bug#6258)
9530 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9532 * net/tramp.el (tramp-handle-insert-directory): Don't use
9533 `forward-word', its default syntax could be changed.
9535 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9537 * net/tramp.el (tramp-progress-reporter-update): New defun.
9538 (with-progress-reporter): Use it.
9539 (tramp-process-actions):
9540 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9541 Preserve current message, in order to let progress reporter continue
9542 afterwards. (Bug#6257)
9544 2010-05-25 Glenn Morris <rgm@gnu.org>
9546 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9549 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9551 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9552 (rcirc-default-full-name): Change to "unknown".
9553 (rcirc-user-name-history): Add variable.
9555 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9556 Jonathan Rockway <jon@jrock.us>
9558 * net/rcirc.el (rcirc-server-alist): Add :pass.
9559 (rcirc): When prompting for connection parameters, also prompt for
9560 username and password.
9561 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9562 value to server when connecting.
9564 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9566 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9567 (smie-merge-prec2s): Pass the tables as separate args.
9568 (smie-bnf-precedence-table): Adjust call accordingly.
9569 (smie-prec2-levels): Set levels at the end.
9571 Replace Lisp calls to delete-backward-char by delete-char.
9572 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9573 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9574 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9575 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9576 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9577 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9578 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9579 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9580 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9581 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9582 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9583 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9584 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9585 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9586 delete-backward-char by calls to delete-char.
9588 2010-05-25 Kenichi Handa <handa@m17n.org>
9590 * language/hebrew.el (hebrew-shape-gstring): New function.
9591 Register it in composition-function-table for all Hebrew combining
9594 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9596 * epa.el (epa--select-keys): Don't explicitly delete the window since
9597 that can fail (e.g. sole window in frame). Use dedication instead.
9599 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9601 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9603 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9605 * image.el (image-refresh): Define as an alias for image-flush.
9607 * image-mode.el (image-toggle-display-image): Caller changed.
9609 2010-05-21 Juri Linkov <juri@jurta.org>
9611 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9612 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9613 whitespace, call wildcard-to-regexp on substrings and concat them
9614 with "\\|". (Bug#6114)
9616 2010-05-21 Alan Mackenzie <acm@muc.de>
9618 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9619 Replace parameter `here' with `here-' and `here-plus', which sandwich
9620 any pertinent CPP construct.
9621 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9622 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9623 CPP construct from taking part in the scanning.
9625 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9627 * net/tramp.el (tramp-do-copy-or-rename-file)
9628 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9629 Tune `with-progress-reporter' messages.
9630 (tramp-handle-vc-registered):
9631 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9632 (tramp-fish-handle-insert-file-contents)
9633 (tramp-fish-maybe-open-connection):
9634 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9635 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9636 (tramp-imap-handle-insert-file-contents)
9637 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9639 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9641 * add-log.el (change-log-font-lock-keywords):
9642 Highlight all authors in multi-author entries.
9644 * smerge-mode.el (smerge-refine-ignore-whitespace)
9645 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9646 Fix typos in docstrings.
9647 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9649 2010-05-21 Glenn Morris <rgm@gnu.org>
9651 * progmodes/fortran.el (fortran-mode):
9652 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9654 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9655 having a relative path in src/Makefile.in.
9657 2010-05-20 Kevin Ryde <user42@zip.com.au>
9659 * help-mode.el (help-make-xrefs): For Info node links turn
9660 newlines into spaces. Link node names with newlines are matched
9661 by help-xref-info-regexp and buttonized, this change ensures they
9662 can be followed successfully with RET. (Bug#6206)
9664 2010-05-20 Juri Linkov <juri@jurta.org>
9666 * locate.el (locate): Use pop-to-buffer instead of
9667 switch-to-buffer-other-window. (Bug#6204)
9669 2010-05-20 Juri Linkov <juri@jurta.org>
9671 * replace.el (replace-highlight): Fix lazy-highlighting
9672 for `M-s w str M-% str RET'.
9674 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9676 * isearch.el (isearch-yank-word-or-char): Pull next subword
9677 when `subword-mode' is activated. (Bug#6220)
9679 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9681 * isearch.el (isearch-update-post-hook): New hook.
9682 (isearch-update): Use the new hook. (Bug#6225)
9684 2010-05-20 Juri Linkov <juri@jurta.org>
9686 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9687 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9690 2010-05-20 Juri Linkov <juri@jurta.org>
9692 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9695 2010-05-20 Juri Linkov <juri@jurta.org>
9697 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9698 FILE-NAME to read from the minibuffer when called interactively
9699 with prefix argument instead of using buffer-file-name.
9700 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9702 * dired.el: Update autoloads.
9704 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9706 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9707 nxml-finish-element, for consistency with SGML mode.
9709 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9712 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9714 * composite.el: Require cl when compiling.
9715 (reference-point-alist, compose-gstring-for-graphic)
9716 (compose-gstring-for-terminal): Fix typos in docstrings.
9718 2010-05-19 Juri Linkov <juri@jurta.org>
9720 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9721 set-window-parameter.
9723 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9725 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9727 (tramp-maybe-open-connection): Use it.
9729 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9731 * simple.el (move-end-of-line): Make sure we are at line beginning
9732 before backing up to end of previous line.
9734 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9736 * password-cache.el (password-cache-remove): Fix docstring.
9738 * net/secrets.el: Autoload the widget functions.
9739 (secrets-search-items, secrets-create-item)
9740 (secrets-get-attributes, secrets-expand-item): Attributes will be
9741 stored on the password database without leading ":", as all other
9743 (secrets-mode): Fix docstring.
9744 (secrets-show-secrets): Provide it as autoloaded command only when
9745 D-Bus support is available. Check existence of Secret Service API.
9747 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9749 * indent.el (indent-region): Deactivate region (bug#6200).
9751 2010-05-19 Glenn Morris <rgm@gnu.org>
9753 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9755 2010-05-19 Kenichi Handa <handa@m17n.org>
9757 * composite.el: Register compose-gstring-for-graphic in
9758 composition-function-table only for combining characters (Mn, Mc, Me).
9760 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9762 * calc/calc-trail.el (calc-trail-isearch-forward)
9763 (calc-trail-isearch-backward): Ensure that the new window
9764 point is set correctly.
9766 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9768 * subr.el (read-quoted-char): Resolve modifiers after key
9769 remapping (bug#6212).
9771 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9773 Add visualization code for secrets.
9774 * net/secrets.el (secrets-mode): New major mode.
9775 (secrets-show-secrets, secrets-show-collections)
9776 (secrets-expand-collection, secrets-expand-item)
9777 (secrets-tree-widget-after-toggle-function)
9778 (secrets-tree-widget-show-password): New defuns.
9780 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9782 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9783 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9784 handled in smie-next-sexp.
9785 (smie-indent-calculate): Provide a starting indentation (so the
9786 recursion is well-founded ;-).
9788 Fix handling of non-associative equal levels.
9789 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9790 when it's not needed.
9791 (smie-op-left, smie-op-right): New functions.
9792 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9793 Better handle equal levels to distinguish the associative case from
9794 the "multi-keyword construct" case.
9795 (smie-backward-sexp, smie-forward-sexp): Use it.
9797 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9799 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9801 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9802 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9804 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9806 Provide a simple generic indentation engine and use it for Prolog.
9807 * emacs-lisp/smie.el: New file.
9808 * progmodes/prolog.el (prolog-smie-op-levels)
9809 (prolog-smie-indent-rules): New var.
9810 (prolog-mode-variables): Use them to configure SMIE.
9811 (prolog-indent-line, prolog-indent-level): Remove.
9813 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9815 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9816 order before computing the averages.
9818 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9820 * calc/calc-vec.el (calc-histogram):
9821 (calcFunc-histogram): Allow vectors as inputs.
9822 (math-vector-avg): New function.
9824 * calc/calc-ext.el (math-group-float): Have the number of digits
9825 being grouped depend on the radix (Bug#6189).
9827 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9829 * version.el (emacs-copyright, emacs-version): Don't define here,
9830 now that emacs.c defines it.
9832 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9834 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9835 "Describe Language Environment" menu item.
9837 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9839 Bidi-sensitive movement with arrow keys.
9840 * subr.el (right-arrow-command, left-arrow-command): New functions.
9842 * bindings.el (global-map): Bind them to right and left arrow keys.
9844 Don't override standard definition of convert-standard-filename.
9845 * files.el (convert-standard-filename):
9846 Call w32-convert-standard-filename and dos-convert-standard-filename on
9847 the corresponding systems.
9849 * w32-fns.el (w32-convert-standard-filename): Rename from
9850 convert-standard-filename. Doc fix.
9852 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9853 (convert-standard-filename): Don't defalias.
9854 (register-name-alist, make-register, register-value)
9855 (set-register-value, intdos): Obsolete aliases for the
9856 corresponding dos-* functions and variables.
9857 (dos-intdos): Add a doc string.
9859 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9861 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9862 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9863 (math-compose-tex-func):
9864 * calc/calccomp.el (math-compose-expr):
9865 * calc/calc-ext.el (math-format-flat-expr-fancy):
9866 * calc/calc-store.el (calc-read-var-name):
9867 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9869 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9870 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9871 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9872 (math-standard-units): Add units.
9874 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9876 * progmodes/asm-mode.el (asm-mode):
9877 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9879 * pcomplete.el (pcomplete-completions-at-point): New function,
9880 extracted from pcomplete-std-complete.
9881 (pcomplete-std-complete): Use it.
9883 2010-05-15 Glenn Morris <rgm@gnu.org>
9885 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9886 Remove references to CVS, RCS and Old directories.
9888 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9890 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9893 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9895 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9896 (sh-mode-syntax-table): Give it a default value instead.
9897 (sh-header-marker): Make buffer-local.
9898 (sh-mode): Move make-local-variable to the corresponding setq.
9899 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9900 Use complete-with-action.
9902 * simple.el (prog-mode): New (abstract) major mode.
9903 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9904 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9906 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9908 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9909 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9910 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9911 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9912 (sql-escape-newlines-filter, sql-input-sender)
9913 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9915 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9917 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9919 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9920 latex-open-block and C-c / to latex-close-block.
9922 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9923 and C-c C-e to sgml-close-tag.
9925 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9927 * net/tramp.el (with-progress-reporter): Create reporter object
9928 only when the message would be displayed. Handle nested calls.
9929 (tramp-handle-load, tramp-handle-file-local-copy)
9930 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9931 (tramp-maybe-send-script, tramp-find-shell):
9932 Use `with-progress-reporter'.
9933 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9936 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9937 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9938 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9939 Use `with-progress-reporter'.
9941 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9943 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9944 process everytime when spellchecking from the minibuffer (bug#6143).
9946 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9948 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9950 * dos-fns.el: Add "dos-" prefix for namespace control.
9951 (convert-standard-filename): Define as alias for
9952 dos-convert-standard-filename but only if applicable.
9954 2010-05-12 Alan Mackenzie <acm@muc.de>
9956 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9957 Push the mark at the start of these functions when appropriate.
9959 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9961 * minibuffer.el (completion-cycle-threshold): New custom var.
9962 (completion--do-completion): Use it.
9963 (minibuffer-complete): Use cycling if appropriate.
9965 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9967 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9968 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9970 2010-05-11 Juri Linkov <juri@jurta.org>
9972 * scroll-all.el (scroll-all-check-to-scroll):
9973 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9975 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9977 * iimage.el (iimage-mode-map): Move initialization into declaration.
9978 (iimage-mode-buffer): Use with-silent-modifications.
9979 Simplify calling convention. Adjust callers.
9980 (iimage-mode): Don't run hook redundantly.
9982 * minibuffer.el (completion-pcm--pattern->regex):
9983 Fix last change (bug#6160).
9985 2010-05-10 Juri Linkov <juri@jurta.org>
9987 Remove nodes visited during Isearch from the Info history.
9988 * info.el (Info-isearch-initial-history)
9989 (Info-isearch-initial-history-list): New variables.
9990 (Info-isearch-start): Record initial values of
9991 Info-isearch-initial-history and Info-isearch-initial-history-list.
9992 Add Info-isearch-end to isearch-mode-end-hook.
9993 (Info-isearch-end): New function.
9995 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9997 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9998 format string, in order to work around a bug in pdksh.
9999 Reported by Gilles Pion <gpion@lfdj.com>.
10000 (tramp-handle-verify-visited-file-modtime): Do not send a command
10001 when the connection is not established.
10002 (tramp-handle-set-file-times): Simplify the check for utc.
10004 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10006 Fix use of `filter-buffer-substring' (rework previous change).
10007 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10008 (cua-repeat-replace-region):
10009 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10010 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10011 (cua-cut-region-to-global-mark): Use it.
10013 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10015 * progmodes/sql.el: Version 2.1.
10016 (sql-product-alist): Redesign structure of product info.
10017 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10018 (sql-port, sql-port-history): New variables.
10019 (sql-interactive-product): New variable.
10020 (sql-send-terminator): New variable.
10021 (sql-imenu-generic-expression): Add "Types" imenu entry.
10022 (sql-oracle-login-params, sql-sqlite-login-params)
10023 (sql-mysql-login-params, sql-solid-login-params)
10024 (sql-sybase-login-params, sql-informix-login-params)
10025 (sql-ingres-login-params, sql-ms-login-params)
10026 (sql-postgres-login-params, sql-interbase-login-params)
10027 (sql-db2-login-params, sql-linter-login-params)
10028 (sql-oracle-scan-on): New variables.
10029 (sql-mode-map): Add C-c C-i to start interactive mode.
10030 (sql-mode-menu): Update existing menu entries.
10031 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10032 (sql-mode-oracle-font-lock-keywords)
10033 (sql-mode-postgres-font-lock-keywords)
10034 (sql-mode-ms-font-lock-keywords)
10035 (sql-mode-sybase-font-lock-keywords)
10036 (sql-mode-informix-font-lock-keywords)
10037 (sql-mode-interbase-font-lock-keywords)
10038 (sql-mode-ingres-font-lock-keywords)
10039 (sql-mode-solid-font-lock-keywords)
10040 (sql-mode-mysql-font-lock-keywords)
10041 (sql-mode-sqlite-font-lock-keywords)
10042 (sql-mode-db2-font-lock-keywords)
10043 (sql-mode-linter-font-lock-keywords): Update initialization to
10044 reduce run-time complexity.
10045 (sql-add-product, sql-del-product): New functions.
10046 (sql-set-product-feature, sql-get-product-feature): New functions.
10047 (sql-product-font-lock): Update product API.
10048 (sql-add-product-keywords): New function.
10049 (sql-highlight-product): Update product API.
10050 (sql-help-list-products): New function.
10051 (sql-help): Dynamically lists free and non-free products.
10052 (sql-get-login): Correct bug in handling history and added
10054 (sql-copy-column): Copy without properties.
10055 (sqli-input-sender): Apply filters to SQLi input.
10056 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10057 Implement as a filter.
10058 (sql-escape-newlines-filter): Implement as a filter.
10059 (sql-remove-tabs-filter): New function.
10060 (sql-send-magic-terminator): New function.
10061 (sql-send-string): Implement magic terminator.
10062 (sql-send-region): Use `sql-send-string'.
10063 (sql-interactive-mode): Use product API.
10064 (sql-product-interactive): Use product API.
10065 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10066 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10067 (sql-db2, sql-linter): Use `sql-product-interactive'.
10068 (sql-connect): New function.
10069 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10070 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10071 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10072 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10075 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10077 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10078 New custom variable.
10079 (completion-pcm--string->pattern): Use it.
10080 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10081 Make it handle any symbol as `any'.
10082 (completion-pcm--merge-completions): Extract common suffix for the new
10083 `prefix' symbol as well.
10084 (completion-substring--all-completions): Use the new `prefix' symbol.
10086 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10088 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10090 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10091 (tramp-compat-funcall): New defmacro.
10092 (tramp-compat-line-beginning-position)
10093 (tramp-compat-line-end-position)
10094 (tramp-compat-temporary-file-directory)
10095 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10096 (tramp-compat-copy-file, tramp-compat-copy-directory)
10097 (tramp-compat-delete-file, tramp-compat-delete-directory)
10098 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10099 * net/tramp.el (top, with-progress-reporter)
10100 (tramp-rfn-eshadow-setup-minibuffer)
10101 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10102 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10103 (tramp-completion-mode-p, tramp-check-for-regexp)
10104 (tramp-open-connection-setup-interactive-shell)
10105 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10106 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10107 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10108 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10109 (tramp-reporter-dump-variable, tramp-load-report-modules)
10110 (tramp-append-tramp-buffers)
10111 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10113 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10115 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10118 buffer-modtime. Adjust users.
10120 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10122 * international/mule.el (auto-coding-alist): Only purecopy
10123 car of each item, not the whole list (Bug#6083).
10125 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10127 * progmodes/js.el (js-mode): Make paragraph variables local before
10128 calling c-setup-paragraph-variables (Bug#6071).
10130 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10132 * composite.el (compose-region, reference-point-alist): Fix typos
10133 in the doc strings.
10135 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10137 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10138 gnuplot's "set" command.
10140 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10142 * abbrev.el (last-abbrev-text): Doc fix.
10143 (abbrev-prefix-mark): Don't escape parenthesis.
10145 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10147 * composite.el (find-composition): Doc fix.
10149 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10151 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10152 (sql-oracle-program, sql-sqlite-options)
10153 (sql-query-placeholders-and-send): Doc fixes.
10154 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10155 (sql-imenu-generic-expression, sql-buffer)
10156 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10157 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10158 (sql-mode-sybase-font-lock-keywords)
10159 (sql-mode-informix-font-lock-keywords)
10160 (sql-mode-interbase-font-lock-keywords)
10161 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10162 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10163 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10164 (sql-product-feature, sql-highlight-product)
10165 (comint-line-beginning-position, sql-rename-buffer)
10166 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10167 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10168 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10169 Fix typos in docstrings.
10171 2010-05-08 Juri Linkov <juri@jurta.org>
10173 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10174 property instead of `invisible' and `after-string' (bug#5998).
10176 2010-05-08 Juri Linkov <juri@jurta.org>
10178 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10180 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10182 * filecache.el (file-cache-add-directory-list)
10183 (file-cache-add-directory-recursively): Fix typos in docstrings.
10185 2010-05-08 Kenichi Handa <handa@m17n.org>
10187 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10188 (gujarati-composable-pattern): Fix typo.
10190 2010-05-08 Kenichi Handa <handa@m17n.org>
10192 * language/indian.el (oriya-composable-pattern)
10193 (tamil-composable-pattern, malayalam-composable-pattern):
10194 Add two-part vowels to "v" (vowel sign).
10196 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10198 * files.el (copy-directory): Handle symlinks (Bug#5982).
10200 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10202 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10203 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10206 2010-05-08 Glenn Morris <rgm@gnu.org>
10208 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10210 * minibuffer.el (completion-at-point): Doc fix.
10212 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10214 * electric.el (Electric-command-loop): Minor tweak.
10216 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10217 better with dedicated windows.
10219 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10221 * Version 23.2 released.
10223 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10224 Stefan Monnier <monnier@iro.umontreal.ca>
10226 Highlight vendor specific properties.
10227 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10228 (css-proprietary-property): New face.
10229 (css-font-lock-keywords): Use them.
10231 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10233 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10235 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10237 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10238 * files.el (auto-mode-alist): Remove redundant entries.
10240 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10241 * simple.el (auto-save-mode): Move from files.el.
10242 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10244 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10246 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10248 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10250 * mail/binhex.el (binhex-decode-region-internal)
10251 * mail/uudecode.el (uudecode-decode-region-internal)
10252 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10253 (dns-read-type, dns-query)
10254 * pgg-parse.el (pgg-parse-armor)
10255 * pgg.el (pgg-verify-region)
10256 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10259 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10261 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10263 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10265 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10266 * emulation/cua-base.el (cua-repeat-replace-region):
10267 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10268 (cua-cut-region-to-global-mark):
10269 Remove text properties with `set-text-properties'.
10271 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10273 * net/tramp.el (top, with-progress-reporter):
10274 Use `symbol-function' inside `funcall'.
10276 * net/tramp-compat.el (tramp-compat-file-attributes)
10277 (tramp-compat-delete-file, tramp-compat-delete-directory):
10278 Handle only `wrong-number-of-arguments' error.
10280 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10281 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10284 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10286 * minibuffer.el (completion--sreverse, completion--common-suffix):
10288 (completion-pcm--merge-completions): Extract common suffix when safe.
10290 * emacs-lisp/easy-mmode.el (define-minor-mode):
10291 Make :variable more flexible.
10292 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10294 2010-05-05 Juri Linkov <juri@jurta.org>
10296 Add `slow' and `history' tags to the desktop data.
10298 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10299 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10300 (Info-finder-find-node): Require `finder.el' to be able
10301 to restore node from the desktop.
10302 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10303 data `Info-history' and `slow' tag in the assoc list.
10304 (Info-restore-desktop-buffer): Don't restore nodes with the
10305 `slow' tag. Restore `Info-history'.
10307 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10309 Add FORCE argument to `delete-file'.
10311 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10312 forcing to delete the temporary file.
10313 (ange-ftp-delete-file): Add FORCE arg.
10314 (ange-ftp-rename-remote-to-remote)
10315 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10316 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10317 Force file deletion.
10319 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10321 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10322 (tramp-handle-make-symbolic-link, tramp-handle-load)
10323 (tramp-do-copy-or-rename-file-via-buffer)
10324 (tramp-do-copy-or-rename-file-directly)
10325 (tramp-do-copy-or-rename-file-out-of-band)
10326 (tramp-handle-process-file, tramp-handle-call-process-region)
10327 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10328 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10329 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10331 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10332 (tramp-fish-handle-make-symbolic-link)
10333 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10335 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10336 Use `tramp-compat-delete-file'.
10338 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10339 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10341 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10342 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10344 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10345 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10346 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10347 Use `tramp-compat-delete-file'.
10349 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10352 * subr.el (add-minor-mode): Use push.
10353 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10354 * emulation/edt.el (edt-select-mode): Simplify.
10356 Use define-minor-mode in more cases.
10357 * term/tvi970.el (tvi970-set-keypad-mode):
10358 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10359 (normal-erase-is-backspace-mode):
10360 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10361 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10362 (get-scroll-bar-mode): New function.
10363 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10365 Use define-minor-mode for less obvious cases.
10366 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10367 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10368 * international/iso-ascii.el (iso-ascii-mode):
10369 * frame.el (auto-raise-mode, auto-lower-mode):
10370 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10372 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10374 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10375 in order to see error messages for failed logins.
10377 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10379 * diff.el (diff-sentinel):
10381 * epg.el (epg--make-temp-file, epg-decrypt-string)
10382 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10384 * jka-compr.el (jka-compr-partial-uncompress)
10385 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10387 * server.el (server-sentinel): Use delete-file's new FORCE arg
10390 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10392 Use define-minor-mode where applicable.
10393 * view.el (view-mode):
10394 * type-break.el (type-break-query-mode)
10395 (type-break-mode-line-message-mode):
10396 * textmodes/reftex.el (reftex-mode):
10397 * term/vt100.el (vt100-wide-mode):
10398 * tar-mode.el (tar-subfile-mode):
10399 * savehist.el (savehist-mode):
10400 * ibuf-ext.el (ibuffer-auto-mode):
10401 * composite.el (auto-composition-mode):
10402 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10403 Use define-minor-mode.
10404 (vhdl-mode): Use static mode-line format.
10405 (vhdl-mode-line-update): Delete.
10406 (vhdl-create-mode-menu, vhdl-activate-customizations)
10407 (vhdl-hs-minor-mode): Don't bother calling it.
10409 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10411 * simple.el (with-wrapper-hook): Move.
10412 (buffer-substring-filters): Mark obsolete.
10413 (filter-buffer-substring-functions): New variable.
10414 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10416 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10417 Michael Albinus <michael.albinus@gmx.de>
10419 Implement compression for inline methods.
10421 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10422 (tramp-copy-size-limit): Allow also nil.
10423 (tramp-inline-compress-commands): New defconst.
10424 (tramp-find-inline-compress, tramp-get-inline-compress)
10425 (tramp-get-inline-coding): New defuns.
10426 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10427 replaced by `tramp-get-inline-coding'.
10428 (tramp-handle-file-local-copy, tramp-handle-write-region)
10429 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10431 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10433 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10434 Remove unused functions.
10436 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10437 Set find-tag-default-function as a variable rather than a property.
10439 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10440 * progmodes/etags.el (tags-completion-at-point-function):
10441 Remove left over interactive spec. Add autoloading stub.
10442 (complete-tag): Use tags-completion-at-point-function.
10444 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10446 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10448 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10450 * ido.el (ido-init-completion-maps): Remove C-v binding.
10451 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10453 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10455 * minibuffer.el (tags-completion-at-point-function): New function.
10456 (completion-at-point-functions): Use it.
10458 * progmodes/etags.el (complete-tag): Revert last change.
10460 2010-04-29 Alan Mackenzie <acm@muc.de>
10462 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10463 off-by-one error (in end of macro position).
10465 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10467 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10468 firefox is absent. Don't autoload.
10469 (browse-url-galeon-program): Don't autoload.
10471 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10473 * bindings.el (complete-symbol): Move into minibuffer.el.
10475 * minibuffer.el (complete-tag): Move from etags.el. If tags
10476 completion cannot be performed, return nil instead of signalling
10478 (completion-at-point): Make it an alias for complete-symbol.
10479 (complete-symbol): Move from bindings.el, and replace with the
10480 body of completion-at-point.
10482 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10484 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10486 * net/tramp.el (tramp-remote-selinux-p): New defun.
10487 (tramp-handle-file-selinux-context)
10488 (tramp-handle-set-file-selinux-context): Use it.
10490 2010-04-28 Sam Steingold <sds@gnu.org>
10492 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10493 `safe-local-variable' if the value is a string or a symbol with
10494 the property `bug-reference-url-format'.
10496 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10498 * progmodes/bug-reference.el (bug-reference-url-format):
10499 Revert 2010-04-27 change due to security risk.
10501 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10503 Make it possible to locally disable a globally enabled mode.
10504 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10505 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10506 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10507 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10508 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10509 that subsequent hooks get a chance to disable it.
10511 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10513 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10514 Avoid re-enabling a minor mode after the user turned the minor mode
10515 off if MODE-enable-in-buffers is run twice (typically once from
10516 fundamental-mode's after-change-major-mode-hook and a second time from
10517 run-mode-hook's own after-change-major-mode-hook).
10519 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10521 2010-04-27 Sam Steingold <sds@gnu.org>
10523 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10524 `safe-local-variable' if the value is a string or a function, as
10525 documented and implemented on 2010-04-02.
10527 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10529 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10530 when method is 'kill.
10532 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10534 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10535 condition in default directory check.
10536 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10537 Kill ispell process when killing its associated buffer.
10539 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10541 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10542 but we aren't using it.
10544 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10546 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10547 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10549 2010-04-24 Glenn Morris <rgm@gnu.org>
10551 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10552 Ignore VCS-ignore files, and deleted nextstep preferences files.
10553 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10554 (authors-ambiguous-files): New list.
10555 (authors-valid-file-names): Add some deleted files.
10556 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10557 (authors-disambiguate-file-name): New function. (Bug#5501)
10558 (authors-canonical-file-name): Doc fix.
10559 Don't warn about obsolete files.
10560 (authors-canonical-file-name, authors-scan-el):
10561 Use authors-disambiguate-file-name.
10563 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10564 Add autoload cookies.
10565 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10566 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10567 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10568 They have definitions / compiler macros in cl.el.
10569 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10570 Replace manual autoloads with generated ones.
10571 (htmlfontify-unload-rgb-file): Remove autoload.
10572 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10574 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10576 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10577 (byte-compile-setq-default): Optimize for the
10578 single-var case and don't call byte-compile-form in this case to avoid
10579 inf-loop with byte-compile-set-default.
10581 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10583 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10585 Implement SELINUX backends.
10587 * net/tramp.el (tramp-file-name-handler-alist):
10588 Add `file-selinux-context' and `set-file-selinux-context'.
10589 (tramp-handle-file-selinux-context)
10590 (tramp-handle-set-file-selinux-context): New defuns.
10591 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10592 Handle PRESERVE-SELINUX-CONTEXT.
10594 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10595 Add `file-selinux-context' and `set-file-selinux-context'.
10596 (tramp-gvfs-handle-file-selinux-context)
10597 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10598 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10600 * net/ange-ftp.el (ange-ftp-copy-file):
10601 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10602 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10603 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10604 Add PRESERVE-SELINUX-CONTEXT.
10606 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10608 Synchronize with Tramp repository.
10610 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10611 (tramp-action-process-alive, tramp-action-out-of-band)
10612 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10613 (tramp-exists-file-name-handler): Fix docstring.
10614 (with-progress-reporter): New defmacro.
10615 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10616 (tramp-maybe-open-connection): Use it.
10618 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10620 Detect ssh 'ControlMaster' argument automatically in some cases.
10622 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10623 (tramp-default-method): Use it.
10625 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10627 * net/tramp.el (tramp-handle-copy-file): Add new optional
10628 parameter `preserve-selinux-context'.
10629 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10631 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10633 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10634 Ensure, that non remote files are still checked. Oops.
10636 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10640 * icomplete.el (icomplete-completions): Use `non-essential'.
10642 * net/tramp.el (tramp-connectable-p): New defun.
10643 (tramp-handle-expand-file-name)
10644 (tramp-completion-handle-file-name-all-completions)
10645 (tramp-completion-handle-file-name-completion): Use it.
10647 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10649 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10651 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10653 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10655 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10657 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10660 * info.el (info-tool-bar-map): Add labels.
10662 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10664 * cus-edit.el (custom-commands): Add labels for tool bar.
10665 (custom-buffer-create-internal, Custom-mode): Adjust for
10666 labels in custom-commands.
10668 * dynamic-setting.el: Renamed from font-setting.el.
10670 2010-04-21 John Wiegley <jwiegley@gmail.com>
10672 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10673 toggles the use of virtual buffers.
10674 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10675 (ido-toggle-virtual-buffers): New function.
10677 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10679 Use `define-derived-mode'; fix window selection; doc fixes.
10680 * play/tetris.el (tetris, tetris-update-speed-function)
10681 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10682 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10683 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10684 (tetris-pause-game): Fix typos in docstrings.
10685 (tetris-mode-map, tetris-null-map):
10686 Move initialization into declaration.
10687 (tetris-mode): Define with `define-derived-mode';
10688 set show-trailing-whitespace to nil.
10689 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10691 2010-04-21 Karel Klíč <kklic@redhat.com>
10693 * files.el (backup-buffer): Handle SELinux context, and return it
10694 if a backup was made by renaming.
10695 (backup-buffer-copy): Set SELinux context to the target file.
10696 (basic-save-buffer): Set SELinux context of the newly written file.
10697 (basic-save-buffer-1): Now it also returns any SELinux context.
10698 (basic-save-buffer-2): Set SELinux context of the newly created file,
10700 * net/tramp.el (tramp-file-name-for-operation):
10701 Add file-selinux-context.
10703 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10705 Make the log-edit comments use RFC822 format throughout.
10707 * vc.el (vc-checkin, vc-modify-change-comment):
10708 Adjust to new vc-start/finish-logentry.
10709 (vc-find-conflicted-file): New command.
10710 (vc-transfer-file): Adjust to new vc-checkin.
10711 (vc-next-action): Improve scoping.
10713 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10714 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10716 * vc-git.el (vc-git-log-edit-mode): Remove.
10717 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10718 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10720 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10721 (vc-start-logentry): Remove argument `extra'.
10722 (vc-finish-logentry): Remove extra args.
10724 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10725 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10726 (vc-bzr-conflicted-files): New function.
10728 * log-edit.el (log-edit-extra-flags)
10729 (log-edit-before-checkin-process): Remove.
10730 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10731 (log-edit-headers-alist): New var.
10732 (log-edit-header-contents-regexp): New const.
10733 (log-edit-match-to-eoh): New function.
10734 (log-edit-font-lock-keywords): Use them.
10735 (log-edit): Insert a "Summary:" header as default.
10736 (log-edit-mode): Mark font-lock rules as case-insensitive.
10737 (log-edit-done): Cleanup headers.
10738 (log-view-process-buffer): Remove.
10739 (log-edit-extract-headers): New function to replace it.
10741 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10743 * subr.el (default-direction-reversed): Remove obsolescence info.
10745 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10747 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10750 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10751 I.e. include text after point in the completion region.
10752 Also, return nil when we're not after/in a symbol.
10754 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10755 default enable-multibyte-characters.
10757 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10759 * international/mule.el: Help the user choose a valid coding-system.
10760 (read-buffer-file-coding-system): New function.
10761 (set-buffer-file-coding-system): Use it. Prompt the user if the
10762 coding-system cannot encode all the chars.
10764 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10765 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10766 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10767 Don't use *vc-bzr-shelve*.
10769 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10771 Fix the version number for added files.
10772 * vc-hg.el (vc-hg-working-revision): Check if the file is
10773 registered after hg parent fails (Bug#5961).
10775 2010-04-19 Glenn Morris <rgm@gnu.org>
10777 * htmlfontify.el (htmlfontify-buffer)
10778 (htmlfontify-copy-and-link-dir): Autoload entry points.
10780 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10782 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10783 name relative to the project root (Bug#5960).
10785 2010-04-19 Glenn Morris <rgm@gnu.org>
10787 * vc-git.el (vc-git-print-log): Doc fix.
10789 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10791 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10793 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10795 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10796 default settings (Bug#5928).
10798 2010-04-19 Glenn Morris <rgm@gnu.org>
10800 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10802 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10804 2010-04-19 Kenichi Handa <handa@m17n.org>
10806 * language/indian.el (malayalam-composable-pattern): Fix previous
10807 change (add U+0D4D "SIGN VIRAMA").
10808 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10809 (tamil-composable-pattern): Fix typo in the regexp.
10810 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10811 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10812 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10814 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10816 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10817 paragraph-separate (Bug#5821).
10819 2010-04-19 Juri Linkov <juri@jurta.org>
10821 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10823 * info.el (Info-find-node-2): Comment out code that skips
10825 (Info-mouse-follow-link): New command.
10826 (Info-link-keymap): New keymap.
10827 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10828 Return a string with links instead of inserting breadcrumbs
10829 to the Info buffer.
10830 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10831 Instead of putting the `invisible' text property over the Info
10832 header, make an overlay over the Info header with the `invisible'
10833 property and `after-string' set to the string returned by
10834 `Info-breadcrumbs'.
10836 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10838 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10839 Reported by monkey@sandpframing.com.
10841 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10843 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10844 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10845 available in the "keyseq cache" any more.
10847 * custom.el (defcustom): Add edebug spec.
10849 2010-04-18 Juri Linkov <juri@jurta.org>
10851 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10853 * view.el (view-file, view-buffer): Move test for special mode-class
10854 from view-file to view-buffer.
10856 * tar-mode.el (tar-extract): Turn if's into one cond
10857 like in arc-mode.el.
10859 2010-04-18 Juri Linkov <juri@jurta.org>
10861 Add 7z archive format support (bug#5475).
10863 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10864 (archive-7z-extract): New defcustom.
10865 (archive-find-type): Add magic string for 7z.
10866 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10867 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10868 `buffer' arg of `call-process'.
10869 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10870 call the function `archive-7z-extract' with the variable
10871 `archive-7z-extract' let-bound to `archive-zip-extract'.
10872 (archive-7z-summarize, archive-7z-extract): New functions.
10874 * international/mule.el (auto-coding-alist):
10875 * files.el (auto-mode-alist): Add 7z file extension.
10877 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10879 * loadup.el: Setup hash-cons for pure data.
10881 Fix duplicate entries in cedet's loaddefs.el files.
10882 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10883 Should make most file-local generated-autoload-file unnecessary.
10884 (print-readably): Silence warnings.
10885 (autoload-find-destination): Take load-name as an arg to make sure
10886 it's the same as the one that will be in the file.
10887 (autoload-generate-file-autoloads): Adjust to above changes.
10888 Try to make the dataflow a bit simpler.
10890 * cvs-status.el (cvs-refontify): Remove unused.
10892 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10894 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10896 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10897 twos-complement mode.
10899 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10901 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10902 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10903 (calc-inverse): Add "Option" to message, as appropriate.
10904 (calc-hyperbolic): Add "Option" to message, as appropriate.
10905 (calc-option, calc-is-option): New functions.
10907 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10908 (calc-option-prefix-help): New function.
10910 * calc/calc-misc.el (calc-help): Add "Option" entry.
10912 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10913 (calc-option-flag): New variable.
10914 (calc-do): Set `calc-option-flag to nil.
10915 (calc-set-mode-line): Add "Opt " as appropriate.
10917 2010-04-16 Juri Linkov <juri@jurta.org>
10919 Move scrolling commands from simple.el to window.el
10920 because their primitives are implemented in window.c.
10922 * simple.el (scroll-error-top-bottom)
10923 (scroll-up-command, scroll-down-command, scroll-up-line)
10924 (scroll-down-line, scroll-other-window-down)
10925 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10926 * window.el (scroll-error-top-bottom)
10927 (scroll-up-command, scroll-down-command, scroll-up-line)
10928 (scroll-down-line, scroll-other-window-down)
10929 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10930 Move from simple.el to window.el because their primitives are
10931 implemented in window.c.
10933 2010-04-16 Juri Linkov <juri@jurta.org>
10935 * isearch.el (isearch-lookup-scroll-key): Check both
10936 `isearch-scroll' and `scroll-command' properties.
10937 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10939 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10941 * simple.el (scroll-up-command, scroll-down-command)
10942 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10944 2010-04-15 Juri Linkov <juri@jurta.org>
10946 * simple.el (scroll-up-command, scroll-down-command)
10947 (scroll-up-line, scroll-down-line): Put `scroll-command'
10948 property on the these symbols. Remove them from
10949 `scroll-preserve-screen-position-commands'.
10951 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10952 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10953 Remove it from `scroll-preserve-screen-position-commands'.
10955 * isearch.el (isearch-allow-scroll): Doc fix.
10957 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10959 * net/tramp.el (tramp-error-with-buffer): Don't show the
10960 connection buffer when we are in completion mode.
10961 (tramp-file-name-handler): Catch the error for some operations
10962 when we are in completion mode. This gives the user the chance to
10963 correct the file name in the minibuffer.
10965 2010-04-15 Glenn Morris <rgm@gnu.org>
10967 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10969 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10971 Simplify by using `define-derived-mode'.
10972 * info.el (Info-mode):
10973 * calendar/todo-mode.el (todo-mode):
10974 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10975 (gomoku-mode-map): Move initialization into declaration.
10977 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10980 * ido.el (ido-file-name-all-completions-1):
10981 * minibuffer.el (minibuffer-completion-help):
10982 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10984 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10986 * simple.el (non-essential): New var.
10988 Add a new field `location' to bookmarks for non-file bookmarks.
10989 * bookmark.el (bookmark-location): Use the new field, if present.
10990 (bookmark-insert-location): Undo last change, not needed any more.
10991 * man.el (Man-bookmark-make-record):
10992 * woman.el (woman-bookmark-make-record): Add `location' field.
10994 2010-04-14 Juri Linkov <juri@jurta.org>
10996 * simple.el (scroll-error-top-bottom): New defcustom.
10997 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10999 * emulation/pc-select.el (pc-select-override-scroll-error):
11000 Obsolete in favor of `scroll-error-top-bottom'.
11002 2010-04-14 Juri Linkov <juri@jurta.org>
11004 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11005 `scroll-up-command' and `M-v' to `scroll-down-command'.
11007 * emulation/cua-rect.el (cua--init-rectangles):
11008 * forms.el (forms--change-commands):
11009 * image-mode.el (image-mode-map):
11010 Remap scroll-down-command and scroll-up-command
11011 in addition to scroll-down and scroll-up.
11013 2010-04-14 Juri Linkov <juri@jurta.org>
11015 * mwheel.el (scroll-preserve-screen-position-commands):
11016 Add mwheel-scroll to this list of commands.
11018 * simple.el (scroll-preserve-screen-position-commands):
11019 Add scroll-up-command, scroll-down-command, scroll-up-line,
11020 scroll-down-line to this list of commands.
11022 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11024 * obsolete/complete.el: Move from lisp/complete.el.
11026 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11028 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11029 to the minor mode function now turns the mode ON unconditionally.
11031 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11033 * vc-dir.el (vc-dir-kill-line): New command.
11034 (vc-dir-mode-map): Bind it to C-k.
11036 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11038 * woman.el: Add bookmark declarations to silence the compiler.
11039 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11040 step to compatibility between man and woman bookmarks.
11041 Adjust for Man-default-bookmark-title renaming.
11042 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11044 * man.el: Add bookmark declarations to silence the compiler.
11045 (Man-name-local-regexp): Make it match NAME as well.
11046 (Man-getpage-in-background): Return the buffer.
11047 (Man-notify-when-ready): Use `case'.
11048 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11049 Don't hardcode "NAME". Simplify.
11050 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11051 Rename from Man-bookmark-make-record.
11052 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11053 we have the actual man-args. Use Man-getpage-in-background rather
11054 than `man' since the arg is already processed. Let bookmark.el do the
11055 window handling. Only wait for the relevant process.
11056 Don't forget to autoload.
11058 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11060 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11062 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11064 (woman-mode): Setup bookmark support.
11066 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11067 (man-bookmark-jump): New functions.
11068 (Man-mode): Setup bookmark support.
11070 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11072 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11073 recognize ssh-keygen prompt (Bug#2817).
11075 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11077 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11079 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11081 Synchronize with Tramp repository.
11083 * net/tramp.el (tramp-completion-function-alist)
11084 (tramp-file-name-regexp, tramp-chunksize)
11085 (tramp-local-coding-commands, tramp-remote-coding-commands):
11087 (tramp-remote-process-environment): Use `format' instead of `concat'.
11088 (tramp-handle-directory-files-and-attributes)
11089 (tramp-get-remote-path): Use `copy-tree'.
11090 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11091 compatibility: Use `completion-ignore-case' if
11092 `read-file-name-completion-ignore-case' does not exist.
11093 (tramp-do-copy-or-rename-file-directly): Do not use
11094 `tramp-handle-file-remote-p'.
11095 (tramp-do-copy-or-rename-file-out-of-band):
11096 Use `tramp-compat-delete-directory'.
11097 (tramp-do-copy-or-rename-file-out-of-band)
11098 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11099 Use `format-spec-make'.
11100 (tramp-find-foreign-file-name-handler)
11101 (tramp-advice-make-auto-save-file-name)
11102 (tramp-set-auto-save-file-modes): Remove superfluous check for
11103 `stringp'. This is done inside `tramp-tramp-file-p'.
11104 (tramp-debug-outline-regexp): New defconst.
11105 (tramp-get-debug-buffer): Use it.
11106 (tramp-check-for-regexp): Use (forward-line 1).
11107 (tramp-set-auto-save-file-modes): Adapt version check.
11109 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11110 Wrap call of `featurep' for 2nd argument.
11111 (tramp-compat-make-temp-file): Simplify fallback implementation.
11112 (tramp-compat-copy-tree): Remove function.
11113 (tramp-compat-delete-directory): Provide implementation for older
11116 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11117 Do not use `tramp-fish-handle-file-attributes.
11119 * net/trampver.el: Update release number.
11121 2010-04-10 Glenn Morris <rgm@gnu.org>
11123 * progmodes/compile.el (compilation-save-buffers-predicate):
11124 Add missing :version tag.
11126 2010-04-09 Sam Steingold <sds@gnu.org>
11128 * progmodes/compile.el (compilation-save-buffers-predicate):
11129 Remove the "autoload" cookie.
11131 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11132 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11133 and `bug-reference-prog-mode' can be used in hooks directly.
11135 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11137 Add --author support to git commit.
11138 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11139 (vc-git-log-edit-mode): New minor mode.
11140 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11143 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11145 * vc-hooks.el, vc-git.el: Improve documentation comments.
11147 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11149 Fix some of the problems in defsubst* (bug#5728).
11150 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11151 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11153 2010-04-07 Sam Steingold <sds@gnu.org>
11155 * progmodes/compile.el (compilation-save-buffers-predicate):
11156 New custom variable.
11157 (compile, recompile): Pass it to `save-some-buffers'.
11159 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11161 * wid-edit.el (widget-choose): Move cursor to the second line of
11162 the buffer (Bug#5695).
11164 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11166 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11167 * vc.el (vc-print-log-setup-buttons): New function split out from
11168 vc-print-log-internal.
11169 (vc-log-internal-common): New function, a parametrized version of
11170 vc-print-log-internal.
11171 (vc-print-log-internal): Just call vc-log-internal-common with the
11173 (vc-incoming-outgoing-internal):
11174 (vc-log-incoming, vc-log-outgoing): New functions.
11175 (vc-log-view-type): New permanent local variable.
11177 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11179 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11180 of the dynamic bound vc-short-log.
11181 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11183 * vc-git.el (vc-git-log-outgoing): New function.
11184 (vc-git-log-view-mode): Use vc-log-view-type instead
11185 of the dynamic bound vc-short-log.
11187 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11188 of the dynamic bound vc-short-log. Highlight the tag.
11189 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11190 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11191 (vc-hg-incoming-mode): Remove.
11192 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11194 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11196 Fix default-directory for vc-root-diff.
11197 * vc.el (vc-root-diff): Bind default-directory to the root
11198 directory for the diff command.
11200 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11202 * progmodes/verilog-mode.el (verilog-forward-sexp):
11203 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11204 word keywords, suggested by Steve Pearlmutter.
11205 (verilog-pretty-declarations): Support lineup of declarations in
11207 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11208 fix bug for /* / comments.
11209 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11210 Speed up and simplfy as this is never called with a bound.
11211 (verilog-pretty-declarations): Enhance to line up declarations
11212 inside a parameter list, suggested by Alan Morgan.
11213 (verilog-pretty-expr): Tune assignment regular expression match
11214 string for corner cases; also use markers instead of character
11215 number as indent changes the later.
11217 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11219 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11220 as missing keyword.
11221 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11222 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11223 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11224 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11226 (verilog-keywords):
11227 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11228 1800-2009 keywords, including "global.".
11230 2010-04-06 John Wiegley <jwiegley@gmail.com>
11232 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11233 appearing in buffer list (if a live buffer name matched a recentf
11234 file basename). Should use uniquify to offer a real solution.
11236 2010-04-06 John Wiegley <jwiegley@gmail.com>
11238 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11239 comment to code, and add a :version tag.
11240 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11242 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11244 Enable recentf-mode if using virtual buffers.
11245 * ido.el (recentf-list): Declare for byte-compiler.
11246 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11247 (ido-make-buffer-list): Simplify.
11248 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11250 2010-04-05 Juri Linkov <juri@jurta.org>
11252 Scrolling commands which scroll a line instead of full screen.
11253 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11255 * simple.el (scroll-up-line, scroll-down-line): New commands.
11256 Put property isearch-scroll=t on them.
11258 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11261 2010-04-05 Juri Linkov <juri@jurta.org>
11263 Scrolling commands which do not signal errors at top/bottom.
11264 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11266 * simple.el (scroll-up-command, scroll-down-command): New commands.
11267 Put property isearch-scroll=t on them.
11269 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11270 `scroll-down-command' and [next] from `scroll-up' to
11271 `scroll-up-command'.
11273 * emulation/cua-base.el: Put property CUA=move on
11274 `scroll-up-command' and `scroll-down-command'.
11275 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11276 and `scroll-down-command' to `cua-scroll-down'.
11278 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11280 * help.el (describe-mode): Return nil.
11282 2010-04-04 John Wiegley <jwiegley@gmail.com>
11284 * ido.el (ido-use-virtual-buffers): New variable to indicate
11285 whether "virtual buffer" support is enabled for IDO.
11286 (ido-virtual): Face used to indicate virtual buffers in the list.
11287 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11288 exists, but a virtual buffer of that name does (which would be why
11289 it was in the list), recreate the buffer by reopening the file.
11290 (ido-make-buffer-list): If virtual buffers are being used, call
11291 `ido-add-virtual-buffers-to-list' before the make list hook.
11292 (ido-virtual-buffers): New variable which contains a copy of the
11293 current contents of the `recentf-list', albeit pared down for the
11294 sake of speed, and with proper faces applied.
11295 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11296 create a list of "virtual buffers" to present to the user in
11297 addition to the currently open set. Note that this logic could
11298 get rather slow if that list is too large. With the default
11299 `recentf-max-saved-items' of 200, there is little speed penalty.
11301 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11303 * font-lock.el: Require CL when compiling.
11304 (font-lock-turn-on-thing-lock): Use `case'.
11306 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11308 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11311 2010-04-02 Juri Linkov <juri@jurta.org>
11313 * ehelp.el (electric-help-orig-major-mode):
11314 New buffer-local variable.
11315 (electric-help-mode): Set it to original major-mode. Doc fix.
11316 (with-electric-help): Use `electric-help-orig-major-mode' instead
11317 of (default-value 'major-mode). Doc fix.
11318 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11320 2010-04-02 Sam Steingold <sds@gnu.org>
11322 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11323 `vc-hg-command' with a list of flags.
11325 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11326 Also accept "patch" and "RFE".
11327 (bug-reference-fontify): `bug-reference-url-format' can also be a
11328 function to be able to handle the bug kind.
11329 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11331 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11333 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11334 value to fboundp, it may not be a symbol.
11336 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11338 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11340 2010-03-31 Juri Linkov <juri@jurta.org>
11342 * simple.el (next-line, previous-line): Re-throw a signal
11343 with `signal' instead of using `ding'.
11344 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11346 2010-03-31 Juri Linkov <juri@jurta.org>
11348 * simple.el (keyboard-escape-quit): Raise deselecting the active
11349 region higher than exiting the minibuffer.
11350 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11352 2010-03-31 Juri Linkov <juri@jurta.org>
11354 * image.el (image-animated-p): Use `image-metadata' instead of
11355 `image-extension-data'. Get GIF extenstion data from metadata
11356 property `extension-data'.
11358 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11360 * simple.el (append-to-buffer): Simplify.
11362 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11364 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11365 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11367 2010-03-31 Kenichi Handa <handa@m17n.org>
11369 * language/sinhala.el (composition-function-table): Fix regexp for
11370 the new Unicode specification.
11372 * language/indian.el (devanagari-composable-pattern)
11373 (tamil-composable-pattern, kannada-composable-pattern)
11374 (malayalam-composable-pattern): Adjust for the new Unicode
11376 (bengali-composable-pattern, gurmukhi-composable-pattern)
11377 (gujarati-composable-pattern, oriya-composable-pattern)
11378 (telugu-composable-pattern): New variables to cope with the new
11379 Unicode specification. Use them in composition-function-table.
11381 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11383 Make tmm-menubar work for the Buffers menu again (bug#5726).
11384 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11385 vectors rather than cons cells, as used in menu-bar-update-buffers.
11387 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11389 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11390 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11391 electric punctuation for "{}();,:" (Bug#5586).
11393 * mail/sendmail.el (mail-default-directory): Doc fix.
11395 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11397 * mail/sendmail.el (mail-default-directory): Doc fix.
11399 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11401 * subr.el (version-regexp-alist, version-to-list)
11402 (version-list-<, version-list-=, version-list-<=)
11403 (version-list-not-zero, version<, version<=, version=): Doc fix.
11406 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11408 * vc.el (vc-root-diff): Doc fix.
11410 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11412 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11414 * simple.el (append-to-buffer): Fix last change.
11416 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11418 * simple.el (append-to-buffer): Ensure that point is preserved if
11419 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11422 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11424 * files.el (auto-mode-case-fold): Change default to t.
11426 2010-03-30 Juri Linkov <juri@jurta.org>
11428 * dired-x.el (dired-omit-mode): Doc fix.
11430 2010-03-30 Juri Linkov <juri@jurta.org>
11432 * replace.el (occur-accumulate-lines): Move occur-engine related
11433 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11434 to be located after `occur-engine'.
11436 2010-03-30 Juri Linkov <juri@jurta.org>
11438 Make occur handle multi-line matches cleanly with context.
11439 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11441 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11442 (occur-engine): Add local variables `ret', `prev-after-lines',
11443 `prev-lines'. Use more arguments for `occur-context-lines'.
11444 Set first elem of its returned list to `data', and the second elem
11445 to `prev-after-lines'. Don't print the separator line.
11446 In the end, print remaining context after-lines.
11447 (occur-context-lines): Add new arguments `begpt', `endpt',
11448 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11449 after-lines of the previous match with before-lines of the
11450 current match and not overlap them. Return a list with two
11451 values: the output line and the list of context after-lines.
11453 2010-03-30 Juri Linkov <juri@jurta.org>
11455 * replace.el (occur-accumulate-lines): Fix a bug where the first
11456 context line at the beginning of the buffer was missing.
11458 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11460 * files.el: Make bidi-display-reordering safe variable for boolean
11463 2010-03-29 Phil Hagelberg <phil@evri.com>
11464 Chong Yidong <cyd@stupidchicken.com>
11466 * subr.el: Extend progress reporters to perform "spinning".
11467 (progress-reporter-update, progress-reporter-do-update):
11468 Handle non-numeric value arguments.
11469 (progress-reporter--pulse-characters): New var.
11471 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11473 * progmodes/compile.el (compilation-start): Fix regexp detection
11474 of initial cd command (Bug#5771).
11476 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11478 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11480 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11482 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11483 * progmodes/gdb-mi.el: Restore.
11484 * progmodes/gdb-ui.el: Remove.
11485 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11487 2010-03-25 Glenn Morris <rgm@gnu.org>
11489 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11490 all dired buffers, even tramp ones. (Bug#5755)
11492 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11494 Add "union tags" in mpc.el.
11495 * mpc.el: Remove backward compatibility code.
11496 (mpc-browser-tags): Change default.
11497 (mpc--find-memoize-union-tags): New var.
11498 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11499 (mpc-cmd-find): Handle the case where the playlist does not exist.
11501 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11502 (mpc-cmd-add): Use mpc-cmd-flush.
11503 (mpc-tagbrowser-tag-name): New fun.
11504 (mpc-tagbrowser-buf): Use it.
11505 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11507 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11510 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11511 Use replace-regexp-in-string.
11512 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11513 (makefile-imake-mode-syntax-table): Move init into defvar.
11514 (makefile-mode): Use define-derived-mode.
11516 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11517 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11518 not be present any more.
11520 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11522 * faces.el (set-face-attribute): Fix typo in docstring.
11523 (face-valid-attribute-values): Reflow docstring.
11525 2010-03-24 Glenn Morris <rgm@gnu.org>
11527 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11529 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11531 * indent.el (indent-for-tab-command): Doc fix.
11533 2010-03-24 Alan Mackenzie <acm@muc.de>
11535 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11536 Fix off-by-one error. Fixes bug #5747.
11538 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11540 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11541 (image-dired-read-comment): Doc fix.
11543 * json.el (json-object-type, json-array-type, json-key-type)
11544 (json-false, json-null, json-read-number):
11545 * minibuffer.el (completion-in-region-functions):
11546 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11547 (cal-tex-cursor-week):
11548 * emacs-lisp/trace.el (trace-function):
11549 * eshell/em-basic.el (eshell/printnl):
11550 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11551 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11552 * obsolete/levents.el (allocate-event, event-key, event-object)
11553 (event-point, event-process, event-timestamp, event-to-character)
11554 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11555 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11556 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11557 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11558 (reftex-highlight-selection): Fix typos in docstrings.
11560 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11562 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11564 2010-03-24 Glenn Morris <rgm@gnu.org>
11566 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11567 2008-02-13 without comment; mark it obsolete.
11568 (rmail-highlight-headers): Use rmail-highlight-face once more.
11570 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11572 * woman.el (woman2-process-escapes): Only consume the newline if
11573 the filler character is on a line by itself (Bug#5729).
11575 2010-03-24 Kenichi Handa <handa@m17n.org>
11577 * language/indian.el (devanagari-composable-pattern): Add more
11580 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11582 * net/trampver.el: Update release number.
11584 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11586 * net/tramp.el (tramp-find-executable):
11587 Use `tramp-get-connection-buffer'. Make the regexp for checking
11588 output of "wc -l" more robust.
11589 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11590 (tramp-open-connection-setup-interactive-shell): Remove workaround
11591 for OpenSolaris bug, it is not needed anymore.
11593 2010-03-24 Glenn Morris <rgm@gnu.org>
11595 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11597 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11599 * files.el (auto-mode-alist): Accept more verilog file patterns.
11601 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11603 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11605 2010-03-24 Glenn Morris <rgm@gnu.org>
11607 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11608 log-edit-before-checkin-process.
11610 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11612 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11614 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11615 (log-view-process-buffer, log-edit-extra-flags): Declare.
11617 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11619 2010-03-23 Sam Steingold <sds@gnu.org>
11621 Fix bug#5620: recalculate all markers on compilation buffer
11622 modifications, not on file modifications.
11623 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11624 variable: the buffer modification time, for buffers not associated with
11626 (compilation-mode): Create it.
11627 (compilation-filter): Update it.
11628 (compilation-next-error-function): Use it instead of
11629 `visited-file-modtime' for timestamp.
11631 2010-03-23 Juri Linkov <juri@jurta.org>
11633 Implement Occur multi-line matches.
11634 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11636 * replace.el (occur): Doc fix.
11637 (occur-engine): Set `begpt' to the beginning of the first line.
11638 Set `endpt' to the end of the last match line. At first, count
11639 line numbers between `origpt' and `begpt'. Split out code from
11640 `out-line' variable to new let-bindings `match-prefix' and
11641 `match-str'. In `out-line' add non-numeric prefix to all
11642 non-first lines of multi-line matches. Finally, count lines
11643 between `begpt' and `endpt' and add to `lines'.
11645 2010-03-23 Juri Linkov <juri@jurta.org>
11647 * replace.el (occur-accumulate-lines, occur-engine):
11648 Use `occur-engine-line' instead of duplicate code.
11649 (occur-engine-line): New function created from duplicate code
11650 in `occur-accumulate-lines' and `occur-engine'.
11652 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11653 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11655 2010-03-23 Juri Linkov <juri@jurta.org>
11657 * finder.el: Remove TODO tasks.
11659 * info.el (Info-finder-find-node): Add node "all"
11660 with all package info. Handle a list of multiple keywords
11661 separated by comma.
11662 (info-finder): In interactive use with a prefix argument,
11663 use `completing-read-multiple' to read a list of keywords
11664 separated by comma.
11666 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11668 Add a new completion style `substring'.
11669 * minibuffer.el (completion-basic--pattern): New function.
11670 (completion-basic-try-completion, completion-basic-all-completions):
11672 (completion-substring--all-completions)
11673 (completion-substring-try-completion)
11674 (completion-substring-all-completions): New functions.
11675 (completion-styles-alist): New style `substring'.
11677 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11679 Get rid of .elc files after removal of the corresponding .el.
11680 * Makefile.in (compile-clean): New target.
11681 (compile-main): Use it.
11683 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11685 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11686 don't do make there. When compiling with separate object dir, there
11687 is no Makefile there.
11689 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11691 Get rid of the ELCFILES abomination, again.
11692 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11693 (all, compile): Don't call compile-last.
11694 (compile-main): Build the "elcfiles" list dynamically.
11695 (compile-targets): New (internal) target.
11697 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11699 * Makefile.in (top_srcdir): Define.
11700 (abs_top_builddir): Define.
11701 (srcdir): Don't append `/..'.
11702 (EMACS): Use ${abs_top_builddir}.
11703 (all, compile, compile-always, compile-last): Don't set emacswd.
11704 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11706 (lisp): Use $(srcdir) instead of @srcdir@.
11708 2010-03-21 Juri Linkov <juri@jurta.org>
11710 Fix message of multi-line occur regexps and multi-buffer header lines.
11711 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11713 * replace.el (occur-1): Don't display regexp if it is longer
11714 than window-width. Use `query-replace-descr' to display regexp.
11715 (occur-engine): Don't display regexp in the buffer header for
11716 multi-buffer occur. Display a separate header line with total
11717 match count and regexp for multi-buffer occur.
11718 Use `query-replace-descr' to display regexp.
11720 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11722 * net/secrets.el: Fix parenthesis.
11723 (secrets-enabled): Fix parenthesis.
11725 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11727 Use more relative file and directory names.
11728 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11729 (setwins, setwins_almost, setwins_for_subdirs):
11730 Don't `cd'; output relative names.
11731 (all, compile, compile-always, compile-last): Set emacswd.
11732 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11733 Just cd to the lisp source dir so we can use relative file names.
11735 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11737 2010-03-20 Glenn Morris <rgm@gnu.org>
11739 * textmodes/rst.el: Use faces for font-lock customization, and make the
11740 old -face variables obsolete.
11741 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11742 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11743 (rst-block-face, rst-external-face, rst-definition-face)
11744 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11745 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11747 (rst-font-lock-keywords-function): Update for above changes.
11749 2010-03-20 Juri Linkov <juri@jurta.org>
11752 * obsolete/s-region.el: Move to obsolete.
11754 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11756 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11758 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11760 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11762 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11764 Add special markup processing for commit logs.
11765 * log-edit.el (log-edit-extra-flags): New variable.
11766 (log-edit): Add new argument MODE. Use that mode when non-nil
11767 instead of the log-view-mode.
11768 (log-view-process-buffer): New function.
11770 * vc.el: Document that the checkin method takes optional
11771 arguments. Document new backend specific method: log-view-mode.
11772 (vc-default-log-edit-mode): New function.
11773 (vc-checkin): Use a backend specific log-view-mode.
11774 Pass extra arguments to the checkin method.
11775 (vc-modify-change-comment): Pass a dummy extra argument.
11777 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11779 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11780 (vc-finish-logentry): Process the log buffer before passing it
11781 down. Pass log-edit-extra-flags.
11783 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11785 (log-edit-extra-flags, log-edit-before-checkin-process):
11788 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11790 (log-edit-extra-flags, log-edit-before-checkin-process):
11792 (vc-hg-log-edit-mode): New derived mode.
11794 * vc-arch.el (vc-arch-checkin):
11795 * vc-cvs.el (vc-cvs-checkin):
11796 * vc-git.el (vc-git-checkin):
11797 * vc-mtn.el (vc-mtn-checkin):
11798 * vc-rcs.el (vc-rcs-checkin):
11799 * vc-sccs.el (vc-sccs-checkin):
11800 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11802 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11804 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11807 2010-03-19 Glenn Morris <rgm@gnu.org>
11809 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11811 2010-03-18 Glenn Morris <rgm@gnu.org>
11813 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11815 * replace.el (query-replace-history): Give it a doc string.
11816 (map-query-replace-regexp): Use query-replace-from-history-variable
11817 and query-replace-to-history-variable.
11819 * mail/hashcash.el (declare-function): Remove duplicate definition.
11821 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11822 Make it an obsolete alias for report-emacs-bug-address.
11823 (message-strip-special-text-properties): Declare.
11824 (report-emacs-bug): Remove test for a pretest bug address.
11825 Combine message-mode-specific code.
11827 * mail/supercite.el: Don't require sendmail.
11828 (mh-in-header-p): Declare rather than using with-no-warnings.
11829 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11830 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11832 * calendar/cal-french.el: Convert to utf-8.
11834 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11837 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11839 * net/secrets.el (secrets-enabled): New variable. Use it instead
11842 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11844 * net/secrets.el (top): Register the D-Bus signals only when the
11845 service "org.freedesktop.secrets" can be pinged.
11846 Provide subfeature `enabled'.
11848 2010-03-14 Juri Linkov <juri@jurta.org>
11850 Add finder unknown keywords.
11852 * finder.el (finder-unknown-keywords): New function.
11854 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11855 to create a Finder node with unknown keywords.
11857 2010-03-14 Juri Linkov <juri@jurta.org>
11859 * finder.el (finder-compile-keywords): Replace `princ' with
11860 `prin1' on a list of symbols interned from keyword strings.
11862 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11863 a comma, then split keywords using a comma and optional whitespace.
11864 Otherwise, split by whitespace.
11872 * progmodes/mixal-mode.el: Fix keywords.
11874 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11876 * Makefile.in (ELCFILES): Add net/secrets.elc.
11878 * net/secrets.el: New file.
11880 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11882 * facemenu.el (list-colors-display, list-colors-print): New arg
11883 callback. Use it to allow selecting colors.
11885 * wid-edit.el (widget-image-insert): Insert image prop even if the
11886 current display is non-graphic.
11887 (widget-field-value-set): New fun.
11888 (editable-field): Use it.
11889 (widget-field-value-get): Clean up unused var.
11890 (widget-color-value-create, widget-color--choose-action):
11891 New funs. Allow using list-colors-display to choose color.
11893 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11895 * cus-edit.el: Resort topmost custom groups.
11896 (custom-buffer-sort-alphabetically): Default to t.
11897 (customize-apropos): Use apropos-parse-pattern.
11898 (custom-search-field): New var.
11899 (custom-buffer-create-internal): Add custom-apropos search field.
11900 (custom-add-parent-links): Don't display parent doc.
11901 (custom-group-value-create): Don't sort top-level custom group.
11902 (custom-magic-value-create): Show visibility button before option name.
11904 (custom-variable-state): New fun, from custom-variable-state-set.
11905 (custom-variable-state-set): Use it.
11906 (custom-group-value-create): Hide options with standard values
11907 using the :hidden-states property. Use progress reporter.
11909 (custom-show): Simplify.
11910 (custom-visibility): Disable images by default.
11911 (custom-variable): New property :hidden-states.
11912 (custom-variable-value-create): Enable images for
11913 custom-visibility widgets. Use :hidden-states property to
11914 determine initial visibility.
11916 * wid-edit.el (widget-image-find): Give images center ascent.
11917 (visibility): Add :on-image and :off-image properties.
11918 (widget-visibility-value-create): Use them.
11920 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11922 * cus-edit.el (processes): Remove from development group.
11923 (oop, hypermedia): Delete group.
11924 (comm): Promote to top-level group.
11926 * net/browse-url.el (browse-url):
11927 * net/xesam.el (xesam):
11928 * net/tramp.el (tramp):
11929 * net/goto-addr.el (goto-address):
11930 * net/ange-ftp.el (ange-ftp): Put in comm group.
11932 * view.el (view): Remove from editing group.
11934 * uniquify.el (uniquify): Put in files group.
11936 * net/browse-url.el (browse-url):
11937 * ps-print.el (postscript): Put in external group.
11939 * cus-edit.el (outlines):
11940 * textmodes/text-mode.el (text-mode-hook):
11941 * textmodes/table.el (table):
11942 * textmodes/picture.el (picture):
11943 * outline.el (outlines): Put in wp group.
11945 * nxml/nxml-mode.el (nxml): Remove from wp group.
11947 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11949 * mail/metamail.el (metamail): Remove from hypermedia group.
11951 * cus-edit.el (abbrev):
11952 * whitespace.el (whitespace):
11953 * vcursor.el (vcursor):
11954 * reveal.el (reveal):
11955 * hl-line.el (hl-line): Put in convenience group.
11957 * epg-config.el (epg): Put in data group.
11959 * emulation/pc-select.el (pc-select): Put in emulations group.
11961 * calculator.el (calculator): Put in applications group.
11963 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11965 Add .dir-locals.el support for file-less buffers.
11966 * files.el (hack-local-variables): Split out code to apply local
11967 variable settings ...
11968 (hack-local-variables-apply): ... here. New function.
11969 (hack-dir-local-variables): Use the default directory for when the
11970 buffer does not have an associated file.
11971 (hack-dir-local-variables-non-file-buffer): New function.
11972 * diff-mode.el (diff-mode):
11973 * vc-annotate.el (vc-annotate-mode):
11974 * vc-dir.el (vc-dir-mode):
11975 * log-edit.el (log-edit-mode):
11976 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11978 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11980 Add support for shelving snapshots and for showing shelves.
11981 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11982 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11984 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11985 (vc-bzr-extra-menu-map): Map them.
11987 2010-03-11 Glenn Morris <rgm@gnu.org>
11989 * cus-edit.el (customize-changed-options-previous-release):
11992 * image.el (image-animate-max-time): Fix :version tag.
11994 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11998 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12000 * vc-git.el (vc-git-revision-table): Include remote branches.
12002 2010-03-10 Kim F. Storm <storm@cua.dk>
12004 Animated image API.
12005 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12007 * image.el (image-animate-max-time): New defcustom.
12008 (image-animated-types): New defconst.
12009 (create-animated-image, image-animate-timer)
12010 (image-animate-start, image-animate-stop, image-animate-timeout)
12011 (image-animated-p): New functions.
12013 * image-mode.el (image-toggle-display-image):
12014 Replace `create-image' with `create-animated-image'.
12016 2010-03-09 Miles Bader <miles@gnu.org>
12018 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12019 instead of "format:"; this ensures that the output is
12020 newline-terminated.
12022 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12024 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12025 that all errors are caught, and that the return value is always a
12028 2010-03-08 Kenichi Handa <handa@m17n.org>
12030 * language/misc-lang.el (windows-1256): New coding system.
12031 (cp1256): New alias of windows-1256 (bug#5690).
12033 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12035 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12036 call to rfc822-bad-address. (Bug#5692)
12038 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12040 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12041 Use vc-git-root as default directory for revision path (Bug#5657).
12043 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12045 * calculator.el (calculator): Don't bind split-window-keep-point
12048 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12050 * vc-git.el: Re-flow to fit into 80 columns.
12051 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12052 Remove spurious `quote' element in each case alternative.
12053 (vc-git-show-log-entry): Use prog1.
12054 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12056 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12058 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12060 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12062 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12063 definition, not the name (Bug#5481).
12065 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12067 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12068 argument with a local variable. (Bug#5670)
12070 2010-03-02 Juri Linkov <juri@jurta.org>
12072 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12074 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12076 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12077 error when FILENAME and NEWNAME are existing remote directories.
12079 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12080 parameter DIR-FLAG.
12082 2010-03-02 Glenn Morris <rgm@gnu.org>
12084 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12085 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12087 2010-03-01 Kenichi Handa <handa@m17n.org>
12089 * language/burmese.el (burmese-composable-pattern): Rename from
12090 myanmar-composable-pattern.
12092 * international/characters.el (script-list):
12093 * international/fontset.el (script-representative-chars):
12094 Change myanmar to burmese.
12095 (otf-script-alist): Likewise.
12096 (setup-default-fontset): Likewise. Re-fix :otf spec.
12098 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12100 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12102 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12104 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12106 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12108 * net/tramp.el (tramp-handle-write-region): START can be a string.
12109 Take care in the checks. Reported by Dan Davison
12110 <davison@stats.ox.ac.uk>.
12112 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12114 * net/dbus.el (dbus-introspect, dbus-get-property)
12115 (dbus-set-property, dbus-get-all-properties):
12116 Use `dbus-call-method' when noninteractive. (Bug#5645)
12118 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12120 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12121 * emacs-lisp/elint.el (elint-add-required-env):
12122 * calendar/icalendar.el (icalendar--add-diary-entry):
12123 * calc/calcalg2.el (math-tracing-integral):
12124 * files.el (recover-session-finish): Use with-current-buffer
12125 instead of save-excursion.
12127 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12129 Fix in-buffer completion when after-change-functions modify the buffer.
12130 * minibuffer.el (completion--replace): New function.
12131 (completion--do-completion): Use it and use relative movement.
12133 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12135 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12137 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12139 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12140 Allow the characters _<> in the stack entry (Bug#5653).
12142 2010-02-26 Kenichi Handa <handa@m17n.org>
12144 * language/burmese.el: Fix entries in composition-function-table.
12145 (myanmar-composable-pattern): New variable.
12147 * international/fontset.el (setup-default-fontset): Add an entry
12150 * international/characters.el (script-list): Add Myanmar
12153 2010-02-26 Glenn Morris <rgm@gnu.org>
12155 * custom.el (custom-initialize-delay): Doc fix.
12157 * mail/sendmail.el (send-mail-function): Autoload the call
12158 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12160 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12162 * files.el (hack-local-variables-filter): For eval forms, also
12163 check safe-local-variable-p (Bug#5636).
12165 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12167 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12168 setting the modes by `ignore-errors'. It might fail, for example
12169 if the file is not owned by the user but the group.
12170 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12172 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12174 * files.el (directory-listing-before-filename-regexp):
12175 Use stricter matching for iso-style dates, to avoid false matches with
12176 date-like filenames (Bug#5597).
12178 * htmlfontify.el (htmlfontify): Doc fix.
12180 * eshell/eshell.el (eshell): Doc fix.
12182 * startup.el (fancy-about-screen): In mode-line, apply
12183 mode-line-buffer-id face only to the buffer name (Bug#5613).
12185 2010-02-20 Kevin Ryde <user42@zip.com.au>
12187 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12188 In `watcom' anchor regexp to start of line, to avoid slowness
12191 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12193 * subr.el (remove-yank-excluded-properties): Explain in a comment
12194 why `category' property is removed.
12196 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12198 * isearch.el (isearch-update-post-hook, isearch-update):
12199 Revert 2010-02-17 change.
12201 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12203 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12204 (icalendar--convert-weekly-to-ical)
12205 (icalendar--convert-yearly-to-ical)
12206 (icalendar--convert-block-to-ical)
12207 (icalendar--convert-cyclic-to-ical)
12208 (icalendar--convert-anniversary-to-ical): Take care of time
12209 specifications where hour has 1-digit only (Bug#5549).
12211 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12213 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12214 of disassemble output in GDB 7.1.
12216 2010-02-19 Glenn Morris <rgm@gnu.org>
12218 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12219 property. (Bug#5593)
12221 2010-02-18 Sam Steingold <sds@gnu.org>
12223 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12225 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12227 Use abbreviated file names in bookmarks (bug#5591).
12228 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12229 calls to expand-file-name.
12230 (bookmark-relocate): Use abbreviated file names in bookmarks.
12231 (bookmark-load): Use abbreviated file names in messages.
12233 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12235 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12236 expand "." and "..". Reported by Thierry Volpiatto
12237 <thierry.volpiatto@gmail.com>.
12239 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12241 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12242 permissions of the temporary file to "0600". In case the remote
12243 file has no read permissions for the owner, there might be
12244 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12246 22010-02-18 Glenn Morris <rgm@gnu.org>
12248 * emacs-lisp/authors.el (authors-renamed-files-alist):
12249 Add entries for INSTALL.CVS.
12251 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12253 * vc-bzr.el: Fix typo in Known Bugs section.
12255 * isearch.el (isearch-update-post-hook): New hook.
12256 (isearch-update): Use the new hook.
12258 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12260 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12261 Fix errors in copying directories.
12262 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12263 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12264 (tramp-handle-delete-file)
12265 (tramp-handle-dired-recursive-delete-directory)
12266 (tramp-handle-write-region): Flush also the cache for the upper
12269 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12271 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12273 * cus-edit.el (hardware): Doc fix.
12275 * man.el (man): Add to external custom group.
12277 * delim-col.el (columns): Move to wp custom group.
12279 * doc-view.el (doc-view): Add to data custom group.
12281 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12283 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12284 by ispell-parse-output (Bug#5575).
12286 2010-02-16 Kenichi Handa <handa@m17n.org>
12288 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12289 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12290 (skkdic-convert): Use `euc-japan' coding system for writing.
12292 2010-02-16 Glenn Morris <rgm@gnu.org>
12294 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12295 tex-main-file before using it. (Bug#5562)
12297 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12299 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12300 warnings, since it is annoying for the user to see them each time he
12303 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12305 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12306 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12307 instead of PROC for caching "first-password-request". Otherwise,
12308 new processes would not profit from passwords already entered.
12310 * net/tramp-cache.el (tramp-dump-connection-properties):
12311 Don't save "first-password-request" property.
12313 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12315 * outline.el (outline-head-from-level):
12316 * simple.el (with-wrapper-hook):
12317 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12318 (elint-defun, elint-buffer-env, elint-top-form-logged)
12319 (elint-unbound-variable):
12320 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12321 Fix typos in docstrings.
12323 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12325 * files.el (insert-directory): When WILDCARD-REGEXP and
12326 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12327 whole directory. (Bug#5551)
12329 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12330 dired's alignment sanity. (Bug#5516)
12332 2010-02-14 Juri Linkov <juri@jurta.org>
12334 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12335 Remove remaining ^H with their preceding chars. (Bug#5566)
12337 2010-02-13 Glenn Morris <rgm@gnu.org>
12339 * simple.el (transpose-subr): Give it a doc-string.
12341 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12344 2010-02-12 Juri Linkov <juri@jurta.org>
12346 * arc-mode.el (archive-unique-fname): Make directories for nested
12347 archives. (Bug#5540)
12349 2010-02-12 Juri Linkov <juri@jurta.org>
12351 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12353 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12355 * subr.el (copy-overlay): Handle deleted overlays.
12357 * man.el (Man-completion-table): Don't signal an error if we can't run
12358 manual-program (bug#4056).
12360 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12362 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12364 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12366 * info.el (Info-bookmark-jump): Simplify.
12368 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12369 (bookmark-default-handler): Accept new bookmark field `buffer'.
12371 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12373 * iswitchb.el (iswitchb-completions): Revert last change.
12375 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12377 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12378 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12379 This prevents file names like "~/" being listed literally.
12381 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12383 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12384 Remove dead code. (Bug#5546)
12386 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12388 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12389 correctly (Bug#5548).
12391 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12393 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12394 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12396 2010-02-08 Kenichi Handa <handa@m17n.org>
12398 * international/mule-util.el (with-coding-priority): Add autoload
12399 cookie for putting `lisp-indent-function'.
12401 2010-02-07 Glenn Morris <rgm@gnu.org>
12403 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12404 Move F2003 named interfaces from keywords-2 to keywords-1, and
12405 use function-name-face rather than constant-face.
12406 Simplify "abstract interface" regexp.
12408 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12410 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12411 ID-FORMAT. Pass it to `file-attributes'.
12413 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12415 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12417 * faces.el (set-face-attribute): Allow calling
12418 internal-set-lisp-face-attribute with 'unspecified family and
12419 foundry argument (Bug#5536).
12421 2010-02-07 Glenn Morris <rgm@gnu.org>
12423 * progmodes/f90.el (f90-font-lock-keywords-2)
12424 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12425 Handle F2003 named interfaces.
12427 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12429 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12430 beg and end before calling c-get-state-before-change-functions.
12432 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12434 * vc-bzr.el (vc-bzr-dir-extra-headers):
12435 Disable the pending merges header.
12437 2010-02-05 Juri Linkov <juri@jurta.org>
12439 * doc-view.el (doc-view-mode):
12440 * image-mode.el (image-mode): Put property mode-class=special.
12443 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12445 * vc-svn.el (vc-svn-revision-table): New function.
12447 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12449 * net/ange-ftp.el (ange-ftp-insert-directory):
12450 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12451 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12452 Handle also directories. (Bug#5478)
12454 2010-02-05 Glenn Morris <rgm@gnu.org>
12456 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12458 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12460 * startup.el (command-line-1): Convert options beginning with a
12461 single dash as well (Bug#5519).
12463 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12465 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12466 * minibuffer.el (completion-initials-expand): Only check the presence
12467 of delims *within* the boundaries, since otherwise the / delim is
12468 always found for files.
12470 Fix up various corner case problems.
12471 * doc-view.el (doc-view-last-page-number): New function.
12472 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12473 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12474 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12475 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12476 (doc-view-convert-current-doc): Don't create the resolution.el file
12478 (doc-view-pdf/ps->png): Do it here instead.
12479 (doc-view-already-converted-p): Check that resolution.el is present.
12480 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12481 windows that are not yet showing images.
12483 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12485 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12486 `dired-uncache' for every elemnt which is an absolute file name.
12488 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12489 directory, handle its directory component.
12490 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12491 function is called permanently and creates noise, otherwise.
12493 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12494 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12495 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12497 2010-02-04 David Burger <dburger@google.com> (tiny change)
12499 * macros.el (apply-macro-to-region-lines):
12500 Minor simplification. (Bug#5485)
12502 2010-02-04 Glenn Morris <rgm@gnu.org>
12504 * mail/rmail.el (rmail-show-message-1): Handle malformed
12505 quoted-printable text. (Bug#5441)
12507 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12509 * simple.el (visual-line-mode): Capitalize lighter.
12511 2010-02-03 John Wiegley <jwiegley@gmail.com>
12513 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12514 list of files considered for "virtual buffer" completions.
12516 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12518 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12519 also in case of (and (not full) (not wildcard)). This is needed
12520 when dired is called with a list of files, which are not in
12521 `default-directory'. (Bug#5478)
12523 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12525 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12527 2010-02-02 Juri Linkov <juri@jurta.org>
12529 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12530 from unidiff to allow function-line after @@.
12532 2010-02-02 Juri Linkov <juri@jurta.org>
12534 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12535 '(RCS SCCS) with inverted condition.
12537 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12539 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12542 2010-02-01 Juri Linkov <juri@jurta.org>
12544 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12545 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12546 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12547 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12549 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12551 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12552 (doc-view-revert-buffer): New command.
12553 (doc-view-mode-map): Use it.
12555 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12557 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12558 pending merge is detected.
12560 2010-01-31 Juri Linkov <juri@jurta.org>
12562 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12563 beginning of interactive spec like all other grep commands do.
12564 Put "all" in front of "gz". (Bug#5260)
12566 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12568 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12570 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12572 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12573 regexp is incorrect (Bug#5476).
12575 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12577 * net/tramp.el (tramp-handle-insert-directory): Handle also
12578 symlinks, when FILENAME is not in `default-directory'.
12580 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12582 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12583 FILE is not in `default-directory'. (Bug#5478)
12585 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12586 of SWITCHES. Handle the case, FILENAME is not in
12587 `default-directory'. (Bug#5478)
12588 (tramp-register-file-name-handlers): Add safe-magic property.
12590 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12592 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12595 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12597 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12598 (flymake-master-make-header-init): Add other C++ filename masks.
12599 (flymake-find-possible-master-files)
12600 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12602 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12604 Fix some busybox annoyances.
12606 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12607 not responding." string.
12608 (tramp-open-connection-setup-interactive-shell): Dump stty
12609 settings. Enable "neveropen" arg for all `tramp-send-command'
12610 calls. Handle "=" in variable values properly.
12611 (tramp-find-inline-encoding): Raise an error, when no encoding is
12613 (tramp-wait-for-output): Check, whether PROC buffer is available.
12614 Remove spurious " ^H" sequences, sent by busybox.
12615 (tramp-get-ls-command): Suppress coloring, if possible.
12617 2010-01-28 Glenn Morris <rgm@gnu.org>
12619 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12621 * log-edit.el (log-edit-strip-single-file-name): Add missing
12622 :safe, :group, and :version tags.
12624 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12626 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12627 buffers. (Bug#5477)
12629 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12631 * files.el (delete-directory): Handle moving to trash without
12632 first doing recursion (Bug#5436).
12634 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12636 * vc-hooks.el (vc-path): Mark as obsolete.
12638 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12640 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12643 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12645 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12647 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12649 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12651 * vc-bzr.el (vc-bzr-revision-table): New function.
12653 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12655 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12656 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12658 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12660 Remove support for adding --signoff on commit.
12661 Future support will use an incompatible generic mechanism.
12662 * vc-git.el (vc-git-add-signoff): Remove variable.
12663 (vc-git-toggle-signoff): Remove function.
12664 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12666 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12667 Rename from xterm-set-background-mode. Return t if the background mode
12669 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12670 earlier, call it again in case the background mode has changed.
12672 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12674 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12677 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12679 * emacs-lisp/assoc.el (aelement): Doc fix.
12680 (aput, adelete, amake): Use lexical-let (Bug#5450).
12682 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12684 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12685 is the same as subprogram call, not declaration. (Bug#5435).
12687 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12689 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12690 (tramp-smb-maybe-open-connection): Use it.
12692 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12694 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12696 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12698 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12699 just because we see "encoding: 8bit".
12700 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12702 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12704 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12706 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12708 * jka-compr.el (jka-compr-load): If load-file is not in
12709 load-history, try its file-truename version. (bug#5447)
12711 2010-01-21 Alan Mackenzie <acm@muc.de>
12713 Fix a situation where deletion of a cpp construct throws an error.
12714 * progmodes/cc-engine.el (c-invalidate-state-cache):
12715 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12716 special cpp construct is still in the buffer.
12717 (c-parse-state): Record the special cpp with markers, not numbers.
12719 2010-01-21 Kenichi Handa <handa@m17n.org>
12721 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12722 process last-command-event, as it is now decoded first (Bug#5380).
12724 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12726 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12728 2010-01-20 Glenn Morris <rgm@gnu.org>
12730 * indent.el (tab-always-indent): Fix custom-type.
12732 2010-01-19 Alan Mackenzie <acm@muc.de>
12734 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12735 buffer throws "args out of range".
12736 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12737 playing the role of delimiter.
12739 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12741 * progmodes/ada-mode.el: Fix bug#5400.
12742 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12743 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12744 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12745 Improve comments in "is" portion. Handle null procedure declaration.
12746 (ada-move-to-end): Improve doc string.
12748 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12750 * ido.el (ido-cur-list): Initialize to nil.
12751 Remove obsolete information from commentary.
12752 (ido-choice-list): Initialize to nil.
12753 (ido-get-bufname): Reject minibuffers.
12754 (ido-make-buffer-list): If "default" is a nonexistent
12755 buffer, ignore it, as per the function's comment.
12756 (ido-kill-buffer-internal): New function.
12757 (ido-kill-buffer-at-head): Use it.
12758 (ido-visit-buffer): Likewise.
12760 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12762 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12764 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12766 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12767 Fix typos in chart titles.
12769 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12770 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12771 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12772 (describe-class, eieio-describe-generic, describe-generic):
12773 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12774 (eieio-speedbar-expand):
12775 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12776 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12777 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12778 (viper-del-backward-char-in-replace, viper-backward-indent)
12779 (viper-brac-function, viper-register-to-point, viper-submit-report):
12780 * net/tramp.el (tramp-remote-coding-commands):
12781 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12782 Fix typos in docstrings.
12784 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12786 * mail/sendmail.el (mail-yank-original): Set the mark if the
12787 specified function for yanking does not do it.
12789 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12791 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12793 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12794 resyncing a directory.
12796 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12798 * progmodes/ada-mode.el: Fix bug#1920.
12799 (ada-ident-re): Delete ., allow multibyte characters.
12800 (ada-goto-label-re): New; matches goto labels.
12801 (ada-block-label-re): New; matches block labels.
12802 (ada-label-re): New; matches both.
12803 (ada-named-block-re): Deleted; callers changed to use
12804 `ada-block-label-re' instead.
12805 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12806 Use `ada-block-label-re'.
12807 (ada-indent-on-previous-lines): Improve handling of goto labels.
12808 (ada-get-indent-block-start): Special-case block label.
12809 (ada-get-indent-label): Split into `ada-indent-block-label' and
12810 `ada-indent-goto-label'.
12811 (ada-goto-stmt-start, ada-goto-next-non-ws):
12812 Optionally ignore goto labels.
12813 (ada-goto-next-word): Simplify.
12814 (ada-indent-newline-indent-conditional): Insert newline before
12815 trying to fix indentation; doc fix.
12817 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12819 * calc/calc.el (calc-command-flags): Give it an initial value.
12821 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12823 * files.el (minibuffer-with-setup-hook):
12824 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12825 (artist-key-draw-continously, artist-key-do-continously-continously)
12826 (artist-key-set-point-continously, artist-mouse-draw-continously):
12827 Fix typos in docstrings.
12829 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12831 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12832 Never return t (Bug#3898).
12834 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12836 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12837 can parse the output of the external commands (Bug#5279).
12839 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12841 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12843 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12845 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12847 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12849 * startup.el (command-line): Remove unused --icon-type arg.
12850 Handle --display arg, passing it to command-line-1 (Bug#5392).
12852 2010-01-16 Mario Lang <mlang@delysid.org>
12854 * emacs-lisp/chart.el (chart-translate-namezone):
12855 * textmodes/artist.el (artist-compute-popup-menu-table):
12856 Remove duplicated words in doc-strings.
12858 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12860 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12861 to mairix-search to suppress threading (Bug#5342).
12863 2010-01-15 Kenichi Handa <handa@m17n.org>
12865 * international/mule-cmds.el (canonicalize-coding-system-name):
12866 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12868 2010-01-15 Glenn Morris <rgm@gnu.org>
12870 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12872 * wid-edit.el (widget-keymap): Doc fix.
12874 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12875 former seems to be more widely accepted by various svn versions.
12877 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12879 * find-cmd.el (find-constituents):
12880 * vc-arch.el (vc-arch-root):
12881 * window.el (window-body-height, pop-up-frames):
12882 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12883 * progmodes/ada-stmt.el (ada-if):
12884 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12885 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12886 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12887 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12889 * progmodes/flymake.el (flymake-post-syntax-check):
12890 Fix typo in error message.
12892 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12894 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12895 which is always a string. (Bug#5313)
12897 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12899 * progmodes/ada-xref.el (ada-default-prj-properties):
12900 Simplify previous change.
12902 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12904 * progmodes/ada-xref.el (ada-default-prj-properties):
12905 Default ada_project_path to $ADA_PROJECT_PATH.
12907 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12909 * progmodes/ada-mode.el (ada-create-keymap):
12910 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12912 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12914 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12915 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12916 (ada-get-current-indent, ada-imenu-generic-expression)
12917 (ada-which-function): Check for it.
12919 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12921 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12922 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12924 2010-01-14 Glenn Morris <rgm@gnu.org>
12926 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12928 2010-01-14 Kenichi Handa <handa@m17n.org>
12930 * composite.el (auto-composition-mode): Make it a buffer local
12931 variable (permanent-local).
12932 (auto-composition-function): Set the default value to
12933 auto-compose-chars.
12934 (auto-composition-mode): Make it a simple function, not a minor mode.
12935 (global-auto-composition-mode): Likewise.
12936 (turn-on-auto-composition-if-enabled): Delete it.
12938 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12940 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12942 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12944 * files.el (copy-directory): Compute target for recursive
12945 directories with identical names. (Bug#5343)
12947 2010-01-12 Glenn Morris <rgm@gnu.org>
12949 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12950 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12952 2010-01-11 Sam Steingold <sds@gnu.org>
12954 * imenu.el (imenu-default-create-index-function): Detect infinite
12955 loops caused by imenu-prev-index-position-function.
12957 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12959 * htmlfontify.el (htmlfontify-load-rgb-file)
12960 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12961 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12962 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12963 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12964 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12965 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12966 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12967 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12968 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12969 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12970 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12971 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12972 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12973 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12974 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12975 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12976 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12977 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12978 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12979 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12980 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12981 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12982 backslash-quoting from parentheses, etc.
12984 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12986 * progmodes/js.el: Autoload javascript-mode alias.
12988 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12990 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12991 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12992 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12993 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12994 Fix typos in docstrings.
12995 (ffap-url-regexp): Doc fix.
12996 (ffap-at-mouse): Fix typo in message.
12998 2010-01-11 Glenn Morris <rgm@gnu.org>
13000 * version.el (emacs-copyright): Set copyright year to 2010.
13002 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13004 * format.el (format-annotate-function): Only set
13005 write-region-post-annotation-function after running to-fn so as not to
13006 affect nested write-region calls (bug#5273).
13008 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13010 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13013 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13015 * man.el (Man-goto-section): Signal error if the section is not
13018 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13020 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13021 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13023 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13025 * progmodes/compile.el: Don't treat compile-command as safe if
13026 compilation-read-command might be nil (Bug#4218).
13028 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13030 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13033 2010-01-08 Kenichi Handa <handa@m17n.org>
13035 * international/fontset.el (build-default-fontset-data):
13036 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13038 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13040 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13041 to `create-file-buffer' as it expects, not just a buffer name.
13042 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13043 to help uniquify. (Bug#3224)
13045 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13047 * font-setting.el (font-setting-change-default-font): Use user-spec
13050 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13052 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13054 2010-01-05 Tom Tromey <tromey@redhat.com>
13056 * progmodes/python.el (python-font-lock-keywords):
13057 Handle qualified decorators (Bug#881).
13059 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13061 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13062 in a lightweight checkout.
13064 2010-01-05 Kenichi Handa <handa@m17n.org>
13066 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13068 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13070 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13072 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13074 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13075 checkouts. (Bug#618)
13076 (vc-bzr-log-view-mode): Also highlight the author.
13077 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13078 (vc-bzr-shelve-menu-map):
13079 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13080 (vc-bzr-shelve-apply): Make prompt more explicit.
13082 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13084 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13085 They are valid characters in URL paths (rfc3986), and at least
13086 Firefox does not understand the encoded version (Bug#3166).
13088 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13090 * progmodes/octave-mod.el (octave-end-keywords)
13091 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13092 Add "end" keyword (Bug#3061).
13093 (octave-end-as-array-index-p): New function.
13094 (calculate-octave-indent): Use it.
13096 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13098 * bookmark.el: Consistently put the text property on the bookmark name.
13099 (bookmark-bmenu-marks-width): Bump back to 2, to include
13101 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13102 property on the bookmark name, instead of not putting it at all.
13103 (bookmark-bmenu-list): Fix where we put the text property.
13105 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13107 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13108 for showing buffer modified state (as added in the previous change).
13110 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13112 * bookmark.el: Show modified state of bookmark buffer more accurately.
13113 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13114 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13115 (with-buffer-modified-unmodified): New macro.
13116 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13117 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13118 Use new macro to preserve the buffer modified state.
13120 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13122 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13123 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13124 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13125 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13126 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13127 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13128 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13130 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13132 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13133 Make the lines in the generated doc string shorter. (Bug#4668)
13135 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13137 * net/rcirc.el: Add follow-link binding (Bug#4738).
13139 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13141 * Makefile.in (bzr-update): Rename from cvs-update.
13142 (cvs-update): New target for backward compatibility.
13144 * makefile.w32-in (bzr-update): Rename from cvs-update.
13145 (cvs-update): New target for backward compatibility.
13147 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13149 * bookmark.el: Remove gratuitous gratitude.
13151 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13153 * bookmark.el (bookmark-bmenu-any-marks): New function.
13154 (bookmark-bmenu-save): Clear buffer modification if no marks.
13156 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13158 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13159 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13160 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13161 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13163 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13164 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13165 To: emacs-devel {_AT_} gnu.org
13166 Subject: bookmark.el bug report
13167 Date: Mon, 28 Dec 2009 14:19:16 +0800
13168 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13170 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13172 * bookmark.el: Improvements suggested by Drew Adams:
13173 (bookmark-bmenu-ensure-position): New name for
13174 `bookmark-bmenu-check-position'. Just ensure the position,
13175 don't return any meaningful value.
13176 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13179 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13181 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13182 (bookmark-yank-point, bookmark-bmenu-check-position):
13183 Fix typos in docstrings.
13184 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13185 (bookmark-name-from-full-record, bookmark-get-position)
13186 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13187 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13188 Remove useless quoting of parenthesis, etc. in docstrings.
13190 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13191 (ediff-append-custom-diff): Fix typo in error message.
13192 (ediff-meta-mark-equal-files): Fix typos in messages.
13194 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13196 * net/imap-hash.el (imap-hash-make): Doc fix.
13197 (imap-hash-test): Fix typo in error message; reflow docstring.
13198 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13199 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13200 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13201 Fix typos in docstrings.
13202 (imap-hash-open-connection): Fix typo in error message.
13204 * play/gomoku.el (gomoku): Fix typos in docstring.
13206 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13207 (gdb-jsonify-buffer): Fix typos in docstring.
13208 (gdb-goto-breakpoint): Fix typo in error message.
13209 ("Display Other Windows"): Fix typo in help message.
13210 (gdb-speedbar-expand-node): Fix typo in question.
13212 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13213 (idlwave-html-system-help-location, idlwave-html-help-location)
13214 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13215 (idlwave-help-browser-generic-args, idlwave-help-directory)
13216 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13217 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13218 (idlwave-online-help, idlwave-help-html-link)
13219 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13220 Fix typos in docstrings.
13221 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13223 (idlwave-help-assistant-start): Fix typo in error message.
13225 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13226 (octave-electric-space): Fix typos in docstrings.
13228 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13230 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13232 2010-01-01 Juri Linkov <juri@jurta.org>
13234 * comint.el (comint-input-ring-size): Make it a defcustom and
13235 increase the default to 500 (Bug#5148).
13237 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13239 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13240 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13241 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13243 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13245 Show working revision correctly for mercurial.
13246 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13247 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13249 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13251 Declare some functions for the byte-compiler.
13252 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13253 (speedbar-timer-fn, speedbar-change-expand-button-char)
13254 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13256 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13258 This changeset reverts GDB Graphical Interface to use annotations.
13259 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13261 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13263 Make vc-dir work on subdirectories of the bzr root.
13264 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13265 Return file names relative to it.
13266 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13267 relative directory to vc-bzr-after-dir-status.
13269 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13271 * font-lock.el (font-lock-refresh-defaults): New function, which
13272 can be used to let font-lock react to external changes in
13273 variables like font-lock-defaults and keywords.
13274 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13276 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13278 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13280 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13282 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13284 Supersede color.diff settings in git log (bug#5211).
13286 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13287 escape chars in its output when the user has color.diff set to `always'.
13288 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13290 2009-12-26 Kevin Ryde <user42@zip.com.au>
13292 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13293 node. Keep previous "Index" name to work with past coreutils too.
13295 * man.el (man): Revise docstring a bit to show -a and -l as
13296 examples. Add -k description since support for it has otherwise
13297 been a secret. (Further to bug#3717.)
13298 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13299 "no matches" rather than "Can't find manpage", as the latter reads
13300 like -k was interpreted as a page name, which is not so. (Bug#5431)
13302 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13304 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13305 switches. Check also for //SUBDIRED// line.
13307 2009-12-25 Kenichi Handa <handa@m17n.org>
13309 * language/indian.el (devanagari-composable-pattern): Fix to
13310 handle ZWNJ and ZWJ. Use it in composition-function-table for
13312 (malayalam-composable-pattern): Fix previous change.
13314 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13316 * ps-print.el (ps-face-attributes): It was not returning the
13317 attribute face for faces specified as string. Reported by harven
13318 <harven@free.fr>. (Bug#5254)
13319 (ps-print-version): New version 7.3.5.
13321 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13323 * calendar/icalendar.el (icalendar--convert-tz-offset):
13324 Fix timezone names.
13325 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13326 (icalendar--add-diary-entry): Remove the trailing blank that
13327 diary-make-entry inserts.
13329 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13331 Make `file-expand-wildcards' work for remote files.
13333 * files.el (file-expand-wildcards): In case of remote files, check
13334 only local file name part for wildcards. Provide feature 'files
13335 and subfeature 'remote-wildcards. (Bug#5198)
13337 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13338 if there is already an established connection.
13339 (tramp-advice-file-expand-wildcards): Remove it.
13341 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13342 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13343 Activate advice for older GNU Emacs versions. (Bug#5237)
13345 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13347 Some doc fixes (more needed).
13349 * find-cmd.el (find-constituents): Reflow docstring.
13350 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13351 (find-generic): Doc fix.
13353 2009-12-17 Juri Linkov <juri@jurta.org>
13355 Fix regression from 23.1 to allow multiple modes in Local Variables.
13357 * files.el (hack-local-variables-filter): While ignoring duplicates,
13358 don't take `mode' into account.
13359 (hack-local-variables-filter, hack-dir-local-variables):
13360 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13362 2009-12-17 Juri Linkov <juri@jurta.org>
13364 Make `dired-diff' safer. (Bug#5225)
13366 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13367 `current' or when `file' is a directory of the `current' file.
13369 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13371 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13372 unconditionally preloaded files.
13374 2009-12-16 Juri Linkov <juri@jurta.org>
13376 Revert to old 23.1 logic of using the file at the mark as default.
13377 * dired-aux.el (dired-diff): Use the file at the mark as default
13378 if it's not the same as the current file, and the target dir is
13379 the current dir or the mark is active. Add the current file
13380 as the arg of `dired-dwim-target-defaults'. Use the default file
13381 in the prompt. (Bug#5225)
13383 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13385 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13386 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13387 (tramp-check-for-regexp): Check also, when an echoing shell stops
13388 to echo sent commands.
13390 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13392 * Makefile.in: Revert last change (Bug#5191).
13394 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13396 * vc-hg.el (vc-hg-print-log): Fix argument order.
13397 (vc-hg-working-revision): Make sure the command is executed in a
13398 known environment so that we can parse the output. (Bug#4417)
13400 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13402 * progmodes/python.el (python-symbol-completions): Remove text
13403 properties from symbol string before calling python-send-receive.
13405 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13407 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13408 when there are values for both file and line. (Bug#5060)
13410 2009-12-14 Juri Linkov <juri@jurta.org>
13412 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13413 whitespace after the file name of the first line of unified format,
13414 because git-diff doesn't output whitespace and file modification time
13415 after the file name.
13417 2009-12-14 David Kastrup <dak@gnu.org>
13419 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13420 check if it already has the `display' property added by
13421 `Info-display-images-node', and not put the `invisible' property
13424 2009-12-13 Glenn Morris <rgm@gnu.org>
13426 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13427 (report-emacs-bug): In message-mode, sort manually before storing
13428 original report text. (Bug#5178)
13429 Remove superfluous save-excursion.
13431 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13433 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13434 when responding to "GetAll" properties.
13436 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13438 * simple.el (compose-mail): Remove mail-setup-with-from from
13439 customization checks.
13441 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13443 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13444 RAR archives created on Unix systems.
13446 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13448 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13449 the varalias that was accidentally removed by the 2009-11-19 change
13452 2009-12-12 Kenichi Handa <handa@m17n.org>
13454 * language/indian.el (indian-compose-regexp): New function.
13455 (malayalam-composable-pattern): Fix the pattern.
13456 (composition-function-table): Set malayalam-composable-pattern for
13457 Malayalam characters.
13459 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13461 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13462 rather than down-mouse-1, based on follow-link conventions.
13464 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13467 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13469 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13470 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13471 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13472 (verilog-leap-to-head, verilog-backward-token):
13473 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13475 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13477 * progmodes/verilog-mode.el (verilog-auto-lineup)
13478 (verilog-nameable-item-re): Cleanup user-visible spelling and
13479 documentation errors. One reported by Gary Delp.
13480 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13481 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13482 package, bug195. Reported by Pierre-David Pfister.
13484 2009-12-11 Glenn Morris <rgm@gnu.org>
13486 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13488 * mail/emacsbug.el: No longer require sendmail.
13489 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13490 (report-emacs-bug-orig-text): Doc fix.
13491 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13492 New local variables, to adapt to different mail-user-agents.
13493 (report-emacs-bug): Fix test for a gnu.org address.
13494 Use overlays for emphasis, since font-lock defeats 'face property.
13495 Pretest bugs also end up at the newsgroup these days.
13496 Stop message-mode stripping text properties.
13497 Set and use the new buffer-local variables.
13498 (report-emacs-bug-hook): Add doc-string.
13499 Remove some unnecessary save-excursions and simplify.
13500 Use the appropriate hook and send-command.
13502 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13503 capitalization of some menu entries.
13505 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13507 * whitespace.el (whitespace-display-char-on):
13508 Ensure `buffer-display-table' is unique when two or more windows are
13509 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13512 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13514 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13515 characters in the Attribute field.
13517 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13519 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13521 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13523 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13524 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13525 Disregard autoload-excludes.
13526 (update-directory-autoloads): Obey autoload-excludes here instead.
13527 But don't store its contents in no-autoloads and remove entries that
13528 refer to excludes files.
13530 2009-12-10 Glenn Morris <rgm@gnu.org>
13532 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13533 (expand-mail-aliases): Define for compiler.
13535 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13536 Define for compiler.
13538 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13539 appropriate for the mail-user-agent in use.
13541 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13543 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13545 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13547 Fix short log parsing and fontification.
13548 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13549 Fix fontification for the [merge] label.
13551 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13553 Drop some properties to avoid surprises (bug#5002).
13554 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13555 (hfy-fontify-buffer): Use it.
13557 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13560 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13561 Adjust all callers.
13562 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13563 args compulsory. Adjust callers.
13564 (ffap-gopher-at-point): Remove unused var `name'.
13566 Get rid of the ELCFILES abomination.
13567 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13568 (compile-elcfiles): New phony target.
13569 (compile-main): Compute ELCFILES dynamically.
13570 (compile-clean): New target to remove left-over elc files.
13571 (compile, all): Use it.
13573 2009-12-09 Kenichi Handa <handa@etlken>
13575 * international/mule-diag.el: Require help-mode instead of help-fns.
13577 2009-12-09 Kenichi Handa <handa@m17n.org>
13579 * international/mule-cmds.el (ucs-names): Supply sufficiently
13580 fine ranges instead of pre-calculating accurate ranges.
13581 Iterate with bigger gc-cons-threshold.
13583 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13585 Add support for stashing a snapshot of the current tree.
13586 * vc-git.el (vc-git-stash-snapshot): New function.
13587 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13589 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13591 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13592 instead of `(beginning|end)-of-line'.
13594 2009-12-08 Glenn Morris <rgm@gnu.org>
13596 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13598 * Makefile.in (ELCFILES): Regenerate.
13600 2009-12-07 Juri Linkov <juri@jurta.org>
13602 Don't lazy-highlight the comint output in history Isearch mode.
13604 * comint.el (comint-history-isearch-search): Instead of
13605 `comint-line-beginning-position', use `comint-after-pmark-p'
13606 to check if point if before the process mark, and go to
13607 `process-mark' in this case.
13609 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13611 * textmodes/tex-mode.el (latex-complete)
13612 (latex-indent-or-complete): Remove.
13613 (latex-mode): Set completion-at-point-functions instead.
13615 Provide a standard completion command and hook it into TAB.
13616 * minibuffer.el (completion-at-point-functions): New var.
13617 (completion-at-point): New command.
13618 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13619 * progmodes/python.el (python-mode-map): Use completion-at-point.
13620 (python-completion-at-point): Rename from python-partial-symbol and
13621 adjust for use in completion-at-point-functions.
13622 (python-mode): Setup completion-at-point for Python completion.
13623 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13624 extracted from lisp-complete-symbol.
13625 (lisp-complete-symbol): Use it.
13626 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13627 setup completion-at-point for Elisp completion.
13628 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13629 Use completion-at-point.
13630 * ielm.el (ielm-map): Use completion-at-point.
13631 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13632 * progmodes/sym-comp.el: Move to...
13633 * obsolete/sym-comp.el: Move from progmodes.
13635 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13637 Prevent save-buffer in Rmail buffers from using the coding-system
13638 of the current message, and from clobbering the encoding mnemonics
13639 in the mode line (Bug#4623).
13641 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13643 (rmail-message-encoding): New variable.
13644 (rmail-write-region-annotate): Record the encoding of the current
13645 message in rmail-message-encoding.
13646 (rmail-after-save-hook): New function, restores the encoding of
13647 the current message after the message collection is saved.
13649 2009-12-07 Juri Linkov <juri@jurta.org>
13651 * progmodes/grep.el (grep-read-files): Use `completing-read'
13652 instead of `read-string'. Set its `collection' arg to
13653 `read-file-name-internal'. (Bug#4301)
13655 2009-12-07 Juri Linkov <juri@jurta.org>
13657 Correctly restore original Isearch point. (Bug#4994)
13659 * isearch.el (isearch-mode): Move `isearch-push-state' after
13660 `(run-hooks 'isearch-mode-hook)'.
13661 (isearch-cancel): When `isearch-push-state-function' is defined,
13662 let-bind `isearch-cmds' to the first state (the last element of
13663 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13664 function and restores the original point). Otherwise, move point
13665 to `isearch-opoint'.
13667 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13669 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13670 chars that don't have names, so the table can be built much faster at
13673 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13675 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13676 change. Suggested by David Kastrup.
13678 * simple.el (compose-mail): Check for incompatibilities and warn.
13679 (compose-mail-user-agent-warnings): New option.
13681 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13683 Support showing a single log entry from vc-annotate.
13684 * vc.el (print-log): Add a new argument: START-REVISION.
13685 (vc-print-log-internal): Add a new optional argument and
13686 pass it to the backend.
13687 (vc-print-log, vc-print-root-log): Adjust callers.
13688 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13689 buffer already displays the requested log entry, use it.
13690 Otherwise display only the log entry in question.
13691 * vc-svn.el (vc-svn-print-log):
13692 * vc-mtn.el (vc-mtn-print-log):
13693 * vc-hg.el (vc-hg-state):
13694 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13695 (vc-git-show-log-entry): Return t on success.
13696 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13697 (vc-bzr-show-log-entry): Return t on success.
13698 * vc-rcs.el (vc-rcs-print-log):
13699 * vc-sccs.el (vc-sccs-print-log):
13700 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13702 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13704 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13705 Add menus to the meta mode. (Bug#5043)
13707 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13709 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13712 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13714 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13716 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13717 Berbain <raphael.berbain@gmail.com>.
13719 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13721 (tramp-initial-end-of-output): New defconst.
13722 (tramp-methods, tramp-find-shell)
13723 (tramp-open-connection-setup-interactive-shell)
13724 (tramp-maybe-open-connection): Use it.
13725 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13726 Handle existence of `#' and `$'.
13728 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13729 Use `tramp-initial-end-of-output'.
13731 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13733 Get the background mode from the terminal for xterm, and set
13735 * term/xterm.el (xterm-set-background-mode): New function.
13736 (terminal-init-xterm): Use it in case xterm supports background
13737 color queries. Recompute faces after getting the background
13740 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13742 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13743 number comment back on its own line, for easier parsing.
13745 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13747 Make it work for non-file buffers (bug#5102).
13748 * doc-view.el (doc-view-current-cache-dir):
13749 Use doc-view-buffer-file-name rather than buffer-file-name.
13750 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13752 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13754 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13755 author field is too short.
13757 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13759 * vc-git.el (vc-git-print-log): Handle a limit argument.
13760 Display the short log in graph form and with labels.
13761 (vc-git-log-view-mode): Handle labels.
13763 Make vc-revert change VC state from 'added to 'unregistered.
13764 * vc-git.el (vc-git-revert): Call git reset first.
13766 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13768 * net/newst-backend.el, net/newst-plainview.el:
13769 * net/newst-reader.el, net/newst-ticker.el:
13770 * net/newst-treeview.el, net/newsticker.el:
13771 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13773 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13775 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13777 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13778 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13779 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13780 Update annotation regexp.
13782 * simple.el (beginning-of-visual-line): Constrain to field
13783 boundaries (Bug#5106).
13785 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13787 * xml.el (xml-substitute-numeric-entities):
13788 Move newsticker--decode-numeric-entities in newst-backend.el to
13789 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13790 * net/newst-backend.el (newsticker--parse-generic-feed)
13791 (newsticker--parse-generic-items)
13792 (newsticker--decode-numeric-entities):
13793 Move newsticker--decode-numeric-entities in newst-backend.el to
13794 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13796 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13798 * progmodes/js.el (js--js-not): Add null to the list of values.
13800 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13802 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13804 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13806 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13807 delimiter if it is at the end of the current line.
13808 (bibtex-generate-url-list): Fix docstring.
13810 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13812 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13813 minibuffer's content with itself.
13814 Fold the confirm-after-completion case into the `confirm' case.
13815 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13817 2009-12-06 Kevin Ryde <user42@zip.com.au>
13819 * ffap.el (ffap-rfc-path): Make this a defcustom since
13820 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13822 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13823 manuals, similar to existing setup for help-mode. (Bug#3913.)
13825 2009-12-05 Juri Linkov <juri@jurta.org>
13827 Save and restore dired buffer's point positions too. (Bug#4880)
13829 * dired.el (dired-save-positions): Return in the first element
13830 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13832 (dired-restore-positions): First restore buffer's position.
13833 While restoring window's positions, check if window still displays
13834 the original buffer.
13836 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13838 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13841 * shell.el (shell): Require ansi-color (Bug#5113).
13843 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13845 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13847 2009-12-05 Alan Mackenzie <acm@muc.de>
13849 * progmodes/cc-mode.el (c-before-hack-hook)
13850 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13851 `c-file-style' to work again. This reversion restores the current
13852 software to its state in Emacs 23.1. (Bug#4146)
13854 2009-12-05 Kevin Ryde <user42@zip.com.au>
13856 * textmodes/sgml-mode.el (sgml-lexical-context):
13857 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13859 2009-12-05 Juri Linkov <juri@jurta.org>
13861 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13862 for virtual nodes. (Bug#4147)
13863 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13864 when moving from a virtual node.
13865 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13866 (Info-mode): Add `Info-virtual-index' to the docstring.
13868 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13870 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13871 track of the buffer position of the end of a BibTeX entry as this
13872 position may change during reformatting.
13873 (bibtex-format-entry): Remove whitespace before processing
13874 numerical fields so that we recognize the latter properly.
13875 (bibtex-reformat): Do not use push which changes the global value
13876 of bibtex-entry-format.
13877 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13878 (bibtex-field-re-init): Replace only space characters by regexp
13880 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13881 (bibtex-initialize): Also update bibtex-strings.
13882 (bibtex-kill-field): Preserve white space at end of entry.
13883 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13884 Update bibtex-reference-keys.
13886 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13888 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13889 point after a star, if that's the only place where modifications can
13892 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13894 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13897 2009-12-04 Juri Linkov <juri@jurta.org>
13899 * proced.el (proced): Call `(proced-update t)' to update process
13900 information instead of only running proced-post-display-hook.
13901 (proced-send-signal): Add a leading space to the buffer name
13902 " *Marked Processes*" to make this buffer ephemeral.
13904 2009-12-04 Juri Linkov <juri@jurta.org>
13906 * dired.el (dired-auto-revert-buffer): New defcustom.
13907 (dired-internal-noselect): Use it.
13909 2009-12-04 Juri Linkov <juri@jurta.org>
13911 Change roles of modes and functions in image-mode.el (Bug#5062).
13913 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13914 in `auto-mode-alist'.
13915 (image-mode-previous-major-mode): New variable.
13916 (image-minor-mode-map): Rename from `image-mode-text-map'.
13917 (image-mode): Move graceful error-handling code from
13918 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13919 (image-minor-mode): Remove all image-handling code.
13920 Replace `image-mode-text-map' with `image-minor-mode-map'.
13921 Check for `image-type' in mode-line format string.
13922 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13923 (image-mode-as-text): New function with most code from
13924 `image-mode-maybe'.
13925 (image-toggle-display-text): Move code that removes image
13926 properties from `image-toggle-display' to here.
13927 (image-toggle-display-image): New function with code that adds
13928 image properties copied from `image-toggle-display'.
13929 (image-toggle-display): Remove most code with leaving only code
13930 that toggles between `image-mode-as-text' and `image-mode'.
13932 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13934 * net/newst-treeview.el
13935 (newsticker--treeview-list-highlight-start): Restored call to
13936 save-excursion: Selected item was stuck.
13937 (newsticker--treeview-list-select): New.
13938 (newsticker--treeview-item-show-text)
13939 (newsticker--treeview-item-show)
13940 (newsticker--treeview-item-update): Use new
13941 newsticker-treeview-item-mode.
13942 (newsticker-treeview-update): Keep current item.
13943 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13944 (newsticker--treeview-first-feed): Doc change.
13945 (newsticker-treeview-list-menu)
13946 (newsticker-treeview-item-menu): Add menu entries.
13947 (newsticker-treeview-item-mode): New.
13949 * net/newst-backend.el (newsticker-customize): Delete other
13952 2009-12-04 Sam Steingold <sds@gnu.org>
13954 * log-view.el (log-view-mode-map): "q" calls quit-window,
13955 like in all the other non-self-insert buffers.
13957 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13960 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13961 key decoding rather than do it manually via last-input-event +
13963 (term-exec): Use delete-and-extract-region.
13964 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13965 (term-process-pager): Remove unused var `i'.
13966 (term-dynamic-simple-complete): Make obsolete.
13967 (serial-update-config-menu): Remove unused vars `y' and `str'.
13968 (term-update-mode-line): Remove unused var `temp'.
13970 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13972 Limit the number of log entries displayed by default.
13973 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13974 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13975 using a prefix argument.
13977 2009-12-03 Glenn Morris <rgm@gnu.org>
13979 * progmodes/idlwave.el (class): Restore still useful declaration.
13981 2009-12-03 Alan Mackenzie <acm@muc.de>
13983 Enhance `c-parse-state' to run efficiently in "brace deserts".
13985 * progmodes/cc-mode.el (c-basic-common-init):
13986 Call c-state-cache-init.
13987 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13988 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13989 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13991 * progmodes/cc-langs.el (c-before-font-lock-function):
13992 c-extend-and-neutralize-syntax-in-CPP has been renamed
13993 c-neutralize-syntax-in-and-mark-CPP.
13995 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13996 with `category' properties now, not `syntax-table' ones.
13998 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13999 enhanced (but slower) version of c-end-of-macro that won't land
14000 inside a literal or on another awkward character.
14001 (c-state-cache-too-far, c-state-cache-start)
14002 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14003 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14004 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14005 (c-state-min-scan-pos, c-state-brace-pair-desert)
14006 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14007 buffer local variables.
14008 (c-state-literal-at, c-state-lit-beg)
14009 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14010 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14011 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14012 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14013 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14014 (c-renarrow-state-cache)
14015 (c-append-lower-brace-pair-to-state-cache)
14016 (c-state-push-any-brace-pair, c-append-to-state-cache)
14017 (c-remove-stale-state-cache)
14018 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14019 (c-invalidate-state-cache-1, c-parse-state-1)
14020 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14021 (c-parse-state): Enhance and refactor.
14022 (c-debug-parse-state): Amend to deal with all the new variables.
14024 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14025 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14026 modify to use category text properties rather than syntax-table ones.
14027 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14028 to switch off/on the syntactic paren property of C++ template
14029 delimiters using the category property.
14030 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14031 template delims suppressed.
14032 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14033 New constant/macros which apply category properties to the start
14034 and end of preprocessor constructs.
14035 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14036 "comment out" the syntactic value of characters in preprocessor
14038 (c-with-cpps-commented-out)
14039 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14040 with characters in all or all but one preprocessor constructs
14043 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14045 * proced.el (proced-filter-alist): Use regexp-quote.
14047 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14050 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14051 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14052 arguments. Expand `default-directory'.
14054 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14055 the benefit of returning an expanded localname.
14056 (tramp-tramp-file-p): Handle the case NAME is not a string.
14058 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14060 Add support for bzr shelve/unshelve.
14061 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14062 (vc-bzr-extra-menu-map): New variables.
14063 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14064 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14065 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14066 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14067 (vc-bzr-dir-extra-headers): Display shelves.
14069 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14071 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14073 * textmodes/bibtex.el (bibtex-complete-internal):
14074 Use completion-in-region.
14075 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14077 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14079 Support applying stashes. Improve UI.
14080 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14081 (vc-git-stash-apply, vc-git-stash-pop)
14082 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14083 (vc-git-stash-menu): New functions.
14084 (vc-git-stash-menu-map): New variable.
14085 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14087 2009-12-03 Glenn Morris <rgm@gnu.org>
14089 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14090 (vc-print-log-internal): Fix previous change.
14091 (vc-revert): Correct pluralization.
14093 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14095 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14096 it to be an alist any more.
14097 (makefile-complete): Use completion-in-region.
14099 * progmodes/octave-mod.el (octave-complete-symbol):
14100 Use completion-in-region.
14103 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14104 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14105 (idlwave-complete-class): Don't quote lambda.
14106 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14107 (idlwave-mode-map): Move initialization into declaration.
14108 (idlwave-action-and-binding): Use backquotes.
14109 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14111 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14112 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14113 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14114 `parts', and `all-parts'.
14115 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14116 (idlwave-convert-xml-system-routine-info): Remove unused string
14118 (idlwave-display-user-catalog-widget): Use dolist.
14119 (idlwave-scanning-lib): Declare dynamically-scoped var.
14120 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14121 (completion-highlight-first-word-only): Declare to silence bytecomp.
14122 (idlwave-popup-select): Tighten scope of `resp'.
14123 (idlwave-find-struct-tag): Remove unused var `beg'.
14124 (idlwave-after-load-rinfo-hook): Declare.
14125 (idlwave-sintern-class-info): Remove unused var `taglist'.
14126 (idlwave-find-class-definition): Remove unused var `list'.
14127 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14128 (idlwave-what-module-find-class): Remove unused var `classes'.
14130 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14132 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14134 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14136 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14137 buffers visited. Remove redundant current-buffer-saving.
14139 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14141 Use completion-in-buffer and remove uses of dynamic scoping.
14142 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14143 (pascal-buffer-to-use, pascal-flag): Don't declare.
14144 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14145 (pascal-get-completion-decl, pascal-keyword-completion):
14146 Add `pascal-str' argument, save-excursion,
14147 return the found completions, and don't filter with pascal-pred.
14148 (pascal-completion-cache): New var.
14149 (pascal-completion): Don't switch buffer any more (it was never
14150 necessary). Don't save-excursion any more (it's done by the called
14151 subroutines). Use a cache to avoid redundant computations.
14152 Use complete-with-action rather than pascal-completion-response and
14153 let it apply the predicate as well.
14154 (pascal-complete-word): Use completion-in-buffer when
14155 pascal-toggle-completions is nil.
14156 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14158 (pascal-comp-defun): Don't change buffer any more.
14159 Use complete-with-action rather than pascal-completion-response and
14160 let it apply the predicate as well.
14161 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14164 2009-12-02 Kenichi Handa <handa@m17n.org>
14166 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14167 shape for all Indic scripts.
14169 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14171 Use completion-in-buffer.
14172 * wid-edit.el (widget-field-text-end): New function.
14173 (widget-field-value-get): Use it.
14174 (widget-string-complete, widget-file-complete)
14175 (widget-color-complete): Use it and completion-in-region.
14176 (widget-complete): Don't narrow the buffer.
14178 2009-12-02 Glenn Morris <rgm@gnu.org>
14180 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14181 (rmail-select-summary): Use rmail-pop-to-buffer.
14182 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14183 rmail-pop-to-buffer, to prevent horizontal splits.
14185 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14186 save-excursion with save-current-buffer.
14187 Widen before searching. (Bug#5093)
14188 (diary-list-sexp-entries): Remove superfluous save-excursion.
14190 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14192 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14195 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14197 * ido.el (ido-file-internal): Handle filenames at point that do
14198 not have a directory part. (Bug#5049)
14200 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14202 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14203 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14205 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14207 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14208 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14211 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14213 * comint.el (comint-insert-input): Ignore clicks to the right of
14214 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14216 * vc.el (vc-print-log-internal): Don't wait for the process to
14217 terminate before setting up the major mode.
14219 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14222 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14225 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14227 2009-12-01 Glenn Morris <rgm@gnu.org>
14229 * window.el (window--display-buffer-2): Fix previous changes.
14231 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14233 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14235 2009-12-01 Glenn Morris <rgm@gnu.org>
14237 * Makefile.in (ELCFILES): Add mpc.elc.
14239 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14241 * mpc.el: New file.
14243 2009-12-01 Glenn Morris <rgm@gnu.org>
14245 * window.el (window-to-use): Define for compiler.
14247 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14248 consistent with others (no final period).
14250 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14251 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14253 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14255 Make vc-print-log buttons work.
14256 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14258 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14260 * savehist.el (savehist-autosave-interval): Allow setting to nil
14261 through customize. (Bug#5056)
14263 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14265 Fix references to jit-lock properties.
14266 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14267 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14268 (perl-font-lock-special-syntactic-constructs):
14269 Quote jit-lock-defer-multiline property.
14271 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14273 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14275 2009-11-30 Juri Linkov <juri@jurta.org>
14277 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14278 value `buffer' of `multi-isearch-next-buffer-current-function'.
14279 Use `(current-buffer)' when `buffer' is nil.
14280 (multi-isearch-next-buffer-from-list): Don't fallback to
14281 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14283 2009-11-30 Juri Linkov <juri@jurta.org>
14285 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14286 of buffers with `get-buffer' to `multi-isearch-buffers'.
14287 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14288 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14289 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14290 FILES with `expand-file-name' converting relative file names
14291 to absolute. Doc fix. (Bug#4727)
14293 2009-11-30 Juri Linkov <juri@jurta.org>
14295 * misearch.el (multi-isearch-read-buffers)
14296 (multi-isearch-read-matching-buffers): New functions.
14297 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14298 Use them in the `interactive' spec. Doc fix.
14299 (multi-isearch-read-files, multi-isearch-read-matching-files):
14301 (multi-isearch-files, multi-isearch-files-regexp):
14302 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14304 2009-11-30 Juri Linkov <juri@jurta.org>
14306 * doc-view.el (doc-view-continuous):
14307 Rename from `doc-view-continuous-mode'.
14308 (doc-view-menu): Move "Toggle display" to the top.
14309 Add submenu "Continuous" with radio buttons "Off"/"On"
14310 and "Save as Default".
14311 (doc-view-scroll-up-or-next-page)
14312 (doc-view-scroll-down-or-previous-page)
14313 (doc-view-next-line-or-next-page)
14314 (doc-view-previous-line-or-previous-page):
14315 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14317 2009-11-30 Juri Linkov <juri@jurta.org>
14319 * comint.el (comint-mode-map): Rebind `M-r' from
14320 `comint-previous-matching-input' to
14321 `comint-history-isearch-backward-regexp'.
14322 Unbind `M-s' to allow global key binding `M-s'.
14323 Add menu items for `comint-history-isearch-backward' and
14324 `comint-history-isearch-backward-regexp'. (Bug#3746)
14326 2009-11-30 Juri Linkov <juri@jurta.org>
14328 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14329 For def=recenter, replace `recenter' with `recenter-top-bottom'
14330 that is called with `this-command' and `last-command' let-bound
14331 to `recenter-top-bottom'. When the last `def' was not `recenter',
14332 set `recenter-last-op' to nil. (Bug#4981)
14334 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14336 Minor cleanup and simplification.
14337 * filecache.el (file-cache-add-directory)
14338 (file-cache-add-directory-recursively)
14339 (file-cache-add-from-file-cache-buffer)
14340 (file-cache-delete-file-regexp, file-cache-delete-directory)
14341 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14342 (file-cache-temp-minibuffer-message): Delete function.
14343 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14345 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14346 Don't signal an error when bumping into EOB in tr, s, or y.
14348 2009-11-29 Juri Linkov <juri@jurta.org>
14350 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14353 * descr-text.el (describe-char-unidata-list): Use lowercase name
14354 for "Unicode name" like in other tags.
14356 2009-11-29 Juri Linkov <juri@jurta.org>
14358 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14359 New compatibility macro.
14360 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14362 2009-11-29 Juri Linkov <juri@jurta.org>
14364 Add defcustom to define the cycling order of `recenter-top-bottom'.
14367 * window.el (recenter-last-op): Doc fix.
14368 (recenter-positions): New defcustom.
14369 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14370 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14372 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14374 Improve integration of Tramp and ange-ftp in eshell.
14376 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14377 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14378 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14380 * eshell/esh-util.el (top): Require also Tramp when compiling.
14381 (eshell-directory-files-and-attributes): Check for FTP remote
14383 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14384 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14385 (eshell-file-attributes): Handle ".". Return `entry'.
14387 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14388 (ange-ftp-directory-files-and-attributes)
14389 (ange-ftp-real-directory-files-and-attributes): New defuns.
14391 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14392 shell with "exec" when possible. This prevents trailing prompts
14393 in `start-file-process'.
14395 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14397 Try and remove assumptions about point-min==1.
14398 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14399 (rng-compute-mode-line-string): Show the validation percentage in
14400 terms of the narrowed text, not the widened text.
14401 (rng-do-some-validation): Don't catch internal errors when debugging.
14402 (rng-first-error): Simplify.
14403 (rng-after-change-function): Remove work around. AFAIK the bug has
14404 been fixed a while ago.
14406 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14407 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14409 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14411 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14412 `cd' doesn't always do it for us (bug#5067).
14414 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14415 on 2009-10-25 as part of some other change (bug#5067).
14417 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14419 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14421 (byte-compile-warnings): Use byte-compile-warning-types.
14422 (byte-compile-save-excursion): Warn about use of set-buffer right
14423 after save-excursion.
14425 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14426 the excursion as well.
14428 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14430 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14431 providing a Tramp related implementation of "su" and "sudo".
14432 (eshell-unix-initialize): Add "su" and "sudo".
14434 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14436 * net/socks.el (socks-send-command): Convert binary request to
14437 unibyte before sending. This fixes mishandling of some port
14438 numbers such as 129.
14440 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14442 * help.el (describe-bindings-internal): Remove `interactive'.
14444 * man.el (Man-completion-table): Trim a terminating "(".
14445 Remove the space between name page a section.
14446 Add the command's description on the `help-echo' property.
14447 Remove `process-connection-type' binding since it's unused by
14449 Provide completion for the "<section> <name>" format as well.
14450 (Man-default-man-entry): Remove spurious var shadowing the argument.
14452 2009-11-26 Kevin Ryde <user42@zip.com.au>
14454 * log-view.el: Add "Keywords: tools", since its other keywords
14455 aren't in finder-known-keywords, and following vc.el.
14457 * sha1.el (sha1-string-external): default-directory "/" in case
14458 otherwise non-existent. process-connection-type pipe for touch of
14459 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14461 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14463 Misc coding convention cleanups.
14464 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14465 hfy-init-kludge-hooks.
14466 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14467 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14468 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14470 (hfy-slant, hfy-weight): Use tables rather than code.
14471 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14472 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14473 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14474 (hfy-face-to-css): Remove `nconc' with single arg.
14475 (hfy-p-to-face-lennart): Use `or'.
14476 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14477 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14478 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14479 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14480 (hfy-force-fontification): Use run-hooks.
14482 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14484 Various minor fixes.
14485 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14486 Javascript belongs in the header, not the body.
14487 (hfy-javascript): Remove.
14488 (hfy-fontify-buffer): Don't insert it any more.
14489 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14490 Fix bug in invis handling when there were no invis props in a chunk.
14492 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14494 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14496 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14498 * finder.el (finder-mode-map): Add a menu.
14500 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14502 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14503 "unsigned" structs.
14505 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14506 fork" statement better.
14508 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14510 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14511 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14512 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14513 Reported by Clay Douglass.
14515 (verilog-auto-inst, verilog-auto-star-safe)
14516 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14517 Fix removing "// Interfaces" when saving .* expansions.
14518 Reported by Pierre-David Pfister.
14520 2009-11-26 Glenn Morris <rgm@gnu.org>
14522 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14525 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14527 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14528 Really use previous revision.
14530 2009-11-25 Kevin Ryde <user42@zip.com.au>
14532 * man.el (Man-completion-table): default-directory "/" in case
14533 doesn't otherwise exist. process-environment COLUMNS=999 so as
14534 not to truncate long names. process-connection-type pipe to avoid
14535 any chance of hitting the pseudo-tty TIOCGWINSZ.
14536 (man): completion-ignore-case t for friendliness and since man
14537 itself is case-insensitive on the command line.
14538 Further to Bug#3717.
14540 * arc-mode.el: Add "Keywords: files", so the details in its
14541 commentary can be reached from finder-by-keyword.
14542 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14543 editing mode, but it's comms related and sgml-mode.el has "comm"
14545 * textmodes/bibtex-style.el: Add "Keywords: tex".
14546 * international/isearch-x.el, international/ja-dic-cnv.el:
14547 * international/ja-dic-utl.el, international/kkc.el:
14548 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14550 2009-11-25 Juri Linkov <juri@jurta.org>
14552 * man.el (Man-completion-table): Modify regexp to include
14553 section names to completion strings. (Bug#3717)
14555 2009-11-25 Juri Linkov <juri@jurta.org>
14557 Search recursively in gzipped files. (Bug#4982)
14559 * progmodes/grep.el (grep-highlight-matches): Add new options
14560 `always' and `auto'. Doc fix.
14561 (grep-process-setup): Check `grep-highlight-matches' for
14562 `auto-detect' to determine the need to compute grep defaults.
14563 Move Windows/DOS specific --colors settings handling
14564 to `grep-compute-defaults'. Check `grep-highlight-matches'
14565 to get the value of "--color=".
14566 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14567 has the value `auto-detect'. Move Windows/DOS specific settings
14568 from `grep-process-setup'.
14569 (zrgrep): New command with alias `rzgrep'.
14571 2009-11-25 Juri Linkov <juri@jurta.org>
14573 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14574 to nil instead of switching off view-mode. (Bug#4896)
14576 2009-11-25 Juri Linkov <juri@jurta.org>
14578 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14580 * mwheel.el (mwheel-scroll-up-function)
14581 (mwheel-scroll-down-function): New defvars.
14582 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14583 `scroll-up', and `mwheel-scroll-down-function' instead of
14586 * doc-view.el (doc-view-scroll-up-or-next-page)
14587 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14588 Use this ARG in the call to image-scroll-up/image-scroll-down.
14589 Change `interactive' spec to "P". Goto next/previous page only
14590 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14591 SPC/DEL case). Doc fix.
14592 (doc-view-next-line-or-next-page)
14593 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14595 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14596 `doc-view-scroll-up-or-next-page', and buffer-local
14597 `mwheel-scroll-down-function' to
14598 `doc-view-scroll-down-or-previous-page'.
14600 2009-11-25 Juri Linkov <juri@jurta.org>
14602 Provide additional default values (directories at other Dired
14603 windows) via M-n in the minibuffer of some Dired commands.
14605 * dired-aux.el (dired-diff, dired-compare-directories)
14606 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14607 `minibuffer-default' in `minibuffer-with-setup-hook'.
14608 (dired-dwim-target-directory): Find a window that displays Dired
14609 buffer instead of failing when the next window is not Dired.
14610 Use `get-window-with-predicate' to find for the next Dired window.
14611 (dired-dwim-target-defaults): New function.
14613 * ediff-util.el (ediff-read-file-name):
14614 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14615 in `minibuffer-with-setup-hook'.
14617 2009-11-25 Juri Linkov <juri@jurta.org>
14619 Provide additional default values (file name at point or at the
14620 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14622 * minibuffer.el (read-file-name-defaults): New function.
14623 (read-file-name): Reset `minibuffer-default' to nil when
14624 it duplicates initial input `insdef'.
14625 Bind `minibuffer-default-add-function' to lambda that
14626 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14627 (minibuffer-insert-file-name-at-point): New command.
14629 * files.el (file-name-at-point-functions): New defcustom.
14630 (find-file-default): Remove defvar.
14631 (find-file-read-args): Don't use `find-file-default'.
14632 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14633 to `read-file-name'.
14634 (find-file-literally): Use `read-file-name' with
14635 `confirm-nonexistent-file-or-buffer'.
14637 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14639 * dired.el (dired-read-dir-and-switches):
14640 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14641 to `read-file-name'.
14642 (dired-file-name-at-point): New function.
14643 (dired-mode): Add hook `dired-file-name-at-point' to
14644 `file-name-at-point-functions'.
14646 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14648 Really make the *Completions* window soft-dedicated (bug#5030).
14649 * window.el (window--display-buffer-2): Add `dedicated' argument.
14650 (display-buffer): Pass it when needed so the dedicated flag is set
14651 after calling set-window-buffer, which would otherwise reset it.
14653 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14655 * progmodes/meta-mode.el (meta-complete-symbol):
14656 * progmodes/etags.el (complete-tag):
14657 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14658 Use completion-in-region.
14660 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14661 (dabbrev-completion): Use completion-in-region.
14662 (dabbrev--abbrev-at-point): Simplify regexp.
14664 * abbrev.el (abbrev--before-point): Use word-motion functions
14665 if :regexp is not specified (bug#5031).
14667 * subr.el (string-prefix-p): New function.
14669 * man.el (Man-completion-cache): New var.
14670 (Man-completion-table): Use it.
14672 * vc.el (vc-print-log-internal): Make `limit' optional for better
14673 compatibility (e.g. with vc-annotate.el).
14675 2009-11-24 Kevin Ryde <user42@zip.com.au>
14677 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14678 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14680 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14681 when .el source file not found or other error.
14683 2009-11-24 Markus Triska <markus.triska@gmx.at>
14685 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14687 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14689 Handle the [back] button properly (bug#4979).
14690 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14691 Use help-setup-xref, help-buffer, and with-help-window.
14692 (describe-char): Add `buffer' argument.
14693 Pass proper command to help-setup-xref. Don't meddle with
14694 help-xref-stack-item directly.
14695 (describe-text-category): Use with-help-window and help-buffer.
14697 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14698 for the displayed buffer (bug#4887).
14700 * man.el (Man-completion-table): New function.
14703 2009-11-24 David Reitter <david.reitter@gmail.com>
14705 * vc-git.el (vc-git-registered): Use checkout directory (where
14706 .git is) rather than the file's directory and a relative path spec
14707 to work around a bug in git.
14709 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14711 Improve handling of processes on remote hosts.
14713 * eshell/esh-util.el (eshell-path-env): New defvar.
14714 (eshell-parse-colon-path): New defun.
14715 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14717 * eshell/esh-ext.el (eshell-search-path):
14718 Use `eshell-parse-colon-path'.
14719 (eshell-remote-command): Remove argument HANDLER.
14720 (eshell-external-command): Check for FTP remote connection.
14722 * eshell/esh-proc.el (eshell-gather-process-output):
14723 Use `file-truename', in order to start also symlinked files.
14724 Apply `start-file-process' instead of `start-process'.
14725 Shorten `command' to the local file name part.
14727 * eshell/em-cmpl.el (eshell-complete-commands-list):
14728 Use `eshell-parse-colon-path'.
14730 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14732 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14733 to `eshell-directory-change-hook'.
14735 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14737 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14738 because it could be enabled automatically if view-read-only is non-nil.
14740 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14742 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14743 made on 2009-11-22.
14745 2009-11-24 Glenn Morris <rgm@gnu.org>
14747 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14748 deleted variable bookmark-bmenu-bookmark-column.
14750 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14752 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14754 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14756 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14757 two slashes to the "file:" prefix.
14758 (browse-url-file-url): De-munge Cygwin filenames before passing
14759 them to Windows browser.
14760 (browse-url-default-windows-browser): Use call-process.
14762 2009-11-23 Juri Linkov <juri@jurta.org>
14764 Implement DocView Continuous mode. (Bug#4896)
14765 * doc-view.el (doc-view-continuous-mode): New defcustom.
14766 (doc-view-mode-map): Bind C-n/<down> to
14767 `doc-view-next-line-or-next-page', C-p/<up> to
14768 `doc-view-previous-line-or-previous-page'.
14769 (doc-view-next-line-or-next-page)
14770 (doc-view-previous-line-or-previous-page): New commands.
14772 2009-11-23 Juri Linkov <juri@jurta.org>
14774 Implement Isearch in comint input history. (Bug#3746)
14775 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14776 `isearch-mode-hook'.
14777 (comint-history-isearch): New defcustom.
14778 (comint-history-isearch-backward)
14779 (comint-history-isearch-backward-regexp): New commands.
14780 (comint-history-isearch-message-overlay): New buffer-local variable.
14781 (comint-history-isearch-setup, comint-history-isearch-end)
14782 (comint-goto-input, comint-history-isearch-search)
14783 (comint-history-isearch-message, comint-history-isearch-wrap)
14784 (comint-history-isearch-push-state)
14785 (comint-history-isearch-pop-state): New functions.
14787 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14789 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14791 (tramp-handle-make-symbolic-link)
14792 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14794 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14795 (tramp-handle-process-file): Use it.
14797 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14799 * window.el (move-to-window-line-last-op): Remove.
14800 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14802 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14804 Make M-r mirror the new cycling behavior of C-l.
14805 * window.el (move-to-window-line-last-op): New var.
14806 (move-to-window-line-top-bottom): New command.
14807 (global-map): Bind M-r move-to-window-line-top-bottom.
14809 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14811 * dired-x.el (dired-guess-shell-alist-default):
14812 Support xz format. (Bug#4953)
14814 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14816 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14817 last-command-char/last-command-event.
14818 (viper-prefix-arg-value): Do correct conversion of event-char for
14821 * emulation/viper-util.el, emulation/viper.el:
14822 Use viper-last-command-char instead of
14823 last-command-char/last-command-event.
14825 * ediff-init.el, ediff-mult.el, ediff-util.el:
14826 Replace last-command-char and last-command-event
14827 with (ediff-last-command-char) everywhere.
14829 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14830 created in fundamental mode.
14832 * ediff.el (ediff-version): Revert the change of interactive-p to
14833 called-interactively-p.
14835 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14837 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14838 generation from word-movement command names.
14840 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14842 * cus-start.el (all): Add native condition for font-use-system-font.
14844 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14846 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14847 Correct the patch from 2009-11-18. (Bug#3910)
14849 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14851 * progmodes/subword.el: Rename from lisp/subword.el.
14853 * subword.el: Rename to progmodes/subword.el.
14855 * Makefile.in (ELCFILES): Adapt to subword.el move.
14857 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14858 Stefan Monnier <monnier@iro.umontreal.ca>
14860 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14861 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14862 (bookmark-bmenu-show-filenames): Use push.
14863 (bookmark-bmenu-hide-filenames): Use local var instead of
14864 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14865 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14866 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14867 filenames now that the bookmark names are always available.
14869 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14871 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14872 (bookmark-search-pattern): Move and leave unbound.
14873 (bookmark-bmenu-mode-map): Change binding.
14874 (bookmark-read-search-input): Simplify.
14875 Don't use text-char-description. Don't error on non-char events.
14876 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14877 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14878 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14879 Use a local var for the timer.
14880 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14881 (i.e. bookmark-bmenu-search).
14883 2009-11-21 Glenn Morris <rgm@gnu.org>
14885 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14887 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14889 * net/browse-url.el (browse-url-default-windows-browser):
14890 Use cygstart for cygwin.
14892 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14894 * bookmark.el: Formatting and doc fixes only:
14895 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14896 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14897 Minor grammar and punctuation fixes in doc string.
14898 (bookmark-read-search-input): Adjust to fit within 80 columns.
14900 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14902 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14903 (c-backward-into-nomenclature): Adapt to subword renaming.
14905 * subword.el (subword-forward, subword-backward, subword-mark)
14906 (subword-kill, subword-backward-kill, subword-transpose)
14907 (subword-downcase, subword-upcase, subword-capitalize)
14908 (subword-forward-internal, subword-backward-internal):
14909 Rename from forward-subword, backward-subword, mark-subword,
14910 kill-subword, backward-kill-subword, transpose-subwords,
14911 downcase-subword, upcase-subword, capitalize-subword,
14912 forward-subword-internal, backward-subword-internal.
14914 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14916 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14918 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14920 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14921 (bookmark-bmenu-filter-alist-by-regexp)
14922 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14923 (bookmark-bmenu-search): New command.
14924 (bookmark-bmenu-mode-map): Bind it.
14926 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14928 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14929 backward-subword to quit the byte-compiler.
14931 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14933 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14935 * progmodes/cc-cmds.el (c-update-modeline)
14936 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14937 Refer to subword.el functions instead of cc-subword.el.
14939 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14940 subword.el functions instead of cc-subword.el.
14942 * progmodes/cc-subword.el: Rename to subword.el.
14943 * subword.el: Rename from progmodes/cc-subword.el.
14944 (subword-mode-map): Rename from c-subword-mode-map.
14945 (subword-mode): Rename from c-subword-mode.
14946 (global-subword-mode): New global minor mode.
14947 (forward-subword): Rename from c-forward-subword.
14948 (backward-subword): Rename from c-backward-subword.
14949 (mark-subword): Rename from c-mark-subword.
14950 (kill-subword): Rename from c-kill-subword.
14951 (backward-kill-subword): Rename from c-backward-kill-subword.
14952 (transpose-subwords): Rename from c-tranpose-subword.
14953 (downcase-subword): Rename from c-downcase-subword.
14954 (capitalize-subword): Rename from c-capitalize-subword.
14955 (forward-subword-internal): Rename from c-forward-subword-internal.
14956 (backward-subword-internal): Rename from c-backward-subword-internal.
14958 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14960 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14961 from a dired buffer.
14962 (vc-dired-deduce-fileset): New function.
14963 (vc-root-diff, vc-print-root-log): Use it.
14965 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14966 nil LIMIT argument to vc-print-log-internal.
14968 2009-11-20 Glenn Morris <rgm@gnu.org>
14970 * Makefile.in (ELCFILES): Regenerate.
14972 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14974 * calc/calc.el (calc-set-mode-line):
14975 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14976 (math-format-number): Rename `math-format-complement-signed' to
14977 `math-format-twos-complement'.
14979 * calc/calc-bin.el (math-format-twos-complement): Rename from
14980 math-format-complement-signed.
14981 (calc-radix): Rename `calc-complement-signed-mode' to
14982 `calc-twos-complement-mode'.
14983 (calc-octal-radix, calc-hex-radix): Add an argument for
14986 * calc/calc-embed.el (calc-embedded-mode-vars):
14987 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14989 * calc/calc-ext.el (calc-init-extensions):
14990 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14991 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14993 * calc/calc-units.el (math-build-units-table-buffer):
14994 Let `calc-twos-complement-mode' be nil.
14996 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14999 * calc/calc-vec.el (calcFunc-vunpack):
15000 * calc/calc-aent.el (calc-do-calc-eval):
15001 * calc/calc-forms.el (math-format-date):
15002 * calc/calc-graph.el (calc-graph-plot):
15003 * calc/calc-math.el (math-use-emacs-fn):
15004 * calc/calccomp.el (math-compose-expr):
15005 Let `calc-twos-complement-mode' be nil.
15007 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15009 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15010 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15011 * minibuffer.el (completion-in-region-functions): New hook.
15012 (completion-in-region): New function.
15013 * emacs-lisp/lisp.el (lisp-complete-symbol):
15014 * pcomplete.el (pcomplete-std-complete): Use it.
15016 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15018 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15019 (latex-complete-alist): New vars.
15020 (latex-string-prefix-p, latex-complete-bibtex-keys)
15021 (latex-complete-envnames, latex-complete-refkeys)
15022 (latex-complete-data): New functions.
15023 (latex-complete, latex-indent-or-complete): New commands.
15025 * window.el (display-buffer-mark-dedicated): New var.
15026 (display-buffer): Obey it.
15027 * minibuffer.el (minibuffer-completion-help): Use it.
15029 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15031 * filecache.el (file-cache-add-file): Use push and cons.
15032 (file-cache-delete-file-regexp): Use push.
15033 (file-cache-complete): Use completion-in-region.
15035 * simple.el (with-wrapper-hook): Fix thinko.
15037 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15038 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15039 Use with-current-buffer and string-to-number.
15040 (hfy-fallback-colour-values): Use assoc-string.
15041 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15042 (hfy-face-at): Remove unused var `found-face'.
15043 (hfy-compile-stylesheet): Remove unused var `css'.
15044 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15046 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15047 Use with-current-buffer.
15048 (hfy-text-p): Use expand-file-name and fewer setq.
15050 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15052 * htmlfontify.el, hfy-cmap.el: New files.
15054 2009-11-19 Juri Linkov <juri@jurta.org>
15056 * minibuffer.el (completions-format): New defcustom.
15057 (completion--insert-strings): Implement vertical format.
15059 * simple.el (switch-to-completions): Move point to the first
15060 completion when point was at the beginning of the buffer.
15062 2009-11-19 Juri Linkov <juri@jurta.org>
15064 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15066 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15068 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15070 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15071 (mail-signature): Change default to t.
15072 (mail-from-style): Deprecate `system-default' value.
15073 (mail-insert-from-field): For default value of mail-from-style,
15074 default to `angles' unless `angles' needs quoting and `parens'
15076 (mail-citation-prefix-regexp): Use citation regexp from
15079 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15081 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15082 Set variables for computing the prompt for reading password.
15084 2009-11-19 Glenn Morris <rgm@gnu.org>
15086 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15088 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15090 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15091 (newsticker-treeview-listwindow-height): Fix custom type.
15093 2009-11-19 Kenichi Handa <handa@m17n.org>
15095 * descr-text.el (describe-char-padded-string): Compose with TAB
15096 only if there's a font for CH.
15097 (describe-char): Fix the condition for detecting a trivial composition.
15099 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15101 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15102 more accurate version of the regexp. (Bug#3910)
15104 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15106 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15108 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15110 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15111 (font-setting-change-default-font): Fix typo in docstring.
15113 2009-11-18 Alan Mackenzie <acm@muc.de>
15115 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15117 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15119 * font-setting.el (font-use-system-font): Move ...
15121 * cus-start.el (all): ... to here.
15123 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15125 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15126 Don't set `ad-return-value' if `ad-do-it' doesn't.
15128 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15131 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15133 * menu-bar.el: Put "Use system font" in Option-menu.
15134 (menu-bar-options-save): Add font-use-system-font.
15136 * loadup.el: If feature system-font-setting or font-render-setting is
15137 there, load font-setting.
15139 * Makefile.in (ELCFILES): Add font-settings.el.
15140 * font-setting.el: New file.
15142 2009-11-17 Glenn Morris <rgm@gnu.org>
15144 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15146 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15147 Preserve point in the list buffer. (Bug#4939)
15149 (newsticker--treeview-list-update-highlight)
15150 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15152 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15154 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15157 * calc/calc-ext.el (calc-init-extensions): Remove references to
15160 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15162 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15163 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15166 2009-11-16 Kevin Ryde <user42@zip.com.au>
15168 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15169 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15171 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15172 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15173 Ignore trailing spaces by omit-nulls to split-string (fixing
15174 regression from Emacs 21 due to the incompatible split-string
15175 change). (Bug #4928.)
15177 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15179 * vc.el (vc-log-show-limit): Default to 2000.
15180 (vc-print-log-internal): Insert buttons to request more entries
15181 when limiting the output.
15183 * vc-sccs.el (vc-sccs-print-log):
15184 * vc-rcs.el (vc-rcs-print-log):
15185 * vc-cvs.el (vc-cvs-print-log):
15186 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15189 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15191 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15192 error when `tramp-gvfs-dbus-event-vector' is set.
15193 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15195 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15197 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15199 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15201 * net/dbus.el (dbus-unregister-service): New defun.
15202 (dbus-register-property): Register the handlers of
15203 "org.freedesktop.DBus.Properties" for SERVICE.
15204 (dbus-property-handler): Fix docstring.
15206 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15208 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15209 Quote doc string reference in defvaralias as it is not in special form.
15210 (byte-compile-output-docform): Doc fix.
15212 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15214 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15215 (calc-complement-signed-mode): New variables.
15216 (calc-set-mode-line): Add indicator for twos-complements.
15217 (math-format-number): Format twos-complement notation.
15219 * calc/calc-bin.el (calc-word-size): Reset the variables
15220 `math-2-word-size' and `math-half-2-word-size'.
15221 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15222 (calc-symclip): New functions.
15224 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15226 * calc/calc-embed.el (calc-embedded-mode-vars):
15227 Add `calc-complement-signed-mode' to the list of modes.
15229 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15230 (calc-b-oper-keys): Add `calc-symclip' to list.
15232 * calc/calc-ext.el (math-read-number-fancy): Read complement
15234 (calc-init-extensions): Add binding for `calc-symclip'.
15235 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15237 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15239 (calc-modes-menu): Add item for twos complement mode.
15241 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15243 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15245 * register.el (jump-to-register, insert-register): Handle Semantic
15246 tags. From commented-out advice in semantic/senator.el.
15248 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15250 * vc.el (vc-log-show-limit): New variable.
15251 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15252 when using a prefix argument.
15253 (vc-print-log-internal): Add new argument LIMIT.
15255 * vc-svn.el (vc-svn-print-log):
15256 * vc-mtn.el (vc-mtn-print-log):
15257 * vc-hg.el (vc-hg-print-log):
15258 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15259 pass it to the log command when set. Make the BUFFER argument
15262 * vc-sccs.el (vc-sccs-print-log):
15263 * vc-rcs.el (vc-rcs-print-log):
15264 * vc-git.el (vc-git-print-log):
15265 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15266 ignore it. Make the BUFFER argument non-optional
15268 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15270 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15272 * dired.el (dired-mode-map): Move encryption items to "Operate"
15275 * strokes.el (strokes-update-window-configuration): Make strokes
15276 buffer current before erasing (Bug#4906).
15278 2009-11-15 Juri Linkov <juri@jurta.org>
15280 * simple.el (set-mark-default-inactive): Add :type, :group
15281 and :version. (Bug#4876)
15283 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15285 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15286 (archive-unique-fname): ... here. (Bug#4929)
15288 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15290 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15293 * novice.el (disabled-command-function): Add useful args.
15294 Setup the help buffer so that [back] works.
15295 Remove redundant call to help-mode.
15296 (disabled-command-function): Use `case'.
15297 (en/disable-command): New function extracted from enable-command.
15298 (enable-command, disable-command): Use it.
15300 2009-11-14 Glenn Morris <rgm@gnu.org>
15302 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15303 constants. (Bug#4913)
15305 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15307 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15309 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15310 defined in C that have no doc-strings. (Bug#1063)
15312 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15314 * cus-edit.el (data, files):
15315 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15317 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15319 * simple.el (shell-command): Doc fix (Bug#4891).
15321 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15323 2009-11-14 Glenn Morris <rgm@gnu.org>
15325 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15326 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15327 If they are already loaded, eval-after-load will do the right thing.
15329 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15332 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15334 * simple.el (x-selection-owner-p): Declare.
15335 (read-mail-command): Use custom radio type rather than choice.
15336 (completion-no-auto-exit): Doc fix.
15338 * custom.el (defgroup):
15339 * epg-config.el (epg): Doc fixes.
15341 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15343 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15344 * international/ccl.el (define-ccl-program): Do not purecopy the
15345 docstring, defconst does it anyway.
15347 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15349 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15352 * x-dnd.el (x-dnd-maybe-call-test-function):
15353 * window.el (split-window-vertically):
15354 * whitespace.el (whitespace-help-on):
15355 * vc-rcs.el (vc-rcs-consult-headers):
15356 * userlock.el (ask-user-about-lock-help)
15357 (ask-user-about-supersession-help):
15358 * type-break.el (type-break-force-mode-line-update):
15359 * time-stamp.el (time-stamp-conv-warn):
15360 * terminal.el (te-set-output-log, te-more-break, te-filter)
15361 (te-sentinel, terminal-emulator):
15362 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15363 (term-write-input-ring, term-check-source, term-start-output-log):
15364 (term-display-buffer-line, term-dynamic-list-completions):
15365 (term-ansi-make-term, serial-term):
15366 * subr.el (selective-display):
15367 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15368 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15369 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15370 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15371 (speedbar-remove-localized-speedbar-support)
15372 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15373 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15374 (speedbar-buffers-line-directory):
15375 * simple.el (shell-command-on-region, append-to-buffer)
15376 (prepend-to-buffer):
15377 * shadowfile.el (shadow-save-todo-file):
15378 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15379 (scroll-bar-maybe-set-window-start):
15380 * sb-image.el (speedbar-image-dump):
15381 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15382 (load-save-place-alist-from-file):
15383 * ps-samp.el (ps-print-message-from-summary):
15384 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15385 (ps-background-image, ps-begin-job, ps-do-despool):
15386 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15387 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15388 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15389 (pr-call-process, pr-file-list, pr-interface-save):
15390 * novice.el (disabled-command-function)
15391 (enable-command, disable-command):
15392 * mouse.el (mouse-buffer-menu-alist):
15393 * mouse-copy.el (mouse-kill-preserving-secondary):
15394 * macros.el (kbd-macro-query):
15395 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15396 * informat.el (batch-info-validate):
15397 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15398 * hippie-exp.el (try-expand-dabbrev-visible):
15399 * help-mode.el (help-make-xrefs):
15400 * help-fns.el (describe-variable):
15401 * generic-x.el (bat-generic-mode-run-as-comint):
15402 * finder.el (finder-mouse-select):
15403 * find-dired.el (find-dired-sentinel):
15404 * filesets.el (filesets-file-close):
15405 * files.el (list-directory):
15406 * faces.el (list-faces-display, describe-face):
15407 * facemenu.el (list-colors-display):
15408 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15409 * epg.el (epg--process-filter, epg-cancel):
15410 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15411 (epa--read-signature-type):
15412 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15413 (emerge-file-names):
15414 * ehelp.el (electric-helpify):
15415 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15416 * ediff-vers.el (rcs-ediff-view-revision):
15417 * ediff-util.el (ediff-setup):
15418 * ediff-mult.el (ediff-append-custom-diff):
15419 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15421 * echistory.el (Electric-command-history-redo-expression):
15422 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15423 * disp-table.el (describe-display-table):
15424 * dired.el (dired-find-buffer-nocreate):
15425 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15426 * dabbrev.el (dabbrev--same-major-mode-p):
15427 * chistory.el (list-command-history):
15428 * apropos.el (apropos-documentation):
15429 * allout.el (allout-obtain-passphrase):
15430 (allout-copy-exposed-to-buffer):
15431 (allout-verify-passphrase): Use with-current-buffer.
15433 2009-11-13 Glenn Morris <rgm@gnu.org>
15435 * Makefile.in (ELCFILES): Regenerate.
15437 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15439 * net/dbus.el (dbus-registered-objects-table): Rename from
15440 `dbus-registered-functions-table', because it contains also properties.
15441 (dbus-unregister-object): Unregister also properties.
15442 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15443 Use a timeout of 500 msec, in order to not block.
15444 (dbus-register-property, dbus-property-handler): New defuns.
15446 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15448 * simple.el (minibuffer-default-add-completions): Drop deprecated
15451 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15453 * textmodes/artist.el (artist-mouse-choose-operation):
15454 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15455 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15456 (artist-compute-up-event-key): New function.
15457 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15459 2009-11-13 Kenichi Handa <handa@m17n.org>
15461 * language/japan-util.el: Make sure that the value of jisx0208
15462 property is jisx0208 character.
15464 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15466 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15467 car or each item, not the whole list.
15469 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15471 * minibuffer.el (minibuffer-completion-help):
15472 Use minibuffer-hide-completions.
15474 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15476 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15477 (dired-revert): Use them (bug#4880).
15479 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15481 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15483 2009-11-12 Juri Linkov <juri@jurta.org>
15485 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15487 (find-file-literally-at-point): Alias of `ffap-literally'.
15489 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15491 * textmodes/ispell.el (ispell-skip-region-alist):
15492 * textmodes/css-mode.el (auto-mode-alist):
15493 * progmodes/compile.el (auto-mode-alist):
15494 * international/mule.el (ctext-non-standard-encodings-alist)
15495 (ctext-non-standard-encodings-regexp):
15496 * simple.el (shell-command-switch, text-read-only):
15497 * replace.el (occur-mode-map):
15498 * paths.el (rmail-file-name):
15499 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15500 * find-file.el (ff-special-constructs):
15501 * files.el (file-name-handler-alist):
15502 * composite.el: Purecopy strings.
15504 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15506 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15508 * widget.el (define-widget): Purecopy the docstring.
15509 * international/mule-cmds.el (charset): Do not purecopy the
15510 docstring here, define-widget does it.
15512 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15513 * textmodes/bibtex-style.el (auto-mode-alist):
15514 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15515 * progmodes/compile.el (compile-command):
15516 * language/korea-util.el (default-korean-keyboard):
15517 * international/mule-conf.el (file-coding-system-alist):
15518 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15519 * tooltip.el (tooltip-frame-parameters):
15520 * newcomment.el (comment-end, comment-padding):
15521 * dired.el (dired-trivial-filenames):
15522 * comint.el (comint-file-name-prefix): Purecopy initial values.
15524 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15526 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15527 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15529 (tramp-advice-make-auto-save-file-name)
15530 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15531 after removing the advice.
15533 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15535 * progmodes/grep.el (grep-regexp-alist):
15536 * international/mule-cmds.el (iso-2022-control-alist):
15537 * emacs-lisp/timer.el (timer-duration-words):
15538 * subr.el (version-separator, version-regexp-alist):
15539 * minibuffer.el (completion-styles-alist):
15540 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15541 Change defvars to defconsts.
15543 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15544 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15545 * international/mule-conf.el: Allow to be byte compiled.
15547 * international/mule.el (define-charset): Purecopy props.
15548 (load-with-code-conversion): Purecopy doc string and file name.
15549 (put-charset-property): Purecopy strings.
15550 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15552 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15553 (define-char-code-property): Correctly purecopy the table.
15555 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15557 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15559 * subr.el (add-hook): Purecopy strings.
15560 (eval-after-load): Purecopy load-history-regexp and the form.
15562 * custom.el (custom-declare-group): Purecopy load-file-name.
15564 * subr.el (menu-bar-separator): New defconst.
15565 * net/eudc.el (eudc-tools-menu):
15566 * international/mule-cmds.el (set-coding-system-map)
15567 (mule-menu-keymap):
15568 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15569 * vc-hooks.el (vc-menu-map):
15570 * replace.el (occur-mode-map):
15571 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15572 (menu-bar-edit-menu, menu-bar-goto-menu)
15573 (menu-bar-custom-menu, menu-bar-showhide-menu)
15574 (menu-bar-options-menu, menu-bar-tools-menu)
15575 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15576 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15577 (menu-bar-help-menu):
15578 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15579 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15581 * term/x-win.el (x-gtk-stock-map):
15582 * progmodes/vera-mode.el (auto-mode-alist):
15583 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15584 (inferior-lisp-program, inferior-lisp-load-command):
15585 * progmodes/hideshow.el (hs-special-modes-alist):
15586 * progmodes/gud.el (same-window-regexps):
15587 * progmodes/grep.el (grep-program, find-program, xargs-program):
15588 * net/telnet.el (same-window-regexps):
15589 * net/rlogin.el (same-window-regexps):
15590 * language/ethiopic.el (font-ccl-encoder-alist):
15591 * vc-sccs.el (vc-sccs-master-templates):
15592 * vc-rcs.el (vc-rcs-master-templates):
15593 * subr.el (cl-assertion-failed):
15594 * simple.el (next-error-overlay-arrow-position):
15595 * lpr.el (lpr-command):
15596 * locate.el (locate-ls-subdir-switches):
15597 * info.el (same-window-regexps, info)
15598 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15599 * image-mode.el (image-mode, auto-mode-alist):
15600 * hippie-exp.el (hippie-expand-ignore-buffers):
15601 * format.el (format-alist):
15602 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15604 * facemenu.el (facemenu-keybindings):
15605 * dired.el (dired-listing-switches, dired-chown-program):
15606 * diff.el (diff-switches, diff-command):
15607 * cus-edit.el (same-window-regexps):
15608 * bindings.el (mode-line-mule-info)
15609 (mode-line-buffer-identification): Purecopy strings.
15611 2009-11-11 Juri Linkov <juri@jurta.org>
15613 * simple.el (dired-get-filename) <declare-function>:
15614 Tell the byte-compiler about dired-get-filename.
15615 (shell-command): In Dired mode, get filename from the current line
15616 as the default value.
15618 2009-11-10 Glenn Morris <rgm@gnu.org>
15620 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15621 * calendar/holidays.el, progmodes/cperl-mode.el:
15622 Update x-popup-menu declarations.
15624 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15625 (list-load-path-shadows): Use dolist.
15626 (list-load-path-shadows): Use with-current-buffer.
15628 2009-11-10 Juri Linkov <juri@jurta.org>
15630 * minibuffer.el (read-file-name): Support a list of default values
15631 in `default-filename'. Use the first file name where only one
15632 element is required. Doc fix.
15634 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15636 * net/dbus.el (dbus-unregister-object): Release service, if no
15637 other method is registered for it.
15639 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15641 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15642 bookmark-sort-flag is non-nil (Bug#4653).
15644 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15646 * emulation/cua-base.el: Add CUA property to some CC mode commands
15649 2009-11-08 Kevin Ryde <user42@zip.com.au>
15651 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15652 at end of sentence (Bug#4818).
15654 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15656 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15657 Handle "see declaration of" MSFT statements (Bug#4100).
15659 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15661 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15662 (tramp-advice-file-expand-wildcards): Unload via
15663 `ad-remove-advice'.
15665 * net/trampver.el: Update release number.
15667 2009-11-08 Kevin Ryde <user42@zip.com.au>
15669 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15672 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15674 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15675 in order to keep context in SELinux.
15677 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15679 * dired-aux.el (dired-query): Place cursor in echo area and allow
15682 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15683 menu item if not on a directory (Bug#4701).
15685 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15687 Sync with Tramp 2.1.17.
15689 * net/tramp.el (tramp-handle-copy-directory): Don't use
15690 `file-remote-p' (due to compatibility).
15692 * net/tramp-compat.el (tramp-compat-copy-directory)
15693 (tramp-compat-delete-directory): New defuns.
15695 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15696 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15697 Use `tramp-compat-delete-directory'.
15699 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15700 (tramp-smb-handle-delete-directory):
15701 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15703 * net/trampver.el: Update release number.
15705 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15707 * tar-mode.el (tar-copy): Call write-region on the right buffer
15710 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15711 by hand, if necessary (Bug#4878).
15713 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15715 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15716 align size column (Bug#4839).
15718 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15721 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15723 * progmodes/ld-script.el (auto-mode-alist):
15724 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15726 * cus-face.el (custom-declare-face): Purecopy face spec.
15728 2009-11-06 Kenichi Handa <handa@m17n.org>
15730 * international/uni-bidi.el: Re-generated.
15731 * international/uni-category.el: Re-generated.
15732 * international/uni-combining.el: Re-generated.
15733 * international/uni-mirrored.el: Re-generated.
15735 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15737 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15738 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15739 (tex-start-options, slitex-run-command, latex-run-command)
15740 (tex-run-command, tex-directory):
15741 * textmodes/ispell.el (ispell-html-skip-alists)
15742 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15743 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15744 (adaptive-fill-regexp):
15745 * textmodes/dns-mode.el (auto-mode-alist):
15746 * progmodes/python.el (interpreter-mode-alist):
15747 * progmodes/etags.el (tags-compression-info-list):
15748 * progmodes/etags.el (tags-file-name):
15749 * net/browse-url.el (browse-url-galeon-program)
15750 (browse-url-firefox-program):
15751 * mail/sendmail.el (mail-signature-file)
15752 (mail-citation-prefix-regexp):
15753 * international/mule-conf.el (eight-bit):
15754 * international/latexenc.el (latex-inputenc-coding-alist):
15755 * international/fontset.el (x-pixel-size-width-font-regexp):
15756 * emacs-lisp/warnings.el (warning-type-format):
15757 * emacs-lisp/trace.el (trace-buffer):
15758 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15759 (emacs-lisp-mode-map):
15760 * calendar/holidays.el (holiday-solar-holidays)
15761 (holiday-bahai-holidays, holiday-islamic-holidays)
15762 (holiday-christian-holidays, holiday-hebrew-holidays)
15763 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15764 (hebrew-holidays-1, holiday-oriental-holidays)
15765 (holiday-general-holidays):
15766 * x-dnd.el (x-dnd-known-types):
15767 * tool-bar.el (tool-bar):
15768 * startup.el (site-run-file):
15769 * shell.el (shell-dumb-shell-regexp):
15770 * rfn-eshadow.el (file-name-shadow-tty-properties)
15771 (file-name-shadow-properties):
15772 * paths.el (remote-shell-program, news-directory):
15773 * mouse.el ([C-down-mouse-3]):
15774 * menu-bar.el (menu-bar-tools-menu):
15775 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15776 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15777 (jka-compr-compression-info-list):
15778 * isearch.el (search-whitespace-regexp):
15779 * image-file.el (image-file-name-extensions):
15780 * find-dired.el (find-ls-option):
15781 * files.el (directory-listing-before-filename-regexp)
15782 (directory-free-space-args, insert-directory-program)
15783 (list-directory-brief-switches, magic-fallback-mode-alist)
15784 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15785 (automount-dir-prefix):
15786 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15787 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15788 (face-font-registry-alternatives, face-font-registry-alternatives)
15789 (face-font-family-alternatives):
15790 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15791 (facemenu-foreground-menu, facemenu-face-menu):
15792 * epa-hook.el (epa-file-name-regexp):
15793 * dnd.el (dnd-protocol-alist):
15794 * textmodes/rst.el (auto-mode-alist):
15795 * button.el (default-button): Purecopy strings.
15797 2009-11-06 Glenn Morris <rgm@gnu.org>
15799 * Makefile.in (ELCFILES): Update.
15801 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15803 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15804 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15806 * nxml/xsd-regexp.el (xsdre-gen-categories):
15807 * nxml/xmltok.el (xmltok-parse-entity):
15808 * nxml/rng-parse.el (rng-parse-validate-file):
15809 * nxml/rng-maint.el (rng-format-manual)
15810 (rng-manual-output-force-new-line):
15811 * nxml/rng-loc.el (rng-save-schema-location-1):
15812 * nxml/rng-cmpct.el (rng-c-parse-file):
15813 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15814 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15816 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15818 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15819 Remove extra save-excursions and make-variable-buffer-local's.
15820 Suggested by Stefan Monnier.
15822 (verilog-getopt-file, verilog-module-inside-filename-p)
15823 (verilog-set-define): Merge GNU 1.35 and repair changes from
15824 switching to using with-current-buffer.
15826 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15827 being treated as a number and confusing AUTORESET.
15828 Reported by Dan Dever.
15830 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15831 Add verilog-auto-ignore-concat to fix backward compatibility with
15832 older verilog-modes. Reported by Dan Katz.
15834 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15835 containing closing anchors "...$".
15837 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15838 Reported by Wade Smith.
15840 (verilog-batch-execute-func): Comment on function usage.
15842 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15844 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15847 (verilog-label-re, verilog-calc-1): Support proper indent of named
15850 (verilog-backward-token, verilog-basic-complete-re)
15851 (verilog-beg-of-statement, verilog-indent-re): Support proper
15852 indent of the assert statement at the beginning of a block of text.
15854 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15855 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15858 2009-11-05 Glenn Morris <rgm@gnu.org>
15860 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15861 Emacs 19. (Bug#1531)
15862 (byte-compile-fix-header): Update for the above change.
15863 Drop test for epoch::version.
15865 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15866 * cus-dep.el (custom-make-dependencies):
15867 * finder.el (finder-compile-keywords):
15868 Use autoload-rubric's feature argument.
15870 * calendar/diary-lib.el (top-level): Make load behave more like require.
15872 * vc-git.el (vc-git-stash-map): Move definition before use.
15874 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15876 * custom.el (custom-declare-group): Purecopy standard-value.
15877 (custom-declare-group): Purecopy custom-prefix.
15879 * international/mule.el (load-with-code-conversion):
15880 Call do-after-load-evaluation unconditionally.
15882 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15884 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15886 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15888 2009-11-04 Glenn Morris <rgm@gnu.org>
15890 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15891 (byte-compile-compatibility): Remove option.
15892 (byte-compile-close-variables, byte-compile-fix-header)
15893 (byte-compile-insert-header, byte-compile-output-docform)
15894 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15895 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15896 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15897 (byte-compile-insert, byte-compile-defun):
15898 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15899 (byte-defop-compiler19): Remove.
15900 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15901 used by anything. Replace all calls with byte-defop-compiler.
15903 2009-11-04 Juri Linkov <juri@jurta.org>
15905 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15906 (menu-bar-options-menu): Don't quote the `prop' arg of
15907 `menu-bar-make-mm-toggle'.
15909 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15911 * calendar/calendar.el (cal-loaddefs):
15912 * calendar/diary-lib.el (diary-loaddefs):
15913 * calendar/holidays.el (hol-loaddefs):
15914 * eshell/esh-module.el (esh-groups): Load rather than require.
15916 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15918 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15920 (todo-top-priorities): Only display-buffer when called interactively.
15921 (todo-item-start): Don't save excursion point.
15922 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15923 (todo-insert-item-here, todo-file-item, todo-remove-item):
15924 Adjust uses of todo-item-start and todo-item-end.
15926 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15927 (autoload-rubric): Don't use any more.
15929 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15930 and only put a prop if it is non-nil.
15932 2009-11-03 Juri Linkov <juri@jurta.org>
15934 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15935 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15937 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15938 and "Menu" to make top-level menu item visually one unit (like
15939 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15940 multi-word menu items). Fix :help string for quit-window.
15942 2009-11-03 Glenn Morris <rgm@gnu.org>
15944 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15945 (byte-compile-file-form-define-abbrev-table)
15946 (byte-compile-file-form-custom-declare-variable)
15947 (byte-compile-variable-ref, byte-compile-defvar):
15948 Whether or not a warning is enabled should only affect whether we issue
15949 the warning, not whether or not we collect the relevant data.
15950 Eg warnings can be turned on and off throughout the course of a file.
15952 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15953 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15955 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15957 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15958 * play/mpuz.el (mpuz-create-buffer):
15959 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15960 (lm-print-y,s,noise, lm-print-w0, lm-init):
15961 * play/gomoku.el (gomoku-prompt-for-move):
15962 * play/fortune.el (fortune-in-buffer):
15963 * play/dissociate.el (dissociated-press):
15964 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15965 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15966 * mail/supercite.el (sc-eref-show):
15967 * mail/smtpmail.el (smtpmail-send-it):
15968 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15969 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15970 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15971 (rmail-summary-goto-msg, rmail-summary-expunge)
15972 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15973 (rmail-summary-add-label, rmail-summary-output-menu)
15974 (rmail-summary-output-body):
15975 * mail/rfc822.el (rfc822-addresses):
15976 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15977 * mail/mailpost.el (post-mail-send-it):
15978 * mail/hashcash.el (hashcash-generate-payment):
15979 * mail/feedmail.el (feedmail-run-the-queue)
15980 (feedmail-queue-send-edit-prompt-help-first)
15981 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15982 (feedmail-deduce-address-list):
15983 * eshell/esh-ext.el (eshell-remote-command):
15984 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15985 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15986 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15987 (viper-save-string-in-file, viper-valid-marker):
15988 * emulation/viper-keym.el (viper-toggle-key):
15989 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15990 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15991 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15992 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15993 (viper-exec-form-in-emacs, viper-brac-function):
15994 * emulation/viper.el (viper-delocalize-var):
15995 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15996 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15997 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15998 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15999 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16000 * emulation/edt.el (edt-electric-helpify):
16001 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16002 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16003 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16004 (cua-indent-to-global-mark-column):
16005 * calendar/diary-lib.el (calendar-mark-1):
16006 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16007 Use with-current-buffer.
16008 * emulation/viper.el (viper-delocalize-var): Use dolist.
16010 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16012 * comint.el (comint-replace-by-expanded-history-before-point):
16013 Replace !! with the previous input string literally (Bug#1795).
16015 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16017 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16018 to be made up of whitespace.
16020 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16022 * minibuffer.el (read-file-name): Don't use file dialogs for
16023 remote directories (Bug#99).
16025 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16027 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16029 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16031 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16032 instead of deleting the window or frame.
16034 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16036 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16037 Support face colors.
16039 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16040 New function. Support face colors (Bug#1168).
16041 (tex-common-initialization): Use it.
16043 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16044 mode allows it (Bug#1168).
16046 2009-10-31 Juri Linkov <juri@jurta.org>
16048 * facemenu.el (list-colors-display): Don't mark buffer as
16049 modified (Bug#3948).
16051 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16053 * international/mule-diag.el (list-character-sets-1):
16054 Minor message fix (Bug#3526).
16056 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16057 Fix face property (Bug#4834).
16058 (etags-list-tags, etags-tags-apropos-additional)
16059 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16062 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16065 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16067 * textmodes/two-column.el (2C-split):
16068 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16069 * textmodes/tex-mode.el (tex-set-buffer-directory):
16070 * textmodes/spell.el (spell-region, spell-string):
16071 * textmodes/reftex.el (reftex-erase-buffer):
16072 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16073 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16074 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16075 (reftex-select-item):
16076 * textmodes/reftex-ref.el (reftex-label-info-update)
16077 (reftex-offer-label-menu):
16078 * textmodes/reftex-index.el (reftex-index-change-entry)
16079 (reftex-index-phrases-info):
16080 * textmodes/reftex-global.el (reftex-create-tags-file)
16081 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16082 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16083 (reftex-view-crossref-from-bibtex):
16084 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16085 (reftex-extract-bib-entries-from-thebibliography)
16086 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16087 * textmodes/refbib.el (r2b-capitalize-title):
16088 (r2b-convert-buffer, r2b-help):
16089 * textmodes/page-ext.el (pages-directory)
16090 (pages-directory-goto-with-mouse):
16091 * textmodes/bibtex.el (bibtex-validate-globally):
16092 * textmodes/bib-mode.el (bib-capitalize-title):
16093 * textmodes/artist.el (artist-clear-buffer, artist-system):
16094 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16095 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16096 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16097 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16098 (xscheme-send-control-g-interrupt, xscheme-start-process)
16099 (xscheme-process-sentinel, xscheme-cd):
16100 * progmodes/verilog-mode.el (verilog-read-always-signals)
16101 (verilog-set-define, verilog-getopt-file)
16102 (verilog-module-inside-filename-p):
16103 * progmodes/sh-script.el:
16104 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16105 (python-pdbtrack-grub-for-buffer, python-execute-file):
16106 * progmodes/octave-inf.el (inferior-octave):
16107 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16108 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16109 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16110 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16111 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16112 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16113 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16114 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16115 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16116 (idlwave-shell-examine-display, idlwave-shell-run-region)
16117 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16118 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16119 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16120 (idlwave-help-get-help-buffer):
16121 * progmodes/gud.el (gud-basic-call, gud-find-class)
16122 (gud-tooltip-activate-mouse-motions-if-enabled):
16123 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16124 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16125 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16126 (ebrowse-tags-next-file):
16127 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16128 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16129 (ebnf-eps-finish-and-write):
16130 * progmodes/cpp.el (cpp-edit-save):
16131 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16132 * progmodes/cc-defs.el (c-emacs-features):
16133 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16134 (antlr-directory-dependencies):
16135 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16136 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16137 (ada-find-any-references, ada-make-filename-from-adaname)
16138 (ada-make-body-gnatstub):
16139 * obsolete/rnews.el (news-list-news-groups):
16140 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16141 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16142 * net/rcirc.el (rcirc-debug):
16143 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16144 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16145 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16146 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16147 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16148 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16149 (newsticker--treeview-list-clear-highlight)
16150 (newsticker--treeview-list-update-highlight)
16151 (newsticker--treeview-list-highlight-start)
16152 (newsticker--treeview-tree-update-highlight)
16153 (newsticker--treeview-get-selected-item)
16154 (newsticker-treeview-mark-list-items-old)
16155 (newsticker--treeview-set-current-node):
16156 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16157 * net/newst-backend.el (newsticker--get-news-by-funcall)
16158 (newsticker--get-news-by-wget, newsticker--image-get)
16159 (newsticker--image-sentinel):
16160 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16161 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16162 (eudc-ph-close-session):
16163 * net/eudc.el (eudc-save-options):
16164 * language/thai-word.el (thai-update-word-table):
16165 * language/japan-util.el (japanese-string-conversion):
16166 * international/titdic-cnv.el (tsang-quick-converter)
16167 (ziranma-converter, ctlau-converter):
16168 * international/mule-cmds.el (describe-language-environment):
16169 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16170 (skkdic-convert-postfix, skkdic-convert-prefix):
16171 (skkdic-convert-okuri-nasi, skkdic-convert):
16172 * emacs-lisp/re-builder.el (reb-update-overlays):
16173 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16174 * emacs-lisp/gulp.el (gulp-send-requests):
16175 * emacs-lisp/find-gc.el (trace-call-tree):
16176 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16177 (eieio-describe-generic):
16178 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16179 * emacs-lisp/edebug.el (edebug-outside-excursion):
16180 * emacs-lisp/debug.el (debugger-make-xrefs):
16181 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16182 * emacs-lisp/chart.el (chart-new-buffer):
16183 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16184 Use with-current-buffer.
16185 * textmodes/artist.el (artist-system): Don't call
16186 copy-sequence on a fresh string.
16187 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16189 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16191 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16192 is no item to edit. (Bug#4820)
16193 (todo-top-priorities): Restore point and restore narrowing in Todo
16196 2009-10-31 Glenn Morris <rgm@gnu.org>
16198 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16199 (comint-last-output-start, comint-last-input-start)
16200 (comint-last-input-end): Don't defvar when compiling.
16201 (ange-ftp-process-file): Use bound-and-true-p.
16203 * pcmpl-rpm.el (top-level): Move provide statement to end.
16204 (pcmpl-rpm): Remove unused custom group.
16206 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16208 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16210 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16211 (byte-compile-warnings): Add `constants' as an option.
16212 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16213 (display-call-tree): Update for byte-compile-fdefinition possibly
16214 returning `(macro lambda ...)'. (Bug#4778)
16215 (byte-compile-variable-ref, byte-compile-setq-default):
16216 Respect `constants' member of byte-compile-warnings.
16218 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16220 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16221 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16224 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16226 * textmodes/ispell.el (ispell-skip-region-alist):
16227 * international/mule-conf.el (eight-bit):
16228 * international/fontset.el (font-encoding-alist):
16229 * startup.el (pure-space-overflow-message):
16230 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16231 * paths.el (gnus-nntp-service, rmail-spool-directory)
16232 (term-file-prefix):
16233 * files.el (save-some-buffers-action-alist):
16234 * cmuscheme.el (same-window-buffer-names):
16235 * ielm.el (same-window-buffer-names):
16236 * shell.el (same-window-buffer-names):
16237 * mail/sendmail.el (same-window-buffer-names):
16238 * progmodes/inf-lisp.el (same-window-buffer-names):
16239 * bindings.el (mode-line-client)
16240 (mode-line-column-line-number-mode-map):
16241 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16242 (tibetan-precomposed-regexp): Purecopy string arguments.
16244 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16246 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16247 (calcDigit-nondigit):
16248 * calc/calc-yank.el (calc-copy-to-buffer):
16249 * calc/calc-units.el (calc-invalidate-units-table):
16250 * calc/calc-trail.el (calc-trail-yank):
16251 * calc/calc-store.el (calc-insert-variables):
16252 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16253 * calc/calc-prog.el (calc-read-parse-table):
16254 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16255 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16256 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16257 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16258 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16259 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16260 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16261 * calc/calc-ext.el (calc-realign):
16262 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16263 (calc-embedded-finish-edit, calc-embedded-make-info)
16264 (calc-embedded-finish-command, calc-embedded-stack-change):
16265 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16267 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16268 shell-dynamic-complete-filename in preference to
16269 comint-dynamic-complete-filename.
16271 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16272 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16273 Don't consider whether the display supports colors.
16274 (bookmark-import-new-list): Use dolist.
16275 (bookmark-bmenu-mode-map): Move initialization into declaration.
16276 (bookmark-bmenu-list): Use dolist, simplify.
16277 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16278 (menu-bar-final-items): Use push.
16280 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16282 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16283 it works on remote files.
16284 (vc-hg-diff): Don't pass any `--cwd' argument.
16286 2009-10-27 Kevin Ryde <user42@zip.com.au>
16288 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16289 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16290 (Further to Bug#3921).
16292 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16294 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16295 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16296 calling `tramp-imap-put-file'. Add file size to the call.
16297 (tramp-imap-get-file-entries): Compute also user name, file size,
16299 (tramp-imap-handle-insert-directory): Insert uid and gid.
16300 (tramp-imap-handle-file-attributes): Transform uid and gid
16301 according to `id-format'.
16302 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16303 size in header X-Size.
16305 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16307 * simple.el (transpose-subr): Give clearer error when the mark
16308 is not set. (Bug#4807)
16310 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16312 * net/tramp.el (tramp-perl-file-truename): New defconst.
16313 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16314 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16315 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16316 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16318 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16319 Ignore `dired-call-process'.
16320 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16322 2009-10-26 Julian Scheid <julians37@gmail.com>
16324 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16325 (tramp-get-remote-readlink): New defun.
16326 (tramp-handle-file-truename): Use it.
16327 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16328 file exists if cache value present.
16329 (tramp-check-cached-permissions): New defun.
16330 (tramp-handle-file-readable-p): Use it.
16331 (tramp-handle-file-writable-p): Likewise.
16332 (tramp-handle-file-executable-p): Likewise.
16333 (tramp-handle-file-name-all-completions): Try using Perl to get
16334 partial completions. When perl not available, combine `cd' and
16335 `ls' into single remote operation and use shell expansion to get
16336 partial remote directory contents. Set `file-exists-p' cache for
16337 directory and any files returned by ls. Change cache handling to
16338 support partial directory contents. Use error message emitted by
16339 remote `cd' or Perl code for local tramp-error.
16340 (tramp-do-copy-or-rename-file-directly): Avoid separate
16341 tramp-send-command-and-check call.
16342 (tramp-handle-process-file): Merge three remote ops into one.
16343 Do not flush all caches when `process-file-side-effects' is set.
16344 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16345 file-attributes shows uid/gid to be set already.
16347 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16349 * textmodes/tex-mode.el (tex-dvi-view-command)
16350 (tex-show-queue-command, tex-open-quote):
16351 * progmodes/ruby-mode.el (auto-mode-alist)
16352 (interpreter-mode-alist): Purecopy strings.
16354 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16356 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16357 string for the hook, keymap and abbrev table.
16359 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16361 * x-dnd.el (x-dnd-xdnd-to-action):
16362 * startup.el (fancy-startup-text, fancy-about-text): Change to
16363 defconst from defvar.
16365 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16367 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16368 Purecopy initialization strings.
16370 * mail/sendmail.el (mail-header-separator)
16371 (mail-personal-alias-file):
16372 * mail/rmail.el (rmail-default-dont-reply-to-names)
16373 (rmail-ignored-headers, rmail-retry-ignored-headers)
16374 (rmail-highlighted-headers, rmail-secondary-file-directory)
16375 (rmail-secondary-file-regexp):
16376 * files.el (null-device, file-name-invalid-regexp)
16377 (locate-dominating-stop-dir-regexp)
16378 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16379 (interpreter-mode-alist): Use mapcar instead of mapc.
16381 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16383 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16384 (completion-ignored-extensions):
16385 (debug-ignored-errors): Purecopy strings.
16387 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16389 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16390 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16391 (pcomplete--here): Use push.
16393 * subr.el (all-completions): Declare the 4th arg obsolete.
16395 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16397 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16398 (pcomplete-unquote-argument): New function.
16399 (pcomplete--common-suffix): Always pay attention to case.
16400 (pcomplete--table-subvert): Quote and unquote the text.
16401 (pcomplete--common-quoted-suffix): New function.
16402 (pcomplete-std-complete): Use it and pcomplete-begin.
16404 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16405 we're inside a dedicated or minibuffer window.
16407 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16409 * bookmark.el: Update documentation, especially documentation
16410 of `bookmark-alist' and of the bookmark file format.
16411 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16413 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16415 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16416 keybindings apply to the mail buffer (Bug#4003). Shrink help
16419 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16420 (global-whitespace-mode, global-whitespace-newline-mode)
16421 (whitespace-toggle-options, global-whitespace-toggle-options):
16422 Doc fix (Bug#3660).
16424 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16425 of xmltok-start before the end tag was inserted (Bug#2840).
16427 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16428 patterns that are preceded by an open-paren (Bug#1320).
16430 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16432 * files.el (delete-directory): Delete symlinks to directories with
16433 delete-file (Bug#4739).
16435 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16437 * vc.el (vc-backend-for-registration): Rename from
16438 vc-get-backend-for-registration. Update callers.
16440 * international/mule-cmds.el (set-language-info-alist):
16442 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16443 (charset): Purecopy the name.
16444 (define-char-code-property): Purecopy string arguments.
16446 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16447 Purecopy string arguments.
16449 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16450 * ediff-hook.el (menu-bar-ediff-menu):
16451 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16452 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16454 2009-10-24 Glenn Morris <rgm@gnu.org>
16456 * comint.el (comint-dynamic-list-completions):
16457 * term.el (term-dynamic-list-completions): Use choose-completion rather
16458 than obsolete alias mouse-choose-completion.
16460 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16461 file-cache-choose-completion.
16462 (file-cache-choose-completion): Handle an optional event argument.
16463 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16465 * progmodes/octave-mod.el (octave-complete-symbol):
16466 Use choose-completion if mouse-choose-completion is ever removed.
16468 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16471 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16474 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16476 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16478 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16479 Ignore `pred' now that we receive one.
16480 Handle test-completion specially.
16482 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16484 * vc.el (vc-responsible-backend): Throw an error if not backend is
16485 found. Remove the REGISTER argument. Move the code dealing with
16487 (vc-get-backend-for-registration): ... here. New function.
16488 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16489 of vc-responsible-backend, pass the file name instead of the
16492 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16494 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16496 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16497 (pcomplete-comint-setup): Don't modify a global var via
16498 accidental side-effects.
16499 (pcomplete-shell-setup): Adjust call accordingly.
16500 (pcomplete-parse-comint-arguments): Use push.
16502 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16504 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16505 Allow uncapitalized info node names (Bug#3921).
16507 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16508 to the DEBUG file (Bug#3781).
16510 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16512 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16513 dictionary entry (Bug#4579).
16515 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16517 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16518 from `rfn-eshadow-update-overlay-hook' when unloading.
16519 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16520 "rsyncc". Adjust doc string.
16521 (tramp-temp-buffer-file-name): New buffer-local defvar.
16522 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16523 Keep temporary file when indicated by method ("rsync" and
16525 (tramp-handle-write-region): Handle APPEND.
16526 (tramp-delete-temp-file-function): New defun. Added to
16527 `kill-buffer-hook'.
16529 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16531 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16533 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16535 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16536 (color-name-rgb-alist, tty-standard-colors)
16537 (tty-color-mode-alist): Change to defconst.
16539 * simple.el (mark-inactive): Purecopy message.
16541 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16542 (global-map, yank-menu):
16543 * textmodes/ispell.el (ispell-menu-map):
16544 * net/eudc.el (eudc-tools-menu):
16545 * international/mule-cmds.el (describe-language-environment-map)
16546 (setup-language-environment-map, set-coding-system-map)
16547 (mule-menu-keymap):
16548 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16549 * replace.el (occur-mode-map):
16550 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16552 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16554 * calc/calc.el (math-read-number, math-read-number-simple):
16555 Use `save-match-data'.
16557 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16559 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16560 rather than fiddling with global-map bindings, since it should only
16561 affect per-terminal settings.
16562 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16564 * minibuffer.el (completion-table-with-terminator): Allow to specify
16565 the terminator-regexp.
16567 * simple.el (switch-to-completions): Look for *Completions* in other
16570 * pcomplete.el: Allow the use of completion-tables.
16571 (pcomplete-std-complete): New command.
16572 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16573 (pcomplete--here): Use a function for `form' rather than an expression,
16574 so it can be byte-compiled.
16575 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16576 Add edebug declaration.
16577 (pcomplete-show-completions): Remove unused var `curbuf'.
16578 (pcomplete-do-complete, pcomplete-stub):
16579 Don't assume `completions' is a list of strings any more.
16581 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16583 * find-dired.el (find-name-arg): Fix typo in docstring.
16585 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16587 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16588 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16590 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16593 * comint.el (comint-read-input-ring, comint-write-input-ring)
16594 (comint-substitute-in-file-name)
16595 (comint-dynamic-complete-as-filename)
16596 (comint-dynamic-simple-complete)
16597 (comint-dynamic-list-filename-completions)
16598 (comint-dynamic-list-completions)
16599 (comint-redirect-results-list-from-process): Minor simplifications.
16601 2009-10-21 Kevin Ryde <user42@zip.com.au>
16603 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16604 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16605 the first form. And insert a blank line after ";;; Code" since
16606 that's usual style. (Bug#4612)
16608 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16610 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16612 * minibuffer.el (completion-table-with-terminator): Properly implement
16613 boundaries, in case `terminator' appears in the suffix.
16614 (completion--embedded-envvar-table): Don't return boundaries if
16615 there's no valid completion. Simplify.
16616 (completion-file-name-table): New completion table extracted from
16617 completion--file-name-table.
16618 (completion--file-name-table): Use it.
16619 (read-file-name-predicate): Declare obsolete.
16620 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16621 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16622 completion-file-name-table, and use the `pred' argument.
16623 * files.el (locate-file-completion-table): Use the `pred' arg rather
16624 than read-file-name-predicate.
16625 (abbreviate-file-name): Use \` rather than ^ for BOS.
16627 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16629 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16630 vc-responsible-backend to register, it causes problems.
16632 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16634 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16636 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16638 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16639 (tramp-smb-handle-file-attributes): Use it.
16640 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16641 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16642 `mapcar'. Use `tramp-smb-get-stat-capability'.
16643 Add `dired-filename' text properties.
16644 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16645 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16648 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16650 * subr.el (read-key-delay): Reduce to 0.01.
16651 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16654 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16656 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16658 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16659 (Info-menu): Remove unused vars `last' and `completions'.
16660 (Info-index-nodes): Remove unused var `node'.
16662 * info.el (Info-complete-menu-item): Use complete-with-action.
16664 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16666 Make vc-annotate work through copies and renames.
16667 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16668 Return the file name too.
16669 (vc-annotate-revision-at-line)
16670 (vc-annotate-find-revision-at-line)
16671 (vc-annotate-revision-previous-to-line)
16672 (vc-annotate-show-log-revision-at-line): Update to get the file
16673 name from vc-annotate-extract-revision-at-line.
16674 (vc-annotate-show-diff-revision-at-line-internal): Change the
16675 argument to mean whether to show a file diff or not. Get the file
16676 name from vc-annotate-extract-revision-at-line.
16677 (vc-annotate-show-diff-revision-at-line):
16678 Update vc-annotate-show-diff-revision-at-line call.
16679 (vc-annotate-warp-revision): Add an optional file argument.
16681 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16682 (vc-git-annotate-extract-revision-at-line): Also return the file
16685 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16686 command. Remove unused code.
16687 (vc-hg-annotate-re): Update to match --follow output.
16688 (vc-hg-annotate-extract-revision-at-line): Also return the file
16691 * vc.el: Update annotate-extract-revision-at-line documentation.
16693 2009-10-18 Kevin Ryde <user42@zip.com.au>
16695 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16696 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16698 * net/browse-url.el (browse-url): Identify alist with "consp and
16699 not functionp" and let all other things go down the `apply' leg,
16700 as suggested by Stefan. (Further to bug#4531.)
16702 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16704 * minibuffer.el (read-file-name): Check for repeat before putting
16705 a default argument in file-name-history (Bug#4657).
16707 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16708 read syntax (Bug#4737).
16710 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16712 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16714 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16715 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16716 entries and make note of obsolete tags.
16718 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16720 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16722 2009-10-18 Glenn Morris <rgm@gnu.org>
16724 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16725 grep, so that binary files (eg international/uni-bidi.el) can match.
16726 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16727 now, and in any case the file header format has changed.
16729 2009-10-17 Glenn Morris <rgm@gnu.org>
16731 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16732 (flyspell-get-word, flyspell-large-region)
16733 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16735 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16737 * Makefile.in (ELCFILES): Add ede/shell.
16739 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16741 * term/common-win.el (x-colors): Purecopy it.
16743 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16745 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16746 permissive for when the buffer is empty.
16747 (tar-header-block-tokenize): Decode the username and groupname.
16748 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16750 2009-10-17 Eric Ludlam <zappo@gnu.org>
16752 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16753 contains multibyte characters, choose first applicable coding
16754 system automatically.
16756 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16758 * international/mule-cmds.el (select-safe-coding-system): If the file
16759 has a coding cookie, use it regardless of any other setting (bug#4712).
16761 2009-10-17 Glenn Morris <rgm@gnu.org>
16763 * foldout.el (foldout-mouse-swallow-events):
16764 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16766 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16767 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16768 (dired-keep-marker-symlink, dired-dwim-target)
16769 (dired-copy-preserve-time): Do not autoload these defcustoms.
16771 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16772 messages from messing up the file coding. (Bug#4623)
16774 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16776 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16777 if no match is found for the current dictionary. (Bug#4578)
16779 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16780 optional, since that is how it is documented, and this is often called
16781 with a nil argument. (Bug#4577)
16782 (flyspell-external-point-words, flyspell-auto-correct-word)
16783 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16784 (flyspell-word-search-backward): Remove nil argument in calls to
16785 flyspell-get-word, since it is not needed now.
16787 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16789 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16791 2009-10-16 Glenn Morris <rgm@gnu.org>
16793 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16795 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16797 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16798 (ange-ftp-file-size): New function.
16799 (ange-ftp-file-attributes): Use it.
16801 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16803 * net/tramp-smb.el (tramp-smb-version): New defvar.
16804 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16807 2009-10-16 Glenn Morris <rgm@gnu.org>
16809 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16810 Maybe copy some custom properties from old to new name. (Bug#4706)
16812 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16814 * subr.el (error, sit-for, start-process-shell-command)
16815 (start-file-process-shell-command): Set the calling convention
16816 after the function definition.
16818 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16820 * subr.el (error, sit-for, start-process-shell-command)
16821 (start-file-process-shell-command): Use the new
16822 set-advertised-calling-convention feature.
16824 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16826 * international/ucs-normalize.el (ucs-normalize-version):
16828 (check-range): Adjust for Unicode 5.2.
16830 2009-10-15 Juri Linkov <juri@jurta.org>
16832 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16833 to the `menu-item' format.
16835 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16837 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16838 if the environment variable does not exist.
16840 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16841 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16843 (tramp-smb-handle-add-name-to-file)
16844 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16845 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16846 (tramp-smb-handle-file-attributes)
16847 (tramp-smb-do-file-attributes-with-stat)
16848 (tramp-smb-handle-file-local-copy)
16849 (tramp-smb-handle-insert-directory)
16850 (tramp-smb-handle-make-directory)
16851 (tramp-smb-handle-make-directory-internal)
16852 (tramp-smb-handle-make-symbolic-link)
16853 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16854 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16855 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16856 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16857 Handle long file names.
16858 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16859 process is running.
16860 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16861 Read share names with "-g" option.
16863 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16865 * net/rcirc.el (rcirc-view-log-file): New command.
16866 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16867 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16870 2009-10-15 Glenn Morris <rgm@gnu.org>
16872 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16873 from the second command-line argument.
16874 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16875 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16876 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16877 w32-batch-update-autoloads.
16878 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16879 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16881 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16882 the headers cannot be located. Simplify, subtracting superflous
16885 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16887 Replace completion-base-size by completion-base-position to fix bugs
16888 such as (bug#4699).
16889 * simple.el (completion-base-position): New var.
16890 (completion-base-size): Mark as obsolete.
16891 (choose-completion): Make it work for mouse events as well.
16892 Pass the new base-position to choose-completion-string.
16893 (choose-completion-guess-base-position): New function, extracted from
16894 choose-completion-delete-max-match.
16895 (choose-completion-delete-max-match): Use it. Make obsolete.
16896 (choose-completion-string): Use the new base-position info.
16897 (completion-root-regexp): Delete.
16898 (completion-setup-function): Preserve completion-base-position.
16899 Eliminate obsolete base-size manipulation.
16900 * minibuffer.el (display-completion-list): Don't mess with base-size.
16901 (minibuffer-completion-help): Set completion-base-position instead.
16902 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16904 * textmodes/bibtex.el (bibtex-complete):
16905 * emacs-lisp/crm.el (crm--choose-completion-string):
16906 Adjust to new calling convention.
16907 * complete.el (partial-completion-mode): Use minibufferp to avoid
16908 bumping into incompatible change to choose-completion-string-functions.
16909 * ido.el (ido-choose-completion-string): Make its calling convention
16911 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16912 base-size manipulation.
16913 (comint-dynamic-list-input-ring): Use dotimes and push.
16914 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16915 fundamental-mode. Use `or'.
16917 2009-10-14 Juri Linkov <juri@jurta.org>
16919 * misearch.el (multi-isearch-next-buffer-from-list)
16920 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16922 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16924 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16927 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16928 string we return is all made up of text from the completions rather
16929 than part from the completions and part from the input (bug#4219).
16931 * ido.el (ido-everywhere): Use define-minor-mode.
16933 * buff-menu.el (list-buffers, ctl-x-map):
16934 Mark the entry points with ;;;###autoload cookies.
16936 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16938 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16939 correctly in the detached head case.
16940 (vc-git-print-log): Remove unused binding.
16942 * vc.el (vc-responsible-backend): When a directory is passed for
16943 for registration create a VC repository if no backend is
16944 responsible for the directory argument.
16945 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16947 * vc.el: Move comments about RCS and SCCS ...
16949 * vc-sccs.el: ... here, respectively.
16951 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16953 * minibuffer.el (completion--file-name-table): Return nil if there's
16954 no file completion, even if substitute-in-file-name changed
16955 the string (bug#4708).
16957 2009-10-13 Juri Linkov <juri@jurta.org>
16959 * files-x.el (read-file-local-variable-value): Don't filter out
16960 minor modes from mode name completion (bug#4664).
16962 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16964 * international/mule-cmds.el (ucs-names): Remove exclusion of
16965 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16967 2009-10-13 Kenichi Handa <handa@m17n.org>
16969 * international/uni-name.el: Regenerated.
16971 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16973 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16974 should be automatically buffer-local, but isn't.)
16976 2009-10-12 Sam Steingold <sds@gnu.org>
16978 * progmodes/compile.el (compilation-next-error-function): Fix the
16979 timestamps if the buffer has been visited before.
16980 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16981 non-anchored patterns, like the perl one (bug#3928).
16983 2009-10-12 Glenn Morris <rgm@gnu.org>
16985 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16988 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16990 * proced.el (proced-unload-function): New function.
16992 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16993 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16996 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16998 2009-10-11 Juri Linkov <juri@jurta.org>
17000 * files-x.el (read-file-local-variable-value):
17001 Provide default value only for bound variables (bug#4664).
17003 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17005 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17006 connection methods like smb.
17008 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17011 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17012 (tramp-smb-file-name-handler-alist): Add handlers for
17013 `add-name-to-file', `make-symbolic-link'.
17014 (tramp-smb-handle-add-name-to-file)
17015 (tramp-smb-do-file-attributes-with-stat)
17016 (tramp-smb-handle-make-symbolic-link)
17017 (tramp-smb-get-cifs-capabilities): New defuns.
17018 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17019 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17020 (tramp-smb-handle-file-local-copy)
17021 (tramp-smb-handle-make-directory-internal)
17022 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17023 The file name syntax depends on cifs capabilities.
17024 (tramp-smb-handle-file-attributes):
17025 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17026 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17027 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17029 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17031 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17032 (eieio-defclass): Apply deftype handler and setf-method properties
17034 (eieio-add-new-slot): Avoid union function from cl library.
17035 (eieio--typep): New function.
17036 (eieio-perform-slot-validation): Use it.
17038 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17040 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17041 Update documentation to refer to the variables documented in r1.135.
17044 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17046 * bookmark.el (Info-suffix-list): Remove this unused variable.
17047 (bookmark-current-point): Remove this obsolete variable.
17048 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17049 Adjust for removal of bookmark-current-point.
17051 (bookmarks-already-loaded, bookmark-current-buffer)
17052 (bookmark-yank-point): Document. (Bug#4188)
17054 2009-10-10 Glenn Morris <rgm@gnu.org>
17056 * frame.el (frame-height): Doc fix.
17058 * calendar/calendar.el (calendar-split-width-threshold): New option.
17059 (calendar-basic-setup): Use calendar-split-width-threshold.
17061 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17063 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17064 Ideographic Supplement" range (U+1F200..U+1F2FF).
17066 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17068 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17069 since the list will have been rebuilt anyway. (Bug#4349)
17071 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17073 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17074 (bookmark-bmenu-execute-deletions): Don't save here, as
17075 bookmark-delete will now do so if necessary.
17076 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17079 2009-10-09 Glenn Morris <rgm@gnu.org>
17081 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17083 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17085 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17086 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17087 argument now, so the two function's behaviors will match. (Bug#3645)
17089 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17091 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17092 (tramp-file-name-real-host, tramp-file-name-port):
17093 Apply `save-match-data'.
17095 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17096 case both directories are remote.
17097 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17098 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17100 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17102 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17104 2009-10-07 Glenn Morris <rgm@gnu.org>
17106 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17109 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17111 * files-x.el (read-file-local-variable): Include some
17112 non-user-variables in the completion table (bug#4664).
17114 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17116 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17119 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17120 (tramp-smb-file-name-handler-alist): Add handler for
17121 `copy-directory', `expand-file-name', `set-file-modes'.
17122 (tramp-smb-handle-copy-directory)
17123 (tramp-smb-handle-expand-file-name)
17124 (tramp-smb-handle-set-file-modes): New defuns.
17125 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17126 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17128 (tramp-smb-handle-insert-directory): Don't flush the cache.
17129 (tramp-smb-maybe-open-connection): Check for samba client and
17132 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17134 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17135 to not error out of search for "^lisp=" fails.
17137 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17139 * makefile.w32-in (WINS_UPDATES): New macro.
17140 (custom-deps, finder-data, autoloads): Use it.
17142 2009-10-07 Glenn Morris <rgm@gnu.org>
17144 * Makefile.in (autoloads): Revert previous change.
17145 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17146 the list of preloaded files passed on the command-line, get
17147 it from src/Makefile.
17149 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17150 show the original buffer rather than a random one.
17152 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17154 * help.el (describe-no-warranty): Place point in a slightly better
17155 position in the GPLv3 text.
17157 2009-10-06 Sam Steingold <sds@gnu.org>
17159 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17160 the comm attribute is present before calling regexp-quote.
17162 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17164 * play/animate.el (animate-string): For good effect, make sure
17165 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17167 * play/animate.el (animate-sequence, animate-birthday-present):
17168 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17170 2009-10-06 Glenn Morris <rgm@gnu.org>
17172 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17174 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17175 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17176 (batch-update-autoloads): Process a string value of autoload-excludes,
17177 set during the build process.
17178 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17180 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17181 inside with-parsed... macro so that `v' is defined.
17183 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17184 * progmodes/fortran.el (fortran-end-of-block)
17185 (fortran-beginning-of-block):
17186 Also push mark in the macro case.
17188 * emerge.el (emerge-show-file-name):
17189 * calc/calc.el (calc-quit):
17190 * calc/calc-misc.el (calc-big-or-small):
17191 * calc/calc-graph.el (calc-graph-view):
17192 * calc/calc-ext.el (calc-reset):
17193 * calendar/calendar.el (calendar-basic-setup):
17194 Use window-full-height-p.
17196 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17197 header we don't understand, don't insert another. (Bug#4624)
17198 If changing mime charset, insert the new one in the right place.
17200 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17202 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17203 (cal-tex-cursor-month): Correctly increment the end date for diary and
17204 holiday listing. (Bug#4626)
17206 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17208 * help-fns.el (describe-function-1): Don't burp if the function is not
17211 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17213 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17214 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17215 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17216 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17218 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17219 (eieio-default-superclass): Reflow docstrings.
17220 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17221 (eieio-unbind-method-implementations, defmethod)
17222 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17223 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17224 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17225 (eieio-slot-originating-class-p, eieio-slot-name-index)
17226 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17227 (constructor, initialize-instance, no-next-method, object-print)
17228 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17229 Fix typos in docstrings.
17230 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17231 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17232 (next-method-p): Doc fixes.
17233 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17234 Fix typos in error messages.
17235 (eieio-defmethod): Fix typo in description of generic method.
17237 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17238 (eieio-persistent-save-interactive, slot-missing):
17239 Fix typos in docstrings.
17240 (eieio-instance-inheritor-slot-boundp): Doc fix.
17242 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17243 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17245 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17246 (eieio-custom-object-apply-reset):
17247 Fix typos in docstrings and error messages.
17249 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17250 Fix typo in docstring.
17252 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17253 (eieio-browse-tree): Doc fix.
17254 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17255 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17256 Fix typos in docstrings.
17258 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17259 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17260 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17261 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17264 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17266 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17267 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17268 Set log-view-vc-backend so that diff can work.
17270 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17272 (vc-diff-internal): Autoload this instead of vc-version-diff.
17274 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17276 * simple.el (eval-expression): Doc fix.
17278 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17280 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17282 * files.el (directory-files-no-dot-files-regexp): New defconst.
17283 (delete-directory): Use it.
17284 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17286 * net/tramp.el (tramp-verbose): Fix docstring.
17287 (tramp-methods): Add recursive option to `tramp-copy-args'.
17288 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17289 "scp1_old", "scp2_old", "rsync", "rsyncc".
17290 (tramp-default-method): Check also for `auth-source-user-or-password'.
17291 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17292 Add handler for `copy-directory'.
17293 (tramp-handle-copy-directory): New defun.
17294 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17295 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17296 Optimize sent command.
17298 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17300 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17301 window if necessary.
17303 * calendar/calendar.el (calendar-basic-setup): Don't call
17304 switch-to-buffer in a dedicated window.
17306 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17308 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17309 don't do anything related to relocating, just return nil.
17310 (bookmark-error-no-filename): New error.
17311 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17312 bookmark has no file. Don't even attempt to handle things that
17313 are not files; the whole point of custom handlers is to keep that
17314 knowledge elsewhere anyway. Tighten some comments.
17315 (bookmark-file-or-variation-thereof): Remove now-unused function.
17316 (bookmark-location): Doc string fix.
17319 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17321 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17322 don't use a file dialog, because they usually don't know how to read
17323 a directory target from the user. (Bug#4230)
17324 Also, make sure the prompt can display directories as well as files.
17326 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17328 * bookmark.el (bookmark-set, bookmark-buffer-name):
17329 Improve doc strings. (Bug#1193)
17331 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17333 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17334 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17335 (bookmark-get-annotation, bookmark-set-annotation)
17336 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17337 (bookmark-set-position, bookmark-get-front-context-string)
17338 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17339 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17340 (bookmark-jump-other-window, bookmark-handle-bookmark)
17341 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17342 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17343 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17344 Improve doc strings to say whether bookmark can be a string or
17345 a record or both, and make other consistency and clarity fixes.
17346 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17347 (bookmark-default-annotation-text, bookmark-yank-word)
17348 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17349 (bookmark-import-new-list, bookmark-maybe-rename)
17350 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17351 (bookmark-bmenu-bookmark): Give these doc strings.
17352 (bookmark-bmenu-check-position): Give this a doc string, but also
17353 add a FIXME comment about how the function may be pointless.
17354 (bookmark-default-handler): Rework doc string and change a
17355 parameter name, to clarify that this takes a bookmark record
17356 not a bookmark name.
17357 (bookmark-set): Change a parameter name to indicate its meaning,
17358 and improve the doc string a bit.
17361 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17363 * bookmark.el (bookmark-alist): Document the new `handler' element
17364 in the param alist.
17365 (bookmark-make-record-function): Adjust documentation for above.
17368 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17370 * info.el (Info-bookmark-make-record): Document this function.
17371 (Info-bookmark-jump): Document with a doc string, not just a comment.
17374 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17376 * files.el (copy-directory): New defun.
17378 * dired-aux.el (dired-copy-file-recursive): Use it.
17380 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17382 * files-x.el (modify-dir-local-variable)
17383 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17386 * recentf.el (recentf-unload-function): New function.
17388 2009-10-04 Glenn Morris <rgm@gnu.org>
17390 * window.el (window-full-height-p): Add doc string.
17392 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17394 * window.el (window-full-height-p): New function. (Bug#4543)
17396 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17398 * vc.el: Remove commented out code.
17399 (vc-derived-from-dir-mode): Remove, unused.
17400 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17402 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17404 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17405 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17406 there could be recursive loading when `default-directory' is a
17407 remote file name. (Bug#4614)
17409 2009-10-03 Glenn Morris <rgm@gnu.org>
17411 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17413 (calendar-generate-window): Test for shrinkability rather than width.
17415 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17416 reusing existing buffers, in case we happen to visit two files with the
17417 same basename. (Bug#4593)
17419 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17421 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17422 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17423 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17424 subdirs of cedet as well.
17425 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17427 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17429 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17430 Obey advertised-signature-table.
17432 * help-fns.el (help-function-arglist): Don't check
17433 advertised-signature-table.
17434 (describe-function-1): Do it here instead so it also applies to subrs.
17436 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17438 * simple.el (start-file-process): Say in the doc-string, that file
17439 handlers might not support pty association, if PROGRAM is nil.
17441 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17442 HOST and USER are strings. They are nil, when there are
17443 incomplete entries in ~/.netrc, for example.
17444 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17445 root directory ("device busy" error otherwise).
17447 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17448 Flush file properties of created directory.
17450 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17452 * makefile.w32-in (WINS_BASIC): Remove cedet.
17453 (WINS_CEDET): Add cedet.
17454 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17456 2009-10-02 Kevin Ryde <user42@zip.com.au>
17458 * net/browse-url.el (browse-url): Pass any symbol in
17459 browse-url-browser-function to `apply', since if you've mistakenly put
17460 an unbound symbol then the error is clearer. (Bug#4531)
17462 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17464 * allout.el (allout-init, allout-back-to-current-heading)
17465 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17466 (allout-ascend, allout-up-current-level, allout-end-of-level)
17467 (allout-previous-visible-heading, allout-forward-current-level)
17468 (allout-backward-current-level, allout-show-children):
17469 * apropos.el (apropos-describe-plist):
17470 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17471 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17472 * completion.el (add-completion, add-permanent-completion):
17473 * descr-text.el (describe-text-category, describe-char):
17474 * desktop.el (desktop-lazy-abort):
17475 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17476 * dired.el (dired-build-subdir-alist):
17477 * ediff.el (ediff-version):
17478 * elide-head.el (elide-head, elide-head-show):
17479 * emerge.el (emerge-version):
17481 * face-remap.el (variable-pitch-mode):
17482 * faces.el (describe-face):
17483 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17485 * files.el (find-file-existing, auto-save-mode):
17486 * font-lock.el (font-lock-fontify-buffer):
17487 * help-fns.el (describe-function, describe-variable)
17488 (describe-syntax, describe-categories):
17489 * help.el (view-lossage, describe-bindings, describe-key)
17491 * hexl.el (hexl-current-address):
17492 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17493 * info.el (Info-goto-emacs-key-command-node):
17494 * log-edit.el (log-edit-insert-cvs-template)
17495 (log-edit-insert-cvs-rcstemplate):
17496 * menu-bar.el (menu-bar-mode):
17497 * mouse.el (mouse-appearance-menu):
17498 * newcomment.el (comment-indent-new-line):
17499 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17500 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17501 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17502 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17503 * recentf.el (recentf-mode):
17504 * savehist.el (savehist-mode, savehist-save):
17505 * shadowfile.el (shadow-copy-files):
17506 * simple.el (kill-ring-save, next-line, previous-line)
17507 (normal-erase-is-backspace-mode):
17508 * strokes.el (strokes-update-window-configuration)
17509 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17510 (strokes-xpm-for-stroke):
17511 * time.el (emacs-uptime, emacs-init-time):
17512 * tutorial.el (tutorial--describe-nonstandard-key)
17513 (tutorial--detailed-help):
17514 * type-break.el (type-break-mode)
17515 (type-break-mode-line-message-mode, type-break-query-mode)
17516 (type-break-guesstimate-keystroke-threshold):
17517 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17518 * version.el (emacs-version):
17519 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17520 * winner.el (winner-mode):
17521 * calendar/timeclock.el (timeclock-in, timeclock-out)
17522 (timeclock-status-string, timeclock-change)
17523 (timeclock-workday-remaining-string)
17524 (timeclock-workday-elapsed-string)
17525 (timeclock-when-to-leave-string):
17526 * calendar/todo-mode.el (todo-add-category):
17527 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17528 * emacs-lisp/autoload.el (update-file-autoloads):
17529 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17530 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17531 (checkdoc-message-text, checkdoc-defun):
17532 * emacs-lisp/debug.el (debugger-list-functions):
17533 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17534 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17535 (eieio-describe-generic):
17536 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17537 * emacs-lisp/shadow.el (list-load-path-shadows):
17538 * emulation/cua-base.el (cua-mode):
17539 * emulation/edt.el (edt-set-scroll-margins):
17540 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17541 (tpu-toggle-regexp, tpu-toggle-search-direction)
17542 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17543 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17544 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17545 (viper-set-parsing-style-toggling-macro)
17546 (viper-set-emacs-state-searchstyle-macros):
17547 * emulation/viper.el (viper-set-hooks):
17548 * eshell/esh-mode.el (eshell-truncate-buffer):
17549 * international/mule-cmds.el (prefer-coding-system)
17550 (describe-input-method, describe-language-environment):
17551 * international/mule-diag.el (list-character-sets)
17552 (describe-character-set, describe-coding-system)
17553 (describe-fontset, list-fontsets, list-input-methods):
17554 * mail/sendmail.el (mail-signature):
17555 * net/ange-ftp.el (ange-ftp-copy-file):
17556 * net/browse-url.el (browse-url):
17557 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17558 * net/quickurl.el (quickurl-add-url):
17559 * net/rcirc.el (names, topic):
17560 * net/xesam.el (xesam-mode):
17561 * play/5x5.el (5x5-new-game):
17562 * play/yow.el (apropos-zippy):
17563 * progmodes/ada-mode.el (ada-mode-version):
17564 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17566 (f90-beginning-of-block):
17567 * progmodes/fortran.el (fortran-end-of-block)
17568 (fortran-beginning-of-block):
17569 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17570 * progmodes/python.el (python-describe-symbol, python-shell):
17571 * term/ns-win.el (ns-print-buffer):
17572 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17573 * textmodes/flyspell.el (flyspell-mode-on):
17574 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17575 (pages-directory-for-addresses):
17576 * textmodes/table.el (table-recognize-cell)
17577 (table-query-dimension, table-generate-source)
17578 (table-insert-sequence, table--warn-incompatibility):
17579 * textmodes/tex-mode.el (tex-validate-buffer):
17580 * textmodes/texinfmt.el (texinfmt-version)
17581 (texinfo-format-buffer):
17582 Use `called-interactively-p' instead of `interactive-p'.
17584 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17586 * image-mode.el (image-toggle-display):
17587 * emacs-lisp/elp.el (elp-instrument-function):
17588 * emacs-lisp/advice.el (ad-make-advised-definition):
17589 * emacs-lisp/easy-mmode.el (define-minor-mode):
17590 * net/browse-url.el (browse-url-maybe-new-window):
17591 * progmodes/sh-script.el (sh-learn-buffer-indent):
17592 Pass new argument 'any to `called-interactively-p'.
17594 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17596 * international/uni-bidi.el:
17597 * international/uni-category.el:
17598 * international/uni-combining.el:
17599 * international/uni-comment.el:
17600 * international/uni-decimal.el:
17601 * international/uni-decomposition.el:
17602 * international/uni-digit.el:
17603 * international/uni-lowercase.el:
17604 * international/uni-mirrored.el:
17605 * international/uni-name.el:
17606 * international/uni-numeric.el:
17607 * international/uni-old-name.el:
17608 * international/uni-titlecase.el:
17609 * international/uni-uppercase.el:
17610 Regenerate from Unicode 5.2.0 data.
17612 2009-10-01 Glenn Morris <rgm@gnu.org>
17614 * Makefile.in (ELCFILES): Regenerate.
17616 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17618 * subr.el (interactive-p): Mark obsolete.
17619 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17620 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17621 advertised-signature-table for subroutines as well.
17623 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17624 (set-advertised-calling-convention): New function.
17625 (make-obsolete, define-obsolete-function-alias)
17626 (make-obsolete-variable, define-obsolete-variable-alias):
17627 Make the optional-ness of `when' obsolete.
17628 (define-obsolete-face-alias): Make `when' non-optional.
17629 * help-fns.el (help-function-arglist):
17630 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17631 Use advertised-signature-table.
17633 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17635 * files.el (delete-directory): New defun. The original function
17636 in fileio.c has been renamed to `delete-directory-internal'.
17638 * dired.el (dired-delete-file): Call `delete-directory' with
17639 RECURSIVE parameter.
17641 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17642 parameter RECURSIVE. Implementation is missing.
17644 * net/tramp.el (tramp-handle-make-directory): Flush upper
17645 directory's file properties.
17646 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17647 (tramp-handle-dired-recursive-delete-directory): Flush directory
17648 properties after the remove command only.
17650 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17651 Handle optional parameter RECURSIVE.
17653 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17654 Handle optional parameter RECURSIVE.
17656 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17657 connection timeout.
17658 (tramp-smb-handle-delete-directory): Handle optional parameter
17661 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17663 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17664 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17665 (byte-compile-defmacro): Use backquotes.
17667 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17669 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17670 has no associated file.
17671 (vc-resynch-buffer): Use vc-dir-buffers.
17673 2009-10-01 Glenn Morris <rgm@gnu.org>
17675 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17676 (chart-file-count):
17677 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17678 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17679 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17680 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17681 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17682 (eieio-copy-parents-into-subclass, make-instance, class-children)
17683 (eieio-generic-form):
17685 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17686 match-data. (Bug#4555).
17688 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17689 rather than parsing it as a regexp. This relaxes the layout
17690 requirements and makes errors easier to detect.
17691 (check-declare-verify): Check file is regular.
17692 (check-declare-directory): Doc fix.
17693 * subr.el (declare-function): Doc fix.
17695 * ibuffer.el (ibuffer-format-qualifier):
17696 * isearch.el (hi-lock-regexp-okay):
17697 * calc/calc.el (math-zerop):
17698 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17699 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17700 Remove unused declarations.
17702 2009-09-30 Eric Ludlam <zappo@gnu.org>
17704 * emacs-lisp/eieio.el (boolean-p): Delete.
17706 2009-09-30 Glenn Morris <rgm@gnu.org>
17708 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17710 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17711 filename is not a string.
17713 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17715 * files.el (safe-local-eval-forms): Fix typo.
17717 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17719 * vc-hooks.el (vc-dir-buffers): New var.
17720 (vc-state-refresh): New function.
17721 (vc-state): Use it.
17722 (vc-after-save): Always ask the backend to recompute the new state.
17723 Always call vc-dir if necessary, using vc-dir-buffers.
17724 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17725 Use vc-dir-buffers.
17726 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17727 (vc-dir-prepare-status-buffer, vc-dir-update)
17728 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17729 Don't call expand-file-name on default-directory.
17731 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17733 * speedbar.el (speedbar-item-delete):
17734 * calc/calc-prog.el (calc-kbd-if):
17735 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17737 * epa.el (epa-key-list-mode-map):
17738 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17740 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17741 (hs-show-hook): Fix typo in docstring.
17743 2009-09-29 Glenn Morris <rgm@gnu.org>
17745 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17746 file-name-nondirectory call preventing location of cedet files.
17747 (check-declare-verify): Use literal search rather than re-search.
17748 Add basic defmethod and defclass, and define-overloadable-function.
17750 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17751 Use tramp-compat-file-attributes rather than nonexistent
17752 tramp-compat-handle-file-attributes.
17754 * Makefile.in (lisptagsfiles4): New.
17755 (AUTOGENEL): Add cedet loaddefs files.
17756 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17757 (update-elclist, compile-always, backup-compiled-files)
17758 (bootstrap-clean): Add yet another directory level.
17759 (update-elclist): Use LC_COLLATE rather than COLLATE.
17760 (ELCFILES): Update, via `make update-elclist'.
17762 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17764 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17765 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17766 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17768 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17770 * Makefile.in (lisptagsfiles3): Define.
17771 (TAGS, TAGS-LISP): Use it.
17772 (update-elclist): Add third directory level to look for elc files.
17773 (compile-always): Likewise.
17774 (backup-compiled-files): Likewise.
17775 (bootstrap-clean): Likewise.
17776 (ELCFILES): Update.
17778 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17780 * Makefile.in (ELCFILES): Add CEDET files.
17782 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17784 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17786 * net/tramp.el (top): Require tramp-imap.
17788 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17789 Use `tramp-compat-handle-file-attributes'.
17791 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17793 * net/tramp-imap.el: New package.
17795 2009-09-28 Eric Ludlam <zappo@gnu.org>
17797 * emacs-lisp/chart.el:
17798 * emacs-lisp/eieio-base.el:
17799 * emacs-lisp/eieio-comp.el:
17800 * emacs-lisp/eieio-custom.el:
17801 * emacs-lisp/eieio-datadebug.el:
17802 * emacs-lisp/eieio-opt.el:
17803 * emacs-lisp/eieio-speedbar.el:
17804 * emacs-lisp/eieio.el: New files.
17806 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17808 * whitespace.el (whitespace-trailing-regexp)
17809 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17812 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17814 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17817 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17818 menu-bar-ediff-menu.
17820 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17821 define-overloadable-function.
17823 * progmodes/autoconf.el: Provide autoconf as well, so that this
17824 file can be `require'd.
17826 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17828 * emacs-lisp/autoload.el (generated-autoload-feature)
17829 (generated-autoload-load-name): New vars.
17830 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17831 (make-autoload): Recognize define-overloadable-function and
17832 defclass forms (for EIEIO).
17834 * Makefile.in (update-subdirs): Exclude cedet directory.
17836 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17838 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17840 * faces.el: Default light-background background for region face to
17841 ns_selection_color under NS.
17843 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17845 * net/imap-hash.el: New library, see NEWS.
17847 * Makefile.in (ELCFILES): Add imap-hash.el.
17849 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17851 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17852 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17853 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17854 definition where the docstring could be taken for the return value.
17856 2009-09-26 Glenn Morris <rgm@gnu.org>
17858 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17859 Add option to only show images below a certain size.
17860 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17861 save-excursion calls.
17863 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17865 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17866 subdirectories) and eieio.
17868 2009-09-26 Alan Mackenzie <acm@muc.de>
17870 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17871 Correct buggy bracketing. (Bug#4289)
17873 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17874 character constants (as case labels). (Bug#4289)
17876 2009-09-25 Juri Linkov <juri@jurta.org>
17878 * files.el (safe-local-eval-forms): Allow time-stamp in
17879 before-save-hook (Bug#4554).
17881 2009-09-25 Drew Adams <drew.adams@oracle.com>
17883 * menu-bar.el (list-buffers-directory): Doc fix.
17885 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17887 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17888 Try and avoid copying twice the same paragraph.
17889 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17890 Remove save-excursion.
17891 (log-edit-changelog-entry): Do it here instead.
17893 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17895 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17896 when available, instead of hardcoding mode names. Doc fix.
17898 * menu-bar.el (list-buffers-directory): Add docstring.
17899 Make automatically buffer-local.
17901 * dired.el (dired-mode):
17902 * files.el (cd-absolute):
17903 * pcvs.el (cvs-temp-buffer):
17904 * pcvs-util.el (cvs-get-buffer-create):
17905 * shell.el (shell-mode):
17906 * vc-dir.el (vc-dir-mode):
17907 Don't make `list-buffers-directory' buffer local.
17909 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17911 * comint.el (comint-exec, comint-run, make-comint):
17912 Doc fixes (Bug#4542).
17914 2009-09-25 Glenn Morris <rgm@gnu.org>
17916 * mail/rmailmm.el (rmail-mime): New custom group.
17917 Move all defcustoms in this file into this group.
17918 (rmail-mime-media-type-handlers-alist): Revert previous change.
17919 (rmail-mime-show-images): New option.
17920 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17921 references to it, since it wasn't actually used for anything.
17922 (rmail-mime-insert-image): New function.
17923 (rmail-mime-image): Use rmail-mime-insert-image.
17924 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17925 obey the value of `rmail-mime-show-images' option. Print the size of
17928 2009-09-25 David Engster <deng@randomsample.de>
17930 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17932 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17934 * whitespace.el: Does not highlight trailing spaces While point is
17935 at end of line. Does not highligt spaces at beginning of buffer
17936 while point is at beginning of buffer. Does not highlight spaces
17937 at end of buffer while point is at end of buffer. (Bug#4177)
17939 (whitespace-display-mappings): Adjust initialization.
17940 (whitespace-point, whitespace-font-lock-refontify): New vars.
17941 (whitespace-color-on, whitespace-color-off): Adjust code.
17942 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17943 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17944 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17946 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17948 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17950 * textmodes/sgml-mode.el: Remove xml-mode alias.
17952 * files.el (auto-mode-alist, conf-mode-maybe)
17953 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17955 2009-09-24 Alan Mackenzie <acm@muc.de>
17957 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17958 c-forward-conditionals, but it doesn't move point and doesn't set
17960 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17961 (c-down-conditional-with-else, c-backward-conditional)
17962 (c-forward-conditional): Refactor to use c-scan-conditionals.
17964 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17966 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17967 (help-default-arg-highlight): Remove.
17968 (help-highlight-arg): New function.
17969 (help-do-arg-highlight): Use it.
17970 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17972 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17974 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17975 Undo last change, which didn't fix the problem and introduced others.
17977 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17979 * progmodes/gdb-mi.el: Don't require speedbar.
17980 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17982 2009-09-24 Glenn Morris <rgm@gnu.org>
17984 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17986 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17988 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17989 there is no newline after the final mime boundary. (Bug#4539)
17990 Move markers on insertion so that any buttons inserted don't end up in
17991 the next part of a multipart message.
17992 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17993 (rmail-mime-bulk-handler): Optionally handle images.
17994 (rmail-mime-image): New button action.
17995 (rmail-mime-image-handler): New function.
17996 (rmail-mime-mode): New mode.
17997 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17999 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18001 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18002 than just dropping elements from it (bug#4504).
18004 * term.el (term-set-scroll-region): Don't move cursor any more.
18005 (term-handle-ansi-escape): Call term-goto here instead.
18006 Suggested by Ivan Kanis <apple@kanis.eu>.
18008 * term.el: Require CL.
18009 (term-ansi-reset): New function.
18010 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18011 (term-handle-colors-array): Simplify.
18013 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18015 * allout.el (allout-overlay-interior-modification-handler)
18016 (allout-obtain-passphrase):
18017 * epa-file.el (epa-file-write-region):
18018 * ps-print.el (ps-begin-job):
18019 * vc-hooks.el (vc-toggle-read-only):
18020 * vc-rcs.el (vc-rcs-rollback):
18021 * vc-sccs.el (vc-sccs-rollback):
18022 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18023 (vc-version-diff, vc-revert, vc-rollback):
18024 * wdired.el (wdired-check-kill-buffer):
18025 * emacs-lisp/authors.el (authors):
18026 * net/socks.el (socks-open-connection):
18027 * net/zeroconf.el (zeroconf-service-add-hook):
18028 * obsolete/vc-mcvs.el (vc-mcvs-register):
18029 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18030 (gdb-select-frame):
18031 * progmodes/grep.el (lgrep, rgrep):
18032 * progmodes/idlw-help.el (idlwave-help-check-locations)
18033 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18034 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18035 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18036 (reftex-toc-rename-label): Fix typos in error messages.
18038 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18039 (dired-copy-how-to-fn): Doc fix.
18040 (dired-files-attributes, dired-read-shell-command):
18041 Fix typos in docstrings.
18043 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18044 (dired-x-find-file-other-window): Reflow docstrings.
18045 (dired-omit-marker-char, dired-read-shell-command)
18046 (dired-x-submit-report): Fix typos in docstrings.
18048 * shell.el (shell-mode-hook):
18049 * view.el (View-scroll-line-forward):
18050 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18051 Fix typos in docstrings.
18053 * net/dig.el (dig-invoke): Fix typo in docstring.
18054 (query-dig): Reflow docstring.
18056 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18057 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18058 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18059 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18060 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18061 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18062 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18063 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18064 (idlwave-completion-map, idlwave-current-indent)
18065 (idlwave-custom-ampersand-surround, idlwave-customize)
18066 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18067 (idlwave-define-abbrev, idlwave-determine-class-special)
18068 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18069 (idlwave-end-block-reg, idlwave-end-of-statement)
18070 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18071 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18072 (idlwave-explicit-class-listed, idlwave-file-header)
18073 (idlwave-fill-paragraph, idlwave-find-class-definition)
18074 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18075 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18076 (idlwave-in-quote, idlwave-indent-action-table)
18077 (idlwave-indent-expand-table, idlwave-indent-line)
18078 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18079 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18080 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18081 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18082 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18083 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18084 (idlwave-outlawed-buffers, idlwave-popup-select)
18085 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18086 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18087 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18088 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18089 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18090 (idlwave-statement-type, idlwave-struct-skip)
18091 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18092 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18093 (idlwave-what-module-find-class): Fix typos in docstrings.
18094 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18095 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18096 (idlwave-find-module, idlwave-find-structure-definition)
18097 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18098 (idlwave-list-load-path-shadows, idlwave-next-statement)
18099 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18100 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18101 (idlwave-template): Reflow docstrings.
18103 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18104 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18105 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18106 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18107 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18108 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18109 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18110 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18111 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18112 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18113 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18114 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18115 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18116 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18117 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18118 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18119 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18120 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18121 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18122 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18123 Fix typos in docstrings.
18124 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18125 (idlwave-shell-hide-output, idlwave-shell-mode)
18126 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18129 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18131 2009-09-24 Ivan Kanis <apple@kanis.eu>
18133 * term.el (term-bold-attribute): New var.
18134 (term-handle-colors-array): Use it.
18136 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18138 * progmodes/gdb-mi.el (gdb-version): New variable.
18139 (gdb-non-stop-handler): Set gdb-version.
18140 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18141 Condition "--thread" option on gdb-version.
18142 (gdb-invalidate-threads): Remove unused argument.
18144 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18146 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18147 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18149 2009-09-23 Glenn Morris <rgm@gnu.org>
18151 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18152 replying to mail without References or Message-Id. (Bug#4525)
18154 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18156 * term/ns-win.el (ns-reg-to-script): New variable.
18158 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18160 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18162 2009-09-22 Sam Steingold <sds@gnu.org>
18164 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18165 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18166 to 1 because hg returns status 1 when nothing is found.
18167 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18169 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18171 * textmodes/fill.el: Convert to utf-8 encoding.
18172 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18175 * add-log.el (change-log-fill-forward-paragraph): New function.
18176 (change-log-mode): Use it so fill-region DTRT.
18177 Set fill-indent-according-to-mode here rather than in
18178 change-log-fill-paragraph.
18179 (change-log-fill-paragraph): Remove.
18181 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18183 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18184 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18186 2009-09-22 Glenn Morris <rgm@gnu.org>
18188 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18189 the scroll-bar scroll the calendar window rather than the buffer.
18191 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18192 commands that move point (as opposed to scrolling).
18194 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18196 * emacs-lisp/elint.el (elint): New custom group.
18197 (elint-log-buffer): Make it a defcustom.
18198 (elint-scan-preloaded, elint-ignored-warnings)
18199 (elint-directory-skip-re): New options.
18200 (elint-builtin-variables): Doc fix.
18201 (elint-preloaded-env): New variable.
18202 (elint-unknown-builtin-args): Add an entry for encode-time.
18203 (elint-extra-errors): Make it a variable rather than a constant.
18204 (elint-preloaded-skip-re): New constant.
18205 (elint-directory): Skip files matching elint-directory-skip-re.
18206 (elint-features): New variable, local to linted buffers.
18207 (elint-update-env): Initialize elint-features. Possibly add
18208 elint-preloaded-env to the buffer's environment.
18209 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18211 (elint-init-form): New function, extracted from elint-init-env.
18212 Make non-list forms a warning rather than an error.
18213 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18214 easy-menu-define, put that adds an error-condition, and provide.
18215 When requiring cl, also require cl-macs. Really require cl, to handle
18216 some cl macros. Store required libraries in the list elint-features,
18217 so as not to re-load them. Treat cc-require like require.
18218 (elint-init-env): Call elint-init-form to do the work.
18219 Handle eval-and-compile and such like.
18220 (elint-add-required-env): Do not clear messages.
18221 (elint-special-forms): Add handlers for function, defalias, if, when,
18223 (elint-form): Add optional argument to ignore elint-special-forms,
18224 useful to prevent recursive calls from handlers. Doc fix.
18225 Respect elint-ignored-warnings.
18226 (elint-form): Respect elint-ignored-warnings.
18227 (elint-bound-variable, elint-bound-function): New variables.
18228 (elint-unbound-variable): Respect elint-bound-variable.
18229 (elint-get-args): Respect elint-bound-function.
18230 (elint-check-cond-form): Add some simple handling for (f)boundp and
18232 (elint-check-defalias-form): New handler.
18233 (elint-check-let-form): Make an empty let a warning rather than an
18235 (elint-check-setq-form): Make an empty setq a warning rather than an
18236 error. Respect elint-ignored-warnings.
18237 (elint-check-defvar-form): Accept null doc-strings.
18238 (elint-check-conditional-form): New handler. Does some simple-minded
18239 checking of featurep and (f)boundp tests.
18240 (elint-put-function-args): New function.
18241 (elint-initialize): Use elint-scan-doc-file rather than
18242 elint-find-builtin-variables. Use elint-put-function-args.
18243 Possibly scan preloaded-file-list.
18244 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18245 extend to handle functions as well.
18247 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18249 * linum.el (linum-delete-overlays, linum-update-window):
18250 Do not modify the right margin. (Bug#3971)
18252 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18254 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18255 Use nxml-mode instead of xml-mode.
18257 2009-09-21 Kevin Ryde <user42@zip.com.au>
18259 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18261 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18263 * net/dig.el (dig-mode): Use define-derived-mode.
18265 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18267 * vc-dispatcher.el (vc-do-command): Return the process object in
18268 the asynchronous case. Use when instead of if. Do not run
18269 vc-exec-after to display a message if not enabled. (Bug#4463)
18271 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18272 properties to the stash strings.
18273 (vc-git-stash-list): Return a list of strings.
18274 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18275 (vc-git-stash-show-at-point): New functions.
18276 (vc-git-stash-map): New keymap.
18278 * register.el (ctl-x-r-map): Define the keys here instead of
18281 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18283 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18284 list, to workaround performance problem (bug#4485).
18286 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18288 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18290 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18292 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18293 Document that this option is not recommended to use.
18295 2009-09-19 Glenn Morris <rgm@gnu.org>
18297 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18300 * calc/calc-alg.el (var):
18301 * calc/calcalg2.el (var): Define for compiler.
18303 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18305 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18306 Doc fix (Bug#3932).
18308 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18310 * time-stamp.el (time-stamp-month-dd-yyyy)
18311 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18312 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18313 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18314 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18315 Remove functions that have been obsolete since 1995 (Bug#4436).
18317 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18318 indent buffer only if called interactively (Bug#4452).
18320 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18321 Eli Zaretskii <eliz@gnu.org>
18323 This fixes bug#4197 (merged to bug#865, though not identical).
18324 * server.el (server-auth-dir): Add docstring note about FAT32.
18325 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18326 but warn against using them.
18328 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18330 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18331 older GDB where there is no has_more field.
18333 2009-09-19 Glenn Morris <rgm@gnu.org>
18335 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18337 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18339 * files.el (auto-mode-alist): Change default for XML files to nXML
18342 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18344 * server.el (server-ensure-safe-dir): Pass 'integer
18345 to `file-attributes', as suggested.
18347 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18349 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18350 (dired-query): Use read-key.
18352 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18354 * cus-start.el (ns-use-qd-smoothing): Remove.
18356 2009-09-18 Glenn Morris <rgm@gnu.org>
18358 * allout.el (top-level): Remove unnecessary progn.
18360 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18362 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18363 definition of abbrev table.
18365 * speedbar.el (speedbar-track-mouse):
18366 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18367 * net/eudc.el (eudc-expand-inline):
18368 * net/newst-backend.el (newsticker--cache-read-feed):
18369 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18370 condition-case handlers.
18372 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18374 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18375 (gdb-var-list): Add an element for has_more field.
18376 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18377 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18378 (gdb-var-update-handler-1): Parse output of dynamic variable
18379 objects (STL containers).
18380 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18381 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18383 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18385 (gud-speedbar-buttons): Make node expandable if expression "has more"
18388 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18390 * startup.el (emacs-quick-startup): Remove variable and all uses.
18391 (command-line): Set `inhibit-x-resources' instead.
18392 (command-line-1): Use `inhibit-x-resources' instead.
18394 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18396 * subr.el: Fix last change to avoid using the `unless' macro,
18397 which breaks bootstrapping.
18399 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18401 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18402 extended definitions, in case we reload subr.el after having
18404 (eval-next-after-load): Mark as obsolete.
18406 2009-09-17 Juri Linkov <juri@jurta.org>
18408 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18409 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18410 (menu-bar-showhide-menu, menu-bar-tools-menu)
18411 (menu-bar-describe-menu, menu-bar-help-menu)
18412 (minibuffer-local-completion-map, minibuffer-local-map):
18415 2009-09-17 Glenn Morris <rgm@gnu.org>
18417 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18418 arguments, whether or not it has a handler.
18420 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18422 * simple.el (hard-newline): Give it a doc-string.
18424 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18425 (lisp-mode-syntax-table): Give them doc-strings.
18427 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18429 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18430 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18431 (menu-bar-options-menu, menu-bar-showhide-menu)
18432 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18433 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18434 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18435 (menu-bar-options-menu, menu-bar-tools-menu)
18436 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18437 (menu-bar-help-menu):
18438 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18441 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18442 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18443 calls for the menu names and :help.
18445 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18447 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18448 to :minor-mode-function (bug#4455).
18450 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18452 * startup.el (command-line): Initialize the window-system after
18453 processing the command-line.
18455 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18456 page-delimiter matches the empty string.
18458 2009-09-16 Glenn Morris <rgm@gnu.org>
18460 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18461 byte-compile-not-obsolete-var. It's a list now.
18462 (byte-compile-not-obsolete-funcs): New variable.
18463 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18464 byte-compile-not-obsolete-funcs.
18465 (byte-compile-variable-ref, byte-compile-defvar): Update for
18466 byte-compile-not-obsolete-vars name-change and list nature.
18467 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18468 and variables behind (f)boundp tests.
18469 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18471 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18473 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18475 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18477 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18478 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18481 2009-09-15 Stephen Eglen <stephen@gnu.org>
18483 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18484 the virtual-buffers, use the name of the buffer specified by
18485 find-file-noselect, as the match may be a symlink. (This was a
18486 problem if the target and the symlink had different names.)
18488 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18490 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18492 * desktop.el (desktop-path): Check user-emacs-directory.
18494 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18496 * loadup.el: Use after-load-functions to GC after loading each file.
18497 Remove the explicit GC calls that used to be sprinkled around.
18499 * subr.el (after-load-functions): New hook.
18500 (do-after-load-evaluation): Run it. Use string-match-p to detect
18501 `obsolete' packages, rather than painfully extracting the relevant
18504 2009-09-15 Glenn Morris <rgm@gnu.org>
18506 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18507 free variable `doc'.
18509 * dired.el (dired-mode-map): Add menu entry for async shell command.
18511 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18512 variables, also consider the .elc files, since the .el files are
18513 normally gzipped (subsequent code locates the .el.gz from the .elc).
18515 * calc/calc-prog.el (arglist): Define for compiler.
18517 * calendar/diary-lib.el (diary-display-function): Change the default to
18519 (body): Define for compiler.
18521 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18522 (byte-compile-file-form, byte-compile-lambda)
18523 (byte-compile-top-level-body, byte-compile-form)
18524 (byte-compile-variable-ref, byte-compile-setq)
18525 (byte-compile-setq-default, byte-compile-body)
18526 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18527 (batch-byte-compile): Give some more local variables with common names
18528 a "bytecomp-" prefix to avoid masking warnings about free variables.
18530 * startup.el (command-line-1): Give local variables with common names a
18531 distinguishing prefix, so as not to hide free variable warnings during
18534 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18535 clever and add a suffix to make a unique name, just let the user decide
18536 whether or not to overwrite it. If the input is a directory, write the
18537 default filename to that directory. (Bug#4388)
18538 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18539 is a filename-as-a-directory.
18541 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18543 * textmodes/page.el (what-page): Don't move to beginning of line.
18544 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18546 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18548 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18550 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18552 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18553 * help.el (help-for-help-internal): Add purecopy calls for text.
18555 * vc.el (top): print-log method now takes an optional SHORTLOG
18556 argument. Add a new method: root.
18557 (vc-root-diff, vc-print-root-log): New functions.
18558 (vc-log-short-style): New variable.
18559 (vc-print-log-internal): Add support for showing short logs.
18561 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18562 vc-print-root-log and vc-print-root-diff.
18564 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18565 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18566 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18569 * vc-cvs.el (vc-cvs-print-log):
18570 * vc-mtn.el (vc-mtn-print-log):
18571 * vc-rcs.el (vc-rcs-print-log):
18572 * vc-sccs.el (vc-sccs-print-log):
18573 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18574 that is ignored for now.
18576 * vc-mtn.el (vc-mtn-annotate-command):
18577 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18579 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18581 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18582 to function-key-map, and give them ascii-character property.
18583 * term/x-win.el (x-alternatives-map):
18584 * term/ns-win.el (ns-alternatives-map):
18585 * term/internal.el (msdos-key-remapping-map):
18586 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18588 2009-09-14 Glenn Morris <rgm@gnu.org>
18590 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18591 temp-buffers (2009-09-12).
18593 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18595 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18596 the new read-key function.
18598 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18600 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18601 is defined (Bug#4405).
18603 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18605 * recentf.el (recentf-cleanup): Use a hash table to find
18606 duplicates (Bug#4407).
18608 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18610 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18611 kp-0 to ascii equivalents (Bug#4325).
18613 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18615 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18617 * eshell/em-hist.el:
18618 * eshell/em-dirs.el (eshell-complete-user-reference):
18619 Declare pcomplete functions and variables to avoid compiler warnings.
18621 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18623 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18624 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18625 * eshell/em-alias.el (eshell-aliases-file):
18626 * eshell/em-hist.el (eshell-history-file-name):
18627 Use expand-file-name instead of concat to make file names (Bug#4308).
18629 2009-09-13 Glenn Morris <rgm@gnu.org>
18631 * ediff-merg.el (ediff-do-merge):
18632 * filesets.el (filesets-run-cmd):
18633 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18634 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18635 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18636 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18637 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18638 Replace empty `let's with `progn'.
18640 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18642 * mail/sendmail.el (send-mail-function):
18643 * tooltip.el (tooltip-mode):
18644 * simple.el (transient-mark-mode):
18645 * rfn-eshadow.el (file-name-shadow-mode):
18646 * frame.el (blink-cursor-mode):
18647 * font-core.el (global-font-lock-mode):
18648 * files.el (temporary-file-directory)
18649 (small-temporary-file-directory, auto-save-file-name-transforms):
18650 * epa-hook.el (auto-encryption-mode):
18651 * composite.el (global-auto-composition-mode):
18652 Use custom-initialize-delay.
18653 * startup.el (command-line): Don't explicitly call
18654 custom-reevaluate-setting for all the above vars.
18655 * custom.el (custom-initialize-safe-set)
18656 (custom-initialize-safe-default): Delete.
18658 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18660 * term/x-win.el (x-initialize-window-system):
18661 * term/w32-win.el (w32-initialize-window-system):
18662 * term/ns-win.el (ns-initialize-window-system): Don't call
18663 mouse-wheel-mode since it's enabled globally by default already.
18665 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18666 actually define the variable, but only silences the byte-compiler.
18667 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18668 before looking it up.
18669 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18672 2009-09-12 Glenn Morris <rgm@gnu.org>
18674 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18676 (elint-add-required-env): Don't beep on error.
18677 (elint-forms): In case of error, return ENV unchanged.
18678 (elint-init-env): Skip non-list forms.
18679 (elint-log): Handle unknown file positions.
18681 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18683 * epg.el (epg-make-context): Add autoload cookie.
18684 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18685 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18686 (epg-verify-string, epg-start-sign, epg-sign-file)
18687 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18688 (epg-encrypt-string, epg-start-export-keys)
18689 (epg-export-keys-to-file, epg-export-keys-to-string)
18690 (epg-start-import-keys, epg-import-keys-from-file)
18691 (epg-import-keys-from-string, epg-start-receive-keys)
18692 (epg-receive-keys, epg-import-keys-from-server)
18693 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18694 (epg-sign-keys, epg-start-generate-key)
18695 (epg-generate-key-from-file, epg-generate-key-from-string):
18696 Remove autoload cookie.
18698 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18700 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18701 reevaluation of trash-directory.
18703 * mwheel.el: Fix last change.
18704 (mouse-wheel-mode): New defvar.
18705 (mouse-wheel-mode): Remove autoload cookie.
18707 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18709 * mwheel.el (mwheel-installed-bindings): New var.
18710 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18711 the bindings we set last time. Use custom-initialize-delay.
18712 * loadup.el: Load mwheel after term/*-win.el.
18713 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18714 and mouse-wheel-up-event now that their first evaluation is done
18715 sufficiently late to be correct.
18717 * startup.el (tutorial-directory): Make it a defcustom.
18718 Use custom-initialize-delay rather than eval-at-startup to set it.
18719 * image.el (image-load-path): Make it a defcustom.
18720 Use custom-initialize-delay rather than eval-at-startup to set it.
18721 * subr.el (eval-at-startup): Remove.
18722 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18724 * subr.el (do-after-load-evaluation): Warn the user after loading an
18727 2009-09-12 Glenn Morris <rgm@gnu.org>
18729 * proced.el (proced-mark-alt): Remove alias.
18730 (proced-mode-map): Remove proced-mark-alt.
18732 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18733 Elint file and directory. Remove initialization entry.
18735 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18737 (elint-current-buffer): Set mode-line-process.
18738 (elint-init-env): Handle define-derived-mode.
18739 Fix declare-function with unspecified arglist. Guard against odd
18740 defalias statements (eg iso-insert's 8859-1-map).
18741 (elint-add-required-env): Use a temp buffer.
18742 (elint-form): Just print the function/macro name, not the whole form.
18743 Return env unchanged if we fail to parse a macro.
18744 (elint-forms): Guard against parse errors.
18745 (elint-output): New function, to handle batch mode.
18746 (elint-log-message): Add optional argument. Use elint-output.
18747 (elint-set-mode-line): New function.
18749 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18751 * emacs-lisp/elp.el (elp-not-profilable): Add more
18752 functions (Bug#4233).
18754 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18756 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18757 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18759 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18761 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18762 (gdb-var-list-children): Use json parsing.
18764 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18766 * progmodes/js.el (js--proper-indentation): Handle the case where
18767 char-before is null. Reported by Deniz Dogan.
18769 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18771 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18773 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18775 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18776 (epg-digest-algorithm-alist): Add SHA224.
18777 (epg-context-set-passphrase-callback)
18778 (epg-context-set-progress-callback): Add description about
18781 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18783 * custom.el (custom-delayed-init-variables): New var.
18784 (custom-initialize-delay): New function.
18785 * startup.el (command-line): "Re"evaluate all vars in
18786 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18787 explicitly any more.
18788 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18789 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18791 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18793 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18795 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18796 (gdb-var-update-handler): Use json parsing.
18798 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18800 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18801 decode annotated text, regardless of language environment. (Bug#2741)
18803 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18805 * Makefile.in (autoloads): Make rmail.el writable as well.
18807 2009-09-11 Glenn Morris <rgm@gnu.org>
18809 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18811 * dired.el: Regenerate with extracted autoloads.
18812 * Makefile.in (autoloads): Make dired.el writable.
18814 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18815 * ibuffer.el: Regenerate with extracted autoloads.
18816 * Makefile.in (autoloads): Make ibuffer.el writable.
18818 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18819 * version.el (emacs-copyright, emacs-major-version)
18820 (emacs-minor-version): Reformat doc-strings for make-docfile.
18822 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18823 functions and variables, since they must be stuff specific to some other
18825 (apropos-print): Make mouse-click message less specific about button.
18827 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18828 that records where a macro was defined.
18829 * help-fns.el (describe-function-1): Mention if a function has a
18831 * help-mode.el (help-function-cmacro): New button.
18833 * locate.el (top-level): Always require dired.
18834 (locate-mode-map): Initialize inside the defvar.
18836 * net/ange-ftp.el (dired-compress-file): Declare.
18837 (ange-ftp-dired-compress-file): Add doc string.
18839 * term/ns-win.el (x-display-name, x-setup-function-keys):
18840 Unify doc-strings with X versions.
18842 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18844 * emulation/crisp.el (crisp-mode-map): Move initialization
18846 (crisp-mode): Use define-minor-mode.
18848 * progmodes/xscheme.el (xscheme-evaluation-commands):
18849 Put a :advertised-binding property rather than using
18850 advertised-xscheme-send-previous-expression.
18851 (advertised-xscheme-send-previous-expression): Declare obsolete.
18852 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18854 (crisp-mode): Add corresponding bindings to
18855 undo's :advertised-binding instead.
18856 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18857 than using dired-advertised-find-file.
18858 (dired-advertised-find-file):
18859 * simple.el (advertised-undo):
18860 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18861 (widget-keymap): Put a :advertised-binding property rather
18862 than using advertised-widget-backward.
18863 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18864 than using advertised-undo.
18865 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18867 2009-09-10 Simon South <ssouth@slowcomputing.org>
18869 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18870 Mark mode is enabled and region is active; otherwise indent or
18871 insert TAB as usual.
18872 (delphi-mode): Update description of TAB-key binding.
18874 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18876 * subr.el (define-key-rebound-commands): Mark obsolete.
18877 * startup.el (precompute-menubar-bindings): Remove.
18878 (normal-top-level): Remove obsolete code that tried to precompute
18880 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18881 define-key-rebound-commands and precompute-menubar-bindings.
18883 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18885 * net/imap.el (imap-interactive-login): Better messages.
18886 (imap-open): Fix bug with renamed buffer on reconnect.
18887 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18888 for easier debugging and cleaner code. On successful (guessed based on
18889 server capabilities) secondary authentication, set imap-state
18891 (imap-last-authenticator): Define imap-last-authenticator as a variable
18894 2009-09-10 Glenn Morris <rgm@gnu.org>
18896 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18898 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18899 (byte-compile-file-form-autoload): Don't warn about unknown functions
18900 where the autoload statement comes after the use.
18901 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18902 that any handlers inside the body (eg require) are in turn respected.
18904 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18907 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18908 and syntax and abbrev tables basic docs, if they don't have any.
18910 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18912 * international/mule-cmds.el (top-level): Require cl when compiling.
18913 (view-hello-file): Use default-value rather than
18914 default-enable-multibyte-characters.
18916 * progmodes/fortran.el: Move all safe and risky properties into the
18919 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18920 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18921 * mail/undigest.el:
18922 Put autoloads in rmail.el rather than loaddefs.el.
18923 * mail/rmail.el: Regenerate with extracted autoloads.
18925 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18926 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18928 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18930 Reported in thread for Bug#4375.
18931 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18932 "-data-evaluate-expression" instead of print.
18933 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18934 (gdb-tooltip-print): Parse output from above MI command.
18935 (gdb): Revert 2009-08-11 change. User should detach inferior
18938 Remove the word "separate" from IO functions as inferior
18939 output is now never displayed in the GUD buffer.
18941 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18943 * startup.el (command-line-normalize-file-name): On Windows and
18944 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18946 2009-09-10 Juri Linkov <juri@jurta.org>
18948 * isearch.el (isearch-text-char-description): Propertize escape
18949 character sequences with the `escape-glyph' face. (Bug#4344)
18951 * simple.el (shell-command): Set asynchronous process filter to
18952 `comint-output-filter'. (Bug#4343)
18954 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18955 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18956 the list. Move "asm" to the bottom.
18957 (grep-find-ignored-directories): Add `choice' with nil value
18958 to empty the list easily.
18959 (grep-find-ignored-files): New option.
18960 (grep-files-history): Set to nil by default instead of '("ch" "el").
18961 (grep-compute-defaults): Add "<X>" to `grep-template'.
18962 (grep-read-files): Bind new local variables `default-alias' and
18963 `default-extension'. Use a list of default values for the file prompt.
18964 (lgrep): Add `--exclude=' command line options composed from
18965 `grep-find-ignored-files'.
18966 (rgrep): Add `-name' command line options composed from
18967 `grep-find-ignored-files'. (Bug#4301)
18969 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18971 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18974 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18976 * calendar/time-date.el (autoload):
18977 Expand define-obsolete-function-alias into defalias and make-obsolete
18978 for old Emacsen that Gnus supports.
18979 (with-no-warnings): Define it for old Emacsen.
18980 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18982 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18983 float-time is available; suppress compile warning for time-to-seconds.
18985 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18987 * net/imap.el (imap-message-map): Docstring fix.
18989 2009-09-09 Glenn Morris <rgm@gnu.org>
18991 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18992 line numbers too. (Bug#4374)
18994 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18996 * smerge-mode.el (smerge-remove-props, smerge-refine):
18997 Use with-silent-modifications (bug#4342).
18999 * subr.el (with-silent-modifications): New macro.
19001 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19003 * files.el (top-level): Require `cl' when compiling.
19005 2009-09-07 Glenn Morris <rgm@gnu.org>
19007 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19009 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19010 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19012 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19014 * vc-git.el (vc-git-annotate-command): Use separator to parse
19015 arguments correctly.
19017 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19019 * proced.el (proced-mode): Doc fix.
19021 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19023 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19025 (tramp-do-file-attributes-with-ls): Check for file existence at
19027 (tramp-do-file-attributes-with-stat): Likewise.
19028 (tramp-convert-file-attributes): Return nil when attr is nil.
19030 2009-09-05 Glenn Morris <rgm@gnu.org>
19032 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19033 properties to this button.
19034 (diary-fancy-display): Don't extend the button to the final newline.
19035 (diary-fancy-display-mode): Continue to define "q" as a local key.
19037 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19040 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19042 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19043 (byte-compile-dest-file-function): New option.
19044 (byte-compile-dest-file): Doc fix.
19045 Obey byte-compile-dest-file-function.
19046 (byte-compile-cl-file-p): New function.
19047 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19048 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19049 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19050 than for file being previously loaded.
19051 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19052 (byte-compile-file-form-require): Handle the case where requiring a file
19053 indirectly causes CL to be loaded.
19055 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19057 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19058 before killing the old buffer, since by the time `kill-buffer' is
19059 run so many buffer variables have been set to nil that it may not
19060 behave as expected. (Bug#4061)
19062 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19064 * files.el (find-alternate-file): If the old buffer is modified
19065 and visiting a file, behave similarly to `kill-buffer' when
19066 killing it, thus reverting to the pre-1.878 behavior; see
19067 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19068 for discussion. Also, consult `buffer-file-name' as a variable
19069 not as a function, for consistency with the rest of the code.
19071 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19073 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19074 also when adding a new directory.
19076 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19079 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19081 * files.el (locate-file-completion-table): Make it provide boundary
19082 information, so partial-completion works better.
19084 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19086 * mail/footnote.el (Footnote-text-under-cursor):
19087 Check footnote-text-marker-alist before using it (bug#4324).
19089 2009-09-04 Glenn Morris <rgm@gnu.org>
19091 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19092 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19093 * play/solitaire.el, play/tetris.el:
19094 Remove leading * from defcustom and defface docs.
19096 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19098 (diary-fancy-overriding-map): New variable.
19099 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19102 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19105 2009-09-03 Glenn Morris <rgm@gnu.org>
19107 * arc-mode.el (archive-mode):
19108 * dos-fns.el (set-default-process-coding-system):
19109 * man.el (Man-getpage-in-background):
19110 * menu-bar.el (menu-bar-describe-menu):
19111 * server.el (server-process-filter):
19112 * startup.el (command-line):
19113 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19114 * w32-fns.el (set-default-process-coding-system):
19115 * x-dnd.el (x-dnd-handle-file-name):
19116 * international/mule-cmds.el (mule-menu-keymap)
19117 (set-default-coding-systems, language-info-alist, set-language-info)
19118 (set-language-environment, standard-display-european-internal)
19119 (set-locale-environment):
19120 * international/mule-diag.el (mule-diag):
19121 * mail/emacsbug.el (report-emacs-bug):
19122 * mail/rmail.el (rmail-mode):
19123 * mail/sendmail.el (mail-setup):
19124 Use default-value rather than default-enable-multibyte-characters.
19126 * progmodes/f90.el: Move all safe properties into the defcustoms.
19127 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19129 * calendar/appt.el (appt-check):
19130 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19131 (diary-check-diary-file, diary-list-entries)
19132 (diary-include-other-diary-files, diary-simple-display)
19133 (diary-fancy-display, diary-print-entries)
19134 (diary-mark-included-diary-files, diary-make-entry):
19135 Don't call substitute-in-file-name on diary-file.
19137 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19138 Stefan Monnier <monnier@iro.umontreal.ca>
19140 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19141 (footnote-mode-map): Move initialization into the declaration.
19142 (footnote-minor-mode-map): Define it rather than changing global-map.
19143 (footnote-mode): Use define-minor-mode.
19145 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19147 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19148 (tramp-do-file-attributes-with-perl)
19149 (tramp-do-file-attributes-with-stat): Rename from
19150 `tramp-handle-file-attributes-with-*'.
19151 (tramp-handle-file-attributes): Use them.
19152 (tramp-do-directory-files-and-attributes-with-perl)
19153 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19154 `tramp-handle-directory-files-and-attributes-with-*'.
19155 (tramp-handle-directory-files-and-attributes): Use them.
19156 (tramp-method-out-of-band-p): Additional parameter SIZE.
19157 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19158 (tramp-handle-write-region): Use it.
19159 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19160 (tramp-handle-vc-registered): Check, whether the first run did
19161 return files to be tested.
19162 (tramp-advice-make-auto-save-file-name): Do not call directly
19163 `tramp-handle-make-auto-save-file-name', because this would bypass
19164 the locking mechanism.
19166 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19167 (file-remote-p, process-file, start-file-process, set-file-times)
19168 (tramp-compat-file-attributes): Compatibility functions shall not
19169 call directly `tramp-handle-*', because this would bypass the
19171 (tramp-compat-number-sequence): New defun.
19173 2009-09-02 Glenn Morris <rgm@gnu.org>
19175 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19176 alias for float-time.
19177 (time-to-number-of-days): In Emacs, use float-time.
19178 * net/newst-backend.el (time-add): Suppress warnings from compat
19180 * time.el (emacs-uptime, emacs-init-time):
19181 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19182 Use float-time rather than time-to-seconds.
19184 * minibuffer.el (completion-initials-expand): Fix typo.
19186 * faces.el (modeline, modeline-inactive, modeline-highlight)
19187 (modeline-buffer-id):
19188 * info.el (info-menu-5): Mark these face aliases as obsolete.
19190 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19192 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19194 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19195 no "--thread" option.
19196 (gdb-stopped): Don't print "Switched to thread" message when it is
19199 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19201 * minibuffer.el (completion-try-completion)
19202 (completion-all-completions): Remove ill-defined (and
19203 mistakenly installed and luckily never used nor documented)
19204 `completion-styles' property.
19205 (completion-initials-expand, completion-initials-all-completions)
19206 (completion-initials-try-completion): New functions.
19207 (completion-styles-alist): Add doc to each entry.
19208 Add new `initials' entry.
19210 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19212 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19213 MI command -var-evaluate-expression.
19214 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19215 and tweak for case of string child.
19216 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19218 2009-09-01 Glenn Morris <rgm@gnu.org>
19220 * add-log.el (change-log-date-face, change-log-name-face)
19221 (change-log-email-face, change-log-file-face, change-log-list-face)
19222 (change-log-conditionals-face, change-log-function-face)
19223 (change-log-acknowledgement-face):
19224 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19225 (custom-modified-face, custom-set-face, custom-changed-face)
19226 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19227 (custom-documentation-face, custom-state-face, custom-comment-face)
19228 (custom-comment-tag-face, custom-variable-tag-face)
19229 (custom-variable-button-face, custom-face-tag-face)
19230 (custom-group-tag-face-1, custom-group-tag-face):
19231 * diff-mode.el (diff-header-face, diff-file-header-face)
19232 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19233 (diff-added-face, diff-changed-face, diff-function-face)
19234 (diff-context-face, diff-nonexistent-face):
19235 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19236 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19237 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19238 (Info-title-4-face):
19239 * isearch.el (isearch-lazy-highlight-face):
19240 * log-view.el (log-view-file-face, log-view-message-face):
19241 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19242 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19243 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19245 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19246 (smerge-base-face, smerge-markers-face):
19247 * wid-edit.el (widget-documentation-face, widget-button-face)
19248 (widget-field-face, widget-single-line-field-face)
19249 (widget-inactive-face, widget-button-pressed-face):
19250 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19251 (woman-addition-face):
19252 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19253 (eshell-ls-executable-face, eshell-ls-readonly-face)
19254 (eshell-ls-unreadable-face, eshell-ls-special-face)
19255 (eshell-ls-missing-face, eshell-ls-archive-face)
19256 (eshell-ls-backup-face, eshell-ls-product-face)
19257 (eshell-ls-clutter-face):
19258 * eshell/em-prompt.el (eshell-prompt-face):
19259 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19260 * obsolete/old-whitespace.el (whitespace-highlight-face):
19261 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19262 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19263 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19264 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19265 (antlr-font-lock-literal-face):
19266 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19267 (ebrowse-root-class-face, ebrowse-file-name-face)
19268 (ebrowse-default-face, ebrowse-member-attribute-face)
19269 (ebrowse-member-class-face, ebrowse-progress-face):
19270 * progmodes/make-mode.el (makefile-space-face):
19271 * progmodes/sh-script.el (sh-heredoc-face):
19272 * textmodes/flyspell.el (flyspell-incorrect-face)
19273 (flyspell-duplicate-face):
19274 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19275 * textmodes/texinfo.el (texinfo-heading-face):
19276 Mark face aliases with "-face" suffix as obsolete.
19278 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19281 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19282 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19283 easy-menu-define wants to modify these.
19285 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19287 * net/browse-url.el (browse-url-file-url):
19288 * term/internal.el (dos-codepage-setup):
19289 Use default-value rather than default-enable-multibyte-characters.
19291 * progmodes/etags.el (etags-goto-tag-location):
19292 * progmodes/flymake.el (flymake-highlight-line)
19293 (flymake-goto-file-and-line, flymake-goto-line):
19294 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19295 (gdb-goto-breakpoint):
19296 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19297 * progmodes/python.el (python-find-function)
19298 (python-pdbtrack-track-stack-file):
19299 * progmodes/verilog-mode.el (verilog-surelint-off):
19300 * term/ns-win.el (ns-open-file-select-line):
19301 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19302 Use forward-line rather than goto-line.
19304 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19305 * textmodes/reftex-index.el (reftex-display-index):
19306 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19307 * textmodes/reftex-toc.el (reftex-toc):
19308 Remove unnecessary bindings of default-major-mode (all are followed by
19309 major-mode check and possible mode switch).
19311 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19313 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19314 Handle watchpoints (bug#4282).
19315 (def-gdb-thread-buffer-command): Enable thread to be selected by
19316 clicking without selecting threads buffer first.
19317 (gdb-current-context-command): Use selected frame so that "up",
19318 "down" etc work in the GUD buffer.
19319 (gdb-update): Find selected frame before rendering stack buffer.
19320 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19322 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19324 * progmodes/sym-comp.el (displayed-completions): Remove.
19325 (symbol-complete): Use minibuffer-complete.
19327 2009-08-31 Glenn Morris <rgm@gnu.org>
19329 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19331 * apropos.el (apropos-symbols-internal):
19332 Handle (obsolete) face aliases.
19334 * faces.el (describe-face): Adjust the output format to be more like
19335 describe-variable, and to mention (obsolete) face aliases.
19336 Adjust the whitespace so that help-setup-xref works.
19338 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19339 * calendar/diary-lib.el (diary-button-face):
19340 Mark these face aliases as obsolete.
19342 * calendar/calendar.el (calendar-today): Doc fix.
19344 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19346 * progmodes/gdb-mi.el (gdb-control-all-threads)
19347 (gdb-control-current-thread): Force tool bar update.
19348 (gdb-non-stop-handler): New function.
19349 (gdb-init-1): Use it to test if non-stop mode is supported.
19350 Remove unused gdbmi buffer type.
19352 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19354 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19355 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19357 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19359 * comint.el (comint-exec-1): Check command is non-null first.
19360 Part of gdb-mi.el change (2009-08-28).
19362 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19364 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19366 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19368 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19369 instead of `dolist' to avoid a recursive require when bootstrapping.
19371 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19373 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19375 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19377 * net/imap.el (imap-send-command): Simplify.
19378 (imap-wait-for-tag): point-max -> buffer-size.
19380 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19382 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19383 with constant argument.
19385 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19387 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19389 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19390 Change default, since most of our files don't have a history.
19391 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19394 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19397 * calc/calc.el: Improve commenting convention.
19398 (calc-digit-map, toplevel): Simplify.
19400 * comint.el (comint-insert-input): Be careful to only set point if we
19401 don't delegate to some other command.
19403 * proced.el (proced-signal-list): Make it an alist.
19404 (proced-grammar-alist): Capitalize names.
19405 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19406 Disable undo manually and make it read-only.
19407 Use completion-annotate-function.
19409 * minibuffer.el (minibuffer-message): If the current buffer is not
19410 a minibuffer, insert the message in the echo area rather than at the
19412 (completion-annotate-function): New variable.
19413 (minibuffer-completion-help): Use it.
19414 (completion--embedded-envvar-table): Environment vars are
19415 always case-sensitive.
19417 2009-08-30 Glenn Morris <rgm@gnu.org>
19419 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19420 from fortran-current-defun.
19421 (fortran-beginning-of-subprogram): Be more precise about finding the
19422 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19423 (fortran-end-of-subprogram): Simplify.
19424 (fortran-current-defun): Use fortran-start-prog-re.
19426 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19428 * subr.el (do-after-load-evaluation): Simplify.
19430 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19432 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19434 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19435 (vc-rcs-print-log): Use it.
19437 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19439 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19441 * paths.el (abbrev-file-name): Move to abbrev.el.
19442 * abbrev.el (abbrev-file-name): Move from paths.el.
19443 Obey user-emacs-directory.
19444 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19445 user-emacs-directory.
19446 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19447 abbrev-file-name and calc-settings-file any more.
19448 * startup.el (command-line): Recompute abbrev-file-name and
19449 abbreviated-home-dir.
19450 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19451 of the special code for when C-h bindings haven't been changed.
19452 (display-startup-echo-area-message): Use with-current-buffer.
19453 (command-line-1): Use a list of strings, rather than a list of lists
19454 of strings for longopts.
19456 * files.el (get-free-disk-space): Use / for default-directory.
19458 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19459 Use with-current-buffer.
19461 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19462 Recognize immutable variables like most-positive-fixnum.
19463 (byte-compile-setq-default): Check and warn if trying to assign
19464 to an immutable variable, or a non-variable.
19466 * progmodes/cc-vars.el (c-comment-continuation-stars):
19467 * progmodes/cc-engine.el (c-looking-at-bos):
19468 * progmodes/cc-cmds.el (c-toggle-auto-state)
19469 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19470 (c-comment-line-break-function): Add version of obsolescence.
19472 2009-08-28 Juri Linkov <juri@jurta.org>
19474 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19475 associated with `archive-mode'.
19477 * image.el (image-type-header-regexps): Use only JPEG magic number
19478 to determine JPEG images, and don't use `image-jpeg-p' because
19479 Emacs can display non-JFIF non-Exif JPEG images.
19481 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19483 * arc-mode.el (archive-mode):
19484 * emacs-lisp/re-builder.el (re-builder-unload-function):
19485 Protect against the default value of `major-mode' being nil.
19487 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19489 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19490 Fix typos in docstrings.
19492 * progmodes/js.el (js--macro-decl-re): Doc fix.
19493 (js--plain-method-re, js--split-name): Refloc docstring.
19494 (js--class-styles, js--make-merged-item, js--splice-into-items):
19495 Fix typos in docstrings; reflow docstrings.
19496 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19497 (js--variable-decl-matcher, js--inside-pitem-p)
19498 (js--parse-state-at-point, js--get-all-known-symbols)
19499 (js--symbol-history, js-find-symbol, js--js-references)
19500 (js--moz-interactor, js--js-encode-value, js--read-tab):
19501 Fix typos in docstrings.
19503 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19505 * textmodes/reftex.el (reftex-get-file-buffer-force):
19506 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19507 * emulation/viper.el (viper-go-away, viper-set-hooks):
19508 * emacs-lisp/re-builder.el (re-builder-unload-function):
19509 * emacs-lisp/bytecomp.el (byte-compile-file):
19510 * ses.el (ses-unload-function):
19511 * hexl.el (hexl-find-file):
19512 * files.el (normal-mode):
19513 * ehelp.el (with-electric-help):
19514 * autoinsert.el (auto-insert-alist):
19515 * arc-mode.el (archive-mode):
19516 Use (default-value 'major-mode) instead of default-major-mode.
19518 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19519 * international/mule.el (load-with-code-conversion):
19520 * emacs-lisp/debug.el (debug):
19521 * ediff-vers.el (ediff-rcs-get-output-buffer):
19522 * dired.el (dired-internal-noselect): Don't let-bind
19523 default-major-mode around code that doesn't use it.
19524 E.g. buffer creation via get-buffer-create doesn't use it.
19526 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19528 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19529 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19530 when writing the temp file. Otherwise, epa-file gets confused.
19531 (tramp-register-file-name-handlers): Make it a defun. Move also
19532 `epa-file-handler' to the front of `file-name-handler-alist'.
19534 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19536 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19537 start right after a ^M.
19538 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19539 (tramp-completion-file-name-regexp-separate)
19540 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19541 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19542 Don't modify last-coding-system-used by accident.
19543 (tramp-completion-file-name-handler): Apply the checks here,
19544 instead during registration.
19545 (tramp-register-file-name-handlers): Rename from
19546 `tramp-register-file-name-handler'. Register both
19547 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19548 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19550 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19552 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19553 Remove variable ...
19554 (gdb-init-1, gdb-display-separate-io-buffer)
19555 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19557 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19558 (gdb-inferior-filter): Use comint-output-filter to stop
19559 echoing and remove ^M characters.
19561 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19563 * emulation/viper-init.el (viper-restore-cursor-type):
19564 * emulation/cua-base.el (cua--update-indications):
19565 Replace default-cursor-type with (default-value 'cursor-type).
19567 * mail/sendmail.el (mail-recover-1):
19568 * international/mule-diag.el (describe-current-coding-system-briefly)
19569 (describe-current-coding-system):
19570 * international/mule-cmds.el (select-safe-coding-system)
19571 (select-message-coding-system)
19572 (set-language-environment-coding-systems, set-locale-environment):
19573 * hexl.el (hexl-insert-multibyte-char):
19574 * dos-w32.el (find-buffer-file-type-coding-system):
19575 * simple.el (what-cursor-position):
19576 Replace uses of default-buffer-file-coding-system
19577 with (default-value 'buffer-file-coding-system).
19579 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19580 Replace uses of default-cursor-in-non-selected-windows
19581 with (default-value 'cursor-in-non-selected-windows).
19582 Use with-current-buffer.
19584 * mail/feedmail.el: Use CL macros.
19585 (feedmail-run-the-queue, feedmail-send-it-immediately):
19586 * dos-w32.el (find-buffer-file-type): Replace uses of
19587 default-buffer-file-type with (default-value 'buffer-file-type).
19589 2009-08-28 Glenn Morris <rgm@gnu.org>
19591 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19592 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19593 Use default-value of major-mode rather than default-major-mode.
19595 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19597 * Makefile.in (update-elcfiles): Report left over elc files.
19599 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19600 expand-file-name and with-current-buffer.
19601 (mail-get-names, mail-directory): Use with-current-buffer.
19603 * vc.el (vc-read-revision): New function.
19604 (vc-version-diff, vc-merge): Use it.
19606 2009-08-27 Sam Steingold <sds@gnu.org>
19608 * simple.el (kill-do-not-save-duplicates): New user option.
19609 (kill-new): When it is non-nil, and the new string is the same as
19610 the latest kill, set replace to t to avoid duplicates in kill-ring.
19612 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19614 * net/tramp.el (tramp-handle-process-file): Do not flush all
19615 caches when `process-file-side-effects' is set.
19616 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19617 instead of `tramp-find-file-exists-command'.
19618 Unset `process-file-side-effects'.
19620 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19622 * net/tramp.el (tramp-methods): New method "rsyncc".
19623 (top): Add completion function for "rsyncc".
19624 (tramp-message-show-message): New defvar.
19625 (tramp-message, tramp-error): Use it.
19626 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19628 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19629 `tramp-methods' entry `copy-env' of "rsyncc".
19630 (tramp-vc-registered-read-file-names): New defconst.
19631 (tramp-vc-registered-file-names): New defvar.
19632 (tramp-handle-vc-registered): Implement optimization strategy.
19633 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19634 (tramp-vc-file-name-handler): New defun.
19635 (tramp-get-ls-command, tramp-get-test-command)
19636 (tramp-get-file-exists-command, tramp-get-remote-ln)
19637 (tramp-get-remote-perl, tramp-get-remote-stat)
19638 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19640 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19641 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19643 (tramp-get-file-property): Check for timestamps in
19644 `tramp-cache-inhibit-cache'.
19645 (tramp-set-file-property): Write timestamp.
19647 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19649 * language/japan-util.el (japanese-symbol-table): Add entries for
19652 * international/characters.el: Add category `j' to cp932-2-byte.
19654 2009-08-27 Kenichi Handa <handa@m17n.org>
19656 * international/fontset.el (build-default-fontset-data): New macro.
19657 (setup-default-fontset): Use build-default-fontset-data for CJK,
19658 tibetan, ethiopic, and ipa.
19660 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19662 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19663 (enable-multibyte-characters): Not customizable any more.
19665 * subr.el (default-mode-line-format, default-header-line-format)
19666 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19667 (default-direction-reversed, default-truncate-lines)
19668 (default-left-margin, default-tab-width, default-case-fold-search)
19669 (default-left-margin-width, default-right-margin-width)
19670 (default-left-fringe-width, default-right-fringe-width)
19671 (default-fringes-outside-margins, default-scroll-bar-width)
19672 (default-vertical-scroll-bar, default-indicate-empty-lines)
19673 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19674 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19675 (default-scroll-down-aggressively, default-fill-column)
19676 (default-cursor-type, default-buffer-file-type)
19677 (default-cursor-in-non-selected-windows)
19678 (default-buffer-file-coding-system, default-major-mode)
19679 (default-enable-multibyte-characters): Mark as obsolete.
19681 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19683 * vc-dir.el (vc-dir-update): Remove debug helper.
19685 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19687 2009-08-26 Sam Steingold <sds@gnu.org>
19689 * simple.el (save-interprogram-paste-before-kill): New user option.
19690 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19691 save the interprogram-paste into kill-ring before overriding it
19692 with the Emacs kill.
19694 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19696 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19697 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19698 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19699 and move to vc-rcs.el.
19700 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19702 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19703 (vc-rcs-update-changelog): Remove.
19704 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19705 and move to vc-rcs.el.
19707 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19708 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19710 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19711 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19712 vc.el, renamed to be RCS specific.
19714 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19716 (vc-cvs-update-changelog): Move here from vc.el.
19718 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19721 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19723 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19725 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19727 * vc-git.el (vc-git-register): Use "git add" for directories.
19728 (vc-git-stash, vc-git-stash-show): New functions.
19729 (vc-git-extra-menu-map): Bind them.
19731 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19732 directory correctly in case the item is a directory itself.
19734 * vc.el: Document the desired behavior for reverted files in the
19736 (vc-default-prettify-state-info): Remove function, unused.
19738 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19740 2009-08-26 Glenn Morris <rgm@gnu.org>
19742 * bindings.el (standard-mode-line-format): Reposition dashes in
19743 which-func entry. (Bug#4217)
19745 * files.el (enable-local-variables, enable-local-eval)
19746 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19748 (auto-mode-alist, ignored-local-variables)
19749 (save-some-buffers-action-alist): Move risky declarations to the
19751 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19752 (font-lock-defaults, format-alist, imenu--index-alist)
19753 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19754 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19755 (mode-line-modified, mode-line-mule-info, mode-line-position)
19756 (mode-line-process, mode-line-remote, outline-level)
19757 (parse-time-rules, rmail-output-file-alist)
19758 (special-display-buffer-names, vc-mode):
19759 Move risky declarations to the relevant files.
19760 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19761 (mode-line-modified, mode-line-process, mode-line-position)
19762 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19763 * font-core.el (font-lock-defaults):
19764 * format.el (format-alist):
19765 * vc-hooks.el (vc-mode):
19766 * window.el (special-display-buffer-names):
19767 * international/mule-cmds.el (input-method-alist):
19768 Define riskiness here (dumped file) rather than in files.el.
19769 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19770 * imenu.el (imenu-generic-expression, imenu--index-alist):
19771 * outline.el (outline-level):
19772 * time.el (display-time-string):
19773 * calendar/parse-time.el (parse-time-rules):
19774 * mail/rmailout.el (rmail-output-file-alist):
19775 Autoload riskiness here, rather than placing in files.el.
19777 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19779 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19781 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19783 * simple.el (process-file-side-effects): New defvar.
19785 * dired-aux.el (dired-show-file-type):
19786 * vc.el (vc-diff-internal):
19787 * vc-arch.el (vc-arch-diff):
19788 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19789 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19790 * vc-git.el (vc-git-registered, vc-git-working-revision)
19791 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19792 (vc-git--empty-db-p):
19793 * vc-hooks.el (vc-user-login-name):
19794 * vc-svn.el (vc-svn-registered, vc-svn-state)
19795 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19796 * progmodes/grep.el (grep-probe): Let-bind
19797 `process-file-side-effects' with nil.
19799 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19801 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19802 daemon. Replace ping by checking for running service for bluez
19803 and zeroconf. (Bug#4239)
19805 2009-08-25 Kevin Ryde <user42@zip.com.au>
19807 * net/dig.el (dig): Add autoload cookie.
19809 2009-08-25 Glenn Morris <rgm@gnu.org>
19811 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19812 load-history for absolute file-names.
19813 (byte-compile-file-form-require): Warn about use of the cl package.
19815 * format.el (format-alist): Doc fix.
19817 * play/bubbles.el (top-level): Don't require cl at run-time.
19819 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19822 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19824 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19826 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19828 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19830 * calc/calc-alg.el (math-trig-rewrite)
19831 (math-hyperbolic-trig-rewrite): New functions.
19832 (calc-simplify): Simplify trig functions when asked.
19834 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19836 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19838 2009-08-24 Kenichi Handa <handa@m17n.org>
19840 * language/ind-util.el (mapthread): Delete it.
19841 (combinatorial): New function.
19842 (indian--puthash-cv): Use combinatorial instead of mapthread.
19844 2009-08-22 Kevin Ryde <user42@zip.com.au>
19846 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19847 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19848 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19849 Clarify docstring that the value is strings not symbols.
19850 (checkdoc-list-of-strings-p): New function.
19852 2009-08-22 Glenn Morris <rgm@gnu.org>
19854 * files.el (auto-mode-alist):
19855 * hippie-exp.el (he-concat-directory-file-name):
19856 * lpr.el (lpr-windows-system, printer-name):
19857 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19858 * ps-print.el (ps-windows-system):
19859 * startup.el (command-line):
19860 * emulation/viper-ex.el (viper-glob-function):
19861 * international/mule-cmds.el (set-language-environment-coding-systems):
19862 * net/ange-ftp.el (ange-ftp-write-region):
19863 * obsolete/fast-lock.el (fast-lock-cache-name):
19864 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19865 unisoft-unix, vax-vms, win32, w32.
19867 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19868 given name if the pattern is not more specific.
19870 * calendar/lunar.el (lunar-phase-names): New option.
19871 (lunar-phase): Doc fix.
19872 (lunar-cycles-per-year): New constant.
19873 (lunar-index): New function.
19874 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19875 (lunar-phase-name): Use lunar-phase-names.
19876 (calendar-lunar-phases): Use format.
19877 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19879 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19880 Copy imenu-example--name-and-position function here for own use.
19881 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19883 * bs.el (bs--redisplay):
19884 * cus-edit.el (custom-redraw):
19885 * ibuffer.el (ibuffer-bury-buffer):
19886 * server.el (server-goto-line-column):
19887 * startup.el (command-line-1):
19888 * strokes.el (strokes-xpm-for-stroke):
19889 * term.el (term-display-buffer-line):
19890 * view.el (View-goto-line):
19891 * calc/calc.el (calc-do, calc-trail-buffer):
19892 * play/gamegrid.el (gamegrid-add-score-insecure):
19893 * progmodes/ada-mode.el (ada-compile-goto-error):
19894 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19895 (ebrowse-select-1st-to-9nth):
19896 * progmodes/cperl-mode.el (cperl-time-fontification):
19897 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19898 * progmodes/gud.el (gud-display-line):
19899 (idlwave-shell-display-line):
19900 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19901 * progmodes/make-mode.el (makefile-browser-toggle):
19902 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19903 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19904 * textmodes/picture.el (picture-draw-rectangle):
19905 * textmodes/reftex-index.el (reftex-index-goto-letter):
19906 (reftex-select-jump-to-previous):
19907 * textmodes/reftex-sel.el (reftex-find-start-point)
19908 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19909 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19910 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19911 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19912 * textmodes/two-column.el (2C-associated-buffer):
19913 Use forward-line rather than goto-line.
19915 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19918 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19919 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19920 (quick-check-list-to-regexp): Declare.
19922 * progmodes/make-mode.el (makefile-browser-insert-selection):
19923 Use goto-char rather than goto-line.
19925 * progmodes/prolog.el (compilation-error-regexp-alist)
19926 (compilation-forget-errors): Declare.
19928 2009-08-22 Juri Linkov <juri@jurta.org>
19930 * progmodes/grep.el (lgrep, rgrep): At the beginning
19931 set `dir' to `default-directory' unless `dir' is a non-nil
19932 readable directory. (Bug#4052)
19933 (lgrep, rgrep): Change a weird way to report an error
19934 from using `read-string' to using `error'.
19935 Instead of using interactive arguments in the function body,
19936 add new argument `confirm'.
19938 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19940 * textmodes/remember.el (remember-buffer):
19941 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19942 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19943 (icalendar-extract-ical-from-buffer):
19944 * net/newst-treeview.el (newsticker-groups-filename):
19945 * net/newst-backend.el (newsticker-cache-filename):
19946 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19947 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19948 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19949 (speedbar-buffers-line-path, speedbar-path-line)
19950 (speedbar-buffers-line-path):
19951 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19953 * epa.el (epa-display-verify-result):
19954 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19956 2009-08-21 Glenn Morris <rgm@gnu.org>
19958 * progmodes/js.el (inferior-moz-process): Fix declaration.
19960 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19962 * obsolete/rnewspost.el (news-mail-reply):
19963 Use goto-char rather than goto-line.
19965 * term/ns-win.el (ns-open-file-select-line):
19966 Use line-beginning-position rather than goto-line.
19968 * apropos.el (apropos-command):
19969 * ehelp.el (electric-helpify):
19970 * printing.el (pr-show-setup):
19971 * strokes.el (strokes-help):
19972 * tutorial.el (tutorial--describe-nonstandard-key)
19973 (tutorial--detailed-help):
19974 * woman.el (woman-mini-help, woman-display-extended-fonts):
19975 * calc/calc-help.el (calc-describe-key):
19976 * emulation/edt.el (edt-electric-helpify):
19977 * international/mule-diag.el (mule-diag):
19978 * play/yow.el (apropos-zippy):
19979 * progmodes/python.el (python-describe-symbol):
19980 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19981 * textmodes/table.el (*table--cell-describe-mode)
19982 (*table--cell-describe-bindings):
19983 Use help-print-return-message rather than the now obsolete alias.
19985 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19986 (calendar-cursor-to-visible-date):
19987 * play/5x5.el (5x5-position-cursor):
19988 * play/decipher.el (decipher):
19989 * play/gomoku.el (gomoku-goto-xy):
19990 * play/landmark.el (lm-goto-xy):
19991 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19992 (mpuz-paint-digit):
19993 Use forward-line, not goto-line.
19995 * mail/rmail.el (rmail-obsolete): Delete custom group.
19996 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19997 (rmail-remote-password, rmail-remote-password-required):
19998 Remove unneeded :set-after and :set properties.
20000 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20002 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20004 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20006 * loadup.el: Remove leftover macos code.
20008 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20009 Explicitly pass the date format to git blame so that user local
20010 so that the output format can be parsed.
20012 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20014 * net/dbus.el (top): Don't check for (getenv
20015 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20017 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20019 * log-edit.el (log-edit-strip-single-file-name): New var.
20020 (log-edit-insert-changelog): Use it. Bug#3571
20022 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20024 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20027 * help.el (help-print-return-message): Rename from
20028 print-help-return-message.
20030 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20031 cvs-mode-map parent hack.
20032 (log-view-mode): Derive from special-mode.
20034 * linum.el (linum-mode): window-size-change-functions is redundant.
20035 Adapt to new window-configuration-change-hook behavior.
20036 (linum-after-size, linum-after-config): Remove.
20038 * imenu.el (imenu-example--name-and-position)
20039 (imenu-example--lisp-extract-index-name)
20040 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20043 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20044 (inferior-prolog-mode): Use it.
20045 (inferior-prolog-load-file): Reset list of errors.
20047 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20049 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20051 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20053 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20055 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20056 is running already.
20058 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20060 * subr.el (listify-key-sequence-1): Use normal syntax since those
20061 integers are nowadays always represented by the same (positive) number
20063 (read-key-empty-map): New const.
20064 (read-key-delay): New var.
20065 (read-key): New function.
20066 (force-mode-line-update): Use with-current-buffer.
20067 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20068 (start-process-shell-command, start-file-process-shell-command):
20069 Discourage the use of command-args.
20071 2009-08-19 Glenn Morris <rgm@gnu.org>
20073 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20075 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20077 * simple.el (choose-completion-string): Don't rely on
20078 minibuffer-completing-file-name and ad-hoc checks to decide whether
20079 to continue completion or not.
20081 * minibuffer.el (minibuffer-hide-completions): New function.
20082 (completion--do-completion): Use it.
20083 (completions-annotations): New face.
20084 (completion--insert-strings): Use it.
20085 (completion-pcm--delim-wild-regex): Add docstring.
20086 (completion-pcm--string->pattern): Add support for 0-width delimiters
20087 in completion-pcm--delim-wild-regex.
20089 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20091 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20092 Remove unused var `buffer-modified-p'.
20094 * minibuffer.el (completion--do-completion): Move point for the #b001
20095 case as well (bug#4176).
20096 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20098 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20100 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20101 and :session buses.
20103 2009-08-18 Kenichi Handa <handa@m17n.org>
20105 * international/ucs-normalize.el (ucs-normalize-version):
20107 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20108 (utf-8-hfs): Make it perform normalization on encoding too.
20110 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20111 (sentence-end-without-space): Delete duplicated chars.
20112 (sentence-end-base): Likewise.
20114 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20115 (html-mode): Delete duplicated chars from sentence-end-base.
20117 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20118 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20120 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20122 * files.el (hack-one-local-variable): If the mode function is for
20123 a minor mode, pass it an argument (Bug#4148).
20125 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20127 * net/tramp.el (tramp-register-completion-file-name-handler):
20128 Check also for (member 'partial-completion completion-styles).
20130 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20132 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20135 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20137 * progmodes/cperl-mode.el: Merge upstream 6.2.
20138 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20139 (cperl-forward-re): Check cperl-brace-recursing.
20140 (cperl-highlight-charclass): New function.
20141 (cperl-find-pods-heres): Use it.
20142 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20143 (cperl-beautify-regexp-piece): Fix column calculation.
20144 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20145 (cperl-beautify-level): Don't process entire regexp.
20146 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20148 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20149 (cperl-init-faces): Build a list in the normal way.
20151 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20153 * calendar/parse-time.el (parse-time-string-chars): Save match
20156 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20158 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20159 (sql-product): Use it.
20160 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20161 (sql-set-product): Add completion.
20162 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20163 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20164 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20165 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20166 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20167 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20168 (sql-highlight-db2-keywords): Remove.
20169 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20170 (sql-highlight-product): Use derived-mode-p.
20171 (sql-set-sqli-buffer): Use with-current-buffer.
20172 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20175 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20177 * term.el: Fix commenting convention, turn comments into docstrings.
20179 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20181 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20183 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20185 * calendar/parse-time.el (parse-time-string-chars): Compute using
20186 character classes, to handle non-ascii characters (Bug#3190).
20188 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20190 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20191 another heredoc if the user adds another < (Bug#3226).
20193 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20194 Don't initialize based on window-system (Bug#4124).
20196 * facemenu.el (facemenu-read-color): Use a completion function
20197 that accepts any defined color, such as RGB triplets (Bug#3677).
20199 * files.el (get-free-disk-space): Change fallback default
20200 directory to /. Expand DIR argument before switching to fallback.
20201 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20203 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20205 * files.el (load-library): Doc fix.
20207 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20209 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20210 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20211 incremental search string.
20213 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20216 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20217 (ediff-merge-region-is-non-clash)
20218 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20219 Also check if the job is really a merge job.
20221 * ediff.el (ediff-current-file): New function.
20223 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20225 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20227 (js-insert-and-indent): Delete function.
20228 (js-mode-map): Don't bind keys to js-insert-and-indent.
20229 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20230 (js-end-of-defun): Rename from js--end-of-defun.
20231 (js-auto-indent-flag): Delete variable.
20233 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20235 * progmodes/js.el: Remove proclaim statement.
20236 Defvar which-func-imenu-joiner-function to silence compiler.
20238 * files.el (auto-mode-alist): Use js-mode for .js files.
20240 * progmodes/js2-mode.el: Remove file.
20242 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20244 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20246 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20248 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20249 Karl Landstrom <karl.landstrom@brgeight.se>
20251 * progmodes/js.el: New file.
20253 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20255 * timezone.el (timezone-parse-date): Add ability to understand ISO
20256 basic format (minimal separators) dates in addition to the
20257 already-supported extended format dates.
20259 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20261 * international/ucs-normalize.el: Add a `coding' file variable.
20263 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20265 2009-08-14 Sam Steingold <sds@gnu.org>
20267 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20269 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20271 * faces.el (help-argument-name): Define it here instead of
20272 help-fns.el, because in daemon mode help-fns.el may be loaded when
20273 faces are still uninitialized (Bug#1078).
20275 * help-fns.el (help-argument-name): Move defface to faces.el.
20277 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20279 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20280 create buffer with a pty but no process so that GDB can make the
20281 inferior the controlling process.
20283 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20285 * international/ucs-normalize.el: New file.
20287 2009-08-13 Richard Stallman <rms@gnu.org>
20289 * mail/rmail.el (rmail-get-attr-names):
20290 Accept an attribute header that is too short.
20292 * mail/rmail.el (rmail-forget-messages):
20293 Ignore nil elt in rmail-message-vector. Use dotimes.
20295 * progmodes/compile.el (compilation-goto-locus):
20296 Use next-error-move-function.
20298 * simple.el (next-error-move-function): New variable.
20300 2009-08-12 Juri Linkov <juri@jurta.org>
20302 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20303 always non-nil. (Bug#4052)
20305 * replace.el (read-regexp): Return empty string when
20306 `default-value' is nil.
20307 (keep-lines-read-args): Don't use empty string as the
20308 default value for `read-regexp'. (Bug#2495)
20310 2009-08-12 Juri Linkov <juri@jurta.org>
20312 * international/mule-cmds.el (ucs-insert): Change arguments
20313 from `arg' to `character', `count', `inherit' to be the same
20314 as in `insert-char'. Doc fix. (Bug#4039)
20316 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20318 2009-08-12 Juri Linkov <juri@jurta.org>
20320 * files-x.el: New file.
20322 * files.el: Move code that deals with adding/deleting
20323 file/directory-local variables to files-x.el.
20325 * Makefile.in (ELCFILES): Add files-x.elc.
20327 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20329 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20330 to use `goto-line'.
20331 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20333 (gdb-invalidate-disassembly): Do not refresh upon receiving
20334 'update signal. Instead, update all disassembly buffers only after
20336 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20337 (gdb-starting): Move -data-list-register-names...
20338 (gdb-stopped): ...here so it's sent when first thread stops.
20339 (gdb-registers-handler-custom): Do nothing if register names are
20342 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20343 from `gdb-mi.el' to avoid extra tangling.
20345 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20346 change which breaks `gud-def' definitions used in `gdb'.
20347 (gdb-update-gud-running): No extra fuss for updating frame number.
20349 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20351 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20352 (describe-language-environment-map, setup-language-environment-map)
20353 (set-coding-system-map): Move initialization into declaration.
20354 (set-language-info-alist): Last arg to define-key-after can be skipped.
20356 * international/quail.el (quail-completion-1): Simplify.
20357 (quail-define-rules): Use slightly more compact code.
20358 (quail-insert-decode-map): Propertize keys, compact columns.
20360 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20363 2009-08-10 Miles Bader <miles@gnu.org>
20365 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20366 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20367 (js2-instance-member, js2-private-member, js2-private-function-call)
20368 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20369 (js2-magic-paren, js2-external-variable):
20370 Remove "-face" suffix from face names.
20371 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20372 (js2-highlight-undeclared-vars, js2-peek-token)
20373 (js2-parse-function-params, js2-mode-show-errors)
20374 (js2-mode-show-warnings, js2-make-magic-delimiter)
20375 (js2-mode-highlight-magic-parens): Update to use new face names.
20377 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20379 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20380 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20382 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20384 * subr.el: Provide hashtable-print-readable.
20386 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20387 hs-c-like-adjust-block-beginning.
20388 (hs-hide-block-at-point): Stop hiding at the beginning of
20389 hs-block-end-regexp (Bug#700).
20391 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20393 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20395 (gdb-registers-handler-custom): Do not fail when register names
20398 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20400 * progmodes/gdb-mi.el (gdb-control-all-threads)
20401 (gdb-control-current-thread): Interactive setters for
20402 `gdb-gud-control-all-threads' to use in menu.
20403 (gdb-show-run-p): Show «Go» when process is not active.
20404 (gud-tool-bar-map): Add non-stop/A,T indicator.
20405 Uses gud/thread.xpm and gud/all.xpm.
20407 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20409 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20410 (nslookup-font-lock-keywords): Make it a variable.
20411 (net-utils-mode): New mode for viewing diagnostic network output.
20412 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20413 (net-utils-run-simple): New function.
20414 (ifconfig, iwconfig, netstat, arp, route): Use it.
20416 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20418 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20419 (gdb-memory-set-address, def-gdb-set-positive-number)
20420 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20421 after changing settings.
20422 (gdb-invalidate-disassembly): Update when first shown.
20423 (gdb-edit-locals-value): Fixed.
20424 (gdb-registers-handler-custom): Print registers in right order and
20425 allow changing register values (only for current thread yet).
20426 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20427 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20428 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20429 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20430 Thread info in mode name.
20431 (gdb-registers-mode-map): TAB to switch to locals.
20433 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20435 * mail/rmail.el (rmail-add-mbox-headers)
20436 (rmail-set-message-counters-counter): Search for
20437 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20439 2009-08-08 Glenn Morris <rgm@gnu.org>
20441 * Makefile.in (ELCFILES): Update.
20443 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20445 * mail/sendmail.el (mail-yank-original):
20446 Set buffer-file-coding-system from the one used by the message whose
20449 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20450 to "windows" when "pgnuplot" is used.
20451 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20452 Don't call accept-process-output if "pgnuplot" is used.
20453 (calc-graph-init): Don't send -display and -geometry to
20454 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20455 running "pgnuplot -V" with shell-command-to-string.
20457 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20460 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20462 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20465 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20467 * vc-dispatcher.el (vc-resynch-window): Update comment.
20469 * term.el (term-handle-ansi-escape): Add comments with the
20470 terminfo capabilities implemented.
20472 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20474 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20475 (gdb-var-create-handler): Rewritten using JSON parser.
20476 (gdb-propertize-header): Move earlier.
20477 (gdb-set-header): Remove to avoid duplication.
20478 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20479 Refresh disassembly buffers only after threads list have been
20481 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20484 2009-08-04 Juri Linkov <juri@jurta.org>
20486 * files.el: Commands to add/delete file/directory-local variables.
20487 (read-file-local-variable, read-file-local-variable-value)
20488 (read-file-local-variable-mode, modify-file-local-variable)
20489 (modify-file-local-variable-prop-line)
20490 (modify-dir-local-variable): New functions.
20491 (add-file-local-variable, delete-file-local-variable)
20492 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20493 (add-dir-local-variable, delete-dir-local-variable)
20494 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20495 (copy-dir-locals-to-file-locals-prop-line): New commands.
20497 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20499 * abbrev.el (insert-abbrev-table-description): Prettify output.
20500 Suggested by Karl Chen.
20502 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20504 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20505 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20506 (gdb-overlay-arrow-position, gdb-thread-position)
20507 (gdb-disassembly-position): Declare variables.
20508 (gdb-wait-for-pending): Function now.
20509 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20510 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20511 compilation goes smoothly.
20512 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20513 (gdb-non-stop-setting): New customization setting which replaces
20514 `gdb-non-stop' so changing it doesn't break active GDB session.
20515 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20516 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20517 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20518 (gdb-show-threads-by-default): New customization options.
20519 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20521 (gdb-get-buffer-create): Send buffers update signal when they are
20523 (gdb-invalidate-locals, gdb-invalidate-registers)
20524 (gdb-invalidate-breakpoints)
20525 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20526 (gdb-invalidate-memory): Accept update signal.
20527 (gdb-current-context-command): Use --frame option.
20528 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20529 Implement `gdb-frame-number' selection logic.
20530 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20531 whether to show GUD toolbar buttons.
20532 (gdb-thread-exited): Unselect current thread when it exits.
20533 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20534 (gdb-mark-line): Routine which sets overlay arrow or inverses
20535 video on fringeless displays.
20536 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20537 to build aligned columns of data in GDB buffers and set text
20538 properties line-by-line.
20539 (gdb-invalidate-breakpoints)
20540 (gdb-breakpoints-list-handler-custom)
20541 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20542 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20543 (gdb-registers-handler-custom): Align data columns.
20544 (gdb-locals-handler-custom): Now prints data like in variable
20546 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20547 Remove confusing buttons.
20548 (gdb-invalidate-threads): Append --frame.
20549 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20550 between breakpoints/threads buffers.
20551 (gdb-set-window-buffer): Now can ignore dedicated windows.
20552 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20553 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20554 (def-gdb-thread-buffer-gud-command): Replaces
20555 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20556 for fine thread control.
20557 (gdb-preempt-existing-or-display-buffer): New function used to
20558 display bound buffers without breaking window layout.
20559 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20560 (gdb-select-frame): New version of `gdb-frames-select' which now
20561 sets `gdb-frame-number' so commands may use --frame option instead
20562 of inner debugger state.
20563 (gdb-frame-handler): Do not set `gdb-frame-number'.
20564 (gdb-threads-mode-map): Select threads with mouse.
20566 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20567 avoid compilation warning.
20568 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20571 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20572 Argument `key' renamed to `buffer-type'.
20573 (gdb-current-context-buffer-name): Do not add thread info to
20574 buffer name when no thread is selected.
20575 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20576 command (bug 3794).
20577 (gdb-thread-selected): Handle `=thread-selected' notification.
20578 (gdb-wait-for-pending): New macro to deal with congestion problems.
20579 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20581 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20582 This fixes problem similar to one described in bug 3947.
20583 (gud-menu-map): More menu items.
20584 (gdb-init-1): Reset `gdb-thread-number' to nil.
20586 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20589 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20590 (gdb-current-context-command): Do not append --thread if
20591 `gdb-thread-number' is nil.
20592 (gdb-running-threads-count, gdb-stopped-threads-count):
20594 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20595 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20596 New customization options.
20597 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20599 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20600 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20601 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20602 set `gdb-thread-number' and update `gud-running' properly.
20603 (gdb-running): Update threads list when new threads appear.
20604 (gdb-stopped): Support non-stop operation and new thread switching
20606 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20607 (gdb-json-partial-output): New set of JSON routines.
20608 (def-gdb-auto-update-trigger): New `signal-list' optional
20610 (gdb-thread-list-handler-custom): Update `gud-running',
20611 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20612 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20613 (gdb-continue-thread, gdb-step-thread): New commands for fine
20614 thread execution control.
20615 (gud-menu-map): New menu items to switch non-stop options.
20616 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20617 (gdb-send): Mimic RET properly (bug 3794).
20619 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20620 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20622 (def-gdb-auto-update-handler): New nopreserve optional argument.
20623 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20625 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20626 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20627 (gdb-parent-mode): New mode to derive other GDB modes from.
20628 (gdb-display-disassembly-for-thread)
20629 (gdb-frame-disassembly-for-thread): New commands for threads
20632 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20633 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20634 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20635 (gdb-update): We now store all GDB buffers in a list so that they
20636 can be updated by traversing a list instead of calling invalidate
20637 triggers explicitly.
20638 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20639 pair for GDB buffer.
20640 (gdb-stack-buffer-name): Add thread information.
20641 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20642 handle pending triggers.
20643 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20644 (def-gdb-thread-buffer-simple-command)
20645 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20646 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20647 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20648 New commands which show buffers bound to thread.
20649 (gdb-stack-list-locals-regexp): Remove unused regexp.
20651 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20652 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20653 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20654 to (gud-comint-buffer) in *-buffer-name functions
20655 because (gdb-get-target-string) already does that.
20656 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20657 (gdb-changed-registers-handler): Rewritten without regexps.
20659 * progmodes/gdb-mi.el: Basic thread selection support.
20660 (gdb-thread-number): New variable.
20661 (gdb-current-context-command): New macro which adds --thread
20663 (gdb-threads-mode-map): Select thread with SPC.
20664 (gdb-thread-list-handler-custom): Mark current thread with overlay
20665 arrow. Synchronize GDB thread and Emacs thread.
20666 (gdb-select-thread): New command which selects current thread.
20667 (gdb-invalidate-frames, gdb-invalidate-locals)
20668 (gdb-invalidate-registers): Use --thread option.
20670 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20672 * net/tramp.el (top): Make check for tramp-gvfs loading more
20674 (tramp-handle-insert-file-contents): `unwind-protect' must be
20675 inside `with-parsed-tramp-file-name'.
20677 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20680 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20682 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20683 directory if CLASSPATH is not set.
20685 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20687 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20689 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20691 2009-08-02 Kevin Ryde <user42@zip.com.au>
20693 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20694 Update freshmeat link. Delete newsforge.com as it seems gone.
20696 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20698 * select.el (x-set-selection): Doc fix (Bug#4021).
20700 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20702 * help-fns.el (describe-variable): Treat list return values from
20703 dir-locals-find-file properly (Bug#4005).
20705 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20707 * net/tramp.el (tramp-debug-message): Print also microseconds.
20709 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20711 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20713 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20714 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20717 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20718 (tramp-get-file-property): Use it.
20720 * autorevert.el (auto-revert-handler):
20721 Allow `auto-revert-tail-mode' for remote files.
20723 2009-08-02 Jason Rumney <jasonr@gnu.org>
20725 * minibuffer.el (read-file-name): Treat confirm options to
20726 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20728 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20730 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20731 (font-lock-variable-name-face, font-lock-constant-face):
20732 Darken the colors for light backgrounds.
20734 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20736 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20737 month names. (Bug#3987)
20739 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20741 * simple.el (line-move-finish): Pass whole number to
20742 line-move-to-column.
20743 (line-move-visual): Perform hscroll to the recorded position.
20745 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20747 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20749 2009-07-29 Alan Mackenzie <acm@muc.de>
20751 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20753 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20755 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20756 (gdb-place-breakpoints): Use full path when setting breakpoints.
20758 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20760 * calc/calc.el (calc-mode-map): Add keybinding for
20761 `calc-transpose-lines'.
20763 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20765 * calc/calc-misc.el (calc-transpose-lines): New function.
20767 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20769 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20770 Simplify check for out-of-band methods.
20771 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20772 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20774 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20776 * vc-git.el (vc-git-checkin): Fix typo.
20778 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20780 * progmodes/js2-mode.el: New file.
20782 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20784 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20785 (gud-menu-map): Adjust tooltip accordingly.
20787 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20789 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20790 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20792 * add-log.el (change-log-mode-map): Add a menu.
20794 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20796 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20797 function returns nil.
20798 (dbus-handle-event): Handle special return value :ignore.
20799 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20801 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20803 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20806 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20810 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20812 * term/pc-win.el (x-display-name, x-colors)
20813 (x-select-enable-clipboard, x-select-text): Doc fix.
20815 * term/common-win.el (x-display-name, x-colors): Doc fix.
20817 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20818 (xw-defined-colors): Doc fix.
20820 * w32-fns.el (x-select-text, x-setup-function-keys)
20821 (x-get-selection, x-set-selection): Doc fix.
20823 * term/x-win.el (x-select-text, x-setup-function-keys)
20824 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20826 * select.el (x-set-selection): Doc fix.
20828 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20830 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20831 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20832 "IsNSSSupportAvailable" method is not available.
20833 Reported by Steve Youngs <steve@sxemacs.org>.
20835 2009-07-24 Kenichi Handa <handa@m17n.org>
20837 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20838 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20839 (build-unicode-category-table): Fix range checks.
20841 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20843 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20844 the buffer we try to sync is current when calling
20847 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20848 not show up to date files.
20850 2009-07-24 Glenn Morris <rgm@gnu.org>
20852 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20853 Add autoload cookies. If necessary, initialize.
20854 (elint-log): Handle non-file buffers.
20855 (elint-initialize): Add optional argument to reinitialize.
20856 (elint-find-builtin-variables): Save excursion.
20858 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20860 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20863 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20865 * vc.el (vc-print-log-internal): New function, split out from ...
20866 (vc-print-log): ... here.
20867 (vc-dir-move-to-goal-column): Declare.
20869 * vc-git.el (vc-git-add-signoff): New variable.
20870 (vc-git-checkin): Use it.
20871 (vc-git-toggle-signoff): New function.
20872 (vc-git-extra-menu-map): Bind it to menu.
20873 (vc-git--run-command-string): Accept a nil FILE argument.
20874 (vc-git-stash-list): New function.
20875 (vc-git-dir-extra-headers): Use it.
20877 2009-07-23 Glenn Morris <rgm@gnu.org>
20879 * help-fns.el (describe-variable): Describe ignored and risky local
20880 variables in a similar way to that in which we describe safe ones.
20882 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20883 (byte-compile-output-file-form, byte-compile-output-docform)
20884 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20885 Give some more local variables with common names a "bytecomp-" prefix,
20886 so as not to shadow things during compilation.
20887 * emacs-lisp/cl-macs.el (load-time-value)
20888 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20889 `outbuffer' to `bytecomp-outbuffer'.
20891 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20892 since the next two variables cover them automatically now.
20893 (elint-builtin-variables, elint-autoloaded-variables): New.
20894 (elint-unknown-builtin-args): Remove all members, since they can be
20895 parsed automatically now.
20896 (elint-extra-errors): New.
20897 (elint-env-add-env, elint-env-add-macro): Use cadr.
20898 (elint-current-buffer): Use or. Change final message.
20899 (elint-get-top-forms): Use line-end-position.
20900 (elint-init-env): Use cadr. Handle autoload, declare-function,
20902 (elint-add-required-env): Doc fix. Use or. Standardize error.
20903 (regexp-assoc): Remove unused function.
20904 (elint-top-form): Set elint-current-pos, to record the start of the
20905 top-level form, for compilation-mode.
20906 (elint-form): Trap errors in macro expansion. Use dolist.
20907 (elint-unbound-variable): Use elint-builtin-variables and
20908 elint-autoloaded-variables.
20909 (elint-get-args): Use cadr, or.
20910 (elint-check-cond-form): Use dolist, cadr.
20911 (elint-check-condition-case-form): Doc fix. Use cadr.
20912 Use elint-extra-errors.
20913 (elint-log): New function.
20914 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20915 Distinguish errors and warnings.
20916 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20917 Use a bytecomp-style format.
20918 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20919 (elint-get-log-buffer): Use compilation mode. Disable undo.
20920 Don't truncate lines.
20921 (elint-initialize): Set builtin and autoloaded variable lists.
20922 Only process elint-unknown-builtin-args if non-nil.
20923 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20925 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20927 2009-07-22 Kevin Ryde <user42@zip.com.au>
20929 * net/newst-backend.el (newsticker--parse-atom-1.0)
20930 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20931 (newsticker--parse-rss-1.0):
20932 * progmodes/idlwave.el (idlwave-mode):
20933 * progmodes/idlw-shell.el (idlwave-shell-mode):
20934 * progmodes/vera-mode.el (vera-mode):
20935 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20936 * progmodes/vhdl-mode.el (vhdl-mode):
20937 * textmodes/table.el (table-generate-source)
20938 (table--warn-incompatibility):
20939 Hyperlink urls in docstrings with URL `...'.
20941 2009-07-22 Glenn Morris <rgm@gnu.org>
20943 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20944 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20945 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20946 Remove leading * from defcustom docs.
20948 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20950 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20952 (list-load-path-shadows): Optionally, just return shadows as a string.
20954 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20956 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20958 * mail/rmailedit.el (rmail-edit-mode):
20959 Use auto-save-include-big-deletions.
20961 * mail/rmail.el (rmail-variables):
20962 Use auto-save-include-big-deletions.
20964 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20967 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20969 * calc/calc.el (calc-undo-length): New variable.
20970 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20972 2009-07-21 Richard Stallman <rms@gnu.org>
20974 * files.el (auto-save-mode): Handle buffer-save-size = -2
20977 2009-07-21 Glenn Morris <rgm@gnu.org>
20979 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20981 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20983 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20984 silence compiler. Instead...
20985 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20986 (ps-print-ensure-fontified): Update for above function name changes.
20988 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20989 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20990 silence compiler. Instead...
20991 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20992 (mh-show-buffer): Only define for compiler.
20993 (pr-mh-current-message): Update for above function name changes.
20995 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20997 (find-file-noselect, insert-file-1): Update for above change.
20999 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21001 * mail/mailclient.el (mailclient-send-it): Fix message.
21003 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21004 (edebug-eval): Check cl-debug-env is bound.
21005 (print-level, print-circle): Don't redefine built-in variables.
21007 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21008 (custom-print-vectors): Remove old comments from doc.
21010 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21011 (emerge-version): Make the variable an obsolete alias for the
21012 emacs-version variable. Make the function obsolete.
21013 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21014 Emerge options, rather than merging in into the main Options menu.
21015 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21016 and auto advance modes. Disable edit/fast items when not relevant.
21018 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21020 * term/vt420.el (terminal-init-vt420): Fix typo.
21022 2009-07-20 Sam Steingold <sds@gnu.org>
21024 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21025 variable (removed from compile.el on 2004-03-11).
21027 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21029 * files.el (hack-local-variables-filter): Fix last change.
21031 2009-07-19 Juri Linkov <juri@jurta.org>
21033 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21034 (dir-local-variables-alist): New buffer-local variable.
21035 (hack-local-variables-filter): If variable is not dir-local,
21036 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21037 because file-local overrides dir-local.
21038 (c-postprocess-file-styles) <declare-function>:
21039 Remove obsolete declaration.
21040 (hack-dir-local-variables): Add dir-local variable/value pair to
21041 `dir-local-variables-alist' and remove duplicates. Doc fix.
21043 * help-fns.el (describe-variable): Add information about
21044 file-local and dir-local variables.
21046 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21048 * files.el (hack-local-variables-filter): Rewrite.
21050 2009-07-19 Glenn Morris <rgm@gnu.org>
21052 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21053 Silence compiler by only defining on XEmacs.
21055 * international/mule.el (auto-coding-regexp-alist): Only match
21056 BABYL... at the start of buffer, not of lines. (Bug#3790)
21058 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21059 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21060 (cal-menu-context-mouse-menu): Doc fix.
21062 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21064 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21066 2009-07-18 Juri Linkov <juri@jurta.org>
21068 * info.el: Virtual Info keyword finder.
21069 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21070 (Info-finder-file): New variable.
21071 (Info-finder-find-file): New function.
21072 (finder-known-keywords, finder-package-info)
21073 (find-library-name, lm-commentary): Use defvar and
21074 declare-function to silence compiler warnings.
21075 (Info-finder-find-node): New function.
21076 (info-finder): New command.
21078 * subr.el (process-kill-buffer-query-function): New function.
21079 (add-hook)<kill-buffer-query-functions>: Add hook
21080 `process-kill-buffer-query-function'.
21082 2009-07-18 Alan Mackenzie <acm@muc.de>
21084 * progmodes/cc-mode.el (c-before-hack-hook)
21085 (c-postprocess-file-styles): Give invocation of `c-set-style'
21086 DONT-OVERRIDE parameter of t. Already set style variables will
21087 thus not be overridden by style settings given by `c-file-syle'.
21089 * files.el (hack-local-variables-filter): Remove entries with
21090 duplicate keys from `file-local-variables-alist'.
21092 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21094 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21095 x-set-selection if display-selections-p returns nil for the
21098 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21100 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21102 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21104 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21105 Accept nil in addition to a regexp.
21106 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21107 Accept nil in addition to a regexp.
21108 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21109 buffers that have an associated file. Handle nil values of
21110 desktop-buffers-not-to-save and desktop-files-not-to-save.
21113 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21114 (x-disown-selection-internal): New functions.
21116 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21118 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21120 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21121 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21123 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21125 * simple.el (set-mark): Revert last change.
21127 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21129 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21130 rendering of pngs is not possible instead of messaging a long
21133 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21135 * w32-fns.el (x-selection-owner-p): New function.
21137 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21138 (mouse-yank-at-click, mouse-yank-primary):
21139 If select-active-regions is non-nil, deactivate the mark before
21142 * simple.el (deactivate-mark, set-mark): Only save selection if we
21145 2009-07-17 Kenichi Handa <handa@m17n.org>
21147 * case-table.el (describe-buffer-case-table): Fix for the case
21148 that KEY is a cons.
21150 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21152 * vc-rcs.el (vc-rcs-find-file-hook):
21153 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21155 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21157 * net/tramp.el (tramp-wait-for-output): Handle the case when
21158 commands do not return a newline but a null byte before the shell
21161 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21163 * term/ns-win.el (ns-set-alpha): Don't declare.
21164 (ns-set-background-alpha): Remove function.
21166 2009-07-16 Kevin Ryde <user42@zip.com.au>
21168 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21169 y-or-n-p, for safety.
21171 2009-07-16 Richard Stallman <rms@gnu.org>
21173 * files.el (auto-save-mode): If buffer-saved-size is -2,
21176 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21177 (rmail-retry-ignored-headers): Add more uninteresting fields.
21179 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21181 * net/rcirc.el (rcirc): Use history variables.
21182 (rcirc-server-name-history, rcirc-nick-name-history)
21183 (rcirc-server-port-history): New variables.
21185 2009-07-15 Kenichi Handa <handa@m17n.org>
21187 * international/mule-cmds.el (set-language-environment-charset):
21188 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21191 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21192 Delete unibyte-display.
21194 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21196 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21198 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21200 * simple.el (deactivate-mark): Optional argument FORCE.
21201 (set-mark): Use deactivate-mark.
21203 * info.el (Info-search): No need to check transient-mark-mode
21204 before calling deactivate-mark.
21206 * select.el (x-set-selection): Doc fix.
21207 (x-valid-simple-selection-p): Allow buffer values.
21208 (xselect--selection-bounds): Handle buffer values.
21209 Suggested by David De La Harpe Golden.
21211 * mouse.el (mouse-set-region, mouse-drag-track):
21212 Call copy-region-as-kill before setting the mark, to let
21213 select-active-regions work.
21215 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21217 * simple.el (deactivate-mark): If select-active-regions is
21218 non-nil, copy the selection data into a string.
21219 (activate-mark): If select-active-regions is non-nil, set the
21220 selection to the current buffer.
21221 (set-mark): Update selection if select-active-regions is non-nil.
21223 * select.el (x-valid-simple-selection-p): Allow buffer values.
21225 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21227 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21228 and more featureful message-mode.
21230 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21232 * select.el (x-set-selection): Doc fix.
21233 (x-valid-simple-selection-p): Disallow selection data consisting
21234 of a list or cons of integers, since that is not used.
21235 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21236 (xselect-convert-to-string, xselect-convert-to-length)
21237 (xselect-convert-to-filename, xselect-convert-to-charpos)
21238 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21240 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21242 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21243 output in -break-info command (Emacs bug #3794).
21245 2009-07-14 Glenn Morris <rgm@gnu.org>
21247 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21248 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21249 (edebug-print-length, edebug-print-level, edebug-print-circle)
21250 (edebug-sit-for-seconds, edebug-view-outside)
21251 (edebug-bounce-point, edebug-set-global-break-condition)
21252 (edebug-Go-nonstop-mode, edebug-trace-mode)
21253 (edebug-Trace-fast-mode, edebug-continue-mode)
21254 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21255 (edebug-visit-eval-list): Doc fixes.
21257 * subr.el (def-edebug-spec): Doc fix.
21259 2009-07-14 Kenichi Handa <handa@m17n.org>
21261 * international/characters.el: Fix setting of category ?C.
21263 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21265 * term/ns-win.el (x-select-font): defalias x-select-font to
21266 ns-popup-font-panel instead of generate-fontset-menu.
21268 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21270 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21272 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21274 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21275 the PK\003\004 header (Bug#3770).
21277 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21279 * pcomplete.el (pcomplete-comint-setup): Check for
21280 shell-dynamic-complete-filename too.
21282 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21284 * simple.el (temporary-goal-column): Change the value for
21285 line-move-visual to a cons cell.
21286 (line-move-visual): Record or set the window hscroll, if
21287 necessary (Bug#3494).
21288 (line-move-1): Handle cons value of temporary-goal-column.
21290 2009-07-11 Kenichi Handa <handa@m17n.org>
21292 * international/mule-diag.el (describe-character-set): Don't show
21295 2009-07-10 Sam Steingold <sds@gnu.org>
21297 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21298 Omake sometimes indents the errors it prints, so allow all
21299 regexps to start with spaces.
21301 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21303 * cus-edit.el (customize-changed-options-previous-release):
21304 Bump value to 22.1. (Bug#3804)
21306 2009-07-08 Sam Steingold <sds@gnu.org>
21308 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21309 to be a cons cell (test . ignored-directory) to selectively ignore
21310 some directories depending on the location of the search.
21312 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21314 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21315 remote user is root, on the local host.
21316 (tramp-local-host-p): Either the local user or the remote user
21317 must be root. (Bug#3771)
21319 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21321 * progmodes/gdb-mi.el (gdb): Remove description of
21322 gdb-use-separate-io-buffer.
21323 (menu): Don't allow toggling of or enable
21324 gdb-use-separate-io-buffer from menubar.
21326 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21328 * mail/unrmail.el (unrmail): Make sure the message ends with two
21329 newlines (Bug#3769).
21331 2009-07-08 Glenn Morris <rgm@gnu.org>
21333 * calendar/calendar.el (calendar-current-date): Rework previous change.
21335 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21337 * calendar/calendar.el (calendar-current-date):
21338 Add an optional argument giving an offset from today.
21340 2009-07-08 Glenn Morris <rgm@gnu.org>
21342 * tutorial.el (tutorial--describe-nonstandard-key):
21343 Adjust the message for when a key has been unbound.
21344 (help-with-tutorial): Hide the arch-tag.
21346 2009-07-08 Kenichi Handa <handa@m17n.org>
21348 * international/fontset.el (setup-default-fontset): For each
21349 script, append (not set) font-specs.
21351 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21354 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21356 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21357 -data-list-register-names to ...
21358 (gdb-starting): ... here because GDB 7.0 requires execution to
21359 have started when using this MI command.
21360 (gdb-set-header): New function to distinguish select and
21361 unselected tabs in gdb buffers.
21362 (gdb-propertize-header): New macro that uses gdb-set-header.
21363 (gdb-breakpoints-header, gdb-locals-header): Use it.
21364 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21366 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21368 * Makefile.in (ELCFILES): Remove fadr.elc.
21370 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21372 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21373 may contain frame information, so `string-match' should be used.
21374 (gdb-update): Disassembly is invalidated through
21375 `gdb-get-selected-frame'.
21376 (gdb-pad-string): New function to pad string with spaces.
21377 (gdb-invalidate-disassembly): Invalidate only if the buffer
21379 (gdb-disassembly-handler-custom): Column alignment.
21380 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21382 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21384 (gdb-frame-handler): Match convention to for disassembly buffer
21386 (gdb-stack-list-frames-handler): Rewritten without regexps.
21387 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21388 not highlight breakpoints without line information.
21389 (gdb-input): Add trailing newline to command.
21391 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21393 (gdb-breakpoints-list-handler-custom): Replacement for
21394 `gdb-break-list-handler'. Using real parser instead of regexps
21396 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21397 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21398 to place breakpoints.
21399 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21401 (gdb-disassembly-handler-custom): Show overlay arrow.
21402 (gdb-disassembly-place-breakpoints): Show breakpoints in
21403 disassembly buffer.
21404 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21405 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21406 instead of parsing breakpoints buffer. Fixed old menu references
21411 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21412 (gdb-memory-address): New variable which holds top address of
21413 memory page shown in memory buffer.
21414 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21415 New customization variables.
21417 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21418 display the memory buffer.
21419 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21420 buffer display parameters.
21421 (def-gdb-memory-format, gdb-memory-format-binary)
21422 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21423 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21424 Functions for setting memory buffer format.
21425 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21426 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21427 unit size used in memory buffer.
21428 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21429 Switch to next/previous page of memory buffer.
21430 Now using (bindat-get-field) instead of fadr functions.
21432 2009-07-07 Sam Steingold <sds@gnu.org>
21434 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21435 non-top-level files.
21437 2009-07-07 Kenichi Handa <handa@m17n.org>
21439 * international/mule-cmds.el (reset-language-environment):
21440 Put the highset priority to the charset iso-8859-1.
21442 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21444 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21445 to the end of the line when locating the block (Bug#700).
21447 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21449 * net/tramp.el (tramp-handle-write-region): Flush file properties
21450 in case of short track.
21452 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21454 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21455 Coded custom representation of verilog error regular expressions
21456 to work with Emacs-22's new format.
21457 (verilog-error-regexp-xemacs-alist): Coded custom representation
21458 of verilog error regular expressions to work with XEmacs format.
21459 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21460 error recognition into XEmacs.
21461 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21462 error recognition into Emacs-22.
21464 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21466 * woman.el: Remove stand-alone closing parentheses.
21467 (woman-file-name, woman2-format-paragraphs)
21468 (woman-leave-blank-lines): Code cleanup.
21469 (woman-use-own-frame): Change default to nil.
21470 (woman-italic, woman-bold, woman-unknown, woman-addition):
21471 Change defaults to inherit from default faces.
21472 (woman2-process-escapes): Consume the newline after a stand-alone
21473 filler character (Bug#3651).
21475 2009-07-06 Glenn Morris <rgm@gnu.org>
21477 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21478 (top-level): Move provide to the end.
21479 (ffap): Remove defunct URL from custom group.
21481 * subr.el (eval-after-load): Doc fix.
21483 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21485 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21486 `calc-embedded-word' is called twice.
21488 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21490 * files.el (find-alternate-file-other-window, find-alternate-file):
21491 Obey confirm-nonexistent-file-or-buffer.
21493 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21495 * dired-aux.el (dired-show-file-type): Handle remote files.
21497 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21499 * desktop.el (desktop-globals-to-save):
21500 Add file-name-history (Bug#2750).
21502 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21504 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21506 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21508 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21509 property on entire argument since this is what eshell-lisp-command
21512 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21514 * net/tramp-gvfs.el (tramp-gvfs-methods)
21515 (tramp-gvfs-zeroconf-domain)
21516 (tramp-bluez-discover-devices-timeout): Add version flag.
21517 (tramp-gvfs-handler-mounted-unmounted)
21518 (tramp-gvfs-connection-mounted-p): Polish handling of
21519 incompatibilities between GVFS 0.2 and 1.0.
21521 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21523 * cus-start.el (all): Add make-pointer-invisible.
21525 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21527 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21528 formatted correctly.
21530 2009-07-02 Juri Linkov <juri@jurta.org>
21532 * info.el: Virtual Info files and nodes.
21533 (Info-virtual-files, Info-virtual-nodes): New variables.
21534 (Info-current-node-virtual): New variable.
21535 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21537 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21538 to check for a virtual file instead of checking a fixed list
21540 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21541 instead of ad-hoc processing of "dir" and (apropos history toc).
21542 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21543 instead of ad-hoc processing of "dir" and (apropos history toc).
21544 Reread a file when moving from a virtual node.
21545 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21546 (Info-directory-toc-nodes, Info-directory-find-file)
21547 (Info-directory-find-node): New functions.
21548 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21549 (Info-history): Move part of code to
21550 `Info-history-find-node'.
21551 (Info-history-toc-nodes, Info-history-find-file)
21552 (Info-history-find-node): New functions.
21553 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21554 (Info-toc): Move part of code to `Info-toc-find-node'.
21555 (Info-toc-find-node): New function.
21556 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21557 the current Info file name to references because now the node
21558 "*TOC*" belongs to the same Info manual.
21559 (Info-toc-build): Rename from `Info-build-toc'.
21560 (Info-toc-nodes): Rename input argument `file' to `filename'.
21561 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21562 instead of ad-hoc processing of ("dir" apropos history toc).
21563 (Info-index-nodes): Use Info-virtual-file-p
21564 to check for a virtual file instead of checking a fixed list
21566 (Info-index-node): Add check for `Info-current-node-virtual'.
21567 Raise `save-match-data' higher up the tree to contain
21568 `search-forward' too (bug fix).
21569 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21570 (Info-virtual-index-nodes): New variable.
21571 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21572 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21573 (Info-apropos-file, Info-apropos-nodes): New variables.
21574 (Info-apropos-toc-nodes, Info-apropos-find-file)
21575 (Info-apropos-find-node, Info-apropos-matches): New functions.
21576 (info-apropos): Move part of code to `Info-apropos-find-node' and
21577 `Info-apropos-matches'.
21578 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21579 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21580 for a virtual file instead of checking a fixed list of node names.
21582 * simple.el (async-shell-command): New command.
21584 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21586 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21587 instead of `mount-info'.
21589 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21591 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21592 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21594 2009-07-02 Kenichi Handa <handa@m17n.org>
21596 * international/mule.el (set-keyboard-coding-system): Force *-unix
21597 coding-system to avoid eol conversion.
21599 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21601 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21602 Add handler for `process-file', `shell-command' and
21603 `start-file-process'.
21604 (tramp-gvfs-handle-shell-command)
21605 (tramp-gvfs-handle-start-file-process)
21606 (tramp-gvfs-handle-process-file): New defuns.
21607 (tramp-synce-list-devices): Simplify check for existence of property.
21609 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21611 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21613 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21615 * language/korean.el (set-language-info-alist): Add korean-cp949,
21618 2009-07-01 Kenichi Handa <handa@m17n.org>
21620 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21622 * international/encoded-kb.el: Deleted.
21624 * international/mule.el (set-keyboard-coding-system): Perform the
21625 necessary setup here instead of calling encoded-kbd-setup-display.
21627 2009-07-01 Glenn Morris <rgm@gnu.org>
21629 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21631 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21633 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21635 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21637 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21638 Handle also the 'rename case, when setting file modes. (Bug#3712)
21639 (tramp-default-file-modes): Remove execute permissions.
21641 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21642 (top): Add a default for "synce" in `tramp-default-user-alist'.
21643 Add completion function for "synce" method.
21644 (tramp-hal-service, tramp-hal-path-manager)
21645 (tramp-hal-interface-manager, tramp-hal-interface-device):
21647 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21648 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21651 * net/trampver.el: Update release number.
21653 2009-06-30 Kenichi Handa <handa@m17n.org>
21655 * international/fontset.el (setup-default-fontset): Add CJK fonts
21656 for symbols and the other miscellaneous characters.
21658 * language/korea-util.el (setup-korean-environment-internal):
21659 Make char-width-table suitable for Korean environments.
21660 (exit-korean-environment): Cancel above.
21662 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21663 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21664 setup-function to make char-width-table suitable for respective
21665 environments, and an exit-function to cancel that.
21667 * language/japan-util.el (setup-japanese-environment-internal):
21668 Call use-cjk-char-width-table with arg `ja_JP'.
21670 * international/characters.el (cjk-char-width-table): Delete it.
21671 (cjk-char-width-table-list): New variable.
21672 (use-cjk-char-width-table): New arg local-name.
21673 (use-default-char-width-table): Fix for the case that Emacs is
21674 already using the default char-width-table.
21676 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21678 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21679 modes mandatory. (Bug#3712)
21681 2009-06-29 Alan Mackenzie <acm@muc.de>
21683 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21684 correction between the visible width of TABs and their number of bytes.
21686 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21688 * server.el (server-buffer-done): Prevent kill-buffer from
21689 prompting by clearing the buffer modification flag (Bug#3696).
21691 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21693 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21694 (verilog-endcomment-reason-re): Support unique case and priority case.
21695 (verilog-basic-complete-re): Support localparam lineup.
21696 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21697 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21699 (verilog-leap-to-case-head): Now support *nested* unique &
21700 priority case statements.
21701 (verilog-auto-lineup): Make just declarations the default (as it
21703 (verilog-leap-to-case-head): Support priority/unique case statements.
21704 (verilog-auto-lineup): Rework to give users radio buttons to
21705 select the various styles of automatic lineup.
21706 (verilog-error-regexp-alist): Rework to support the XEmacs style
21707 of error regular expressions from compilers, lint tools &
21708 simulators. Note that GNU Emacs has made it impossible for a mode
21709 to load such things.
21710 (electric-verilog-terminate-line, verilog-indent-declaration)
21711 (verilog-auto-wiure): Rework for radio button selection of
21712 auto-lineup selection of specification of auto lineup.
21713 (verilog-beg-of-statement-1): Redesign to support proper operation
21714 in additional code, based on testing with auto-lineup.
21715 (verilog-calculate-indent, assignments & declarations)
21716 (verilog-backward-token): Enhance to support auto-lineup of
21717 assignments & declarations.
21718 (verilog-in-directive-p, verilog-at-struct-p): New function for
21719 easy test of whether we are.
21720 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21721 to support safe execution at almost anyline.
21722 (verilog-calc-1): Properly support indenting deep inside generate
21724 (verilog-init-font): Remove definition & use of verilog-init-font,
21725 as it is redundant with font-lock-defaults.
21726 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21727 to avoid circular calls if syntax-ppss is a function (as is the
21728 case now in 22.x GNU Emacs) as that function would sometimes call
21729 itself, leading to (nearly) infinite recursion.
21730 (verilog-ovm-begin-re, verilog-ovm-end-re)
21731 (verilog-ovm-statement-re, verilog-leap-to-head)
21732 (verilog-backward-token): Add support for OVM macros. Some are
21733 complete statements, and others open and close scopes like begin
21735 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21736 (verilog-defun-level-generate-only-re): Really fix the defun-list
21738 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21739 coverpoint, constraint and cross statements.
21740 (verilog-defun-level-list, verilog-generate-defun-level-list)
21741 (verilog-all-defun-level-list): Redo these specifications - it is
21742 too hard to support eval-when compile aggregation of lists also
21743 built at when-compile time.
21744 (verilog-defun-level-list): Place defconsts of variables used in
21745 building regular expressions which are built in eval-when-compile
21746 bodies in the same eval-when-compile body to facilitate compile
21748 (verilog-beg-block-re-ordered): Support indenting
21749 virtual/protected tasks and functions.
21750 (verilog-defun-level-list, verilog-in-generate-region-p)
21751 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21752 indentation of some module items (generate items).
21753 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21754 across virtual/protected tasks and functions.
21756 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21758 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21759 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21760 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21761 in concatenations. Reported by Yishay Belkind.
21762 (verilog-auto-ascii-enum): Support one-hot state machines in
21763 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21764 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21765 modport in AUTOINST and add vl-modport for users.
21766 Reported by David Rogoff.
21767 (verilog-auto-inout-module, verilog-auto-inst)
21768 (verilog-decls-get-interfaces, verilog-insert-definition)
21769 (verilog-insert-one-definition, verilog-read-decls)
21770 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21771 (verilog-sig-modport, verilog-signals-combine-bus)
21772 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21773 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21774 Suggested by David Rogoff.
21775 (verilog-repair-open-comma): Fix non-insertion of comma when
21776 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21777 (verilog-make-width-expression): Simplify [A-1:0] expression
21778 widths to just {A{1'b0}}.
21779 (verilog-mode): Cleanup checkdoc warnings.
21780 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21781 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21782 inputs/outputs or data type. Suggested by Vasu Kandadi.
21783 (next-error-last-buffer): Fix byte-compiler warning.
21784 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21785 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21786 or shell command text during AUTO expansion. Suggested by Tad Truex.
21787 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21788 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21789 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21790 in AUTOINOUT. Reported by Matthew Lovell.
21791 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21792 causing use of <= assignments. Reported by Alex Reed.
21793 (verilog-read-decls): Fix triand, trior, wand, wor to be
21794 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21795 (verilog-extended-complete-re): Support import "DPI-C" functions.
21796 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21797 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21798 (verilog-insert-date, verilog-insert-year)
21799 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21800 Windows systems. Reported by Michael Potts.
21801 (verilog-read-module-name): Fix AUTOINST when the child module
21802 declaration's name is a tick define. Reported by Elliot Mednick.
21803 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21804 passed to next parameter's definition. Reported by Bruce T.
21805 (verilog-read-decls): Fix detecting "parameter int" when using
21806 AUTOINSTPARAM. Reported by Bruce T.
21807 (verilog-goto-defun): Fix goto not finding modules unless first
21808 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21809 (verilog-mode): Expand -f flag arguments on entry to mode so
21810 verilog-goto-defun will work. Reported by Lawrence Butcher.
21811 (verilog-getopt): Expand environment variables in -f file
21812 arguments. Suggested by Lawrence Butcher.
21813 (verilog-set-define): Fix "Symbol's value as variable is void"
21814 when reading enumerations.
21815 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21816 Suggested by Stephen Peltan.
21817 (verilog-read-defines): Fix reading of enumerations in include
21818 files. Reported by Steve Peltan.
21820 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21822 * files.el (trash-directory): Fix defcustom type.
21824 2009-06-28 Juri Linkov <juri@jurta.org>
21826 * help-fns.el (describe-function-1): Correctly locate adviced
21827 functions in hyperlink (Bug#2438).
21829 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21831 * files.el (trash-directory): Change default to nil.
21832 (move-file-to-trash): If trash-directory is nil and
21833 system-move-file-to-trash is unbound, perform freedesktop-style
21836 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21838 * files.el (move-file-to-trash): Add freedesktop trash
21841 2009-06-28 Glenn Morris <rgm@gnu.org>
21843 * autorevert.el (global-auto-revert-non-file-buffers)
21844 (global-auto-revert-mode): Doc fixes.
21846 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21848 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21850 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21852 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21853 opened an X connection before calling x-get-resource (Bug#3194).
21855 * play/doctor.el: Remove reference to obsolete website.
21856 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21858 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21860 Remove find-file-not-found-hook VC method. (Bug#2757)
21861 * vc-hooks.el (vc-file-not-found-hook)
21862 (vc-default-find-file-not-found-hook): Remove functions.
21863 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21864 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21867 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21869 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21871 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21872 compatibility function for `looking-back'.
21874 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21875 Use `ispell-looking-back'.
21877 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21879 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21880 rather than `filename'.
21882 2009-06-23 Miles Bader <miles@gnu.org>
21884 * face-remap.el (text-scale-set): New function.
21886 2009-06-23 Glenn Morris <rgm@gnu.org>
21888 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21890 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21892 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21894 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21896 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21897 Simplify Persian conditionals.
21899 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21900 variable `filename'.
21902 * comint.el (comint-insert-input): Doc fix.
21904 * Makefile.in (ELCFILES): Fix typo in previous change.
21906 2009-06-23 Miles Bader <miles@gnu.org>
21908 * cus-start.el: Add entry for `recenter-redisplay'.
21910 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21912 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21913 Add an optional argument for the backend, use it instead of
21914 calling vc-backend.
21915 (vc-mode-line): Add an optional argument for the backend.
21916 Pass the backend to vc-state and vc-working-revision. Move code for
21917 special handling for vc-state being a buffer to ...
21919 * vc-rcs.el (vc-rcs-find-file-hook):
21920 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21922 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21923 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21924 vc-stay-local-p and vc-mode-line calls.
21926 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21927 (vc-cvs-diff, vc-cvs-annotate-command)
21928 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21929 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21930 vc-mode-line calls.
21932 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21934 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21935 backend when calling vc-mode-line.
21936 (vc-register): Do not create a closure for calling the vc register
21937 function, call it directly.
21939 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21941 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21942 to make it obvious item can be clicked.
21944 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21946 2009-06-23 Kenichi Handa <handa@m17n.org>
21948 * language/korea-util.el (korean-key-bindings): Change the binding
21949 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21952 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21954 Sync with Tramp 2.1.16.
21956 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21958 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21959 when a loading of a package fails. Completion function for rsync
21960 is `tramp-completion-function-alist-ssh'.
21961 (all): Replace all calls of `split-string' and
21962 `tramp-split-string' by `tramp-compat-split-string'.
21963 (tramp-default-method): Use `tramp-compat-process-running-p'.
21964 (tramp-default-proxies-alist): Allow also Lisp forms.
21965 (tramp-remote-path): Add choice "Private Directories".
21966 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21967 (tramp-domain-regexp): Allow also "-", "_" and ".".
21968 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21969 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21970 (tramp-debug-message): Insert header line in debug buffer.
21971 (tramp-handle-directory-files-and-attributes-with-stat):
21972 Care about filenames with spaces, or starting with "-".
21973 (tramp-handle-dired-uncache): New defun.
21974 (tramp-handle-insert-directory): Don't flush the directory from
21975 cache, this is handled by `dired-uncache' now.
21976 (tramp-handle-insert-file-contents): Improve error handling.
21977 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21978 Quote `tramp-end-of-output'.
21979 (tramp-action-password): Improve trace message.
21980 (tramp-check-for-regexp): Both echoes must be present, before removing.
21981 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21982 (tramp-compute-multi-hops): Eval cons cells of
21983 `tramp-default-proxies-alist'.
21984 (tramp-maybe-open-connection): Use the same command pattern for
21985 first hop and further hops.
21986 (tramp-wait-for-output): Remove handling of newlines.
21987 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21988 (tramp-split-string): Remove function. It is handled in
21991 * net/tramp-cmds.el (tramp-bug):
21992 Recommend `tramp-cleanup-all-connections' in the bug mail.
21994 * net/tramp-compat.el (tramp-compat-split-string)
21995 (tramp-compat-process-running-p): New defuns.
21997 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21998 for `dired-uncache'.
22000 * net/tramp-gvfs.el: New package.
22002 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22003 Add handler for `dired-uncache'.
22004 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22006 * net/trampver.el: Update release number. Make version check fit
22009 2009-06-22 Jim Meyering <meyering@redhat.com>
22011 Automatically handle .xz suffix (XZ-compressed files), too.
22012 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22013 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22015 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22016 Nick Roberts <nickrob@snap.net.nz>
22018 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22019 repository (http://sphinx.net.ru/hg/gdb-mi/).
22021 2009-06-22 Glenn Morris <rgm@gnu.org>
22023 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22024 `mode' and `eval' entries. (Bug#3430)
22026 * Makefile.in (ELCFILES): Add fadr.elc.
22028 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22029 differing behavior of \n and ^ in strings. (Bug#3385)
22031 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22033 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22035 (lisp-indent-function): Make it a defcustom.
22037 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22039 * progmodes/gdb-ui.el: Replace with ...
22040 * progmodes/gdb-mi.el: ... this file.
22041 * progmodes/gud.el: Modify for gdb-mi.el.
22043 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22045 * fadr.el: New file.
22047 See ChangeLog.14 for earlier changes.
22049 ;; Local Variables:
22053 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22055 This file is part of GNU Emacs.
22057 GNU Emacs is free software: you can redistribute it and/or modify
22058 it under the terms of the GNU General Public License as published by
22059 the Free Software Foundation, either version 3 of the License, or
22060 (at your option) any later version.
22062 GNU Emacs is distributed in the hope that it will be useful,
22063 but WITHOUT ANY WARRANTY; without even the implied warranty of
22064 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22065 GNU General Public License for more details.
22067 You should have received a copy of the GNU General Public License
22068 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.