1 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3 * dired-aux.el (dired-create-files): Adapt destination name to
4 match the new behavior of copy-directory.
6 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
8 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
9 from rmail-dont-reply-to-names. Callers changed.
10 (mail-dont-reply-to): Rename from mail-dont-reply-to.
11 (rmail-dont-reply-to): Make it an obsolete alias.
13 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
14 nil, and make obsolete (Bug#7888).
15 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
17 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
19 * mail/rmailsort.el (rmail-sort-by-correspondent)
20 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
22 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
24 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
26 * files.el (copy-directory): New argument COPY-CONTENTS for
27 copying directory contents into another existing directory.
29 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
31 * minibuffer.el (completion-table-case-fold): New function for
32 creating a case-insensitive completion table.
34 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
36 * net/tramp.el (tramp-default-method): Also check if
37 `auth-source-search' is bound.
38 (tramp-read-passwd): Use `auth-source-search' instead of
39 `auto-source-user-or-password'.
41 * net/tramp-imap.el: Autoload `auto-source-search' instead of
42 `auto-source-user-or-password.
43 (tramp-imap-passphrase-callback-function): Use it.
45 * net/imap-hash.el: Autoload `auto-source-search' instead of
46 `auto-source-user-or-password.
47 (imap-hash-open-connection): Use it.
49 * mail/smtpmail.el: Autoload `auto-source-search' instead of
50 `auto-source-user-or-password.
51 (smtpmail-try-auth-methods): Use it.
53 2011-02-12 Phil Hagelberg <phil@hagelb.org>
55 * emacs-lisp/package.el: Allow packages to be reinstalled.
56 (package--write-file-no-coding): Remove EXCL arg.
57 (package-unpack-single): Don't use it.
59 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
61 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
62 in each sub directory.
63 (vc-svn-registered): Use vc-svn-root.
64 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
65 (vc-svn-repository-hostname): Use "svn info".
67 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
69 * simple.el (delete-trailing-whitespace): New optional buffer
72 2011-02-11 Bastien Guerry <bzg@altern.org>
74 * files.el (basic-save-buffer): save unmodified buffers when
75 the file pointed by buffer-file-name doesn't exist.
77 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
79 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
81 2011-02-11 Glenn Morris <rgm@gnu.org>
83 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
85 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
87 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
89 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
91 * server.el (server-process-filter): Use pcase.
93 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
95 (smie-indent--parent): Extend to "parent of arg".
96 (smie-indent-inside-string): New function.
97 (smie-indent-functions): Use it.
99 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
100 bzr locking race condition.
102 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
103 still valid before using it.
105 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
106 `message' -> `compilation-message' rename (bug#8004).
108 Move keymap initialization into declaration.
109 * textmodes/enriched.el (enriched-mode-map):
110 * textmodes/bib-mode.el (bib-mode-map):
111 * term/lk201.el (lk201-function-map):
112 * tar-mode.el (tar-mode-map):
113 * replace.el (occur-mode-map):
114 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
115 * progmodes/idlw-help.el (idlwave-help-mode-map):
116 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
117 * play/solitaire.el (solitaire-mode-map):
118 * play/snake.el (snake-mode-map, snake-null-map):
119 * play/pong.el (pong-mode-map):
120 * play/handwrite.el (menu-bar-handwrite-map):
121 * play/gametree.el (gametree-mode-map):
122 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
123 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
124 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
125 (newsticker--url-keymap):
126 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
127 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
128 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
129 (menu-bar-edit-menu, menu-bar-custom-menu)
130 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
131 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
132 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
133 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
134 (menu-bar-tools-menu, menu-bar-describe-menu)
135 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
136 (menu-bar-help-menu):
137 * mail/rmailsum.el (rmail-summary-mode-map):
138 * kmacro.el (kmacro-step-edit-map):
139 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
140 (ibuffer-mode-operate-map):
141 * hi-lock.el (hi-lock-menu, hi-lock-map):
142 * emulation/vip.el (vip-mode-map):
143 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
144 * bookmark.el (bookmark-bmenu-mode-map):
145 * help-mode.el (help-mode-map): Move initialization into declaration.
147 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
149 * net/rcirc.el: Add PRIVMSG and CTCP functions.
150 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
151 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
152 (rcirc-cmd-me, rcirc-authenticate): Use them.
154 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
156 * allout.el: Synopsis: Change allout user configuration so
157 auto-activation is controlled solely by customization
158 `allout-auto-activation'.
160 (allout-auto-activation-helper) (allout-setup): New autoloads
161 implement new custom set procedure for allout-auto-activation.
162 Also, explicitly invoke
163 (allout-setup) after allout-auto-activation is custom-defined, to
164 effect the settings in emacs sessions besides the few where
165 allout-auto-activation customization is donea.
166 (allout-auto-activation): Use allout-auto-activation-helper to
167 :set. Revise the docstring.
168 (allout-init): Reduce functionality to just customizing
169 allout-auto-activation, and mark obsolete.
170 (allout-mode): Respect string values for allout-auto-activation.
171 Run allout-after-copy-or-kill-hook without any args.
172 (allout-mode) (allout-layout) (allout-default-layout)
173 (outlineify-sticky): Adjust docstring for new scheme.
174 (allout-after-copy-or-kill-hook): No arguments - hook implementers
175 should concentrate on the kill ring.
177 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
179 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
180 of here-doc that immediately follows a comment.
182 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
184 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
186 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
188 (rcirc-ctcp-sender-PING): New function.
190 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
192 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
193 Remove the mark/nomark handling, and activate shift-select-mode instead.
195 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
197 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
199 * calc/calc-units.el (math-logunits-quant): Add support for
200 non-logarithmic units.
202 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
204 * allout.el (allout-after-copy-or-kill-hook): New hook for
205 extension-specific processing of killed text.
206 (allout-mode): Include new allout-after-copy-or-kill-hook among
208 (allout-kill-line) (allout-kill-topic): Ensure that processing
209 after kill happens even if barf-if-buffer-read-only is raised.
210 Include new allout-after-copy-or-kill-hook among that subsequent
212 (allout-deannotate-hidden): Actually remove the annotation text
215 * allout.el (allout-listify-exposed): Copy text sans text properties.
217 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
219 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
221 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
223 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
225 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
227 * calc/calc.el (calc-logunits-field-reference): Rename from
228 `calc-default-field-reference-level'.
229 (calc-logunits-power-reference): Rename from
230 `calc-default-power-reference-level'
232 * calc/calc-units.el (math-logunits-quant): Rename from
233 `math-logunits-level'
234 (math-logunits-plus): Rename from math-logcombine.
235 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
236 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
237 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
239 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
240 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
241 (calc-logunits-quantity): Rename from `calc-level'.
242 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
243 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
244 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
245 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
246 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
249 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
250 (calc-ul-prefix-help): Remove.
251 (calc-l-prefix-help): New function.
252 (calc-full-help): Add reference to `calc-l-prefix-help'.
254 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
256 * calc/README: Mention logarithmic units.
258 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
260 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
261 non-ASCII characters (Bug#7925).
263 2011-02-05 Glenn Morris <rgm@gnu.org>
265 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
267 * calendar/diary-lib.el (diary-font-lock-keywords):
268 Tweak diary-time-regexp match. (Bug#7891)
270 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
271 (f90-mode): Use it for mode's `find-tag-default-function' property.
273 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
275 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
277 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
279 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
282 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
284 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
285 font-lock-syntax-table remappings.
286 (sh-here-doc-markers, sh-here-doc-re): Remove.
287 (sh-font-lock-close-heredoc): Remove.
288 (sh-syntax-propertize-here-doc): New function.
289 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
290 instead of the sh-here-doc-re.
291 (sh-font-lock-paren): Don't do anything in comments or strings.
292 Handle line continuations. Accept a few more chars.
293 Don't rely on the font-lock-syntax-table remappings.
294 `esac' is not a valid pattern.
295 (sh-syntax-propertize-function): Handle here-docs differently, so we
296 don't bother syntax-propertizing the insides.
298 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
299 Handle new bashisms ";&" and ";;&" (bug#7947).
301 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
303 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
304 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
306 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
308 * net/tramp.el (tramp-postfix-method-format)
309 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
310 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
311 (tramp-postfix-user-regexp, tramp-prefix-port-format)
312 (tramp-prefix-port-regexp, tramp-postfix-host-format)
313 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
316 2011-02-04 Sam Steingold <sds@gnu.org>
318 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
320 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
322 * international/mule-util.el (with-coding-priority): Doc fix.
324 2011-02-04 Eli Zaretskii <eliz@gnu.org>
326 * arc-mode.el (archive-mode-map): Fix a typo in last change.
328 2011-02-03 Sam Steingold <sds@gnu.org>
330 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
331 Do not error out when `func' is nil.
333 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
335 * net/tramp-sh.el (tramp-remote-path): Add default settings for
336 `tramp-default-remote-path' to the docstring.
337 (tramp-get-remote-path): Suppress error message when `getconf
340 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
342 2011-02-03 Glenn Morris <rgm@gnu.org>
344 * vc/vc-hg.el (vc-hg-command): Doc fix.
346 * term/w32-win.el (libpng-version): Declare for compiler.
348 * msb.el: No need to load dired while compiling.
350 * emacs-lisp/elint.el (elint-standard-variables):
351 Remove a couple of built-ins that now have doc-strings.
353 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
354 `require' is automatically `eval-and-compile'd.
356 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
357 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
359 * strokes.el (strokes-fill-current-buffer-with-whitespace):
360 Move definition before use.
361 (strokes-report-bug): Make it obsolete.
363 2011-02-02 Sam Steingold <sds@gnu.org>
365 * apropos.el (apropos-print): Now that `apropos-mode' inherits
366 from `special-mode', entering it makes the buffer read-only, so
367 call it only when everything has been already inserted.
368 * emacs-lisp/ert.el (ert--setup-results-buffer)
369 (ert-results-pop-to-backtrace-for-test-at-point)
370 (ert-results-pop-to-messages-for-test-at-point)
371 (ert-results-pop-to-timings): Ditto.
372 * emacs-lisp/package.el (package--list-packages): Ditto.
373 * play/solitaire.el (solitaire): Ditto.
375 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
377 * progmodes/compile.el: Make all faces inherit.
378 (compilation-warning): Inherit from font-lock-variable-name-face.
379 (compilation-info): Inherit from font-lock-type-face.
380 (compilation-line-number): Reassign to font-lock-keyword-face.
381 (compilation-column-number): Reassign to font-lock-doc-face.
382 (compilation-leave-directory-face): Reassign to
383 font-lock-builtin-face.
385 2011-02-02 Eli Zaretskii <eliz@gnu.org>
387 * dired.el (dired-insert-directory): Don't invoke `ls' when
388 ls-lisp.el is used to emulate it.
390 2011-02-01 Julien Danjou <julien@danjou.info>
392 * color.el (color-gradient): Add a color-gradient function.
394 2011-02-01 Sam Steingold <sds@gnu.org>
396 * simple.el (special-mode-map): Bind "h" to `describe-mode';
397 bind "z" to `kill-this-buffer'.
398 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
399 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
400 (apropos-mode): Inherit from `special-mode'.
401 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
402 * bookmark.el (bookmark-bmenu-mode): Define using
403 `define-derived-mode' inheriting from `special-mode'.
404 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
405 * image-mode.el (image-mode-map): Ditto.
406 * replace.el (occur-mode): Define using
407 `define-derived-mode' inheriting from `special-mode'.
408 * tar-mode.el (tar-mode): Inherit from `special-mode'.
409 * calendar/diary-lib.el (diary-fancy-display-mode):
410 Inherit from `special-mode-map'.
411 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
412 Inherit from `special-mode'.
413 * emacs-lisp/package.el (package-menu-mode-map): Copy from
415 (package-menu-mode): Define using `define-derived-mode'
416 inheriting from `special-mode'.
417 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
418 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
419 (xesam-mode-map): Define separately.
420 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
421 * progmodes/compile.el (compilation-minor-mode-map)
422 (compilation-mode-map): Inherit from `special-mode-map'.
423 * vc/diff-mode.el (diff-mode-shared-map):
424 Inherit from `special-mode-map'.
425 * vc/log-view.el (log-view-mode-map): Add a comment.
427 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
429 * custom.el (load-theme): Define return value. Drop use of
430 unsafep; call custom-theme-load-confirm for non-known-safe themes.
431 (custom-theme-load-confirm): Scroll in the correct window.
432 (custom-enabled-themes): Add custom-safe-themes to :set-after.
434 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
435 checkbox if load-theme fails.
437 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
439 * progmodes/compile.el (compilation-next-error): Check there's
440 a message before using it (bug#7941).
442 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
444 * calc/calc-mtx.el (math-lud-pivot-check): New function.
445 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
448 2011-01-31 Alan Mackenzie <acm@muc.de>
450 * progmodes/cc-cmds.el (c-forward-over-illiterals):
451 Continue parsing if we encounter a naked # (Bug#7595).
452 (c-beginning-of-statement): Avoid loop in locating the beginning
455 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
457 * files.el (copy-directory): Fix arguments to recursive call.
459 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
461 * files.el (copy-directory): If destination is an existing
462 directory, copy into a subdirectory there.
464 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
466 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
469 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
471 * image-dired.el (image-dired-mouse-display-image): No-op if no
472 file is found (Bug#7817).
474 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
476 2011-01-31 Kenichi Handa <handa@m17n.org>
478 * international/quail.el (quail-keyboard-layout-alist):
479 Remove superfluous SPC for "pc105-uk" (bug#7927).
481 2011-01-31 Glenn Morris <rgm@gnu.org>
483 * msb.el (msb-menu-bar-update-buffers): Update for changed
484 argument handling of menu-bar-select-frame. (Bug#7902)
486 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
488 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
489 to the recursion depth (Bug#7722).
491 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
493 * term/ns-win.el (ns-find-file): Expand ns-input-file with
494 command-line-default-directory (Bug#7872).
496 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
498 * progmodes/compile.el (compilation--flush-directory-cache):
499 New function, extracted from compilation--remove-properties.
500 (compilation--remove-properties, compilation--parse-region): Use it.
501 (compilation--previous-directory): Handle one more case.
502 (compilation-enable-debug-messages): Remove.
503 (compilation-parse-errors, compilation--flush-parse): Just remove the
504 left over debug messages.
506 2011-01-31 Sam Steingold <sds@gnu.org>
508 * progmodes/compile.el (compilation-enable-debug-messages):
509 Add a variable to make the parsing messages introduced in
510 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
511 (compilation-parse-errors, compilation--flush-parse): Use it.
513 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
515 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
516 (rcirc-nick-completion-format): New defcustom.
517 (rcirc-complete): Use it.
519 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
521 * net/rcirc.el: Clean log filenames (Bug#7933).
522 (rcirc-log-write): Use convert-standard-filename.
523 (rcirc-log-filename-function): Documentation updates.
525 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
527 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
528 Check report-emacs-bug-can-use-osx-open and use that if t.
529 (report-emacs-bug-can-use-osx-open): New function.
530 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
531 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
533 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
535 * vc/vc-dispatcher.el (vc-set-async-update): New function for
536 updating Dired or VC-dir buffers after async command completes.
538 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
539 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
541 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
542 completions if it exists. Use vc-set-async-update.
543 (vc-git-pull): Use vc-set-async-update.
545 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
546 read-shell-command. Use vc-set-async-update.
547 (vc-hg-merge-branch): Use vc-set-async-update.
549 2011-01-29 Daiki Ueno <ueno@unixuser.org>
551 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
552 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
555 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
557 * progmodes/compile.el: Avoid an N² behavior in grep.
558 (compilation--previous-directory): New fun.
559 (compilation--previous-directory-cache): New var.
560 (compilation--remove-properties): Flush it.
561 (compilation-directory-properties, compilation-error-properties):
562 Use the new fun to speed up looking for the current directory.
564 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
566 * vc/vc-hg.el (vc-hg-history): New var.
567 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
568 (vc-hg-merge-branch): New function.
570 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
571 the other way around.
573 * vc/vc-git.el (vc-git-branches, vc-git-pull)
574 (vc-git-merge-branch): New functions.
575 (vc-git-history): New var.
577 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
579 * vc/vc-dispatcher.el (vc-do-async-command): New function.
581 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
584 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
587 2011-01-28 Leo <sdl.web@gmail.com>
589 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
590 highlighting to the "this function is advised" message.
592 * help-mode.el (help-mode-finish): Apply highlighting here, to
593 avoid clobbering by substitute-command-keys (Bug#6304).
595 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
597 * woman.el (woman0-roff-buffer): Process roff escape sequences
598 occurring prior to the first request (Bug#7843).
600 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
602 * progmodes/compile.el: Don't use font-lock any more.
603 (compilation-error-regexp-alist-alist): Change handling of makepp
604 so it preserves the warning/error distinction on subsequent files.
605 Simplify various rules.
606 (compilation-directory-properties): Use font-lock-face.
607 Add a compilation-message property.
608 (compilation-internal-error-properties): Use font-lock-face.
609 Don't set the compilation-debug property here.
610 (compilation--put-prop, compilation--remove-properties)
611 (compilation--parse-region, compilation--ensure-parse)
612 (compilation--ensure-parse): New functions.
613 (compilation-parse-errors): New function, largely inspired of
614 compilation-mode-font-lock-keywords. Set compilation-debug here.
615 (compilation--parsed): New var.
616 (compilation--flush-parse): Use compilation--ensure-parse.
617 (compilation-start): Don't call font-lock.
618 (compilation-turn-on-font-lock): Remove.
619 (compilation-setup): Don't set font-lock-extra-managed-props not change
620 other font-lock settings, other than keywords.
621 Don't activate font-lock-mode.
622 Set change-major-mode-hook and before-change-functions.
623 (compilation--unsetup): Remove properties and hooks.
624 (compilation-next-single-property-change): New function.
625 (compilation-next-error): Use it to parse when needed.
626 (compile-goto-error): Parse buffer as needed.
627 (compilation--compat-error-properties): Don't need a dummy `face'
630 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
632 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
633 (compilation-process-setup-function): Fix docstring's false promises.
634 (compilation-error-regexp-alist-alist): Catch omake's continuous
635 recompilation message and avoid reuse of old markers.
636 (compilation-parse-errors-function): Declare obsolete.
637 (compilation-buffer-modtime): Remove.
638 (compilation--make-cdrloc, compilation--loc->col)
639 (compilation--loc->line, compilation--loc->file-struct)
640 (compilation--loc->marker, compilation--loc->visited)
641 (compilation--make-file-struct, compilation--file-struct->file-spec)
642 (compilation--file-struct->formats)
643 (compilation--file-struct->loc-tree): New macros. Use them.
644 (compilation--message): New defstruct. Use them.
645 (compilation-next-error-function): Don't mess with timestamps to try
646 and guess when to reparse.
648 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
650 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
651 (tex-old-error-file-name): New function,
652 extracted from tex-compilation-parse-errors.
653 (tex-compilation-parse-errors): Remove.
654 (tex-error-regexp-alist): New var.
655 (tex-shell): Use it to avoid compilation-parse-errors-function.
657 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
658 (grep-mode-font-lock-keywords): Remove regexp that seems like
659 a left-over from before we used compile.el.
660 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
661 modifying the buffer within with-silent-modifications.
663 * progmodes/compile.el: Cleanup text-properties namespace by using
664 `compilation-message' instead of `message', `compilation-directory'
665 instead of `directory', and `compilation-debug' instead of `debug'.
666 (compilation-last-buffer, compilation-parsing-end)
667 (compilation-error-list, compilation-old-error-list): Move to the
668 compatibility part of the code.
669 (compilation-error-properties): If `file' is a function, let it return
671 (compilation-mode-font-lock-keywords): Be more conservative with the
672 omake "^ *" pattern prefix, to try and minimize the risk of
673 pathologically slow regexp matching.
674 (compilation-start): Use inhibit-read-only.
675 (compilation--unsetup): New function.
676 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
677 (compilation-filter): Minor tweaks.
678 (compilation-next-error-function): Try and avoid abusing variables.
679 (compilation--flush-file-structure): New fun.
680 (compilation-fake-loc): Use it to improve behavior when file is reused.
681 (debug-ignored-errors): Add "Moved past last ...".
682 (compilation--compat-error-properties)
683 (compilation--compat-parse-errors): Rename by doubling the "-".
685 Port features from the previous prolog.el to the new one.
686 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
687 (prolog-program-name, prolog-program-switches, prolog-consult-string)
688 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
689 variable and use a function to compute the value dynamically.
690 (prolog-prompt-regexp): Add regexp for GNU Prolog.
691 (prolog-continued-prompt-regexp): Remove, unused.
692 (prolog-find-value-by-system): Try and use the value of prolog-system
693 in the *prolog* buffer if it helps.
694 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
695 (prolog-zip-on): ..and check prolog-system and version here instead.
696 (prolog-inferior-self-insert-command): New command.
697 (prolog-inferior-mode-map): Use it.
698 (prolog-inferior-error-regexp-alist): New var.
699 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
700 (prolog-input-filter): Use derived-mode-p.
701 (prolog-inferior-guess-flavor): New function.
702 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
703 make-comint to avoid running comint-mode twice.
704 (prolog-inferior-buffer): New fun.
705 (prolog-old-process-region, prolog-old-process-file):
706 Don't call prolog-bsts here...
707 (prolog-build-prolog-command): ...do it here instead.
708 (prolog-old-process-region, prolog-old-process-file):
709 Use compilation-fake-loc and compilation-forget-errors.
710 (prolog-consult-compile-region): Use bolp.
712 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
714 * image-mode.el (image-display-size): Doc fix (Bug#7820).
716 2011-01-27 Sam Steingold <sds@gnu.org>
718 * midnight.el (clean-buffer-list-kill-never-buffer-names):
719 Remove "*server*" which is never created by emacs server.
721 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
723 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
724 there are some diff switches.
726 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
728 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
729 Copy change made to ruby-font-lock-syntactic-keywords.
731 * htmlfontify.el: Make it obey the font-lock-face text property.
732 Miscellaneous cleanup such as:
733 - Don't hide expressions after a closing paren.
734 - Move initial setq into let.
735 - Hoist common parts out of ifs.
736 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
737 (hfy-face-at): Use get-text-property instead.
738 (hfy-prop-invisible-p): Use invisible-p if available.
739 (htmlfontify-manual): Use \\[...].
740 (hfy-html-quote-regex): Use [...].
741 (hfy-combined-face-spec): Simplify.
742 (hfy-compile-face-map): Don't presume point-min==1.
743 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
745 (hfy-text-p): η-reduce.
746 (hfy-tags-for-file): Receive cache-hash directly.
747 (hfy-mark-tag-names): Adjust call.
749 2011-01-27 Glenn Morris <rgm@gnu.org>
751 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
752 (msb-after-load-hook): Remove eval-after-load wackiness.
754 2011-01-25 Sam Steingold <sds@gnu.org>
756 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
757 literal "diff" (important for windows-nt).
759 2011-01-25 Glenn Morris <rgm@gnu.org>
761 * emacs-lisp/copyright.el (copyright-at-end-flag)
762 (copyright-names-regexp): Add safety properties.
763 (copyright-year-ranges): New option.
764 (copyright-find-end): New function, split from copyright-update-year.
765 (copyright-update-year): Use copyright-find-end.
766 (copyright-fix-years): Optionally, convert years to ranges.
767 Handle years continued over comment lines.
768 Do not mess with the fill-prefix.
769 Do not call copyright-update.
770 (copyright-update-directory): Optionally, fix years rather than update.
771 Skip directories. Find files with only safe local vars.
773 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
775 * files.el (file-name-non-special): Only change buffer-file-name after
776 insert-file-contents if it's `visit'ing the file (bug#7854).
778 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
780 * dired.el (dired-revert): Doc fix (Bug#7758).
782 * simple.el (line-move-visual): Doc fix (Bug#7594).
784 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
786 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
787 here-doc which ends with an underscore.
788 (ruby-mode-set-encoding): Skip shebang line always.
789 (ruby-mode-map): Bind C-c C-c to comment-region.
790 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
791 (ruby-forward-sexp): Stop after literal hash key labels.
792 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
795 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
797 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
798 the correct buffer (Bug#7650).
800 2011-01-25 Glenn Morris <rgm@gnu.org>
802 * comint.el (comint-mode): Doc fix. (Bug#7897)
804 * simple.el (do-auto-fill): Give it a doc string.
806 * button.el (make-text-button): Doc fix. (See bug#7881)
808 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
810 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
811 Don't move backward, so as not to fall in an inf-loop (bug#7736).
813 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
814 Handle ?" and friends differently (e.g. don't use backrefs).
816 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
818 * calc/calc.el (calc-default-power-reference-level)
819 (calc-default-field-reference-level): New variables.
820 * calc/calc-units.el (math-standard-units): Add dB and Np.
821 (math-logunits): New variable.
822 (math-extract-logunits, math-logcombine, calcFunc-luplus)
823 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
824 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
826 (math-find-base-units-rec): Add entry for ln(10).
827 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
828 (calc-ul-prefix-help): New function.
829 * calc/calc-ext.el (calc-init-extensions): Autoload new units
830 functions. Add keybindings for new units functions.
832 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
834 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
835 rcirc buffers. (Bug#4940)
837 2011-01-22 Glenn Morris <rgm@gnu.org>
839 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
840 split out from copyright-update-year.
841 (copyright-update): Don't mess with the GPL version if we don't own the
842 copyright. Update license regexp, and remove no longer needed
844 (copyright-fix-years): Use copyright-find-copyright.
846 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
848 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
850 2011-01-22 Jari Aalto <jari.aalto@cante.net>
852 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
853 (lm): Rename to landmark.
854 (lm-test-run): Rename to landmark-test-run.
856 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
858 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
859 "Case sensitive" menu item.
861 2011-01-22 Roland McGrath <roland@frob.com>
863 * comint.el (comint-replace-by-expanded-history-before-point): Fix
864 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
866 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
868 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
870 2011-01-22 Jari Aalto <jari.aalto@cante.net>
872 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
873 Assume foo(bar) is a manpage reference rather than some unquoted
876 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
878 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
879 Suggested by Flo <sensorflo@gmail.com>.
881 2011-01-22 Glenn Morris <rgm@gnu.org>
883 * progmodes/compile.el (compilation-error-regexp-alist):
884 Fix custom type. (Bug#7812)
886 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
888 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
889 allout-number-siblings, in keeping with what obtained due to
890 (now-defunct) allout-keybindings-list. Ditch repeat binding to
892 (allout-before-change-handler): Better expose spots affected by
895 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
897 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
899 2011-01-22 Phil Hagelberg <phil@evri.com>
901 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
902 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
903 (pcmpl-ssh-config-hosts): New function.
904 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
905 pcmpl-ssh-known-hosts.
907 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
909 * calc/calc-undo.el (calc-undo): Autoload it.
910 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
911 and autoload for `calc-undo'.
912 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
914 * calc/calc-graph.el:
915 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
917 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
919 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
920 keybindings to `calc-undo'.
922 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
924 Don't mess with *temp*.
925 * obsolete/spell.el: Move from textmodes/spell.el.
927 * term.el (term-read-input-ring):
928 * startup.el (display-startup-echo-area-message):
929 * progmodes/antlr-mode.el (antlr-directory-dependencies):
930 * comint.el (comint-read-input-ring): Use with-temp-buffer.
931 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
934 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
936 * allout.el: (allout-institute-keymap): Use fset instead of
939 (allout-hotspot-key-handler): Check for non-control-modified
940 bindings for hotspot characters if there are no control-modified
943 * allout.el: Summary - migrate to defining allout mode using
944 define-minor-mode instead of defun. Significantly clean-up
945 internal keymap provisions, refactoring and, in the process,
946 removing a lot of accumulated cruft.
948 allout-mode-map is now a keymap by virtue of being a defalias to
949 allout-mode-map-value, which contains the actual keymap structure.
951 (allout-mode): Use define-minor-mode rather than defun.
952 Remove now-unnecessary minor-mode setup activities from the body.
953 Specify :keymap as allout-mode-map so the minor-mode-map-alist
954 entry will be '(allout-mode . allout-mode-map) - see
955 allout-mode-map-value, below. Adjust docstring to track changes.
956 (allout-minor-mode): Remove this defalias, now that we're using
958 (allout-mode-map): Set value to be 'allout-mode-map. The actual
959 keymap is allout-mode-map-value, via defalias.
960 (allout-mode-map-value): The variable holding the actual mode
961 keymap structure, by virtue of defalias from allout-mode-map.
962 (allout-compose-and-institute-keymap): Rename from
963 allout-bind-keys, and including the binding-composition
964 functionality of the former produce-allout-mode-map and
965 allout-setup-mode-map.
966 (allout-institute-keymap): Take over the "setup" part of the former
967 allout-setup-mode-map. Reassign allout-mode-map-value value and
969 (allout-command-prefix) (allout-prefixed-keybindings)
970 (allout-unprefixed-keybindings):
971 Use allout-compose-and-institute-keymap to process the bindings.
972 (allout-unprefixed-keybindings): Remove extraneous '?' question
974 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
975 user can customize if they want to use that binding.
976 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
977 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
978 elided that, previously, instead of the one for \C-h.)
979 (allout-hotspot-key-handler): Remove attempt to resolve the key
980 through the literal key-string lookup on allout-keybindings-list.
981 That probably hasn't worked for a Long Time, and removal of
982 allout-keybindings-list further simplifies the keybindings
984 (allout-pre-command-business): Use allout-mode-map-value instead
986 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
987 the bindings if they want to use a keybinding having a trailing
988 \C-h. No deprecation needed since this feature was never in a
990 (allout-keybindings-list): Remove. It's not been useful for a
991 while. (See allout-hotspot-key-handler changes, above.)
992 (produce-allout-mode-map): Remove. Consolidate into
993 allout-compose-and-institute-keymap.
994 (allout-mode-map-adjustments): Remove. No longer necessary with
995 removal of allout-preempt-trailing-ctrl-h.
996 (allout-setup-mode-map): Remove. Consolidate into
997 allout-compose-and-institute-keymap and allout-institute-keymap.
999 2011-01-20 Glenn Morris <rgm@gnu.org>
1001 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1003 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1005 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1007 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1009 * files.el (find-alternate-file, basic-save-buffer)
1010 (basic-save-buffer-2, revert-buffer, recover-file)
1011 (kill-buffer-ask, abort-if-file-too-large)
1012 (set-visited-file-name, write-file, backup-buffer)
1013 (basic-save-buffer, save-some-buffers):
1014 * dired-aux.el (dired-compress-file): Callers changed.
1016 2011-01-19 Glenn Morris <rgm@gnu.org>
1018 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1019 Also check the property status. (Bug#7861)
1021 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1023 * net/tramp.el (tramp-debug-message): Extend function exclude
1024 list. Use `regexp-opt'.
1026 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1029 highlighting doesn't spill over subsequent lines.
1031 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1032 keymap expression. Improve docstring.
1034 * electric.el (electric-indent-post-self-insert-function):
1035 Don't auto-indent for indent-to-left-margin, it's too often
1038 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1040 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1041 spaces if the frame was resized, so that the full visible buffer
1042 serves as canvas for strokes.
1044 2011-01-16 Glenn Morris <rgm@gnu.org>
1046 * info-xref.el (info-xref-docstrings): Replace cl function.
1047 Also skip directories.
1049 2011-01-16 Kevin Ryde <user42@zip.com.au>
1051 * info-xref.el: Version 3.
1052 (info-xref-check, info-xref-check-all): Move commentary details
1053 into docstrings for better visibility.
1054 Use compilation-mode for the results buffer.
1055 (info-xref-output, info-xref-output-error, info-xref-with-output)
1056 (info-xref-filename, info-xref-in-progress):
1057 New internals for this.
1058 (info-xref-check-list, info-xref-check-buffer)
1059 (info-xref-check-all-custom): Use those.
1060 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1061 (info-xref-output-heading): Rename from info-xref-filename-heading.
1062 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1063 (info-xref-filename-heading): Move to output managing section.
1064 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1065 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1066 (info-xref-subfile-p): Move to generic section with those two.
1067 (info-xref-check-node): New function split from
1068 info-xref-check-buffer, shared by info-xref-docstrings.
1069 (info-xref-goto-node-p): Move to a checking section with that func.
1070 (info-xref-unavail): New counter.
1071 (info-xref-check-node): Use it.
1072 (info-xref-with-output): Show count of unavailables at end of output.
1073 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1074 symlinks. Exclude .texi files. Exclude Emacs backup files.
1075 (info-xref-check-all-custom): Fix quietening viper-mode and
1076 gnus-registry-install -- use setq not let so as not to unbind
1079 2011-01-16 Juri Linkov <juri@jurta.org>
1081 * isearch.el (isearch-abort): Don't quit if search has
1082 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1084 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1086 * files.el (backup-buffer): Make last-resort backup file in
1087 .emacs.d (Bug#6953).
1089 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1090 make it with permission 700.
1092 2011-01-15 Kenichi Handa <handa@m17n.org>
1094 * mail/rmailmm.el (rmail-mime-insert-header):
1095 Set rmail-mime-coding-system to a cons whose car is the last coding
1096 system used to decode the header.
1097 (rmail-mime-find-header-encoding): New function.
1098 (rmail-mime-insert-decoded-text):
1099 Override rmail-mime-coding-system if it is a cons.
1100 (rmail-show-mime): If only a header part was decoded, find the
1101 coding system while ignoring mm-charset-override-alist.
1103 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1105 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1107 2011-01-15 Kenichi Handa <handa@m17n.org>
1109 * mail/rmailmm.el (rmail-mime-next-item)
1110 (rmail-mime-previous-item): Delete them.
1111 (rmail-mime-shown-mode): Recursively call for children.
1112 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1114 (rmail-mime-raw-mode): Recursively call for children.
1115 (rmail-mode-map): Change mapping of tab and backtab to
1116 forward-button and backward-button respectively.
1117 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1119 (rmail-mime-update-tagline): New function.
1120 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1121 body display is changed.
1122 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1123 (rmail-mime-image): Delete this button type.
1124 (rmail-mime-toggle): New button type.
1125 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1126 body display is changed. Change the save button label to "Save".
1127 Don't process show/hide button here.
1128 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1129 the body display is changed. Unconditionally call
1130 rmail-mime-insert for children.
1131 (rmail-mime-handle): Update `display' vector of the just inserted
1133 (rmail-mime-process): If mail-header-parse-content-type returns
1134 nil, use "text/plain" as the fallback type.
1135 (rmail-mime-insert): For raw-mode, recursively call
1136 rmail-mim-insert for children.
1137 (rmail-mime): Handle the case that the current buffer is not rmail
1138 buffer (e.g. in summary buffer).
1140 2011-01-15 Kenichi Handa <handa@m17n.org>
1142 * mail/rmailmm.el (rmail-mime-next-item)
1143 (rmail-mime-previous-item): Skip the body of a non-multipart
1144 entity if a tagline is shown.
1146 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1148 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1149 (tmm-prompt): Simplify.
1150 (tmm-add-prompt): Remove unused var `win'.
1152 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1153 to minor mode which used nil accidentally to mean "turn off".
1155 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1157 * net/tramp-sh.el (tramp-find-inline-compress)
1158 (tramp-get-inline-coding): Quote command after pipe symbol for
1159 local calls under W32. (Bug#6784)
1161 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1163 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1164 only when running under W32.
1166 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1168 * progmodes/grep.el (grep-compute-defaults): Quote the program
1169 file name after the pipe symbol in Grep templates. (Bug#6784)
1170 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1172 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1174 * buff-menu.el (Buffer-menu-buffer-list): New var.
1175 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1176 restricted buffer list is not lost on revert (Bug#7749).
1178 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1180 * net/ldap.el (ldap-search-internal): Discard stderr output.
1182 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1184 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1186 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1188 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1190 2011-01-15 Kenichi Handa <handa@m17n.org>
1192 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1193 part as a plain text.
1194 (rmail-mime-process-multipart): Set the default content-type to
1195 nil for unknown multipart subtypes (bug#7651).
1197 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1199 * hexl.el (hexl-mode-old-*): Remove.
1200 (hexl-mode--old-var-vals): New var to replace them.
1201 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1202 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1203 Use them to set local vars (bug#7846).
1204 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1205 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1206 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1208 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1209 (smerge-resolve--normalize-re): New var.
1210 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1211 (smerge-resolve): Use them.
1212 * newcomment.el (comment-only-p): New function.
1213 (comment-or-uncomment-region): Use it.
1215 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1217 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1218 table, get the value before switching to the output buffer. (Bug#7733)
1220 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1222 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1224 2011-01-14 Kim F. Storm <storm@cua.dk>
1226 * emulation/cua-base.el (cua--init-keymaps):
1227 Remap exchange-point-and-mark in cua-global-keymap.
1229 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1231 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1234 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1236 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1238 (easy-menu-create-menu, easy-menu-convert-item-1):
1239 Use :label rather than nil for labels. Use `case'.
1240 Add :enable as alias for :active.
1241 (easy-menu-binding): Obey :label.
1243 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1245 Use run-mode-hooks for major mode hooks (bug#513).
1246 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1247 Rename from reftex-toc-map.
1248 (reftex-toc-mode): Use define-derived-mode.
1249 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1250 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1251 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1252 (reftex-select-label-mode, reftex-select-bib-mode):
1253 Use define-derived-mode.
1254 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1255 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1256 Move init into delcaration.
1257 (reftex-index-mode, reftex-index-phrases-mode):
1258 Use define-derived-mode.
1259 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1260 speedbar-syntax-table. Move init into declaration.
1261 (speedbar-mode-map): Rename from speedbar-key-map.
1262 Move init into declaration.
1263 (speedbar-file-key-map): Move init into declaration.
1264 (speedbar-mode): Use define-derived-mode.
1265 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1266 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1267 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1268 (chart-face-list): Move initialization into declaration.
1269 (chart-mode): Use define-derived-mode.
1270 * calculator.el (calculator-mode-map): Move init into declaration.
1271 (calculator-mode): Use define-derived-mode.
1273 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1274 work for nested comments.
1276 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1277 (prolog-use-prolog-tokenizer-flag): Change default when
1278 syntax-propertize can be used.
1279 (prolog-syntax-propertize-function): New var.
1280 (prolog-mode-variables): Move make-local-variable into `set'.
1281 Don't make comment-column local since we don't set it.
1282 Set comment-add (as it was in previous prolog.el). Use dolist.
1283 Set syntax-propertize-function.
1284 (prolog-mode, prolog-inferior-mode):
1285 Call prolog(-inferior)-menu directly, not through the mode-hook.
1286 (prolog-buffer-module, prolog-indent-level)
1287 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1288 (prolog-comment-limits, prolog-goto-comment-column):
1289 Use line-(end|beginning)-position.
1290 (prolog-build-prolog-command): Tighten up regexp.
1291 (prolog-consult-compile): Move make-local-variable into `set'.
1292 (prolog-consult-compile-filter, prolog-goto-next-paren)
1293 (prolog-help-on-predicate, prolog-clause-info)
1294 (prolog-mark-predicate): Don't let+setq.
1295 (prolog-indent-line): Use indent-line-to.
1296 Only call prolog-goto-comment-column if necessary.
1297 (prolog-indent-level): Use bobp.
1298 (prolog-first-pos-on-line): Remove, not used any more.
1299 (prolog-in-string-or-comment): Use syntax-ppss if available.
1300 (prolog-help-on-predicate): Use read-string.
1301 (prolog-goto-predicate-info): Simplify.
1302 (prolog-read-predicate): Use `default' rather than `initial'.
1303 (prolog-temporary-file): Use make-temp-file to close a security hole.
1304 (prolog-toggle-sicstus-sd): New command.
1305 (prolog-electric-underscore, prolog-variables-to-anonymous):
1306 Use dynamic-scoping as it was meant.
1307 (prolog-menu): Move menu definitions to top-level.
1308 Use a toggle-button for Sicstus's source debugger.
1309 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1311 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1312 Move other menu definition to top-level.
1314 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1316 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1317 name. Keep original document's directory as default-directory
1319 (doc-view-initiate-display): Fall back to normal mode when
1320 doc-view-mode cannot be enabled, also when extracting the document
1321 text into a separate buffer (bug#6446).
1323 * simple.el (shell-command): Don't error out if shell command
1324 buffer contains text with non-nil read-only property when erasing
1327 2011-01-13 Kim F. Storm <storm@cua.dk>
1329 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1330 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1331 items when cycling through the matches.
1333 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1335 * dired-x.el (dired-omit-verbose): New defcustom that allows
1336 disabling the omit messages.
1337 (dired-omit-expunge): Use it.
1339 2011-01-13 Christian Ohler <ohler@gnu.org>
1341 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1343 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1345 * font-lock.el (font-lock-verbose): Default to nil.
1347 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1349 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1350 (compose-mail): New arg RETURN-ACTION.
1351 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1353 * mail/sendmail.el (mail-return-action): New var.
1354 (mail-mode): Make it buffer-local.
1355 (mail-bury): Obey it. Move special Rmail window handling to
1357 (mail, mail-setup): New arg RETURN-ACTION.
1358 (sendmail-user-agent-compose): Move from simple.el.
1360 * mail/rmail.el (rmail-mail-return): New function.
1361 (rmail-start-mail): Pass it to compose-mail.
1363 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1365 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1366 menus. Add menu item for customize-themes.
1368 * cus-theme.el (customize-themes):
1369 * emacs-lisp/package.el (package--list-packages):
1370 Use switch-to-buffer.
1372 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1374 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1376 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1378 * progmodes/prolog.el: Fix up coding convention and such.
1379 (prolog-indent-width): Use the same default as in
1380 previous prolog.el rather than tab-width which depends on which buffer
1381 is current when the file is loaded.
1382 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1384 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1385 (prolog-known-systems): Remove.
1386 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1387 Move initialization into declaration.
1388 (prolog-mode-map): Move initialization into declaration.
1389 Remove system-specific mode-map vars, since they referred to the same
1391 (prolog-mode-variables): Obey the user's preference w.r.t
1392 adaptive-fill-mode. Prefer symbol-value to `eval'.
1393 (prolog-mode-keybindings-edit): Add compatibility bindings.
1394 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1395 (mercury-mode-map): New var.
1396 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1397 (prolog-ensure-process, prolog-process-insert-string)
1398 (prolog-consult-compile): Use with-current-buffer.
1399 (prolog-guess-fill-prefix): Simplify data flow.
1400 (prolog-replace-in-string): New function to use instead of
1402 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1403 (prolog-uncomment-region): Use `uncomment-region' when available.
1404 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1405 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1406 of int-to-char and char-to-int.
1407 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1409 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1411 * progmodes/prolog.el: Replace by a whole new file.
1413 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1415 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1416 (declare-function, undefined, insert-for-yank)
1417 (replace-regexp-in-string): Follow checkdoc's recommendations.
1419 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1421 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1422 refreshing the diary buffer.
1424 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1426 * allout.el: Add 2011 to the file copyright.
1427 (allout-encrypt-string): Prevent encryption from adding an extra
1428 newline at the end of the topic body.
1429 (allout-version): Increment to 2.3.
1431 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1433 * net/dbus.el (dbus-unregister-service): Complete doc.
1434 Fix call of dbus-error signal.
1435 (dbus-register-property): Use `dont-register' keyword.
1437 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1439 * net/dbus.el (dbus-unregister-service): Translate returned
1440 integer into a symbol.
1441 (dbus-register-property): Use `dbus-register-service' to do the
1444 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1446 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1447 Suggested by Joakim Verona.
1449 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1451 * wid-edit.el (visibility): Replace :on-image and :off-image
1452 widget properties with :on-glyph and :off-glyph, for consistency
1453 with the `visibility' widget.
1454 (widget-toggle-value-create, widget-visibility-value-create):
1455 Merge into a single function `widget-toggle-value-create'.
1457 * cus-edit.el (custom-variable-value-create, custom-visibility)
1458 (custom-face-edit-value-create, custom-face-value-create):
1459 Replace :on-image and :off-image widget properties with :on-glyph and
1460 :off-glyph, for consistency with the `visibility' widget.
1462 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1464 * net/ldap.el (ldap-search-internal): Don't use eval.
1466 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1468 * subr.el (read-char-choice): Use read-key.
1470 * custom.el (custom-safe-themes): Rename from
1471 custom-safe-theme-files. Add :risky tag.
1472 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1473 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1475 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1477 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1478 from Search and add a label to Undo.
1480 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1481 inappropriate buttons and adding :vert-only tags.
1483 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1484 removal of Help tool-bar button. Remove Undo button for space.
1486 * info.el (info-tool-bar-map): Add :vert-only tags.
1488 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1490 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1491 image backend support. Either of them is fine.
1493 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1495 * subr.el (y-or-n-p): Doc fix.
1497 * custom.el (custom-safe-theme-files): New defcustom.
1498 (custom-theme-load-confirm): New function.
1499 (load-theme): Load theme using `load', confirming with
1500 custom-theme-load-confirm if necessary.
1502 * subr.el (read-char-choice): New function, factored out from
1503 dired-query and hack-local-variables-confirm.
1505 * dired-aux.el (dired-query):
1506 * files.el (hack-local-variables-confirm): Use it.
1508 * dired-aux.el (dired-compress-file):
1509 * files.el (abort-if-file-too-large, find-alternate-file)
1510 (set-visited-file-name, write-file, backup-buffer)
1511 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1512 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1513 Use new format string args for y-or-n-p and yes-or-no-p.
1515 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1517 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1518 [gcc-include]: Tighten file name match, add match for column
1520 [gnu]: Remove unused group.
1522 2011-01-08 Glenn Morris <rgm@gnu.org>
1524 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1526 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1528 2011-01-07 Sam Steingold <sds@gnu.org>
1530 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1531 the `explicit-shell-file-name' because that is the
1532 non-interactive shell.
1534 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1536 * subr.el (y-or-n-p): Accept format string args.
1538 2011-01-07 Glenn Morris <rgm@gnu.org>
1540 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1542 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1544 * allout.el (allout-back-to-current-heading): Ensure return to
1545 the visible containing topic, rather than a collapsed one.
1546 (allout-view-change-hook): Remove hook that was deprecated long ago.
1547 (allout-exposure-change-hook): Remove documentation remarks
1548 concerning removed allout-view-change-hook.
1549 (allout-flag-region): Remove invocation of and documentation
1550 remarks concerning allout-view-change-hook.
1552 2011-01-06 Glenn Morris <rgm@gnu.org>
1554 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1555 (vc-bzr-annotate-extract-revision-at-line):
1556 Handle authors with embedded spaces. (Bug#7792)
1558 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1560 * doc-view.el (doc-view-image-width): New variable.
1561 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1562 backend for PNG images, and do dynamic rescaling instead of
1563 reconverting the whole doc.
1565 2011-01-05 Glenn Morris <rgm@gnu.org>
1567 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1569 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1571 * allout.el: Reconcile with changes in line movement behavior for
1572 long text lines that cross more than a single physical window
1573 line, ie when truncate-lines is nil.
1574 (allout-next-visible-heading): Provide for change in line-move
1575 behavior on long lines when truncate-lines is nil. In that case,
1576 line-move can wind up on the same textual line when it moves to
1577 the next window line, and moving to the bullet position after the
1578 move yields zero advancement. Add logic to detect and compensate
1579 for the lack of progress.
1580 (allout-current-topic-collapsed-p): move-end-of-line respect for
1581 field boundaries is different when operating with body lines
1582 shorter than window width versus ones greater than window width,
1583 which can yield false negatives in this function. Avoid
1584 difference by applying move-end-of-line while field-text-motion is
1587 2011-01-04 Glenn Morris <rgm@gnu.org>
1589 * textmodes/rst.el (rst-compile-toolsets):
1590 Add pdf and s5 to option alist.
1592 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1594 * net/dbus.el (dbus-register-property): Add optional parameter
1595 dont-register-service. Updated docstring accordingly.
1597 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1599 * textmodes/rst.el (rst-compile-pdf-preview)
1600 (rst-compile-slides-preview): Remove extra line.
1602 2011-01-04 Glenn Morris <rgm@gnu.org>
1604 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1605 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1606 default to `prog' without a .py extension.
1607 (rst-compile-pdf-preview, rst-compile-slides-preview):
1608 Use program names from rst-compile-toolsets, rather than hard-coding.
1609 (rst-portable-mark-active-p): Fix presumed typo.
1611 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1613 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1614 libpng versions both before and after 1.4.0. (Bug#7716)
1616 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1618 * time.el (display-time-mode): Mention display-time-interval in
1619 the doc string. (Bug#7713)
1621 2011-01-02 Kenichi Handa <handa@m17n.org>
1623 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1624 condition-case and return an error message string if something
1626 (rmail-show-mime): Adjust for the above change. Insert the
1627 header by rmail-mime-insert-header.
1629 2011-01-02 Kenichi Handa <handa@m17n.org>
1631 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1632 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1633 (rmail-mime-mbox-buffer)
1634 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1635 (rmail-mime-entity): Argument changed. All codes handling an
1636 entity object are changed.
1637 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1639 (rmail-mime-entity-children, rmail-mime-entity-handler)
1640 (rmail-mime-entity-tagline): New functions.
1641 (rmail-mime-message-p): New function.
1642 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1643 (rmail-mime-entity-segment, rmail-mime-next-item)
1644 (rmail-mime-previous-item, rmail-mime-shown-mode)
1645 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1646 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1647 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1649 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1650 (rmail-mime-insert-decoded-text): New function.
1651 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1652 (rmail-mime-insert-image): Argument changed. Caller changed.
1653 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1654 (rmail-mime-set-bulk-data): New funciton.
1655 (rmail-mime-insert-bulk): Argument changed.
1656 (rmail-mime-multipart-handler): Return t.
1657 (rmail-mime-process-multipart): Argument changed.
1658 Handle "multipart/alternative" here.
1659 (rmail-mime-process): Argument changed.
1660 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1661 (rmail-mime-insert): Argument changed. Handle raw display mode.
1662 (rmail-mime): Argument changed. Handle toggling of raw display
1664 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1665 rmail-mime-view-buffer.
1666 (rmail-insert-mime-forwarded-message): Likewise.
1667 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1669 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1670 non-nil, handle the header in rmail-show-mime-function.
1672 2011-01-02 Leo <sdl.web@gmail.com>
1674 * help-fns.el (describe-variable): Fix previous change.
1676 2011-01-02 Juri Linkov <juri@jurta.org>
1678 * isearch.el (isearch-lazy-highlight-error): New variable.
1679 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1680 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1681 to the current value of `isearch-error' (Bug#7468).
1683 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1685 * help-fns.el (describe-variable): Don't emit trailing whitespace
1688 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1690 * textmodes/rst.el (rst-compile-pdf-preview)
1691 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1693 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1695 * emulation/edt-mapper.el: Override mapping of function keys so
1696 that the later call to read-key-sequence works.
1698 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1700 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1701 Unix EOLs. (Bug#7589)
1703 2011-01-02 Leo <sdl.web@gmail.com>
1705 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1706 if point is not behind eshell-last-output-end (Bug#7585).
1708 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1710 * files.el (file-local-variables-alist):
1711 Make permanent-local (bug#7767).
1713 2011-01-02 Glenn Morris <rgm@gnu.org>
1715 * version.el (emacs-copyright): Set short copyright year to 2011.
1717 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1719 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1720 an existing temp buffer. (Bug#7746)
1722 2011-01-02 Glenn Morris <rgm@gnu.org>
1724 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1725 multiple addresses. (Bug#7760)
1727 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1729 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1730 do-auto-fill if everything points back to allout-auto-fill.
1731 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1732 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1734 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1736 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1739 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1741 * doc-view.el (doc-view-set-doc-type): New function refactored
1743 (doc-view-fallback-mode): New function.
1744 (doc-view-mode): Use it.
1745 (doc-view-mode-maybe): New function that checks if doc-view-mode
1746 can be used and falls back to the next best mode otherwise.
1748 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1749 DVI, OpenDocument, and MS Office files.
1751 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1753 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1755 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1757 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1758 on a copy of auto-mode-alist, because that deletes with side
1761 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1763 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1764 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1765 fallback instead of hard coding fundamental mode.
1767 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1769 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1770 Office) files also for searching.
1772 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1774 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1775 Office) files. Not yet enabled via auto-mode-list.
1776 (doc-view-unoconv-program): New custom variable.
1777 (doc-view-mode-p): Handle new odf document type.
1778 (doc-view-odf->pdf): New conversion function.
1779 (doc-view-convert-current-doc): Call it for odf files.
1780 (doc-view-mode): Recognize newly supported file extensions.
1782 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1784 * net/tramp.el (tramp-default-method-alist)
1785 (tramp-default-user-alist)
1786 (tramp-local-host-regexp, tramp-prefix-domain-format)
1787 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1790 * net/tramp-gvfs.el:
1792 * net/tramp-imap.el:
1794 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1795 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1797 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1799 * saveplace.el (save-place-alist-to-file): Save list sorted and
1800 pretty-printed, so that it is mergeable by line-based text merging,
1801 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1803 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1805 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1806 (allout-mode): Argument "toggle" => "force".
1807 Refine the docstring.
1808 Remove special provisions for reactivation, besides the 'force'
1810 Consolidate layout provisions coce directly into the activation
1811 condition branch, now that we've removed those provisions.
1812 (allout-unload-function): Explicitly activate the mode before
1813 deactivating, if it's initially deactivated.
1814 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1815 warnings for version of function used only where
1816 set-buffer-multibyte is unavailable.
1818 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1820 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1821 are handled by the menu-bar entries. As before, don't use
1822 :visibile to avoid changing the tool-bar.
1824 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1826 * net/secrets.el (secrets-delete-alias): New defun.
1828 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1830 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1831 methods, otherwise ~/.ssh/config would be ignored.
1833 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1835 * emacs-lisp/rx.el: Make it a superset of sregex.
1836 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1837 of args, add `regex' alias.
1838 (rx-info): Add arg to distinguish head and standalone forms.
1839 (rx-check, rx-form): Pass the corresponding arg.
1841 (rx-repeat): Make it work for any number of args.
1842 (rx-syntax): Make it accept syntax chars as is.
1843 * obsolete/sregex.el: Move from emacs-lisp/.
1844 * emacs-lisp/re-builder.el: Remove sregex support.
1845 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1847 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1849 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1850 PRIMARY first, then the clipboard. (Bug#7699)
1852 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1854 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1857 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1859 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1860 .emacs.elc (Bug#7530).
1862 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1863 image spec (Bug#7480).
1865 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1867 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1868 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1871 2010-12-20 Leo <sdl.web@gmail.com>
1873 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1874 always be performed (Bug#7680).
1876 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1878 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1879 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1882 * color.el: Move from gnus/.
1884 * vc/diff.el (diff-better-file-name): Function deleted.
1885 abbreviating file names causes problems with shell-quote-argument.
1886 (diff-no-select): Just use expand-file-name.
1888 * tool-bar.el (tool-bar--image-expression): New function.
1889 (tool-bar-local-item, tool-bar--image-exp): Use it.
1890 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1891 Use :enable instead of :visible to avoid changing the tool-bar
1892 configuration unnecessarily.
1894 * info.el (info-tool-bar-map): Add separators.
1896 2010-12-17 Ken Brown <kbrown@cornell.edu>
1898 * loadup.el: Use version numbers in Cygwin build.
1900 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1902 * ido.el (ido-file-internal): Ask for confirmation before
1903 overwriting an existing file (Bug#1238).
1905 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1907 * tool-bar.el (tool-bar-setup): Add separators.
1909 * menu-bar.el (featurep): Use menu-bar-separator.
1911 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1913 Migrate allout encryption provisions from pgg to epg.
1915 * allout.el (allout-toggle-current-subtree-encryption)
1916 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1917 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1918 for simpler universal argument interpretation.
1919 (allout-toggle-subtree-encryption): Adjust docstring to describe
1920 changed encryption provisions. Change fetch-pass to keymode-cue, for
1921 simpler universal argument interpretation. Remove provisions for
1922 handling key type and identity - they'll all be within
1923 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1924 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1925 for keypair recipients (universal argument > 1) and, in addition,
1926 associating the specified recipients with the outline (universal
1927 argument > 4) using a file local variable setting for
1928 'epa-file-encrypt-to'.
1929 Require epa, for recipients handling.
1930 Change how regexp filtering elements are named.
1931 Describe the problem with caching of incorrect symmetric-decryption
1933 Use the epa-passphrase-callback-function, in case the user is using
1935 Support saving of the selected keypair recipients when invoked with a
1937 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1939 Establish epg-context with armoring and default epg-protocol.
1940 Remove all passphrase cache, verification, and hinting code.
1941 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1942 No longer used, delete.
1943 (allout-mode): Adjust docstring to describe changed encryption
1944 provisions. Describe the problem with caching of incorrect
1945 symmetric-decryption keys.
1946 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1947 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1948 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1949 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1952 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1954 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1955 key selection prompt; make 'silent as default (Bug#7487).
1957 2010-12-16 Leo <sdl.web@gmail.com>
1959 * eshell/eshell.el (eshell-directory-name):
1960 Use locate-user-emacs-file (Bug#7578).
1962 2010-12-15 Glenn Morris <rgm@gnu.org>
1964 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1966 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1967 Scott Evans <gse@antisleep.com>
1969 * rect.el (rectange--default-line-number-format)
1970 (rectangle-number-line-callback): New functions.
1971 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1973 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1975 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1976 Delete unused variables.
1977 (move-to-column-force): Remove function obsolete since 21.2.
1979 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1981 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1982 (tramp-handle-insert-file-contents): Do not set permanent-local
1985 * net/tramp-cache.el (tramp-persistency-file-name):
1986 Use `locate-user-emacs-file' if fboundp.
1988 * net/tramp-sh.el (tramp-methods): Add "ksu".
1989 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1992 2010-12-14 Glenn Morris <rgm@gnu.org>
1994 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1995 (find-tag-marker-ring): Declare.
1996 (js-find-symbol): Require etags.
1998 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2000 (mail-alias-file): Don't autoload. Doc fix.
2001 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2002 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2003 Mark as obsolete, and risky.
2004 (mail-setup): Simplify.
2006 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2007 * mail/sendmail.el (build-mail-aliases): Update autoload.
2009 * dired.el (dired-trivial-filenames, dired-chown-program)
2010 (dired-auto-revert-buffer): Remove autoload cookies.
2011 * mail/sendmail.el (mail-recover-1): Require 'dired.
2013 * dired.el (dired-subdir-switches, dired-chown-program)
2014 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2015 Make into defcustoms.
2016 (dired-chown-program): Simplify initialization.
2018 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2020 2010-12-13 Romain Francoise <romain@orebokech.com>
2022 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2024 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2026 * net/netrc.el (netrc-point-at-eol): Remove the unused
2027 netrc-point-at-old and netrc-bound-and-true-p bindings.
2028 (netrc-parse): Cache the netrc contents.
2030 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2032 * subr.el (posn-col-row): Evaluate header-line-format in the
2033 context of the POSITION window's buffer.
2035 2010-12-13 Glenn Morris <rgm@gnu.org>
2037 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2038 (with-silent-modifications): Doc fixes.
2040 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2042 * net/tramp.el (tramp-action-password, tramp-process-actions):
2043 Revert previous from. Use `save-restriction'.
2045 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2047 * calendar/diary-lib.el (diary-list-sexp-entries):
2048 Handle case of no newline at end of file. (Bug#7536)
2050 2010-12-13 Glenn Morris <rgm@gnu.org>
2052 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2054 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2056 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2057 (tramp-process-actions): Do not widen.
2059 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2060 Protect buffer-modified value. (Bug#7557)
2062 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2064 * log-edit.el (log-edit-changelog-entries):
2065 Regexp quote filename. (Bug#7505)
2067 2010-12-13 Tom Breton <tehom@panix.com>
2069 * cus-edit.el (custom-save-all):
2070 Bind print-length and print-level to nil. (Bug#7581)
2072 2010-12-13 Glenn Morris <rgm@gnu.org>
2074 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2075 Run hooks to update menu contents. (Bug#7586)
2077 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2078 file names, for the sake of MS Windows. (Bug#7588)
2080 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2082 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2083 empty lines without a leading space.
2085 2010-12-13 Leo <sdl.web@gmail.com>
2087 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2088 while mapping over marks (Bug#6810).
2090 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2092 * image-dired.el (image-dired-db-file)
2093 (image-dired-temp-image-file, image-dired-gallery-dir)
2094 (image-dired-temp-rotate-image-file): Set default values relative
2095 to image-dired-dir (Bug#7518).
2097 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2099 * format.el (format-decode-run-method): Pass args FROM and TO, not
2100 point-min and point-max, to shell-command-on-region (Bug#7488).
2102 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2104 * frame.el (blink-cursor-mode): Make default t for ns.
2106 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2108 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2110 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2112 * comint.el (comint-dynamic-list-input-ring)
2113 (comint-dynamic-complete-filename)
2114 (comint-replace-by-expanded-filename)
2115 (comint-dynamic-simple-complete)
2116 (comint-dynamic-list-filename-completions)
2117 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2119 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2122 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2124 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2127 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2129 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2132 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2134 * files.el (file-relative-name): Handle UNC file names on
2135 DOS/Windows. (Bug#4674)
2137 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2139 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2140 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2141 (epg-context-set-passphrase-callback): Mention that the callback
2142 is not called when used with GnuPG 2.x.
2144 2010-12-13 Glenn Morris <rgm@gnu.org>
2146 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2147 Ensure ps-footer-font-size-internal is initialized.
2148 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2150 2010-12-13 Kenichi Handa <handa@m17n.org>
2152 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2153 within condition-case.
2154 (rmail-show-mime): Don't use condition-case.
2155 (rmail-search-mime-message): New function.
2156 (rmail-search-mime-message-function): Set to
2157 rmail-search-mime-message.
2159 2010-12-13 Leo <sdl.web@gmail.com>
2161 * ido.el (ido-common-initialization): New function. (bug#3274)
2163 (ido-completing-read): Call it.
2165 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2167 * bookmark.el (bookmark-name-from-full-record): Rename back to
2168 this original name from `bookmark-name-from-record' reverting part
2169 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2170 As Drew Adams pointed out, there was no reason to cause churn for
2171 third-party callers.
2173 2010-12-12 Alan Mackenzie <acm@muc.de>
2175 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2176 template arglist, check that the current language supports this.
2178 2010-12-11 Glenn Morris <rgm@gnu.org>
2180 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2181 state of the file matches. (Bug#7544)
2182 (vc-bzr-register, vc-bzr-checkin)
2183 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2184 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2186 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2188 2010-12-11 Karel Klíč <kklic@redhat.com>
2190 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2192 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2194 Derive from prog-mode, use derived-mode-p, and fix up various
2195 minor style issues in lisp/progmodes.
2197 * progmodes/vhdl-mode.el (vhdl-mode):
2198 * progmodes/verilog-mode.el (verilog-mode):
2199 * progmodes/vera-mode.el (vera-mode):
2200 * progmodes/sql.el (sql-mode):
2201 * progmodes/scheme.el (scheme-mode):
2202 * progmodes/perl-mode.el (perl-mode):
2203 * progmodes/octave-inf.el (inferior-octave-mode):
2204 * progmodes/autoconf.el (autoconf-mode):
2205 * progmodes/m4-mode.el (m4-mode):
2206 * progmodes/inf-lisp.el (inferior-lisp-mode):
2207 * progmodes/idlwave.el (idlwave-mode):
2208 * progmodes/icon.el (icon-mode):
2209 * progmodes/idlw-help.el (idlwave-help-mode):
2210 * progmodes/dcl-mode.el (dcl-mode):
2211 * progmodes/idlw-shell.el (idlwave-shell-mode):
2212 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2213 (ebrowse-member-mode, ebrowse-electric-position-mode):
2214 Use define-derived-mode.
2216 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2217 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2218 (xscheme-debugger-mode-p, xscheme-send-string-1):
2219 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2220 (tcl-load-file, tcl-restart-with-file):
2221 * progmodes/ps-mode.el (ps-run-running):
2222 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2223 * progmodes/js.el (js--get-all-known-symbols):
2224 * progmodes/inf-lisp.el (inferior-lisp-proc):
2225 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2226 (idlwave-template, idlwave-update-buffer-routine-info)
2227 (idlwave-update-current-buffer-info)
2228 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2229 (idlwave-scan-class-info, idlwave-fix-keywords)
2230 (idlwave-list-buffer-load-path-shadows):
2231 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2232 (idlwave-toolbar-remove):
2233 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2234 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2235 (idlwave-shell-menu-def):
2236 * progmodes/idlw-complete-structtag.el
2237 (idlwave-prepare-structure-tag-completion):
2238 * progmodes/gud.el (gud-set-buffer):
2239 * progmodes/f90.el (f90-backslash-not-special):
2240 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2242 * progmodes/xscheme.el (xscheme-start)
2243 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2244 * progmodes/which-func.el (which-function):
2245 * progmodes/vhdl-mode.el (vhdl-set-style):
2246 * progmodes/verilog-mode.el (verilog-set-compile-command)
2247 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2248 (verilog-set-define, verilog-auto-reeval-locals):
2249 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2250 * progmodes/simula.el (simula-mode):
2251 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2252 * progmodes/python.el (python-check, python-mode):
2253 * progmodes/prolog.el (prolog-mode-variables):
2254 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2255 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2256 * progmodes/delphi.el (delphi-mode):
2257 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2258 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2259 (c-font-lock-init): Move make-local-variable to their setq.
2261 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2262 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2264 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2265 (sh-set-shell): Don't set require-final-newline since it's already done
2267 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2268 since we never set it.
2269 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2270 Use read-string and standard prompt.
2271 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2272 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2273 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2274 (meta-common-mode-map): Rename from meta-mode-map.
2275 Remove C-m binding, which is a user preference, not mode specific.
2276 (meta-common-mode): New major mode; replace meta-common-initialization.
2277 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2278 around with font-lock.
2279 * progmodes/etags.el (select-tags-table-mode):
2280 Derive from special-mode.
2281 * progmodes/octave-mod.el (octave-mode):
2282 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2283 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2284 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2285 Let define-derived-mode do its job.
2286 * progmodes/cpp.el (cpp-edit-mode-map):
2287 Move initialization into declaration.
2288 (cpp-edit-mode): Use define-derived-mode.
2289 (cpp-edit-load): Use derived-mode-p.
2290 * progmodes/mixal-mode.el (mixal-mode):
2291 * progmodes/f90.el (f90-mode):
2292 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2293 require-final-newline since prog-mode does it already.
2294 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2295 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2296 * progmodes/antlr-mode.el: Require cc-mode upfront.
2297 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2299 (antlr-directory-dependencies, antlr-show-makefile-rules):
2301 (antlr-language-option): Don't assume point-min==1.
2302 (antlr-mode): Use define-derived-mode.
2303 * progmodes/ada-mode.el: Use derived-mode-p.
2304 (ada-mode): Use define-derived-mode.
2305 Use hack-local-variables-hook.
2307 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2309 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2310 (texinfo-mode): Don't disable adaptive-fill-mode.
2311 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2312 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2313 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2314 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2315 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2316 (texinfo-insert-@quotation, texinfo-insert-@samp)
2317 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2318 (texinfo-insert-@uref): Use define-skeleton.
2319 (texinfo-insert-@-with-arg): Delete.
2321 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2323 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2324 nil, do quote archive member names. (Bug#6144)
2326 2010-12-10 Glenn Morris <rgm@gnu.org>
2328 * files.el (diff-no-select): Declare.
2330 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2331 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2333 * comint.el (comint-input-ring-file-name): Doc fix.
2335 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2337 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2339 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2340 Use them instead of `nil' and `>', respectively.
2341 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2343 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2344 and menu-bar-positive-p instead of `nil' and `>', respectively.
2347 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2349 * whitespace.el (whitespace-newline-mode): Code fix.
2351 2010-12-09 Glenn Morris <rgm@gnu.org>
2353 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2354 Rename functions without commas, update callers.
2356 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2358 * whitespace.el (whitespace-cleanup-region):
2359 Clean up spaces before tabs. (Bug#7582)
2361 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2363 * bookmark.el: Adjust parameter names and doc strings to resolve
2364 confusion over whether "bookmark" meant a bookmark name or a
2365 bookmark record. Along the way, shorten one function's name for
2366 similar reasons. (Issue #7548)
2367 (bookmark-name-from-record): New name for
2368 `bookmark-name-from-full-record'. All callers changed.
2369 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2370 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2371 (bookmark-get-annotation, bookmark-set-annotation)
2372 (bookmark-get-filename, bookmark-set-filename)
2373 (bookmark-get-position, bookmark-set-position)
2374 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2375 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2376 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2377 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2378 Rename `bookmark' parameter to `bookmark-name-or-record', to
2379 clearly show its role, and shorten or adjust doc strings accordingly.
2380 (bookmark-set-name): Same, and pass the parameter directly to
2381 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2382 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2383 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2384 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2385 and in some cases shorten doc string accordingly.
2386 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2387 and `new-name', and adjust an internal variable to avoid confusion.
2388 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2389 parameter in doc string.
2391 2010-12-08 Glenn Morris <rgm@gnu.org>
2393 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2394 from gdb's history file. (Bug#7575)
2396 * mail/emacsbug.el (report-emacs-bug):
2397 Try to handle some other mail clients.
2399 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2401 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2402 Use string-prefix-p.
2403 (file-name-version-regexp): New var.
2404 (file-name-sans-versions):
2405 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2406 (jka-compr-get-compression-info): Use dolist.
2407 (jka-compr-compression-info-list): Don't bother specifying
2408 version/backup regexps.
2410 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2412 * simple.el (just-one-space): Make argument n default to 1 if
2415 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2417 * electric.el (electric-indent-post-self-insert-function):
2418 Delete trailing newlines even if we don't reindent.
2420 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2422 * minibuffer.el (completion-at-point): Remove the `arg'.
2423 * bindings.el (complete-symbol): Move back from minibuffer.el.
2425 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2427 * simple.el (just-one-space): Delete newlines for negative arg.
2429 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2431 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2432 (ansi-color-filter-apply): Simplify.
2433 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2435 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2437 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2439 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2441 * dired.el (dired-use-ls-dired): Set default to a special
2442 "unspecified" value.
2443 (dired-insert-directory): When called the first time, check
2444 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2446 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2448 * replace.el: Add "collect" feature to occur.
2449 (occur-collect-regexp-history): New var.
2450 (occur-read-primary-args): Return a replace string for nlines,
2452 (occur): Extend the meaning of nlines.
2454 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2456 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2457 (which-func-update-1): Distinguish symbols from strings.
2458 (which-function): Stay within 80 columns.
2460 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2462 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2464 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2466 (comment-style): Use comment-styles's docs to describe values.
2468 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2470 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2471 and ns-show-prefs (Bug#7535).
2473 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2474 bindings (Bug#7535).
2476 2010-12-03 Glenn Morris <rgm@gnu.org>
2478 * nxml/nxml-mode.el: Require rng-nxml.
2479 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2480 Remove declarations.
2482 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2483 * nxml/rng-nxml.el, nxml/rng-valid.el:
2484 Remove leading `*' from defcustom docs.
2486 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2487 (normal-top-level-add-to-load-path, tty-handle-args):
2488 Convert comments to basic doc-strings.
2490 * net/browse-url.el (browse-url-url-at-point)
2491 (browse-url-default-browser): Remove autoload cookies.
2493 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2494 Remove more undefined cl functions.
2496 * vc/diff.el (diff-sentinel): Make new arguments optional.
2497 * ibuf-ext.el (diff-sentinel): Update declaration.
2499 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2501 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2502 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2503 (epg-context-set-passphrase-callback): Mention that the callback
2504 is not called when used with GnuPG 2.x.
2506 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2508 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2509 (tramp-file-name-port): Check also for `tramp-default-port'.
2510 (tramp-get-connection-name): New defun.
2511 (tramp-get-connection-process): Use it.
2512 (tramp-debug-message): Extend function exclude list.
2513 (tramp-drop-volume-letter): Fix doc string.
2515 * net/tramp-cmds.el: Remove solved todo item.
2519 * net/tramp-gvfs.el:
2521 * net/tramp-imap.el:
2522 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2523 and `tramp-default-user-alist', respectively.
2525 * net/tramp-gw.el (tramp-gw-open-connection):
2526 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2528 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2529 `tramp-file-name-port'.
2531 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2532 and "psftp". Exchange "%k" marker with options.
2533 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2534 Compute size of link target.
2535 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2536 `tramp-current-*' up due to gateway methods. Optimze computing of
2537 copy arguments. Use `tramp-get-connection-name' and
2538 `tramp-get-connection-buffer'. Improve debug messages.
2539 (tramp-compute-multi-hops): Remove port determination.
2540 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2542 * net/trampver.el: Update release number.
2544 2010-12-02 Glenn Morris <rgm@gnu.org>
2546 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2547 Avoid infinite loop over windows. (Bug#7492)
2549 * progmodes/flymake.el (flymake-check-file-limit):
2550 Allow nil to mean "no limit".
2551 (flymake-check-patch-master-file-buffer): Update for above change.
2552 Allow a .tex file-name extension to be optional.
2553 (flymake-master-tex-init): Also match \include statements.
2555 2010-11-30 Sam Steingold <sds@gnu.org>
2557 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2558 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2559 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2560 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2561 define-derived-mode').
2562 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2563 users who want to call `nxml-parent-document-set'.
2565 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2567 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2568 stand-alone lines, since that is handled by log-edit-match-to-eoh
2571 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2573 * dired.el (dired-get-filename): Replace backslashes with slashes
2574 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2575 * locate.el (locate-default-make-command-line): Don't consider
2576 drive letter and root directory part of
2577 `directory-listing-before-filename-regexp'. (Bug#7308)
2578 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2580 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2582 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2583 of :smie-open/close-alist.
2584 (smie-next-sexp): Make it accept a "start token" as argument.
2585 (smie-indent-keyword): Be careful not to misidentify tokens that span
2586 more than one line, as empty lines. Add argument `token'.
2588 2010-11-27 Kenichi Handa <handa@m17n.org>
2590 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2591 multipart subtypes, insert all as usual.
2593 * mail/rmail.el: Require rfc2047.
2595 2010-11-27 Kenichi Handa <handa@m17n.org>
2597 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2598 (rmail-mime-entity-disposition)
2599 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2600 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2601 (rmail-mime-save): Handle the case that the button's `data' is a
2603 (rmail-mime-insert-text): New function.
2604 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2605 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2606 (rmail-mime-insert-bulk): New function mostly copied from the old
2607 rmail-mime-bulk-handler.
2608 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2609 (rmail-mime-process-multipart): New function mostly copied from
2610 the old rmail-mime-multipart-handler.
2611 (rmail-mime-show): Just call rmail-mime-process.
2612 (rmail-mime-process): New function mostly copied from the old
2614 (rmail-mime-insert-multipart, rmail-mime-parse)
2615 (rmail-mime-insert, rmail-show-mime)
2616 (rmail-insert-mime-forwarded-message)
2617 (rmail-insert-mime-resent-message): New functions.
2618 (rmail-insert-mime-forwarded-message-function): Set to
2619 rmail-insert-mime-forwarded-message.
2620 (rmail-insert-mime-resent-message-function): Set to
2621 rmail-insert-mime-resent-message.
2623 * mail/rmailsum.el: Require rfc2047.
2624 (rmail-header-summary): Handle multiline Subject: field.
2625 (rmail-summary-line-decoder): Change the default to
2626 rfc2047-decode-string.
2628 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2629 (rmail-mime-feature): Change the default to `rmailmm'.
2630 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2631 (rmail-display-labels): Likewise.
2632 (rmail-show-message-1): Check rmail-enable-mime, and use
2633 rmail-show-mime-function for a MIME message. Decode the headers
2634 according to RFC2047.
2636 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2638 * progmodes/which-func.el (which-func-imenu-joiner-function):
2639 Return a string, as expected.
2640 (which-function-mode): Make sure we stop any previous timer before
2643 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2645 * net/tramp.el (tramp-default-method-alist)
2646 (tramp-default-user-alist, tramp-default-proxies-alist):
2647 Adapt custom options type. (Bug#7445)
2649 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2651 * progmodes/python.el: Add Ipython support (Bug#5390).
2652 (python-shell-prompt-alist)
2653 (python-shell-continuation-prompt-alist): New options.
2654 (python--set-prompt-regexp): New function.
2655 (inferior-python-mode, run-python, python-shell):
2656 Require ansi-color. Use python--set-prompt-regexp to set the comint
2657 prompt based on the Python interpreter.
2658 (python--prompt-regexp): New var.
2659 (python-check-comint-prompt)
2660 (python-comint-output-filter-function): Use it.
2661 (run-python): Use a pipe (Bug#5694).
2663 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2665 * progmodes/python.el (run-python): Doc fix.
2666 (python-keep-current-directory-in-path): New var (Bug#7454).
2668 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2670 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2671 Prompt user before actually printing.
2673 2010-11-27 Glenn Morris <rgm@gnu.org>
2675 * startup.el (package-enable-at-startup, package-initialize):
2676 Remove unnecessary declarations.
2678 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2680 * international/characters.el (glyphless-char-display-control):
2681 Exclude newline and TAB from the c0-control group.
2683 2010-11-27 Glenn Morris <rgm@gnu.org>
2685 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2686 (expand-mail-aliases): Remove unnecessary autoload.
2688 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2690 * shell.el (shell-dir-cookie-re): Move definition before use.
2692 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2693 Replace undefined CL functions.
2695 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2697 * simple.el (prog-mode): Set bidi-paragraph-direction to
2700 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2702 2010-11-26 Glenn Morris <rgm@gnu.org>
2704 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2705 diary-outlook-formats can be sensitive to calendar-date-style.
2706 (diary-outlook-formats): Simplify the default setting.
2707 (diary-from-outlook-internal): Pass subject and body as arguments.
2708 Use dolist rather than dotimes. Don't save the diary buffer.
2709 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2710 Pass subject and body as explicit arguments to the -internal function.
2712 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2714 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2715 parsing them. This makes mailto:...?subject=foo\nbar work.
2717 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2719 * vc/diff.el (diff): Fix last change.
2721 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2723 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2724 (pcase--dontcare-upats): New var.
2725 (pcase-let, pcase-let*): Generate better code.
2726 Accept the same bodies as `let'.
2727 (pcase-dolist): New macro.
2728 (pcase--trivial-upat-p): New helper function.
2729 (pcase--expand): Strip leading "(let nil" if any.
2731 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2733 * mail/mailclient.el (browse-url): Require.
2734 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2735 use the external browser function to send the mail (bug#7469).
2737 * net/browse-url.el (browse-url-browser-function): Revert the
2738 default back to the previous value, since the new value broke
2740 (browse-url-mailto-function): New variable for mailto: URLs.
2741 (browse-url): Use the new variable for mailto: URLs.
2743 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2745 * eshell/esh-cmd.el (eshell-parse-command):
2746 * eshell/esh-arg.el (eshell-parse-arguments):
2747 * eshell/em-script.el (eshell-source-file):
2748 Use with-silent-modifications.
2750 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2752 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2753 for a merge location.
2755 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2756 (vc-bzr-merge-branch): Always prompt.
2757 (vc-bzr-async-command): Use the full branch filename.
2759 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2761 * shell.el (shell): Use current-buffer by default if it's already
2762 a shell mode buffer and its process is dead.
2763 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2765 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2767 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2768 Mention that the keywords should be comma separated.
2770 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2772 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2773 Accept optional prefix arg meaning to prompt for a command.
2774 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2775 prefix arg meaning to prompt for a command.
2776 (vc-pull): Alias for vc-update.
2778 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2779 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2780 (vc-bzr-merge-branch): New functions, implementing merge-branch
2781 and pull operations.
2783 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2785 * Makefile.in: Fix up last merge.
2787 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2788 (diff-sentinel): Get them as arguments instead.
2789 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2790 (diff-file-local-copy, diff-better-file-name): New funs.
2791 (diff-no-select): Rename from diff-into-buffer.
2792 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2793 Prefer closures to buffer-local variables.
2794 (diff): Adjust accordingly.
2795 (diff-buffer-with-file): Move from files.el.
2796 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2797 (diff-buffer-internal): Remove.
2798 (diff-buffer-buffer): Remove.
2799 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2800 the buffer name used, and so as not to mess up windows and frames.
2802 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2804 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2805 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2806 (diff-buffer-with-file): Use it.
2807 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2810 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2812 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2813 \ref's or \pageref's value as default instead of initial input.
2815 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2817 * files.el (backup-by-copying-when-mismatch): The default value is
2820 * startup.el (normal-top-level):
2821 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2822 `backup-by-copying-when-mismatch'.
2824 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2826 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2828 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2830 * progmodes/python.el (python-font-lock-keywords):
2831 Highlight top-level augmented assignments (Bug#6445).
2833 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2835 * term/ns-win.el (ns-right-control-modifier)
2836 (ns-right-command-modifier): Defvar them.
2838 * cus-start.el (all): Add ns-right-control-modifier and
2839 ns-right-command-modifier (Bug#7458).
2841 2010-11-20 Glenn Morris <rgm@gnu.org>
2843 * emacs-lisp/authors.el (authors-ignored-files)
2844 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2846 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2848 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2849 (report-emacs-bug-parse-query-results)
2850 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2851 keywords used for querying the bug database to show them in the
2852 existing bugs buffer.
2854 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2856 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2858 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2860 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2862 * international/characters.el (glyphless-char-display-control):
2863 Make it a defcustom, with update-glyphless-char-display as its
2865 (top level): Don't call update-glyphless-char-display.
2867 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2869 Sync with Tramp 2.2.0.
2871 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2872 `file-remote-p' (due to compatibility).
2874 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2875 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2877 * net/trampver.el: Update release number.
2879 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2881 * faces.el (glyphless-char): Define value for `pc'.
2883 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2885 Implemented a bug querying mechanism.
2886 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2887 (report-emacs-bug-create-existing-bugs-buffer)
2888 (report-emacs-bug-parse-query-results)
2889 (report-emacs-bug-query-existing-bugs): New functions.
2891 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2893 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2894 a \ref{} or \pageref{} macro, then use its value as initial input.
2896 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2898 * calc/calc-units.el (math-build-units-table-buffer):
2899 calc/README: Mention that the TeX specific units won't use the
2900 `tex' prefix in TeX mode.
2901 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2902 prefix for units in TeX mode.
2904 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2906 * simple.el (kill-new, kill-append, kill-region):
2907 * comint.el (comint-kill-region): Make the yank-handler argument
2910 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2912 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2913 that are both openers (resp. closers) and something else.
2914 (smie-grammar): Loosen definition of valid values.
2915 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2916 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2917 (smie-indent-after-keyword): Adjust users.
2918 (smie-indent-keyword): Don't indent empty lines.
2920 * vc-hg.el (vc-hg-program): New var.
2921 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2922 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2924 2010-11-18 Glenn Morris <rgm@gnu.org>
2926 * emacs-lisp/autoload.el (autoload-find-destination): The function
2927 coding-system-eol-type may return non-numeric values. (Bug#7414)
2929 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2931 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2933 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2935 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2937 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2939 * textmodes/picture.el (picture-mouse-set-point): Don't use
2940 posn-col-row; explicitly compute the motion based on the posn at
2941 the window-start (Bug#7390).
2943 2010-11-18 Glenn Morris <rgm@gnu.org>
2945 * novice.el (disabled-command-function):
2946 Fix 2009-11-15 change. (Bug#7384)
2948 2010-11-18 Glenn Morris <rgm@gnu.org>
2950 * calendar/calendar.el (diary-iso-date-forms): Make elements
2951 mutually exclusive. (Bug#7377)
2953 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2955 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2956 when filling the remaining "unconstrained" values.
2958 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2960 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2963 * files.el (safe-local-variable-p): Gracefully handle errors.
2965 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2966 Use smie-indent-virtual when indenting relative to an opener.
2967 (smie-rule-separator): Use smie-rule-parent.
2968 (smie-indent-keyword): Consult rules, even for openers at bol.
2969 (smie-indent-comment-close): Try to align closer's content.
2971 2010-11-18 Glenn Morris <rgm@gnu.org>
2973 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2975 2010-11-18 Glenn Morris <rgm@gnu.org>
2977 * printing.el (pr-menu-bind): Doc fix.
2979 * speedbar.el (speedbar-toggle-images): Doc fix.
2981 * progmodes/python.el (python-shell): Doc fix.
2983 * wid-edit.el (widget-field-use-before-change)
2984 (widget-use-overlay-change): Doc fixes.
2986 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2988 Minor cleanup to improve style.
2989 * textmodes/rst.el (rst-update-section): Use point-marker.
2990 (rst-get-decoration): Eliminate unneeded assignment.
2991 (rst-promote-region, rst-straighten-decorations)
2992 (rst-section-tree, rst-adjust): Use point-marker.
2993 (rst-toc-mode-mouse-goto): Avoid setq.
2994 (rst-shift-region-guts, rst-shift-region-left)
2995 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2996 (rst-convert-bullets-to-enumeration): Use copy-marker.
2998 * minibuffer.el (completion-fail-discreetly): New var.
2999 (completion--do-completion): Use it.
3001 * electric.el (electric-pair-pairs): New var.
3002 (electric-pair-post-self-insert-function): Use it.
3003 (electric-layout-post-self-insert-function): Don't insert a before
3004 newline unless it's actually needed.
3006 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3008 * progmodes/python.el (run-python): Explain why we remove the current
3009 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3011 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3013 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3015 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3016 (octave-mode-map): Don't bind ;, SPC, and LF.
3017 (octave-auto-indent, octave-auto-newline): Remove.
3018 (electric-layout-rules): Declare.
3019 (octave-mode): Set electric-layout-rules.
3020 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3021 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3022 (octave-electric-space): Remove.
3024 * electric.el (electric-layout-mode): New minor mode.
3025 (electric--after-char-pos): New function.
3026 (electric-indent-post-self-insert-function): Use it.
3027 (electric-layout-rules): New var.
3028 (electric-layout-post-self-insert-function): New function.
3029 (electric-indent-mode): Make them interact better.
3031 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3033 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3034 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3035 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3037 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3039 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3040 Make sure to check inside the word (Bug#6761).
3042 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3044 * startup.el (command-line): If the cursorColor resource is set,
3045 change the cursor face-spec (Bug#7392).
3047 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3049 The main features of the following allout.el changes are:
3050 - implement user customization for the allout key bindings
3051 - add a customization control by which the user can inhibit use of
3052 a trailing Ctrl-H, so by default it's reserved for use with
3053 describe-prefix-bindings
3054 - adapt to new version of called-interactively-p, while
3055 maintaining backwards compatibility with old version
3056 - fix hotspot navigation so i works properly with meta-modified keys
3058 * allout.el (allout-keybindings, allout-bind-keys)
3059 (allout-keybindings-binding, allout-prefixed-keybindings)
3060 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3061 (allout-keybindings-list, allout-mode-map-adjustments)
3062 (allout-setup-mode-map): Establish allout-mode keymaps as user
3063 customizable settings, and also establish a customizable setting which
3064 regulates whether or not a trailing control-h is reserved for use with
3065 describe-prefix-bindings - and inhibit it by default, so that control-h
3066 *is* reserved for describe-prefix-bindings unless the user changes it.
3068 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3069 and accurately between modified and unmodified events, and handle
3070 modified events more comprehensively.
3072 * allout.el (allout-substring-no-properties):
3073 Alias to use or provide version of `substring-no-properties'.
3074 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3076 * allout.el (allout-next-single-char-property-change):
3077 Alias to use or provide version of `next-single-char-property-change'.
3078 (allout-annotate-hidden, allout-hide-by-annotation):
3079 Use `allout-next-single-char-property-change'.
3081 * allout.el (allout-select-safe-coding-system):
3082 Alias to use or provide version of `select-safe-coding-system'.
3083 (allout-toggle-subtree-encryption):
3084 Use `allout-select-safe-coding-system'.
3086 * allout.el (allout-set-buffer-multibyte):
3087 Alias to use or provide version of `set-buffer-multibyte'.
3088 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3090 * allout.el (allout-called-interactively-p): Macro for using the
3091 different versions of called-interactively-p identically, depending on
3092 the subroutine's argument signature.
3093 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3094 Use `(interactive "p")' instead of `(called-interactively-p)'.
3096 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3097 (allout-previous-visible-heading, allout-forward-current-level)
3098 (allout-backward-current-level, allout-show-children):
3099 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3101 * allout.el (allout-before-change-handler):
3102 Exempt edits to the (overlaid) character after the allout outline
3103 bullet from edit confirmation prompt.
3105 * allout.el (allout-add-resumptions):
3106 Ensure that it respects correct buffer for keybindings.
3108 * allout.el (allout-beginning-of-line):
3109 Use `allout-previous-single-char-property-change' alias for the sake of
3110 diverse compatibility.
3112 * allout.el (allout-end-of-line):
3113 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3115 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3117 * frame.el (frame-notice-user-settings): Don't clobber other
3118 user-set parameters when calling face-set-after-frame-default in
3119 response to background-color parameter (Bug#7373).
3121 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3123 * international/characters.el (glyphless-char-display-control):
3124 Rename from glyphless-char-control; all users changed. Doc fix.
3125 Signal an error if display method is not one of the recognized
3128 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3130 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3131 (tramp-compat-line-end-position): Remove them.
3133 * net/tramp.el (tramp-parse-rhosts-group)
3134 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3135 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3136 (tramp-parse-netrc-group, tramp-parse-putty-group)
3137 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3138 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3139 (tramp-sh-handle-file-selinux-context)
3140 (tramp-sh-handle-file-name-all-completions)
3141 (tramp-sh-handle-insert-directory)
3142 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3143 (tramp-wait-for-output, tramp-send-command-and-read)
3144 * net/tramp-smb.el (tramp-smb-read-file-entry)
3145 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3147 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3149 (tramp-remote-coding-commands): Add an alternative using "base64
3150 -d -i". This is needed for older base64 versions from GNU
3151 coreutils. Reported by Klaus Reichl
3152 <Klaus.Reichl@thalesgroup.com>.
3154 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3156 * simple.el (count-words-region): New function.
3158 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3160 * shell.el (shell-dir-cookie-re): New custom variable.
3161 (shell-dir-cookie-watcher): New function.
3163 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3164 and compilation-mode (bug#7350).
3166 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3167 highlight when one of them is empty.
3169 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3171 (skeleton-newline): New function.
3172 (skeleton-internal-1): Use it.
3174 * simple.el (open-line): `newline' may strip trailing space.
3176 2010-11-12 Kevin Ryde <user42@zip.com.au>
3178 * international/mule-cmds.el (princ-list): Use mapc.
3180 2010-11-12 Glenn Morris <rgm@gnu.org>
3182 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3183 Use it to replace all instances of "*Compile-Log*"
3185 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3187 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3190 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3192 * progmodes/modula2.el: Use SMIE and skeleton.
3193 (m2-mode-syntax-table): (*..*) can be nested.
3194 Add //...\n. Fix paren syntax.
3195 (m2-mode-map): Remove LF and TAB bindings.
3196 (m2-indent): Add safety property.
3197 (m2-smie-grammar): New var.
3198 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3199 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3200 (m2-mode): Use define-derived-mode.
3201 (m2-newline, m2-tab): Remove.
3202 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3203 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3204 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3205 (m2-import): Use define-skeleton.
3207 2010-11-11 Glenn Morris <rgm@gnu.org>
3209 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3211 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3212 (ls-lisp-verbosity): Add custom :set-after property.
3213 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3214 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3215 (ls-lisp-insert-directory): Update caller.
3216 (ls-lisp-set-options): New function.
3217 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3220 * play/landmark.el (lm-prompt-for-move):
3221 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3223 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3225 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3226 (idlwave-study-twins): Prefix dynamic local variable `name'.
3227 (idlwave-routine-twin-compare): Update for above change.
3229 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3230 Prefix dynamic local variables `name', `kwd', and `link'.
3231 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3232 * progmodes/idlw-complete-structtag.el
3233 (idlwave-complete-structure-tag-help):
3234 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3235 (idlwave-complete-sysvar-tag-help)
3236 (idlwave-complete-class-structure-tag-help):
3237 Update for above name changes.
3239 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3241 * net/browse-url.el (browse-url-browser-function): Change the
3242 default to use `browse-url-mail' on mailto: URLs.
3244 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3246 * emacs-lisp/package.el (package-read-all-archive-contents):
3247 Reset package-archive-contents to nil before re-reading.
3249 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3251 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3252 already found as misspellings by (flyspell-large-region), just
3253 do highlighting (bug#7322).
3255 2010-11-10 Glenn Morris <rgm@gnu.org>
3257 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3259 * emulation/edt.el (edt-with-position): New macro.
3260 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3261 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3262 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3264 * emulation/tpu-extras.el (tpu-with-position): New macro.
3265 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3267 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3269 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3270 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3271 (texinfo-master-menu, texinfo-insert-node-lines)
3272 (texinfo-multiple-files-update):
3273 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3274 Use line-beginning-position.
3276 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3277 No recent Emacs supports system-type `emx'.
3279 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3280 (ada-command-separator, ada-default-prj-properties)
3281 (ada-find-any-references): Update for above name change.
3283 * dirtrack.el (dirtrack-directory-function)
3284 (dirtrack-canonicalize-function):
3285 * filecache.el (file-cache-completion-ignore-case)
3286 (file-cache-case-fold-search, file-cache-ignore-case):
3287 * term.el (serial-port-is-file-p): Cosmetic change.
3289 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3290 Remove non-existent `windows-95' system-type.
3291 * dired.el (dired-chown-program): Remove non-existent `linux'
3294 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3295 (ping-program-options): Remove non-existent `linux' system-type.
3297 * startup.el (package-initialize): Update declaration.
3299 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3300 (ls-lisp-handle-switches): Use time-less-p.
3301 (ls-lisp-format-time): Use float-time.
3303 * textmodes/remember.el (remember-time-to-seconds): Remove.
3304 (remember-store-in-mailbox): Use float-time.
3306 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3308 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3309 never a real function.
3310 (with-no-warnings): Remove compat stub, now unused.
3311 (time-less-p): Doc fix.
3312 (time-to-number-of-days): Simplify.
3314 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3316 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3317 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3318 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3319 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3320 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3322 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3323 (eshell-shuffle-files, eshell-shorthand-tar-command)
3324 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3325 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3326 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3327 Prefix dynamic local variable `matches'.
3329 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3330 Prefix dynamic local variable `skeleton'.
3332 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3334 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3335 in mail buffer; make yank-action always a command that yanks original
3338 2010-11-09 Glenn Morris <rgm@gnu.org>
3340 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3342 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3344 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3345 completion field (bug#7211).
3347 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3348 Fix handling of backslash escapes.
3349 (python-quote-syntax): Adjust accordingly.
3351 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3353 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3354 (vc-mtn-workfile-branch): Adjust to new output format.
3356 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3358 * international/mule-cmds.el (princ-list): Mark as obsolete.
3360 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3362 * emacs-lisp/smie.el: New package.
3364 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3366 * files.el (backup-by-copying-when-mismatch):
3367 Set `permanent-local' property.
3369 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3370 `permanent-local' property for `backup-by-copying-when-mismatch'.
3372 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3374 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3376 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3378 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3379 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3380 AUTOINOUT for SV style multidimensional arrays, bug294.
3381 Reported by Eric Mastromarchi.
3382 (verilog-preprocess): Use with-current-buffer and
3383 font-lock-fontify-buffer to cleanup style issues.
3385 2010-11-09 Glenn Morris <rgm@gnu.org>
3387 * locate.el (locate, locate-mode): Doc fixes.
3389 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3391 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3392 user for confirmation.
3393 (server-force-stop): Use it.
3394 (server-start): Use server-force-stop for kill-emacs-hook, to
3395 avoid user interaction while killing Emacs.
3397 2010-11-09 Glenn Morris <rgm@gnu.org>
3399 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3400 (meta-indent-line): Simplify.
3402 * vc/emerge.el (emerge-line-number-in-buf):
3403 * textmodes/ispell.el (ispell-region):
3404 * textmodes/fill.el (current-fill-column):
3405 * progmodes/xscheme.el (xscheme-send-current-line):
3406 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3407 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3408 * progmodes/sh-script.el (sh-handle-prev-do):
3409 * progmodes/meta-mode.el (meta-indent-line):
3410 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3412 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3413 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3414 * progmodes/fortran.el (fortran-looking-at-if-then):
3415 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3416 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3417 (cperl-find-pods-heres):
3418 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3419 * net/quickurl.el (quickurl-list-insert):
3420 * net/ldap.el (ldap-search-internal):
3421 * net/eudc.el (eudc-expand-inline):
3422 * mail/sendmail.el (sendmail-send-it):
3423 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3424 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3425 (viper-brac-function):
3426 * calc/calc-yank.el (calc-do-grab-region):
3427 * calc/calc-keypd.el (calc-keypad-press):
3428 * term.el (term-move-columns, term-insert-spaces):
3429 * speedbar.el (speedbar-highlight-one-tag-line):
3430 * simple.el (current-word):
3431 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3432 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3434 * hippie-exp.el (he-line-beg):
3435 * epa.el (epa--marked-keys):
3436 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3437 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3438 (dired-relist-entry):
3439 * buff-menu.el (Buffer-menu-buffer):
3440 * array.el (current-line):
3441 * allout.el (allout-resolve-xref)
3442 (allout-latex-verbatim-quote-curr-line):
3443 Replace yet more uses of end-of-line etc with line-end-position, etc.
3445 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3447 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3448 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3449 (checkdoc-syntax-table): Initialize in the declaration.
3450 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3451 the mode on unconditionally.
3453 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3454 (extent-end-position, extent-start-position): Remove setf method for
3455 non-existing functions (bug#7319).
3457 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3459 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3460 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3461 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3462 (smie-prec2->grammar): Rename from smie-prec2-levels.
3463 (smie-grammar): Rename from smie-op-levels.
3464 (smie-indent--hanging-p): Rename from smie-hanging-p.
3465 (smie-rule-hanging-p): New alias.
3466 (smie-indent--bolp): Rename from smie-bolp.
3467 (smie-indent--hanging-p): New alias.
3468 (smie--token): New dynamically bound variable.
3469 (smie-indent--parent): New function.
3470 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3471 (smie-rule-next-p): Rename from smie-next-p.
3472 (smie-rule-prev-p): Rename from smie-prev-p.
3473 (smie-rule-sibling-p, smie-rule-parent)
3474 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3475 (smie-rule-separator-outdent): New var.
3476 (smie-indent--rule): Merge with smie-indent--column.
3477 (smie-indent-forward-token, smie-indent-backward-token):
3478 Also recognize close parens.
3479 (smie-indent-keyword): Don't use smie-indent--column any more.
3480 (smie-indent-after-keyword): Ignore closers by default.
3481 (smie-indent-line): Use with-demoted-errors.
3482 * progmodes/octave-mod.el (octave-smie-grammar):
3483 Rename from octave-smie-op-levels.
3484 (octave-smie-rules): Adjust to new behavior.
3485 * progmodes/prolog.el (prolog-smie-grammar):
3486 Rename from prolog-smie-op-levels.
3488 2010-11-07 Glenn Morris <rgm@gnu.org>
3490 * eshell/esh-util.el (subst-char-in-string)
3491 (directory-files-and-attributes): These compatibility definitions are
3492 not needed on any version of Emacs since at least 21.4.
3494 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3495 (verilog-get-end-of-line): Remove.
3496 (verilog-within-string, verilog-re-search-forward-substr)
3497 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3498 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3499 Use point-at-bol, point-at-eol.
3500 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3502 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3503 (electric-pascal-terminate-line, pascal-set-auto-comments)
3504 (pascal-indent-paramlist, pascal-indent-declaration)
3505 (pascal-get-lineup-indent, pascal-func-completion)
3506 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3507 Use point-at-bol, point-at-eol.
3508 * progmodes/flymake.el (flymake-line-beginning-position)
3509 (flymake-line-end-position): Remove.
3510 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3511 * eshell/esh-util.el (line-end-position, line-beginning-position):
3512 Remove compat definitions.
3514 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3516 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3517 Use line-end-position.
3519 * emacs-lisp/chart.el (chart-zap-chars):
3520 * play/decipher.el (decipher-set-map):
3521 * progmodes/ada-mode.el (ada-get-current-indent)
3522 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3523 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3524 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3525 (ada-get-all-references):
3526 * progmodes/cperl-mode.el (cperl-electric-paren)
3527 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3528 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3529 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3530 (cperl-word-at-point-hard):
3531 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3532 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3533 (idlwave-shell-display-line):
3534 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3535 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3536 * progmodes/js.el (js--re-search-forward-inner)
3537 (js--re-search-backward-inner):
3538 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3539 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3540 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3541 * textmodes/flyspell.el (flyspell-process-localwords):
3542 * textmodes/ispell.el (ispell-buffer-local-parsing)
3543 (ispell-buffer-local-dict, ispell-buffer-local-words):
3544 Use point-at-bol and point-at-eol.
3546 * speedbar.el (speedbar-generic-item-info)
3547 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3548 (speedbar-add-indicator, speedbar-check-vc-this-line)
3549 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3550 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3551 Replace more uses of end-of-line etc with line-end-position.
3553 2010-11-06 Glenn Morris <rgm@gnu.org>
3555 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3556 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3557 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3558 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3559 (texinfo-multiple-files-update):
3560 * textmodes/table.el (table--probe-cell-left-up)
3561 (table--probe-cell-right-bottom):
3562 * textmodes/picture.el (picture-tab-search):
3563 * textmodes/page-ext.el (pages-copy-header-and-position)
3564 (pages-directory-for-addresses):
3565 * progmodes/vera-mode.el (vera-get-offset):
3566 * progmodes/simula.el (simula-calculate-indent):
3567 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3568 * progmodes/prolog.el (end-of-prolog-clause):
3569 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3570 * progmodes/icon.el (indent-icon-exp):
3571 * progmodes/etags.el (tag-re-match-p):
3572 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3573 * progmodes/ebnf2ps.el (ebnf-begin-file):
3574 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3575 (dcl-save-local-variable):
3576 * play/life.el (life-setup):
3577 * play/gametree.el (gametree-looking-at-ply):
3578 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3579 * mail/sendmail.el (mail-mode-auto-fill):
3580 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3581 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3582 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3583 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3584 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3585 * type-break.el (type-break-file-keystroke-count):
3586 * term.el (term-replace-by-expanded-history-before-point)
3587 (term-skip-prompt, term-extract-string):
3588 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3589 (speedbar-contract-line, speedbar-toggle-line-expansion)
3590 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3591 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3592 * sort.el (sort-skip-fields):
3593 * skeleton.el (skeleton-internal-list):
3594 * simple.el (line-move-finish, line-move-to-column):
3595 * shell.el (shell-forward-command):
3596 * misc.el (copy-from-above-command):
3597 * makesum.el (double-column):
3598 * ebuff-menu.el (electric-buffer-update-highlight):
3599 * dired.el (dired-move-to-end-of-filename):
3600 * dframe.el (dframe-popup-kludge):
3601 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3602 * arc-mode.el (archive-get-lineno):
3603 Use line-end-position and line-beginning-position.
3605 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3606 (idlwave-study-twins): Prefix dynamic local `class'.
3607 (idlwave-routine-twin-compare): Update for above name change.
3609 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3610 Use boundp tests to silence compiler. Update for changed name of
3611 bytecomp-filename variable.
3613 * emulation/viper-cmd.el (viper-read-string-with-history):
3614 Prefix dynamic local `initial'.
3615 (viper-minibuffer-standard-hook): Update for above name change.
3617 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3618 (elint-init-form): Update for above name change.
3620 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3621 local variables `cbeg' and `cend' a prefix.
3622 (mail-extr-voodoo): Update for above name change.
3624 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3625 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3626 (reftex-toc-promote-action): Doc fix.
3628 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3629 `prompt', `data' a prefix.
3630 (reftex-select-post-command-hook, reftex-select-callback)
3631 (reftex-select-mouse-accept, reftex-select-read-cite):
3632 Update for above name changes.
3634 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3635 `refstyle' to reftex-refstyle.
3636 (reftex-offer-label-menu): Update for above name change.
3637 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3638 `refstyle' name change.
3640 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3641 with with-current-buffer.
3642 (diff, template): Give dynamic local variables a prefix.
3643 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3644 (emerge-line-number-in-buf): Update for above name change.
3645 (emerge-combine-versions-internal): Rename local `template' to
3646 emerge-combine-template.
3647 (emerge-combine-versions-edit): Update for above name change.
3649 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3651 * textmodes/reftex-cite.el
3652 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3653 entries with whitespace after \bibitem.
3654 (reftex-create-bibtex-file): Match entries containing numbers and
3655 symbol constituents. Make sure that entries with whitespace at
3656 various places are found.
3658 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3660 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3662 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3664 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3666 2010-11-05 Glenn Morris <rgm@gnu.org>
3668 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3669 (woman2-roff-buffer): Give local variable `request' a prefix.
3670 (woman0-macro): Rename argument `request' in the same way.
3671 (woman-request): New name for `request' dynamic variable.
3672 (woman-unquote, woman-forward-arg): Update for above name change.
3673 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3674 (woman1-unquote): New name for `unquote' dynamic variable.
3675 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3676 (woman-translations): Rename from `translations'. No longer global.
3677 (woman2-tr, woman-translate): Update for above name change.
3678 (woman-translate): Check for bound variable.
3679 (woman2-roff-buffer): Give local variable `translations' a prefix.
3681 * play/doctor.el: Give all local variables a prefix. Update callers.
3682 (doc$, doctor-put-meaning): Use backquote.
3684 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3685 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3687 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3688 variables bytes, ptr, op a prefix.
3689 (disassemble-offset): Update for above change.
3691 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3693 * emacs-lisp/package.el (package-unpack): Remove no-op.
3694 (package--builtins, package--dir): Doc fix.
3695 (package-activate-1, package-activate, package-install)
3696 (package-compute-transaction): Fix error message.
3697 (package-delete): Use delete-directory. Omit system packages.
3698 (package-initialize): Set package-alist to nil first.
3699 (package-menu-mark-delete, package-menu-mark-install): Don't add
3700 symbols that are inconsistent with the package state.
3701 (package-menu-execute): Perform deletions and installations as
3702 single batch operations.
3704 2010-11-03 Glenn Morris <rgm@gnu.org>
3706 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3707 (props): Remove unnecessary declaration.
3709 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3710 set-process-query-on-exit-flag.
3712 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3713 (reftex-toc-do-promote): Remove unused local `mpos'.
3714 (reftex-toc-restore-region): Make `mpos' local to this function.
3716 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3718 * play/landmark.el (lm-losing-threshold): Correct spelling.
3719 (lm-human-plays): Use new name.
3721 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3722 (gomoku-human-plays): Use new name.
3724 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3725 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3726 (gomoku-score-trans-table, gomoku-winning-threshold)
3727 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3729 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3731 * emacs-lisp/package.el: Don't put built-in packages in
3732 package-alist, to avoid loading inefficiencies.
3733 (package-built-in-p): Make VERSION optional, and treat it as a
3734 minimum acceptable version.
3735 (package-activate): Search separately for built-in packages.
3736 Emit a warning if a dependency fails.
3737 (define-package): Handle most common case, where there is no
3738 obsolete package, first.
3739 (package-compute-transaction): Print required version in error.
3740 (package--initialized): New variable.
3741 (list-packages): Use it.
3742 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3743 built-in packages in packages-alist; keep it separate.
3744 Set package--initialized.
3745 (describe-package): Avoid activating packages as a side-effect.
3746 Search separately for built-in packages.
3747 (describe-package-1): Handle the case where an elpa package is
3748 simultaneously built-in and available/installed.
3749 (package-installed-p, package--generate-package-list):
3750 Search separately for built-in packages.
3751 (package-load-descriptor): Doc fix.
3753 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3755 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3756 Handle __DATA__ and __END__.
3758 2010-11-02 Noah Friedman <friedman@splode.com>
3760 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3761 nil, do not ask to recompile files that are not already compiled,
3762 and do not recompile them.
3764 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3766 * emacs-lisp/package.el (package-initialize): Ensure that
3767 obsoleted built-in packages are not in package-activated-list
3769 (describe-package-1): Make the "installed" status override
3772 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3774 * subr.el (version-separator, version-regexp-alist): Remove '*'
3776 (version-list-<=, version<=, version=): Doc fix.
3778 2010-11-01 Kenichi Handa <handa@m17n.org>
3780 * faces.el (glyphless-char): Inherit underline for tty.
3782 2010-11-01 Kenichi Handa <handa@m17n.org>
3784 Implement various display methods for glyphless characters.
3786 * international/characters.el (char-acronym-table): New variable.
3787 (glyphless-char-control): New variable.
3788 (update-glyphless-char-display): New funciton.
3790 * faces.el (glyphless-char): New face.
3792 2010-11-01 Glenn Morris <rgm@gnu.org>
3794 * calendar/holidays.el (general-holidays, oriental-holidays)
3795 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3796 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3797 the definitions of their targets.
3799 * emacs-lisp/smie.el (smie): New custom group.
3800 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3802 * faces.el (xw-defined-colors, x-setup-function-keys):
3803 * mouse-sel.el (x-select-text):
3804 * term/w32console.el (x-setup-function-keys): Update declarations.
3806 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3808 * textmodes/ispell.el (comment-add): Declare.
3810 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3813 * info.el (finder-keywords-hash, package-alist): Declare.
3815 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3817 * finder.el (finder-compile-keywords): Don't use intern-soft,
3818 since package names may not yet exist in the obarray.
3820 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3822 * vc/vc-arch.el (vc-arch-checkin):
3823 * vc/vc-cvs.el (vc-cvs-checkin):
3824 * vc/vc-mtn.el (vc-mtn-checkin):
3825 * vc/vc-rcs.el (vc-rcs-checkin):
3826 * vc/vc-sccs.el (vc-sccs-checkin):
3827 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3828 since 2010-04-21 commit by Stefan Monnier.
3830 2010-11-01 Glenn Morris <rgm@gnu.org>
3832 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3834 * startup.el (package-enable-at-startup, package-initialize):
3837 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3840 2010-10-31 Julien Danjou <julien@danjou.info>
3842 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3843 (byte-recompile-directory):
3844 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3845 Use `byte-recompile-file'.
3847 2010-10-31 Glenn Morris <rgm@gnu.org>
3849 * cus-start.el: Handle standard values via a keyword.
3850 Only set version property if specified.
3851 (cursor-in-non-selected-windows, menu-bar-mode)
3852 (tool-bar-mode, show-trailing-whitespace):
3853 Do not specify standard values.
3854 (transient-mark-mode, temporary-file-directory): Use :standard.
3856 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3858 * term/x-win.el (x-get-selection-value): New function that gets
3859 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3861 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3863 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3864 preserve owner and group when editing files. (Bug#7289)
3866 2010-10-31 Glenn Morris <rgm@gnu.org>
3868 * speedbar.el (speedbar-mode):
3869 * play/fortune.el (fortune-in-buffer, fortune):
3870 * play/gomoku.el (gomoku-mode):
3871 * play/landmark.el (lm-mode):
3872 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3873 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3875 * select.el (x-selection): Mark it as an obsolete alias.
3877 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3879 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3880 major-mode (bug#7284).
3882 2010-10-31 Glenn Morris <rgm@gnu.org>
3884 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3885 rather than just an unused variable that inherits from the real one.
3887 2010-10-31 Alan Mackenzie <acm@muc.de>
3889 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3890 This fixes bug #7185.
3892 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3894 * startup.el (command-line): Search for package directories, and
3895 don't load package.el if none are found.
3897 * emacs-lisp/package.el (describe-package, list-packages):
3898 Call package-initialize if it has not been called yet.
3900 2010-10-30 Alan Mackenzie <acm@muc.de>
3902 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3903 which fontifies the tail of an enum.
3904 (c-basic-matchers-after): Insert a call to the above new function.
3905 This fixes bug #7264.
3907 2010-10-30 Glenn Morris <rgm@gnu.org>
3909 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3910 tool-bar-mode, transient-mark-mode. (Bug#7306)
3911 Include the :set property in the dumped Emacs.
3913 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3915 SMIE: change indent rules format, improve smie-setup.
3916 * emacs-lisp/smie.el (smie-precs-precedence-table)
3917 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3918 Mark them pure so the tables gets built at compile time.
3919 (smie-bnf-precedence-table): Store the closer-alist in the table.
3920 (smie-prec2-levels): Preserve the closer-alist.
3921 (smie-blink-matching-open): Be more forgiving in case of indentation.
3922 (smie-hanging-p): Rename from smie-indent--hanging-p.
3923 (smie-bolp): Rename from smie-indent--bolp.
3924 (smie--parent, smie--after): New dynamic vars.
3925 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3926 (smie-indent-rules): Remove.
3927 (smie-indent--offset-rule): Remove fun.
3928 (smie-rules-function): New var.
3929 (smie-indent--rule): New fun.
3930 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3931 (smie-indent-exps): Use it.
3932 (smie-setup): Setup paren blinking; add keyword args for token
3933 functions; extract closer-alist from op-levels.
3934 (smie-indent-debug-log): Remove var.
3935 (smie-indent-debug): Remove fun.
3936 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3937 (prolog-smie-rules): New fun to replace it.
3938 (prolog-mode-variables): Simplify.
3939 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3940 it's setup automatically.
3941 (octave-smie-indent-rules): Remove.
3942 (octave-smie-rules): New fun to replace it.
3943 (octave-mode): Simplify.
3945 2010-10-29 Glenn Morris <rgm@gnu.org>
3947 * files.el (temporary-file-directory): Remove (already defined in C).
3948 * cus-start.el: Add temporary-file-directory.
3950 * abbrev.el (abbrev-mode):
3951 * composite.el (auto-composition-mode):
3952 * menu-bar.el (menu-bar-mode):
3953 * simple.el (transient-mark-mode):
3954 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3955 that they do not define the associated variables twice.
3956 * simple.el (transient-mark-mode): Remove defvar.
3957 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3958 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3959 Handle multiple groups, and also custom-delayed-init-variables.
3960 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3962 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3964 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3965 (pcase-if): Add one minor optimization.
3966 (pcase-split-equal): Rename from pcase-split-eq.
3967 (pcase-split-member): Rename from pcase-split-memq.
3968 (pcase-u1): Add strings to the member optimization.
3969 Add `guard' variant of predicates.
3970 (pcase-q1): Add string patterns.
3972 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3974 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3976 2010-10-28 Glenn Morris <rgm@gnu.org>
3978 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3979 Move menu-bar related settings to ../menu-bar.el.
3980 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3981 Move ns-specific settings here from term/ns-win.el.
3983 * simple.el (x-selection-owner-p): Remove unused declaration.
3985 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3987 * minibuffer.el (completion-cycling): New var (bug#7266).
3988 (minibuffer-complete, completion--do-completion):
3989 Use completion--flush-all-sorted-completions.
3990 (minibuffer-complete): Only cycle if completion-cycling is set.
3991 (completion--flush-all-sorted-completions): Unset completion-cycling.
3992 (minibuffer-force-complete): Set completion-cycling.
3993 (completion-all-sorted-completions): Move declaration before first use.
3995 2010-10-28 Leo <sdl.web@gmail.com>
3997 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3998 which changes the order of matches seen by users (bug#7231).
4000 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4002 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4003 Don't confuse -omega as "-o mega".
4005 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4007 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4008 (log-edit-author): New dynamic var.
4009 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4010 to return the author if different from committer.
4011 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4013 * play/landmark.el: Adjust commenting convention.
4014 (lm-nil-score): Rename from nil-score.
4015 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4016 (OOOOscore): Move into a let in lm-score-trans-table.
4017 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4019 * electric.el (electric-indent-chars): Autoload.
4020 * progmodes/octave-mod.el (octave-mode):
4021 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4022 (ruby-mode-abbrev-table): Merge initialization and declaration.
4024 2010-10-27 Glenn Morris <rgm@gnu.org>
4026 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4029 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4031 * term/ns-win.el: Restore require of cl when compiling.
4032 (menu-bar-final-items): Remove non-existent `windows' menu.
4033 (ns-handle-nxopen): Optionally handle the temp-case.
4034 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4035 (ns-insert-file, ns-find-file): Use `pop'.
4037 2010-10-26 Glenn Morris <rgm@gnu.org>
4039 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4041 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4043 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4045 * term/common-win.el (x-setup-function-keys): Remove most of the
4046 keymappings. Comment on the remaining ones.
4048 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4050 * server.el (server-port): New option. (Bug#854)
4051 (server-start): Use server-port.
4053 2010-10-26 Glenn Morris <rgm@gnu.org>
4055 * term/ns-win.el (ns-version-string): Remove unused declaration.
4056 (ns-invocation-args): Change to x-invocation-args.
4057 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4058 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4059 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4060 Use x-invocation-args instead of ns-invocation-args.
4061 (ns-initialize-window-system, handle-args-function-alist):
4062 Use x-handle-args instead of ns-handle-args.
4063 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4064 * startup.el (command-line-ns-option-alist): Replace
4065 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4066 ns-handle-iconic with the x- equivalents.
4068 * term/common-win.el (x-select-enable-clipboard):
4069 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4071 * term/ns-win.el: No need to require cl when compiling.
4072 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4073 (xw-defined-colors): Use the common-win definitions.
4074 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4075 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4076 * term/common-win.el (x-select-text, x-alternatives-map)
4077 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4078 * loadup.el [ns]: Load common-win.
4080 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4082 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4083 recipients; expand mail aliases (Bug#7280).
4085 2010-10-25 Glenn Morris <rgm@gnu.org>
4087 * term/common-win.el (x-handle-switch): Simplify with pop.
4088 Optionally handle numeric switches.
4089 (x-handle-numeric-switch): Just call x-handle-switch.
4090 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4091 (x-handle-name-switch, x-handle-display, x-handle-args):
4094 * term/ns-win.el: Do not require easymenu.
4095 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4096 <spell>: Move adjustments to menu-bar.el.
4097 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4098 <separator-undo, spell>: Move ns-win's adjustments here.
4099 * loadup.el [ns]: Do not load easymenu.
4101 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4103 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4106 * startup.el (fancy-startup-tail): Instead of using inline images,
4107 refer to image files from etc/.
4109 * wid-edit.el (checkbox): Likewise.
4110 (widget-image-find): Center image specs.
4112 2010-10-24 Glenn Morris <rgm@gnu.org>
4114 * term/ns-win.el (x-select-text): Doc fix.
4115 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4116 (x-select-text): Move to term/common-win.
4117 * term/w32-win.el (xw-defined-colors): Move to common-win.
4118 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4119 (x-setup-function-keys, x-select-text): Move to common-win.
4120 * term/common-win.el (x-select-text, x-alternatives-map)
4121 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4124 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4126 * net/mairix.el (mairix-searches-mode-map):
4127 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4129 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4131 * verilog-mode.el (verilog-directive-re): Make this variable
4132 auto-built for efficiency of execution and updating.
4133 (verilog-extended-complete-re): Support 'pure' fucntion & task
4134 declarations (these have no bodies).
4135 (verilog-beg-of-statement): General cleanup to enable support of
4136 'pure' fucntion & task declarations (these have no bodies).
4137 These efforts together fix Verilog bug210 from veripool; which was also
4138 noticed by Steve Pearlmutter.
4139 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4140 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4141 Support `elsif. Reported by Shankar Giri.
4142 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4143 attribute handling for lining up declarations and assignments.
4144 (verilog-beg-of-statement-1): Fix issue where continued declaration
4145 is indented differently if it is after a begin..end clock.
4146 (verilog-in-attribute-p, verilog-skip-backward-comments)
4147 (verilog-skip-forward-comment-p): Support proper treatment of
4148 attributes by indent code. Reported by Jeff Steele.
4149 (verilog-in-directive-p): Fix comment to correctly describe function.
4150 (verilog-backward-up-list, verilog-in-struct-region-p)
4151 (verilog-backward-token, verilog-in-struct-p)
4152 (verilog-in-coverage-p, verilog-do-indent)
4153 (verilog-pretty-declarations): Use verilog-backward-up-list as
4154 wrapper around backward-up-list inorder to properly skip comments.
4155 Reported by David Rogoff.
4156 (verilog-property-re, verilog-endcomment-reason-re)
4157 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4158 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4159 of if). Reported by Max Bjurling and
4160 (verilog-calc-1): Fix for clocking block in modport
4161 declaration. Reported by Brian Hunter.
4163 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4165 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4166 (verilog-gate-keywords, verilog-read-sub-decls)
4167 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4168 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4169 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4170 (verilog-read-decls): Fix spaces in V2K module parameters causing
4171 mis-identification as interfaces, bug287.
4172 (verilog-read-decls): Fix not treating "parameter string" as a
4173 parameter in AUTOINSTPARAM.
4174 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4175 treating `elsif similar to `endif inside AUTOSENSE.
4176 (verilog-do-indent): Implement correct automatic or static task or
4177 function end comment highlight. Reported by Steve Pearlmutter.
4178 (verilog-font-lock-keywords-2): Fix highlighting of single
4179 character pins, bug264. Reported by Michael Laajanen.
4180 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4181 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4182 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4183 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4184 (verilog-pretty-expr): Fix interactive arguments, bug272.
4185 Reported by Mark Johnson.
4186 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4187 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4188 bug269. Suggested by Gary Delp.
4189 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4190 (verilog-preprocessor, verilog-set-compile-command):
4191 Create verilog-preprocess and verilog-preprocessor to show
4192 preprocessed output.
4193 (verilog-get-beg-of-line, verilog-get-end-of-line)
4194 (verilog-modi-file-or-buffer, verilog-modi-name)
4195 (verilog-modi-point, verilog-within-string): Move defmacro's
4196 before first use to avoid warning. Reported by Steve Pearlmutter.
4197 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4198 (verilog-colorize-region, verilog-highlight-buffer)
4199 (verilog-highlight-includes, verilog-highlight-modules)
4200 (verilog-highlight-region, verilog-mode): Rename colorize to
4201 highlight to match other packages. Disable module highlighting,
4202 as received speed complaints, reenable for experimentation only
4203 using new verilog-highlight-modules.
4204 (verilog-read-decls): Fix regexp stack overflow in very large
4205 AUTO_TEMPLATEs, bug250.
4206 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4207 (verilog-scan): Create verilog-save-buffer-state to standardize
4208 making insignificant changes that shouldn't call hooks.
4209 (verilog-save-no-change-functions, verilog-save-scan-cache)
4210 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4211 Create verilog-save-no-change-functions to wrap verilog-scan
4212 preservation, and fix to work with nested preserved calls.
4213 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4214 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4215 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4216 (verilog-submit-bug-report): Update variable list to be complete.
4217 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4218 breaking on-the-fly font-locking.
4219 (verilog-colorize-buffer, verilog-colorize-include-files)
4220 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4221 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4222 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4223 AUTOINST cell instance name, middle mouse button now finds-file on
4224 it. Suggested by Brad Dobbie.
4225 (verilog-alw-get-temps, verilog-auto-reset)
4226 (verilog-auto-sense-sigs, verilog-read-always-signals)
4227 (verilog-read-always-signals-recurse): Fix loop indexes being
4228 AUTORESET. AUTORESET now assumes any variables in the
4229 initialization section of a for() should be ignored.
4230 Reported by Dan Dever.
4231 (verilog-error-font-lock-keywords)
4232 (verilog-error-regexp-emacs-alist)
4233 (verilog-error-regexp-xemacs-alist): Fix error detection of
4234 Cadence HAL, reported by David Asher. Repair drift between the
4235 three similar error variables.
4236 (verilog-modi-lookup, verilog-modi-lookup-cache)
4237 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4238 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4239 Fix slow verilog-auto expansion on very large files.
4240 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4241 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4242 "{1*2{...". Broke in last revision.
4243 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4244 submodule connections with replications "{#{a},#{b}}".
4246 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4248 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4249 Fix typo in docstring.
4251 2010-10-24 Kenichi Handa <handa@m17n.org>
4253 * face-remap.el (text-scale-adjust): Call read-event with a proper
4256 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4258 * emacs-lisp/unsafep.el: Don't mark functions that display
4259 messages as safe. Suggested by Johan Bockgård.
4261 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4263 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4264 Turn comments into docstrings.
4266 * minibuffer.el (completion--replace): Move point where it belongs
4267 when there's a common suffix (bug#7215).
4269 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4271 Merge read-color and facemenu-read-color (Bug#7242).
4273 * faces.el (read-color): Use the completion code from
4274 facemenu-read-color. Require match in completion. Doc fix.
4276 * facemenu.el (facemenu-read-color): Alias for read-color.
4277 (facemenu-set-foreground, facemenu-set-background):
4280 * frame.el (set-background-color, set-foreground-color)
4281 (set-cursor-color, set-mouse-color, set-border-color):
4284 2010-10-24 Leo <sdl.web@gmail.com>
4286 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4287 argument of delete-file and delete-directory (Bug#7011).
4289 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4291 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4294 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4296 * emacs-lisp/package.el (package--generate-package-list): Make the
4297 *Packages* buffer read-only.
4299 2010-10-24 Alan Mackenzie <acm@muc.de>
4301 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4302 result of `c-beginning-of-decl-1' between invocations of a lambda
4303 function (Bug #7265).
4305 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4307 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4308 executable is not available on the system (Bug#7268).
4310 2010-10-24 Glenn Morris <rgm@gnu.org>
4312 * select.el (selection-coding-system, next-selection-coding-system):
4313 Sync doc with C versions.
4315 * w32-vars.el (x-select-enable-clipboard):
4316 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4317 * term/common-win.el (x-select-enable-clipboard): Move here.
4319 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4320 definition of C variable.
4322 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4323 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4324 Don't redefine things that are defined in C.
4325 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4326 (show-trailing-whitespace, auto-hscroll-mode)
4327 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4328 Set up the appropriate custom properties.
4330 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4333 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4334 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4335 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4336 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4338 2010-10-23 Glenn Morris <rgm@gnu.org>
4340 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4343 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4344 Sync docs with C version.
4346 * term/ns-win.el (xw-defined-colors):
4347 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4349 * term/pc-win.el (x-select-enable-clipboard):
4350 * term/x-win.el (x-select-enable-clipboard):
4351 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4353 * comint.el (comint-password-prompt-regexp): Make it less vague.
4356 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4358 * help.el (finder-by-keyword): Remove unnecessary autoload.
4360 2010-10-22 Glenn Morris <rgm@gnu.org>
4362 * loadup.el: Unconditionally load float-sup.
4363 * paren.el (show-paren-delay):
4364 * emacs-lisp/float-sup.el:
4365 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4366 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4367 (lazy-lock-stealth-verbose): Assume float support.
4368 * ps-print.el: Assume float support on Emacs.
4369 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4370 Remove non-float branch.
4372 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4373 src/Makefile no longer being pre-processed.
4375 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4377 * emacs-lisp/find-func.el (find-library): Use test-completion.
4379 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4381 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4383 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4385 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4386 space in stat format string.
4387 (tramp-send-command): Unset $PS1 when using here documents, in
4388 order not to get several prompts.
4389 (tramp-get-inline-coding): Return `nil' in case of errors.
4391 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4393 * hexl.el (hexl-mode, hexl-mode-exit):
4394 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4395 (hexl-revert-buffer-function): New function.
4396 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4398 2010-10-19 Alan Mackenzie <acm@muc.de>
4400 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4401 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4402 that these keywords aren't wrongly matched as identifiers.
4404 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4405 setting of c-new-BEG and c-new-END from c-before-change to
4406 c-after-change. (Bug#7181)
4408 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4410 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4413 * custom.el (custom-theme-set-variables): Likewise.
4414 (load-theme): Add custom-theme-set-faces and
4415 custom-theme-set-variables to safe-functions while loading.
4416 (custom-enabled-themes): Mark as risky.
4418 2010-10-18 Julien Danjou <julien@danjou.info>
4420 * bindings.el: Remove end dashes in default mode-line-format.
4422 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4424 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4425 to delete-forward-char.
4427 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4428 deletechar, and hence delete-forward-char.
4430 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4432 * repeat.el (repeat): Use read-key (bug#6256).
4434 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4436 * emacs-lisp/unsafep.el: Don't mark functions that display
4437 messages as safe. Suggested by Johan Bockgård.
4439 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4441 * minibuffer.el (completion--replace): Move point where it belongs
4442 when there's a common suffix (bug#7215).
4444 2010-10-19 Kenichi Handa <handa@m17n.org>
4446 * international/characters.el: Add category '|' (word breakable)
4447 to fullwidth characters.
4449 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4451 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4452 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4453 order to make stat results a float. Patch by Andreas Schwab
4454 <schwab@linux-m68k.org>.
4456 2010-10-18 Julien Danjou <julien@danjou.info>
4458 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4459 hidden by `make-pointer-invisible'.
4461 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4463 * files.el (locate-file-completion-table): Strip non-matching elements
4464 before checking length of list (bug#7238).
4466 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4468 * custom.el (custom-theme-set-variables): Mark as a safe function.
4469 (load-theme): Check forms using unsafep.
4471 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4473 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4475 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4476 Fix aspell data file searching (bug#7230).
4478 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4480 * cus-theme.el (custom-theme--migrate-settings): New var.
4481 (customize-create-theme): Allow editing the `user' theme.
4482 (custom-theme-add-variable, custom-theme-add-var-1)
4483 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4484 to the front of each variable or face widget.
4485 (custom-theme-write): Save theme settings in the correct order.
4486 Optionally, remove saved settings from user customizations.
4487 (custom-theme-write-variables, custom-theme-write-faces):
4488 Save only the checked widgets.
4489 (customize-themes): Add a link for migrating custom settings.
4491 * custom.el (custom-declare-theme, provide-theme):
4492 Use custom-theme-name-valid-p.
4493 (custom-theme-name-valid-p): Remove checks that are now
4494 unnecessary since themes no longer obey load-path.
4496 * cus-edit.el (custom-variable-value-create): For the simple
4497 style, hide documentation string when hidden.
4499 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4501 * cus-edit.el (custom-variable, custom-face): Combine the
4502 :inhibit-magic and :display-style properties into a single
4503 :custom-style property.
4504 (custom-toggle-hide-variable, custom-toggle-hide-face):
4505 New functions. If hiding an edited value, save it to :shown-value.
4506 (custom-variable-value-create, custom-face-value-create): Use them.
4507 (custom-magic-reset): Allow magic property to be unset.
4509 * custom.el: Custom themes no longer use load-path.
4510 (custom-theme-load-path): New option. Change built-in theme
4512 (custom-enabled-themes): Add custom-theme-load-path dependency.
4513 (custom-theme--load-path): New function.
4514 (load-theme, custom-available-themes): Use it.
4516 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4517 (customize-themes): Link to custom-theme-load-path variable.
4518 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4519 :custom-style property.
4521 * themes/*.el: Moved to etc/.
4523 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4525 * textmodes/reftex-cite.el
4526 (reftex-extract-bib-entries-from-thebibliography): Do not move
4527 point when searching for \bibitem entries. Match entries with
4528 spaces or tabs in front of arguments.
4530 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4532 * cus-theme.el (customize-create-theme): Delete overlays after
4533 erasing. If given a THEME arg, display only the faces of that arg
4534 instead of custom-theme--listed-faces.
4535 (custom-theme-variable-menu, custom-theme-variable-action)
4536 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4537 (custom-theme-add-variable, custom-theme-add-face): Apply value
4538 from the theme settings, instead of the current value.
4539 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4540 (custom-theme-visit-theme): Allow calling outside theme buffers.
4541 (custom-theme-merge-theme): Don't enable the theme when merging.
4542 (custom-theme-write-variables, custom-theme-write-faces): Use the
4543 :shown-value properties to save buffer values, not global ones.
4544 (customize-themes): Display a warning about user customizations.
4546 * cus-edit.el (custom-variable-value-create)
4547 (custom-face-value-create): Obey new special properties
4548 :shown-value and :inhibit-magic.
4550 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4552 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4553 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4556 2010-10-14 Kenichi Handa <handa@m17n.org>
4558 * mail/rmail.el (rmail-show-message-1): Catch an error of
4559 base64-decode-region and just show an error message (bug#7165).
4561 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4562 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4563 a font-spec (bug#7197).
4565 2010-10-14 Glenn Morris <rgm@gnu.org>
4567 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4569 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4571 * international/mule.el (define-coding-system):
4572 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4573 * composite.el (compose-region): Fix typo in docstring.
4575 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4577 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4578 only after checking the theme-face property.
4580 * faces.el (face-spec-reset-face): Reset all attributes in one
4581 single call to set-face-attribute.
4582 (face-spec-match-p): Make it a defsubst.
4583 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4584 (x-create-frame-with-faces, tty-create-frame-with-faces)
4585 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4586 frame-set-background-mode, since they are recomputed immediately
4587 afterwards in face-set-after-frame-default.
4588 (face-set-after-frame-default): Minor optimization.
4589 (cursor): Provide non-trivial defface spec.
4591 * custom.el (custom-theme-recalc-face): Simplify.
4593 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4595 * calc/calc-alg.el (math-var): Rename from `var'.
4596 (math-is-polynomial, math-is-poly-rec): Replace `var'
4599 * calc/calcalg2.el (math-var): Rename from `var'.
4600 (calcFunc-table, math-scan-for-limits): Replace `var'
4603 2010-10-13 Glenn Morris <rgm@gnu.org>
4605 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4607 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4609 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4611 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4613 * net/tls.el (tls-program): Remove spurious %s from openssl.
4614 (tls-starttls-switches): Remove starttls hack.
4615 (open-tls-stream): Ditto.
4616 (tls-find-starttls-argument): Ditto.
4618 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4620 * image.el (image-library-alist): Declare as obsolete alias.
4621 (image-type-available-p): Use `dynamic-library-alist'.
4623 * term/w32-win.el (dynamic-library-alist):
4624 Use instead of `image-library-alist'.
4626 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4628 * subr.el (last): Make it faster. (Bug#7174)
4630 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4632 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4634 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4636 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4637 (describe-theme-1): Extract doc from unloaded themes.
4639 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4641 * themes/tango-theme.el:
4642 * themes/tango-dark-theme.el:
4643 * themes/wheatgrass-theme.el: New files.
4645 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4647 * cus-theme.el (describe-theme, customize-themes)
4648 (custom-theme-save): New commands.
4649 (custom-new-theme-mode-map): Bind C-x C-s.
4650 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4651 (customize-create-theme): New optional arg THEME.
4652 (custom-theme-revert): Use it.
4653 (custom-theme-visit-theme): Remove dead code.
4654 (custom-theme-merge-theme): Use custom-available-themes.
4655 (custom-theme-write): Make interactive.
4656 (custom-theme-write): Use custom-theme-name-valid-p.
4657 (describe-theme-1, custom-theme-choose-revert)
4658 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4660 (custom-theme-allow-multiple-selections): New option.
4661 (custom-theme-choose-mode): New major mode.
4663 * custom.el (custom-theme-set-variables): Remove dead code.
4664 Obey custom--inhibit-theme-enable.
4665 (custom--inhibit-theme-enable): New var.
4666 (provide-theme): Obey it.
4667 (load-theme): Replace load with manual read/eval, in order to
4668 check for correctness. Use custom-theme-name-valid-p.
4669 (custom-theme-name-valid-p): New function.
4670 (custom-available-themes): Use it.
4672 * cus-edit.el (custom--initialize-widget-variables): New function.
4673 (Custom-mode): Use it.
4675 * cus-face.el (custom-theme-set-faces): Remove dead code.
4676 Obey custom--inhibit-theme-enable.
4678 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4680 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4682 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4684 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4686 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4687 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4688 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4690 * cus-start.el (all): ns-right-alternate-modifier is new.
4692 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4694 * emacs-lisp/lisp.el (lisp-completion-at-point):
4695 Use emacs-lisp-mode-syntax-table for the whole function.
4697 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4699 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4700 instead of font-lock-mode before adding keywords.
4701 Remove hi-lock-mode off code. Remove inhibit hack.
4702 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4703 non-nil; removed hook inhibit hack.
4705 2010-10-12 Glenn Morris <rgm@gnu.org>
4707 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4708 (load-path-shadows-find): ... to this.
4709 (list-load-path-shadows): Update for above change.
4711 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4713 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4715 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4716 Fix comment for declare-function.
4718 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4720 * custom.el (custom-fix-face-spec): New function; code moved from
4721 custom-face-edit-fix-value.
4722 (custom-push-theme): Use it when checking if a face has been
4723 changed outside customize.
4724 (custom-available-themes): New function.
4725 (load-theme): Use it.
4727 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4729 * custom.el (custom-push-theme): Cleanup (use cond).
4730 (disable-theme): Recompute the saved-face property.
4731 (custom-theme-recalc-face): Follow face alias before setting prop.
4733 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4734 New variables, containing checkbox images.
4736 * startup.el (fancy-startup-tail):
4737 * wid-edit.el (checkbox): Use them.
4739 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4741 * shell.el (shell-mode-map):
4742 * progmodes/modula2.el (m2-mode-map):
4743 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4744 * play/mpuz.el (mpuz-mode-map):
4745 * play/landmark.el (lm-mode-map):
4746 * play/decipher.el (decipher-mode-map):
4747 * play/5x5.el (5x5-mode-map):
4748 * net/telnet.el (telnet-mode-map):
4749 * net/quickurl.el (quickurl-list-mode-map):
4750 * net/mairix.el (mairix-searches-mode-map):
4751 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4752 * net/dig.el (dig-mode-map):
4753 * mail/mspools.el (mspools-mode-map):
4754 * hexl.el (hexl-mode-map):
4755 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4756 (wordstar-C-o-map, wordstar-C-q-map):
4757 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4758 * emacs-lisp/chart.el (chart-map):
4759 * edmacro.el (edmacro-mode-map):
4760 * erc/erc-list.el (erc-list-menu-mode-map):
4761 * array.el (array-mode-map): Declare and define in one step.
4763 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4765 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4767 * epa.el (epa-passphrase-callback-function): Display filename
4768 passed as the 3rd arg.
4769 * epa-file.el (epa-file-passphrase-callback-function):
4770 Pass filename to epa-passphrase-callback-function.
4772 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4774 * cus-edit.el (custom-face-widget-to-spec)
4775 (custom-face-get-current-spec, custom-face-state): New functions.
4776 (custom-face-set, custom-face-mark-to-save)
4777 (custom-face-value-create, custom-face-state-set): Use them.
4779 * cus-theme.el (custom-theme--listed-faces): New var.
4780 (customize-create-theme): Use *Custom Theme* as the buffer name.
4781 Set revert-buffer-function. Optional arg BUFFER. Insert all
4782 faces listed in custom-theme--listed-faces.
4783 (custom-theme-revert): New function.
4784 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4786 (custom-theme-write): Prompt for theme name if empty.
4787 (custom-theme-write-variables): Use dolist.
4788 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4790 2010-10-09 Alan Mackenzie <acm@muc.de>
4792 Enhance fontification of declarators to take account of the
4793 presence/absence of "typedef".
4795 * cc-engine.el (c-forward-type): New &optional param
4797 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4798 presence of either or both of a "struct"-like keyword and "typedef".
4800 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4801 fontification of declarators which follow a "}".
4802 (c-font-lock-declarations): Fontify declarators according to the
4803 presence/absence of "typedef".
4805 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4807 (c-typedef-decl-key): New lang variable built from
4808 c-typedef-decl-kwds.
4810 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4812 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4813 since that's too annoying. Move the filter groups commands to
4816 * epa.el (epa-passphrase-callback-function): Say what we're
4817 querying the password for.
4819 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4820 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4822 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4824 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4825 (custom-magic-value-create): Pad button tags with spaces.
4826 (custom-face-edit): New variable.
4827 (custom-face-value-create): Determine whether to use the usual
4828 face editor here, instead of using custom-face-selected.
4829 Pass face defaults to custom-face-edit widget.
4830 (custom-face-selected, custom-display-unselected): Delete widgets.
4831 (custom-display-unselected-match): Function removed.
4832 (custom-face-set, custom-face-mark-to-save):
4833 Accept custom-face-edit widgets as the direct widget child.
4835 * wid-edit.el (widget--completing-widget): New var.
4836 (widget-default-complete): Bind it when doing completion.
4837 (widget-string-complete, widget-file-complete): Use it.
4839 2010-10-09 Glenn Morris <rgm@gnu.org>
4841 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4842 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4843 (holiday-hebrew-misc): Small simplifications.
4845 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4847 * net/browse-url.el: Don't require thingatpt, term, dired,
4848 executable, or w3-auto when compiling.
4849 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4851 (browse-url-text-emacs): Require term.
4853 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4855 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4857 2010-10-08 Glenn Morris <rgm@gnu.org>
4859 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4861 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4862 (shadows-compare-text-p): Make it an obsolete alias for...
4863 (load-path-shadows-compare-text): ... new name.
4864 (find-emacs-lisp-shadows): Update for above name change.
4865 (load-path-shadows-same-file-or-nonexistent): New name for the old
4866 shadow-same-file-or-nonexistent.
4868 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4870 * minibuffer.el (completion--some, completion--do-completion)
4871 (minibuffer-complete-and-exit, minibuffer-completion-help)
4872 (completion-basic-try-completion)
4873 (completion-basic-all-completions)
4874 (completion-pcm--find-all-completions): Use lexical-let to
4875 avoid some false matches in variable completion (Bug#7056)
4877 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4879 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4881 2010-10-08 Leo <sdl.web@gmail.com>
4883 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4884 return non-nil if the file exists (Bug#7090).
4886 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4888 * minibuffer.el (completion--replace):
4889 Better preserve markers (bug#7138).
4891 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4893 * server.el (server-process-filter): Doc fix.
4895 2010-10-08 Drew Adams <drew.adams@oracle.com>
4897 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4899 2010-10-08 Glenn Morris <rgm@gnu.org>
4901 * vc/ediff-wind.el (ediff-setup-control-frame):
4902 * vc/ediff-ptch.el (ediff-default-backup-extension):
4903 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4904 (ediff-exec-process): Remove system-types emx, windows-95.
4906 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4908 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4910 * cus-edit.el (custom-variable, custom-face): Doc fix.
4911 (custom-face-edit): Add value-create attribute.
4912 (custom-face-edit-value-create)
4913 (custom-face-edit-value-visibility-action): New functions.
4914 Hide unused face attributes by default, and add a visibility toggle.
4915 (custom-face-edit-deactivate): Show empty values with shadow face.
4916 (custom-face-selected): Only use this for face specs with default
4918 (custom-face-value-create): Cleanup.
4920 * wid-edit.el (widget-checklist-value-create): Use dolist.
4921 (widget-checklist-match-find): Make second arg optional.
4923 2010-10-07 Glenn Morris <rgm@gnu.org>
4925 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4928 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4929 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4930 load-path-shadows-mode, update references.
4931 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4932 Rename variable and button.
4933 (list-load-path-shadows): Update button caller.
4935 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4937 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4938 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4939 (smie-merge-prec2s): Handle those new entries.
4940 (smie-prec2-levels): Only set precedence to nil for actual
4942 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4943 that is now unnecessary.
4945 2010-10-07 Miles Bader <miles@gnu.org>
4947 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4949 2010-10-07 Glenn Morris <rgm@gnu.org>
4951 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4952 (mail-position-on-field): Remove declarations.
4953 (mail-position-on-field): Autoload it.
4954 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4955 and mail-header-end. Don't require sendmail.
4957 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4958 (shadow-mode): New mode.
4959 (shadow-find-file): New button.
4960 (list-load-path-shadows): Use shadow-mode and buttons.
4962 * iimage.el (iimage-version): Remove.
4963 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4964 Turn into defcustoms.
4965 (iimage-mode-map): Give it a doc string.
4967 * calendar/appt.el (appt-activate): Give a warning rather than an error
4968 if there is no diary-file.
4970 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4972 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4973 Use `tramp-handle-find-backup-file-name'.
4975 2010-10-06 Glenn Morris <rgm@gnu.org>
4977 * font-core.el (font-lock-defaults-alist): Remove variable.
4978 (font-lock-mode): Doc fix.
4979 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4980 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4981 (font-lock-set-defaults): Doc fix.
4982 Do not consult font-lock-defaults-alist.
4984 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4986 * emacs-lisp/cl.el: No longer provide cl-19.
4988 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4990 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4991 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4992 New defuns, taken from tramp-smb.el.
4993 (tramp-coding-system-change-eol-conversion)
4994 (tramp-set-process-query-on-exit-flag): Remove.
4996 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4997 (tramp-compat-coding-system-change-eol-conversion)
4998 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5001 * net/tramp-gvfs.el:
5002 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5003 by `tramp-compat-set-process-query-on-exit-flag'.
5005 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5006 Use `tramp-handle-directory-files-and-attributes',
5007 `tramp-handle-file-exists-p' and
5008 `tramp-handle-file-newer-than-file-p'.
5009 (tramp-imap-handle-file-exists-p)
5010 (tramp-imap-handle-file-executable-p)
5011 (tramp-imap-handle-file-readable-p)
5012 (tramp-imap-handle-directory-files-and-attributes)
5013 (tramp-imap-handle-file-newer-than-file-p): Remove.
5015 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5016 by `tramp-compat-set-process-query-on-exit-flag' and
5017 `tramp-coding-system-change-eol-conversion' by
5018 `tramp-compat-coding-system-change-eol-conversion'.
5020 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5021 Use `tramp-handle-directory-files-and-attributes',
5022 `tramp-handle-file-exists-p' and
5023 `tramp-handle-file-newer-than-file-p'.
5024 (tramp-smb-handle-directory-files-and-attributes)
5025 (tramp-smb-handle-file-exists-p)
5026 (tramp-smb-handle-file-newer-than-file-p): Remove.
5027 (tramp-smb-maybe-open-connection):
5028 Replace `tramp-set-process-query-on-exit-flag' by
5029 `tramp-compat-set-process-query-on-exit-flag'.
5031 2010-10-05 Glenn Morris <rgm@gnu.org>
5033 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5035 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5037 Continue reorganization of load dependencies. (Bug#7156)
5039 * net/tramp.el (tramp-handle-file-local-copy-hook)
5040 (tramp-delete-temp-file-function): Move down.
5041 (tramp-exists-file-name-handler): Move up.
5042 (tramp-register-file-name-handlers): Simplify autoload.
5043 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5044 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5045 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5046 (tramp-handle-file-name-completion)
5047 (tramp-handle-file-name-directory)
5048 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5049 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5050 (tramp-handle-find-backup-file-name)
5051 (tramp-handle-insert-file-contents, tramp-handle-load)
5052 (tramp-handle-substitute-in-file-name)
5053 (tramp-handle-unhandled-file-name-directory)
5054 (tramp-mode-string-to-int, tramp-local-host-p)
5055 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5057 * net/tramp-gvfs.el (top):
5058 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5060 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5061 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5063 2010-10-04 Glenn Morris <rgm@gnu.org>
5065 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5066 (appt-activate): Give status messages.
5068 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5070 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5071 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5072 `gnutls-negotiate' (formerly `starttls-negotiate').
5073 Remove trivial wrapper `starttls-open-stream'.
5075 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5077 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5078 log-outgoing commands.
5079 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5080 to create a buffer local revert-buffer-function variable.
5081 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5082 revert-buffer-function lambda.
5084 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5086 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5087 `gnutls-boot'. Make TYPE the only required parameter.
5088 Allow TRUSTFILES and KEYFILES to be lists.
5089 (open-ssl-stream): Use it.
5091 2010-10-03 Glenn Morris <rgm@gnu.org>
5093 * subr.el (directory-sep-char): Remove obsolete variable.
5094 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5097 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5098 * vc/vc.el (vc-static-header-alist): Doc fix.
5099 * vc/vc-cvs.el (vc-cvs-header):
5100 * vc/vc-rcs.el (vc-rcs-header):
5101 * vc/vc-sccs.el (vc-sccs-header):
5102 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5103 * obsolete/vc-mcvs.el (vc-mcvs-header):
5104 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5107 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5109 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5110 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5112 2010-10-03 Glenn Morris <rgm@gnu.org>
5114 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5116 * textmodes/rst.el (rst-font-lock-keywords-function):
5119 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5121 * printing.el: Drop Emacs 20 code.
5123 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5124 without having used appt.el already).
5126 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5127 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5128 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5130 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5131 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5133 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5134 (charset-width, find-charset-region, chars-in-region, forward-point)
5135 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5136 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5137 Remove compatibility cruft (none of these are used by ps*.el).
5139 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5141 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5143 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5145 * server.el (server-process-filter, server-return-error):
5146 Give emacsclient time to shut down after receiving an error string.
5148 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5150 * files.el (remote-file-name-inhibit-cache): New defcustom.
5152 * time.el (display-time-file-nonempty-p):
5153 Use `remote-file-name-inhibit-cache'.
5155 * net/tramp.el (tramp-completion-reread-directory-timeout):
5158 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5159 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5160 `remote-file-name-inhibit-cache'. Check also for an integer
5161 value. Add/increase counter when `tramp-verbose' >= 10.
5162 (tramp-set-file-property): Add/increase counter when
5163 `tramp-verbose' >= 10.
5165 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5166 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5167 (tramp-bug): Set tramp-autoload cookie. Report all interned
5168 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5169 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5170 characters only in strings.
5172 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5173 to backward compatibility.
5175 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5176 (tramp-handle-file-name-all-completions)
5177 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5178 (tramp-open-connection-setup-interactive-shell):
5179 Call `tramp-cleanup-connection' directly.
5181 2010-10-02 Glenn Morris <rgm@gnu.org>
5183 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5185 * subr.el (char-bytes): Remove obsolete function.
5187 * isearch.el (isearch-return-char): Remove obsolete function.
5189 * mouse.el: No longer provide mldrag.
5190 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5191 Remove obsolete aliases.
5193 * comint.el (comint-kill-output): Remove obsolete alias.
5195 * composite.el (decompose-composite-char): Remove obsolete function.
5196 * ps-def.el (decompose-composite-char): Remove unused function.
5198 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5200 * outline.el (outline-visible): Remove obsolete function.
5202 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5203 * faces.el (internal-find-face, internal-get-face)
5204 (frame-update-faces, frame-update-face-colors)
5205 (x-frob-font-weight, x-frob-font-slant)
5206 (internal-frob-font-weight, internal-frob-font-slant)
5207 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5208 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5209 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5211 * emulation/viper-util.el (viper-get-face):
5212 * obsolete/lucid.el (find-face, get-face): Use facep.
5213 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5214 Remove unused functions.
5215 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5217 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5218 delete tempfile if interrupted during compilation.
5220 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5222 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5224 (tls-program): Add --insecure to be consistent with the defaults from
5225 openssl s_client. Now all three commands are insecure.
5227 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5229 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5230 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5231 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5233 2010-10-01 Glenn Morris <rgm@gnu.org>
5235 * obsolete/sc.el: Remove file.
5237 * files.el (temporary-file-directory): On darwin, also try
5238 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5240 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5242 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5243 Let's not break compatibility gratuitously, shall we?
5245 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5247 * net/tls.el (tls-starttls-switches): New variable.
5248 (tls-find-starttls-argument): Use it.
5249 (open-tls-stream): Ditto.
5251 * net/netrc.el (netrc-credentials): Return the value of the "default"
5253 (netrc-machine): Ditto.
5255 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5257 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5259 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5261 * server.el (server-start): Don't write pid to the authentication file.
5262 (server-create-tty-frame): Don't send pid.
5263 (server-process-filter): Send pid at the start of every connection.
5265 2010-09-30 Glenn Morris <rgm@gnu.org>
5267 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5268 (show-all-diary-entries): Remove obsolete function aliases.
5270 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5271 Remove options, obsolete since 22.1.
5272 (appt-display-format, appt-display-message):
5273 Remove backwards-compatibility code.
5274 (appt-check): No longer check appt-issue-message.
5275 (appt-make-list): No longer autoload it. Doc fix. No longer
5276 activate the package.
5278 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5280 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5281 (starttls-negotiate): Just call boot, and let the handshake be
5282 triggered from the read loop.
5284 2010-09-29 Glenn Morris <rgm@gnu.org>
5286 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5287 not displaying the diary.
5288 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5289 * calendar/appt.el (appt-check): No longer need to kill diary.
5291 * calendar/diary-lib.el (diary-list-entries): Move the
5292 "Preparing..." message entirely here.
5293 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5294 messages to diary-list-entries.
5295 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5296 diary-display-function.
5298 * calendar/diary-lib.el (diary-include-other-diary-files):
5299 Trap some recursive includes.
5301 * calendar/appt.el (appt-activate): Check diary file.
5303 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5305 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5308 * calendar/time-date.el: No need to require cl for Emacs 21.
5310 2010-09-28 Glenn Morris <rgm@gnu.org>
5312 * calendar/appt.el (appt-check): Minor simplification.
5314 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5316 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5319 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5321 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5322 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5324 2010-09-27 Kenichi Handa <handa@m17n.org>
5326 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5329 2010-09-27 Kenichi Handa <handa@m17n.org>
5331 * international/mule.el (define-coding-system): Docstring fixed.
5333 * international/mule-diag.el (describe-character-set): Use princ
5334 with proper print-length and print-level instead of insert.
5336 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5338 * window.el (walk-windows): Doc fix (bug#7105).
5340 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5342 * emacs-lisp/float-sup.el (e): Remove.
5344 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5346 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5348 (starttls-negotiate): Use it.
5350 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5352 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5355 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5357 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5359 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5361 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5363 * net/netrc.el (netrc-store-data): New function.
5365 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5367 * net/gnutls.el: GnuTLS glue code to set up a connection.
5369 2010-09-25 Julien Danjou <julien@danjou.info>
5371 * notifications.el: Call dbus-register-signal only if it is bound.
5373 2010-09-25 Glenn Morris <rgm@gnu.org>
5375 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5376 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5377 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5378 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5379 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5380 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5381 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5382 * eshell/esh-util.el, eshell/esh-var.el:
5383 Remove leading `*' from docs of faces and defcustoms.
5385 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5387 * eshell/em-ls.el (eshell-ls-archive-regexp):
5388 * eshell/esh-util.el (eshell-tar-regexp):
5389 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5390 * info.el (Info-suffix-list):
5391 * international/mule.el (auto-coding-alist):
5392 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5393 * progmodes/etags.el (tags-compression-info-list):
5394 Support xz compression.
5396 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5398 * files.el (get-free-disk-space): Don't assume the "df" output
5399 columns line up (Bug#6995).
5401 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5403 * finder.el (finder-unknown-keywords):
5404 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5405 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5407 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5409 * server.el (server-start): Revert part of 2010-08-08 change. Using
5410 address 127.0.0.1 for local host is now done in Fmake_network_process.
5412 2010-09-24 Glenn Morris <rgm@gnu.org>
5414 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5415 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5416 * textmodes/css-mode.el, textmodes/dns-mode.el:
5417 Move autoloaded auto-mode-alist entries to files.el.
5418 * files.el (auto-mode-alist): Move entries here.
5420 2010-09-23 Glenn Morris <rgm@gnu.org>
5422 * isearch.el (isearch-lazy-highlight-cleanup)
5423 (isearch-lazy-highlight-initial-delay)
5424 (isearch-lazy-highlight-interval)
5425 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5426 * net/net-utils.el (ipconfig-program-options):
5427 Move aliases to options before the associated definitions.
5429 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5431 * newcomment.el (comment-normalize-vars): Better test validity of
5434 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5436 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5437 (float-e): New name for `e'.
5438 (degrees-to-radians, radians-to-degrees):
5439 * calendar/solar.el (solar-longitude):
5440 * calculator.el (calculator-registers, calculator-funcall):
5441 * textmodes/artist.el (artist-spray-random-points):
5442 * play/bubbles.el (bubbles--initialize-images): Use new names.
5444 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5446 Update to CEDET 1.0's version of EIEIO.
5448 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5450 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5451 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5452 (class-precedence-list): If class is nil, return nil.
5453 (eieio-generic-call): If class of first input arg is nil, don't
5454 look up static methods, and do check for primary methods.
5455 (initialize-instance): See if the default needs to be evaluated
5456 during the constructor.
5457 (eieio-perform-slot-validation-for-default): Don't do the check
5458 for values that will eventually be evaluated.
5459 (eieio-eval-default-p): New function.
5460 (eieio-default-eval-maybe): Use it.
5462 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5464 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5465 method-invocation-order.
5466 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5467 (eieio-class-precedence-dfs): Compute class precedence list using
5469 (eieio-class-precedence-bfs): Compute class precedence list using
5471 (eieio-class-precedence-c3): Compute class precedence list using
5473 (class-precedence-list): New function.
5474 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5475 (inconsistent-class-hierarchy): New error symbol.
5476 (call-next-method): Stow the replacement argument list for future
5477 call-next-method invocations.
5479 2010-09-23 Glenn Morris <rgm@gnu.org>
5481 * calendar/appt.el (appt-check): If not displaying the diary,
5482 use (diary 1) to only get the entries we need.
5483 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5484 that it is in day order. (Bug#7019)
5486 * calendar/appt.el (appt-check): Rather than showing the diary,
5487 just turn off invisible display, and only if needed.
5489 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5491 2010-09-23 Glenn Morris <rgm@gnu.org>
5493 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5494 (byte-compile-defvar, byte-compile-cl-warn):
5495 Start warnings with lower-case, like the majority.
5497 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5499 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5501 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5502 * files.el (auto-mode-alist): Move ld-script entries here, further down
5505 * vc/add-log.el: Don't require timezone when compiling.
5506 (timezone-make-date-sortable): Autoload it.
5507 (change-log-sortable-date-at): Don't require timezone.
5508 Use `ignore-errors'.
5510 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5511 Move alias before definition, so it does not need autoloading.
5513 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5514 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5515 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5516 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5517 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5518 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5519 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5520 * textmodes/tex-mode.el, textmodes/two-column.el:
5521 Remove leading `*' from docs of defcustoms etc.
5523 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5525 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5527 2010-09-22 Dan Christensen <jdc@uwo.ca>
5529 * calendar/time-date.el (date-to-time): Try using parse-time-string
5530 first before using the slower timezone-make-date-arpa-standard.
5532 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5534 * calendar/time-date.el (format-seconds): Comment fix.
5536 2010-09-22 Glenn Morris <rgm@gnu.org>
5538 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5539 is not automatically buffer-local.
5541 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5543 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5544 (smie-indent-comment): Be more careful with comment-start-skip.
5545 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5546 (smie-indent-functions): Use them.
5548 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5550 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5552 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5554 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5555 tool-bar-position. Don't modify frame parameters here.
5556 (menu-bar-options-save): Add tool-bar-position.
5558 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5560 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5562 * textmodes/reftex-parse.el (reftex-what-macro)
5563 (reftex-context-substring): Let-bind forward-sexp-function to nil
5564 since we don't need/want to treat \begin...\end as a block (bug#7053).
5566 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5568 * simple.el (blink-matching-open): Use syntax-class.
5570 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5571 Set invisibility spec for pascal's outline mode.
5572 (pascal-outline-change): Clean up calling convention.
5573 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5575 * progmodes/prolog.el (prolog-smie-forward-token)
5576 (prolog-smie-backward-token): New functions.
5577 (prolog-mode-variables): Use them to parse "!," correctly.
5578 Set up smie-blink-matching for ".".
5580 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5582 (ispell-region, ispell-process-line): Update users.
5584 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5587 * textmodes/ispell.el: Fix commenting convention.
5588 (ispell-parse-output): Simplify, use push.
5589 (ispell-region): Use match-string-no-properties.
5590 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5591 (ispell-minor-mode): Use define-minor-mode.
5592 (ispell-message): Remove unused var `skip-regexp'.
5593 (ispell-add-per-file-word-list): Use dynamic let-binding.
5594 Try and use the proper comment marker.
5596 * mail/sendmail.el: Fix commenting convention.
5597 (sendmail-send-it): Use line-beginning-position.
5599 * help-fns.el (describe-variable): Add original value, if applicable.
5601 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5603 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5605 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5607 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5609 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5610 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5611 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5612 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5613 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5614 something like "." can also be a closer.
5615 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5616 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5617 Rename internal functions to use "--". Update callers.
5619 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5621 * fringe.el (fringe-styles): New var.
5622 (fringe-mode, fringe-query-style): Use it.
5624 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5626 * progmodes/sql.el: Version 2.8
5627 (sql-login-params): Update widget structure; changes still needed.
5628 (sql-product-alist): Add :list-all and :list-table features for
5629 SQLite, Postgres and MySQL products.
5630 (sql-redirect): Handle default value.
5631 (sql-execute, sql-execute-feature): New functions.
5632 (sql-read-table-name): New function.
5633 (sql-list-all, sql-list-table): New functions. User API.
5634 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5635 for above functions.
5636 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5637 for above functions.
5638 (sql-postgres-login-params): Add user and database defaults.
5639 (sql-buffer-live-p): Bug fix.
5640 (sql-product-history): New variable.
5641 (sql-read-product): New function. Use it.
5642 (sql-set-product, sql-product-interactive): Use it.
5643 (sql-connection-history): New variable.
5644 (sql-read-connection): New function. Use it.
5645 (sql-connect): New function.
5646 (sql-for-each-login): Redesign function interface.
5647 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5648 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5649 (sql-comint): Check for program. Existing live buffer.
5650 (sql-comint-postgres): Add port parameter.
5652 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5654 * emacs-lisp/warnings.el: Fix commenting convention.
5655 (display-warning): Use special mode and make the buffer read-only.
5657 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5659 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5660 empty string when it follows a repeated or optional pattern.
5662 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5664 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5665 (indent-region): Use indent-according-to-mode.
5667 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5669 * fringe.el (fringe-mode): Doc fix.
5671 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5673 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5674 refreshing the preview buffer.
5676 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5678 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5679 (latex-syntax-propertize-rules): New consts; replace
5680 tex-font-lock-syntactic-keywords.
5681 (tex-env-mark, latex-env-before-change): New functions.
5682 (latex-electric-env-pair-mode): New minor mode.
5683 (tex-font-lock-verb): Change arguments; do move point.
5684 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5685 representation as a form of comment.
5686 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5687 (doctex-syntax-propertize-rules): New const; replaces
5688 doctex-font-lock-syntactic-keywords.
5689 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5691 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5692 (fortran-make-syntax-propertize-function): New function; replaces
5693 fortran-font-lock-syntactic-keywords.
5694 (fortran-mode): Use it.
5695 (fortran-line-length): Use it. Improve interactive spec.
5697 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5698 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5699 when adding surrounding \(..\).
5701 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5703 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5705 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5706 Use with-current-buffer.
5708 * isearch.el (isearch-face): Rename from `isearch'.
5709 (isearch-highlight): Use new name.
5711 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5713 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5714 5, for `half' width fringes. (Bug#6933)
5716 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5718 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5719 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5721 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5723 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5725 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5726 in calculating new frame position. Add more space between new and
5727 parent on the left (Bug#7048).
5729 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5731 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5734 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5736 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5738 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5739 obsolete alias for x-selection-value.
5741 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5743 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5745 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5748 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5750 * net/tramp-compat.el (tramp-compat-with-temp-message)
5751 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5752 (tramp-compat-process-put): New defuns.
5754 * net/tramp.el (top):
5755 * net/tramp-gvfs.el (top):
5756 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5758 * net/tramp.el (tramp-progress-reporter-update):
5759 Use `tramp-compat-funcall'.
5761 * net/tramp.el (tramp-process-actions):
5762 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5763 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5764 (tramp-get-remote-stat, tramp-get-remote-readlink):
5765 Use `tramp-compat-with-temp-message'.
5767 * net/tramp-sh.el (top): Require 'cl.
5768 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5769 (tramp-open-connection-setup-interactive-shell):
5770 Use `tramp-compat-process-put'.
5772 2010-09-15 Alan Mackenzie <acm@muc.de>
5774 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5776 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5778 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5780 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5781 `lexical' for warnings related to lexical scoping.
5782 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5783 global vars which don't have a prefix and could hence affect lexical
5784 scoping in unrelated files.
5786 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5788 * net/imap.el: Revert back to version
5789 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5792 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5794 * obsolete/old-whitespace.el (whitespace-unload-function):
5795 Explicitly pass `obarray' to `unintern' to avoid a warning.
5797 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5799 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5800 Add `when' argument. Update callers.
5802 * subr.el (unintern): Declare the obarray arg mandatory.
5804 2010-09-14 Glenn Morris <rgm@gnu.org>
5806 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5809 * calendar/diary-lib.el (diary-included-files): New variable.
5810 (diary-list-entries): Maybe initialize diary-included-files.
5811 (diary-include-other-diary-files): Append to diary-included-files.
5812 * calendar/appt.el (appt-update-list): Also check the members of
5813 diary-included-files. (Bug#6999)
5814 (appt-check): Doc fix.
5816 2010-09-14 David Reitter <david.reitter@gmail.com>
5818 * simple.el (line-move-visual): Do not truncate goal column to
5819 integer size. (Bug#7020)
5821 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5823 * repeat.el (repeat): Allow repeating when the last event is a click.
5824 Suggested by Drew Adams (bug#6256).
5826 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5828 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5829 Replace setting HGRCPATH to "" by some less invasive --config options.
5831 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5833 * font-lock.el (font-lock-beginning-of-syntax-function):
5836 2010-09-14 Glenn Morris <rgm@gnu.org>
5838 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5839 and tool-bar modes. (Bug#6211)
5840 (menu-bar-mode): Move setting of standard-value after the
5841 minor-mode definition, otherwise it seems to have no effect.
5843 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5845 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5846 Fix typo. (Bug#6976)
5848 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5850 * whitespace.el: Allow cleaning up blanks without blank
5851 visualization (Bug#6651). Adjust help window for
5852 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5853 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5854 (whitespace-style): Add new value 'face. Adjust docstring.
5855 (whitespace-space, whitespace-hspace, whitespace-tab):
5856 Adjust foreground property face.
5857 (whitespace-line-column): Adjust docstring and type declaration.
5858 (whitespace-style-value-list, whitespace-toggle-option-alist)
5859 (whitespace-help-text): Adjust const initialization.
5860 (whitespace-toggle-options, global-whitespace-toggle-options):
5862 (whitespace-display-window, whitespace-interactive-char)
5863 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5864 (whitespace-help-scroll): New fun.
5866 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5868 * calendar/time-date.el (format-seconds): Comment fix.
5870 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5872 * progmodes/sql.el: Version 2.7.
5873 (sql-buffer-live-p): Improve detection.
5874 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5875 (sql-set-sqli-buffer): Use it.
5876 (sql-product-interactive): Run `sql-set-sqli-hook'.
5877 (sql-rename-buffer): Code cleanup.
5878 (sql-redirect, sql-redirect-value): New functions. More to come.
5880 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5882 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.
5883 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5884 (TRAMP_SRC): New macro.
5885 ($(lisp)/net/tramp-loaddefs.el): New target.
5887 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5889 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5891 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5893 * net/tramp.el (top): Don't show loading message. Require just
5894 'tramp-compat, everything else is required there.
5895 Use `ignore-errors' where appropriate.
5896 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5897 (tramp-terminal-type, tramp-end-of-output)
5898 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5899 (tramp-completion-function-alist-ssh)
5900 (tramp-completion-function-alist-telnet)
5901 (tramp-completion-function-alist-su)
5902 (tramp-completion-function-alist-putty, tramp-remote-path)
5903 (tramp-remote-process-environment, tramp-sh-extra-args)
5904 (tramp-actions-before-shell, tramp-uudecode)
5905 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5906 (tramp-perl-file-attributes)
5907 (tramp-perl-directory-files-and-attributes)
5908 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5909 (tramp-perl-encode, tramp-perl-decode)
5910 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5911 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5912 (tramp-handle-make-symbolic-link, tramp-handle-load)
5913 (tramp-handle-file-name-as-directory)
5914 (tramp-handle-file-name-directory)
5915 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5916 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5917 (tramp-do-file-attributes-with-ls)
5918 (tramp-do-file-attributes-with-perl)
5919 (tramp-do-file-attributes-with-stat)
5920 (tramp-handle-set-visited-file-modtime)
5921 (tramp-handle-verify-visited-file-modtime)
5922 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5923 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5924 (tramp-handle-file-selinux-context)
5925 (tramp-handle-set-file-selinux-context)
5926 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5927 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5928 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5929 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5930 (tramp-handle-file-ownership-preserved-p)
5931 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5932 (tramp-handle-directory-files-and-attributes)
5933 (tramp-do-directory-files-and-attributes-with-perl)
5934 (tramp-do-directory-files-and-attributes-with-stat)
5935 (tramp-handle-file-name-all-completions)
5936 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5937 (tramp-handle-copy-file, tramp-handle-copy-directory)
5938 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5939 (tramp-do-copy-or-rename-file-via-buffer)
5940 (tramp-do-copy-or-rename-file-directly)
5941 (tramp-do-copy-or-rename-file-out-of-band)
5942 (tramp-handle-make-directory, tramp-handle-delete-directory)
5943 (tramp-handle-delete-file)
5944 (tramp-handle-dired-recursive-delete-directory)
5945 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5946 (tramp-handle-insert-directory)
5947 (tramp-handle-unhandled-file-name-directory)
5948 (tramp-handle-expand-file-name)
5949 (tramp-handle-substitute-in-file-name)
5950 (tramp-handle-executable-find, tramp-process-sentinel)
5951 (tramp-handle-start-file-process, tramp-handle-process-file)
5952 (tramp-handle-call-process-region, tramp-handle-shell-command)
5953 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5954 (tramp-handle-insert-file-contents)
5955 (tramp-handle-insert-file-contents-literally)
5956 (tramp-handle-find-backup-file-name)
5957 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5958 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5959 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5960 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5961 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5962 (tramp-find-file-exists-command, tramp-open-shell)
5963 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5964 (tramp-open-connection-setup-interactive-shell)
5965 (tramp-local-coding-commands, tramp-remote-coding-commands)
5966 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5967 (tramp-inline-compress-commands, tramp-find-inline-compress)
5968 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5969 (tramp-send-command, tramp-wait-for-output)
5970 (tramp-send-command-and-check, tramp-barf-unless-okay)
5971 (tramp-send-command-and-read, tramp-mode-string-to-int)
5972 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5973 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5974 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5975 (tramp-method-out-of-band-p, tramp-local-host-p)
5976 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5977 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5978 (tramp-get-test-command, tramp-get-test-nt-command)
5979 (tramp-get-file-exists-command, tramp-get-remote-ln)
5980 (tramp-get-remote-perl, tramp-get-remote-stat)
5981 (tramp-get-remote-readlink, tramp-get-remote-trash)
5982 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5983 (tramp-get-local-uid, tramp-get-local-gid)
5984 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5986 (tramp-methods, tramp-default-method-alist)
5987 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5988 Move initialization to tramp-sh.el.
5989 (tramp-temp-name-prefix): Make it a defconst.
5990 (tramp-dissect-file-name): Don't check anymore for multi-hop
5992 (tramp-debug-outline-regexp): Add a docstring.
5993 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5994 (tramp-get-debug-buffer): Use it.
5996 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5997 initialization forms.
5998 (tramp-set-connection-property): Don't protect `tramp-message'
5999 call, it isn't necessary any longer.
6000 (tramp-dump-connection-properties): Use `ignore-errors'.
6002 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6003 'password-cache and 'auth-source.
6005 * net/tramp-gvfs.el (top):
6006 * net/tramp-smb.el (top): Require 'tramp-sh.
6008 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6010 * net/tramp-sh.el: New file, derived from tramp.el.
6011 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6012 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6013 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6014 Use `ignore-errors' where appropriate.
6015 (tramp-sh-file-name-handler-alist): Rename from
6016 `tramp-file-name-handler-alist'.
6017 (tramp-send-command-and-check): Return t or nil. Remove all
6018 `zerop' checks, where called.
6019 (tramp-handle-set-file-modes)
6020 (tramp-do-copy-or-rename-file-directly)
6021 (tramp-handle-delete-directory, tramp-handle-delete-file)
6022 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6023 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6024 (tramp-get-remote-ln): Set tramp-autoload cookie.
6026 * net/tramp-fish.el: Remove file.
6028 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6030 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6031 buffer-file-name to avoid file-locking. (Bug#7026)
6033 2010-09-13 Julien Danjou <julien@danjou.info>
6035 * notifications.el (notifications-notify): Add support for
6036 image-path and sound-name.
6037 (notifications-specification-version): Add this variable.
6039 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6041 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6043 2010-09-12 Leo <sdl.web@gmail.com>
6045 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6046 (rcirc-completion-start): New variables.
6047 (rcirc-nick-completions): Rename to rcirc-completions.
6048 (rcirc-nick-completion-start-offset): Delete.
6049 (rcirc-completion-at-point): New function for constructing
6050 completion data for both nicks and irc commands. Add to
6051 completion-at-point-functions in rcirc mode.
6052 (rcirc-complete): Rename from rcirc-nick-complete; use
6053 rcirc-completion-at-point.
6054 (defun-rcirc-command): Update rcirc-client-commands.
6056 2010-09-11 Glenn Morris <rgm@gnu.org>
6058 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6059 atomically, to avoid parallel build errors. (Bug#4196)
6061 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6063 * progmodes/sql.el: Version 2.6
6064 (sql-dialect): Synonym for "sql-product".
6065 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6066 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6067 Set "sql-buffer" to buffer name not buffer object so multiple sql
6068 interactive buffers work properly. Reverts misguided changes in
6070 (sql-comint): Make sure different buffer name is used if "*SQL*"
6071 buffer is for a different product.
6072 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6074 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6075 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6076 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6077 Accept new buffer name or prompt for one.
6078 (sql-port): Default to zero.
6079 (sql-comint-mysql): Handle "sql-port" as a numeric.
6080 (sql-port-history): Delete unused variable.
6081 (sql-get-login): Default "sql-port" to a number.
6082 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6083 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6084 "sqlite3" executables.
6085 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6086 (sql-buffer-live-p): New function.
6087 (sql-mode-menu, sql-send-string): Use it.
6088 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6090 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6091 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6093 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6095 * net/netrc.el (netrc-credentials): New convenience function.
6097 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6099 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6100 to replace texinfo-font-lock-syntactic-keywords.
6101 (texinfo-mode): Use it.
6103 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6104 Use syntax-propertize-function.
6106 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6107 replace sgml-font-lock-syntactic-keywords.
6108 (sgml-mode): Use it.
6110 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6111 since we don't use it.
6113 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6115 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6117 (vhdl-fontify-buffer): Adjust.
6119 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6120 replace tcl-font-lock-syntactic-keywords.
6123 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6124 replace simula-font-lock-syntactic-keywords.
6125 (simula-mode): Use it.
6127 * progmodes/sh-script.el (sh-st-symbol): Remove.
6128 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6129 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6130 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6131 (sh-font-lock-paren): Set syntax-multiline.
6132 (sh-font-lock-syntactic-keywords): Remove.
6133 (sh-syntax-propertize-function): New function to replace it.
6136 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6137 Define while compiling.
6138 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6139 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6140 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6141 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6142 (ruby-here-doc-end-syntax): Only define when
6143 syntax-propertize is not available.
6144 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6146 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6147 (electric-indent-chars): Silence bytecompiler.
6148 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6149 electric-indent-chars.
6151 * progmodes/python.el (python-syntax-propertize-function): New var to
6152 replace python-font-lock-syntactic-keywords.
6153 (python-mode): Use it.
6154 (python-quote-syntax): Simplify and adjust to new use.
6156 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6157 replace perl-font-lock-syntactic-keywords.
6158 (perl-syntax-propertize-special-constructs): New fun to replace
6159 perl-font-lock-special-syntactic-constructs.
6160 (perl-font-lock-syntactic-face-function): New fun.
6161 (perl-mode): Use it.
6163 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6164 to replace octave-font-lock-close-quotes.
6165 (octave-syntax-propertize-function): New function to replace
6166 octave-font-lock-syntactic-keywords.
6167 (octave-mode): Use it.
6169 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6170 replaces mixal-font-lock-syntactic-keywords.
6171 (mixal-mode): Use it.
6173 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6174 New var; replaces makefile-font-lock-syntactic-keywords.
6175 (makefile-mode): Use it.
6176 (makefile-imake-mode): Adjust.
6178 * progmodes/js.el (js--regexp-literal): Define while compiling.
6179 (js-syntax-propertize-function): New var; replaces
6180 js-font-lock-syntactic-keywords.
6183 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6184 replaces gdb-script-font-lock-syntactic-keywords.
6185 (gdb-script-mode): Use it.
6187 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6188 (fortran--font-lock-syntactic-keywords): New var.
6189 (fortran-line-length): Update syntax-propertize-function and
6190 fortran--font-lock-syntactic-keywords.
6192 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6194 * progmodes/cfengine.el (cfengine-mode):
6195 Use syntax-propertize-function.
6196 (cfengine-font-lock-syntactic-keywords): Remove.
6198 * progmodes/autoconf.el (autoconf-mode):
6199 Use syntax-propertize-function.
6200 (autoconf-font-lock-syntactic-keywords): Remove.
6202 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6203 (ada-after-change-function, ada-initialize-syntax-table-properties)
6204 (ada-handle-syntax-table-properties): Only define when
6205 syntax-propertize is not available.
6206 (ada-mode): Use syntax-propertize-function.
6208 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6209 (font-lock-fontify-syntactic-keywords-region): Move handling of
6210 font-lock-syntactically-fontified to...
6211 (font-lock-default-fontify-region): ...here.
6212 Let syntax-propertize-function take precedence.
6213 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6215 * emacs-lisp/syntax.el (syntax-propertize-function)
6216 (syntax-propertize-chunk-size, syntax-propertize--done)
6217 (syntax-propertize-extend-region-functions): New vars.
6218 (syntax-propertize-wholelines, syntax-propertize-multiline)
6219 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6220 (syntax-propertize): New functions.
6221 (syntax-propertize-rules): New macro.
6222 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6223 (syntax-ppss): Call syntax-propertize.
6225 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6227 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6229 * textmodes/ispell.el (ispell-init-process): Improve comments.
6230 XEmacs compatibility changes regarding (add-hook) 'local option
6231 and (set-process-query-on-exit-flag).
6233 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6235 * net/tramp-cache.el (tramp-parse-connection-properties):
6236 Set tramp-autoload cookie.
6238 2010-09-09 Glenn Morris <rgm@gnu.org>
6240 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6241 (imagemagick-register-types): Doc fix.
6243 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6245 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6247 * progmodes/js.el (require): Require is already "eval-and-compile".
6248 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6249 (js--re-search-backward): Use js--re-search-forward.
6251 * progmodes/fortran.el (fortran-line-length): Don't recompute
6252 syntactic keywords redundantly a second time.
6254 * progmodes/ada-mode.el: Replace "(set '" with setq.
6255 (ada-mode): Simplify.
6256 (ada-create-case-exception, ada-adjust-case-interactive)
6257 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6258 (ada-search-ignore-string-comment, ada-move-to-start)
6259 (ada-move-to-end): Use with-syntax-table.
6261 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6262 (font-lock-unfontify-region, font-lock-default-fontify-region):
6263 Update usage correspondingly.
6264 (font-lock-fontify-syntactic-keywords-region):
6265 Set parse-sexp-lookup-properties buffer-locally here.
6266 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6268 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6270 2010-09-08 Glenn Morris <rgm@gnu.org>
6272 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6273 Error if not compiled with -DBYTE_CODE_METER.
6275 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6276 Ignore dir-locals-file.
6278 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6282 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6283 for the `gnu' messages.
6284 (compilation-set-skip-threshold): New command.
6285 (compilation-start): Use \' rather than $.
6286 (compilation-forget-errors): Use clrhash.
6288 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6290 * textmodes/ispell.el (ispell-valid-dictionary-list):
6293 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6295 Migrate to Tramp 2.2. Rearrange load dependencies.
6296 (Bug#1529, Bug#5448, Bug#5705)
6298 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6299 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6300 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6302 * net/tramp.el (top): Remove all other tramp-* loads except
6303 tramp-compat.el. Remove all changes to tramp-unload-hook for
6304 other tramp-* packages. Rearrange defun order. Change calls of
6305 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6306 `tramp-compat-octal-to-decimal' to new function names.
6307 (tramp-terminal-type, tramp-initial-end-of-output)
6308 (tramp-methods, tramp-foreign-file-name-handler-alist)
6309 (tramp-tramp-file-p, tramp-completion-mode-p)
6310 (tramp-send-command-and-check, tramp-get-remote-path)
6311 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6312 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6313 (with-file-property, with-connection-property): Move to
6315 (tramp-local-call-process, tramp-decimal-to-octal)
6316 (tramp-octal-to-decimal): Move to tramp-compat.el.
6317 (tramp-handle-shell-command): Do not require 'shell.
6318 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6320 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6322 * net/tramp-cache.el (top): Require 'tramp. Add to
6323 `tramp-unload-hook'.
6324 (tramp-cache-data, tramp-get-file-property)
6325 (tramp-set-file-property, tramp-flush-file-property)
6326 (tramp-flush-directory-property, tramp-get-connection-property)
6327 (tramp-set-connection-property, tramp-flush-connection-property)
6328 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6330 (with-file-property, with-connection-property): New defuns, moved
6332 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6335 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6336 (tramp-version): Set tramp-autoload cookie.
6338 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6339 changes to tramp-unload-hook for other tramp-* packages. Add to
6340 `tramp-unload-hook'.
6341 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6342 (tramp-compat-call-process): New defuns, moved from tramp.el.
6344 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6345 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6346 Add to `tramp-unload-hook'. Change call of
6347 `tramp-compat-decimal-to-octal' to new function name.
6348 (tramp-fish-method): Make it a defconst.
6349 (tramp-fish-file-name-p): Make it a defsubst.
6350 (tramp-fish-method, tramp-fish-file-name-handler)
6351 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6353 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6354 `tramp-foreign-file-name-handler-alist'. Add to
6355 `tramp-unload-hook'.
6356 (tramp-ftp-method): Make it a defconst.
6357 (tramp-ftp-file-name-p): Make it a defsubst.
6358 (tramp-ftp-method, tramp-ftp-file-name-handler)
6359 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6361 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6362 `tramp-foreign-file-name-handler-alist'. Add to
6363 `tramp-unload-hook'. Change checks, whether package can be
6365 (tramp-gvfs-file-name-p): Make it a defsubst.
6366 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6367 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6368 (tramp-gvfs-handle-file-directory-p): New defun.
6369 (tramp-gvfs-file-name-handler-alist): Use it.
6371 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6372 `tramp-foreign-file-name-handler-alist'. Add to
6373 `tramp-unload-hook'.
6374 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6375 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6377 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6378 (tramp-gw-open-connection): Set tramp-autoload cookie.
6380 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6381 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6382 Add to `tramp-unload-hook'. Change checks, whether package can be
6384 (tramp-imap-file-name-p): Make it a defsubst.
6385 (tramp-imap-method, tramp-imaps-method)
6386 (tramp-imap-file-name-handler)
6387 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6389 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6390 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6391 Add to `tramp-unload-hook'. Change checks, whether package can be
6392 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6394 (tramp-smb-tunnel-method): Make it a defconst.
6395 (tramp-smb-file-name-p): Make it a defsubst.
6396 (tramp-smb-method, tramp-smb-file-name-handler)
6397 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6399 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6400 (tramp-uuencode-region): Set tramp-autoload cookie.
6402 * net/trampver.el (top) Add to `tramp-unload-hook'.
6403 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6404 cookie. Update release number.
6406 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6408 * textmodes/ispell.el (ispell-start-process): Make sure original
6409 arg list is properly initialized (Bug#6993, Bug#6994).
6411 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6413 * files.el (directory-abbrev-alist): Use \` as default regexp.
6415 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6416 chars like - or ] (bug#6984).
6417 (rx-any-condense-range): Explode 2-char ranges.
6419 2010-09-06 Glenn Morris <rgm@gnu.org>
6421 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6423 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6425 * textmodes/bibtex.el:
6426 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6428 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6430 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6431 since no callers use it.
6432 (imap-message-get): Ditto.
6433 (imap-message-put): Ditto.
6434 (imap-mailbox-map): Ditto.
6435 (imap-mailbox-put): Ditto.
6436 (imap-mailbox-get): Ditto.
6437 (imap-mailbox-get): Revert last change for this function.
6439 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6441 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6442 callers to use `imap-fetch' instead. According to the comments, this
6443 should be safe, since all other IMAP clients use the 1:* syntax.
6444 (imap-enable-exchange-bug-workaround): Remove.
6445 (imap-debug): Remove -- doesn't seem very useful.
6447 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6449 * net/imap.el (imap-log): New convenience function used throughout
6450 instead of repeating the same code all over the place.
6452 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6454 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6455 when mouse-drag-copy-region is non-nil (Bug#6956).
6457 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6459 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6460 Improve regexps (Bug#6987).
6461 (dired-sort-toggle): Search more robustly for -t flag.
6463 * files.el (get-free-disk-space): Search more robustly for
6464 "available" column. Suggested by Ehud Karni
6465 <ehud@unix.mvs.co.il>.
6467 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6469 * international/uni-bidi.el:
6470 * international/uni-category.el:
6471 * international/uni-combining.el:
6472 * international/uni-decimal.el:
6473 * international/uni-mirrored.el:
6474 * international/uni-name.el: Regenerate.
6476 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6478 * electric.el (electric-indent-post-self-insert-function):
6479 Don't reindent with a sloppy indentation function.
6481 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6482 border case in change-log-mode.
6484 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6486 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6487 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6488 Recognize leading tab in gcc-include regexp. Ignore names with
6489 leading "from" or "in" in gnu regexp (Bug#6937).
6491 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6493 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6494 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6495 (ispell-start-process): Avoid setq and simplify logic.
6496 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6497 (kill-buffer-hook): Don't use it globally with code that uses
6498 expand-file-name since that may call kill-buffer via
6499 code_conversion_restore.
6501 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6503 * emacs-lisp/package.el (package-directory-list): Only call
6504 file-name-nondirectory on a string.
6506 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6508 * emacs-lisp/package.el (package--download-one-archive):
6509 Ensure that archive-contents is valid before saving it.
6510 (package-activate-1, package-mark-obsolete, define-package)
6511 (package-compute-transaction, package-list-maybe-add): Use push.
6513 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6515 Use SMIE's blink-paren for octave-mode.
6516 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6517 Backslashes do not escape single-quotes, single-quotes do.
6518 (octave-block-else-regexp, octave-block-end-regexp)
6519 (octave-block-match-alist): Remove.
6520 (octave-smie-bnf-table): New var, with old content.
6521 (octave-smie-op-levels): Use it.
6522 (octave-smie-closer-alist): New var.
6523 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6524 (octave-blink-matching-block-open): Remove.
6525 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6526 (octave-electric-space): Let self-insert-command run expand-abbrev and
6529 * electric.el (electricity): New group.
6530 (electric-indent-chars): New var.
6531 (electric-indent-post-self-insert-function): New fun.
6532 (electric-indent-mode): New minor mode.
6533 (electric-pair-skip-self): New custom.
6534 (electric-pair-post-self-insert-function): New function.
6535 (electric-pair-mode): New minor mode.
6537 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6538 calcAlg-blink-matching-open.
6539 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6540 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6541 Use the new blink-matching-check-function.
6543 Provide blink-matching support to SMIE.
6544 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6545 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6546 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6548 * simple.el (newline): Fix last change to properly remove itself from
6551 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6553 * simple.el (newline): Eliminate optimization.
6554 Use post-self-insert-hook to set hard-newline and things before
6555 running post-self-insert-hook.
6556 (blink-matching-check-mismatch): New function.
6557 (blink-matching-check-function): New variable.
6558 (blink-matching-open): Use them.
6559 Skip back forward over prefix chars skipped by forward-sexp.
6560 Don't check if the parens are backslash escaped.
6561 (blink-paren-post-self-insert-function): Check backslash escaping here.
6563 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6565 * emacs-lisp/package.el (package-menu-mode-map):
6566 Change package-menu-revert bindings to revert-buffer.
6567 (package-menu-mode): Set revert-buffer-function.
6568 (package-menu-revert): Doc fix.
6570 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6572 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6573 `default-directory' unless using Ispell per-directory personal
6574 dictionaries and not in a mini-buffer under XEmacs.
6575 (kill-buffer-hook): Do not kill ispell process on exit when
6576 `ispell-process-directory' is "~/". (Bug#6143)
6578 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6580 * simple.el (kill-new): Call interprogram-cut-function with only
6583 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6584 Remove cut buffer from error message.
6586 * term/x-win.el (x-select-text):
6587 * term/pc-win.el (x-selection-value):
6588 * term/ns-win.el (x-selection-value):
6589 * eshell/em-term.el:
6590 * w32-fns.el (x-get-selection-value):
6591 * mouse-sel.el (mouse-sel-set-selection-function):
6592 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6594 * term/x-win.el: Update documentation for x-last-selected-text-*.
6595 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6596 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6597 (x-select-text): Remove argument PUSH, update documentation.
6598 Remove cut-buffer code.
6599 (x-selection-value-internal): Was previously x-selection-value.
6600 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6601 Update documentation, remove cut-buffer code.
6602 Call x-selection-value-internal.
6603 (x-clipboard-yank): Call x-selection-value-internal.
6604 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6606 * term/pc-win.el (x-last-selected-text):
6607 x-cut-buffer-or-selection-value renamed to x-selection-value
6608 (x-select-text): Remove argument PUSH, update documentation.
6610 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6611 x-cut-buffer-or-selection-value renamed to x-selection-value
6612 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6613 (x-select-text): Remove argument PUSH, update documentation.
6615 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6617 * w32-fns.el (x-last-selected-text):
6618 x-cut-buffer-or-selection-value renamed to x-selection-value.
6619 (x-cut-buffer-max): Remove.
6620 (x-select-text): Remove argument PUSH, update documentation.
6622 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6624 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6626 * mouse-sel.el (mouse-sel-get-selection-function):
6627 x-cut-buffer-or-selection-value renamed to x-selection-value.
6628 (x-select-text): Remove optional push.
6630 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6632 * simple.el (blink-paren-function): Move from C to here.
6633 (blink-paren-post-self-insert-function): New function.
6634 (post-self-insert-hook): Use it.
6636 * emacs-lisp/pcase.el (pcase-split-memq):
6637 Fix overenthusiastic optimisation.
6638 (pcase-u1): Handle the case of a lambda pred.
6640 2010-08-31 Kenichi Handa <handa@m17n.org>
6642 * international/mule-cmds.el (standard-display-european-internal):
6643 Setup standard-display-table for 8-bit characters by storing 8-bit
6644 characters in the element vector.
6646 * disp-table.el (standard-display-8bit):
6647 Setup standard-display-table for 8-bit characters by storing 8-bit
6648 characters in the element vector.
6649 (standard-display-european): Likewise.
6651 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6653 * textmodes/nroff-mode.el (nroff-view): New command.
6654 (nroff-mode-map): Bind it to C-c C-c.
6656 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6658 * emacs-lisp/smie.el (smie-down-list): New command.
6660 Remove old indentation and navigation code on octave-mode.
6661 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6662 smie-down-list rather than add a binding for octave-down-block.
6663 (octave-mark-block, octave-blink-matching-block-open):
6664 Rely on forward-sexp-function.
6665 (octave-fill-paragraph): Don't narrow, so you can use
6666 indent-according-to-mode.
6667 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6668 (octave-in-block-p, octave-re-search-forward-kw)
6669 (octave-re-search-backward-kw, octave-indent-calculate)
6670 (octave-end-as-array-index-p, octave-block-end-offset)
6671 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6672 (octave-down-block, octave-backward-up-block, octave-up-block)
6673 (octave-before-magic-comment-p, octave-indent-line): Remove.
6675 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6677 * emacs-lisp/package.el (package--read-archive-file): Just use
6678 `read', to avoid copying an additional string.
6679 (package-menu-mode): Set header-line-format here.
6680 (package-menu-refresh, package-menu-revert): Signal an error if
6681 not in the Package Menu.
6682 (package-menu-package-list): New var.
6683 (package--generate-package-list): Operate on the current buffer;
6684 don't assume that it is *Packages*, since the user may rename it.
6685 Allow persistent package listings and sort keys using
6686 package-menu-package-list and package-menu-package-sort-key.
6687 (package-menu--version-predicate): Fix version calculation.
6688 (package-menu-sort-by-column): Don't select the window.
6689 (package--list-packages): Create the *Packages* buffer.
6690 Set package-menu-package-list-key.
6691 (list-packages): Sorting by status is now the default.
6692 (package-buffer-info): Use match-string-no-properties.
6693 (define-package): Add a &rest argument for future proofing, but
6695 (package-install-from-buffer, package-install-buffer-internal):
6696 Merge into a single function, package-install-from-buffer.
6697 (package-install-file): Change caller.
6699 * finder.el: Load finder-inf using `require'.
6700 (finder-list-matches): Sorting by status is now the default.
6701 (finder-compile-keywords): Simpify printing.
6703 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6705 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6706 (octave-mode-map): Remove special bindings for forward/backward-block
6707 and octave-backward-up-block. Use smie-close-block.
6708 (octave-continuation-marker-regexp): New var.
6709 (octave-continuation-regexp): Use it.
6710 (octave-operator-table, octave-smie-op-levels)
6711 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6712 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6713 (octave-mode): Use SMIE.
6714 (octave-close-block): Delete.
6716 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6718 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6719 CLIPBOARD, not in PRIMARY. (Bug#6944)
6721 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6723 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6725 (smie-indent-column): Allow indirection through variables.
6727 * composite.el (save-buffer-state): Delete, unused.
6728 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6729 (font-lock-default-fontify-region): Use with-syntax-table.
6730 * jit-lock.el (with-buffer-unmodified): Remove.
6731 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6733 Use `declare' in defmacros.
6734 * window.el (save-selected-window):
6735 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6736 * progmodes/python.el (def-python-skeleton):
6737 * net/dbus.el (dbus-ignore-errors):
6738 * jka-cmpr-hook.el (with-auto-compression-mode):
6739 * international/mule.el (with-category-table):
6740 * emacs-lisp/timer.el (with-timeout):
6741 * emacs-lisp/lisp-mnt.el (lm-with-file):
6742 * emacs-lisp/eieio.el (with-slots):
6743 * emacs-lisp/easymenu.el (easy-menu-define):
6744 * emacs-lisp/debug.el (debugger-env-macro):
6745 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6746 (Multiple-value-call, Multiple-value-prog1):
6747 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6748 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6749 edebug rule to definition.
6750 * emacs-lisp/lisp-mode.el (save-selected-window)
6751 (with-current-buffer, combine-after-change-calls)
6752 (with-output-to-string, with-temp-file, with-temp-buffer)
6753 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6754 (dolist, dotimes, when, unless):
6755 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6757 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6759 * finder.el: Require `package'.
6760 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6761 (finder-package-info): Var deleted.
6762 (finder-keywords-hash, finder--builtins-alist): New vars.
6763 (finder-compile-keywords): Compute package--builtins and
6764 finder-keywords-hash instead of finder-keywords-hash, respecting
6765 the "Package" header.
6766 (finder-unknown-keywords, finder-list-matches):
6767 Use finder-keywords-hash and package--list-packages.
6768 (finder-mode): Don't set font-lock-defaults.
6769 (finder-exit): We don't use "*Finder-package*" and "*Finder
6770 Category*" buffers anymore.
6772 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6773 (package--builtins): Set default value to nil.
6774 (package-initialize): Load precomputed value of package--builtins
6776 (package-alist, package-compute-transaction)
6777 (package-download-transaction): Improve docstring.
6778 (package-read-all-archive-contents): Do not change
6779 package--builtins here.
6780 (list-packages): Make package-list-packages an alias for this.
6781 Sort by status by default.
6782 (package--list-packages): Add optional PACKAGES arg.
6783 (describe-package-1): Use font-lock-face property. For built-in
6784 packages, insert file commentary.
6785 (package--generate-package-list): Rename from
6786 package-list-packages-internal; all callers changed. Add optional
6787 PACKAGES arg. Add alphabetical sort fallbacks.
6788 (package-menu--version-predicate, package-menu--status-predicate)
6789 (package-menu--description-predicate)
6790 (package-menu--name-predicate): New functions.
6792 * info.el (Info-finder-find-node): Search package-alist instead of
6793 finder-package-info.
6795 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6797 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6799 (version-to-list): Handle versions like "10.3d".
6801 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6803 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6804 (macroexp-accumulate): Use `declare'.
6806 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6808 * whitespace.el (whitespace-style): Adjust type declaration.
6810 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6812 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6813 empty argument to gvfs-copy.
6815 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6817 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6818 handle new TRASH arg of `delete-file'.
6820 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6822 * net/tramp.el (tramp-handle-insert-directory): Don't use
6823 `forward-word', its default syntax could be changed.
6825 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6826 Michael Albinus <michael.albinus@gmx.de>
6828 Implement compression for inline methods.
6830 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6831 (tramp-copy-size-limit): Allow also nil.
6832 (tramp-inline-compress-commands): New defconst.
6833 (tramp-find-inline-compress, tramp-get-inline-compress)
6834 (tramp-get-inline-coding): New defuns.
6835 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6836 replaced by `tramp-get-inline-coding'.
6837 (tramp-handle-file-local-copy, tramp-handle-write-region)
6838 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6840 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6842 Detect ssh 'ControlMaster' argument automatically in some cases.
6844 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6845 (tramp-default-method): Use it.
6847 2010-08-26 Karel Klíč <kklic@redhat.com>
6849 * net/tramp.el (tramp-file-name-for-operation):
6850 Add file-selinux-context.
6852 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6854 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6856 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6858 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6861 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6863 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6864 (js-paren-indent-offset, js-square-indent-offset)
6865 (js-curly-indent-offset): New options.
6866 (js--proper-indentation): Use them.
6868 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6870 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6871 instead of inspecting font-lock properties (Bug#6916).
6873 2010-08-26 David Reitter <david.reitter@gmail.com>
6875 * server.el (server-visit-files): Run pre-command-hook and
6876 post-command-hook for each buffer while it is current (Bug#6910).
6877 (server-execute): Do not run hooks here.
6879 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6881 Sync with Tramp 2.1.19.
6883 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6884 (tramp-reporter-dump-variable, tramp-load-report-modules)
6885 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6886 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6888 * net/tramp-compat.el (top): Do not autoload
6889 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6890 only when `start-file-process' is not bound.
6891 (byte-compile-not-obsolete-vars): Define if not bound.
6892 (tramp-compat-funcall): New defmacro.
6893 (tramp-compat-line-beginning-position)
6894 (tramp-compat-line-end-position)
6895 (tramp-compat-temporary-file-directory)
6896 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6897 (tramp-compat-copy-file, tramp-compat-copy-directory)
6898 (tramp-compat-delete-file, tramp-compat-delete-directory)
6899 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6901 (tramp-advice-file-expand-wildcards): Do not use
6902 `tramp-handle-file-remote-p'.
6903 (tramp-compat-make-temp-file): Simplify fallback implementation.
6904 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6905 (tramp-compat-copy-tree): Remove function.
6906 (tramp-compat-delete-file): New defun.
6907 (tramp-compat-delete-directory): Provide implementation for older
6909 (tramp-compat-file-attributes): Handle only
6910 `wrong-number-of-arguments' error.
6912 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6913 Add PRESERVE_SELINUX_CONTEXT.
6914 (tramp-fish-handle-delete-file): Add TRASH arg.
6915 (tramp-fish-handle-directory-files-and-attributes):
6916 Do not use `tramp-fish-handle-file-attributes.
6917 (tramp-fish-handle-file-local-copy)
6918 (tramp-fish-handle-insert-file-contents)
6919 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6921 * net/tramp-gvfs.el (top): Require url-util.
6922 (tramp-gvfs-mount-point): Remove.
6923 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6924 and `set-file-selinux-context'.
6925 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6926 (tramp-gvfs-handle-file-selinux-context)
6927 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6928 (with-tramp-dbus-call-method): Format trace message.
6929 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6930 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6931 Implement backup call, when operation on local files fails.
6932 Use progress reporter. Flush properties of changed files.
6933 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6934 Use `tramp-compat-delete-file'.
6935 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6936 (tramp-gvfs-handle-make-directory): Make more traces.
6937 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6938 (tramp-gvfs-url-file-name): Hexify file name in url.
6939 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6940 into account for the resulting file name.
6941 (tramp-gvfs-handler-askquestion): Preserve current message, in
6942 order to let progress reporter continue afterwards. (Bug#6257)
6943 Return dummy mountpoint, when the answer is "no".
6944 See `tramp-gvfs-maybe-open-connection'.
6945 (tramp-gvfs-handler-mounted-unmounted)
6946 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6947 attribute "default_location". Set "prefix" property.
6948 Handle default-location.
6949 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6950 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6951 exists. Raise an error, if not (due to a corresponding answer
6952 "no" in interactive questions, for example).
6953 Use `tramp-compat-funcall'.
6955 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6956 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6957 (tramp-imap-do-copy-or-rename-file)
6958 (tramp-imap-handle-insert-file-contents)
6959 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6960 (tramp-imap-handle-delete-file): Add TRASH arg.
6962 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6963 Add PRESERVE-SELINUX-CONTEXT.
6964 (tramp-smb-handle-copy-file)
6965 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6966 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6967 Use `with-progress-reporter'.
6968 (tramp-smb-handle-delete-file): Add TRASH arg.
6970 * net/tramp.el (tramp-methods): Move hostname to the end in all
6971 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6973 (tramp-verbose): Describe verbose level 9.
6974 (tramp-completion-function-alist)
6975 (tramp-file-name-regexp, tramp-chunksize)
6976 (tramp-local-coding-commands, tramp-remote-coding-commands)
6977 (with-connection-property, tramp-completion-mode-p)
6978 (tramp-action-process-alive, tramp-action-out-of-band)
6979 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6980 (tramp-exists-file-name-handler): Fix docstring.
6981 (tramp-remote-process-environment): Use `format' instead of
6982 `concat'. Protect version string by apostroph.
6983 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6985 (tramp-file-name-regexp-unified)
6986 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6987 not regard the volume letter as remote filename. (Bug#5447)
6988 (tramp-perl-file-attributes)
6989 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6990 (tramp-vc-registered-read-file-names): Read input as
6991 here-document, otherwise the command could exceed maximum length
6993 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6994 `set-file-selinux-context'.
6995 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6996 backtrace functions.
6997 (tramp-error-with-buffer): Don't show the connection buffer when
6998 we are in completion mode.
6999 (tramp-progress-reporter-update, tramp-remote-selinux-p)
7000 (tramp-handle-file-selinux-context)
7001 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7002 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7004 (with-progress-reporter): New defmacro.
7005 (tramp-debug-outline-regexp): New defconst.
7006 (top, tramp-rfn-eshadow-setup-minibuffer)
7007 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7008 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7009 (tramp-completion-mode-p, tramp-check-for-regexp)
7010 (tramp-open-connection-setup-interactive-shell)
7011 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7012 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7013 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7014 Use `tramp-compat-funcall'.
7015 (tramp-handle-make-symbolic-link): Flush file properties.
7016 (tramp-handle-load, tramp-handle-file-local-copy)
7017 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7018 (tramp-handle-vc-registered, tramp-maybe-send-script)
7019 (tramp-find-shell): Use `with-progress-reporter'.
7020 (tramp-do-file-attributes-with-stat): Add space in format string,
7021 in order to work around a bug in pdksh. Reported by Gilles Pion
7023 (tramp-handle-verify-visited-file-modtime): Do not send a command
7024 when the connection is not established.
7025 (tramp-handle-set-file-times): Simplify the check for utc.
7026 (tramp-handle-directory-files-and-attributes)
7027 (tramp-get-remote-path): Use `copy-tree'.
7028 (tramp-completion-handle-file-name-all-completions): Ensure, that
7029 non remote files are still checked. Oops.
7030 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7031 Handle PRESERVE-SELINUX-CONTEXT.
7032 (tramp-do-copy-or-rename-file): Add progress reporter.
7033 (tramp-do-copy-or-rename-file-directly): Do not use
7034 `tramp-handle-file-remote-p'.
7035 (tramp-do-copy-or-rename-file-out-of-band):
7036 Use `tramp-compat-delete-directory'.
7037 (tramp-do-copy-or-rename-file-out-of-band)
7038 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7039 Use `format-spec-make'.
7040 (tramp-handle-delete-file): Add TRASH arg.
7041 (tramp-handle-dired-uncache): Flush directory cache, not only file
7043 (tramp-handle-expand-file-name)
7044 (tramp-completion-handle-file-name-all-completions)
7045 (tramp-completion-handle-file-name-completion):
7046 Use `tramp-connectable-p'.
7047 (tramp-handle-start-file-process): Set connection property "vec".
7048 Use it, in order to invalidate file caches. Check only for
7049 `remote-tty' process property.
7050 Implement tty setting. (Bug#4604, Bug#6360)
7051 (tramp-file-name-for-operation): Add `call-process-region' and
7052 `set-file-selinux-context'.
7053 (tramp-find-foreign-file-name-handler)
7054 (tramp-advice-make-auto-save-file-name)
7055 (tramp-set-auto-save-file-modes): Remove superfluous check for
7056 `stringp'. This is done inside `tramp-tramp-file-p'.
7057 (tramp-file-name-handler): Trace 'quit. Catch the error for some
7058 operations when we are in completion mode. This gives the user
7059 the chance to correct the file name in the minibuffer.
7060 (tramp-completion-mode-p): Use `non-essential'.
7061 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7062 compatibility: Use `completion-ignore-case' if
7063 `read-file-name-completion-ignore-case' does not exist.
7064 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7065 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7067 (tramp-action-password): Hide password prompt before next run.
7068 (tramp-process-actions): Widen connection buffer for the trace.
7069 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7070 process property. Trace stty settings if `tramp-verbose' >= 9.
7071 Apply workaround for IRIX64 bug. Move argument of last
7072 `tramp-send-command' where it belongs to.
7073 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7074 front of `login-args'.
7075 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7076 on "/dev/null" instead of "/".
7077 (tramp-get-ls-command-with-dired): Make test for "--dired"
7079 (tramp-set-auto-save-file-modes): Adapt version check.
7080 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7081 (tramp-handle-process-file): Call the program in a subshell, in
7082 order to preserve working directory.
7083 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7084 `tramp-remote-sh' from `tramp-methods'.
7085 (tramp-get-ls-command): Make test for "--color=never" stronger.
7086 (tramp-check-for-regexp): Use (forward-line 1).
7088 * net/trampver.el: Update release number.
7090 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7092 * help.el (help-map): Bind `C-h P' to describe-package.
7094 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7096 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7097 when downloading archives.
7098 (describe-package-1): Add package commentary.
7099 (package-install-button-action): New function.
7100 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7101 (package-menu-view-commentary): Function removed.
7102 (package-list-packages-internal): Hide the `package' package too.
7104 2010-08-25 Kenichi Handa <handa@m17n.org>
7106 * language/misc-lang.el ("Arabic"): New language environment.
7107 Setup composition-function-table for Arabic characters.
7109 * international/fontset.el (setup-default-fontset): Fix typo for
7110 arabic OTF spec (fini->fina).
7112 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7114 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7117 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7119 * whitespace.el: Allow cleaning up blanks without blank
7120 visualization (Bug#6651). Adjust help window for
7121 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7122 instead of whitespace-line-column (from EmacsWiki). New version
7124 (whitespace-style): Add new value 'face. Adjust docstring.
7125 (whitespace-space, whitespace-hspace, whitespace-tab):
7126 Adjust foreground property face.
7127 (whitespace-line-column): Adjust docstring and type declaration.
7128 (whitespace-style-value-list, whitespace-toggle-option-alist)
7129 (whitespace-help-text): Adjust const initialization.
7130 (whitespace-toggle-options, global-whitespace-toggle-options):
7132 (whitespace-display-window, whitespace-interactive-char)
7133 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7134 (whitespace-help-scroll): New fun.
7136 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7138 * emacs-lisp/package.el (list-packages): Alias for
7139 package-list-packages.
7141 2010-08-24 Kevin Ryde <user42@zip.com.au>
7143 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7146 * progmodes/ruby-mode.el (ruby): Add defgroup.
7148 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7150 * progmodes/python.el: Add Ipython support (Bug#5390).
7151 (python-shell-prompt-alist)
7152 (python-shell-continuation-prompt-alist): New options.
7153 (python--set-prompt-regexp): New function.
7154 (inferior-python-mode, run-python, python-shell):
7155 Require ansi-color. Use python--set-prompt-regexp to set the comint
7156 prompt based on the Python interpreter.
7157 (python--prompt-regexp): New var.
7158 (python-check-comint-prompt)
7159 (python-comint-output-filter-function): Use it.
7160 (run-python): Use a pipe (Bug#5694).
7162 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7164 * progmodes/python.el (python-send-region): Send a different
7165 Python command if Ipython is in use.
7166 (python-check-version): Use a Python command to find the version.
7168 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7170 * mouse.el (mouse-yank-primary): Avoid setting primary when
7171 deactivating the mark (Bug#6872).
7173 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7175 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7176 with "else" (Bug#3991).
7178 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7180 * net/dbus.el: Accept UNIX domain sockets as bus address.
7181 (top): Don't initialize `dbus-registered-objects-table' anymore,
7182 this is done in dbusbind,c.
7183 (dbus-check-event): Adapt test for bus.
7184 (dbus-return-values-table, dbus-unregister-service)
7185 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7188 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7190 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7192 2010-08-22 Juri Linkov <juri@jurta.org>
7194 * simple.el (read-extended-command): New function with the logic
7195 for `completing-read' moved to Elisp from `execute-extended-command'.
7196 Use `function-called-at-point' in `minibuffer-default-add-function'
7197 to get a command name for M-n (bug#5364, bug#5214).
7199 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7201 * startup.el (command-line-1): Issue warning for ignored arguments
7202 --unibyte, etc (Bug#6886).
7204 2010-08-22 Leo <sdl.web@gmail.com>
7206 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7207 (ignore, bright, dim, keyword): Split list of nicknames before
7208 passing to rcirc-add-or-remove (Bug#6894).
7210 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7212 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7214 2010-08-22 Leo <sdl.web@gmail.com>
7216 Fix buffer-list rename&refresh after killing a buffer in ido.
7217 * ido.el: Revert Óscar's.
7218 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7219 Remember the buffers at head, rather than their name.
7220 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7222 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7223 Stefan Monnier <monnier@iro.umontreal.ca>
7225 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7226 extra backslash added to each line (bug#6890).
7228 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7230 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7232 2010-08-22 Glenn Morris <rgm@gnu.org>
7234 * menu-bar.el (menu-bar-games-menu): Add landmark.
7236 2010-08-22 Glenn Morris <rgm@gnu.org>
7238 * align.el (align-regexp): Make group and spacing arguments
7239 use the interactive defaults when non-interactive. (Bug#6698)
7241 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7242 expansion, so as not to need sendmail.
7243 (mail-text-start): Remove declaration.
7244 (rmail-retry-failure): Require sendmail.
7246 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7248 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7250 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7252 * progmodes/flymake.el (flymake-start-syntax-check-process):
7253 Use `start-file-process' in order to let it run also on remote hosts.
7255 2010-08-22 Kenichi Handa <handa@m17n.org>
7257 * files.el: Add `word-wrap' as safe local variable.
7259 2010-08-22 Glenn Morris <rgm@gnu.org>
7261 * woman.el (woman-translate): Case matters. (Bug#6849)
7263 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7265 * simple.el (kill-region): Doc fix (Bug#6787).
7267 2010-08-22 Glenn Morris <rgm@gnu.org>
7269 * calendar/diary-lib.el (diary-header-line-format):
7270 Fit it to the window, not the frame.
7272 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7274 * subr.el (ignore-errors): Add debug declaration.
7276 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7278 * whitespace.el (whitespace-color-off): Remove post-command-hook
7281 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7283 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7285 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7287 * cus-edit.el (custom-group-value-create): Add extra newline
7288 before end line (Bug#6876).
7290 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7292 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7293 when extending it. Before killing on the second click, check if
7294 the buffer is the correct one. Doc fix.
7295 (mouse-secondary-save-then-kill): Allow usage without first
7296 calling mouse-start-secondary, by defaulting to point. Don't save
7297 an empty secondary selection. Doc fix.
7299 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7301 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7302 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7304 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7305 Adjust initialization.
7306 (whitespace-bob-marker, whitespace-eob-marker)
7307 (whitespace-buffer-changed): New vars.
7308 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7309 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7310 (whitespace-post-command-hook, whitespace-display-char-on):
7312 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7313 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7315 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7317 * files.el (locate-file-completion-table): Only list the .el and .elc
7318 extensions if there's no other choice (bug#5955).
7320 * facemenu.el (facemenu-self-insert-data): New var.
7321 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7323 (facemenu-add-face): Use them.
7325 * simple.el (blink-matching-open): Obey forward-sexp-function.
7327 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7329 * simple.el (prog-mode-map): New var.
7330 (prog-indent-sexp): New command.
7332 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7334 * progmodes/prolog.el (smie): Require.
7336 * emacs-lisp/smie.el (smie-default-backward-token)
7337 (smie-default-forward-token): Strip properties.
7338 (smie-next-sexp): Be more careful with associative operators.
7339 (smie-forward-sexp-command): Generalize.
7340 (smie-backward-sexp-command): Simplify.
7341 (smie-closer-alist): New var.
7342 (smie-close-block): New command.
7343 (smie-indent-debug-log): New var.
7344 (smie-indent-offset-rule): Add a few more cases.
7345 (smie-indent-column): New function.
7346 (smie-indent-after-keyword): Use it.
7347 (smie-indent-keyword): Use it.
7348 Fix up the opener code's point position.
7349 (smie-indent-comment): Only applies at BOL.
7350 (smie-indent-debug): New command.
7352 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7353 declarations that are useful before running the macro.
7355 2010-08-18 Joakim Verona <joakim@verona.se>
7357 * image.el (imagemagick-types-inhibit): New variable.
7358 (imagemagick-register-types): New function.
7359 * image-mode.el (image-transform-properties): New function.
7360 (image-transform-set-scale, image-transform-fit-to-height)
7361 (image-transform-set-rotation, image-transform-set-resize)
7362 (image-transform-fit-to-width, image-transform-fit-to-height):
7364 (image-toggle-display-image): Support image transforms.
7366 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7368 * image.el (create-animated-image): Don't add heuristic mask to image
7371 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7373 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7374 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7376 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7378 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7380 Font-lock '...' strings, plus various simplifications and fixes.
7381 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7382 (octave-font-lock-close-quotes): New function.
7383 (octave-font-lock-syntactic-keywords): New var.
7384 (octave-mode): Use it. Set beginning-of-defun-function.
7385 (octave-mode-map): Don't override the <foo>-defun commands.
7386 (octave-mode-menu): Pass it directly to easy-menu-define;
7387 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7388 (octave-block-match-alist): Fix up last change so that
7389 octave-close-block uses the more specific keyword.
7390 (info-lookup-mode): Silence byte-compiler.
7391 (octave-beginning-of-defun): Not interactive any more.
7393 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7394 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7395 (octave-completion-at-point-function): Make sure point is within
7397 (octave-reindent-then-newline-and-indent):
7398 Use reindent-then-newline-and-indent.
7399 (octave-add-octave-menu): Remove.
7401 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7403 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7404 (report-emacs-bug-can-use-xdg-email): New functions.
7405 (report-emacs-bug): Set can-xdg-email to result of
7406 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7407 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7410 * net/browse-url.el (browse-url-default-browser): Add cond
7411 for browse-url-xdg-open.
7412 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7414 2010-08-17 Glenn Morris <rgm@gnu.org>
7416 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7417 (c-fontify-recorded-types-and-refs): Define for compiler.
7418 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7421 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7424 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7426 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7428 (tramp-handle-process-file): Call the program in a subshell, in
7429 order to preserve working directory.
7430 (tramp-action-password): Hide password prompt before next run.
7431 (tramp-process-actions): Widen connection buffer for the trace.
7433 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7435 * net/rcirc.el (rcirc-log-process-buffers): New option.
7436 (rcirc-print): Use it.
7437 (rcirc-generate-log-filename): New function.
7438 (rcirc-log-filename-function): Change default to
7439 rcirc-generate-log-filename (Bug#6828).
7441 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7443 * simple.el (deactivate-mark): If select-active-regions is `only',
7444 only set selection for temporarily active regions.
7446 * cus-start.el: Change defcustom for select-active-regions.
7448 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7450 * mouse.el (mouse--drag-set-mark-and-point): New function.
7451 (mouse-drag-track): Use LOCATION arg to push-mark.
7452 Use mouse--drag-set-mark-and-point to take click-count into
7453 consideration when updating point and mark (Bug#6840).
7455 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7457 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7458 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7460 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7462 * font-lock.el (lisp-font-lock-keywords-2):
7463 Add combine-after-change-calls, condition-case-no-debug,
7464 with-demoted-errors, and with-silent-modifications (Bug#6025).
7466 2010-08-14 Kevin Ryde <user42@zip.com.au>
7468 * emacs-lisp/copyright.el (copyright-update-year)
7469 (copyright-update): Temporary switch-to-buffer to ensure the
7470 buffer change being queried is visible (Bug#5394).
7472 2010-08-14 Tom Tromey <tromey@redhat.com>
7474 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7477 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7479 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7482 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7484 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7485 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7486 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7487 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7488 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7489 Call menu-bar-set-tool-bar-position.
7491 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7493 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7494 comment style (bug#6834).
7495 * progmodes/scheme.el (scheme-mode-syntax-table):
7496 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7497 "b" flag in "' 14b" syntax.
7499 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7500 for (un)commenting the region and performing completion.
7501 (octave-mode-menu): Use standard commands for help and completion.
7502 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7503 (octave-mode): Use define-derived-mode.
7504 Set completion-at-point-functions and don't set columns.
7505 Don't disable adaptive-fill-regexp.
7506 (octave-describe-major-mode, octave-comment-region)
7507 (octave-uncomment-region, octave-comment-indent)
7508 (octave-indent-for-comment): Remove.
7509 (octave-indent-calculate): Rename from calculate-octave-indent.
7510 (octave-indent-line, octave-fill-paragraph): Update caller.
7511 (octave-initialize-completions): No need to make an alist.
7512 (octave-completion-at-point-function): New function.
7513 (octave-complete-symbol): Use it.
7514 (octave-insert-defun): Use define-skeleton.
7516 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7517 (octave-mode-map): Use comment-dwim (bug#6829).
7519 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7521 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7522 indentation of inserted comment.
7524 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7526 * faces.el (region): Add type gtk that uses gtk colors.
7528 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7529 Handle theme-name change.
7531 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7533 * progmodes/sql.el: Version 2.5
7534 (sql-product-alist): Add :prompt-cont-regexp property for several
7536 (sql-prompt-cont-regexp): New variable.
7537 (sql-output-newline-count, sql-output-by-send):
7538 New variables. Record number of newlines in input text.
7539 (sql-send-string): Handle multiple filters and count newlines.
7540 (sql-send-magic-terminator): Count terminator newline.
7541 (sql-interactive-remove-continuation-prompt): Filters output to
7542 remove continuation prompts; one for each newline.
7543 (sql-interactive-mode): Set up new variables, prompt regexp and
7545 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7546 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7548 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7550 * emacs-lisp/pcase.el: New file.
7552 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7554 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7555 as here-document, otherwise the command could exceed maximum
7556 length of command line.
7557 (tramp-handle-vc-registered): Call script accordingly.
7558 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7560 2010-08-10 Kenichi Handa <handa@m17n.org>
7562 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7565 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7567 * emacs-lisp/package.el (package-version-split)
7568 (package--version-first-nonzero, package-version-compare):
7570 (package-directory-list, package-load-all-descriptors)
7571 (package--built-in, package-activate, define-package)
7572 (package-installed-p, package-compute-transaction)
7573 (package-read-all-archive-contents)
7574 (package--add-to-archive-contents, package-buffer-info)
7575 (package-tar-file-info, package-list-packages-internal):
7576 Use version-to-list and version-list-*.
7578 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7579 Use version-to-list.
7580 (package-upload-buffer-internal): Use version-list-<=.
7582 2010-08-09 Kenichi Handa <handa@m17n.org>
7584 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7587 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7589 * tutorial.el (tutorial--default-keys): C-d is now bound to
7590 delete-forward-char (Bug#6826).
7592 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7593 for `double' value of mouse-1-click-follows-link (Bug#6807).
7595 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7597 * replace.el (replace-highlight): Bind isearch-forward and
7598 isearch-error, ensuring that highlighting is updated if the user
7599 switches the search direction (Bug#6808).
7601 * isearch.el (isearch-lazy-highlight-forward): New var.
7602 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7603 (isearch-lazy-highlight-update): Use it.
7605 2010-08-08 Kenichi Handa <handa@m17n.org>
7607 * international/mule.el (define-charset): Store NAME as :base property.
7608 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7609 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7610 current priority. Force using the designation of the specific
7611 charset by adding `charset' text property. Improve the whole algorithm.
7613 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7615 * emulation/pc-select.el (pc-selection-mode-hook)
7616 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7617 (pc-selection-mode): Fix typos in docstrings.
7619 2010-08-08 Kenichi Handa <handa@m17n.org>
7621 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7622 ctext-non-standard-encodings-alist here.
7624 * international/mule.el (ctext-non-standard-encodings-alist):
7625 Add "koi8-r" and "microsoft-cp1251".
7626 (ctext-standard-encodings): New variable.
7627 (ctext-non-standard-encodings-table): List only elements for
7628 non-standard encodings.
7629 (ctext-pre-write-conversion): Adjust for the above change.
7630 Check ctext-standard-encodings.
7632 * international/mule-conf.el (compound-text): Doc fix.
7633 (ctext-no-compositions): Doc fix.
7634 (compound-text-with-extensions): Doc fix.
7636 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7638 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7640 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7642 * progmodes/which-func.el (which-func-format): Split help-echo text
7643 into lines, like other mode-line tooltips.
7645 * server.el (server-start): When using TCP sockets, force IPv4
7646 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7648 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7650 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7652 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7654 * term.el (term-delimiter-argument-list): Reflow docstring.
7655 (term-read-input-ring, term-write-input-ring, term-send-input)
7656 (term-bol, term-erase-in-display, serial-supported-or-barf):
7657 Fix typos in docstrings.
7659 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7661 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7663 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7665 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7667 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7669 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7670 Fix typo in docstring (bug#6747).
7672 2010-08-08 Leo <sdl.web@gmail.com>
7674 * eshell/esh-io.el (eshell-get-target): Better detection of
7675 read-only file (Bug#6762).
7677 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7679 * align.el (align-default-spacing): Doc fix.
7680 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7682 2010-08-08 Stephen Peters <speters@itasoftware.com>
7684 * calendar/icalendar.el
7685 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7686 (icalendar--get-weekday-numbers): New.
7687 (icalendar--convert-recurring-to-diary): Handle multiple byday
7688 values in weekly rules. (Bug#6766)
7690 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7692 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7693 (icalendar--create-uid, icalendar-export-region)
7694 (icalendar--parse-summary-and-rest): Code formatting.
7696 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7698 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7699 to italicize headers.
7700 (calc-highlight-selections-with-faces): New variable.
7701 (calc-selected-face, calc-nonselected-face): New faces.
7703 * calc/calccomp.el (math-comp-highlight-string): Use
7704 `calc-highlight-selections-with-faces' to determine how to highlight
7707 * calc/calc-sel.el (calc-show-selections): Change message to when
7708 using faces to highlight selections.
7710 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7712 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7713 Add SQLite 3 keywords, functions and datatypes.
7714 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7717 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7719 * simple.el (select-active-regions): Move to keyboard.c.
7720 (deactivate-mark): Used saved-region-selection.
7721 (select-active-region): Function removed.
7722 (activate-mark, set-mark, push-mark-command)
7723 (handle-shift-selection): Don't call it.
7724 (keyboard-quit): Avoid adding the region to the window selection.
7726 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7727 select-active-regions implementation.
7728 (mouse-yank-at-click): Doc fix.
7730 * cus-start.el: Add custom declaration for select-active-regions.
7732 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7734 * simple.el (delete-forward-char): Doc fix.
7736 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7737 after reading the tutorial.
7739 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7741 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7742 Fix for the case that a C style comment has its delimiters alone on
7743 their respective lines.
7745 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7747 * net/tramp.el (tramp-handle-start-file-process): Set connection
7749 (tramp-process-sentinel): Use it for flushing the cache.
7750 We cannot do it via the process buffer, the buffer could be deleted
7751 already when running the sentinel.
7753 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7755 * comint.el (comint-mode): Make directory tracking functions
7756 functional on remote files. (Bug#6764)
7758 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7760 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7762 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7764 * emacs-lisp/find-gc.el (find-gc-source-files):
7765 Rename unexec.c => unexcoff.c.
7767 * emacs-lisp/authors.el (authors-fixed-entries):
7768 Rename unexec.c => unexcoff.c.
7770 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7772 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7773 cache, not only file cache.
7774 (tramp-process-sentinel): New defun.
7775 (tramp-handle-start-file-process): Use it, in order to invalidate
7778 2010-08-03 Leo <sdl.web@gmail.com>
7780 * server.el (server-start): Simplify loop.
7782 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7784 * frame.el (screen-height, screen-width, set-screen-width)
7785 (set-screen-height): Remove ancient compatibility aliases.
7787 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7788 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7790 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7791 that change current buffer.
7793 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7795 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7796 beginning of the string. Use `string-match-p'. (Bug#6765)
7798 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7800 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7802 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7804 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7805 (package--builtins): Tweak descriptions.
7806 (package-print-package): Upcase descriptions if necessary.
7807 Show all built-in packages in font-lock-builtin-face.
7808 (package-list-packages-internal): Omit "emacs" package.
7809 Show status of built-in packages as "built-in".
7811 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7813 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7814 before killing to preserve the primary selection (Bug#6701).
7816 * term/x-win.el (x-select-text): Doc fix.
7818 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7820 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7821 (objc-font-lock-extra-types):
7822 * progmodes/cc-mode.el (c-basic-common-init):
7823 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7824 (c++-make-template-syntax-table)
7825 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7826 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7827 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7828 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7829 * progmodes/cc-fonts.el (c-make-inverse-face)
7830 (c-basic-matchers-after):
7831 * progmodes/cc-engine.el (c-forward-keyword-clause)
7832 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7833 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7834 (c-guess-continued-construct, c-guess-basic-syntax):
7835 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7836 The above functions were modified or created.
7838 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7840 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7842 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7844 * files.el (bidi-paragraph-direction): Define safe local values.
7846 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7847 language-info-alist. Remove outdated FIXME in a comment.
7849 2010-07-31 Alan Mackenzie <acm@muc.de>
7851 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7852 Auto-fill broken in C/C++ modes.
7854 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7856 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7857 (menu-bar-showhide-tool-bar-menu-customize-disable)
7858 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7859 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7860 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7861 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7862 make a menu for Options => toolbar that can move it.
7864 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7866 * emacs-lisp/package-x.el (package--make-rss-entry):
7867 (package-maint-add-news-item, package--update-news)
7868 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7870 * emacs-lisp/package.el (package-archive-url): Rename from
7872 (package-install): Doc fix.
7873 (package-download-single, package-download-tar, package-install)
7874 (package-menu-view-commentary): Callers changed.
7876 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7878 * net/tramp.el (tramp-handle-start-file-process): Check only for
7879 `remote-tty' process property.
7880 (tramp-open-shell): Don't check for tty.
7881 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7884 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7887 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7889 * emacs-lisp/package.el (package-load-list, package-archives)
7890 (package-archive-contents, package-user-dir)
7891 (package-directory-list, package--builtins, package-alist)
7892 (package-activated-list, package-obsolete-alist): Mark as risky.
7894 2010-07-28 Phil Hagelberg <phil@evri.com>
7896 Add support for non-default package repositories.
7897 * emacs-lisp/package.el (package-archive-base): Var deleted.
7898 (package-archives): New variable.
7899 (package-archive-contents): Doc fix.
7900 (package-load-descriptor): Do nothing if descriptor file is missing.
7901 (package--write-file-no-coding): New function.
7902 (package-unpack-single): Use it.
7903 (package-archive-id): New function.
7904 (package-download-single, package-download-tar)
7905 (package-menu-view-commentary): Use it.
7906 (package-installed-p): Make second argument optional.
7907 (package-read-all-archive-contents): New function.
7908 (package-initialize): Use it.
7909 (package-read-archive-contents): Add ARCHIVE argument.
7910 (package--add-to-archive-contents): New function.
7911 (package-install): Don't call package-read-archive-contents.
7912 (package--download-one-archive): Store archive file in a
7913 subdirectory of package-user-dir.
7914 (package-menu-execute): Remove spurious line movement.
7916 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7918 * cus-start.el (tool-bar-style): Add text-image-horiz.
7920 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7922 * progmodes/gud.el (gud-common-init): Check for remoteness of
7923 `file', and not of `default-directory'.
7925 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7927 * net/tramp.el (tramp-methods): Move hostname to the end in all
7928 ssh `tramp-login-args'.
7929 (tramp-verbose): Describe verbose level 9.
7930 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7931 (tramp-open-connection-setup-interactive-shell): Trace stty
7932 settings if `tramp-verbose' >= 9.
7933 (tramp-handle-start-file-process): Implement tty setting.
7934 (Bug#4604, Bug#6360)
7936 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7937 `tramp-verbose' to 9.
7939 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7941 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7942 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7943 Remove references to package `lisp-re' (bug#4369).
7945 2010-07-27 Tom Tromey <tromey@redhat.com>
7947 * progmodes/js.el (js-mode):
7948 * progmodes/make-mode.el (makefile-mode):
7949 * progmodes/simula.el (simula-mode):
7950 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7952 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7954 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7956 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7957 (display-time-world-buffer-name, display-time-world-mode-map):
7958 Fix typos in docstrings.
7960 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7962 * image-mode.el (image-display-size): New function.
7963 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7964 (image-mode-fit-frame): Use it (Bug#6639).
7966 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7968 * dired.el (dired-buffers-for-dir): Handle list values of
7969 dired-directory (Bug#6636).
7971 2010-07-26 Sam Steingold <sds@gnu.org>
7973 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7974 Do not call `x-get-selection' the second time, reuse the value.
7976 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7978 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7979 which consist of control chars only. Suggested by Richard Stallman.
7981 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7983 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7984 exists before passing an error to find-file-not-found-functions
7987 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7989 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7990 Remove leading nil element, adjust values.
7991 (tetris-shapes, tetris-shape-scores):
7992 Change representation of shapes and remove some redundancy.
7993 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7994 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7995 Adjust for working with new representation of shapes.
7996 (tetris-shape-rotations): New function.
7997 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7998 (tetris-rotate-prev, tetris-rotate-next):
7999 Adjust for working with the new version of tetris-test-shape.
8001 2010-07-23 Markus Triska <markus.triska@gmx.at>
8003 * progmodes/ps-mode.el: Use comint (bug#5954).
8004 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8005 (ps-mode-other-newline): Simplify.
8006 (ps-run-mode): Derive from comint-mode instead of
8007 fundamental-mode, yielding input history etc.
8008 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8009 (ps-run-send-string): Adapt for comint-mode.
8010 (ps-run-newline): Remove now unneeded function.
8012 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8014 * net/tramp.el (tramp-methods): Move hostname to the end in all
8015 plink `tramp-login-args'.
8017 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8019 * net/tramp.el (tramp-open-shell): New defun.
8020 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8023 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8025 * net/tramp.el (tramp-file-name-regexp-unified)
8026 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8027 not regard the volume letter as remote filename. (Bug#5447)
8029 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8031 * custom.el (custom-declare-variable): Give a clearer error message
8032 when the docstring is missing (bug#6476).
8034 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8036 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8037 (sql-login-params): New widget definition.
8038 (sql-oracle-login-params, sql-mysql-login-params)
8039 (sql-solid-login-params, sql-sybase-login-params)
8040 (sql-informix-login-params, sql-ingres-login-params)
8041 (sql-ms-login-params, sql-postgres-login-params)
8042 (sql-interbase-login-params, sql-db2-login-params)
8043 (sql-linter-login-params): Use it.
8044 (sql-sqlite-login-params): Use it; Define "database" parameter as
8046 (sql-sqlite-program): Change to "sqlite3".
8047 (sql-comint-sqlite): Make sure database name is complete.
8048 (sql-for-each-login): New function.
8049 (sql-connect, sql-save-connection): Use it.
8050 (sql-get-login-ext): New function.
8051 (sql-get-login): Use it.
8052 (sql-make-alternate-buffer-name): Handle :file parameters.
8054 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8056 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8057 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8059 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8061 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8063 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8065 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8067 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8069 * net/tramp.el (tramp-get-ls-command)
8070 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8073 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8075 * progmodes/sql.el: Version 2.3.
8076 (sql-connection-alist): Change keys from symbols to strings;
8077 enhanced the widget definition.
8078 (sql-mode-menu): Add submenu to select connections.
8079 (sql-interactive-mode-menu): Add "Save Connection" item.
8080 (sql-add-product): Fix menu item.
8081 (sql-get-product-feature): Improved error handling.
8082 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
8083 (sql-make-alternate-buffer-name): Simplified.
8084 (sql-product-interactive): Handle missing product.
8085 (sql-connect): Support string keys, minor improvements.
8086 (sql-save-connection): New function.
8087 (sql-connection-menu-filter): New function.
8089 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8091 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8092 (tramp-open-connection-setup-interactive-shell):
8093 Apply workaround for IRIX64 bug. Move argument of last
8094 `tramp-send-command' where it belongs to.
8096 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8098 * net/tramp.el (tramp-perl-file-attributes)
8099 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8100 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8101 front of `login-args'.
8103 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8105 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8106 Set `show-trailing-whitespace' to nil.
8107 (display-time-world-display): Simplify.
8109 2010-07-18 Alan Mackenzie <acm@muc.de>
8111 Enhance `c-file-style' in file/directory local variables.
8112 * progmodes/cc-mode.el (c-count-cfss): New function.
8113 (c-before-hack-hook): Call `c-set-style' differently according to
8114 whether c-file-style was set in file or directory local
8117 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8119 * progmodes/sql.el: Version 2.2.
8120 (sql-product, sql-user, sql-database, sql-server, sql-port):
8121 Use defcustom :safe keyword rather than putting safe-local-variable
8123 (sql-password): Use defcustom :risky keyword rather than putting
8124 risky-local-variable property.
8125 (sql-oracle-login-params, sql-sqlite-login-params)
8126 (sql-solid-login-params, sql-sybase-login-params)
8127 (sql-informix-login-params, sql-ingres-login-params)
8128 (sql-ms-login-params, sql-postgres-login-params)
8129 (sql-interbase-login-params, sql-db2-login-params)
8130 (sql-linter-login-params): Add `port' option.
8131 (sql-get-product-feature): Add NO-INDIRECT parameter.
8132 (sql-comint-oracle, sql-comint-sybase)
8133 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8134 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8135 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8136 (sql-comint-linter): Rename sql-connect-* functions to
8138 (sql-product-alist, sql-mode-menu): Rename as above and
8139 :sqli-connect-func to :sqli-comint-func.
8140 (sql-connection): New variable.
8141 (sql-interactive-mode): Set it.
8142 (sql-connection-alist): New variable.
8143 (sql-connect): New function.
8144 (sql--alt-buffer-part, sql--alt-if-not-empty)
8145 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8147 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8149 * image-mode.el (image-bookmark-make-record): Do not set context
8150 in an image (Bug#6650).
8152 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8154 * simple.el (select-active-region): New function.
8155 (push-mark-command, set-mark, activate-mark)
8156 (handle-shift-selection): Use it.
8157 (deactivate-mark): Don't check for size of region.
8159 * mouse.el (mouse-drag-track): Use select-active-region.
8161 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8163 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8166 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8168 * term/x-win.el (x-select-enable-primary): Change default to nil.
8169 (x-select-enable-clipboard): Add :version keyword.
8171 * mouse.el (mouse-drag-copy-region):
8172 * simple.el (select-active-regions): Likewise.
8174 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8176 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8177 (vc-coding-system-for-diff): Use it to decide whether to inherit
8178 from the file the EOL format for reading the diffs of that file.
8181 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8183 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8184 unibyte, so compressed attachments are not compressed again.
8186 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8188 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8189 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8190 (tramp-find-shell): Simplify setting connection property.
8191 (tramp-get-ls-command): Make test for "--color=never" stronger.
8193 2010-07-15 Simon South <ssouth@member.fsf.org>
8195 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8196 blocks within record declarations (i.e. variant parts) correctly.
8198 2010-07-15 Simon South <ssouth@member.fsf.org>
8200 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8201 over literal tokens when parsing so newlines aren't "absorbed" by
8202 single-line comments. Corrects the indentation of case blocks
8203 that have a comment on the first line.
8205 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8207 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8208 by Drew Adams (Bug#5504).
8210 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8212 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8213 now that Unicode is used (Bug#6594).
8215 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8217 * term/x-win.el (x-select-enable-clipboard): Default to t.
8218 (x-initialize-window-system): Don't overwrite Paste menu item.
8220 * simple.el (select-active-regions): Default to t.
8221 (push-mark-command): Don't overwrite primary with empty string.
8223 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8224 (mouse-drag-copy-region): Default to nil.
8226 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8227 Cut/Copy/Paste menu bar items.
8229 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8231 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8232 Patch applied by Karl Fogel.
8234 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8235 and `bookmark-current-buffer' if they have been already set in
8236 another buffer (e.g gnus-art).
8238 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8239 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8241 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8243 * bookmark.el (bookmark-make-record-default): Allow unneeded
8244 information to be omitted from the record.
8246 Adjust declarations and calls:
8248 * info.el (bookmark-make-record-default): Adjust declaration.
8249 (Info-bookmark-make-record): Adjust call.
8251 * woman.el (bookmark-make-record-default): Adjust declaration.
8252 (woman-bookmark-make-record): Adjust call.
8254 * man.el (bookmark-make-record-default): Adjust declaration.
8255 (Man-bookmark-make-record): Adjust call.
8257 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8259 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8261 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8263 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8264 This is also from Thierry Volpiatto's patch in bug #6444. However,
8265 because it was extraneous to the functional change in that patch,
8266 and causes a re-indendation, I am committing it separately.
8268 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8270 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8271 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8272 Patch applied by Karl Fogel (Bug#6444).
8274 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8276 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8278 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8280 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8281 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8282 (ns-alternatives-map): Change S-tab binding to backtab
8285 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8288 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8290 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8293 * language/tv-util.el (tai-viet-re): Remove format.
8295 2010-07-12 Kenichi Handa <handa@m17n.org>
8297 * language/hebrew.el: Remove no-byte-compile declaration.
8298 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8299 composition-function-table for 3-character looking back.
8300 (hebrew-font-get-precomposed): New function.
8301 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8303 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8305 * mouse.el (mouse-drag-track): Handle select-active-regions
8308 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8310 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8311 empty argument to gvfs-copy.
8313 2010-07-10 Glenn Morris <rgm@gnu.org>
8315 * calendar/calendar.el (calendar-week-end-day): New function.
8316 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8317 Respect calendar-week-start-day. (Bug#6606)
8318 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8319 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8320 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8321 respect calendar-week-start-day.
8323 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8325 * simple.el (use-region-p): Doc fix (Bug#6607).
8327 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8329 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8330 Add regexps for cucumber and ruby.
8332 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8334 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8335 (epa-file-insert-file-contents): Hack to prevent
8336 find-file from opening empty buffer when decryption failed
8339 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8341 * textmodes/ispell.el (ispell-alternate-dictionary):
8342 Use file-readable-p.
8343 Return nil if no word-list is found at default locations.
8344 (ispell-complete-word-dict): Default to nil.
8345 (ispell-command-loop): Use 'word-list' when using lookup-words.
8346 (lookup-words): Use ispell-complete-word-dict or
8347 ispell-alternate-dictionary. Check for word-list availability
8348 and handle errors if needed with better messages (Bug#6539).
8349 (ispell-complete-word): Use ispell-complete-word-dict or
8350 ispell-alternate-dictionary.
8352 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8354 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8355 builtins (BufferError, BytesWarning, WindowsError; callables
8356 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8358 2010-07-07 Glenn Morris <rgm@gnu.org>
8360 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8361 (zone-shift-left): Ignore intangibility, and any errors from
8363 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8364 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8365 deleting, and copying text properties.
8366 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8367 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8368 to point-max is hard.
8369 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8370 (zone-fill-out-screen): Ignore intangibility.
8372 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8374 * menu-bar.el (menu-bar-mode):
8375 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8378 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8379 word/line selection (Bug#6565).
8381 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8383 * net/dbus.el (dbus-send-signal): Declare function.
8385 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8387 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8388 (dbus-register-property): New optional argument EMITS-SIGNAL.
8389 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8391 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8393 * mouse.el (mouse-drag-overlay): Variable deleted.
8394 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8395 (mouse--remap-link-click-p): New function.
8396 (mouse-drag-track): Handle dragging by using temporary Transient
8397 Mark mode, instead of a special overlay.
8398 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8401 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8404 2010-07-02 Juri Linkov <juri@jurta.org>
8406 * autoinsert.el (auto-insert-alist): Fix readability
8407 by using dotted pair notation for lambda.
8409 2010-07-02 Juri Linkov <juri@jurta.org>
8411 * faces.el (read-face-name): Rename arg `string-describing-default'
8412 to `default'. Doc fix. Display the default value in quotes
8413 in the prompt. With empty input, return the `default' arg,
8414 unless the default value is a string (in which case return nil).
8415 (describe-face): Replace the string `default' arg of `read-face-name'
8416 with the symbol `default'.
8418 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8420 * emulation/viper-cmd.el (viper-delete-backward-char)
8421 (viper-del-backward-char-in-insert)
8422 (viper-del-backward-char-in-replace, viper-change)
8423 (viper-backward-indent): Replace delete-backward-char with
8424 delete-char (Bug#6552).
8426 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8428 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8430 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8432 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8433 argument passed to frame-creation-function (Bug#5378).
8435 * faces.el (x-handle-named-frame-geometry)
8436 (x-handle-reverse-video, x-create-frame-with-faces)
8437 (face-set-after-frame-default, tty-create-frame-with-faces):
8438 Don't separately consult default-frame-alist. It is now passed as the
8441 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8443 * startup.el (command-line): Don't call tool-bar-setup in a
8446 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8448 * ruler-mode.el (ruler--save-header-line-format): New fun.
8449 (ruler-mode): Use it as a setter function, so as not to overwrite
8450 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8452 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8454 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8455 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8456 (vc-log-outgoing): Use it.
8457 (vc-diff-internal): Set diff-vc-backend.
8459 * vc/diff-mode.el (diff-vc-backend): New var.
8461 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8463 * dynamic-setting.el (font-setting-change-default-font):
8464 Remove call to message.
8466 2010-06-28 Kenichi Handa <handa@m17n.org>
8468 * international/quail.el (quail-insert-kbd-layout): Fix the
8469 showing of untranslated characters.
8471 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8473 * simple.el (delete-active-region): New option.
8474 (delete-backward-char): Implement in Lisp.
8475 (delete-forward-char): New command.
8477 * mouse.el (mouse-region-delete-keys): Deleted.
8478 (mouse-show-mark): Simplify.
8480 * bindings.el (global-map): Bind delete and DEL, the former to
8481 delete-forward-char.
8483 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8485 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8486 (ruby-mode): Bind indent-line-function (Bug#5119).
8488 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8490 * startup.el (command-line): Recognize "0" X resource value.
8492 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8494 * startup.el (command-line): Use X resources to set the value of
8495 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8497 * menu-bar.el (menu-bar-mode):
8498 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8499 Set init-value to t.
8501 * frame.el (frame-notice-user-settings): Don't change
8502 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8503 vice versa (Bug#2249).
8505 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8507 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8509 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8511 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8512 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8514 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8515 default directories are expanded (Bug#6143).
8517 2010-06-24 Juri Linkov <juri@jurta.org>
8519 * minibuffer.el (completions-format): Change default from nil to
8520 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8522 2010-06-24 Juri Linkov <juri@jurta.org>
8524 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8525 buffer-locally to lambda that re-runs the vc diff command.
8528 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8530 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8531 echo area is in use (Bug#3412).
8533 2010-06-22 Glenn Morris <rgm@gnu.org>
8535 * textmodes/texinfmt.el (texinfo-format-region)
8536 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8537 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8538 (texinfo-format-option, texinfo-noindent):
8539 Use line-beginning-position and line-end-position.
8541 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8542 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8543 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8546 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8548 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8549 forward-line fallout.
8551 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8553 * mouse.el (mouse-appearance-menu): Add docstring.
8555 * help.el (describe-key): Print up-event using key-description.
8557 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8559 * net/zeroconf.el (zeroconf-resolve-service)
8560 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8561 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8563 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8565 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8567 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8569 Avoid displaying files with a nil state in vc-dir.
8570 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8571 cases that cause insertion.
8572 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8575 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8577 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8579 2010-06-29 Leo <sdl.web@gmail.com>
8581 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8583 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8585 * generic-x.el (bat-generic-mode): Fix regexp for command line
8586 switches (Bug#5719).
8588 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8590 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8591 of nconc to avoid pure storage error (Bug#6239).
8593 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8595 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8596 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8597 bindings of bookmark-automatically-show-annotations (Bug#6515).
8599 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8601 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8602 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8604 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8606 * comint.el (make-comint, make-comint-in-buffer): Mention return
8607 value in the docstrings. (Bug#6498)
8609 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8611 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8612 since it is not present when using some non-default switches.
8614 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8616 * simple.el (compose-mail): Fix doc string to refer to
8617 `compose-mail-user-agent-warnings', instead of to the
8618 nonexistent `compose-mail-check-user-agent'.
8620 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8622 Fix an indentation bug:
8624 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8625 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8628 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8629 (c-clear->-pair-props-if-match-before): now return t when they've
8630 cleared properties, nil otherwise.
8631 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8632 by taking account of the existing value.
8634 * progmodes/cc-defs.el
8635 (c-clear-char-property-with-value-function): Fix this to clear the
8636 property rather than overwriting it with nil.
8638 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8640 * emacs-lisp/package.el (package-print-package): Add link to
8641 package description via describe-package.
8642 (describe-package-1): List package requirements. Add button to
8643 perform installation.
8644 (package-menu-describe-package): New command.
8646 * help-mode.el (help-package): New button type.
8648 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8650 * emacs-lisp/package.el: Move package-list-packages binding to
8652 (describe-package, describe-package-1, package--dir): New funs.
8653 (package-activate-1): Use package--dir.
8655 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8657 * help-mode.el (help-package-def): New button type.
8659 * menu-bar.el: Move package-list-packages binding here from
8662 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8664 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8666 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8668 * emacs-lisp/edebug.el (edebug-read-list):
8669 Phase out old-style backquotes.
8671 2010-06-17 Juri Linkov <juri@jurta.org>
8673 * help-mode.el (help-mode): Set buffer-local variable
8674 revert-buffer-function to help-mode-revert-buffer.
8675 (help-mode-revert-buffer): New function.
8677 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8678 before popping to "*info*" (like in other Info functions).
8679 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8680 old-history-forward. Pop to old-buffer-name or "*info*" to
8681 recreate the killed buffer. Set Info-history-forward from
8682 old-history-forward.
8683 (Info-breadcrumbs-depth): Add :group and :version.
8685 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8687 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8689 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8691 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8692 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8694 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8696 * emacs-lisp/package.el (package-menu-mode-map):
8697 Move initialization into declaration.
8699 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8701 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8703 * emacs-lisp/package.el (package-archive-base): Point to
8705 (package-enable, package-load-list): New defcustoms.
8706 (package-user-dir, package-directory-list): Turn into defcustoms.
8707 Don't include package-user-dir in package-directory-list.
8708 (package--builtins-base): Don't include Emacs as a "package".
8709 (package-subdirectory-regexp): New var.
8710 (package-load-all-descriptors, package-compute-transaction)
8711 (package-download-transaction): Obey package-load-list.
8712 (package-activate-1): Rename from package-do-activate.
8713 (package-list-packages-internal): Check package-load-list.
8714 (package-load-descriptor, package-generate-autoloads)
8715 (package-unpack, package-unpack-single)
8716 (package--read-archive-file, package-delete):
8717 Use expand-file-name.
8719 * emacs-lisp/package-x.el: New file. Package uploading
8720 functionality split out from package.el.
8722 * startup.el (command-line): Load packages after reading init file.
8724 2010-06-17 Tom Tromey <tromey@redhat.com>
8726 * emacs-lisp/package.el: New file.
8728 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8730 Fix vc-annotate for renamed files when using Git.
8731 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8732 ls-files. Doe not pass the object as a file name to cat-file, it
8734 (vc-git-annotate-command): Pass the file name using -- to avoid
8735 ambiguity with the revision.
8736 (vc-git-previous-revision): Pass a relative file name.
8738 2010-06-22 Glenn Morris <rgm@gnu.org>
8740 * progmodes/js.el (js-mode-map): Use standard capitalization and
8741 ellipses for menu entries.
8743 * wid-edit.el (widget-complete): Doc fix.
8745 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8747 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8749 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8751 Fix annotating other revisions for renamed files in vc-annotate.
8752 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8753 VC backend. Use it when non-nil.
8754 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8757 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8758 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8759 Do not pass the file name to the 'previous-revision call when we
8760 don't want a file diff. (Bug#6489)
8762 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8764 Fix finding revisions for renamed files in vc-annotate.
8765 * vc/vc.el (vc-find-revision): Add an optional argument for
8766 the VC backend. Use it when non-nil.
8767 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8768 backend to vc-find-revision. (Bug#6487)
8770 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8772 Fix reading file names in Git annotate buffers.
8773 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8774 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8776 2010-06-20 Alan Mackenzie <acm@muc.de>
8778 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8779 in file local variables, set it first.
8781 2010-06-19 Glenn Morris <rgm@gnu.org>
8783 * descr-text.el (describe-char-unicode-data): Insert separating
8784 space when needed. (Bug#6422)
8786 * progmodes/idlwave.el (idlwave-action-and-binding):
8787 Fix typo in 2009-12-03 change. (Bug#6450)
8789 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8791 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8792 handling for `lambda' (misunderstanding).
8794 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8796 * calc/calc-poly.el (math-accum-factors): Make sure that
8797 constants aren't distributed after they are factored out.
8799 2010-06-16 Juri Linkov <juri@jurta.org>
8801 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8802 `list-colors-print'. (Bug#6332)
8804 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8806 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8808 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8809 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8811 * font-lock.el (font-lock-major-mode): Rename from
8812 font-lock-mode-major-mode to distinguish it from
8813 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8814 (font-lock-set-defaults):
8815 * font-core.el (font-lock-default-function): Adjust users.
8816 (font-lock-mode): Don't set it at all.
8818 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8820 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8822 2010-06-16 Glenn Morris <rgm@gnu.org>
8824 * calendar/appt.el (appt-time-msg-list): Doc fix.
8825 (appt-check): Let-bind appt-warn-time.
8826 (appt-add): Make the 3rd argument optional.
8827 Simplify argument names. Doc fix. Check for integer WARNTIME.
8828 Only add WARNTIME to the output list if non-nil.
8830 2010-06-16 Ivan Kanis <apple@kanis.eu>
8832 * calendar/appt.el (appt-check): Let the 3rd element of
8833 appt-time-msg-list specify the warning time.
8834 (appt-add): Add new argument with the warning time. (Bug#5176)
8836 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8838 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8839 older than version 1.6. (Bug#6361)
8841 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8843 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8844 used by cl-do-arglist. (Bug#6408)
8846 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8848 * textmodes/ispell.el (ispell-dictionary-base-alist):
8849 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8850 Suggested by Rolando Pereira (bug#6434).
8852 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8854 * facemenu.el (list-colors-sort): Doc fix.
8856 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8858 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8860 2010-06-14 Juri Linkov <juri@jurta.org>
8862 Add sort option `list-colors-sort'. (Bug#6332)
8863 * facemenu.el (color-rgb-to-hsv): New function.
8864 (list-colors-sort): New defcustom.
8865 (list-colors-sort-key): New function.
8866 (list-colors-display): Doc fix. Sort list according to the option
8868 (list-colors-print): Add HSV values to `help-echo' property of
8871 2010-06-14 Juri Linkov <juri@jurta.org>
8873 * compare-w.el: Move to the "vc" subdirectory.
8875 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8877 * image-mode.el (image-mode-map): Remap left-char and right-char.
8879 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8881 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8883 * term/common-win.el (x-colors): Add all the color names defined
8884 in rgb.txt (Bug#6332).
8886 * facemenu.el (list-colors-print): Don't print extra names if it
8887 will overflow the window width.
8889 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8892 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8894 * files.el (make-directory): Doc fix (bug#6396).
8896 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8898 * net/tramp.el (tramp-remote-process-environment): Protect version
8899 string by apostroph.
8900 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8902 (tramp-file-name-for-operation): Add `call-process-region'.
8903 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8905 * net/tramp-compat.el (top): Do not autoload
8906 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8907 only when `start-file-process' is not bound.
8908 (tramp-advice-file-expand-wildcards): Do not use
8909 `tramp-handle-file-remote-p'.
8910 (tramp-compat-make-temp-file): Handle the case, that
8911 `make-temp-file' has no third argument EXTENSION.
8913 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8915 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8917 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8919 2010-06-11 Juri Linkov <juri@jurta.org>
8921 * finder.el (finder-known-keywords): Add keyword "vc"
8922 for version control.
8924 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8925 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8926 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8927 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8929 2010-06-11 Juri Linkov <juri@jurta.org>
8931 Move version control related files to the "vc" subdirectory.
8932 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8933 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8934 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8935 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8936 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8937 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8938 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8939 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8940 Move files to the "vc" subdirectory.
8942 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8944 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8947 2010-06-11 Stephen Eglen <stephen@gnu.org>
8949 * shell.el: Bind `shell-resync-dirs' to M-RET.
8951 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8953 * notifications.el: Move file from lisp/net, because it is
8954 supposed to talk locally to the user.
8956 2010-06-10 Julien Danjou <julien@danjou.info>
8958 * net/notifications.el (notifications-on-action-signal)
8959 (notifications-on-closed-signal): Pass notification id as first
8960 argument to the callback functions. Add docstrings.
8961 (notifications-notify): Fix docstring.
8963 2010-06-10 Glenn Morris <rgm@gnu.org>
8965 * emacs-lisp/authors.el (authors-ignored-files)
8966 (authors-valid-file-names): Add some files.
8968 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8970 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8971 merge conflict, giving preference to the emacs-23 version of the code.
8973 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8975 * emacs-lisp/advice.el (ad-compile-function):
8976 Define warning-suppress-types before we let-bind it (bug#6275).
8978 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8979 declare it, make it buffer-local and permanent-local (bug#6324).
8980 (vc-resynch-window): Adjust name.
8981 * vc-hooks.el (vc-find-file-hook): Adjust name.
8983 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8985 * net/notifications.el (notifications-notify): Fix docstring.
8987 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8989 Update to Unicode 6.0.0 beta.
8990 * international/charprop.el: Update copyright.
8991 * international/mule-cmds.el (ucs-names): Update character ranges.
8992 * international/uni-bidi.el:
8993 * international/uni-category.el:
8994 * international/uni-combining.el:
8995 * international/uni-comment.el:
8996 * international/uni-decimal.el:
8997 * international/uni-decomposition.el:
8998 * international/uni-digit.el:
8999 * international/uni-lowercase.el:
9000 * international/uni-mirrored.el:
9001 * international/uni-name.el:
9002 * international/uni-numeric.el:
9003 * international/uni-old-name.el:
9004 * international/uni-titlecase.el:
9005 * international/uni-uppercase.el: Regenerate.
9007 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9009 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9010 (smie-precs-precedence-table): Fix typo in docstring.
9012 * vc-mtn.el (log-edit-extract-headers): Declare function.
9014 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9016 * net/notifications.el (dbus-register-signal): Declare function.
9017 (notifications-notify): Fix typos and reflow docstring.
9019 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9021 Improve VC create/retrieve tag/branch.
9022 * vc.el (vc-create-tag): Do not read the directory name for VCs
9023 with repository revision granularity. Adjust the tag/branch
9024 prompt. Reset VC properties.
9025 (vc-retrieve-tag): Do not read the directory name for VCs
9026 with repository revision granularity. Reset VC properties.
9028 2010-06-09 Julien Danjou <julien@danjou.info>
9030 * net/notifications.el: New file.
9032 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9034 Add optional support for resetting VC properties.
9035 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9036 call vc-file-clearprops when true.
9037 (vc-resynch-buffer): Add new optional argument, pass it down.
9038 (vc-resynch-buffers-in-directory): Likewise.
9040 Improve support for special markup in the VC commit message.
9041 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9042 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9043 * vc-git.el (vc-git-checkin):
9044 * vc-bzr.el (vc-bzr-checkin): Likewise.
9046 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9048 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9049 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9051 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9053 * iimage.el: Remove images as soon as the underlying text is modified.
9054 (iimage-modification-hook): New function.
9055 (iimage-mode-buffer): Use it.
9057 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9059 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9060 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9061 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9062 (smie-indent-keyword): Add handling of open-paren keywords.
9063 (smie-indent-comment-continue): Don't assume comment-continue.
9065 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9067 * window.el (pop-to-buffer): Remove the conditional that
9068 compares new-window and old-window, so it will reselect
9069 the selected window unconditionally.
9070 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9072 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9074 * emacs-lisp/smie.el (smie-indent-offset-after)
9075 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9076 (smie-indent-after-keyword): Use them.
9077 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9078 (smie-indent-keyword): Tweak the black magic.
9079 (smie-indent-comment-continue): Strip comment-continue before use.
9080 (smie-indent-functions): Indent comments before keywords.
9082 2010-06-06 Juri Linkov <juri@jurta.org>
9084 * isearch.el (isearch-lazy-highlight-search): Fix looping
9085 by checking for empty match. This syncs this loop with the
9086 similar loop in `isearch-search'. (Bug#6362)
9088 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9090 * net/dbus.el (dbus-register-method): Declare function.
9091 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9092 (dbus-introspect): Doc fix.
9093 (dbus-event-bus-name, dbus-introspect-get-interface)
9094 (dbus-introspect-get-argument): Reflow docstrings.
9096 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9098 vc-log-incoming/vc-log-outgoing fixes for Git.
9099 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9100 incoming/outgoing logs.
9101 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9102 instead of vc-git-compute-remote.
9103 (vc-git-compute-remote): Remove.
9105 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9107 * term/common-win.el (x-colors): Add "dark green" and "dark
9108 turquoise" (Bug#6332).
9110 2010-06-04 Juri Linkov <juri@jurta.org>
9112 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9113 Instead of setting `replace' to t and replacing the same string
9114 with itself, don't do certain actions when
9115 kill-do-not-save-duplicates is non-nil and string is equal to car
9116 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9117 interprogram-paste strings to kill-ring, and don't push the input
9118 argument `string' to kill-ring.
9119 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9121 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9123 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9125 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9127 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9128 (tramp-gvfs-handler-mounted-unmounted)
9129 (tramp-gvfs-connection-mounted-p): Handle default-location.
9131 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9132 move files to trash.
9134 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9136 * international/mule-cmds.el (nonascii-insert-offset)
9137 (nonascii-translation-table): Add obsolescence information.
9139 * international/mule.el (make-translation-table-from-vector): Doc fix.
9141 2010-06-03 Glenn Morris <rgm@gnu.org>
9143 * desktop.el (desktop-clear-preserve-buffers):
9144 Add "*Warnings*" buffer. (Bug#6336)
9146 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9148 vc-log-incoming/vc-log-outgoing improvements for Git.
9149 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9151 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9153 Add bindings for vc-log-incoming and vc-log-outgoing.
9154 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9155 and vc-log-outgoing.
9156 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9157 and vc-log-outgoing.
9159 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9161 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9162 (rcirc-handler-366): Always sort nicknames.
9164 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9166 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9168 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9170 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9172 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9174 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9175 (rcirc-sort-nicknames-join): Avoid setq.
9177 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9179 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9180 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9181 (rcirc-handler-366): Use them.
9183 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9185 Split smie-indent-calculate into more manageable chunks.
9186 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9187 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9188 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9189 (smie-indent-exps): Extract from smie-indent-calculate.
9190 (smie-indent-functions): New var.
9191 (smie-indent-functions): Use them.
9193 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9195 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9196 (smie-indent-calculate): Simplify and cleanup.
9198 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9200 * net/tramp-gvfs.el (top): Require url-util.
9201 (tramp-gvfs-mount-point): Remove.
9202 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9204 (with-tramp-dbus-call-method): Format trace message.
9205 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9206 Implement backup call, when operation on local files fails.
9207 Use progress reporter. Flush properties of changed files.
9208 (tramp-gvfs-handle-make-directory): Make more traces.
9209 (tramp-gvfs-url-file-name): Hexify file name in url.
9210 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9211 into account for the resulting file name.
9212 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9213 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9214 (tramp-gvfs-handler-mounted-unmounted)
9215 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9216 attribute "default_location". Set "prefix" property.
9217 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9218 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9219 exists. Raise an error, if not (due to a corresponding answer
9220 "no" in interactive questions, for example).
9222 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9224 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9226 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9228 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9231 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9233 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9234 * vc-git.el (vc-git-compute-remote): New function.
9235 (vc-git-log-outgoing): Use it instead of hard coding a value.
9236 (vc-git-log-incoming): New function.
9238 Improve state updating for VC tag commands.
9239 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9240 to update the state of all buffers in the directory.
9242 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9244 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9246 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9247 `file-directory-p' to the filename part rather than to the whole text.
9249 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9251 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9253 2010-05-31 Drew Adams <drew.adams@oracle.com>
9255 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9257 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9259 * subr.el (momentary-string-display): Just use read-event to read
9260 the exit event (Bug#6238).
9262 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9264 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9266 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9268 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9269 Suggested by Eli Zaretskii <eliz@gnu.org>.
9271 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9273 * minibuffer.el (completion-file-name-table): Don't return a boundary
9274 past the end of `string' (bug#6299).
9275 (completion--file-name-table): Delegate to completion-file-name-table
9276 for the `boundaries' case.
9278 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9280 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9283 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9284 `path-separator', but maintain compatibility with Emacs 20.2.
9286 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9288 * server.el (server-process-filter): Receive parent-id argument
9290 (server-create-window-system-frame): New arg. Pass parent-id as
9293 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9295 Bidi-sensitive word movement with arrow keys.
9296 * subr.el (right-arrow-command, left-arrow-command): Move to
9299 * bindings.el (right-char, left-char): Move from subr.el and
9300 rename from right-arrow-command and left-arrow-command.
9301 (right-word, left-word): New functions.
9302 (global-map) <right>: Bind to right-char.
9303 (global-map) <left>: Bind to left-char.
9304 (global-map) <C-right>: Bind to right-word.
9305 (global-map) <C-left>: Bind to left-word.
9307 * ls-lisp.el (ls-lisp-classify-file): New function.
9308 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9309 (ls-lisp-classify): Call ls-lisp-classify-file.
9310 (insert-directory): Remove blanks from switches.
9312 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9314 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9315 (ansi-color-drop-regexp): New constant.
9316 (ansi-color-apply, ansi-color-filter-region)
9317 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9318 (ansi-color-apply): Build string list before calling concat.
9320 2010-05-28 Juri Linkov <juri@jurta.org>
9322 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9323 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9326 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9328 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9329 to ignored backtrace functions.
9330 (with-progress-reporter): Expand docstring.
9331 (tramp-handle-delete-file): Implement TRASH argument.
9332 (tramp-get-remote-trash): New defun.
9334 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9336 * net/tramp-compat.el (tramp-compat-delete-file):
9337 Use `symbol-value' for backward compatibility.
9339 * net/tramp.el (tramp-handle-make-symbolic-link)
9341 (tramp-do-copy-or-rename-file-via-buffer)
9342 (tramp-do-copy-or-rename-file-directly)
9343 (tramp-do-copy-or-rename-file-out-of-band)
9344 (tramp-handle-process-file, tramp-handle-call-process-region)
9345 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9346 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9347 (tramp-delete-temp-file-function): Use `delete-file' instead
9348 of `tramp-compat-delete-file'.
9350 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9351 (tramp-fish-handle-make-symbolic-link)
9352 (tramp-fish-handle-process-file): Use `delete-file' instead
9353 of `tramp-compat-delete-file'.
9355 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9356 Use `delete-file' instead of `tramp-compat-delete-file'.
9358 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9359 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9360 `tramp-compat-delete-file'.
9362 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9363 Use `delete-file' instead of `tramp-compat-delete-file'.
9365 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9366 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9367 (tramp-smb-handle-write-region): Use `delete-file' instead of
9368 `tramp-compat-delete-file'.
9369 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9371 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9373 * dired.el (dired-delete-file): New arg TRASH.
9374 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9375 (dired-do-flagged-delete, dired-do-delete): Use trash.
9377 * speedbar.el (speedbar-item-delete): Allow trashing.
9379 * files.el (delete-directory): New arg TRASH.
9381 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9382 (ange-ftp-rename-remote-to-remote)
9383 (ange-ftp-rename-local-to-remote)
9384 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9385 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9387 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9390 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9391 handle new TRASH arg of `delete-file'.
9393 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9394 (tramp-handle-make-symbolic-link, tramp-handle-load)
9395 (tramp-do-copy-or-rename-file-via-buffer)
9396 (tramp-do-copy-or-rename-file-directly)
9397 (tramp-do-copy-or-rename-file-out-of-band)
9398 (tramp-handle-process-file, tramp-handle-call-process-region)
9399 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9400 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9401 (tramp-delete-temp-file-function): Use null TRASH arg in
9402 tramp-compat-delete-file call.
9404 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9405 (tramp-fish-handle-delete-file)
9406 (tramp-fish-handle-make-symbolic-link)
9407 (tramp-fish-handle-process-file): Use null TRASH arg in
9408 `tramp-compat-delete-file' call.
9410 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9411 arg in `tramp-compat-delete-file' call.
9413 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9414 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9415 `tramp-compat-delete-file' call.
9417 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9418 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9419 `tramp-compat-delete-file' call.
9421 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9422 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9423 (tramp-smb-handle-write-region): Use null TRASH arg in
9424 tramp-compat-delete-file call.
9425 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9426 (tramp-smb-handle-delete-file): Rename arg.
9428 * diff.el (diff-sentinel):
9429 * epg.el (epg--make-temp-file, epg-decrypt-string)
9430 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9431 * jka-compr.el (jka-compr-partial-uncompress)
9432 (jka-compr-call-process, jka-compr-write-region):
9433 * server.el (server-sentinel): Remove optional arg from
9434 delete-file, reverting 2010-05-03 change.
9436 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9438 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9439 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9441 2010-05-27 Kenichi Handa <handa@m17n.org>
9443 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9444 element of GSTRING is nil.
9446 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9448 * emacs-lisp/smie.el (smie-forward-token-function)
9449 (smie-backward-token-function): New vars.
9450 (smie-backward-sexp, smie-forward-sexp)
9451 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9452 (smie-default-backward-token): Rename from smie-backward-token and
9454 (smie-default-forward-token): Rename from smie-forward-token and
9456 (smie-next-sexp): Handle nil results from next-token.
9457 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9459 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9461 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9462 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9464 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9466 * htmlfontify.el (hfy-face-resolve-face): New function.
9467 (hfy-face-to-style): Use it (Bug#6279).
9469 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9471 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9472 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9474 2010-05-26 Glenn Morris <rgm@gnu.org>
9476 * emulation/edt.el (edt-load-keys): Use locate-library.
9478 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9480 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9481 (log-edit-changelog-entries): Doc fix.
9482 (log-edit-changelog-insert-entries): Args changed.
9483 Rename relative filenames in ChangeLog entries. Delete tabs.
9484 (log-edit-insert-changelog-entries): Reorganize return value of
9485 `log-edit-changelog-entries' to pass filenames to
9486 log-edit-changelog-insert-entries.
9488 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9490 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9491 `image-dired-dired-insert-marked-thumbs' to
9492 `image-dired-dired-toggle-marked-thumbs'.
9494 * image-dired.el: Require cl when compiling.
9495 (image-dired-dired-toggle-marked-thumbs): Rename from
9496 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9497 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9498 to 'no-dir. Skip files whose names don't match
9499 `image-file-name-regexp'. When file has a thumbnail overlay,
9500 delete it. (Bug#5270)
9502 2010-05-25 Juri Linkov <juri@jurta.org>
9504 * image-mode.el (image-mode): Add image-after-revert-hook to
9506 (image-after-revert-hook): New function. (Bug#5669)
9508 2010-05-25 Juri Linkov <juri@jurta.org>
9510 * image.el (image-animated-p): When delay between animated images
9511 is 0, set it to 10 (0.1 sec). (Bug#6258)
9513 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9515 * net/tramp.el (tramp-handle-insert-directory): Don't use
9516 `forward-word', its default syntax could be changed.
9518 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9520 * net/tramp.el (tramp-progress-reporter-update): New defun.
9521 (with-progress-reporter): Use it.
9522 (tramp-process-actions):
9523 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9524 Preserve current message, in order to let progress reporter continue
9525 afterwards. (Bug#6257)
9527 2010-05-25 Glenn Morris <rgm@gnu.org>
9529 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9532 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9534 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9535 (rcirc-default-full-name): Change to "unknown".
9536 (rcirc-user-name-history): Add variable.
9538 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9539 Jonathan Rockway <jon@jrock.us>
9541 * net/rcirc.el (rcirc-server-alist): Add :pass.
9542 (rcirc): When prompting for connection parameters, also prompt for
9543 username and password.
9544 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9545 value to server when connecting.
9547 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9549 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9550 (smie-merge-prec2s): Pass the tables as separate args.
9551 (smie-bnf-precedence-table): Adjust call accordingly.
9552 (smie-prec2-levels): Set levels at the end.
9554 Replace Lisp calls to delete-backward-char by delete-char.
9555 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9556 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9557 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9558 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9559 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9560 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9561 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9562 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9563 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9564 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9565 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9566 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9567 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9568 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9569 delete-backward-char by calls to delete-char.
9571 2010-05-25 Kenichi Handa <handa@m17n.org>
9573 * language/hebrew.el (hebrew-shape-gstring): New function.
9574 Register it in composition-function-table for all Hebrew combining
9577 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9579 * epa.el (epa--select-keys): Don't explicitly delete the window since
9580 that can fail (e.g. sole window in frame). Use dedication instead.
9582 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9584 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9586 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9588 * image.el (image-refresh): Define as an alias for image-flush.
9590 * image-mode.el (image-toggle-display-image): Caller changed.
9592 2010-05-21 Juri Linkov <juri@jurta.org>
9594 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9595 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9596 whitespace, call wildcard-to-regexp on substrings and concat them
9597 with "\\|". (Bug#6114)
9599 2010-05-21 Alan Mackenzie <acm@muc.de>
9601 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9602 Replace parameter `here' with `here-' and `here-plus', which sandwich
9603 any pertinent CPP construct.
9604 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9605 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9606 CPP construct from taking part in the scanning.
9608 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9610 * net/tramp.el (tramp-do-copy-or-rename-file)
9611 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9612 Tune `with-progress-reporter' messages.
9613 (tramp-handle-vc-registered):
9614 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9615 (tramp-fish-handle-insert-file-contents)
9616 (tramp-fish-maybe-open-connection):
9617 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9618 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9619 (tramp-imap-handle-insert-file-contents)
9620 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9622 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9624 * add-log.el (change-log-font-lock-keywords):
9625 Highlight all authors in multi-author entries.
9627 * smerge-mode.el (smerge-refine-ignore-whitespace)
9628 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9629 Fix typos in docstrings.
9630 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9632 2010-05-21 Glenn Morris <rgm@gnu.org>
9634 * progmodes/fortran.el (fortran-mode):
9635 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9637 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9638 having a relative path in src/Makefile.in.
9640 2010-05-20 Kevin Ryde <user42@zip.com.au>
9642 * help-mode.el (help-make-xrefs): For Info node links turn
9643 newlines into spaces. Link node names with newlines are matched
9644 by help-xref-info-regexp and buttonized, this change ensures they
9645 can be followed successfully with RET. (Bug#6206)
9647 2010-05-20 Juri Linkov <juri@jurta.org>
9649 * locate.el (locate): Use pop-to-buffer instead of
9650 switch-to-buffer-other-window. (Bug#6204)
9652 2010-05-20 Juri Linkov <juri@jurta.org>
9654 * replace.el (replace-highlight): Fix lazy-highlighting
9655 for `M-s w str M-% str RET'.
9657 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9659 * isearch.el (isearch-yank-word-or-char): Pull next subword
9660 when `subword-mode' is activated. (Bug#6220)
9662 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9664 * isearch.el (isearch-update-post-hook): New hook.
9665 (isearch-update): Use the new hook. (Bug#6225)
9667 2010-05-20 Juri Linkov <juri@jurta.org>
9669 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9670 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9673 2010-05-20 Juri Linkov <juri@jurta.org>
9675 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9678 2010-05-20 Juri Linkov <juri@jurta.org>
9680 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9681 FILE-NAME to read from the minibuffer when called interactively
9682 with prefix argument instead of using buffer-file-name.
9683 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9685 * dired.el: Update autoloads.
9687 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9689 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9690 nxml-finish-element, for consistency with SGML mode.
9692 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9695 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9697 * composite.el: Require cl when compiling.
9698 (reference-point-alist, compose-gstring-for-graphic)
9699 (compose-gstring-for-terminal): Fix typos in docstrings.
9701 2010-05-19 Juri Linkov <juri@jurta.org>
9703 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9704 set-window-parameter.
9706 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9708 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9710 (tramp-maybe-open-connection): Use it.
9712 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9714 * simple.el (move-end-of-line): Make sure we are at line beginning
9715 before backing up to end of previous line.
9717 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9719 * password-cache.el (password-cache-remove): Fix docstring.
9721 * net/secrets.el: Autoload the widget functions.
9722 (secrets-search-items, secrets-create-item)
9723 (secrets-get-attributes, secrets-expand-item): Attributes will be
9724 stored on the password database without leading ":", as all other
9726 (secrets-mode): Fix docstring.
9727 (secrets-show-secrets): Provide it as autoloaded command only when
9728 D-Bus support is available. Check existence of Secret Service API.
9730 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9732 * indent.el (indent-region): Deactivate region (bug#6200).
9734 2010-05-19 Glenn Morris <rgm@gnu.org>
9736 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9738 2010-05-19 Kenichi Handa <handa@m17n.org>
9740 * composite.el: Register compose-gstring-for-graphic in
9741 composition-function-table only for combining characters (Mn, Mc, Me).
9743 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9745 * calc/calc-trail.el (calc-trail-isearch-forward)
9746 (calc-trail-isearch-backward): Ensure that the new window
9747 point is set correctly.
9749 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9751 * subr.el (read-quoted-char): Resolve modifiers after key
9752 remapping (bug#6212).
9754 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9756 Add visualization code for secrets.
9757 * net/secrets.el (secrets-mode): New major mode.
9758 (secrets-show-secrets, secrets-show-collections)
9759 (secrets-expand-collection, secrets-expand-item)
9760 (secrets-tree-widget-after-toggle-function)
9761 (secrets-tree-widget-show-password): New defuns.
9763 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9765 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9766 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9767 handled in smie-next-sexp.
9768 (smie-indent-calculate): Provide a starting indentation (so the
9769 recursion is well-founded ;-).
9771 Fix handling of non-associative equal levels.
9772 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9773 when it's not needed.
9774 (smie-op-left, smie-op-right): New functions.
9775 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9776 Better handle equal levels to distinguish the associative case from
9777 the "multi-keyword construct" case.
9778 (smie-backward-sexp, smie-forward-sexp): Use it.
9780 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9782 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9784 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9785 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9787 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9789 Provide a simple generic indentation engine and use it for Prolog.
9790 * emacs-lisp/smie.el: New file.
9791 * progmodes/prolog.el (prolog-smie-op-levels)
9792 (prolog-smie-indent-rules): New var.
9793 (prolog-mode-variables): Use them to configure SMIE.
9794 (prolog-indent-line, prolog-indent-level): Remove.
9796 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9798 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9799 order before computing the averages.
9801 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9803 * calc/calc-vec.el (calc-histogram):
9804 (calcFunc-histogram): Allow vectors as inputs.
9805 (math-vector-avg): New function.
9807 * calc/calc-ext.el (math-group-float): Have the number of digits
9808 being grouped depend on the radix (Bug#6189).
9810 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9812 * version.el (emacs-copyright, emacs-version): Don't define here,
9813 now that emacs.c defines it.
9815 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9817 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9818 "Describe Language Environment" menu item.
9820 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9822 Bidi-sensitive movement with arrow keys.
9823 * subr.el (right-arrow-command, left-arrow-command): New functions.
9825 * bindings.el (global-map): Bind them to right and left arrow keys.
9827 Don't override standard definition of convert-standard-filename.
9828 * files.el (convert-standard-filename):
9829 Call w32-convert-standard-filename and dos-convert-standard-filename on
9830 the corresponding systems.
9832 * w32-fns.el (w32-convert-standard-filename): Rename from
9833 convert-standard-filename. Doc fix.
9835 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9836 (convert-standard-filename): Don't defalias.
9837 (register-name-alist, make-register, register-value)
9838 (set-register-value, intdos): Obsolete aliases for the
9839 corresponding dos-* functions and variables.
9840 (dos-intdos): Add a doc string.
9842 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9844 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9845 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9846 (math-compose-tex-func):
9847 * calc/calccomp.el (math-compose-expr):
9848 * calc/calc-ext.el (math-format-flat-expr-fancy):
9849 * calc/calc-store.el (calc-read-var-name):
9850 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9852 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9853 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9854 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9855 (math-standard-units): Add units.
9857 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9859 * progmodes/asm-mode.el (asm-mode):
9860 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9862 * pcomplete.el (pcomplete-completions-at-point): New function,
9863 extracted from pcomplete-std-complete.
9864 (pcomplete-std-complete): Use it.
9866 2010-05-15 Glenn Morris <rgm@gnu.org>
9868 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9869 Remove references to CVS, RCS and Old directories.
9871 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9873 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9876 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9878 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9879 (sh-mode-syntax-table): Give it a default value instead.
9880 (sh-header-marker): Make buffer-local.
9881 (sh-mode): Move make-local-variable to the corresponding setq.
9882 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9883 Use complete-with-action.
9885 * simple.el (prog-mode): New (abstract) major mode.
9886 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9887 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9889 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9891 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9892 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9893 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9894 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9895 (sql-escape-newlines-filter, sql-input-sender)
9896 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9898 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9900 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9902 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9903 latex-open-block and C-c / to latex-close-block.
9905 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9906 and C-c C-e to sgml-close-tag.
9908 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9910 * net/tramp.el (with-progress-reporter): Create reporter object
9911 only when the message would be displayed. Handle nested calls.
9912 (tramp-handle-load, tramp-handle-file-local-copy)
9913 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9914 (tramp-maybe-send-script, tramp-find-shell):
9915 Use `with-progress-reporter'.
9916 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9919 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9920 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9921 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9922 Use `with-progress-reporter'.
9924 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9926 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9927 process everytime when spellchecking from the minibuffer (bug#6143).
9929 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9931 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9933 * dos-fns.el: Add "dos-" prefix for namespace control.
9934 (convert-standard-filename): Define as alias for
9935 dos-convert-standard-filename but only if applicable.
9937 2010-05-12 Alan Mackenzie <acm@muc.de>
9939 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9940 Push the mark at the start of these functions when appropriate.
9942 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9944 * minibuffer.el (completion-cycle-threshold): New custom var.
9945 (completion--do-completion): Use it.
9946 (minibuffer-complete): Use cycling if appropriate.
9948 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9950 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9951 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9953 2010-05-11 Juri Linkov <juri@jurta.org>
9955 * scroll-all.el (scroll-all-check-to-scroll):
9956 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9958 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9960 * iimage.el (iimage-mode-map): Move initialization into declaration.
9961 (iimage-mode-buffer): Use with-silent-modifications.
9962 Simplify calling convention. Adjust callers.
9963 (iimage-mode): Don't run hook redundantly.
9965 * minibuffer.el (completion-pcm--pattern->regex):
9966 Fix last change (bug#6160).
9968 2010-05-10 Juri Linkov <juri@jurta.org>
9970 Remove nodes visited during Isearch from the Info history.
9971 * info.el (Info-isearch-initial-history)
9972 (Info-isearch-initial-history-list): New variables.
9973 (Info-isearch-start): Record initial values of
9974 Info-isearch-initial-history and Info-isearch-initial-history-list.
9975 Add Info-isearch-end to isearch-mode-end-hook.
9976 (Info-isearch-end): New function.
9978 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9980 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9981 format string, in order to work around a bug in pdksh.
9982 Reported by Gilles Pion <gpion@lfdj.com>.
9983 (tramp-handle-verify-visited-file-modtime): Do not send a command
9984 when the connection is not established.
9985 (tramp-handle-set-file-times): Simplify the check for utc.
9987 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9989 Fix use of `filter-buffer-substring' (rework previous change).
9990 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9991 (cua-repeat-replace-region):
9992 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9993 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9994 (cua-cut-region-to-global-mark): Use it.
9996 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9998 * progmodes/sql.el: Version 2.1.
9999 (sql-product-alist): Redesign structure of product info.
10000 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10001 (sql-port, sql-port-history): New variables.
10002 (sql-interactive-product): New variable.
10003 (sql-send-terminator): New variable.
10004 (sql-imenu-generic-expression): Add "Types" imenu entry.
10005 (sql-oracle-login-params, sql-sqlite-login-params)
10006 (sql-mysql-login-params, sql-solid-login-params)
10007 (sql-sybase-login-params, sql-informix-login-params)
10008 (sql-ingres-login-params, sql-ms-login-params)
10009 (sql-postgres-login-params, sql-interbase-login-params)
10010 (sql-db2-login-params, sql-linter-login-params)
10011 (sql-oracle-scan-on): New variables.
10012 (sql-mode-map): Add C-c C-i to start interactive mode.
10013 (sql-mode-menu): Update existing menu entries.
10014 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10015 (sql-mode-oracle-font-lock-keywords)
10016 (sql-mode-postgres-font-lock-keywords)
10017 (sql-mode-ms-font-lock-keywords)
10018 (sql-mode-sybase-font-lock-keywords)
10019 (sql-mode-informix-font-lock-keywords)
10020 (sql-mode-interbase-font-lock-keywords)
10021 (sql-mode-ingres-font-lock-keywords)
10022 (sql-mode-solid-font-lock-keywords)
10023 (sql-mode-mysql-font-lock-keywords)
10024 (sql-mode-sqlite-font-lock-keywords)
10025 (sql-mode-db2-font-lock-keywords)
10026 (sql-mode-linter-font-lock-keywords): Update initialization to
10027 reduce run-time complexity.
10028 (sql-add-product, sql-del-product): New functions.
10029 (sql-set-product-feature, sql-get-product-feature): New functions.
10030 (sql-product-font-lock): Update product API.
10031 (sql-add-product-keywords): New function.
10032 (sql-highlight-product): Update product API.
10033 (sql-help-list-products): New function.
10034 (sql-help): Dynamically lists free and non-free products.
10035 (sql-get-login): Correct bug in handling history and added
10037 (sql-copy-column): Copy without properties.
10038 (sqli-input-sender): Apply filters to SQLi input.
10039 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10040 Implement as a filter.
10041 (sql-escape-newlines-filter): Implement as a filter.
10042 (sql-remove-tabs-filter): New function.
10043 (sql-send-magic-terminator): New function.
10044 (sql-send-string): Implement magic terminator.
10045 (sql-send-region): Use `sql-send-string'.
10046 (sql-interactive-mode): Use product API.
10047 (sql-product-interactive): Use product API.
10048 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10049 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10050 (sql-db2, sql-linter): Use `sql-product-interactive'.
10051 (sql-connect): New function.
10052 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10053 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10054 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10055 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10058 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10060 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10061 New custom variable.
10062 (completion-pcm--string->pattern): Use it.
10063 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10064 Make it handle any symbol as `any'.
10065 (completion-pcm--merge-completions): Extract common suffix for the new
10066 `prefix' symbol as well.
10067 (completion-substring--all-completions): Use the new `prefix' symbol.
10069 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10071 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10073 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10074 (tramp-compat-funcall): New defmacro.
10075 (tramp-compat-line-beginning-position)
10076 (tramp-compat-line-end-position)
10077 (tramp-compat-temporary-file-directory)
10078 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10079 (tramp-compat-copy-file, tramp-compat-copy-directory)
10080 (tramp-compat-delete-file, tramp-compat-delete-directory)
10081 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10082 * net/tramp.el (top, with-progress-reporter)
10083 (tramp-rfn-eshadow-setup-minibuffer)
10084 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10085 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10086 (tramp-completion-mode-p, tramp-check-for-regexp)
10087 (tramp-open-connection-setup-interactive-shell)
10088 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10089 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10090 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10091 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10092 (tramp-reporter-dump-variable, tramp-load-report-modules)
10093 (tramp-append-tramp-buffers)
10094 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10096 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10098 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10100 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10101 buffer-modtime. Adjust users.
10103 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10105 * international/mule.el (auto-coding-alist): Only purecopy
10106 car of each item, not the whole list (Bug#6083).
10108 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10110 * progmodes/js.el (js-mode): Make paragraph variables local before
10111 calling c-setup-paragraph-variables (Bug#6071).
10113 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10115 * composite.el (compose-region, reference-point-alist): Fix typos
10116 in the doc strings.
10118 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10120 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10121 gnuplot's "set" command.
10123 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10125 * abbrev.el (last-abbrev-text): Doc fix.
10126 (abbrev-prefix-mark): Don't escape parenthesis.
10128 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10130 * composite.el (find-composition): Doc fix.
10132 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10134 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10135 (sql-oracle-program, sql-sqlite-options)
10136 (sql-query-placeholders-and-send): Doc fixes.
10137 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10138 (sql-imenu-generic-expression, sql-buffer)
10139 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10140 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10141 (sql-mode-sybase-font-lock-keywords)
10142 (sql-mode-informix-font-lock-keywords)
10143 (sql-mode-interbase-font-lock-keywords)
10144 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10145 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10146 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10147 (sql-product-feature, sql-highlight-product)
10148 (comint-line-beginning-position, sql-rename-buffer)
10149 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10150 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10151 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10152 Fix typos in docstrings.
10154 2010-05-08 Juri Linkov <juri@jurta.org>
10156 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10157 property instead of `invisible' and `after-string' (bug#5998).
10159 2010-05-08 Juri Linkov <juri@jurta.org>
10161 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10163 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10165 * filecache.el (file-cache-add-directory-list)
10166 (file-cache-add-directory-recursively): Fix typos in docstrings.
10168 2010-05-08 Kenichi Handa <handa@m17n.org>
10170 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10171 (gujarati-composable-pattern): Fix typo.
10173 2010-05-08 Kenichi Handa <handa@m17n.org>
10175 * language/indian.el (oriya-composable-pattern)
10176 (tamil-composable-pattern, malayalam-composable-pattern):
10177 Add two-part vowels to "v" (vowel sign).
10179 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10181 * files.el (copy-directory): Handle symlinks (Bug#5982).
10183 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10185 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10186 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10189 2010-05-08 Glenn Morris <rgm@gnu.org>
10191 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10193 * minibuffer.el (completion-at-point): Doc fix.
10195 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10197 * electric.el (Electric-command-loop): Minor tweak.
10199 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10200 better with dedicated windows.
10202 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10204 * Version 23.2 released.
10206 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10207 Stefan Monnier <monnier@iro.umontreal.ca>
10209 Highlight vendor specific properties.
10210 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10211 (css-proprietary-property): New face.
10212 (css-font-lock-keywords): Use them.
10214 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10216 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10218 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10220 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10221 * files.el (auto-mode-alist): Remove redundant entries.
10223 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10224 * simple.el (auto-save-mode): Move from files.el.
10225 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10227 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10229 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10231 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10233 * mail/binhex.el (binhex-decode-region-internal)
10234 * mail/uudecode.el (uudecode-decode-region-internal)
10235 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10236 (dns-read-type, dns-query)
10237 * pgg-parse.el (pgg-parse-armor)
10238 * pgg.el (pgg-verify-region)
10239 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10242 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10244 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10246 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10248 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10249 * emulation/cua-base.el (cua-repeat-replace-region):
10250 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10251 (cua-cut-region-to-global-mark):
10252 Remove text properties with `set-text-properties'.
10254 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10256 * net/tramp.el (top, with-progress-reporter):
10257 Use `symbol-function' inside `funcall'.
10259 * net/tramp-compat.el (tramp-compat-file-attributes)
10260 (tramp-compat-delete-file, tramp-compat-delete-directory):
10261 Handle only `wrong-number-of-arguments' error.
10263 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10264 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10267 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10269 * minibuffer.el (completion--sreverse, completion--common-suffix):
10271 (completion-pcm--merge-completions): Extract common suffix when safe.
10273 * emacs-lisp/easy-mmode.el (define-minor-mode):
10274 Make :variable more flexible.
10275 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10277 2010-05-05 Juri Linkov <juri@jurta.org>
10279 Add `slow' and `history' tags to the desktop data.
10281 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10282 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10283 (Info-finder-find-node): Require `finder.el' to be able
10284 to restore node from the desktop.
10285 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10286 data `Info-history' and `slow' tag in the assoc list.
10287 (Info-restore-desktop-buffer): Don't restore nodes with the
10288 `slow' tag. Restore `Info-history'.
10290 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10292 Add FORCE argument to `delete-file'.
10294 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10295 forcing to delete the temporary file.
10296 (ange-ftp-delete-file): Add FORCE arg.
10297 (ange-ftp-rename-remote-to-remote)
10298 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10299 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10300 Force file deletion.
10302 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10304 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10305 (tramp-handle-make-symbolic-link, tramp-handle-load)
10306 (tramp-do-copy-or-rename-file-via-buffer)
10307 (tramp-do-copy-or-rename-file-directly)
10308 (tramp-do-copy-or-rename-file-out-of-band)
10309 (tramp-handle-process-file, tramp-handle-call-process-region)
10310 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10311 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10312 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10314 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10315 (tramp-fish-handle-make-symbolic-link)
10316 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10318 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10319 Use `tramp-compat-delete-file'.
10321 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10322 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10324 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10325 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10327 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10328 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10329 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10330 Use `tramp-compat-delete-file'.
10332 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10335 * subr.el (add-minor-mode): Use push.
10336 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10337 * emulation/edt.el (edt-select-mode): Simplify.
10339 Use define-minor-mode in more cases.
10340 * term/tvi970.el (tvi970-set-keypad-mode):
10341 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10342 (normal-erase-is-backspace-mode):
10343 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10344 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10345 (get-scroll-bar-mode): New function.
10346 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10348 Use define-minor-mode for less obvious cases.
10349 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10350 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10351 * international/iso-ascii.el (iso-ascii-mode):
10352 * frame.el (auto-raise-mode, auto-lower-mode):
10353 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10355 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10357 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10358 in order to see error messages for failed logins.
10360 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10362 * diff.el (diff-sentinel):
10364 * epg.el (epg--make-temp-file, epg-decrypt-string)
10365 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10367 * jka-compr.el (jka-compr-partial-uncompress)
10368 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10370 * server.el (server-sentinel): Use delete-file's new FORCE arg
10373 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10375 Use define-minor-mode where applicable.
10376 * view.el (view-mode):
10377 * type-break.el (type-break-query-mode)
10378 (type-break-mode-line-message-mode):
10379 * textmodes/reftex.el (reftex-mode):
10380 * term/vt100.el (vt100-wide-mode):
10381 * tar-mode.el (tar-subfile-mode):
10382 * savehist.el (savehist-mode):
10383 * ibuf-ext.el (ibuffer-auto-mode):
10384 * composite.el (auto-composition-mode):
10385 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10386 Use define-minor-mode.
10387 (vhdl-mode): Use static mode-line format.
10388 (vhdl-mode-line-update): Delete.
10389 (vhdl-create-mode-menu, vhdl-activate-customizations)
10390 (vhdl-hs-minor-mode): Don't bother calling it.
10392 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10394 * simple.el (with-wrapper-hook): Move.
10395 (buffer-substring-filters): Mark obsolete.
10396 (filter-buffer-substring-functions): New variable.
10397 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10399 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10400 Michael Albinus <michael.albinus@gmx.de>
10402 Implement compression for inline methods.
10404 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10405 (tramp-copy-size-limit): Allow also nil.
10406 (tramp-inline-compress-commands): New defconst.
10407 (tramp-find-inline-compress, tramp-get-inline-compress)
10408 (tramp-get-inline-coding): New defuns.
10409 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10410 replaced by `tramp-get-inline-coding'.
10411 (tramp-handle-file-local-copy, tramp-handle-write-region)
10412 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10414 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10416 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10417 Remove unused functions.
10419 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10420 Set find-tag-default-function as a variable rather than a property.
10422 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10423 * progmodes/etags.el (tags-completion-at-point-function):
10424 Remove left over interactive spec. Add autoloading stub.
10425 (complete-tag): Use tags-completion-at-point-function.
10427 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10429 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10431 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10433 * ido.el (ido-init-completion-maps): Remove C-v binding.
10434 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10436 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10438 * minibuffer.el (tags-completion-at-point-function): New function.
10439 (completion-at-point-functions): Use it.
10441 * progmodes/etags.el (complete-tag): Revert last change.
10443 2010-04-29 Alan Mackenzie <acm@muc.de>
10445 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10446 off-by-one error (in end of macro position).
10448 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10450 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10451 firefox is absent. Don't autoload.
10452 (browse-url-galeon-program): Don't autoload.
10454 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10456 * bindings.el (complete-symbol): Move into minibuffer.el.
10458 * minibuffer.el (complete-tag): Move from etags.el. If tags
10459 completion cannot be performed, return nil instead of signalling
10461 (completion-at-point): Make it an alias for complete-symbol.
10462 (complete-symbol): Move from bindings.el, and replace with the
10463 body of completion-at-point.
10465 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10467 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10469 * net/tramp.el (tramp-remote-selinux-p): New defun.
10470 (tramp-handle-file-selinux-context)
10471 (tramp-handle-set-file-selinux-context): Use it.
10473 2010-04-28 Sam Steingold <sds@gnu.org>
10475 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10476 `safe-local-variable' if the value is a string or a symbol with
10477 the property `bug-reference-url-format'.
10479 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10481 * progmodes/bug-reference.el (bug-reference-url-format):
10482 Revert 2010-04-27 change due to security risk.
10484 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10486 Make it possible to locally disable a globally enabled mode.
10487 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10488 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10489 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10490 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10491 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10492 that subsequent hooks get a chance to disable it.
10494 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10496 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10497 Avoid re-enabling a minor mode after the user turned the minor mode
10498 off if MODE-enable-in-buffers is run twice (typically once from
10499 fundamental-mode's after-change-major-mode-hook and a second time from
10500 run-mode-hook's own after-change-major-mode-hook).
10502 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10504 2010-04-27 Sam Steingold <sds@gnu.org>
10506 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10507 `safe-local-variable' if the value is a string or a function, as
10508 documented and implemented on 2010-04-02.
10510 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10512 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10513 when method is 'kill.
10515 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10517 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10518 condition in default directory check.
10519 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10520 Kill ispell process when killing its associated buffer.
10522 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10524 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10525 but we aren't using it.
10527 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10529 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10530 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10532 2010-04-24 Glenn Morris <rgm@gnu.org>
10534 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10535 Ignore VCS-ignore files, and deleted nextstep preferences files.
10536 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10537 (authors-ambiguous-files): New list.
10538 (authors-valid-file-names): Add some deleted files.
10539 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10540 (authors-disambiguate-file-name): New function. (Bug#5501)
10541 (authors-canonical-file-name): Doc fix.
10542 Don't warn about obsolete files.
10543 (authors-canonical-file-name, authors-scan-el):
10544 Use authors-disambiguate-file-name.
10546 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10547 Add autoload cookies.
10548 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10549 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10550 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10551 They have definitions / compiler macros in cl.el.
10552 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10553 Replace manual autoloads with generated ones.
10554 (htmlfontify-unload-rgb-file): Remove autoload.
10555 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10557 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10559 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10560 (byte-compile-setq-default): Optimize for the
10561 single-var case and don't call byte-compile-form in this case to avoid
10562 inf-loop with byte-compile-set-default.
10564 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10566 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10568 Implement SELINUX backends.
10570 * net/tramp.el (tramp-file-name-handler-alist):
10571 Add `file-selinux-context' and `set-file-selinux-context'.
10572 (tramp-handle-file-selinux-context)
10573 (tramp-handle-set-file-selinux-context): New defuns.
10574 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10575 Handle PRESERVE-SELINUX-CONTEXT.
10577 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10578 Add `file-selinux-context' and `set-file-selinux-context'.
10579 (tramp-gvfs-handle-file-selinux-context)
10580 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10581 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10583 * net/ange-ftp.el (ange-ftp-copy-file):
10584 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10585 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10586 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10587 Add PRESERVE-SELINUX-CONTEXT.
10589 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10591 Synchronize with Tramp repository.
10593 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10594 (tramp-action-process-alive, tramp-action-out-of-band)
10595 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10596 (tramp-exists-file-name-handler): Fix docstring.
10597 (with-progress-reporter): New defmacro.
10598 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10599 (tramp-maybe-open-connection): Use it.
10601 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10603 Detect ssh 'ControlMaster' argument automatically in some cases.
10605 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10606 (tramp-default-method): Use it.
10608 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10610 * net/tramp.el (tramp-handle-copy-file): Add new optional
10611 parameter `preserve-selinux-context'.
10612 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10614 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10616 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10617 Ensure, that non remote files are still checked. Oops.
10619 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10623 * icomplete.el (icomplete-completions): Use `non-essential'.
10625 * net/tramp.el (tramp-connectable-p): New defun.
10626 (tramp-handle-expand-file-name)
10627 (tramp-completion-handle-file-name-all-completions)
10628 (tramp-completion-handle-file-name-completion): Use it.
10630 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10632 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10634 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10636 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10638 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10640 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10643 * info.el (info-tool-bar-map): Add labels.
10645 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10647 * cus-edit.el (custom-commands): Add labels for tool bar.
10648 (custom-buffer-create-internal, Custom-mode): Adjust for
10649 labels in custom-commands.
10651 * dynamic-setting.el: Renamed from font-setting.el.
10653 2010-04-21 John Wiegley <jwiegley@gmail.com>
10655 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10656 toggles the use of virtual buffers.
10657 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10658 (ido-toggle-virtual-buffers): New function.
10660 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10662 Use `define-derived-mode'; fix window selection; doc fixes.
10663 * play/tetris.el (tetris, tetris-update-speed-function)
10664 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10665 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10666 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10667 (tetris-pause-game): Fix typos in docstrings.
10668 (tetris-mode-map, tetris-null-map):
10669 Move initialization into declaration.
10670 (tetris-mode): Define with `define-derived-mode';
10671 set show-trailing-whitespace to nil.
10672 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10674 2010-04-21 Karel Klíč <kklic@redhat.com>
10676 * files.el (backup-buffer): Handle SELinux context, and return it
10677 if a backup was made by renaming.
10678 (backup-buffer-copy): Set SELinux context to the target file.
10679 (basic-save-buffer): Set SELinux context of the newly written file.
10680 (basic-save-buffer-1): Now it also returns any SELinux context.
10681 (basic-save-buffer-2): Set SELinux context of the newly created file,
10683 * net/tramp.el (tramp-file-name-for-operation):
10684 Add file-selinux-context.
10686 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10688 Make the log-edit comments use RFC822 format throughout.
10690 * vc.el (vc-checkin, vc-modify-change-comment):
10691 Adjust to new vc-start/finish-logentry.
10692 (vc-find-conflicted-file): New command.
10693 (vc-transfer-file): Adjust to new vc-checkin.
10694 (vc-next-action): Improve scoping.
10696 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10697 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10699 * vc-git.el (vc-git-log-edit-mode): Remove.
10700 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10701 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10703 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10704 (vc-start-logentry): Remove argument `extra'.
10705 (vc-finish-logentry): Remove extra args.
10707 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10708 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10709 (vc-bzr-conflicted-files): New function.
10711 * log-edit.el (log-edit-extra-flags)
10712 (log-edit-before-checkin-process): Remove.
10713 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10714 (log-edit-headers-alist): New var.
10715 (log-edit-header-contents-regexp): New const.
10716 (log-edit-match-to-eoh): New function.
10717 (log-edit-font-lock-keywords): Use them.
10718 (log-edit): Insert a "Summary:" header as default.
10719 (log-edit-mode): Mark font-lock rules as case-insensitive.
10720 (log-edit-done): Cleanup headers.
10721 (log-view-process-buffer): Remove.
10722 (log-edit-extract-headers): New function to replace it.
10724 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10726 * subr.el (default-direction-reversed): Remove obsolescence info.
10728 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10730 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10733 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10734 I.e. include text after point in the completion region.
10735 Also, return nil when we're not after/in a symbol.
10737 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10738 default enable-multibyte-characters.
10740 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10742 * international/mule.el: Help the user choose a valid coding-system.
10743 (read-buffer-file-coding-system): New function.
10744 (set-buffer-file-coding-system): Use it. Prompt the user if the
10745 coding-system cannot encode all the chars.
10747 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10748 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10749 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10750 Don't use *vc-bzr-shelve*.
10752 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10754 Fix the version number for added files.
10755 * vc-hg.el (vc-hg-working-revision): Check if the file is
10756 registered after hg parent fails (Bug#5961).
10758 2010-04-19 Glenn Morris <rgm@gnu.org>
10760 * htmlfontify.el (htmlfontify-buffer)
10761 (htmlfontify-copy-and-link-dir): Autoload entry points.
10763 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10765 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10766 name relative to the project root (Bug#5960).
10768 2010-04-19 Glenn Morris <rgm@gnu.org>
10770 * vc-git.el (vc-git-print-log): Doc fix.
10772 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10774 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10776 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10778 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10779 default settings (Bug#5928).
10781 2010-04-19 Glenn Morris <rgm@gnu.org>
10783 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10785 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10787 2010-04-19 Kenichi Handa <handa@m17n.org>
10789 * language/indian.el (malayalam-composable-pattern): Fix previous
10790 change (add U+0D4D "SIGN VIRAMA").
10791 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10792 (tamil-composable-pattern): Fix typo in the regexp.
10793 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10794 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10795 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10797 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10799 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10800 paragraph-separate (Bug#5821).
10802 2010-04-19 Juri Linkov <juri@jurta.org>
10804 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10806 * info.el (Info-find-node-2): Comment out code that skips
10808 (Info-mouse-follow-link): New command.
10809 (Info-link-keymap): New keymap.
10810 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10811 Return a string with links instead of inserting breadcrumbs
10812 to the Info buffer.
10813 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10814 Instead of putting the `invisible' text property over the Info
10815 header, make an overlay over the Info header with the `invisible'
10816 property and `after-string' set to the string returned by
10817 `Info-breadcrumbs'.
10819 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10821 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10822 Reported by monkey@sandpframing.com.
10824 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10826 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10827 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10828 available in the "keyseq cache" any more.
10830 * custom.el (defcustom): Add edebug spec.
10832 2010-04-18 Juri Linkov <juri@jurta.org>
10834 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10836 * view.el (view-file, view-buffer): Move test for special mode-class
10837 from view-file to view-buffer.
10839 * tar-mode.el (tar-extract): Turn if's into one cond
10840 like in arc-mode.el.
10842 2010-04-18 Juri Linkov <juri@jurta.org>
10844 Add 7z archive format support (bug#5475).
10846 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10847 (archive-7z-extract): New defcustom.
10848 (archive-find-type): Add magic string for 7z.
10849 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10850 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10851 `buffer' arg of `call-process'.
10852 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10853 call the function `archive-7z-extract' with the variable
10854 `archive-7z-extract' let-bound to `archive-zip-extract'.
10855 (archive-7z-summarize, archive-7z-extract): New functions.
10857 * international/mule.el (auto-coding-alist):
10858 * files.el (auto-mode-alist): Add 7z file extension.
10860 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10862 * loadup.el: Setup hash-cons for pure data.
10864 Fix duplicate entries in cedet's loaddefs.el files.
10865 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10866 Should make most file-local generated-autoload-file unnecessary.
10867 (print-readably): Silence warnings.
10868 (autoload-find-destination): Take load-name as an arg to make sure
10869 it's the same as the one that will be in the file.
10870 (autoload-generate-file-autoloads): Adjust to above changes.
10871 Try to make the dataflow a bit simpler.
10873 * cvs-status.el (cvs-refontify): Remove unused.
10875 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10877 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10879 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10880 twos-complement mode.
10882 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10884 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10885 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10886 (calc-inverse): Add "Option" to message, as appropriate.
10887 (calc-hyperbolic): Add "Option" to message, as appropriate.
10888 (calc-option, calc-is-option): New functions.
10890 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10891 (calc-option-prefix-help): New function.
10893 * calc/calc-misc.el (calc-help): Add "Option" entry.
10895 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10896 (calc-option-flag): New variable.
10897 (calc-do): Set `calc-option-flag to nil.
10898 (calc-set-mode-line): Add "Opt " as appropriate.
10900 2010-04-16 Juri Linkov <juri@jurta.org>
10902 Move scrolling commands from simple.el to window.el
10903 because their primitives are implemented in window.c.
10905 * simple.el (scroll-error-top-bottom)
10906 (scroll-up-command, scroll-down-command, scroll-up-line)
10907 (scroll-down-line, scroll-other-window-down)
10908 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10909 * window.el (scroll-error-top-bottom)
10910 (scroll-up-command, scroll-down-command, scroll-up-line)
10911 (scroll-down-line, scroll-other-window-down)
10912 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10913 Move from simple.el to window.el because their primitives are
10914 implemented in window.c.
10916 2010-04-16 Juri Linkov <juri@jurta.org>
10918 * isearch.el (isearch-lookup-scroll-key): Check both
10919 `isearch-scroll' and `scroll-command' properties.
10920 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10922 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10924 * simple.el (scroll-up-command, scroll-down-command)
10925 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10927 2010-04-15 Juri Linkov <juri@jurta.org>
10929 * simple.el (scroll-up-command, scroll-down-command)
10930 (scroll-up-line, scroll-down-line): Put `scroll-command'
10931 property on the these symbols. Remove them from
10932 `scroll-preserve-screen-position-commands'.
10934 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10935 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10936 Remove it from `scroll-preserve-screen-position-commands'.
10938 * isearch.el (isearch-allow-scroll): Doc fix.
10940 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10942 * net/tramp.el (tramp-error-with-buffer): Don't show the
10943 connection buffer when we are in completion mode.
10944 (tramp-file-name-handler): Catch the error for some operations
10945 when we are in completion mode. This gives the user the chance to
10946 correct the file name in the minibuffer.
10948 2010-04-15 Glenn Morris <rgm@gnu.org>
10950 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10952 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10954 Simplify by using `define-derived-mode'.
10955 * info.el (Info-mode):
10956 * calendar/todo-mode.el (todo-mode):
10957 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10958 (gomoku-mode-map): Move initialization into declaration.
10960 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10963 * ido.el (ido-file-name-all-completions-1):
10964 * minibuffer.el (minibuffer-completion-help):
10965 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10967 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10969 * simple.el (non-essential): New var.
10971 Add a new field `location' to bookmarks for non-file bookmarks.
10972 * bookmark.el (bookmark-location): Use the new field, if present.
10973 (bookmark-insert-location): Undo last change, not needed any more.
10974 * man.el (Man-bookmark-make-record):
10975 * woman.el (woman-bookmark-make-record): Add `location' field.
10977 2010-04-14 Juri Linkov <juri@jurta.org>
10979 * simple.el (scroll-error-top-bottom): New defcustom.
10980 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10982 * emulation/pc-select.el (pc-select-override-scroll-error):
10983 Obsolete in favor of `scroll-error-top-bottom'.
10985 2010-04-14 Juri Linkov <juri@jurta.org>
10987 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10988 `scroll-up-command' and `M-v' to `scroll-down-command'.
10990 * emulation/cua-rect.el (cua--init-rectangles):
10991 * forms.el (forms--change-commands):
10992 * image-mode.el (image-mode-map):
10993 Remap scroll-down-command and scroll-up-command
10994 in addition to scroll-down and scroll-up.
10996 2010-04-14 Juri Linkov <juri@jurta.org>
10998 * mwheel.el (scroll-preserve-screen-position-commands):
10999 Add mwheel-scroll to this list of commands.
11001 * simple.el (scroll-preserve-screen-position-commands):
11002 Add scroll-up-command, scroll-down-command, scroll-up-line,
11003 scroll-down-line to this list of commands.
11005 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11007 * obsolete/complete.el: Move from lisp/complete.el.
11009 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11011 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11012 to the minor mode function now turns the mode ON unconditionally.
11014 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11016 * vc-dir.el (vc-dir-kill-line): New command.
11017 (vc-dir-mode-map): Bind it to C-k.
11019 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11021 * woman.el: Add bookmark declarations to silence the compiler.
11022 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11023 step to compatibility between man and woman bookmarks.
11024 Adjust for Man-default-bookmark-title renaming.
11025 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11027 * man.el: Add bookmark declarations to silence the compiler.
11028 (Man-name-local-regexp): Make it match NAME as well.
11029 (Man-getpage-in-background): Return the buffer.
11030 (Man-notify-when-ready): Use `case'.
11031 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11032 Don't hardcode "NAME". Simplify.
11033 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11034 Rename from Man-bookmark-make-record.
11035 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11036 we have the actual man-args. Use Man-getpage-in-background rather
11037 than `man' since the arg is already processed. Let bookmark.el do the
11038 window handling. Only wait for the relevant process.
11039 Don't forget to autoload.
11041 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11043 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11045 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11047 (woman-mode): Setup bookmark support.
11049 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11050 (man-bookmark-jump): New functions.
11051 (Man-mode): Setup bookmark support.
11053 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11055 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11056 recognize ssh-keygen prompt (Bug#2817).
11058 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11060 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11062 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11064 Synchronize with Tramp repository.
11066 * net/tramp.el (tramp-completion-function-alist)
11067 (tramp-file-name-regexp, tramp-chunksize)
11068 (tramp-local-coding-commands, tramp-remote-coding-commands):
11070 (tramp-remote-process-environment): Use `format' instead of `concat'.
11071 (tramp-handle-directory-files-and-attributes)
11072 (tramp-get-remote-path): Use `copy-tree'.
11073 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11074 compatibility: Use `completion-ignore-case' if
11075 `read-file-name-completion-ignore-case' does not exist.
11076 (tramp-do-copy-or-rename-file-directly): Do not use
11077 `tramp-handle-file-remote-p'.
11078 (tramp-do-copy-or-rename-file-out-of-band):
11079 Use `tramp-compat-delete-directory'.
11080 (tramp-do-copy-or-rename-file-out-of-band)
11081 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11082 Use `format-spec-make'.
11083 (tramp-find-foreign-file-name-handler)
11084 (tramp-advice-make-auto-save-file-name)
11085 (tramp-set-auto-save-file-modes): Remove superfluous check for
11086 `stringp'. This is done inside `tramp-tramp-file-p'.
11087 (tramp-debug-outline-regexp): New defconst.
11088 (tramp-get-debug-buffer): Use it.
11089 (tramp-check-for-regexp): Use (forward-line 1).
11090 (tramp-set-auto-save-file-modes): Adapt version check.
11092 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11093 Wrap call of `featurep' for 2nd argument.
11094 (tramp-compat-make-temp-file): Simplify fallback implementation.
11095 (tramp-compat-copy-tree): Remove function.
11096 (tramp-compat-delete-directory): Provide implementation for older
11099 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11100 Do not use `tramp-fish-handle-file-attributes.
11102 * net/trampver.el: Update release number.
11104 2010-04-10 Glenn Morris <rgm@gnu.org>
11106 * progmodes/compile.el (compilation-save-buffers-predicate):
11107 Add missing :version tag.
11109 2010-04-09 Sam Steingold <sds@gnu.org>
11111 * progmodes/compile.el (compilation-save-buffers-predicate):
11112 Remove the "autoload" cookie.
11114 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11115 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11116 and `bug-reference-prog-mode' can be used in hooks directly.
11118 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11120 Add --author support to git commit.
11121 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11122 (vc-git-log-edit-mode): New minor mode.
11123 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11126 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11128 * vc-hooks.el, vc-git.el: Improve documentation comments.
11130 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11132 Fix some of the problems in defsubst* (bug#5728).
11133 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11134 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11136 2010-04-07 Sam Steingold <sds@gnu.org>
11138 * progmodes/compile.el (compilation-save-buffers-predicate):
11139 New custom variable.
11140 (compile, recompile): Pass it to `save-some-buffers'.
11142 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11144 * wid-edit.el (widget-choose): Move cursor to the second line of
11145 the buffer (Bug#5695).
11147 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11149 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11150 * vc.el (vc-print-log-setup-buttons): New function split out from
11151 vc-print-log-internal.
11152 (vc-log-internal-common): New function, a parametrized version of
11153 vc-print-log-internal.
11154 (vc-print-log-internal): Just call vc-log-internal-common with the
11156 (vc-incoming-outgoing-internal):
11157 (vc-log-incoming, vc-log-outgoing): New functions.
11158 (vc-log-view-type): New permanent local variable.
11160 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11162 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11163 of the dynamic bound vc-short-log.
11164 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11166 * vc-git.el (vc-git-log-outgoing): New function.
11167 (vc-git-log-view-mode): Use vc-log-view-type instead
11168 of the dynamic bound vc-short-log.
11170 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11171 of the dynamic bound vc-short-log. Highlight the tag.
11172 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11173 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11174 (vc-hg-incoming-mode): Remove.
11175 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11177 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11179 Fix default-directory for vc-root-diff.
11180 * vc.el (vc-root-diff): Bind default-directory to the root
11181 directory for the diff command.
11183 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11185 * progmodes/verilog-mode.el (verilog-forward-sexp):
11186 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11187 word keywords, suggested by Steve Pearlmutter.
11188 (verilog-pretty-declarations): Support lineup of declarations in
11190 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11191 fix bug for /* / comments.
11192 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11193 Speed up and simplfy as this is never called with a bound.
11194 (verilog-pretty-declarations): Enhance to line up declarations
11195 inside a parameter list, suggested by Alan Morgan.
11196 (verilog-pretty-expr): Tune assignment regular expression match
11197 string for corner cases; also use markers instead of character
11198 number as indent changes the later.
11200 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11202 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11203 as missing keyword.
11204 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11205 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11206 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11207 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11209 (verilog-keywords):
11210 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11211 1800-2009 keywords, including "global.".
11213 2010-04-06 John Wiegley <jwiegley@gmail.com>
11215 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11216 appearing in buffer list (if a live buffer name matched a recentf
11217 file basename). Should use uniquify to offer a real solution.
11219 2010-04-06 John Wiegley <jwiegley@gmail.com>
11221 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11222 comment to code, and add a :version tag.
11223 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11225 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11227 Enable recentf-mode if using virtual buffers.
11228 * ido.el (recentf-list): Declare for byte-compiler.
11229 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11230 (ido-make-buffer-list): Simplify.
11231 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11233 2010-04-05 Juri Linkov <juri@jurta.org>
11235 Scrolling commands which scroll a line instead of full screen.
11236 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11238 * simple.el (scroll-up-line, scroll-down-line): New commands.
11239 Put property isearch-scroll=t on them.
11241 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11244 2010-04-05 Juri Linkov <juri@jurta.org>
11246 Scrolling commands which do not signal errors at top/bottom.
11247 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11249 * simple.el (scroll-up-command, scroll-down-command): New commands.
11250 Put property isearch-scroll=t on them.
11252 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11253 `scroll-down-command' and [next] from `scroll-up' to
11254 `scroll-up-command'.
11256 * emulation/cua-base.el: Put property CUA=move on
11257 `scroll-up-command' and `scroll-down-command'.
11258 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11259 and `scroll-down-command' to `cua-scroll-down'.
11261 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11263 * help.el (describe-mode): Return nil.
11265 2010-04-04 John Wiegley <jwiegley@gmail.com>
11267 * ido.el (ido-use-virtual-buffers): New variable to indicate
11268 whether "virtual buffer" support is enabled for IDO.
11269 (ido-virtual): Face used to indicate virtual buffers in the list.
11270 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11271 exists, but a virtual buffer of that name does (which would be why
11272 it was in the list), recreate the buffer by reopening the file.
11273 (ido-make-buffer-list): If virtual buffers are being used, call
11274 `ido-add-virtual-buffers-to-list' before the make list hook.
11275 (ido-virtual-buffers): New variable which contains a copy of the
11276 current contents of the `recentf-list', albeit pared down for the
11277 sake of speed, and with proper faces applied.
11278 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11279 create a list of "virtual buffers" to present to the user in
11280 addition to the currently open set. Note that this logic could
11281 get rather slow if that list is too large. With the default
11282 `recentf-max-saved-items' of 200, there is little speed penalty.
11284 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11286 * font-lock.el: Require CL when compiling.
11287 (font-lock-turn-on-thing-lock): Use `case'.
11289 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11291 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11294 2010-04-02 Juri Linkov <juri@jurta.org>
11296 * ehelp.el (electric-help-orig-major-mode):
11297 New buffer-local variable.
11298 (electric-help-mode): Set it to original major-mode. Doc fix.
11299 (with-electric-help): Use `electric-help-orig-major-mode' instead
11300 of (default-value 'major-mode). Doc fix.
11301 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11303 2010-04-02 Sam Steingold <sds@gnu.org>
11305 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11306 `vc-hg-command' with a list of flags.
11308 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11309 Also accept "patch" and "RFE".
11310 (bug-reference-fontify): `bug-reference-url-format' can also be a
11311 function to be able to handle the bug kind.
11312 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11314 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11316 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11317 value to fboundp, it may not be a symbol.
11319 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11321 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11323 2010-03-31 Juri Linkov <juri@jurta.org>
11325 * simple.el (next-line, previous-line): Re-throw a signal
11326 with `signal' instead of using `ding'.
11327 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11329 2010-03-31 Juri Linkov <juri@jurta.org>
11331 * simple.el (keyboard-escape-quit): Raise deselecting the active
11332 region higher than exiting the minibuffer.
11333 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11335 2010-03-31 Juri Linkov <juri@jurta.org>
11337 * image.el (image-animated-p): Use `image-metadata' instead of
11338 `image-extension-data'. Get GIF extenstion data from metadata
11339 property `extension-data'.
11341 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11343 * simple.el (append-to-buffer): Simplify.
11345 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11347 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11348 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11350 2010-03-31 Kenichi Handa <handa@m17n.org>
11352 * language/sinhala.el (composition-function-table): Fix regexp for
11353 the new Unicode specification.
11355 * language/indian.el (devanagari-composable-pattern)
11356 (tamil-composable-pattern, kannada-composable-pattern)
11357 (malayalam-composable-pattern): Adjust for the new Unicode
11359 (bengali-composable-pattern, gurmukhi-composable-pattern)
11360 (gujarati-composable-pattern, oriya-composable-pattern)
11361 (telugu-composable-pattern): New variables to cope with the new
11362 Unicode specification. Use them in composition-function-table.
11364 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11366 Make tmm-menubar work for the Buffers menu again (bug#5726).
11367 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11368 vectors rather than cons cells, as used in menu-bar-update-buffers.
11370 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11372 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11373 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11374 electric punctuation for "{}();,:" (Bug#5586).
11376 * mail/sendmail.el (mail-default-directory): Doc fix.
11378 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11380 * mail/sendmail.el (mail-default-directory): Doc fix.
11382 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11384 * subr.el (version-regexp-alist, version-to-list)
11385 (version-list-<, version-list-=, version-list-<=)
11386 (version-list-not-zero, version<, version<=, version=): Doc fix.
11389 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11391 * vc.el (vc-root-diff): Doc fix.
11393 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11395 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11397 * simple.el (append-to-buffer): Fix last change.
11399 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11401 * simple.el (append-to-buffer): Ensure that point is preserved if
11402 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11405 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11407 * files.el (auto-mode-case-fold): Change default to t.
11409 2010-03-30 Juri Linkov <juri@jurta.org>
11411 * dired-x.el (dired-omit-mode): Doc fix.
11413 2010-03-30 Juri Linkov <juri@jurta.org>
11415 * replace.el (occur-accumulate-lines): Move occur-engine related
11416 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11417 to be located after `occur-engine'.
11419 2010-03-30 Juri Linkov <juri@jurta.org>
11421 Make occur handle multi-line matches cleanly with context.
11422 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11424 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11425 (occur-engine): Add local variables `ret', `prev-after-lines',
11426 `prev-lines'. Use more arguments for `occur-context-lines'.
11427 Set first elem of its returned list to `data', and the second elem
11428 to `prev-after-lines'. Don't print the separator line.
11429 In the end, print remaining context after-lines.
11430 (occur-context-lines): Add new arguments `begpt', `endpt',
11431 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11432 after-lines of the previous match with before-lines of the
11433 current match and not overlap them. Return a list with two
11434 values: the output line and the list of context after-lines.
11436 2010-03-30 Juri Linkov <juri@jurta.org>
11438 * replace.el (occur-accumulate-lines): Fix a bug where the first
11439 context line at the beginning of the buffer was missing.
11441 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11443 * files.el: Make bidi-display-reordering safe variable for boolean
11446 2010-03-29 Phil Hagelberg <phil@evri.com>
11447 Chong Yidong <cyd@stupidchicken.com>
11449 * subr.el: Extend progress reporters to perform "spinning".
11450 (progress-reporter-update, progress-reporter-do-update):
11451 Handle non-numeric value arguments.
11452 (progress-reporter--pulse-characters): New var.
11454 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11456 * progmodes/compile.el (compilation-start): Fix regexp detection
11457 of initial cd command (Bug#5771).
11459 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11461 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11463 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11465 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11466 * progmodes/gdb-mi.el: Restore.
11467 * progmodes/gdb-ui.el: Remove.
11468 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11470 2010-03-25 Glenn Morris <rgm@gnu.org>
11472 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11473 all dired buffers, even tramp ones. (Bug#5755)
11475 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11477 Add "union tags" in mpc.el.
11478 * mpc.el: Remove backward compatibility code.
11479 (mpc-browser-tags): Change default.
11480 (mpc--find-memoize-union-tags): New var.
11481 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11482 (mpc-cmd-find): Handle the case where the playlist does not exist.
11484 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11485 (mpc-cmd-add): Use mpc-cmd-flush.
11486 (mpc-tagbrowser-tag-name): New fun.
11487 (mpc-tagbrowser-buf): Use it.
11488 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11490 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11493 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11494 Use replace-regexp-in-string.
11495 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11496 (makefile-imake-mode-syntax-table): Move init into defvar.
11497 (makefile-mode): Use define-derived-mode.
11499 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11500 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11501 not be present any more.
11503 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11505 * faces.el (set-face-attribute): Fix typo in docstring.
11506 (face-valid-attribute-values): Reflow docstring.
11508 2010-03-24 Glenn Morris <rgm@gnu.org>
11510 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11512 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11514 * indent.el (indent-for-tab-command): Doc fix.
11516 2010-03-24 Alan Mackenzie <acm@muc.de>
11518 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11519 Fix off-by-one error. Fixes bug #5747.
11521 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11523 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11524 (image-dired-read-comment): Doc fix.
11526 * json.el (json-object-type, json-array-type, json-key-type)
11527 (json-false, json-null, json-read-number):
11528 * minibuffer.el (completion-in-region-functions):
11529 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11530 (cal-tex-cursor-week):
11531 * emacs-lisp/trace.el (trace-function):
11532 * eshell/em-basic.el (eshell/printnl):
11533 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11534 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11535 * obsolete/levents.el (allocate-event, event-key, event-object)
11536 (event-point, event-process, event-timestamp, event-to-character)
11537 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11538 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11539 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11540 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11541 (reftex-highlight-selection): Fix typos in docstrings.
11543 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11545 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11547 2010-03-24 Glenn Morris <rgm@gnu.org>
11549 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11550 2008-02-13 without comment; mark it obsolete.
11551 (rmail-highlight-headers): Use rmail-highlight-face once more.
11553 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11555 * woman.el (woman2-process-escapes): Only consume the newline if
11556 the filler character is on a line by itself (Bug#5729).
11558 2010-03-24 Kenichi Handa <handa@m17n.org>
11560 * language/indian.el (devanagari-composable-pattern): Add more
11563 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11565 * net/trampver.el: Update release number.
11567 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11569 * net/tramp.el (tramp-find-executable):
11570 Use `tramp-get-connection-buffer'. Make the regexp for checking
11571 output of "wc -l" more robust.
11572 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11573 (tramp-open-connection-setup-interactive-shell): Remove workaround
11574 for OpenSolaris bug, it is not needed anymore.
11576 2010-03-24 Glenn Morris <rgm@gnu.org>
11578 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11580 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11582 * files.el (auto-mode-alist): Accept more verilog file patterns.
11584 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11586 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11588 2010-03-24 Glenn Morris <rgm@gnu.org>
11590 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11591 log-edit-before-checkin-process.
11593 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11595 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11597 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11598 (log-view-process-buffer, log-edit-extra-flags): Declare.
11600 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11602 2010-03-23 Sam Steingold <sds@gnu.org>
11604 Fix bug#5620: recalculate all markers on compilation buffer
11605 modifications, not on file modifications.
11606 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11607 variable: the buffer modification time, for buffers not associated with
11609 (compilation-mode): Create it.
11610 (compilation-filter): Update it.
11611 (compilation-next-error-function): Use it instead of
11612 `visited-file-modtime' for timestamp.
11614 2010-03-23 Juri Linkov <juri@jurta.org>
11616 Implement Occur multi-line matches.
11617 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11619 * replace.el (occur): Doc fix.
11620 (occur-engine): Set `begpt' to the beginning of the first line.
11621 Set `endpt' to the end of the last match line. At first, count
11622 line numbers between `origpt' and `begpt'. Split out code from
11623 `out-line' variable to new let-bindings `match-prefix' and
11624 `match-str'. In `out-line' add non-numeric prefix to all
11625 non-first lines of multi-line matches. Finally, count lines
11626 between `begpt' and `endpt' and add to `lines'.
11628 2010-03-23 Juri Linkov <juri@jurta.org>
11630 * replace.el (occur-accumulate-lines, occur-engine):
11631 Use `occur-engine-line' instead of duplicate code.
11632 (occur-engine-line): New function created from duplicate code
11633 in `occur-accumulate-lines' and `occur-engine'.
11635 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11636 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11638 2010-03-23 Juri Linkov <juri@jurta.org>
11640 * finder.el: Remove TODO tasks.
11642 * info.el (Info-finder-find-node): Add node "all"
11643 with all package info. Handle a list of multiple keywords
11644 separated by comma.
11645 (info-finder): In interactive use with a prefix argument,
11646 use `completing-read-multiple' to read a list of keywords
11647 separated by comma.
11649 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11651 Add a new completion style `substring'.
11652 * minibuffer.el (completion-basic--pattern): New function.
11653 (completion-basic-try-completion, completion-basic-all-completions):
11655 (completion-substring--all-completions)
11656 (completion-substring-try-completion)
11657 (completion-substring-all-completions): New functions.
11658 (completion-styles-alist): New style `substring'.
11660 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11662 Get rid of .elc files after removal of the corresponding .el.
11663 * Makefile.in (compile-clean): New target.
11664 (compile-main): Use it.
11666 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11668 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11669 don't do make there. When compiling with separate object dir, there
11670 is no Makefile there.
11672 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11674 Get rid of the ELCFILES abomination, again.
11675 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11676 (all, compile): Don't call compile-last.
11677 (compile-main): Build the "elcfiles" list dynamically.
11678 (compile-targets): New (internal) target.
11680 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11682 * Makefile.in (top_srcdir): Define.
11683 (abs_top_builddir): Define.
11684 (srcdir): Don't append `/..'.
11685 (EMACS): Use ${abs_top_builddir}.
11686 (all, compile, compile-always, compile-last): Don't set emacswd.
11687 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11689 (lisp): Use $(srcdir) instead of @srcdir@.
11691 2010-03-21 Juri Linkov <juri@jurta.org>
11693 Fix message of multi-line occur regexps and multi-buffer header lines.
11694 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11696 * replace.el (occur-1): Don't display regexp if it is longer
11697 than window-width. Use `query-replace-descr' to display regexp.
11698 (occur-engine): Don't display regexp in the buffer header for
11699 multi-buffer occur. Display a separate header line with total
11700 match count and regexp for multi-buffer occur.
11701 Use `query-replace-descr' to display regexp.
11703 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11705 * net/secrets.el: Fix parenthesis.
11706 (secrets-enabled): Fix parenthesis.
11708 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11710 Use more relative file and directory names.
11711 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11712 (setwins, setwins_almost, setwins_for_subdirs):
11713 Don't `cd'; output relative names.
11714 (all, compile, compile-always, compile-last): Set emacswd.
11715 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11716 Just cd to the lisp source dir so we can use relative file names.
11718 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11720 2010-03-20 Glenn Morris <rgm@gnu.org>
11722 * textmodes/rst.el: Use faces for font-lock customization, and make the
11723 old -face variables obsolete.
11724 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11725 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11726 (rst-block-face, rst-external-face, rst-definition-face)
11727 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11728 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11730 (rst-font-lock-keywords-function): Update for above changes.
11732 2010-03-20 Juri Linkov <juri@jurta.org>
11735 * obsolete/s-region.el: Move to obsolete.
11737 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11739 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11741 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11743 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11745 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11747 Add special markup processing for commit logs.
11748 * log-edit.el (log-edit-extra-flags): New variable.
11749 (log-edit): Add new argument MODE. Use that mode when non-nil
11750 instead of the log-view-mode.
11751 (log-view-process-buffer): New function.
11753 * vc.el: Document that the checkin method takes optional
11754 arguments. Document new backend specific method: log-view-mode.
11755 (vc-default-log-edit-mode): New function.
11756 (vc-checkin): Use a backend specific log-view-mode.
11757 Pass extra arguments to the checkin method.
11758 (vc-modify-change-comment): Pass a dummy extra argument.
11760 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11762 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11763 (vc-finish-logentry): Process the log buffer before passing it
11764 down. Pass log-edit-extra-flags.
11766 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11768 (log-edit-extra-flags, log-edit-before-checkin-process):
11771 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11773 (log-edit-extra-flags, log-edit-before-checkin-process):
11775 (vc-hg-log-edit-mode): New derived mode.
11777 * vc-arch.el (vc-arch-checkin):
11778 * vc-cvs.el (vc-cvs-checkin):
11779 * vc-git.el (vc-git-checkin):
11780 * vc-mtn.el (vc-mtn-checkin):
11781 * vc-rcs.el (vc-rcs-checkin):
11782 * vc-sccs.el (vc-sccs-checkin):
11783 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11785 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11787 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11790 2010-03-19 Glenn Morris <rgm@gnu.org>
11792 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11794 2010-03-18 Glenn Morris <rgm@gnu.org>
11796 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11798 * replace.el (query-replace-history): Give it a doc string.
11799 (map-query-replace-regexp): Use query-replace-from-history-variable
11800 and query-replace-to-history-variable.
11802 * mail/hashcash.el (declare-function): Remove duplicate definition.
11804 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11805 Make it an obsolete alias for report-emacs-bug-address.
11806 (message-strip-special-text-properties): Declare.
11807 (report-emacs-bug): Remove test for a pretest bug address.
11808 Combine message-mode-specific code.
11810 * mail/supercite.el: Don't require sendmail.
11811 (mh-in-header-p): Declare rather than using with-no-warnings.
11812 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11813 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11815 * calendar/cal-french.el: Convert to utf-8.
11817 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11820 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11822 * net/secrets.el (secrets-enabled): New variable. Use it instead
11825 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11827 * net/secrets.el (top): Register the D-Bus signals only when the
11828 service "org.freedesktop.secrets" can be pinged.
11829 Provide subfeature `enabled'.
11831 2010-03-14 Juri Linkov <juri@jurta.org>
11833 Add finder unknown keywords.
11835 * finder.el (finder-unknown-keywords): New function.
11837 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11838 to create a Finder node with unknown keywords.
11840 2010-03-14 Juri Linkov <juri@jurta.org>
11842 * finder.el (finder-compile-keywords): Replace `princ' with
11843 `prin1' on a list of symbols interned from keyword strings.
11845 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11846 a comma, then split keywords using a comma and optional whitespace.
11847 Otherwise, split by whitespace.
11855 * progmodes/mixal-mode.el: Fix keywords.
11857 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11859 * Makefile.in (ELCFILES): Add net/secrets.elc.
11861 * net/secrets.el: New file.
11863 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11865 * facemenu.el (list-colors-display, list-colors-print): New arg
11866 callback. Use it to allow selecting colors.
11868 * wid-edit.el (widget-image-insert): Insert image prop even if the
11869 current display is non-graphic.
11870 (widget-field-value-set): New fun.
11871 (editable-field): Use it.
11872 (widget-field-value-get): Clean up unused var.
11873 (widget-color-value-create, widget-color--choose-action):
11874 New funs. Allow using list-colors-display to choose color.
11876 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11878 * cus-edit.el: Resort topmost custom groups.
11879 (custom-buffer-sort-alphabetically): Default to t.
11880 (customize-apropos): Use apropos-parse-pattern.
11881 (custom-search-field): New var.
11882 (custom-buffer-create-internal): Add custom-apropos search field.
11883 (custom-add-parent-links): Don't display parent doc.
11884 (custom-group-value-create): Don't sort top-level custom group.
11885 (custom-magic-value-create): Show visibility button before option name.
11887 (custom-variable-state): New fun, from custom-variable-state-set.
11888 (custom-variable-state-set): Use it.
11889 (custom-group-value-create): Hide options with standard values
11890 using the :hidden-states property. Use progress reporter.
11892 (custom-show): Simplify.
11893 (custom-visibility): Disable images by default.
11894 (custom-variable): New property :hidden-states.
11895 (custom-variable-value-create): Enable images for
11896 custom-visibility widgets. Use :hidden-states property to
11897 determine initial visibility.
11899 * wid-edit.el (widget-image-find): Give images center ascent.
11900 (visibility): Add :on-image and :off-image properties.
11901 (widget-visibility-value-create): Use them.
11903 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11905 * cus-edit.el (processes): Remove from development group.
11906 (oop, hypermedia): Delete group.
11907 (comm): Promote to top-level group.
11909 * net/browse-url.el (browse-url):
11910 * net/xesam.el (xesam):
11911 * net/tramp.el (tramp):
11912 * net/goto-addr.el (goto-address):
11913 * net/ange-ftp.el (ange-ftp): Put in comm group.
11915 * view.el (view): Remove from editing group.
11917 * uniquify.el (uniquify): Put in files group.
11919 * net/browse-url.el (browse-url):
11920 * ps-print.el (postscript): Put in external group.
11922 * cus-edit.el (outlines):
11923 * textmodes/text-mode.el (text-mode-hook):
11924 * textmodes/table.el (table):
11925 * textmodes/picture.el (picture):
11926 * outline.el (outlines): Put in wp group.
11928 * nxml/nxml-mode.el (nxml): Remove from wp group.
11930 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11932 * mail/metamail.el (metamail): Remove from hypermedia group.
11934 * cus-edit.el (abbrev):
11935 * whitespace.el (whitespace):
11936 * vcursor.el (vcursor):
11937 * reveal.el (reveal):
11938 * hl-line.el (hl-line): Put in convenience group.
11940 * epg-config.el (epg): Put in data group.
11942 * emulation/pc-select.el (pc-select): Put in emulations group.
11944 * calculator.el (calculator): Put in applications group.
11946 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11948 Add .dir-locals.el support for file-less buffers.
11949 * files.el (hack-local-variables): Split out code to apply local
11950 variable settings ...
11951 (hack-local-variables-apply): ... here. New function.
11952 (hack-dir-local-variables): Use the default directory for when the
11953 buffer does not have an associated file.
11954 (hack-dir-local-variables-non-file-buffer): New function.
11955 * diff-mode.el (diff-mode):
11956 * vc-annotate.el (vc-annotate-mode):
11957 * vc-dir.el (vc-dir-mode):
11958 * log-edit.el (log-edit-mode):
11959 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11961 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11963 Add support for shelving snapshots and for showing shelves.
11964 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11965 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11967 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11968 (vc-bzr-extra-menu-map): Map them.
11970 2010-03-11 Glenn Morris <rgm@gnu.org>
11972 * cus-edit.el (customize-changed-options-previous-release):
11975 * image.el (image-animate-max-time): Fix :version tag.
11977 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11981 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11983 * vc-git.el (vc-git-revision-table): Include remote branches.
11985 2010-03-10 Kim F. Storm <storm@cua.dk>
11987 Animated image API.
11988 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11990 * image.el (image-animate-max-time): New defcustom.
11991 (image-animated-types): New defconst.
11992 (create-animated-image, image-animate-timer)
11993 (image-animate-start, image-animate-stop, image-animate-timeout)
11994 (image-animated-p): New functions.
11996 * image-mode.el (image-toggle-display-image):
11997 Replace `create-image' with `create-animated-image'.
11999 2010-03-09 Miles Bader <miles@gnu.org>
12001 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12002 instead of "format:"; this ensures that the output is
12003 newline-terminated.
12005 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12007 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12008 that all errors are caught, and that the return value is always a
12011 2010-03-08 Kenichi Handa <handa@m17n.org>
12013 * language/misc-lang.el (windows-1256): New coding system.
12014 (cp1256): New alias of windows-1256 (bug#5690).
12016 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12018 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12019 call to rfc822-bad-address. (Bug#5692)
12021 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12023 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12024 Use vc-git-root as default directory for revision path (Bug#5657).
12026 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12028 * calculator.el (calculator): Don't bind split-window-keep-point
12031 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12033 * vc-git.el: Re-flow to fit into 80 columns.
12034 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12035 Remove spurious `quote' element in each case alternative.
12036 (vc-git-show-log-entry): Use prog1.
12037 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12039 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12041 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12043 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12045 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12046 definition, not the name (Bug#5481).
12048 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12050 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12051 argument with a local variable. (Bug#5670)
12053 2010-03-02 Juri Linkov <juri@jurta.org>
12055 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12057 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12059 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12060 error when FILENAME and NEWNAME are existing remote directories.
12062 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12063 parameter DIR-FLAG.
12065 2010-03-02 Glenn Morris <rgm@gnu.org>
12067 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12068 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12070 2010-03-01 Kenichi Handa <handa@m17n.org>
12072 * language/burmese.el (burmese-composable-pattern): Rename from
12073 myanmar-composable-pattern.
12075 * international/characters.el (script-list):
12076 * international/fontset.el (script-representative-chars):
12077 Change myanmar to burmese.
12078 (otf-script-alist): Likewise.
12079 (setup-default-fontset): Likewise. Re-fix :otf spec.
12081 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12083 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12085 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12087 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12089 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12091 * net/tramp.el (tramp-handle-write-region): START can be a string.
12092 Take care in the checks. Reported by Dan Davison
12093 <davison@stats.ox.ac.uk>.
12095 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12097 * net/dbus.el (dbus-introspect, dbus-get-property)
12098 (dbus-set-property, dbus-get-all-properties):
12099 Use `dbus-call-method' when noninteractive. (Bug#5645)
12101 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12103 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12104 * emacs-lisp/elint.el (elint-add-required-env):
12105 * calendar/icalendar.el (icalendar--add-diary-entry):
12106 * calc/calcalg2.el (math-tracing-integral):
12107 * files.el (recover-session-finish): Use with-current-buffer
12108 instead of save-excursion.
12110 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12112 Fix in-buffer completion when after-change-functions modify the buffer.
12113 * minibuffer.el (completion--replace): New function.
12114 (completion--do-completion): Use it and use relative movement.
12116 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12118 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12120 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12122 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12123 Allow the characters _<> in the stack entry (Bug#5653).
12125 2010-02-26 Kenichi Handa <handa@m17n.org>
12127 * language/burmese.el: Fix entries in composition-function-table.
12128 (myanmar-composable-pattern): New variable.
12130 * international/fontset.el (setup-default-fontset): Add an entry
12133 * international/characters.el (script-list): Add Myanmar
12136 2010-02-26 Glenn Morris <rgm@gnu.org>
12138 * custom.el (custom-initialize-delay): Doc fix.
12140 * mail/sendmail.el (send-mail-function): Autoload the call
12141 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12143 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12145 * files.el (hack-local-variables-filter): For eval forms, also
12146 check safe-local-variable-p (Bug#5636).
12148 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12150 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12151 setting the modes by `ignore-errors'. It might fail, for example
12152 if the file is not owned by the user but the group.
12153 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12155 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12157 * files.el (directory-listing-before-filename-regexp):
12158 Use stricter matching for iso-style dates, to avoid false matches with
12159 date-like filenames (Bug#5597).
12161 * htmlfontify.el (htmlfontify): Doc fix.
12163 * eshell/eshell.el (eshell): Doc fix.
12165 * startup.el (fancy-about-screen): In mode-line, apply
12166 mode-line-buffer-id face only to the buffer name (Bug#5613).
12168 2010-02-20 Kevin Ryde <user42@zip.com.au>
12170 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12171 In `watcom' anchor regexp to start of line, to avoid slowness
12174 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12176 * subr.el (remove-yank-excluded-properties): Explain in a comment
12177 why `category' property is removed.
12179 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12181 * isearch.el (isearch-update-post-hook, isearch-update):
12182 Revert 2010-02-17 change.
12184 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12186 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12187 (icalendar--convert-weekly-to-ical)
12188 (icalendar--convert-yearly-to-ical)
12189 (icalendar--convert-block-to-ical)
12190 (icalendar--convert-cyclic-to-ical)
12191 (icalendar--convert-anniversary-to-ical): Take care of time
12192 specifications where hour has 1-digit only (Bug#5549).
12194 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12196 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12197 of disassemble output in GDB 7.1.
12199 2010-02-19 Glenn Morris <rgm@gnu.org>
12201 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12202 property. (Bug#5593)
12204 2010-02-18 Sam Steingold <sds@gnu.org>
12206 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12208 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12210 Use abbreviated file names in bookmarks (bug#5591).
12211 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12212 calls to expand-file-name.
12213 (bookmark-relocate): Use abbreviated file names in bookmarks.
12214 (bookmark-load): Use abbreviated file names in messages.
12216 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12218 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12219 expand "." and "..". Reported by Thierry Volpiatto
12220 <thierry.volpiatto@gmail.com>.
12222 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12224 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12225 permissions of the temporary file to "0600". In case the remote
12226 file has no read permissions for the owner, there might be
12227 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12229 22010-02-18 Glenn Morris <rgm@gnu.org>
12231 * emacs-lisp/authors.el (authors-renamed-files-alist):
12232 Add entries for INSTALL.CVS.
12234 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12236 * vc-bzr.el: Fix typo in Known Bugs section.
12238 * isearch.el (isearch-update-post-hook): New hook.
12239 (isearch-update): Use the new hook.
12241 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12243 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12244 Fix errors in copying directories.
12245 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12246 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12247 (tramp-handle-delete-file)
12248 (tramp-handle-dired-recursive-delete-directory)
12249 (tramp-handle-write-region): Flush also the cache for the upper
12252 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12254 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12256 * cus-edit.el (hardware): Doc fix.
12258 * man.el (man): Add to external custom group.
12260 * delim-col.el (columns): Move to wp custom group.
12262 * doc-view.el (doc-view): Add to data custom group.
12264 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12266 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12267 by ispell-parse-output (Bug#5575).
12269 2010-02-16 Kenichi Handa <handa@m17n.org>
12271 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12272 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12273 (skkdic-convert): Use `euc-japan' coding system for writing.
12275 2010-02-16 Glenn Morris <rgm@gnu.org>
12277 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12278 tex-main-file before using it. (Bug#5562)
12280 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12282 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12283 warnings, since it is annoying for the user to see them each time he
12286 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12288 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12289 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12290 instead of PROC for caching "first-password-request". Otherwise,
12291 new processes would not profit from passwords already entered.
12293 * net/tramp-cache.el (tramp-dump-connection-properties):
12294 Don't save "first-password-request" property.
12296 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12298 * outline.el (outline-head-from-level):
12299 * simple.el (with-wrapper-hook):
12300 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12301 (elint-defun, elint-buffer-env, elint-top-form-logged)
12302 (elint-unbound-variable):
12303 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12304 Fix typos in docstrings.
12306 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12308 * files.el (insert-directory): When WILDCARD-REGEXP and
12309 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12310 whole directory. (Bug#5551)
12312 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12313 dired's alignment sanity. (Bug#5516)
12315 2010-02-14 Juri Linkov <juri@jurta.org>
12317 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12318 Remove remaining ^H with their preceding chars. (Bug#5566)
12320 2010-02-13 Glenn Morris <rgm@gnu.org>
12322 * simple.el (transpose-subr): Give it a doc-string.
12324 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12327 2010-02-12 Juri Linkov <juri@jurta.org>
12329 * arc-mode.el (archive-unique-fname): Make directories for nested
12330 archives. (Bug#5540)
12332 2010-02-12 Juri Linkov <juri@jurta.org>
12334 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12336 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12338 * subr.el (copy-overlay): Handle deleted overlays.
12340 * man.el (Man-completion-table): Don't signal an error if we can't run
12341 manual-program (bug#4056).
12343 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12345 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12347 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12349 * info.el (Info-bookmark-jump): Simplify.
12351 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12352 (bookmark-default-handler): Accept new bookmark field `buffer'.
12354 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12356 * iswitchb.el (iswitchb-completions): Revert last change.
12358 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12360 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12361 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12362 This prevents file names like "~/" being listed literally.
12364 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12366 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12367 Remove dead code. (Bug#5546)
12369 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12371 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12372 correctly (Bug#5548).
12374 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12376 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12377 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12379 2010-02-08 Kenichi Handa <handa@m17n.org>
12381 * international/mule-util.el (with-coding-priority): Add autoload
12382 cookie for putting `lisp-indent-function'.
12384 2010-02-07 Glenn Morris <rgm@gnu.org>
12386 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12387 Move F2003 named interfaces from keywords-2 to keywords-1, and
12388 use function-name-face rather than constant-face.
12389 Simplify "abstract interface" regexp.
12391 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12393 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12394 ID-FORMAT. Pass it to `file-attributes'.
12396 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12398 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12400 * faces.el (set-face-attribute): Allow calling
12401 internal-set-lisp-face-attribute with 'unspecified family and
12402 foundry argument (Bug#5536).
12404 2010-02-07 Glenn Morris <rgm@gnu.org>
12406 * progmodes/f90.el (f90-font-lock-keywords-2)
12407 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12408 Handle F2003 named interfaces.
12410 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12412 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12413 beg and end before calling c-get-state-before-change-functions.
12415 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12417 * vc-bzr.el (vc-bzr-dir-extra-headers):
12418 Disable the pending merges header.
12420 2010-02-05 Juri Linkov <juri@jurta.org>
12422 * doc-view.el (doc-view-mode):
12423 * image-mode.el (image-mode): Put property mode-class=special.
12426 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12428 * vc-svn.el (vc-svn-revision-table): New function.
12430 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12432 * net/ange-ftp.el (ange-ftp-insert-directory):
12433 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12434 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12435 Handle also directories. (Bug#5478)
12437 2010-02-05 Glenn Morris <rgm@gnu.org>
12439 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12441 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12443 * startup.el (command-line-1): Convert options beginning with a
12444 single dash as well (Bug#5519).
12446 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12448 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12449 * minibuffer.el (completion-initials-expand): Only check the presence
12450 of delims *within* the boundaries, since otherwise the / delim is
12451 always found for files.
12453 Fix up various corner case problems.
12454 * doc-view.el (doc-view-last-page-number): New function.
12455 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12456 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12457 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12458 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12459 (doc-view-convert-current-doc): Don't create the resolution.el file
12461 (doc-view-pdf/ps->png): Do it here instead.
12462 (doc-view-already-converted-p): Check that resolution.el is present.
12463 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12464 windows that are not yet showing images.
12466 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12468 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12469 `dired-uncache' for every elemnt which is an absolute file name.
12471 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12472 directory, handle its directory component.
12473 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12474 function is called permanently and creates noise, otherwise.
12476 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12477 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12478 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12480 2010-02-04 David Burger <dburger@google.com> (tiny change)
12482 * macros.el (apply-macro-to-region-lines):
12483 Minor simplification. (Bug#5485)
12485 2010-02-04 Glenn Morris <rgm@gnu.org>
12487 * mail/rmail.el (rmail-show-message-1): Handle malformed
12488 quoted-printable text. (Bug#5441)
12490 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12492 * simple.el (visual-line-mode): Capitalize lighter.
12494 2010-02-03 John Wiegley <jwiegley@gmail.com>
12496 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12497 list of files considered for "virtual buffer" completions.
12499 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12501 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12502 also in case of (and (not full) (not wildcard)). This is needed
12503 when dired is called with a list of files, which are not in
12504 `default-directory'. (Bug#5478)
12506 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12508 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12510 2010-02-02 Juri Linkov <juri@jurta.org>
12512 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12513 from unidiff to allow function-line after @@.
12515 2010-02-02 Juri Linkov <juri@jurta.org>
12517 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12518 '(RCS SCCS) with inverted condition.
12520 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12522 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12525 2010-02-01 Juri Linkov <juri@jurta.org>
12527 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12528 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12529 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12530 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12532 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12534 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12535 (doc-view-revert-buffer): New command.
12536 (doc-view-mode-map): Use it.
12538 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12540 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12541 pending merge is detected.
12543 2010-01-31 Juri Linkov <juri@jurta.org>
12545 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12546 beginning of interactive spec like all other grep commands do.
12547 Put "all" in front of "gz". (Bug#5260)
12549 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12551 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12553 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12555 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12556 regexp is incorrect (Bug#5476).
12558 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12560 * net/tramp.el (tramp-handle-insert-directory): Handle also
12561 symlinks, when FILENAME is not in `default-directory'.
12563 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12565 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12566 FILE is not in `default-directory'. (Bug#5478)
12568 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12569 of SWITCHES. Handle the case, FILENAME is not in
12570 `default-directory'. (Bug#5478)
12571 (tramp-register-file-name-handlers): Add safe-magic property.
12573 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12575 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12578 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12580 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12581 (flymake-master-make-header-init): Add other C++ filename masks.
12582 (flymake-find-possible-master-files)
12583 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12585 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12587 Fix some busybox annoyances.
12589 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12590 not responding." string.
12591 (tramp-open-connection-setup-interactive-shell): Dump stty
12592 settings. Enable "neveropen" arg for all `tramp-send-command'
12593 calls. Handle "=" in variable values properly.
12594 (tramp-find-inline-encoding): Raise an error, when no encoding is
12596 (tramp-wait-for-output): Check, whether PROC buffer is available.
12597 Remove spurious " ^H" sequences, sent by busybox.
12598 (tramp-get-ls-command): Suppress coloring, if possible.
12600 2010-01-28 Glenn Morris <rgm@gnu.org>
12602 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12604 * log-edit.el (log-edit-strip-single-file-name): Add missing
12605 :safe, :group, and :version tags.
12607 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12609 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12610 buffers. (Bug#5477)
12612 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12614 * files.el (delete-directory): Handle moving to trash without
12615 first doing recursion (Bug#5436).
12617 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12619 * vc-hooks.el (vc-path): Mark as obsolete.
12621 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12623 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12626 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12628 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12630 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12632 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12634 * vc-bzr.el (vc-bzr-revision-table): New function.
12636 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12638 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12639 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12641 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12643 Remove support for adding --signoff on commit.
12644 Future support will use an incompatible generic mechanism.
12645 * vc-git.el (vc-git-add-signoff): Remove variable.
12646 (vc-git-toggle-signoff): Remove function.
12647 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12649 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12650 Rename from xterm-set-background-mode. Return t if the background mode
12652 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12653 earlier, call it again in case the background mode has changed.
12655 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12657 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12660 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12662 * emacs-lisp/assoc.el (aelement): Doc fix.
12663 (aput, adelete, amake): Use lexical-let (Bug#5450).
12665 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12667 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12668 is the same as subprogram call, not declaration. (Bug#5435).
12670 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12672 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12673 (tramp-smb-maybe-open-connection): Use it.
12675 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12677 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12679 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12681 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12682 just because we see "encoding: 8bit".
12683 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12685 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12687 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12689 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12691 * jka-compr.el (jka-compr-load): If load-file is not in
12692 load-history, try its file-truename version. (bug#5447)
12694 2010-01-21 Alan Mackenzie <acm@muc.de>
12696 Fix a situation where deletion of a cpp construct throws an error.
12697 * progmodes/cc-engine.el (c-invalidate-state-cache):
12698 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12699 special cpp construct is still in the buffer.
12700 (c-parse-state): Record the special cpp with markers, not numbers.
12702 2010-01-21 Kenichi Handa <handa@m17n.org>
12704 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12705 process last-command-event, as it is now decoded first (Bug#5380).
12707 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12709 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12711 2010-01-20 Glenn Morris <rgm@gnu.org>
12713 * indent.el (tab-always-indent): Fix custom-type.
12715 2010-01-19 Alan Mackenzie <acm@muc.de>
12717 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12718 buffer throws "args out of range".
12719 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12720 playing the role of delimiter.
12722 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12724 * progmodes/ada-mode.el: Fix bug#5400.
12725 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12726 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12727 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12728 Improve comments in "is" portion. Handle null procedure declaration.
12729 (ada-move-to-end): Improve doc string.
12731 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12733 * ido.el (ido-cur-list): Initialize to nil.
12734 Remove obsolete information from commentary.
12735 (ido-choice-list): Initialize to nil.
12736 (ido-get-bufname): Reject minibuffers.
12737 (ido-make-buffer-list): If "default" is a nonexistent
12738 buffer, ignore it, as per the function's comment.
12739 (ido-kill-buffer-internal): New function.
12740 (ido-kill-buffer-at-head): Use it.
12741 (ido-visit-buffer): Likewise.
12743 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12745 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12747 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12749 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12750 Fix typos in chart titles.
12752 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12753 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12754 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12755 (describe-class, eieio-describe-generic, describe-generic):
12756 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12757 (eieio-speedbar-expand):
12758 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12759 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12760 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12761 (viper-del-backward-char-in-replace, viper-backward-indent)
12762 (viper-brac-function, viper-register-to-point, viper-submit-report):
12763 * net/tramp.el (tramp-remote-coding-commands):
12764 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12765 Fix typos in docstrings.
12767 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12769 * mail/sendmail.el (mail-yank-original): Set the mark if the
12770 specified function for yanking does not do it.
12772 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12774 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12776 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12777 resyncing a directory.
12779 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12781 * progmodes/ada-mode.el: Fix bug#1920.
12782 (ada-ident-re): Delete ., allow multibyte characters.
12783 (ada-goto-label-re): New; matches goto labels.
12784 (ada-block-label-re): New; matches block labels.
12785 (ada-label-re): New; matches both.
12786 (ada-named-block-re): Deleted; callers changed to use
12787 `ada-block-label-re' instead.
12788 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12789 Use `ada-block-label-re'.
12790 (ada-indent-on-previous-lines): Improve handling of goto labels.
12791 (ada-get-indent-block-start): Special-case block label.
12792 (ada-get-indent-label): Split into `ada-indent-block-label' and
12793 `ada-indent-goto-label'.
12794 (ada-goto-stmt-start, ada-goto-next-non-ws):
12795 Optionally ignore goto labels.
12796 (ada-goto-next-word): Simplify.
12797 (ada-indent-newline-indent-conditional): Insert newline before
12798 trying to fix indentation; doc fix.
12800 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12802 * calc/calc.el (calc-command-flags): Give it an initial value.
12804 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12806 * files.el (minibuffer-with-setup-hook):
12807 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12808 (artist-key-draw-continously, artist-key-do-continously-continously)
12809 (artist-key-set-point-continously, artist-mouse-draw-continously):
12810 Fix typos in docstrings.
12812 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12814 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12815 Never return t (Bug#3898).
12817 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12819 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12820 can parse the output of the external commands (Bug#5279).
12822 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12824 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12826 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12828 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12830 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12832 * startup.el (command-line): Remove unused --icon-type arg.
12833 Handle --display arg, passing it to command-line-1 (Bug#5392).
12835 2010-01-16 Mario Lang <mlang@delysid.org>
12837 * emacs-lisp/chart.el (chart-translate-namezone):
12838 * textmodes/artist.el (artist-compute-popup-menu-table):
12839 Remove duplicated words in doc-strings.
12841 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12843 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12844 to mairix-search to suppress threading (Bug#5342).
12846 2010-01-15 Kenichi Handa <handa@m17n.org>
12848 * international/mule-cmds.el (canonicalize-coding-system-name):
12849 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12851 2010-01-15 Glenn Morris <rgm@gnu.org>
12853 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12855 * wid-edit.el (widget-keymap): Doc fix.
12857 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12858 former seems to be more widely accepted by various svn versions.
12860 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12862 * find-cmd.el (find-constituents):
12863 * vc-arch.el (vc-arch-root):
12864 * window.el (window-body-height, pop-up-frames):
12865 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12866 * progmodes/ada-stmt.el (ada-if):
12867 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12868 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12869 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12870 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12872 * progmodes/flymake.el (flymake-post-syntax-check):
12873 Fix typo in error message.
12875 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12877 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12878 which is always a string. (Bug#5313)
12880 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12882 * progmodes/ada-xref.el (ada-default-prj-properties):
12883 Simplify previous change.
12885 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12887 * progmodes/ada-xref.el (ada-default-prj-properties):
12888 Default ada_project_path to $ADA_PROJECT_PATH.
12890 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12892 * progmodes/ada-mode.el (ada-create-keymap):
12893 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12895 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12897 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12898 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12899 (ada-get-current-indent, ada-imenu-generic-expression)
12900 (ada-which-function): Check for it.
12902 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12904 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12905 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12907 2010-01-14 Glenn Morris <rgm@gnu.org>
12909 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12911 2010-01-14 Kenichi Handa <handa@m17n.org>
12913 * composite.el (auto-composition-mode): Make it a buffer local
12914 variable (permanent-local).
12915 (auto-composition-function): Set the default value to
12916 auto-compose-chars.
12917 (auto-composition-mode): Make it a simple function, not a minor mode.
12918 (global-auto-composition-mode): Likewise.
12919 (turn-on-auto-composition-if-enabled): Delete it.
12921 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12923 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12925 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12927 * files.el (copy-directory): Compute target for recursive
12928 directories with identical names. (Bug#5343)
12930 2010-01-12 Glenn Morris <rgm@gnu.org>
12932 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12933 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12935 2010-01-11 Sam Steingold <sds@gnu.org>
12937 * imenu.el (imenu-default-create-index-function): Detect infinite
12938 loops caused by imenu-prev-index-position-function.
12940 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12942 * htmlfontify.el (htmlfontify-load-rgb-file)
12943 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12944 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12945 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12946 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12947 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12948 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12949 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12950 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12951 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12952 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12953 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12954 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12955 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12956 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12957 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12958 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12959 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12960 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12961 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12962 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12963 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12964 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12965 backslash-quoting from parentheses, etc.
12967 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12969 * progmodes/js.el: Autoload javascript-mode alias.
12971 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12973 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12974 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12975 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12976 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12977 Fix typos in docstrings.
12978 (ffap-url-regexp): Doc fix.
12979 (ffap-at-mouse): Fix typo in message.
12981 2010-01-11 Glenn Morris <rgm@gnu.org>
12983 * version.el (emacs-copyright): Set copyright year to 2010.
12985 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12987 * format.el (format-annotate-function): Only set
12988 write-region-post-annotation-function after running to-fn so as not to
12989 affect nested write-region calls (bug#5273).
12991 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12993 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12996 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12998 * man.el (Man-goto-section): Signal error if the section is not
13001 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13003 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13004 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13006 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13008 * progmodes/compile.el: Don't treat compile-command as safe if
13009 compilation-read-command might be nil (Bug#4218).
13011 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13013 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13016 2010-01-08 Kenichi Handa <handa@m17n.org>
13018 * international/fontset.el (build-default-fontset-data):
13019 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13021 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13023 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13024 to `create-file-buffer' as it expects, not just a buffer name.
13025 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13026 to help uniquify. (Bug#3224)
13028 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13030 * font-setting.el (font-setting-change-default-font): Use user-spec
13033 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13035 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13037 2010-01-05 Tom Tromey <tromey@redhat.com>
13039 * progmodes/python.el (python-font-lock-keywords):
13040 Handle qualified decorators (Bug#881).
13042 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13044 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13045 in a lightweight checkout.
13047 2010-01-05 Kenichi Handa <handa@m17n.org>
13049 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13051 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13053 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13055 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13057 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13058 checkouts. (Bug#618)
13059 (vc-bzr-log-view-mode): Also highlight the author.
13060 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13061 (vc-bzr-shelve-menu-map):
13062 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13063 (vc-bzr-shelve-apply): Make prompt more explicit.
13065 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13067 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13068 They are valid characters in URL paths (rfc3986), and at least
13069 Firefox does not understand the encoded version (Bug#3166).
13071 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13073 * progmodes/octave-mod.el (octave-end-keywords)
13074 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13075 Add "end" keyword (Bug#3061).
13076 (octave-end-as-array-index-p): New function.
13077 (calculate-octave-indent): Use it.
13079 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13081 * bookmark.el: Consistently put the text property on the bookmark name.
13082 (bookmark-bmenu-marks-width): Bump back to 2, to include
13084 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13085 property on the bookmark name, instead of not putting it at all.
13086 (bookmark-bmenu-list): Fix where we put the text property.
13088 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13090 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13091 for showing buffer modified state (as added in the previous change).
13093 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13095 * bookmark.el: Show modified state of bookmark buffer more accurately.
13096 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13097 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13098 (with-buffer-modified-unmodified): New macro.
13099 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13100 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13101 Use new macro to preserve the buffer modified state.
13103 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13105 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13106 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13107 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13108 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13109 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13110 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13111 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13113 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13115 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13116 Make the lines in the generated doc string shorter. (Bug#4668)
13118 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13120 * net/rcirc.el: Add follow-link binding (Bug#4738).
13122 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13124 * Makefile.in (bzr-update): Rename from cvs-update.
13125 (cvs-update): New target for backward compatibility.
13127 * makefile.w32-in (bzr-update): Rename from cvs-update.
13128 (cvs-update): New target for backward compatibility.
13130 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13132 * bookmark.el: Remove gratuitous gratitude.
13134 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13136 * bookmark.el (bookmark-bmenu-any-marks): New function.
13137 (bookmark-bmenu-save): Clear buffer modification if no marks.
13139 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13141 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13142 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13143 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13144 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13146 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13147 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13148 To: emacs-devel {_AT_} gnu.org
13149 Subject: bookmark.el bug report
13150 Date: Mon, 28 Dec 2009 14:19:16 +0800
13151 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13153 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13155 * bookmark.el: Improvements suggested by Drew Adams:
13156 (bookmark-bmenu-ensure-position): New name for
13157 `bookmark-bmenu-check-position'. Just ensure the position,
13158 don't return any meaningful value.
13159 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13162 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13164 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13165 (bookmark-yank-point, bookmark-bmenu-check-position):
13166 Fix typos in docstrings.
13167 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13168 (bookmark-name-from-full-record, bookmark-get-position)
13169 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13170 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13171 Remove useless quoting of parenthesis, etc. in docstrings.
13173 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13174 (ediff-append-custom-diff): Fix typo in error message.
13175 (ediff-meta-mark-equal-files): Fix typos in messages.
13177 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13179 * net/imap-hash.el (imap-hash-make): Doc fix.
13180 (imap-hash-test): Fix typo in error message; reflow docstring.
13181 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13182 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13183 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13184 Fix typos in docstrings.
13185 (imap-hash-open-connection): Fix typo in error message.
13187 * play/gomoku.el (gomoku): Fix typos in docstring.
13189 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13190 (gdb-jsonify-buffer): Fix typos in docstring.
13191 (gdb-goto-breakpoint): Fix typo in error message.
13192 ("Display Other Windows"): Fix typo in help message.
13193 (gdb-speedbar-expand-node): Fix typo in question.
13195 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13196 (idlwave-html-system-help-location, idlwave-html-help-location)
13197 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13198 (idlwave-help-browser-generic-args, idlwave-help-directory)
13199 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13200 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13201 (idlwave-online-help, idlwave-help-html-link)
13202 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13203 Fix typos in docstrings.
13204 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13206 (idlwave-help-assistant-start): Fix typo in error message.
13208 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13209 (octave-electric-space): Fix typos in docstrings.
13211 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13213 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13215 2010-01-01 Juri Linkov <juri@jurta.org>
13217 * comint.el (comint-input-ring-size): Make it a defcustom and
13218 increase the default to 500 (Bug#5148).
13220 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13222 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13223 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13224 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13226 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13228 Show working revision correctly for mercurial.
13229 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13230 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13232 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13234 Declare some functions for the byte-compiler.
13235 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13236 (speedbar-timer-fn, speedbar-change-expand-button-char)
13237 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13239 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13241 This changeset reverts GDB Graphical Interface to use annotations.
13242 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13244 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13246 Make vc-dir work on subdirectories of the bzr root.
13247 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13248 Return file names relative to it.
13249 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13250 relative directory to vc-bzr-after-dir-status.
13252 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13254 * font-lock.el (font-lock-refresh-defaults): New function, which
13255 can be used to let font-lock react to external changes in
13256 variables like font-lock-defaults and keywords.
13257 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13259 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13261 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13263 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13265 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13267 Supersede color.diff settings in git log (bug#5211).
13269 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13270 escape chars in its output when the user has color.diff set to `always'.
13271 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13273 2009-12-26 Kevin Ryde <user42@zip.com.au>
13275 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13276 node. Keep previous "Index" name to work with past coreutils too.
13278 * man.el (man): Revise docstring a bit to show -a and -l as
13279 examples. Add -k description since support for it has otherwise
13280 been a secret. (Further to bug#3717.)
13281 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13282 "no matches" rather than "Can't find manpage", as the latter reads
13283 like -k was interpreted as a page name, which is not so. (Bug#5431)
13285 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13287 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13288 switches. Check also for //SUBDIRED// line.
13290 2009-12-25 Kenichi Handa <handa@m17n.org>
13292 * language/indian.el (devanagari-composable-pattern): Fix to
13293 handle ZWNJ and ZWJ. Use it in composition-function-table for
13295 (malayalam-composable-pattern): Fix previous change.
13297 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13299 * ps-print.el (ps-face-attributes): It was not returning the
13300 attribute face for faces specified as string. Reported by harven
13301 <harven@free.fr>. (Bug#5254)
13302 (ps-print-version): New version 7.3.5.
13304 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13306 * calendar/icalendar.el (icalendar--convert-tz-offset):
13307 Fix timezone names.
13308 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13309 (icalendar--add-diary-entry): Remove the trailing blank that
13310 diary-make-entry inserts.
13312 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13314 Make `file-expand-wildcards' work for remote files.
13316 * files.el (file-expand-wildcards): In case of remote files, check
13317 only local file name part for wildcards. Provide feature 'files
13318 and subfeature 'remote-wildcards. (Bug#5198)
13320 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13321 if there is already an established connection.
13322 (tramp-advice-file-expand-wildcards): Remove it.
13324 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13325 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13326 Activate advice for older GNU Emacs versions. (Bug#5237)
13328 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13330 Some doc fixes (more needed).
13332 * find-cmd.el (find-constituents): Reflow docstring.
13333 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13334 (find-generic): Doc fix.
13336 2009-12-17 Juri Linkov <juri@jurta.org>
13338 Fix regression from 23.1 to allow multiple modes in Local Variables.
13340 * files.el (hack-local-variables-filter): While ignoring duplicates,
13341 don't take `mode' into account.
13342 (hack-local-variables-filter, hack-dir-local-variables):
13343 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13345 2009-12-17 Juri Linkov <juri@jurta.org>
13347 Make `dired-diff' safer. (Bug#5225)
13349 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13350 `current' or when `file' is a directory of the `current' file.
13352 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13354 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13355 unconditionally preloaded files.
13357 2009-12-16 Juri Linkov <juri@jurta.org>
13359 Revert to old 23.1 logic of using the file at the mark as default.
13360 * dired-aux.el (dired-diff): Use the file at the mark as default
13361 if it's not the same as the current file, and the target dir is
13362 the current dir or the mark is active. Add the current file
13363 as the arg of `dired-dwim-target-defaults'. Use the default file
13364 in the prompt. (Bug#5225)
13366 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13368 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13369 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13370 (tramp-check-for-regexp): Check also, when an echoing shell stops
13371 to echo sent commands.
13373 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13375 * Makefile.in: Revert last change (Bug#5191).
13377 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13379 * vc-hg.el (vc-hg-print-log): Fix argument order.
13380 (vc-hg-working-revision): Make sure the command is executed in a
13381 known environment so that we can parse the output. (Bug#4417)
13383 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13385 * progmodes/python.el (python-symbol-completions): Remove text
13386 properties from symbol string before calling python-send-receive.
13388 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13390 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13391 when there are values for both file and line. (Bug#5060)
13393 2009-12-14 Juri Linkov <juri@jurta.org>
13395 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13396 whitespace after the file name of the first line of unified format,
13397 because git-diff doesn't output whitespace and file modification time
13398 after the file name.
13400 2009-12-14 David Kastrup <dak@gnu.org>
13402 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13403 check if it already has the `display' property added by
13404 `Info-display-images-node', and not put the `invisible' property
13407 2009-12-13 Glenn Morris <rgm@gnu.org>
13409 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13410 (report-emacs-bug): In message-mode, sort manually before storing
13411 original report text. (Bug#5178)
13412 Remove superfluous save-excursion.
13414 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13416 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13417 when responding to "GetAll" properties.
13419 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13421 * simple.el (compose-mail): Remove mail-setup-with-from from
13422 customization checks.
13424 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13426 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13427 RAR archives created on Unix systems.
13429 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13431 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13432 the varalias that was accidentally removed by the 2009-11-19 change
13435 2009-12-12 Kenichi Handa <handa@m17n.org>
13437 * language/indian.el (indian-compose-regexp): New function.
13438 (malayalam-composable-pattern): Fix the pattern.
13439 (composition-function-table): Set malayalam-composable-pattern for
13440 Malayalam characters.
13442 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13444 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13445 rather than down-mouse-1, based on follow-link conventions.
13447 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13450 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13452 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13453 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13454 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13455 (verilog-leap-to-head, verilog-backward-token):
13456 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13458 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13460 * progmodes/verilog-mode.el (verilog-auto-lineup)
13461 (verilog-nameable-item-re): Cleanup user-visible spelling and
13462 documentation errors. One reported by Gary Delp.
13463 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13464 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13465 package, bug195. Reported by Pierre-David Pfister.
13467 2009-12-11 Glenn Morris <rgm@gnu.org>
13469 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13471 * mail/emacsbug.el: No longer require sendmail.
13472 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13473 (report-emacs-bug-orig-text): Doc fix.
13474 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13475 New local variables, to adapt to different mail-user-agents.
13476 (report-emacs-bug): Fix test for a gnu.org address.
13477 Use overlays for emphasis, since font-lock defeats 'face property.
13478 Pretest bugs also end up at the newsgroup these days.
13479 Stop message-mode stripping text properties.
13480 Set and use the new buffer-local variables.
13481 (report-emacs-bug-hook): Add doc-string.
13482 Remove some unnecessary save-excursions and simplify.
13483 Use the appropriate hook and send-command.
13485 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13486 capitalization of some menu entries.
13488 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13490 * whitespace.el (whitespace-display-char-on):
13491 Ensure `buffer-display-table' is unique when two or more windows are
13492 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13495 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13497 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13498 characters in the Attribute field.
13500 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13502 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13504 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13506 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13507 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13508 Disregard autoload-excludes.
13509 (update-directory-autoloads): Obey autoload-excludes here instead.
13510 But don't store its contents in no-autoloads and remove entries that
13511 refer to excludes files.
13513 2009-12-10 Glenn Morris <rgm@gnu.org>
13515 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13516 (expand-mail-aliases): Define for compiler.
13518 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13519 Define for compiler.
13521 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13522 appropriate for the mail-user-agent in use.
13524 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13526 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13528 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13530 Fix short log parsing and fontification.
13531 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13532 Fix fontification for the [merge] label.
13534 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13536 Drop some properties to avoid surprises (bug#5002).
13537 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13538 (hfy-fontify-buffer): Use it.
13540 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13543 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13544 Adjust all callers.
13545 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13546 args compulsory. Adjust callers.
13547 (ffap-gopher-at-point): Remove unused var `name'.
13549 Get rid of the ELCFILES abomination.
13550 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13551 (compile-elcfiles): New phony target.
13552 (compile-main): Compute ELCFILES dynamically.
13553 (compile-clean): New target to remove left-over elc files.
13554 (compile, all): Use it.
13556 2009-12-09 Kenichi Handa <handa@etlken>
13558 * international/mule-diag.el: Require help-mode instead of help-fns.
13560 2009-12-09 Kenichi Handa <handa@m17n.org>
13562 * international/mule-cmds.el (ucs-names): Supply sufficiently
13563 fine ranges instead of pre-calculating accurate ranges.
13564 Iterate with bigger gc-cons-threshold.
13566 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13568 Add support for stashing a snapshot of the current tree.
13569 * vc-git.el (vc-git-stash-snapshot): New function.
13570 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13572 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13574 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13575 instead of `(beginning|end)-of-line'.
13577 2009-12-08 Glenn Morris <rgm@gnu.org>
13579 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13581 * Makefile.in (ELCFILES): Regenerate.
13583 2009-12-07 Juri Linkov <juri@jurta.org>
13585 Don't lazy-highlight the comint output in history Isearch mode.
13587 * comint.el (comint-history-isearch-search): Instead of
13588 `comint-line-beginning-position', use `comint-after-pmark-p'
13589 to check if point if before the process mark, and go to
13590 `process-mark' in this case.
13592 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13594 * textmodes/tex-mode.el (latex-complete)
13595 (latex-indent-or-complete): Remove.
13596 (latex-mode): Set completion-at-point-functions instead.
13598 Provide a standard completion command and hook it into TAB.
13599 * minibuffer.el (completion-at-point-functions): New var.
13600 (completion-at-point): New command.
13601 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13602 * progmodes/python.el (python-mode-map): Use completion-at-point.
13603 (python-completion-at-point): Rename from python-partial-symbol and
13604 adjust for use in completion-at-point-functions.
13605 (python-mode): Setup completion-at-point for Python completion.
13606 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13607 extracted from lisp-complete-symbol.
13608 (lisp-complete-symbol): Use it.
13609 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13610 setup completion-at-point for Elisp completion.
13611 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13612 Use completion-at-point.
13613 * ielm.el (ielm-map): Use completion-at-point.
13614 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13615 * progmodes/sym-comp.el: Move to...
13616 * obsolete/sym-comp.el: Move from progmodes.
13618 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13620 Prevent save-buffer in Rmail buffers from using the coding-system
13621 of the current message, and from clobbering the encoding mnemonics
13622 in the mode line (Bug#4623).
13624 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13626 (rmail-message-encoding): New variable.
13627 (rmail-write-region-annotate): Record the encoding of the current
13628 message in rmail-message-encoding.
13629 (rmail-after-save-hook): New function, restores the encoding of
13630 the current message after the message collection is saved.
13632 2009-12-07 Juri Linkov <juri@jurta.org>
13634 * progmodes/grep.el (grep-read-files): Use `completing-read'
13635 instead of `read-string'. Set its `collection' arg to
13636 `read-file-name-internal'. (Bug#4301)
13638 2009-12-07 Juri Linkov <juri@jurta.org>
13640 Correctly restore original Isearch point. (Bug#4994)
13642 * isearch.el (isearch-mode): Move `isearch-push-state' after
13643 `(run-hooks 'isearch-mode-hook)'.
13644 (isearch-cancel): When `isearch-push-state-function' is defined,
13645 let-bind `isearch-cmds' to the first state (the last element of
13646 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13647 function and restores the original point). Otherwise, move point
13648 to `isearch-opoint'.
13650 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13652 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13653 chars that don't have names, so the table can be built much faster at
13656 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13658 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13659 change. Suggested by David Kastrup.
13661 * simple.el (compose-mail): Check for incompatibilities and warn.
13662 (compose-mail-user-agent-warnings): New option.
13664 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13666 Support showing a single log entry from vc-annotate.
13667 * vc.el (print-log): Add a new argument: START-REVISION.
13668 (vc-print-log-internal): Add a new optional argument and
13669 pass it to the backend.
13670 (vc-print-log, vc-print-root-log): Adjust callers.
13671 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13672 buffer already displays the requested log entry, use it.
13673 Otherwise display only the log entry in question.
13674 * vc-svn.el (vc-svn-print-log):
13675 * vc-mtn.el (vc-mtn-print-log):
13676 * vc-hg.el (vc-hg-state):
13677 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13678 (vc-git-show-log-entry): Return t on success.
13679 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13680 (vc-bzr-show-log-entry): Return t on success.
13681 * vc-rcs.el (vc-rcs-print-log):
13682 * vc-sccs.el (vc-sccs-print-log):
13683 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13685 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13687 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13688 Add menus to the meta mode. (Bug#5043)
13690 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13692 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13695 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13697 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13699 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13700 Berbain <raphael.berbain@gmail.com>.
13702 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13704 (tramp-initial-end-of-output): New defconst.
13705 (tramp-methods, tramp-find-shell)
13706 (tramp-open-connection-setup-interactive-shell)
13707 (tramp-maybe-open-connection): Use it.
13708 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13709 Handle existence of `#' and `$'.
13711 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13712 Use `tramp-initial-end-of-output'.
13714 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13716 Get the background mode from the terminal for xterm, and set
13718 * term/xterm.el (xterm-set-background-mode): New function.
13719 (terminal-init-xterm): Use it in case xterm supports background
13720 color queries. Recompute faces after getting the background
13723 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13725 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13726 number comment back on its own line, for easier parsing.
13728 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13730 Make it work for non-file buffers (bug#5102).
13731 * doc-view.el (doc-view-current-cache-dir):
13732 Use doc-view-buffer-file-name rather than buffer-file-name.
13733 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13735 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13737 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13738 author field is too short.
13740 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13742 * vc-git.el (vc-git-print-log): Handle a limit argument.
13743 Display the short log in graph form and with labels.
13744 (vc-git-log-view-mode): Handle labels.
13746 Make vc-revert change VC state from 'added to 'unregistered.
13747 * vc-git.el (vc-git-revert): Call git reset first.
13749 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13751 * net/newst-backend.el, net/newst-plainview.el:
13752 * net/newst-reader.el, net/newst-ticker.el:
13753 * net/newst-treeview.el, net/newsticker.el:
13754 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13756 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13758 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13760 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13761 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13762 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13763 Update annotation regexp.
13765 * simple.el (beginning-of-visual-line): Constrain to field
13766 boundaries (Bug#5106).
13768 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13770 * xml.el (xml-substitute-numeric-entities):
13771 Move newsticker--decode-numeric-entities in newst-backend.el to
13772 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13773 * net/newst-backend.el (newsticker--parse-generic-feed)
13774 (newsticker--parse-generic-items)
13775 (newsticker--decode-numeric-entities):
13776 Move newsticker--decode-numeric-entities in newst-backend.el to
13777 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13779 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13781 * progmodes/js.el (js--js-not): Add null to the list of values.
13783 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13785 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13787 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13789 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13790 delimiter if it is at the end of the current line.
13791 (bibtex-generate-url-list): Fix docstring.
13793 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13795 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13796 minibuffer's content with itself.
13797 Fold the confirm-after-completion case into the `confirm' case.
13798 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13800 2009-12-06 Kevin Ryde <user42@zip.com.au>
13802 * ffap.el (ffap-rfc-path): Make this a defcustom since
13803 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13805 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13806 manuals, similar to existing setup for help-mode. (Bug#3913.)
13808 2009-12-05 Juri Linkov <juri@jurta.org>
13810 Save and restore dired buffer's point positions too. (Bug#4880)
13812 * dired.el (dired-save-positions): Return in the first element
13813 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13815 (dired-restore-positions): First restore buffer's position.
13816 While restoring window's positions, check if window still displays
13817 the original buffer.
13819 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13821 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13824 * shell.el (shell): Require ansi-color (Bug#5113).
13826 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13828 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13830 2009-12-05 Alan Mackenzie <acm@muc.de>
13832 * progmodes/cc-mode.el (c-before-hack-hook)
13833 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13834 `c-file-style' to work again. This reversion restores the current
13835 software to its state in Emacs 23.1. (Bug#4146)
13837 2009-12-05 Kevin Ryde <user42@zip.com.au>
13839 * textmodes/sgml-mode.el (sgml-lexical-context):
13840 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13842 2009-12-05 Juri Linkov <juri@jurta.org>
13844 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13845 for virtual nodes. (Bug#4147)
13846 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13847 when moving from a virtual node.
13848 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13849 (Info-mode): Add `Info-virtual-index' to the docstring.
13851 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13853 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13854 track of the buffer position of the end of a BibTeX entry as this
13855 position may change during reformatting.
13856 (bibtex-format-entry): Remove whitespace before processing
13857 numerical fields so that we recognize the latter properly.
13858 (bibtex-reformat): Do not use push which changes the global value
13859 of bibtex-entry-format.
13860 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13861 (bibtex-field-re-init): Replace only space characters by regexp
13863 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13864 (bibtex-initialize): Also update bibtex-strings.
13865 (bibtex-kill-field): Preserve white space at end of entry.
13866 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13867 Update bibtex-reference-keys.
13869 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13871 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13872 point after a star, if that's the only place where modifications can
13875 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13877 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13880 2009-12-04 Juri Linkov <juri@jurta.org>
13882 * proced.el (proced): Call `(proced-update t)' to update process
13883 information instead of only running proced-post-display-hook.
13884 (proced-send-signal): Add a leading space to the buffer name
13885 " *Marked Processes*" to make this buffer ephemeral.
13887 2009-12-04 Juri Linkov <juri@jurta.org>
13889 * dired.el (dired-auto-revert-buffer): New defcustom.
13890 (dired-internal-noselect): Use it.
13892 2009-12-04 Juri Linkov <juri@jurta.org>
13894 Change roles of modes and functions in image-mode.el (Bug#5062).
13896 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13897 in `auto-mode-alist'.
13898 (image-mode-previous-major-mode): New variable.
13899 (image-minor-mode-map): Rename from `image-mode-text-map'.
13900 (image-mode): Move graceful error-handling code from
13901 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13902 (image-minor-mode): Remove all image-handling code.
13903 Replace `image-mode-text-map' with `image-minor-mode-map'.
13904 Check for `image-type' in mode-line format string.
13905 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13906 (image-mode-as-text): New function with most code from
13907 `image-mode-maybe'.
13908 (image-toggle-display-text): Move code that removes image
13909 properties from `image-toggle-display' to here.
13910 (image-toggle-display-image): New function with code that adds
13911 image properties copied from `image-toggle-display'.
13912 (image-toggle-display): Remove most code with leaving only code
13913 that toggles between `image-mode-as-text' and `image-mode'.
13915 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13917 * net/newst-treeview.el
13918 (newsticker--treeview-list-highlight-start): Restored call to
13919 save-excursion: Selected item was stuck.
13920 (newsticker--treeview-list-select): New.
13921 (newsticker--treeview-item-show-text)
13922 (newsticker--treeview-item-show)
13923 (newsticker--treeview-item-update): Use new
13924 newsticker-treeview-item-mode.
13925 (newsticker-treeview-update): Keep current item.
13926 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13927 (newsticker--treeview-first-feed): Doc change.
13928 (newsticker-treeview-list-menu)
13929 (newsticker-treeview-item-menu): Add menu entries.
13930 (newsticker-treeview-item-mode): New.
13932 * net/newst-backend.el (newsticker-customize): Delete other
13935 2009-12-04 Sam Steingold <sds@gnu.org>
13937 * log-view.el (log-view-mode-map): "q" calls quit-window,
13938 like in all the other non-self-insert buffers.
13940 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13943 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13944 key decoding rather than do it manually via last-input-event +
13946 (term-exec): Use delete-and-extract-region.
13947 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13948 (term-process-pager): Remove unused var `i'.
13949 (term-dynamic-simple-complete): Make obsolete.
13950 (serial-update-config-menu): Remove unused vars `y' and `str'.
13951 (term-update-mode-line): Remove unused var `temp'.
13953 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13955 Limit the number of log entries displayed by default.
13956 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13957 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13958 using a prefix argument.
13960 2009-12-03 Glenn Morris <rgm@gnu.org>
13962 * progmodes/idlwave.el (class): Restore still useful declaration.
13964 2009-12-03 Alan Mackenzie <acm@muc.de>
13966 Enhance `c-parse-state' to run efficiently in "brace deserts".
13968 * progmodes/cc-mode.el (c-basic-common-init):
13969 Call c-state-cache-init.
13970 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13971 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13972 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13974 * progmodes/cc-langs.el (c-before-font-lock-function):
13975 c-extend-and-neutralize-syntax-in-CPP has been renamed
13976 c-neutralize-syntax-in-and-mark-CPP.
13978 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13979 with `category' properties now, not `syntax-table' ones.
13981 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13982 enhanced (but slower) version of c-end-of-macro that won't land
13983 inside a literal or on another awkward character.
13984 (c-state-cache-too-far, c-state-cache-start)
13985 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13986 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13987 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13988 (c-state-min-scan-pos, c-state-brace-pair-desert)
13989 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13990 buffer local variables.
13991 (c-state-literal-at, c-state-lit-beg)
13992 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13993 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13994 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13995 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13996 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13997 (c-renarrow-state-cache)
13998 (c-append-lower-brace-pair-to-state-cache)
13999 (c-state-push-any-brace-pair, c-append-to-state-cache)
14000 (c-remove-stale-state-cache)
14001 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14002 (c-invalidate-state-cache-1, c-parse-state-1)
14003 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14004 (c-parse-state): Enhance and refactor.
14005 (c-debug-parse-state): Amend to deal with all the new variables.
14007 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14008 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14009 modify to use category text properties rather than syntax-table ones.
14010 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14011 to switch off/on the syntactic paren property of C++ template
14012 delimiters using the category property.
14013 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14014 template delims suppressed.
14015 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14016 New constant/macros which apply category properties to the start
14017 and end of preprocessor constructs.
14018 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14019 "comment out" the syntactic value of characters in preprocessor
14021 (c-with-cpps-commented-out)
14022 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14023 with characters in all or all but one preprocessor constructs
14026 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14028 * proced.el (proced-filter-alist): Use regexp-quote.
14030 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14033 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14034 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14035 arguments. Expand `default-directory'.
14037 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14038 the benefit of returning an expanded localname.
14039 (tramp-tramp-file-p): Handle the case NAME is not a string.
14041 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14043 Add support for bzr shelve/unshelve.
14044 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14045 (vc-bzr-extra-menu-map): New variables.
14046 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14047 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14048 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14049 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14050 (vc-bzr-dir-extra-headers): Display shelves.
14052 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14054 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14056 * textmodes/bibtex.el (bibtex-complete-internal):
14057 Use completion-in-region.
14058 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14060 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14062 Support applying stashes. Improve UI.
14063 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14064 (vc-git-stash-apply, vc-git-stash-pop)
14065 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14066 (vc-git-stash-menu): New functions.
14067 (vc-git-stash-menu-map): New variable.
14068 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14070 2009-12-03 Glenn Morris <rgm@gnu.org>
14072 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14073 (vc-print-log-internal): Fix previous change.
14074 (vc-revert): Correct pluralization.
14076 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14078 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14079 it to be an alist any more.
14080 (makefile-complete): Use completion-in-region.
14082 * progmodes/octave-mod.el (octave-complete-symbol):
14083 Use completion-in-region.
14086 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14087 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14088 (idlwave-complete-class): Don't quote lambda.
14089 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14090 (idlwave-mode-map): Move initialization into declaration.
14091 (idlwave-action-and-binding): Use backquotes.
14092 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14094 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14095 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14096 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14097 `parts', and `all-parts'.
14098 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14099 (idlwave-convert-xml-system-routine-info): Remove unused string
14101 (idlwave-display-user-catalog-widget): Use dolist.
14102 (idlwave-scanning-lib): Declare dynamically-scoped var.
14103 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14104 (completion-highlight-first-word-only): Declare to silence bytecomp.
14105 (idlwave-popup-select): Tighten scope of `resp'.
14106 (idlwave-find-struct-tag): Remove unused var `beg'.
14107 (idlwave-after-load-rinfo-hook): Declare.
14108 (idlwave-sintern-class-info): Remove unused var `taglist'.
14109 (idlwave-find-class-definition): Remove unused var `list'.
14110 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14111 (idlwave-what-module-find-class): Remove unused var `classes'.
14113 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14115 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14117 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14119 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14120 buffers visited. Remove redundant current-buffer-saving.
14122 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14124 Use completion-in-buffer and remove uses of dynamic scoping.
14125 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14126 (pascal-buffer-to-use, pascal-flag): Don't declare.
14127 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14128 (pascal-get-completion-decl, pascal-keyword-completion):
14129 Add `pascal-str' argument, save-excursion,
14130 return the found completions, and don't filter with pascal-pred.
14131 (pascal-completion-cache): New var.
14132 (pascal-completion): Don't switch buffer any more (it was never
14133 necessary). Don't save-excursion any more (it's done by the called
14134 subroutines). Use a cache to avoid redundant computations.
14135 Use complete-with-action rather than pascal-completion-response and
14136 let it apply the predicate as well.
14137 (pascal-complete-word): Use completion-in-buffer when
14138 pascal-toggle-completions is nil.
14139 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14141 (pascal-comp-defun): Don't change buffer any more.
14142 Use complete-with-action rather than pascal-completion-response and
14143 let it apply the predicate as well.
14144 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14147 2009-12-02 Kenichi Handa <handa@m17n.org>
14149 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14150 shape for all Indic scripts.
14152 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14154 Use completion-in-buffer.
14155 * wid-edit.el (widget-field-text-end): New function.
14156 (widget-field-value-get): Use it.
14157 (widget-string-complete, widget-file-complete)
14158 (widget-color-complete): Use it and completion-in-region.
14159 (widget-complete): Don't narrow the buffer.
14161 2009-12-02 Glenn Morris <rgm@gnu.org>
14163 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14164 (rmail-select-summary): Use rmail-pop-to-buffer.
14165 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14166 rmail-pop-to-buffer, to prevent horizontal splits.
14168 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14169 save-excursion with save-current-buffer.
14170 Widen before searching. (Bug#5093)
14171 (diary-list-sexp-entries): Remove superfluous save-excursion.
14173 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14175 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14178 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14180 * ido.el (ido-file-internal): Handle filenames at point that do
14181 not have a directory part. (Bug#5049)
14183 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14185 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14186 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14188 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14190 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14191 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14194 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14196 * comint.el (comint-insert-input): Ignore clicks to the right of
14197 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14199 * vc.el (vc-print-log-internal): Don't wait for the process to
14200 terminate before setting up the major mode.
14202 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14205 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14208 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14210 2009-12-01 Glenn Morris <rgm@gnu.org>
14212 * window.el (window--display-buffer-2): Fix previous changes.
14214 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14216 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14218 2009-12-01 Glenn Morris <rgm@gnu.org>
14220 * Makefile.in (ELCFILES): Add mpc.elc.
14222 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14224 * mpc.el: New file.
14226 2009-12-01 Glenn Morris <rgm@gnu.org>
14228 * window.el (window-to-use): Define for compiler.
14230 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14231 consistent with others (no final period).
14233 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14234 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14236 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14238 Make vc-print-log buttons work.
14239 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14241 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14243 * savehist.el (savehist-autosave-interval): Allow setting to nil
14244 through customize. (Bug#5056)
14246 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14248 Fix references to jit-lock properties.
14249 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14250 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14251 (perl-font-lock-special-syntactic-constructs):
14252 Quote jit-lock-defer-multiline property.
14254 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14256 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14258 2009-11-30 Juri Linkov <juri@jurta.org>
14260 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14261 value `buffer' of `multi-isearch-next-buffer-current-function'.
14262 Use `(current-buffer)' when `buffer' is nil.
14263 (multi-isearch-next-buffer-from-list): Don't fallback to
14264 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14266 2009-11-30 Juri Linkov <juri@jurta.org>
14268 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14269 of buffers with `get-buffer' to `multi-isearch-buffers'.
14270 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14271 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14272 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14273 FILES with `expand-file-name' converting relative file names
14274 to absolute. Doc fix. (Bug#4727)
14276 2009-11-30 Juri Linkov <juri@jurta.org>
14278 * misearch.el (multi-isearch-read-buffers)
14279 (multi-isearch-read-matching-buffers): New functions.
14280 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14281 Use them in the `interactive' spec. Doc fix.
14282 (multi-isearch-read-files, multi-isearch-read-matching-files):
14284 (multi-isearch-files, multi-isearch-files-regexp):
14285 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14287 2009-11-30 Juri Linkov <juri@jurta.org>
14289 * doc-view.el (doc-view-continuous):
14290 Rename from `doc-view-continuous-mode'.
14291 (doc-view-menu): Move "Toggle display" to the top.
14292 Add submenu "Continuous" with radio buttons "Off"/"On"
14293 and "Save as Default".
14294 (doc-view-scroll-up-or-next-page)
14295 (doc-view-scroll-down-or-previous-page)
14296 (doc-view-next-line-or-next-page)
14297 (doc-view-previous-line-or-previous-page):
14298 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14300 2009-11-30 Juri Linkov <juri@jurta.org>
14302 * comint.el (comint-mode-map): Rebind `M-r' from
14303 `comint-previous-matching-input' to
14304 `comint-history-isearch-backward-regexp'.
14305 Unbind `M-s' to allow global key binding `M-s'.
14306 Add menu items for `comint-history-isearch-backward' and
14307 `comint-history-isearch-backward-regexp'. (Bug#3746)
14309 2009-11-30 Juri Linkov <juri@jurta.org>
14311 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14312 For def=recenter, replace `recenter' with `recenter-top-bottom'
14313 that is called with `this-command' and `last-command' let-bound
14314 to `recenter-top-bottom'. When the last `def' was not `recenter',
14315 set `recenter-last-op' to nil. (Bug#4981)
14317 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14319 Minor cleanup and simplification.
14320 * filecache.el (file-cache-add-directory)
14321 (file-cache-add-directory-recursively)
14322 (file-cache-add-from-file-cache-buffer)
14323 (file-cache-delete-file-regexp, file-cache-delete-directory)
14324 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14325 (file-cache-temp-minibuffer-message): Delete function.
14326 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14328 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14329 Don't signal an error when bumping into EOB in tr, s, or y.
14331 2009-11-29 Juri Linkov <juri@jurta.org>
14333 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14336 * descr-text.el (describe-char-unidata-list): Use lowercase name
14337 for "Unicode name" like in other tags.
14339 2009-11-29 Juri Linkov <juri@jurta.org>
14341 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14342 New compatibility macro.
14343 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14345 2009-11-29 Juri Linkov <juri@jurta.org>
14347 Add defcustom to define the cycling order of `recenter-top-bottom'.
14350 * window.el (recenter-last-op): Doc fix.
14351 (recenter-positions): New defcustom.
14352 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14353 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14355 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14357 Improve integration of Tramp and ange-ftp in eshell.
14359 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14360 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14361 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14363 * eshell/esh-util.el (top): Require also Tramp when compiling.
14364 (eshell-directory-files-and-attributes): Check for FTP remote
14366 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14367 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14368 (eshell-file-attributes): Handle ".". Return `entry'.
14370 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14371 (ange-ftp-directory-files-and-attributes)
14372 (ange-ftp-real-directory-files-and-attributes): New defuns.
14374 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14375 shell with "exec" when possible. This prevents trailing prompts
14376 in `start-file-process'.
14378 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14380 Try and remove assumptions about point-min==1.
14381 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14382 (rng-compute-mode-line-string): Show the validation percentage in
14383 terms of the narrowed text, not the widened text.
14384 (rng-do-some-validation): Don't catch internal errors when debugging.
14385 (rng-first-error): Simplify.
14386 (rng-after-change-function): Remove work around. AFAIK the bug has
14387 been fixed a while ago.
14389 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14390 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14392 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14394 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14395 `cd' doesn't always do it for us (bug#5067).
14397 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14398 on 2009-10-25 as part of some other change (bug#5067).
14400 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14402 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14404 (byte-compile-warnings): Use byte-compile-warning-types.
14405 (byte-compile-save-excursion): Warn about use of set-buffer right
14406 after save-excursion.
14408 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14409 the excursion as well.
14411 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14413 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14414 providing a Tramp related implementation of "su" and "sudo".
14415 (eshell-unix-initialize): Add "su" and "sudo".
14417 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14419 * net/socks.el (socks-send-command): Convert binary request to
14420 unibyte before sending. This fixes mishandling of some port
14421 numbers such as 129.
14423 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14425 * help.el (describe-bindings-internal): Remove `interactive'.
14427 * man.el (Man-completion-table): Trim a terminating "(".
14428 Remove the space between name page a section.
14429 Add the command's description on the `help-echo' property.
14430 Remove `process-connection-type' binding since it's unused by
14432 Provide completion for the "<section> <name>" format as well.
14433 (Man-default-man-entry): Remove spurious var shadowing the argument.
14435 2009-11-26 Kevin Ryde <user42@zip.com.au>
14437 * log-view.el: Add "Keywords: tools", since its other keywords
14438 aren't in finder-known-keywords, and following vc.el.
14440 * sha1.el (sha1-string-external): default-directory "/" in case
14441 otherwise non-existent. process-connection-type pipe for touch of
14442 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14444 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14446 Misc coding convention cleanups.
14447 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14448 hfy-init-kludge-hooks.
14449 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14450 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14451 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14453 (hfy-slant, hfy-weight): Use tables rather than code.
14454 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14455 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14456 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14457 (hfy-face-to-css): Remove `nconc' with single arg.
14458 (hfy-p-to-face-lennart): Use `or'.
14459 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14460 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14461 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14462 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14463 (hfy-force-fontification): Use run-hooks.
14465 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14467 Various minor fixes.
14468 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14469 Javascript belongs in the header, not the body.
14470 (hfy-javascript): Remove.
14471 (hfy-fontify-buffer): Don't insert it any more.
14472 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14473 Fix bug in invis handling when there were no invis props in a chunk.
14475 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14477 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14479 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14481 * finder.el (finder-mode-map): Add a menu.
14483 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14485 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14486 "unsigned" structs.
14488 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14489 fork" statement better.
14491 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14493 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14494 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14495 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14496 Reported by Clay Douglass.
14498 (verilog-auto-inst, verilog-auto-star-safe)
14499 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14500 Fix removing "// Interfaces" when saving .* expansions.
14501 Reported by Pierre-David Pfister.
14503 2009-11-26 Glenn Morris <rgm@gnu.org>
14505 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14508 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14510 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14511 Really use previous revision.
14513 2009-11-25 Kevin Ryde <user42@zip.com.au>
14515 * man.el (Man-completion-table): default-directory "/" in case
14516 doesn't otherwise exist. process-environment COLUMNS=999 so as
14517 not to truncate long names. process-connection-type pipe to avoid
14518 any chance of hitting the pseudo-tty TIOCGWINSZ.
14519 (man): completion-ignore-case t for friendliness and since man
14520 itself is case-insensitive on the command line.
14521 Further to Bug#3717.
14523 * arc-mode.el: Add "Keywords: files", so the details in its
14524 commentary can be reached from finder-by-keyword.
14525 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14526 editing mode, but it's comms related and sgml-mode.el has "comm"
14528 * textmodes/bibtex-style.el: Add "Keywords: tex".
14529 * international/isearch-x.el, international/ja-dic-cnv.el:
14530 * international/ja-dic-utl.el, international/kkc.el:
14531 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14533 2009-11-25 Juri Linkov <juri@jurta.org>
14535 * man.el (Man-completion-table): Modify regexp to include
14536 section names to completion strings. (Bug#3717)
14538 2009-11-25 Juri Linkov <juri@jurta.org>
14540 Search recursively in gzipped files. (Bug#4982)
14542 * progmodes/grep.el (grep-highlight-matches): Add new options
14543 `always' and `auto'. Doc fix.
14544 (grep-process-setup): Check `grep-highlight-matches' for
14545 `auto-detect' to determine the need to compute grep defaults.
14546 Move Windows/DOS specific --colors settings handling
14547 to `grep-compute-defaults'. Check `grep-highlight-matches'
14548 to get the value of "--color=".
14549 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14550 has the value `auto-detect'. Move Windows/DOS specific settings
14551 from `grep-process-setup'.
14552 (zrgrep): New command with alias `rzgrep'.
14554 2009-11-25 Juri Linkov <juri@jurta.org>
14556 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14557 to nil instead of switching off view-mode. (Bug#4896)
14559 2009-11-25 Juri Linkov <juri@jurta.org>
14561 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14563 * mwheel.el (mwheel-scroll-up-function)
14564 (mwheel-scroll-down-function): New defvars.
14565 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14566 `scroll-up', and `mwheel-scroll-down-function' instead of
14569 * doc-view.el (doc-view-scroll-up-or-next-page)
14570 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14571 Use this ARG in the call to image-scroll-up/image-scroll-down.
14572 Change `interactive' spec to "P". Goto next/previous page only
14573 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14574 SPC/DEL case). Doc fix.
14575 (doc-view-next-line-or-next-page)
14576 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14578 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14579 `doc-view-scroll-up-or-next-page', and buffer-local
14580 `mwheel-scroll-down-function' to
14581 `doc-view-scroll-down-or-previous-page'.
14583 2009-11-25 Juri Linkov <juri@jurta.org>
14585 Provide additional default values (directories at other Dired
14586 windows) via M-n in the minibuffer of some Dired commands.
14588 * dired-aux.el (dired-diff, dired-compare-directories)
14589 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14590 `minibuffer-default' in `minibuffer-with-setup-hook'.
14591 (dired-dwim-target-directory): Find a window that displays Dired
14592 buffer instead of failing when the next window is not Dired.
14593 Use `get-window-with-predicate' to find for the next Dired window.
14594 (dired-dwim-target-defaults): New function.
14596 * ediff-util.el (ediff-read-file-name):
14597 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14598 in `minibuffer-with-setup-hook'.
14600 2009-11-25 Juri Linkov <juri@jurta.org>
14602 Provide additional default values (file name at point or at the
14603 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14605 * minibuffer.el (read-file-name-defaults): New function.
14606 (read-file-name): Reset `minibuffer-default' to nil when
14607 it duplicates initial input `insdef'.
14608 Bind `minibuffer-default-add-function' to lambda that
14609 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14610 (minibuffer-insert-file-name-at-point): New command.
14612 * files.el (file-name-at-point-functions): New defcustom.
14613 (find-file-default): Remove defvar.
14614 (find-file-read-args): Don't use `find-file-default'.
14615 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14616 to `read-file-name'.
14617 (find-file-literally): Use `read-file-name' with
14618 `confirm-nonexistent-file-or-buffer'.
14620 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14622 * dired.el (dired-read-dir-and-switches):
14623 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14624 to `read-file-name'.
14625 (dired-file-name-at-point): New function.
14626 (dired-mode): Add hook `dired-file-name-at-point' to
14627 `file-name-at-point-functions'.
14629 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14631 Really make the *Completions* window soft-dedicated (bug#5030).
14632 * window.el (window--display-buffer-2): Add `dedicated' argument.
14633 (display-buffer): Pass it when needed so the dedicated flag is set
14634 after calling set-window-buffer, which would otherwise reset it.
14636 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14638 * progmodes/meta-mode.el (meta-complete-symbol):
14639 * progmodes/etags.el (complete-tag):
14640 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14641 Use completion-in-region.
14643 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14644 (dabbrev-completion): Use completion-in-region.
14645 (dabbrev--abbrev-at-point): Simplify regexp.
14647 * abbrev.el (abbrev--before-point): Use word-motion functions
14648 if :regexp is not specified (bug#5031).
14650 * subr.el (string-prefix-p): New function.
14652 * man.el (Man-completion-cache): New var.
14653 (Man-completion-table): Use it.
14655 * vc.el (vc-print-log-internal): Make `limit' optional for better
14656 compatibility (e.g. with vc-annotate.el).
14658 2009-11-24 Kevin Ryde <user42@zip.com.au>
14660 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14661 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14663 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14664 when .el source file not found or other error.
14666 2009-11-24 Markus Triska <markus.triska@gmx.at>
14668 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14670 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14672 Handle the [back] button properly (bug#4979).
14673 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14674 Use help-setup-xref, help-buffer, and with-help-window.
14675 (describe-char): Add `buffer' argument.
14676 Pass proper command to help-setup-xref. Don't meddle with
14677 help-xref-stack-item directly.
14678 (describe-text-category): Use with-help-window and help-buffer.
14680 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14681 for the displayed buffer (bug#4887).
14683 * man.el (Man-completion-table): New function.
14686 2009-11-24 David Reitter <david.reitter@gmail.com>
14688 * vc-git.el (vc-git-registered): Use checkout directory (where
14689 .git is) rather than the file's directory and a relative path spec
14690 to work around a bug in git.
14692 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14694 Improve handling of processes on remote hosts.
14696 * eshell/esh-util.el (eshell-path-env): New defvar.
14697 (eshell-parse-colon-path): New defun.
14698 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14700 * eshell/esh-ext.el (eshell-search-path):
14701 Use `eshell-parse-colon-path'.
14702 (eshell-remote-command): Remove argument HANDLER.
14703 (eshell-external-command): Check for FTP remote connection.
14705 * eshell/esh-proc.el (eshell-gather-process-output):
14706 Use `file-truename', in order to start also symlinked files.
14707 Apply `start-file-process' instead of `start-process'.
14708 Shorten `command' to the local file name part.
14710 * eshell/em-cmpl.el (eshell-complete-commands-list):
14711 Use `eshell-parse-colon-path'.
14713 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14715 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14716 to `eshell-directory-change-hook'.
14718 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14720 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14721 because it could be enabled automatically if view-read-only is non-nil.
14723 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14725 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14726 made on 2009-11-22.
14728 2009-11-24 Glenn Morris <rgm@gnu.org>
14730 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14731 deleted variable bookmark-bmenu-bookmark-column.
14733 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14735 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14737 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14739 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14740 two slashes to the "file:" prefix.
14741 (browse-url-file-url): De-munge Cygwin filenames before passing
14742 them to Windows browser.
14743 (browse-url-default-windows-browser): Use call-process.
14745 2009-11-23 Juri Linkov <juri@jurta.org>
14747 Implement DocView Continuous mode. (Bug#4896)
14748 * doc-view.el (doc-view-continuous-mode): New defcustom.
14749 (doc-view-mode-map): Bind C-n/<down> to
14750 `doc-view-next-line-or-next-page', C-p/<up> to
14751 `doc-view-previous-line-or-previous-page'.
14752 (doc-view-next-line-or-next-page)
14753 (doc-view-previous-line-or-previous-page): New commands.
14755 2009-11-23 Juri Linkov <juri@jurta.org>
14757 Implement Isearch in comint input history. (Bug#3746)
14758 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14759 `isearch-mode-hook'.
14760 (comint-history-isearch): New defcustom.
14761 (comint-history-isearch-backward)
14762 (comint-history-isearch-backward-regexp): New commands.
14763 (comint-history-isearch-message-overlay): New buffer-local variable.
14764 (comint-history-isearch-setup, comint-history-isearch-end)
14765 (comint-goto-input, comint-history-isearch-search)
14766 (comint-history-isearch-message, comint-history-isearch-wrap)
14767 (comint-history-isearch-push-state)
14768 (comint-history-isearch-pop-state): New functions.
14770 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14772 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14774 (tramp-handle-make-symbolic-link)
14775 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14777 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14778 (tramp-handle-process-file): Use it.
14780 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14782 * window.el (move-to-window-line-last-op): Remove.
14783 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14785 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14787 Make M-r mirror the new cycling behavior of C-l.
14788 * window.el (move-to-window-line-last-op): New var.
14789 (move-to-window-line-top-bottom): New command.
14790 (global-map): Bind M-r move-to-window-line-top-bottom.
14792 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14794 * dired-x.el (dired-guess-shell-alist-default):
14795 Support xz format. (Bug#4953)
14797 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14799 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14800 last-command-char/last-command-event.
14801 (viper-prefix-arg-value): Do correct conversion of event-char for
14804 * emulation/viper-util.el, emulation/viper.el:
14805 Use viper-last-command-char instead of
14806 last-command-char/last-command-event.
14808 * ediff-init.el, ediff-mult.el, ediff-util.el:
14809 Replace last-command-char and last-command-event
14810 with (ediff-last-command-char) everywhere.
14812 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14813 created in fundamental mode.
14815 * ediff.el (ediff-version): Revert the change of interactive-p to
14816 called-interactively-p.
14818 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14820 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14821 generation from word-movement command names.
14823 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14825 * cus-start.el (all): Add native condition for font-use-system-font.
14827 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14829 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14830 Correct the patch from 2009-11-18. (Bug#3910)
14832 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14834 * progmodes/subword.el: Rename from lisp/subword.el.
14836 * subword.el: Rename to progmodes/subword.el.
14838 * Makefile.in (ELCFILES): Adapt to subword.el move.
14840 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14841 Stefan Monnier <monnier@iro.umontreal.ca>
14843 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14844 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14845 (bookmark-bmenu-show-filenames): Use push.
14846 (bookmark-bmenu-hide-filenames): Use local var instead of
14847 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14848 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14849 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14850 filenames now that the bookmark names are always available.
14852 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14854 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14855 (bookmark-search-pattern): Move and leave unbound.
14856 (bookmark-bmenu-mode-map): Change binding.
14857 (bookmark-read-search-input): Simplify.
14858 Don't use text-char-description. Don't error on non-char events.
14859 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14860 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14861 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14862 Use a local var for the timer.
14863 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14864 (i.e. bookmark-bmenu-search).
14866 2009-11-21 Glenn Morris <rgm@gnu.org>
14868 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14870 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14872 * net/browse-url.el (browse-url-default-windows-browser):
14873 Use cygstart for cygwin.
14875 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14877 * bookmark.el: Formatting and doc fixes only:
14878 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14879 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14880 Minor grammar and punctuation fixes in doc string.
14881 (bookmark-read-search-input): Adjust to fit within 80 columns.
14883 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14885 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14886 (c-backward-into-nomenclature): Adapt to subword renaming.
14888 * subword.el (subword-forward, subword-backward, subword-mark)
14889 (subword-kill, subword-backward-kill, subword-transpose)
14890 (subword-downcase, subword-upcase, subword-capitalize)
14891 (subword-forward-internal, subword-backward-internal):
14892 Rename from forward-subword, backward-subword, mark-subword,
14893 kill-subword, backward-kill-subword, transpose-subwords,
14894 downcase-subword, upcase-subword, capitalize-subword,
14895 forward-subword-internal, backward-subword-internal.
14897 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14899 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14901 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14903 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14904 (bookmark-bmenu-filter-alist-by-regexp)
14905 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14906 (bookmark-bmenu-search): New command.
14907 (bookmark-bmenu-mode-map): Bind it.
14909 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14911 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14912 backward-subword to quit the byte-compiler.
14914 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14916 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14918 * progmodes/cc-cmds.el (c-update-modeline)
14919 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14920 Refer to subword.el functions instead of cc-subword.el.
14922 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14923 subword.el functions instead of cc-subword.el.
14925 * progmodes/cc-subword.el: Rename to subword.el.
14926 * subword.el: Rename from progmodes/cc-subword.el.
14927 (subword-mode-map): Rename from c-subword-mode-map.
14928 (subword-mode): Rename from c-subword-mode.
14929 (global-subword-mode): New global minor mode.
14930 (forward-subword): Rename from c-forward-subword.
14931 (backward-subword): Rename from c-backward-subword.
14932 (mark-subword): Rename from c-mark-subword.
14933 (kill-subword): Rename from c-kill-subword.
14934 (backward-kill-subword): Rename from c-backward-kill-subword.
14935 (transpose-subwords): Rename from c-tranpose-subword.
14936 (downcase-subword): Rename from c-downcase-subword.
14937 (capitalize-subword): Rename from c-capitalize-subword.
14938 (forward-subword-internal): Rename from c-forward-subword-internal.
14939 (backward-subword-internal): Rename from c-backward-subword-internal.
14941 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14943 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14944 from a dired buffer.
14945 (vc-dired-deduce-fileset): New function.
14946 (vc-root-diff, vc-print-root-log): Use it.
14948 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14949 nil LIMIT argument to vc-print-log-internal.
14951 2009-11-20 Glenn Morris <rgm@gnu.org>
14953 * Makefile.in (ELCFILES): Regenerate.
14955 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14957 * calc/calc.el (calc-set-mode-line):
14958 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14959 (math-format-number): Rename `math-format-complement-signed' to
14960 `math-format-twos-complement'.
14962 * calc/calc-bin.el (math-format-twos-complement): Rename from
14963 math-format-complement-signed.
14964 (calc-radix): Rename `calc-complement-signed-mode' to
14965 `calc-twos-complement-mode'.
14966 (calc-octal-radix, calc-hex-radix): Add an argument for
14969 * calc/calc-embed.el (calc-embedded-mode-vars):
14970 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14972 * calc/calc-ext.el (calc-init-extensions):
14973 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14974 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14976 * calc/calc-units.el (math-build-units-table-buffer):
14977 Let `calc-twos-complement-mode' be nil.
14979 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14982 * calc/calc-vec.el (calcFunc-vunpack):
14983 * calc/calc-aent.el (calc-do-calc-eval):
14984 * calc/calc-forms.el (math-format-date):
14985 * calc/calc-graph.el (calc-graph-plot):
14986 * calc/calc-math.el (math-use-emacs-fn):
14987 * calc/calccomp.el (math-compose-expr):
14988 Let `calc-twos-complement-mode' be nil.
14990 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14992 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14993 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14994 * minibuffer.el (completion-in-region-functions): New hook.
14995 (completion-in-region): New function.
14996 * emacs-lisp/lisp.el (lisp-complete-symbol):
14997 * pcomplete.el (pcomplete-std-complete): Use it.
14999 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15001 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15002 (latex-complete-alist): New vars.
15003 (latex-string-prefix-p, latex-complete-bibtex-keys)
15004 (latex-complete-envnames, latex-complete-refkeys)
15005 (latex-complete-data): New functions.
15006 (latex-complete, latex-indent-or-complete): New commands.
15008 * window.el (display-buffer-mark-dedicated): New var.
15009 (display-buffer): Obey it.
15010 * minibuffer.el (minibuffer-completion-help): Use it.
15012 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15014 * filecache.el (file-cache-add-file): Use push and cons.
15015 (file-cache-delete-file-regexp): Use push.
15016 (file-cache-complete): Use completion-in-region.
15018 * simple.el (with-wrapper-hook): Fix thinko.
15020 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15021 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15022 Use with-current-buffer and string-to-number.
15023 (hfy-fallback-colour-values): Use assoc-string.
15024 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15025 (hfy-face-at): Remove unused var `found-face'.
15026 (hfy-compile-stylesheet): Remove unused var `css'.
15027 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15029 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15030 Use with-current-buffer.
15031 (hfy-text-p): Use expand-file-name and fewer setq.
15033 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15035 * htmlfontify.el, hfy-cmap.el: New files.
15037 2009-11-19 Juri Linkov <juri@jurta.org>
15039 * minibuffer.el (completions-format): New defcustom.
15040 (completion--insert-strings): Implement vertical format.
15042 * simple.el (switch-to-completions): Move point to the first
15043 completion when point was at the beginning of the buffer.
15045 2009-11-19 Juri Linkov <juri@jurta.org>
15047 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15049 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15051 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15053 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15054 (mail-signature): Change default to t.
15055 (mail-from-style): Deprecate `system-default' value.
15056 (mail-insert-from-field): For default value of mail-from-style,
15057 default to `angles' unless `angles' needs quoting and `parens'
15059 (mail-citation-prefix-regexp): Use citation regexp from
15062 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15064 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15065 Set variables for computing the prompt for reading password.
15067 2009-11-19 Glenn Morris <rgm@gnu.org>
15069 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15071 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15073 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15074 (newsticker-treeview-listwindow-height): Fix custom type.
15076 2009-11-19 Kenichi Handa <handa@m17n.org>
15078 * descr-text.el (describe-char-padded-string): Compose with TAB
15079 only if there's a font for CH.
15080 (describe-char): Fix the condition for detecting a trivial composition.
15082 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15084 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15085 more accurate version of the regexp. (Bug#3910)
15087 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15089 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15091 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15093 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15094 (font-setting-change-default-font): Fix typo in docstring.
15096 2009-11-18 Alan Mackenzie <acm@muc.de>
15098 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15100 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15102 * font-setting.el (font-use-system-font): Move ...
15104 * cus-start.el (all): ... to here.
15106 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15108 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15109 Don't set `ad-return-value' if `ad-do-it' doesn't.
15111 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15114 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15116 * menu-bar.el: Put "Use system font" in Option-menu.
15117 (menu-bar-options-save): Add font-use-system-font.
15119 * loadup.el: If feature system-font-setting or font-render-setting is
15120 there, load font-setting.
15122 * Makefile.in (ELCFILES): Add font-settings.el.
15123 * font-setting.el: New file.
15125 2009-11-17 Glenn Morris <rgm@gnu.org>
15127 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15129 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15130 Preserve point in the list buffer. (Bug#4939)
15132 (newsticker--treeview-list-update-highlight)
15133 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15135 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15137 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15140 * calc/calc-ext.el (calc-init-extensions): Remove references to
15143 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15145 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15146 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15149 2009-11-16 Kevin Ryde <user42@zip.com.au>
15151 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15152 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15154 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15155 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15156 Ignore trailing spaces by omit-nulls to split-string (fixing
15157 regression from Emacs 21 due to the incompatible split-string
15158 change). (Bug #4928.)
15160 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15162 * vc.el (vc-log-show-limit): Default to 2000.
15163 (vc-print-log-internal): Insert buttons to request more entries
15164 when limiting the output.
15166 * vc-sccs.el (vc-sccs-print-log):
15167 * vc-rcs.el (vc-rcs-print-log):
15168 * vc-cvs.el (vc-cvs-print-log):
15169 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15172 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15174 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15175 error when `tramp-gvfs-dbus-event-vector' is set.
15176 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15178 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15180 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15182 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15184 * net/dbus.el (dbus-unregister-service): New defun.
15185 (dbus-register-property): Register the handlers of
15186 "org.freedesktop.DBus.Properties" for SERVICE.
15187 (dbus-property-handler): Fix docstring.
15189 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15191 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15192 Quote doc string reference in defvaralias as it is not in special form.
15193 (byte-compile-output-docform): Doc fix.
15195 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15197 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15198 (calc-complement-signed-mode): New variables.
15199 (calc-set-mode-line): Add indicator for twos-complements.
15200 (math-format-number): Format twos-complement notation.
15202 * calc/calc-bin.el (calc-word-size): Reset the variables
15203 `math-2-word-size' and `math-half-2-word-size'.
15204 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15205 (calc-symclip): New functions.
15207 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15209 * calc/calc-embed.el (calc-embedded-mode-vars):
15210 Add `calc-complement-signed-mode' to the list of modes.
15212 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15213 (calc-b-oper-keys): Add `calc-symclip' to list.
15215 * calc/calc-ext.el (math-read-number-fancy): Read complement
15217 (calc-init-extensions): Add binding for `calc-symclip'.
15218 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15220 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15222 (calc-modes-menu): Add item for twos complement mode.
15224 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15226 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15228 * register.el (jump-to-register, insert-register): Handle Semantic
15229 tags. From commented-out advice in semantic/senator.el.
15231 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15233 * vc.el (vc-log-show-limit): New variable.
15234 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15235 when using a prefix argument.
15236 (vc-print-log-internal): Add new argument LIMIT.
15238 * vc-svn.el (vc-svn-print-log):
15239 * vc-mtn.el (vc-mtn-print-log):
15240 * vc-hg.el (vc-hg-print-log):
15241 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15242 pass it to the log command when set. Make the BUFFER argument
15245 * vc-sccs.el (vc-sccs-print-log):
15246 * vc-rcs.el (vc-rcs-print-log):
15247 * vc-git.el (vc-git-print-log):
15248 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15249 ignore it. Make the BUFFER argument non-optional
15251 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15253 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15255 * dired.el (dired-mode-map): Move encryption items to "Operate"
15258 * strokes.el (strokes-update-window-configuration): Make strokes
15259 buffer current before erasing (Bug#4906).
15261 2009-11-15 Juri Linkov <juri@jurta.org>
15263 * simple.el (set-mark-default-inactive): Add :type, :group
15264 and :version. (Bug#4876)
15266 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15268 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15269 (archive-unique-fname): ... here. (Bug#4929)
15271 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15273 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15276 * novice.el (disabled-command-function): Add useful args.
15277 Setup the help buffer so that [back] works.
15278 Remove redundant call to help-mode.
15279 (disabled-command-function): Use `case'.
15280 (en/disable-command): New function extracted from enable-command.
15281 (enable-command, disable-command): Use it.
15283 2009-11-14 Glenn Morris <rgm@gnu.org>
15285 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15286 constants. (Bug#4913)
15288 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15290 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15292 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15293 defined in C that have no doc-strings. (Bug#1063)
15295 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15297 * cus-edit.el (data, files):
15298 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15300 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15302 * simple.el (shell-command): Doc fix (Bug#4891).
15304 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15306 2009-11-14 Glenn Morris <rgm@gnu.org>
15308 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15309 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15310 If they are already loaded, eval-after-load will do the right thing.
15312 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15315 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15317 * simple.el (x-selection-owner-p): Declare.
15318 (read-mail-command): Use custom radio type rather than choice.
15319 (completion-no-auto-exit): Doc fix.
15321 * custom.el (defgroup):
15322 * epg-config.el (epg): Doc fixes.
15324 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15326 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15327 * international/ccl.el (define-ccl-program): Do not purecopy the
15328 docstring, defconst does it anyway.
15330 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15332 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15335 * x-dnd.el (x-dnd-maybe-call-test-function):
15336 * window.el (split-window-vertically):
15337 * whitespace.el (whitespace-help-on):
15338 * vc-rcs.el (vc-rcs-consult-headers):
15339 * userlock.el (ask-user-about-lock-help)
15340 (ask-user-about-supersession-help):
15341 * type-break.el (type-break-force-mode-line-update):
15342 * time-stamp.el (time-stamp-conv-warn):
15343 * terminal.el (te-set-output-log, te-more-break, te-filter)
15344 (te-sentinel, terminal-emulator):
15345 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15346 (term-write-input-ring, term-check-source, term-start-output-log):
15347 (term-display-buffer-line, term-dynamic-list-completions):
15348 (term-ansi-make-term, serial-term):
15349 * subr.el (selective-display):
15350 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15351 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15352 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15353 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15354 (speedbar-remove-localized-speedbar-support)
15355 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15356 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15357 (speedbar-buffers-line-directory):
15358 * simple.el (shell-command-on-region, append-to-buffer)
15359 (prepend-to-buffer):
15360 * shadowfile.el (shadow-save-todo-file):
15361 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15362 (scroll-bar-maybe-set-window-start):
15363 * sb-image.el (speedbar-image-dump):
15364 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15365 (load-save-place-alist-from-file):
15366 * ps-samp.el (ps-print-message-from-summary):
15367 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15368 (ps-background-image, ps-begin-job, ps-do-despool):
15369 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15370 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15371 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15372 (pr-call-process, pr-file-list, pr-interface-save):
15373 * novice.el (disabled-command-function)
15374 (enable-command, disable-command):
15375 * mouse.el (mouse-buffer-menu-alist):
15376 * mouse-copy.el (mouse-kill-preserving-secondary):
15377 * macros.el (kbd-macro-query):
15378 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15379 * informat.el (batch-info-validate):
15380 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15381 * hippie-exp.el (try-expand-dabbrev-visible):
15382 * help-mode.el (help-make-xrefs):
15383 * help-fns.el (describe-variable):
15384 * generic-x.el (bat-generic-mode-run-as-comint):
15385 * finder.el (finder-mouse-select):
15386 * find-dired.el (find-dired-sentinel):
15387 * filesets.el (filesets-file-close):
15388 * files.el (list-directory):
15389 * faces.el (list-faces-display, describe-face):
15390 * facemenu.el (list-colors-display):
15391 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15392 * epg.el (epg--process-filter, epg-cancel):
15393 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15394 (epa--read-signature-type):
15395 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15396 (emerge-file-names):
15397 * ehelp.el (electric-helpify):
15398 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15399 * ediff-vers.el (rcs-ediff-view-revision):
15400 * ediff-util.el (ediff-setup):
15401 * ediff-mult.el (ediff-append-custom-diff):
15402 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15404 * echistory.el (Electric-command-history-redo-expression):
15405 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15406 * disp-table.el (describe-display-table):
15407 * dired.el (dired-find-buffer-nocreate):
15408 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15409 * dabbrev.el (dabbrev--same-major-mode-p):
15410 * chistory.el (list-command-history):
15411 * apropos.el (apropos-documentation):
15412 * allout.el (allout-obtain-passphrase):
15413 (allout-copy-exposed-to-buffer):
15414 (allout-verify-passphrase): Use with-current-buffer.
15416 2009-11-13 Glenn Morris <rgm@gnu.org>
15418 * Makefile.in (ELCFILES): Regenerate.
15420 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15422 * net/dbus.el (dbus-registered-objects-table): Rename from
15423 `dbus-registered-functions-table', because it contains also properties.
15424 (dbus-unregister-object): Unregister also properties.
15425 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15426 Use a timeout of 500 msec, in order to not block.
15427 (dbus-register-property, dbus-property-handler): New defuns.
15429 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15431 * simple.el (minibuffer-default-add-completions): Drop deprecated
15434 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15436 * textmodes/artist.el (artist-mouse-choose-operation):
15437 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15438 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15439 (artist-compute-up-event-key): New function.
15440 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15442 2009-11-13 Kenichi Handa <handa@m17n.org>
15444 * language/japan-util.el: Make sure that the value of jisx0208
15445 property is jisx0208 character.
15447 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15449 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15450 car or each item, not the whole list.
15452 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15454 * minibuffer.el (minibuffer-completion-help):
15455 Use minibuffer-hide-completions.
15457 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15459 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15460 (dired-revert): Use them (bug#4880).
15462 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15464 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15466 2009-11-12 Juri Linkov <juri@jurta.org>
15468 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15470 (find-file-literally-at-point): Alias of `ffap-literally'.
15472 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15474 * textmodes/ispell.el (ispell-skip-region-alist):
15475 * textmodes/css-mode.el (auto-mode-alist):
15476 * progmodes/compile.el (auto-mode-alist):
15477 * international/mule.el (ctext-non-standard-encodings-alist)
15478 (ctext-non-standard-encodings-regexp):
15479 * simple.el (shell-command-switch, text-read-only):
15480 * replace.el (occur-mode-map):
15481 * paths.el (rmail-file-name):
15482 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15483 * find-file.el (ff-special-constructs):
15484 * files.el (file-name-handler-alist):
15485 * composite.el: Purecopy strings.
15487 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15489 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15491 * widget.el (define-widget): Purecopy the docstring.
15492 * international/mule-cmds.el (charset): Do not purecopy the
15493 docstring here, define-widget does it.
15495 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15496 * textmodes/bibtex-style.el (auto-mode-alist):
15497 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15498 * progmodes/compile.el (compile-command):
15499 * language/korea-util.el (default-korean-keyboard):
15500 * international/mule-conf.el (file-coding-system-alist):
15501 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15502 * tooltip.el (tooltip-frame-parameters):
15503 * newcomment.el (comment-end, comment-padding):
15504 * dired.el (dired-trivial-filenames):
15505 * comint.el (comint-file-name-prefix): Purecopy initial values.
15507 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15509 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15510 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15512 (tramp-advice-make-auto-save-file-name)
15513 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15514 after removing the advice.
15516 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15518 * progmodes/grep.el (grep-regexp-alist):
15519 * international/mule-cmds.el (iso-2022-control-alist):
15520 * emacs-lisp/timer.el (timer-duration-words):
15521 * subr.el (version-separator, version-regexp-alist):
15522 * minibuffer.el (completion-styles-alist):
15523 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15524 Change defvars to defconsts.
15526 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15527 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15528 * international/mule-conf.el: Allow to be byte compiled.
15530 * international/mule.el (define-charset): Purecopy props.
15531 (load-with-code-conversion): Purecopy doc string and file name.
15532 (put-charset-property): Purecopy strings.
15533 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15535 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15536 (define-char-code-property): Correctly purecopy the table.
15538 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15540 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15542 * subr.el (add-hook): Purecopy strings.
15543 (eval-after-load): Purecopy load-history-regexp and the form.
15545 * custom.el (custom-declare-group): Purecopy load-file-name.
15547 * subr.el (menu-bar-separator): New defconst.
15548 * net/eudc.el (eudc-tools-menu):
15549 * international/mule-cmds.el (set-coding-system-map)
15550 (mule-menu-keymap):
15551 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15552 * vc-hooks.el (vc-menu-map):
15553 * replace.el (occur-mode-map):
15554 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15555 (menu-bar-edit-menu, menu-bar-goto-menu)
15556 (menu-bar-custom-menu, menu-bar-showhide-menu)
15557 (menu-bar-options-menu, menu-bar-tools-menu)
15558 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15559 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15560 (menu-bar-help-menu):
15561 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15562 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15564 * term/x-win.el (x-gtk-stock-map):
15565 * progmodes/vera-mode.el (auto-mode-alist):
15566 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15567 (inferior-lisp-program, inferior-lisp-load-command):
15568 * progmodes/hideshow.el (hs-special-modes-alist):
15569 * progmodes/gud.el (same-window-regexps):
15570 * progmodes/grep.el (grep-program, find-program, xargs-program):
15571 * net/telnet.el (same-window-regexps):
15572 * net/rlogin.el (same-window-regexps):
15573 * language/ethiopic.el (font-ccl-encoder-alist):
15574 * vc-sccs.el (vc-sccs-master-templates):
15575 * vc-rcs.el (vc-rcs-master-templates):
15576 * subr.el (cl-assertion-failed):
15577 * simple.el (next-error-overlay-arrow-position):
15578 * lpr.el (lpr-command):
15579 * locate.el (locate-ls-subdir-switches):
15580 * info.el (same-window-regexps, info)
15581 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15582 * image-mode.el (image-mode, auto-mode-alist):
15583 * hippie-exp.el (hippie-expand-ignore-buffers):
15584 * format.el (format-alist):
15585 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15587 * facemenu.el (facemenu-keybindings):
15588 * dired.el (dired-listing-switches, dired-chown-program):
15589 * diff.el (diff-switches, diff-command):
15590 * cus-edit.el (same-window-regexps):
15591 * bindings.el (mode-line-mule-info)
15592 (mode-line-buffer-identification): Purecopy strings.
15594 2009-11-11 Juri Linkov <juri@jurta.org>
15596 * simple.el (dired-get-filename) <declare-function>:
15597 Tell the byte-compiler about dired-get-filename.
15598 (shell-command): In Dired mode, get filename from the current line
15599 as the default value.
15601 2009-11-10 Glenn Morris <rgm@gnu.org>
15603 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15604 * calendar/holidays.el, progmodes/cperl-mode.el:
15605 Update x-popup-menu declarations.
15607 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15608 (list-load-path-shadows): Use dolist.
15609 (list-load-path-shadows): Use with-current-buffer.
15611 2009-11-10 Juri Linkov <juri@jurta.org>
15613 * minibuffer.el (read-file-name): Support a list of default values
15614 in `default-filename'. Use the first file name where only one
15615 element is required. Doc fix.
15617 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15619 * net/dbus.el (dbus-unregister-object): Release service, if no
15620 other method is registered for it.
15622 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15624 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15625 bookmark-sort-flag is non-nil (Bug#4653).
15627 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15629 * emulation/cua-base.el: Add CUA property to some CC mode commands
15632 2009-11-08 Kevin Ryde <user42@zip.com.au>
15634 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15635 at end of sentence (Bug#4818).
15637 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15639 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15640 Handle "see declaration of" MSFT statements (Bug#4100).
15642 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15644 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15645 (tramp-advice-file-expand-wildcards): Unload via
15646 `ad-remove-advice'.
15648 * net/trampver.el: Update release number.
15650 2009-11-08 Kevin Ryde <user42@zip.com.au>
15652 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15655 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15657 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15658 in order to keep context in SELinux.
15660 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15662 * dired-aux.el (dired-query): Place cursor in echo area and allow
15665 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15666 menu item if not on a directory (Bug#4701).
15668 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15670 Sync with Tramp 2.1.17.
15672 * net/tramp.el (tramp-handle-copy-directory): Don't use
15673 `file-remote-p' (due to compatibility).
15675 * net/tramp-compat.el (tramp-compat-copy-directory)
15676 (tramp-compat-delete-directory): New defuns.
15678 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15679 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15680 Use `tramp-compat-delete-directory'.
15682 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15683 (tramp-smb-handle-delete-directory):
15684 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15686 * net/trampver.el: Update release number.
15688 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15690 * tar-mode.el (tar-copy): Call write-region on the right buffer
15693 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15694 by hand, if necessary (Bug#4878).
15696 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15698 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15699 align size column (Bug#4839).
15701 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15704 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15706 * progmodes/ld-script.el (auto-mode-alist):
15707 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15709 * cus-face.el (custom-declare-face): Purecopy face spec.
15711 2009-11-06 Kenichi Handa <handa@m17n.org>
15713 * international/uni-bidi.el: Re-generated.
15714 * international/uni-category.el: Re-generated.
15715 * international/uni-combining.el: Re-generated.
15716 * international/uni-mirrored.el: Re-generated.
15718 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15720 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15721 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15722 (tex-start-options, slitex-run-command, latex-run-command)
15723 (tex-run-command, tex-directory):
15724 * textmodes/ispell.el (ispell-html-skip-alists)
15725 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15726 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15727 (adaptive-fill-regexp):
15728 * textmodes/dns-mode.el (auto-mode-alist):
15729 * progmodes/python.el (interpreter-mode-alist):
15730 * progmodes/etags.el (tags-compression-info-list):
15731 * progmodes/etags.el (tags-file-name):
15732 * net/browse-url.el (browse-url-galeon-program)
15733 (browse-url-firefox-program):
15734 * mail/sendmail.el (mail-signature-file)
15735 (mail-citation-prefix-regexp):
15736 * international/mule-conf.el (eight-bit):
15737 * international/latexenc.el (latex-inputenc-coding-alist):
15738 * international/fontset.el (x-pixel-size-width-font-regexp):
15739 * emacs-lisp/warnings.el (warning-type-format):
15740 * emacs-lisp/trace.el (trace-buffer):
15741 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15742 (emacs-lisp-mode-map):
15743 * calendar/holidays.el (holiday-solar-holidays)
15744 (holiday-bahai-holidays, holiday-islamic-holidays)
15745 (holiday-christian-holidays, holiday-hebrew-holidays)
15746 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15747 (hebrew-holidays-1, holiday-oriental-holidays)
15748 (holiday-general-holidays):
15749 * x-dnd.el (x-dnd-known-types):
15750 * tool-bar.el (tool-bar):
15751 * startup.el (site-run-file):
15752 * shell.el (shell-dumb-shell-regexp):
15753 * rfn-eshadow.el (file-name-shadow-tty-properties)
15754 (file-name-shadow-properties):
15755 * paths.el (remote-shell-program, news-directory):
15756 * mouse.el ([C-down-mouse-3]):
15757 * menu-bar.el (menu-bar-tools-menu):
15758 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15759 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15760 (jka-compr-compression-info-list):
15761 * isearch.el (search-whitespace-regexp):
15762 * image-file.el (image-file-name-extensions):
15763 * find-dired.el (find-ls-option):
15764 * files.el (directory-listing-before-filename-regexp)
15765 (directory-free-space-args, insert-directory-program)
15766 (list-directory-brief-switches, magic-fallback-mode-alist)
15767 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15768 (automount-dir-prefix):
15769 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15770 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15771 (face-font-registry-alternatives, face-font-registry-alternatives)
15772 (face-font-family-alternatives):
15773 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15774 (facemenu-foreground-menu, facemenu-face-menu):
15775 * epa-hook.el (epa-file-name-regexp):
15776 * dnd.el (dnd-protocol-alist):
15777 * textmodes/rst.el (auto-mode-alist):
15778 * button.el (default-button): Purecopy strings.
15780 2009-11-06 Glenn Morris <rgm@gnu.org>
15782 * Makefile.in (ELCFILES): Update.
15784 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15786 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15787 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15789 * nxml/xsd-regexp.el (xsdre-gen-categories):
15790 * nxml/xmltok.el (xmltok-parse-entity):
15791 * nxml/rng-parse.el (rng-parse-validate-file):
15792 * nxml/rng-maint.el (rng-format-manual)
15793 (rng-manual-output-force-new-line):
15794 * nxml/rng-loc.el (rng-save-schema-location-1):
15795 * nxml/rng-cmpct.el (rng-c-parse-file):
15796 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15797 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15799 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15801 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15802 Remove extra save-excursions and make-variable-buffer-local's.
15803 Suggested by Stefan Monnier.
15805 (verilog-getopt-file, verilog-module-inside-filename-p)
15806 (verilog-set-define): Merge GNU 1.35 and repair changes from
15807 switching to using with-current-buffer.
15809 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15810 being treated as a number and confusing AUTORESET.
15811 Reported by Dan Dever.
15813 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15814 Add verilog-auto-ignore-concat to fix backward compatibility with
15815 older verilog-modes. Reported by Dan Katz.
15817 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15818 containing closing anchors "...$".
15820 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15821 Reported by Wade Smith.
15823 (verilog-batch-execute-func): Comment on function usage.
15825 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15827 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15830 (verilog-label-re, verilog-calc-1): Support proper indent of named
15833 (verilog-backward-token, verilog-basic-complete-re)
15834 (verilog-beg-of-statement, verilog-indent-re): Support proper
15835 indent of the assert statement at the beginning of a block of text.
15837 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15838 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15841 2009-11-05 Glenn Morris <rgm@gnu.org>
15843 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15844 Emacs 19. (Bug#1531)
15845 (byte-compile-fix-header): Update for the above change.
15846 Drop test for epoch::version.
15848 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15849 * cus-dep.el (custom-make-dependencies):
15850 * finder.el (finder-compile-keywords):
15851 Use autoload-rubric's feature argument.
15853 * calendar/diary-lib.el (top-level): Make load behave more like require.
15855 * vc-git.el (vc-git-stash-map): Move definition before use.
15857 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15859 * custom.el (custom-declare-group): Purecopy standard-value.
15860 (custom-declare-group): Purecopy custom-prefix.
15862 * international/mule.el (load-with-code-conversion):
15863 Call do-after-load-evaluation unconditionally.
15865 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15867 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15869 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15871 2009-11-04 Glenn Morris <rgm@gnu.org>
15873 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15874 (byte-compile-compatibility): Remove option.
15875 (byte-compile-close-variables, byte-compile-fix-header)
15876 (byte-compile-insert-header, byte-compile-output-docform)
15877 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15878 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15879 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15880 (byte-compile-insert, byte-compile-defun):
15881 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15882 (byte-defop-compiler19): Remove.
15883 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15884 used by anything. Replace all calls with byte-defop-compiler.
15886 2009-11-04 Juri Linkov <juri@jurta.org>
15888 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15889 (menu-bar-options-menu): Don't quote the `prop' arg of
15890 `menu-bar-make-mm-toggle'.
15892 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15894 * calendar/calendar.el (cal-loaddefs):
15895 * calendar/diary-lib.el (diary-loaddefs):
15896 * calendar/holidays.el (hol-loaddefs):
15897 * eshell/esh-module.el (esh-groups): Load rather than require.
15899 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15901 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15903 (todo-top-priorities): Only display-buffer when called interactively.
15904 (todo-item-start): Don't save excursion point.
15905 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15906 (todo-insert-item-here, todo-file-item, todo-remove-item):
15907 Adjust uses of todo-item-start and todo-item-end.
15909 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15910 (autoload-rubric): Don't use any more.
15912 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15913 and only put a prop if it is non-nil.
15915 2009-11-03 Juri Linkov <juri@jurta.org>
15917 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15918 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15920 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15921 and "Menu" to make top-level menu item visually one unit (like
15922 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15923 multi-word menu items). Fix :help string for quit-window.
15925 2009-11-03 Glenn Morris <rgm@gnu.org>
15927 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15928 (byte-compile-file-form-define-abbrev-table)
15929 (byte-compile-file-form-custom-declare-variable)
15930 (byte-compile-variable-ref, byte-compile-defvar):
15931 Whether or not a warning is enabled should only affect whether we issue
15932 the warning, not whether or not we collect the relevant data.
15933 Eg warnings can be turned on and off throughout the course of a file.
15935 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15936 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15938 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15940 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15941 * play/mpuz.el (mpuz-create-buffer):
15942 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15943 (lm-print-y,s,noise, lm-print-w0, lm-init):
15944 * play/gomoku.el (gomoku-prompt-for-move):
15945 * play/fortune.el (fortune-in-buffer):
15946 * play/dissociate.el (dissociated-press):
15947 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15948 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15949 * mail/supercite.el (sc-eref-show):
15950 * mail/smtpmail.el (smtpmail-send-it):
15951 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15952 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15953 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15954 (rmail-summary-goto-msg, rmail-summary-expunge)
15955 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15956 (rmail-summary-add-label, rmail-summary-output-menu)
15957 (rmail-summary-output-body):
15958 * mail/rfc822.el (rfc822-addresses):
15959 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15960 * mail/mailpost.el (post-mail-send-it):
15961 * mail/hashcash.el (hashcash-generate-payment):
15962 * mail/feedmail.el (feedmail-run-the-queue)
15963 (feedmail-queue-send-edit-prompt-help-first)
15964 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15965 (feedmail-deduce-address-list):
15966 * eshell/esh-ext.el (eshell-remote-command):
15967 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15968 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15969 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15970 (viper-save-string-in-file, viper-valid-marker):
15971 * emulation/viper-keym.el (viper-toggle-key):
15972 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15973 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15974 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15975 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15976 (viper-exec-form-in-emacs, viper-brac-function):
15977 * emulation/viper.el (viper-delocalize-var):
15978 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15979 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15980 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15981 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15982 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15983 * emulation/edt.el (edt-electric-helpify):
15984 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15985 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15986 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15987 (cua-indent-to-global-mark-column):
15988 * calendar/diary-lib.el (calendar-mark-1):
15989 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15990 Use with-current-buffer.
15991 * emulation/viper.el (viper-delocalize-var): Use dolist.
15993 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15995 * comint.el (comint-replace-by-expanded-history-before-point):
15996 Replace !! with the previous input string literally (Bug#1795).
15998 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16000 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16001 to be made up of whitespace.
16003 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16005 * minibuffer.el (read-file-name): Don't use file dialogs for
16006 remote directories (Bug#99).
16008 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16010 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16012 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16014 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16015 instead of deleting the window or frame.
16017 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16019 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16020 Support face colors.
16022 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16023 New function. Support face colors (Bug#1168).
16024 (tex-common-initialization): Use it.
16026 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16027 mode allows it (Bug#1168).
16029 2009-10-31 Juri Linkov <juri@jurta.org>
16031 * facemenu.el (list-colors-display): Don't mark buffer as
16032 modified (Bug#3948).
16034 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16036 * international/mule-diag.el (list-character-sets-1):
16037 Minor message fix (Bug#3526).
16039 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16040 Fix face property (Bug#4834).
16041 (etags-list-tags, etags-tags-apropos-additional)
16042 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16045 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16048 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16050 * textmodes/two-column.el (2C-split):
16051 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16052 * textmodes/tex-mode.el (tex-set-buffer-directory):
16053 * textmodes/spell.el (spell-region, spell-string):
16054 * textmodes/reftex.el (reftex-erase-buffer):
16055 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16056 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16057 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16058 (reftex-select-item):
16059 * textmodes/reftex-ref.el (reftex-label-info-update)
16060 (reftex-offer-label-menu):
16061 * textmodes/reftex-index.el (reftex-index-change-entry)
16062 (reftex-index-phrases-info):
16063 * textmodes/reftex-global.el (reftex-create-tags-file)
16064 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16065 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16066 (reftex-view-crossref-from-bibtex):
16067 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16068 (reftex-extract-bib-entries-from-thebibliography)
16069 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16070 * textmodes/refbib.el (r2b-capitalize-title):
16071 (r2b-convert-buffer, r2b-help):
16072 * textmodes/page-ext.el (pages-directory)
16073 (pages-directory-goto-with-mouse):
16074 * textmodes/bibtex.el (bibtex-validate-globally):
16075 * textmodes/bib-mode.el (bib-capitalize-title):
16076 * textmodes/artist.el (artist-clear-buffer, artist-system):
16077 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16078 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16079 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16080 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16081 (xscheme-send-control-g-interrupt, xscheme-start-process)
16082 (xscheme-process-sentinel, xscheme-cd):
16083 * progmodes/verilog-mode.el (verilog-read-always-signals)
16084 (verilog-set-define, verilog-getopt-file)
16085 (verilog-module-inside-filename-p):
16086 * progmodes/sh-script.el:
16087 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16088 (python-pdbtrack-grub-for-buffer, python-execute-file):
16089 * progmodes/octave-inf.el (inferior-octave):
16090 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16091 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16092 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16093 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16094 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16095 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16096 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16097 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16098 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16099 (idlwave-shell-examine-display, idlwave-shell-run-region)
16100 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16101 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16102 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16103 (idlwave-help-get-help-buffer):
16104 * progmodes/gud.el (gud-basic-call, gud-find-class)
16105 (gud-tooltip-activate-mouse-motions-if-enabled):
16106 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16107 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16108 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16109 (ebrowse-tags-next-file):
16110 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16111 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16112 (ebnf-eps-finish-and-write):
16113 * progmodes/cpp.el (cpp-edit-save):
16114 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16115 * progmodes/cc-defs.el (c-emacs-features):
16116 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16117 (antlr-directory-dependencies):
16118 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16119 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16120 (ada-find-any-references, ada-make-filename-from-adaname)
16121 (ada-make-body-gnatstub):
16122 * obsolete/rnews.el (news-list-news-groups):
16123 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16124 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16125 * net/rcirc.el (rcirc-debug):
16126 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16127 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16128 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16129 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16130 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16131 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16132 (newsticker--treeview-list-clear-highlight)
16133 (newsticker--treeview-list-update-highlight)
16134 (newsticker--treeview-list-highlight-start)
16135 (newsticker--treeview-tree-update-highlight)
16136 (newsticker--treeview-get-selected-item)
16137 (newsticker-treeview-mark-list-items-old)
16138 (newsticker--treeview-set-current-node):
16139 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16140 * net/newst-backend.el (newsticker--get-news-by-funcall)
16141 (newsticker--get-news-by-wget, newsticker--image-get)
16142 (newsticker--image-sentinel):
16143 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16144 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16145 (eudc-ph-close-session):
16146 * net/eudc.el (eudc-save-options):
16147 * language/thai-word.el (thai-update-word-table):
16148 * language/japan-util.el (japanese-string-conversion):
16149 * international/titdic-cnv.el (tsang-quick-converter)
16150 (ziranma-converter, ctlau-converter):
16151 * international/mule-cmds.el (describe-language-environment):
16152 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16153 (skkdic-convert-postfix, skkdic-convert-prefix):
16154 (skkdic-convert-okuri-nasi, skkdic-convert):
16155 * emacs-lisp/re-builder.el (reb-update-overlays):
16156 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16157 * emacs-lisp/gulp.el (gulp-send-requests):
16158 * emacs-lisp/find-gc.el (trace-call-tree):
16159 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16160 (eieio-describe-generic):
16161 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16162 * emacs-lisp/edebug.el (edebug-outside-excursion):
16163 * emacs-lisp/debug.el (debugger-make-xrefs):
16164 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16165 * emacs-lisp/chart.el (chart-new-buffer):
16166 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16167 Use with-current-buffer.
16168 * textmodes/artist.el (artist-system): Don't call
16169 copy-sequence on a fresh string.
16170 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16172 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16174 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16175 is no item to edit. (Bug#4820)
16176 (todo-top-priorities): Restore point and restore narrowing in Todo
16179 2009-10-31 Glenn Morris <rgm@gnu.org>
16181 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16182 (comint-last-output-start, comint-last-input-start)
16183 (comint-last-input-end): Don't defvar when compiling.
16184 (ange-ftp-process-file): Use bound-and-true-p.
16186 * pcmpl-rpm.el (top-level): Move provide statement to end.
16187 (pcmpl-rpm): Remove unused custom group.
16189 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16191 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16193 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16194 (byte-compile-warnings): Add `constants' as an option.
16195 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16196 (display-call-tree): Update for byte-compile-fdefinition possibly
16197 returning `(macro lambda ...)'. (Bug#4778)
16198 (byte-compile-variable-ref, byte-compile-setq-default):
16199 Respect `constants' member of byte-compile-warnings.
16201 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16203 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16204 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16207 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16209 * textmodes/ispell.el (ispell-skip-region-alist):
16210 * international/mule-conf.el (eight-bit):
16211 * international/fontset.el (font-encoding-alist):
16212 * startup.el (pure-space-overflow-message):
16213 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16214 * paths.el (gnus-nntp-service, rmail-spool-directory)
16215 (term-file-prefix):
16216 * files.el (save-some-buffers-action-alist):
16217 * cmuscheme.el (same-window-buffer-names):
16218 * ielm.el (same-window-buffer-names):
16219 * shell.el (same-window-buffer-names):
16220 * mail/sendmail.el (same-window-buffer-names):
16221 * progmodes/inf-lisp.el (same-window-buffer-names):
16222 * bindings.el (mode-line-client)
16223 (mode-line-column-line-number-mode-map):
16224 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16225 (tibetan-precomposed-regexp): Purecopy string arguments.
16227 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16229 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16230 (calcDigit-nondigit):
16231 * calc/calc-yank.el (calc-copy-to-buffer):
16232 * calc/calc-units.el (calc-invalidate-units-table):
16233 * calc/calc-trail.el (calc-trail-yank):
16234 * calc/calc-store.el (calc-insert-variables):
16235 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16236 * calc/calc-prog.el (calc-read-parse-table):
16237 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16238 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16239 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16240 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16241 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16242 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16243 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16244 * calc/calc-ext.el (calc-realign):
16245 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16246 (calc-embedded-finish-edit, calc-embedded-make-info)
16247 (calc-embedded-finish-command, calc-embedded-stack-change):
16248 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16250 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16251 shell-dynamic-complete-filename in preference to
16252 comint-dynamic-complete-filename.
16254 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16255 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16256 Don't consider whether the display supports colors.
16257 (bookmark-import-new-list): Use dolist.
16258 (bookmark-bmenu-mode-map): Move initialization into declaration.
16259 (bookmark-bmenu-list): Use dolist, simplify.
16260 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16261 (menu-bar-final-items): Use push.
16263 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16265 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16266 it works on remote files.
16267 (vc-hg-diff): Don't pass any `--cwd' argument.
16269 2009-10-27 Kevin Ryde <user42@zip.com.au>
16271 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16272 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16273 (Further to Bug#3921).
16275 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16277 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16278 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16279 calling `tramp-imap-put-file'. Add file size to the call.
16280 (tramp-imap-get-file-entries): Compute also user name, file size,
16282 (tramp-imap-handle-insert-directory): Insert uid and gid.
16283 (tramp-imap-handle-file-attributes): Transform uid and gid
16284 according to `id-format'.
16285 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16286 size in header X-Size.
16288 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16290 * simple.el (transpose-subr): Give clearer error when the mark
16291 is not set. (Bug#4807)
16293 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16295 * net/tramp.el (tramp-perl-file-truename): New defconst.
16296 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16297 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16298 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16299 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16301 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16302 Ignore `dired-call-process'.
16303 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16305 2009-10-26 Julian Scheid <julians37@gmail.com>
16307 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16308 (tramp-get-remote-readlink): New defun.
16309 (tramp-handle-file-truename): Use it.
16310 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16311 file exists if cache value present.
16312 (tramp-check-cached-permissions): New defun.
16313 (tramp-handle-file-readable-p): Use it.
16314 (tramp-handle-file-writable-p): Likewise.
16315 (tramp-handle-file-executable-p): Likewise.
16316 (tramp-handle-file-name-all-completions): Try using Perl to get
16317 partial completions. When perl not available, combine `cd' and
16318 `ls' into single remote operation and use shell expansion to get
16319 partial remote directory contents. Set `file-exists-p' cache for
16320 directory and any files returned by ls. Change cache handling to
16321 support partial directory contents. Use error message emitted by
16322 remote `cd' or Perl code for local tramp-error.
16323 (tramp-do-copy-or-rename-file-directly): Avoid separate
16324 tramp-send-command-and-check call.
16325 (tramp-handle-process-file): Merge three remote ops into one.
16326 Do not flush all caches when `process-file-side-effects' is set.
16327 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16328 file-attributes shows uid/gid to be set already.
16330 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16332 * textmodes/tex-mode.el (tex-dvi-view-command)
16333 (tex-show-queue-command, tex-open-quote):
16334 * progmodes/ruby-mode.el (auto-mode-alist)
16335 (interpreter-mode-alist): Purecopy strings.
16337 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16339 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16340 string for the hook, keymap and abbrev table.
16342 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16344 * x-dnd.el (x-dnd-xdnd-to-action):
16345 * startup.el (fancy-startup-text, fancy-about-text): Change to
16346 defconst from defvar.
16348 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16350 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16351 Purecopy initialization strings.
16353 * mail/sendmail.el (mail-header-separator)
16354 (mail-personal-alias-file):
16355 * mail/rmail.el (rmail-default-dont-reply-to-names)
16356 (rmail-ignored-headers, rmail-retry-ignored-headers)
16357 (rmail-highlighted-headers, rmail-secondary-file-directory)
16358 (rmail-secondary-file-regexp):
16359 * files.el (null-device, file-name-invalid-regexp)
16360 (locate-dominating-stop-dir-regexp)
16361 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16362 (interpreter-mode-alist): Use mapcar instead of mapc.
16364 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16366 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16367 (completion-ignored-extensions):
16368 (debug-ignored-errors): Purecopy strings.
16370 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16372 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16373 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16374 (pcomplete--here): Use push.
16376 * subr.el (all-completions): Declare the 4th arg obsolete.
16378 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16380 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16381 (pcomplete-unquote-argument): New function.
16382 (pcomplete--common-suffix): Always pay attention to case.
16383 (pcomplete--table-subvert): Quote and unquote the text.
16384 (pcomplete--common-quoted-suffix): New function.
16385 (pcomplete-std-complete): Use it and pcomplete-begin.
16387 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16388 we're inside a dedicated or minibuffer window.
16390 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16392 * bookmark.el: Update documentation, especially documentation
16393 of `bookmark-alist' and of the bookmark file format.
16394 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16396 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16398 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16399 keybindings apply to the mail buffer (Bug#4003). Shrink help
16402 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16403 (global-whitespace-mode, global-whitespace-newline-mode)
16404 (whitespace-toggle-options, global-whitespace-toggle-options):
16405 Doc fix (Bug#3660).
16407 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16408 of xmltok-start before the end tag was inserted (Bug#2840).
16410 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16411 patterns that are preceded by an open-paren (Bug#1320).
16413 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16415 * files.el (delete-directory): Delete symlinks to directories with
16416 delete-file (Bug#4739).
16418 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16420 * vc.el (vc-backend-for-registration): Rename from
16421 vc-get-backend-for-registration. Update callers.
16423 * international/mule-cmds.el (set-language-info-alist):
16425 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16426 (charset): Purecopy the name.
16427 (define-char-code-property): Purecopy string arguments.
16429 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16430 Purecopy string arguments.
16432 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16433 * ediff-hook.el (menu-bar-ediff-menu):
16434 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16435 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16437 2009-10-24 Glenn Morris <rgm@gnu.org>
16439 * comint.el (comint-dynamic-list-completions):
16440 * term.el (term-dynamic-list-completions): Use choose-completion rather
16441 than obsolete alias mouse-choose-completion.
16443 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16444 file-cache-choose-completion.
16445 (file-cache-choose-completion): Handle an optional event argument.
16446 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16448 * progmodes/octave-mod.el (octave-complete-symbol):
16449 Use choose-completion if mouse-choose-completion is ever removed.
16451 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16454 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16457 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16459 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16461 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16462 Ignore `pred' now that we receive one.
16463 Handle test-completion specially.
16465 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16467 * vc.el (vc-responsible-backend): Throw an error if not backend is
16468 found. Remove the REGISTER argument. Move the code dealing with
16470 (vc-get-backend-for-registration): ... here. New function.
16471 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16472 of vc-responsible-backend, pass the file name instead of the
16475 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16477 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16479 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16480 (pcomplete-comint-setup): Don't modify a global var via
16481 accidental side-effects.
16482 (pcomplete-shell-setup): Adjust call accordingly.
16483 (pcomplete-parse-comint-arguments): Use push.
16485 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16487 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16488 Allow uncapitalized info node names (Bug#3921).
16490 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16491 to the DEBUG file (Bug#3781).
16493 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16495 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16496 dictionary entry (Bug#4579).
16498 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16500 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16501 from `rfn-eshadow-update-overlay-hook' when unloading.
16502 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16503 "rsyncc". Adjust doc string.
16504 (tramp-temp-buffer-file-name): New buffer-local defvar.
16505 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16506 Keep temporary file when indicated by method ("rsync" and
16508 (tramp-handle-write-region): Handle APPEND.
16509 (tramp-delete-temp-file-function): New defun. Added to
16510 `kill-buffer-hook'.
16512 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16514 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16516 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16518 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16519 (color-name-rgb-alist, tty-standard-colors)
16520 (tty-color-mode-alist): Change to defconst.
16522 * simple.el (mark-inactive): Purecopy message.
16524 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16525 (global-map, yank-menu):
16526 * textmodes/ispell.el (ispell-menu-map):
16527 * net/eudc.el (eudc-tools-menu):
16528 * international/mule-cmds.el (describe-language-environment-map)
16529 (setup-language-environment-map, set-coding-system-map)
16530 (mule-menu-keymap):
16531 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16532 * replace.el (occur-mode-map):
16533 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16535 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16537 * calc/calc.el (math-read-number, math-read-number-simple):
16538 Use `save-match-data'.
16540 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16542 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16543 rather than fiddling with global-map bindings, since it should only
16544 affect per-terminal settings.
16545 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16547 * minibuffer.el (completion-table-with-terminator): Allow to specify
16548 the terminator-regexp.
16550 * simple.el (switch-to-completions): Look for *Completions* in other
16553 * pcomplete.el: Allow the use of completion-tables.
16554 (pcomplete-std-complete): New command.
16555 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16556 (pcomplete--here): Use a function for `form' rather than an expression,
16557 so it can be byte-compiled.
16558 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16559 Add edebug declaration.
16560 (pcomplete-show-completions): Remove unused var `curbuf'.
16561 (pcomplete-do-complete, pcomplete-stub):
16562 Don't assume `completions' is a list of strings any more.
16564 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16566 * find-dired.el (find-name-arg): Fix typo in docstring.
16568 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16570 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16571 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16573 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16576 * comint.el (comint-read-input-ring, comint-write-input-ring)
16577 (comint-substitute-in-file-name)
16578 (comint-dynamic-complete-as-filename)
16579 (comint-dynamic-simple-complete)
16580 (comint-dynamic-list-filename-completions)
16581 (comint-dynamic-list-completions)
16582 (comint-redirect-results-list-from-process): Minor simplifications.
16584 2009-10-21 Kevin Ryde <user42@zip.com.au>
16586 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16587 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16588 the first form. And insert a blank line after ";;; Code" since
16589 that's usual style. (Bug#4612)
16591 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16593 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16595 * minibuffer.el (completion-table-with-terminator): Properly implement
16596 boundaries, in case `terminator' appears in the suffix.
16597 (completion--embedded-envvar-table): Don't return boundaries if
16598 there's no valid completion. Simplify.
16599 (completion-file-name-table): New completion table extracted from
16600 completion--file-name-table.
16601 (completion--file-name-table): Use it.
16602 (read-file-name-predicate): Declare obsolete.
16603 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16604 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16605 completion-file-name-table, and use the `pred' argument.
16606 * files.el (locate-file-completion-table): Use the `pred' arg rather
16607 than read-file-name-predicate.
16608 (abbreviate-file-name): Use \` rather than ^ for BOS.
16610 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16612 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16613 vc-responsible-backend to register, it causes problems.
16615 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16617 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16619 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16621 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16622 (tramp-smb-handle-file-attributes): Use it.
16623 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16624 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16625 `mapcar'. Use `tramp-smb-get-stat-capability'.
16626 Add `dired-filename' text properties.
16627 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16628 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16631 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16633 * subr.el (read-key-delay): Reduce to 0.01.
16634 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16637 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16639 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16641 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16642 (Info-menu): Remove unused vars `last' and `completions'.
16643 (Info-index-nodes): Remove unused var `node'.
16645 * info.el (Info-complete-menu-item): Use complete-with-action.
16647 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16649 Make vc-annotate work through copies and renames.
16650 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16651 Return the file name too.
16652 (vc-annotate-revision-at-line)
16653 (vc-annotate-find-revision-at-line)
16654 (vc-annotate-revision-previous-to-line)
16655 (vc-annotate-show-log-revision-at-line): Update to get the file
16656 name from vc-annotate-extract-revision-at-line.
16657 (vc-annotate-show-diff-revision-at-line-internal): Change the
16658 argument to mean whether to show a file diff or not. Get the file
16659 name from vc-annotate-extract-revision-at-line.
16660 (vc-annotate-show-diff-revision-at-line):
16661 Update vc-annotate-show-diff-revision-at-line call.
16662 (vc-annotate-warp-revision): Add an optional file argument.
16664 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16665 (vc-git-annotate-extract-revision-at-line): Also return the file
16668 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16669 command. Remove unused code.
16670 (vc-hg-annotate-re): Update to match --follow output.
16671 (vc-hg-annotate-extract-revision-at-line): Also return the file
16674 * vc.el: Update annotate-extract-revision-at-line documentation.
16676 2009-10-18 Kevin Ryde <user42@zip.com.au>
16678 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16679 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16681 * net/browse-url.el (browse-url): Identify alist with "consp and
16682 not functionp" and let all other things go down the `apply' leg,
16683 as suggested by Stefan. (Further to bug#4531.)
16685 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16687 * minibuffer.el (read-file-name): Check for repeat before putting
16688 a default argument in file-name-history (Bug#4657).
16690 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16691 read syntax (Bug#4737).
16693 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16695 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16697 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16698 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16699 entries and make note of obsolete tags.
16701 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16703 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16705 2009-10-18 Glenn Morris <rgm@gnu.org>
16707 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16708 grep, so that binary files (eg international/uni-bidi.el) can match.
16709 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16710 now, and in any case the file header format has changed.
16712 2009-10-17 Glenn Morris <rgm@gnu.org>
16714 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16715 (flyspell-get-word, flyspell-large-region)
16716 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16718 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16720 * Makefile.in (ELCFILES): Add ede/shell.
16722 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16724 * term/common-win.el (x-colors): Purecopy it.
16726 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16728 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16729 permissive for when the buffer is empty.
16730 (tar-header-block-tokenize): Decode the username and groupname.
16731 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16733 2009-10-17 Eric Ludlam <zappo@gnu.org>
16735 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16736 contains multibyte characters, choose first applicable coding
16737 system automatically.
16739 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16741 * international/mule-cmds.el (select-safe-coding-system): If the file
16742 has a coding cookie, use it regardless of any other setting (bug#4712).
16744 2009-10-17 Glenn Morris <rgm@gnu.org>
16746 * foldout.el (foldout-mouse-swallow-events):
16747 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16749 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16750 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16751 (dired-keep-marker-symlink, dired-dwim-target)
16752 (dired-copy-preserve-time): Do not autoload these defcustoms.
16754 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16755 messages from messing up the file coding. (Bug#4623)
16757 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16759 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16760 if no match is found for the current dictionary. (Bug#4578)
16762 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16763 optional, since that is how it is documented, and this is often called
16764 with a nil argument. (Bug#4577)
16765 (flyspell-external-point-words, flyspell-auto-correct-word)
16766 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16767 (flyspell-word-search-backward): Remove nil argument in calls to
16768 flyspell-get-word, since it is not needed now.
16770 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16772 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16774 2009-10-16 Glenn Morris <rgm@gnu.org>
16776 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16778 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16780 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16781 (ange-ftp-file-size): New function.
16782 (ange-ftp-file-attributes): Use it.
16784 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16786 * net/tramp-smb.el (tramp-smb-version): New defvar.
16787 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16790 2009-10-16 Glenn Morris <rgm@gnu.org>
16792 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16793 Maybe copy some custom properties from old to new name. (Bug#4706)
16795 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16797 * subr.el (error, sit-for, start-process-shell-command)
16798 (start-file-process-shell-command): Set the calling convention
16799 after the function definition.
16801 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16803 * subr.el (error, sit-for, start-process-shell-command)
16804 (start-file-process-shell-command): Use the new
16805 set-advertised-calling-convention feature.
16807 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16809 * international/ucs-normalize.el (ucs-normalize-version):
16811 (check-range): Adjust for Unicode 5.2.
16813 2009-10-15 Juri Linkov <juri@jurta.org>
16815 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16816 to the `menu-item' format.
16818 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16820 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16821 if the environment variable does not exist.
16823 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16824 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16826 (tramp-smb-handle-add-name-to-file)
16827 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16828 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16829 (tramp-smb-handle-file-attributes)
16830 (tramp-smb-do-file-attributes-with-stat)
16831 (tramp-smb-handle-file-local-copy)
16832 (tramp-smb-handle-insert-directory)
16833 (tramp-smb-handle-make-directory)
16834 (tramp-smb-handle-make-directory-internal)
16835 (tramp-smb-handle-make-symbolic-link)
16836 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16837 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16838 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16839 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16840 Handle long file names.
16841 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16842 process is running.
16843 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16844 Read share names with "-g" option.
16846 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16848 * net/rcirc.el (rcirc-view-log-file): New command.
16849 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16850 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16853 2009-10-15 Glenn Morris <rgm@gnu.org>
16855 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16856 from the second command-line argument.
16857 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16858 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16859 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16860 w32-batch-update-autoloads.
16861 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16862 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16864 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16865 the headers cannot be located. Simplify, subtracting superflous
16868 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16870 Replace completion-base-size by completion-base-position to fix bugs
16871 such as (bug#4699).
16872 * simple.el (completion-base-position): New var.
16873 (completion-base-size): Mark as obsolete.
16874 (choose-completion): Make it work for mouse events as well.
16875 Pass the new base-position to choose-completion-string.
16876 (choose-completion-guess-base-position): New function, extracted from
16877 choose-completion-delete-max-match.
16878 (choose-completion-delete-max-match): Use it. Make obsolete.
16879 (choose-completion-string): Use the new base-position info.
16880 (completion-root-regexp): Delete.
16881 (completion-setup-function): Preserve completion-base-position.
16882 Eliminate obsolete base-size manipulation.
16883 * minibuffer.el (display-completion-list): Don't mess with base-size.
16884 (minibuffer-completion-help): Set completion-base-position instead.
16885 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16887 * textmodes/bibtex.el (bibtex-complete):
16888 * emacs-lisp/crm.el (crm--choose-completion-string):
16889 Adjust to new calling convention.
16890 * complete.el (partial-completion-mode): Use minibufferp to avoid
16891 bumping into incompatible change to choose-completion-string-functions.
16892 * ido.el (ido-choose-completion-string): Make its calling convention
16894 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16895 base-size manipulation.
16896 (comint-dynamic-list-input-ring): Use dotimes and push.
16897 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16898 fundamental-mode. Use `or'.
16900 2009-10-14 Juri Linkov <juri@jurta.org>
16902 * misearch.el (multi-isearch-next-buffer-from-list)
16903 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16905 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16907 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16910 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16911 string we return is all made up of text from the completions rather
16912 than part from the completions and part from the input (bug#4219).
16914 * ido.el (ido-everywhere): Use define-minor-mode.
16916 * buff-menu.el (list-buffers, ctl-x-map):
16917 Mark the entry points with ;;;###autoload cookies.
16919 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16921 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16922 correctly in the detached head case.
16923 (vc-git-print-log): Remove unused binding.
16925 * vc.el (vc-responsible-backend): When a directory is passed for
16926 for registration create a VC repository if no backend is
16927 responsible for the directory argument.
16928 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16930 * vc.el: Move comments about RCS and SCCS ...
16932 * vc-sccs.el: ... here, respectively.
16934 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16936 * minibuffer.el (completion--file-name-table): Return nil if there's
16937 no file completion, even if substitute-in-file-name changed
16938 the string (bug#4708).
16940 2009-10-13 Juri Linkov <juri@jurta.org>
16942 * files-x.el (read-file-local-variable-value): Don't filter out
16943 minor modes from mode name completion (bug#4664).
16945 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16947 * international/mule-cmds.el (ucs-names): Remove exclusion of
16948 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16950 2009-10-13 Kenichi Handa <handa@m17n.org>
16952 * international/uni-name.el: Regenerated.
16954 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16956 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16957 should be automatically buffer-local, but isn't.)
16959 2009-10-12 Sam Steingold <sds@gnu.org>
16961 * progmodes/compile.el (compilation-next-error-function): Fix the
16962 timestamps if the buffer has been visited before.
16963 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16964 non-anchored patterns, like the perl one (bug#3928).
16966 2009-10-12 Glenn Morris <rgm@gnu.org>
16968 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16971 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16973 * proced.el (proced-unload-function): New function.
16975 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16976 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16979 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16981 2009-10-11 Juri Linkov <juri@jurta.org>
16983 * files-x.el (read-file-local-variable-value):
16984 Provide default value only for bound variables (bug#4664).
16986 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16988 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16989 connection methods like smb.
16991 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16994 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16995 (tramp-smb-file-name-handler-alist): Add handlers for
16996 `add-name-to-file', `make-symbolic-link'.
16997 (tramp-smb-handle-add-name-to-file)
16998 (tramp-smb-do-file-attributes-with-stat)
16999 (tramp-smb-handle-make-symbolic-link)
17000 (tramp-smb-get-cifs-capabilities): New defuns.
17001 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17002 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17003 (tramp-smb-handle-file-local-copy)
17004 (tramp-smb-handle-make-directory-internal)
17005 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17006 The file name syntax depends on cifs capabilities.
17007 (tramp-smb-handle-file-attributes):
17008 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17009 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17010 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17012 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17014 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17015 (eieio-defclass): Apply deftype handler and setf-method properties
17017 (eieio-add-new-slot): Avoid union function from cl library.
17018 (eieio--typep): New function.
17019 (eieio-perform-slot-validation): Use it.
17021 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17023 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17024 Update documentation to refer to the variables documented in r1.135.
17027 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17029 * bookmark.el (Info-suffix-list): Remove this unused variable.
17030 (bookmark-current-point): Remove this obsolete variable.
17031 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17032 Adjust for removal of bookmark-current-point.
17034 (bookmarks-already-loaded, bookmark-current-buffer)
17035 (bookmark-yank-point): Document. (Bug#4188)
17037 2009-10-10 Glenn Morris <rgm@gnu.org>
17039 * frame.el (frame-height): Doc fix.
17041 * calendar/calendar.el (calendar-split-width-threshold): New option.
17042 (calendar-basic-setup): Use calendar-split-width-threshold.
17044 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17046 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17047 Ideographic Supplement" range (U+1F200..U+1F2FF).
17049 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17051 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17052 since the list will have been rebuilt anyway. (Bug#4349)
17054 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17056 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17057 (bookmark-bmenu-execute-deletions): Don't save here, as
17058 bookmark-delete will now do so if necessary.
17059 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17062 2009-10-09 Glenn Morris <rgm@gnu.org>
17064 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17066 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17068 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17069 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17070 argument now, so the two function's behaviors will match. (Bug#3645)
17072 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17074 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17075 (tramp-file-name-real-host, tramp-file-name-port):
17076 Apply `save-match-data'.
17078 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17079 case both directories are remote.
17080 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17081 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17083 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17085 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17087 2009-10-07 Glenn Morris <rgm@gnu.org>
17089 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17092 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17094 * files-x.el (read-file-local-variable): Include some
17095 non-user-variables in the completion table (bug#4664).
17097 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17099 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17102 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17103 (tramp-smb-file-name-handler-alist): Add handler for
17104 `copy-directory', `expand-file-name', `set-file-modes'.
17105 (tramp-smb-handle-copy-directory)
17106 (tramp-smb-handle-expand-file-name)
17107 (tramp-smb-handle-set-file-modes): New defuns.
17108 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17109 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17111 (tramp-smb-handle-insert-directory): Don't flush the cache.
17112 (tramp-smb-maybe-open-connection): Check for samba client and
17115 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17117 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17118 to not error out of search for "^lisp=" fails.
17120 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17122 * makefile.w32-in (WINS_UPDATES): New macro.
17123 (custom-deps, finder-data, autoloads): Use it.
17125 2009-10-07 Glenn Morris <rgm@gnu.org>
17127 * Makefile.in (autoloads): Revert previous change.
17128 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17129 the list of preloaded files passed on the command-line, get
17130 it from src/Makefile.
17132 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17133 show the original buffer rather than a random one.
17135 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17137 * help.el (describe-no-warranty): Place point in a slightly better
17138 position in the GPLv3 text.
17140 2009-10-06 Sam Steingold <sds@gnu.org>
17142 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17143 the comm attribute is present before calling regexp-quote.
17145 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17147 * play/animate.el (animate-string): For good effect, make sure
17148 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17150 * play/animate.el (animate-sequence, animate-birthday-present):
17151 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17153 2009-10-06 Glenn Morris <rgm@gnu.org>
17155 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17157 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17158 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17159 (batch-update-autoloads): Process a string value of autoload-excludes,
17160 set during the build process.
17161 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17163 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17164 inside with-parsed... macro so that `v' is defined.
17166 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17167 * progmodes/fortran.el (fortran-end-of-block)
17168 (fortran-beginning-of-block):
17169 Also push mark in the macro case.
17171 * emerge.el (emerge-show-file-name):
17172 * calc/calc.el (calc-quit):
17173 * calc/calc-misc.el (calc-big-or-small):
17174 * calc/calc-graph.el (calc-graph-view):
17175 * calc/calc-ext.el (calc-reset):
17176 * calendar/calendar.el (calendar-basic-setup):
17177 Use window-full-height-p.
17179 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17180 header we don't understand, don't insert another. (Bug#4624)
17181 If changing mime charset, insert the new one in the right place.
17183 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17185 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17186 (cal-tex-cursor-month): Correctly increment the end date for diary and
17187 holiday listing. (Bug#4626)
17189 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17191 * help-fns.el (describe-function-1): Don't burp if the function is not
17194 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17196 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17197 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17198 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17199 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17201 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17202 (eieio-default-superclass): Reflow docstrings.
17203 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17204 (eieio-unbind-method-implementations, defmethod)
17205 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17206 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17207 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17208 (eieio-slot-originating-class-p, eieio-slot-name-index)
17209 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17210 (constructor, initialize-instance, no-next-method, object-print)
17211 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17212 Fix typos in docstrings.
17213 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17214 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17215 (next-method-p): Doc fixes.
17216 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17217 Fix typos in error messages.
17218 (eieio-defmethod): Fix typo in description of generic method.
17220 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17221 (eieio-persistent-save-interactive, slot-missing):
17222 Fix typos in docstrings.
17223 (eieio-instance-inheritor-slot-boundp): Doc fix.
17225 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17226 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17228 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17229 (eieio-custom-object-apply-reset):
17230 Fix typos in docstrings and error messages.
17232 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17233 Fix typo in docstring.
17235 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17236 (eieio-browse-tree): Doc fix.
17237 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17238 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17239 Fix typos in docstrings.
17241 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17242 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17243 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17244 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17247 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17249 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17250 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17251 Set log-view-vc-backend so that diff can work.
17253 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17255 (vc-diff-internal): Autoload this instead of vc-version-diff.
17257 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17259 * simple.el (eval-expression): Doc fix.
17261 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17263 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17265 * files.el (directory-files-no-dot-files-regexp): New defconst.
17266 (delete-directory): Use it.
17267 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17269 * net/tramp.el (tramp-verbose): Fix docstring.
17270 (tramp-methods): Add recursive option to `tramp-copy-args'.
17271 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17272 "scp1_old", "scp2_old", "rsync", "rsyncc".
17273 (tramp-default-method): Check also for `auth-source-user-or-password'.
17274 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17275 Add handler for `copy-directory'.
17276 (tramp-handle-copy-directory): New defun.
17277 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17278 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17279 Optimize sent command.
17281 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17283 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17284 window if necessary.
17286 * calendar/calendar.el (calendar-basic-setup): Don't call
17287 switch-to-buffer in a dedicated window.
17289 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17291 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17292 don't do anything related to relocating, just return nil.
17293 (bookmark-error-no-filename): New error.
17294 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17295 bookmark has no file. Don't even attempt to handle things that
17296 are not files; the whole point of custom handlers is to keep that
17297 knowledge elsewhere anyway. Tighten some comments.
17298 (bookmark-file-or-variation-thereof): Remove now-unused function.
17299 (bookmark-location): Doc string fix.
17302 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17304 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17305 don't use a file dialog, because they usually don't know how to read
17306 a directory target from the user. (Bug#4230)
17307 Also, make sure the prompt can display directories as well as files.
17309 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17311 * bookmark.el (bookmark-set, bookmark-buffer-name):
17312 Improve doc strings. (Bug#1193)
17314 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17316 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17317 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17318 (bookmark-get-annotation, bookmark-set-annotation)
17319 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17320 (bookmark-set-position, bookmark-get-front-context-string)
17321 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17322 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17323 (bookmark-jump-other-window, bookmark-handle-bookmark)
17324 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17325 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17326 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17327 Improve doc strings to say whether bookmark can be a string or
17328 a record or both, and make other consistency and clarity fixes.
17329 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17330 (bookmark-default-annotation-text, bookmark-yank-word)
17331 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17332 (bookmark-import-new-list, bookmark-maybe-rename)
17333 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17334 (bookmark-bmenu-bookmark): Give these doc strings.
17335 (bookmark-bmenu-check-position): Give this a doc string, but also
17336 add a FIXME comment about how the function may be pointless.
17337 (bookmark-default-handler): Rework doc string and change a
17338 parameter name, to clarify that this takes a bookmark record
17339 not a bookmark name.
17340 (bookmark-set): Change a parameter name to indicate its meaning,
17341 and improve the doc string a bit.
17344 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17346 * bookmark.el (bookmark-alist): Document the new `handler' element
17347 in the param alist.
17348 (bookmark-make-record-function): Adjust documentation for above.
17351 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17353 * info.el (Info-bookmark-make-record): Document this function.
17354 (Info-bookmark-jump): Document with a doc string, not just a comment.
17357 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17359 * files.el (copy-directory): New defun.
17361 * dired-aux.el (dired-copy-file-recursive): Use it.
17363 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17365 * files-x.el (modify-dir-local-variable)
17366 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17369 * recentf.el (recentf-unload-function): New function.
17371 2009-10-04 Glenn Morris <rgm@gnu.org>
17373 * window.el (window-full-height-p): Add doc string.
17375 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17377 * window.el (window-full-height-p): New function. (Bug#4543)
17379 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17381 * vc.el: Remove commented out code.
17382 (vc-derived-from-dir-mode): Remove, unused.
17383 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17385 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17387 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17388 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17389 there could be recursive loading when `default-directory' is a
17390 remote file name. (Bug#4614)
17392 2009-10-03 Glenn Morris <rgm@gnu.org>
17394 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17396 (calendar-generate-window): Test for shrinkability rather than width.
17398 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17399 reusing existing buffers, in case we happen to visit two files with the
17400 same basename. (Bug#4593)
17402 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17404 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17405 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17406 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17407 subdirs of cedet as well.
17408 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17410 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17412 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17413 Obey advertised-signature-table.
17415 * help-fns.el (help-function-arglist): Don't check
17416 advertised-signature-table.
17417 (describe-function-1): Do it here instead so it also applies to subrs.
17419 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17421 * simple.el (start-file-process): Say in the doc-string, that file
17422 handlers might not support pty association, if PROGRAM is nil.
17424 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17425 HOST and USER are strings. They are nil, when there are
17426 incomplete entries in ~/.netrc, for example.
17427 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17428 root directory ("device busy" error otherwise).
17430 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17431 Flush file properties of created directory.
17433 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17435 * makefile.w32-in (WINS_BASIC): Remove cedet.
17436 (WINS_CEDET): Add cedet.
17437 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17439 2009-10-02 Kevin Ryde <user42@zip.com.au>
17441 * net/browse-url.el (browse-url): Pass any symbol in
17442 browse-url-browser-function to `apply', since if you've mistakenly put
17443 an unbound symbol then the error is clearer. (Bug#4531)
17445 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17447 * allout.el (allout-init, allout-back-to-current-heading)
17448 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17449 (allout-ascend, allout-up-current-level, allout-end-of-level)
17450 (allout-previous-visible-heading, allout-forward-current-level)
17451 (allout-backward-current-level, allout-show-children):
17452 * apropos.el (apropos-describe-plist):
17453 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17454 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17455 * completion.el (add-completion, add-permanent-completion):
17456 * descr-text.el (describe-text-category, describe-char):
17457 * desktop.el (desktop-lazy-abort):
17458 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17459 * dired.el (dired-build-subdir-alist):
17460 * ediff.el (ediff-version):
17461 * elide-head.el (elide-head, elide-head-show):
17462 * emerge.el (emerge-version):
17464 * face-remap.el (variable-pitch-mode):
17465 * faces.el (describe-face):
17466 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17468 * files.el (find-file-existing, auto-save-mode):
17469 * font-lock.el (font-lock-fontify-buffer):
17470 * help-fns.el (describe-function, describe-variable)
17471 (describe-syntax, describe-categories):
17472 * help.el (view-lossage, describe-bindings, describe-key)
17474 * hexl.el (hexl-current-address):
17475 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17476 * info.el (Info-goto-emacs-key-command-node):
17477 * log-edit.el (log-edit-insert-cvs-template)
17478 (log-edit-insert-cvs-rcstemplate):
17479 * menu-bar.el (menu-bar-mode):
17480 * mouse.el (mouse-appearance-menu):
17481 * newcomment.el (comment-indent-new-line):
17482 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17483 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17484 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17485 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17486 * recentf.el (recentf-mode):
17487 * savehist.el (savehist-mode, savehist-save):
17488 * shadowfile.el (shadow-copy-files):
17489 * simple.el (kill-ring-save, next-line, previous-line)
17490 (normal-erase-is-backspace-mode):
17491 * strokes.el (strokes-update-window-configuration)
17492 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17493 (strokes-xpm-for-stroke):
17494 * time.el (emacs-uptime, emacs-init-time):
17495 * tutorial.el (tutorial--describe-nonstandard-key)
17496 (tutorial--detailed-help):
17497 * type-break.el (type-break-mode)
17498 (type-break-mode-line-message-mode, type-break-query-mode)
17499 (type-break-guesstimate-keystroke-threshold):
17500 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17501 * version.el (emacs-version):
17502 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17503 * winner.el (winner-mode):
17504 * calendar/timeclock.el (timeclock-in, timeclock-out)
17505 (timeclock-status-string, timeclock-change)
17506 (timeclock-workday-remaining-string)
17507 (timeclock-workday-elapsed-string)
17508 (timeclock-when-to-leave-string):
17509 * calendar/todo-mode.el (todo-add-category):
17510 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17511 * emacs-lisp/autoload.el (update-file-autoloads):
17512 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17513 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17514 (checkdoc-message-text, checkdoc-defun):
17515 * emacs-lisp/debug.el (debugger-list-functions):
17516 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17517 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17518 (eieio-describe-generic):
17519 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17520 * emacs-lisp/shadow.el (list-load-path-shadows):
17521 * emulation/cua-base.el (cua-mode):
17522 * emulation/edt.el (edt-set-scroll-margins):
17523 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17524 (tpu-toggle-regexp, tpu-toggle-search-direction)
17525 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17526 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17527 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17528 (viper-set-parsing-style-toggling-macro)
17529 (viper-set-emacs-state-searchstyle-macros):
17530 * emulation/viper.el (viper-set-hooks):
17531 * eshell/esh-mode.el (eshell-truncate-buffer):
17532 * international/mule-cmds.el (prefer-coding-system)
17533 (describe-input-method, describe-language-environment):
17534 * international/mule-diag.el (list-character-sets)
17535 (describe-character-set, describe-coding-system)
17536 (describe-fontset, list-fontsets, list-input-methods):
17537 * mail/sendmail.el (mail-signature):
17538 * net/ange-ftp.el (ange-ftp-copy-file):
17539 * net/browse-url.el (browse-url):
17540 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17541 * net/quickurl.el (quickurl-add-url):
17542 * net/rcirc.el (names, topic):
17543 * net/xesam.el (xesam-mode):
17544 * play/5x5.el (5x5-new-game):
17545 * play/yow.el (apropos-zippy):
17546 * progmodes/ada-mode.el (ada-mode-version):
17547 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17549 (f90-beginning-of-block):
17550 * progmodes/fortran.el (fortran-end-of-block)
17551 (fortran-beginning-of-block):
17552 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17553 * progmodes/python.el (python-describe-symbol, python-shell):
17554 * term/ns-win.el (ns-print-buffer):
17555 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17556 * textmodes/flyspell.el (flyspell-mode-on):
17557 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17558 (pages-directory-for-addresses):
17559 * textmodes/table.el (table-recognize-cell)
17560 (table-query-dimension, table-generate-source)
17561 (table-insert-sequence, table--warn-incompatibility):
17562 * textmodes/tex-mode.el (tex-validate-buffer):
17563 * textmodes/texinfmt.el (texinfmt-version)
17564 (texinfo-format-buffer):
17565 Use `called-interactively-p' instead of `interactive-p'.
17567 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17569 * image-mode.el (image-toggle-display):
17570 * emacs-lisp/elp.el (elp-instrument-function):
17571 * emacs-lisp/advice.el (ad-make-advised-definition):
17572 * emacs-lisp/easy-mmode.el (define-minor-mode):
17573 * net/browse-url.el (browse-url-maybe-new-window):
17574 * progmodes/sh-script.el (sh-learn-buffer-indent):
17575 Pass new argument 'any to `called-interactively-p'.
17577 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17579 * international/uni-bidi.el:
17580 * international/uni-category.el:
17581 * international/uni-combining.el:
17582 * international/uni-comment.el:
17583 * international/uni-decimal.el:
17584 * international/uni-decomposition.el:
17585 * international/uni-digit.el:
17586 * international/uni-lowercase.el:
17587 * international/uni-mirrored.el:
17588 * international/uni-name.el:
17589 * international/uni-numeric.el:
17590 * international/uni-old-name.el:
17591 * international/uni-titlecase.el:
17592 * international/uni-uppercase.el:
17593 Regenerate from Unicode 5.2.0 data.
17595 2009-10-01 Glenn Morris <rgm@gnu.org>
17597 * Makefile.in (ELCFILES): Regenerate.
17599 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17601 * subr.el (interactive-p): Mark obsolete.
17602 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17603 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17604 advertised-signature-table for subroutines as well.
17606 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17607 (set-advertised-calling-convention): New function.
17608 (make-obsolete, define-obsolete-function-alias)
17609 (make-obsolete-variable, define-obsolete-variable-alias):
17610 Make the optional-ness of `when' obsolete.
17611 (define-obsolete-face-alias): Make `when' non-optional.
17612 * help-fns.el (help-function-arglist):
17613 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17614 Use advertised-signature-table.
17616 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17618 * files.el (delete-directory): New defun. The original function
17619 in fileio.c has been renamed to `delete-directory-internal'.
17621 * dired.el (dired-delete-file): Call `delete-directory' with
17622 RECURSIVE parameter.
17624 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17625 parameter RECURSIVE. Implementation is missing.
17627 * net/tramp.el (tramp-handle-make-directory): Flush upper
17628 directory's file properties.
17629 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17630 (tramp-handle-dired-recursive-delete-directory): Flush directory
17631 properties after the remove command only.
17633 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17634 Handle optional parameter RECURSIVE.
17636 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17637 Handle optional parameter RECURSIVE.
17639 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17640 connection timeout.
17641 (tramp-smb-handle-delete-directory): Handle optional parameter
17644 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17646 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17647 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17648 (byte-compile-defmacro): Use backquotes.
17650 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17652 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17653 has no associated file.
17654 (vc-resynch-buffer): Use vc-dir-buffers.
17656 2009-10-01 Glenn Morris <rgm@gnu.org>
17658 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17659 (chart-file-count):
17660 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17661 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17662 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17663 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17664 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17665 (eieio-copy-parents-into-subclass, make-instance, class-children)
17666 (eieio-generic-form):
17668 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17669 match-data. (Bug#4555).
17671 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17672 rather than parsing it as a regexp. This relaxes the layout
17673 requirements and makes errors easier to detect.
17674 (check-declare-verify): Check file is regular.
17675 (check-declare-directory): Doc fix.
17676 * subr.el (declare-function): Doc fix.
17678 * ibuffer.el (ibuffer-format-qualifier):
17679 * isearch.el (hi-lock-regexp-okay):
17680 * calc/calc.el (math-zerop):
17681 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17682 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17683 Remove unused declarations.
17685 2009-09-30 Eric Ludlam <zappo@gnu.org>
17687 * emacs-lisp/eieio.el (boolean-p): Delete.
17689 2009-09-30 Glenn Morris <rgm@gnu.org>
17691 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17693 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17694 filename is not a string.
17696 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17698 * files.el (safe-local-eval-forms): Fix typo.
17700 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17702 * vc-hooks.el (vc-dir-buffers): New var.
17703 (vc-state-refresh): New function.
17704 (vc-state): Use it.
17705 (vc-after-save): Always ask the backend to recompute the new state.
17706 Always call vc-dir if necessary, using vc-dir-buffers.
17707 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17708 Use vc-dir-buffers.
17709 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17710 (vc-dir-prepare-status-buffer, vc-dir-update)
17711 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17712 Don't call expand-file-name on default-directory.
17714 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17716 * speedbar.el (speedbar-item-delete):
17717 * calc/calc-prog.el (calc-kbd-if):
17718 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17720 * epa.el (epa-key-list-mode-map):
17721 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17723 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17724 (hs-show-hook): Fix typo in docstring.
17726 2009-09-29 Glenn Morris <rgm@gnu.org>
17728 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17729 file-name-nondirectory call preventing location of cedet files.
17730 (check-declare-verify): Use literal search rather than re-search.
17731 Add basic defmethod and defclass, and define-overloadable-function.
17733 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17734 Use tramp-compat-file-attributes rather than nonexistent
17735 tramp-compat-handle-file-attributes.
17737 * Makefile.in (lisptagsfiles4): New.
17738 (AUTOGENEL): Add cedet loaddefs files.
17739 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17740 (update-elclist, compile-always, backup-compiled-files)
17741 (bootstrap-clean): Add yet another directory level.
17742 (update-elclist): Use LC_COLLATE rather than COLLATE.
17743 (ELCFILES): Update, via `make update-elclist'.
17745 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17747 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17748 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17749 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17751 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17753 * Makefile.in (lisptagsfiles3): Define.
17754 (TAGS, TAGS-LISP): Use it.
17755 (update-elclist): Add third directory level to look for elc files.
17756 (compile-always): Likewise.
17757 (backup-compiled-files): Likewise.
17758 (bootstrap-clean): Likewise.
17759 (ELCFILES): Update.
17761 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17763 * Makefile.in (ELCFILES): Add CEDET files.
17765 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17767 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17769 * net/tramp.el (top): Require tramp-imap.
17771 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17772 Use `tramp-compat-handle-file-attributes'.
17774 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17776 * net/tramp-imap.el: New package.
17778 2009-09-28 Eric Ludlam <zappo@gnu.org>
17780 * emacs-lisp/chart.el:
17781 * emacs-lisp/eieio-base.el:
17782 * emacs-lisp/eieio-comp.el:
17783 * emacs-lisp/eieio-custom.el:
17784 * emacs-lisp/eieio-datadebug.el:
17785 * emacs-lisp/eieio-opt.el:
17786 * emacs-lisp/eieio-speedbar.el:
17787 * emacs-lisp/eieio.el: New files.
17789 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17791 * whitespace.el (whitespace-trailing-regexp)
17792 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17795 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17797 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17800 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17801 menu-bar-ediff-menu.
17803 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17804 define-overloadable-function.
17806 * progmodes/autoconf.el: Provide autoconf as well, so that this
17807 file can be `require'd.
17809 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17811 * emacs-lisp/autoload.el (generated-autoload-feature)
17812 (generated-autoload-load-name): New vars.
17813 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17814 (make-autoload): Recognize define-overloadable-function and
17815 defclass forms (for EIEIO).
17817 * Makefile.in (update-subdirs): Exclude cedet directory.
17819 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17821 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17823 * faces.el: Default light-background background for region face to
17824 ns_selection_color under NS.
17826 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17828 * net/imap-hash.el: New library, see NEWS.
17830 * Makefile.in (ELCFILES): Add imap-hash.el.
17832 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17834 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17835 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17836 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17837 definition where the docstring could be taken for the return value.
17839 2009-09-26 Glenn Morris <rgm@gnu.org>
17841 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17842 Add option to only show images below a certain size.
17843 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17844 save-excursion calls.
17846 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17848 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17849 subdirectories) and eieio.
17851 2009-09-26 Alan Mackenzie <acm@muc.de>
17853 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17854 Correct buggy bracketing. (Bug#4289)
17856 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17857 character constants (as case labels). (Bug#4289)
17859 2009-09-25 Juri Linkov <juri@jurta.org>
17861 * files.el (safe-local-eval-forms): Allow time-stamp in
17862 before-save-hook (Bug#4554).
17864 2009-09-25 Drew Adams <drew.adams@oracle.com>
17866 * menu-bar.el (list-buffers-directory): Doc fix.
17868 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17870 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17871 Try and avoid copying twice the same paragraph.
17872 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17873 Remove save-excursion.
17874 (log-edit-changelog-entry): Do it here instead.
17876 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17878 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17879 when available, instead of hardcoding mode names. Doc fix.
17881 * menu-bar.el (list-buffers-directory): Add docstring.
17882 Make automatically buffer-local.
17884 * dired.el (dired-mode):
17885 * files.el (cd-absolute):
17886 * pcvs.el (cvs-temp-buffer):
17887 * pcvs-util.el (cvs-get-buffer-create):
17888 * shell.el (shell-mode):
17889 * vc-dir.el (vc-dir-mode):
17890 Don't make `list-buffers-directory' buffer local.
17892 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17894 * comint.el (comint-exec, comint-run, make-comint):
17895 Doc fixes (Bug#4542).
17897 2009-09-25 Glenn Morris <rgm@gnu.org>
17899 * mail/rmailmm.el (rmail-mime): New custom group.
17900 Move all defcustoms in this file into this group.
17901 (rmail-mime-media-type-handlers-alist): Revert previous change.
17902 (rmail-mime-show-images): New option.
17903 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17904 references to it, since it wasn't actually used for anything.
17905 (rmail-mime-insert-image): New function.
17906 (rmail-mime-image): Use rmail-mime-insert-image.
17907 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17908 obey the value of `rmail-mime-show-images' option. Print the size of
17911 2009-09-25 David Engster <deng@randomsample.de>
17913 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17915 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17917 * whitespace.el: Does not highlight trailing spaces While point is
17918 at end of line. Does not highligt spaces at beginning of buffer
17919 while point is at beginning of buffer. Does not highlight spaces
17920 at end of buffer while point is at end of buffer. (Bug#4177)
17922 (whitespace-display-mappings): Adjust initialization.
17923 (whitespace-point, whitespace-font-lock-refontify): New vars.
17924 (whitespace-color-on, whitespace-color-off): Adjust code.
17925 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17926 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17927 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17929 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17931 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17933 * textmodes/sgml-mode.el: Remove xml-mode alias.
17935 * files.el (auto-mode-alist, conf-mode-maybe)
17936 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17938 2009-09-24 Alan Mackenzie <acm@muc.de>
17940 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17941 c-forward-conditionals, but it doesn't move point and doesn't set
17943 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17944 (c-down-conditional-with-else, c-backward-conditional)
17945 (c-forward-conditional): Refactor to use c-scan-conditionals.
17947 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17949 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17950 (help-default-arg-highlight): Remove.
17951 (help-highlight-arg): New function.
17952 (help-do-arg-highlight): Use it.
17953 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17955 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17957 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17958 Undo last change, which didn't fix the problem and introduced others.
17960 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17962 * progmodes/gdb-mi.el: Don't require speedbar.
17963 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17965 2009-09-24 Glenn Morris <rgm@gnu.org>
17967 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17969 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17971 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17972 there is no newline after the final mime boundary. (Bug#4539)
17973 Move markers on insertion so that any buttons inserted don't end up in
17974 the next part of a multipart message.
17975 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17976 (rmail-mime-bulk-handler): Optionally handle images.
17977 (rmail-mime-image): New button action.
17978 (rmail-mime-image-handler): New function.
17979 (rmail-mime-mode): New mode.
17980 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17982 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17984 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17985 than just dropping elements from it (bug#4504).
17987 * term.el (term-set-scroll-region): Don't move cursor any more.
17988 (term-handle-ansi-escape): Call term-goto here instead.
17989 Suggested by Ivan Kanis <apple@kanis.eu>.
17991 * term.el: Require CL.
17992 (term-ansi-reset): New function.
17993 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17994 (term-handle-colors-array): Simplify.
17996 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17998 * allout.el (allout-overlay-interior-modification-handler)
17999 (allout-obtain-passphrase):
18000 * epa-file.el (epa-file-write-region):
18001 * ps-print.el (ps-begin-job):
18002 * vc-hooks.el (vc-toggle-read-only):
18003 * vc-rcs.el (vc-rcs-rollback):
18004 * vc-sccs.el (vc-sccs-rollback):
18005 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18006 (vc-version-diff, vc-revert, vc-rollback):
18007 * wdired.el (wdired-check-kill-buffer):
18008 * emacs-lisp/authors.el (authors):
18009 * net/socks.el (socks-open-connection):
18010 * net/zeroconf.el (zeroconf-service-add-hook):
18011 * obsolete/vc-mcvs.el (vc-mcvs-register):
18012 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18013 (gdb-select-frame):
18014 * progmodes/grep.el (lgrep, rgrep):
18015 * progmodes/idlw-help.el (idlwave-help-check-locations)
18016 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18017 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18018 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18019 (reftex-toc-rename-label): Fix typos in error messages.
18021 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18022 (dired-copy-how-to-fn): Doc fix.
18023 (dired-files-attributes, dired-read-shell-command):
18024 Fix typos in docstrings.
18026 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18027 (dired-x-find-file-other-window): Reflow docstrings.
18028 (dired-omit-marker-char, dired-read-shell-command)
18029 (dired-x-submit-report): Fix typos in docstrings.
18031 * shell.el (shell-mode-hook):
18032 * view.el (View-scroll-line-forward):
18033 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18034 Fix typos in docstrings.
18036 * net/dig.el (dig-invoke): Fix typo in docstring.
18037 (query-dig): Reflow docstring.
18039 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18040 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18041 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18042 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18043 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18044 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18045 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18046 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18047 (idlwave-completion-map, idlwave-current-indent)
18048 (idlwave-custom-ampersand-surround, idlwave-customize)
18049 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18050 (idlwave-define-abbrev, idlwave-determine-class-special)
18051 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18052 (idlwave-end-block-reg, idlwave-end-of-statement)
18053 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18054 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18055 (idlwave-explicit-class-listed, idlwave-file-header)
18056 (idlwave-fill-paragraph, idlwave-find-class-definition)
18057 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18058 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18059 (idlwave-in-quote, idlwave-indent-action-table)
18060 (idlwave-indent-expand-table, idlwave-indent-line)
18061 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18062 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18063 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18064 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18065 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18066 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18067 (idlwave-outlawed-buffers, idlwave-popup-select)
18068 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18069 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18070 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18071 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18072 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18073 (idlwave-statement-type, idlwave-struct-skip)
18074 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18075 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18076 (idlwave-what-module-find-class): Fix typos in docstrings.
18077 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18078 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18079 (idlwave-find-module, idlwave-find-structure-definition)
18080 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18081 (idlwave-list-load-path-shadows, idlwave-next-statement)
18082 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18083 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18084 (idlwave-template): Reflow docstrings.
18086 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18087 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18088 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18089 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18090 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18091 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18092 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18093 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18094 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18095 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18096 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18097 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18098 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18099 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18100 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18101 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18102 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18103 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18104 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18105 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18106 Fix typos in docstrings.
18107 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18108 (idlwave-shell-hide-output, idlwave-shell-mode)
18109 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18112 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18114 2009-09-24 Ivan Kanis <apple@kanis.eu>
18116 * term.el (term-bold-attribute): New var.
18117 (term-handle-colors-array): Use it.
18119 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18121 * progmodes/gdb-mi.el (gdb-version): New variable.
18122 (gdb-non-stop-handler): Set gdb-version.
18123 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18124 Condition "--thread" option on gdb-version.
18125 (gdb-invalidate-threads): Remove unused argument.
18127 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18129 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18130 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18132 2009-09-23 Glenn Morris <rgm@gnu.org>
18134 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18135 replying to mail without References or Message-Id. (Bug#4525)
18137 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18139 * term/ns-win.el (ns-reg-to-script): New variable.
18141 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18143 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18145 2009-09-22 Sam Steingold <sds@gnu.org>
18147 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18148 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18149 to 1 because hg returns status 1 when nothing is found.
18150 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18152 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18154 * textmodes/fill.el: Convert to utf-8 encoding.
18155 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18158 * add-log.el (change-log-fill-forward-paragraph): New function.
18159 (change-log-mode): Use it so fill-region DTRT.
18160 Set fill-indent-according-to-mode here rather than in
18161 change-log-fill-paragraph.
18162 (change-log-fill-paragraph): Remove.
18164 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18166 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18167 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18169 2009-09-22 Glenn Morris <rgm@gnu.org>
18171 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18172 the scroll-bar scroll the calendar window rather than the buffer.
18174 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18175 commands that move point (as opposed to scrolling).
18177 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18179 * emacs-lisp/elint.el (elint): New custom group.
18180 (elint-log-buffer): Make it a defcustom.
18181 (elint-scan-preloaded, elint-ignored-warnings)
18182 (elint-directory-skip-re): New options.
18183 (elint-builtin-variables): Doc fix.
18184 (elint-preloaded-env): New variable.
18185 (elint-unknown-builtin-args): Add an entry for encode-time.
18186 (elint-extra-errors): Make it a variable rather than a constant.
18187 (elint-preloaded-skip-re): New constant.
18188 (elint-directory): Skip files matching elint-directory-skip-re.
18189 (elint-features): New variable, local to linted buffers.
18190 (elint-update-env): Initialize elint-features. Possibly add
18191 elint-preloaded-env to the buffer's environment.
18192 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18194 (elint-init-form): New function, extracted from elint-init-env.
18195 Make non-list forms a warning rather than an error.
18196 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18197 easy-menu-define, put that adds an error-condition, and provide.
18198 When requiring cl, also require cl-macs. Really require cl, to handle
18199 some cl macros. Store required libraries in the list elint-features,
18200 so as not to re-load them. Treat cc-require like require.
18201 (elint-init-env): Call elint-init-form to do the work.
18202 Handle eval-and-compile and such like.
18203 (elint-add-required-env): Do not clear messages.
18204 (elint-special-forms): Add handlers for function, defalias, if, when,
18206 (elint-form): Add optional argument to ignore elint-special-forms,
18207 useful to prevent recursive calls from handlers. Doc fix.
18208 Respect elint-ignored-warnings.
18209 (elint-form): Respect elint-ignored-warnings.
18210 (elint-bound-variable, elint-bound-function): New variables.
18211 (elint-unbound-variable): Respect elint-bound-variable.
18212 (elint-get-args): Respect elint-bound-function.
18213 (elint-check-cond-form): Add some simple handling for (f)boundp and
18215 (elint-check-defalias-form): New handler.
18216 (elint-check-let-form): Make an empty let a warning rather than an
18218 (elint-check-setq-form): Make an empty setq a warning rather than an
18219 error. Respect elint-ignored-warnings.
18220 (elint-check-defvar-form): Accept null doc-strings.
18221 (elint-check-conditional-form): New handler. Does some simple-minded
18222 checking of featurep and (f)boundp tests.
18223 (elint-put-function-args): New function.
18224 (elint-initialize): Use elint-scan-doc-file rather than
18225 elint-find-builtin-variables. Use elint-put-function-args.
18226 Possibly scan preloaded-file-list.
18227 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18228 extend to handle functions as well.
18230 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18232 * linum.el (linum-delete-overlays, linum-update-window):
18233 Do not modify the right margin. (Bug#3971)
18235 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18237 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18238 Use nxml-mode instead of xml-mode.
18240 2009-09-21 Kevin Ryde <user42@zip.com.au>
18242 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18244 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18246 * net/dig.el (dig-mode): Use define-derived-mode.
18248 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18250 * vc-dispatcher.el (vc-do-command): Return the process object in
18251 the asynchronous case. Use when instead of if. Do not run
18252 vc-exec-after to display a message if not enabled. (Bug#4463)
18254 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18255 properties to the stash strings.
18256 (vc-git-stash-list): Return a list of strings.
18257 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18258 (vc-git-stash-show-at-point): New functions.
18259 (vc-git-stash-map): New keymap.
18261 * register.el (ctl-x-r-map): Define the keys here instead of
18264 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18266 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18267 list, to workaround performance problem (bug#4485).
18269 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18271 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18273 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18275 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18276 Document that this option is not recommended to use.
18278 2009-09-19 Glenn Morris <rgm@gnu.org>
18280 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18283 * calc/calc-alg.el (var):
18284 * calc/calcalg2.el (var): Define for compiler.
18286 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18288 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18289 Doc fix (Bug#3932).
18291 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18293 * time-stamp.el (time-stamp-month-dd-yyyy)
18294 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18295 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18296 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18297 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18298 Remove functions that have been obsolete since 1995 (Bug#4436).
18300 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18301 indent buffer only if called interactively (Bug#4452).
18303 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18304 Eli Zaretskii <eliz@gnu.org>
18306 This fixes bug#4197 (merged to bug#865, though not identical).
18307 * server.el (server-auth-dir): Add docstring note about FAT32.
18308 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18309 but warn against using them.
18311 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18313 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18314 older GDB where there is no has_more field.
18316 2009-09-19 Glenn Morris <rgm@gnu.org>
18318 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18320 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18322 * files.el (auto-mode-alist): Change default for XML files to nXML
18325 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18327 * server.el (server-ensure-safe-dir): Pass 'integer
18328 to `file-attributes', as suggested.
18330 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18332 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18333 (dired-query): Use read-key.
18335 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18337 * cus-start.el (ns-use-qd-smoothing): Remove.
18339 2009-09-18 Glenn Morris <rgm@gnu.org>
18341 * allout.el (top-level): Remove unnecessary progn.
18343 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18345 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18346 definition of abbrev table.
18348 * speedbar.el (speedbar-track-mouse):
18349 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18350 * net/eudc.el (eudc-expand-inline):
18351 * net/newst-backend.el (newsticker--cache-read-feed):
18352 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18353 condition-case handlers.
18355 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18357 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18358 (gdb-var-list): Add an element for has_more field.
18359 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18360 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18361 (gdb-var-update-handler-1): Parse output of dynamic variable
18362 objects (STL containers).
18363 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18364 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18366 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18368 (gud-speedbar-buttons): Make node expandable if expression "has more"
18371 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18373 * startup.el (emacs-quick-startup): Remove variable and all uses.
18374 (command-line): Set `inhibit-x-resources' instead.
18375 (command-line-1): Use `inhibit-x-resources' instead.
18377 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18379 * subr.el: Fix last change to avoid using the `unless' macro,
18380 which breaks bootstrapping.
18382 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18384 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18385 extended definitions, in case we reload subr.el after having
18387 (eval-next-after-load): Mark as obsolete.
18389 2009-09-17 Juri Linkov <juri@jurta.org>
18391 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18392 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18393 (menu-bar-showhide-menu, menu-bar-tools-menu)
18394 (menu-bar-describe-menu, menu-bar-help-menu)
18395 (minibuffer-local-completion-map, minibuffer-local-map):
18398 2009-09-17 Glenn Morris <rgm@gnu.org>
18400 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18401 arguments, whether or not it has a handler.
18403 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18405 * simple.el (hard-newline): Give it a doc-string.
18407 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18408 (lisp-mode-syntax-table): Give them doc-strings.
18410 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18412 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18413 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18414 (menu-bar-options-menu, menu-bar-showhide-menu)
18415 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18416 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18417 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18418 (menu-bar-options-menu, menu-bar-tools-menu)
18419 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18420 (menu-bar-help-menu):
18421 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18424 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18425 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18426 calls for the menu names and :help.
18428 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18430 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18431 to :minor-mode-function (bug#4455).
18433 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18435 * startup.el (command-line): Initialize the window-system after
18436 processing the command-line.
18438 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18439 page-delimiter matches the empty string.
18441 2009-09-16 Glenn Morris <rgm@gnu.org>
18443 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18444 byte-compile-not-obsolete-var. It's a list now.
18445 (byte-compile-not-obsolete-funcs): New variable.
18446 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18447 byte-compile-not-obsolete-funcs.
18448 (byte-compile-variable-ref, byte-compile-defvar): Update for
18449 byte-compile-not-obsolete-vars name-change and list nature.
18450 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18451 and variables behind (f)boundp tests.
18452 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18454 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18456 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18458 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18460 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18461 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18464 2009-09-15 Stephen Eglen <stephen@gnu.org>
18466 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18467 the virtual-buffers, use the name of the buffer specified by
18468 find-file-noselect, as the match may be a symlink. (This was a
18469 problem if the target and the symlink had different names.)
18471 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18473 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18475 * desktop.el (desktop-path): Check user-emacs-directory.
18477 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18479 * loadup.el: Use after-load-functions to GC after loading each file.
18480 Remove the explicit GC calls that used to be sprinkled around.
18482 * subr.el (after-load-functions): New hook.
18483 (do-after-load-evaluation): Run it. Use string-match-p to detect
18484 `obsolete' packages, rather than painfully extracting the relevant
18487 2009-09-15 Glenn Morris <rgm@gnu.org>
18489 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18490 free variable `doc'.
18492 * dired.el (dired-mode-map): Add menu entry for async shell command.
18494 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18495 variables, also consider the .elc files, since the .el files are
18496 normally gzipped (subsequent code locates the .el.gz from the .elc).
18498 * calc/calc-prog.el (arglist): Define for compiler.
18500 * calendar/diary-lib.el (diary-display-function): Change the default to
18502 (body): Define for compiler.
18504 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18505 (byte-compile-file-form, byte-compile-lambda)
18506 (byte-compile-top-level-body, byte-compile-form)
18507 (byte-compile-variable-ref, byte-compile-setq)
18508 (byte-compile-setq-default, byte-compile-body)
18509 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18510 (batch-byte-compile): Give some more local variables with common names
18511 a "bytecomp-" prefix to avoid masking warnings about free variables.
18513 * startup.el (command-line-1): Give local variables with common names a
18514 distinguishing prefix, so as not to hide free variable warnings during
18517 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18518 clever and add a suffix to make a unique name, just let the user decide
18519 whether or not to overwrite it. If the input is a directory, write the
18520 default filename to that directory. (Bug#4388)
18521 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18522 is a filename-as-a-directory.
18524 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18526 * textmodes/page.el (what-page): Don't move to beginning of line.
18527 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18529 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18531 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18533 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18535 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18536 * help.el (help-for-help-internal): Add purecopy calls for text.
18538 * vc.el (top): print-log method now takes an optional SHORTLOG
18539 argument. Add a new method: root.
18540 (vc-root-diff, vc-print-root-log): New functions.
18541 (vc-log-short-style): New variable.
18542 (vc-print-log-internal): Add support for showing short logs.
18544 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18545 vc-print-root-log and vc-print-root-diff.
18547 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18548 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18549 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18552 * vc-cvs.el (vc-cvs-print-log):
18553 * vc-mtn.el (vc-mtn-print-log):
18554 * vc-rcs.el (vc-rcs-print-log):
18555 * vc-sccs.el (vc-sccs-print-log):
18556 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18557 that is ignored for now.
18559 * vc-mtn.el (vc-mtn-annotate-command):
18560 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18562 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18564 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18565 to function-key-map, and give them ascii-character property.
18566 * term/x-win.el (x-alternatives-map):
18567 * term/ns-win.el (ns-alternatives-map):
18568 * term/internal.el (msdos-key-remapping-map):
18569 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18571 2009-09-14 Glenn Morris <rgm@gnu.org>
18573 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18574 temp-buffers (2009-09-12).
18576 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18578 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18579 the new read-key function.
18581 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18583 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18584 is defined (Bug#4405).
18586 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18588 * recentf.el (recentf-cleanup): Use a hash table to find
18589 duplicates (Bug#4407).
18591 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18593 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18594 kp-0 to ascii equivalents (Bug#4325).
18596 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18598 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18600 * eshell/em-hist.el:
18601 * eshell/em-dirs.el (eshell-complete-user-reference):
18602 Declare pcomplete functions and variables to avoid compiler warnings.
18604 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18606 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18607 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18608 * eshell/em-alias.el (eshell-aliases-file):
18609 * eshell/em-hist.el (eshell-history-file-name):
18610 Use expand-file-name instead of concat to make file names (Bug#4308).
18612 2009-09-13 Glenn Morris <rgm@gnu.org>
18614 * ediff-merg.el (ediff-do-merge):
18615 * filesets.el (filesets-run-cmd):
18616 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18617 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18618 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18619 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18620 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18621 Replace empty `let's with `progn'.
18623 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18625 * mail/sendmail.el (send-mail-function):
18626 * tooltip.el (tooltip-mode):
18627 * simple.el (transient-mark-mode):
18628 * rfn-eshadow.el (file-name-shadow-mode):
18629 * frame.el (blink-cursor-mode):
18630 * font-core.el (global-font-lock-mode):
18631 * files.el (temporary-file-directory)
18632 (small-temporary-file-directory, auto-save-file-name-transforms):
18633 * epa-hook.el (auto-encryption-mode):
18634 * composite.el (global-auto-composition-mode):
18635 Use custom-initialize-delay.
18636 * startup.el (command-line): Don't explicitly call
18637 custom-reevaluate-setting for all the above vars.
18638 * custom.el (custom-initialize-safe-set)
18639 (custom-initialize-safe-default): Delete.
18641 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18643 * term/x-win.el (x-initialize-window-system):
18644 * term/w32-win.el (w32-initialize-window-system):
18645 * term/ns-win.el (ns-initialize-window-system): Don't call
18646 mouse-wheel-mode since it's enabled globally by default already.
18648 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18649 actually define the variable, but only silences the byte-compiler.
18650 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18651 before looking it up.
18652 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18655 2009-09-12 Glenn Morris <rgm@gnu.org>
18657 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18659 (elint-add-required-env): Don't beep on error.
18660 (elint-forms): In case of error, return ENV unchanged.
18661 (elint-init-env): Skip non-list forms.
18662 (elint-log): Handle unknown file positions.
18664 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18666 * epg.el (epg-make-context): Add autoload cookie.
18667 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18668 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18669 (epg-verify-string, epg-start-sign, epg-sign-file)
18670 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18671 (epg-encrypt-string, epg-start-export-keys)
18672 (epg-export-keys-to-file, epg-export-keys-to-string)
18673 (epg-start-import-keys, epg-import-keys-from-file)
18674 (epg-import-keys-from-string, epg-start-receive-keys)
18675 (epg-receive-keys, epg-import-keys-from-server)
18676 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18677 (epg-sign-keys, epg-start-generate-key)
18678 (epg-generate-key-from-file, epg-generate-key-from-string):
18679 Remove autoload cookie.
18681 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18683 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18684 reevaluation of trash-directory.
18686 * mwheel.el: Fix last change.
18687 (mouse-wheel-mode): New defvar.
18688 (mouse-wheel-mode): Remove autoload cookie.
18690 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18692 * mwheel.el (mwheel-installed-bindings): New var.
18693 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18694 the bindings we set last time. Use custom-initialize-delay.
18695 * loadup.el: Load mwheel after term/*-win.el.
18696 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18697 and mouse-wheel-up-event now that their first evaluation is done
18698 sufficiently late to be correct.
18700 * startup.el (tutorial-directory): Make it a defcustom.
18701 Use custom-initialize-delay rather than eval-at-startup to set it.
18702 * image.el (image-load-path): Make it a defcustom.
18703 Use custom-initialize-delay rather than eval-at-startup to set it.
18704 * subr.el (eval-at-startup): Remove.
18705 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18707 * subr.el (do-after-load-evaluation): Warn the user after loading an
18710 2009-09-12 Glenn Morris <rgm@gnu.org>
18712 * proced.el (proced-mark-alt): Remove alias.
18713 (proced-mode-map): Remove proced-mark-alt.
18715 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18716 Elint file and directory. Remove initialization entry.
18718 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18720 (elint-current-buffer): Set mode-line-process.
18721 (elint-init-env): Handle define-derived-mode.
18722 Fix declare-function with unspecified arglist. Guard against odd
18723 defalias statements (eg iso-insert's 8859-1-map).
18724 (elint-add-required-env): Use a temp buffer.
18725 (elint-form): Just print the function/macro name, not the whole form.
18726 Return env unchanged if we fail to parse a macro.
18727 (elint-forms): Guard against parse errors.
18728 (elint-output): New function, to handle batch mode.
18729 (elint-log-message): Add optional argument. Use elint-output.
18730 (elint-set-mode-line): New function.
18732 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18734 * emacs-lisp/elp.el (elp-not-profilable): Add more
18735 functions (Bug#4233).
18737 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18739 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18740 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18742 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18744 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18745 (gdb-var-list-children): Use json parsing.
18747 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18749 * progmodes/js.el (js--proper-indentation): Handle the case where
18750 char-before is null. Reported by Deniz Dogan.
18752 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18754 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18756 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18758 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18759 (epg-digest-algorithm-alist): Add SHA224.
18760 (epg-context-set-passphrase-callback)
18761 (epg-context-set-progress-callback): Add description about
18764 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18766 * custom.el (custom-delayed-init-variables): New var.
18767 (custom-initialize-delay): New function.
18768 * startup.el (command-line): "Re"evaluate all vars in
18769 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18770 explicitly any more.
18771 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18772 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18774 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18776 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18778 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18779 (gdb-var-update-handler): Use json parsing.
18781 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18783 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18784 decode annotated text, regardless of language environment. (Bug#2741)
18786 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18788 * Makefile.in (autoloads): Make rmail.el writable as well.
18790 2009-09-11 Glenn Morris <rgm@gnu.org>
18792 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18794 * dired.el: Regenerate with extracted autoloads.
18795 * Makefile.in (autoloads): Make dired.el writable.
18797 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18798 * ibuffer.el: Regenerate with extracted autoloads.
18799 * Makefile.in (autoloads): Make ibuffer.el writable.
18801 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18802 * version.el (emacs-copyright, emacs-major-version)
18803 (emacs-minor-version): Reformat doc-strings for make-docfile.
18805 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18806 functions and variables, since they must be stuff specific to some other
18808 (apropos-print): Make mouse-click message less specific about button.
18810 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18811 that records where a macro was defined.
18812 * help-fns.el (describe-function-1): Mention if a function has a
18814 * help-mode.el (help-function-cmacro): New button.
18816 * locate.el (top-level): Always require dired.
18817 (locate-mode-map): Initialize inside the defvar.
18819 * net/ange-ftp.el (dired-compress-file): Declare.
18820 (ange-ftp-dired-compress-file): Add doc string.
18822 * term/ns-win.el (x-display-name, x-setup-function-keys):
18823 Unify doc-strings with X versions.
18825 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18827 * emulation/crisp.el (crisp-mode-map): Move initialization
18829 (crisp-mode): Use define-minor-mode.
18831 * progmodes/xscheme.el (xscheme-evaluation-commands):
18832 Put a :advertised-binding property rather than using
18833 advertised-xscheme-send-previous-expression.
18834 (advertised-xscheme-send-previous-expression): Declare obsolete.
18835 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18837 (crisp-mode): Add corresponding bindings to
18838 undo's :advertised-binding instead.
18839 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18840 than using dired-advertised-find-file.
18841 (dired-advertised-find-file):
18842 * simple.el (advertised-undo):
18843 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18844 (widget-keymap): Put a :advertised-binding property rather
18845 than using advertised-widget-backward.
18846 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18847 than using advertised-undo.
18848 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18850 2009-09-10 Simon South <ssouth@slowcomputing.org>
18852 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18853 Mark mode is enabled and region is active; otherwise indent or
18854 insert TAB as usual.
18855 (delphi-mode): Update description of TAB-key binding.
18857 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18859 * subr.el (define-key-rebound-commands): Mark obsolete.
18860 * startup.el (precompute-menubar-bindings): Remove.
18861 (normal-top-level): Remove obsolete code that tried to precompute
18863 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18864 define-key-rebound-commands and precompute-menubar-bindings.
18866 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18868 * net/imap.el (imap-interactive-login): Better messages.
18869 (imap-open): Fix bug with renamed buffer on reconnect.
18870 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18871 for easier debugging and cleaner code. On successful (guessed based on
18872 server capabilities) secondary authentication, set imap-state
18874 (imap-last-authenticator): Define imap-last-authenticator as a variable
18877 2009-09-10 Glenn Morris <rgm@gnu.org>
18879 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18881 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18882 (byte-compile-file-form-autoload): Don't warn about unknown functions
18883 where the autoload statement comes after the use.
18884 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18885 that any handlers inside the body (eg require) are in turn respected.
18887 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18890 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18891 and syntax and abbrev tables basic docs, if they don't have any.
18893 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18895 * international/mule-cmds.el (top-level): Require cl when compiling.
18896 (view-hello-file): Use default-value rather than
18897 default-enable-multibyte-characters.
18899 * progmodes/fortran.el: Move all safe and risky properties into the
18902 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18903 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18904 * mail/undigest.el:
18905 Put autoloads in rmail.el rather than loaddefs.el.
18906 * mail/rmail.el: Regenerate with extracted autoloads.
18908 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18909 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18911 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18913 Reported in thread for Bug#4375.
18914 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18915 "-data-evaluate-expression" instead of print.
18916 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18917 (gdb-tooltip-print): Parse output from above MI command.
18918 (gdb): Revert 2009-08-11 change. User should detach inferior
18921 Remove the word "separate" from IO functions as inferior
18922 output is now never displayed in the GUD buffer.
18924 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18926 * startup.el (command-line-normalize-file-name): On Windows and
18927 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18929 2009-09-10 Juri Linkov <juri@jurta.org>
18931 * isearch.el (isearch-text-char-description): Propertize escape
18932 character sequences with the `escape-glyph' face. (Bug#4344)
18934 * simple.el (shell-command): Set asynchronous process filter to
18935 `comint-output-filter'. (Bug#4343)
18937 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18938 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18939 the list. Move "asm" to the bottom.
18940 (grep-find-ignored-directories): Add `choice' with nil value
18941 to empty the list easily.
18942 (grep-find-ignored-files): New option.
18943 (grep-files-history): Set to nil by default instead of '("ch" "el").
18944 (grep-compute-defaults): Add "<X>" to `grep-template'.
18945 (grep-read-files): Bind new local variables `default-alias' and
18946 `default-extension'. Use a list of default values for the file prompt.
18947 (lgrep): Add `--exclude=' command line options composed from
18948 `grep-find-ignored-files'.
18949 (rgrep): Add `-name' command line options composed from
18950 `grep-find-ignored-files'. (Bug#4301)
18952 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18954 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18957 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18959 * calendar/time-date.el (autoload):
18960 Expand define-obsolete-function-alias into defalias and make-obsolete
18961 for old Emacsen that Gnus supports.
18962 (with-no-warnings): Define it for old Emacsen.
18963 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18965 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18966 float-time is available; suppress compile warning for time-to-seconds.
18968 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18970 * net/imap.el (imap-message-map): Docstring fix.
18972 2009-09-09 Glenn Morris <rgm@gnu.org>
18974 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18975 line numbers too. (Bug#4374)
18977 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18979 * smerge-mode.el (smerge-remove-props, smerge-refine):
18980 Use with-silent-modifications (bug#4342).
18982 * subr.el (with-silent-modifications): New macro.
18984 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18986 * files.el (top-level): Require `cl' when compiling.
18988 2009-09-07 Glenn Morris <rgm@gnu.org>
18990 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18992 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18993 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18995 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18997 * vc-git.el (vc-git-annotate-command): Use separator to parse
18998 arguments correctly.
19000 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19002 * proced.el (proced-mode): Doc fix.
19004 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19006 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19008 (tramp-do-file-attributes-with-ls): Check for file existence at
19010 (tramp-do-file-attributes-with-stat): Likewise.
19011 (tramp-convert-file-attributes): Return nil when attr is nil.
19013 2009-09-05 Glenn Morris <rgm@gnu.org>
19015 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19016 properties to this button.
19017 (diary-fancy-display): Don't extend the button to the final newline.
19018 (diary-fancy-display-mode): Continue to define "q" as a local key.
19020 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19023 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19025 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19026 (byte-compile-dest-file-function): New option.
19027 (byte-compile-dest-file): Doc fix.
19028 Obey byte-compile-dest-file-function.
19029 (byte-compile-cl-file-p): New function.
19030 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19031 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19032 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19033 than for file being previously loaded.
19034 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19035 (byte-compile-file-form-require): Handle the case where requiring a file
19036 indirectly causes CL to be loaded.
19038 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19040 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19041 before killing the old buffer, since by the time `kill-buffer' is
19042 run so many buffer variables have been set to nil that it may not
19043 behave as expected. (Bug#4061)
19045 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19047 * files.el (find-alternate-file): If the old buffer is modified
19048 and visiting a file, behave similarly to `kill-buffer' when
19049 killing it, thus reverting to the pre-1.878 behavior; see
19050 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19051 for discussion. Also, consult `buffer-file-name' as a variable
19052 not as a function, for consistency with the rest of the code.
19054 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19056 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19057 also when adding a new directory.
19059 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19062 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19064 * files.el (locate-file-completion-table): Make it provide boundary
19065 information, so partial-completion works better.
19067 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19069 * mail/footnote.el (Footnote-text-under-cursor):
19070 Check footnote-text-marker-alist before using it (bug#4324).
19072 2009-09-04 Glenn Morris <rgm@gnu.org>
19074 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19075 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19076 * play/solitaire.el, play/tetris.el:
19077 Remove leading * from defcustom and defface docs.
19079 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19081 (diary-fancy-overriding-map): New variable.
19082 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19085 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19088 2009-09-03 Glenn Morris <rgm@gnu.org>
19090 * arc-mode.el (archive-mode):
19091 * dos-fns.el (set-default-process-coding-system):
19092 * man.el (Man-getpage-in-background):
19093 * menu-bar.el (menu-bar-describe-menu):
19094 * server.el (server-process-filter):
19095 * startup.el (command-line):
19096 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19097 * w32-fns.el (set-default-process-coding-system):
19098 * x-dnd.el (x-dnd-handle-file-name):
19099 * international/mule-cmds.el (mule-menu-keymap)
19100 (set-default-coding-systems, language-info-alist, set-language-info)
19101 (set-language-environment, standard-display-european-internal)
19102 (set-locale-environment):
19103 * international/mule-diag.el (mule-diag):
19104 * mail/emacsbug.el (report-emacs-bug):
19105 * mail/rmail.el (rmail-mode):
19106 * mail/sendmail.el (mail-setup):
19107 Use default-value rather than default-enable-multibyte-characters.
19109 * progmodes/f90.el: Move all safe properties into the defcustoms.
19110 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19112 * calendar/appt.el (appt-check):
19113 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19114 (diary-check-diary-file, diary-list-entries)
19115 (diary-include-other-diary-files, diary-simple-display)
19116 (diary-fancy-display, diary-print-entries)
19117 (diary-mark-included-diary-files, diary-make-entry):
19118 Don't call substitute-in-file-name on diary-file.
19120 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19121 Stefan Monnier <monnier@iro.umontreal.ca>
19123 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19124 (footnote-mode-map): Move initialization into the declaration.
19125 (footnote-minor-mode-map): Define it rather than changing global-map.
19126 (footnote-mode): Use define-minor-mode.
19128 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19130 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19131 (tramp-do-file-attributes-with-perl)
19132 (tramp-do-file-attributes-with-stat): Rename from
19133 `tramp-handle-file-attributes-with-*'.
19134 (tramp-handle-file-attributes): Use them.
19135 (tramp-do-directory-files-and-attributes-with-perl)
19136 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19137 `tramp-handle-directory-files-and-attributes-with-*'.
19138 (tramp-handle-directory-files-and-attributes): Use them.
19139 (tramp-method-out-of-band-p): Additional parameter SIZE.
19140 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19141 (tramp-handle-write-region): Use it.
19142 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19143 (tramp-handle-vc-registered): Check, whether the first run did
19144 return files to be tested.
19145 (tramp-advice-make-auto-save-file-name): Do not call directly
19146 `tramp-handle-make-auto-save-file-name', because this would bypass
19147 the locking mechanism.
19149 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19150 (file-remote-p, process-file, start-file-process, set-file-times)
19151 (tramp-compat-file-attributes): Compatibility functions shall not
19152 call directly `tramp-handle-*', because this would bypass the
19154 (tramp-compat-number-sequence): New defun.
19156 2009-09-02 Glenn Morris <rgm@gnu.org>
19158 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19159 alias for float-time.
19160 (time-to-number-of-days): In Emacs, use float-time.
19161 * net/newst-backend.el (time-add): Suppress warnings from compat
19163 * time.el (emacs-uptime, emacs-init-time):
19164 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19165 Use float-time rather than time-to-seconds.
19167 * minibuffer.el (completion-initials-expand): Fix typo.
19169 * faces.el (modeline, modeline-inactive, modeline-highlight)
19170 (modeline-buffer-id):
19171 * info.el (info-menu-5): Mark these face aliases as obsolete.
19173 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19175 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19177 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19178 no "--thread" option.
19179 (gdb-stopped): Don't print "Switched to thread" message when it is
19182 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19184 * minibuffer.el (completion-try-completion)
19185 (completion-all-completions): Remove ill-defined (and
19186 mistakenly installed and luckily never used nor documented)
19187 `completion-styles' property.
19188 (completion-initials-expand, completion-initials-all-completions)
19189 (completion-initials-try-completion): New functions.
19190 (completion-styles-alist): Add doc to each entry.
19191 Add new `initials' entry.
19193 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19195 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19196 MI command -var-evaluate-expression.
19197 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19198 and tweak for case of string child.
19199 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19201 2009-09-01 Glenn Morris <rgm@gnu.org>
19203 * add-log.el (change-log-date-face, change-log-name-face)
19204 (change-log-email-face, change-log-file-face, change-log-list-face)
19205 (change-log-conditionals-face, change-log-function-face)
19206 (change-log-acknowledgement-face):
19207 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19208 (custom-modified-face, custom-set-face, custom-changed-face)
19209 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19210 (custom-documentation-face, custom-state-face, custom-comment-face)
19211 (custom-comment-tag-face, custom-variable-tag-face)
19212 (custom-variable-button-face, custom-face-tag-face)
19213 (custom-group-tag-face-1, custom-group-tag-face):
19214 * diff-mode.el (diff-header-face, diff-file-header-face)
19215 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19216 (diff-added-face, diff-changed-face, diff-function-face)
19217 (diff-context-face, diff-nonexistent-face):
19218 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19219 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19220 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19221 (Info-title-4-face):
19222 * isearch.el (isearch-lazy-highlight-face):
19223 * log-view.el (log-view-file-face, log-view-message-face):
19224 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19225 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19226 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19228 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19229 (smerge-base-face, smerge-markers-face):
19230 * wid-edit.el (widget-documentation-face, widget-button-face)
19231 (widget-field-face, widget-single-line-field-face)
19232 (widget-inactive-face, widget-button-pressed-face):
19233 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19234 (woman-addition-face):
19235 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19236 (eshell-ls-executable-face, eshell-ls-readonly-face)
19237 (eshell-ls-unreadable-face, eshell-ls-special-face)
19238 (eshell-ls-missing-face, eshell-ls-archive-face)
19239 (eshell-ls-backup-face, eshell-ls-product-face)
19240 (eshell-ls-clutter-face):
19241 * eshell/em-prompt.el (eshell-prompt-face):
19242 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19243 * obsolete/old-whitespace.el (whitespace-highlight-face):
19244 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19245 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19246 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19247 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19248 (antlr-font-lock-literal-face):
19249 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19250 (ebrowse-root-class-face, ebrowse-file-name-face)
19251 (ebrowse-default-face, ebrowse-member-attribute-face)
19252 (ebrowse-member-class-face, ebrowse-progress-face):
19253 * progmodes/make-mode.el (makefile-space-face):
19254 * progmodes/sh-script.el (sh-heredoc-face):
19255 * textmodes/flyspell.el (flyspell-incorrect-face)
19256 (flyspell-duplicate-face):
19257 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19258 * textmodes/texinfo.el (texinfo-heading-face):
19259 Mark face aliases with "-face" suffix as obsolete.
19261 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19264 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19265 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19266 easy-menu-define wants to modify these.
19268 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19270 * net/browse-url.el (browse-url-file-url):
19271 * term/internal.el (dos-codepage-setup):
19272 Use default-value rather than default-enable-multibyte-characters.
19274 * progmodes/etags.el (etags-goto-tag-location):
19275 * progmodes/flymake.el (flymake-highlight-line)
19276 (flymake-goto-file-and-line, flymake-goto-line):
19277 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19278 (gdb-goto-breakpoint):
19279 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19280 * progmodes/python.el (python-find-function)
19281 (python-pdbtrack-track-stack-file):
19282 * progmodes/verilog-mode.el (verilog-surelint-off):
19283 * term/ns-win.el (ns-open-file-select-line):
19284 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19285 Use forward-line rather than goto-line.
19287 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19288 * textmodes/reftex-index.el (reftex-display-index):
19289 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19290 * textmodes/reftex-toc.el (reftex-toc):
19291 Remove unnecessary bindings of default-major-mode (all are followed by
19292 major-mode check and possible mode switch).
19294 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19296 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19297 Handle watchpoints (bug#4282).
19298 (def-gdb-thread-buffer-command): Enable thread to be selected by
19299 clicking without selecting threads buffer first.
19300 (gdb-current-context-command): Use selected frame so that "up",
19301 "down" etc work in the GUD buffer.
19302 (gdb-update): Find selected frame before rendering stack buffer.
19303 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19305 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19307 * progmodes/sym-comp.el (displayed-completions): Remove.
19308 (symbol-complete): Use minibuffer-complete.
19310 2009-08-31 Glenn Morris <rgm@gnu.org>
19312 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19314 * apropos.el (apropos-symbols-internal):
19315 Handle (obsolete) face aliases.
19317 * faces.el (describe-face): Adjust the output format to be more like
19318 describe-variable, and to mention (obsolete) face aliases.
19319 Adjust the whitespace so that help-setup-xref works.
19321 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19322 * calendar/diary-lib.el (diary-button-face):
19323 Mark these face aliases as obsolete.
19325 * calendar/calendar.el (calendar-today): Doc fix.
19327 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19329 * progmodes/gdb-mi.el (gdb-control-all-threads)
19330 (gdb-control-current-thread): Force tool bar update.
19331 (gdb-non-stop-handler): New function.
19332 (gdb-init-1): Use it to test if non-stop mode is supported.
19333 Remove unused gdbmi buffer type.
19335 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19337 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19338 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19340 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19342 * comint.el (comint-exec-1): Check command is non-null first.
19343 Part of gdb-mi.el change (2009-08-28).
19345 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19347 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19349 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19351 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19352 instead of `dolist' to avoid a recursive require when bootstrapping.
19354 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19356 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19358 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19360 * net/imap.el (imap-send-command): Simplify.
19361 (imap-wait-for-tag): point-max -> buffer-size.
19363 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19365 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19366 with constant argument.
19368 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19370 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19372 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19373 Change default, since most of our files don't have a history.
19374 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19377 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19380 * calc/calc.el: Improve commenting convention.
19381 (calc-digit-map, toplevel): Simplify.
19383 * comint.el (comint-insert-input): Be careful to only set point if we
19384 don't delegate to some other command.
19386 * proced.el (proced-signal-list): Make it an alist.
19387 (proced-grammar-alist): Capitalize names.
19388 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19389 Disable undo manually and make it read-only.
19390 Use completion-annotate-function.
19392 * minibuffer.el (minibuffer-message): If the current buffer is not
19393 a minibuffer, insert the message in the echo area rather than at the
19395 (completion-annotate-function): New variable.
19396 (minibuffer-completion-help): Use it.
19397 (completion--embedded-envvar-table): Environment vars are
19398 always case-sensitive.
19400 2009-08-30 Glenn Morris <rgm@gnu.org>
19402 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19403 from fortran-current-defun.
19404 (fortran-beginning-of-subprogram): Be more precise about finding the
19405 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19406 (fortran-end-of-subprogram): Simplify.
19407 (fortran-current-defun): Use fortran-start-prog-re.
19409 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19411 * subr.el (do-after-load-evaluation): Simplify.
19413 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19415 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19417 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19418 (vc-rcs-print-log): Use it.
19420 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19422 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19424 * paths.el (abbrev-file-name): Move to abbrev.el.
19425 * abbrev.el (abbrev-file-name): Move from paths.el.
19426 Obey user-emacs-directory.
19427 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19428 user-emacs-directory.
19429 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19430 abbrev-file-name and calc-settings-file any more.
19431 * startup.el (command-line): Recompute abbrev-file-name and
19432 abbreviated-home-dir.
19433 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19434 of the special code for when C-h bindings haven't been changed.
19435 (display-startup-echo-area-message): Use with-current-buffer.
19436 (command-line-1): Use a list of strings, rather than a list of lists
19437 of strings for longopts.
19439 * files.el (get-free-disk-space): Use / for default-directory.
19441 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19442 Use with-current-buffer.
19444 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19445 Recognize immutable variables like most-positive-fixnum.
19446 (byte-compile-setq-default): Check and warn if trying to assign
19447 to an immutable variable, or a non-variable.
19449 * progmodes/cc-vars.el (c-comment-continuation-stars):
19450 * progmodes/cc-engine.el (c-looking-at-bos):
19451 * progmodes/cc-cmds.el (c-toggle-auto-state)
19452 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19453 (c-comment-line-break-function): Add version of obsolescence.
19455 2009-08-28 Juri Linkov <juri@jurta.org>
19457 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19458 associated with `archive-mode'.
19460 * image.el (image-type-header-regexps): Use only JPEG magic number
19461 to determine JPEG images, and don't use `image-jpeg-p' because
19462 Emacs can display non-JFIF non-Exif JPEG images.
19464 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19466 * arc-mode.el (archive-mode):
19467 * emacs-lisp/re-builder.el (re-builder-unload-function):
19468 Protect against the default value of `major-mode' being nil.
19470 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19472 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19473 Fix typos in docstrings.
19475 * progmodes/js.el (js--macro-decl-re): Doc fix.
19476 (js--plain-method-re, js--split-name): Refloc docstring.
19477 (js--class-styles, js--make-merged-item, js--splice-into-items):
19478 Fix typos in docstrings; reflow docstrings.
19479 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19480 (js--variable-decl-matcher, js--inside-pitem-p)
19481 (js--parse-state-at-point, js--get-all-known-symbols)
19482 (js--symbol-history, js-find-symbol, js--js-references)
19483 (js--moz-interactor, js--js-encode-value, js--read-tab):
19484 Fix typos in docstrings.
19486 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19488 * textmodes/reftex.el (reftex-get-file-buffer-force):
19489 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19490 * emulation/viper.el (viper-go-away, viper-set-hooks):
19491 * emacs-lisp/re-builder.el (re-builder-unload-function):
19492 * emacs-lisp/bytecomp.el (byte-compile-file):
19493 * ses.el (ses-unload-function):
19494 * hexl.el (hexl-find-file):
19495 * files.el (normal-mode):
19496 * ehelp.el (with-electric-help):
19497 * autoinsert.el (auto-insert-alist):
19498 * arc-mode.el (archive-mode):
19499 Use (default-value 'major-mode) instead of default-major-mode.
19501 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19502 * international/mule.el (load-with-code-conversion):
19503 * emacs-lisp/debug.el (debug):
19504 * ediff-vers.el (ediff-rcs-get-output-buffer):
19505 * dired.el (dired-internal-noselect): Don't let-bind
19506 default-major-mode around code that doesn't use it.
19507 E.g. buffer creation via get-buffer-create doesn't use it.
19509 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19511 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19512 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19513 when writing the temp file. Otherwise, epa-file gets confused.
19514 (tramp-register-file-name-handlers): Make it a defun. Move also
19515 `epa-file-handler' to the front of `file-name-handler-alist'.
19517 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19519 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19520 start right after a ^M.
19521 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19522 (tramp-completion-file-name-regexp-separate)
19523 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19524 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19525 Don't modify last-coding-system-used by accident.
19526 (tramp-completion-file-name-handler): Apply the checks here,
19527 instead during registration.
19528 (tramp-register-file-name-handlers): Rename from
19529 `tramp-register-file-name-handler'. Register both
19530 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19531 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19533 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19535 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19536 Remove variable ...
19537 (gdb-init-1, gdb-display-separate-io-buffer)
19538 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19540 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19541 (gdb-inferior-filter): Use comint-output-filter to stop
19542 echoing and remove ^M characters.
19544 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19546 * emulation/viper-init.el (viper-restore-cursor-type):
19547 * emulation/cua-base.el (cua--update-indications):
19548 Replace default-cursor-type with (default-value 'cursor-type).
19550 * mail/sendmail.el (mail-recover-1):
19551 * international/mule-diag.el (describe-current-coding-system-briefly)
19552 (describe-current-coding-system):
19553 * international/mule-cmds.el (select-safe-coding-system)
19554 (select-message-coding-system)
19555 (set-language-environment-coding-systems, set-locale-environment):
19556 * hexl.el (hexl-insert-multibyte-char):
19557 * dos-w32.el (find-buffer-file-type-coding-system):
19558 * simple.el (what-cursor-position):
19559 Replace uses of default-buffer-file-coding-system
19560 with (default-value 'buffer-file-coding-system).
19562 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19563 Replace uses of default-cursor-in-non-selected-windows
19564 with (default-value 'cursor-in-non-selected-windows).
19565 Use with-current-buffer.
19567 * mail/feedmail.el: Use CL macros.
19568 (feedmail-run-the-queue, feedmail-send-it-immediately):
19569 * dos-w32.el (find-buffer-file-type): Replace uses of
19570 default-buffer-file-type with (default-value 'buffer-file-type).
19572 2009-08-28 Glenn Morris <rgm@gnu.org>
19574 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19575 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19576 Use default-value of major-mode rather than default-major-mode.
19578 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19580 * Makefile.in (update-elcfiles): Report left over elc files.
19582 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19583 expand-file-name and with-current-buffer.
19584 (mail-get-names, mail-directory): Use with-current-buffer.
19586 * vc.el (vc-read-revision): New function.
19587 (vc-version-diff, vc-merge): Use it.
19589 2009-08-27 Sam Steingold <sds@gnu.org>
19591 * simple.el (kill-do-not-save-duplicates): New user option.
19592 (kill-new): When it is non-nil, and the new string is the same as
19593 the latest kill, set replace to t to avoid duplicates in kill-ring.
19595 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19597 * net/tramp.el (tramp-handle-process-file): Do not flush all
19598 caches when `process-file-side-effects' is set.
19599 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19600 instead of `tramp-find-file-exists-command'.
19601 Unset `process-file-side-effects'.
19603 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19605 * net/tramp.el (tramp-methods): New method "rsyncc".
19606 (top): Add completion function for "rsyncc".
19607 (tramp-message-show-message): New defvar.
19608 (tramp-message, tramp-error): Use it.
19609 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19611 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19612 `tramp-methods' entry `copy-env' of "rsyncc".
19613 (tramp-vc-registered-read-file-names): New defconst.
19614 (tramp-vc-registered-file-names): New defvar.
19615 (tramp-handle-vc-registered): Implement optimization strategy.
19616 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19617 (tramp-vc-file-name-handler): New defun.
19618 (tramp-get-ls-command, tramp-get-test-command)
19619 (tramp-get-file-exists-command, tramp-get-remote-ln)
19620 (tramp-get-remote-perl, tramp-get-remote-stat)
19621 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19623 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19624 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19626 (tramp-get-file-property): Check for timestamps in
19627 `tramp-cache-inhibit-cache'.
19628 (tramp-set-file-property): Write timestamp.
19630 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19632 * language/japan-util.el (japanese-symbol-table): Add entries for
19635 * international/characters.el: Add category `j' to cp932-2-byte.
19637 2009-08-27 Kenichi Handa <handa@m17n.org>
19639 * international/fontset.el (build-default-fontset-data): New macro.
19640 (setup-default-fontset): Use build-default-fontset-data for CJK,
19641 tibetan, ethiopic, and ipa.
19643 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19645 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19646 (enable-multibyte-characters): Not customizable any more.
19648 * subr.el (default-mode-line-format, default-header-line-format)
19649 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19650 (default-direction-reversed, default-truncate-lines)
19651 (default-left-margin, default-tab-width, default-case-fold-search)
19652 (default-left-margin-width, default-right-margin-width)
19653 (default-left-fringe-width, default-right-fringe-width)
19654 (default-fringes-outside-margins, default-scroll-bar-width)
19655 (default-vertical-scroll-bar, default-indicate-empty-lines)
19656 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19657 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19658 (default-scroll-down-aggressively, default-fill-column)
19659 (default-cursor-type, default-buffer-file-type)
19660 (default-cursor-in-non-selected-windows)
19661 (default-buffer-file-coding-system, default-major-mode)
19662 (default-enable-multibyte-characters): Mark as obsolete.
19664 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19666 * vc-dir.el (vc-dir-update): Remove debug helper.
19668 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19670 2009-08-26 Sam Steingold <sds@gnu.org>
19672 * simple.el (save-interprogram-paste-before-kill): New user option.
19673 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19674 save the interprogram-paste into kill-ring before overriding it
19675 with the Emacs kill.
19677 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19679 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19680 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19681 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19682 and move to vc-rcs.el.
19683 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19685 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19686 (vc-rcs-update-changelog): Remove.
19687 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19688 and move to vc-rcs.el.
19690 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19691 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19693 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19694 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19695 vc.el, renamed to be RCS specific.
19697 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19699 (vc-cvs-update-changelog): Move here from vc.el.
19701 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19704 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19706 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19708 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19710 * vc-git.el (vc-git-register): Use "git add" for directories.
19711 (vc-git-stash, vc-git-stash-show): New functions.
19712 (vc-git-extra-menu-map): Bind them.
19714 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19715 directory correctly in case the item is a directory itself.
19717 * vc.el: Document the desired behavior for reverted files in the
19719 (vc-default-prettify-state-info): Remove function, unused.
19721 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19723 2009-08-26 Glenn Morris <rgm@gnu.org>
19725 * bindings.el (standard-mode-line-format): Reposition dashes in
19726 which-func entry. (Bug#4217)
19728 * files.el (enable-local-variables, enable-local-eval)
19729 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19731 (auto-mode-alist, ignored-local-variables)
19732 (save-some-buffers-action-alist): Move risky declarations to the
19734 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19735 (font-lock-defaults, format-alist, imenu--index-alist)
19736 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19737 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19738 (mode-line-modified, mode-line-mule-info, mode-line-position)
19739 (mode-line-process, mode-line-remote, outline-level)
19740 (parse-time-rules, rmail-output-file-alist)
19741 (special-display-buffer-names, vc-mode):
19742 Move risky declarations to the relevant files.
19743 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19744 (mode-line-modified, mode-line-process, mode-line-position)
19745 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19746 * font-core.el (font-lock-defaults):
19747 * format.el (format-alist):
19748 * vc-hooks.el (vc-mode):
19749 * window.el (special-display-buffer-names):
19750 * international/mule-cmds.el (input-method-alist):
19751 Define riskiness here (dumped file) rather than in files.el.
19752 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19753 * imenu.el (imenu-generic-expression, imenu--index-alist):
19754 * outline.el (outline-level):
19755 * time.el (display-time-string):
19756 * calendar/parse-time.el (parse-time-rules):
19757 * mail/rmailout.el (rmail-output-file-alist):
19758 Autoload riskiness here, rather than placing in files.el.
19760 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19762 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19764 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19766 * simple.el (process-file-side-effects): New defvar.
19768 * dired-aux.el (dired-show-file-type):
19769 * vc.el (vc-diff-internal):
19770 * vc-arch.el (vc-arch-diff):
19771 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19772 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19773 * vc-git.el (vc-git-registered, vc-git-working-revision)
19774 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19775 (vc-git--empty-db-p):
19776 * vc-hooks.el (vc-user-login-name):
19777 * vc-svn.el (vc-svn-registered, vc-svn-state)
19778 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19779 * progmodes/grep.el (grep-probe): Let-bind
19780 `process-file-side-effects' with nil.
19782 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19784 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19785 daemon. Replace ping by checking for running service for bluez
19786 and zeroconf. (Bug#4239)
19788 2009-08-25 Kevin Ryde <user42@zip.com.au>
19790 * net/dig.el (dig): Add autoload cookie.
19792 2009-08-25 Glenn Morris <rgm@gnu.org>
19794 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19795 load-history for absolute file-names.
19796 (byte-compile-file-form-require): Warn about use of the cl package.
19798 * format.el (format-alist): Doc fix.
19800 * play/bubbles.el (top-level): Don't require cl at run-time.
19802 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19805 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19807 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19809 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19811 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19813 * calc/calc-alg.el (math-trig-rewrite)
19814 (math-hyperbolic-trig-rewrite): New functions.
19815 (calc-simplify): Simplify trig functions when asked.
19817 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19819 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19821 2009-08-24 Kenichi Handa <handa@m17n.org>
19823 * language/ind-util.el (mapthread): Delete it.
19824 (combinatorial): New function.
19825 (indian--puthash-cv): Use combinatorial instead of mapthread.
19827 2009-08-22 Kevin Ryde <user42@zip.com.au>
19829 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19830 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19831 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19832 Clarify docstring that the value is strings not symbols.
19833 (checkdoc-list-of-strings-p): New function.
19835 2009-08-22 Glenn Morris <rgm@gnu.org>
19837 * files.el (auto-mode-alist):
19838 * hippie-exp.el (he-concat-directory-file-name):
19839 * lpr.el (lpr-windows-system, printer-name):
19840 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19841 * ps-print.el (ps-windows-system):
19842 * startup.el (command-line):
19843 * emulation/viper-ex.el (viper-glob-function):
19844 * international/mule-cmds.el (set-language-environment-coding-systems):
19845 * net/ange-ftp.el (ange-ftp-write-region):
19846 * obsolete/fast-lock.el (fast-lock-cache-name):
19847 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19848 unisoft-unix, vax-vms, win32, w32.
19850 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19851 given name if the pattern is not more specific.
19853 * calendar/lunar.el (lunar-phase-names): New option.
19854 (lunar-phase): Doc fix.
19855 (lunar-cycles-per-year): New constant.
19856 (lunar-index): New function.
19857 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19858 (lunar-phase-name): Use lunar-phase-names.
19859 (calendar-lunar-phases): Use format.
19860 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19862 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19863 Copy imenu-example--name-and-position function here for own use.
19864 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19866 * bs.el (bs--redisplay):
19867 * cus-edit.el (custom-redraw):
19868 * ibuffer.el (ibuffer-bury-buffer):
19869 * server.el (server-goto-line-column):
19870 * startup.el (command-line-1):
19871 * strokes.el (strokes-xpm-for-stroke):
19872 * term.el (term-display-buffer-line):
19873 * view.el (View-goto-line):
19874 * calc/calc.el (calc-do, calc-trail-buffer):
19875 * play/gamegrid.el (gamegrid-add-score-insecure):
19876 * progmodes/ada-mode.el (ada-compile-goto-error):
19877 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19878 (ebrowse-select-1st-to-9nth):
19879 * progmodes/cperl-mode.el (cperl-time-fontification):
19880 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19881 * progmodes/gud.el (gud-display-line):
19882 (idlwave-shell-display-line):
19883 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19884 * progmodes/make-mode.el (makefile-browser-toggle):
19885 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19886 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19887 * textmodes/picture.el (picture-draw-rectangle):
19888 * textmodes/reftex-index.el (reftex-index-goto-letter):
19889 (reftex-select-jump-to-previous):
19890 * textmodes/reftex-sel.el (reftex-find-start-point)
19891 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19892 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19893 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19894 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19895 * textmodes/two-column.el (2C-associated-buffer):
19896 Use forward-line rather than goto-line.
19898 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19901 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19902 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19903 (quick-check-list-to-regexp): Declare.
19905 * progmodes/make-mode.el (makefile-browser-insert-selection):
19906 Use goto-char rather than goto-line.
19908 * progmodes/prolog.el (compilation-error-regexp-alist)
19909 (compilation-forget-errors): Declare.
19911 2009-08-22 Juri Linkov <juri@jurta.org>
19913 * progmodes/grep.el (lgrep, rgrep): At the beginning
19914 set `dir' to `default-directory' unless `dir' is a non-nil
19915 readable directory. (Bug#4052)
19916 (lgrep, rgrep): Change a weird way to report an error
19917 from using `read-string' to using `error'.
19918 Instead of using interactive arguments in the function body,
19919 add new argument `confirm'.
19921 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19923 * textmodes/remember.el (remember-buffer):
19924 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19925 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19926 (icalendar-extract-ical-from-buffer):
19927 * net/newst-treeview.el (newsticker-groups-filename):
19928 * net/newst-backend.el (newsticker-cache-filename):
19929 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19930 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19931 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19932 (speedbar-buffers-line-path, speedbar-path-line)
19933 (speedbar-buffers-line-path):
19934 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19936 * epa.el (epa-display-verify-result):
19937 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19939 2009-08-21 Glenn Morris <rgm@gnu.org>
19941 * progmodes/js.el (inferior-moz-process): Fix declaration.
19943 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19945 * obsolete/rnewspost.el (news-mail-reply):
19946 Use goto-char rather than goto-line.
19948 * term/ns-win.el (ns-open-file-select-line):
19949 Use line-beginning-position rather than goto-line.
19951 * apropos.el (apropos-command):
19952 * ehelp.el (electric-helpify):
19953 * printing.el (pr-show-setup):
19954 * strokes.el (strokes-help):
19955 * tutorial.el (tutorial--describe-nonstandard-key)
19956 (tutorial--detailed-help):
19957 * woman.el (woman-mini-help, woman-display-extended-fonts):
19958 * calc/calc-help.el (calc-describe-key):
19959 * emulation/edt.el (edt-electric-helpify):
19960 * international/mule-diag.el (mule-diag):
19961 * play/yow.el (apropos-zippy):
19962 * progmodes/python.el (python-describe-symbol):
19963 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19964 * textmodes/table.el (*table--cell-describe-mode)
19965 (*table--cell-describe-bindings):
19966 Use help-print-return-message rather than the now obsolete alias.
19968 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19969 (calendar-cursor-to-visible-date):
19970 * play/5x5.el (5x5-position-cursor):
19971 * play/decipher.el (decipher):
19972 * play/gomoku.el (gomoku-goto-xy):
19973 * play/landmark.el (lm-goto-xy):
19974 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19975 (mpuz-paint-digit):
19976 Use forward-line, not goto-line.
19978 * mail/rmail.el (rmail-obsolete): Delete custom group.
19979 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19980 (rmail-remote-password, rmail-remote-password-required):
19981 Remove unneeded :set-after and :set properties.
19983 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19985 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19987 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19989 * loadup.el: Remove leftover macos code.
19991 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19992 Explicitly pass the date format to git blame so that user local
19993 so that the output format can be parsed.
19995 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19997 * net/dbus.el (top): Don't check for (getenv
19998 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20000 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20002 * log-edit.el (log-edit-strip-single-file-name): New var.
20003 (log-edit-insert-changelog): Use it. Bug#3571
20005 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20007 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20010 * help.el (help-print-return-message): Rename from
20011 print-help-return-message.
20013 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20014 cvs-mode-map parent hack.
20015 (log-view-mode): Derive from special-mode.
20017 * linum.el (linum-mode): window-size-change-functions is redundant.
20018 Adapt to new window-configuration-change-hook behavior.
20019 (linum-after-size, linum-after-config): Remove.
20021 * imenu.el (imenu-example--name-and-position)
20022 (imenu-example--lisp-extract-index-name)
20023 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20026 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20027 (inferior-prolog-mode): Use it.
20028 (inferior-prolog-load-file): Reset list of errors.
20030 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20032 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20034 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20036 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20038 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20039 is running already.
20041 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20043 * subr.el (listify-key-sequence-1): Use normal syntax since those
20044 integers are nowadays always represented by the same (positive) number
20046 (read-key-empty-map): New const.
20047 (read-key-delay): New var.
20048 (read-key): New function.
20049 (force-mode-line-update): Use with-current-buffer.
20050 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20051 (start-process-shell-command, start-file-process-shell-command):
20052 Discourage the use of command-args.
20054 2009-08-19 Glenn Morris <rgm@gnu.org>
20056 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20058 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20060 * simple.el (choose-completion-string): Don't rely on
20061 minibuffer-completing-file-name and ad-hoc checks to decide whether
20062 to continue completion or not.
20064 * minibuffer.el (minibuffer-hide-completions): New function.
20065 (completion--do-completion): Use it.
20066 (completions-annotations): New face.
20067 (completion--insert-strings): Use it.
20068 (completion-pcm--delim-wild-regex): Add docstring.
20069 (completion-pcm--string->pattern): Add support for 0-width delimiters
20070 in completion-pcm--delim-wild-regex.
20072 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20074 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20075 Remove unused var `buffer-modified-p'.
20077 * minibuffer.el (completion--do-completion): Move point for the #b001
20078 case as well (bug#4176).
20079 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20081 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20083 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20084 and :session buses.
20086 2009-08-18 Kenichi Handa <handa@m17n.org>
20088 * international/ucs-normalize.el (ucs-normalize-version):
20090 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20091 (utf-8-hfs): Make it perform normalization on encoding too.
20093 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20094 (sentence-end-without-space): Delete duplicated chars.
20095 (sentence-end-base): Likewise.
20097 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20098 (html-mode): Delete duplicated chars from sentence-end-base.
20100 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20101 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20103 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20105 * files.el (hack-one-local-variable): If the mode function is for
20106 a minor mode, pass it an argument (Bug#4148).
20108 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20110 * net/tramp.el (tramp-register-completion-file-name-handler):
20111 Check also for (member 'partial-completion completion-styles).
20113 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20115 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20118 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20120 * progmodes/cperl-mode.el: Merge upstream 6.2.
20121 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20122 (cperl-forward-re): Check cperl-brace-recursing.
20123 (cperl-highlight-charclass): New function.
20124 (cperl-find-pods-heres): Use it.
20125 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20126 (cperl-beautify-regexp-piece): Fix column calculation.
20127 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20128 (cperl-beautify-level): Don't process entire regexp.
20129 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20131 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20132 (cperl-init-faces): Build a list in the normal way.
20134 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20136 * calendar/parse-time.el (parse-time-string-chars): Save match
20139 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20141 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20142 (sql-product): Use it.
20143 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20144 (sql-set-product): Add completion.
20145 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20146 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20147 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20148 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20149 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20150 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20151 (sql-highlight-db2-keywords): Remove.
20152 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20153 (sql-highlight-product): Use derived-mode-p.
20154 (sql-set-sqli-buffer): Use with-current-buffer.
20155 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20158 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20160 * term.el: Fix commenting convention, turn comments into docstrings.
20162 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20164 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20166 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20168 * calendar/parse-time.el (parse-time-string-chars): Compute using
20169 character classes, to handle non-ascii characters (Bug#3190).
20171 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20173 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20174 another heredoc if the user adds another < (Bug#3226).
20176 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20177 Don't initialize based on window-system (Bug#4124).
20179 * facemenu.el (facemenu-read-color): Use a completion function
20180 that accepts any defined color, such as RGB triplets (Bug#3677).
20182 * files.el (get-free-disk-space): Change fallback default
20183 directory to /. Expand DIR argument before switching to fallback.
20184 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20186 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20188 * files.el (load-library): Doc fix.
20190 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20192 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20193 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20194 incremental search string.
20196 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20199 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20200 (ediff-merge-region-is-non-clash)
20201 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20202 Also check if the job is really a merge job.
20204 * ediff.el (ediff-current-file): New function.
20206 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20208 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20210 (js-insert-and-indent): Delete function.
20211 (js-mode-map): Don't bind keys to js-insert-and-indent.
20212 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20213 (js-end-of-defun): Rename from js--end-of-defun.
20214 (js-auto-indent-flag): Delete variable.
20216 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20218 * progmodes/js.el: Remove proclaim statement.
20219 Defvar which-func-imenu-joiner-function to silence compiler.
20221 * files.el (auto-mode-alist): Use js-mode for .js files.
20223 * progmodes/js2-mode.el: Remove file.
20225 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20227 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20229 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20231 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20232 Karl Landstrom <karl.landstrom@brgeight.se>
20234 * progmodes/js.el: New file.
20236 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20238 * timezone.el (timezone-parse-date): Add ability to understand ISO
20239 basic format (minimal separators) dates in addition to the
20240 already-supported extended format dates.
20242 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20244 * international/ucs-normalize.el: Add a `coding' file variable.
20246 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20248 2009-08-14 Sam Steingold <sds@gnu.org>
20250 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20252 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20254 * faces.el (help-argument-name): Define it here instead of
20255 help-fns.el, because in daemon mode help-fns.el may be loaded when
20256 faces are still uninitialized (Bug#1078).
20258 * help-fns.el (help-argument-name): Move defface to faces.el.
20260 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20262 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20263 create buffer with a pty but no process so that GDB can make the
20264 inferior the controlling process.
20266 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20268 * international/ucs-normalize.el: New file.
20270 2009-08-13 Richard Stallman <rms@gnu.org>
20272 * mail/rmail.el (rmail-get-attr-names):
20273 Accept an attribute header that is too short.
20275 * mail/rmail.el (rmail-forget-messages):
20276 Ignore nil elt in rmail-message-vector. Use dotimes.
20278 * progmodes/compile.el (compilation-goto-locus):
20279 Use next-error-move-function.
20281 * simple.el (next-error-move-function): New variable.
20283 2009-08-12 Juri Linkov <juri@jurta.org>
20285 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20286 always non-nil. (Bug#4052)
20288 * replace.el (read-regexp): Return empty string when
20289 `default-value' is nil.
20290 (keep-lines-read-args): Don't use empty string as the
20291 default value for `read-regexp'. (Bug#2495)
20293 2009-08-12 Juri Linkov <juri@jurta.org>
20295 * international/mule-cmds.el (ucs-insert): Change arguments
20296 from `arg' to `character', `count', `inherit' to be the same
20297 as in `insert-char'. Doc fix. (Bug#4039)
20299 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20301 2009-08-12 Juri Linkov <juri@jurta.org>
20303 * files-x.el: New file.
20305 * files.el: Move code that deals with adding/deleting
20306 file/directory-local variables to files-x.el.
20308 * Makefile.in (ELCFILES): Add files-x.elc.
20310 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20312 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20313 to use `goto-line'.
20314 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20316 (gdb-invalidate-disassembly): Do not refresh upon receiving
20317 'update signal. Instead, update all disassembly buffers only after
20319 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20320 (gdb-starting): Move -data-list-register-names...
20321 (gdb-stopped): ...here so it's sent when first thread stops.
20322 (gdb-registers-handler-custom): Do nothing if register names are
20325 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20326 from `gdb-mi.el' to avoid extra tangling.
20328 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20329 change which breaks `gud-def' definitions used in `gdb'.
20330 (gdb-update-gud-running): No extra fuss for updating frame number.
20332 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20334 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20335 (describe-language-environment-map, setup-language-environment-map)
20336 (set-coding-system-map): Move initialization into declaration.
20337 (set-language-info-alist): Last arg to define-key-after can be skipped.
20339 * international/quail.el (quail-completion-1): Simplify.
20340 (quail-define-rules): Use slightly more compact code.
20341 (quail-insert-decode-map): Propertize keys, compact columns.
20343 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20346 2009-08-10 Miles Bader <miles@gnu.org>
20348 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20349 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20350 (js2-instance-member, js2-private-member, js2-private-function-call)
20351 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20352 (js2-magic-paren, js2-external-variable):
20353 Remove "-face" suffix from face names.
20354 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20355 (js2-highlight-undeclared-vars, js2-peek-token)
20356 (js2-parse-function-params, js2-mode-show-errors)
20357 (js2-mode-show-warnings, js2-make-magic-delimiter)
20358 (js2-mode-highlight-magic-parens): Update to use new face names.
20360 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20362 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20363 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20365 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20367 * subr.el: Provide hashtable-print-readable.
20369 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20370 hs-c-like-adjust-block-beginning.
20371 (hs-hide-block-at-point): Stop hiding at the beginning of
20372 hs-block-end-regexp (Bug#700).
20374 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20376 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20378 (gdb-registers-handler-custom): Do not fail when register names
20381 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20383 * progmodes/gdb-mi.el (gdb-control-all-threads)
20384 (gdb-control-current-thread): Interactive setters for
20385 `gdb-gud-control-all-threads' to use in menu.
20386 (gdb-show-run-p): Show «Go» when process is not active.
20387 (gud-tool-bar-map): Add non-stop/A,T indicator.
20388 Uses gud/thread.xpm and gud/all.xpm.
20390 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20392 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20393 (nslookup-font-lock-keywords): Make it a variable.
20394 (net-utils-mode): New mode for viewing diagnostic network output.
20395 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20396 (net-utils-run-simple): New function.
20397 (ifconfig, iwconfig, netstat, arp, route): Use it.
20399 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20401 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20402 (gdb-memory-set-address, def-gdb-set-positive-number)
20403 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20404 after changing settings.
20405 (gdb-invalidate-disassembly): Update when first shown.
20406 (gdb-edit-locals-value): Fixed.
20407 (gdb-registers-handler-custom): Print registers in right order and
20408 allow changing register values (only for current thread yet).
20409 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20410 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20411 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20412 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20413 Thread info in mode name.
20414 (gdb-registers-mode-map): TAB to switch to locals.
20416 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20418 * mail/rmail.el (rmail-add-mbox-headers)
20419 (rmail-set-message-counters-counter): Search for
20420 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20422 2009-08-08 Glenn Morris <rgm@gnu.org>
20424 * Makefile.in (ELCFILES): Update.
20426 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20428 * mail/sendmail.el (mail-yank-original):
20429 Set buffer-file-coding-system from the one used by the message whose
20432 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20433 to "windows" when "pgnuplot" is used.
20434 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20435 Don't call accept-process-output if "pgnuplot" is used.
20436 (calc-graph-init): Don't send -display and -geometry to
20437 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20438 running "pgnuplot -V" with shell-command-to-string.
20440 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20443 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20445 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20448 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20450 * vc-dispatcher.el (vc-resynch-window): Update comment.
20452 * term.el (term-handle-ansi-escape): Add comments with the
20453 terminfo capabilities implemented.
20455 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20457 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20458 (gdb-var-create-handler): Rewritten using JSON parser.
20459 (gdb-propertize-header): Move earlier.
20460 (gdb-set-header): Remove to avoid duplication.
20461 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20462 Refresh disassembly buffers only after threads list have been
20464 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20467 2009-08-04 Juri Linkov <juri@jurta.org>
20469 * files.el: Commands to add/delete file/directory-local variables.
20470 (read-file-local-variable, read-file-local-variable-value)
20471 (read-file-local-variable-mode, modify-file-local-variable)
20472 (modify-file-local-variable-prop-line)
20473 (modify-dir-local-variable): New functions.
20474 (add-file-local-variable, delete-file-local-variable)
20475 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20476 (add-dir-local-variable, delete-dir-local-variable)
20477 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20478 (copy-dir-locals-to-file-locals-prop-line): New commands.
20480 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20482 * abbrev.el (insert-abbrev-table-description): Prettify output.
20483 Suggested by Karl Chen.
20485 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20487 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20488 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20489 (gdb-overlay-arrow-position, gdb-thread-position)
20490 (gdb-disassembly-position): Declare variables.
20491 (gdb-wait-for-pending): Function now.
20492 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20493 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20494 compilation goes smoothly.
20495 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20496 (gdb-non-stop-setting): New customization setting which replaces
20497 `gdb-non-stop' so changing it doesn't break active GDB session.
20498 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20499 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20500 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20501 (gdb-show-threads-by-default): New customization options.
20502 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20504 (gdb-get-buffer-create): Send buffers update signal when they are
20506 (gdb-invalidate-locals, gdb-invalidate-registers)
20507 (gdb-invalidate-breakpoints)
20508 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20509 (gdb-invalidate-memory): Accept update signal.
20510 (gdb-current-context-command): Use --frame option.
20511 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20512 Implement `gdb-frame-number' selection logic.
20513 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20514 whether to show GUD toolbar buttons.
20515 (gdb-thread-exited): Unselect current thread when it exits.
20516 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20517 (gdb-mark-line): Routine which sets overlay arrow or inverses
20518 video on fringeless displays.
20519 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20520 to build aligned columns of data in GDB buffers and set text
20521 properties line-by-line.
20522 (gdb-invalidate-breakpoints)
20523 (gdb-breakpoints-list-handler-custom)
20524 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20525 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20526 (gdb-registers-handler-custom): Align data columns.
20527 (gdb-locals-handler-custom): Now prints data like in variable
20529 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20530 Remove confusing buttons.
20531 (gdb-invalidate-threads): Append --frame.
20532 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20533 between breakpoints/threads buffers.
20534 (gdb-set-window-buffer): Now can ignore dedicated windows.
20535 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20536 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20537 (def-gdb-thread-buffer-gud-command): Replaces
20538 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20539 for fine thread control.
20540 (gdb-preempt-existing-or-display-buffer): New function used to
20541 display bound buffers without breaking window layout.
20542 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20543 (gdb-select-frame): New version of `gdb-frames-select' which now
20544 sets `gdb-frame-number' so commands may use --frame option instead
20545 of inner debugger state.
20546 (gdb-frame-handler): Do not set `gdb-frame-number'.
20547 (gdb-threads-mode-map): Select threads with mouse.
20549 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20550 avoid compilation warning.
20551 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20554 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20555 Argument `key' renamed to `buffer-type'.
20556 (gdb-current-context-buffer-name): Do not add thread info to
20557 buffer name when no thread is selected.
20558 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20559 command (bug 3794).
20560 (gdb-thread-selected): Handle `=thread-selected' notification.
20561 (gdb-wait-for-pending): New macro to deal with congestion problems.
20562 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20564 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20565 This fixes problem similar to one described in bug 3947.
20566 (gud-menu-map): More menu items.
20567 (gdb-init-1): Reset `gdb-thread-number' to nil.
20569 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20572 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20573 (gdb-current-context-command): Do not append --thread if
20574 `gdb-thread-number' is nil.
20575 (gdb-running-threads-count, gdb-stopped-threads-count):
20577 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20578 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20579 New customization options.
20580 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20582 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20583 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20584 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20585 set `gdb-thread-number' and update `gud-running' properly.
20586 (gdb-running): Update threads list when new threads appear.
20587 (gdb-stopped): Support non-stop operation and new thread switching
20589 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20590 (gdb-json-partial-output): New set of JSON routines.
20591 (def-gdb-auto-update-trigger): New `signal-list' optional
20593 (gdb-thread-list-handler-custom): Update `gud-running',
20594 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20595 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20596 (gdb-continue-thread, gdb-step-thread): New commands for fine
20597 thread execution control.
20598 (gud-menu-map): New menu items to switch non-stop options.
20599 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20600 (gdb-send): Mimic RET properly (bug 3794).
20602 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20603 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20605 (def-gdb-auto-update-handler): New nopreserve optional argument.
20606 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20608 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20609 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20610 (gdb-parent-mode): New mode to derive other GDB modes from.
20611 (gdb-display-disassembly-for-thread)
20612 (gdb-frame-disassembly-for-thread): New commands for threads
20615 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20616 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20617 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20618 (gdb-update): We now store all GDB buffers in a list so that they
20619 can be updated by traversing a list instead of calling invalidate
20620 triggers explicitly.
20621 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20622 pair for GDB buffer.
20623 (gdb-stack-buffer-name): Add thread information.
20624 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20625 handle pending triggers.
20626 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20627 (def-gdb-thread-buffer-simple-command)
20628 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20629 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20630 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20631 New commands which show buffers bound to thread.
20632 (gdb-stack-list-locals-regexp): Remove unused regexp.
20634 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20635 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20636 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20637 to (gud-comint-buffer) in *-buffer-name functions
20638 because (gdb-get-target-string) already does that.
20639 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20640 (gdb-changed-registers-handler): Rewritten without regexps.
20642 * progmodes/gdb-mi.el: Basic thread selection support.
20643 (gdb-thread-number): New variable.
20644 (gdb-current-context-command): New macro which adds --thread
20646 (gdb-threads-mode-map): Select thread with SPC.
20647 (gdb-thread-list-handler-custom): Mark current thread with overlay
20648 arrow. Synchronize GDB thread and Emacs thread.
20649 (gdb-select-thread): New command which selects current thread.
20650 (gdb-invalidate-frames, gdb-invalidate-locals)
20651 (gdb-invalidate-registers): Use --thread option.
20653 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20655 * net/tramp.el (top): Make check for tramp-gvfs loading more
20657 (tramp-handle-insert-file-contents): `unwind-protect' must be
20658 inside `with-parsed-tramp-file-name'.
20660 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20663 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20665 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20666 directory if CLASSPATH is not set.
20668 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20670 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20672 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20674 2009-08-02 Kevin Ryde <user42@zip.com.au>
20676 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20677 Update freshmeat link. Delete newsforge.com as it seems gone.
20679 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20681 * select.el (x-set-selection): Doc fix (Bug#4021).
20683 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20685 * help-fns.el (describe-variable): Treat list return values from
20686 dir-locals-find-file properly (Bug#4005).
20688 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20690 * net/tramp.el (tramp-debug-message): Print also microseconds.
20692 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20694 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20696 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20697 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20700 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20701 (tramp-get-file-property): Use it.
20703 * autorevert.el (auto-revert-handler):
20704 Allow `auto-revert-tail-mode' for remote files.
20706 2009-08-02 Jason Rumney <jasonr@gnu.org>
20708 * minibuffer.el (read-file-name): Treat confirm options to
20709 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20711 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20713 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20714 (font-lock-variable-name-face, font-lock-constant-face):
20715 Darken the colors for light backgrounds.
20717 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20719 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20720 month names. (Bug#3987)
20722 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20724 * simple.el (line-move-finish): Pass whole number to
20725 line-move-to-column.
20726 (line-move-visual): Perform hscroll to the recorded position.
20728 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20730 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20732 2009-07-29 Alan Mackenzie <acm@muc.de>
20734 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20736 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20738 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20739 (gdb-place-breakpoints): Use full path when setting breakpoints.
20741 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20743 * calc/calc.el (calc-mode-map): Add keybinding for
20744 `calc-transpose-lines'.
20746 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20748 * calc/calc-misc.el (calc-transpose-lines): New function.
20750 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20752 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20753 Simplify check for out-of-band methods.
20754 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20755 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20757 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20759 * vc-git.el (vc-git-checkin): Fix typo.
20761 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20763 * progmodes/js2-mode.el: New file.
20765 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20767 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20768 (gud-menu-map): Adjust tooltip accordingly.
20770 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20772 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20773 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20775 * add-log.el (change-log-mode-map): Add a menu.
20777 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20779 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20780 function returns nil.
20781 (dbus-handle-event): Handle special return value :ignore.
20782 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20784 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20786 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20789 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20793 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20795 * term/pc-win.el (x-display-name, x-colors)
20796 (x-select-enable-clipboard, x-select-text): Doc fix.
20798 * term/common-win.el (x-display-name, x-colors): Doc fix.
20800 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20801 (xw-defined-colors): Doc fix.
20803 * w32-fns.el (x-select-text, x-setup-function-keys)
20804 (x-get-selection, x-set-selection): Doc fix.
20806 * term/x-win.el (x-select-text, x-setup-function-keys)
20807 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20809 * select.el (x-set-selection): Doc fix.
20811 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20813 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20814 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20815 "IsNSSSupportAvailable" method is not available.
20816 Reported by Steve Youngs <steve@sxemacs.org>.
20818 2009-07-24 Kenichi Handa <handa@m17n.org>
20820 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20821 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20822 (build-unicode-category-table): Fix range checks.
20824 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20826 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20827 the buffer we try to sync is current when calling
20830 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20831 not show up to date files.
20833 2009-07-24 Glenn Morris <rgm@gnu.org>
20835 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20836 Add autoload cookies. If necessary, initialize.
20837 (elint-log): Handle non-file buffers.
20838 (elint-initialize): Add optional argument to reinitialize.
20839 (elint-find-builtin-variables): Save excursion.
20841 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20843 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20846 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20848 * vc.el (vc-print-log-internal): New function, split out from ...
20849 (vc-print-log): ... here.
20850 (vc-dir-move-to-goal-column): Declare.
20852 * vc-git.el (vc-git-add-signoff): New variable.
20853 (vc-git-checkin): Use it.
20854 (vc-git-toggle-signoff): New function.
20855 (vc-git-extra-menu-map): Bind it to menu.
20856 (vc-git--run-command-string): Accept a nil FILE argument.
20857 (vc-git-stash-list): New function.
20858 (vc-git-dir-extra-headers): Use it.
20860 2009-07-23 Glenn Morris <rgm@gnu.org>
20862 * help-fns.el (describe-variable): Describe ignored and risky local
20863 variables in a similar way to that in which we describe safe ones.
20865 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20866 (byte-compile-output-file-form, byte-compile-output-docform)
20867 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20868 Give some more local variables with common names a "bytecomp-" prefix,
20869 so as not to shadow things during compilation.
20870 * emacs-lisp/cl-macs.el (load-time-value)
20871 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20872 `outbuffer' to `bytecomp-outbuffer'.
20874 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20875 since the next two variables cover them automatically now.
20876 (elint-builtin-variables, elint-autoloaded-variables): New.
20877 (elint-unknown-builtin-args): Remove all members, since they can be
20878 parsed automatically now.
20879 (elint-extra-errors): New.
20880 (elint-env-add-env, elint-env-add-macro): Use cadr.
20881 (elint-current-buffer): Use or. Change final message.
20882 (elint-get-top-forms): Use line-end-position.
20883 (elint-init-env): Use cadr. Handle autoload, declare-function,
20885 (elint-add-required-env): Doc fix. Use or. Standardize error.
20886 (regexp-assoc): Remove unused function.
20887 (elint-top-form): Set elint-current-pos, to record the start of the
20888 top-level form, for compilation-mode.
20889 (elint-form): Trap errors in macro expansion. Use dolist.
20890 (elint-unbound-variable): Use elint-builtin-variables and
20891 elint-autoloaded-variables.
20892 (elint-get-args): Use cadr, or.
20893 (elint-check-cond-form): Use dolist, cadr.
20894 (elint-check-condition-case-form): Doc fix. Use cadr.
20895 Use elint-extra-errors.
20896 (elint-log): New function.
20897 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20898 Distinguish errors and warnings.
20899 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20900 Use a bytecomp-style format.
20901 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20902 (elint-get-log-buffer): Use compilation mode. Disable undo.
20903 Don't truncate lines.
20904 (elint-initialize): Set builtin and autoloaded variable lists.
20905 Only process elint-unknown-builtin-args if non-nil.
20906 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20908 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20910 2009-07-22 Kevin Ryde <user42@zip.com.au>
20912 * net/newst-backend.el (newsticker--parse-atom-1.0)
20913 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20914 (newsticker--parse-rss-1.0):
20915 * progmodes/idlwave.el (idlwave-mode):
20916 * progmodes/idlw-shell.el (idlwave-shell-mode):
20917 * progmodes/vera-mode.el (vera-mode):
20918 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20919 * progmodes/vhdl-mode.el (vhdl-mode):
20920 * textmodes/table.el (table-generate-source)
20921 (table--warn-incompatibility):
20922 Hyperlink urls in docstrings with URL `...'.
20924 2009-07-22 Glenn Morris <rgm@gnu.org>
20926 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20927 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20928 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20929 Remove leading * from defcustom docs.
20931 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20933 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20935 (list-load-path-shadows): Optionally, just return shadows as a string.
20937 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20939 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20941 * mail/rmailedit.el (rmail-edit-mode):
20942 Use auto-save-include-big-deletions.
20944 * mail/rmail.el (rmail-variables):
20945 Use auto-save-include-big-deletions.
20947 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20950 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20952 * calc/calc.el (calc-undo-length): New variable.
20953 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20955 2009-07-21 Richard Stallman <rms@gnu.org>
20957 * files.el (auto-save-mode): Handle buffer-save-size = -2
20960 2009-07-21 Glenn Morris <rgm@gnu.org>
20962 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20964 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20966 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20967 silence compiler. Instead...
20968 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20969 (ps-print-ensure-fontified): Update for above function name changes.
20971 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20972 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20973 silence compiler. Instead...
20974 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20975 (mh-show-buffer): Only define for compiler.
20976 (pr-mh-current-message): Update for above function name changes.
20978 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20980 (find-file-noselect, insert-file-1): Update for above change.
20982 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20984 * mail/mailclient.el (mailclient-send-it): Fix message.
20986 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20987 (edebug-eval): Check cl-debug-env is bound.
20988 (print-level, print-circle): Don't redefine built-in variables.
20990 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20991 (custom-print-vectors): Remove old comments from doc.
20993 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20994 (emerge-version): Make the variable an obsolete alias for the
20995 emacs-version variable. Make the function obsolete.
20996 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20997 Emerge options, rather than merging in into the main Options menu.
20998 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20999 and auto advance modes. Disable edit/fast items when not relevant.
21001 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21003 * term/vt420.el (terminal-init-vt420): Fix typo.
21005 2009-07-20 Sam Steingold <sds@gnu.org>
21007 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21008 variable (removed from compile.el on 2004-03-11).
21010 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21012 * files.el (hack-local-variables-filter): Fix last change.
21014 2009-07-19 Juri Linkov <juri@jurta.org>
21016 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21017 (dir-local-variables-alist): New buffer-local variable.
21018 (hack-local-variables-filter): If variable is not dir-local,
21019 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21020 because file-local overrides dir-local.
21021 (c-postprocess-file-styles) <declare-function>:
21022 Remove obsolete declaration.
21023 (hack-dir-local-variables): Add dir-local variable/value pair to
21024 `dir-local-variables-alist' and remove duplicates. Doc fix.
21026 * help-fns.el (describe-variable): Add information about
21027 file-local and dir-local variables.
21029 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21031 * files.el (hack-local-variables-filter): Rewrite.
21033 2009-07-19 Glenn Morris <rgm@gnu.org>
21035 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21036 Silence compiler by only defining on XEmacs.
21038 * international/mule.el (auto-coding-regexp-alist): Only match
21039 BABYL... at the start of buffer, not of lines. (Bug#3790)
21041 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21042 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21043 (cal-menu-context-mouse-menu): Doc fix.
21045 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21047 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21049 2009-07-18 Juri Linkov <juri@jurta.org>
21051 * info.el: Virtual Info keyword finder.
21052 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21053 (Info-finder-file): New variable.
21054 (Info-finder-find-file): New function.
21055 (finder-known-keywords, finder-package-info)
21056 (find-library-name, lm-commentary): Use defvar and
21057 declare-function to silence compiler warnings.
21058 (Info-finder-find-node): New function.
21059 (info-finder): New command.
21061 * subr.el (process-kill-buffer-query-function): New function.
21062 (add-hook)<kill-buffer-query-functions>: Add hook
21063 `process-kill-buffer-query-function'.
21065 2009-07-18 Alan Mackenzie <acm@muc.de>
21067 * progmodes/cc-mode.el (c-before-hack-hook)
21068 (c-postprocess-file-styles): Give invocation of `c-set-style'
21069 DONT-OVERRIDE parameter of t. Already set style variables will
21070 thus not be overridden by style settings given by `c-file-syle'.
21072 * files.el (hack-local-variables-filter): Remove entries with
21073 duplicate keys from `file-local-variables-alist'.
21075 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21077 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21078 x-set-selection if display-selections-p returns nil for the
21081 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21083 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21085 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21087 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21088 Accept nil in addition to a regexp.
21089 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21090 Accept nil in addition to a regexp.
21091 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21092 buffers that have an associated file. Handle nil values of
21093 desktop-buffers-not-to-save and desktop-files-not-to-save.
21096 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21097 (x-disown-selection-internal): New functions.
21099 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21101 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21103 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21104 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21106 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21108 * simple.el (set-mark): Revert last change.
21110 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21112 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21113 rendering of pngs is not possible instead of messaging a long
21116 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21118 * w32-fns.el (x-selection-owner-p): New function.
21120 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21121 (mouse-yank-at-click, mouse-yank-primary):
21122 If select-active-regions is non-nil, deactivate the mark before
21125 * simple.el (deactivate-mark, set-mark): Only save selection if we
21128 2009-07-17 Kenichi Handa <handa@m17n.org>
21130 * case-table.el (describe-buffer-case-table): Fix for the case
21131 that KEY is a cons.
21133 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21135 * vc-rcs.el (vc-rcs-find-file-hook):
21136 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21138 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21140 * net/tramp.el (tramp-wait-for-output): Handle the case when
21141 commands do not return a newline but a null byte before the shell
21144 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21146 * term/ns-win.el (ns-set-alpha): Don't declare.
21147 (ns-set-background-alpha): Remove function.
21149 2009-07-16 Kevin Ryde <user42@zip.com.au>
21151 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21152 y-or-n-p, for safety.
21154 2009-07-16 Richard Stallman <rms@gnu.org>
21156 * files.el (auto-save-mode): If buffer-saved-size is -2,
21159 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21160 (rmail-retry-ignored-headers): Add more uninteresting fields.
21162 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21164 * net/rcirc.el (rcirc): Use history variables.
21165 (rcirc-server-name-history, rcirc-nick-name-history)
21166 (rcirc-server-port-history): New variables.
21168 2009-07-15 Kenichi Handa <handa@m17n.org>
21170 * international/mule-cmds.el (set-language-environment-charset):
21171 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21174 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21175 Delete unibyte-display.
21177 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21179 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21181 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21183 * simple.el (deactivate-mark): Optional argument FORCE.
21184 (set-mark): Use deactivate-mark.
21186 * info.el (Info-search): No need to check transient-mark-mode
21187 before calling deactivate-mark.
21189 * select.el (x-set-selection): Doc fix.
21190 (x-valid-simple-selection-p): Allow buffer values.
21191 (xselect--selection-bounds): Handle buffer values.
21192 Suggested by David De La Harpe Golden.
21194 * mouse.el (mouse-set-region, mouse-drag-track):
21195 Call copy-region-as-kill before setting the mark, to let
21196 select-active-regions work.
21198 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21200 * simple.el (deactivate-mark): If select-active-regions is
21201 non-nil, copy the selection data into a string.
21202 (activate-mark): If select-active-regions is non-nil, set the
21203 selection to the current buffer.
21204 (set-mark): Update selection if select-active-regions is non-nil.
21206 * select.el (x-valid-simple-selection-p): Allow buffer values.
21208 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21210 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21211 and more featureful message-mode.
21213 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21215 * select.el (x-set-selection): Doc fix.
21216 (x-valid-simple-selection-p): Disallow selection data consisting
21217 of a list or cons of integers, since that is not used.
21218 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21219 (xselect-convert-to-string, xselect-convert-to-length)
21220 (xselect-convert-to-filename, xselect-convert-to-charpos)
21221 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21223 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21225 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21226 output in -break-info command (Emacs bug #3794).
21228 2009-07-14 Glenn Morris <rgm@gnu.org>
21230 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21231 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21232 (edebug-print-length, edebug-print-level, edebug-print-circle)
21233 (edebug-sit-for-seconds, edebug-view-outside)
21234 (edebug-bounce-point, edebug-set-global-break-condition)
21235 (edebug-Go-nonstop-mode, edebug-trace-mode)
21236 (edebug-Trace-fast-mode, edebug-continue-mode)
21237 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21238 (edebug-visit-eval-list): Doc fixes.
21240 * subr.el (def-edebug-spec): Doc fix.
21242 2009-07-14 Kenichi Handa <handa@m17n.org>
21244 * international/characters.el: Fix setting of category ?C.
21246 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21248 * term/ns-win.el (x-select-font): defalias x-select-font to
21249 ns-popup-font-panel instead of generate-fontset-menu.
21251 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21253 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21255 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21257 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21258 the PK\003\004 header (Bug#3770).
21260 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21262 * pcomplete.el (pcomplete-comint-setup): Check for
21263 shell-dynamic-complete-filename too.
21265 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21267 * simple.el (temporary-goal-column): Change the value for
21268 line-move-visual to a cons cell.
21269 (line-move-visual): Record or set the window hscroll, if
21270 necessary (Bug#3494).
21271 (line-move-1): Handle cons value of temporary-goal-column.
21273 2009-07-11 Kenichi Handa <handa@m17n.org>
21275 * international/mule-diag.el (describe-character-set): Don't show
21278 2009-07-10 Sam Steingold <sds@gnu.org>
21280 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21281 Omake sometimes indents the errors it prints, so allow all
21282 regexps to start with spaces.
21284 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21286 * cus-edit.el (customize-changed-options-previous-release):
21287 Bump value to 22.1. (Bug#3804)
21289 2009-07-08 Sam Steingold <sds@gnu.org>
21291 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21292 to be a cons cell (test . ignored-directory) to selectively ignore
21293 some directories depending on the location of the search.
21295 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21297 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21298 remote user is root, on the local host.
21299 (tramp-local-host-p): Either the local user or the remote user
21300 must be root. (Bug#3771)
21302 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21304 * progmodes/gdb-mi.el (gdb): Remove description of
21305 gdb-use-separate-io-buffer.
21306 (menu): Don't allow toggling of or enable
21307 gdb-use-separate-io-buffer from menubar.
21309 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21311 * mail/unrmail.el (unrmail): Make sure the message ends with two
21312 newlines (Bug#3769).
21314 2009-07-08 Glenn Morris <rgm@gnu.org>
21316 * calendar/calendar.el (calendar-current-date): Rework previous change.
21318 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21320 * calendar/calendar.el (calendar-current-date):
21321 Add an optional argument giving an offset from today.
21323 2009-07-08 Glenn Morris <rgm@gnu.org>
21325 * tutorial.el (tutorial--describe-nonstandard-key):
21326 Adjust the message for when a key has been unbound.
21327 (help-with-tutorial): Hide the arch-tag.
21329 2009-07-08 Kenichi Handa <handa@m17n.org>
21331 * international/fontset.el (setup-default-fontset): For each
21332 script, append (not set) font-specs.
21334 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21337 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21339 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21340 -data-list-register-names to ...
21341 (gdb-starting): ... here because GDB 7.0 requires execution to
21342 have started when using this MI command.
21343 (gdb-set-header): New function to distinguish select and
21344 unselected tabs in gdb buffers.
21345 (gdb-propertize-header): New macro that uses gdb-set-header.
21346 (gdb-breakpoints-header, gdb-locals-header): Use it.
21347 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21349 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21351 * Makefile.in (ELCFILES): Remove fadr.elc.
21353 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21355 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21356 may contain frame information, so `string-match' should be used.
21357 (gdb-update): Disassembly is invalidated through
21358 `gdb-get-selected-frame'.
21359 (gdb-pad-string): New function to pad string with spaces.
21360 (gdb-invalidate-disassembly): Invalidate only if the buffer
21362 (gdb-disassembly-handler-custom): Column alignment.
21363 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21365 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21367 (gdb-frame-handler): Match convention to for disassembly buffer
21369 (gdb-stack-list-frames-handler): Rewritten without regexps.
21370 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21371 not highlight breakpoints without line information.
21372 (gdb-input): Add trailing newline to command.
21374 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21376 (gdb-breakpoints-list-handler-custom): Replacement for
21377 `gdb-break-list-handler'. Using real parser instead of regexps
21379 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21380 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21381 to place breakpoints.
21382 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21384 (gdb-disassembly-handler-custom): Show overlay arrow.
21385 (gdb-disassembly-place-breakpoints): Show breakpoints in
21386 disassembly buffer.
21387 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21388 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21389 instead of parsing breakpoints buffer. Fixed old menu references
21394 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21395 (gdb-memory-address): New variable which holds top address of
21396 memory page shown in memory buffer.
21397 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21398 New customization variables.
21400 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21401 display the memory buffer.
21402 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21403 buffer display parameters.
21404 (def-gdb-memory-format, gdb-memory-format-binary)
21405 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21406 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21407 Functions for setting memory buffer format.
21408 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21409 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21410 unit size used in memory buffer.
21411 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21412 Switch to next/previous page of memory buffer.
21413 Now using (bindat-get-field) instead of fadr functions.
21415 2009-07-07 Sam Steingold <sds@gnu.org>
21417 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21418 non-top-level files.
21420 2009-07-07 Kenichi Handa <handa@m17n.org>
21422 * international/mule-cmds.el (reset-language-environment):
21423 Put the highset priority to the charset iso-8859-1.
21425 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21427 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21428 to the end of the line when locating the block (Bug#700).
21430 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21432 * net/tramp.el (tramp-handle-write-region): Flush file properties
21433 in case of short track.
21435 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21437 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21438 Coded custom representation of verilog error regular expressions
21439 to work with Emacs-22's new format.
21440 (verilog-error-regexp-xemacs-alist): Coded custom representation
21441 of verilog error regular expressions to work with XEmacs format.
21442 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21443 error recognition into XEmacs.
21444 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21445 error recognition into Emacs-22.
21447 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21449 * woman.el: Remove stand-alone closing parentheses.
21450 (woman-file-name, woman2-format-paragraphs)
21451 (woman-leave-blank-lines): Code cleanup.
21452 (woman-use-own-frame): Change default to nil.
21453 (woman-italic, woman-bold, woman-unknown, woman-addition):
21454 Change defaults to inherit from default faces.
21455 (woman2-process-escapes): Consume the newline after a stand-alone
21456 filler character (Bug#3651).
21458 2009-07-06 Glenn Morris <rgm@gnu.org>
21460 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21461 (top-level): Move provide to the end.
21462 (ffap): Remove defunct URL from custom group.
21464 * subr.el (eval-after-load): Doc fix.
21466 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21468 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21469 `calc-embedded-word' is called twice.
21471 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21473 * files.el (find-alternate-file-other-window, find-alternate-file):
21474 Obey confirm-nonexistent-file-or-buffer.
21476 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21478 * dired-aux.el (dired-show-file-type): Handle remote files.
21480 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21482 * desktop.el (desktop-globals-to-save):
21483 Add file-name-history (Bug#2750).
21485 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21487 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21489 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21491 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21492 property on entire argument since this is what eshell-lisp-command
21495 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21497 * net/tramp-gvfs.el (tramp-gvfs-methods)
21498 (tramp-gvfs-zeroconf-domain)
21499 (tramp-bluez-discover-devices-timeout): Add version flag.
21500 (tramp-gvfs-handler-mounted-unmounted)
21501 (tramp-gvfs-connection-mounted-p): Polish handling of
21502 incompatibilities between GVFS 0.2 and 1.0.
21504 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21506 * cus-start.el (all): Add make-pointer-invisible.
21508 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21510 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21511 formatted correctly.
21513 2009-07-02 Juri Linkov <juri@jurta.org>
21515 * info.el: Virtual Info files and nodes.
21516 (Info-virtual-files, Info-virtual-nodes): New variables.
21517 (Info-current-node-virtual): New variable.
21518 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21520 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21521 to check for a virtual file instead of checking a fixed list
21523 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21524 instead of ad-hoc processing of "dir" and (apropos history toc).
21525 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21526 instead of ad-hoc processing of "dir" and (apropos history toc).
21527 Reread a file when moving from a virtual node.
21528 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21529 (Info-directory-toc-nodes, Info-directory-find-file)
21530 (Info-directory-find-node): New functions.
21531 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21532 (Info-history): Move part of code to
21533 `Info-history-find-node'.
21534 (Info-history-toc-nodes, Info-history-find-file)
21535 (Info-history-find-node): New functions.
21536 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21537 (Info-toc): Move part of code to `Info-toc-find-node'.
21538 (Info-toc-find-node): New function.
21539 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21540 the current Info file name to references because now the node
21541 "*TOC*" belongs to the same Info manual.
21542 (Info-toc-build): Rename from `Info-build-toc'.
21543 (Info-toc-nodes): Rename input argument `file' to `filename'.
21544 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21545 instead of ad-hoc processing of ("dir" apropos history toc).
21546 (Info-index-nodes): Use Info-virtual-file-p
21547 to check for a virtual file instead of checking a fixed list
21549 (Info-index-node): Add check for `Info-current-node-virtual'.
21550 Raise `save-match-data' higher up the tree to contain
21551 `search-forward' too (bug fix).
21552 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21553 (Info-virtual-index-nodes): New variable.
21554 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21555 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21556 (Info-apropos-file, Info-apropos-nodes): New variables.
21557 (Info-apropos-toc-nodes, Info-apropos-find-file)
21558 (Info-apropos-find-node, Info-apropos-matches): New functions.
21559 (info-apropos): Move part of code to `Info-apropos-find-node' and
21560 `Info-apropos-matches'.
21561 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21562 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21563 for a virtual file instead of checking a fixed list of node names.
21565 * simple.el (async-shell-command): New command.
21567 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21569 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21570 instead of `mount-info'.
21572 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21574 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21575 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21577 2009-07-02 Kenichi Handa <handa@m17n.org>
21579 * international/mule.el (set-keyboard-coding-system): Force *-unix
21580 coding-system to avoid eol conversion.
21582 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21584 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21585 Add handler for `process-file', `shell-command' and
21586 `start-file-process'.
21587 (tramp-gvfs-handle-shell-command)
21588 (tramp-gvfs-handle-start-file-process)
21589 (tramp-gvfs-handle-process-file): New defuns.
21590 (tramp-synce-list-devices): Simplify check for existence of property.
21592 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21594 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21596 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21598 * language/korean.el (set-language-info-alist): Add korean-cp949,
21601 2009-07-01 Kenichi Handa <handa@m17n.org>
21603 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21605 * international/encoded-kb.el: Deleted.
21607 * international/mule.el (set-keyboard-coding-system): Perform the
21608 necessary setup here instead of calling encoded-kbd-setup-display.
21610 2009-07-01 Glenn Morris <rgm@gnu.org>
21612 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21614 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21616 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21618 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21620 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21621 Handle also the 'rename case, when setting file modes. (Bug#3712)
21622 (tramp-default-file-modes): Remove execute permissions.
21624 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21625 (top): Add a default for "synce" in `tramp-default-user-alist'.
21626 Add completion function for "synce" method.
21627 (tramp-hal-service, tramp-hal-path-manager)
21628 (tramp-hal-interface-manager, tramp-hal-interface-device):
21630 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21631 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21634 * net/trampver.el: Update release number.
21636 2009-06-30 Kenichi Handa <handa@m17n.org>
21638 * international/fontset.el (setup-default-fontset): Add CJK fonts
21639 for symbols and the other miscellaneous characters.
21641 * language/korea-util.el (setup-korean-environment-internal):
21642 Make char-width-table suitable for Korean environments.
21643 (exit-korean-environment): Cancel above.
21645 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21646 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21647 setup-function to make char-width-table suitable for respective
21648 environments, and an exit-function to cancel that.
21650 * language/japan-util.el (setup-japanese-environment-internal):
21651 Call use-cjk-char-width-table with arg `ja_JP'.
21653 * international/characters.el (cjk-char-width-table): Delete it.
21654 (cjk-char-width-table-list): New variable.
21655 (use-cjk-char-width-table): New arg local-name.
21656 (use-default-char-width-table): Fix for the case that Emacs is
21657 already using the default char-width-table.
21659 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21661 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21662 modes mandatory. (Bug#3712)
21664 2009-06-29 Alan Mackenzie <acm@muc.de>
21666 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21667 correction between the visible width of TABs and their number of bytes.
21669 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21671 * server.el (server-buffer-done): Prevent kill-buffer from
21672 prompting by clearing the buffer modification flag (Bug#3696).
21674 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21676 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21677 (verilog-endcomment-reason-re): Support unique case and priority case.
21678 (verilog-basic-complete-re): Support localparam lineup.
21679 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21680 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21682 (verilog-leap-to-case-head): Now support *nested* unique &
21683 priority case statements.
21684 (verilog-auto-lineup): Make just declarations the default (as it
21686 (verilog-leap-to-case-head): Support priority/unique case statements.
21687 (verilog-auto-lineup): Rework to give users radio buttons to
21688 select the various styles of automatic lineup.
21689 (verilog-error-regexp-alist): Rework to support the XEmacs style
21690 of error regular expressions from compilers, lint tools &
21691 simulators. Note that GNU Emacs has made it impossible for a mode
21692 to load such things.
21693 (electric-verilog-terminate-line, verilog-indent-declaration)
21694 (verilog-auto-wiure): Rework for radio button selection of
21695 auto-lineup selection of specification of auto lineup.
21696 (verilog-beg-of-statement-1): Redesign to support proper operation
21697 in additional code, based on testing with auto-lineup.
21698 (verilog-calculate-indent, assignments & declarations)
21699 (verilog-backward-token): Enhance to support auto-lineup of
21700 assignments & declarations.
21701 (verilog-in-directive-p, verilog-at-struct-p): New function for
21702 easy test of whether we are.
21703 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21704 to support safe execution at almost anyline.
21705 (verilog-calc-1): Properly support indenting deep inside generate
21707 (verilog-init-font): Remove definition & use of verilog-init-font,
21708 as it is redundant with font-lock-defaults.
21709 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21710 to avoid circular calls if syntax-ppss is a function (as is the
21711 case now in 22.x GNU Emacs) as that function would sometimes call
21712 itself, leading to (nearly) infinite recursion.
21713 (verilog-ovm-begin-re, verilog-ovm-end-re)
21714 (verilog-ovm-statement-re, verilog-leap-to-head)
21715 (verilog-backward-token): Add support for OVM macros. Some are
21716 complete statements, and others open and close scopes like begin
21718 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21719 (verilog-defun-level-generate-only-re): Really fix the defun-list
21721 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21722 coverpoint, constraint and cross statements.
21723 (verilog-defun-level-list, verilog-generate-defun-level-list)
21724 (verilog-all-defun-level-list): Redo these specifications - it is
21725 too hard to support eval-when compile aggregation of lists also
21726 built at when-compile time.
21727 (verilog-defun-level-list): Place defconsts of variables used in
21728 building regular expressions which are built in eval-when-compile
21729 bodies in the same eval-when-compile body to facilitate compile
21731 (verilog-beg-block-re-ordered): Support indenting
21732 virtual/protected tasks and functions.
21733 (verilog-defun-level-list, verilog-in-generate-region-p)
21734 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21735 indentation of some module items (generate items).
21736 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21737 across virtual/protected tasks and functions.
21739 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21741 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21742 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21743 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21744 in concatenations. Reported by Yishay Belkind.
21745 (verilog-auto-ascii-enum): Support one-hot state machines in
21746 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21747 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21748 modport in AUTOINST and add vl-modport for users.
21749 Reported by David Rogoff.
21750 (verilog-auto-inout-module, verilog-auto-inst)
21751 (verilog-decls-get-interfaces, verilog-insert-definition)
21752 (verilog-insert-one-definition, verilog-read-decls)
21753 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21754 (verilog-sig-modport, verilog-signals-combine-bus)
21755 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21756 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21757 Suggested by David Rogoff.
21758 (verilog-repair-open-comma): Fix non-insertion of comma when
21759 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21760 (verilog-make-width-expression): Simplify [A-1:0] expression
21761 widths to just {A{1'b0}}.
21762 (verilog-mode): Cleanup checkdoc warnings.
21763 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21764 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21765 inputs/outputs or data type. Suggested by Vasu Kandadi.
21766 (next-error-last-buffer): Fix byte-compiler warning.
21767 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21768 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21769 or shell command text during AUTO expansion. Suggested by Tad Truex.
21770 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21771 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21772 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21773 in AUTOINOUT. Reported by Matthew Lovell.
21774 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21775 causing use of <= assignments. Reported by Alex Reed.
21776 (verilog-read-decls): Fix triand, trior, wand, wor to be
21777 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21778 (verilog-extended-complete-re): Support import "DPI-C" functions.
21779 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21780 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21781 (verilog-insert-date, verilog-insert-year)
21782 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21783 Windows systems. Reported by Michael Potts.
21784 (verilog-read-module-name): Fix AUTOINST when the child module
21785 declaration's name is a tick define. Reported by Elliot Mednick.
21786 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21787 passed to next parameter's definition. Reported by Bruce T.
21788 (verilog-read-decls): Fix detecting "parameter int" when using
21789 AUTOINSTPARAM. Reported by Bruce T.
21790 (verilog-goto-defun): Fix goto not finding modules unless first
21791 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21792 (verilog-mode): Expand -f flag arguments on entry to mode so
21793 verilog-goto-defun will work. Reported by Lawrence Butcher.
21794 (verilog-getopt): Expand environment variables in -f file
21795 arguments. Suggested by Lawrence Butcher.
21796 (verilog-set-define): Fix "Symbol's value as variable is void"
21797 when reading enumerations.
21798 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21799 Suggested by Stephen Peltan.
21800 (verilog-read-defines): Fix reading of enumerations in include
21801 files. Reported by Steve Peltan.
21803 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21805 * files.el (trash-directory): Fix defcustom type.
21807 2009-06-28 Juri Linkov <juri@jurta.org>
21809 * help-fns.el (describe-function-1): Correctly locate adviced
21810 functions in hyperlink (Bug#2438).
21812 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21814 * files.el (trash-directory): Change default to nil.
21815 (move-file-to-trash): If trash-directory is nil and
21816 system-move-file-to-trash is unbound, perform freedesktop-style
21819 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21821 * files.el (move-file-to-trash): Add freedesktop trash
21824 2009-06-28 Glenn Morris <rgm@gnu.org>
21826 * autorevert.el (global-auto-revert-non-file-buffers)
21827 (global-auto-revert-mode): Doc fixes.
21829 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21831 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21833 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21835 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21836 opened an X connection before calling x-get-resource (Bug#3194).
21838 * play/doctor.el: Remove reference to obsolete website.
21839 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21841 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21843 Remove find-file-not-found-hook VC method. (Bug#2757)
21844 * vc-hooks.el (vc-file-not-found-hook)
21845 (vc-default-find-file-not-found-hook): Remove functions.
21846 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21847 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21850 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21852 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21854 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21855 compatibility function for `looking-back'.
21857 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21858 Use `ispell-looking-back'.
21860 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21862 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21863 rather than `filename'.
21865 2009-06-23 Miles Bader <miles@gnu.org>
21867 * face-remap.el (text-scale-set): New function.
21869 2009-06-23 Glenn Morris <rgm@gnu.org>
21871 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21873 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21875 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21877 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21879 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21880 Simplify Persian conditionals.
21882 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21883 variable `filename'.
21885 * comint.el (comint-insert-input): Doc fix.
21887 * Makefile.in (ELCFILES): Fix typo in previous change.
21889 2009-06-23 Miles Bader <miles@gnu.org>
21891 * cus-start.el: Add entry for `recenter-redisplay'.
21893 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21895 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21896 Add an optional argument for the backend, use it instead of
21897 calling vc-backend.
21898 (vc-mode-line): Add an optional argument for the backend.
21899 Pass the backend to vc-state and vc-working-revision. Move code for
21900 special handling for vc-state being a buffer to ...
21902 * vc-rcs.el (vc-rcs-find-file-hook):
21903 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21905 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21906 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21907 vc-stay-local-p and vc-mode-line calls.
21909 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21910 (vc-cvs-diff, vc-cvs-annotate-command)
21911 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21912 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21913 vc-mode-line calls.
21915 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21917 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21918 backend when calling vc-mode-line.
21919 (vc-register): Do not create a closure for calling the vc register
21920 function, call it directly.
21922 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21924 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21925 to make it obvious item can be clicked.
21927 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21929 2009-06-23 Kenichi Handa <handa@m17n.org>
21931 * language/korea-util.el (korean-key-bindings): Change the binding
21932 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21935 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21937 Sync with Tramp 2.1.16.
21939 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21941 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21942 when a loading of a package fails. Completion function for rsync
21943 is `tramp-completion-function-alist-ssh'.
21944 (all): Replace all calls of `split-string' and
21945 `tramp-split-string' by `tramp-compat-split-string'.
21946 (tramp-default-method): Use `tramp-compat-process-running-p'.
21947 (tramp-default-proxies-alist): Allow also Lisp forms.
21948 (tramp-remote-path): Add choice "Private Directories".
21949 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21950 (tramp-domain-regexp): Allow also "-", "_" and ".".
21951 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21952 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21953 (tramp-debug-message): Insert header line in debug buffer.
21954 (tramp-handle-directory-files-and-attributes-with-stat):
21955 Care about filenames with spaces, or starting with "-".
21956 (tramp-handle-dired-uncache): New defun.
21957 (tramp-handle-insert-directory): Don't flush the directory from
21958 cache, this is handled by `dired-uncache' now.
21959 (tramp-handle-insert-file-contents): Improve error handling.
21960 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21961 Quote `tramp-end-of-output'.
21962 (tramp-action-password): Improve trace message.
21963 (tramp-check-for-regexp): Both echoes must be present, before removing.
21964 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21965 (tramp-compute-multi-hops): Eval cons cells of
21966 `tramp-default-proxies-alist'.
21967 (tramp-maybe-open-connection): Use the same command pattern for
21968 first hop and further hops.
21969 (tramp-wait-for-output): Remove handling of newlines.
21970 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21971 (tramp-split-string): Remove function. It is handled in
21974 * net/tramp-cmds.el (tramp-bug):
21975 Recommend `tramp-cleanup-all-connections' in the bug mail.
21977 * net/tramp-compat.el (tramp-compat-split-string)
21978 (tramp-compat-process-running-p): New defuns.
21980 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21981 for `dired-uncache'.
21983 * net/tramp-gvfs.el: New package.
21985 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21986 Add handler for `dired-uncache'.
21987 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21989 * net/trampver.el: Update release number. Make version check fit
21992 2009-06-22 Jim Meyering <meyering@redhat.com>
21994 Automatically handle .xz suffix (XZ-compressed files), too.
21995 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21996 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21998 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21999 Nick Roberts <nickrob@snap.net.nz>
22001 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22002 repository (http://sphinx.net.ru/hg/gdb-mi/).
22004 2009-06-22 Glenn Morris <rgm@gnu.org>
22006 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22007 `mode' and `eval' entries. (Bug#3430)
22009 * Makefile.in (ELCFILES): Add fadr.elc.
22011 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22012 differing behavior of \n and ^ in strings. (Bug#3385)
22014 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22016 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22018 (lisp-indent-function): Make it a defcustom.
22020 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22022 * progmodes/gdb-ui.el: Replace with ...
22023 * progmodes/gdb-mi.el: ... this file.
22024 * progmodes/gud.el: Modify for gdb-mi.el.
22026 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22028 * fadr.el: New file.
22030 See ChangeLog.14 for earlier changes.
22032 ;; Local Variables:
22036 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22038 This file is part of GNU Emacs.
22040 GNU Emacs is free software: you can redistribute it and/or modify
22041 it under the terms of the GNU General Public License as published by
22042 the Free Software Foundation, either version 3 of the License, or
22043 (at your option) any later version.
22045 GNU Emacs is distributed in the hope that it will be useful,
22046 but WITHOUT ANY WARRANTY; without even the implied warranty of
22047 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22048 GNU General Public License for more details.
22050 You should have received a copy of the GNU General Public License
22051 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.