1 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
3 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
4 from rmail-dont-reply-to-names. Callers changed.
5 (mail-dont-reply-to): Rename from mail-dont-reply-to.
6 (rmail-dont-reply-to): Make it an obsolete alias.
8 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
9 nil, and make obsolete (Bug#7888).
10 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
12 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
14 * mail/rmailsort.el (rmail-sort-by-correspondent)
15 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
17 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
19 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21 * files.el (copy-directory): New argument COPY-CONTENTS for
22 copying directory contents into another existing directory.
24 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
26 * minibuffer.el (completion-table-case-fold): New function for
27 creating a case-insensitive completion table.
29 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
31 * net/tramp.el (tramp-default-method): Also check if
32 `auth-source-search' is bound.
33 (tramp-read-passwd): Use `auth-source-search' instead of
34 `auto-source-user-or-password'.
36 * net/tramp-imap.el: Autoload `auto-source-search' instead of
37 `auto-source-user-or-password.
38 (tramp-imap-passphrase-callback-function): Use it.
40 * net/imap-hash.el: Autoload `auto-source-search' instead of
41 `auto-source-user-or-password.
42 (imap-hash-open-connection): Use it.
44 * mail/smtpmail.el: Autoload `auto-source-search' instead of
45 `auto-source-user-or-password.
46 (smtpmail-try-auth-methods): Use it.
48 2011-02-12 Phil Hagelberg <phil@hagelb.org>
50 * emacs-lisp/package.el: Allow packages to be reinstalled.
51 (package--write-file-no-coding): Remove EXCL arg.
52 (package-unpack-single): Don't use it.
54 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
56 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
57 in each sub directory.
58 (vc-svn-registered): Use vc-svn-root.
59 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
60 (vc-svn-repository-hostname): Use "svn info".
62 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
64 * simple.el (delete-trailing-whitespace): New optional buffer
67 2011-02-11 Bastien Guerry <bzg@altern.org>
69 * files.el (basic-save-buffer): save unmodified buffers when
70 the file pointed by buffer-file-name doesn't exist.
72 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
74 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
76 2011-02-11 Glenn Morris <rgm@gnu.org>
78 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
80 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
82 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
84 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
86 * server.el (server-process-filter): Use pcase.
88 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
90 (smie-indent--parent): Extend to "parent of arg".
91 (smie-indent-inside-string): New function.
92 (smie-indent-functions): Use it.
94 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
95 bzr locking race condition.
97 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
98 still valid before using it.
100 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
101 `message' -> `compilation-message' rename (bug#8004).
103 Move keymap initialization into declaration.
104 * textmodes/enriched.el (enriched-mode-map):
105 * textmodes/bib-mode.el (bib-mode-map):
106 * term/lk201.el (lk201-function-map):
107 * tar-mode.el (tar-mode-map):
108 * replace.el (occur-mode-map):
109 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
110 * progmodes/idlw-help.el (idlwave-help-mode-map):
111 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
112 * play/solitaire.el (solitaire-mode-map):
113 * play/snake.el (snake-mode-map, snake-null-map):
114 * play/pong.el (pong-mode-map):
115 * play/handwrite.el (menu-bar-handwrite-map):
116 * play/gametree.el (gametree-mode-map):
117 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
118 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
119 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
120 (newsticker--url-keymap):
121 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
122 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
123 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
124 (menu-bar-edit-menu, menu-bar-custom-menu)
125 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
126 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
127 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
128 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
129 (menu-bar-tools-menu, menu-bar-describe-menu)
130 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
131 (menu-bar-help-menu):
132 * mail/rmailsum.el (rmail-summary-mode-map):
133 * kmacro.el (kmacro-step-edit-map):
134 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
135 (ibuffer-mode-operate-map):
136 * hi-lock.el (hi-lock-menu, hi-lock-map):
137 * emulation/vip.el (vip-mode-map):
138 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
139 * bookmark.el (bookmark-bmenu-mode-map):
140 * help-mode.el (help-mode-map): Move initialization into declaration.
142 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
144 * net/rcirc.el: Add PRIVMSG and CTCP functions.
145 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
146 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
147 (rcirc-cmd-me, rcirc-authenticate): Use them.
149 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
151 * allout.el: Synopsis: Change allout user configuration so
152 auto-activation is controlled solely by customization
153 `allout-auto-activation'.
155 (allout-auto-activation-helper) (allout-setup): New autoloads
156 implement new custom set procedure for allout-auto-activation.
157 Also, explicitly invoke
158 (allout-setup) after allout-auto-activation is custom-defined, to
159 effect the settings in emacs sessions besides the few where
160 allout-auto-activation customization is donea.
161 (allout-auto-activation): Use allout-auto-activation-helper to
162 :set. Revise the docstring.
163 (allout-init): Reduce functionality to just customizing
164 allout-auto-activation, and mark obsolete.
165 (allout-mode): Respect string values for allout-auto-activation.
166 Run allout-after-copy-or-kill-hook without any args.
167 (allout-mode) (allout-layout) (allout-default-layout)
168 (outlineify-sticky): Adjust docstring for new scheme.
169 (allout-after-copy-or-kill-hook): No arguments - hook implementers
170 should concentrate on the kill ring.
172 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
174 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
175 of here-doc that immediately follows a comment.
177 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
179 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
181 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
183 (rcirc-ctcp-sender-PING): New function.
185 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
187 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
188 Remove the mark/nomark handling, and activate shift-select-mode instead.
190 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
192 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
194 * calc/calc-units.el (math-logunits-quant): Add support for
195 non-logarithmic units.
197 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
199 * allout.el (allout-after-copy-or-kill-hook): New hook for
200 extension-specific processing of killed text.
201 (allout-mode): Include new allout-after-copy-or-kill-hook among
203 (allout-kill-line) (allout-kill-topic): Ensure that processing
204 after kill happens even if barf-if-buffer-read-only is raised.
205 Include new allout-after-copy-or-kill-hook among that subsequent
207 (allout-deannotate-hidden): Actually remove the annotation text
210 * allout.el (allout-listify-exposed): Copy text sans text properties.
212 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
214 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
216 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
218 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
220 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
222 * calc/calc.el (calc-logunits-field-reference): Rename from
223 `calc-default-field-reference-level'.
224 (calc-logunits-power-reference): Rename from
225 `calc-default-power-reference-level'
227 * calc/calc-units.el (math-logunits-quant): Rename from
228 `math-logunits-level'
229 (math-logunits-plus): Rename from math-logcombine.
230 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
231 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
232 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
234 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
235 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
236 (calc-logunits-quantity): Rename from `calc-level'.
237 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
238 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
239 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
240 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
241 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
244 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
245 (calc-ul-prefix-help): Remove.
246 (calc-l-prefix-help): New function.
247 (calc-full-help): Add reference to `calc-l-prefix-help'.
249 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
251 * calc/README: Mention logarithmic units.
253 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
255 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
256 non-ASCII characters (Bug#7925).
258 2011-02-05 Glenn Morris <rgm@gnu.org>
260 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
262 * calendar/diary-lib.el (diary-font-lock-keywords):
263 Tweak diary-time-regexp match. (Bug#7891)
265 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
266 (f90-mode): Use it for mode's `find-tag-default-function' property.
268 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
270 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
272 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
274 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
277 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
279 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
280 font-lock-syntax-table remappings.
281 (sh-here-doc-markers, sh-here-doc-re): Remove.
282 (sh-font-lock-close-heredoc): Remove.
283 (sh-syntax-propertize-here-doc): New function.
284 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
285 instead of the sh-here-doc-re.
286 (sh-font-lock-paren): Don't do anything in comments or strings.
287 Handle line continuations. Accept a few more chars.
288 Don't rely on the font-lock-syntax-table remappings.
289 `esac' is not a valid pattern.
290 (sh-syntax-propertize-function): Handle here-docs differently, so we
291 don't bother syntax-propertizing the insides.
293 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
294 Handle new bashisms ";&" and ";;&" (bug#7947).
296 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
298 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
299 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
301 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
303 * net/tramp.el (tramp-postfix-method-format)
304 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
305 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
306 (tramp-postfix-user-regexp, tramp-prefix-port-format)
307 (tramp-prefix-port-regexp, tramp-postfix-host-format)
308 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
311 2011-02-04 Sam Steingold <sds@gnu.org>
313 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
315 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
317 * international/mule-util.el (with-coding-priority): Doc fix.
319 2011-02-04 Eli Zaretskii <eliz@gnu.org>
321 * arc-mode.el (archive-mode-map): Fix a typo in last change.
323 2011-02-03 Sam Steingold <sds@gnu.org>
325 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
326 Do not error out when `func' is nil.
328 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
330 * net/tramp-sh.el (tramp-remote-path): Add default settings for
331 `tramp-default-remote-path' to the docstring.
332 (tramp-get-remote-path): Suppress error message when `getconf
335 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
337 2011-02-03 Glenn Morris <rgm@gnu.org>
339 * vc/vc-hg.el (vc-hg-command): Doc fix.
341 * term/w32-win.el (libpng-version): Declare for compiler.
343 * msb.el: No need to load dired while compiling.
345 * emacs-lisp/elint.el (elint-standard-variables):
346 Remove a couple of built-ins that now have doc-strings.
348 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
349 `require' is automatically `eval-and-compile'd.
351 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
352 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
354 * strokes.el (strokes-fill-current-buffer-with-whitespace):
355 Move definition before use.
356 (strokes-report-bug): Make it obsolete.
358 2011-02-02 Sam Steingold <sds@gnu.org>
360 * apropos.el (apropos-print): Now that `apropos-mode' inherits
361 from `special-mode', entering it makes the buffer read-only, so
362 call it only when everything has been already inserted.
363 * emacs-lisp/ert.el (ert--setup-results-buffer)
364 (ert-results-pop-to-backtrace-for-test-at-point)
365 (ert-results-pop-to-messages-for-test-at-point)
366 (ert-results-pop-to-timings): Ditto.
367 * emacs-lisp/package.el (package--list-packages): Ditto.
368 * play/solitaire.el (solitaire): Ditto.
370 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
372 * progmodes/compile.el: Make all faces inherit.
373 (compilation-warning): Inherit from font-lock-variable-name-face.
374 (compilation-info): Inherit from font-lock-type-face.
375 (compilation-line-number): Reassign to font-lock-keyword-face.
376 (compilation-column-number): Reassign to font-lock-doc-face.
377 (compilation-leave-directory-face): Reassign to
378 font-lock-builtin-face.
380 2011-02-02 Eli Zaretskii <eliz@gnu.org>
382 * dired.el (dired-insert-directory): Don't invoke `ls' when
383 ls-lisp.el is used to emulate it.
385 2011-02-01 Julien Danjou <julien@danjou.info>
387 * color.el (color-gradient): Add a color-gradient function.
389 2011-02-01 Sam Steingold <sds@gnu.org>
391 * simple.el (special-mode-map): Bind "h" to `describe-mode';
392 bind "z" to `kill-this-buffer'.
393 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
394 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
395 (apropos-mode): Inherit from `special-mode'.
396 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
397 * bookmark.el (bookmark-bmenu-mode): Define using
398 `define-derived-mode' inheriting from `special-mode'.
399 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
400 * image-mode.el (image-mode-map): Ditto.
401 * replace.el (occur-mode): Define using
402 `define-derived-mode' inheriting from `special-mode'.
403 * tar-mode.el (tar-mode): Inherit from `special-mode'.
404 * calendar/diary-lib.el (diary-fancy-display-mode):
405 Inherit from `special-mode-map'.
406 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
407 Inherit from `special-mode'.
408 * emacs-lisp/package.el (package-menu-mode-map): Copy from
410 (package-menu-mode): Define using `define-derived-mode'
411 inheriting from `special-mode'.
412 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
413 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
414 (xesam-mode-map): Define separately.
415 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
416 * progmodes/compile.el (compilation-minor-mode-map)
417 (compilation-mode-map): Inherit from `special-mode-map'.
418 * vc/diff-mode.el (diff-mode-shared-map):
419 Inherit from `special-mode-map'.
420 * vc/log-view.el (log-view-mode-map): Add a comment.
422 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
424 * custom.el (load-theme): Define return value. Drop use of
425 unsafep; call custom-theme-load-confirm for non-known-safe themes.
426 (custom-theme-load-confirm): Scroll in the correct window.
427 (custom-enabled-themes): Add custom-safe-themes to :set-after.
429 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
430 checkbox if load-theme fails.
432 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
434 * progmodes/compile.el (compilation-next-error): Check there's
435 a message before using it (bug#7941).
437 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
439 * calc/calc-mtx.el (math-lud-pivot-check): New function.
440 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
443 2011-01-31 Alan Mackenzie <acm@muc.de>
445 * progmodes/cc-cmds.el (c-forward-over-illiterals):
446 Continue parsing if we encounter a naked # (Bug#7595).
447 (c-beginning-of-statement): Avoid loop in locating the beginning
450 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
452 * files.el (copy-directory): Fix arguments to recursive call.
454 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
456 * files.el (copy-directory): If destination is an existing
457 directory, copy into a subdirectory there.
459 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
461 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
464 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
466 * image-dired.el (image-dired-mouse-display-image): No-op if no
467 file is found (Bug#7817).
469 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
471 2011-01-31 Kenichi Handa <handa@m17n.org>
473 * international/quail.el (quail-keyboard-layout-alist):
474 Remove superfluous SPC for "pc105-uk" (bug#7927).
476 2011-01-31 Glenn Morris <rgm@gnu.org>
478 * msb.el (msb-menu-bar-update-buffers): Update for changed
479 argument handling of menu-bar-select-frame. (Bug#7902)
481 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
483 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
484 to the recursion depth (Bug#7722).
486 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
488 * term/ns-win.el (ns-find-file): Expand ns-input-file with
489 command-line-default-directory (Bug#7872).
491 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
493 * progmodes/compile.el (compilation--flush-directory-cache):
494 New function, extracted from compilation--remove-properties.
495 (compilation--remove-properties, compilation--parse-region): Use it.
496 (compilation--previous-directory): Handle one more case.
497 (compilation-enable-debug-messages): Remove.
498 (compilation-parse-errors, compilation--flush-parse): Just remove the
499 left over debug messages.
501 2011-01-31 Sam Steingold <sds@gnu.org>
503 * progmodes/compile.el (compilation-enable-debug-messages):
504 Add a variable to make the parsing messages introduced in
505 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
506 (compilation-parse-errors, compilation--flush-parse): Use it.
508 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
510 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
511 (rcirc-nick-completion-format): New defcustom.
512 (rcirc-complete): Use it.
514 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
516 * net/rcirc.el: Clean log filenames (Bug#7933).
517 (rcirc-log-write): Use convert-standard-filename.
518 (rcirc-log-filename-function): Documentation updates.
520 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
522 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
523 Check report-emacs-bug-can-use-osx-open and use that if t.
524 (report-emacs-bug-can-use-osx-open): New function.
525 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
526 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
528 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
530 * vc/vc-dispatcher.el (vc-set-async-update): New function for
531 updating Dired or VC-dir buffers after async command completes.
533 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
534 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
536 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
537 completions if it exists. Use vc-set-async-update.
538 (vc-git-pull): Use vc-set-async-update.
540 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
541 read-shell-command. Use vc-set-async-update.
542 (vc-hg-merge-branch): Use vc-set-async-update.
544 2011-01-29 Daiki Ueno <ueno@unixuser.org>
546 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
547 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
550 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
552 * progmodes/compile.el: Avoid an N² behavior in grep.
553 (compilation--previous-directory): New fun.
554 (compilation--previous-directory-cache): New var.
555 (compilation--remove-properties): Flush it.
556 (compilation-directory-properties, compilation-error-properties):
557 Use the new fun to speed up looking for the current directory.
559 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
561 * vc/vc-hg.el (vc-hg-history): New var.
562 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
563 (vc-hg-merge-branch): New function.
565 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
566 the other way around.
568 * vc/vc-git.el (vc-git-branches, vc-git-pull)
569 (vc-git-merge-branch): New functions.
570 (vc-git-history): New var.
572 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
574 * vc/vc-dispatcher.el (vc-do-async-command): New function.
576 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
579 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
582 2011-01-28 Leo <sdl.web@gmail.com>
584 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
585 highlighting to the "this function is advised" message.
587 * help-mode.el (help-mode-finish): Apply highlighting here, to
588 avoid clobbering by substitute-command-keys (Bug#6304).
590 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
592 * woman.el (woman0-roff-buffer): Process roff escape sequences
593 occurring prior to the first request (Bug#7843).
595 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
597 * progmodes/compile.el: Don't use font-lock any more.
598 (compilation-error-regexp-alist-alist): Change handling of makepp
599 so it preserves the warning/error distinction on subsequent files.
600 Simplify various rules.
601 (compilation-directory-properties): Use font-lock-face.
602 Add a compilation-message property.
603 (compilation-internal-error-properties): Use font-lock-face.
604 Don't set the compilation-debug property here.
605 (compilation--put-prop, compilation--remove-properties)
606 (compilation--parse-region, compilation--ensure-parse)
607 (compilation--ensure-parse): New functions.
608 (compilation-parse-errors): New function, largely inspired of
609 compilation-mode-font-lock-keywords. Set compilation-debug here.
610 (compilation--parsed): New var.
611 (compilation--flush-parse): Use compilation--ensure-parse.
612 (compilation-start): Don't call font-lock.
613 (compilation-turn-on-font-lock): Remove.
614 (compilation-setup): Don't set font-lock-extra-managed-props not change
615 other font-lock settings, other than keywords.
616 Don't activate font-lock-mode.
617 Set change-major-mode-hook and before-change-functions.
618 (compilation--unsetup): Remove properties and hooks.
619 (compilation-next-single-property-change): New function.
620 (compilation-next-error): Use it to parse when needed.
621 (compile-goto-error): Parse buffer as needed.
622 (compilation--compat-error-properties): Don't need a dummy `face'
625 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
627 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
628 (compilation-process-setup-function): Fix docstring's false promises.
629 (compilation-error-regexp-alist-alist): Catch omake's continuous
630 recompilation message and avoid reuse of old markers.
631 (compilation-parse-errors-function): Declare obsolete.
632 (compilation-buffer-modtime): Remove.
633 (compilation--make-cdrloc, compilation--loc->col)
634 (compilation--loc->line, compilation--loc->file-struct)
635 (compilation--loc->marker, compilation--loc->visited)
636 (compilation--make-file-struct, compilation--file-struct->file-spec)
637 (compilation--file-struct->formats)
638 (compilation--file-struct->loc-tree): New macros. Use them.
639 (compilation--message): New defstruct. Use them.
640 (compilation-next-error-function): Don't mess with timestamps to try
641 and guess when to reparse.
643 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
645 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
646 (tex-old-error-file-name): New function,
647 extracted from tex-compilation-parse-errors.
648 (tex-compilation-parse-errors): Remove.
649 (tex-error-regexp-alist): New var.
650 (tex-shell): Use it to avoid compilation-parse-errors-function.
652 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
653 (grep-mode-font-lock-keywords): Remove regexp that seems like
654 a left-over from before we used compile.el.
655 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
656 modifying the buffer within with-silent-modifications.
658 * progmodes/compile.el: Cleanup text-properties namespace by using
659 `compilation-message' instead of `message', `compilation-directory'
660 instead of `directory', and `compilation-debug' instead of `debug'.
661 (compilation-last-buffer, compilation-parsing-end)
662 (compilation-error-list, compilation-old-error-list): Move to the
663 compatibility part of the code.
664 (compilation-error-properties): If `file' is a function, let it return
666 (compilation-mode-font-lock-keywords): Be more conservative with the
667 omake "^ *" pattern prefix, to try and minimize the risk of
668 pathologically slow regexp matching.
669 (compilation-start): Use inhibit-read-only.
670 (compilation--unsetup): New function.
671 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
672 (compilation-filter): Minor tweaks.
673 (compilation-next-error-function): Try and avoid abusing variables.
674 (compilation--flush-file-structure): New fun.
675 (compilation-fake-loc): Use it to improve behavior when file is reused.
676 (debug-ignored-errors): Add "Moved past last ...".
677 (compilation--compat-error-properties)
678 (compilation--compat-parse-errors): Rename by doubling the "-".
680 Port features from the previous prolog.el to the new one.
681 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
682 (prolog-program-name, prolog-program-switches, prolog-consult-string)
683 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
684 variable and use a function to compute the value dynamically.
685 (prolog-prompt-regexp): Add regexp for GNU Prolog.
686 (prolog-continued-prompt-regexp): Remove, unused.
687 (prolog-find-value-by-system): Try and use the value of prolog-system
688 in the *prolog* buffer if it helps.
689 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
690 (prolog-zip-on): ..and check prolog-system and version here instead.
691 (prolog-inferior-self-insert-command): New command.
692 (prolog-inferior-mode-map): Use it.
693 (prolog-inferior-error-regexp-alist): New var.
694 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
695 (prolog-input-filter): Use derived-mode-p.
696 (prolog-inferior-guess-flavor): New function.
697 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
698 make-comint to avoid running comint-mode twice.
699 (prolog-inferior-buffer): New fun.
700 (prolog-old-process-region, prolog-old-process-file):
701 Don't call prolog-bsts here...
702 (prolog-build-prolog-command): ...do it here instead.
703 (prolog-old-process-region, prolog-old-process-file):
704 Use compilation-fake-loc and compilation-forget-errors.
705 (prolog-consult-compile-region): Use bolp.
707 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
709 * image-mode.el (image-display-size): Doc fix (Bug#7820).
711 2011-01-27 Sam Steingold <sds@gnu.org>
713 * midnight.el (clean-buffer-list-kill-never-buffer-names):
714 Remove "*server*" which is never created by emacs server.
716 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
718 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
719 there are some diff switches.
721 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
723 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
724 Copy change made to ruby-font-lock-syntactic-keywords.
726 * htmlfontify.el: Make it obey the font-lock-face text property.
727 Miscellaneous cleanup such as:
728 - Don't hide expressions after a closing paren.
729 - Move initial setq into let.
730 - Hoist common parts out of ifs.
731 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
732 (hfy-face-at): Use get-text-property instead.
733 (hfy-prop-invisible-p): Use invisible-p if available.
734 (htmlfontify-manual): Use \\[...].
735 (hfy-html-quote-regex): Use [...].
736 (hfy-combined-face-spec): Simplify.
737 (hfy-compile-face-map): Don't presume point-min==1.
738 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
740 (hfy-text-p): η-reduce.
741 (hfy-tags-for-file): Receive cache-hash directly.
742 (hfy-mark-tag-names): Adjust call.
744 2011-01-27 Glenn Morris <rgm@gnu.org>
746 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
747 (msb-after-load-hook): Remove eval-after-load wackiness.
749 2011-01-25 Sam Steingold <sds@gnu.org>
751 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
752 literal "diff" (important for windows-nt).
754 2011-01-25 Glenn Morris <rgm@gnu.org>
756 * emacs-lisp/copyright.el (copyright-at-end-flag)
757 (copyright-names-regexp): Add safety properties.
758 (copyright-year-ranges): New option.
759 (copyright-find-end): New function, split from copyright-update-year.
760 (copyright-update-year): Use copyright-find-end.
761 (copyright-fix-years): Optionally, convert years to ranges.
762 Handle years continued over comment lines.
763 Do not mess with the fill-prefix.
764 Do not call copyright-update.
765 (copyright-update-directory): Optionally, fix years rather than update.
766 Skip directories. Find files with only safe local vars.
768 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
770 * files.el (file-name-non-special): Only change buffer-file-name after
771 insert-file-contents if it's `visit'ing the file (bug#7854).
773 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
775 * dired.el (dired-revert): Doc fix (Bug#7758).
777 * simple.el (line-move-visual): Doc fix (Bug#7594).
779 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
781 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
782 here-doc which ends with an underscore.
783 (ruby-mode-set-encoding): Skip shebang line always.
784 (ruby-mode-map): Bind C-c C-c to comment-region.
785 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
786 (ruby-forward-sexp): Stop after literal hash key labels.
787 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
790 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
792 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
793 the correct buffer (Bug#7650).
795 2011-01-25 Glenn Morris <rgm@gnu.org>
797 * comint.el (comint-mode): Doc fix. (Bug#7897)
799 * simple.el (do-auto-fill): Give it a doc string.
801 * button.el (make-text-button): Doc fix. (See bug#7881)
803 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
805 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
806 Don't move backward, so as not to fall in an inf-loop (bug#7736).
808 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
809 Handle ?" and friends differently (e.g. don't use backrefs).
811 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
813 * calc/calc.el (calc-default-power-reference-level)
814 (calc-default-field-reference-level): New variables.
815 * calc/calc-units.el (math-standard-units): Add dB and Np.
816 (math-logunits): New variable.
817 (math-extract-logunits, math-logcombine, calcFunc-luplus)
818 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
819 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
821 (math-find-base-units-rec): Add entry for ln(10).
822 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
823 (calc-ul-prefix-help): New function.
824 * calc/calc-ext.el (calc-init-extensions): Autoload new units
825 functions. Add keybindings for new units functions.
827 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
829 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
830 rcirc buffers. (Bug#4940)
832 2011-01-22 Glenn Morris <rgm@gnu.org>
834 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
835 split out from copyright-update-year.
836 (copyright-update): Don't mess with the GPL version if we don't own the
837 copyright. Update license regexp, and remove no longer needed
839 (copyright-fix-years): Use copyright-find-copyright.
841 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
843 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
845 2011-01-22 Jari Aalto <jari.aalto@cante.net>
847 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
848 (lm): Rename to landmark.
849 (lm-test-run): Rename to landmark-test-run.
851 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
853 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
854 "Case sensitive" menu item.
856 2011-01-22 Roland McGrath <roland@frob.com>
858 * comint.el (comint-replace-by-expanded-history-before-point): Fix
859 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
861 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
863 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
865 2011-01-22 Jari Aalto <jari.aalto@cante.net>
867 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
868 Assume foo(bar) is a manpage reference rather than some unquoted
871 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
873 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
874 Suggested by Flo <sensorflo@gmail.com>.
876 2011-01-22 Glenn Morris <rgm@gnu.org>
878 * progmodes/compile.el (compilation-error-regexp-alist):
879 Fix custom type. (Bug#7812)
881 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
883 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
884 allout-number-siblings, in keeping with what obtained due to
885 (now-defunct) allout-keybindings-list. Ditch repeat binding to
887 (allout-before-change-handler): Better expose spots affected by
890 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
892 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
894 2011-01-22 Phil Hagelberg <phil@evri.com>
896 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
897 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
898 (pcmpl-ssh-config-hosts): New function.
899 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
900 pcmpl-ssh-known-hosts.
902 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
904 * calc/calc-undo.el (calc-undo): Autoload it.
905 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
906 and autoload for `calc-undo'.
907 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
909 * calc/calc-graph.el:
910 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
912 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
914 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
915 keybindings to `calc-undo'.
917 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
919 Don't mess with *temp*.
920 * obsolete/spell.el: Move from textmodes/spell.el.
922 * term.el (term-read-input-ring):
923 * startup.el (display-startup-echo-area-message):
924 * progmodes/antlr-mode.el (antlr-directory-dependencies):
925 * comint.el (comint-read-input-ring): Use with-temp-buffer.
926 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
929 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
931 * allout.el: (allout-institute-keymap): Use fset instead of
934 (allout-hotspot-key-handler): Check for non-control-modified
935 bindings for hotspot characters if there are no control-modified
938 * allout.el: Summary - migrate to defining allout mode using
939 define-minor-mode instead of defun. Significantly clean-up
940 internal keymap provisions, refactoring and, in the process,
941 removing a lot of accumulated cruft.
943 allout-mode-map is now a keymap by virtue of being a defalias to
944 allout-mode-map-value, which contains the actual keymap structure.
946 (allout-mode): Use define-minor-mode rather than defun.
947 Remove now-unnecessary minor-mode setup activities from the body.
948 Specify :keymap as allout-mode-map so the minor-mode-map-alist
949 entry will be '(allout-mode . allout-mode-map) - see
950 allout-mode-map-value, below. Adjust docstring to track changes.
951 (allout-minor-mode): Remove this defalias, now that we're using
953 (allout-mode-map): Set value to be 'allout-mode-map. The actual
954 keymap is allout-mode-map-value, via defalias.
955 (allout-mode-map-value): The variable holding the actual mode
956 keymap structure, by virtue of defalias from allout-mode-map.
957 (allout-compose-and-institute-keymap): Rename from
958 allout-bind-keys, and including the binding-composition
959 functionality of the former produce-allout-mode-map and
960 allout-setup-mode-map.
961 (allout-institute-keymap): Take over the "setup" part of the former
962 allout-setup-mode-map. Reassign allout-mode-map-value value and
964 (allout-command-prefix) (allout-prefixed-keybindings)
965 (allout-unprefixed-keybindings):
966 Use allout-compose-and-institute-keymap to process the bindings.
967 (allout-unprefixed-keybindings): Remove extraneous '?' question
969 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
970 user can customize if they want to use that binding.
971 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
972 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
973 elided that, previously, instead of the one for \C-h.)
974 (allout-hotspot-key-handler): Remove attempt to resolve the key
975 through the literal key-string lookup on allout-keybindings-list.
976 That probably hasn't worked for a Long Time, and removal of
977 allout-keybindings-list further simplifies the keybindings
979 (allout-pre-command-business): Use allout-mode-map-value instead
981 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
982 the bindings if they want to use a keybinding having a trailing
983 \C-h. No deprecation needed since this feature was never in a
985 (allout-keybindings-list): Remove. It's not been useful for a
986 while. (See allout-hotspot-key-handler changes, above.)
987 (produce-allout-mode-map): Remove. Consolidate into
988 allout-compose-and-institute-keymap.
989 (allout-mode-map-adjustments): Remove. No longer necessary with
990 removal of allout-preempt-trailing-ctrl-h.
991 (allout-setup-mode-map): Remove. Consolidate into
992 allout-compose-and-institute-keymap and allout-institute-keymap.
994 2011-01-20 Glenn Morris <rgm@gnu.org>
996 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
998 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1000 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1002 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1004 * files.el (find-alternate-file, basic-save-buffer)
1005 (basic-save-buffer-2, revert-buffer, recover-file)
1006 (kill-buffer-ask, abort-if-file-too-large)
1007 (set-visited-file-name, write-file, backup-buffer)
1008 (basic-save-buffer, save-some-buffers):
1009 * dired-aux.el (dired-compress-file): Callers changed.
1011 2011-01-19 Glenn Morris <rgm@gnu.org>
1013 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1014 Also check the property status. (Bug#7861)
1016 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
1018 * net/tramp.el (tramp-debug-message): Extend function exclude
1019 list. Use `regexp-opt'.
1021 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1023 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1024 highlighting doesn't spill over subsequent lines.
1026 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1027 keymap expression. Improve docstring.
1029 * electric.el (electric-indent-post-self-insert-function):
1030 Don't auto-indent for indent-to-left-margin, it's too often
1033 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
1035 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1036 spaces if the frame was resized, so that the full visible buffer
1037 serves as canvas for strokes.
1039 2011-01-16 Glenn Morris <rgm@gnu.org>
1041 * info-xref.el (info-xref-docstrings): Replace cl function.
1042 Also skip directories.
1044 2011-01-16 Kevin Ryde <user42@zip.com.au>
1046 * info-xref.el: Version 3.
1047 (info-xref-check, info-xref-check-all): Move commentary details
1048 into docstrings for better visibility.
1049 Use compilation-mode for the results buffer.
1050 (info-xref-output, info-xref-output-error, info-xref-with-output)
1051 (info-xref-filename, info-xref-in-progress):
1052 New internals for this.
1053 (info-xref-check-list, info-xref-check-buffer)
1054 (info-xref-check-all-custom): Use those.
1055 (info-xref-output-buffer): Rename from info-xref-results-buffer.
1056 (info-xref-output-heading): Rename from info-xref-filename-heading.
1057 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1058 (info-xref-filename-heading): Move to output managing section.
1059 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1060 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1061 (info-xref-subfile-p): Move to generic section with those two.
1062 (info-xref-check-node): New function split from
1063 info-xref-check-buffer, shared by info-xref-docstrings.
1064 (info-xref-goto-node-p): Move to a checking section with that func.
1065 (info-xref-unavail): New counter.
1066 (info-xref-check-node): Use it.
1067 (info-xref-with-output): Show count of unavailables at end of output.
1068 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
1069 symlinks. Exclude .texi files. Exclude Emacs backup files.
1070 (info-xref-check-all-custom): Fix quietening viper-mode and
1071 gnus-registry-install -- use setq not let so as not to unbind
1074 2011-01-16 Juri Linkov <juri@jurta.org>
1076 * isearch.el (isearch-abort): Don't quit if search has
1077 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1079 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1081 * files.el (backup-buffer): Make last-resort backup file in
1082 .emacs.d (Bug#6953).
1084 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1085 make it with permission 700.
1087 2011-01-15 Kenichi Handa <handa@m17n.org>
1089 * mail/rmailmm.el (rmail-mime-insert-header):
1090 Set rmail-mime-coding-system to a cons whose car is the last coding
1091 system used to decode the header.
1092 (rmail-mime-find-header-encoding): New function.
1093 (rmail-mime-insert-decoded-text):
1094 Override rmail-mime-coding-system if it is a cons.
1095 (rmail-show-mime): If only a header part was decoded, find the
1096 coding system while ignoring mm-charset-override-alist.
1098 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1100 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1102 2011-01-15 Kenichi Handa <handa@m17n.org>
1104 * mail/rmailmm.el (rmail-mime-next-item)
1105 (rmail-mime-previous-item): Delete them.
1106 (rmail-mime-shown-mode): Recursively call for children.
1107 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1109 (rmail-mime-raw-mode): Recursively call for children.
1110 (rmail-mode-map): Change mapping of tab and backtab to
1111 forward-button and backward-button respectively.
1112 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1114 (rmail-mime-update-tagline): New function.
1115 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1116 body display is changed.
1117 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1118 (rmail-mime-image): Delete this button type.
1119 (rmail-mime-toggle): New button type.
1120 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1121 body display is changed. Change the save button label to "Save".
1122 Don't process show/hide button here.
1123 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1124 the body display is changed. Unconditionally call
1125 rmail-mime-insert for children.
1126 (rmail-mime-handle): Update `display' vector of the just inserted
1128 (rmail-mime-process): If mail-header-parse-content-type returns
1129 nil, use "text/plain" as the fallback type.
1130 (rmail-mime-insert): For raw-mode, recursively call
1131 rmail-mim-insert for children.
1132 (rmail-mime): Handle the case that the current buffer is not rmail
1133 buffer (e.g. in summary buffer).
1135 2011-01-15 Kenichi Handa <handa@m17n.org>
1137 * mail/rmailmm.el (rmail-mime-next-item)
1138 (rmail-mime-previous-item): Skip the body of a non-multipart
1139 entity if a tagline is shown.
1141 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1143 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1144 (tmm-prompt): Simplify.
1145 (tmm-add-prompt): Remove unused var `win'.
1147 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1148 to minor mode which used nil accidentally to mean "turn off".
1150 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1152 * net/tramp-sh.el (tramp-find-inline-compress)
1153 (tramp-get-inline-coding): Quote command after pipe symbol for
1154 local calls under W32. (Bug#6784)
1156 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1158 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1159 only when running under W32.
1161 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1163 * progmodes/grep.el (grep-compute-defaults): Quote the program
1164 file name after the pipe symbol in Grep templates. (Bug#6784)
1165 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1167 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1169 * buff-menu.el (Buffer-menu-buffer-list): New var.
1170 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1171 restricted buffer list is not lost on revert (Bug#7749).
1173 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1175 * net/ldap.el (ldap-search-internal): Discard stderr output.
1177 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1179 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1181 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1183 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1185 2011-01-15 Kenichi Handa <handa@m17n.org>
1187 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1188 part as a plain text.
1189 (rmail-mime-process-multipart): Set the default content-type to
1190 nil for unknown multipart subtypes (bug#7651).
1192 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1194 * hexl.el (hexl-mode-old-*): Remove.
1195 (hexl-mode--old-var-vals): New var to replace them.
1196 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1197 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1198 Use them to set local vars (bug#7846).
1199 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1200 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1201 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1203 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1204 (smerge-resolve--normalize-re): New var.
1205 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1206 (smerge-resolve): Use them.
1207 * newcomment.el (comment-only-p): New function.
1208 (comment-or-uncomment-region): Use it.
1210 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1212 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1213 table, get the value before switching to the output buffer. (Bug#7733)
1215 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1217 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1219 2011-01-14 Kim F. Storm <storm@cua.dk>
1221 * emulation/cua-base.el (cua--init-keymaps):
1222 Remap exchange-point-and-mark in cua-global-keymap.
1224 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1226 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1229 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1231 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1233 (easy-menu-create-menu, easy-menu-convert-item-1):
1234 Use :label rather than nil for labels. Use `case'.
1235 Add :enable as alias for :active.
1236 (easy-menu-binding): Obey :label.
1238 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1240 Use run-mode-hooks for major mode hooks (bug#513).
1241 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1242 Rename from reftex-toc-map.
1243 (reftex-toc-mode): Use define-derived-mode.
1244 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1245 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1246 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1247 (reftex-select-label-mode, reftex-select-bib-mode):
1248 Use define-derived-mode.
1249 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1250 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1251 Move init into delcaration.
1252 (reftex-index-mode, reftex-index-phrases-mode):
1253 Use define-derived-mode.
1254 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1255 speedbar-syntax-table. Move init into declaration.
1256 (speedbar-mode-map): Rename from speedbar-key-map.
1257 Move init into declaration.
1258 (speedbar-file-key-map): Move init into declaration.
1259 (speedbar-mode): Use define-derived-mode.
1260 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1261 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1262 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1263 (chart-face-list): Move initialization into declaration.
1264 (chart-mode): Use define-derived-mode.
1265 * calculator.el (calculator-mode-map): Move init into declaration.
1266 (calculator-mode): Use define-derived-mode.
1268 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1269 work for nested comments.
1271 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1272 (prolog-use-prolog-tokenizer-flag): Change default when
1273 syntax-propertize can be used.
1274 (prolog-syntax-propertize-function): New var.
1275 (prolog-mode-variables): Move make-local-variable into `set'.
1276 Don't make comment-column local since we don't set it.
1277 Set comment-add (as it was in previous prolog.el). Use dolist.
1278 Set syntax-propertize-function.
1279 (prolog-mode, prolog-inferior-mode):
1280 Call prolog(-inferior)-menu directly, not through the mode-hook.
1281 (prolog-buffer-module, prolog-indent-level)
1282 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1283 (prolog-comment-limits, prolog-goto-comment-column):
1284 Use line-(end|beginning)-position.
1285 (prolog-build-prolog-command): Tighten up regexp.
1286 (prolog-consult-compile): Move make-local-variable into `set'.
1287 (prolog-consult-compile-filter, prolog-goto-next-paren)
1288 (prolog-help-on-predicate, prolog-clause-info)
1289 (prolog-mark-predicate): Don't let+setq.
1290 (prolog-indent-line): Use indent-line-to.
1291 Only call prolog-goto-comment-column if necessary.
1292 (prolog-indent-level): Use bobp.
1293 (prolog-first-pos-on-line): Remove, not used any more.
1294 (prolog-in-string-or-comment): Use syntax-ppss if available.
1295 (prolog-help-on-predicate): Use read-string.
1296 (prolog-goto-predicate-info): Simplify.
1297 (prolog-read-predicate): Use `default' rather than `initial'.
1298 (prolog-temporary-file): Use make-temp-file to close a security hole.
1299 (prolog-toggle-sicstus-sd): New command.
1300 (prolog-electric-underscore, prolog-variables-to-anonymous):
1301 Use dynamic-scoping as it was meant.
1302 (prolog-menu): Move menu definitions to top-level.
1303 Use a toggle-button for Sicstus's source debugger.
1304 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1306 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1307 Move other menu definition to top-level.
1309 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1311 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1312 name. Keep original document's directory as default-directory
1314 (doc-view-initiate-display): Fall back to normal mode when
1315 doc-view-mode cannot be enabled, also when extracting the document
1316 text into a separate buffer (bug#6446).
1318 * simple.el (shell-command): Don't error out if shell command
1319 buffer contains text with non-nil read-only property when erasing
1322 2011-01-13 Kim F. Storm <storm@cua.dk>
1324 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1325 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1326 items when cycling through the matches.
1328 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1330 * dired-x.el (dired-omit-verbose): New defcustom that allows
1331 disabling the omit messages.
1332 (dired-omit-expunge): Use it.
1334 2011-01-13 Christian Ohler <ohler@gnu.org>
1336 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1338 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1340 * font-lock.el (font-lock-verbose): Default to nil.
1342 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1344 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1345 (compose-mail): New arg RETURN-ACTION.
1346 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1348 * mail/sendmail.el (mail-return-action): New var.
1349 (mail-mode): Make it buffer-local.
1350 (mail-bury): Obey it. Move special Rmail window handling to
1352 (mail, mail-setup): New arg RETURN-ACTION.
1353 (sendmail-user-agent-compose): Move from simple.el.
1355 * mail/rmail.el (rmail-mail-return): New function.
1356 (rmail-start-mail): Pass it to compose-mail.
1358 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1360 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1361 menus. Add menu item for customize-themes.
1363 * cus-theme.el (customize-themes):
1364 * emacs-lisp/package.el (package--list-packages):
1365 Use switch-to-buffer.
1367 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1369 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1371 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1373 * progmodes/prolog.el: Fix up coding convention and such.
1374 (prolog-indent-width): Use the same default as in
1375 previous prolog.el rather than tab-width which depends on which buffer
1376 is current when the file is loaded.
1377 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1379 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1380 (prolog-known-systems): Remove.
1381 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1382 Move initialization into declaration.
1383 (prolog-mode-map): Move initialization into declaration.
1384 Remove system-specific mode-map vars, since they referred to the same
1386 (prolog-mode-variables): Obey the user's preference w.r.t
1387 adaptive-fill-mode. Prefer symbol-value to `eval'.
1388 (prolog-mode-keybindings-edit): Add compatibility bindings.
1389 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1390 (mercury-mode-map): New var.
1391 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1392 (prolog-ensure-process, prolog-process-insert-string)
1393 (prolog-consult-compile): Use with-current-buffer.
1394 (prolog-guess-fill-prefix): Simplify data flow.
1395 (prolog-replace-in-string): New function to use instead of
1397 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1398 (prolog-uncomment-region): Use `uncomment-region' when available.
1399 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1400 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1401 of int-to-char and char-to-int.
1402 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1404 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1406 * progmodes/prolog.el: Replace by a whole new file.
1408 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1410 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1411 (declare-function, undefined, insert-for-yank)
1412 (replace-regexp-in-string): Follow checkdoc's recommendations.
1414 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1416 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1417 refreshing the diary buffer.
1419 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1421 * allout.el: Add 2011 to the file copyright.
1422 (allout-encrypt-string): Prevent encryption from adding an extra
1423 newline at the end of the topic body.
1424 (allout-version): Increment to 2.3.
1426 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1428 * net/dbus.el (dbus-unregister-service): Complete doc.
1429 Fix call of dbus-error signal.
1430 (dbus-register-property): Use `dont-register' keyword.
1432 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1434 * net/dbus.el (dbus-unregister-service): Translate returned
1435 integer into a symbol.
1436 (dbus-register-property): Use `dbus-register-service' to do the
1439 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1441 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1442 Suggested by Joakim Verona.
1444 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1446 * wid-edit.el (visibility): Replace :on-image and :off-image
1447 widget properties with :on-glyph and :off-glyph, for consistency
1448 with the `visibility' widget.
1449 (widget-toggle-value-create, widget-visibility-value-create):
1450 Merge into a single function `widget-toggle-value-create'.
1452 * cus-edit.el (custom-variable-value-create, custom-visibility)
1453 (custom-face-edit-value-create, custom-face-value-create):
1454 Replace :on-image and :off-image widget properties with :on-glyph and
1455 :off-glyph, for consistency with the `visibility' widget.
1457 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1459 * net/ldap.el (ldap-search-internal): Don't use eval.
1461 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1463 * subr.el (read-char-choice): Use read-key.
1465 * custom.el (custom-safe-themes): Rename from
1466 custom-safe-theme-files. Add :risky tag.
1467 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1468 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1470 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1472 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1473 from Search and add a label to Undo.
1475 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1476 inappropriate buttons and adding :vert-only tags.
1478 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1479 removal of Help tool-bar button. Remove Undo button for space.
1481 * info.el (info-tool-bar-map): Add :vert-only tags.
1483 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1485 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1486 image backend support. Either of them is fine.
1488 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1490 * subr.el (y-or-n-p): Doc fix.
1492 * custom.el (custom-safe-theme-files): New defcustom.
1493 (custom-theme-load-confirm): New function.
1494 (load-theme): Load theme using `load', confirming with
1495 custom-theme-load-confirm if necessary.
1497 * subr.el (read-char-choice): New function, factored out from
1498 dired-query and hack-local-variables-confirm.
1500 * dired-aux.el (dired-query):
1501 * files.el (hack-local-variables-confirm): Use it.
1503 * dired-aux.el (dired-compress-file):
1504 * files.el (abort-if-file-too-large, find-alternate-file)
1505 (set-visited-file-name, write-file, backup-buffer)
1506 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1507 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1508 Use new format string args for y-or-n-p and yes-or-no-p.
1510 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1512 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1513 [gcc-include]: Tighten file name match, add match for column
1515 [gnu]: Remove unused group.
1517 2011-01-08 Glenn Morris <rgm@gnu.org>
1519 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1521 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1523 2011-01-07 Sam Steingold <sds@gnu.org>
1525 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1526 the `explicit-shell-file-name' because that is the
1527 non-interactive shell.
1529 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1531 * subr.el (y-or-n-p): Accept format string args.
1533 2011-01-07 Glenn Morris <rgm@gnu.org>
1535 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1537 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1539 * allout.el (allout-back-to-current-heading): Ensure return to
1540 the visible containing topic, rather than a collapsed one.
1541 (allout-view-change-hook): Remove hook that was deprecated long ago.
1542 (allout-exposure-change-hook): Remove documentation remarks
1543 concerning removed allout-view-change-hook.
1544 (allout-flag-region): Remove invocation of and documentation
1545 remarks concerning allout-view-change-hook.
1547 2011-01-06 Glenn Morris <rgm@gnu.org>
1549 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1550 (vc-bzr-annotate-extract-revision-at-line):
1551 Handle authors with embedded spaces. (Bug#7792)
1553 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1555 * doc-view.el (doc-view-image-width): New variable.
1556 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1557 backend for PNG images, and do dynamic rescaling instead of
1558 reconverting the whole doc.
1560 2011-01-05 Glenn Morris <rgm@gnu.org>
1562 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1564 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1566 * allout.el: Reconcile with changes in line movement behavior for
1567 long text lines that cross more than a single physical window
1568 line, ie when truncate-lines is nil.
1569 (allout-next-visible-heading): Provide for change in line-move
1570 behavior on long lines when truncate-lines is nil. In that case,
1571 line-move can wind up on the same textual line when it moves to
1572 the next window line, and moving to the bullet position after the
1573 move yields zero advancement. Add logic to detect and compensate
1574 for the lack of progress.
1575 (allout-current-topic-collapsed-p): move-end-of-line respect for
1576 field boundaries is different when operating with body lines
1577 shorter than window width versus ones greater than window width,
1578 which can yield false negatives in this function. Avoid
1579 difference by applying move-end-of-line while field-text-motion is
1582 2011-01-04 Glenn Morris <rgm@gnu.org>
1584 * textmodes/rst.el (rst-compile-toolsets):
1585 Add pdf and s5 to option alist.
1587 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1589 * net/dbus.el (dbus-register-property): Add optional parameter
1590 dont-register-service. Updated docstring accordingly.
1592 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1594 * textmodes/rst.el (rst-compile-pdf-preview)
1595 (rst-compile-slides-preview): Remove extra line.
1597 2011-01-04 Glenn Morris <rgm@gnu.org>
1599 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1600 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1601 default to `prog' without a .py extension.
1602 (rst-compile-pdf-preview, rst-compile-slides-preview):
1603 Use program names from rst-compile-toolsets, rather than hard-coding.
1604 (rst-portable-mark-active-p): Fix presumed typo.
1606 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1608 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1609 libpng versions both before and after 1.4.0. (Bug#7716)
1611 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1613 * time.el (display-time-mode): Mention display-time-interval in
1614 the doc string. (Bug#7713)
1616 2011-01-02 Kenichi Handa <handa@m17n.org>
1618 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1619 condition-case and return an error message string if something
1621 (rmail-show-mime): Adjust for the above change. Insert the
1622 header by rmail-mime-insert-header.
1624 2011-01-02 Kenichi Handa <handa@m17n.org>
1626 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1627 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1628 (rmail-mime-mbox-buffer)
1629 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1630 (rmail-mime-entity): Argument changed. All codes handling an
1631 entity object are changed.
1632 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1634 (rmail-mime-entity-children, rmail-mime-entity-handler)
1635 (rmail-mime-entity-tagline): New functions.
1636 (rmail-mime-message-p): New function.
1637 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1638 (rmail-mime-entity-segment, rmail-mime-next-item)
1639 (rmail-mime-previous-item, rmail-mime-shown-mode)
1640 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1641 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1642 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1644 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1645 (rmail-mime-insert-decoded-text): New function.
1646 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1647 (rmail-mime-insert-image): Argument changed. Caller changed.
1648 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1649 (rmail-mime-set-bulk-data): New funciton.
1650 (rmail-mime-insert-bulk): Argument changed.
1651 (rmail-mime-multipart-handler): Return t.
1652 (rmail-mime-process-multipart): Argument changed.
1653 Handle "multipart/alternative" here.
1654 (rmail-mime-process): Argument changed.
1655 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1656 (rmail-mime-insert): Argument changed. Handle raw display mode.
1657 (rmail-mime): Argument changed. Handle toggling of raw display
1659 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1660 rmail-mime-view-buffer.
1661 (rmail-insert-mime-forwarded-message): Likewise.
1662 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1664 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1665 non-nil, handle the header in rmail-show-mime-function.
1667 2011-01-02 Leo <sdl.web@gmail.com>
1669 * help-fns.el (describe-variable): Fix previous change.
1671 2011-01-02 Juri Linkov <juri@jurta.org>
1673 * isearch.el (isearch-lazy-highlight-error): New variable.
1674 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1675 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1676 to the current value of `isearch-error' (Bug#7468).
1678 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1680 * help-fns.el (describe-variable): Don't emit trailing whitespace
1683 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1685 * textmodes/rst.el (rst-compile-pdf-preview)
1686 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1688 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1690 * emulation/edt-mapper.el: Override mapping of function keys so
1691 that the later call to read-key-sequence works.
1693 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1695 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1696 Unix EOLs. (Bug#7589)
1698 2011-01-02 Leo <sdl.web@gmail.com>
1700 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1701 if point is not behind eshell-last-output-end (Bug#7585).
1703 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1705 * files.el (file-local-variables-alist):
1706 Make permanent-local (bug#7767).
1708 2011-01-02 Glenn Morris <rgm@gnu.org>
1710 * version.el (emacs-copyright): Set short copyright year to 2011.
1712 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1714 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1715 an existing temp buffer. (Bug#7746)
1717 2011-01-02 Glenn Morris <rgm@gnu.org>
1719 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1720 multiple addresses. (Bug#7760)
1722 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1724 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1725 do-auto-fill if everything points back to allout-auto-fill.
1726 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1727 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1729 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1731 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1734 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1736 * doc-view.el (doc-view-set-doc-type): New function refactored
1738 (doc-view-fallback-mode): New function.
1739 (doc-view-mode): Use it.
1740 (doc-view-mode-maybe): New function that checks if doc-view-mode
1741 can be used and falls back to the next best mode otherwise.
1743 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1744 DVI, OpenDocument, and MS Office files.
1746 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1748 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1750 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1752 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1753 on a copy of auto-mode-alist, because that deletes with side
1756 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1758 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1759 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1760 fallback instead of hard coding fundamental mode.
1762 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1764 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1765 Office) files also for searching.
1767 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1769 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1770 Office) files. Not yet enabled via auto-mode-list.
1771 (doc-view-unoconv-program): New custom variable.
1772 (doc-view-mode-p): Handle new odf document type.
1773 (doc-view-odf->pdf): New conversion function.
1774 (doc-view-convert-current-doc): Call it for odf files.
1775 (doc-view-mode): Recognize newly supported file extensions.
1777 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1779 * net/tramp.el (tramp-default-method-alist)
1780 (tramp-default-user-alist)
1781 (tramp-local-host-regexp, tramp-prefix-domain-format)
1782 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1785 * net/tramp-gvfs.el:
1787 * net/tramp-imap.el:
1789 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1790 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1792 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1794 * saveplace.el (save-place-alist-to-file): Save list sorted and
1795 pretty-printed, so that it is mergeable by line-based text merging,
1796 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1798 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1800 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1801 (allout-mode): Argument "toggle" => "force".
1802 Refine the docstring.
1803 Remove special provisions for reactivation, besides the 'force'
1805 Consolidate layout provisions coce directly into the activation
1806 condition branch, now that we've removed those provisions.
1807 (allout-unload-function): Explicitly activate the mode before
1808 deactivating, if it's initially deactivated.
1809 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1810 warnings for version of function used only where
1811 set-buffer-multibyte is unavailable.
1813 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1815 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1816 are handled by the menu-bar entries. As before, don't use
1817 :visibile to avoid changing the tool-bar.
1819 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1821 * net/secrets.el (secrets-delete-alias): New defun.
1823 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1825 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1826 methods, otherwise ~/.ssh/config would be ignored.
1828 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1830 * emacs-lisp/rx.el: Make it a superset of sregex.
1831 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1832 of args, add `regex' alias.
1833 (rx-info): Add arg to distinguish head and standalone forms.
1834 (rx-check, rx-form): Pass the corresponding arg.
1836 (rx-repeat): Make it work for any number of args.
1837 (rx-syntax): Make it accept syntax chars as is.
1838 * obsolete/sregex.el: Move from emacs-lisp/.
1839 * emacs-lisp/re-builder.el: Remove sregex support.
1840 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1842 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1844 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1845 PRIMARY first, then the clipboard. (Bug#7699)
1847 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1849 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1852 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1854 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1855 .emacs.elc (Bug#7530).
1857 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1858 image spec (Bug#7480).
1860 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1862 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1863 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1866 2010-12-20 Leo <sdl.web@gmail.com>
1868 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1869 always be performed (Bug#7680).
1871 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1873 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1874 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1877 * color.el: Move from gnus/.
1879 * vc/diff.el (diff-better-file-name): Function deleted.
1880 abbreviating file names causes problems with shell-quote-argument.
1881 (diff-no-select): Just use expand-file-name.
1883 * tool-bar.el (tool-bar--image-expression): New function.
1884 (tool-bar-local-item, tool-bar--image-exp): Use it.
1885 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1886 Use :enable instead of :visible to avoid changing the tool-bar
1887 configuration unnecessarily.
1889 * info.el (info-tool-bar-map): Add separators.
1891 2010-12-17 Ken Brown <kbrown@cornell.edu>
1893 * loadup.el: Use version numbers in Cygwin build.
1895 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1897 * ido.el (ido-file-internal): Ask for confirmation before
1898 overwriting an existing file (Bug#1238).
1900 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1902 * tool-bar.el (tool-bar-setup): Add separators.
1904 * menu-bar.el (featurep): Use menu-bar-separator.
1906 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1908 Migrate allout encryption provisions from pgg to epg.
1910 * allout.el (allout-toggle-current-subtree-encryption)
1911 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1912 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1913 for simpler universal argument interpretation.
1914 (allout-toggle-subtree-encryption): Adjust docstring to describe
1915 changed encryption provisions. Change fetch-pass to keymode-cue, for
1916 simpler universal argument interpretation. Remove provisions for
1917 handling key type and identity - they'll all be within
1918 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1919 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1920 for keypair recipients (universal argument > 1) and, in addition,
1921 associating the specified recipients with the outline (universal
1922 argument > 4) using a file local variable setting for
1923 'epa-file-encrypt-to'.
1924 Require epa, for recipients handling.
1925 Change how regexp filtering elements are named.
1926 Describe the problem with caching of incorrect symmetric-decryption
1928 Use the epa-passphrase-callback-function, in case the user is using
1930 Support saving of the selected keypair recipients when invoked with a
1932 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1934 Establish epg-context with armoring and default epg-protocol.
1935 Remove all passphrase cache, verification, and hinting code.
1936 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1937 No longer used, delete.
1938 (allout-mode): Adjust docstring to describe changed encryption
1939 provisions. Describe the problem with caching of incorrect
1940 symmetric-decryption keys.
1941 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1942 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1943 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1944 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1947 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1949 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1950 key selection prompt; make 'silent as default (Bug#7487).
1952 2010-12-16 Leo <sdl.web@gmail.com>
1954 * eshell/eshell.el (eshell-directory-name):
1955 Use locate-user-emacs-file (Bug#7578).
1957 2010-12-15 Glenn Morris <rgm@gnu.org>
1959 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1961 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1962 Scott Evans <gse@antisleep.com>
1964 * rect.el (rectange--default-line-number-format)
1965 (rectangle-number-line-callback): New functions.
1966 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1968 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1970 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1971 Delete unused variables.
1972 (move-to-column-force): Remove function obsolete since 21.2.
1974 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1976 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1977 (tramp-handle-insert-file-contents): Do not set permanent-local
1980 * net/tramp-cache.el (tramp-persistency-file-name):
1981 Use `locate-user-emacs-file' if fboundp.
1983 * net/tramp-sh.el (tramp-methods): Add "ksu".
1984 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1987 2010-12-14 Glenn Morris <rgm@gnu.org>
1989 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1990 (find-tag-marker-ring): Declare.
1991 (js-find-symbol): Require etags.
1993 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1995 (mail-alias-file): Don't autoload. Doc fix.
1996 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1997 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1998 Mark as obsolete, and risky.
1999 (mail-setup): Simplify.
2001 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2002 * mail/sendmail.el (build-mail-aliases): Update autoload.
2004 * dired.el (dired-trivial-filenames, dired-chown-program)
2005 (dired-auto-revert-buffer): Remove autoload cookies.
2006 * mail/sendmail.el (mail-recover-1): Require 'dired.
2008 * dired.el (dired-subdir-switches, dired-chown-program)
2009 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2010 Make into defcustoms.
2011 (dired-chown-program): Simplify initialization.
2013 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2015 2010-12-13 Romain Francoise <romain@orebokech.com>
2017 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2019 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2021 * net/netrc.el (netrc-point-at-eol): Remove the unused
2022 netrc-point-at-old and netrc-bound-and-true-p bindings.
2023 (netrc-parse): Cache the netrc contents.
2025 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2027 * subr.el (posn-col-row): Evaluate header-line-format in the
2028 context of the POSITION window's buffer.
2030 2010-12-13 Glenn Morris <rgm@gnu.org>
2032 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2033 (with-silent-modifications): Doc fixes.
2035 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2037 * net/tramp.el (tramp-action-password, tramp-process-actions):
2038 Revert previous from. Use `save-restriction'.
2040 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
2042 * calendar/diary-lib.el (diary-list-sexp-entries):
2043 Handle case of no newline at end of file. (Bug#7536)
2045 2010-12-13 Glenn Morris <rgm@gnu.org>
2047 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2049 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
2051 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2052 (tramp-process-actions): Do not widen.
2054 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2055 Protect buffer-modified value. (Bug#7557)
2057 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
2059 * log-edit.el (log-edit-changelog-entries):
2060 Regexp quote filename. (Bug#7505)
2062 2010-12-13 Tom Breton <tehom@panix.com>
2064 * cus-edit.el (custom-save-all):
2065 Bind print-length and print-level to nil. (Bug#7581)
2067 2010-12-13 Glenn Morris <rgm@gnu.org>
2069 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2070 Run hooks to update menu contents. (Bug#7586)
2072 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2073 file names, for the sake of MS Windows. (Bug#7588)
2075 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2077 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2078 empty lines without a leading space.
2080 2010-12-13 Leo <sdl.web@gmail.com>
2082 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2083 while mapping over marks (Bug#6810).
2085 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2087 * image-dired.el (image-dired-db-file)
2088 (image-dired-temp-image-file, image-dired-gallery-dir)
2089 (image-dired-temp-rotate-image-file): Set default values relative
2090 to image-dired-dir (Bug#7518).
2092 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2094 * format.el (format-decode-run-method): Pass args FROM and TO, not
2095 point-min and point-max, to shell-command-on-region (Bug#7488).
2097 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2099 * frame.el (blink-cursor-mode): Make default t for ns.
2101 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2103 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2105 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2107 * comint.el (comint-dynamic-list-input-ring)
2108 (comint-dynamic-complete-filename)
2109 (comint-replace-by-expanded-filename)
2110 (comint-dynamic-simple-complete)
2111 (comint-dynamic-list-filename-completions)
2112 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2114 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2117 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2119 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2122 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2124 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2127 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2129 * files.el (file-relative-name): Handle UNC file names on
2130 DOS/Windows. (Bug#4674)
2132 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2134 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2135 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2136 (epg-context-set-passphrase-callback): Mention that the callback
2137 is not called when used with GnuPG 2.x.
2139 2010-12-13 Glenn Morris <rgm@gnu.org>
2141 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2142 Ensure ps-footer-font-size-internal is initialized.
2143 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2145 2010-12-13 Kenichi Handa <handa@m17n.org>
2147 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2148 within condition-case.
2149 (rmail-show-mime): Don't use condition-case.
2150 (rmail-search-mime-message): New function.
2151 (rmail-search-mime-message-function): Set to
2152 rmail-search-mime-message.
2154 2010-12-13 Leo <sdl.web@gmail.com>
2156 * ido.el (ido-common-initialization): New function. (bug#3274)
2158 (ido-completing-read): Call it.
2160 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2162 * bookmark.el (bookmark-name-from-full-record): Rename back to
2163 this original name from `bookmark-name-from-record' reverting part
2164 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2165 As Drew Adams pointed out, there was no reason to cause churn for
2166 third-party callers.
2168 2010-12-12 Alan Mackenzie <acm@muc.de>
2170 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2171 template arglist, check that the current language supports this.
2173 2010-12-11 Glenn Morris <rgm@gnu.org>
2175 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2176 state of the file matches. (Bug#7544)
2177 (vc-bzr-register, vc-bzr-checkin)
2178 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2179 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2181 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2183 2010-12-11 Karel Klíč <kklic@redhat.com>
2185 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2187 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2189 Derive from prog-mode, use derived-mode-p, and fix up various
2190 minor style issues in lisp/progmodes.
2192 * progmodes/vhdl-mode.el (vhdl-mode):
2193 * progmodes/verilog-mode.el (verilog-mode):
2194 * progmodes/vera-mode.el (vera-mode):
2195 * progmodes/sql.el (sql-mode):
2196 * progmodes/scheme.el (scheme-mode):
2197 * progmodes/perl-mode.el (perl-mode):
2198 * progmodes/octave-inf.el (inferior-octave-mode):
2199 * progmodes/autoconf.el (autoconf-mode):
2200 * progmodes/m4-mode.el (m4-mode):
2201 * progmodes/inf-lisp.el (inferior-lisp-mode):
2202 * progmodes/idlwave.el (idlwave-mode):
2203 * progmodes/icon.el (icon-mode):
2204 * progmodes/idlw-help.el (idlwave-help-mode):
2205 * progmodes/dcl-mode.el (dcl-mode):
2206 * progmodes/idlw-shell.el (idlwave-shell-mode):
2207 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2208 (ebrowse-member-mode, ebrowse-electric-position-mode):
2209 Use define-derived-mode.
2211 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2212 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2213 (xscheme-debugger-mode-p, xscheme-send-string-1):
2214 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2215 (tcl-load-file, tcl-restart-with-file):
2216 * progmodes/ps-mode.el (ps-run-running):
2217 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2218 * progmodes/js.el (js--get-all-known-symbols):
2219 * progmodes/inf-lisp.el (inferior-lisp-proc):
2220 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2221 (idlwave-template, idlwave-update-buffer-routine-info)
2222 (idlwave-update-current-buffer-info)
2223 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2224 (idlwave-scan-class-info, idlwave-fix-keywords)
2225 (idlwave-list-buffer-load-path-shadows):
2226 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2227 (idlwave-toolbar-remove):
2228 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2229 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2230 (idlwave-shell-menu-def):
2231 * progmodes/idlw-complete-structtag.el
2232 (idlwave-prepare-structure-tag-completion):
2233 * progmodes/gud.el (gud-set-buffer):
2234 * progmodes/f90.el (f90-backslash-not-special):
2235 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2237 * progmodes/xscheme.el (xscheme-start)
2238 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2239 * progmodes/which-func.el (which-function):
2240 * progmodes/vhdl-mode.el (vhdl-set-style):
2241 * progmodes/verilog-mode.el (verilog-set-compile-command)
2242 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2243 (verilog-set-define, verilog-auto-reeval-locals):
2244 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2245 * progmodes/simula.el (simula-mode):
2246 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2247 * progmodes/python.el (python-check, python-mode):
2248 * progmodes/prolog.el (prolog-mode-variables):
2249 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2250 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2251 * progmodes/delphi.el (delphi-mode):
2252 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2253 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2254 (c-font-lock-init): Move make-local-variable to their setq.
2256 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2257 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2259 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2260 (sh-set-shell): Don't set require-final-newline since it's already done
2262 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2263 since we never set it.
2264 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2265 Use read-string and standard prompt.
2266 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2267 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2268 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2269 (meta-common-mode-map): Rename from meta-mode-map.
2270 Remove C-m binding, which is a user preference, not mode specific.
2271 (meta-common-mode): New major mode; replace meta-common-initialization.
2272 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2273 around with font-lock.
2274 * progmodes/etags.el (select-tags-table-mode):
2275 Derive from special-mode.
2276 * progmodes/octave-mod.el (octave-mode):
2277 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2278 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2279 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2280 Let define-derived-mode do its job.
2281 * progmodes/cpp.el (cpp-edit-mode-map):
2282 Move initialization into declaration.
2283 (cpp-edit-mode): Use define-derived-mode.
2284 (cpp-edit-load): Use derived-mode-p.
2285 * progmodes/mixal-mode.el (mixal-mode):
2286 * progmodes/f90.el (f90-mode):
2287 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2288 require-final-newline since prog-mode does it already.
2289 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2290 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2291 * progmodes/antlr-mode.el: Require cc-mode upfront.
2292 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2294 (antlr-directory-dependencies, antlr-show-makefile-rules):
2296 (antlr-language-option): Don't assume point-min==1.
2297 (antlr-mode): Use define-derived-mode.
2298 * progmodes/ada-mode.el: Use derived-mode-p.
2299 (ada-mode): Use define-derived-mode.
2300 Use hack-local-variables-hook.
2302 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2304 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2305 (texinfo-mode): Don't disable adaptive-fill-mode.
2306 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2307 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2308 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2309 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2310 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2311 (texinfo-insert-@quotation, texinfo-insert-@samp)
2312 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2313 (texinfo-insert-@uref): Use define-skeleton.
2314 (texinfo-insert-@-with-arg): Delete.
2316 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2318 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2319 nil, do quote archive member names. (Bug#6144)
2321 2010-12-10 Glenn Morris <rgm@gnu.org>
2323 * files.el (diff-no-select): Declare.
2325 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2326 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2328 * comint.el (comint-input-ring-file-name): Doc fix.
2330 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2332 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2334 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2335 Use them instead of `nil' and `>', respectively.
2336 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2338 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2339 and menu-bar-positive-p instead of `nil' and `>', respectively.
2342 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2344 * whitespace.el (whitespace-newline-mode): Code fix.
2346 2010-12-09 Glenn Morris <rgm@gnu.org>
2348 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2349 Rename functions without commas, update callers.
2351 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2353 * whitespace.el (whitespace-cleanup-region):
2354 Clean up spaces before tabs. (Bug#7582)
2356 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2358 * bookmark.el: Adjust parameter names and doc strings to resolve
2359 confusion over whether "bookmark" meant a bookmark name or a
2360 bookmark record. Along the way, shorten one function's name for
2361 similar reasons. (Issue #7548)
2362 (bookmark-name-from-record): New name for
2363 `bookmark-name-from-full-record'. All callers changed.
2364 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2365 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2366 (bookmark-get-annotation, bookmark-set-annotation)
2367 (bookmark-get-filename, bookmark-set-filename)
2368 (bookmark-get-position, bookmark-set-position)
2369 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2370 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2371 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2372 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2373 Rename `bookmark' parameter to `bookmark-name-or-record', to
2374 clearly show its role, and shorten or adjust doc strings accordingly.
2375 (bookmark-set-name): Same, and pass the parameter directly to
2376 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2377 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2378 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2379 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2380 and in some cases shorten doc string accordingly.
2381 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2382 and `new-name', and adjust an internal variable to avoid confusion.
2383 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2384 parameter in doc string.
2386 2010-12-08 Glenn Morris <rgm@gnu.org>
2388 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2389 from gdb's history file. (Bug#7575)
2391 * mail/emacsbug.el (report-emacs-bug):
2392 Try to handle some other mail clients.
2394 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2396 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2397 Use string-prefix-p.
2398 (file-name-version-regexp): New var.
2399 (file-name-sans-versions):
2400 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2401 (jka-compr-get-compression-info): Use dolist.
2402 (jka-compr-compression-info-list): Don't bother specifying
2403 version/backup regexps.
2405 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2407 * simple.el (just-one-space): Make argument n default to 1 if
2410 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2412 * electric.el (electric-indent-post-self-insert-function):
2413 Delete trailing newlines even if we don't reindent.
2415 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2417 * minibuffer.el (completion-at-point): Remove the `arg'.
2418 * bindings.el (complete-symbol): Move back from minibuffer.el.
2420 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2422 * simple.el (just-one-space): Delete newlines for negative arg.
2424 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2426 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2427 (ansi-color-filter-apply): Simplify.
2428 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2430 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2432 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2434 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2436 * dired.el (dired-use-ls-dired): Set default to a special
2437 "unspecified" value.
2438 (dired-insert-directory): When called the first time, check
2439 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2441 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2443 * replace.el: Add "collect" feature to occur.
2444 (occur-collect-regexp-history): New var.
2445 (occur-read-primary-args): Return a replace string for nlines,
2447 (occur): Extend the meaning of nlines.
2449 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2451 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2452 (which-func-update-1): Distinguish symbols from strings.
2453 (which-function): Stay within 80 columns.
2455 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2457 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2459 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2461 (comment-style): Use comment-styles's docs to describe values.
2463 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2465 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2466 and ns-show-prefs (Bug#7535).
2468 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2469 bindings (Bug#7535).
2471 2010-12-03 Glenn Morris <rgm@gnu.org>
2473 * nxml/nxml-mode.el: Require rng-nxml.
2474 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2475 Remove declarations.
2477 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2478 * nxml/rng-nxml.el, nxml/rng-valid.el:
2479 Remove leading `*' from defcustom docs.
2481 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2482 (normal-top-level-add-to-load-path, tty-handle-args):
2483 Convert comments to basic doc-strings.
2485 * net/browse-url.el (browse-url-url-at-point)
2486 (browse-url-default-browser): Remove autoload cookies.
2488 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2489 Remove more undefined cl functions.
2491 * vc/diff.el (diff-sentinel): Make new arguments optional.
2492 * ibuf-ext.el (diff-sentinel): Update declaration.
2494 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2496 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2497 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2498 (epg-context-set-passphrase-callback): Mention that the callback
2499 is not called when used with GnuPG 2.x.
2501 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2503 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2504 (tramp-file-name-port): Check also for `tramp-default-port'.
2505 (tramp-get-connection-name): New defun.
2506 (tramp-get-connection-process): Use it.
2507 (tramp-debug-message): Extend function exclude list.
2508 (tramp-drop-volume-letter): Fix doc string.
2510 * net/tramp-cmds.el: Remove solved todo item.
2514 * net/tramp-gvfs.el:
2516 * net/tramp-imap.el:
2517 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2518 and `tramp-default-user-alist', respectively.
2520 * net/tramp-gw.el (tramp-gw-open-connection):
2521 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2523 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2524 `tramp-file-name-port'.
2526 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2527 and "psftp". Exchange "%k" marker with options.
2528 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2529 Compute size of link target.
2530 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2531 `tramp-current-*' up due to gateway methods. Optimze computing of
2532 copy arguments. Use `tramp-get-connection-name' and
2533 `tramp-get-connection-buffer'. Improve debug messages.
2534 (tramp-compute-multi-hops): Remove port determination.
2535 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2537 * net/trampver.el: Update release number.
2539 2010-12-02 Glenn Morris <rgm@gnu.org>
2541 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2542 Avoid infinite loop over windows. (Bug#7492)
2544 * progmodes/flymake.el (flymake-check-file-limit):
2545 Allow nil to mean "no limit".
2546 (flymake-check-patch-master-file-buffer): Update for above change.
2547 Allow a .tex file-name extension to be optional.
2548 (flymake-master-tex-init): Also match \include statements.
2550 2010-11-30 Sam Steingold <sds@gnu.org>
2552 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2553 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2554 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2555 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2556 define-derived-mode').
2557 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2558 users who want to call `nxml-parent-document-set'.
2560 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2562 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2563 stand-alone lines, since that is handled by log-edit-match-to-eoh
2566 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2568 * dired.el (dired-get-filename): Replace backslashes with slashes
2569 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2570 * locate.el (locate-default-make-command-line): Don't consider
2571 drive letter and root directory part of
2572 `directory-listing-before-filename-regexp'. (Bug#7308)
2573 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2575 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2577 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2578 of :smie-open/close-alist.
2579 (smie-next-sexp): Make it accept a "start token" as argument.
2580 (smie-indent-keyword): Be careful not to misidentify tokens that span
2581 more than one line, as empty lines. Add argument `token'.
2583 2010-11-27 Kenichi Handa <handa@m17n.org>
2585 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2586 multipart subtypes, insert all as usual.
2588 * mail/rmail.el: Require rfc2047.
2590 2010-11-27 Kenichi Handa <handa@m17n.org>
2592 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2593 (rmail-mime-entity-disposition)
2594 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2595 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2596 (rmail-mime-save): Handle the case that the button's `data' is a
2598 (rmail-mime-insert-text): New function.
2599 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2600 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2601 (rmail-mime-insert-bulk): New function mostly copied from the old
2602 rmail-mime-bulk-handler.
2603 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2604 (rmail-mime-process-multipart): New function mostly copied from
2605 the old rmail-mime-multipart-handler.
2606 (rmail-mime-show): Just call rmail-mime-process.
2607 (rmail-mime-process): New function mostly copied from the old
2609 (rmail-mime-insert-multipart, rmail-mime-parse)
2610 (rmail-mime-insert, rmail-show-mime)
2611 (rmail-insert-mime-forwarded-message)
2612 (rmail-insert-mime-resent-message): New functions.
2613 (rmail-insert-mime-forwarded-message-function): Set to
2614 rmail-insert-mime-forwarded-message.
2615 (rmail-insert-mime-resent-message-function): Set to
2616 rmail-insert-mime-resent-message.
2618 * mail/rmailsum.el: Require rfc2047.
2619 (rmail-header-summary): Handle multiline Subject: field.
2620 (rmail-summary-line-decoder): Change the default to
2621 rfc2047-decode-string.
2623 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2624 (rmail-mime-feature): Change the default to `rmailmm'.
2625 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2626 (rmail-display-labels): Likewise.
2627 (rmail-show-message-1): Check rmail-enable-mime, and use
2628 rmail-show-mime-function for a MIME message. Decode the headers
2629 according to RFC2047.
2631 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2633 * progmodes/which-func.el (which-func-imenu-joiner-function):
2634 Return a string, as expected.
2635 (which-function-mode): Make sure we stop any previous timer before
2638 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2640 * net/tramp.el (tramp-default-method-alist)
2641 (tramp-default-user-alist, tramp-default-proxies-alist):
2642 Adapt custom options type. (Bug#7445)
2644 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2646 * progmodes/python.el: Add Ipython support (Bug#5390).
2647 (python-shell-prompt-alist)
2648 (python-shell-continuation-prompt-alist): New options.
2649 (python--set-prompt-regexp): New function.
2650 (inferior-python-mode, run-python, python-shell):
2651 Require ansi-color. Use python--set-prompt-regexp to set the comint
2652 prompt based on the Python interpreter.
2653 (python--prompt-regexp): New var.
2654 (python-check-comint-prompt)
2655 (python-comint-output-filter-function): Use it.
2656 (run-python): Use a pipe (Bug#5694).
2658 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2660 * progmodes/python.el (run-python): Doc fix.
2661 (python-keep-current-directory-in-path): New var (Bug#7454).
2663 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2665 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2666 Prompt user before actually printing.
2668 2010-11-27 Glenn Morris <rgm@gnu.org>
2670 * startup.el (package-enable-at-startup, package-initialize):
2671 Remove unnecessary declarations.
2673 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2675 * international/characters.el (glyphless-char-display-control):
2676 Exclude newline and TAB from the c0-control group.
2678 2010-11-27 Glenn Morris <rgm@gnu.org>
2680 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2681 (expand-mail-aliases): Remove unnecessary autoload.
2683 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2685 * shell.el (shell-dir-cookie-re): Move definition before use.
2687 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2688 Replace undefined CL functions.
2690 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2692 * simple.el (prog-mode): Set bidi-paragraph-direction to
2695 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2697 2010-11-26 Glenn Morris <rgm@gnu.org>
2699 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2700 diary-outlook-formats can be sensitive to calendar-date-style.
2701 (diary-outlook-formats): Simplify the default setting.
2702 (diary-from-outlook-internal): Pass subject and body as arguments.
2703 Use dolist rather than dotimes. Don't save the diary buffer.
2704 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2705 Pass subject and body as explicit arguments to the -internal function.
2707 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2709 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2710 parsing them. This makes mailto:...?subject=foo\nbar work.
2712 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2714 * vc/diff.el (diff): Fix last change.
2716 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2718 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2719 (pcase--dontcare-upats): New var.
2720 (pcase-let, pcase-let*): Generate better code.
2721 Accept the same bodies as `let'.
2722 (pcase-dolist): New macro.
2723 (pcase--trivial-upat-p): New helper function.
2724 (pcase--expand): Strip leading "(let nil" if any.
2726 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2728 * mail/mailclient.el (browse-url): Require.
2729 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2730 use the external browser function to send the mail (bug#7469).
2732 * net/browse-url.el (browse-url-browser-function): Revert the
2733 default back to the previous value, since the new value broke
2735 (browse-url-mailto-function): New variable for mailto: URLs.
2736 (browse-url): Use the new variable for mailto: URLs.
2738 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2740 * eshell/esh-cmd.el (eshell-parse-command):
2741 * eshell/esh-arg.el (eshell-parse-arguments):
2742 * eshell/em-script.el (eshell-source-file):
2743 Use with-silent-modifications.
2745 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2747 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2748 for a merge location.
2750 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2751 (vc-bzr-merge-branch): Always prompt.
2752 (vc-bzr-async-command): Use the full branch filename.
2754 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2756 * shell.el (shell): Use current-buffer by default if it's already
2757 a shell mode buffer and its process is dead.
2758 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2760 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2762 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2763 Mention that the keywords should be comma separated.
2765 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2767 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2768 Accept optional prefix arg meaning to prompt for a command.
2769 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2770 prefix arg meaning to prompt for a command.
2771 (vc-pull): Alias for vc-update.
2773 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2774 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2775 (vc-bzr-merge-branch): New functions, implementing merge-branch
2776 and pull operations.
2778 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2780 * Makefile.in: Fix up last merge.
2782 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2783 (diff-sentinel): Get them as arguments instead.
2784 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2785 (diff-file-local-copy, diff-better-file-name): New funs.
2786 (diff-no-select): Rename from diff-into-buffer.
2787 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2788 Prefer closures to buffer-local variables.
2789 (diff): Adjust accordingly.
2790 (diff-buffer-with-file): Move from files.el.
2791 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2792 (diff-buffer-internal): Remove.
2793 (diff-buffer-buffer): Remove.
2794 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2795 the buffer name used, and so as not to mess up windows and frames.
2797 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2799 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2800 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2801 (diff-buffer-with-file): Use it.
2802 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2805 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2807 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2808 \ref's or \pageref's value as default instead of initial input.
2810 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2812 * files.el (backup-by-copying-when-mismatch): The default value is
2815 * startup.el (normal-top-level):
2816 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2817 `backup-by-copying-when-mismatch'.
2819 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2821 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2823 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2825 * progmodes/python.el (python-font-lock-keywords):
2826 Highlight top-level augmented assignments (Bug#6445).
2828 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2830 * term/ns-win.el (ns-right-control-modifier)
2831 (ns-right-command-modifier): Defvar them.
2833 * cus-start.el (all): Add ns-right-control-modifier and
2834 ns-right-command-modifier (Bug#7458).
2836 2010-11-20 Glenn Morris <rgm@gnu.org>
2838 * emacs-lisp/authors.el (authors-ignored-files)
2839 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2841 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2843 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2844 (report-emacs-bug-parse-query-results)
2845 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2846 keywords used for querying the bug database to show them in the
2847 existing bugs buffer.
2849 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2851 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2853 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2855 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2857 * international/characters.el (glyphless-char-display-control):
2858 Make it a defcustom, with update-glyphless-char-display as its
2860 (top level): Don't call update-glyphless-char-display.
2862 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2864 Sync with Tramp 2.2.0.
2866 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2867 `file-remote-p' (due to compatibility).
2869 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2870 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2872 * net/trampver.el: Update release number.
2874 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2876 * faces.el (glyphless-char): Define value for `pc'.
2878 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2880 Implemented a bug querying mechanism.
2881 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2882 (report-emacs-bug-create-existing-bugs-buffer)
2883 (report-emacs-bug-parse-query-results)
2884 (report-emacs-bug-query-existing-bugs): New functions.
2886 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2888 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2889 a \ref{} or \pageref{} macro, then use its value as initial input.
2891 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2893 * calc/calc-units.el (math-build-units-table-buffer):
2894 calc/README: Mention that the TeX specific units won't use the
2895 `tex' prefix in TeX mode.
2896 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2897 prefix for units in TeX mode.
2899 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2901 * simple.el (kill-new, kill-append, kill-region):
2902 * comint.el (comint-kill-region): Make the yank-handler argument
2905 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2907 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2908 that are both openers (resp. closers) and something else.
2909 (smie-grammar): Loosen definition of valid values.
2910 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2911 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2912 (smie-indent-after-keyword): Adjust users.
2913 (smie-indent-keyword): Don't indent empty lines.
2915 * vc-hg.el (vc-hg-program): New var.
2916 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2917 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2919 2010-11-18 Glenn Morris <rgm@gnu.org>
2921 * emacs-lisp/autoload.el (autoload-find-destination): The function
2922 coding-system-eol-type may return non-numeric values. (Bug#7414)
2924 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2926 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2928 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2930 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2932 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2934 * textmodes/picture.el (picture-mouse-set-point): Don't use
2935 posn-col-row; explicitly compute the motion based on the posn at
2936 the window-start (Bug#7390).
2938 2010-11-18 Glenn Morris <rgm@gnu.org>
2940 * novice.el (disabled-command-function):
2941 Fix 2009-11-15 change. (Bug#7384)
2943 2010-11-18 Glenn Morris <rgm@gnu.org>
2945 * calendar/calendar.el (diary-iso-date-forms): Make elements
2946 mutually exclusive. (Bug#7377)
2948 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2950 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2951 when filling the remaining "unconstrained" values.
2953 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2955 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2958 * files.el (safe-local-variable-p): Gracefully handle errors.
2960 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2961 Use smie-indent-virtual when indenting relative to an opener.
2962 (smie-rule-separator): Use smie-rule-parent.
2963 (smie-indent-keyword): Consult rules, even for openers at bol.
2964 (smie-indent-comment-close): Try to align closer's content.
2966 2010-11-18 Glenn Morris <rgm@gnu.org>
2968 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2970 2010-11-18 Glenn Morris <rgm@gnu.org>
2972 * printing.el (pr-menu-bind): Doc fix.
2974 * speedbar.el (speedbar-toggle-images): Doc fix.
2976 * progmodes/python.el (python-shell): Doc fix.
2978 * wid-edit.el (widget-field-use-before-change)
2979 (widget-use-overlay-change): Doc fixes.
2981 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2983 Minor cleanup to improve style.
2984 * textmodes/rst.el (rst-update-section): Use point-marker.
2985 (rst-get-decoration): Eliminate unneeded assignment.
2986 (rst-promote-region, rst-straighten-decorations)
2987 (rst-section-tree, rst-adjust): Use point-marker.
2988 (rst-toc-mode-mouse-goto): Avoid setq.
2989 (rst-shift-region-guts, rst-shift-region-left)
2990 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2991 (rst-convert-bullets-to-enumeration): Use copy-marker.
2993 * minibuffer.el (completion-fail-discreetly): New var.
2994 (completion--do-completion): Use it.
2996 * electric.el (electric-pair-pairs): New var.
2997 (electric-pair-post-self-insert-function): Use it.
2998 (electric-layout-post-self-insert-function): Don't insert a before
2999 newline unless it's actually needed.
3001 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3003 * progmodes/python.el (run-python): Explain why we remove the current
3004 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3006 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3008 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3010 * progmodes/octave-mod.el: Rely on elecric-*-modes.
3011 (octave-mode-map): Don't bind ;, SPC, and LF.
3012 (octave-auto-indent, octave-auto-newline): Remove.
3013 (electric-layout-rules): Declare.
3014 (octave-mode): Set electric-layout-rules.
3015 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3016 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3017 (octave-electric-space): Remove.
3019 * electric.el (electric-layout-mode): New minor mode.
3020 (electric--after-char-pos): New function.
3021 (electric-indent-post-self-insert-function): Use it.
3022 (electric-layout-rules): New var.
3023 (electric-layout-post-self-insert-function): New function.
3024 (electric-indent-mode): Make them interact better.
3026 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3028 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3029 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3030 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3032 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
3034 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3035 Make sure to check inside the word (Bug#6761).
3037 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
3039 * startup.el (command-line): If the cursorColor resource is set,
3040 change the cursor face-spec (Bug#7392).
3042 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
3044 The main features of the following allout.el changes are:
3045 - implement user customization for the allout key bindings
3046 - add a customization control by which the user can inhibit use of
3047 a trailing Ctrl-H, so by default it's reserved for use with
3048 describe-prefix-bindings
3049 - adapt to new version of called-interactively-p, while
3050 maintaining backwards compatibility with old version
3051 - fix hotspot navigation so i works properly with meta-modified keys
3053 * allout.el (allout-keybindings, allout-bind-keys)
3054 (allout-keybindings-binding, allout-prefixed-keybindings)
3055 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3056 (allout-keybindings-list, allout-mode-map-adjustments)
3057 (allout-setup-mode-map): Establish allout-mode keymaps as user
3058 customizable settings, and also establish a customizable setting which
3059 regulates whether or not a trailing control-h is reserved for use with
3060 describe-prefix-bindings - and inhibit it by default, so that control-h
3061 *is* reserved for describe-prefix-bindings unless the user changes it.
3063 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3064 and accurately between modified and unmodified events, and handle
3065 modified events more comprehensively.
3067 * allout.el (allout-substring-no-properties):
3068 Alias to use or provide version of `substring-no-properties'.
3069 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3071 * allout.el (allout-next-single-char-property-change):
3072 Alias to use or provide version of `next-single-char-property-change'.
3073 (allout-annotate-hidden, allout-hide-by-annotation):
3074 Use `allout-next-single-char-property-change'.
3076 * allout.el (allout-select-safe-coding-system):
3077 Alias to use or provide version of `select-safe-coding-system'.
3078 (allout-toggle-subtree-encryption):
3079 Use `allout-select-safe-coding-system'.
3081 * allout.el (allout-set-buffer-multibyte):
3082 Alias to use or provide version of `set-buffer-multibyte'.
3083 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3085 * allout.el (allout-called-interactively-p): Macro for using the
3086 different versions of called-interactively-p identically, depending on
3087 the subroutine's argument signature.
3088 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3089 Use `(interactive "p")' instead of `(called-interactively-p)'.
3091 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3092 (allout-previous-visible-heading, allout-forward-current-level)
3093 (allout-backward-current-level, allout-show-children):
3094 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3096 * allout.el (allout-before-change-handler):
3097 Exempt edits to the (overlaid) character after the allout outline
3098 bullet from edit confirmation prompt.
3100 * allout.el (allout-add-resumptions):
3101 Ensure that it respects correct buffer for keybindings.
3103 * allout.el (allout-beginning-of-line):
3104 Use `allout-previous-single-char-property-change' alias for the sake of
3105 diverse compatibility.
3107 * allout.el (allout-end-of-line):
3108 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3110 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3112 * frame.el (frame-notice-user-settings): Don't clobber other
3113 user-set parameters when calling face-set-after-frame-default in
3114 response to background-color parameter (Bug#7373).
3116 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3118 * international/characters.el (glyphless-char-display-control):
3119 Rename from glyphless-char-control; all users changed. Doc fix.
3120 Signal an error if display method is not one of the recognized
3123 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3125 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3126 (tramp-compat-line-end-position): Remove them.
3128 * net/tramp.el (tramp-parse-rhosts-group)
3129 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3130 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3131 (tramp-parse-netrc-group, tramp-parse-putty-group)
3132 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3133 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3134 (tramp-sh-handle-file-selinux-context)
3135 (tramp-sh-handle-file-name-all-completions)
3136 (tramp-sh-handle-insert-directory)
3137 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3138 (tramp-wait-for-output, tramp-send-command-and-read)
3139 * net/tramp-smb.el (tramp-smb-read-file-entry)
3140 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3142 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3144 (tramp-remote-coding-commands): Add an alternative using "base64
3145 -d -i". This is needed for older base64 versions from GNU
3146 coreutils. Reported by Klaus Reichl
3147 <Klaus.Reichl@thalesgroup.com>.
3149 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3151 * simple.el (count-words-region): New function.
3153 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3155 * shell.el (shell-dir-cookie-re): New custom variable.
3156 (shell-dir-cookie-watcher): New function.
3158 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3159 and compilation-mode (bug#7350).
3161 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3162 highlight when one of them is empty.
3164 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3166 (skeleton-newline): New function.
3167 (skeleton-internal-1): Use it.
3169 * simple.el (open-line): `newline' may strip trailing space.
3171 2010-11-12 Kevin Ryde <user42@zip.com.au>
3173 * international/mule-cmds.el (princ-list): Use mapc.
3175 2010-11-12 Glenn Morris <rgm@gnu.org>
3177 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3178 Use it to replace all instances of "*Compile-Log*"
3180 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3182 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3185 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3187 * progmodes/modula2.el: Use SMIE and skeleton.
3188 (m2-mode-syntax-table): (*..*) can be nested.
3189 Add //...\n. Fix paren syntax.
3190 (m2-mode-map): Remove LF and TAB bindings.
3191 (m2-indent): Add safety property.
3192 (m2-smie-grammar): New var.
3193 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3194 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3195 (m2-mode): Use define-derived-mode.
3196 (m2-newline, m2-tab): Remove.
3197 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3198 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3199 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3200 (m2-import): Use define-skeleton.
3202 2010-11-11 Glenn Morris <rgm@gnu.org>
3204 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3206 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3207 (ls-lisp-verbosity): Add custom :set-after property.
3208 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3209 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3210 (ls-lisp-insert-directory): Update caller.
3211 (ls-lisp-set-options): New function.
3212 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3215 * play/landmark.el (lm-prompt-for-move):
3216 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3218 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3220 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3221 (idlwave-study-twins): Prefix dynamic local variable `name'.
3222 (idlwave-routine-twin-compare): Update for above change.
3224 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3225 Prefix dynamic local variables `name', `kwd', and `link'.
3226 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3227 * progmodes/idlw-complete-structtag.el
3228 (idlwave-complete-structure-tag-help):
3229 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3230 (idlwave-complete-sysvar-tag-help)
3231 (idlwave-complete-class-structure-tag-help):
3232 Update for above name changes.
3234 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3236 * net/browse-url.el (browse-url-browser-function): Change the
3237 default to use `browse-url-mail' on mailto: URLs.
3239 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3241 * emacs-lisp/package.el (package-read-all-archive-contents):
3242 Reset package-archive-contents to nil before re-reading.
3244 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3246 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3247 already found as misspellings by (flyspell-large-region), just
3248 do highlighting (bug#7322).
3250 2010-11-10 Glenn Morris <rgm@gnu.org>
3252 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3254 * emulation/edt.el (edt-with-position): New macro.
3255 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3256 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3257 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3259 * emulation/tpu-extras.el (tpu-with-position): New macro.
3260 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3262 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3264 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3265 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3266 (texinfo-master-menu, texinfo-insert-node-lines)
3267 (texinfo-multiple-files-update):
3268 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3269 Use line-beginning-position.
3271 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3272 No recent Emacs supports system-type `emx'.
3274 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3275 (ada-command-separator, ada-default-prj-properties)
3276 (ada-find-any-references): Update for above name change.
3278 * dirtrack.el (dirtrack-directory-function)
3279 (dirtrack-canonicalize-function):
3280 * filecache.el (file-cache-completion-ignore-case)
3281 (file-cache-case-fold-search, file-cache-ignore-case):
3282 * term.el (serial-port-is-file-p): Cosmetic change.
3284 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3285 Remove non-existent `windows-95' system-type.
3286 * dired.el (dired-chown-program): Remove non-existent `linux'
3289 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3290 (ping-program-options): Remove non-existent `linux' system-type.
3292 * startup.el (package-initialize): Update declaration.
3294 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3295 (ls-lisp-handle-switches): Use time-less-p.
3296 (ls-lisp-format-time): Use float-time.
3298 * textmodes/remember.el (remember-time-to-seconds): Remove.
3299 (remember-store-in-mailbox): Use float-time.
3301 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3303 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3304 never a real function.
3305 (with-no-warnings): Remove compat stub, now unused.
3306 (time-less-p): Doc fix.
3307 (time-to-number-of-days): Simplify.
3309 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3311 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3312 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3313 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3314 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3315 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3317 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3318 (eshell-shuffle-files, eshell-shorthand-tar-command)
3319 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3320 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3321 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3322 Prefix dynamic local variable `matches'.
3324 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3325 Prefix dynamic local variable `skeleton'.
3327 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3329 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3330 in mail buffer; make yank-action always a command that yanks original
3333 2010-11-09 Glenn Morris <rgm@gnu.org>
3335 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3337 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3339 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3340 completion field (bug#7211).
3342 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3343 Fix handling of backslash escapes.
3344 (python-quote-syntax): Adjust accordingly.
3346 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3348 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3349 (vc-mtn-workfile-branch): Adjust to new output format.
3351 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3353 * international/mule-cmds.el (princ-list): Mark as obsolete.
3355 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3357 * emacs-lisp/smie.el: New package.
3359 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3361 * files.el (backup-by-copying-when-mismatch):
3362 Set `permanent-local' property.
3364 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3365 `permanent-local' property for `backup-by-copying-when-mismatch'.
3367 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3369 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3371 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3373 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3374 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3375 AUTOINOUT for SV style multidimensional arrays, bug294.
3376 Reported by Eric Mastromarchi.
3377 (verilog-preprocess): Use with-current-buffer and
3378 font-lock-fontify-buffer to cleanup style issues.
3380 2010-11-09 Glenn Morris <rgm@gnu.org>
3382 * locate.el (locate, locate-mode): Doc fixes.
3384 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3386 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3387 user for confirmation.
3388 (server-force-stop): Use it.
3389 (server-start): Use server-force-stop for kill-emacs-hook, to
3390 avoid user interaction while killing Emacs.
3392 2010-11-09 Glenn Morris <rgm@gnu.org>
3394 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3395 (meta-indent-line): Simplify.
3397 * vc/emerge.el (emerge-line-number-in-buf):
3398 * textmodes/ispell.el (ispell-region):
3399 * textmodes/fill.el (current-fill-column):
3400 * progmodes/xscheme.el (xscheme-send-current-line):
3401 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3402 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3403 * progmodes/sh-script.el (sh-handle-prev-do):
3404 * progmodes/meta-mode.el (meta-indent-line):
3405 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3407 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3408 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3409 * progmodes/fortran.el (fortran-looking-at-if-then):
3410 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3411 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3412 (cperl-find-pods-heres):
3413 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3414 * net/quickurl.el (quickurl-list-insert):
3415 * net/ldap.el (ldap-search-internal):
3416 * net/eudc.el (eudc-expand-inline):
3417 * mail/sendmail.el (sendmail-send-it):
3418 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3419 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3420 (viper-brac-function):
3421 * calc/calc-yank.el (calc-do-grab-region):
3422 * calc/calc-keypd.el (calc-keypad-press):
3423 * term.el (term-move-columns, term-insert-spaces):
3424 * speedbar.el (speedbar-highlight-one-tag-line):
3425 * simple.el (current-word):
3426 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3427 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3429 * hippie-exp.el (he-line-beg):
3430 * epa.el (epa--marked-keys):
3431 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3432 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3433 (dired-relist-entry):
3434 * buff-menu.el (Buffer-menu-buffer):
3435 * array.el (current-line):
3436 * allout.el (allout-resolve-xref)
3437 (allout-latex-verbatim-quote-curr-line):
3438 Replace yet more uses of end-of-line etc with line-end-position, etc.
3440 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3442 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3443 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3444 (checkdoc-syntax-table): Initialize in the declaration.
3445 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3446 the mode on unconditionally.
3448 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3449 (extent-end-position, extent-start-position): Remove setf method for
3450 non-existing functions (bug#7319).
3452 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3454 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3455 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3456 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3457 (smie-prec2->grammar): Rename from smie-prec2-levels.
3458 (smie-grammar): Rename from smie-op-levels.
3459 (smie-indent--hanging-p): Rename from smie-hanging-p.
3460 (smie-rule-hanging-p): New alias.
3461 (smie-indent--bolp): Rename from smie-bolp.
3462 (smie-indent--hanging-p): New alias.
3463 (smie--token): New dynamically bound variable.
3464 (smie-indent--parent): New function.
3465 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3466 (smie-rule-next-p): Rename from smie-next-p.
3467 (smie-rule-prev-p): Rename from smie-prev-p.
3468 (smie-rule-sibling-p, smie-rule-parent)
3469 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3470 (smie-rule-separator-outdent): New var.
3471 (smie-indent--rule): Merge with smie-indent--column.
3472 (smie-indent-forward-token, smie-indent-backward-token):
3473 Also recognize close parens.
3474 (smie-indent-keyword): Don't use smie-indent--column any more.
3475 (smie-indent-after-keyword): Ignore closers by default.
3476 (smie-indent-line): Use with-demoted-errors.
3477 * progmodes/octave-mod.el (octave-smie-grammar):
3478 Rename from octave-smie-op-levels.
3479 (octave-smie-rules): Adjust to new behavior.
3480 * progmodes/prolog.el (prolog-smie-grammar):
3481 Rename from prolog-smie-op-levels.
3483 2010-11-07 Glenn Morris <rgm@gnu.org>
3485 * eshell/esh-util.el (subst-char-in-string)
3486 (directory-files-and-attributes): These compatibility definitions are
3487 not needed on any version of Emacs since at least 21.4.
3489 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3490 (verilog-get-end-of-line): Remove.
3491 (verilog-within-string, verilog-re-search-forward-substr)
3492 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3493 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3494 Use point-at-bol, point-at-eol.
3495 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3497 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3498 (electric-pascal-terminate-line, pascal-set-auto-comments)
3499 (pascal-indent-paramlist, pascal-indent-declaration)
3500 (pascal-get-lineup-indent, pascal-func-completion)
3501 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3502 Use point-at-bol, point-at-eol.
3503 * progmodes/flymake.el (flymake-line-beginning-position)
3504 (flymake-line-end-position): Remove.
3505 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3506 * eshell/esh-util.el (line-end-position, line-beginning-position):
3507 Remove compat definitions.
3509 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3511 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3512 Use line-end-position.
3514 * emacs-lisp/chart.el (chart-zap-chars):
3515 * play/decipher.el (decipher-set-map):
3516 * progmodes/ada-mode.el (ada-get-current-indent)
3517 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3518 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3519 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3520 (ada-get-all-references):
3521 * progmodes/cperl-mode.el (cperl-electric-paren)
3522 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3523 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3524 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3525 (cperl-word-at-point-hard):
3526 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3527 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3528 (idlwave-shell-display-line):
3529 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3530 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3531 * progmodes/js.el (js--re-search-forward-inner)
3532 (js--re-search-backward-inner):
3533 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3534 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3535 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3536 * textmodes/flyspell.el (flyspell-process-localwords):
3537 * textmodes/ispell.el (ispell-buffer-local-parsing)
3538 (ispell-buffer-local-dict, ispell-buffer-local-words):
3539 Use point-at-bol and point-at-eol.
3541 * speedbar.el (speedbar-generic-item-info)
3542 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3543 (speedbar-add-indicator, speedbar-check-vc-this-line)
3544 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3545 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3546 Replace more uses of end-of-line etc with line-end-position.
3548 2010-11-06 Glenn Morris <rgm@gnu.org>
3550 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3551 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3552 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3553 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3554 (texinfo-multiple-files-update):
3555 * textmodes/table.el (table--probe-cell-left-up)
3556 (table--probe-cell-right-bottom):
3557 * textmodes/picture.el (picture-tab-search):
3558 * textmodes/page-ext.el (pages-copy-header-and-position)
3559 (pages-directory-for-addresses):
3560 * progmodes/vera-mode.el (vera-get-offset):
3561 * progmodes/simula.el (simula-calculate-indent):
3562 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3563 * progmodes/prolog.el (end-of-prolog-clause):
3564 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3565 * progmodes/icon.el (indent-icon-exp):
3566 * progmodes/etags.el (tag-re-match-p):
3567 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3568 * progmodes/ebnf2ps.el (ebnf-begin-file):
3569 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3570 (dcl-save-local-variable):
3571 * play/life.el (life-setup):
3572 * play/gametree.el (gametree-looking-at-ply):
3573 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3574 * mail/sendmail.el (mail-mode-auto-fill):
3575 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3576 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3577 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3578 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3579 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3580 * type-break.el (type-break-file-keystroke-count):
3581 * term.el (term-replace-by-expanded-history-before-point)
3582 (term-skip-prompt, term-extract-string):
3583 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3584 (speedbar-contract-line, speedbar-toggle-line-expansion)
3585 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3586 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3587 * sort.el (sort-skip-fields):
3588 * skeleton.el (skeleton-internal-list):
3589 * simple.el (line-move-finish, line-move-to-column):
3590 * shell.el (shell-forward-command):
3591 * misc.el (copy-from-above-command):
3592 * makesum.el (double-column):
3593 * ebuff-menu.el (electric-buffer-update-highlight):
3594 * dired.el (dired-move-to-end-of-filename):
3595 * dframe.el (dframe-popup-kludge):
3596 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3597 * arc-mode.el (archive-get-lineno):
3598 Use line-end-position and line-beginning-position.
3600 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3601 (idlwave-study-twins): Prefix dynamic local `class'.
3602 (idlwave-routine-twin-compare): Update for above name change.
3604 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3605 Use boundp tests to silence compiler. Update for changed name of
3606 bytecomp-filename variable.
3608 * emulation/viper-cmd.el (viper-read-string-with-history):
3609 Prefix dynamic local `initial'.
3610 (viper-minibuffer-standard-hook): Update for above name change.
3612 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3613 (elint-init-form): Update for above name change.
3615 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3616 local variables `cbeg' and `cend' a prefix.
3617 (mail-extr-voodoo): Update for above name change.
3619 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3620 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3621 (reftex-toc-promote-action): Doc fix.
3623 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3624 `prompt', `data' a prefix.
3625 (reftex-select-post-command-hook, reftex-select-callback)
3626 (reftex-select-mouse-accept, reftex-select-read-cite):
3627 Update for above name changes.
3629 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3630 `refstyle' to reftex-refstyle.
3631 (reftex-offer-label-menu): Update for above name change.
3632 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3633 `refstyle' name change.
3635 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3636 with with-current-buffer.
3637 (diff, template): Give dynamic local variables a prefix.
3638 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3639 (emerge-line-number-in-buf): Update for above name change.
3640 (emerge-combine-versions-internal): Rename local `template' to
3641 emerge-combine-template.
3642 (emerge-combine-versions-edit): Update for above name change.
3644 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3646 * textmodes/reftex-cite.el
3647 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3648 entries with whitespace after \bibitem.
3649 (reftex-create-bibtex-file): Match entries containing numbers and
3650 symbol constituents. Make sure that entries with whitespace at
3651 various places are found.
3653 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3655 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3657 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3659 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3661 2010-11-05 Glenn Morris <rgm@gnu.org>
3663 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3664 (woman2-roff-buffer): Give local variable `request' a prefix.
3665 (woman0-macro): Rename argument `request' in the same way.
3666 (woman-request): New name for `request' dynamic variable.
3667 (woman-unquote, woman-forward-arg): Update for above name change.
3668 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3669 (woman1-unquote): New name for `unquote' dynamic variable.
3670 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3671 (woman-translations): Rename from `translations'. No longer global.
3672 (woman2-tr, woman-translate): Update for above name change.
3673 (woman-translate): Check for bound variable.
3674 (woman2-roff-buffer): Give local variable `translations' a prefix.
3676 * play/doctor.el: Give all local variables a prefix. Update callers.
3677 (doc$, doctor-put-meaning): Use backquote.
3679 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3680 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3682 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3683 variables bytes, ptr, op a prefix.
3684 (disassemble-offset): Update for above change.
3686 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3688 * emacs-lisp/package.el (package-unpack): Remove no-op.
3689 (package--builtins, package--dir): Doc fix.
3690 (package-activate-1, package-activate, package-install)
3691 (package-compute-transaction): Fix error message.
3692 (package-delete): Use delete-directory. Omit system packages.
3693 (package-initialize): Set package-alist to nil first.
3694 (package-menu-mark-delete, package-menu-mark-install): Don't add
3695 symbols that are inconsistent with the package state.
3696 (package-menu-execute): Perform deletions and installations as
3697 single batch operations.
3699 2010-11-03 Glenn Morris <rgm@gnu.org>
3701 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3702 (props): Remove unnecessary declaration.
3704 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3705 set-process-query-on-exit-flag.
3707 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3708 (reftex-toc-do-promote): Remove unused local `mpos'.
3709 (reftex-toc-restore-region): Make `mpos' local to this function.
3711 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3713 * play/landmark.el (lm-losing-threshold): Correct spelling.
3714 (lm-human-plays): Use new name.
3716 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3717 (gomoku-human-plays): Use new name.
3719 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3720 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3721 (gomoku-score-trans-table, gomoku-winning-threshold)
3722 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3724 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3726 * emacs-lisp/package.el: Don't put built-in packages in
3727 package-alist, to avoid loading inefficiencies.
3728 (package-built-in-p): Make VERSION optional, and treat it as a
3729 minimum acceptable version.
3730 (package-activate): Search separately for built-in packages.
3731 Emit a warning if a dependency fails.
3732 (define-package): Handle most common case, where there is no
3733 obsolete package, first.
3734 (package-compute-transaction): Print required version in error.
3735 (package--initialized): New variable.
3736 (list-packages): Use it.
3737 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3738 built-in packages in packages-alist; keep it separate.
3739 Set package--initialized.
3740 (describe-package): Avoid activating packages as a side-effect.
3741 Search separately for built-in packages.
3742 (describe-package-1): Handle the case where an elpa package is
3743 simultaneously built-in and available/installed.
3744 (package-installed-p, package--generate-package-list):
3745 Search separately for built-in packages.
3746 (package-load-descriptor): Doc fix.
3748 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3750 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3751 Handle __DATA__ and __END__.
3753 2010-11-02 Noah Friedman <friedman@splode.com>
3755 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3756 nil, do not ask to recompile files that are not already compiled,
3757 and do not recompile them.
3759 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3761 * emacs-lisp/package.el (package-initialize): Ensure that
3762 obsoleted built-in packages are not in package-activated-list
3764 (describe-package-1): Make the "installed" status override
3767 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3769 * subr.el (version-separator, version-regexp-alist): Remove '*'
3771 (version-list-<=, version<=, version=): Doc fix.
3773 2010-11-01 Kenichi Handa <handa@m17n.org>
3775 * faces.el (glyphless-char): Inherit underline for tty.
3777 2010-11-01 Kenichi Handa <handa@m17n.org>
3779 Implement various display methods for glyphless characters.
3781 * international/characters.el (char-acronym-table): New variable.
3782 (glyphless-char-control): New variable.
3783 (update-glyphless-char-display): New funciton.
3785 * faces.el (glyphless-char): New face.
3787 2010-11-01 Glenn Morris <rgm@gnu.org>
3789 * calendar/holidays.el (general-holidays, oriental-holidays)
3790 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3791 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3792 the definitions of their targets.
3794 * emacs-lisp/smie.el (smie): New custom group.
3795 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3797 * faces.el (xw-defined-colors, x-setup-function-keys):
3798 * mouse-sel.el (x-select-text):
3799 * term/w32console.el (x-setup-function-keys): Update declarations.
3801 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3803 * textmodes/ispell.el (comment-add): Declare.
3805 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3808 * info.el (finder-keywords-hash, package-alist): Declare.
3810 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3812 * finder.el (finder-compile-keywords): Don't use intern-soft,
3813 since package names may not yet exist in the obarray.
3815 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3817 * vc/vc-arch.el (vc-arch-checkin):
3818 * vc/vc-cvs.el (vc-cvs-checkin):
3819 * vc/vc-mtn.el (vc-mtn-checkin):
3820 * vc/vc-rcs.el (vc-rcs-checkin):
3821 * vc/vc-sccs.el (vc-sccs-checkin):
3822 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3823 since 2010-04-21 commit by Stefan Monnier.
3825 2010-11-01 Glenn Morris <rgm@gnu.org>
3827 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3829 * startup.el (package-enable-at-startup, package-initialize):
3832 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3835 2010-10-31 Julien Danjou <julien@danjou.info>
3837 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3838 (byte-recompile-directory):
3839 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3840 Use `byte-recompile-file'.
3842 2010-10-31 Glenn Morris <rgm@gnu.org>
3844 * cus-start.el: Handle standard values via a keyword.
3845 Only set version property if specified.
3846 (cursor-in-non-selected-windows, menu-bar-mode)
3847 (tool-bar-mode, show-trailing-whitespace):
3848 Do not specify standard values.
3849 (transient-mark-mode, temporary-file-directory): Use :standard.
3851 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3853 * term/x-win.el (x-get-selection-value): New function that gets
3854 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3856 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3858 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3859 preserve owner and group when editing files. (Bug#7289)
3861 2010-10-31 Glenn Morris <rgm@gnu.org>
3863 * speedbar.el (speedbar-mode):
3864 * play/fortune.el (fortune-in-buffer, fortune):
3865 * play/gomoku.el (gomoku-mode):
3866 * play/landmark.el (lm-mode):
3867 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3868 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3870 * select.el (x-selection): Mark it as an obsolete alias.
3872 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3874 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3875 major-mode (bug#7284).
3877 2010-10-31 Glenn Morris <rgm@gnu.org>
3879 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3880 rather than just an unused variable that inherits from the real one.
3882 2010-10-31 Alan Mackenzie <acm@muc.de>
3884 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3885 This fixes bug #7185.
3887 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3889 * startup.el (command-line): Search for package directories, and
3890 don't load package.el if none are found.
3892 * emacs-lisp/package.el (describe-package, list-packages):
3893 Call package-initialize if it has not been called yet.
3895 2010-10-30 Alan Mackenzie <acm@muc.de>
3897 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3898 which fontifies the tail of an enum.
3899 (c-basic-matchers-after): Insert a call to the above new function.
3900 This fixes bug #7264.
3902 2010-10-30 Glenn Morris <rgm@gnu.org>
3904 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3905 tool-bar-mode, transient-mark-mode. (Bug#7306)
3906 Include the :set property in the dumped Emacs.
3908 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3910 SMIE: change indent rules format, improve smie-setup.
3911 * emacs-lisp/smie.el (smie-precs-precedence-table)
3912 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3913 Mark them pure so the tables gets built at compile time.
3914 (smie-bnf-precedence-table): Store the closer-alist in the table.
3915 (smie-prec2-levels): Preserve the closer-alist.
3916 (smie-blink-matching-open): Be more forgiving in case of indentation.
3917 (smie-hanging-p): Rename from smie-indent--hanging-p.
3918 (smie-bolp): Rename from smie-indent--bolp.
3919 (smie--parent, smie--after): New dynamic vars.
3920 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3921 (smie-indent-rules): Remove.
3922 (smie-indent--offset-rule): Remove fun.
3923 (smie-rules-function): New var.
3924 (smie-indent--rule): New fun.
3925 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3926 (smie-indent-exps): Use it.
3927 (smie-setup): Setup paren blinking; add keyword args for token
3928 functions; extract closer-alist from op-levels.
3929 (smie-indent-debug-log): Remove var.
3930 (smie-indent-debug): Remove fun.
3931 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3932 (prolog-smie-rules): New fun to replace it.
3933 (prolog-mode-variables): Simplify.
3934 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3935 it's setup automatically.
3936 (octave-smie-indent-rules): Remove.
3937 (octave-smie-rules): New fun to replace it.
3938 (octave-mode): Simplify.
3940 2010-10-29 Glenn Morris <rgm@gnu.org>
3942 * files.el (temporary-file-directory): Remove (already defined in C).
3943 * cus-start.el: Add temporary-file-directory.
3945 * abbrev.el (abbrev-mode):
3946 * composite.el (auto-composition-mode):
3947 * menu-bar.el (menu-bar-mode):
3948 * simple.el (transient-mark-mode):
3949 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3950 that they do not define the associated variables twice.
3951 * simple.el (transient-mark-mode): Remove defvar.
3952 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3953 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3954 Handle multiple groups, and also custom-delayed-init-variables.
3955 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3957 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3959 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3960 (pcase-if): Add one minor optimization.
3961 (pcase-split-equal): Rename from pcase-split-eq.
3962 (pcase-split-member): Rename from pcase-split-memq.
3963 (pcase-u1): Add strings to the member optimization.
3964 Add `guard' variant of predicates.
3965 (pcase-q1): Add string patterns.
3967 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3969 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3971 2010-10-28 Glenn Morris <rgm@gnu.org>
3973 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3974 Move menu-bar related settings to ../menu-bar.el.
3975 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3976 Move ns-specific settings here from term/ns-win.el.
3978 * simple.el (x-selection-owner-p): Remove unused declaration.
3980 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3982 * minibuffer.el (completion-cycling): New var (bug#7266).
3983 (minibuffer-complete, completion--do-completion):
3984 Use completion--flush-all-sorted-completions.
3985 (minibuffer-complete): Only cycle if completion-cycling is set.
3986 (completion--flush-all-sorted-completions): Unset completion-cycling.
3987 (minibuffer-force-complete): Set completion-cycling.
3988 (completion-all-sorted-completions): Move declaration before first use.
3990 2010-10-28 Leo <sdl.web@gmail.com>
3992 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3993 which changes the order of matches seen by users (bug#7231).
3995 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3997 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3998 Don't confuse -omega as "-o mega".
4000 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4002 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4003 (log-edit-author): New dynamic var.
4004 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4005 to return the author if different from committer.
4006 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4008 * play/landmark.el: Adjust commenting convention.
4009 (lm-nil-score): Rename from nil-score.
4010 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4011 (OOOOscore): Move into a let in lm-score-trans-table.
4012 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4014 * electric.el (electric-indent-chars): Autoload.
4015 * progmodes/octave-mod.el (octave-mode):
4016 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4017 (ruby-mode-abbrev-table): Merge initialization and declaration.
4019 2010-10-27 Glenn Morris <rgm@gnu.org>
4021 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4024 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4026 * term/ns-win.el: Restore require of cl when compiling.
4027 (menu-bar-final-items): Remove non-existent `windows' menu.
4028 (ns-handle-nxopen): Optionally handle the temp-case.
4029 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4030 (ns-insert-file, ns-find-file): Use `pop'.
4032 2010-10-26 Glenn Morris <rgm@gnu.org>
4034 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4036 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
4038 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4040 * term/common-win.el (x-setup-function-keys): Remove most of the
4041 keymappings. Comment on the remaining ones.
4043 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
4045 * server.el (server-port): New option. (Bug#854)
4046 (server-start): Use server-port.
4048 2010-10-26 Glenn Morris <rgm@gnu.org>
4050 * term/ns-win.el (ns-version-string): Remove unused declaration.
4051 (ns-invocation-args): Change to x-invocation-args.
4052 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4053 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4054 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4055 Use x-invocation-args instead of ns-invocation-args.
4056 (ns-initialize-window-system, handle-args-function-alist):
4057 Use x-handle-args instead of ns-handle-args.
4058 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4059 * startup.el (command-line-ns-option-alist): Replace
4060 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4061 ns-handle-iconic with the x- equivalents.
4063 * term/common-win.el (x-select-enable-clipboard):
4064 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4066 * term/ns-win.el: No need to require cl when compiling.
4067 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4068 (xw-defined-colors): Use the common-win definitions.
4069 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4070 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4071 * term/common-win.el (x-select-text, x-alternatives-map)
4072 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4073 * loadup.el [ns]: Load common-win.
4075 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4077 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4078 recipients; expand mail aliases (Bug#7280).
4080 2010-10-25 Glenn Morris <rgm@gnu.org>
4082 * term/common-win.el (x-handle-switch): Simplify with pop.
4083 Optionally handle numeric switches.
4084 (x-handle-numeric-switch): Just call x-handle-switch.
4085 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4086 (x-handle-name-switch, x-handle-display, x-handle-args):
4089 * term/ns-win.el: Do not require easymenu.
4090 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4091 <spell>: Move adjustments to menu-bar.el.
4092 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4093 <separator-undo, spell>: Move ns-win's adjustments here.
4094 * loadup.el [ns]: Do not load easymenu.
4096 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4098 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4101 * startup.el (fancy-startup-tail): Instead of using inline images,
4102 refer to image files from etc/.
4104 * wid-edit.el (checkbox): Likewise.
4105 (widget-image-find): Center image specs.
4107 2010-10-24 Glenn Morris <rgm@gnu.org>
4109 * term/ns-win.el (x-select-text): Doc fix.
4110 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4111 (x-select-text): Move to term/common-win.
4112 * term/w32-win.el (xw-defined-colors): Move to common-win.
4113 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4114 (x-setup-function-keys, x-select-text): Move to common-win.
4115 * term/common-win.el (x-select-text, x-alternatives-map)
4116 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4119 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4121 * net/mairix.el (mairix-searches-mode-map):
4122 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4124 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4126 * verilog-mode.el (verilog-directive-re): Make this variable
4127 auto-built for efficiency of execution and updating.
4128 (verilog-extended-complete-re): Support 'pure' fucntion & task
4129 declarations (these have no bodies).
4130 (verilog-beg-of-statement): General cleanup to enable support of
4131 'pure' fucntion & task declarations (these have no bodies).
4132 These efforts together fix Verilog bug210 from veripool; which was also
4133 noticed by Steve Pearlmutter.
4134 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4135 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4136 Support `elsif. Reported by Shankar Giri.
4137 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4138 attribute handling for lining up declarations and assignments.
4139 (verilog-beg-of-statement-1): Fix issue where continued declaration
4140 is indented differently if it is after a begin..end clock.
4141 (verilog-in-attribute-p, verilog-skip-backward-comments)
4142 (verilog-skip-forward-comment-p): Support proper treatment of
4143 attributes by indent code. Reported by Jeff Steele.
4144 (verilog-in-directive-p): Fix comment to correctly describe function.
4145 (verilog-backward-up-list, verilog-in-struct-region-p)
4146 (verilog-backward-token, verilog-in-struct-p)
4147 (verilog-in-coverage-p, verilog-do-indent)
4148 (verilog-pretty-declarations): Use verilog-backward-up-list as
4149 wrapper around backward-up-list inorder to properly skip comments.
4150 Reported by David Rogoff.
4151 (verilog-property-re, verilog-endcomment-reason-re)
4152 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4153 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4154 of if). Reported by Max Bjurling and
4155 (verilog-calc-1): Fix for clocking block in modport
4156 declaration. Reported by Brian Hunter.
4158 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4160 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4161 (verilog-gate-keywords, verilog-read-sub-decls)
4162 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4163 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4164 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4165 (verilog-read-decls): Fix spaces in V2K module parameters causing
4166 mis-identification as interfaces, bug287.
4167 (verilog-read-decls): Fix not treating "parameter string" as a
4168 parameter in AUTOINSTPARAM.
4169 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4170 treating `elsif similar to `endif inside AUTOSENSE.
4171 (verilog-do-indent): Implement correct automatic or static task or
4172 function end comment highlight. Reported by Steve Pearlmutter.
4173 (verilog-font-lock-keywords-2): Fix highlighting of single
4174 character pins, bug264. Reported by Michael Laajanen.
4175 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4176 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4177 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4178 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4179 (verilog-pretty-expr): Fix interactive arguments, bug272.
4180 Reported by Mark Johnson.
4181 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4182 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4183 bug269. Suggested by Gary Delp.
4184 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4185 (verilog-preprocessor, verilog-set-compile-command):
4186 Create verilog-preprocess and verilog-preprocessor to show
4187 preprocessed output.
4188 (verilog-get-beg-of-line, verilog-get-end-of-line)
4189 (verilog-modi-file-or-buffer, verilog-modi-name)
4190 (verilog-modi-point, verilog-within-string): Move defmacro's
4191 before first use to avoid warning. Reported by Steve Pearlmutter.
4192 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4193 (verilog-colorize-region, verilog-highlight-buffer)
4194 (verilog-highlight-includes, verilog-highlight-modules)
4195 (verilog-highlight-region, verilog-mode): Rename colorize to
4196 highlight to match other packages. Disable module highlighting,
4197 as received speed complaints, reenable for experimentation only
4198 using new verilog-highlight-modules.
4199 (verilog-read-decls): Fix regexp stack overflow in very large
4200 AUTO_TEMPLATEs, bug250.
4201 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4202 (verilog-scan): Create verilog-save-buffer-state to standardize
4203 making insignificant changes that shouldn't call hooks.
4204 (verilog-save-no-change-functions, verilog-save-scan-cache)
4205 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4206 Create verilog-save-no-change-functions to wrap verilog-scan
4207 preservation, and fix to work with nested preserved calls.
4208 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4209 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4210 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4211 (verilog-submit-bug-report): Update variable list to be complete.
4212 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4213 breaking on-the-fly font-locking.
4214 (verilog-colorize-buffer, verilog-colorize-include-files)
4215 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4216 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4217 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4218 AUTOINST cell instance name, middle mouse button now finds-file on
4219 it. Suggested by Brad Dobbie.
4220 (verilog-alw-get-temps, verilog-auto-reset)
4221 (verilog-auto-sense-sigs, verilog-read-always-signals)
4222 (verilog-read-always-signals-recurse): Fix loop indexes being
4223 AUTORESET. AUTORESET now assumes any variables in the
4224 initialization section of a for() should be ignored.
4225 Reported by Dan Dever.
4226 (verilog-error-font-lock-keywords)
4227 (verilog-error-regexp-emacs-alist)
4228 (verilog-error-regexp-xemacs-alist): Fix error detection of
4229 Cadence HAL, reported by David Asher. Repair drift between the
4230 three similar error variables.
4231 (verilog-modi-lookup, verilog-modi-lookup-cache)
4232 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4233 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4234 Fix slow verilog-auto expansion on very large files.
4235 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4236 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4237 "{1*2{...". Broke in last revision.
4238 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4239 submodule connections with replications "{#{a},#{b}}".
4241 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4243 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4244 Fix typo in docstring.
4246 2010-10-24 Kenichi Handa <handa@m17n.org>
4248 * face-remap.el (text-scale-adjust): Call read-event with a proper
4251 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4253 * emacs-lisp/unsafep.el: Don't mark functions that display
4254 messages as safe. Suggested by Johan Bockgård.
4256 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4258 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4259 Turn comments into docstrings.
4261 * minibuffer.el (completion--replace): Move point where it belongs
4262 when there's a common suffix (bug#7215).
4264 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4266 Merge read-color and facemenu-read-color (Bug#7242).
4268 * faces.el (read-color): Use the completion code from
4269 facemenu-read-color. Require match in completion. Doc fix.
4271 * facemenu.el (facemenu-read-color): Alias for read-color.
4272 (facemenu-set-foreground, facemenu-set-background):
4275 * frame.el (set-background-color, set-foreground-color)
4276 (set-cursor-color, set-mouse-color, set-border-color):
4279 2010-10-24 Leo <sdl.web@gmail.com>
4281 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4282 argument of delete-file and delete-directory (Bug#7011).
4284 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4286 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4289 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4291 * emacs-lisp/package.el (package--generate-package-list): Make the
4292 *Packages* buffer read-only.
4294 2010-10-24 Alan Mackenzie <acm@muc.de>
4296 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4297 result of `c-beginning-of-decl-1' between invocations of a lambda
4298 function (Bug #7265).
4300 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4302 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4303 executable is not available on the system (Bug#7268).
4305 2010-10-24 Glenn Morris <rgm@gnu.org>
4307 * select.el (selection-coding-system, next-selection-coding-system):
4308 Sync doc with C versions.
4310 * w32-vars.el (x-select-enable-clipboard):
4311 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4312 * term/common-win.el (x-select-enable-clipboard): Move here.
4314 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4315 definition of C variable.
4317 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4318 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4319 Don't redefine things that are defined in C.
4320 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4321 (show-trailing-whitespace, auto-hscroll-mode)
4322 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4323 Set up the appropriate custom properties.
4325 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4328 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4329 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4330 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4331 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4333 2010-10-23 Glenn Morris <rgm@gnu.org>
4335 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4338 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4339 Sync docs with C version.
4341 * term/ns-win.el (xw-defined-colors):
4342 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4344 * term/pc-win.el (x-select-enable-clipboard):
4345 * term/x-win.el (x-select-enable-clipboard):
4346 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4348 * comint.el (comint-password-prompt-regexp): Make it less vague.
4351 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4353 * help.el (finder-by-keyword): Remove unnecessary autoload.
4355 2010-10-22 Glenn Morris <rgm@gnu.org>
4357 * loadup.el: Unconditionally load float-sup.
4358 * paren.el (show-paren-delay):
4359 * emacs-lisp/float-sup.el:
4360 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4361 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4362 (lazy-lock-stealth-verbose): Assume float support.
4363 * ps-print.el: Assume float support on Emacs.
4364 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4365 Remove non-float branch.
4367 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4368 src/Makefile no longer being pre-processed.
4370 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4372 * emacs-lisp/find-func.el (find-library): Use test-completion.
4374 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4376 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4378 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4380 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4381 space in stat format string.
4382 (tramp-send-command): Unset $PS1 when using here documents, in
4383 order not to get several prompts.
4384 (tramp-get-inline-coding): Return `nil' in case of errors.
4386 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4388 * hexl.el (hexl-mode, hexl-mode-exit):
4389 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4390 (hexl-revert-buffer-function): New function.
4391 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4393 2010-10-19 Alan Mackenzie <acm@muc.de>
4395 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4396 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4397 that these keywords aren't wrongly matched as identifiers.
4399 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4400 setting of c-new-BEG and c-new-END from c-before-change to
4401 c-after-change. (Bug#7181)
4403 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4405 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4408 * custom.el (custom-theme-set-variables): Likewise.
4409 (load-theme): Add custom-theme-set-faces and
4410 custom-theme-set-variables to safe-functions while loading.
4411 (custom-enabled-themes): Mark as risky.
4413 2010-10-18 Julien Danjou <julien@danjou.info>
4415 * bindings.el: Remove end dashes in default mode-line-format.
4417 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4419 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4420 to delete-forward-char.
4422 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4423 deletechar, and hence delete-forward-char.
4425 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4427 * repeat.el (repeat): Use read-key (bug#6256).
4429 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4431 * emacs-lisp/unsafep.el: Don't mark functions that display
4432 messages as safe. Suggested by Johan Bockgård.
4434 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4436 * minibuffer.el (completion--replace): Move point where it belongs
4437 when there's a common suffix (bug#7215).
4439 2010-10-19 Kenichi Handa <handa@m17n.org>
4441 * international/characters.el: Add category '|' (word breakable)
4442 to fullwidth characters.
4444 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4446 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4447 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4448 order to make stat results a float. Patch by Andreas Schwab
4449 <schwab@linux-m68k.org>.
4451 2010-10-18 Julien Danjou <julien@danjou.info>
4453 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4454 hidden by `make-pointer-invisible'.
4456 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4458 * files.el (locate-file-completion-table): Strip non-matching elements
4459 before checking length of list (bug#7238).
4461 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4463 * custom.el (custom-theme-set-variables): Mark as a safe function.
4464 (load-theme): Check forms using unsafep.
4466 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4468 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4470 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4471 Fix aspell data file searching (bug#7230).
4473 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4475 * cus-theme.el (custom-theme--migrate-settings): New var.
4476 (customize-create-theme): Allow editing the `user' theme.
4477 (custom-theme-add-variable, custom-theme-add-var-1)
4478 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4479 to the front of each variable or face widget.
4480 (custom-theme-write): Save theme settings in the correct order.
4481 Optionally, remove saved settings from user customizations.
4482 (custom-theme-write-variables, custom-theme-write-faces):
4483 Save only the checked widgets.
4484 (customize-themes): Add a link for migrating custom settings.
4486 * custom.el (custom-declare-theme, provide-theme):
4487 Use custom-theme-name-valid-p.
4488 (custom-theme-name-valid-p): Remove checks that are now
4489 unnecessary since themes no longer obey load-path.
4491 * cus-edit.el (custom-variable-value-create): For the simple
4492 style, hide documentation string when hidden.
4494 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4496 * cus-edit.el (custom-variable, custom-face): Combine the
4497 :inhibit-magic and :display-style properties into a single
4498 :custom-style property.
4499 (custom-toggle-hide-variable, custom-toggle-hide-face):
4500 New functions. If hiding an edited value, save it to :shown-value.
4501 (custom-variable-value-create, custom-face-value-create): Use them.
4502 (custom-magic-reset): Allow magic property to be unset.
4504 * custom.el: Custom themes no longer use load-path.
4505 (custom-theme-load-path): New option. Change built-in theme
4507 (custom-enabled-themes): Add custom-theme-load-path dependency.
4508 (custom-theme--load-path): New function.
4509 (load-theme, custom-available-themes): Use it.
4511 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4512 (customize-themes): Link to custom-theme-load-path variable.
4513 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4514 :custom-style property.
4516 * themes/*.el: Moved to etc/.
4518 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4520 * textmodes/reftex-cite.el
4521 (reftex-extract-bib-entries-from-thebibliography): Do not move
4522 point when searching for \bibitem entries. Match entries with
4523 spaces or tabs in front of arguments.
4525 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4527 * cus-theme.el (customize-create-theme): Delete overlays after
4528 erasing. If given a THEME arg, display only the faces of that arg
4529 instead of custom-theme--listed-faces.
4530 (custom-theme-variable-menu, custom-theme-variable-action)
4531 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4532 (custom-theme-add-variable, custom-theme-add-face): Apply value
4533 from the theme settings, instead of the current value.
4534 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4535 (custom-theme-visit-theme): Allow calling outside theme buffers.
4536 (custom-theme-merge-theme): Don't enable the theme when merging.
4537 (custom-theme-write-variables, custom-theme-write-faces): Use the
4538 :shown-value properties to save buffer values, not global ones.
4539 (customize-themes): Display a warning about user customizations.
4541 * cus-edit.el (custom-variable-value-create)
4542 (custom-face-value-create): Obey new special properties
4543 :shown-value and :inhibit-magic.
4545 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4547 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4548 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4551 2010-10-14 Kenichi Handa <handa@m17n.org>
4553 * mail/rmail.el (rmail-show-message-1): Catch an error of
4554 base64-decode-region and just show an error message (bug#7165).
4556 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4557 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4558 a font-spec (bug#7197).
4560 2010-10-14 Glenn Morris <rgm@gnu.org>
4562 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4564 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4566 * international/mule.el (define-coding-system):
4567 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4568 * composite.el (compose-region): Fix typo in docstring.
4570 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4572 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4573 only after checking the theme-face property.
4575 * faces.el (face-spec-reset-face): Reset all attributes in one
4576 single call to set-face-attribute.
4577 (face-spec-match-p): Make it a defsubst.
4578 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4579 (x-create-frame-with-faces, tty-create-frame-with-faces)
4580 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4581 frame-set-background-mode, since they are recomputed immediately
4582 afterwards in face-set-after-frame-default.
4583 (face-set-after-frame-default): Minor optimization.
4584 (cursor): Provide non-trivial defface spec.
4586 * custom.el (custom-theme-recalc-face): Simplify.
4588 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4590 * calc/calc-alg.el (math-var): Rename from `var'.
4591 (math-is-polynomial, math-is-poly-rec): Replace `var'
4594 * calc/calcalg2.el (math-var): Rename from `var'.
4595 (calcFunc-table, math-scan-for-limits): Replace `var'
4598 2010-10-13 Glenn Morris <rgm@gnu.org>
4600 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4602 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4604 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4606 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4608 * net/tls.el (tls-program): Remove spurious %s from openssl.
4609 (tls-starttls-switches): Remove starttls hack.
4610 (open-tls-stream): Ditto.
4611 (tls-find-starttls-argument): Ditto.
4613 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4615 * image.el (image-library-alist): Declare as obsolete alias.
4616 (image-type-available-p): Use `dynamic-library-alist'.
4618 * term/w32-win.el (dynamic-library-alist):
4619 Use instead of `image-library-alist'.
4621 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4623 * subr.el (last): Make it faster. (Bug#7174)
4625 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4627 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4629 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4631 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4632 (describe-theme-1): Extract doc from unloaded themes.
4634 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4636 * themes/tango-theme.el:
4637 * themes/tango-dark-theme.el:
4638 * themes/wheatgrass-theme.el: New files.
4640 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4642 * cus-theme.el (describe-theme, customize-themes)
4643 (custom-theme-save): New commands.
4644 (custom-new-theme-mode-map): Bind C-x C-s.
4645 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4646 (customize-create-theme): New optional arg THEME.
4647 (custom-theme-revert): Use it.
4648 (custom-theme-visit-theme): Remove dead code.
4649 (custom-theme-merge-theme): Use custom-available-themes.
4650 (custom-theme-write): Make interactive.
4651 (custom-theme-write): Use custom-theme-name-valid-p.
4652 (describe-theme-1, custom-theme-choose-revert)
4653 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4655 (custom-theme-allow-multiple-selections): New option.
4656 (custom-theme-choose-mode): New major mode.
4658 * custom.el (custom-theme-set-variables): Remove dead code.
4659 Obey custom--inhibit-theme-enable.
4660 (custom--inhibit-theme-enable): New var.
4661 (provide-theme): Obey it.
4662 (load-theme): Replace load with manual read/eval, in order to
4663 check for correctness. Use custom-theme-name-valid-p.
4664 (custom-theme-name-valid-p): New function.
4665 (custom-available-themes): Use it.
4667 * cus-edit.el (custom--initialize-widget-variables): New function.
4668 (Custom-mode): Use it.
4670 * cus-face.el (custom-theme-set-faces): Remove dead code.
4671 Obey custom--inhibit-theme-enable.
4673 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4675 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4677 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4679 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4681 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4682 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4683 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4685 * cus-start.el (all): ns-right-alternate-modifier is new.
4687 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4689 * emacs-lisp/lisp.el (lisp-completion-at-point):
4690 Use emacs-lisp-mode-syntax-table for the whole function.
4692 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4694 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4695 instead of font-lock-mode before adding keywords.
4696 Remove hi-lock-mode off code. Remove inhibit hack.
4697 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4698 non-nil; removed hook inhibit hack.
4700 2010-10-12 Glenn Morris <rgm@gnu.org>
4702 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4703 (load-path-shadows-find): ... to this.
4704 (list-load-path-shadows): Update for above change.
4706 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4708 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4710 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4711 Fix comment for declare-function.
4713 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4715 * custom.el (custom-fix-face-spec): New function; code moved from
4716 custom-face-edit-fix-value.
4717 (custom-push-theme): Use it when checking if a face has been
4718 changed outside customize.
4719 (custom-available-themes): New function.
4720 (load-theme): Use it.
4722 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4724 * custom.el (custom-push-theme): Cleanup (use cond).
4725 (disable-theme): Recompute the saved-face property.
4726 (custom-theme-recalc-face): Follow face alias before setting prop.
4728 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4729 New variables, containing checkbox images.
4731 * startup.el (fancy-startup-tail):
4732 * wid-edit.el (checkbox): Use them.
4734 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4736 * shell.el (shell-mode-map):
4737 * progmodes/modula2.el (m2-mode-map):
4738 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4739 * play/mpuz.el (mpuz-mode-map):
4740 * play/landmark.el (lm-mode-map):
4741 * play/decipher.el (decipher-mode-map):
4742 * play/5x5.el (5x5-mode-map):
4743 * net/telnet.el (telnet-mode-map):
4744 * net/quickurl.el (quickurl-list-mode-map):
4745 * net/mairix.el (mairix-searches-mode-map):
4746 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4747 * net/dig.el (dig-mode-map):
4748 * mail/mspools.el (mspools-mode-map):
4749 * hexl.el (hexl-mode-map):
4750 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4751 (wordstar-C-o-map, wordstar-C-q-map):
4752 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4753 * emacs-lisp/chart.el (chart-map):
4754 * edmacro.el (edmacro-mode-map):
4755 * erc/erc-list.el (erc-list-menu-mode-map):
4756 * array.el (array-mode-map): Declare and define in one step.
4758 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4760 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4762 * epa.el (epa-passphrase-callback-function): Display filename
4763 passed as the 3rd arg.
4764 * epa-file.el (epa-file-passphrase-callback-function):
4765 Pass filename to epa-passphrase-callback-function.
4767 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4769 * cus-edit.el (custom-face-widget-to-spec)
4770 (custom-face-get-current-spec, custom-face-state): New functions.
4771 (custom-face-set, custom-face-mark-to-save)
4772 (custom-face-value-create, custom-face-state-set): Use them.
4774 * cus-theme.el (custom-theme--listed-faces): New var.
4775 (customize-create-theme): Use *Custom Theme* as the buffer name.
4776 Set revert-buffer-function. Optional arg BUFFER. Insert all
4777 faces listed in custom-theme--listed-faces.
4778 (custom-theme-revert): New function.
4779 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4781 (custom-theme-write): Prompt for theme name if empty.
4782 (custom-theme-write-variables): Use dolist.
4783 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4785 2010-10-09 Alan Mackenzie <acm@muc.de>
4787 Enhance fontification of declarators to take account of the
4788 presence/absence of "typedef".
4790 * cc-engine.el (c-forward-type): New &optional param
4792 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4793 presence of either or both of a "struct"-like keyword and "typedef".
4795 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4796 fontification of declarators which follow a "}".
4797 (c-font-lock-declarations): Fontify declarators according to the
4798 presence/absence of "typedef".
4800 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4802 (c-typedef-decl-key): New lang variable built from
4803 c-typedef-decl-kwds.
4805 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4807 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4808 since that's too annoying. Move the filter groups commands to
4811 * epa.el (epa-passphrase-callback-function): Say what we're
4812 querying the password for.
4814 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4815 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4817 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4819 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4820 (custom-magic-value-create): Pad button tags with spaces.
4821 (custom-face-edit): New variable.
4822 (custom-face-value-create): Determine whether to use the usual
4823 face editor here, instead of using custom-face-selected.
4824 Pass face defaults to custom-face-edit widget.
4825 (custom-face-selected, custom-display-unselected): Delete widgets.
4826 (custom-display-unselected-match): Function removed.
4827 (custom-face-set, custom-face-mark-to-save):
4828 Accept custom-face-edit widgets as the direct widget child.
4830 * wid-edit.el (widget--completing-widget): New var.
4831 (widget-default-complete): Bind it when doing completion.
4832 (widget-string-complete, widget-file-complete): Use it.
4834 2010-10-09 Glenn Morris <rgm@gnu.org>
4836 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4837 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4838 (holiday-hebrew-misc): Small simplifications.
4840 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4842 * net/browse-url.el: Don't require thingatpt, term, dired,
4843 executable, or w3-auto when compiling.
4844 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4846 (browse-url-text-emacs): Require term.
4848 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4850 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4852 2010-10-08 Glenn Morris <rgm@gnu.org>
4854 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4856 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4857 (shadows-compare-text-p): Make it an obsolete alias for...
4858 (load-path-shadows-compare-text): ... new name.
4859 (find-emacs-lisp-shadows): Update for above name change.
4860 (load-path-shadows-same-file-or-nonexistent): New name for the old
4861 shadow-same-file-or-nonexistent.
4863 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4865 * minibuffer.el (completion--some, completion--do-completion)
4866 (minibuffer-complete-and-exit, minibuffer-completion-help)
4867 (completion-basic-try-completion)
4868 (completion-basic-all-completions)
4869 (completion-pcm--find-all-completions): Use lexical-let to
4870 avoid some false matches in variable completion (Bug#7056)
4872 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4874 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4876 2010-10-08 Leo <sdl.web@gmail.com>
4878 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4879 return non-nil if the file exists (Bug#7090).
4881 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4883 * minibuffer.el (completion--replace):
4884 Better preserve markers (bug#7138).
4886 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4888 * server.el (server-process-filter): Doc fix.
4890 2010-10-08 Drew Adams <drew.adams@oracle.com>
4892 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4894 2010-10-08 Glenn Morris <rgm@gnu.org>
4896 * vc/ediff-wind.el (ediff-setup-control-frame):
4897 * vc/ediff-ptch.el (ediff-default-backup-extension):
4898 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4899 (ediff-exec-process): Remove system-types emx, windows-95.
4901 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4903 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4905 * cus-edit.el (custom-variable, custom-face): Doc fix.
4906 (custom-face-edit): Add value-create attribute.
4907 (custom-face-edit-value-create)
4908 (custom-face-edit-value-visibility-action): New functions.
4909 Hide unused face attributes by default, and add a visibility toggle.
4910 (custom-face-edit-deactivate): Show empty values with shadow face.
4911 (custom-face-selected): Only use this for face specs with default
4913 (custom-face-value-create): Cleanup.
4915 * wid-edit.el (widget-checklist-value-create): Use dolist.
4916 (widget-checklist-match-find): Make second arg optional.
4918 2010-10-07 Glenn Morris <rgm@gnu.org>
4920 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4923 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4924 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4925 load-path-shadows-mode, update references.
4926 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4927 Rename variable and button.
4928 (list-load-path-shadows): Update button caller.
4930 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4932 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4933 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4934 (smie-merge-prec2s): Handle those new entries.
4935 (smie-prec2-levels): Only set precedence to nil for actual
4937 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4938 that is now unnecessary.
4940 2010-10-07 Miles Bader <miles@gnu.org>
4942 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4944 2010-10-07 Glenn Morris <rgm@gnu.org>
4946 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4947 (mail-position-on-field): Remove declarations.
4948 (mail-position-on-field): Autoload it.
4949 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4950 and mail-header-end. Don't require sendmail.
4952 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4953 (shadow-mode): New mode.
4954 (shadow-find-file): New button.
4955 (list-load-path-shadows): Use shadow-mode and buttons.
4957 * iimage.el (iimage-version): Remove.
4958 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4959 Turn into defcustoms.
4960 (iimage-mode-map): Give it a doc string.
4962 * calendar/appt.el (appt-activate): Give a warning rather than an error
4963 if there is no diary-file.
4965 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4967 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4968 Use `tramp-handle-find-backup-file-name'.
4970 2010-10-06 Glenn Morris <rgm@gnu.org>
4972 * font-core.el (font-lock-defaults-alist): Remove variable.
4973 (font-lock-mode): Doc fix.
4974 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4975 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4976 (font-lock-set-defaults): Doc fix.
4977 Do not consult font-lock-defaults-alist.
4979 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4981 * emacs-lisp/cl.el: No longer provide cl-19.
4983 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4985 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4986 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4987 New defuns, taken from tramp-smb.el.
4988 (tramp-coding-system-change-eol-conversion)
4989 (tramp-set-process-query-on-exit-flag): Remove.
4991 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4992 (tramp-compat-coding-system-change-eol-conversion)
4993 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4996 * net/tramp-gvfs.el:
4997 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4998 by `tramp-compat-set-process-query-on-exit-flag'.
5000 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5001 Use `tramp-handle-directory-files-and-attributes',
5002 `tramp-handle-file-exists-p' and
5003 `tramp-handle-file-newer-than-file-p'.
5004 (tramp-imap-handle-file-exists-p)
5005 (tramp-imap-handle-file-executable-p)
5006 (tramp-imap-handle-file-readable-p)
5007 (tramp-imap-handle-directory-files-and-attributes)
5008 (tramp-imap-handle-file-newer-than-file-p): Remove.
5010 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5011 by `tramp-compat-set-process-query-on-exit-flag' and
5012 `tramp-coding-system-change-eol-conversion' by
5013 `tramp-compat-coding-system-change-eol-conversion'.
5015 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5016 Use `tramp-handle-directory-files-and-attributes',
5017 `tramp-handle-file-exists-p' and
5018 `tramp-handle-file-newer-than-file-p'.
5019 (tramp-smb-handle-directory-files-and-attributes)
5020 (tramp-smb-handle-file-exists-p)
5021 (tramp-smb-handle-file-newer-than-file-p): Remove.
5022 (tramp-smb-maybe-open-connection):
5023 Replace `tramp-set-process-query-on-exit-flag' by
5024 `tramp-compat-set-process-query-on-exit-flag'.
5026 2010-10-05 Glenn Morris <rgm@gnu.org>
5028 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5030 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
5032 Continue reorganization of load dependencies. (Bug#7156)
5034 * net/tramp.el (tramp-handle-file-local-copy-hook)
5035 (tramp-delete-temp-file-function): Move down.
5036 (tramp-exists-file-name-handler): Move up.
5037 (tramp-register-file-name-handlers): Simplify autoload.
5038 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5039 (tramp-handle-directory-files, tramp-handle-dired-uncache)
5040 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5041 (tramp-handle-file-name-completion)
5042 (tramp-handle-file-name-directory)
5043 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5044 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5045 (tramp-handle-find-backup-file-name)
5046 (tramp-handle-insert-file-contents, tramp-handle-load)
5047 (tramp-handle-substitute-in-file-name)
5048 (tramp-handle-unhandled-file-name-directory)
5049 (tramp-mode-string-to-int, tramp-local-host-p)
5050 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5052 * net/tramp-gvfs.el (top):
5053 * net/tramp-smb.el (top): Do not require 'tramp-sh.
5055 * net/tramp-sh.el (all): Move several objects to tramp.el, see
5056 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5058 2010-10-04 Glenn Morris <rgm@gnu.org>
5060 * calendar/appt.el (appt-add): Ensure reminders are enabled.
5061 (appt-activate): Give status messages.
5063 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5065 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
5066 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5067 `gnutls-negotiate' (formerly `starttls-negotiate').
5068 Remove trivial wrapper `starttls-open-stream'.
5070 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5072 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5073 log-outgoing commands.
5074 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5075 to create a buffer local revert-buffer-function variable.
5076 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5077 revert-buffer-function lambda.
5079 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5081 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5082 `gnutls-boot'. Make TYPE the only required parameter.
5083 Allow TRUSTFILES and KEYFILES to be lists.
5084 (open-ssl-stream): Use it.
5086 2010-10-03 Glenn Morris <rgm@gnu.org>
5088 * subr.el (directory-sep-char): Remove obsolete variable.
5089 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5092 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5093 * vc/vc.el (vc-static-header-alist): Doc fix.
5094 * vc/vc-cvs.el (vc-cvs-header):
5095 * vc/vc-rcs.el (vc-rcs-header):
5096 * vc/vc-sccs.el (vc-sccs-header):
5097 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5098 * obsolete/vc-mcvs.el (vc-mcvs-header):
5099 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5102 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5104 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5105 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5107 2010-10-03 Glenn Morris <rgm@gnu.org>
5109 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5111 * textmodes/rst.el (rst-font-lock-keywords-function):
5114 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5116 * printing.el: Drop Emacs 20 code.
5118 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5119 without having used appt.el already).
5121 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5122 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5123 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5125 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5126 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5128 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5129 (charset-width, find-charset-region, chars-in-region, forward-point)
5130 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5131 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5132 Remove compatibility cruft (none of these are used by ps*.el).
5134 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5136 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5138 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5140 * server.el (server-process-filter, server-return-error):
5141 Give emacsclient time to shut down after receiving an error string.
5143 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5145 * files.el (remote-file-name-inhibit-cache): New defcustom.
5147 * time.el (display-time-file-nonempty-p):
5148 Use `remote-file-name-inhibit-cache'.
5150 * net/tramp.el (tramp-completion-reread-directory-timeout):
5153 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5154 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5155 `remote-file-name-inhibit-cache'. Check also for an integer
5156 value. Add/increase counter when `tramp-verbose' >= 10.
5157 (tramp-set-file-property): Add/increase counter when
5158 `tramp-verbose' >= 10.
5160 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5161 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5162 (tramp-bug): Set tramp-autoload cookie. Report all interned
5163 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5164 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5165 characters only in strings.
5167 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5168 to backward compatibility.
5170 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5171 (tramp-handle-file-name-all-completions)
5172 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5173 (tramp-open-connection-setup-interactive-shell):
5174 Call `tramp-cleanup-connection' directly.
5176 2010-10-02 Glenn Morris <rgm@gnu.org>
5178 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5180 * subr.el (char-bytes): Remove obsolete function.
5182 * isearch.el (isearch-return-char): Remove obsolete function.
5184 * mouse.el: No longer provide mldrag.
5185 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5186 Remove obsolete aliases.
5188 * comint.el (comint-kill-output): Remove obsolete alias.
5190 * composite.el (decompose-composite-char): Remove obsolete function.
5191 * ps-def.el (decompose-composite-char): Remove unused function.
5193 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5195 * outline.el (outline-visible): Remove obsolete function.
5197 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5198 * faces.el (internal-find-face, internal-get-face)
5199 (frame-update-faces, frame-update-face-colors)
5200 (x-frob-font-weight, x-frob-font-slant)
5201 (internal-frob-font-weight, internal-frob-font-slant)
5202 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5203 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5204 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5206 * emulation/viper-util.el (viper-get-face):
5207 * obsolete/lucid.el (find-face, get-face): Use facep.
5208 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5209 Remove unused functions.
5210 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5212 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5213 delete tempfile if interrupted during compilation.
5215 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5217 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5219 (tls-program): Add --insecure to be consistent with the defaults from
5220 openssl s_client. Now all three commands are insecure.
5222 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5224 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5225 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5226 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5228 2010-10-01 Glenn Morris <rgm@gnu.org>
5230 * obsolete/sc.el: Remove file.
5232 * files.el (temporary-file-directory): On darwin, also try
5233 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5235 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5237 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5238 Let's not break compatibility gratuitously, shall we?
5240 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5242 * net/tls.el (tls-starttls-switches): New variable.
5243 (tls-find-starttls-argument): Use it.
5244 (open-tls-stream): Ditto.
5246 * net/netrc.el (netrc-credentials): Return the value of the "default"
5248 (netrc-machine): Ditto.
5250 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5252 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5254 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5256 * server.el (server-start): Don't write pid to the authentication file.
5257 (server-create-tty-frame): Don't send pid.
5258 (server-process-filter): Send pid at the start of every connection.
5260 2010-09-30 Glenn Morris <rgm@gnu.org>
5262 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5263 (show-all-diary-entries): Remove obsolete function aliases.
5265 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5266 Remove options, obsolete since 22.1.
5267 (appt-display-format, appt-display-message):
5268 Remove backwards-compatibility code.
5269 (appt-check): No longer check appt-issue-message.
5270 (appt-make-list): No longer autoload it. Doc fix. No longer
5271 activate the package.
5273 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5275 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5276 (starttls-negotiate): Just call boot, and let the handshake be
5277 triggered from the read loop.
5279 2010-09-29 Glenn Morris <rgm@gnu.org>
5281 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5282 not displaying the diary.
5283 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5284 * calendar/appt.el (appt-check): No longer need to kill diary.
5286 * calendar/diary-lib.el (diary-list-entries): Move the
5287 "Preparing..." message entirely here.
5288 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5289 messages to diary-list-entries.
5290 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5291 diary-display-function.
5293 * calendar/diary-lib.el (diary-include-other-diary-files):
5294 Trap some recursive includes.
5296 * calendar/appt.el (appt-activate): Check diary file.
5298 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5300 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5303 * calendar/time-date.el: No need to require cl for Emacs 21.
5305 2010-09-28 Glenn Morris <rgm@gnu.org>
5307 * calendar/appt.el (appt-check): Minor simplification.
5309 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5311 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5314 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5316 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5317 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5319 2010-09-27 Kenichi Handa <handa@m17n.org>
5321 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5324 2010-09-27 Kenichi Handa <handa@m17n.org>
5326 * international/mule.el (define-coding-system): Docstring fixed.
5328 * international/mule-diag.el (describe-character-set): Use princ
5329 with proper print-length and print-level instead of insert.
5331 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5333 * window.el (walk-windows): Doc fix (bug#7105).
5335 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5337 * emacs-lisp/float-sup.el (e): Remove.
5339 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5341 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5343 (starttls-negotiate): Use it.
5345 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5347 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5350 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5352 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5354 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5356 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5358 * net/netrc.el (netrc-store-data): New function.
5360 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5362 * net/gnutls.el: GnuTLS glue code to set up a connection.
5364 2010-09-25 Julien Danjou <julien@danjou.info>
5366 * notifications.el: Call dbus-register-signal only if it is bound.
5368 2010-09-25 Glenn Morris <rgm@gnu.org>
5370 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5371 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5372 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5373 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5374 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5375 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5376 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5377 * eshell/esh-util.el, eshell/esh-var.el:
5378 Remove leading `*' from docs of faces and defcustoms.
5380 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5382 * eshell/em-ls.el (eshell-ls-archive-regexp):
5383 * eshell/esh-util.el (eshell-tar-regexp):
5384 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5385 * info.el (Info-suffix-list):
5386 * international/mule.el (auto-coding-alist):
5387 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5388 * progmodes/etags.el (tags-compression-info-list):
5389 Support xz compression.
5391 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5393 * files.el (get-free-disk-space): Don't assume the "df" output
5394 columns line up (Bug#6995).
5396 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5398 * finder.el (finder-unknown-keywords):
5399 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5400 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5402 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5404 * server.el (server-start): Revert part of 2010-08-08 change. Using
5405 address 127.0.0.1 for local host is now done in Fmake_network_process.
5407 2010-09-24 Glenn Morris <rgm@gnu.org>
5409 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5410 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5411 * textmodes/css-mode.el, textmodes/dns-mode.el:
5412 Move autoloaded auto-mode-alist entries to files.el.
5413 * files.el (auto-mode-alist): Move entries here.
5415 2010-09-23 Glenn Morris <rgm@gnu.org>
5417 * isearch.el (isearch-lazy-highlight-cleanup)
5418 (isearch-lazy-highlight-initial-delay)
5419 (isearch-lazy-highlight-interval)
5420 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5421 * net/net-utils.el (ipconfig-program-options):
5422 Move aliases to options before the associated definitions.
5424 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * newcomment.el (comment-normalize-vars): Better test validity of
5429 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5431 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5432 (float-e): New name for `e'.
5433 (degrees-to-radians, radians-to-degrees):
5434 * calendar/solar.el (solar-longitude):
5435 * calculator.el (calculator-registers, calculator-funcall):
5436 * textmodes/artist.el (artist-spray-random-points):
5437 * play/bubbles.el (bubbles--initialize-images): Use new names.
5439 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5441 Update to CEDET 1.0's version of EIEIO.
5443 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5445 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5446 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5447 (class-precedence-list): If class is nil, return nil.
5448 (eieio-generic-call): If class of first input arg is nil, don't
5449 look up static methods, and do check for primary methods.
5450 (initialize-instance): See if the default needs to be evaluated
5451 during the constructor.
5452 (eieio-perform-slot-validation-for-default): Don't do the check
5453 for values that will eventually be evaluated.
5454 (eieio-eval-default-p): New function.
5455 (eieio-default-eval-maybe): Use it.
5457 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5459 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5460 method-invocation-order.
5461 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5462 (eieio-class-precedence-dfs): Compute class precedence list using
5464 (eieio-class-precedence-bfs): Compute class precedence list using
5466 (eieio-class-precedence-c3): Compute class precedence list using
5468 (class-precedence-list): New function.
5469 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5470 (inconsistent-class-hierarchy): New error symbol.
5471 (call-next-method): Stow the replacement argument list for future
5472 call-next-method invocations.
5474 2010-09-23 Glenn Morris <rgm@gnu.org>
5476 * calendar/appt.el (appt-check): If not displaying the diary,
5477 use (diary 1) to only get the entries we need.
5478 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5479 that it is in day order. (Bug#7019)
5481 * calendar/appt.el (appt-check): Rather than showing the diary,
5482 just turn off invisible display, and only if needed.
5484 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5486 2010-09-23 Glenn Morris <rgm@gnu.org>
5488 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5489 (byte-compile-defvar, byte-compile-cl-warn):
5490 Start warnings with lower-case, like the majority.
5492 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5494 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5496 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5497 * files.el (auto-mode-alist): Move ld-script entries here, further down
5500 * vc/add-log.el: Don't require timezone when compiling.
5501 (timezone-make-date-sortable): Autoload it.
5502 (change-log-sortable-date-at): Don't require timezone.
5503 Use `ignore-errors'.
5505 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5506 Move alias before definition, so it does not need autoloading.
5508 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5509 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5510 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5511 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5512 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5513 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5514 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5515 * textmodes/tex-mode.el, textmodes/two-column.el:
5516 Remove leading `*' from docs of defcustoms etc.
5518 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5520 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5522 2010-09-22 Dan Christensen <jdc@uwo.ca>
5524 * calendar/time-date.el (date-to-time): Try using parse-time-string
5525 first before using the slower timezone-make-date-arpa-standard.
5527 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5529 * calendar/time-date.el (format-seconds): Comment fix.
5531 2010-09-22 Glenn Morris <rgm@gnu.org>
5533 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5534 is not automatically buffer-local.
5536 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5538 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5539 (smie-indent-comment): Be more careful with comment-start-skip.
5540 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5541 (smie-indent-functions): Use them.
5543 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5545 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5547 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5549 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5550 tool-bar-position. Don't modify frame parameters here.
5551 (menu-bar-options-save): Add tool-bar-position.
5553 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5555 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5557 * textmodes/reftex-parse.el (reftex-what-macro)
5558 (reftex-context-substring): Let-bind forward-sexp-function to nil
5559 since we don't need/want to treat \begin...\end as a block (bug#7053).
5561 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5563 * simple.el (blink-matching-open): Use syntax-class.
5565 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5566 Set invisibility spec for pascal's outline mode.
5567 (pascal-outline-change): Clean up calling convention.
5568 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5570 * progmodes/prolog.el (prolog-smie-forward-token)
5571 (prolog-smie-backward-token): New functions.
5572 (prolog-mode-variables): Use them to parse "!," correctly.
5573 Set up smie-blink-matching for ".".
5575 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5577 (ispell-region, ispell-process-line): Update users.
5579 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5582 * textmodes/ispell.el: Fix commenting convention.
5583 (ispell-parse-output): Simplify, use push.
5584 (ispell-region): Use match-string-no-properties.
5585 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5586 (ispell-minor-mode): Use define-minor-mode.
5587 (ispell-message): Remove unused var `skip-regexp'.
5588 (ispell-add-per-file-word-list): Use dynamic let-binding.
5589 Try and use the proper comment marker.
5591 * mail/sendmail.el: Fix commenting convention.
5592 (sendmail-send-it): Use line-beginning-position.
5594 * help-fns.el (describe-variable): Add original value, if applicable.
5596 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5598 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5600 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5602 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5604 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5605 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5606 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5607 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5608 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5609 something like "." can also be a closer.
5610 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5611 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5612 Rename internal functions to use "--". Update callers.
5614 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5616 * fringe.el (fringe-styles): New var.
5617 (fringe-mode, fringe-query-style): Use it.
5619 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5621 * progmodes/sql.el: Version 2.8
5622 (sql-login-params): Update widget structure; changes still needed.
5623 (sql-product-alist): Add :list-all and :list-table features for
5624 SQLite, Postgres and MySQL products.
5625 (sql-redirect): Handle default value.
5626 (sql-execute, sql-execute-feature): New functions.
5627 (sql-read-table-name): New function.
5628 (sql-list-all, sql-list-table): New functions. User API.
5629 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5630 for above functions.
5631 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5632 for above functions.
5633 (sql-postgres-login-params): Add user and database defaults.
5634 (sql-buffer-live-p): Bug fix.
5635 (sql-product-history): New variable.
5636 (sql-read-product): New function. Use it.
5637 (sql-set-product, sql-product-interactive): Use it.
5638 (sql-connection-history): New variable.
5639 (sql-read-connection): New function. Use it.
5640 (sql-connect): New function.
5641 (sql-for-each-login): Redesign function interface.
5642 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5643 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5644 (sql-comint): Check for program. Existing live buffer.
5645 (sql-comint-postgres): Add port parameter.
5647 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5649 * emacs-lisp/warnings.el: Fix commenting convention.
5650 (display-warning): Use special mode and make the buffer read-only.
5652 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5654 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5655 empty string when it follows a repeated or optional pattern.
5657 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5659 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5660 (indent-region): Use indent-according-to-mode.
5662 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5664 * fringe.el (fringe-mode): Doc fix.
5666 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5668 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5669 refreshing the preview buffer.
5671 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5673 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5674 (latex-syntax-propertize-rules): New consts; replace
5675 tex-font-lock-syntactic-keywords.
5676 (tex-env-mark, latex-env-before-change): New functions.
5677 (latex-electric-env-pair-mode): New minor mode.
5678 (tex-font-lock-verb): Change arguments; do move point.
5679 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5680 representation as a form of comment.
5681 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5682 (doctex-syntax-propertize-rules): New const; replaces
5683 doctex-font-lock-syntactic-keywords.
5684 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5686 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5687 (fortran-make-syntax-propertize-function): New function; replaces
5688 fortran-font-lock-syntactic-keywords.
5689 (fortran-mode): Use it.
5690 (fortran-line-length): Use it. Improve interactive spec.
5692 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5693 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5694 when adding surrounding \(..\).
5696 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5698 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5700 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5701 Use with-current-buffer.
5703 * isearch.el (isearch-face): Rename from `isearch'.
5704 (isearch-highlight): Use new name.
5706 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5708 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5709 5, for `half' width fringes. (Bug#6933)
5711 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5713 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5714 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5716 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5718 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5720 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5721 in calculating new frame position. Add more space between new and
5722 parent on the left (Bug#7048).
5724 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5726 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5729 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5731 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5733 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5734 obsolete alias for x-selection-value.
5736 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5738 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5740 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5743 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5745 * net/tramp-compat.el (tramp-compat-with-temp-message)
5746 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5747 (tramp-compat-process-put): New defuns.
5749 * net/tramp.el (top):
5750 * net/tramp-gvfs.el (top):
5751 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5753 * net/tramp.el (tramp-progress-reporter-update):
5754 Use `tramp-compat-funcall'.
5756 * net/tramp.el (tramp-process-actions):
5757 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5758 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5759 (tramp-get-remote-stat, tramp-get-remote-readlink):
5760 Use `tramp-compat-with-temp-message'.
5762 * net/tramp-sh.el (top): Require 'cl.
5763 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5764 (tramp-open-connection-setup-interactive-shell):
5765 Use `tramp-compat-process-put'.
5767 2010-09-15 Alan Mackenzie <acm@muc.de>
5769 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5771 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5773 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5775 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5776 `lexical' for warnings related to lexical scoping.
5777 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5778 global vars which don't have a prefix and could hence affect lexical
5779 scoping in unrelated files.
5781 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5783 * net/imap.el: Revert back to version
5784 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5787 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5789 * obsolete/old-whitespace.el (whitespace-unload-function):
5790 Explicitly pass `obarray' to `unintern' to avoid a warning.
5792 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5794 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5795 Add `when' argument. Update callers.
5797 * subr.el (unintern): Declare the obarray arg mandatory.
5799 2010-09-14 Glenn Morris <rgm@gnu.org>
5801 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5804 * calendar/diary-lib.el (diary-included-files): New variable.
5805 (diary-list-entries): Maybe initialize diary-included-files.
5806 (diary-include-other-diary-files): Append to diary-included-files.
5807 * calendar/appt.el (appt-update-list): Also check the members of
5808 diary-included-files. (Bug#6999)
5809 (appt-check): Doc fix.
5811 2010-09-14 David Reitter <david.reitter@gmail.com>
5813 * simple.el (line-move-visual): Do not truncate goal column to
5814 integer size. (Bug#7020)
5816 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5818 * repeat.el (repeat): Allow repeating when the last event is a click.
5819 Suggested by Drew Adams (bug#6256).
5821 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5823 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5824 Replace setting HGRCPATH to "" by some less invasive --config options.
5826 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5828 * font-lock.el (font-lock-beginning-of-syntax-function):
5831 2010-09-14 Glenn Morris <rgm@gnu.org>
5833 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5834 and tool-bar modes. (Bug#6211)
5835 (menu-bar-mode): Move setting of standard-value after the
5836 minor-mode definition, otherwise it seems to have no effect.
5838 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5840 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5841 Fix typo. (Bug#6976)
5843 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5845 * whitespace.el: Allow cleaning up blanks without blank
5846 visualization (Bug#6651). Adjust help window for
5847 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5848 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5849 (whitespace-style): Add new value 'face. Adjust docstring.
5850 (whitespace-space, whitespace-hspace, whitespace-tab):
5851 Adjust foreground property face.
5852 (whitespace-line-column): Adjust docstring and type declaration.
5853 (whitespace-style-value-list, whitespace-toggle-option-alist)
5854 (whitespace-help-text): Adjust const initialization.
5855 (whitespace-toggle-options, global-whitespace-toggle-options):
5857 (whitespace-display-window, whitespace-interactive-char)
5858 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5859 (whitespace-help-scroll): New fun.
5861 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5863 * calendar/time-date.el (format-seconds): Comment fix.
5865 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5867 * progmodes/sql.el: Version 2.7.
5868 (sql-buffer-live-p): Improve detection.
5869 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5870 (sql-set-sqli-buffer): Use it.
5871 (sql-product-interactive): Run `sql-set-sqli-hook'.
5872 (sql-rename-buffer): Code cleanup.
5873 (sql-redirect, sql-redirect-value): New functions. More to come.
5875 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5877 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.
5878 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5879 (TRAMP_SRC): New macro.
5880 ($(lisp)/net/tramp-loaddefs.el): New target.
5882 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5884 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5886 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5888 * net/tramp.el (top): Don't show loading message. Require just
5889 'tramp-compat, everything else is required there.
5890 Use `ignore-errors' where appropriate.
5891 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5892 (tramp-terminal-type, tramp-end-of-output)
5893 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5894 (tramp-completion-function-alist-ssh)
5895 (tramp-completion-function-alist-telnet)
5896 (tramp-completion-function-alist-su)
5897 (tramp-completion-function-alist-putty, tramp-remote-path)
5898 (tramp-remote-process-environment, tramp-sh-extra-args)
5899 (tramp-actions-before-shell, tramp-uudecode)
5900 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5901 (tramp-perl-file-attributes)
5902 (tramp-perl-directory-files-and-attributes)
5903 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5904 (tramp-perl-encode, tramp-perl-decode)
5905 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5906 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5907 (tramp-handle-make-symbolic-link, tramp-handle-load)
5908 (tramp-handle-file-name-as-directory)
5909 (tramp-handle-file-name-directory)
5910 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5911 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5912 (tramp-do-file-attributes-with-ls)
5913 (tramp-do-file-attributes-with-perl)
5914 (tramp-do-file-attributes-with-stat)
5915 (tramp-handle-set-visited-file-modtime)
5916 (tramp-handle-verify-visited-file-modtime)
5917 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5918 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5919 (tramp-handle-file-selinux-context)
5920 (tramp-handle-set-file-selinux-context)
5921 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5922 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5923 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5924 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5925 (tramp-handle-file-ownership-preserved-p)
5926 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5927 (tramp-handle-directory-files-and-attributes)
5928 (tramp-do-directory-files-and-attributes-with-perl)
5929 (tramp-do-directory-files-and-attributes-with-stat)
5930 (tramp-handle-file-name-all-completions)
5931 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5932 (tramp-handle-copy-file, tramp-handle-copy-directory)
5933 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5934 (tramp-do-copy-or-rename-file-via-buffer)
5935 (tramp-do-copy-or-rename-file-directly)
5936 (tramp-do-copy-or-rename-file-out-of-band)
5937 (tramp-handle-make-directory, tramp-handle-delete-directory)
5938 (tramp-handle-delete-file)
5939 (tramp-handle-dired-recursive-delete-directory)
5940 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5941 (tramp-handle-insert-directory)
5942 (tramp-handle-unhandled-file-name-directory)
5943 (tramp-handle-expand-file-name)
5944 (tramp-handle-substitute-in-file-name)
5945 (tramp-handle-executable-find, tramp-process-sentinel)
5946 (tramp-handle-start-file-process, tramp-handle-process-file)
5947 (tramp-handle-call-process-region, tramp-handle-shell-command)
5948 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5949 (tramp-handle-insert-file-contents)
5950 (tramp-handle-insert-file-contents-literally)
5951 (tramp-handle-find-backup-file-name)
5952 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5953 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5954 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5955 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5956 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5957 (tramp-find-file-exists-command, tramp-open-shell)
5958 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5959 (tramp-open-connection-setup-interactive-shell)
5960 (tramp-local-coding-commands, tramp-remote-coding-commands)
5961 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5962 (tramp-inline-compress-commands, tramp-find-inline-compress)
5963 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5964 (tramp-send-command, tramp-wait-for-output)
5965 (tramp-send-command-and-check, tramp-barf-unless-okay)
5966 (tramp-send-command-and-read, tramp-mode-string-to-int)
5967 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5968 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5969 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5970 (tramp-method-out-of-band-p, tramp-local-host-p)
5971 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5972 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5973 (tramp-get-test-command, tramp-get-test-nt-command)
5974 (tramp-get-file-exists-command, tramp-get-remote-ln)
5975 (tramp-get-remote-perl, tramp-get-remote-stat)
5976 (tramp-get-remote-readlink, tramp-get-remote-trash)
5977 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5978 (tramp-get-local-uid, tramp-get-local-gid)
5979 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5981 (tramp-methods, tramp-default-method-alist)
5982 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5983 Move initialization to tramp-sh.el.
5984 (tramp-temp-name-prefix): Make it a defconst.
5985 (tramp-dissect-file-name): Don't check anymore for multi-hop
5987 (tramp-debug-outline-regexp): Add a docstring.
5988 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5989 (tramp-get-debug-buffer): Use it.
5991 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5992 initialization forms.
5993 (tramp-set-connection-property): Don't protect `tramp-message'
5994 call, it isn't necessary any longer.
5995 (tramp-dump-connection-properties): Use `ignore-errors'.
5997 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5998 'password-cache and 'auth-source.
6000 * net/tramp-gvfs.el (top):
6001 * net/tramp-smb.el (top): Require 'tramp-sh.
6003 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6005 * net/tramp-sh.el: New file, derived from tramp.el.
6006 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6007 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6008 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6009 Use `ignore-errors' where appropriate.
6010 (tramp-sh-file-name-handler-alist): Rename from
6011 `tramp-file-name-handler-alist'.
6012 (tramp-send-command-and-check): Return t or nil. Remove all
6013 `zerop' checks, where called.
6014 (tramp-handle-set-file-modes)
6015 (tramp-do-copy-or-rename-file-directly)
6016 (tramp-handle-delete-directory, tramp-handle-delete-file)
6017 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6018 (tramp-sh-file-name-handler, tramp-send-command-and-check)
6019 (tramp-get-remote-ln): Set tramp-autoload cookie.
6021 * net/tramp-fish.el: Remove file.
6023 2010-09-13 Daiki Ueno <ueno@unixuser.org>
6025 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6026 buffer-file-name to avoid file-locking. (Bug#7026)
6028 2010-09-13 Julien Danjou <julien@danjou.info>
6030 * notifications.el (notifications-notify): Add support for
6031 image-path and sound-name.
6032 (notifications-specification-version): Add this variable.
6034 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6036 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6038 2010-09-12 Leo <sdl.web@gmail.com>
6040 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6041 (rcirc-completion-start): New variables.
6042 (rcirc-nick-completions): Rename to rcirc-completions.
6043 (rcirc-nick-completion-start-offset): Delete.
6044 (rcirc-completion-at-point): New function for constructing
6045 completion data for both nicks and irc commands. Add to
6046 completion-at-point-functions in rcirc mode.
6047 (rcirc-complete): Rename from rcirc-nick-complete; use
6048 rcirc-completion-at-point.
6049 (defun-rcirc-command): Update rcirc-client-commands.
6051 2010-09-11 Glenn Morris <rgm@gnu.org>
6053 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6054 atomically, to avoid parallel build errors. (Bug#4196)
6056 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
6058 * progmodes/sql.el: Version 2.6
6059 (sql-dialect): Synonym for "sql-product".
6060 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6061 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6062 Set "sql-buffer" to buffer name not buffer object so multiple sql
6063 interactive buffers work properly. Reverts misguided changes in
6065 (sql-comint): Make sure different buffer name is used if "*SQL*"
6066 buffer is for a different product.
6067 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6069 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6070 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6071 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6072 Accept new buffer name or prompt for one.
6073 (sql-port): Default to zero.
6074 (sql-comint-mysql): Handle "sql-port" as a numeric.
6075 (sql-port-history): Delete unused variable.
6076 (sql-get-login): Default "sql-port" to a number.
6077 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6078 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6079 "sqlite3" executables.
6080 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6081 (sql-buffer-live-p): New function.
6082 (sql-mode-menu, sql-send-string): Use it.
6083 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6085 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6086 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6088 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6090 * net/netrc.el (netrc-credentials): New convenience function.
6092 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6094 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6095 to replace texinfo-font-lock-syntactic-keywords.
6096 (texinfo-mode): Use it.
6098 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6099 Use syntax-propertize-function.
6101 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6102 replace sgml-font-lock-syntactic-keywords.
6103 (sgml-mode): Use it.
6105 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6106 since we don't use it.
6108 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6110 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6112 (vhdl-fontify-buffer): Adjust.
6114 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6115 replace tcl-font-lock-syntactic-keywords.
6118 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6119 replace simula-font-lock-syntactic-keywords.
6120 (simula-mode): Use it.
6122 * progmodes/sh-script.el (sh-st-symbol): Remove.
6123 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6124 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6125 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6126 (sh-font-lock-paren): Set syntax-multiline.
6127 (sh-font-lock-syntactic-keywords): Remove.
6128 (sh-syntax-propertize-function): New function to replace it.
6131 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6132 Define while compiling.
6133 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6134 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6135 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6136 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6137 (ruby-here-doc-end-syntax): Only define when
6138 syntax-propertize is not available.
6139 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6141 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6142 (electric-indent-chars): Silence bytecompiler.
6143 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6144 electric-indent-chars.
6146 * progmodes/python.el (python-syntax-propertize-function): New var to
6147 replace python-font-lock-syntactic-keywords.
6148 (python-mode): Use it.
6149 (python-quote-syntax): Simplify and adjust to new use.
6151 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6152 replace perl-font-lock-syntactic-keywords.
6153 (perl-syntax-propertize-special-constructs): New fun to replace
6154 perl-font-lock-special-syntactic-constructs.
6155 (perl-font-lock-syntactic-face-function): New fun.
6156 (perl-mode): Use it.
6158 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6159 to replace octave-font-lock-close-quotes.
6160 (octave-syntax-propertize-function): New function to replace
6161 octave-font-lock-syntactic-keywords.
6162 (octave-mode): Use it.
6164 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6165 replaces mixal-font-lock-syntactic-keywords.
6166 (mixal-mode): Use it.
6168 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6169 New var; replaces makefile-font-lock-syntactic-keywords.
6170 (makefile-mode): Use it.
6171 (makefile-imake-mode): Adjust.
6173 * progmodes/js.el (js--regexp-literal): Define while compiling.
6174 (js-syntax-propertize-function): New var; replaces
6175 js-font-lock-syntactic-keywords.
6178 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6179 replaces gdb-script-font-lock-syntactic-keywords.
6180 (gdb-script-mode): Use it.
6182 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6183 (fortran--font-lock-syntactic-keywords): New var.
6184 (fortran-line-length): Update syntax-propertize-function and
6185 fortran--font-lock-syntactic-keywords.
6187 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6189 * progmodes/cfengine.el (cfengine-mode):
6190 Use syntax-propertize-function.
6191 (cfengine-font-lock-syntactic-keywords): Remove.
6193 * progmodes/autoconf.el (autoconf-mode):
6194 Use syntax-propertize-function.
6195 (autoconf-font-lock-syntactic-keywords): Remove.
6197 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6198 (ada-after-change-function, ada-initialize-syntax-table-properties)
6199 (ada-handle-syntax-table-properties): Only define when
6200 syntax-propertize is not available.
6201 (ada-mode): Use syntax-propertize-function.
6203 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6204 (font-lock-fontify-syntactic-keywords-region): Move handling of
6205 font-lock-syntactically-fontified to...
6206 (font-lock-default-fontify-region): ...here.
6207 Let syntax-propertize-function take precedence.
6208 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6210 * emacs-lisp/syntax.el (syntax-propertize-function)
6211 (syntax-propertize-chunk-size, syntax-propertize--done)
6212 (syntax-propertize-extend-region-functions): New vars.
6213 (syntax-propertize-wholelines, syntax-propertize-multiline)
6214 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6215 (syntax-propertize): New functions.
6216 (syntax-propertize-rules): New macro.
6217 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6218 (syntax-ppss): Call syntax-propertize.
6220 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6222 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6224 * textmodes/ispell.el (ispell-init-process): Improve comments.
6225 XEmacs compatibility changes regarding (add-hook) 'local option
6226 and (set-process-query-on-exit-flag).
6228 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6230 * net/tramp-cache.el (tramp-parse-connection-properties):
6231 Set tramp-autoload cookie.
6233 2010-09-09 Glenn Morris <rgm@gnu.org>
6235 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6236 (imagemagick-register-types): Doc fix.
6238 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6240 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6242 * progmodes/js.el (require): Require is already "eval-and-compile".
6243 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6244 (js--re-search-backward): Use js--re-search-forward.
6246 * progmodes/fortran.el (fortran-line-length): Don't recompute
6247 syntactic keywords redundantly a second time.
6249 * progmodes/ada-mode.el: Replace "(set '" with setq.
6250 (ada-mode): Simplify.
6251 (ada-create-case-exception, ada-adjust-case-interactive)
6252 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6253 (ada-search-ignore-string-comment, ada-move-to-start)
6254 (ada-move-to-end): Use with-syntax-table.
6256 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6257 (font-lock-unfontify-region, font-lock-default-fontify-region):
6258 Update usage correspondingly.
6259 (font-lock-fontify-syntactic-keywords-region):
6260 Set parse-sexp-lookup-properties buffer-locally here.
6261 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6263 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6265 2010-09-08 Glenn Morris <rgm@gnu.org>
6267 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6268 Error if not compiled with -DBYTE_CODE_METER.
6270 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6271 Ignore dir-locals-file.
6273 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6277 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6278 for the `gnu' messages.
6279 (compilation-set-skip-threshold): New command.
6280 (compilation-start): Use \' rather than $.
6281 (compilation-forget-errors): Use clrhash.
6283 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6285 * textmodes/ispell.el (ispell-valid-dictionary-list):
6288 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6290 Migrate to Tramp 2.2. Rearrange load dependencies.
6291 (Bug#1529, Bug#5448, Bug#5705)
6293 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6294 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6295 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6297 * net/tramp.el (top): Remove all other tramp-* loads except
6298 tramp-compat.el. Remove all changes to tramp-unload-hook for
6299 other tramp-* packages. Rearrange defun order. Change calls of
6300 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6301 `tramp-compat-octal-to-decimal' to new function names.
6302 (tramp-terminal-type, tramp-initial-end-of-output)
6303 (tramp-methods, tramp-foreign-file-name-handler-alist)
6304 (tramp-tramp-file-p, tramp-completion-mode-p)
6305 (tramp-send-command-and-check, tramp-get-remote-path)
6306 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6307 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6308 (with-file-property, with-connection-property): Move to
6310 (tramp-local-call-process, tramp-decimal-to-octal)
6311 (tramp-octal-to-decimal): Move to tramp-compat.el.
6312 (tramp-handle-shell-command): Do not require 'shell.
6313 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6315 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6317 * net/tramp-cache.el (top): Require 'tramp. Add to
6318 `tramp-unload-hook'.
6319 (tramp-cache-data, tramp-get-file-property)
6320 (tramp-set-file-property, tramp-flush-file-property)
6321 (tramp-flush-directory-property, tramp-get-connection-property)
6322 (tramp-set-connection-property, tramp-flush-connection-property)
6323 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6325 (with-file-property, with-connection-property): New defuns, moved
6327 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6330 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6331 (tramp-version): Set tramp-autoload cookie.
6333 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6334 changes to tramp-unload-hook for other tramp-* packages. Add to
6335 `tramp-unload-hook'.
6336 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6337 (tramp-compat-call-process): New defuns, moved from tramp.el.
6339 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6340 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6341 Add to `tramp-unload-hook'. Change call of
6342 `tramp-compat-decimal-to-octal' to new function name.
6343 (tramp-fish-method): Make it a defconst.
6344 (tramp-fish-file-name-p): Make it a defsubst.
6345 (tramp-fish-method, tramp-fish-file-name-handler)
6346 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6348 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6349 `tramp-foreign-file-name-handler-alist'. Add to
6350 `tramp-unload-hook'.
6351 (tramp-ftp-method): Make it a defconst.
6352 (tramp-ftp-file-name-p): Make it a defsubst.
6353 (tramp-ftp-method, tramp-ftp-file-name-handler)
6354 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6356 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6357 `tramp-foreign-file-name-handler-alist'. Add to
6358 `tramp-unload-hook'. Change checks, whether package can be
6360 (tramp-gvfs-file-name-p): Make it a defsubst.
6361 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6362 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6363 (tramp-gvfs-handle-file-directory-p): New defun.
6364 (tramp-gvfs-file-name-handler-alist): Use it.
6366 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6367 `tramp-foreign-file-name-handler-alist'. Add to
6368 `tramp-unload-hook'.
6369 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6370 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6372 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6373 (tramp-gw-open-connection): Set tramp-autoload cookie.
6375 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6376 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6377 Add to `tramp-unload-hook'. Change checks, whether package can be
6379 (tramp-imap-file-name-p): Make it a defsubst.
6380 (tramp-imap-method, tramp-imaps-method)
6381 (tramp-imap-file-name-handler)
6382 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6384 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6385 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6386 Add to `tramp-unload-hook'. Change checks, whether package can be
6387 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6389 (tramp-smb-tunnel-method): Make it a defconst.
6390 (tramp-smb-file-name-p): Make it a defsubst.
6391 (tramp-smb-method, tramp-smb-file-name-handler)
6392 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6394 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6395 (tramp-uuencode-region): Set tramp-autoload cookie.
6397 * net/trampver.el (top) Add to `tramp-unload-hook'.
6398 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6399 cookie. Update release number.
6401 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6403 * textmodes/ispell.el (ispell-start-process): Make sure original
6404 arg list is properly initialized (Bug#6993, Bug#6994).
6406 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6408 * files.el (directory-abbrev-alist): Use \` as default regexp.
6410 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6411 chars like - or ] (bug#6984).
6412 (rx-any-condense-range): Explode 2-char ranges.
6414 2010-09-06 Glenn Morris <rgm@gnu.org>
6416 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6418 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6420 * textmodes/bibtex.el:
6421 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6423 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6425 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6426 since no callers use it.
6427 (imap-message-get): Ditto.
6428 (imap-message-put): Ditto.
6429 (imap-mailbox-map): Ditto.
6430 (imap-mailbox-put): Ditto.
6431 (imap-mailbox-get): Ditto.
6432 (imap-mailbox-get): Revert last change for this function.
6434 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6436 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6437 callers to use `imap-fetch' instead. According to the comments, this
6438 should be safe, since all other IMAP clients use the 1:* syntax.
6439 (imap-enable-exchange-bug-workaround): Remove.
6440 (imap-debug): Remove -- doesn't seem very useful.
6442 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6444 * net/imap.el (imap-log): New convenience function used throughout
6445 instead of repeating the same code all over the place.
6447 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6449 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6450 when mouse-drag-copy-region is non-nil (Bug#6956).
6452 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6454 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6455 Improve regexps (Bug#6987).
6456 (dired-sort-toggle): Search more robustly for -t flag.
6458 * files.el (get-free-disk-space): Search more robustly for
6459 "available" column. Suggested by Ehud Karni
6460 <ehud@unix.mvs.co.il>.
6462 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6464 * international/uni-bidi.el:
6465 * international/uni-category.el:
6466 * international/uni-combining.el:
6467 * international/uni-decimal.el:
6468 * international/uni-mirrored.el:
6469 * international/uni-name.el: Regenerate.
6471 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6473 * electric.el (electric-indent-post-self-insert-function):
6474 Don't reindent with a sloppy indentation function.
6476 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6477 border case in change-log-mode.
6479 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6481 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6482 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6483 Recognize leading tab in gcc-include regexp. Ignore names with
6484 leading "from" or "in" in gnu regexp (Bug#6937).
6486 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6488 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6489 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6490 (ispell-start-process): Avoid setq and simplify logic.
6491 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6492 (kill-buffer-hook): Don't use it globally with code that uses
6493 expand-file-name since that may call kill-buffer via
6494 code_conversion_restore.
6496 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6498 * emacs-lisp/package.el (package-directory-list): Only call
6499 file-name-nondirectory on a string.
6501 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6503 * emacs-lisp/package.el (package--download-one-archive):
6504 Ensure that archive-contents is valid before saving it.
6505 (package-activate-1, package-mark-obsolete, define-package)
6506 (package-compute-transaction, package-list-maybe-add): Use push.
6508 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6510 Use SMIE's blink-paren for octave-mode.
6511 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6512 Backslashes do not escape single-quotes, single-quotes do.
6513 (octave-block-else-regexp, octave-block-end-regexp)
6514 (octave-block-match-alist): Remove.
6515 (octave-smie-bnf-table): New var, with old content.
6516 (octave-smie-op-levels): Use it.
6517 (octave-smie-closer-alist): New var.
6518 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6519 (octave-blink-matching-block-open): Remove.
6520 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6521 (octave-electric-space): Let self-insert-command run expand-abbrev and
6524 * electric.el (electricity): New group.
6525 (electric-indent-chars): New var.
6526 (electric-indent-post-self-insert-function): New fun.
6527 (electric-indent-mode): New minor mode.
6528 (electric-pair-skip-self): New custom.
6529 (electric-pair-post-self-insert-function): New function.
6530 (electric-pair-mode): New minor mode.
6532 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6533 calcAlg-blink-matching-open.
6534 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6535 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6536 Use the new blink-matching-check-function.
6538 Provide blink-matching support to SMIE.
6539 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6540 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6541 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6543 * simple.el (newline): Fix last change to properly remove itself from
6546 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6548 * simple.el (newline): Eliminate optimization.
6549 Use post-self-insert-hook to set hard-newline and things before
6550 running post-self-insert-hook.
6551 (blink-matching-check-mismatch): New function.
6552 (blink-matching-check-function): New variable.
6553 (blink-matching-open): Use them.
6554 Skip back forward over prefix chars skipped by forward-sexp.
6555 Don't check if the parens are backslash escaped.
6556 (blink-paren-post-self-insert-function): Check backslash escaping here.
6558 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6560 * emacs-lisp/package.el (package-menu-mode-map):
6561 Change package-menu-revert bindings to revert-buffer.
6562 (package-menu-mode): Set revert-buffer-function.
6563 (package-menu-revert): Doc fix.
6565 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6567 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6568 `default-directory' unless using Ispell per-directory personal
6569 dictionaries and not in a mini-buffer under XEmacs.
6570 (kill-buffer-hook): Do not kill ispell process on exit when
6571 `ispell-process-directory' is "~/". (Bug#6143)
6573 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6575 * simple.el (kill-new): Call interprogram-cut-function with only
6578 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6579 Remove cut buffer from error message.
6581 * term/x-win.el (x-select-text):
6582 * term/pc-win.el (x-selection-value):
6583 * term/ns-win.el (x-selection-value):
6584 * eshell/em-term.el:
6585 * w32-fns.el (x-get-selection-value):
6586 * mouse-sel.el (mouse-sel-set-selection-function):
6587 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6589 * term/x-win.el: Update documentation for x-last-selected-text-*.
6590 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6591 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6592 (x-select-text): Remove argument PUSH, update documentation.
6593 Remove cut-buffer code.
6594 (x-selection-value-internal): Was previously x-selection-value.
6595 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6596 Update documentation, remove cut-buffer code.
6597 Call x-selection-value-internal.
6598 (x-clipboard-yank): Call x-selection-value-internal.
6599 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6601 * term/pc-win.el (x-last-selected-text):
6602 x-cut-buffer-or-selection-value renamed to x-selection-value
6603 (x-select-text): Remove argument PUSH, update documentation.
6605 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6606 x-cut-buffer-or-selection-value renamed to x-selection-value
6607 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6608 (x-select-text): Remove argument PUSH, update documentation.
6610 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6612 * w32-fns.el (x-last-selected-text):
6613 x-cut-buffer-or-selection-value renamed to x-selection-value.
6614 (x-cut-buffer-max): Remove.
6615 (x-select-text): Remove argument PUSH, update documentation.
6617 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6619 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6621 * mouse-sel.el (mouse-sel-get-selection-function):
6622 x-cut-buffer-or-selection-value renamed to x-selection-value.
6623 (x-select-text): Remove optional push.
6625 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6627 * simple.el (blink-paren-function): Move from C to here.
6628 (blink-paren-post-self-insert-function): New function.
6629 (post-self-insert-hook): Use it.
6631 * emacs-lisp/pcase.el (pcase-split-memq):
6632 Fix overenthusiastic optimisation.
6633 (pcase-u1): Handle the case of a lambda pred.
6635 2010-08-31 Kenichi Handa <handa@m17n.org>
6637 * international/mule-cmds.el (standard-display-european-internal):
6638 Setup standard-display-table for 8-bit characters by storing 8-bit
6639 characters in the element vector.
6641 * disp-table.el (standard-display-8bit):
6642 Setup standard-display-table for 8-bit characters by storing 8-bit
6643 characters in the element vector.
6644 (standard-display-european): Likewise.
6646 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6648 * textmodes/nroff-mode.el (nroff-view): New command.
6649 (nroff-mode-map): Bind it to C-c C-c.
6651 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6653 * emacs-lisp/smie.el (smie-down-list): New command.
6655 Remove old indentation and navigation code on octave-mode.
6656 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6657 smie-down-list rather than add a binding for octave-down-block.
6658 (octave-mark-block, octave-blink-matching-block-open):
6659 Rely on forward-sexp-function.
6660 (octave-fill-paragraph): Don't narrow, so you can use
6661 indent-according-to-mode.
6662 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6663 (octave-in-block-p, octave-re-search-forward-kw)
6664 (octave-re-search-backward-kw, octave-indent-calculate)
6665 (octave-end-as-array-index-p, octave-block-end-offset)
6666 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6667 (octave-down-block, octave-backward-up-block, octave-up-block)
6668 (octave-before-magic-comment-p, octave-indent-line): Remove.
6670 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6672 * emacs-lisp/package.el (package--read-archive-file): Just use
6673 `read', to avoid copying an additional string.
6674 (package-menu-mode): Set header-line-format here.
6675 (package-menu-refresh, package-menu-revert): Signal an error if
6676 not in the Package Menu.
6677 (package-menu-package-list): New var.
6678 (package--generate-package-list): Operate on the current buffer;
6679 don't assume that it is *Packages*, since the user may rename it.
6680 Allow persistent package listings and sort keys using
6681 package-menu-package-list and package-menu-package-sort-key.
6682 (package-menu--version-predicate): Fix version calculation.
6683 (package-menu-sort-by-column): Don't select the window.
6684 (package--list-packages): Create the *Packages* buffer.
6685 Set package-menu-package-list-key.
6686 (list-packages): Sorting by status is now the default.
6687 (package-buffer-info): Use match-string-no-properties.
6688 (define-package): Add a &rest argument for future proofing, but
6690 (package-install-from-buffer, package-install-buffer-internal):
6691 Merge into a single function, package-install-from-buffer.
6692 (package-install-file): Change caller.
6694 * finder.el: Load finder-inf using `require'.
6695 (finder-list-matches): Sorting by status is now the default.
6696 (finder-compile-keywords): Simpify printing.
6698 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6700 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6701 (octave-mode-map): Remove special bindings for forward/backward-block
6702 and octave-backward-up-block. Use smie-close-block.
6703 (octave-continuation-marker-regexp): New var.
6704 (octave-continuation-regexp): Use it.
6705 (octave-operator-table, octave-smie-op-levels)
6706 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6707 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6708 (octave-mode): Use SMIE.
6709 (octave-close-block): Delete.
6711 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6713 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6714 CLIPBOARD, not in PRIMARY. (Bug#6944)
6716 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6718 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6720 (smie-indent-column): Allow indirection through variables.
6722 * composite.el (save-buffer-state): Delete, unused.
6723 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6724 (font-lock-default-fontify-region): Use with-syntax-table.
6725 * jit-lock.el (with-buffer-unmodified): Remove.
6726 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6728 Use `declare' in defmacros.
6729 * window.el (save-selected-window):
6730 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6731 * progmodes/python.el (def-python-skeleton):
6732 * net/dbus.el (dbus-ignore-errors):
6733 * jka-cmpr-hook.el (with-auto-compression-mode):
6734 * international/mule.el (with-category-table):
6735 * emacs-lisp/timer.el (with-timeout):
6736 * emacs-lisp/lisp-mnt.el (lm-with-file):
6737 * emacs-lisp/eieio.el (with-slots):
6738 * emacs-lisp/easymenu.el (easy-menu-define):
6739 * emacs-lisp/debug.el (debugger-env-macro):
6740 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6741 (Multiple-value-call, Multiple-value-prog1):
6742 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6743 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6744 edebug rule to definition.
6745 * emacs-lisp/lisp-mode.el (save-selected-window)
6746 (with-current-buffer, combine-after-change-calls)
6747 (with-output-to-string, with-temp-file, with-temp-buffer)
6748 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6749 (dolist, dotimes, when, unless):
6750 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6752 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6754 * finder.el: Require `package'.
6755 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6756 (finder-package-info): Var deleted.
6757 (finder-keywords-hash, finder--builtins-alist): New vars.
6758 (finder-compile-keywords): Compute package--builtins and
6759 finder-keywords-hash instead of finder-keywords-hash, respecting
6760 the "Package" header.
6761 (finder-unknown-keywords, finder-list-matches):
6762 Use finder-keywords-hash and package--list-packages.
6763 (finder-mode): Don't set font-lock-defaults.
6764 (finder-exit): We don't use "*Finder-package*" and "*Finder
6765 Category*" buffers anymore.
6767 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6768 (package--builtins): Set default value to nil.
6769 (package-initialize): Load precomputed value of package--builtins
6771 (package-alist, package-compute-transaction)
6772 (package-download-transaction): Improve docstring.
6773 (package-read-all-archive-contents): Do not change
6774 package--builtins here.
6775 (list-packages): Make package-list-packages an alias for this.
6776 Sort by status by default.
6777 (package--list-packages): Add optional PACKAGES arg.
6778 (describe-package-1): Use font-lock-face property. For built-in
6779 packages, insert file commentary.
6780 (package--generate-package-list): Rename from
6781 package-list-packages-internal; all callers changed. Add optional
6782 PACKAGES arg. Add alphabetical sort fallbacks.
6783 (package-menu--version-predicate, package-menu--status-predicate)
6784 (package-menu--description-predicate)
6785 (package-menu--name-predicate): New functions.
6787 * info.el (Info-finder-find-node): Search package-alist instead of
6788 finder-package-info.
6790 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6792 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6794 (version-to-list): Handle versions like "10.3d".
6796 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6798 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6799 (macroexp-accumulate): Use `declare'.
6801 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6803 * whitespace.el (whitespace-style): Adjust type declaration.
6805 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6807 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6808 empty argument to gvfs-copy.
6810 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6812 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6813 handle new TRASH arg of `delete-file'.
6815 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6817 * net/tramp.el (tramp-handle-insert-directory): Don't use
6818 `forward-word', its default syntax could be changed.
6820 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6821 Michael Albinus <michael.albinus@gmx.de>
6823 Implement compression for inline methods.
6825 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6826 (tramp-copy-size-limit): Allow also nil.
6827 (tramp-inline-compress-commands): New defconst.
6828 (tramp-find-inline-compress, tramp-get-inline-compress)
6829 (tramp-get-inline-coding): New defuns.
6830 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6831 replaced by `tramp-get-inline-coding'.
6832 (tramp-handle-file-local-copy, tramp-handle-write-region)
6833 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6835 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6837 Detect ssh 'ControlMaster' argument automatically in some cases.
6839 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6840 (tramp-default-method): Use it.
6842 2010-08-26 Karel Klíč <kklic@redhat.com>
6844 * net/tramp.el (tramp-file-name-for-operation):
6845 Add file-selinux-context.
6847 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6849 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6851 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6853 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6856 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6858 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6859 (js-paren-indent-offset, js-square-indent-offset)
6860 (js-curly-indent-offset): New options.
6861 (js--proper-indentation): Use them.
6863 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6865 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6866 instead of inspecting font-lock properties (Bug#6916).
6868 2010-08-26 David Reitter <david.reitter@gmail.com>
6870 * server.el (server-visit-files): Run pre-command-hook and
6871 post-command-hook for each buffer while it is current (Bug#6910).
6872 (server-execute): Do not run hooks here.
6874 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6876 Sync with Tramp 2.1.19.
6878 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6879 (tramp-reporter-dump-variable, tramp-load-report-modules)
6880 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6881 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6883 * net/tramp-compat.el (top): Do not autoload
6884 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6885 only when `start-file-process' is not bound.
6886 (byte-compile-not-obsolete-vars): Define if not bound.
6887 (tramp-compat-funcall): New defmacro.
6888 (tramp-compat-line-beginning-position)
6889 (tramp-compat-line-end-position)
6890 (tramp-compat-temporary-file-directory)
6891 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6892 (tramp-compat-copy-file, tramp-compat-copy-directory)
6893 (tramp-compat-delete-file, tramp-compat-delete-directory)
6894 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6896 (tramp-advice-file-expand-wildcards): Do not use
6897 `tramp-handle-file-remote-p'.
6898 (tramp-compat-make-temp-file): Simplify fallback implementation.
6899 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6900 (tramp-compat-copy-tree): Remove function.
6901 (tramp-compat-delete-file): New defun.
6902 (tramp-compat-delete-directory): Provide implementation for older
6904 (tramp-compat-file-attributes): Handle only
6905 `wrong-number-of-arguments' error.
6907 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6908 Add PRESERVE_SELINUX_CONTEXT.
6909 (tramp-fish-handle-delete-file): Add TRASH arg.
6910 (tramp-fish-handle-directory-files-and-attributes):
6911 Do not use `tramp-fish-handle-file-attributes.
6912 (tramp-fish-handle-file-local-copy)
6913 (tramp-fish-handle-insert-file-contents)
6914 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6916 * net/tramp-gvfs.el (top): Require url-util.
6917 (tramp-gvfs-mount-point): Remove.
6918 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6919 and `set-file-selinux-context'.
6920 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6921 (tramp-gvfs-handle-file-selinux-context)
6922 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6923 (with-tramp-dbus-call-method): Format trace message.
6924 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6925 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6926 Implement backup call, when operation on local files fails.
6927 Use progress reporter. Flush properties of changed files.
6928 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6929 Use `tramp-compat-delete-file'.
6930 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6931 (tramp-gvfs-handle-make-directory): Make more traces.
6932 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6933 (tramp-gvfs-url-file-name): Hexify file name in url.
6934 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6935 into account for the resulting file name.
6936 (tramp-gvfs-handler-askquestion): Preserve current message, in
6937 order to let progress reporter continue afterwards. (Bug#6257)
6938 Return dummy mountpoint, when the answer is "no".
6939 See `tramp-gvfs-maybe-open-connection'.
6940 (tramp-gvfs-handler-mounted-unmounted)
6941 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6942 attribute "default_location". Set "prefix" property.
6943 Handle default-location.
6944 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6945 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6946 exists. Raise an error, if not (due to a corresponding answer
6947 "no" in interactive questions, for example).
6948 Use `tramp-compat-funcall'.
6950 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6951 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6952 (tramp-imap-do-copy-or-rename-file)
6953 (tramp-imap-handle-insert-file-contents)
6954 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6955 (tramp-imap-handle-delete-file): Add TRASH arg.
6957 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6958 Add PRESERVE-SELINUX-CONTEXT.
6959 (tramp-smb-handle-copy-file)
6960 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6961 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6962 Use `with-progress-reporter'.
6963 (tramp-smb-handle-delete-file): Add TRASH arg.
6965 * net/tramp.el (tramp-methods): Move hostname to the end in all
6966 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6968 (tramp-verbose): Describe verbose level 9.
6969 (tramp-completion-function-alist)
6970 (tramp-file-name-regexp, tramp-chunksize)
6971 (tramp-local-coding-commands, tramp-remote-coding-commands)
6972 (with-connection-property, tramp-completion-mode-p)
6973 (tramp-action-process-alive, tramp-action-out-of-band)
6974 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6975 (tramp-exists-file-name-handler): Fix docstring.
6976 (tramp-remote-process-environment): Use `format' instead of
6977 `concat'. Protect version string by apostroph.
6978 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6980 (tramp-file-name-regexp-unified)
6981 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6982 not regard the volume letter as remote filename. (Bug#5447)
6983 (tramp-perl-file-attributes)
6984 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6985 (tramp-vc-registered-read-file-names): Read input as
6986 here-document, otherwise the command could exceed maximum length
6988 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6989 `set-file-selinux-context'.
6990 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6991 backtrace functions.
6992 (tramp-error-with-buffer): Don't show the connection buffer when
6993 we are in completion mode.
6994 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6995 (tramp-handle-file-selinux-context)
6996 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6997 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6999 (with-progress-reporter): New defmacro.
7000 (tramp-debug-outline-regexp): New defconst.
7001 (top, tramp-rfn-eshadow-setup-minibuffer)
7002 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7003 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7004 (tramp-completion-mode-p, tramp-check-for-regexp)
7005 (tramp-open-connection-setup-interactive-shell)
7006 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7007 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7008 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7009 Use `tramp-compat-funcall'.
7010 (tramp-handle-make-symbolic-link): Flush file properties.
7011 (tramp-handle-load, tramp-handle-file-local-copy)
7012 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7013 (tramp-handle-vc-registered, tramp-maybe-send-script)
7014 (tramp-find-shell): Use `with-progress-reporter'.
7015 (tramp-do-file-attributes-with-stat): Add space in format string,
7016 in order to work around a bug in pdksh. Reported by Gilles Pion
7018 (tramp-handle-verify-visited-file-modtime): Do not send a command
7019 when the connection is not established.
7020 (tramp-handle-set-file-times): Simplify the check for utc.
7021 (tramp-handle-directory-files-and-attributes)
7022 (tramp-get-remote-path): Use `copy-tree'.
7023 (tramp-completion-handle-file-name-all-completions): Ensure, that
7024 non remote files are still checked. Oops.
7025 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7026 Handle PRESERVE-SELINUX-CONTEXT.
7027 (tramp-do-copy-or-rename-file): Add progress reporter.
7028 (tramp-do-copy-or-rename-file-directly): Do not use
7029 `tramp-handle-file-remote-p'.
7030 (tramp-do-copy-or-rename-file-out-of-band):
7031 Use `tramp-compat-delete-directory'.
7032 (tramp-do-copy-or-rename-file-out-of-band)
7033 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7034 Use `format-spec-make'.
7035 (tramp-handle-delete-file): Add TRASH arg.
7036 (tramp-handle-dired-uncache): Flush directory cache, not only file
7038 (tramp-handle-expand-file-name)
7039 (tramp-completion-handle-file-name-all-completions)
7040 (tramp-completion-handle-file-name-completion):
7041 Use `tramp-connectable-p'.
7042 (tramp-handle-start-file-process): Set connection property "vec".
7043 Use it, in order to invalidate file caches. Check only for
7044 `remote-tty' process property.
7045 Implement tty setting. (Bug#4604, Bug#6360)
7046 (tramp-file-name-for-operation): Add `call-process-region' and
7047 `set-file-selinux-context'.
7048 (tramp-find-foreign-file-name-handler)
7049 (tramp-advice-make-auto-save-file-name)
7050 (tramp-set-auto-save-file-modes): Remove superfluous check for
7051 `stringp'. This is done inside `tramp-tramp-file-p'.
7052 (tramp-file-name-handler): Trace 'quit. Catch the error for some
7053 operations when we are in completion mode. This gives the user
7054 the chance to correct the file name in the minibuffer.
7055 (tramp-completion-mode-p): Use `non-essential'.
7056 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7057 compatibility: Use `completion-ignore-case' if
7058 `read-file-name-completion-ignore-case' does not exist.
7059 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7060 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7062 (tramp-action-password): Hide password prompt before next run.
7063 (tramp-process-actions): Widen connection buffer for the trace.
7064 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7065 process property. Trace stty settings if `tramp-verbose' >= 9.
7066 Apply workaround for IRIX64 bug. Move argument of last
7067 `tramp-send-command' where it belongs to.
7068 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7069 front of `login-args'.
7070 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7071 on "/dev/null" instead of "/".
7072 (tramp-get-ls-command-with-dired): Make test for "--dired"
7074 (tramp-set-auto-save-file-modes): Adapt version check.
7075 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7076 (tramp-handle-process-file): Call the program in a subshell, in
7077 order to preserve working directory.
7078 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7079 `tramp-remote-sh' from `tramp-methods'.
7080 (tramp-get-ls-command): Make test for "--color=never" stronger.
7081 (tramp-check-for-regexp): Use (forward-line 1).
7083 * net/trampver.el: Update release number.
7085 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7087 * help.el (help-map): Bind `C-h P' to describe-package.
7089 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7091 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7092 when downloading archives.
7093 (describe-package-1): Add package commentary.
7094 (package-install-button-action): New function.
7095 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7096 (package-menu-view-commentary): Function removed.
7097 (package-list-packages-internal): Hide the `package' package too.
7099 2010-08-25 Kenichi Handa <handa@m17n.org>
7101 * language/misc-lang.el ("Arabic"): New language environment.
7102 Setup composition-function-table for Arabic characters.
7104 * international/fontset.el (setup-default-fontset): Fix typo for
7105 arabic OTF spec (fini->fina).
7107 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7109 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7112 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7114 * whitespace.el: Allow cleaning up blanks without blank
7115 visualization (Bug#6651). Adjust help window for
7116 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7117 instead of whitespace-line-column (from EmacsWiki). New version
7119 (whitespace-style): Add new value 'face. Adjust docstring.
7120 (whitespace-space, whitespace-hspace, whitespace-tab):
7121 Adjust foreground property face.
7122 (whitespace-line-column): Adjust docstring and type declaration.
7123 (whitespace-style-value-list, whitespace-toggle-option-alist)
7124 (whitespace-help-text): Adjust const initialization.
7125 (whitespace-toggle-options, global-whitespace-toggle-options):
7127 (whitespace-display-window, whitespace-interactive-char)
7128 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7129 (whitespace-help-scroll): New fun.
7131 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7133 * emacs-lisp/package.el (list-packages): Alias for
7134 package-list-packages.
7136 2010-08-24 Kevin Ryde <user42@zip.com.au>
7138 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7141 * progmodes/ruby-mode.el (ruby): Add defgroup.
7143 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7145 * progmodes/python.el: Add Ipython support (Bug#5390).
7146 (python-shell-prompt-alist)
7147 (python-shell-continuation-prompt-alist): New options.
7148 (python--set-prompt-regexp): New function.
7149 (inferior-python-mode, run-python, python-shell):
7150 Require ansi-color. Use python--set-prompt-regexp to set the comint
7151 prompt based on the Python interpreter.
7152 (python--prompt-regexp): New var.
7153 (python-check-comint-prompt)
7154 (python-comint-output-filter-function): Use it.
7155 (run-python): Use a pipe (Bug#5694).
7157 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7159 * progmodes/python.el (python-send-region): Send a different
7160 Python command if Ipython is in use.
7161 (python-check-version): Use a Python command to find the version.
7163 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7165 * mouse.el (mouse-yank-primary): Avoid setting primary when
7166 deactivating the mark (Bug#6872).
7168 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7170 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7171 with "else" (Bug#3991).
7173 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7175 * net/dbus.el: Accept UNIX domain sockets as bus address.
7176 (top): Don't initialize `dbus-registered-objects-table' anymore,
7177 this is done in dbusbind,c.
7178 (dbus-check-event): Adapt test for bus.
7179 (dbus-return-values-table, dbus-unregister-service)
7180 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7183 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7185 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7187 2010-08-22 Juri Linkov <juri@jurta.org>
7189 * simple.el (read-extended-command): New function with the logic
7190 for `completing-read' moved to Elisp from `execute-extended-command'.
7191 Use `function-called-at-point' in `minibuffer-default-add-function'
7192 to get a command name for M-n (bug#5364, bug#5214).
7194 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7196 * startup.el (command-line-1): Issue warning for ignored arguments
7197 --unibyte, etc (Bug#6886).
7199 2010-08-22 Leo <sdl.web@gmail.com>
7201 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7202 (ignore, bright, dim, keyword): Split list of nicknames before
7203 passing to rcirc-add-or-remove (Bug#6894).
7205 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7207 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7209 2010-08-22 Leo <sdl.web@gmail.com>
7211 Fix buffer-list rename&refresh after killing a buffer in ido.
7212 * ido.el: Revert Óscar's.
7213 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7214 Remember the buffers at head, rather than their name.
7215 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7217 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7218 Stefan Monnier <monnier@iro.umontreal.ca>
7220 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7221 extra backslash added to each line (bug#6890).
7223 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7225 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7227 2010-08-22 Glenn Morris <rgm@gnu.org>
7229 * menu-bar.el (menu-bar-games-menu): Add landmark.
7231 2010-08-22 Glenn Morris <rgm@gnu.org>
7233 * align.el (align-regexp): Make group and spacing arguments
7234 use the interactive defaults when non-interactive. (Bug#6698)
7236 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7237 expansion, so as not to need sendmail.
7238 (mail-text-start): Remove declaration.
7239 (rmail-retry-failure): Require sendmail.
7241 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7243 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7245 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7247 * progmodes/flymake.el (flymake-start-syntax-check-process):
7248 Use `start-file-process' in order to let it run also on remote hosts.
7250 2010-08-22 Kenichi Handa <handa@m17n.org>
7252 * files.el: Add `word-wrap' as safe local variable.
7254 2010-08-22 Glenn Morris <rgm@gnu.org>
7256 * woman.el (woman-translate): Case matters. (Bug#6849)
7258 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7260 * simple.el (kill-region): Doc fix (Bug#6787).
7262 2010-08-22 Glenn Morris <rgm@gnu.org>
7264 * calendar/diary-lib.el (diary-header-line-format):
7265 Fit it to the window, not the frame.
7267 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7269 * subr.el (ignore-errors): Add debug declaration.
7271 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7273 * whitespace.el (whitespace-color-off): Remove post-command-hook
7276 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7278 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7280 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7282 * cus-edit.el (custom-group-value-create): Add extra newline
7283 before end line (Bug#6876).
7285 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7287 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7288 when extending it. Before killing on the second click, check if
7289 the buffer is the correct one. Doc fix.
7290 (mouse-secondary-save-then-kill): Allow usage without first
7291 calling mouse-start-secondary, by defaulting to point. Don't save
7292 an empty secondary selection. Doc fix.
7294 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7296 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7297 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7299 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7300 Adjust initialization.
7301 (whitespace-bob-marker, whitespace-eob-marker)
7302 (whitespace-buffer-changed): New vars.
7303 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7304 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7305 (whitespace-post-command-hook, whitespace-display-char-on):
7307 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7308 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7310 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7312 * files.el (locate-file-completion-table): Only list the .el and .elc
7313 extensions if there's no other choice (bug#5955).
7315 * facemenu.el (facemenu-self-insert-data): New var.
7316 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7318 (facemenu-add-face): Use them.
7320 * simple.el (blink-matching-open): Obey forward-sexp-function.
7322 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7324 * simple.el (prog-mode-map): New var.
7325 (prog-indent-sexp): New command.
7327 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7329 * progmodes/prolog.el (smie): Require.
7331 * emacs-lisp/smie.el (smie-default-backward-token)
7332 (smie-default-forward-token): Strip properties.
7333 (smie-next-sexp): Be more careful with associative operators.
7334 (smie-forward-sexp-command): Generalize.
7335 (smie-backward-sexp-command): Simplify.
7336 (smie-closer-alist): New var.
7337 (smie-close-block): New command.
7338 (smie-indent-debug-log): New var.
7339 (smie-indent-offset-rule): Add a few more cases.
7340 (smie-indent-column): New function.
7341 (smie-indent-after-keyword): Use it.
7342 (smie-indent-keyword): Use it.
7343 Fix up the opener code's point position.
7344 (smie-indent-comment): Only applies at BOL.
7345 (smie-indent-debug): New command.
7347 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7348 declarations that are useful before running the macro.
7350 2010-08-18 Joakim Verona <joakim@verona.se>
7352 * image.el (imagemagick-types-inhibit): New variable.
7353 (imagemagick-register-types): New function.
7354 * image-mode.el (image-transform-properties): New function.
7355 (image-transform-set-scale, image-transform-fit-to-height)
7356 (image-transform-set-rotation, image-transform-set-resize)
7357 (image-transform-fit-to-width, image-transform-fit-to-height):
7359 (image-toggle-display-image): Support image transforms.
7361 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7363 * image.el (create-animated-image): Don't add heuristic mask to image
7366 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7368 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7369 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7371 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7373 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7375 Font-lock '...' strings, plus various simplifications and fixes.
7376 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7377 (octave-font-lock-close-quotes): New function.
7378 (octave-font-lock-syntactic-keywords): New var.
7379 (octave-mode): Use it. Set beginning-of-defun-function.
7380 (octave-mode-map): Don't override the <foo>-defun commands.
7381 (octave-mode-menu): Pass it directly to easy-menu-define;
7382 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7383 (octave-block-match-alist): Fix up last change so that
7384 octave-close-block uses the more specific keyword.
7385 (info-lookup-mode): Silence byte-compiler.
7386 (octave-beginning-of-defun): Not interactive any more.
7388 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7389 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7390 (octave-completion-at-point-function): Make sure point is within
7392 (octave-reindent-then-newline-and-indent):
7393 Use reindent-then-newline-and-indent.
7394 (octave-add-octave-menu): Remove.
7396 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7398 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7399 (report-emacs-bug-can-use-xdg-email): New functions.
7400 (report-emacs-bug): Set can-xdg-email to result of
7401 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7402 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7405 * net/browse-url.el (browse-url-default-browser): Add cond
7406 for browse-url-xdg-open.
7407 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7409 2010-08-17 Glenn Morris <rgm@gnu.org>
7411 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7412 (c-fontify-recorded-types-and-refs): Define for compiler.
7413 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7416 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7419 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7421 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7423 (tramp-handle-process-file): Call the program in a subshell, in
7424 order to preserve working directory.
7425 (tramp-action-password): Hide password prompt before next run.
7426 (tramp-process-actions): Widen connection buffer for the trace.
7428 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7430 * net/rcirc.el (rcirc-log-process-buffers): New option.
7431 (rcirc-print): Use it.
7432 (rcirc-generate-log-filename): New function.
7433 (rcirc-log-filename-function): Change default to
7434 rcirc-generate-log-filename (Bug#6828).
7436 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7438 * simple.el (deactivate-mark): If select-active-regions is `only',
7439 only set selection for temporarily active regions.
7441 * cus-start.el: Change defcustom for select-active-regions.
7443 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7445 * mouse.el (mouse--drag-set-mark-and-point): New function.
7446 (mouse-drag-track): Use LOCATION arg to push-mark.
7447 Use mouse--drag-set-mark-and-point to take click-count into
7448 consideration when updating point and mark (Bug#6840).
7450 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7452 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7453 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7455 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7457 * font-lock.el (lisp-font-lock-keywords-2):
7458 Add combine-after-change-calls, condition-case-no-debug,
7459 with-demoted-errors, and with-silent-modifications (Bug#6025).
7461 2010-08-14 Kevin Ryde <user42@zip.com.au>
7463 * emacs-lisp/copyright.el (copyright-update-year)
7464 (copyright-update): Temporary switch-to-buffer to ensure the
7465 buffer change being queried is visible (Bug#5394).
7467 2010-08-14 Tom Tromey <tromey@redhat.com>
7469 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7472 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7474 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7477 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7479 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7480 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7481 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7482 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7483 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7484 Call menu-bar-set-tool-bar-position.
7486 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7488 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7489 comment style (bug#6834).
7490 * progmodes/scheme.el (scheme-mode-syntax-table):
7491 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7492 "b" flag in "' 14b" syntax.
7494 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7495 for (un)commenting the region and performing completion.
7496 (octave-mode-menu): Use standard commands for help and completion.
7497 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7498 (octave-mode): Use define-derived-mode.
7499 Set completion-at-point-functions and don't set columns.
7500 Don't disable adaptive-fill-regexp.
7501 (octave-describe-major-mode, octave-comment-region)
7502 (octave-uncomment-region, octave-comment-indent)
7503 (octave-indent-for-comment): Remove.
7504 (octave-indent-calculate): Rename from calculate-octave-indent.
7505 (octave-indent-line, octave-fill-paragraph): Update caller.
7506 (octave-initialize-completions): No need to make an alist.
7507 (octave-completion-at-point-function): New function.
7508 (octave-complete-symbol): Use it.
7509 (octave-insert-defun): Use define-skeleton.
7511 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7512 (octave-mode-map): Use comment-dwim (bug#6829).
7514 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7516 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7517 indentation of inserted comment.
7519 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7521 * faces.el (region): Add type gtk that uses gtk colors.
7523 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7524 Handle theme-name change.
7526 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7528 * progmodes/sql.el: Version 2.5
7529 (sql-product-alist): Add :prompt-cont-regexp property for several
7531 (sql-prompt-cont-regexp): New variable.
7532 (sql-output-newline-count, sql-output-by-send):
7533 New variables. Record number of newlines in input text.
7534 (sql-send-string): Handle multiple filters and count newlines.
7535 (sql-send-magic-terminator): Count terminator newline.
7536 (sql-interactive-remove-continuation-prompt): Filters output to
7537 remove continuation prompts; one for each newline.
7538 (sql-interactive-mode): Set up new variables, prompt regexp and
7540 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7541 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7543 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7545 * emacs-lisp/pcase.el: New file.
7547 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7549 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7550 as here-document, otherwise the command could exceed maximum
7551 length of command line.
7552 (tramp-handle-vc-registered): Call script accordingly.
7553 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7555 2010-08-10 Kenichi Handa <handa@m17n.org>
7557 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7560 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7562 * emacs-lisp/package.el (package-version-split)
7563 (package--version-first-nonzero, package-version-compare):
7565 (package-directory-list, package-load-all-descriptors)
7566 (package--built-in, package-activate, define-package)
7567 (package-installed-p, package-compute-transaction)
7568 (package-read-all-archive-contents)
7569 (package--add-to-archive-contents, package-buffer-info)
7570 (package-tar-file-info, package-list-packages-internal):
7571 Use version-to-list and version-list-*.
7573 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7574 Use version-to-list.
7575 (package-upload-buffer-internal): Use version-list-<=.
7577 2010-08-09 Kenichi Handa <handa@m17n.org>
7579 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7582 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7584 * tutorial.el (tutorial--default-keys): C-d is now bound to
7585 delete-forward-char (Bug#6826).
7587 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7588 for `double' value of mouse-1-click-follows-link (Bug#6807).
7590 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7592 * replace.el (replace-highlight): Bind isearch-forward and
7593 isearch-error, ensuring that highlighting is updated if the user
7594 switches the search direction (Bug#6808).
7596 * isearch.el (isearch-lazy-highlight-forward): New var.
7597 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7598 (isearch-lazy-highlight-update): Use it.
7600 2010-08-08 Kenichi Handa <handa@m17n.org>
7602 * international/mule.el (define-charset): Store NAME as :base property.
7603 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7604 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7605 current priority. Force using the designation of the specific
7606 charset by adding `charset' text property. Improve the whole algorithm.
7608 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7610 * emulation/pc-select.el (pc-selection-mode-hook)
7611 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7612 (pc-selection-mode): Fix typos in docstrings.
7614 2010-08-08 Kenichi Handa <handa@m17n.org>
7616 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7617 ctext-non-standard-encodings-alist here.
7619 * international/mule.el (ctext-non-standard-encodings-alist):
7620 Add "koi8-r" and "microsoft-cp1251".
7621 (ctext-standard-encodings): New variable.
7622 (ctext-non-standard-encodings-table): List only elements for
7623 non-standard encodings.
7624 (ctext-pre-write-conversion): Adjust for the above change.
7625 Check ctext-standard-encodings.
7627 * international/mule-conf.el (compound-text): Doc fix.
7628 (ctext-no-compositions): Doc fix.
7629 (compound-text-with-extensions): Doc fix.
7631 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7633 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7635 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7637 * progmodes/which-func.el (which-func-format): Split help-echo text
7638 into lines, like other mode-line tooltips.
7640 * server.el (server-start): When using TCP sockets, force IPv4
7641 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7643 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7645 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7647 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7649 * term.el (term-delimiter-argument-list): Reflow docstring.
7650 (term-read-input-ring, term-write-input-ring, term-send-input)
7651 (term-bol, term-erase-in-display, serial-supported-or-barf):
7652 Fix typos in docstrings.
7654 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7656 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7658 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7660 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7662 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7664 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7665 Fix typo in docstring (bug#6747).
7667 2010-08-08 Leo <sdl.web@gmail.com>
7669 * eshell/esh-io.el (eshell-get-target): Better detection of
7670 read-only file (Bug#6762).
7672 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7674 * align.el (align-default-spacing): Doc fix.
7675 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7677 2010-08-08 Stephen Peters <speters@itasoftware.com>
7679 * calendar/icalendar.el
7680 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7681 (icalendar--get-weekday-numbers): New.
7682 (icalendar--convert-recurring-to-diary): Handle multiple byday
7683 values in weekly rules. (Bug#6766)
7685 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7687 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7688 (icalendar--create-uid, icalendar-export-region)
7689 (icalendar--parse-summary-and-rest): Code formatting.
7691 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7693 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7694 to italicize headers.
7695 (calc-highlight-selections-with-faces): New variable.
7696 (calc-selected-face, calc-nonselected-face): New faces.
7698 * calc/calccomp.el (math-comp-highlight-string): Use
7699 `calc-highlight-selections-with-faces' to determine how to highlight
7702 * calc/calc-sel.el (calc-show-selections): Change message to when
7703 using faces to highlight selections.
7705 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7707 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7708 Add SQLite 3 keywords, functions and datatypes.
7709 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7712 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7714 * simple.el (select-active-regions): Move to keyboard.c.
7715 (deactivate-mark): Used saved-region-selection.
7716 (select-active-region): Function removed.
7717 (activate-mark, set-mark, push-mark-command)
7718 (handle-shift-selection): Don't call it.
7719 (keyboard-quit): Avoid adding the region to the window selection.
7721 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7722 select-active-regions implementation.
7723 (mouse-yank-at-click): Doc fix.
7725 * cus-start.el: Add custom declaration for select-active-regions.
7727 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7729 * simple.el (delete-forward-char): Doc fix.
7731 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7732 after reading the tutorial.
7734 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7736 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7737 Fix for the case that a C style comment has its delimiters alone on
7738 their respective lines.
7740 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7742 * net/tramp.el (tramp-handle-start-file-process): Set connection
7744 (tramp-process-sentinel): Use it for flushing the cache.
7745 We cannot do it via the process buffer, the buffer could be deleted
7746 already when running the sentinel.
7748 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7750 * comint.el (comint-mode): Make directory tracking functions
7751 functional on remote files. (Bug#6764)
7753 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7755 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7757 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7759 * emacs-lisp/find-gc.el (find-gc-source-files):
7760 Rename unexec.c => unexcoff.c.
7762 * emacs-lisp/authors.el (authors-fixed-entries):
7763 Rename unexec.c => unexcoff.c.
7765 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7767 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7768 cache, not only file cache.
7769 (tramp-process-sentinel): New defun.
7770 (tramp-handle-start-file-process): Use it, in order to invalidate
7773 2010-08-03 Leo <sdl.web@gmail.com>
7775 * server.el (server-start): Simplify loop.
7777 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7779 * frame.el (screen-height, screen-width, set-screen-width)
7780 (set-screen-height): Remove ancient compatibility aliases.
7782 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7783 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7785 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7786 that change current buffer.
7788 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7790 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7791 beginning of the string. Use `string-match-p'. (Bug#6765)
7793 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7795 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7797 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7799 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7800 (package--builtins): Tweak descriptions.
7801 (package-print-package): Upcase descriptions if necessary.
7802 Show all built-in packages in font-lock-builtin-face.
7803 (package-list-packages-internal): Omit "emacs" package.
7804 Show status of built-in packages as "built-in".
7806 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7808 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7809 before killing to preserve the primary selection (Bug#6701).
7811 * term/x-win.el (x-select-text): Doc fix.
7813 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7815 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7816 (objc-font-lock-extra-types):
7817 * progmodes/cc-mode.el (c-basic-common-init):
7818 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7819 (c++-make-template-syntax-table)
7820 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7821 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7822 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7823 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7824 * progmodes/cc-fonts.el (c-make-inverse-face)
7825 (c-basic-matchers-after):
7826 * progmodes/cc-engine.el (c-forward-keyword-clause)
7827 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7828 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7829 (c-guess-continued-construct, c-guess-basic-syntax):
7830 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7831 The above functions were modified or created.
7833 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7835 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7837 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7839 * files.el (bidi-paragraph-direction): Define safe local values.
7841 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7842 language-info-alist. Remove outdated FIXME in a comment.
7844 2010-07-31 Alan Mackenzie <acm@muc.de>
7846 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7847 Auto-fill broken in C/C++ modes.
7849 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7851 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7852 (menu-bar-showhide-tool-bar-menu-customize-disable)
7853 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7854 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7855 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7856 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7857 make a menu for Options => toolbar that can move it.
7859 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7861 * emacs-lisp/package-x.el (package--make-rss-entry):
7862 (package-maint-add-news-item, package--update-news)
7863 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7865 * emacs-lisp/package.el (package-archive-url): Rename from
7867 (package-install): Doc fix.
7868 (package-download-single, package-download-tar, package-install)
7869 (package-menu-view-commentary): Callers changed.
7871 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7873 * net/tramp.el (tramp-handle-start-file-process): Check only for
7874 `remote-tty' process property.
7875 (tramp-open-shell): Don't check for tty.
7876 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7879 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7882 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7884 * emacs-lisp/package.el (package-load-list, package-archives)
7885 (package-archive-contents, package-user-dir)
7886 (package-directory-list, package--builtins, package-alist)
7887 (package-activated-list, package-obsolete-alist): Mark as risky.
7889 2010-07-28 Phil Hagelberg <phil@evri.com>
7891 Add support for non-default package repositories.
7892 * emacs-lisp/package.el (package-archive-base): Var deleted.
7893 (package-archives): New variable.
7894 (package-archive-contents): Doc fix.
7895 (package-load-descriptor): Do nothing if descriptor file is missing.
7896 (package--write-file-no-coding): New function.
7897 (package-unpack-single): Use it.
7898 (package-archive-id): New function.
7899 (package-download-single, package-download-tar)
7900 (package-menu-view-commentary): Use it.
7901 (package-installed-p): Make second argument optional.
7902 (package-read-all-archive-contents): New function.
7903 (package-initialize): Use it.
7904 (package-read-archive-contents): Add ARCHIVE argument.
7905 (package--add-to-archive-contents): New function.
7906 (package-install): Don't call package-read-archive-contents.
7907 (package--download-one-archive): Store archive file in a
7908 subdirectory of package-user-dir.
7909 (package-menu-execute): Remove spurious line movement.
7911 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7913 * cus-start.el (tool-bar-style): Add text-image-horiz.
7915 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7917 * progmodes/gud.el (gud-common-init): Check for remoteness of
7918 `file', and not of `default-directory'.
7920 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7922 * net/tramp.el (tramp-methods): Move hostname to the end in all
7923 ssh `tramp-login-args'.
7924 (tramp-verbose): Describe verbose level 9.
7925 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7926 (tramp-open-connection-setup-interactive-shell): Trace stty
7927 settings if `tramp-verbose' >= 9.
7928 (tramp-handle-start-file-process): Implement tty setting.
7929 (Bug#4604, Bug#6360)
7931 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7932 `tramp-verbose' to 9.
7934 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7936 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7937 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7938 Remove references to package `lisp-re' (bug#4369).
7940 2010-07-27 Tom Tromey <tromey@redhat.com>
7942 * progmodes/js.el (js-mode):
7943 * progmodes/make-mode.el (makefile-mode):
7944 * progmodes/simula.el (simula-mode):
7945 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7947 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7949 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7951 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7952 (display-time-world-buffer-name, display-time-world-mode-map):
7953 Fix typos in docstrings.
7955 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7957 * image-mode.el (image-display-size): New function.
7958 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7959 (image-mode-fit-frame): Use it (Bug#6639).
7961 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7963 * dired.el (dired-buffers-for-dir): Handle list values of
7964 dired-directory (Bug#6636).
7966 2010-07-26 Sam Steingold <sds@gnu.org>
7968 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7969 Do not call `x-get-selection' the second time, reuse the value.
7971 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7973 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7974 which consist of control chars only. Suggested by Richard Stallman.
7976 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7978 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7979 exists before passing an error to find-file-not-found-functions
7982 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7984 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7985 Remove leading nil element, adjust values.
7986 (tetris-shapes, tetris-shape-scores):
7987 Change representation of shapes and remove some redundancy.
7988 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7989 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7990 Adjust for working with new representation of shapes.
7991 (tetris-shape-rotations): New function.
7992 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7993 (tetris-rotate-prev, tetris-rotate-next):
7994 Adjust for working with the new version of tetris-test-shape.
7996 2010-07-23 Markus Triska <markus.triska@gmx.at>
7998 * progmodes/ps-mode.el: Use comint (bug#5954).
7999 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8000 (ps-mode-other-newline): Simplify.
8001 (ps-run-mode): Derive from comint-mode instead of
8002 fundamental-mode, yielding input history etc.
8003 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8004 (ps-run-send-string): Adapt for comint-mode.
8005 (ps-run-newline): Remove now unneeded function.
8007 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8009 * net/tramp.el (tramp-methods): Move hostname to the end in all
8010 plink `tramp-login-args'.
8012 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8014 * net/tramp.el (tramp-open-shell): New defun.
8015 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8018 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8020 * net/tramp.el (tramp-file-name-regexp-unified)
8021 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8022 not regard the volume letter as remote filename. (Bug#5447)
8024 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8026 * custom.el (custom-declare-variable): Give a clearer error message
8027 when the docstring is missing (bug#6476).
8029 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8031 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8032 (sql-login-params): New widget definition.
8033 (sql-oracle-login-params, sql-mysql-login-params)
8034 (sql-solid-login-params, sql-sybase-login-params)
8035 (sql-informix-login-params, sql-ingres-login-params)
8036 (sql-ms-login-params, sql-postgres-login-params)
8037 (sql-interbase-login-params, sql-db2-login-params)
8038 (sql-linter-login-params): Use it.
8039 (sql-sqlite-login-params): Use it; Define "database" parameter as
8041 (sql-sqlite-program): Change to "sqlite3".
8042 (sql-comint-sqlite): Make sure database name is complete.
8043 (sql-for-each-login): New function.
8044 (sql-connect, sql-save-connection): Use it.
8045 (sql-get-login-ext): New function.
8046 (sql-get-login): Use it.
8047 (sql-make-alternate-buffer-name): Handle :file parameters.
8049 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8051 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8052 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8054 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8056 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8058 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8060 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8062 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8064 * net/tramp.el (tramp-get-ls-command)
8065 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8068 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8070 * progmodes/sql.el: Version 2.3.
8071 (sql-connection-alist): Change keys from symbols to strings;
8072 enhanced the widget definition.
8073 (sql-mode-menu): Add submenu to select connections.
8074 (sql-interactive-mode-menu): Add "Save Connection" item.
8075 (sql-add-product): Fix menu item.
8076 (sql-get-product-feature): Improved error handling.
8077 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
8078 (sql-make-alternate-buffer-name): Simplified.
8079 (sql-product-interactive): Handle missing product.
8080 (sql-connect): Support string keys, minor improvements.
8081 (sql-save-connection): New function.
8082 (sql-connection-menu-filter): New function.
8084 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8086 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8087 (tramp-open-connection-setup-interactive-shell):
8088 Apply workaround for IRIX64 bug. Move argument of last
8089 `tramp-send-command' where it belongs to.
8091 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8093 * net/tramp.el (tramp-perl-file-attributes)
8094 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8095 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8096 front of `login-args'.
8098 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8100 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8101 Set `show-trailing-whitespace' to nil.
8102 (display-time-world-display): Simplify.
8104 2010-07-18 Alan Mackenzie <acm@muc.de>
8106 Enhance `c-file-style' in file/directory local variables.
8107 * progmodes/cc-mode.el (c-count-cfss): New function.
8108 (c-before-hack-hook): Call `c-set-style' differently according to
8109 whether c-file-style was set in file or directory local
8112 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8114 * progmodes/sql.el: Version 2.2.
8115 (sql-product, sql-user, sql-database, sql-server, sql-port):
8116 Use defcustom :safe keyword rather than putting safe-local-variable
8118 (sql-password): Use defcustom :risky keyword rather than putting
8119 risky-local-variable property.
8120 (sql-oracle-login-params, sql-sqlite-login-params)
8121 (sql-solid-login-params, sql-sybase-login-params)
8122 (sql-informix-login-params, sql-ingres-login-params)
8123 (sql-ms-login-params, sql-postgres-login-params)
8124 (sql-interbase-login-params, sql-db2-login-params)
8125 (sql-linter-login-params): Add `port' option.
8126 (sql-get-product-feature): Add NO-INDIRECT parameter.
8127 (sql-comint-oracle, sql-comint-sybase)
8128 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8129 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8130 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8131 (sql-comint-linter): Rename sql-connect-* functions to
8133 (sql-product-alist, sql-mode-menu): Rename as above and
8134 :sqli-connect-func to :sqli-comint-func.
8135 (sql-connection): New variable.
8136 (sql-interactive-mode): Set it.
8137 (sql-connection-alist): New variable.
8138 (sql-connect): New function.
8139 (sql--alt-buffer-part, sql--alt-if-not-empty)
8140 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8142 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8144 * image-mode.el (image-bookmark-make-record): Do not set context
8145 in an image (Bug#6650).
8147 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8149 * simple.el (select-active-region): New function.
8150 (push-mark-command, set-mark, activate-mark)
8151 (handle-shift-selection): Use it.
8152 (deactivate-mark): Don't check for size of region.
8154 * mouse.el (mouse-drag-track): Use select-active-region.
8156 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8158 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8161 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8163 * term/x-win.el (x-select-enable-primary): Change default to nil.
8164 (x-select-enable-clipboard): Add :version keyword.
8166 * mouse.el (mouse-drag-copy-region):
8167 * simple.el (select-active-regions): Likewise.
8169 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8171 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8172 (vc-coding-system-for-diff): Use it to decide whether to inherit
8173 from the file the EOL format for reading the diffs of that file.
8176 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8178 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8179 unibyte, so compressed attachments are not compressed again.
8181 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8183 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8184 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8185 (tramp-find-shell): Simplify setting connection property.
8186 (tramp-get-ls-command): Make test for "--color=never" stronger.
8188 2010-07-15 Simon South <ssouth@member.fsf.org>
8190 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8191 blocks within record declarations (i.e. variant parts) correctly.
8193 2010-07-15 Simon South <ssouth@member.fsf.org>
8195 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8196 over literal tokens when parsing so newlines aren't "absorbed" by
8197 single-line comments. Corrects the indentation of case blocks
8198 that have a comment on the first line.
8200 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8202 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8203 by Drew Adams (Bug#5504).
8205 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8207 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8208 now that Unicode is used (Bug#6594).
8210 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8212 * term/x-win.el (x-select-enable-clipboard): Default to t.
8213 (x-initialize-window-system): Don't overwrite Paste menu item.
8215 * simple.el (select-active-regions): Default to t.
8216 (push-mark-command): Don't overwrite primary with empty string.
8218 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8219 (mouse-drag-copy-region): Default to nil.
8221 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8222 Cut/Copy/Paste menu bar items.
8224 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8226 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8227 Patch applied by Karl Fogel.
8229 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8230 and `bookmark-current-buffer' if they have been already set in
8231 another buffer (e.g gnus-art).
8233 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8234 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8236 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8238 * bookmark.el (bookmark-make-record-default): Allow unneeded
8239 information to be omitted from the record.
8241 Adjust declarations and calls:
8243 * info.el (bookmark-make-record-default): Adjust declaration.
8244 (Info-bookmark-make-record): Adjust call.
8246 * woman.el (bookmark-make-record-default): Adjust declaration.
8247 (woman-bookmark-make-record): Adjust call.
8249 * man.el (bookmark-make-record-default): Adjust declaration.
8250 (Man-bookmark-make-record): Adjust call.
8252 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8254 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8256 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8258 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8259 This is also from Thierry Volpiatto's patch in bug #6444. However,
8260 because it was extraneous to the functional change in that patch,
8261 and causes a re-indendation, I am committing it separately.
8263 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8265 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8266 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8267 Patch applied by Karl Fogel (Bug#6444).
8269 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8271 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8273 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8275 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8276 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8277 (ns-alternatives-map): Change S-tab binding to backtab
8280 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8283 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8285 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8288 * language/tv-util.el (tai-viet-re): Remove format.
8290 2010-07-12 Kenichi Handa <handa@m17n.org>
8292 * language/hebrew.el: Remove no-byte-compile declaration.
8293 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8294 composition-function-table for 3-character looking back.
8295 (hebrew-font-get-precomposed): New function.
8296 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8298 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8300 * mouse.el (mouse-drag-track): Handle select-active-regions
8303 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8305 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8306 empty argument to gvfs-copy.
8308 2010-07-10 Glenn Morris <rgm@gnu.org>
8310 * calendar/calendar.el (calendar-week-end-day): New function.
8311 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8312 Respect calendar-week-start-day. (Bug#6606)
8313 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8314 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8315 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8316 respect calendar-week-start-day.
8318 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8320 * simple.el (use-region-p): Doc fix (Bug#6607).
8322 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8324 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8325 Add regexps for cucumber and ruby.
8327 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8329 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8330 (epa-file-insert-file-contents): Hack to prevent
8331 find-file from opening empty buffer when decryption failed
8334 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8336 * textmodes/ispell.el (ispell-alternate-dictionary):
8337 Use file-readable-p.
8338 Return nil if no word-list is found at default locations.
8339 (ispell-complete-word-dict): Default to nil.
8340 (ispell-command-loop): Use 'word-list' when using lookup-words.
8341 (lookup-words): Use ispell-complete-word-dict or
8342 ispell-alternate-dictionary. Check for word-list availability
8343 and handle errors if needed with better messages (Bug#6539).
8344 (ispell-complete-word): Use ispell-complete-word-dict or
8345 ispell-alternate-dictionary.
8347 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8349 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8350 builtins (BufferError, BytesWarning, WindowsError; callables
8351 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8353 2010-07-07 Glenn Morris <rgm@gnu.org>
8355 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8356 (zone-shift-left): Ignore intangibility, and any errors from
8358 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8359 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8360 deleting, and copying text properties.
8361 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8362 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8363 to point-max is hard.
8364 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8365 (zone-fill-out-screen): Ignore intangibility.
8367 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8369 * menu-bar.el (menu-bar-mode):
8370 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8373 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8374 word/line selection (Bug#6565).
8376 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8378 * net/dbus.el (dbus-send-signal): Declare function.
8380 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8382 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8383 (dbus-register-property): New optional argument EMITS-SIGNAL.
8384 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8386 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8388 * mouse.el (mouse-drag-overlay): Variable deleted.
8389 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8390 (mouse--remap-link-click-p): New function.
8391 (mouse-drag-track): Handle dragging by using temporary Transient
8392 Mark mode, instead of a special overlay.
8393 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8396 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8399 2010-07-02 Juri Linkov <juri@jurta.org>
8401 * autoinsert.el (auto-insert-alist): Fix readability
8402 by using dotted pair notation for lambda.
8404 2010-07-02 Juri Linkov <juri@jurta.org>
8406 * faces.el (read-face-name): Rename arg `string-describing-default'
8407 to `default'. Doc fix. Display the default value in quotes
8408 in the prompt. With empty input, return the `default' arg,
8409 unless the default value is a string (in which case return nil).
8410 (describe-face): Replace the string `default' arg of `read-face-name'
8411 with the symbol `default'.
8413 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8415 * emulation/viper-cmd.el (viper-delete-backward-char)
8416 (viper-del-backward-char-in-insert)
8417 (viper-del-backward-char-in-replace, viper-change)
8418 (viper-backward-indent): Replace delete-backward-char with
8419 delete-char (Bug#6552).
8421 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8423 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8425 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8427 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8428 argument passed to frame-creation-function (Bug#5378).
8430 * faces.el (x-handle-named-frame-geometry)
8431 (x-handle-reverse-video, x-create-frame-with-faces)
8432 (face-set-after-frame-default, tty-create-frame-with-faces):
8433 Don't separately consult default-frame-alist. It is now passed as the
8436 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8438 * startup.el (command-line): Don't call tool-bar-setup in a
8441 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8443 * ruler-mode.el (ruler--save-header-line-format): New fun.
8444 (ruler-mode): Use it as a setter function, so as not to overwrite
8445 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8447 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8449 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8450 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8451 (vc-log-outgoing): Use it.
8452 (vc-diff-internal): Set diff-vc-backend.
8454 * vc/diff-mode.el (diff-vc-backend): New var.
8456 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8458 * dynamic-setting.el (font-setting-change-default-font):
8459 Remove call to message.
8461 2010-06-28 Kenichi Handa <handa@m17n.org>
8463 * international/quail.el (quail-insert-kbd-layout): Fix the
8464 showing of untranslated characters.
8466 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8468 * simple.el (delete-active-region): New option.
8469 (delete-backward-char): Implement in Lisp.
8470 (delete-forward-char): New command.
8472 * mouse.el (mouse-region-delete-keys): Deleted.
8473 (mouse-show-mark): Simplify.
8475 * bindings.el (global-map): Bind delete and DEL, the former to
8476 delete-forward-char.
8478 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8480 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8481 (ruby-mode): Bind indent-line-function (Bug#5119).
8483 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8485 * startup.el (command-line): Recognize "0" X resource value.
8487 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8489 * startup.el (command-line): Use X resources to set the value of
8490 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8492 * menu-bar.el (menu-bar-mode):
8493 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8494 Set init-value to t.
8496 * frame.el (frame-notice-user-settings): Don't change
8497 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8498 vice versa (Bug#2249).
8500 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8502 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8504 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8506 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8507 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8509 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8510 default directories are expanded (Bug#6143).
8512 2010-06-24 Juri Linkov <juri@jurta.org>
8514 * minibuffer.el (completions-format): Change default from nil to
8515 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8517 2010-06-24 Juri Linkov <juri@jurta.org>
8519 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8520 buffer-locally to lambda that re-runs the vc diff command.
8523 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8525 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8526 echo area is in use (Bug#3412).
8528 2010-06-22 Glenn Morris <rgm@gnu.org>
8530 * textmodes/texinfmt.el (texinfo-format-region)
8531 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8532 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8533 (texinfo-format-option, texinfo-noindent):
8534 Use line-beginning-position and line-end-position.
8536 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8537 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8538 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8541 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8543 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8544 forward-line fallout.
8546 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8548 * mouse.el (mouse-appearance-menu): Add docstring.
8550 * help.el (describe-key): Print up-event using key-description.
8552 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8554 * net/zeroconf.el (zeroconf-resolve-service)
8555 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8556 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8558 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8560 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8562 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8564 Avoid displaying files with a nil state in vc-dir.
8565 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8566 cases that cause insertion.
8567 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8570 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8572 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8574 2010-06-29 Leo <sdl.web@gmail.com>
8576 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8578 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8580 * generic-x.el (bat-generic-mode): Fix regexp for command line
8581 switches (Bug#5719).
8583 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8585 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8586 of nconc to avoid pure storage error (Bug#6239).
8588 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8590 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8591 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8592 bindings of bookmark-automatically-show-annotations (Bug#6515).
8594 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8596 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8597 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8599 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8601 * comint.el (make-comint, make-comint-in-buffer): Mention return
8602 value in the docstrings. (Bug#6498)
8604 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8606 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8607 since it is not present when using some non-default switches.
8609 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8611 * simple.el (compose-mail): Fix doc string to refer to
8612 `compose-mail-user-agent-warnings', instead of to the
8613 nonexistent `compose-mail-check-user-agent'.
8615 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8617 Fix an indentation bug:
8619 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8620 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8623 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8624 (c-clear->-pair-props-if-match-before): now return t when they've
8625 cleared properties, nil otherwise.
8626 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8627 by taking account of the existing value.
8629 * progmodes/cc-defs.el
8630 (c-clear-char-property-with-value-function): Fix this to clear the
8631 property rather than overwriting it with nil.
8633 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8635 * emacs-lisp/package.el (package-print-package): Add link to
8636 package description via describe-package.
8637 (describe-package-1): List package requirements. Add button to
8638 perform installation.
8639 (package-menu-describe-package): New command.
8641 * help-mode.el (help-package): New button type.
8643 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8645 * emacs-lisp/package.el: Move package-list-packages binding to
8647 (describe-package, describe-package-1, package--dir): New funs.
8648 (package-activate-1): Use package--dir.
8650 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8652 * help-mode.el (help-package-def): New button type.
8654 * menu-bar.el: Move package-list-packages binding here from
8657 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8659 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8661 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8663 * emacs-lisp/edebug.el (edebug-read-list):
8664 Phase out old-style backquotes.
8666 2010-06-17 Juri Linkov <juri@jurta.org>
8668 * help-mode.el (help-mode): Set buffer-local variable
8669 revert-buffer-function to help-mode-revert-buffer.
8670 (help-mode-revert-buffer): New function.
8672 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8673 before popping to "*info*" (like in other Info functions).
8674 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8675 old-history-forward. Pop to old-buffer-name or "*info*" to
8676 recreate the killed buffer. Set Info-history-forward from
8677 old-history-forward.
8678 (Info-breadcrumbs-depth): Add :group and :version.
8680 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8682 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8684 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8686 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8687 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8689 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8691 * emacs-lisp/package.el (package-menu-mode-map):
8692 Move initialization into declaration.
8694 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8696 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8698 * emacs-lisp/package.el (package-archive-base): Point to
8700 (package-enable, package-load-list): New defcustoms.
8701 (package-user-dir, package-directory-list): Turn into defcustoms.
8702 Don't include package-user-dir in package-directory-list.
8703 (package--builtins-base): Don't include Emacs as a "package".
8704 (package-subdirectory-regexp): New var.
8705 (package-load-all-descriptors, package-compute-transaction)
8706 (package-download-transaction): Obey package-load-list.
8707 (package-activate-1): Rename from package-do-activate.
8708 (package-list-packages-internal): Check package-load-list.
8709 (package-load-descriptor, package-generate-autoloads)
8710 (package-unpack, package-unpack-single)
8711 (package--read-archive-file, package-delete):
8712 Use expand-file-name.
8714 * emacs-lisp/package-x.el: New file. Package uploading
8715 functionality split out from package.el.
8717 * startup.el (command-line): Load packages after reading init file.
8719 2010-06-17 Tom Tromey <tromey@redhat.com>
8721 * emacs-lisp/package.el: New file.
8723 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8725 Fix vc-annotate for renamed files when using Git.
8726 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8727 ls-files. Doe not pass the object as a file name to cat-file, it
8729 (vc-git-annotate-command): Pass the file name using -- to avoid
8730 ambiguity with the revision.
8731 (vc-git-previous-revision): Pass a relative file name.
8733 2010-06-22 Glenn Morris <rgm@gnu.org>
8735 * progmodes/js.el (js-mode-map): Use standard capitalization and
8736 ellipses for menu entries.
8738 * wid-edit.el (widget-complete): Doc fix.
8740 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8742 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8744 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8746 Fix annotating other revisions for renamed files in vc-annotate.
8747 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8748 VC backend. Use it when non-nil.
8749 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8752 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8753 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8754 Do not pass the file name to the 'previous-revision call when we
8755 don't want a file diff. (Bug#6489)
8757 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8759 Fix finding revisions for renamed files in vc-annotate.
8760 * vc/vc.el (vc-find-revision): Add an optional argument for
8761 the VC backend. Use it when non-nil.
8762 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8763 backend to vc-find-revision. (Bug#6487)
8765 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8767 Fix reading file names in Git annotate buffers.
8768 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8769 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8771 2010-06-20 Alan Mackenzie <acm@muc.de>
8773 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8774 in file local variables, set it first.
8776 2010-06-19 Glenn Morris <rgm@gnu.org>
8778 * descr-text.el (describe-char-unicode-data): Insert separating
8779 space when needed. (Bug#6422)
8781 * progmodes/idlwave.el (idlwave-action-and-binding):
8782 Fix typo in 2009-12-03 change. (Bug#6450)
8784 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8786 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8787 handling for `lambda' (misunderstanding).
8789 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8791 * calc/calc-poly.el (math-accum-factors): Make sure that
8792 constants aren't distributed after they are factored out.
8794 2010-06-16 Juri Linkov <juri@jurta.org>
8796 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8797 `list-colors-print'. (Bug#6332)
8799 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8801 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8803 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8804 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8806 * font-lock.el (font-lock-major-mode): Rename from
8807 font-lock-mode-major-mode to distinguish it from
8808 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8809 (font-lock-set-defaults):
8810 * font-core.el (font-lock-default-function): Adjust users.
8811 (font-lock-mode): Don't set it at all.
8813 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8815 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8817 2010-06-16 Glenn Morris <rgm@gnu.org>
8819 * calendar/appt.el (appt-time-msg-list): Doc fix.
8820 (appt-check): Let-bind appt-warn-time.
8821 (appt-add): Make the 3rd argument optional.
8822 Simplify argument names. Doc fix. Check for integer WARNTIME.
8823 Only add WARNTIME to the output list if non-nil.
8825 2010-06-16 Ivan Kanis <apple@kanis.eu>
8827 * calendar/appt.el (appt-check): Let the 3rd element of
8828 appt-time-msg-list specify the warning time.
8829 (appt-add): Add new argument with the warning time. (Bug#5176)
8831 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8833 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8834 older than version 1.6. (Bug#6361)
8836 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8838 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8839 used by cl-do-arglist. (Bug#6408)
8841 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8843 * textmodes/ispell.el (ispell-dictionary-base-alist):
8844 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8845 Suggested by Rolando Pereira (bug#6434).
8847 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8849 * facemenu.el (list-colors-sort): Doc fix.
8851 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8853 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8855 2010-06-14 Juri Linkov <juri@jurta.org>
8857 Add sort option `list-colors-sort'. (Bug#6332)
8858 * facemenu.el (color-rgb-to-hsv): New function.
8859 (list-colors-sort): New defcustom.
8860 (list-colors-sort-key): New function.
8861 (list-colors-display): Doc fix. Sort list according to the option
8863 (list-colors-print): Add HSV values to `help-echo' property of
8866 2010-06-14 Juri Linkov <juri@jurta.org>
8868 * compare-w.el: Move to the "vc" subdirectory.
8870 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8872 * image-mode.el (image-mode-map): Remap left-char and right-char.
8874 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8876 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8878 * term/common-win.el (x-colors): Add all the color names defined
8879 in rgb.txt (Bug#6332).
8881 * facemenu.el (list-colors-print): Don't print extra names if it
8882 will overflow the window width.
8884 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8887 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8889 * files.el (make-directory): Doc fix (bug#6396).
8891 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8893 * net/tramp.el (tramp-remote-process-environment): Protect version
8894 string by apostroph.
8895 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8897 (tramp-file-name-for-operation): Add `call-process-region'.
8898 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8900 * net/tramp-compat.el (top): Do not autoload
8901 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8902 only when `start-file-process' is not bound.
8903 (tramp-advice-file-expand-wildcards): Do not use
8904 `tramp-handle-file-remote-p'.
8905 (tramp-compat-make-temp-file): Handle the case, that
8906 `make-temp-file' has no third argument EXTENSION.
8908 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8910 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8912 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8914 2010-06-11 Juri Linkov <juri@jurta.org>
8916 * finder.el (finder-known-keywords): Add keyword "vc"
8917 for version control.
8919 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8920 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8921 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8922 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8924 2010-06-11 Juri Linkov <juri@jurta.org>
8926 Move version control related files to the "vc" subdirectory.
8927 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8928 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8929 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8930 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8931 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8932 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8933 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8934 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8935 Move files to the "vc" subdirectory.
8937 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8939 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8942 2010-06-11 Stephen Eglen <stephen@gnu.org>
8944 * shell.el: Bind `shell-resync-dirs' to M-RET.
8946 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8948 * notifications.el: Move file from lisp/net, because it is
8949 supposed to talk locally to the user.
8951 2010-06-10 Julien Danjou <julien@danjou.info>
8953 * net/notifications.el (notifications-on-action-signal)
8954 (notifications-on-closed-signal): Pass notification id as first
8955 argument to the callback functions. Add docstrings.
8956 (notifications-notify): Fix docstring.
8958 2010-06-10 Glenn Morris <rgm@gnu.org>
8960 * emacs-lisp/authors.el (authors-ignored-files)
8961 (authors-valid-file-names): Add some files.
8963 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8965 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8966 merge conflict, giving preference to the emacs-23 version of the code.
8968 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8970 * emacs-lisp/advice.el (ad-compile-function):
8971 Define warning-suppress-types before we let-bind it (bug#6275).
8973 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8974 declare it, make it buffer-local and permanent-local (bug#6324).
8975 (vc-resynch-window): Adjust name.
8976 * vc-hooks.el (vc-find-file-hook): Adjust name.
8978 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8980 * net/notifications.el (notifications-notify): Fix docstring.
8982 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8984 Update to Unicode 6.0.0 beta.
8985 * international/charprop.el: Update copyright.
8986 * international/mule-cmds.el (ucs-names): Update character ranges.
8987 * international/uni-bidi.el:
8988 * international/uni-category.el:
8989 * international/uni-combining.el:
8990 * international/uni-comment.el:
8991 * international/uni-decimal.el:
8992 * international/uni-decomposition.el:
8993 * international/uni-digit.el:
8994 * international/uni-lowercase.el:
8995 * international/uni-mirrored.el:
8996 * international/uni-name.el:
8997 * international/uni-numeric.el:
8998 * international/uni-old-name.el:
8999 * international/uni-titlecase.el:
9000 * international/uni-uppercase.el: Regenerate.
9002 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9004 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9005 (smie-precs-precedence-table): Fix typo in docstring.
9007 * vc-mtn.el (log-edit-extract-headers): Declare function.
9009 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9011 * net/notifications.el (dbus-register-signal): Declare function.
9012 (notifications-notify): Fix typos and reflow docstring.
9014 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9016 Improve VC create/retrieve tag/branch.
9017 * vc.el (vc-create-tag): Do not read the directory name for VCs
9018 with repository revision granularity. Adjust the tag/branch
9019 prompt. Reset VC properties.
9020 (vc-retrieve-tag): Do not read the directory name for VCs
9021 with repository revision granularity. Reset VC properties.
9023 2010-06-09 Julien Danjou <julien@danjou.info>
9025 * net/notifications.el: New file.
9027 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9029 Add optional support for resetting VC properties.
9030 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9031 call vc-file-clearprops when true.
9032 (vc-resynch-buffer): Add new optional argument, pass it down.
9033 (vc-resynch-buffers-in-directory): Likewise.
9035 Improve support for special markup in the VC commit message.
9036 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9037 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9038 * vc-git.el (vc-git-checkin):
9039 * vc-bzr.el (vc-bzr-checkin): Likewise.
9041 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9043 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9044 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9046 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9048 * iimage.el: Remove images as soon as the underlying text is modified.
9049 (iimage-modification-hook): New function.
9050 (iimage-mode-buffer): Use it.
9052 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9054 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9055 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9056 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9057 (smie-indent-keyword): Add handling of open-paren keywords.
9058 (smie-indent-comment-continue): Don't assume comment-continue.
9060 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9062 * window.el (pop-to-buffer): Remove the conditional that
9063 compares new-window and old-window, so it will reselect
9064 the selected window unconditionally.
9065 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9067 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9069 * emacs-lisp/smie.el (smie-indent-offset-after)
9070 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9071 (smie-indent-after-keyword): Use them.
9072 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9073 (smie-indent-keyword): Tweak the black magic.
9074 (smie-indent-comment-continue): Strip comment-continue before use.
9075 (smie-indent-functions): Indent comments before keywords.
9077 2010-06-06 Juri Linkov <juri@jurta.org>
9079 * isearch.el (isearch-lazy-highlight-search): Fix looping
9080 by checking for empty match. This syncs this loop with the
9081 similar loop in `isearch-search'. (Bug#6362)
9083 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9085 * net/dbus.el (dbus-register-method): Declare function.
9086 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9087 (dbus-introspect): Doc fix.
9088 (dbus-event-bus-name, dbus-introspect-get-interface)
9089 (dbus-introspect-get-argument): Reflow docstrings.
9091 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9093 vc-log-incoming/vc-log-outgoing fixes for Git.
9094 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9095 incoming/outgoing logs.
9096 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9097 instead of vc-git-compute-remote.
9098 (vc-git-compute-remote): Remove.
9100 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9102 * term/common-win.el (x-colors): Add "dark green" and "dark
9103 turquoise" (Bug#6332).
9105 2010-06-04 Juri Linkov <juri@jurta.org>
9107 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9108 Instead of setting `replace' to t and replacing the same string
9109 with itself, don't do certain actions when
9110 kill-do-not-save-duplicates is non-nil and string is equal to car
9111 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9112 interprogram-paste strings to kill-ring, and don't push the input
9113 argument `string' to kill-ring.
9114 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9116 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9118 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9120 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9122 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9123 (tramp-gvfs-handler-mounted-unmounted)
9124 (tramp-gvfs-connection-mounted-p): Handle default-location.
9126 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9127 move files to trash.
9129 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9131 * international/mule-cmds.el (nonascii-insert-offset)
9132 (nonascii-translation-table): Add obsolescence information.
9134 * international/mule.el (make-translation-table-from-vector): Doc fix.
9136 2010-06-03 Glenn Morris <rgm@gnu.org>
9138 * desktop.el (desktop-clear-preserve-buffers):
9139 Add "*Warnings*" buffer. (Bug#6336)
9141 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9143 vc-log-incoming/vc-log-outgoing improvements for Git.
9144 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9146 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9148 Add bindings for vc-log-incoming and vc-log-outgoing.
9149 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9150 and vc-log-outgoing.
9151 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9152 and vc-log-outgoing.
9154 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9156 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9157 (rcirc-handler-366): Always sort nicknames.
9159 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9161 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9163 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9165 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9167 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9169 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9170 (rcirc-sort-nicknames-join): Avoid setq.
9172 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9174 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9175 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9176 (rcirc-handler-366): Use them.
9178 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9180 Split smie-indent-calculate into more manageable chunks.
9181 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9182 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9183 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9184 (smie-indent-exps): Extract from smie-indent-calculate.
9185 (smie-indent-functions): New var.
9186 (smie-indent-functions): Use them.
9188 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9190 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9191 (smie-indent-calculate): Simplify and cleanup.
9193 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9195 * net/tramp-gvfs.el (top): Require url-util.
9196 (tramp-gvfs-mount-point): Remove.
9197 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9199 (with-tramp-dbus-call-method): Format trace message.
9200 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9201 Implement backup call, when operation on local files fails.
9202 Use progress reporter. Flush properties of changed files.
9203 (tramp-gvfs-handle-make-directory): Make more traces.
9204 (tramp-gvfs-url-file-name): Hexify file name in url.
9205 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9206 into account for the resulting file name.
9207 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9208 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9209 (tramp-gvfs-handler-mounted-unmounted)
9210 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9211 attribute "default_location". Set "prefix" property.
9212 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9213 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9214 exists. Raise an error, if not (due to a corresponding answer
9215 "no" in interactive questions, for example).
9217 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9219 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9221 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9223 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9226 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9228 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9229 * vc-git.el (vc-git-compute-remote): New function.
9230 (vc-git-log-outgoing): Use it instead of hard coding a value.
9231 (vc-git-log-incoming): New function.
9233 Improve state updating for VC tag commands.
9234 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9235 to update the state of all buffers in the directory.
9237 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9239 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9241 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9242 `file-directory-p' to the filename part rather than to the whole text.
9244 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9246 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9248 2010-05-31 Drew Adams <drew.adams@oracle.com>
9250 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9252 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9254 * subr.el (momentary-string-display): Just use read-event to read
9255 the exit event (Bug#6238).
9257 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9259 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9261 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9263 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9264 Suggested by Eli Zaretskii <eliz@gnu.org>.
9266 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9268 * minibuffer.el (completion-file-name-table): Don't return a boundary
9269 past the end of `string' (bug#6299).
9270 (completion--file-name-table): Delegate to completion-file-name-table
9271 for the `boundaries' case.
9273 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9275 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9278 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9279 `path-separator', but maintain compatibility with Emacs 20.2.
9281 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9283 * server.el (server-process-filter): Receive parent-id argument
9285 (server-create-window-system-frame): New arg. Pass parent-id as
9288 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9290 Bidi-sensitive word movement with arrow keys.
9291 * subr.el (right-arrow-command, left-arrow-command): Move to
9294 * bindings.el (right-char, left-char): Move from subr.el and
9295 rename from right-arrow-command and left-arrow-command.
9296 (right-word, left-word): New functions.
9297 (global-map) <right>: Bind to right-char.
9298 (global-map) <left>: Bind to left-char.
9299 (global-map) <C-right>: Bind to right-word.
9300 (global-map) <C-left>: Bind to left-word.
9302 * ls-lisp.el (ls-lisp-classify-file): New function.
9303 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9304 (ls-lisp-classify): Call ls-lisp-classify-file.
9305 (insert-directory): Remove blanks from switches.
9307 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9309 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9310 (ansi-color-drop-regexp): New constant.
9311 (ansi-color-apply, ansi-color-filter-region)
9312 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9313 (ansi-color-apply): Build string list before calling concat.
9315 2010-05-28 Juri Linkov <juri@jurta.org>
9317 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9318 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9321 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9323 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9324 to ignored backtrace functions.
9325 (with-progress-reporter): Expand docstring.
9326 (tramp-handle-delete-file): Implement TRASH argument.
9327 (tramp-get-remote-trash): New defun.
9329 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9331 * net/tramp-compat.el (tramp-compat-delete-file):
9332 Use `symbol-value' for backward compatibility.
9334 * net/tramp.el (tramp-handle-make-symbolic-link)
9336 (tramp-do-copy-or-rename-file-via-buffer)
9337 (tramp-do-copy-or-rename-file-directly)
9338 (tramp-do-copy-or-rename-file-out-of-band)
9339 (tramp-handle-process-file, tramp-handle-call-process-region)
9340 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9341 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9342 (tramp-delete-temp-file-function): Use `delete-file' instead
9343 of `tramp-compat-delete-file'.
9345 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9346 (tramp-fish-handle-make-symbolic-link)
9347 (tramp-fish-handle-process-file): Use `delete-file' instead
9348 of `tramp-compat-delete-file'.
9350 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9351 Use `delete-file' instead of `tramp-compat-delete-file'.
9353 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9354 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9355 `tramp-compat-delete-file'.
9357 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9358 Use `delete-file' instead of `tramp-compat-delete-file'.
9360 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9361 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9362 (tramp-smb-handle-write-region): Use `delete-file' instead of
9363 `tramp-compat-delete-file'.
9364 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9366 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9368 * dired.el (dired-delete-file): New arg TRASH.
9369 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9370 (dired-do-flagged-delete, dired-do-delete): Use trash.
9372 * speedbar.el (speedbar-item-delete): Allow trashing.
9374 * files.el (delete-directory): New arg TRASH.
9376 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9377 (ange-ftp-rename-remote-to-remote)
9378 (ange-ftp-rename-local-to-remote)
9379 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9380 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9382 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9385 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9386 handle new TRASH arg of `delete-file'.
9388 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9389 (tramp-handle-make-symbolic-link, tramp-handle-load)
9390 (tramp-do-copy-or-rename-file-via-buffer)
9391 (tramp-do-copy-or-rename-file-directly)
9392 (tramp-do-copy-or-rename-file-out-of-band)
9393 (tramp-handle-process-file, tramp-handle-call-process-region)
9394 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9395 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9396 (tramp-delete-temp-file-function): Use null TRASH arg in
9397 tramp-compat-delete-file call.
9399 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9400 (tramp-fish-handle-delete-file)
9401 (tramp-fish-handle-make-symbolic-link)
9402 (tramp-fish-handle-process-file): Use null TRASH arg in
9403 `tramp-compat-delete-file' call.
9405 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9406 arg in `tramp-compat-delete-file' call.
9408 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9409 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9410 `tramp-compat-delete-file' call.
9412 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9413 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9414 `tramp-compat-delete-file' call.
9416 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9417 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9418 (tramp-smb-handle-write-region): Use null TRASH arg in
9419 tramp-compat-delete-file call.
9420 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9421 (tramp-smb-handle-delete-file): Rename arg.
9423 * diff.el (diff-sentinel):
9424 * epg.el (epg--make-temp-file, epg-decrypt-string)
9425 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9426 * jka-compr.el (jka-compr-partial-uncompress)
9427 (jka-compr-call-process, jka-compr-write-region):
9428 * server.el (server-sentinel): Remove optional arg from
9429 delete-file, reverting 2010-05-03 change.
9431 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9433 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9434 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9436 2010-05-27 Kenichi Handa <handa@m17n.org>
9438 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9439 element of GSTRING is nil.
9441 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9443 * emacs-lisp/smie.el (smie-forward-token-function)
9444 (smie-backward-token-function): New vars.
9445 (smie-backward-sexp, smie-forward-sexp)
9446 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9447 (smie-default-backward-token): Rename from smie-backward-token and
9449 (smie-default-forward-token): Rename from smie-forward-token and
9451 (smie-next-sexp): Handle nil results from next-token.
9452 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9454 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9456 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9457 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9459 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9461 * htmlfontify.el (hfy-face-resolve-face): New function.
9462 (hfy-face-to-style): Use it (Bug#6279).
9464 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9466 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9467 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9469 2010-05-26 Glenn Morris <rgm@gnu.org>
9471 * emulation/edt.el (edt-load-keys): Use locate-library.
9473 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9475 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9476 (log-edit-changelog-entries): Doc fix.
9477 (log-edit-changelog-insert-entries): Args changed.
9478 Rename relative filenames in ChangeLog entries. Delete tabs.
9479 (log-edit-insert-changelog-entries): Reorganize return value of
9480 `log-edit-changelog-entries' to pass filenames to
9481 log-edit-changelog-insert-entries.
9483 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9485 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9486 `image-dired-dired-insert-marked-thumbs' to
9487 `image-dired-dired-toggle-marked-thumbs'.
9489 * image-dired.el: Require cl when compiling.
9490 (image-dired-dired-toggle-marked-thumbs): Rename from
9491 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9492 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9493 to 'no-dir. Skip files whose names don't match
9494 `image-file-name-regexp'. When file has a thumbnail overlay,
9495 delete it. (Bug#5270)
9497 2010-05-25 Juri Linkov <juri@jurta.org>
9499 * image-mode.el (image-mode): Add image-after-revert-hook to
9501 (image-after-revert-hook): New function. (Bug#5669)
9503 2010-05-25 Juri Linkov <juri@jurta.org>
9505 * image.el (image-animated-p): When delay between animated images
9506 is 0, set it to 10 (0.1 sec). (Bug#6258)
9508 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9510 * net/tramp.el (tramp-handle-insert-directory): Don't use
9511 `forward-word', its default syntax could be changed.
9513 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9515 * net/tramp.el (tramp-progress-reporter-update): New defun.
9516 (with-progress-reporter): Use it.
9517 (tramp-process-actions):
9518 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9519 Preserve current message, in order to let progress reporter continue
9520 afterwards. (Bug#6257)
9522 2010-05-25 Glenn Morris <rgm@gnu.org>
9524 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9527 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9529 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9530 (rcirc-default-full-name): Change to "unknown".
9531 (rcirc-user-name-history): Add variable.
9533 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9534 Jonathan Rockway <jon@jrock.us>
9536 * net/rcirc.el (rcirc-server-alist): Add :pass.
9537 (rcirc): When prompting for connection parameters, also prompt for
9538 username and password.
9539 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9540 value to server when connecting.
9542 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9544 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9545 (smie-merge-prec2s): Pass the tables as separate args.
9546 (smie-bnf-precedence-table): Adjust call accordingly.
9547 (smie-prec2-levels): Set levels at the end.
9549 Replace Lisp calls to delete-backward-char by delete-char.
9550 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9551 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9552 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9553 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9554 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9555 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9556 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9557 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9558 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9559 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9560 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9561 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9562 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9563 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9564 delete-backward-char by calls to delete-char.
9566 2010-05-25 Kenichi Handa <handa@m17n.org>
9568 * language/hebrew.el (hebrew-shape-gstring): New function.
9569 Register it in composition-function-table for all Hebrew combining
9572 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9574 * epa.el (epa--select-keys): Don't explicitly delete the window since
9575 that can fail (e.g. sole window in frame). Use dedication instead.
9577 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9579 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9581 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9583 * image.el (image-refresh): Define as an alias for image-flush.
9585 * image-mode.el (image-toggle-display-image): Caller changed.
9587 2010-05-21 Juri Linkov <juri@jurta.org>
9589 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9590 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9591 whitespace, call wildcard-to-regexp on substrings and concat them
9592 with "\\|". (Bug#6114)
9594 2010-05-21 Alan Mackenzie <acm@muc.de>
9596 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9597 Replace parameter `here' with `here-' and `here-plus', which sandwich
9598 any pertinent CPP construct.
9599 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9600 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9601 CPP construct from taking part in the scanning.
9603 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9605 * net/tramp.el (tramp-do-copy-or-rename-file)
9606 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9607 Tune `with-progress-reporter' messages.
9608 (tramp-handle-vc-registered):
9609 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9610 (tramp-fish-handle-insert-file-contents)
9611 (tramp-fish-maybe-open-connection):
9612 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9613 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9614 (tramp-imap-handle-insert-file-contents)
9615 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9617 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9619 * add-log.el (change-log-font-lock-keywords):
9620 Highlight all authors in multi-author entries.
9622 * smerge-mode.el (smerge-refine-ignore-whitespace)
9623 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9624 Fix typos in docstrings.
9625 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9627 2010-05-21 Glenn Morris <rgm@gnu.org>
9629 * progmodes/fortran.el (fortran-mode):
9630 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9632 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9633 having a relative path in src/Makefile.in.
9635 2010-05-20 Kevin Ryde <user42@zip.com.au>
9637 * help-mode.el (help-make-xrefs): For Info node links turn
9638 newlines into spaces. Link node names with newlines are matched
9639 by help-xref-info-regexp and buttonized, this change ensures they
9640 can be followed successfully with RET. (Bug#6206)
9642 2010-05-20 Juri Linkov <juri@jurta.org>
9644 * locate.el (locate): Use pop-to-buffer instead of
9645 switch-to-buffer-other-window. (Bug#6204)
9647 2010-05-20 Juri Linkov <juri@jurta.org>
9649 * replace.el (replace-highlight): Fix lazy-highlighting
9650 for `M-s w str M-% str RET'.
9652 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9654 * isearch.el (isearch-yank-word-or-char): Pull next subword
9655 when `subword-mode' is activated. (Bug#6220)
9657 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9659 * isearch.el (isearch-update-post-hook): New hook.
9660 (isearch-update): Use the new hook. (Bug#6225)
9662 2010-05-20 Juri Linkov <juri@jurta.org>
9664 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9665 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9668 2010-05-20 Juri Linkov <juri@jurta.org>
9670 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9673 2010-05-20 Juri Linkov <juri@jurta.org>
9675 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9676 FILE-NAME to read from the minibuffer when called interactively
9677 with prefix argument instead of using buffer-file-name.
9678 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9680 * dired.el: Update autoloads.
9682 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9684 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9685 nxml-finish-element, for consistency with SGML mode.
9687 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9690 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9692 * composite.el: Require cl when compiling.
9693 (reference-point-alist, compose-gstring-for-graphic)
9694 (compose-gstring-for-terminal): Fix typos in docstrings.
9696 2010-05-19 Juri Linkov <juri@jurta.org>
9698 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9699 set-window-parameter.
9701 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9703 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9705 (tramp-maybe-open-connection): Use it.
9707 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9709 * simple.el (move-end-of-line): Make sure we are at line beginning
9710 before backing up to end of previous line.
9712 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9714 * password-cache.el (password-cache-remove): Fix docstring.
9716 * net/secrets.el: Autoload the widget functions.
9717 (secrets-search-items, secrets-create-item)
9718 (secrets-get-attributes, secrets-expand-item): Attributes will be
9719 stored on the password database without leading ":", as all other
9721 (secrets-mode): Fix docstring.
9722 (secrets-show-secrets): Provide it as autoloaded command only when
9723 D-Bus support is available. Check existence of Secret Service API.
9725 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9727 * indent.el (indent-region): Deactivate region (bug#6200).
9729 2010-05-19 Glenn Morris <rgm@gnu.org>
9731 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9733 2010-05-19 Kenichi Handa <handa@m17n.org>
9735 * composite.el: Register compose-gstring-for-graphic in
9736 composition-function-table only for combining characters (Mn, Mc, Me).
9738 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9740 * calc/calc-trail.el (calc-trail-isearch-forward)
9741 (calc-trail-isearch-backward): Ensure that the new window
9742 point is set correctly.
9744 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9746 * subr.el (read-quoted-char): Resolve modifiers after key
9747 remapping (bug#6212).
9749 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9751 Add visualization code for secrets.
9752 * net/secrets.el (secrets-mode): New major mode.
9753 (secrets-show-secrets, secrets-show-collections)
9754 (secrets-expand-collection, secrets-expand-item)
9755 (secrets-tree-widget-after-toggle-function)
9756 (secrets-tree-widget-show-password): New defuns.
9758 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9760 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9761 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9762 handled in smie-next-sexp.
9763 (smie-indent-calculate): Provide a starting indentation (so the
9764 recursion is well-founded ;-).
9766 Fix handling of non-associative equal levels.
9767 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9768 when it's not needed.
9769 (smie-op-left, smie-op-right): New functions.
9770 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9771 Better handle equal levels to distinguish the associative case from
9772 the "multi-keyword construct" case.
9773 (smie-backward-sexp, smie-forward-sexp): Use it.
9775 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9777 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9779 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9780 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9782 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9784 Provide a simple generic indentation engine and use it for Prolog.
9785 * emacs-lisp/smie.el: New file.
9786 * progmodes/prolog.el (prolog-smie-op-levels)
9787 (prolog-smie-indent-rules): New var.
9788 (prolog-mode-variables): Use them to configure SMIE.
9789 (prolog-indent-line, prolog-indent-level): Remove.
9791 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9793 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9794 order before computing the averages.
9796 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9798 * calc/calc-vec.el (calc-histogram):
9799 (calcFunc-histogram): Allow vectors as inputs.
9800 (math-vector-avg): New function.
9802 * calc/calc-ext.el (math-group-float): Have the number of digits
9803 being grouped depend on the radix (Bug#6189).
9805 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9807 * version.el (emacs-copyright, emacs-version): Don't define here,
9808 now that emacs.c defines it.
9810 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9812 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9813 "Describe Language Environment" menu item.
9815 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9817 Bidi-sensitive movement with arrow keys.
9818 * subr.el (right-arrow-command, left-arrow-command): New functions.
9820 * bindings.el (global-map): Bind them to right and left arrow keys.
9822 Don't override standard definition of convert-standard-filename.
9823 * files.el (convert-standard-filename):
9824 Call w32-convert-standard-filename and dos-convert-standard-filename on
9825 the corresponding systems.
9827 * w32-fns.el (w32-convert-standard-filename): Rename from
9828 convert-standard-filename. Doc fix.
9830 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9831 (convert-standard-filename): Don't defalias.
9832 (register-name-alist, make-register, register-value)
9833 (set-register-value, intdos): Obsolete aliases for the
9834 corresponding dos-* functions and variables.
9835 (dos-intdos): Add a doc string.
9837 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9839 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9840 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9841 (math-compose-tex-func):
9842 * calc/calccomp.el (math-compose-expr):
9843 * calc/calc-ext.el (math-format-flat-expr-fancy):
9844 * calc/calc-store.el (calc-read-var-name):
9845 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9847 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9848 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9849 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9850 (math-standard-units): Add units.
9852 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9854 * progmodes/asm-mode.el (asm-mode):
9855 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9857 * pcomplete.el (pcomplete-completions-at-point): New function,
9858 extracted from pcomplete-std-complete.
9859 (pcomplete-std-complete): Use it.
9861 2010-05-15 Glenn Morris <rgm@gnu.org>
9863 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9864 Remove references to CVS, RCS and Old directories.
9866 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9868 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9871 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9873 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9874 (sh-mode-syntax-table): Give it a default value instead.
9875 (sh-header-marker): Make buffer-local.
9876 (sh-mode): Move make-local-variable to the corresponding setq.
9877 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9878 Use complete-with-action.
9880 * simple.el (prog-mode): New (abstract) major mode.
9881 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9882 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9884 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9886 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9887 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9888 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9889 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9890 (sql-escape-newlines-filter, sql-input-sender)
9891 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9893 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9895 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9897 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9898 latex-open-block and C-c / to latex-close-block.
9900 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9901 and C-c C-e to sgml-close-tag.
9903 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9905 * net/tramp.el (with-progress-reporter): Create reporter object
9906 only when the message would be displayed. Handle nested calls.
9907 (tramp-handle-load, tramp-handle-file-local-copy)
9908 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9909 (tramp-maybe-send-script, tramp-find-shell):
9910 Use `with-progress-reporter'.
9911 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9914 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9915 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9916 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9917 Use `with-progress-reporter'.
9919 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9921 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9922 process everytime when spellchecking from the minibuffer (bug#6143).
9924 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9926 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9928 * dos-fns.el: Add "dos-" prefix for namespace control.
9929 (convert-standard-filename): Define as alias for
9930 dos-convert-standard-filename but only if applicable.
9932 2010-05-12 Alan Mackenzie <acm@muc.de>
9934 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9935 Push the mark at the start of these functions when appropriate.
9937 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9939 * minibuffer.el (completion-cycle-threshold): New custom var.
9940 (completion--do-completion): Use it.
9941 (minibuffer-complete): Use cycling if appropriate.
9943 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9945 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9946 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9948 2010-05-11 Juri Linkov <juri@jurta.org>
9950 * scroll-all.el (scroll-all-check-to-scroll):
9951 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9953 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9955 * iimage.el (iimage-mode-map): Move initialization into declaration.
9956 (iimage-mode-buffer): Use with-silent-modifications.
9957 Simplify calling convention. Adjust callers.
9958 (iimage-mode): Don't run hook redundantly.
9960 * minibuffer.el (completion-pcm--pattern->regex):
9961 Fix last change (bug#6160).
9963 2010-05-10 Juri Linkov <juri@jurta.org>
9965 Remove nodes visited during Isearch from the Info history.
9966 * info.el (Info-isearch-initial-history)
9967 (Info-isearch-initial-history-list): New variables.
9968 (Info-isearch-start): Record initial values of
9969 Info-isearch-initial-history and Info-isearch-initial-history-list.
9970 Add Info-isearch-end to isearch-mode-end-hook.
9971 (Info-isearch-end): New function.
9973 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9975 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9976 format string, in order to work around a bug in pdksh.
9977 Reported by Gilles Pion <gpion@lfdj.com>.
9978 (tramp-handle-verify-visited-file-modtime): Do not send a command
9979 when the connection is not established.
9980 (tramp-handle-set-file-times): Simplify the check for utc.
9982 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9984 Fix use of `filter-buffer-substring' (rework previous change).
9985 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9986 (cua-repeat-replace-region):
9987 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9988 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9989 (cua-cut-region-to-global-mark): Use it.
9991 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9993 * progmodes/sql.el: Version 2.1.
9994 (sql-product-alist): Redesign structure of product info.
9995 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9996 (sql-port, sql-port-history): New variables.
9997 (sql-interactive-product): New variable.
9998 (sql-send-terminator): New variable.
9999 (sql-imenu-generic-expression): Add "Types" imenu entry.
10000 (sql-oracle-login-params, sql-sqlite-login-params)
10001 (sql-mysql-login-params, sql-solid-login-params)
10002 (sql-sybase-login-params, sql-informix-login-params)
10003 (sql-ingres-login-params, sql-ms-login-params)
10004 (sql-postgres-login-params, sql-interbase-login-params)
10005 (sql-db2-login-params, sql-linter-login-params)
10006 (sql-oracle-scan-on): New variables.
10007 (sql-mode-map): Add C-c C-i to start interactive mode.
10008 (sql-mode-menu): Update existing menu entries.
10009 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10010 (sql-mode-oracle-font-lock-keywords)
10011 (sql-mode-postgres-font-lock-keywords)
10012 (sql-mode-ms-font-lock-keywords)
10013 (sql-mode-sybase-font-lock-keywords)
10014 (sql-mode-informix-font-lock-keywords)
10015 (sql-mode-interbase-font-lock-keywords)
10016 (sql-mode-ingres-font-lock-keywords)
10017 (sql-mode-solid-font-lock-keywords)
10018 (sql-mode-mysql-font-lock-keywords)
10019 (sql-mode-sqlite-font-lock-keywords)
10020 (sql-mode-db2-font-lock-keywords)
10021 (sql-mode-linter-font-lock-keywords): Update initialization to
10022 reduce run-time complexity.
10023 (sql-add-product, sql-del-product): New functions.
10024 (sql-set-product-feature, sql-get-product-feature): New functions.
10025 (sql-product-font-lock): Update product API.
10026 (sql-add-product-keywords): New function.
10027 (sql-highlight-product): Update product API.
10028 (sql-help-list-products): New function.
10029 (sql-help): Dynamically lists free and non-free products.
10030 (sql-get-login): Correct bug in handling history and added
10032 (sql-copy-column): Copy without properties.
10033 (sqli-input-sender): Apply filters to SQLi input.
10034 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10035 Implement as a filter.
10036 (sql-escape-newlines-filter): Implement as a filter.
10037 (sql-remove-tabs-filter): New function.
10038 (sql-send-magic-terminator): New function.
10039 (sql-send-string): Implement magic terminator.
10040 (sql-send-region): Use `sql-send-string'.
10041 (sql-interactive-mode): Use product API.
10042 (sql-product-interactive): Use product API.
10043 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10044 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10045 (sql-db2, sql-linter): Use `sql-product-interactive'.
10046 (sql-connect): New function.
10047 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10048 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10049 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10050 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10053 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10055 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10056 New custom variable.
10057 (completion-pcm--string->pattern): Use it.
10058 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10059 Make it handle any symbol as `any'.
10060 (completion-pcm--merge-completions): Extract common suffix for the new
10061 `prefix' symbol as well.
10062 (completion-substring--all-completions): Use the new `prefix' symbol.
10064 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10066 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10068 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10069 (tramp-compat-funcall): New defmacro.
10070 (tramp-compat-line-beginning-position)
10071 (tramp-compat-line-end-position)
10072 (tramp-compat-temporary-file-directory)
10073 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10074 (tramp-compat-copy-file, tramp-compat-copy-directory)
10075 (tramp-compat-delete-file, tramp-compat-delete-directory)
10076 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10077 * net/tramp.el (top, with-progress-reporter)
10078 (tramp-rfn-eshadow-setup-minibuffer)
10079 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10080 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10081 (tramp-completion-mode-p, tramp-check-for-regexp)
10082 (tramp-open-connection-setup-interactive-shell)
10083 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10084 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10085 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10086 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10087 (tramp-reporter-dump-variable, tramp-load-report-modules)
10088 (tramp-append-tramp-buffers)
10089 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10091 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10093 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10095 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10096 buffer-modtime. Adjust users.
10098 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10100 * international/mule.el (auto-coding-alist): Only purecopy
10101 car of each item, not the whole list (Bug#6083).
10103 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10105 * progmodes/js.el (js-mode): Make paragraph variables local before
10106 calling c-setup-paragraph-variables (Bug#6071).
10108 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10110 * composite.el (compose-region, reference-point-alist): Fix typos
10111 in the doc strings.
10113 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10115 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10116 gnuplot's "set" command.
10118 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10120 * abbrev.el (last-abbrev-text): Doc fix.
10121 (abbrev-prefix-mark): Don't escape parenthesis.
10123 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10125 * composite.el (find-composition): Doc fix.
10127 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10129 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10130 (sql-oracle-program, sql-sqlite-options)
10131 (sql-query-placeholders-and-send): Doc fixes.
10132 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10133 (sql-imenu-generic-expression, sql-buffer)
10134 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10135 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10136 (sql-mode-sybase-font-lock-keywords)
10137 (sql-mode-informix-font-lock-keywords)
10138 (sql-mode-interbase-font-lock-keywords)
10139 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10140 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10141 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10142 (sql-product-feature, sql-highlight-product)
10143 (comint-line-beginning-position, sql-rename-buffer)
10144 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10145 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10146 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10147 Fix typos in docstrings.
10149 2010-05-08 Juri Linkov <juri@jurta.org>
10151 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10152 property instead of `invisible' and `after-string' (bug#5998).
10154 2010-05-08 Juri Linkov <juri@jurta.org>
10156 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10158 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10160 * filecache.el (file-cache-add-directory-list)
10161 (file-cache-add-directory-recursively): Fix typos in docstrings.
10163 2010-05-08 Kenichi Handa <handa@m17n.org>
10165 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10166 (gujarati-composable-pattern): Fix typo.
10168 2010-05-08 Kenichi Handa <handa@m17n.org>
10170 * language/indian.el (oriya-composable-pattern)
10171 (tamil-composable-pattern, malayalam-composable-pattern):
10172 Add two-part vowels to "v" (vowel sign).
10174 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10176 * files.el (copy-directory): Handle symlinks (Bug#5982).
10178 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10180 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10181 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10184 2010-05-08 Glenn Morris <rgm@gnu.org>
10186 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10188 * minibuffer.el (completion-at-point): Doc fix.
10190 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10192 * electric.el (Electric-command-loop): Minor tweak.
10194 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10195 better with dedicated windows.
10197 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10199 * Version 23.2 released.
10201 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10202 Stefan Monnier <monnier@iro.umontreal.ca>
10204 Highlight vendor specific properties.
10205 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10206 (css-proprietary-property): New face.
10207 (css-font-lock-keywords): Use them.
10209 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10211 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10213 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10215 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10216 * files.el (auto-mode-alist): Remove redundant entries.
10218 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10219 * simple.el (auto-save-mode): Move from files.el.
10220 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10222 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10224 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10226 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10228 * mail/binhex.el (binhex-decode-region-internal)
10229 * mail/uudecode.el (uudecode-decode-region-internal)
10230 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10231 (dns-read-type, dns-query)
10232 * pgg-parse.el (pgg-parse-armor)
10233 * pgg.el (pgg-verify-region)
10234 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10237 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10239 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10241 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10243 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10244 * emulation/cua-base.el (cua-repeat-replace-region):
10245 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10246 (cua-cut-region-to-global-mark):
10247 Remove text properties with `set-text-properties'.
10249 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10251 * net/tramp.el (top, with-progress-reporter):
10252 Use `symbol-function' inside `funcall'.
10254 * net/tramp-compat.el (tramp-compat-file-attributes)
10255 (tramp-compat-delete-file, tramp-compat-delete-directory):
10256 Handle only `wrong-number-of-arguments' error.
10258 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10259 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10262 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10264 * minibuffer.el (completion--sreverse, completion--common-suffix):
10266 (completion-pcm--merge-completions): Extract common suffix when safe.
10268 * emacs-lisp/easy-mmode.el (define-minor-mode):
10269 Make :variable more flexible.
10270 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10272 2010-05-05 Juri Linkov <juri@jurta.org>
10274 Add `slow' and `history' tags to the desktop data.
10276 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10277 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10278 (Info-finder-find-node): Require `finder.el' to be able
10279 to restore node from the desktop.
10280 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10281 data `Info-history' and `slow' tag in the assoc list.
10282 (Info-restore-desktop-buffer): Don't restore nodes with the
10283 `slow' tag. Restore `Info-history'.
10285 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10287 Add FORCE argument to `delete-file'.
10289 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10290 forcing to delete the temporary file.
10291 (ange-ftp-delete-file): Add FORCE arg.
10292 (ange-ftp-rename-remote-to-remote)
10293 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10294 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10295 Force file deletion.
10297 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10299 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10300 (tramp-handle-make-symbolic-link, tramp-handle-load)
10301 (tramp-do-copy-or-rename-file-via-buffer)
10302 (tramp-do-copy-or-rename-file-directly)
10303 (tramp-do-copy-or-rename-file-out-of-band)
10304 (tramp-handle-process-file, tramp-handle-call-process-region)
10305 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10306 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10307 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10309 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10310 (tramp-fish-handle-make-symbolic-link)
10311 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10313 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10314 Use `tramp-compat-delete-file'.
10316 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10317 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10319 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10320 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10322 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10323 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10324 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10325 Use `tramp-compat-delete-file'.
10327 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10330 * subr.el (add-minor-mode): Use push.
10331 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10332 * emulation/edt.el (edt-select-mode): Simplify.
10334 Use define-minor-mode in more cases.
10335 * term/tvi970.el (tvi970-set-keypad-mode):
10336 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10337 (normal-erase-is-backspace-mode):
10338 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10339 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10340 (get-scroll-bar-mode): New function.
10341 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10343 Use define-minor-mode for less obvious cases.
10344 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10345 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10346 * international/iso-ascii.el (iso-ascii-mode):
10347 * frame.el (auto-raise-mode, auto-lower-mode):
10348 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10350 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10352 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10353 in order to see error messages for failed logins.
10355 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10357 * diff.el (diff-sentinel):
10359 * epg.el (epg--make-temp-file, epg-decrypt-string)
10360 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10362 * jka-compr.el (jka-compr-partial-uncompress)
10363 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10365 * server.el (server-sentinel): Use delete-file's new FORCE arg
10368 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10370 Use define-minor-mode where applicable.
10371 * view.el (view-mode):
10372 * type-break.el (type-break-query-mode)
10373 (type-break-mode-line-message-mode):
10374 * textmodes/reftex.el (reftex-mode):
10375 * term/vt100.el (vt100-wide-mode):
10376 * tar-mode.el (tar-subfile-mode):
10377 * savehist.el (savehist-mode):
10378 * ibuf-ext.el (ibuffer-auto-mode):
10379 * composite.el (auto-composition-mode):
10380 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10381 Use define-minor-mode.
10382 (vhdl-mode): Use static mode-line format.
10383 (vhdl-mode-line-update): Delete.
10384 (vhdl-create-mode-menu, vhdl-activate-customizations)
10385 (vhdl-hs-minor-mode): Don't bother calling it.
10387 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10389 * simple.el (with-wrapper-hook): Move.
10390 (buffer-substring-filters): Mark obsolete.
10391 (filter-buffer-substring-functions): New variable.
10392 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10394 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10395 Michael Albinus <michael.albinus@gmx.de>
10397 Implement compression for inline methods.
10399 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10400 (tramp-copy-size-limit): Allow also nil.
10401 (tramp-inline-compress-commands): New defconst.
10402 (tramp-find-inline-compress, tramp-get-inline-compress)
10403 (tramp-get-inline-coding): New defuns.
10404 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10405 replaced by `tramp-get-inline-coding'.
10406 (tramp-handle-file-local-copy, tramp-handle-write-region)
10407 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10409 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10411 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10412 Remove unused functions.
10414 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10415 Set find-tag-default-function as a variable rather than a property.
10417 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10418 * progmodes/etags.el (tags-completion-at-point-function):
10419 Remove left over interactive spec. Add autoloading stub.
10420 (complete-tag): Use tags-completion-at-point-function.
10422 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10424 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10426 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10428 * ido.el (ido-init-completion-maps): Remove C-v binding.
10429 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10431 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10433 * minibuffer.el (tags-completion-at-point-function): New function.
10434 (completion-at-point-functions): Use it.
10436 * progmodes/etags.el (complete-tag): Revert last change.
10438 2010-04-29 Alan Mackenzie <acm@muc.de>
10440 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10441 off-by-one error (in end of macro position).
10443 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10445 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10446 firefox is absent. Don't autoload.
10447 (browse-url-galeon-program): Don't autoload.
10449 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10451 * bindings.el (complete-symbol): Move into minibuffer.el.
10453 * minibuffer.el (complete-tag): Move from etags.el. If tags
10454 completion cannot be performed, return nil instead of signalling
10456 (completion-at-point): Make it an alias for complete-symbol.
10457 (complete-symbol): Move from bindings.el, and replace with the
10458 body of completion-at-point.
10460 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10462 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10464 * net/tramp.el (tramp-remote-selinux-p): New defun.
10465 (tramp-handle-file-selinux-context)
10466 (tramp-handle-set-file-selinux-context): Use it.
10468 2010-04-28 Sam Steingold <sds@gnu.org>
10470 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10471 `safe-local-variable' if the value is a string or a symbol with
10472 the property `bug-reference-url-format'.
10474 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10476 * progmodes/bug-reference.el (bug-reference-url-format):
10477 Revert 2010-04-27 change due to security risk.
10479 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10481 Make it possible to locally disable a globally enabled mode.
10482 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10483 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10484 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10485 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10486 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10487 that subsequent hooks get a chance to disable it.
10489 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10491 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10492 Avoid re-enabling a minor mode after the user turned the minor mode
10493 off if MODE-enable-in-buffers is run twice (typically once from
10494 fundamental-mode's after-change-major-mode-hook and a second time from
10495 run-mode-hook's own after-change-major-mode-hook).
10497 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10499 2010-04-27 Sam Steingold <sds@gnu.org>
10501 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10502 `safe-local-variable' if the value is a string or a function, as
10503 documented and implemented on 2010-04-02.
10505 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10507 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10508 when method is 'kill.
10510 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10512 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10513 condition in default directory check.
10514 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10515 Kill ispell process when killing its associated buffer.
10517 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10519 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10520 but we aren't using it.
10522 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10524 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10525 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10527 2010-04-24 Glenn Morris <rgm@gnu.org>
10529 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10530 Ignore VCS-ignore files, and deleted nextstep preferences files.
10531 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10532 (authors-ambiguous-files): New list.
10533 (authors-valid-file-names): Add some deleted files.
10534 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10535 (authors-disambiguate-file-name): New function. (Bug#5501)
10536 (authors-canonical-file-name): Doc fix.
10537 Don't warn about obsolete files.
10538 (authors-canonical-file-name, authors-scan-el):
10539 Use authors-disambiguate-file-name.
10541 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10542 Add autoload cookies.
10543 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10544 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10545 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10546 They have definitions / compiler macros in cl.el.
10547 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10548 Replace manual autoloads with generated ones.
10549 (htmlfontify-unload-rgb-file): Remove autoload.
10550 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10552 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10554 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10555 (byte-compile-setq-default): Optimize for the
10556 single-var case and don't call byte-compile-form in this case to avoid
10557 inf-loop with byte-compile-set-default.
10559 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10561 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10563 Implement SELINUX backends.
10565 * net/tramp.el (tramp-file-name-handler-alist):
10566 Add `file-selinux-context' and `set-file-selinux-context'.
10567 (tramp-handle-file-selinux-context)
10568 (tramp-handle-set-file-selinux-context): New defuns.
10569 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10570 Handle PRESERVE-SELINUX-CONTEXT.
10572 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10573 Add `file-selinux-context' and `set-file-selinux-context'.
10574 (tramp-gvfs-handle-file-selinux-context)
10575 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10576 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10578 * net/ange-ftp.el (ange-ftp-copy-file):
10579 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10580 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10581 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10582 Add PRESERVE-SELINUX-CONTEXT.
10584 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10586 Synchronize with Tramp repository.
10588 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10589 (tramp-action-process-alive, tramp-action-out-of-band)
10590 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10591 (tramp-exists-file-name-handler): Fix docstring.
10592 (with-progress-reporter): New defmacro.
10593 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10594 (tramp-maybe-open-connection): Use it.
10596 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10598 Detect ssh 'ControlMaster' argument automatically in some cases.
10600 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10601 (tramp-default-method): Use it.
10603 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10605 * net/tramp.el (tramp-handle-copy-file): Add new optional
10606 parameter `preserve-selinux-context'.
10607 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10609 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10611 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10612 Ensure, that non remote files are still checked. Oops.
10614 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10618 * icomplete.el (icomplete-completions): Use `non-essential'.
10620 * net/tramp.el (tramp-connectable-p): New defun.
10621 (tramp-handle-expand-file-name)
10622 (tramp-completion-handle-file-name-all-completions)
10623 (tramp-completion-handle-file-name-completion): Use it.
10625 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10627 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10629 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10631 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10633 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10635 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10638 * info.el (info-tool-bar-map): Add labels.
10640 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10642 * cus-edit.el (custom-commands): Add labels for tool bar.
10643 (custom-buffer-create-internal, Custom-mode): Adjust for
10644 labels in custom-commands.
10646 * dynamic-setting.el: Renamed from font-setting.el.
10648 2010-04-21 John Wiegley <jwiegley@gmail.com>
10650 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10651 toggles the use of virtual buffers.
10652 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10653 (ido-toggle-virtual-buffers): New function.
10655 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10657 Use `define-derived-mode'; fix window selection; doc fixes.
10658 * play/tetris.el (tetris, tetris-update-speed-function)
10659 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10660 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10661 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10662 (tetris-pause-game): Fix typos in docstrings.
10663 (tetris-mode-map, tetris-null-map):
10664 Move initialization into declaration.
10665 (tetris-mode): Define with `define-derived-mode';
10666 set show-trailing-whitespace to nil.
10667 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10669 2010-04-21 Karel Klíč <kklic@redhat.com>
10671 * files.el (backup-buffer): Handle SELinux context, and return it
10672 if a backup was made by renaming.
10673 (backup-buffer-copy): Set SELinux context to the target file.
10674 (basic-save-buffer): Set SELinux context of the newly written file.
10675 (basic-save-buffer-1): Now it also returns any SELinux context.
10676 (basic-save-buffer-2): Set SELinux context of the newly created file,
10678 * net/tramp.el (tramp-file-name-for-operation):
10679 Add file-selinux-context.
10681 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10683 Make the log-edit comments use RFC822 format throughout.
10685 * vc.el (vc-checkin, vc-modify-change-comment):
10686 Adjust to new vc-start/finish-logentry.
10687 (vc-find-conflicted-file): New command.
10688 (vc-transfer-file): Adjust to new vc-checkin.
10689 (vc-next-action): Improve scoping.
10691 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10692 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10694 * vc-git.el (vc-git-log-edit-mode): Remove.
10695 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10696 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10698 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10699 (vc-start-logentry): Remove argument `extra'.
10700 (vc-finish-logentry): Remove extra args.
10702 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10703 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10704 (vc-bzr-conflicted-files): New function.
10706 * log-edit.el (log-edit-extra-flags)
10707 (log-edit-before-checkin-process): Remove.
10708 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10709 (log-edit-headers-alist): New var.
10710 (log-edit-header-contents-regexp): New const.
10711 (log-edit-match-to-eoh): New function.
10712 (log-edit-font-lock-keywords): Use them.
10713 (log-edit): Insert a "Summary:" header as default.
10714 (log-edit-mode): Mark font-lock rules as case-insensitive.
10715 (log-edit-done): Cleanup headers.
10716 (log-view-process-buffer): Remove.
10717 (log-edit-extract-headers): New function to replace it.
10719 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10721 * subr.el (default-direction-reversed): Remove obsolescence info.
10723 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10725 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10728 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10729 I.e. include text after point in the completion region.
10730 Also, return nil when we're not after/in a symbol.
10732 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10733 default enable-multibyte-characters.
10735 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10737 * international/mule.el: Help the user choose a valid coding-system.
10738 (read-buffer-file-coding-system): New function.
10739 (set-buffer-file-coding-system): Use it. Prompt the user if the
10740 coding-system cannot encode all the chars.
10742 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10743 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10744 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10745 Don't use *vc-bzr-shelve*.
10747 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10749 Fix the version number for added files.
10750 * vc-hg.el (vc-hg-working-revision): Check if the file is
10751 registered after hg parent fails (Bug#5961).
10753 2010-04-19 Glenn Morris <rgm@gnu.org>
10755 * htmlfontify.el (htmlfontify-buffer)
10756 (htmlfontify-copy-and-link-dir): Autoload entry points.
10758 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10760 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10761 name relative to the project root (Bug#5960).
10763 2010-04-19 Glenn Morris <rgm@gnu.org>
10765 * vc-git.el (vc-git-print-log): Doc fix.
10767 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10769 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10771 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10773 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10774 default settings (Bug#5928).
10776 2010-04-19 Glenn Morris <rgm@gnu.org>
10778 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10780 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10782 2010-04-19 Kenichi Handa <handa@m17n.org>
10784 * language/indian.el (malayalam-composable-pattern): Fix previous
10785 change (add U+0D4D "SIGN VIRAMA").
10786 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10787 (tamil-composable-pattern): Fix typo in the regexp.
10788 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10789 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10790 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10792 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10794 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10795 paragraph-separate (Bug#5821).
10797 2010-04-19 Juri Linkov <juri@jurta.org>
10799 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10801 * info.el (Info-find-node-2): Comment out code that skips
10803 (Info-mouse-follow-link): New command.
10804 (Info-link-keymap): New keymap.
10805 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10806 Return a string with links instead of inserting breadcrumbs
10807 to the Info buffer.
10808 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10809 Instead of putting the `invisible' text property over the Info
10810 header, make an overlay over the Info header with the `invisible'
10811 property and `after-string' set to the string returned by
10812 `Info-breadcrumbs'.
10814 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10816 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10817 Reported by monkey@sandpframing.com.
10819 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10821 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10822 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10823 available in the "keyseq cache" any more.
10825 * custom.el (defcustom): Add edebug spec.
10827 2010-04-18 Juri Linkov <juri@jurta.org>
10829 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10831 * view.el (view-file, view-buffer): Move test for special mode-class
10832 from view-file to view-buffer.
10834 * tar-mode.el (tar-extract): Turn if's into one cond
10835 like in arc-mode.el.
10837 2010-04-18 Juri Linkov <juri@jurta.org>
10839 Add 7z archive format support (bug#5475).
10841 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10842 (archive-7z-extract): New defcustom.
10843 (archive-find-type): Add magic string for 7z.
10844 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10845 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10846 `buffer' arg of `call-process'.
10847 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10848 call the function `archive-7z-extract' with the variable
10849 `archive-7z-extract' let-bound to `archive-zip-extract'.
10850 (archive-7z-summarize, archive-7z-extract): New functions.
10852 * international/mule.el (auto-coding-alist):
10853 * files.el (auto-mode-alist): Add 7z file extension.
10855 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10857 * loadup.el: Setup hash-cons for pure data.
10859 Fix duplicate entries in cedet's loaddefs.el files.
10860 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10861 Should make most file-local generated-autoload-file unnecessary.
10862 (print-readably): Silence warnings.
10863 (autoload-find-destination): Take load-name as an arg to make sure
10864 it's the same as the one that will be in the file.
10865 (autoload-generate-file-autoloads): Adjust to above changes.
10866 Try to make the dataflow a bit simpler.
10868 * cvs-status.el (cvs-refontify): Remove unused.
10870 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10872 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10874 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10875 twos-complement mode.
10877 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10879 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10880 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10881 (calc-inverse): Add "Option" to message, as appropriate.
10882 (calc-hyperbolic): Add "Option" to message, as appropriate.
10883 (calc-option, calc-is-option): New functions.
10885 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10886 (calc-option-prefix-help): New function.
10888 * calc/calc-misc.el (calc-help): Add "Option" entry.
10890 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10891 (calc-option-flag): New variable.
10892 (calc-do): Set `calc-option-flag to nil.
10893 (calc-set-mode-line): Add "Opt " as appropriate.
10895 2010-04-16 Juri Linkov <juri@jurta.org>
10897 Move scrolling commands from simple.el to window.el
10898 because their primitives are implemented in window.c.
10900 * simple.el (scroll-error-top-bottom)
10901 (scroll-up-command, scroll-down-command, scroll-up-line)
10902 (scroll-down-line, scroll-other-window-down)
10903 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10904 * window.el (scroll-error-top-bottom)
10905 (scroll-up-command, scroll-down-command, scroll-up-line)
10906 (scroll-down-line, scroll-other-window-down)
10907 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10908 Move from simple.el to window.el because their primitives are
10909 implemented in window.c.
10911 2010-04-16 Juri Linkov <juri@jurta.org>
10913 * isearch.el (isearch-lookup-scroll-key): Check both
10914 `isearch-scroll' and `scroll-command' properties.
10915 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10917 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10919 * simple.el (scroll-up-command, scroll-down-command)
10920 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10922 2010-04-15 Juri Linkov <juri@jurta.org>
10924 * simple.el (scroll-up-command, scroll-down-command)
10925 (scroll-up-line, scroll-down-line): Put `scroll-command'
10926 property on the these symbols. Remove them from
10927 `scroll-preserve-screen-position-commands'.
10929 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10930 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10931 Remove it from `scroll-preserve-screen-position-commands'.
10933 * isearch.el (isearch-allow-scroll): Doc fix.
10935 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10937 * net/tramp.el (tramp-error-with-buffer): Don't show the
10938 connection buffer when we are in completion mode.
10939 (tramp-file-name-handler): Catch the error for some operations
10940 when we are in completion mode. This gives the user the chance to
10941 correct the file name in the minibuffer.
10943 2010-04-15 Glenn Morris <rgm@gnu.org>
10945 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10947 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10949 Simplify by using `define-derived-mode'.
10950 * info.el (Info-mode):
10951 * calendar/todo-mode.el (todo-mode):
10952 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10953 (gomoku-mode-map): Move initialization into declaration.
10955 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10958 * ido.el (ido-file-name-all-completions-1):
10959 * minibuffer.el (minibuffer-completion-help):
10960 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10962 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10964 * simple.el (non-essential): New var.
10966 Add a new field `location' to bookmarks for non-file bookmarks.
10967 * bookmark.el (bookmark-location): Use the new field, if present.
10968 (bookmark-insert-location): Undo last change, not needed any more.
10969 * man.el (Man-bookmark-make-record):
10970 * woman.el (woman-bookmark-make-record): Add `location' field.
10972 2010-04-14 Juri Linkov <juri@jurta.org>
10974 * simple.el (scroll-error-top-bottom): New defcustom.
10975 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10977 * emulation/pc-select.el (pc-select-override-scroll-error):
10978 Obsolete in favor of `scroll-error-top-bottom'.
10980 2010-04-14 Juri Linkov <juri@jurta.org>
10982 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10983 `scroll-up-command' and `M-v' to `scroll-down-command'.
10985 * emulation/cua-rect.el (cua--init-rectangles):
10986 * forms.el (forms--change-commands):
10987 * image-mode.el (image-mode-map):
10988 Remap scroll-down-command and scroll-up-command
10989 in addition to scroll-down and scroll-up.
10991 2010-04-14 Juri Linkov <juri@jurta.org>
10993 * mwheel.el (scroll-preserve-screen-position-commands):
10994 Add mwheel-scroll to this list of commands.
10996 * simple.el (scroll-preserve-screen-position-commands):
10997 Add scroll-up-command, scroll-down-command, scroll-up-line,
10998 scroll-down-line to this list of commands.
11000 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11002 * obsolete/complete.el: Move from lisp/complete.el.
11004 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11006 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11007 to the minor mode function now turns the mode ON unconditionally.
11009 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11011 * vc-dir.el (vc-dir-kill-line): New command.
11012 (vc-dir-mode-map): Bind it to C-k.
11014 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11016 * woman.el: Add bookmark declarations to silence the compiler.
11017 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11018 step to compatibility between man and woman bookmarks.
11019 Adjust for Man-default-bookmark-title renaming.
11020 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11022 * man.el: Add bookmark declarations to silence the compiler.
11023 (Man-name-local-regexp): Make it match NAME as well.
11024 (Man-getpage-in-background): Return the buffer.
11025 (Man-notify-when-ready): Use `case'.
11026 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11027 Don't hardcode "NAME". Simplify.
11028 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11029 Rename from Man-bookmark-make-record.
11030 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11031 we have the actual man-args. Use Man-getpage-in-background rather
11032 than `man' since the arg is already processed. Let bookmark.el do the
11033 window handling. Only wait for the relevant process.
11034 Don't forget to autoload.
11036 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11038 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11040 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11042 (woman-mode): Setup bookmark support.
11044 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11045 (man-bookmark-jump): New functions.
11046 (Man-mode): Setup bookmark support.
11048 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11050 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11051 recognize ssh-keygen prompt (Bug#2817).
11053 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11055 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11057 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11059 Synchronize with Tramp repository.
11061 * net/tramp.el (tramp-completion-function-alist)
11062 (tramp-file-name-regexp, tramp-chunksize)
11063 (tramp-local-coding-commands, tramp-remote-coding-commands):
11065 (tramp-remote-process-environment): Use `format' instead of `concat'.
11066 (tramp-handle-directory-files-and-attributes)
11067 (tramp-get-remote-path): Use `copy-tree'.
11068 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11069 compatibility: Use `completion-ignore-case' if
11070 `read-file-name-completion-ignore-case' does not exist.
11071 (tramp-do-copy-or-rename-file-directly): Do not use
11072 `tramp-handle-file-remote-p'.
11073 (tramp-do-copy-or-rename-file-out-of-band):
11074 Use `tramp-compat-delete-directory'.
11075 (tramp-do-copy-or-rename-file-out-of-band)
11076 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11077 Use `format-spec-make'.
11078 (tramp-find-foreign-file-name-handler)
11079 (tramp-advice-make-auto-save-file-name)
11080 (tramp-set-auto-save-file-modes): Remove superfluous check for
11081 `stringp'. This is done inside `tramp-tramp-file-p'.
11082 (tramp-debug-outline-regexp): New defconst.
11083 (tramp-get-debug-buffer): Use it.
11084 (tramp-check-for-regexp): Use (forward-line 1).
11085 (tramp-set-auto-save-file-modes): Adapt version check.
11087 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11088 Wrap call of `featurep' for 2nd argument.
11089 (tramp-compat-make-temp-file): Simplify fallback implementation.
11090 (tramp-compat-copy-tree): Remove function.
11091 (tramp-compat-delete-directory): Provide implementation for older
11094 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11095 Do not use `tramp-fish-handle-file-attributes.
11097 * net/trampver.el: Update release number.
11099 2010-04-10 Glenn Morris <rgm@gnu.org>
11101 * progmodes/compile.el (compilation-save-buffers-predicate):
11102 Add missing :version tag.
11104 2010-04-09 Sam Steingold <sds@gnu.org>
11106 * progmodes/compile.el (compilation-save-buffers-predicate):
11107 Remove the "autoload" cookie.
11109 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11110 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11111 and `bug-reference-prog-mode' can be used in hooks directly.
11113 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11115 Add --author support to git commit.
11116 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11117 (vc-git-log-edit-mode): New minor mode.
11118 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11121 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11123 * vc-hooks.el, vc-git.el: Improve documentation comments.
11125 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11127 Fix some of the problems in defsubst* (bug#5728).
11128 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11129 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11131 2010-04-07 Sam Steingold <sds@gnu.org>
11133 * progmodes/compile.el (compilation-save-buffers-predicate):
11134 New custom variable.
11135 (compile, recompile): Pass it to `save-some-buffers'.
11137 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11139 * wid-edit.el (widget-choose): Move cursor to the second line of
11140 the buffer (Bug#5695).
11142 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11144 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11145 * vc.el (vc-print-log-setup-buttons): New function split out from
11146 vc-print-log-internal.
11147 (vc-log-internal-common): New function, a parametrized version of
11148 vc-print-log-internal.
11149 (vc-print-log-internal): Just call vc-log-internal-common with the
11151 (vc-incoming-outgoing-internal):
11152 (vc-log-incoming, vc-log-outgoing): New functions.
11153 (vc-log-view-type): New permanent local variable.
11155 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11157 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11158 of the dynamic bound vc-short-log.
11159 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11161 * vc-git.el (vc-git-log-outgoing): New function.
11162 (vc-git-log-view-mode): Use vc-log-view-type instead
11163 of the dynamic bound vc-short-log.
11165 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11166 of the dynamic bound vc-short-log. Highlight the tag.
11167 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11168 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11169 (vc-hg-incoming-mode): Remove.
11170 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11172 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11174 Fix default-directory for vc-root-diff.
11175 * vc.el (vc-root-diff): Bind default-directory to the root
11176 directory for the diff command.
11178 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11180 * progmodes/verilog-mode.el (verilog-forward-sexp):
11181 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11182 word keywords, suggested by Steve Pearlmutter.
11183 (verilog-pretty-declarations): Support lineup of declarations in
11185 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11186 fix bug for /* / comments.
11187 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11188 Speed up and simplfy as this is never called with a bound.
11189 (verilog-pretty-declarations): Enhance to line up declarations
11190 inside a parameter list, suggested by Alan Morgan.
11191 (verilog-pretty-expr): Tune assignment regular expression match
11192 string for corner cases; also use markers instead of character
11193 number as indent changes the later.
11195 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11197 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11198 as missing keyword.
11199 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11200 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11201 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11202 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11204 (verilog-keywords):
11205 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11206 1800-2009 keywords, including "global.".
11208 2010-04-06 John Wiegley <jwiegley@gmail.com>
11210 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11211 appearing in buffer list (if a live buffer name matched a recentf
11212 file basename). Should use uniquify to offer a real solution.
11214 2010-04-06 John Wiegley <jwiegley@gmail.com>
11216 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11217 comment to code, and add a :version tag.
11218 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11220 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11222 Enable recentf-mode if using virtual buffers.
11223 * ido.el (recentf-list): Declare for byte-compiler.
11224 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11225 (ido-make-buffer-list): Simplify.
11226 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11228 2010-04-05 Juri Linkov <juri@jurta.org>
11230 Scrolling commands which scroll a line instead of full screen.
11231 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11233 * simple.el (scroll-up-line, scroll-down-line): New commands.
11234 Put property isearch-scroll=t on them.
11236 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11239 2010-04-05 Juri Linkov <juri@jurta.org>
11241 Scrolling commands which do not signal errors at top/bottom.
11242 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11244 * simple.el (scroll-up-command, scroll-down-command): New commands.
11245 Put property isearch-scroll=t on them.
11247 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11248 `scroll-down-command' and [next] from `scroll-up' to
11249 `scroll-up-command'.
11251 * emulation/cua-base.el: Put property CUA=move on
11252 `scroll-up-command' and `scroll-down-command'.
11253 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11254 and `scroll-down-command' to `cua-scroll-down'.
11256 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11258 * help.el (describe-mode): Return nil.
11260 2010-04-04 John Wiegley <jwiegley@gmail.com>
11262 * ido.el (ido-use-virtual-buffers): New variable to indicate
11263 whether "virtual buffer" support is enabled for IDO.
11264 (ido-virtual): Face used to indicate virtual buffers in the list.
11265 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11266 exists, but a virtual buffer of that name does (which would be why
11267 it was in the list), recreate the buffer by reopening the file.
11268 (ido-make-buffer-list): If virtual buffers are being used, call
11269 `ido-add-virtual-buffers-to-list' before the make list hook.
11270 (ido-virtual-buffers): New variable which contains a copy of the
11271 current contents of the `recentf-list', albeit pared down for the
11272 sake of speed, and with proper faces applied.
11273 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11274 create a list of "virtual buffers" to present to the user in
11275 addition to the currently open set. Note that this logic could
11276 get rather slow if that list is too large. With the default
11277 `recentf-max-saved-items' of 200, there is little speed penalty.
11279 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11281 * font-lock.el: Require CL when compiling.
11282 (font-lock-turn-on-thing-lock): Use `case'.
11284 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11286 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11289 2010-04-02 Juri Linkov <juri@jurta.org>
11291 * ehelp.el (electric-help-orig-major-mode):
11292 New buffer-local variable.
11293 (electric-help-mode): Set it to original major-mode. Doc fix.
11294 (with-electric-help): Use `electric-help-orig-major-mode' instead
11295 of (default-value 'major-mode). Doc fix.
11296 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11298 2010-04-02 Sam Steingold <sds@gnu.org>
11300 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11301 `vc-hg-command' with a list of flags.
11303 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11304 Also accept "patch" and "RFE".
11305 (bug-reference-fontify): `bug-reference-url-format' can also be a
11306 function to be able to handle the bug kind.
11307 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11309 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11311 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11312 value to fboundp, it may not be a symbol.
11314 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11316 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11318 2010-03-31 Juri Linkov <juri@jurta.org>
11320 * simple.el (next-line, previous-line): Re-throw a signal
11321 with `signal' instead of using `ding'.
11322 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11324 2010-03-31 Juri Linkov <juri@jurta.org>
11326 * simple.el (keyboard-escape-quit): Raise deselecting the active
11327 region higher than exiting the minibuffer.
11328 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11330 2010-03-31 Juri Linkov <juri@jurta.org>
11332 * image.el (image-animated-p): Use `image-metadata' instead of
11333 `image-extension-data'. Get GIF extenstion data from metadata
11334 property `extension-data'.
11336 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11338 * simple.el (append-to-buffer): Simplify.
11340 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11342 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11343 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11345 2010-03-31 Kenichi Handa <handa@m17n.org>
11347 * language/sinhala.el (composition-function-table): Fix regexp for
11348 the new Unicode specification.
11350 * language/indian.el (devanagari-composable-pattern)
11351 (tamil-composable-pattern, kannada-composable-pattern)
11352 (malayalam-composable-pattern): Adjust for the new Unicode
11354 (bengali-composable-pattern, gurmukhi-composable-pattern)
11355 (gujarati-composable-pattern, oriya-composable-pattern)
11356 (telugu-composable-pattern): New variables to cope with the new
11357 Unicode specification. Use them in composition-function-table.
11359 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11361 Make tmm-menubar work for the Buffers menu again (bug#5726).
11362 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11363 vectors rather than cons cells, as used in menu-bar-update-buffers.
11365 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11367 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11368 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11369 electric punctuation for "{}();,:" (Bug#5586).
11371 * mail/sendmail.el (mail-default-directory): Doc fix.
11373 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11375 * mail/sendmail.el (mail-default-directory): Doc fix.
11377 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11379 * subr.el (version-regexp-alist, version-to-list)
11380 (version-list-<, version-list-=, version-list-<=)
11381 (version-list-not-zero, version<, version<=, version=): Doc fix.
11384 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11386 * vc.el (vc-root-diff): Doc fix.
11388 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11390 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11392 * simple.el (append-to-buffer): Fix last change.
11394 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11396 * simple.el (append-to-buffer): Ensure that point is preserved if
11397 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11400 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11402 * files.el (auto-mode-case-fold): Change default to t.
11404 2010-03-30 Juri Linkov <juri@jurta.org>
11406 * dired-x.el (dired-omit-mode): Doc fix.
11408 2010-03-30 Juri Linkov <juri@jurta.org>
11410 * replace.el (occur-accumulate-lines): Move occur-engine related
11411 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11412 to be located after `occur-engine'.
11414 2010-03-30 Juri Linkov <juri@jurta.org>
11416 Make occur handle multi-line matches cleanly with context.
11417 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11419 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11420 (occur-engine): Add local variables `ret', `prev-after-lines',
11421 `prev-lines'. Use more arguments for `occur-context-lines'.
11422 Set first elem of its returned list to `data', and the second elem
11423 to `prev-after-lines'. Don't print the separator line.
11424 In the end, print remaining context after-lines.
11425 (occur-context-lines): Add new arguments `begpt', `endpt',
11426 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11427 after-lines of the previous match with before-lines of the
11428 current match and not overlap them. Return a list with two
11429 values: the output line and the list of context after-lines.
11431 2010-03-30 Juri Linkov <juri@jurta.org>
11433 * replace.el (occur-accumulate-lines): Fix a bug where the first
11434 context line at the beginning of the buffer was missing.
11436 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11438 * files.el: Make bidi-display-reordering safe variable for boolean
11441 2010-03-29 Phil Hagelberg <phil@evri.com>
11442 Chong Yidong <cyd@stupidchicken.com>
11444 * subr.el: Extend progress reporters to perform "spinning".
11445 (progress-reporter-update, progress-reporter-do-update):
11446 Handle non-numeric value arguments.
11447 (progress-reporter--pulse-characters): New var.
11449 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11451 * progmodes/compile.el (compilation-start): Fix regexp detection
11452 of initial cd command (Bug#5771).
11454 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11456 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11458 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11460 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11461 * progmodes/gdb-mi.el: Restore.
11462 * progmodes/gdb-ui.el: Remove.
11463 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11465 2010-03-25 Glenn Morris <rgm@gnu.org>
11467 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11468 all dired buffers, even tramp ones. (Bug#5755)
11470 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11472 Add "union tags" in mpc.el.
11473 * mpc.el: Remove backward compatibility code.
11474 (mpc-browser-tags): Change default.
11475 (mpc--find-memoize-union-tags): New var.
11476 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11477 (mpc-cmd-find): Handle the case where the playlist does not exist.
11479 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11480 (mpc-cmd-add): Use mpc-cmd-flush.
11481 (mpc-tagbrowser-tag-name): New fun.
11482 (mpc-tagbrowser-buf): Use it.
11483 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11485 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11488 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11489 Use replace-regexp-in-string.
11490 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11491 (makefile-imake-mode-syntax-table): Move init into defvar.
11492 (makefile-mode): Use define-derived-mode.
11494 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11495 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11496 not be present any more.
11498 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11500 * faces.el (set-face-attribute): Fix typo in docstring.
11501 (face-valid-attribute-values): Reflow docstring.
11503 2010-03-24 Glenn Morris <rgm@gnu.org>
11505 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11507 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11509 * indent.el (indent-for-tab-command): Doc fix.
11511 2010-03-24 Alan Mackenzie <acm@muc.de>
11513 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11514 Fix off-by-one error. Fixes bug #5747.
11516 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11518 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11519 (image-dired-read-comment): Doc fix.
11521 * json.el (json-object-type, json-array-type, json-key-type)
11522 (json-false, json-null, json-read-number):
11523 * minibuffer.el (completion-in-region-functions):
11524 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11525 (cal-tex-cursor-week):
11526 * emacs-lisp/trace.el (trace-function):
11527 * eshell/em-basic.el (eshell/printnl):
11528 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11529 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11530 * obsolete/levents.el (allocate-event, event-key, event-object)
11531 (event-point, event-process, event-timestamp, event-to-character)
11532 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11533 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11534 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11535 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11536 (reftex-highlight-selection): Fix typos in docstrings.
11538 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11540 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11542 2010-03-24 Glenn Morris <rgm@gnu.org>
11544 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11545 2008-02-13 without comment; mark it obsolete.
11546 (rmail-highlight-headers): Use rmail-highlight-face once more.
11548 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11550 * woman.el (woman2-process-escapes): Only consume the newline if
11551 the filler character is on a line by itself (Bug#5729).
11553 2010-03-24 Kenichi Handa <handa@m17n.org>
11555 * language/indian.el (devanagari-composable-pattern): Add more
11558 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11560 * net/trampver.el: Update release number.
11562 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11564 * net/tramp.el (tramp-find-executable):
11565 Use `tramp-get-connection-buffer'. Make the regexp for checking
11566 output of "wc -l" more robust.
11567 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11568 (tramp-open-connection-setup-interactive-shell): Remove workaround
11569 for OpenSolaris bug, it is not needed anymore.
11571 2010-03-24 Glenn Morris <rgm@gnu.org>
11573 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11575 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11577 * files.el (auto-mode-alist): Accept more verilog file patterns.
11579 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11581 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11583 2010-03-24 Glenn Morris <rgm@gnu.org>
11585 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11586 log-edit-before-checkin-process.
11588 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11590 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11592 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11593 (log-view-process-buffer, log-edit-extra-flags): Declare.
11595 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11597 2010-03-23 Sam Steingold <sds@gnu.org>
11599 Fix bug#5620: recalculate all markers on compilation buffer
11600 modifications, not on file modifications.
11601 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11602 variable: the buffer modification time, for buffers not associated with
11604 (compilation-mode): Create it.
11605 (compilation-filter): Update it.
11606 (compilation-next-error-function): Use it instead of
11607 `visited-file-modtime' for timestamp.
11609 2010-03-23 Juri Linkov <juri@jurta.org>
11611 Implement Occur multi-line matches.
11612 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11614 * replace.el (occur): Doc fix.
11615 (occur-engine): Set `begpt' to the beginning of the first line.
11616 Set `endpt' to the end of the last match line. At first, count
11617 line numbers between `origpt' and `begpt'. Split out code from
11618 `out-line' variable to new let-bindings `match-prefix' and
11619 `match-str'. In `out-line' add non-numeric prefix to all
11620 non-first lines of multi-line matches. Finally, count lines
11621 between `begpt' and `endpt' and add to `lines'.
11623 2010-03-23 Juri Linkov <juri@jurta.org>
11625 * replace.el (occur-accumulate-lines, occur-engine):
11626 Use `occur-engine-line' instead of duplicate code.
11627 (occur-engine-line): New function created from duplicate code
11628 in `occur-accumulate-lines' and `occur-engine'.
11630 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11631 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11633 2010-03-23 Juri Linkov <juri@jurta.org>
11635 * finder.el: Remove TODO tasks.
11637 * info.el (Info-finder-find-node): Add node "all"
11638 with all package info. Handle a list of multiple keywords
11639 separated by comma.
11640 (info-finder): In interactive use with a prefix argument,
11641 use `completing-read-multiple' to read a list of keywords
11642 separated by comma.
11644 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11646 Add a new completion style `substring'.
11647 * minibuffer.el (completion-basic--pattern): New function.
11648 (completion-basic-try-completion, completion-basic-all-completions):
11650 (completion-substring--all-completions)
11651 (completion-substring-try-completion)
11652 (completion-substring-all-completions): New functions.
11653 (completion-styles-alist): New style `substring'.
11655 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11657 Get rid of .elc files after removal of the corresponding .el.
11658 * Makefile.in (compile-clean): New target.
11659 (compile-main): Use it.
11661 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11663 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11664 don't do make there. When compiling with separate object dir, there
11665 is no Makefile there.
11667 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11669 Get rid of the ELCFILES abomination, again.
11670 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11671 (all, compile): Don't call compile-last.
11672 (compile-main): Build the "elcfiles" list dynamically.
11673 (compile-targets): New (internal) target.
11675 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11677 * Makefile.in (top_srcdir): Define.
11678 (abs_top_builddir): Define.
11679 (srcdir): Don't append `/..'.
11680 (EMACS): Use ${abs_top_builddir}.
11681 (all, compile, compile-always, compile-last): Don't set emacswd.
11682 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11684 (lisp): Use $(srcdir) instead of @srcdir@.
11686 2010-03-21 Juri Linkov <juri@jurta.org>
11688 Fix message of multi-line occur regexps and multi-buffer header lines.
11689 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11691 * replace.el (occur-1): Don't display regexp if it is longer
11692 than window-width. Use `query-replace-descr' to display regexp.
11693 (occur-engine): Don't display regexp in the buffer header for
11694 multi-buffer occur. Display a separate header line with total
11695 match count and regexp for multi-buffer occur.
11696 Use `query-replace-descr' to display regexp.
11698 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11700 * net/secrets.el: Fix parenthesis.
11701 (secrets-enabled): Fix parenthesis.
11703 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11705 Use more relative file and directory names.
11706 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11707 (setwins, setwins_almost, setwins_for_subdirs):
11708 Don't `cd'; output relative names.
11709 (all, compile, compile-always, compile-last): Set emacswd.
11710 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11711 Just cd to the lisp source dir so we can use relative file names.
11713 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11715 2010-03-20 Glenn Morris <rgm@gnu.org>
11717 * textmodes/rst.el: Use faces for font-lock customization, and make the
11718 old -face variables obsolete.
11719 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11720 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11721 (rst-block-face, rst-external-face, rst-definition-face)
11722 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11723 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11725 (rst-font-lock-keywords-function): Update for above changes.
11727 2010-03-20 Juri Linkov <juri@jurta.org>
11730 * obsolete/s-region.el: Move to obsolete.
11732 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11734 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11736 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11738 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11740 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11742 Add special markup processing for commit logs.
11743 * log-edit.el (log-edit-extra-flags): New variable.
11744 (log-edit): Add new argument MODE. Use that mode when non-nil
11745 instead of the log-view-mode.
11746 (log-view-process-buffer): New function.
11748 * vc.el: Document that the checkin method takes optional
11749 arguments. Document new backend specific method: log-view-mode.
11750 (vc-default-log-edit-mode): New function.
11751 (vc-checkin): Use a backend specific log-view-mode.
11752 Pass extra arguments to the checkin method.
11753 (vc-modify-change-comment): Pass a dummy extra argument.
11755 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11757 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11758 (vc-finish-logentry): Process the log buffer before passing it
11759 down. Pass log-edit-extra-flags.
11761 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11763 (log-edit-extra-flags, log-edit-before-checkin-process):
11766 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11768 (log-edit-extra-flags, log-edit-before-checkin-process):
11770 (vc-hg-log-edit-mode): New derived mode.
11772 * vc-arch.el (vc-arch-checkin):
11773 * vc-cvs.el (vc-cvs-checkin):
11774 * vc-git.el (vc-git-checkin):
11775 * vc-mtn.el (vc-mtn-checkin):
11776 * vc-rcs.el (vc-rcs-checkin):
11777 * vc-sccs.el (vc-sccs-checkin):
11778 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11780 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11782 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11785 2010-03-19 Glenn Morris <rgm@gnu.org>
11787 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11789 2010-03-18 Glenn Morris <rgm@gnu.org>
11791 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11793 * replace.el (query-replace-history): Give it a doc string.
11794 (map-query-replace-regexp): Use query-replace-from-history-variable
11795 and query-replace-to-history-variable.
11797 * mail/hashcash.el (declare-function): Remove duplicate definition.
11799 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11800 Make it an obsolete alias for report-emacs-bug-address.
11801 (message-strip-special-text-properties): Declare.
11802 (report-emacs-bug): Remove test for a pretest bug address.
11803 Combine message-mode-specific code.
11805 * mail/supercite.el: Don't require sendmail.
11806 (mh-in-header-p): Declare rather than using with-no-warnings.
11807 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11808 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11810 * calendar/cal-french.el: Convert to utf-8.
11812 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11815 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11817 * net/secrets.el (secrets-enabled): New variable. Use it instead
11820 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11822 * net/secrets.el (top): Register the D-Bus signals only when the
11823 service "org.freedesktop.secrets" can be pinged.
11824 Provide subfeature `enabled'.
11826 2010-03-14 Juri Linkov <juri@jurta.org>
11828 Add finder unknown keywords.
11830 * finder.el (finder-unknown-keywords): New function.
11832 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11833 to create a Finder node with unknown keywords.
11835 2010-03-14 Juri Linkov <juri@jurta.org>
11837 * finder.el (finder-compile-keywords): Replace `princ' with
11838 `prin1' on a list of symbols interned from keyword strings.
11840 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11841 a comma, then split keywords using a comma and optional whitespace.
11842 Otherwise, split by whitespace.
11850 * progmodes/mixal-mode.el: Fix keywords.
11852 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11854 * Makefile.in (ELCFILES): Add net/secrets.elc.
11856 * net/secrets.el: New file.
11858 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11860 * facemenu.el (list-colors-display, list-colors-print): New arg
11861 callback. Use it to allow selecting colors.
11863 * wid-edit.el (widget-image-insert): Insert image prop even if the
11864 current display is non-graphic.
11865 (widget-field-value-set): New fun.
11866 (editable-field): Use it.
11867 (widget-field-value-get): Clean up unused var.
11868 (widget-color-value-create, widget-color--choose-action):
11869 New funs. Allow using list-colors-display to choose color.
11871 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11873 * cus-edit.el: Resort topmost custom groups.
11874 (custom-buffer-sort-alphabetically): Default to t.
11875 (customize-apropos): Use apropos-parse-pattern.
11876 (custom-search-field): New var.
11877 (custom-buffer-create-internal): Add custom-apropos search field.
11878 (custom-add-parent-links): Don't display parent doc.
11879 (custom-group-value-create): Don't sort top-level custom group.
11880 (custom-magic-value-create): Show visibility button before option name.
11882 (custom-variable-state): New fun, from custom-variable-state-set.
11883 (custom-variable-state-set): Use it.
11884 (custom-group-value-create): Hide options with standard values
11885 using the :hidden-states property. Use progress reporter.
11887 (custom-show): Simplify.
11888 (custom-visibility): Disable images by default.
11889 (custom-variable): New property :hidden-states.
11890 (custom-variable-value-create): Enable images for
11891 custom-visibility widgets. Use :hidden-states property to
11892 determine initial visibility.
11894 * wid-edit.el (widget-image-find): Give images center ascent.
11895 (visibility): Add :on-image and :off-image properties.
11896 (widget-visibility-value-create): Use them.
11898 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11900 * cus-edit.el (processes): Remove from development group.
11901 (oop, hypermedia): Delete group.
11902 (comm): Promote to top-level group.
11904 * net/browse-url.el (browse-url):
11905 * net/xesam.el (xesam):
11906 * net/tramp.el (tramp):
11907 * net/goto-addr.el (goto-address):
11908 * net/ange-ftp.el (ange-ftp): Put in comm group.
11910 * view.el (view): Remove from editing group.
11912 * uniquify.el (uniquify): Put in files group.
11914 * net/browse-url.el (browse-url):
11915 * ps-print.el (postscript): Put in external group.
11917 * cus-edit.el (outlines):
11918 * textmodes/text-mode.el (text-mode-hook):
11919 * textmodes/table.el (table):
11920 * textmodes/picture.el (picture):
11921 * outline.el (outlines): Put in wp group.
11923 * nxml/nxml-mode.el (nxml): Remove from wp group.
11925 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11927 * mail/metamail.el (metamail): Remove from hypermedia group.
11929 * cus-edit.el (abbrev):
11930 * whitespace.el (whitespace):
11931 * vcursor.el (vcursor):
11932 * reveal.el (reveal):
11933 * hl-line.el (hl-line): Put in convenience group.
11935 * epg-config.el (epg): Put in data group.
11937 * emulation/pc-select.el (pc-select): Put in emulations group.
11939 * calculator.el (calculator): Put in applications group.
11941 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11943 Add .dir-locals.el support for file-less buffers.
11944 * files.el (hack-local-variables): Split out code to apply local
11945 variable settings ...
11946 (hack-local-variables-apply): ... here. New function.
11947 (hack-dir-local-variables): Use the default directory for when the
11948 buffer does not have an associated file.
11949 (hack-dir-local-variables-non-file-buffer): New function.
11950 * diff-mode.el (diff-mode):
11951 * vc-annotate.el (vc-annotate-mode):
11952 * vc-dir.el (vc-dir-mode):
11953 * log-edit.el (log-edit-mode):
11954 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11956 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11958 Add support for shelving snapshots and for showing shelves.
11959 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11960 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11962 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11963 (vc-bzr-extra-menu-map): Map them.
11965 2010-03-11 Glenn Morris <rgm@gnu.org>
11967 * cus-edit.el (customize-changed-options-previous-release):
11970 * image.el (image-animate-max-time): Fix :version tag.
11972 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11976 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11978 * vc-git.el (vc-git-revision-table): Include remote branches.
11980 2010-03-10 Kim F. Storm <storm@cua.dk>
11982 Animated image API.
11983 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11985 * image.el (image-animate-max-time): New defcustom.
11986 (image-animated-types): New defconst.
11987 (create-animated-image, image-animate-timer)
11988 (image-animate-start, image-animate-stop, image-animate-timeout)
11989 (image-animated-p): New functions.
11991 * image-mode.el (image-toggle-display-image):
11992 Replace `create-image' with `create-animated-image'.
11994 2010-03-09 Miles Bader <miles@gnu.org>
11996 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11997 instead of "format:"; this ensures that the output is
11998 newline-terminated.
12000 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12002 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12003 that all errors are caught, and that the return value is always a
12006 2010-03-08 Kenichi Handa <handa@m17n.org>
12008 * language/misc-lang.el (windows-1256): New coding system.
12009 (cp1256): New alias of windows-1256 (bug#5690).
12011 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12013 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12014 call to rfc822-bad-address. (Bug#5692)
12016 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12018 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12019 Use vc-git-root as default directory for revision path (Bug#5657).
12021 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12023 * calculator.el (calculator): Don't bind split-window-keep-point
12026 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12028 * vc-git.el: Re-flow to fit into 80 columns.
12029 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12030 Remove spurious `quote' element in each case alternative.
12031 (vc-git-show-log-entry): Use prog1.
12032 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12034 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12036 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12038 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12040 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12041 definition, not the name (Bug#5481).
12043 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12045 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12046 argument with a local variable. (Bug#5670)
12048 2010-03-02 Juri Linkov <juri@jurta.org>
12050 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12052 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12054 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12055 error when FILENAME and NEWNAME are existing remote directories.
12057 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12058 parameter DIR-FLAG.
12060 2010-03-02 Glenn Morris <rgm@gnu.org>
12062 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12063 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12065 2010-03-01 Kenichi Handa <handa@m17n.org>
12067 * language/burmese.el (burmese-composable-pattern): Rename from
12068 myanmar-composable-pattern.
12070 * international/characters.el (script-list):
12071 * international/fontset.el (script-representative-chars):
12072 Change myanmar to burmese.
12073 (otf-script-alist): Likewise.
12074 (setup-default-fontset): Likewise. Re-fix :otf spec.
12076 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12078 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12080 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12082 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12084 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12086 * net/tramp.el (tramp-handle-write-region): START can be a string.
12087 Take care in the checks. Reported by Dan Davison
12088 <davison@stats.ox.ac.uk>.
12090 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12092 * net/dbus.el (dbus-introspect, dbus-get-property)
12093 (dbus-set-property, dbus-get-all-properties):
12094 Use `dbus-call-method' when noninteractive. (Bug#5645)
12096 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12098 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12099 * emacs-lisp/elint.el (elint-add-required-env):
12100 * calendar/icalendar.el (icalendar--add-diary-entry):
12101 * calc/calcalg2.el (math-tracing-integral):
12102 * files.el (recover-session-finish): Use with-current-buffer
12103 instead of save-excursion.
12105 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12107 Fix in-buffer completion when after-change-functions modify the buffer.
12108 * minibuffer.el (completion--replace): New function.
12109 (completion--do-completion): Use it and use relative movement.
12111 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12113 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12115 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12117 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12118 Allow the characters _<> in the stack entry (Bug#5653).
12120 2010-02-26 Kenichi Handa <handa@m17n.org>
12122 * language/burmese.el: Fix entries in composition-function-table.
12123 (myanmar-composable-pattern): New variable.
12125 * international/fontset.el (setup-default-fontset): Add an entry
12128 * international/characters.el (script-list): Add Myanmar
12131 2010-02-26 Glenn Morris <rgm@gnu.org>
12133 * custom.el (custom-initialize-delay): Doc fix.
12135 * mail/sendmail.el (send-mail-function): Autoload the call
12136 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12138 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12140 * files.el (hack-local-variables-filter): For eval forms, also
12141 check safe-local-variable-p (Bug#5636).
12143 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12145 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12146 setting the modes by `ignore-errors'. It might fail, for example
12147 if the file is not owned by the user but the group.
12148 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12150 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12152 * files.el (directory-listing-before-filename-regexp):
12153 Use stricter matching for iso-style dates, to avoid false matches with
12154 date-like filenames (Bug#5597).
12156 * htmlfontify.el (htmlfontify): Doc fix.
12158 * eshell/eshell.el (eshell): Doc fix.
12160 * startup.el (fancy-about-screen): In mode-line, apply
12161 mode-line-buffer-id face only to the buffer name (Bug#5613).
12163 2010-02-20 Kevin Ryde <user42@zip.com.au>
12165 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12166 In `watcom' anchor regexp to start of line, to avoid slowness
12169 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12171 * subr.el (remove-yank-excluded-properties): Explain in a comment
12172 why `category' property is removed.
12174 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12176 * isearch.el (isearch-update-post-hook, isearch-update):
12177 Revert 2010-02-17 change.
12179 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12181 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12182 (icalendar--convert-weekly-to-ical)
12183 (icalendar--convert-yearly-to-ical)
12184 (icalendar--convert-block-to-ical)
12185 (icalendar--convert-cyclic-to-ical)
12186 (icalendar--convert-anniversary-to-ical): Take care of time
12187 specifications where hour has 1-digit only (Bug#5549).
12189 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12191 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12192 of disassemble output in GDB 7.1.
12194 2010-02-19 Glenn Morris <rgm@gnu.org>
12196 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12197 property. (Bug#5593)
12199 2010-02-18 Sam Steingold <sds@gnu.org>
12201 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12203 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12205 Use abbreviated file names in bookmarks (bug#5591).
12206 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12207 calls to expand-file-name.
12208 (bookmark-relocate): Use abbreviated file names in bookmarks.
12209 (bookmark-load): Use abbreviated file names in messages.
12211 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12213 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12214 expand "." and "..". Reported by Thierry Volpiatto
12215 <thierry.volpiatto@gmail.com>.
12217 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12219 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12220 permissions of the temporary file to "0600". In case the remote
12221 file has no read permissions for the owner, there might be
12222 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12224 22010-02-18 Glenn Morris <rgm@gnu.org>
12226 * emacs-lisp/authors.el (authors-renamed-files-alist):
12227 Add entries for INSTALL.CVS.
12229 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12231 * vc-bzr.el: Fix typo in Known Bugs section.
12233 * isearch.el (isearch-update-post-hook): New hook.
12234 (isearch-update): Use the new hook.
12236 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12238 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12239 Fix errors in copying directories.
12240 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12241 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12242 (tramp-handle-delete-file)
12243 (tramp-handle-dired-recursive-delete-directory)
12244 (tramp-handle-write-region): Flush also the cache for the upper
12247 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12249 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12251 * cus-edit.el (hardware): Doc fix.
12253 * man.el (man): Add to external custom group.
12255 * delim-col.el (columns): Move to wp custom group.
12257 * doc-view.el (doc-view): Add to data custom group.
12259 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12261 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12262 by ispell-parse-output (Bug#5575).
12264 2010-02-16 Kenichi Handa <handa@m17n.org>
12266 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12267 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12268 (skkdic-convert): Use `euc-japan' coding system for writing.
12270 2010-02-16 Glenn Morris <rgm@gnu.org>
12272 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12273 tex-main-file before using it. (Bug#5562)
12275 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12277 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12278 warnings, since it is annoying for the user to see them each time he
12281 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12283 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12284 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12285 instead of PROC for caching "first-password-request". Otherwise,
12286 new processes would not profit from passwords already entered.
12288 * net/tramp-cache.el (tramp-dump-connection-properties):
12289 Don't save "first-password-request" property.
12291 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12293 * outline.el (outline-head-from-level):
12294 * simple.el (with-wrapper-hook):
12295 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12296 (elint-defun, elint-buffer-env, elint-top-form-logged)
12297 (elint-unbound-variable):
12298 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12299 Fix typos in docstrings.
12301 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12303 * files.el (insert-directory): When WILDCARD-REGEXP and
12304 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12305 whole directory. (Bug#5551)
12307 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12308 dired's alignment sanity. (Bug#5516)
12310 2010-02-14 Juri Linkov <juri@jurta.org>
12312 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12313 Remove remaining ^H with their preceding chars. (Bug#5566)
12315 2010-02-13 Glenn Morris <rgm@gnu.org>
12317 * simple.el (transpose-subr): Give it a doc-string.
12319 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12322 2010-02-12 Juri Linkov <juri@jurta.org>
12324 * arc-mode.el (archive-unique-fname): Make directories for nested
12325 archives. (Bug#5540)
12327 2010-02-12 Juri Linkov <juri@jurta.org>
12329 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12331 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12333 * subr.el (copy-overlay): Handle deleted overlays.
12335 * man.el (Man-completion-table): Don't signal an error if we can't run
12336 manual-program (bug#4056).
12338 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12340 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12342 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12344 * info.el (Info-bookmark-jump): Simplify.
12346 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12347 (bookmark-default-handler): Accept new bookmark field `buffer'.
12349 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12351 * iswitchb.el (iswitchb-completions): Revert last change.
12353 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12355 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12356 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12357 This prevents file names like "~/" being listed literally.
12359 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12361 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12362 Remove dead code. (Bug#5546)
12364 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12366 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12367 correctly (Bug#5548).
12369 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12371 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12372 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12374 2010-02-08 Kenichi Handa <handa@m17n.org>
12376 * international/mule-util.el (with-coding-priority): Add autoload
12377 cookie for putting `lisp-indent-function'.
12379 2010-02-07 Glenn Morris <rgm@gnu.org>
12381 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12382 Move F2003 named interfaces from keywords-2 to keywords-1, and
12383 use function-name-face rather than constant-face.
12384 Simplify "abstract interface" regexp.
12386 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12388 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12389 ID-FORMAT. Pass it to `file-attributes'.
12391 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12393 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12395 * faces.el (set-face-attribute): Allow calling
12396 internal-set-lisp-face-attribute with 'unspecified family and
12397 foundry argument (Bug#5536).
12399 2010-02-07 Glenn Morris <rgm@gnu.org>
12401 * progmodes/f90.el (f90-font-lock-keywords-2)
12402 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12403 Handle F2003 named interfaces.
12405 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12407 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12408 beg and end before calling c-get-state-before-change-functions.
12410 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12412 * vc-bzr.el (vc-bzr-dir-extra-headers):
12413 Disable the pending merges header.
12415 2010-02-05 Juri Linkov <juri@jurta.org>
12417 * doc-view.el (doc-view-mode):
12418 * image-mode.el (image-mode): Put property mode-class=special.
12421 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12423 * vc-svn.el (vc-svn-revision-table): New function.
12425 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12427 * net/ange-ftp.el (ange-ftp-insert-directory):
12428 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12429 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12430 Handle also directories. (Bug#5478)
12432 2010-02-05 Glenn Morris <rgm@gnu.org>
12434 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12436 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12438 * startup.el (command-line-1): Convert options beginning with a
12439 single dash as well (Bug#5519).
12441 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12443 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12444 * minibuffer.el (completion-initials-expand): Only check the presence
12445 of delims *within* the boundaries, since otherwise the / delim is
12446 always found for files.
12448 Fix up various corner case problems.
12449 * doc-view.el (doc-view-last-page-number): New function.
12450 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12451 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12452 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12453 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12454 (doc-view-convert-current-doc): Don't create the resolution.el file
12456 (doc-view-pdf/ps->png): Do it here instead.
12457 (doc-view-already-converted-p): Check that resolution.el is present.
12458 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12459 windows that are not yet showing images.
12461 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12463 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12464 `dired-uncache' for every elemnt which is an absolute file name.
12466 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12467 directory, handle its directory component.
12468 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12469 function is called permanently and creates noise, otherwise.
12471 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12472 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12473 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12475 2010-02-04 David Burger <dburger@google.com> (tiny change)
12477 * macros.el (apply-macro-to-region-lines):
12478 Minor simplification. (Bug#5485)
12480 2010-02-04 Glenn Morris <rgm@gnu.org>
12482 * mail/rmail.el (rmail-show-message-1): Handle malformed
12483 quoted-printable text. (Bug#5441)
12485 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12487 * simple.el (visual-line-mode): Capitalize lighter.
12489 2010-02-03 John Wiegley <jwiegley@gmail.com>
12491 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12492 list of files considered for "virtual buffer" completions.
12494 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12496 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12497 also in case of (and (not full) (not wildcard)). This is needed
12498 when dired is called with a list of files, which are not in
12499 `default-directory'. (Bug#5478)
12501 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12503 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12505 2010-02-02 Juri Linkov <juri@jurta.org>
12507 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12508 from unidiff to allow function-line after @@.
12510 2010-02-02 Juri Linkov <juri@jurta.org>
12512 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12513 '(RCS SCCS) with inverted condition.
12515 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12517 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12520 2010-02-01 Juri Linkov <juri@jurta.org>
12522 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12523 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12524 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12525 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12527 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12529 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12530 (doc-view-revert-buffer): New command.
12531 (doc-view-mode-map): Use it.
12533 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12535 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12536 pending merge is detected.
12538 2010-01-31 Juri Linkov <juri@jurta.org>
12540 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12541 beginning of interactive spec like all other grep commands do.
12542 Put "all" in front of "gz". (Bug#5260)
12544 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12546 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12548 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12550 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12551 regexp is incorrect (Bug#5476).
12553 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12555 * net/tramp.el (tramp-handle-insert-directory): Handle also
12556 symlinks, when FILENAME is not in `default-directory'.
12558 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12560 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12561 FILE is not in `default-directory'. (Bug#5478)
12563 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12564 of SWITCHES. Handle the case, FILENAME is not in
12565 `default-directory'. (Bug#5478)
12566 (tramp-register-file-name-handlers): Add safe-magic property.
12568 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12570 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12573 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12575 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12576 (flymake-master-make-header-init): Add other C++ filename masks.
12577 (flymake-find-possible-master-files)
12578 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12580 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12582 Fix some busybox annoyances.
12584 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12585 not responding." string.
12586 (tramp-open-connection-setup-interactive-shell): Dump stty
12587 settings. Enable "neveropen" arg for all `tramp-send-command'
12588 calls. Handle "=" in variable values properly.
12589 (tramp-find-inline-encoding): Raise an error, when no encoding is
12591 (tramp-wait-for-output): Check, whether PROC buffer is available.
12592 Remove spurious " ^H" sequences, sent by busybox.
12593 (tramp-get-ls-command): Suppress coloring, if possible.
12595 2010-01-28 Glenn Morris <rgm@gnu.org>
12597 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12599 * log-edit.el (log-edit-strip-single-file-name): Add missing
12600 :safe, :group, and :version tags.
12602 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12604 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12605 buffers. (Bug#5477)
12607 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12609 * files.el (delete-directory): Handle moving to trash without
12610 first doing recursion (Bug#5436).
12612 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12614 * vc-hooks.el (vc-path): Mark as obsolete.
12616 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12618 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12621 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12623 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12625 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12627 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12629 * vc-bzr.el (vc-bzr-revision-table): New function.
12631 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12633 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12634 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12636 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12638 Remove support for adding --signoff on commit.
12639 Future support will use an incompatible generic mechanism.
12640 * vc-git.el (vc-git-add-signoff): Remove variable.
12641 (vc-git-toggle-signoff): Remove function.
12642 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12644 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12645 Rename from xterm-set-background-mode. Return t if the background mode
12647 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12648 earlier, call it again in case the background mode has changed.
12650 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12652 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12655 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12657 * emacs-lisp/assoc.el (aelement): Doc fix.
12658 (aput, adelete, amake): Use lexical-let (Bug#5450).
12660 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12662 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12663 is the same as subprogram call, not declaration. (Bug#5435).
12665 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12667 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12668 (tramp-smb-maybe-open-connection): Use it.
12670 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12672 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12674 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12676 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12677 just because we see "encoding: 8bit".
12678 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12680 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12682 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12684 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12686 * jka-compr.el (jka-compr-load): If load-file is not in
12687 load-history, try its file-truename version. (bug#5447)
12689 2010-01-21 Alan Mackenzie <acm@muc.de>
12691 Fix a situation where deletion of a cpp construct throws an error.
12692 * progmodes/cc-engine.el (c-invalidate-state-cache):
12693 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12694 special cpp construct is still in the buffer.
12695 (c-parse-state): Record the special cpp with markers, not numbers.
12697 2010-01-21 Kenichi Handa <handa@m17n.org>
12699 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12700 process last-command-event, as it is now decoded first (Bug#5380).
12702 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12704 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12706 2010-01-20 Glenn Morris <rgm@gnu.org>
12708 * indent.el (tab-always-indent): Fix custom-type.
12710 2010-01-19 Alan Mackenzie <acm@muc.de>
12712 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12713 buffer throws "args out of range".
12714 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12715 playing the role of delimiter.
12717 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12719 * progmodes/ada-mode.el: Fix bug#5400.
12720 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12721 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12722 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12723 Improve comments in "is" portion. Handle null procedure declaration.
12724 (ada-move-to-end): Improve doc string.
12726 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12728 * ido.el (ido-cur-list): Initialize to nil.
12729 Remove obsolete information from commentary.
12730 (ido-choice-list): Initialize to nil.
12731 (ido-get-bufname): Reject minibuffers.
12732 (ido-make-buffer-list): If "default" is a nonexistent
12733 buffer, ignore it, as per the function's comment.
12734 (ido-kill-buffer-internal): New function.
12735 (ido-kill-buffer-at-head): Use it.
12736 (ido-visit-buffer): Likewise.
12738 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12740 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12742 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12744 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12745 Fix typos in chart titles.
12747 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12748 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12749 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12750 (describe-class, eieio-describe-generic, describe-generic):
12751 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12752 (eieio-speedbar-expand):
12753 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12754 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12755 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12756 (viper-del-backward-char-in-replace, viper-backward-indent)
12757 (viper-brac-function, viper-register-to-point, viper-submit-report):
12758 * net/tramp.el (tramp-remote-coding-commands):
12759 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12760 Fix typos in docstrings.
12762 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12764 * mail/sendmail.el (mail-yank-original): Set the mark if the
12765 specified function for yanking does not do it.
12767 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12769 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12771 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12772 resyncing a directory.
12774 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12776 * progmodes/ada-mode.el: Fix bug#1920.
12777 (ada-ident-re): Delete ., allow multibyte characters.
12778 (ada-goto-label-re): New; matches goto labels.
12779 (ada-block-label-re): New; matches block labels.
12780 (ada-label-re): New; matches both.
12781 (ada-named-block-re): Deleted; callers changed to use
12782 `ada-block-label-re' instead.
12783 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12784 Use `ada-block-label-re'.
12785 (ada-indent-on-previous-lines): Improve handling of goto labels.
12786 (ada-get-indent-block-start): Special-case block label.
12787 (ada-get-indent-label): Split into `ada-indent-block-label' and
12788 `ada-indent-goto-label'.
12789 (ada-goto-stmt-start, ada-goto-next-non-ws):
12790 Optionally ignore goto labels.
12791 (ada-goto-next-word): Simplify.
12792 (ada-indent-newline-indent-conditional): Insert newline before
12793 trying to fix indentation; doc fix.
12795 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12797 * calc/calc.el (calc-command-flags): Give it an initial value.
12799 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12801 * files.el (minibuffer-with-setup-hook):
12802 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12803 (artist-key-draw-continously, artist-key-do-continously-continously)
12804 (artist-key-set-point-continously, artist-mouse-draw-continously):
12805 Fix typos in docstrings.
12807 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12809 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12810 Never return t (Bug#3898).
12812 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12814 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12815 can parse the output of the external commands (Bug#5279).
12817 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12819 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12821 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12823 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12825 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12827 * startup.el (command-line): Remove unused --icon-type arg.
12828 Handle --display arg, passing it to command-line-1 (Bug#5392).
12830 2010-01-16 Mario Lang <mlang@delysid.org>
12832 * emacs-lisp/chart.el (chart-translate-namezone):
12833 * textmodes/artist.el (artist-compute-popup-menu-table):
12834 Remove duplicated words in doc-strings.
12836 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12838 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12839 to mairix-search to suppress threading (Bug#5342).
12841 2010-01-15 Kenichi Handa <handa@m17n.org>
12843 * international/mule-cmds.el (canonicalize-coding-system-name):
12844 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12846 2010-01-15 Glenn Morris <rgm@gnu.org>
12848 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12850 * wid-edit.el (widget-keymap): Doc fix.
12852 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12853 former seems to be more widely accepted by various svn versions.
12855 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12857 * find-cmd.el (find-constituents):
12858 * vc-arch.el (vc-arch-root):
12859 * window.el (window-body-height, pop-up-frames):
12860 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12861 * progmodes/ada-stmt.el (ada-if):
12862 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12863 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12864 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12865 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12867 * progmodes/flymake.el (flymake-post-syntax-check):
12868 Fix typo in error message.
12870 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12872 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12873 which is always a string. (Bug#5313)
12875 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12877 * progmodes/ada-xref.el (ada-default-prj-properties):
12878 Simplify previous change.
12880 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12882 * progmodes/ada-xref.el (ada-default-prj-properties):
12883 Default ada_project_path to $ADA_PROJECT_PATH.
12885 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12887 * progmodes/ada-mode.el (ada-create-keymap):
12888 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12890 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12892 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12893 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12894 (ada-get-current-indent, ada-imenu-generic-expression)
12895 (ada-which-function): Check for it.
12897 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12899 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12900 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12902 2010-01-14 Glenn Morris <rgm@gnu.org>
12904 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12906 2010-01-14 Kenichi Handa <handa@m17n.org>
12908 * composite.el (auto-composition-mode): Make it a buffer local
12909 variable (permanent-local).
12910 (auto-composition-function): Set the default value to
12911 auto-compose-chars.
12912 (auto-composition-mode): Make it a simple function, not a minor mode.
12913 (global-auto-composition-mode): Likewise.
12914 (turn-on-auto-composition-if-enabled): Delete it.
12916 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12918 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12920 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12922 * files.el (copy-directory): Compute target for recursive
12923 directories with identical names. (Bug#5343)
12925 2010-01-12 Glenn Morris <rgm@gnu.org>
12927 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12928 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12930 2010-01-11 Sam Steingold <sds@gnu.org>
12932 * imenu.el (imenu-default-create-index-function): Detect infinite
12933 loops caused by imenu-prev-index-position-function.
12935 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12937 * htmlfontify.el (htmlfontify-load-rgb-file)
12938 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12939 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12940 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12941 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12942 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12943 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12944 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12945 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12946 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12947 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12948 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12949 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12950 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12951 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12952 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12953 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12954 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12955 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12956 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12957 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12958 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12959 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12960 backslash-quoting from parentheses, etc.
12962 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12964 * progmodes/js.el: Autoload javascript-mode alias.
12966 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12968 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12969 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12970 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12971 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12972 Fix typos in docstrings.
12973 (ffap-url-regexp): Doc fix.
12974 (ffap-at-mouse): Fix typo in message.
12976 2010-01-11 Glenn Morris <rgm@gnu.org>
12978 * version.el (emacs-copyright): Set copyright year to 2010.
12980 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12982 * format.el (format-annotate-function): Only set
12983 write-region-post-annotation-function after running to-fn so as not to
12984 affect nested write-region calls (bug#5273).
12986 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12988 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12991 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12993 * man.el (Man-goto-section): Signal error if the section is not
12996 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12998 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12999 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13001 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13003 * progmodes/compile.el: Don't treat compile-command as safe if
13004 compilation-read-command might be nil (Bug#4218).
13006 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13008 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13011 2010-01-08 Kenichi Handa <handa@m17n.org>
13013 * international/fontset.el (build-default-fontset-data):
13014 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13016 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13018 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13019 to `create-file-buffer' as it expects, not just a buffer name.
13020 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13021 to help uniquify. (Bug#3224)
13023 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13025 * font-setting.el (font-setting-change-default-font): Use user-spec
13028 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13030 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13032 2010-01-05 Tom Tromey <tromey@redhat.com>
13034 * progmodes/python.el (python-font-lock-keywords):
13035 Handle qualified decorators (Bug#881).
13037 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13039 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13040 in a lightweight checkout.
13042 2010-01-05 Kenichi Handa <handa@m17n.org>
13044 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13046 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13048 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13050 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13052 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13053 checkouts. (Bug#618)
13054 (vc-bzr-log-view-mode): Also highlight the author.
13055 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13056 (vc-bzr-shelve-menu-map):
13057 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13058 (vc-bzr-shelve-apply): Make prompt more explicit.
13060 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13062 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13063 They are valid characters in URL paths (rfc3986), and at least
13064 Firefox does not understand the encoded version (Bug#3166).
13066 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13068 * progmodes/octave-mod.el (octave-end-keywords)
13069 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13070 Add "end" keyword (Bug#3061).
13071 (octave-end-as-array-index-p): New function.
13072 (calculate-octave-indent): Use it.
13074 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13076 * bookmark.el: Consistently put the text property on the bookmark name.
13077 (bookmark-bmenu-marks-width): Bump back to 2, to include
13079 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13080 property on the bookmark name, instead of not putting it at all.
13081 (bookmark-bmenu-list): Fix where we put the text property.
13083 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13085 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13086 for showing buffer modified state (as added in the previous change).
13088 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13090 * bookmark.el: Show modified state of bookmark buffer more accurately.
13091 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13092 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13093 (with-buffer-modified-unmodified): New macro.
13094 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13095 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13096 Use new macro to preserve the buffer modified state.
13098 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13100 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13101 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13102 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13103 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13104 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13105 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13106 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13108 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13110 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13111 Make the lines in the generated doc string shorter. (Bug#4668)
13113 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13115 * net/rcirc.el: Add follow-link binding (Bug#4738).
13117 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13119 * Makefile.in (bzr-update): Rename from cvs-update.
13120 (cvs-update): New target for backward compatibility.
13122 * makefile.w32-in (bzr-update): Rename from cvs-update.
13123 (cvs-update): New target for backward compatibility.
13125 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13127 * bookmark.el: Remove gratuitous gratitude.
13129 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13131 * bookmark.el (bookmark-bmenu-any-marks): New function.
13132 (bookmark-bmenu-save): Clear buffer modification if no marks.
13134 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13136 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13137 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13138 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13139 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13141 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13142 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13143 To: emacs-devel {_AT_} gnu.org
13144 Subject: bookmark.el bug report
13145 Date: Mon, 28 Dec 2009 14:19:16 +0800
13146 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13148 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13150 * bookmark.el: Improvements suggested by Drew Adams:
13151 (bookmark-bmenu-ensure-position): New name for
13152 `bookmark-bmenu-check-position'. Just ensure the position,
13153 don't return any meaningful value.
13154 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13157 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13159 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13160 (bookmark-yank-point, bookmark-bmenu-check-position):
13161 Fix typos in docstrings.
13162 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13163 (bookmark-name-from-full-record, bookmark-get-position)
13164 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13165 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13166 Remove useless quoting of parenthesis, etc. in docstrings.
13168 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13169 (ediff-append-custom-diff): Fix typo in error message.
13170 (ediff-meta-mark-equal-files): Fix typos in messages.
13172 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13174 * net/imap-hash.el (imap-hash-make): Doc fix.
13175 (imap-hash-test): Fix typo in error message; reflow docstring.
13176 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13177 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13178 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13179 Fix typos in docstrings.
13180 (imap-hash-open-connection): Fix typo in error message.
13182 * play/gomoku.el (gomoku): Fix typos in docstring.
13184 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13185 (gdb-jsonify-buffer): Fix typos in docstring.
13186 (gdb-goto-breakpoint): Fix typo in error message.
13187 ("Display Other Windows"): Fix typo in help message.
13188 (gdb-speedbar-expand-node): Fix typo in question.
13190 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13191 (idlwave-html-system-help-location, idlwave-html-help-location)
13192 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13193 (idlwave-help-browser-generic-args, idlwave-help-directory)
13194 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13195 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13196 (idlwave-online-help, idlwave-help-html-link)
13197 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13198 Fix typos in docstrings.
13199 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13201 (idlwave-help-assistant-start): Fix typo in error message.
13203 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13204 (octave-electric-space): Fix typos in docstrings.
13206 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13208 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13210 2010-01-01 Juri Linkov <juri@jurta.org>
13212 * comint.el (comint-input-ring-size): Make it a defcustom and
13213 increase the default to 500 (Bug#5148).
13215 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13217 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13218 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13219 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13221 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13223 Show working revision correctly for mercurial.
13224 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13225 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13227 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13229 Declare some functions for the byte-compiler.
13230 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13231 (speedbar-timer-fn, speedbar-change-expand-button-char)
13232 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13234 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13236 This changeset reverts GDB Graphical Interface to use annotations.
13237 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13239 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13241 Make vc-dir work on subdirectories of the bzr root.
13242 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13243 Return file names relative to it.
13244 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13245 relative directory to vc-bzr-after-dir-status.
13247 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13249 * font-lock.el (font-lock-refresh-defaults): New function, which
13250 can be used to let font-lock react to external changes in
13251 variables like font-lock-defaults and keywords.
13252 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13254 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13256 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13258 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13260 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13262 Supersede color.diff settings in git log (bug#5211).
13264 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13265 escape chars in its output when the user has color.diff set to `always'.
13266 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13268 2009-12-26 Kevin Ryde <user42@zip.com.au>
13270 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13271 node. Keep previous "Index" name to work with past coreutils too.
13273 * man.el (man): Revise docstring a bit to show -a and -l as
13274 examples. Add -k description since support for it has otherwise
13275 been a secret. (Further to bug#3717.)
13276 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13277 "no matches" rather than "Can't find manpage", as the latter reads
13278 like -k was interpreted as a page name, which is not so. (Bug#5431)
13280 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13282 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13283 switches. Check also for //SUBDIRED// line.
13285 2009-12-25 Kenichi Handa <handa@m17n.org>
13287 * language/indian.el (devanagari-composable-pattern): Fix to
13288 handle ZWNJ and ZWJ. Use it in composition-function-table for
13290 (malayalam-composable-pattern): Fix previous change.
13292 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13294 * ps-print.el (ps-face-attributes): It was not returning the
13295 attribute face for faces specified as string. Reported by harven
13296 <harven@free.fr>. (Bug#5254)
13297 (ps-print-version): New version 7.3.5.
13299 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13301 * calendar/icalendar.el (icalendar--convert-tz-offset):
13302 Fix timezone names.
13303 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13304 (icalendar--add-diary-entry): Remove the trailing blank that
13305 diary-make-entry inserts.
13307 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13309 Make `file-expand-wildcards' work for remote files.
13311 * files.el (file-expand-wildcards): In case of remote files, check
13312 only local file name part for wildcards. Provide feature 'files
13313 and subfeature 'remote-wildcards. (Bug#5198)
13315 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13316 if there is already an established connection.
13317 (tramp-advice-file-expand-wildcards): Remove it.
13319 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13320 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13321 Activate advice for older GNU Emacs versions. (Bug#5237)
13323 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13325 Some doc fixes (more needed).
13327 * find-cmd.el (find-constituents): Reflow docstring.
13328 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13329 (find-generic): Doc fix.
13331 2009-12-17 Juri Linkov <juri@jurta.org>
13333 Fix regression from 23.1 to allow multiple modes in Local Variables.
13335 * files.el (hack-local-variables-filter): While ignoring duplicates,
13336 don't take `mode' into account.
13337 (hack-local-variables-filter, hack-dir-local-variables):
13338 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13340 2009-12-17 Juri Linkov <juri@jurta.org>
13342 Make `dired-diff' safer. (Bug#5225)
13344 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13345 `current' or when `file' is a directory of the `current' file.
13347 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13349 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13350 unconditionally preloaded files.
13352 2009-12-16 Juri Linkov <juri@jurta.org>
13354 Revert to old 23.1 logic of using the file at the mark as default.
13355 * dired-aux.el (dired-diff): Use the file at the mark as default
13356 if it's not the same as the current file, and the target dir is
13357 the current dir or the mark is active. Add the current file
13358 as the arg of `dired-dwim-target-defaults'. Use the default file
13359 in the prompt. (Bug#5225)
13361 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13363 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13364 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13365 (tramp-check-for-regexp): Check also, when an echoing shell stops
13366 to echo sent commands.
13368 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13370 * Makefile.in: Revert last change (Bug#5191).
13372 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13374 * vc-hg.el (vc-hg-print-log): Fix argument order.
13375 (vc-hg-working-revision): Make sure the command is executed in a
13376 known environment so that we can parse the output. (Bug#4417)
13378 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13380 * progmodes/python.el (python-symbol-completions): Remove text
13381 properties from symbol string before calling python-send-receive.
13383 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13385 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13386 when there are values for both file and line. (Bug#5060)
13388 2009-12-14 Juri Linkov <juri@jurta.org>
13390 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13391 whitespace after the file name of the first line of unified format,
13392 because git-diff doesn't output whitespace and file modification time
13393 after the file name.
13395 2009-12-14 David Kastrup <dak@gnu.org>
13397 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13398 check if it already has the `display' property added by
13399 `Info-display-images-node', and not put the `invisible' property
13402 2009-12-13 Glenn Morris <rgm@gnu.org>
13404 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13405 (report-emacs-bug): In message-mode, sort manually before storing
13406 original report text. (Bug#5178)
13407 Remove superfluous save-excursion.
13409 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13411 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13412 when responding to "GetAll" properties.
13414 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13416 * simple.el (compose-mail): Remove mail-setup-with-from from
13417 customization checks.
13419 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13421 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13422 RAR archives created on Unix systems.
13424 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13426 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13427 the varalias that was accidentally removed by the 2009-11-19 change
13430 2009-12-12 Kenichi Handa <handa@m17n.org>
13432 * language/indian.el (indian-compose-regexp): New function.
13433 (malayalam-composable-pattern): Fix the pattern.
13434 (composition-function-table): Set malayalam-composable-pattern for
13435 Malayalam characters.
13437 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13439 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13440 rather than down-mouse-1, based on follow-link conventions.
13442 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13445 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13447 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13448 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13449 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13450 (verilog-leap-to-head, verilog-backward-token):
13451 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13453 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13455 * progmodes/verilog-mode.el (verilog-auto-lineup)
13456 (verilog-nameable-item-re): Cleanup user-visible spelling and
13457 documentation errors. One reported by Gary Delp.
13458 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13459 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13460 package, bug195. Reported by Pierre-David Pfister.
13462 2009-12-11 Glenn Morris <rgm@gnu.org>
13464 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13466 * mail/emacsbug.el: No longer require sendmail.
13467 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13468 (report-emacs-bug-orig-text): Doc fix.
13469 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13470 New local variables, to adapt to different mail-user-agents.
13471 (report-emacs-bug): Fix test for a gnu.org address.
13472 Use overlays for emphasis, since font-lock defeats 'face property.
13473 Pretest bugs also end up at the newsgroup these days.
13474 Stop message-mode stripping text properties.
13475 Set and use the new buffer-local variables.
13476 (report-emacs-bug-hook): Add doc-string.
13477 Remove some unnecessary save-excursions and simplify.
13478 Use the appropriate hook and send-command.
13480 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13481 capitalization of some menu entries.
13483 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13485 * whitespace.el (whitespace-display-char-on):
13486 Ensure `buffer-display-table' is unique when two or more windows are
13487 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13490 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13492 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13493 characters in the Attribute field.
13495 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13497 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13499 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13501 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13502 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13503 Disregard autoload-excludes.
13504 (update-directory-autoloads): Obey autoload-excludes here instead.
13505 But don't store its contents in no-autoloads and remove entries that
13506 refer to excludes files.
13508 2009-12-10 Glenn Morris <rgm@gnu.org>
13510 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13511 (expand-mail-aliases): Define for compiler.
13513 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13514 Define for compiler.
13516 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13517 appropriate for the mail-user-agent in use.
13519 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13521 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13523 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13525 Fix short log parsing and fontification.
13526 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13527 Fix fontification for the [merge] label.
13529 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13531 Drop some properties to avoid surprises (bug#5002).
13532 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13533 (hfy-fontify-buffer): Use it.
13535 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13538 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13539 Adjust all callers.
13540 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13541 args compulsory. Adjust callers.
13542 (ffap-gopher-at-point): Remove unused var `name'.
13544 Get rid of the ELCFILES abomination.
13545 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13546 (compile-elcfiles): New phony target.
13547 (compile-main): Compute ELCFILES dynamically.
13548 (compile-clean): New target to remove left-over elc files.
13549 (compile, all): Use it.
13551 2009-12-09 Kenichi Handa <handa@etlken>
13553 * international/mule-diag.el: Require help-mode instead of help-fns.
13555 2009-12-09 Kenichi Handa <handa@m17n.org>
13557 * international/mule-cmds.el (ucs-names): Supply sufficiently
13558 fine ranges instead of pre-calculating accurate ranges.
13559 Iterate with bigger gc-cons-threshold.
13561 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13563 Add support for stashing a snapshot of the current tree.
13564 * vc-git.el (vc-git-stash-snapshot): New function.
13565 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13567 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13569 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13570 instead of `(beginning|end)-of-line'.
13572 2009-12-08 Glenn Morris <rgm@gnu.org>
13574 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13576 * Makefile.in (ELCFILES): Regenerate.
13578 2009-12-07 Juri Linkov <juri@jurta.org>
13580 Don't lazy-highlight the comint output in history Isearch mode.
13582 * comint.el (comint-history-isearch-search): Instead of
13583 `comint-line-beginning-position', use `comint-after-pmark-p'
13584 to check if point if before the process mark, and go to
13585 `process-mark' in this case.
13587 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13589 * textmodes/tex-mode.el (latex-complete)
13590 (latex-indent-or-complete): Remove.
13591 (latex-mode): Set completion-at-point-functions instead.
13593 Provide a standard completion command and hook it into TAB.
13594 * minibuffer.el (completion-at-point-functions): New var.
13595 (completion-at-point): New command.
13596 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13597 * progmodes/python.el (python-mode-map): Use completion-at-point.
13598 (python-completion-at-point): Rename from python-partial-symbol and
13599 adjust for use in completion-at-point-functions.
13600 (python-mode): Setup completion-at-point for Python completion.
13601 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13602 extracted from lisp-complete-symbol.
13603 (lisp-complete-symbol): Use it.
13604 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13605 setup completion-at-point for Elisp completion.
13606 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13607 Use completion-at-point.
13608 * ielm.el (ielm-map): Use completion-at-point.
13609 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13610 * progmodes/sym-comp.el: Move to...
13611 * obsolete/sym-comp.el: Move from progmodes.
13613 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13615 Prevent save-buffer in Rmail buffers from using the coding-system
13616 of the current message, and from clobbering the encoding mnemonics
13617 in the mode line (Bug#4623).
13619 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13621 (rmail-message-encoding): New variable.
13622 (rmail-write-region-annotate): Record the encoding of the current
13623 message in rmail-message-encoding.
13624 (rmail-after-save-hook): New function, restores the encoding of
13625 the current message after the message collection is saved.
13627 2009-12-07 Juri Linkov <juri@jurta.org>
13629 * progmodes/grep.el (grep-read-files): Use `completing-read'
13630 instead of `read-string'. Set its `collection' arg to
13631 `read-file-name-internal'. (Bug#4301)
13633 2009-12-07 Juri Linkov <juri@jurta.org>
13635 Correctly restore original Isearch point. (Bug#4994)
13637 * isearch.el (isearch-mode): Move `isearch-push-state' after
13638 `(run-hooks 'isearch-mode-hook)'.
13639 (isearch-cancel): When `isearch-push-state-function' is defined,
13640 let-bind `isearch-cmds' to the first state (the last element of
13641 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13642 function and restores the original point). Otherwise, move point
13643 to `isearch-opoint'.
13645 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13647 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13648 chars that don't have names, so the table can be built much faster at
13651 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13653 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13654 change. Suggested by David Kastrup.
13656 * simple.el (compose-mail): Check for incompatibilities and warn.
13657 (compose-mail-user-agent-warnings): New option.
13659 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13661 Support showing a single log entry from vc-annotate.
13662 * vc.el (print-log): Add a new argument: START-REVISION.
13663 (vc-print-log-internal): Add a new optional argument and
13664 pass it to the backend.
13665 (vc-print-log, vc-print-root-log): Adjust callers.
13666 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13667 buffer already displays the requested log entry, use it.
13668 Otherwise display only the log entry in question.
13669 * vc-svn.el (vc-svn-print-log):
13670 * vc-mtn.el (vc-mtn-print-log):
13671 * vc-hg.el (vc-hg-state):
13672 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13673 (vc-git-show-log-entry): Return t on success.
13674 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13675 (vc-bzr-show-log-entry): Return t on success.
13676 * vc-rcs.el (vc-rcs-print-log):
13677 * vc-sccs.el (vc-sccs-print-log):
13678 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13680 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13682 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13683 Add menus to the meta mode. (Bug#5043)
13685 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13687 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13690 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13692 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13694 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13695 Berbain <raphael.berbain@gmail.com>.
13697 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13699 (tramp-initial-end-of-output): New defconst.
13700 (tramp-methods, tramp-find-shell)
13701 (tramp-open-connection-setup-interactive-shell)
13702 (tramp-maybe-open-connection): Use it.
13703 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13704 Handle existence of `#' and `$'.
13706 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13707 Use `tramp-initial-end-of-output'.
13709 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13711 Get the background mode from the terminal for xterm, and set
13713 * term/xterm.el (xterm-set-background-mode): New function.
13714 (terminal-init-xterm): Use it in case xterm supports background
13715 color queries. Recompute faces after getting the background
13718 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13720 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13721 number comment back on its own line, for easier parsing.
13723 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13725 Make it work for non-file buffers (bug#5102).
13726 * doc-view.el (doc-view-current-cache-dir):
13727 Use doc-view-buffer-file-name rather than buffer-file-name.
13728 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13730 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13732 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13733 author field is too short.
13735 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13737 * vc-git.el (vc-git-print-log): Handle a limit argument.
13738 Display the short log in graph form and with labels.
13739 (vc-git-log-view-mode): Handle labels.
13741 Make vc-revert change VC state from 'added to 'unregistered.
13742 * vc-git.el (vc-git-revert): Call git reset first.
13744 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13746 * net/newst-backend.el, net/newst-plainview.el:
13747 * net/newst-reader.el, net/newst-ticker.el:
13748 * net/newst-treeview.el, net/newsticker.el:
13749 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13751 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13753 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13755 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13756 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13757 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13758 Update annotation regexp.
13760 * simple.el (beginning-of-visual-line): Constrain to field
13761 boundaries (Bug#5106).
13763 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13765 * xml.el (xml-substitute-numeric-entities):
13766 Move newsticker--decode-numeric-entities in newst-backend.el to
13767 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13768 * net/newst-backend.el (newsticker--parse-generic-feed)
13769 (newsticker--parse-generic-items)
13770 (newsticker--decode-numeric-entities):
13771 Move newsticker--decode-numeric-entities in newst-backend.el to
13772 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13774 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13776 * progmodes/js.el (js--js-not): Add null to the list of values.
13778 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13780 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13782 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13784 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13785 delimiter if it is at the end of the current line.
13786 (bibtex-generate-url-list): Fix docstring.
13788 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13790 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13791 minibuffer's content with itself.
13792 Fold the confirm-after-completion case into the `confirm' case.
13793 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13795 2009-12-06 Kevin Ryde <user42@zip.com.au>
13797 * ffap.el (ffap-rfc-path): Make this a defcustom since
13798 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13800 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13801 manuals, similar to existing setup for help-mode. (Bug#3913.)
13803 2009-12-05 Juri Linkov <juri@jurta.org>
13805 Save and restore dired buffer's point positions too. (Bug#4880)
13807 * dired.el (dired-save-positions): Return in the first element
13808 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13810 (dired-restore-positions): First restore buffer's position.
13811 While restoring window's positions, check if window still displays
13812 the original buffer.
13814 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13816 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13819 * shell.el (shell): Require ansi-color (Bug#5113).
13821 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13823 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13825 2009-12-05 Alan Mackenzie <acm@muc.de>
13827 * progmodes/cc-mode.el (c-before-hack-hook)
13828 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13829 `c-file-style' to work again. This reversion restores the current
13830 software to its state in Emacs 23.1. (Bug#4146)
13832 2009-12-05 Kevin Ryde <user42@zip.com.au>
13834 * textmodes/sgml-mode.el (sgml-lexical-context):
13835 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13837 2009-12-05 Juri Linkov <juri@jurta.org>
13839 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13840 for virtual nodes. (Bug#4147)
13841 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13842 when moving from a virtual node.
13843 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13844 (Info-mode): Add `Info-virtual-index' to the docstring.
13846 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13848 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13849 track of the buffer position of the end of a BibTeX entry as this
13850 position may change during reformatting.
13851 (bibtex-format-entry): Remove whitespace before processing
13852 numerical fields so that we recognize the latter properly.
13853 (bibtex-reformat): Do not use push which changes the global value
13854 of bibtex-entry-format.
13855 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13856 (bibtex-field-re-init): Replace only space characters by regexp
13858 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13859 (bibtex-initialize): Also update bibtex-strings.
13860 (bibtex-kill-field): Preserve white space at end of entry.
13861 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13862 Update bibtex-reference-keys.
13864 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13866 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13867 point after a star, if that's the only place where modifications can
13870 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13872 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13875 2009-12-04 Juri Linkov <juri@jurta.org>
13877 * proced.el (proced): Call `(proced-update t)' to update process
13878 information instead of only running proced-post-display-hook.
13879 (proced-send-signal): Add a leading space to the buffer name
13880 " *Marked Processes*" to make this buffer ephemeral.
13882 2009-12-04 Juri Linkov <juri@jurta.org>
13884 * dired.el (dired-auto-revert-buffer): New defcustom.
13885 (dired-internal-noselect): Use it.
13887 2009-12-04 Juri Linkov <juri@jurta.org>
13889 Change roles of modes and functions in image-mode.el (Bug#5062).
13891 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13892 in `auto-mode-alist'.
13893 (image-mode-previous-major-mode): New variable.
13894 (image-minor-mode-map): Rename from `image-mode-text-map'.
13895 (image-mode): Move graceful error-handling code from
13896 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13897 (image-minor-mode): Remove all image-handling code.
13898 Replace `image-mode-text-map' with `image-minor-mode-map'.
13899 Check for `image-type' in mode-line format string.
13900 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13901 (image-mode-as-text): New function with most code from
13902 `image-mode-maybe'.
13903 (image-toggle-display-text): Move code that removes image
13904 properties from `image-toggle-display' to here.
13905 (image-toggle-display-image): New function with code that adds
13906 image properties copied from `image-toggle-display'.
13907 (image-toggle-display): Remove most code with leaving only code
13908 that toggles between `image-mode-as-text' and `image-mode'.
13910 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13912 * net/newst-treeview.el
13913 (newsticker--treeview-list-highlight-start): Restored call to
13914 save-excursion: Selected item was stuck.
13915 (newsticker--treeview-list-select): New.
13916 (newsticker--treeview-item-show-text)
13917 (newsticker--treeview-item-show)
13918 (newsticker--treeview-item-update): Use new
13919 newsticker-treeview-item-mode.
13920 (newsticker-treeview-update): Keep current item.
13921 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13922 (newsticker--treeview-first-feed): Doc change.
13923 (newsticker-treeview-list-menu)
13924 (newsticker-treeview-item-menu): Add menu entries.
13925 (newsticker-treeview-item-mode): New.
13927 * net/newst-backend.el (newsticker-customize): Delete other
13930 2009-12-04 Sam Steingold <sds@gnu.org>
13932 * log-view.el (log-view-mode-map): "q" calls quit-window,
13933 like in all the other non-self-insert buffers.
13935 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13938 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13939 key decoding rather than do it manually via last-input-event +
13941 (term-exec): Use delete-and-extract-region.
13942 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13943 (term-process-pager): Remove unused var `i'.
13944 (term-dynamic-simple-complete): Make obsolete.
13945 (serial-update-config-menu): Remove unused vars `y' and `str'.
13946 (term-update-mode-line): Remove unused var `temp'.
13948 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13950 Limit the number of log entries displayed by default.
13951 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13952 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13953 using a prefix argument.
13955 2009-12-03 Glenn Morris <rgm@gnu.org>
13957 * progmodes/idlwave.el (class): Restore still useful declaration.
13959 2009-12-03 Alan Mackenzie <acm@muc.de>
13961 Enhance `c-parse-state' to run efficiently in "brace deserts".
13963 * progmodes/cc-mode.el (c-basic-common-init):
13964 Call c-state-cache-init.
13965 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13966 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13967 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13969 * progmodes/cc-langs.el (c-before-font-lock-function):
13970 c-extend-and-neutralize-syntax-in-CPP has been renamed
13971 c-neutralize-syntax-in-and-mark-CPP.
13973 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13974 with `category' properties now, not `syntax-table' ones.
13976 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13977 enhanced (but slower) version of c-end-of-macro that won't land
13978 inside a literal or on another awkward character.
13979 (c-state-cache-too-far, c-state-cache-start)
13980 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13981 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13982 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13983 (c-state-min-scan-pos, c-state-brace-pair-desert)
13984 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13985 buffer local variables.
13986 (c-state-literal-at, c-state-lit-beg)
13987 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13988 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13989 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13990 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13991 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13992 (c-renarrow-state-cache)
13993 (c-append-lower-brace-pair-to-state-cache)
13994 (c-state-push-any-brace-pair, c-append-to-state-cache)
13995 (c-remove-stale-state-cache)
13996 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13997 (c-invalidate-state-cache-1, c-parse-state-1)
13998 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13999 (c-parse-state): Enhance and refactor.
14000 (c-debug-parse-state): Amend to deal with all the new variables.
14002 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14003 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14004 modify to use category text properties rather than syntax-table ones.
14005 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14006 to switch off/on the syntactic paren property of C++ template
14007 delimiters using the category property.
14008 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14009 template delims suppressed.
14010 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14011 New constant/macros which apply category properties to the start
14012 and end of preprocessor constructs.
14013 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14014 "comment out" the syntactic value of characters in preprocessor
14016 (c-with-cpps-commented-out)
14017 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14018 with characters in all or all but one preprocessor constructs
14021 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14023 * proced.el (proced-filter-alist): Use regexp-quote.
14025 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14028 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14029 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14030 arguments. Expand `default-directory'.
14032 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14033 the benefit of returning an expanded localname.
14034 (tramp-tramp-file-p): Handle the case NAME is not a string.
14036 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14038 Add support for bzr shelve/unshelve.
14039 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14040 (vc-bzr-extra-menu-map): New variables.
14041 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14042 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14043 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14044 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14045 (vc-bzr-dir-extra-headers): Display shelves.
14047 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14049 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14051 * textmodes/bibtex.el (bibtex-complete-internal):
14052 Use completion-in-region.
14053 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14055 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14057 Support applying stashes. Improve UI.
14058 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14059 (vc-git-stash-apply, vc-git-stash-pop)
14060 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14061 (vc-git-stash-menu): New functions.
14062 (vc-git-stash-menu-map): New variable.
14063 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14065 2009-12-03 Glenn Morris <rgm@gnu.org>
14067 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14068 (vc-print-log-internal): Fix previous change.
14069 (vc-revert): Correct pluralization.
14071 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14073 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14074 it to be an alist any more.
14075 (makefile-complete): Use completion-in-region.
14077 * progmodes/octave-mod.el (octave-complete-symbol):
14078 Use completion-in-region.
14081 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14082 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14083 (idlwave-complete-class): Don't quote lambda.
14084 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14085 (idlwave-mode-map): Move initialization into declaration.
14086 (idlwave-action-and-binding): Use backquotes.
14087 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14089 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14090 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14091 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14092 `parts', and `all-parts'.
14093 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14094 (idlwave-convert-xml-system-routine-info): Remove unused string
14096 (idlwave-display-user-catalog-widget): Use dolist.
14097 (idlwave-scanning-lib): Declare dynamically-scoped var.
14098 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14099 (completion-highlight-first-word-only): Declare to silence bytecomp.
14100 (idlwave-popup-select): Tighten scope of `resp'.
14101 (idlwave-find-struct-tag): Remove unused var `beg'.
14102 (idlwave-after-load-rinfo-hook): Declare.
14103 (idlwave-sintern-class-info): Remove unused var `taglist'.
14104 (idlwave-find-class-definition): Remove unused var `list'.
14105 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14106 (idlwave-what-module-find-class): Remove unused var `classes'.
14108 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14110 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14112 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14114 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14115 buffers visited. Remove redundant current-buffer-saving.
14117 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14119 Use completion-in-buffer and remove uses of dynamic scoping.
14120 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14121 (pascal-buffer-to-use, pascal-flag): Don't declare.
14122 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14123 (pascal-get-completion-decl, pascal-keyword-completion):
14124 Add `pascal-str' argument, save-excursion,
14125 return the found completions, and don't filter with pascal-pred.
14126 (pascal-completion-cache): New var.
14127 (pascal-completion): Don't switch buffer any more (it was never
14128 necessary). Don't save-excursion any more (it's done by the called
14129 subroutines). Use a cache to avoid redundant computations.
14130 Use complete-with-action rather than pascal-completion-response and
14131 let it apply the predicate as well.
14132 (pascal-complete-word): Use completion-in-buffer when
14133 pascal-toggle-completions is nil.
14134 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14136 (pascal-comp-defun): Don't change buffer any more.
14137 Use complete-with-action rather than pascal-completion-response and
14138 let it apply the predicate as well.
14139 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14142 2009-12-02 Kenichi Handa <handa@m17n.org>
14144 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14145 shape for all Indic scripts.
14147 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14149 Use completion-in-buffer.
14150 * wid-edit.el (widget-field-text-end): New function.
14151 (widget-field-value-get): Use it.
14152 (widget-string-complete, widget-file-complete)
14153 (widget-color-complete): Use it and completion-in-region.
14154 (widget-complete): Don't narrow the buffer.
14156 2009-12-02 Glenn Morris <rgm@gnu.org>
14158 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14159 (rmail-select-summary): Use rmail-pop-to-buffer.
14160 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14161 rmail-pop-to-buffer, to prevent horizontal splits.
14163 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14164 save-excursion with save-current-buffer.
14165 Widen before searching. (Bug#5093)
14166 (diary-list-sexp-entries): Remove superfluous save-excursion.
14168 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14170 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14173 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14175 * ido.el (ido-file-internal): Handle filenames at point that do
14176 not have a directory part. (Bug#5049)
14178 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14180 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14181 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14183 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14185 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14186 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14189 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14191 * comint.el (comint-insert-input): Ignore clicks to the right of
14192 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14194 * vc.el (vc-print-log-internal): Don't wait for the process to
14195 terminate before setting up the major mode.
14197 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14200 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14203 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14205 2009-12-01 Glenn Morris <rgm@gnu.org>
14207 * window.el (window--display-buffer-2): Fix previous changes.
14209 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14211 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14213 2009-12-01 Glenn Morris <rgm@gnu.org>
14215 * Makefile.in (ELCFILES): Add mpc.elc.
14217 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14219 * mpc.el: New file.
14221 2009-12-01 Glenn Morris <rgm@gnu.org>
14223 * window.el (window-to-use): Define for compiler.
14225 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14226 consistent with others (no final period).
14228 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14229 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14231 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14233 Make vc-print-log buttons work.
14234 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14236 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14238 * savehist.el (savehist-autosave-interval): Allow setting to nil
14239 through customize. (Bug#5056)
14241 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14243 Fix references to jit-lock properties.
14244 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14245 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14246 (perl-font-lock-special-syntactic-constructs):
14247 Quote jit-lock-defer-multiline property.
14249 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14251 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14253 2009-11-30 Juri Linkov <juri@jurta.org>
14255 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14256 value `buffer' of `multi-isearch-next-buffer-current-function'.
14257 Use `(current-buffer)' when `buffer' is nil.
14258 (multi-isearch-next-buffer-from-list): Don't fallback to
14259 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14261 2009-11-30 Juri Linkov <juri@jurta.org>
14263 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14264 of buffers with `get-buffer' to `multi-isearch-buffers'.
14265 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14266 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14267 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14268 FILES with `expand-file-name' converting relative file names
14269 to absolute. Doc fix. (Bug#4727)
14271 2009-11-30 Juri Linkov <juri@jurta.org>
14273 * misearch.el (multi-isearch-read-buffers)
14274 (multi-isearch-read-matching-buffers): New functions.
14275 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14276 Use them in the `interactive' spec. Doc fix.
14277 (multi-isearch-read-files, multi-isearch-read-matching-files):
14279 (multi-isearch-files, multi-isearch-files-regexp):
14280 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14282 2009-11-30 Juri Linkov <juri@jurta.org>
14284 * doc-view.el (doc-view-continuous):
14285 Rename from `doc-view-continuous-mode'.
14286 (doc-view-menu): Move "Toggle display" to the top.
14287 Add submenu "Continuous" with radio buttons "Off"/"On"
14288 and "Save as Default".
14289 (doc-view-scroll-up-or-next-page)
14290 (doc-view-scroll-down-or-previous-page)
14291 (doc-view-next-line-or-next-page)
14292 (doc-view-previous-line-or-previous-page):
14293 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14295 2009-11-30 Juri Linkov <juri@jurta.org>
14297 * comint.el (comint-mode-map): Rebind `M-r' from
14298 `comint-previous-matching-input' to
14299 `comint-history-isearch-backward-regexp'.
14300 Unbind `M-s' to allow global key binding `M-s'.
14301 Add menu items for `comint-history-isearch-backward' and
14302 `comint-history-isearch-backward-regexp'. (Bug#3746)
14304 2009-11-30 Juri Linkov <juri@jurta.org>
14306 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14307 For def=recenter, replace `recenter' with `recenter-top-bottom'
14308 that is called with `this-command' and `last-command' let-bound
14309 to `recenter-top-bottom'. When the last `def' was not `recenter',
14310 set `recenter-last-op' to nil. (Bug#4981)
14312 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14314 Minor cleanup and simplification.
14315 * filecache.el (file-cache-add-directory)
14316 (file-cache-add-directory-recursively)
14317 (file-cache-add-from-file-cache-buffer)
14318 (file-cache-delete-file-regexp, file-cache-delete-directory)
14319 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14320 (file-cache-temp-minibuffer-message): Delete function.
14321 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14323 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14324 Don't signal an error when bumping into EOB in tr, s, or y.
14326 2009-11-29 Juri Linkov <juri@jurta.org>
14328 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14331 * descr-text.el (describe-char-unidata-list): Use lowercase name
14332 for "Unicode name" like in other tags.
14334 2009-11-29 Juri Linkov <juri@jurta.org>
14336 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14337 New compatibility macro.
14338 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14340 2009-11-29 Juri Linkov <juri@jurta.org>
14342 Add defcustom to define the cycling order of `recenter-top-bottom'.
14345 * window.el (recenter-last-op): Doc fix.
14346 (recenter-positions): New defcustom.
14347 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14348 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14350 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14352 Improve integration of Tramp and ange-ftp in eshell.
14354 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14355 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14356 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14358 * eshell/esh-util.el (top): Require also Tramp when compiling.
14359 (eshell-directory-files-and-attributes): Check for FTP remote
14361 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14362 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14363 (eshell-file-attributes): Handle ".". Return `entry'.
14365 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14366 (ange-ftp-directory-files-and-attributes)
14367 (ange-ftp-real-directory-files-and-attributes): New defuns.
14369 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14370 shell with "exec" when possible. This prevents trailing prompts
14371 in `start-file-process'.
14373 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14375 Try and remove assumptions about point-min==1.
14376 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14377 (rng-compute-mode-line-string): Show the validation percentage in
14378 terms of the narrowed text, not the widened text.
14379 (rng-do-some-validation): Don't catch internal errors when debugging.
14380 (rng-first-error): Simplify.
14381 (rng-after-change-function): Remove work around. AFAIK the bug has
14382 been fixed a while ago.
14384 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14385 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14387 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14389 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14390 `cd' doesn't always do it for us (bug#5067).
14392 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14393 on 2009-10-25 as part of some other change (bug#5067).
14395 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14397 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14399 (byte-compile-warnings): Use byte-compile-warning-types.
14400 (byte-compile-save-excursion): Warn about use of set-buffer right
14401 after save-excursion.
14403 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14404 the excursion as well.
14406 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14408 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14409 providing a Tramp related implementation of "su" and "sudo".
14410 (eshell-unix-initialize): Add "su" and "sudo".
14412 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14414 * net/socks.el (socks-send-command): Convert binary request to
14415 unibyte before sending. This fixes mishandling of some port
14416 numbers such as 129.
14418 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14420 * help.el (describe-bindings-internal): Remove `interactive'.
14422 * man.el (Man-completion-table): Trim a terminating "(".
14423 Remove the space between name page a section.
14424 Add the command's description on the `help-echo' property.
14425 Remove `process-connection-type' binding since it's unused by
14427 Provide completion for the "<section> <name>" format as well.
14428 (Man-default-man-entry): Remove spurious var shadowing the argument.
14430 2009-11-26 Kevin Ryde <user42@zip.com.au>
14432 * log-view.el: Add "Keywords: tools", since its other keywords
14433 aren't in finder-known-keywords, and following vc.el.
14435 * sha1.el (sha1-string-external): default-directory "/" in case
14436 otherwise non-existent. process-connection-type pipe for touch of
14437 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14439 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14441 Misc coding convention cleanups.
14442 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14443 hfy-init-kludge-hooks.
14444 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14445 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14446 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14448 (hfy-slant, hfy-weight): Use tables rather than code.
14449 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14450 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14451 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14452 (hfy-face-to-css): Remove `nconc' with single arg.
14453 (hfy-p-to-face-lennart): Use `or'.
14454 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14455 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14456 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14457 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14458 (hfy-force-fontification): Use run-hooks.
14460 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14462 Various minor fixes.
14463 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14464 Javascript belongs in the header, not the body.
14465 (hfy-javascript): Remove.
14466 (hfy-fontify-buffer): Don't insert it any more.
14467 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14468 Fix bug in invis handling when there were no invis props in a chunk.
14470 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14472 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14474 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14476 * finder.el (finder-mode-map): Add a menu.
14478 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14480 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14481 "unsigned" structs.
14483 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14484 fork" statement better.
14486 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14488 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14489 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14490 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14491 Reported by Clay Douglass.
14493 (verilog-auto-inst, verilog-auto-star-safe)
14494 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14495 Fix removing "// Interfaces" when saving .* expansions.
14496 Reported by Pierre-David Pfister.
14498 2009-11-26 Glenn Morris <rgm@gnu.org>
14500 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14503 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14505 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14506 Really use previous revision.
14508 2009-11-25 Kevin Ryde <user42@zip.com.au>
14510 * man.el (Man-completion-table): default-directory "/" in case
14511 doesn't otherwise exist. process-environment COLUMNS=999 so as
14512 not to truncate long names. process-connection-type pipe to avoid
14513 any chance of hitting the pseudo-tty TIOCGWINSZ.
14514 (man): completion-ignore-case t for friendliness and since man
14515 itself is case-insensitive on the command line.
14516 Further to Bug#3717.
14518 * arc-mode.el: Add "Keywords: files", so the details in its
14519 commentary can be reached from finder-by-keyword.
14520 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14521 editing mode, but it's comms related and sgml-mode.el has "comm"
14523 * textmodes/bibtex-style.el: Add "Keywords: tex".
14524 * international/isearch-x.el, international/ja-dic-cnv.el:
14525 * international/ja-dic-utl.el, international/kkc.el:
14526 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14528 2009-11-25 Juri Linkov <juri@jurta.org>
14530 * man.el (Man-completion-table): Modify regexp to include
14531 section names to completion strings. (Bug#3717)
14533 2009-11-25 Juri Linkov <juri@jurta.org>
14535 Search recursively in gzipped files. (Bug#4982)
14537 * progmodes/grep.el (grep-highlight-matches): Add new options
14538 `always' and `auto'. Doc fix.
14539 (grep-process-setup): Check `grep-highlight-matches' for
14540 `auto-detect' to determine the need to compute grep defaults.
14541 Move Windows/DOS specific --colors settings handling
14542 to `grep-compute-defaults'. Check `grep-highlight-matches'
14543 to get the value of "--color=".
14544 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14545 has the value `auto-detect'. Move Windows/DOS specific settings
14546 from `grep-process-setup'.
14547 (zrgrep): New command with alias `rzgrep'.
14549 2009-11-25 Juri Linkov <juri@jurta.org>
14551 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14552 to nil instead of switching off view-mode. (Bug#4896)
14554 2009-11-25 Juri Linkov <juri@jurta.org>
14556 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14558 * mwheel.el (mwheel-scroll-up-function)
14559 (mwheel-scroll-down-function): New defvars.
14560 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14561 `scroll-up', and `mwheel-scroll-down-function' instead of
14564 * doc-view.el (doc-view-scroll-up-or-next-page)
14565 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14566 Use this ARG in the call to image-scroll-up/image-scroll-down.
14567 Change `interactive' spec to "P". Goto next/previous page only
14568 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14569 SPC/DEL case). Doc fix.
14570 (doc-view-next-line-or-next-page)
14571 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14573 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14574 `doc-view-scroll-up-or-next-page', and buffer-local
14575 `mwheel-scroll-down-function' to
14576 `doc-view-scroll-down-or-previous-page'.
14578 2009-11-25 Juri Linkov <juri@jurta.org>
14580 Provide additional default values (directories at other Dired
14581 windows) via M-n in the minibuffer of some Dired commands.
14583 * dired-aux.el (dired-diff, dired-compare-directories)
14584 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14585 `minibuffer-default' in `minibuffer-with-setup-hook'.
14586 (dired-dwim-target-directory): Find a window that displays Dired
14587 buffer instead of failing when the next window is not Dired.
14588 Use `get-window-with-predicate' to find for the next Dired window.
14589 (dired-dwim-target-defaults): New function.
14591 * ediff-util.el (ediff-read-file-name):
14592 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14593 in `minibuffer-with-setup-hook'.
14595 2009-11-25 Juri Linkov <juri@jurta.org>
14597 Provide additional default values (file name at point or at the
14598 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14600 * minibuffer.el (read-file-name-defaults): New function.
14601 (read-file-name): Reset `minibuffer-default' to nil when
14602 it duplicates initial input `insdef'.
14603 Bind `minibuffer-default-add-function' to lambda that
14604 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14605 (minibuffer-insert-file-name-at-point): New command.
14607 * files.el (file-name-at-point-functions): New defcustom.
14608 (find-file-default): Remove defvar.
14609 (find-file-read-args): Don't use `find-file-default'.
14610 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14611 to `read-file-name'.
14612 (find-file-literally): Use `read-file-name' with
14613 `confirm-nonexistent-file-or-buffer'.
14615 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14617 * dired.el (dired-read-dir-and-switches):
14618 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14619 to `read-file-name'.
14620 (dired-file-name-at-point): New function.
14621 (dired-mode): Add hook `dired-file-name-at-point' to
14622 `file-name-at-point-functions'.
14624 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14626 Really make the *Completions* window soft-dedicated (bug#5030).
14627 * window.el (window--display-buffer-2): Add `dedicated' argument.
14628 (display-buffer): Pass it when needed so the dedicated flag is set
14629 after calling set-window-buffer, which would otherwise reset it.
14631 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14633 * progmodes/meta-mode.el (meta-complete-symbol):
14634 * progmodes/etags.el (complete-tag):
14635 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14636 Use completion-in-region.
14638 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14639 (dabbrev-completion): Use completion-in-region.
14640 (dabbrev--abbrev-at-point): Simplify regexp.
14642 * abbrev.el (abbrev--before-point): Use word-motion functions
14643 if :regexp is not specified (bug#5031).
14645 * subr.el (string-prefix-p): New function.
14647 * man.el (Man-completion-cache): New var.
14648 (Man-completion-table): Use it.
14650 * vc.el (vc-print-log-internal): Make `limit' optional for better
14651 compatibility (e.g. with vc-annotate.el).
14653 2009-11-24 Kevin Ryde <user42@zip.com.au>
14655 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14656 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14658 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14659 when .el source file not found or other error.
14661 2009-11-24 Markus Triska <markus.triska@gmx.at>
14663 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14665 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14667 Handle the [back] button properly (bug#4979).
14668 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14669 Use help-setup-xref, help-buffer, and with-help-window.
14670 (describe-char): Add `buffer' argument.
14671 Pass proper command to help-setup-xref. Don't meddle with
14672 help-xref-stack-item directly.
14673 (describe-text-category): Use with-help-window and help-buffer.
14675 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14676 for the displayed buffer (bug#4887).
14678 * man.el (Man-completion-table): New function.
14681 2009-11-24 David Reitter <david.reitter@gmail.com>
14683 * vc-git.el (vc-git-registered): Use checkout directory (where
14684 .git is) rather than the file's directory and a relative path spec
14685 to work around a bug in git.
14687 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14689 Improve handling of processes on remote hosts.
14691 * eshell/esh-util.el (eshell-path-env): New defvar.
14692 (eshell-parse-colon-path): New defun.
14693 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14695 * eshell/esh-ext.el (eshell-search-path):
14696 Use `eshell-parse-colon-path'.
14697 (eshell-remote-command): Remove argument HANDLER.
14698 (eshell-external-command): Check for FTP remote connection.
14700 * eshell/esh-proc.el (eshell-gather-process-output):
14701 Use `file-truename', in order to start also symlinked files.
14702 Apply `start-file-process' instead of `start-process'.
14703 Shorten `command' to the local file name part.
14705 * eshell/em-cmpl.el (eshell-complete-commands-list):
14706 Use `eshell-parse-colon-path'.
14708 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14710 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14711 to `eshell-directory-change-hook'.
14713 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14715 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14716 because it could be enabled automatically if view-read-only is non-nil.
14718 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14720 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14721 made on 2009-11-22.
14723 2009-11-24 Glenn Morris <rgm@gnu.org>
14725 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14726 deleted variable bookmark-bmenu-bookmark-column.
14728 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14730 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14732 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14734 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14735 two slashes to the "file:" prefix.
14736 (browse-url-file-url): De-munge Cygwin filenames before passing
14737 them to Windows browser.
14738 (browse-url-default-windows-browser): Use call-process.
14740 2009-11-23 Juri Linkov <juri@jurta.org>
14742 Implement DocView Continuous mode. (Bug#4896)
14743 * doc-view.el (doc-view-continuous-mode): New defcustom.
14744 (doc-view-mode-map): Bind C-n/<down> to
14745 `doc-view-next-line-or-next-page', C-p/<up> to
14746 `doc-view-previous-line-or-previous-page'.
14747 (doc-view-next-line-or-next-page)
14748 (doc-view-previous-line-or-previous-page): New commands.
14750 2009-11-23 Juri Linkov <juri@jurta.org>
14752 Implement Isearch in comint input history. (Bug#3746)
14753 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14754 `isearch-mode-hook'.
14755 (comint-history-isearch): New defcustom.
14756 (comint-history-isearch-backward)
14757 (comint-history-isearch-backward-regexp): New commands.
14758 (comint-history-isearch-message-overlay): New buffer-local variable.
14759 (comint-history-isearch-setup, comint-history-isearch-end)
14760 (comint-goto-input, comint-history-isearch-search)
14761 (comint-history-isearch-message, comint-history-isearch-wrap)
14762 (comint-history-isearch-push-state)
14763 (comint-history-isearch-pop-state): New functions.
14765 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14767 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14769 (tramp-handle-make-symbolic-link)
14770 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14772 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14773 (tramp-handle-process-file): Use it.
14775 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14777 * window.el (move-to-window-line-last-op): Remove.
14778 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14780 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14782 Make M-r mirror the new cycling behavior of C-l.
14783 * window.el (move-to-window-line-last-op): New var.
14784 (move-to-window-line-top-bottom): New command.
14785 (global-map): Bind M-r move-to-window-line-top-bottom.
14787 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14789 * dired-x.el (dired-guess-shell-alist-default):
14790 Support xz format. (Bug#4953)
14792 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14794 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14795 last-command-char/last-command-event.
14796 (viper-prefix-arg-value): Do correct conversion of event-char for
14799 * emulation/viper-util.el, emulation/viper.el:
14800 Use viper-last-command-char instead of
14801 last-command-char/last-command-event.
14803 * ediff-init.el, ediff-mult.el, ediff-util.el:
14804 Replace last-command-char and last-command-event
14805 with (ediff-last-command-char) everywhere.
14807 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14808 created in fundamental mode.
14810 * ediff.el (ediff-version): Revert the change of interactive-p to
14811 called-interactively-p.
14813 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14815 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14816 generation from word-movement command names.
14818 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14820 * cus-start.el (all): Add native condition for font-use-system-font.
14822 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14824 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14825 Correct the patch from 2009-11-18. (Bug#3910)
14827 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14829 * progmodes/subword.el: Rename from lisp/subword.el.
14831 * subword.el: Rename to progmodes/subword.el.
14833 * Makefile.in (ELCFILES): Adapt to subword.el move.
14835 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14836 Stefan Monnier <monnier@iro.umontreal.ca>
14838 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14839 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14840 (bookmark-bmenu-show-filenames): Use push.
14841 (bookmark-bmenu-hide-filenames): Use local var instead of
14842 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14843 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14844 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14845 filenames now that the bookmark names are always available.
14847 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14849 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14850 (bookmark-search-pattern): Move and leave unbound.
14851 (bookmark-bmenu-mode-map): Change binding.
14852 (bookmark-read-search-input): Simplify.
14853 Don't use text-char-description. Don't error on non-char events.
14854 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14855 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14856 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14857 Use a local var for the timer.
14858 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14859 (i.e. bookmark-bmenu-search).
14861 2009-11-21 Glenn Morris <rgm@gnu.org>
14863 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14865 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14867 * net/browse-url.el (browse-url-default-windows-browser):
14868 Use cygstart for cygwin.
14870 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14872 * bookmark.el: Formatting and doc fixes only:
14873 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14874 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14875 Minor grammar and punctuation fixes in doc string.
14876 (bookmark-read-search-input): Adjust to fit within 80 columns.
14878 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14880 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14881 (c-backward-into-nomenclature): Adapt to subword renaming.
14883 * subword.el (subword-forward, subword-backward, subword-mark)
14884 (subword-kill, subword-backward-kill, subword-transpose)
14885 (subword-downcase, subword-upcase, subword-capitalize)
14886 (subword-forward-internal, subword-backward-internal):
14887 Rename from forward-subword, backward-subword, mark-subword,
14888 kill-subword, backward-kill-subword, transpose-subwords,
14889 downcase-subword, upcase-subword, capitalize-subword,
14890 forward-subword-internal, backward-subword-internal.
14892 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14894 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14896 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14898 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14899 (bookmark-bmenu-filter-alist-by-regexp)
14900 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14901 (bookmark-bmenu-search): New command.
14902 (bookmark-bmenu-mode-map): Bind it.
14904 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14906 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14907 backward-subword to quit the byte-compiler.
14909 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14911 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14913 * progmodes/cc-cmds.el (c-update-modeline)
14914 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14915 Refer to subword.el functions instead of cc-subword.el.
14917 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14918 subword.el functions instead of cc-subword.el.
14920 * progmodes/cc-subword.el: Rename to subword.el.
14921 * subword.el: Rename from progmodes/cc-subword.el.
14922 (subword-mode-map): Rename from c-subword-mode-map.
14923 (subword-mode): Rename from c-subword-mode.
14924 (global-subword-mode): New global minor mode.
14925 (forward-subword): Rename from c-forward-subword.
14926 (backward-subword): Rename from c-backward-subword.
14927 (mark-subword): Rename from c-mark-subword.
14928 (kill-subword): Rename from c-kill-subword.
14929 (backward-kill-subword): Rename from c-backward-kill-subword.
14930 (transpose-subwords): Rename from c-tranpose-subword.
14931 (downcase-subword): Rename from c-downcase-subword.
14932 (capitalize-subword): Rename from c-capitalize-subword.
14933 (forward-subword-internal): Rename from c-forward-subword-internal.
14934 (backward-subword-internal): Rename from c-backward-subword-internal.
14936 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14938 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14939 from a dired buffer.
14940 (vc-dired-deduce-fileset): New function.
14941 (vc-root-diff, vc-print-root-log): Use it.
14943 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14944 nil LIMIT argument to vc-print-log-internal.
14946 2009-11-20 Glenn Morris <rgm@gnu.org>
14948 * Makefile.in (ELCFILES): Regenerate.
14950 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14952 * calc/calc.el (calc-set-mode-line):
14953 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14954 (math-format-number): Rename `math-format-complement-signed' to
14955 `math-format-twos-complement'.
14957 * calc/calc-bin.el (math-format-twos-complement): Rename from
14958 math-format-complement-signed.
14959 (calc-radix): Rename `calc-complement-signed-mode' to
14960 `calc-twos-complement-mode'.
14961 (calc-octal-radix, calc-hex-radix): Add an argument for
14964 * calc/calc-embed.el (calc-embedded-mode-vars):
14965 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14967 * calc/calc-ext.el (calc-init-extensions):
14968 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14969 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14971 * calc/calc-units.el (math-build-units-table-buffer):
14972 Let `calc-twos-complement-mode' be nil.
14974 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14977 * calc/calc-vec.el (calcFunc-vunpack):
14978 * calc/calc-aent.el (calc-do-calc-eval):
14979 * calc/calc-forms.el (math-format-date):
14980 * calc/calc-graph.el (calc-graph-plot):
14981 * calc/calc-math.el (math-use-emacs-fn):
14982 * calc/calccomp.el (math-compose-expr):
14983 Let `calc-twos-complement-mode' be nil.
14985 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14987 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14988 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14989 * minibuffer.el (completion-in-region-functions): New hook.
14990 (completion-in-region): New function.
14991 * emacs-lisp/lisp.el (lisp-complete-symbol):
14992 * pcomplete.el (pcomplete-std-complete): Use it.
14994 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14996 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14997 (latex-complete-alist): New vars.
14998 (latex-string-prefix-p, latex-complete-bibtex-keys)
14999 (latex-complete-envnames, latex-complete-refkeys)
15000 (latex-complete-data): New functions.
15001 (latex-complete, latex-indent-or-complete): New commands.
15003 * window.el (display-buffer-mark-dedicated): New var.
15004 (display-buffer): Obey it.
15005 * minibuffer.el (minibuffer-completion-help): Use it.
15007 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15009 * filecache.el (file-cache-add-file): Use push and cons.
15010 (file-cache-delete-file-regexp): Use push.
15011 (file-cache-complete): Use completion-in-region.
15013 * simple.el (with-wrapper-hook): Fix thinko.
15015 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15016 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15017 Use with-current-buffer and string-to-number.
15018 (hfy-fallback-colour-values): Use assoc-string.
15019 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15020 (hfy-face-at): Remove unused var `found-face'.
15021 (hfy-compile-stylesheet): Remove unused var `css'.
15022 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15024 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15025 Use with-current-buffer.
15026 (hfy-text-p): Use expand-file-name and fewer setq.
15028 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15030 * htmlfontify.el, hfy-cmap.el: New files.
15032 2009-11-19 Juri Linkov <juri@jurta.org>
15034 * minibuffer.el (completions-format): New defcustom.
15035 (completion--insert-strings): Implement vertical format.
15037 * simple.el (switch-to-completions): Move point to the first
15038 completion when point was at the beginning of the buffer.
15040 2009-11-19 Juri Linkov <juri@jurta.org>
15042 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15044 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15046 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15048 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15049 (mail-signature): Change default to t.
15050 (mail-from-style): Deprecate `system-default' value.
15051 (mail-insert-from-field): For default value of mail-from-style,
15052 default to `angles' unless `angles' needs quoting and `parens'
15054 (mail-citation-prefix-regexp): Use citation regexp from
15057 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15059 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15060 Set variables for computing the prompt for reading password.
15062 2009-11-19 Glenn Morris <rgm@gnu.org>
15064 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15066 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15068 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15069 (newsticker-treeview-listwindow-height): Fix custom type.
15071 2009-11-19 Kenichi Handa <handa@m17n.org>
15073 * descr-text.el (describe-char-padded-string): Compose with TAB
15074 only if there's a font for CH.
15075 (describe-char): Fix the condition for detecting a trivial composition.
15077 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15079 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15080 more accurate version of the regexp. (Bug#3910)
15082 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15084 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15086 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15088 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15089 (font-setting-change-default-font): Fix typo in docstring.
15091 2009-11-18 Alan Mackenzie <acm@muc.de>
15093 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15095 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15097 * font-setting.el (font-use-system-font): Move ...
15099 * cus-start.el (all): ... to here.
15101 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15103 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15104 Don't set `ad-return-value' if `ad-do-it' doesn't.
15106 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15109 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15111 * menu-bar.el: Put "Use system font" in Option-menu.
15112 (menu-bar-options-save): Add font-use-system-font.
15114 * loadup.el: If feature system-font-setting or font-render-setting is
15115 there, load font-setting.
15117 * Makefile.in (ELCFILES): Add font-settings.el.
15118 * font-setting.el: New file.
15120 2009-11-17 Glenn Morris <rgm@gnu.org>
15122 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15124 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15125 Preserve point in the list buffer. (Bug#4939)
15127 (newsticker--treeview-list-update-highlight)
15128 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15130 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15132 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15135 * calc/calc-ext.el (calc-init-extensions): Remove references to
15138 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15140 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15141 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15144 2009-11-16 Kevin Ryde <user42@zip.com.au>
15146 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15147 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15149 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15150 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15151 Ignore trailing spaces by omit-nulls to split-string (fixing
15152 regression from Emacs 21 due to the incompatible split-string
15153 change). (Bug #4928.)
15155 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15157 * vc.el (vc-log-show-limit): Default to 2000.
15158 (vc-print-log-internal): Insert buttons to request more entries
15159 when limiting the output.
15161 * vc-sccs.el (vc-sccs-print-log):
15162 * vc-rcs.el (vc-rcs-print-log):
15163 * vc-cvs.el (vc-cvs-print-log):
15164 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15167 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15169 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15170 error when `tramp-gvfs-dbus-event-vector' is set.
15171 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15173 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15175 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15177 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15179 * net/dbus.el (dbus-unregister-service): New defun.
15180 (dbus-register-property): Register the handlers of
15181 "org.freedesktop.DBus.Properties" for SERVICE.
15182 (dbus-property-handler): Fix docstring.
15184 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15186 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15187 Quote doc string reference in defvaralias as it is not in special form.
15188 (byte-compile-output-docform): Doc fix.
15190 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15192 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15193 (calc-complement-signed-mode): New variables.
15194 (calc-set-mode-line): Add indicator for twos-complements.
15195 (math-format-number): Format twos-complement notation.
15197 * calc/calc-bin.el (calc-word-size): Reset the variables
15198 `math-2-word-size' and `math-half-2-word-size'.
15199 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15200 (calc-symclip): New functions.
15202 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15204 * calc/calc-embed.el (calc-embedded-mode-vars):
15205 Add `calc-complement-signed-mode' to the list of modes.
15207 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15208 (calc-b-oper-keys): Add `calc-symclip' to list.
15210 * calc/calc-ext.el (math-read-number-fancy): Read complement
15212 (calc-init-extensions): Add binding for `calc-symclip'.
15213 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15215 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15217 (calc-modes-menu): Add item for twos complement mode.
15219 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15221 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15223 * register.el (jump-to-register, insert-register): Handle Semantic
15224 tags. From commented-out advice in semantic/senator.el.
15226 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15228 * vc.el (vc-log-show-limit): New variable.
15229 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15230 when using a prefix argument.
15231 (vc-print-log-internal): Add new argument LIMIT.
15233 * vc-svn.el (vc-svn-print-log):
15234 * vc-mtn.el (vc-mtn-print-log):
15235 * vc-hg.el (vc-hg-print-log):
15236 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15237 pass it to the log command when set. Make the BUFFER argument
15240 * vc-sccs.el (vc-sccs-print-log):
15241 * vc-rcs.el (vc-rcs-print-log):
15242 * vc-git.el (vc-git-print-log):
15243 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15244 ignore it. Make the BUFFER argument non-optional
15246 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15248 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15250 * dired.el (dired-mode-map): Move encryption items to "Operate"
15253 * strokes.el (strokes-update-window-configuration): Make strokes
15254 buffer current before erasing (Bug#4906).
15256 2009-11-15 Juri Linkov <juri@jurta.org>
15258 * simple.el (set-mark-default-inactive): Add :type, :group
15259 and :version. (Bug#4876)
15261 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15263 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15264 (archive-unique-fname): ... here. (Bug#4929)
15266 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15268 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15271 * novice.el (disabled-command-function): Add useful args.
15272 Setup the help buffer so that [back] works.
15273 Remove redundant call to help-mode.
15274 (disabled-command-function): Use `case'.
15275 (en/disable-command): New function extracted from enable-command.
15276 (enable-command, disable-command): Use it.
15278 2009-11-14 Glenn Morris <rgm@gnu.org>
15280 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15281 constants. (Bug#4913)
15283 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15285 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15287 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15288 defined in C that have no doc-strings. (Bug#1063)
15290 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15292 * cus-edit.el (data, files):
15293 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15295 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15297 * simple.el (shell-command): Doc fix (Bug#4891).
15299 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15301 2009-11-14 Glenn Morris <rgm@gnu.org>
15303 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15304 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15305 If they are already loaded, eval-after-load will do the right thing.
15307 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15310 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15312 * simple.el (x-selection-owner-p): Declare.
15313 (read-mail-command): Use custom radio type rather than choice.
15314 (completion-no-auto-exit): Doc fix.
15316 * custom.el (defgroup):
15317 * epg-config.el (epg): Doc fixes.
15319 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15321 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15322 * international/ccl.el (define-ccl-program): Do not purecopy the
15323 docstring, defconst does it anyway.
15325 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15327 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15330 * x-dnd.el (x-dnd-maybe-call-test-function):
15331 * window.el (split-window-vertically):
15332 * whitespace.el (whitespace-help-on):
15333 * vc-rcs.el (vc-rcs-consult-headers):
15334 * userlock.el (ask-user-about-lock-help)
15335 (ask-user-about-supersession-help):
15336 * type-break.el (type-break-force-mode-line-update):
15337 * time-stamp.el (time-stamp-conv-warn):
15338 * terminal.el (te-set-output-log, te-more-break, te-filter)
15339 (te-sentinel, terminal-emulator):
15340 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15341 (term-write-input-ring, term-check-source, term-start-output-log):
15342 (term-display-buffer-line, term-dynamic-list-completions):
15343 (term-ansi-make-term, serial-term):
15344 * subr.el (selective-display):
15345 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15346 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15347 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15348 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15349 (speedbar-remove-localized-speedbar-support)
15350 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15351 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15352 (speedbar-buffers-line-directory):
15353 * simple.el (shell-command-on-region, append-to-buffer)
15354 (prepend-to-buffer):
15355 * shadowfile.el (shadow-save-todo-file):
15356 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15357 (scroll-bar-maybe-set-window-start):
15358 * sb-image.el (speedbar-image-dump):
15359 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15360 (load-save-place-alist-from-file):
15361 * ps-samp.el (ps-print-message-from-summary):
15362 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15363 (ps-background-image, ps-begin-job, ps-do-despool):
15364 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15365 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15366 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15367 (pr-call-process, pr-file-list, pr-interface-save):
15368 * novice.el (disabled-command-function)
15369 (enable-command, disable-command):
15370 * mouse.el (mouse-buffer-menu-alist):
15371 * mouse-copy.el (mouse-kill-preserving-secondary):
15372 * macros.el (kbd-macro-query):
15373 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15374 * informat.el (batch-info-validate):
15375 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15376 * hippie-exp.el (try-expand-dabbrev-visible):
15377 * help-mode.el (help-make-xrefs):
15378 * help-fns.el (describe-variable):
15379 * generic-x.el (bat-generic-mode-run-as-comint):
15380 * finder.el (finder-mouse-select):
15381 * find-dired.el (find-dired-sentinel):
15382 * filesets.el (filesets-file-close):
15383 * files.el (list-directory):
15384 * faces.el (list-faces-display, describe-face):
15385 * facemenu.el (list-colors-display):
15386 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15387 * epg.el (epg--process-filter, epg-cancel):
15388 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15389 (epa--read-signature-type):
15390 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15391 (emerge-file-names):
15392 * ehelp.el (electric-helpify):
15393 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15394 * ediff-vers.el (rcs-ediff-view-revision):
15395 * ediff-util.el (ediff-setup):
15396 * ediff-mult.el (ediff-append-custom-diff):
15397 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15399 * echistory.el (Electric-command-history-redo-expression):
15400 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15401 * disp-table.el (describe-display-table):
15402 * dired.el (dired-find-buffer-nocreate):
15403 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15404 * dabbrev.el (dabbrev--same-major-mode-p):
15405 * chistory.el (list-command-history):
15406 * apropos.el (apropos-documentation):
15407 * allout.el (allout-obtain-passphrase):
15408 (allout-copy-exposed-to-buffer):
15409 (allout-verify-passphrase): Use with-current-buffer.
15411 2009-11-13 Glenn Morris <rgm@gnu.org>
15413 * Makefile.in (ELCFILES): Regenerate.
15415 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15417 * net/dbus.el (dbus-registered-objects-table): Rename from
15418 `dbus-registered-functions-table', because it contains also properties.
15419 (dbus-unregister-object): Unregister also properties.
15420 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15421 Use a timeout of 500 msec, in order to not block.
15422 (dbus-register-property, dbus-property-handler): New defuns.
15424 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15426 * simple.el (minibuffer-default-add-completions): Drop deprecated
15429 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15431 * textmodes/artist.el (artist-mouse-choose-operation):
15432 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15433 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15434 (artist-compute-up-event-key): New function.
15435 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15437 2009-11-13 Kenichi Handa <handa@m17n.org>
15439 * language/japan-util.el: Make sure that the value of jisx0208
15440 property is jisx0208 character.
15442 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15444 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15445 car or each item, not the whole list.
15447 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15449 * minibuffer.el (minibuffer-completion-help):
15450 Use minibuffer-hide-completions.
15452 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15454 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15455 (dired-revert): Use them (bug#4880).
15457 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15459 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15461 2009-11-12 Juri Linkov <juri@jurta.org>
15463 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15465 (find-file-literally-at-point): Alias of `ffap-literally'.
15467 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15469 * textmodes/ispell.el (ispell-skip-region-alist):
15470 * textmodes/css-mode.el (auto-mode-alist):
15471 * progmodes/compile.el (auto-mode-alist):
15472 * international/mule.el (ctext-non-standard-encodings-alist)
15473 (ctext-non-standard-encodings-regexp):
15474 * simple.el (shell-command-switch, text-read-only):
15475 * replace.el (occur-mode-map):
15476 * paths.el (rmail-file-name):
15477 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15478 * find-file.el (ff-special-constructs):
15479 * files.el (file-name-handler-alist):
15480 * composite.el: Purecopy strings.
15482 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15484 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15486 * widget.el (define-widget): Purecopy the docstring.
15487 * international/mule-cmds.el (charset): Do not purecopy the
15488 docstring here, define-widget does it.
15490 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15491 * textmodes/bibtex-style.el (auto-mode-alist):
15492 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15493 * progmodes/compile.el (compile-command):
15494 * language/korea-util.el (default-korean-keyboard):
15495 * international/mule-conf.el (file-coding-system-alist):
15496 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15497 * tooltip.el (tooltip-frame-parameters):
15498 * newcomment.el (comment-end, comment-padding):
15499 * dired.el (dired-trivial-filenames):
15500 * comint.el (comint-file-name-prefix): Purecopy initial values.
15502 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15504 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15505 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15507 (tramp-advice-make-auto-save-file-name)
15508 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15509 after removing the advice.
15511 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15513 * progmodes/grep.el (grep-regexp-alist):
15514 * international/mule-cmds.el (iso-2022-control-alist):
15515 * emacs-lisp/timer.el (timer-duration-words):
15516 * subr.el (version-separator, version-regexp-alist):
15517 * minibuffer.el (completion-styles-alist):
15518 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15519 Change defvars to defconsts.
15521 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15522 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15523 * international/mule-conf.el: Allow to be byte compiled.
15525 * international/mule.el (define-charset): Purecopy props.
15526 (load-with-code-conversion): Purecopy doc string and file name.
15527 (put-charset-property): Purecopy strings.
15528 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15530 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15531 (define-char-code-property): Correctly purecopy the table.
15533 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15535 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15537 * subr.el (add-hook): Purecopy strings.
15538 (eval-after-load): Purecopy load-history-regexp and the form.
15540 * custom.el (custom-declare-group): Purecopy load-file-name.
15542 * subr.el (menu-bar-separator): New defconst.
15543 * net/eudc.el (eudc-tools-menu):
15544 * international/mule-cmds.el (set-coding-system-map)
15545 (mule-menu-keymap):
15546 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15547 * vc-hooks.el (vc-menu-map):
15548 * replace.el (occur-mode-map):
15549 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15550 (menu-bar-edit-menu, menu-bar-goto-menu)
15551 (menu-bar-custom-menu, menu-bar-showhide-menu)
15552 (menu-bar-options-menu, menu-bar-tools-menu)
15553 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15554 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15555 (menu-bar-help-menu):
15556 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15557 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15559 * term/x-win.el (x-gtk-stock-map):
15560 * progmodes/vera-mode.el (auto-mode-alist):
15561 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15562 (inferior-lisp-program, inferior-lisp-load-command):
15563 * progmodes/hideshow.el (hs-special-modes-alist):
15564 * progmodes/gud.el (same-window-regexps):
15565 * progmodes/grep.el (grep-program, find-program, xargs-program):
15566 * net/telnet.el (same-window-regexps):
15567 * net/rlogin.el (same-window-regexps):
15568 * language/ethiopic.el (font-ccl-encoder-alist):
15569 * vc-sccs.el (vc-sccs-master-templates):
15570 * vc-rcs.el (vc-rcs-master-templates):
15571 * subr.el (cl-assertion-failed):
15572 * simple.el (next-error-overlay-arrow-position):
15573 * lpr.el (lpr-command):
15574 * locate.el (locate-ls-subdir-switches):
15575 * info.el (same-window-regexps, info)
15576 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15577 * image-mode.el (image-mode, auto-mode-alist):
15578 * hippie-exp.el (hippie-expand-ignore-buffers):
15579 * format.el (format-alist):
15580 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15582 * facemenu.el (facemenu-keybindings):
15583 * dired.el (dired-listing-switches, dired-chown-program):
15584 * diff.el (diff-switches, diff-command):
15585 * cus-edit.el (same-window-regexps):
15586 * bindings.el (mode-line-mule-info)
15587 (mode-line-buffer-identification): Purecopy strings.
15589 2009-11-11 Juri Linkov <juri@jurta.org>
15591 * simple.el (dired-get-filename) <declare-function>:
15592 Tell the byte-compiler about dired-get-filename.
15593 (shell-command): In Dired mode, get filename from the current line
15594 as the default value.
15596 2009-11-10 Glenn Morris <rgm@gnu.org>
15598 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15599 * calendar/holidays.el, progmodes/cperl-mode.el:
15600 Update x-popup-menu declarations.
15602 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15603 (list-load-path-shadows): Use dolist.
15604 (list-load-path-shadows): Use with-current-buffer.
15606 2009-11-10 Juri Linkov <juri@jurta.org>
15608 * minibuffer.el (read-file-name): Support a list of default values
15609 in `default-filename'. Use the first file name where only one
15610 element is required. Doc fix.
15612 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15614 * net/dbus.el (dbus-unregister-object): Release service, if no
15615 other method is registered for it.
15617 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15619 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15620 bookmark-sort-flag is non-nil (Bug#4653).
15622 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15624 * emulation/cua-base.el: Add CUA property to some CC mode commands
15627 2009-11-08 Kevin Ryde <user42@zip.com.au>
15629 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15630 at end of sentence (Bug#4818).
15632 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15634 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15635 Handle "see declaration of" MSFT statements (Bug#4100).
15637 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15639 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15640 (tramp-advice-file-expand-wildcards): Unload via
15641 `ad-remove-advice'.
15643 * net/trampver.el: Update release number.
15645 2009-11-08 Kevin Ryde <user42@zip.com.au>
15647 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15650 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15652 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15653 in order to keep context in SELinux.
15655 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15657 * dired-aux.el (dired-query): Place cursor in echo area and allow
15660 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15661 menu item if not on a directory (Bug#4701).
15663 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15665 Sync with Tramp 2.1.17.
15667 * net/tramp.el (tramp-handle-copy-directory): Don't use
15668 `file-remote-p' (due to compatibility).
15670 * net/tramp-compat.el (tramp-compat-copy-directory)
15671 (tramp-compat-delete-directory): New defuns.
15673 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15674 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15675 Use `tramp-compat-delete-directory'.
15677 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15678 (tramp-smb-handle-delete-directory):
15679 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15681 * net/trampver.el: Update release number.
15683 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15685 * tar-mode.el (tar-copy): Call write-region on the right buffer
15688 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15689 by hand, if necessary (Bug#4878).
15691 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15693 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15694 align size column (Bug#4839).
15696 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15699 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15701 * progmodes/ld-script.el (auto-mode-alist):
15702 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15704 * cus-face.el (custom-declare-face): Purecopy face spec.
15706 2009-11-06 Kenichi Handa <handa@m17n.org>
15708 * international/uni-bidi.el: Re-generated.
15709 * international/uni-category.el: Re-generated.
15710 * international/uni-combining.el: Re-generated.
15711 * international/uni-mirrored.el: Re-generated.
15713 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15715 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15716 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15717 (tex-start-options, slitex-run-command, latex-run-command)
15718 (tex-run-command, tex-directory):
15719 * textmodes/ispell.el (ispell-html-skip-alists)
15720 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15721 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15722 (adaptive-fill-regexp):
15723 * textmodes/dns-mode.el (auto-mode-alist):
15724 * progmodes/python.el (interpreter-mode-alist):
15725 * progmodes/etags.el (tags-compression-info-list):
15726 * progmodes/etags.el (tags-file-name):
15727 * net/browse-url.el (browse-url-galeon-program)
15728 (browse-url-firefox-program):
15729 * mail/sendmail.el (mail-signature-file)
15730 (mail-citation-prefix-regexp):
15731 * international/mule-conf.el (eight-bit):
15732 * international/latexenc.el (latex-inputenc-coding-alist):
15733 * international/fontset.el (x-pixel-size-width-font-regexp):
15734 * emacs-lisp/warnings.el (warning-type-format):
15735 * emacs-lisp/trace.el (trace-buffer):
15736 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15737 (emacs-lisp-mode-map):
15738 * calendar/holidays.el (holiday-solar-holidays)
15739 (holiday-bahai-holidays, holiday-islamic-holidays)
15740 (holiday-christian-holidays, holiday-hebrew-holidays)
15741 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15742 (hebrew-holidays-1, holiday-oriental-holidays)
15743 (holiday-general-holidays):
15744 * x-dnd.el (x-dnd-known-types):
15745 * tool-bar.el (tool-bar):
15746 * startup.el (site-run-file):
15747 * shell.el (shell-dumb-shell-regexp):
15748 * rfn-eshadow.el (file-name-shadow-tty-properties)
15749 (file-name-shadow-properties):
15750 * paths.el (remote-shell-program, news-directory):
15751 * mouse.el ([C-down-mouse-3]):
15752 * menu-bar.el (menu-bar-tools-menu):
15753 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15754 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15755 (jka-compr-compression-info-list):
15756 * isearch.el (search-whitespace-regexp):
15757 * image-file.el (image-file-name-extensions):
15758 * find-dired.el (find-ls-option):
15759 * files.el (directory-listing-before-filename-regexp)
15760 (directory-free-space-args, insert-directory-program)
15761 (list-directory-brief-switches, magic-fallback-mode-alist)
15762 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15763 (automount-dir-prefix):
15764 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15765 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15766 (face-font-registry-alternatives, face-font-registry-alternatives)
15767 (face-font-family-alternatives):
15768 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15769 (facemenu-foreground-menu, facemenu-face-menu):
15770 * epa-hook.el (epa-file-name-regexp):
15771 * dnd.el (dnd-protocol-alist):
15772 * textmodes/rst.el (auto-mode-alist):
15773 * button.el (default-button): Purecopy strings.
15775 2009-11-06 Glenn Morris <rgm@gnu.org>
15777 * Makefile.in (ELCFILES): Update.
15779 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15781 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15782 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15784 * nxml/xsd-regexp.el (xsdre-gen-categories):
15785 * nxml/xmltok.el (xmltok-parse-entity):
15786 * nxml/rng-parse.el (rng-parse-validate-file):
15787 * nxml/rng-maint.el (rng-format-manual)
15788 (rng-manual-output-force-new-line):
15789 * nxml/rng-loc.el (rng-save-schema-location-1):
15790 * nxml/rng-cmpct.el (rng-c-parse-file):
15791 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15792 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15794 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15796 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15797 Remove extra save-excursions and make-variable-buffer-local's.
15798 Suggested by Stefan Monnier.
15800 (verilog-getopt-file, verilog-module-inside-filename-p)
15801 (verilog-set-define): Merge GNU 1.35 and repair changes from
15802 switching to using with-current-buffer.
15804 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15805 being treated as a number and confusing AUTORESET.
15806 Reported by Dan Dever.
15808 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15809 Add verilog-auto-ignore-concat to fix backward compatibility with
15810 older verilog-modes. Reported by Dan Katz.
15812 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15813 containing closing anchors "...$".
15815 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15816 Reported by Wade Smith.
15818 (verilog-batch-execute-func): Comment on function usage.
15820 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15822 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15825 (verilog-label-re, verilog-calc-1): Support proper indent of named
15828 (verilog-backward-token, verilog-basic-complete-re)
15829 (verilog-beg-of-statement, verilog-indent-re): Support proper
15830 indent of the assert statement at the beginning of a block of text.
15832 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15833 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15836 2009-11-05 Glenn Morris <rgm@gnu.org>
15838 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15839 Emacs 19. (Bug#1531)
15840 (byte-compile-fix-header): Update for the above change.
15841 Drop test for epoch::version.
15843 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15844 * cus-dep.el (custom-make-dependencies):
15845 * finder.el (finder-compile-keywords):
15846 Use autoload-rubric's feature argument.
15848 * calendar/diary-lib.el (top-level): Make load behave more like require.
15850 * vc-git.el (vc-git-stash-map): Move definition before use.
15852 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15854 * custom.el (custom-declare-group): Purecopy standard-value.
15855 (custom-declare-group): Purecopy custom-prefix.
15857 * international/mule.el (load-with-code-conversion):
15858 Call do-after-load-evaluation unconditionally.
15860 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15862 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15864 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15866 2009-11-04 Glenn Morris <rgm@gnu.org>
15868 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15869 (byte-compile-compatibility): Remove option.
15870 (byte-compile-close-variables, byte-compile-fix-header)
15871 (byte-compile-insert-header, byte-compile-output-docform)
15872 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15873 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15874 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15875 (byte-compile-insert, byte-compile-defun):
15876 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15877 (byte-defop-compiler19): Remove.
15878 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15879 used by anything. Replace all calls with byte-defop-compiler.
15881 2009-11-04 Juri Linkov <juri@jurta.org>
15883 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15884 (menu-bar-options-menu): Don't quote the `prop' arg of
15885 `menu-bar-make-mm-toggle'.
15887 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15889 * calendar/calendar.el (cal-loaddefs):
15890 * calendar/diary-lib.el (diary-loaddefs):
15891 * calendar/holidays.el (hol-loaddefs):
15892 * eshell/esh-module.el (esh-groups): Load rather than require.
15894 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15896 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15898 (todo-top-priorities): Only display-buffer when called interactively.
15899 (todo-item-start): Don't save excursion point.
15900 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15901 (todo-insert-item-here, todo-file-item, todo-remove-item):
15902 Adjust uses of todo-item-start and todo-item-end.
15904 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15905 (autoload-rubric): Don't use any more.
15907 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15908 and only put a prop if it is non-nil.
15910 2009-11-03 Juri Linkov <juri@jurta.org>
15912 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15913 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15915 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15916 and "Menu" to make top-level menu item visually one unit (like
15917 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15918 multi-word menu items). Fix :help string for quit-window.
15920 2009-11-03 Glenn Morris <rgm@gnu.org>
15922 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15923 (byte-compile-file-form-define-abbrev-table)
15924 (byte-compile-file-form-custom-declare-variable)
15925 (byte-compile-variable-ref, byte-compile-defvar):
15926 Whether or not a warning is enabled should only affect whether we issue
15927 the warning, not whether or not we collect the relevant data.
15928 Eg warnings can be turned on and off throughout the course of a file.
15930 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15931 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15933 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15935 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15936 * play/mpuz.el (mpuz-create-buffer):
15937 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15938 (lm-print-y,s,noise, lm-print-w0, lm-init):
15939 * play/gomoku.el (gomoku-prompt-for-move):
15940 * play/fortune.el (fortune-in-buffer):
15941 * play/dissociate.el (dissociated-press):
15942 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15943 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15944 * mail/supercite.el (sc-eref-show):
15945 * mail/smtpmail.el (smtpmail-send-it):
15946 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15947 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15948 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15949 (rmail-summary-goto-msg, rmail-summary-expunge)
15950 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15951 (rmail-summary-add-label, rmail-summary-output-menu)
15952 (rmail-summary-output-body):
15953 * mail/rfc822.el (rfc822-addresses):
15954 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15955 * mail/mailpost.el (post-mail-send-it):
15956 * mail/hashcash.el (hashcash-generate-payment):
15957 * mail/feedmail.el (feedmail-run-the-queue)
15958 (feedmail-queue-send-edit-prompt-help-first)
15959 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15960 (feedmail-deduce-address-list):
15961 * eshell/esh-ext.el (eshell-remote-command):
15962 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15963 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15964 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15965 (viper-save-string-in-file, viper-valid-marker):
15966 * emulation/viper-keym.el (viper-toggle-key):
15967 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15968 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15969 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15970 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15971 (viper-exec-form-in-emacs, viper-brac-function):
15972 * emulation/viper.el (viper-delocalize-var):
15973 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15974 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15975 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15976 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15977 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15978 * emulation/edt.el (edt-electric-helpify):
15979 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15980 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15981 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15982 (cua-indent-to-global-mark-column):
15983 * calendar/diary-lib.el (calendar-mark-1):
15984 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15985 Use with-current-buffer.
15986 * emulation/viper.el (viper-delocalize-var): Use dolist.
15988 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15990 * comint.el (comint-replace-by-expanded-history-before-point):
15991 Replace !! with the previous input string literally (Bug#1795).
15993 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15995 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15996 to be made up of whitespace.
15998 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16000 * minibuffer.el (read-file-name): Don't use file dialogs for
16001 remote directories (Bug#99).
16003 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16005 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16007 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16009 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16010 instead of deleting the window or frame.
16012 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16014 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16015 Support face colors.
16017 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16018 New function. Support face colors (Bug#1168).
16019 (tex-common-initialization): Use it.
16021 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16022 mode allows it (Bug#1168).
16024 2009-10-31 Juri Linkov <juri@jurta.org>
16026 * facemenu.el (list-colors-display): Don't mark buffer as
16027 modified (Bug#3948).
16029 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16031 * international/mule-diag.el (list-character-sets-1):
16032 Minor message fix (Bug#3526).
16034 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16035 Fix face property (Bug#4834).
16036 (etags-list-tags, etags-tags-apropos-additional)
16037 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16040 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16043 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16045 * textmodes/two-column.el (2C-split):
16046 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16047 * textmodes/tex-mode.el (tex-set-buffer-directory):
16048 * textmodes/spell.el (spell-region, spell-string):
16049 * textmodes/reftex.el (reftex-erase-buffer):
16050 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16051 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16052 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16053 (reftex-select-item):
16054 * textmodes/reftex-ref.el (reftex-label-info-update)
16055 (reftex-offer-label-menu):
16056 * textmodes/reftex-index.el (reftex-index-change-entry)
16057 (reftex-index-phrases-info):
16058 * textmodes/reftex-global.el (reftex-create-tags-file)
16059 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16060 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16061 (reftex-view-crossref-from-bibtex):
16062 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16063 (reftex-extract-bib-entries-from-thebibliography)
16064 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16065 * textmodes/refbib.el (r2b-capitalize-title):
16066 (r2b-convert-buffer, r2b-help):
16067 * textmodes/page-ext.el (pages-directory)
16068 (pages-directory-goto-with-mouse):
16069 * textmodes/bibtex.el (bibtex-validate-globally):
16070 * textmodes/bib-mode.el (bib-capitalize-title):
16071 * textmodes/artist.el (artist-clear-buffer, artist-system):
16072 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16073 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16074 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16075 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16076 (xscheme-send-control-g-interrupt, xscheme-start-process)
16077 (xscheme-process-sentinel, xscheme-cd):
16078 * progmodes/verilog-mode.el (verilog-read-always-signals)
16079 (verilog-set-define, verilog-getopt-file)
16080 (verilog-module-inside-filename-p):
16081 * progmodes/sh-script.el:
16082 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16083 (python-pdbtrack-grub-for-buffer, python-execute-file):
16084 * progmodes/octave-inf.el (inferior-octave):
16085 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16086 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16087 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16088 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16089 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16090 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16091 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16092 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16093 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16094 (idlwave-shell-examine-display, idlwave-shell-run-region)
16095 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16096 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16097 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16098 (idlwave-help-get-help-buffer):
16099 * progmodes/gud.el (gud-basic-call, gud-find-class)
16100 (gud-tooltip-activate-mouse-motions-if-enabled):
16101 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16102 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16103 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16104 (ebrowse-tags-next-file):
16105 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16106 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16107 (ebnf-eps-finish-and-write):
16108 * progmodes/cpp.el (cpp-edit-save):
16109 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16110 * progmodes/cc-defs.el (c-emacs-features):
16111 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16112 (antlr-directory-dependencies):
16113 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16114 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16115 (ada-find-any-references, ada-make-filename-from-adaname)
16116 (ada-make-body-gnatstub):
16117 * obsolete/rnews.el (news-list-news-groups):
16118 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16119 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16120 * net/rcirc.el (rcirc-debug):
16121 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16122 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16123 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16124 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16125 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16126 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16127 (newsticker--treeview-list-clear-highlight)
16128 (newsticker--treeview-list-update-highlight)
16129 (newsticker--treeview-list-highlight-start)
16130 (newsticker--treeview-tree-update-highlight)
16131 (newsticker--treeview-get-selected-item)
16132 (newsticker-treeview-mark-list-items-old)
16133 (newsticker--treeview-set-current-node):
16134 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16135 * net/newst-backend.el (newsticker--get-news-by-funcall)
16136 (newsticker--get-news-by-wget, newsticker--image-get)
16137 (newsticker--image-sentinel):
16138 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16139 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16140 (eudc-ph-close-session):
16141 * net/eudc.el (eudc-save-options):
16142 * language/thai-word.el (thai-update-word-table):
16143 * language/japan-util.el (japanese-string-conversion):
16144 * international/titdic-cnv.el (tsang-quick-converter)
16145 (ziranma-converter, ctlau-converter):
16146 * international/mule-cmds.el (describe-language-environment):
16147 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16148 (skkdic-convert-postfix, skkdic-convert-prefix):
16149 (skkdic-convert-okuri-nasi, skkdic-convert):
16150 * emacs-lisp/re-builder.el (reb-update-overlays):
16151 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16152 * emacs-lisp/gulp.el (gulp-send-requests):
16153 * emacs-lisp/find-gc.el (trace-call-tree):
16154 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16155 (eieio-describe-generic):
16156 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16157 * emacs-lisp/edebug.el (edebug-outside-excursion):
16158 * emacs-lisp/debug.el (debugger-make-xrefs):
16159 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16160 * emacs-lisp/chart.el (chart-new-buffer):
16161 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16162 Use with-current-buffer.
16163 * textmodes/artist.el (artist-system): Don't call
16164 copy-sequence on a fresh string.
16165 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16167 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16169 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16170 is no item to edit. (Bug#4820)
16171 (todo-top-priorities): Restore point and restore narrowing in Todo
16174 2009-10-31 Glenn Morris <rgm@gnu.org>
16176 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16177 (comint-last-output-start, comint-last-input-start)
16178 (comint-last-input-end): Don't defvar when compiling.
16179 (ange-ftp-process-file): Use bound-and-true-p.
16181 * pcmpl-rpm.el (top-level): Move provide statement to end.
16182 (pcmpl-rpm): Remove unused custom group.
16184 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16186 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16188 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16189 (byte-compile-warnings): Add `constants' as an option.
16190 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16191 (display-call-tree): Update for byte-compile-fdefinition possibly
16192 returning `(macro lambda ...)'. (Bug#4778)
16193 (byte-compile-variable-ref, byte-compile-setq-default):
16194 Respect `constants' member of byte-compile-warnings.
16196 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16198 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16199 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16202 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16204 * textmodes/ispell.el (ispell-skip-region-alist):
16205 * international/mule-conf.el (eight-bit):
16206 * international/fontset.el (font-encoding-alist):
16207 * startup.el (pure-space-overflow-message):
16208 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16209 * paths.el (gnus-nntp-service, rmail-spool-directory)
16210 (term-file-prefix):
16211 * files.el (save-some-buffers-action-alist):
16212 * cmuscheme.el (same-window-buffer-names):
16213 * ielm.el (same-window-buffer-names):
16214 * shell.el (same-window-buffer-names):
16215 * mail/sendmail.el (same-window-buffer-names):
16216 * progmodes/inf-lisp.el (same-window-buffer-names):
16217 * bindings.el (mode-line-client)
16218 (mode-line-column-line-number-mode-map):
16219 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16220 (tibetan-precomposed-regexp): Purecopy string arguments.
16222 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16224 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16225 (calcDigit-nondigit):
16226 * calc/calc-yank.el (calc-copy-to-buffer):
16227 * calc/calc-units.el (calc-invalidate-units-table):
16228 * calc/calc-trail.el (calc-trail-yank):
16229 * calc/calc-store.el (calc-insert-variables):
16230 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16231 * calc/calc-prog.el (calc-read-parse-table):
16232 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16233 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16234 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16235 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16236 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16237 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16238 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16239 * calc/calc-ext.el (calc-realign):
16240 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16241 (calc-embedded-finish-edit, calc-embedded-make-info)
16242 (calc-embedded-finish-command, calc-embedded-stack-change):
16243 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16245 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16246 shell-dynamic-complete-filename in preference to
16247 comint-dynamic-complete-filename.
16249 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16250 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16251 Don't consider whether the display supports colors.
16252 (bookmark-import-new-list): Use dolist.
16253 (bookmark-bmenu-mode-map): Move initialization into declaration.
16254 (bookmark-bmenu-list): Use dolist, simplify.
16255 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16256 (menu-bar-final-items): Use push.
16258 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16260 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16261 it works on remote files.
16262 (vc-hg-diff): Don't pass any `--cwd' argument.
16264 2009-10-27 Kevin Ryde <user42@zip.com.au>
16266 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16267 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16268 (Further to Bug#3921).
16270 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16272 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16273 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16274 calling `tramp-imap-put-file'. Add file size to the call.
16275 (tramp-imap-get-file-entries): Compute also user name, file size,
16277 (tramp-imap-handle-insert-directory): Insert uid and gid.
16278 (tramp-imap-handle-file-attributes): Transform uid and gid
16279 according to `id-format'.
16280 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16281 size in header X-Size.
16283 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16285 * simple.el (transpose-subr): Give clearer error when the mark
16286 is not set. (Bug#4807)
16288 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16290 * net/tramp.el (tramp-perl-file-truename): New defconst.
16291 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16292 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16293 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16294 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16296 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16297 Ignore `dired-call-process'.
16298 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16300 2009-10-26 Julian Scheid <julians37@gmail.com>
16302 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16303 (tramp-get-remote-readlink): New defun.
16304 (tramp-handle-file-truename): Use it.
16305 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16306 file exists if cache value present.
16307 (tramp-check-cached-permissions): New defun.
16308 (tramp-handle-file-readable-p): Use it.
16309 (tramp-handle-file-writable-p): Likewise.
16310 (tramp-handle-file-executable-p): Likewise.
16311 (tramp-handle-file-name-all-completions): Try using Perl to get
16312 partial completions. When perl not available, combine `cd' and
16313 `ls' into single remote operation and use shell expansion to get
16314 partial remote directory contents. Set `file-exists-p' cache for
16315 directory and any files returned by ls. Change cache handling to
16316 support partial directory contents. Use error message emitted by
16317 remote `cd' or Perl code for local tramp-error.
16318 (tramp-do-copy-or-rename-file-directly): Avoid separate
16319 tramp-send-command-and-check call.
16320 (tramp-handle-process-file): Merge three remote ops into one.
16321 Do not flush all caches when `process-file-side-effects' is set.
16322 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16323 file-attributes shows uid/gid to be set already.
16325 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16327 * textmodes/tex-mode.el (tex-dvi-view-command)
16328 (tex-show-queue-command, tex-open-quote):
16329 * progmodes/ruby-mode.el (auto-mode-alist)
16330 (interpreter-mode-alist): Purecopy strings.
16332 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16334 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16335 string for the hook, keymap and abbrev table.
16337 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16339 * x-dnd.el (x-dnd-xdnd-to-action):
16340 * startup.el (fancy-startup-text, fancy-about-text): Change to
16341 defconst from defvar.
16343 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16345 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16346 Purecopy initialization strings.
16348 * mail/sendmail.el (mail-header-separator)
16349 (mail-personal-alias-file):
16350 * mail/rmail.el (rmail-default-dont-reply-to-names)
16351 (rmail-ignored-headers, rmail-retry-ignored-headers)
16352 (rmail-highlighted-headers, rmail-secondary-file-directory)
16353 (rmail-secondary-file-regexp):
16354 * files.el (null-device, file-name-invalid-regexp)
16355 (locate-dominating-stop-dir-regexp)
16356 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16357 (interpreter-mode-alist): Use mapcar instead of mapc.
16359 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16361 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16362 (completion-ignored-extensions):
16363 (debug-ignored-errors): Purecopy strings.
16365 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16367 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16368 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16369 (pcomplete--here): Use push.
16371 * subr.el (all-completions): Declare the 4th arg obsolete.
16373 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16375 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16376 (pcomplete-unquote-argument): New function.
16377 (pcomplete--common-suffix): Always pay attention to case.
16378 (pcomplete--table-subvert): Quote and unquote the text.
16379 (pcomplete--common-quoted-suffix): New function.
16380 (pcomplete-std-complete): Use it and pcomplete-begin.
16382 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16383 we're inside a dedicated or minibuffer window.
16385 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16387 * bookmark.el: Update documentation, especially documentation
16388 of `bookmark-alist' and of the bookmark file format.
16389 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16391 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16393 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16394 keybindings apply to the mail buffer (Bug#4003). Shrink help
16397 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16398 (global-whitespace-mode, global-whitespace-newline-mode)
16399 (whitespace-toggle-options, global-whitespace-toggle-options):
16400 Doc fix (Bug#3660).
16402 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16403 of xmltok-start before the end tag was inserted (Bug#2840).
16405 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16406 patterns that are preceded by an open-paren (Bug#1320).
16408 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16410 * files.el (delete-directory): Delete symlinks to directories with
16411 delete-file (Bug#4739).
16413 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16415 * vc.el (vc-backend-for-registration): Rename from
16416 vc-get-backend-for-registration. Update callers.
16418 * international/mule-cmds.el (set-language-info-alist):
16420 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16421 (charset): Purecopy the name.
16422 (define-char-code-property): Purecopy string arguments.
16424 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16425 Purecopy string arguments.
16427 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16428 * ediff-hook.el (menu-bar-ediff-menu):
16429 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16430 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16432 2009-10-24 Glenn Morris <rgm@gnu.org>
16434 * comint.el (comint-dynamic-list-completions):
16435 * term.el (term-dynamic-list-completions): Use choose-completion rather
16436 than obsolete alias mouse-choose-completion.
16438 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16439 file-cache-choose-completion.
16440 (file-cache-choose-completion): Handle an optional event argument.
16441 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16443 * progmodes/octave-mod.el (octave-complete-symbol):
16444 Use choose-completion if mouse-choose-completion is ever removed.
16446 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16449 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16452 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16454 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16456 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16457 Ignore `pred' now that we receive one.
16458 Handle test-completion specially.
16460 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16462 * vc.el (vc-responsible-backend): Throw an error if not backend is
16463 found. Remove the REGISTER argument. Move the code dealing with
16465 (vc-get-backend-for-registration): ... here. New function.
16466 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16467 of vc-responsible-backend, pass the file name instead of the
16470 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16472 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16474 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16475 (pcomplete-comint-setup): Don't modify a global var via
16476 accidental side-effects.
16477 (pcomplete-shell-setup): Adjust call accordingly.
16478 (pcomplete-parse-comint-arguments): Use push.
16480 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16482 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16483 Allow uncapitalized info node names (Bug#3921).
16485 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16486 to the DEBUG file (Bug#3781).
16488 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16490 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16491 dictionary entry (Bug#4579).
16493 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16495 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16496 from `rfn-eshadow-update-overlay-hook' when unloading.
16497 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16498 "rsyncc". Adjust doc string.
16499 (tramp-temp-buffer-file-name): New buffer-local defvar.
16500 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16501 Keep temporary file when indicated by method ("rsync" and
16503 (tramp-handle-write-region): Handle APPEND.
16504 (tramp-delete-temp-file-function): New defun. Added to
16505 `kill-buffer-hook'.
16507 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16509 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16511 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16513 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16514 (color-name-rgb-alist, tty-standard-colors)
16515 (tty-color-mode-alist): Change to defconst.
16517 * simple.el (mark-inactive): Purecopy message.
16519 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16520 (global-map, yank-menu):
16521 * textmodes/ispell.el (ispell-menu-map):
16522 * net/eudc.el (eudc-tools-menu):
16523 * international/mule-cmds.el (describe-language-environment-map)
16524 (setup-language-environment-map, set-coding-system-map)
16525 (mule-menu-keymap):
16526 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16527 * replace.el (occur-mode-map):
16528 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16530 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16532 * calc/calc.el (math-read-number, math-read-number-simple):
16533 Use `save-match-data'.
16535 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16537 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16538 rather than fiddling with global-map bindings, since it should only
16539 affect per-terminal settings.
16540 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16542 * minibuffer.el (completion-table-with-terminator): Allow to specify
16543 the terminator-regexp.
16545 * simple.el (switch-to-completions): Look for *Completions* in other
16548 * pcomplete.el: Allow the use of completion-tables.
16549 (pcomplete-std-complete): New command.
16550 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16551 (pcomplete--here): Use a function for `form' rather than an expression,
16552 so it can be byte-compiled.
16553 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16554 Add edebug declaration.
16555 (pcomplete-show-completions): Remove unused var `curbuf'.
16556 (pcomplete-do-complete, pcomplete-stub):
16557 Don't assume `completions' is a list of strings any more.
16559 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16561 * find-dired.el (find-name-arg): Fix typo in docstring.
16563 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16565 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16566 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16568 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16571 * comint.el (comint-read-input-ring, comint-write-input-ring)
16572 (comint-substitute-in-file-name)
16573 (comint-dynamic-complete-as-filename)
16574 (comint-dynamic-simple-complete)
16575 (comint-dynamic-list-filename-completions)
16576 (comint-dynamic-list-completions)
16577 (comint-redirect-results-list-from-process): Minor simplifications.
16579 2009-10-21 Kevin Ryde <user42@zip.com.au>
16581 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16582 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16583 the first form. And insert a blank line after ";;; Code" since
16584 that's usual style. (Bug#4612)
16586 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16588 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16590 * minibuffer.el (completion-table-with-terminator): Properly implement
16591 boundaries, in case `terminator' appears in the suffix.
16592 (completion--embedded-envvar-table): Don't return boundaries if
16593 there's no valid completion. Simplify.
16594 (completion-file-name-table): New completion table extracted from
16595 completion--file-name-table.
16596 (completion--file-name-table): Use it.
16597 (read-file-name-predicate): Declare obsolete.
16598 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16599 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16600 completion-file-name-table, and use the `pred' argument.
16601 * files.el (locate-file-completion-table): Use the `pred' arg rather
16602 than read-file-name-predicate.
16603 (abbreviate-file-name): Use \` rather than ^ for BOS.
16605 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16607 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16608 vc-responsible-backend to register, it causes problems.
16610 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16612 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16614 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16616 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16617 (tramp-smb-handle-file-attributes): Use it.
16618 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16619 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16620 `mapcar'. Use `tramp-smb-get-stat-capability'.
16621 Add `dired-filename' text properties.
16622 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16623 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16626 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16628 * subr.el (read-key-delay): Reduce to 0.01.
16629 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16632 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16634 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16636 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16637 (Info-menu): Remove unused vars `last' and `completions'.
16638 (Info-index-nodes): Remove unused var `node'.
16640 * info.el (Info-complete-menu-item): Use complete-with-action.
16642 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16644 Make vc-annotate work through copies and renames.
16645 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16646 Return the file name too.
16647 (vc-annotate-revision-at-line)
16648 (vc-annotate-find-revision-at-line)
16649 (vc-annotate-revision-previous-to-line)
16650 (vc-annotate-show-log-revision-at-line): Update to get the file
16651 name from vc-annotate-extract-revision-at-line.
16652 (vc-annotate-show-diff-revision-at-line-internal): Change the
16653 argument to mean whether to show a file diff or not. Get the file
16654 name from vc-annotate-extract-revision-at-line.
16655 (vc-annotate-show-diff-revision-at-line):
16656 Update vc-annotate-show-diff-revision-at-line call.
16657 (vc-annotate-warp-revision): Add an optional file argument.
16659 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16660 (vc-git-annotate-extract-revision-at-line): Also return the file
16663 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16664 command. Remove unused code.
16665 (vc-hg-annotate-re): Update to match --follow output.
16666 (vc-hg-annotate-extract-revision-at-line): Also return the file
16669 * vc.el: Update annotate-extract-revision-at-line documentation.
16671 2009-10-18 Kevin Ryde <user42@zip.com.au>
16673 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16674 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16676 * net/browse-url.el (browse-url): Identify alist with "consp and
16677 not functionp" and let all other things go down the `apply' leg,
16678 as suggested by Stefan. (Further to bug#4531.)
16680 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16682 * minibuffer.el (read-file-name): Check for repeat before putting
16683 a default argument in file-name-history (Bug#4657).
16685 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16686 read syntax (Bug#4737).
16688 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16690 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16692 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16693 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16694 entries and make note of obsolete tags.
16696 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16698 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16700 2009-10-18 Glenn Morris <rgm@gnu.org>
16702 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16703 grep, so that binary files (eg international/uni-bidi.el) can match.
16704 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16705 now, and in any case the file header format has changed.
16707 2009-10-17 Glenn Morris <rgm@gnu.org>
16709 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16710 (flyspell-get-word, flyspell-large-region)
16711 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16713 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16715 * Makefile.in (ELCFILES): Add ede/shell.
16717 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16719 * term/common-win.el (x-colors): Purecopy it.
16721 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16723 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16724 permissive for when the buffer is empty.
16725 (tar-header-block-tokenize): Decode the username and groupname.
16726 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16728 2009-10-17 Eric Ludlam <zappo@gnu.org>
16730 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16731 contains multibyte characters, choose first applicable coding
16732 system automatically.
16734 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16736 * international/mule-cmds.el (select-safe-coding-system): If the file
16737 has a coding cookie, use it regardless of any other setting (bug#4712).
16739 2009-10-17 Glenn Morris <rgm@gnu.org>
16741 * foldout.el (foldout-mouse-swallow-events):
16742 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16744 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16745 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16746 (dired-keep-marker-symlink, dired-dwim-target)
16747 (dired-copy-preserve-time): Do not autoload these defcustoms.
16749 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16750 messages from messing up the file coding. (Bug#4623)
16752 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16754 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16755 if no match is found for the current dictionary. (Bug#4578)
16757 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16758 optional, since that is how it is documented, and this is often called
16759 with a nil argument. (Bug#4577)
16760 (flyspell-external-point-words, flyspell-auto-correct-word)
16761 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16762 (flyspell-word-search-backward): Remove nil argument in calls to
16763 flyspell-get-word, since it is not needed now.
16765 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16767 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16769 2009-10-16 Glenn Morris <rgm@gnu.org>
16771 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16773 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16775 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16776 (ange-ftp-file-size): New function.
16777 (ange-ftp-file-attributes): Use it.
16779 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16781 * net/tramp-smb.el (tramp-smb-version): New defvar.
16782 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16785 2009-10-16 Glenn Morris <rgm@gnu.org>
16787 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16788 Maybe copy some custom properties from old to new name. (Bug#4706)
16790 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16792 * subr.el (error, sit-for, start-process-shell-command)
16793 (start-file-process-shell-command): Set the calling convention
16794 after the function definition.
16796 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16798 * subr.el (error, sit-for, start-process-shell-command)
16799 (start-file-process-shell-command): Use the new
16800 set-advertised-calling-convention feature.
16802 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16804 * international/ucs-normalize.el (ucs-normalize-version):
16806 (check-range): Adjust for Unicode 5.2.
16808 2009-10-15 Juri Linkov <juri@jurta.org>
16810 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16811 to the `menu-item' format.
16813 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16815 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16816 if the environment variable does not exist.
16818 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16819 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16821 (tramp-smb-handle-add-name-to-file)
16822 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16823 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16824 (tramp-smb-handle-file-attributes)
16825 (tramp-smb-do-file-attributes-with-stat)
16826 (tramp-smb-handle-file-local-copy)
16827 (tramp-smb-handle-insert-directory)
16828 (tramp-smb-handle-make-directory)
16829 (tramp-smb-handle-make-directory-internal)
16830 (tramp-smb-handle-make-symbolic-link)
16831 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16832 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16833 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16834 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16835 Handle long file names.
16836 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16837 process is running.
16838 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16839 Read share names with "-g" option.
16841 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16843 * net/rcirc.el (rcirc-view-log-file): New command.
16844 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16845 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16848 2009-10-15 Glenn Morris <rgm@gnu.org>
16850 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16851 from the second command-line argument.
16852 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16853 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16854 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16855 w32-batch-update-autoloads.
16856 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16857 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16859 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16860 the headers cannot be located. Simplify, subtracting superflous
16863 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16865 Replace completion-base-size by completion-base-position to fix bugs
16866 such as (bug#4699).
16867 * simple.el (completion-base-position): New var.
16868 (completion-base-size): Mark as obsolete.
16869 (choose-completion): Make it work for mouse events as well.
16870 Pass the new base-position to choose-completion-string.
16871 (choose-completion-guess-base-position): New function, extracted from
16872 choose-completion-delete-max-match.
16873 (choose-completion-delete-max-match): Use it. Make obsolete.
16874 (choose-completion-string): Use the new base-position info.
16875 (completion-root-regexp): Delete.
16876 (completion-setup-function): Preserve completion-base-position.
16877 Eliminate obsolete base-size manipulation.
16878 * minibuffer.el (display-completion-list): Don't mess with base-size.
16879 (minibuffer-completion-help): Set completion-base-position instead.
16880 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16882 * textmodes/bibtex.el (bibtex-complete):
16883 * emacs-lisp/crm.el (crm--choose-completion-string):
16884 Adjust to new calling convention.
16885 * complete.el (partial-completion-mode): Use minibufferp to avoid
16886 bumping into incompatible change to choose-completion-string-functions.
16887 * ido.el (ido-choose-completion-string): Make its calling convention
16889 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16890 base-size manipulation.
16891 (comint-dynamic-list-input-ring): Use dotimes and push.
16892 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16893 fundamental-mode. Use `or'.
16895 2009-10-14 Juri Linkov <juri@jurta.org>
16897 * misearch.el (multi-isearch-next-buffer-from-list)
16898 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16900 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16902 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16905 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16906 string we return is all made up of text from the completions rather
16907 than part from the completions and part from the input (bug#4219).
16909 * ido.el (ido-everywhere): Use define-minor-mode.
16911 * buff-menu.el (list-buffers, ctl-x-map):
16912 Mark the entry points with ;;;###autoload cookies.
16914 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16916 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16917 correctly in the detached head case.
16918 (vc-git-print-log): Remove unused binding.
16920 * vc.el (vc-responsible-backend): When a directory is passed for
16921 for registration create a VC repository if no backend is
16922 responsible for the directory argument.
16923 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16925 * vc.el: Move comments about RCS and SCCS ...
16927 * vc-sccs.el: ... here, respectively.
16929 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16931 * minibuffer.el (completion--file-name-table): Return nil if there's
16932 no file completion, even if substitute-in-file-name changed
16933 the string (bug#4708).
16935 2009-10-13 Juri Linkov <juri@jurta.org>
16937 * files-x.el (read-file-local-variable-value): Don't filter out
16938 minor modes from mode name completion (bug#4664).
16940 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16942 * international/mule-cmds.el (ucs-names): Remove exclusion of
16943 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16945 2009-10-13 Kenichi Handa <handa@m17n.org>
16947 * international/uni-name.el: Regenerated.
16949 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16951 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16952 should be automatically buffer-local, but isn't.)
16954 2009-10-12 Sam Steingold <sds@gnu.org>
16956 * progmodes/compile.el (compilation-next-error-function): Fix the
16957 timestamps if the buffer has been visited before.
16958 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16959 non-anchored patterns, like the perl one (bug#3928).
16961 2009-10-12 Glenn Morris <rgm@gnu.org>
16963 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16966 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16968 * proced.el (proced-unload-function): New function.
16970 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16971 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16974 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16976 2009-10-11 Juri Linkov <juri@jurta.org>
16978 * files-x.el (read-file-local-variable-value):
16979 Provide default value only for bound variables (bug#4664).
16981 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16983 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16984 connection methods like smb.
16986 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16989 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16990 (tramp-smb-file-name-handler-alist): Add handlers for
16991 `add-name-to-file', `make-symbolic-link'.
16992 (tramp-smb-handle-add-name-to-file)
16993 (tramp-smb-do-file-attributes-with-stat)
16994 (tramp-smb-handle-make-symbolic-link)
16995 (tramp-smb-get-cifs-capabilities): New defuns.
16996 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16997 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16998 (tramp-smb-handle-file-local-copy)
16999 (tramp-smb-handle-make-directory-internal)
17000 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17001 The file name syntax depends on cifs capabilities.
17002 (tramp-smb-handle-file-attributes):
17003 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17004 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17005 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17007 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17009 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17010 (eieio-defclass): Apply deftype handler and setf-method properties
17012 (eieio-add-new-slot): Avoid union function from cl library.
17013 (eieio--typep): New function.
17014 (eieio-perform-slot-validation): Use it.
17016 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17018 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17019 Update documentation to refer to the variables documented in r1.135.
17022 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17024 * bookmark.el (Info-suffix-list): Remove this unused variable.
17025 (bookmark-current-point): Remove this obsolete variable.
17026 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17027 Adjust for removal of bookmark-current-point.
17029 (bookmarks-already-loaded, bookmark-current-buffer)
17030 (bookmark-yank-point): Document. (Bug#4188)
17032 2009-10-10 Glenn Morris <rgm@gnu.org>
17034 * frame.el (frame-height): Doc fix.
17036 * calendar/calendar.el (calendar-split-width-threshold): New option.
17037 (calendar-basic-setup): Use calendar-split-width-threshold.
17039 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17041 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17042 Ideographic Supplement" range (U+1F200..U+1F2FF).
17044 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17046 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17047 since the list will have been rebuilt anyway. (Bug#4349)
17049 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17051 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17052 (bookmark-bmenu-execute-deletions): Don't save here, as
17053 bookmark-delete will now do so if necessary.
17054 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17057 2009-10-09 Glenn Morris <rgm@gnu.org>
17059 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17061 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17063 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17064 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17065 argument now, so the two function's behaviors will match. (Bug#3645)
17067 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17069 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17070 (tramp-file-name-real-host, tramp-file-name-port):
17071 Apply `save-match-data'.
17073 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17074 case both directories are remote.
17075 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17076 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17078 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17080 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17082 2009-10-07 Glenn Morris <rgm@gnu.org>
17084 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17087 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17089 * files-x.el (read-file-local-variable): Include some
17090 non-user-variables in the completion table (bug#4664).
17092 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17094 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17097 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17098 (tramp-smb-file-name-handler-alist): Add handler for
17099 `copy-directory', `expand-file-name', `set-file-modes'.
17100 (tramp-smb-handle-copy-directory)
17101 (tramp-smb-handle-expand-file-name)
17102 (tramp-smb-handle-set-file-modes): New defuns.
17103 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17104 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17106 (tramp-smb-handle-insert-directory): Don't flush the cache.
17107 (tramp-smb-maybe-open-connection): Check for samba client and
17110 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17112 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17113 to not error out of search for "^lisp=" fails.
17115 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17117 * makefile.w32-in (WINS_UPDATES): New macro.
17118 (custom-deps, finder-data, autoloads): Use it.
17120 2009-10-07 Glenn Morris <rgm@gnu.org>
17122 * Makefile.in (autoloads): Revert previous change.
17123 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17124 the list of preloaded files passed on the command-line, get
17125 it from src/Makefile.
17127 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17128 show the original buffer rather than a random one.
17130 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17132 * help.el (describe-no-warranty): Place point in a slightly better
17133 position in the GPLv3 text.
17135 2009-10-06 Sam Steingold <sds@gnu.org>
17137 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17138 the comm attribute is present before calling regexp-quote.
17140 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17142 * play/animate.el (animate-string): For good effect, make sure
17143 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17145 * play/animate.el (animate-sequence, animate-birthday-present):
17146 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17148 2009-10-06 Glenn Morris <rgm@gnu.org>
17150 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17152 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17153 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17154 (batch-update-autoloads): Process a string value of autoload-excludes,
17155 set during the build process.
17156 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17158 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17159 inside with-parsed... macro so that `v' is defined.
17161 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17162 * progmodes/fortran.el (fortran-end-of-block)
17163 (fortran-beginning-of-block):
17164 Also push mark in the macro case.
17166 * emerge.el (emerge-show-file-name):
17167 * calc/calc.el (calc-quit):
17168 * calc/calc-misc.el (calc-big-or-small):
17169 * calc/calc-graph.el (calc-graph-view):
17170 * calc/calc-ext.el (calc-reset):
17171 * calendar/calendar.el (calendar-basic-setup):
17172 Use window-full-height-p.
17174 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17175 header we don't understand, don't insert another. (Bug#4624)
17176 If changing mime charset, insert the new one in the right place.
17178 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17180 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17181 (cal-tex-cursor-month): Correctly increment the end date for diary and
17182 holiday listing. (Bug#4626)
17184 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17186 * help-fns.el (describe-function-1): Don't burp if the function is not
17189 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17191 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17192 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17193 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17194 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17196 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17197 (eieio-default-superclass): Reflow docstrings.
17198 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17199 (eieio-unbind-method-implementations, defmethod)
17200 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17201 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17202 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17203 (eieio-slot-originating-class-p, eieio-slot-name-index)
17204 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17205 (constructor, initialize-instance, no-next-method, object-print)
17206 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17207 Fix typos in docstrings.
17208 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17209 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17210 (next-method-p): Doc fixes.
17211 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17212 Fix typos in error messages.
17213 (eieio-defmethod): Fix typo in description of generic method.
17215 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17216 (eieio-persistent-save-interactive, slot-missing):
17217 Fix typos in docstrings.
17218 (eieio-instance-inheritor-slot-boundp): Doc fix.
17220 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17221 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17223 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17224 (eieio-custom-object-apply-reset):
17225 Fix typos in docstrings and error messages.
17227 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17228 Fix typo in docstring.
17230 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17231 (eieio-browse-tree): Doc fix.
17232 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17233 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17234 Fix typos in docstrings.
17236 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17237 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17238 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17239 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17242 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17244 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17245 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17246 Set log-view-vc-backend so that diff can work.
17248 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17250 (vc-diff-internal): Autoload this instead of vc-version-diff.
17252 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17254 * simple.el (eval-expression): Doc fix.
17256 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17258 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17260 * files.el (directory-files-no-dot-files-regexp): New defconst.
17261 (delete-directory): Use it.
17262 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17264 * net/tramp.el (tramp-verbose): Fix docstring.
17265 (tramp-methods): Add recursive option to `tramp-copy-args'.
17266 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17267 "scp1_old", "scp2_old", "rsync", "rsyncc".
17268 (tramp-default-method): Check also for `auth-source-user-or-password'.
17269 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17270 Add handler for `copy-directory'.
17271 (tramp-handle-copy-directory): New defun.
17272 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17273 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17274 Optimize sent command.
17276 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17278 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17279 window if necessary.
17281 * calendar/calendar.el (calendar-basic-setup): Don't call
17282 switch-to-buffer in a dedicated window.
17284 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17286 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17287 don't do anything related to relocating, just return nil.
17288 (bookmark-error-no-filename): New error.
17289 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17290 bookmark has no file. Don't even attempt to handle things that
17291 are not files; the whole point of custom handlers is to keep that
17292 knowledge elsewhere anyway. Tighten some comments.
17293 (bookmark-file-or-variation-thereof): Remove now-unused function.
17294 (bookmark-location): Doc string fix.
17297 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17299 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17300 don't use a file dialog, because they usually don't know how to read
17301 a directory target from the user. (Bug#4230)
17302 Also, make sure the prompt can display directories as well as files.
17304 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17306 * bookmark.el (bookmark-set, bookmark-buffer-name):
17307 Improve doc strings. (Bug#1193)
17309 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17311 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17312 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17313 (bookmark-get-annotation, bookmark-set-annotation)
17314 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17315 (bookmark-set-position, bookmark-get-front-context-string)
17316 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17317 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17318 (bookmark-jump-other-window, bookmark-handle-bookmark)
17319 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17320 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17321 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17322 Improve doc strings to say whether bookmark can be a string or
17323 a record or both, and make other consistency and clarity fixes.
17324 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17325 (bookmark-default-annotation-text, bookmark-yank-word)
17326 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17327 (bookmark-import-new-list, bookmark-maybe-rename)
17328 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17329 (bookmark-bmenu-bookmark): Give these doc strings.
17330 (bookmark-bmenu-check-position): Give this a doc string, but also
17331 add a FIXME comment about how the function may be pointless.
17332 (bookmark-default-handler): Rework doc string and change a
17333 parameter name, to clarify that this takes a bookmark record
17334 not a bookmark name.
17335 (bookmark-set): Change a parameter name to indicate its meaning,
17336 and improve the doc string a bit.
17339 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17341 * bookmark.el (bookmark-alist): Document the new `handler' element
17342 in the param alist.
17343 (bookmark-make-record-function): Adjust documentation for above.
17346 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17348 * info.el (Info-bookmark-make-record): Document this function.
17349 (Info-bookmark-jump): Document with a doc string, not just a comment.
17352 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17354 * files.el (copy-directory): New defun.
17356 * dired-aux.el (dired-copy-file-recursive): Use it.
17358 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17360 * files-x.el (modify-dir-local-variable)
17361 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17364 * recentf.el (recentf-unload-function): New function.
17366 2009-10-04 Glenn Morris <rgm@gnu.org>
17368 * window.el (window-full-height-p): Add doc string.
17370 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17372 * window.el (window-full-height-p): New function. (Bug#4543)
17374 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17376 * vc.el: Remove commented out code.
17377 (vc-derived-from-dir-mode): Remove, unused.
17378 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17380 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17382 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17383 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17384 there could be recursive loading when `default-directory' is a
17385 remote file name. (Bug#4614)
17387 2009-10-03 Glenn Morris <rgm@gnu.org>
17389 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17391 (calendar-generate-window): Test for shrinkability rather than width.
17393 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17394 reusing existing buffers, in case we happen to visit two files with the
17395 same basename. (Bug#4593)
17397 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17399 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17400 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17401 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17402 subdirs of cedet as well.
17403 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17405 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17407 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17408 Obey advertised-signature-table.
17410 * help-fns.el (help-function-arglist): Don't check
17411 advertised-signature-table.
17412 (describe-function-1): Do it here instead so it also applies to subrs.
17414 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17416 * simple.el (start-file-process): Say in the doc-string, that file
17417 handlers might not support pty association, if PROGRAM is nil.
17419 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17420 HOST and USER are strings. They are nil, when there are
17421 incomplete entries in ~/.netrc, for example.
17422 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17423 root directory ("device busy" error otherwise).
17425 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17426 Flush file properties of created directory.
17428 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17430 * makefile.w32-in (WINS_BASIC): Remove cedet.
17431 (WINS_CEDET): Add cedet.
17432 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17434 2009-10-02 Kevin Ryde <user42@zip.com.au>
17436 * net/browse-url.el (browse-url): Pass any symbol in
17437 browse-url-browser-function to `apply', since if you've mistakenly put
17438 an unbound symbol then the error is clearer. (Bug#4531)
17440 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17442 * allout.el (allout-init, allout-back-to-current-heading)
17443 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17444 (allout-ascend, allout-up-current-level, allout-end-of-level)
17445 (allout-previous-visible-heading, allout-forward-current-level)
17446 (allout-backward-current-level, allout-show-children):
17447 * apropos.el (apropos-describe-plist):
17448 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17449 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17450 * completion.el (add-completion, add-permanent-completion):
17451 * descr-text.el (describe-text-category, describe-char):
17452 * desktop.el (desktop-lazy-abort):
17453 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17454 * dired.el (dired-build-subdir-alist):
17455 * ediff.el (ediff-version):
17456 * elide-head.el (elide-head, elide-head-show):
17457 * emerge.el (emerge-version):
17459 * face-remap.el (variable-pitch-mode):
17460 * faces.el (describe-face):
17461 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17463 * files.el (find-file-existing, auto-save-mode):
17464 * font-lock.el (font-lock-fontify-buffer):
17465 * help-fns.el (describe-function, describe-variable)
17466 (describe-syntax, describe-categories):
17467 * help.el (view-lossage, describe-bindings, describe-key)
17469 * hexl.el (hexl-current-address):
17470 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17471 * info.el (Info-goto-emacs-key-command-node):
17472 * log-edit.el (log-edit-insert-cvs-template)
17473 (log-edit-insert-cvs-rcstemplate):
17474 * menu-bar.el (menu-bar-mode):
17475 * mouse.el (mouse-appearance-menu):
17476 * newcomment.el (comment-indent-new-line):
17477 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17478 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17479 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17480 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17481 * recentf.el (recentf-mode):
17482 * savehist.el (savehist-mode, savehist-save):
17483 * shadowfile.el (shadow-copy-files):
17484 * simple.el (kill-ring-save, next-line, previous-line)
17485 (normal-erase-is-backspace-mode):
17486 * strokes.el (strokes-update-window-configuration)
17487 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17488 (strokes-xpm-for-stroke):
17489 * time.el (emacs-uptime, emacs-init-time):
17490 * tutorial.el (tutorial--describe-nonstandard-key)
17491 (tutorial--detailed-help):
17492 * type-break.el (type-break-mode)
17493 (type-break-mode-line-message-mode, type-break-query-mode)
17494 (type-break-guesstimate-keystroke-threshold):
17495 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17496 * version.el (emacs-version):
17497 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17498 * winner.el (winner-mode):
17499 * calendar/timeclock.el (timeclock-in, timeclock-out)
17500 (timeclock-status-string, timeclock-change)
17501 (timeclock-workday-remaining-string)
17502 (timeclock-workday-elapsed-string)
17503 (timeclock-when-to-leave-string):
17504 * calendar/todo-mode.el (todo-add-category):
17505 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17506 * emacs-lisp/autoload.el (update-file-autoloads):
17507 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17508 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17509 (checkdoc-message-text, checkdoc-defun):
17510 * emacs-lisp/debug.el (debugger-list-functions):
17511 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17512 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17513 (eieio-describe-generic):
17514 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17515 * emacs-lisp/shadow.el (list-load-path-shadows):
17516 * emulation/cua-base.el (cua-mode):
17517 * emulation/edt.el (edt-set-scroll-margins):
17518 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17519 (tpu-toggle-regexp, tpu-toggle-search-direction)
17520 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17521 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17522 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17523 (viper-set-parsing-style-toggling-macro)
17524 (viper-set-emacs-state-searchstyle-macros):
17525 * emulation/viper.el (viper-set-hooks):
17526 * eshell/esh-mode.el (eshell-truncate-buffer):
17527 * international/mule-cmds.el (prefer-coding-system)
17528 (describe-input-method, describe-language-environment):
17529 * international/mule-diag.el (list-character-sets)
17530 (describe-character-set, describe-coding-system)
17531 (describe-fontset, list-fontsets, list-input-methods):
17532 * mail/sendmail.el (mail-signature):
17533 * net/ange-ftp.el (ange-ftp-copy-file):
17534 * net/browse-url.el (browse-url):
17535 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17536 * net/quickurl.el (quickurl-add-url):
17537 * net/rcirc.el (names, topic):
17538 * net/xesam.el (xesam-mode):
17539 * play/5x5.el (5x5-new-game):
17540 * play/yow.el (apropos-zippy):
17541 * progmodes/ada-mode.el (ada-mode-version):
17542 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17544 (f90-beginning-of-block):
17545 * progmodes/fortran.el (fortran-end-of-block)
17546 (fortran-beginning-of-block):
17547 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17548 * progmodes/python.el (python-describe-symbol, python-shell):
17549 * term/ns-win.el (ns-print-buffer):
17550 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17551 * textmodes/flyspell.el (flyspell-mode-on):
17552 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17553 (pages-directory-for-addresses):
17554 * textmodes/table.el (table-recognize-cell)
17555 (table-query-dimension, table-generate-source)
17556 (table-insert-sequence, table--warn-incompatibility):
17557 * textmodes/tex-mode.el (tex-validate-buffer):
17558 * textmodes/texinfmt.el (texinfmt-version)
17559 (texinfo-format-buffer):
17560 Use `called-interactively-p' instead of `interactive-p'.
17562 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17564 * image-mode.el (image-toggle-display):
17565 * emacs-lisp/elp.el (elp-instrument-function):
17566 * emacs-lisp/advice.el (ad-make-advised-definition):
17567 * emacs-lisp/easy-mmode.el (define-minor-mode):
17568 * net/browse-url.el (browse-url-maybe-new-window):
17569 * progmodes/sh-script.el (sh-learn-buffer-indent):
17570 Pass new argument 'any to `called-interactively-p'.
17572 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17574 * international/uni-bidi.el:
17575 * international/uni-category.el:
17576 * international/uni-combining.el:
17577 * international/uni-comment.el:
17578 * international/uni-decimal.el:
17579 * international/uni-decomposition.el:
17580 * international/uni-digit.el:
17581 * international/uni-lowercase.el:
17582 * international/uni-mirrored.el:
17583 * international/uni-name.el:
17584 * international/uni-numeric.el:
17585 * international/uni-old-name.el:
17586 * international/uni-titlecase.el:
17587 * international/uni-uppercase.el:
17588 Regenerate from Unicode 5.2.0 data.
17590 2009-10-01 Glenn Morris <rgm@gnu.org>
17592 * Makefile.in (ELCFILES): Regenerate.
17594 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17596 * subr.el (interactive-p): Mark obsolete.
17597 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17598 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17599 advertised-signature-table for subroutines as well.
17601 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17602 (set-advertised-calling-convention): New function.
17603 (make-obsolete, define-obsolete-function-alias)
17604 (make-obsolete-variable, define-obsolete-variable-alias):
17605 Make the optional-ness of `when' obsolete.
17606 (define-obsolete-face-alias): Make `when' non-optional.
17607 * help-fns.el (help-function-arglist):
17608 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17609 Use advertised-signature-table.
17611 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17613 * files.el (delete-directory): New defun. The original function
17614 in fileio.c has been renamed to `delete-directory-internal'.
17616 * dired.el (dired-delete-file): Call `delete-directory' with
17617 RECURSIVE parameter.
17619 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17620 parameter RECURSIVE. Implementation is missing.
17622 * net/tramp.el (tramp-handle-make-directory): Flush upper
17623 directory's file properties.
17624 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17625 (tramp-handle-dired-recursive-delete-directory): Flush directory
17626 properties after the remove command only.
17628 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17629 Handle optional parameter RECURSIVE.
17631 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17632 Handle optional parameter RECURSIVE.
17634 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17635 connection timeout.
17636 (tramp-smb-handle-delete-directory): Handle optional parameter
17639 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17641 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17642 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17643 (byte-compile-defmacro): Use backquotes.
17645 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17647 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17648 has no associated file.
17649 (vc-resynch-buffer): Use vc-dir-buffers.
17651 2009-10-01 Glenn Morris <rgm@gnu.org>
17653 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17654 (chart-file-count):
17655 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17656 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17657 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17658 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17659 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17660 (eieio-copy-parents-into-subclass, make-instance, class-children)
17661 (eieio-generic-form):
17663 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17664 match-data. (Bug#4555).
17666 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17667 rather than parsing it as a regexp. This relaxes the layout
17668 requirements and makes errors easier to detect.
17669 (check-declare-verify): Check file is regular.
17670 (check-declare-directory): Doc fix.
17671 * subr.el (declare-function): Doc fix.
17673 * ibuffer.el (ibuffer-format-qualifier):
17674 * isearch.el (hi-lock-regexp-okay):
17675 * calc/calc.el (math-zerop):
17676 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17677 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17678 Remove unused declarations.
17680 2009-09-30 Eric Ludlam <zappo@gnu.org>
17682 * emacs-lisp/eieio.el (boolean-p): Delete.
17684 2009-09-30 Glenn Morris <rgm@gnu.org>
17686 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17688 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17689 filename is not a string.
17691 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17693 * files.el (safe-local-eval-forms): Fix typo.
17695 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17697 * vc-hooks.el (vc-dir-buffers): New var.
17698 (vc-state-refresh): New function.
17699 (vc-state): Use it.
17700 (vc-after-save): Always ask the backend to recompute the new state.
17701 Always call vc-dir if necessary, using vc-dir-buffers.
17702 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17703 Use vc-dir-buffers.
17704 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17705 (vc-dir-prepare-status-buffer, vc-dir-update)
17706 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17707 Don't call expand-file-name on default-directory.
17709 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17711 * speedbar.el (speedbar-item-delete):
17712 * calc/calc-prog.el (calc-kbd-if):
17713 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17715 * epa.el (epa-key-list-mode-map):
17716 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17718 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17719 (hs-show-hook): Fix typo in docstring.
17721 2009-09-29 Glenn Morris <rgm@gnu.org>
17723 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17724 file-name-nondirectory call preventing location of cedet files.
17725 (check-declare-verify): Use literal search rather than re-search.
17726 Add basic defmethod and defclass, and define-overloadable-function.
17728 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17729 Use tramp-compat-file-attributes rather than nonexistent
17730 tramp-compat-handle-file-attributes.
17732 * Makefile.in (lisptagsfiles4): New.
17733 (AUTOGENEL): Add cedet loaddefs files.
17734 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17735 (update-elclist, compile-always, backup-compiled-files)
17736 (bootstrap-clean): Add yet another directory level.
17737 (update-elclist): Use LC_COLLATE rather than COLLATE.
17738 (ELCFILES): Update, via `make update-elclist'.
17740 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17742 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17743 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17744 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17746 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17748 * Makefile.in (lisptagsfiles3): Define.
17749 (TAGS, TAGS-LISP): Use it.
17750 (update-elclist): Add third directory level to look for elc files.
17751 (compile-always): Likewise.
17752 (backup-compiled-files): Likewise.
17753 (bootstrap-clean): Likewise.
17754 (ELCFILES): Update.
17756 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17758 * Makefile.in (ELCFILES): Add CEDET files.
17760 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17762 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17764 * net/tramp.el (top): Require tramp-imap.
17766 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17767 Use `tramp-compat-handle-file-attributes'.
17769 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17771 * net/tramp-imap.el: New package.
17773 2009-09-28 Eric Ludlam <zappo@gnu.org>
17775 * emacs-lisp/chart.el:
17776 * emacs-lisp/eieio-base.el:
17777 * emacs-lisp/eieio-comp.el:
17778 * emacs-lisp/eieio-custom.el:
17779 * emacs-lisp/eieio-datadebug.el:
17780 * emacs-lisp/eieio-opt.el:
17781 * emacs-lisp/eieio-speedbar.el:
17782 * emacs-lisp/eieio.el: New files.
17784 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17786 * whitespace.el (whitespace-trailing-regexp)
17787 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17790 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17792 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17795 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17796 menu-bar-ediff-menu.
17798 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17799 define-overloadable-function.
17801 * progmodes/autoconf.el: Provide autoconf as well, so that this
17802 file can be `require'd.
17804 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17806 * emacs-lisp/autoload.el (generated-autoload-feature)
17807 (generated-autoload-load-name): New vars.
17808 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17809 (make-autoload): Recognize define-overloadable-function and
17810 defclass forms (for EIEIO).
17812 * Makefile.in (update-subdirs): Exclude cedet directory.
17814 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17816 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17818 * faces.el: Default light-background background for region face to
17819 ns_selection_color under NS.
17821 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17823 * net/imap-hash.el: New library, see NEWS.
17825 * Makefile.in (ELCFILES): Add imap-hash.el.
17827 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17829 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17830 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17831 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17832 definition where the docstring could be taken for the return value.
17834 2009-09-26 Glenn Morris <rgm@gnu.org>
17836 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17837 Add option to only show images below a certain size.
17838 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17839 save-excursion calls.
17841 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17843 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17844 subdirectories) and eieio.
17846 2009-09-26 Alan Mackenzie <acm@muc.de>
17848 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17849 Correct buggy bracketing. (Bug#4289)
17851 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17852 character constants (as case labels). (Bug#4289)
17854 2009-09-25 Juri Linkov <juri@jurta.org>
17856 * files.el (safe-local-eval-forms): Allow time-stamp in
17857 before-save-hook (Bug#4554).
17859 2009-09-25 Drew Adams <drew.adams@oracle.com>
17861 * menu-bar.el (list-buffers-directory): Doc fix.
17863 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17865 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17866 Try and avoid copying twice the same paragraph.
17867 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17868 Remove save-excursion.
17869 (log-edit-changelog-entry): Do it here instead.
17871 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17873 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17874 when available, instead of hardcoding mode names. Doc fix.
17876 * menu-bar.el (list-buffers-directory): Add docstring.
17877 Make automatically buffer-local.
17879 * dired.el (dired-mode):
17880 * files.el (cd-absolute):
17881 * pcvs.el (cvs-temp-buffer):
17882 * pcvs-util.el (cvs-get-buffer-create):
17883 * shell.el (shell-mode):
17884 * vc-dir.el (vc-dir-mode):
17885 Don't make `list-buffers-directory' buffer local.
17887 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17889 * comint.el (comint-exec, comint-run, make-comint):
17890 Doc fixes (Bug#4542).
17892 2009-09-25 Glenn Morris <rgm@gnu.org>
17894 * mail/rmailmm.el (rmail-mime): New custom group.
17895 Move all defcustoms in this file into this group.
17896 (rmail-mime-media-type-handlers-alist): Revert previous change.
17897 (rmail-mime-show-images): New option.
17898 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17899 references to it, since it wasn't actually used for anything.
17900 (rmail-mime-insert-image): New function.
17901 (rmail-mime-image): Use rmail-mime-insert-image.
17902 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17903 obey the value of `rmail-mime-show-images' option. Print the size of
17906 2009-09-25 David Engster <deng@randomsample.de>
17908 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17910 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17912 * whitespace.el: Does not highlight trailing spaces While point is
17913 at end of line. Does not highligt spaces at beginning of buffer
17914 while point is at beginning of buffer. Does not highlight spaces
17915 at end of buffer while point is at end of buffer. (Bug#4177)
17917 (whitespace-display-mappings): Adjust initialization.
17918 (whitespace-point, whitespace-font-lock-refontify): New vars.
17919 (whitespace-color-on, whitespace-color-off): Adjust code.
17920 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17921 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17922 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17924 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17926 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17928 * textmodes/sgml-mode.el: Remove xml-mode alias.
17930 * files.el (auto-mode-alist, conf-mode-maybe)
17931 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17933 2009-09-24 Alan Mackenzie <acm@muc.de>
17935 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17936 c-forward-conditionals, but it doesn't move point and doesn't set
17938 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17939 (c-down-conditional-with-else, c-backward-conditional)
17940 (c-forward-conditional): Refactor to use c-scan-conditionals.
17942 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17944 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17945 (help-default-arg-highlight): Remove.
17946 (help-highlight-arg): New function.
17947 (help-do-arg-highlight): Use it.
17948 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17950 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17952 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17953 Undo last change, which didn't fix the problem and introduced others.
17955 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17957 * progmodes/gdb-mi.el: Don't require speedbar.
17958 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17960 2009-09-24 Glenn Morris <rgm@gnu.org>
17962 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17964 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17966 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17967 there is no newline after the final mime boundary. (Bug#4539)
17968 Move markers on insertion so that any buttons inserted don't end up in
17969 the next part of a multipart message.
17970 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17971 (rmail-mime-bulk-handler): Optionally handle images.
17972 (rmail-mime-image): New button action.
17973 (rmail-mime-image-handler): New function.
17974 (rmail-mime-mode): New mode.
17975 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17977 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17979 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17980 than just dropping elements from it (bug#4504).
17982 * term.el (term-set-scroll-region): Don't move cursor any more.
17983 (term-handle-ansi-escape): Call term-goto here instead.
17984 Suggested by Ivan Kanis <apple@kanis.eu>.
17986 * term.el: Require CL.
17987 (term-ansi-reset): New function.
17988 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17989 (term-handle-colors-array): Simplify.
17991 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17993 * allout.el (allout-overlay-interior-modification-handler)
17994 (allout-obtain-passphrase):
17995 * epa-file.el (epa-file-write-region):
17996 * ps-print.el (ps-begin-job):
17997 * vc-hooks.el (vc-toggle-read-only):
17998 * vc-rcs.el (vc-rcs-rollback):
17999 * vc-sccs.el (vc-sccs-rollback):
18000 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18001 (vc-version-diff, vc-revert, vc-rollback):
18002 * wdired.el (wdired-check-kill-buffer):
18003 * emacs-lisp/authors.el (authors):
18004 * net/socks.el (socks-open-connection):
18005 * net/zeroconf.el (zeroconf-service-add-hook):
18006 * obsolete/vc-mcvs.el (vc-mcvs-register):
18007 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18008 (gdb-select-frame):
18009 * progmodes/grep.el (lgrep, rgrep):
18010 * progmodes/idlw-help.el (idlwave-help-check-locations)
18011 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18012 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18013 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18014 (reftex-toc-rename-label): Fix typos in error messages.
18016 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18017 (dired-copy-how-to-fn): Doc fix.
18018 (dired-files-attributes, dired-read-shell-command):
18019 Fix typos in docstrings.
18021 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18022 (dired-x-find-file-other-window): Reflow docstrings.
18023 (dired-omit-marker-char, dired-read-shell-command)
18024 (dired-x-submit-report): Fix typos in docstrings.
18026 * shell.el (shell-mode-hook):
18027 * view.el (View-scroll-line-forward):
18028 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18029 Fix typos in docstrings.
18031 * net/dig.el (dig-invoke): Fix typo in docstring.
18032 (query-dig): Reflow docstring.
18034 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18035 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18036 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18037 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18038 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18039 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18040 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18041 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18042 (idlwave-completion-map, idlwave-current-indent)
18043 (idlwave-custom-ampersand-surround, idlwave-customize)
18044 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18045 (idlwave-define-abbrev, idlwave-determine-class-special)
18046 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18047 (idlwave-end-block-reg, idlwave-end-of-statement)
18048 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18049 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18050 (idlwave-explicit-class-listed, idlwave-file-header)
18051 (idlwave-fill-paragraph, idlwave-find-class-definition)
18052 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18053 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18054 (idlwave-in-quote, idlwave-indent-action-table)
18055 (idlwave-indent-expand-table, idlwave-indent-line)
18056 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18057 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18058 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18059 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18060 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18061 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18062 (idlwave-outlawed-buffers, idlwave-popup-select)
18063 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18064 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18065 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18066 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18067 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18068 (idlwave-statement-type, idlwave-struct-skip)
18069 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18070 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18071 (idlwave-what-module-find-class): Fix typos in docstrings.
18072 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18073 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18074 (idlwave-find-module, idlwave-find-structure-definition)
18075 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18076 (idlwave-list-load-path-shadows, idlwave-next-statement)
18077 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18078 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18079 (idlwave-template): Reflow docstrings.
18081 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18082 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18083 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18084 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18085 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18086 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18087 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18088 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18089 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18090 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18091 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18092 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18093 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18094 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18095 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18096 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18097 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18098 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18099 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18100 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18101 Fix typos in docstrings.
18102 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18103 (idlwave-shell-hide-output, idlwave-shell-mode)
18104 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18107 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18109 2009-09-24 Ivan Kanis <apple@kanis.eu>
18111 * term.el (term-bold-attribute): New var.
18112 (term-handle-colors-array): Use it.
18114 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18116 * progmodes/gdb-mi.el (gdb-version): New variable.
18117 (gdb-non-stop-handler): Set gdb-version.
18118 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18119 Condition "--thread" option on gdb-version.
18120 (gdb-invalidate-threads): Remove unused argument.
18122 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18124 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18125 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18127 2009-09-23 Glenn Morris <rgm@gnu.org>
18129 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18130 replying to mail without References or Message-Id. (Bug#4525)
18132 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18134 * term/ns-win.el (ns-reg-to-script): New variable.
18136 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18138 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18140 2009-09-22 Sam Steingold <sds@gnu.org>
18142 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18143 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18144 to 1 because hg returns status 1 when nothing is found.
18145 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18147 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18149 * textmodes/fill.el: Convert to utf-8 encoding.
18150 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18153 * add-log.el (change-log-fill-forward-paragraph): New function.
18154 (change-log-mode): Use it so fill-region DTRT.
18155 Set fill-indent-according-to-mode here rather than in
18156 change-log-fill-paragraph.
18157 (change-log-fill-paragraph): Remove.
18159 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18161 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18162 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18164 2009-09-22 Glenn Morris <rgm@gnu.org>
18166 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18167 the scroll-bar scroll the calendar window rather than the buffer.
18169 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18170 commands that move point (as opposed to scrolling).
18172 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18174 * emacs-lisp/elint.el (elint): New custom group.
18175 (elint-log-buffer): Make it a defcustom.
18176 (elint-scan-preloaded, elint-ignored-warnings)
18177 (elint-directory-skip-re): New options.
18178 (elint-builtin-variables): Doc fix.
18179 (elint-preloaded-env): New variable.
18180 (elint-unknown-builtin-args): Add an entry for encode-time.
18181 (elint-extra-errors): Make it a variable rather than a constant.
18182 (elint-preloaded-skip-re): New constant.
18183 (elint-directory): Skip files matching elint-directory-skip-re.
18184 (elint-features): New variable, local to linted buffers.
18185 (elint-update-env): Initialize elint-features. Possibly add
18186 elint-preloaded-env to the buffer's environment.
18187 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18189 (elint-init-form): New function, extracted from elint-init-env.
18190 Make non-list forms a warning rather than an error.
18191 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18192 easy-menu-define, put that adds an error-condition, and provide.
18193 When requiring cl, also require cl-macs. Really require cl, to handle
18194 some cl macros. Store required libraries in the list elint-features,
18195 so as not to re-load them. Treat cc-require like require.
18196 (elint-init-env): Call elint-init-form to do the work.
18197 Handle eval-and-compile and such like.
18198 (elint-add-required-env): Do not clear messages.
18199 (elint-special-forms): Add handlers for function, defalias, if, when,
18201 (elint-form): Add optional argument to ignore elint-special-forms,
18202 useful to prevent recursive calls from handlers. Doc fix.
18203 Respect elint-ignored-warnings.
18204 (elint-form): Respect elint-ignored-warnings.
18205 (elint-bound-variable, elint-bound-function): New variables.
18206 (elint-unbound-variable): Respect elint-bound-variable.
18207 (elint-get-args): Respect elint-bound-function.
18208 (elint-check-cond-form): Add some simple handling for (f)boundp and
18210 (elint-check-defalias-form): New handler.
18211 (elint-check-let-form): Make an empty let a warning rather than an
18213 (elint-check-setq-form): Make an empty setq a warning rather than an
18214 error. Respect elint-ignored-warnings.
18215 (elint-check-defvar-form): Accept null doc-strings.
18216 (elint-check-conditional-form): New handler. Does some simple-minded
18217 checking of featurep and (f)boundp tests.
18218 (elint-put-function-args): New function.
18219 (elint-initialize): Use elint-scan-doc-file rather than
18220 elint-find-builtin-variables. Use elint-put-function-args.
18221 Possibly scan preloaded-file-list.
18222 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18223 extend to handle functions as well.
18225 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18227 * linum.el (linum-delete-overlays, linum-update-window):
18228 Do not modify the right margin. (Bug#3971)
18230 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18232 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18233 Use nxml-mode instead of xml-mode.
18235 2009-09-21 Kevin Ryde <user42@zip.com.au>
18237 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18239 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18241 * net/dig.el (dig-mode): Use define-derived-mode.
18243 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18245 * vc-dispatcher.el (vc-do-command): Return the process object in
18246 the asynchronous case. Use when instead of if. Do not run
18247 vc-exec-after to display a message if not enabled. (Bug#4463)
18249 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18250 properties to the stash strings.
18251 (vc-git-stash-list): Return a list of strings.
18252 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18253 (vc-git-stash-show-at-point): New functions.
18254 (vc-git-stash-map): New keymap.
18256 * register.el (ctl-x-r-map): Define the keys here instead of
18259 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18261 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18262 list, to workaround performance problem (bug#4485).
18264 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18266 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18268 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18270 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18271 Document that this option is not recommended to use.
18273 2009-09-19 Glenn Morris <rgm@gnu.org>
18275 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18278 * calc/calc-alg.el (var):
18279 * calc/calcalg2.el (var): Define for compiler.
18281 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18283 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18284 Doc fix (Bug#3932).
18286 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18288 * time-stamp.el (time-stamp-month-dd-yyyy)
18289 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18290 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18291 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18292 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18293 Remove functions that have been obsolete since 1995 (Bug#4436).
18295 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18296 indent buffer only if called interactively (Bug#4452).
18298 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18299 Eli Zaretskii <eliz@gnu.org>
18301 This fixes bug#4197 (merged to bug#865, though not identical).
18302 * server.el (server-auth-dir): Add docstring note about FAT32.
18303 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18304 but warn against using them.
18306 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18308 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18309 older GDB where there is no has_more field.
18311 2009-09-19 Glenn Morris <rgm@gnu.org>
18313 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18315 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18317 * files.el (auto-mode-alist): Change default for XML files to nXML
18320 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18322 * server.el (server-ensure-safe-dir): Pass 'integer
18323 to `file-attributes', as suggested.
18325 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18327 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18328 (dired-query): Use read-key.
18330 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18332 * cus-start.el (ns-use-qd-smoothing): Remove.
18334 2009-09-18 Glenn Morris <rgm@gnu.org>
18336 * allout.el (top-level): Remove unnecessary progn.
18338 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18340 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18341 definition of abbrev table.
18343 * speedbar.el (speedbar-track-mouse):
18344 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18345 * net/eudc.el (eudc-expand-inline):
18346 * net/newst-backend.el (newsticker--cache-read-feed):
18347 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18348 condition-case handlers.
18350 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18352 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18353 (gdb-var-list): Add an element for has_more field.
18354 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18355 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18356 (gdb-var-update-handler-1): Parse output of dynamic variable
18357 objects (STL containers).
18358 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18359 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18361 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18363 (gud-speedbar-buttons): Make node expandable if expression "has more"
18366 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18368 * startup.el (emacs-quick-startup): Remove variable and all uses.
18369 (command-line): Set `inhibit-x-resources' instead.
18370 (command-line-1): Use `inhibit-x-resources' instead.
18372 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18374 * subr.el: Fix last change to avoid using the `unless' macro,
18375 which breaks bootstrapping.
18377 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18379 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18380 extended definitions, in case we reload subr.el after having
18382 (eval-next-after-load): Mark as obsolete.
18384 2009-09-17 Juri Linkov <juri@jurta.org>
18386 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18387 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18388 (menu-bar-showhide-menu, menu-bar-tools-menu)
18389 (menu-bar-describe-menu, menu-bar-help-menu)
18390 (minibuffer-local-completion-map, minibuffer-local-map):
18393 2009-09-17 Glenn Morris <rgm@gnu.org>
18395 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18396 arguments, whether or not it has a handler.
18398 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18400 * simple.el (hard-newline): Give it a doc-string.
18402 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18403 (lisp-mode-syntax-table): Give them doc-strings.
18405 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18407 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18408 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18409 (menu-bar-options-menu, menu-bar-showhide-menu)
18410 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18411 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18412 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18413 (menu-bar-options-menu, menu-bar-tools-menu)
18414 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18415 (menu-bar-help-menu):
18416 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18419 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18420 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18421 calls for the menu names and :help.
18423 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18425 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18426 to :minor-mode-function (bug#4455).
18428 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18430 * startup.el (command-line): Initialize the window-system after
18431 processing the command-line.
18433 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18434 page-delimiter matches the empty string.
18436 2009-09-16 Glenn Morris <rgm@gnu.org>
18438 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18439 byte-compile-not-obsolete-var. It's a list now.
18440 (byte-compile-not-obsolete-funcs): New variable.
18441 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18442 byte-compile-not-obsolete-funcs.
18443 (byte-compile-variable-ref, byte-compile-defvar): Update for
18444 byte-compile-not-obsolete-vars name-change and list nature.
18445 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18446 and variables behind (f)boundp tests.
18447 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18449 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18451 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18453 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18455 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18456 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18459 2009-09-15 Stephen Eglen <stephen@gnu.org>
18461 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18462 the virtual-buffers, use the name of the buffer specified by
18463 find-file-noselect, as the match may be a symlink. (This was a
18464 problem if the target and the symlink had different names.)
18466 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18468 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18470 * desktop.el (desktop-path): Check user-emacs-directory.
18472 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18474 * loadup.el: Use after-load-functions to GC after loading each file.
18475 Remove the explicit GC calls that used to be sprinkled around.
18477 * subr.el (after-load-functions): New hook.
18478 (do-after-load-evaluation): Run it. Use string-match-p to detect
18479 `obsolete' packages, rather than painfully extracting the relevant
18482 2009-09-15 Glenn Morris <rgm@gnu.org>
18484 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18485 free variable `doc'.
18487 * dired.el (dired-mode-map): Add menu entry for async shell command.
18489 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18490 variables, also consider the .elc files, since the .el files are
18491 normally gzipped (subsequent code locates the .el.gz from the .elc).
18493 * calc/calc-prog.el (arglist): Define for compiler.
18495 * calendar/diary-lib.el (diary-display-function): Change the default to
18497 (body): Define for compiler.
18499 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18500 (byte-compile-file-form, byte-compile-lambda)
18501 (byte-compile-top-level-body, byte-compile-form)
18502 (byte-compile-variable-ref, byte-compile-setq)
18503 (byte-compile-setq-default, byte-compile-body)
18504 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18505 (batch-byte-compile): Give some more local variables with common names
18506 a "bytecomp-" prefix to avoid masking warnings about free variables.
18508 * startup.el (command-line-1): Give local variables with common names a
18509 distinguishing prefix, so as not to hide free variable warnings during
18512 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18513 clever and add a suffix to make a unique name, just let the user decide
18514 whether or not to overwrite it. If the input is a directory, write the
18515 default filename to that directory. (Bug#4388)
18516 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18517 is a filename-as-a-directory.
18519 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18521 * textmodes/page.el (what-page): Don't move to beginning of line.
18522 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18524 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18526 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18528 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18530 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18531 * help.el (help-for-help-internal): Add purecopy calls for text.
18533 * vc.el (top): print-log method now takes an optional SHORTLOG
18534 argument. Add a new method: root.
18535 (vc-root-diff, vc-print-root-log): New functions.
18536 (vc-log-short-style): New variable.
18537 (vc-print-log-internal): Add support for showing short logs.
18539 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18540 vc-print-root-log and vc-print-root-diff.
18542 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18543 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18544 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18547 * vc-cvs.el (vc-cvs-print-log):
18548 * vc-mtn.el (vc-mtn-print-log):
18549 * vc-rcs.el (vc-rcs-print-log):
18550 * vc-sccs.el (vc-sccs-print-log):
18551 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18552 that is ignored for now.
18554 * vc-mtn.el (vc-mtn-annotate-command):
18555 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18557 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18559 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18560 to function-key-map, and give them ascii-character property.
18561 * term/x-win.el (x-alternatives-map):
18562 * term/ns-win.el (ns-alternatives-map):
18563 * term/internal.el (msdos-key-remapping-map):
18564 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18566 2009-09-14 Glenn Morris <rgm@gnu.org>
18568 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18569 temp-buffers (2009-09-12).
18571 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18573 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18574 the new read-key function.
18576 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18578 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18579 is defined (Bug#4405).
18581 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18583 * recentf.el (recentf-cleanup): Use a hash table to find
18584 duplicates (Bug#4407).
18586 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18588 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18589 kp-0 to ascii equivalents (Bug#4325).
18591 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18593 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18595 * eshell/em-hist.el:
18596 * eshell/em-dirs.el (eshell-complete-user-reference):
18597 Declare pcomplete functions and variables to avoid compiler warnings.
18599 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18601 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18602 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18603 * eshell/em-alias.el (eshell-aliases-file):
18604 * eshell/em-hist.el (eshell-history-file-name):
18605 Use expand-file-name instead of concat to make file names (Bug#4308).
18607 2009-09-13 Glenn Morris <rgm@gnu.org>
18609 * ediff-merg.el (ediff-do-merge):
18610 * filesets.el (filesets-run-cmd):
18611 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18612 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18613 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18614 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18615 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18616 Replace empty `let's with `progn'.
18618 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18620 * mail/sendmail.el (send-mail-function):
18621 * tooltip.el (tooltip-mode):
18622 * simple.el (transient-mark-mode):
18623 * rfn-eshadow.el (file-name-shadow-mode):
18624 * frame.el (blink-cursor-mode):
18625 * font-core.el (global-font-lock-mode):
18626 * files.el (temporary-file-directory)
18627 (small-temporary-file-directory, auto-save-file-name-transforms):
18628 * epa-hook.el (auto-encryption-mode):
18629 * composite.el (global-auto-composition-mode):
18630 Use custom-initialize-delay.
18631 * startup.el (command-line): Don't explicitly call
18632 custom-reevaluate-setting for all the above vars.
18633 * custom.el (custom-initialize-safe-set)
18634 (custom-initialize-safe-default): Delete.
18636 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18638 * term/x-win.el (x-initialize-window-system):
18639 * term/w32-win.el (w32-initialize-window-system):
18640 * term/ns-win.el (ns-initialize-window-system): Don't call
18641 mouse-wheel-mode since it's enabled globally by default already.
18643 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18644 actually define the variable, but only silences the byte-compiler.
18645 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18646 before looking it up.
18647 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18650 2009-09-12 Glenn Morris <rgm@gnu.org>
18652 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18654 (elint-add-required-env): Don't beep on error.
18655 (elint-forms): In case of error, return ENV unchanged.
18656 (elint-init-env): Skip non-list forms.
18657 (elint-log): Handle unknown file positions.
18659 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18661 * epg.el (epg-make-context): Add autoload cookie.
18662 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18663 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18664 (epg-verify-string, epg-start-sign, epg-sign-file)
18665 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18666 (epg-encrypt-string, epg-start-export-keys)
18667 (epg-export-keys-to-file, epg-export-keys-to-string)
18668 (epg-start-import-keys, epg-import-keys-from-file)
18669 (epg-import-keys-from-string, epg-start-receive-keys)
18670 (epg-receive-keys, epg-import-keys-from-server)
18671 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18672 (epg-sign-keys, epg-start-generate-key)
18673 (epg-generate-key-from-file, epg-generate-key-from-string):
18674 Remove autoload cookie.
18676 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18678 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18679 reevaluation of trash-directory.
18681 * mwheel.el: Fix last change.
18682 (mouse-wheel-mode): New defvar.
18683 (mouse-wheel-mode): Remove autoload cookie.
18685 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18687 * mwheel.el (mwheel-installed-bindings): New var.
18688 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18689 the bindings we set last time. Use custom-initialize-delay.
18690 * loadup.el: Load mwheel after term/*-win.el.
18691 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18692 and mouse-wheel-up-event now that their first evaluation is done
18693 sufficiently late to be correct.
18695 * startup.el (tutorial-directory): Make it a defcustom.
18696 Use custom-initialize-delay rather than eval-at-startup to set it.
18697 * image.el (image-load-path): Make it a defcustom.
18698 Use custom-initialize-delay rather than eval-at-startup to set it.
18699 * subr.el (eval-at-startup): Remove.
18700 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18702 * subr.el (do-after-load-evaluation): Warn the user after loading an
18705 2009-09-12 Glenn Morris <rgm@gnu.org>
18707 * proced.el (proced-mark-alt): Remove alias.
18708 (proced-mode-map): Remove proced-mark-alt.
18710 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18711 Elint file and directory. Remove initialization entry.
18713 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18715 (elint-current-buffer): Set mode-line-process.
18716 (elint-init-env): Handle define-derived-mode.
18717 Fix declare-function with unspecified arglist. Guard against odd
18718 defalias statements (eg iso-insert's 8859-1-map).
18719 (elint-add-required-env): Use a temp buffer.
18720 (elint-form): Just print the function/macro name, not the whole form.
18721 Return env unchanged if we fail to parse a macro.
18722 (elint-forms): Guard against parse errors.
18723 (elint-output): New function, to handle batch mode.
18724 (elint-log-message): Add optional argument. Use elint-output.
18725 (elint-set-mode-line): New function.
18727 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18729 * emacs-lisp/elp.el (elp-not-profilable): Add more
18730 functions (Bug#4233).
18732 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18734 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18735 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18737 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18739 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18740 (gdb-var-list-children): Use json parsing.
18742 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18744 * progmodes/js.el (js--proper-indentation): Handle the case where
18745 char-before is null. Reported by Deniz Dogan.
18747 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18749 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18751 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18753 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18754 (epg-digest-algorithm-alist): Add SHA224.
18755 (epg-context-set-passphrase-callback)
18756 (epg-context-set-progress-callback): Add description about
18759 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18761 * custom.el (custom-delayed-init-variables): New var.
18762 (custom-initialize-delay): New function.
18763 * startup.el (command-line): "Re"evaluate all vars in
18764 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18765 explicitly any more.
18766 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18767 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18769 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18771 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18773 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18774 (gdb-var-update-handler): Use json parsing.
18776 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18778 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18779 decode annotated text, regardless of language environment. (Bug#2741)
18781 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18783 * Makefile.in (autoloads): Make rmail.el writable as well.
18785 2009-09-11 Glenn Morris <rgm@gnu.org>
18787 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18789 * dired.el: Regenerate with extracted autoloads.
18790 * Makefile.in (autoloads): Make dired.el writable.
18792 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18793 * ibuffer.el: Regenerate with extracted autoloads.
18794 * Makefile.in (autoloads): Make ibuffer.el writable.
18796 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18797 * version.el (emacs-copyright, emacs-major-version)
18798 (emacs-minor-version): Reformat doc-strings for make-docfile.
18800 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18801 functions and variables, since they must be stuff specific to some other
18803 (apropos-print): Make mouse-click message less specific about button.
18805 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18806 that records where a macro was defined.
18807 * help-fns.el (describe-function-1): Mention if a function has a
18809 * help-mode.el (help-function-cmacro): New button.
18811 * locate.el (top-level): Always require dired.
18812 (locate-mode-map): Initialize inside the defvar.
18814 * net/ange-ftp.el (dired-compress-file): Declare.
18815 (ange-ftp-dired-compress-file): Add doc string.
18817 * term/ns-win.el (x-display-name, x-setup-function-keys):
18818 Unify doc-strings with X versions.
18820 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18822 * emulation/crisp.el (crisp-mode-map): Move initialization
18824 (crisp-mode): Use define-minor-mode.
18826 * progmodes/xscheme.el (xscheme-evaluation-commands):
18827 Put a :advertised-binding property rather than using
18828 advertised-xscheme-send-previous-expression.
18829 (advertised-xscheme-send-previous-expression): Declare obsolete.
18830 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18832 (crisp-mode): Add corresponding bindings to
18833 undo's :advertised-binding instead.
18834 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18835 than using dired-advertised-find-file.
18836 (dired-advertised-find-file):
18837 * simple.el (advertised-undo):
18838 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18839 (widget-keymap): Put a :advertised-binding property rather
18840 than using advertised-widget-backward.
18841 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18842 than using advertised-undo.
18843 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18845 2009-09-10 Simon South <ssouth@slowcomputing.org>
18847 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18848 Mark mode is enabled and region is active; otherwise indent or
18849 insert TAB as usual.
18850 (delphi-mode): Update description of TAB-key binding.
18852 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18854 * subr.el (define-key-rebound-commands): Mark obsolete.
18855 * startup.el (precompute-menubar-bindings): Remove.
18856 (normal-top-level): Remove obsolete code that tried to precompute
18858 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18859 define-key-rebound-commands and precompute-menubar-bindings.
18861 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18863 * net/imap.el (imap-interactive-login): Better messages.
18864 (imap-open): Fix bug with renamed buffer on reconnect.
18865 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18866 for easier debugging and cleaner code. On successful (guessed based on
18867 server capabilities) secondary authentication, set imap-state
18869 (imap-last-authenticator): Define imap-last-authenticator as a variable
18872 2009-09-10 Glenn Morris <rgm@gnu.org>
18874 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18876 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18877 (byte-compile-file-form-autoload): Don't warn about unknown functions
18878 where the autoload statement comes after the use.
18879 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18880 that any handlers inside the body (eg require) are in turn respected.
18882 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18885 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18886 and syntax and abbrev tables basic docs, if they don't have any.
18888 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18890 * international/mule-cmds.el (top-level): Require cl when compiling.
18891 (view-hello-file): Use default-value rather than
18892 default-enable-multibyte-characters.
18894 * progmodes/fortran.el: Move all safe and risky properties into the
18897 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18898 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18899 * mail/undigest.el:
18900 Put autoloads in rmail.el rather than loaddefs.el.
18901 * mail/rmail.el: Regenerate with extracted autoloads.
18903 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18904 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18906 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18908 Reported in thread for Bug#4375.
18909 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18910 "-data-evaluate-expression" instead of print.
18911 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18912 (gdb-tooltip-print): Parse output from above MI command.
18913 (gdb): Revert 2009-08-11 change. User should detach inferior
18916 Remove the word "separate" from IO functions as inferior
18917 output is now never displayed in the GUD buffer.
18919 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18921 * startup.el (command-line-normalize-file-name): On Windows and
18922 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18924 2009-09-10 Juri Linkov <juri@jurta.org>
18926 * isearch.el (isearch-text-char-description): Propertize escape
18927 character sequences with the `escape-glyph' face. (Bug#4344)
18929 * simple.el (shell-command): Set asynchronous process filter to
18930 `comint-output-filter'. (Bug#4343)
18932 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18933 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18934 the list. Move "asm" to the bottom.
18935 (grep-find-ignored-directories): Add `choice' with nil value
18936 to empty the list easily.
18937 (grep-find-ignored-files): New option.
18938 (grep-files-history): Set to nil by default instead of '("ch" "el").
18939 (grep-compute-defaults): Add "<X>" to `grep-template'.
18940 (grep-read-files): Bind new local variables `default-alias' and
18941 `default-extension'. Use a list of default values for the file prompt.
18942 (lgrep): Add `--exclude=' command line options composed from
18943 `grep-find-ignored-files'.
18944 (rgrep): Add `-name' command line options composed from
18945 `grep-find-ignored-files'. (Bug#4301)
18947 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18949 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18952 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18954 * calendar/time-date.el (autoload):
18955 Expand define-obsolete-function-alias into defalias and make-obsolete
18956 for old Emacsen that Gnus supports.
18957 (with-no-warnings): Define it for old Emacsen.
18958 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18960 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18961 float-time is available; suppress compile warning for time-to-seconds.
18963 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18965 * net/imap.el (imap-message-map): Docstring fix.
18967 2009-09-09 Glenn Morris <rgm@gnu.org>
18969 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18970 line numbers too. (Bug#4374)
18972 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18974 * smerge-mode.el (smerge-remove-props, smerge-refine):
18975 Use with-silent-modifications (bug#4342).
18977 * subr.el (with-silent-modifications): New macro.
18979 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18981 * files.el (top-level): Require `cl' when compiling.
18983 2009-09-07 Glenn Morris <rgm@gnu.org>
18985 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18987 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18988 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18990 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18992 * vc-git.el (vc-git-annotate-command): Use separator to parse
18993 arguments correctly.
18995 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18997 * proced.el (proced-mode): Doc fix.
18999 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19001 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19003 (tramp-do-file-attributes-with-ls): Check for file existence at
19005 (tramp-do-file-attributes-with-stat): Likewise.
19006 (tramp-convert-file-attributes): Return nil when attr is nil.
19008 2009-09-05 Glenn Morris <rgm@gnu.org>
19010 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19011 properties to this button.
19012 (diary-fancy-display): Don't extend the button to the final newline.
19013 (diary-fancy-display-mode): Continue to define "q" as a local key.
19015 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19018 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19020 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19021 (byte-compile-dest-file-function): New option.
19022 (byte-compile-dest-file): Doc fix.
19023 Obey byte-compile-dest-file-function.
19024 (byte-compile-cl-file-p): New function.
19025 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19026 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19027 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19028 than for file being previously loaded.
19029 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19030 (byte-compile-file-form-require): Handle the case where requiring a file
19031 indirectly causes CL to be loaded.
19033 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19035 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19036 before killing the old buffer, since by the time `kill-buffer' is
19037 run so many buffer variables have been set to nil that it may not
19038 behave as expected. (Bug#4061)
19040 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19042 * files.el (find-alternate-file): If the old buffer is modified
19043 and visiting a file, behave similarly to `kill-buffer' when
19044 killing it, thus reverting to the pre-1.878 behavior; see
19045 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19046 for discussion. Also, consult `buffer-file-name' as a variable
19047 not as a function, for consistency with the rest of the code.
19049 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19051 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19052 also when adding a new directory.
19054 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19057 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19059 * files.el (locate-file-completion-table): Make it provide boundary
19060 information, so partial-completion works better.
19062 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19064 * mail/footnote.el (Footnote-text-under-cursor):
19065 Check footnote-text-marker-alist before using it (bug#4324).
19067 2009-09-04 Glenn Morris <rgm@gnu.org>
19069 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19070 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19071 * play/solitaire.el, play/tetris.el:
19072 Remove leading * from defcustom and defface docs.
19074 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19076 (diary-fancy-overriding-map): New variable.
19077 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19080 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19083 2009-09-03 Glenn Morris <rgm@gnu.org>
19085 * arc-mode.el (archive-mode):
19086 * dos-fns.el (set-default-process-coding-system):
19087 * man.el (Man-getpage-in-background):
19088 * menu-bar.el (menu-bar-describe-menu):
19089 * server.el (server-process-filter):
19090 * startup.el (command-line):
19091 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19092 * w32-fns.el (set-default-process-coding-system):
19093 * x-dnd.el (x-dnd-handle-file-name):
19094 * international/mule-cmds.el (mule-menu-keymap)
19095 (set-default-coding-systems, language-info-alist, set-language-info)
19096 (set-language-environment, standard-display-european-internal)
19097 (set-locale-environment):
19098 * international/mule-diag.el (mule-diag):
19099 * mail/emacsbug.el (report-emacs-bug):
19100 * mail/rmail.el (rmail-mode):
19101 * mail/sendmail.el (mail-setup):
19102 Use default-value rather than default-enable-multibyte-characters.
19104 * progmodes/f90.el: Move all safe properties into the defcustoms.
19105 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19107 * calendar/appt.el (appt-check):
19108 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19109 (diary-check-diary-file, diary-list-entries)
19110 (diary-include-other-diary-files, diary-simple-display)
19111 (diary-fancy-display, diary-print-entries)
19112 (diary-mark-included-diary-files, diary-make-entry):
19113 Don't call substitute-in-file-name on diary-file.
19115 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19116 Stefan Monnier <monnier@iro.umontreal.ca>
19118 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19119 (footnote-mode-map): Move initialization into the declaration.
19120 (footnote-minor-mode-map): Define it rather than changing global-map.
19121 (footnote-mode): Use define-minor-mode.
19123 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19125 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19126 (tramp-do-file-attributes-with-perl)
19127 (tramp-do-file-attributes-with-stat): Rename from
19128 `tramp-handle-file-attributes-with-*'.
19129 (tramp-handle-file-attributes): Use them.
19130 (tramp-do-directory-files-and-attributes-with-perl)
19131 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19132 `tramp-handle-directory-files-and-attributes-with-*'.
19133 (tramp-handle-directory-files-and-attributes): Use them.
19134 (tramp-method-out-of-band-p): Additional parameter SIZE.
19135 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19136 (tramp-handle-write-region): Use it.
19137 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19138 (tramp-handle-vc-registered): Check, whether the first run did
19139 return files to be tested.
19140 (tramp-advice-make-auto-save-file-name): Do not call directly
19141 `tramp-handle-make-auto-save-file-name', because this would bypass
19142 the locking mechanism.
19144 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19145 (file-remote-p, process-file, start-file-process, set-file-times)
19146 (tramp-compat-file-attributes): Compatibility functions shall not
19147 call directly `tramp-handle-*', because this would bypass the
19149 (tramp-compat-number-sequence): New defun.
19151 2009-09-02 Glenn Morris <rgm@gnu.org>
19153 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19154 alias for float-time.
19155 (time-to-number-of-days): In Emacs, use float-time.
19156 * net/newst-backend.el (time-add): Suppress warnings from compat
19158 * time.el (emacs-uptime, emacs-init-time):
19159 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19160 Use float-time rather than time-to-seconds.
19162 * minibuffer.el (completion-initials-expand): Fix typo.
19164 * faces.el (modeline, modeline-inactive, modeline-highlight)
19165 (modeline-buffer-id):
19166 * info.el (info-menu-5): Mark these face aliases as obsolete.
19168 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19170 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19172 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19173 no "--thread" option.
19174 (gdb-stopped): Don't print "Switched to thread" message when it is
19177 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19179 * minibuffer.el (completion-try-completion)
19180 (completion-all-completions): Remove ill-defined (and
19181 mistakenly installed and luckily never used nor documented)
19182 `completion-styles' property.
19183 (completion-initials-expand, completion-initials-all-completions)
19184 (completion-initials-try-completion): New functions.
19185 (completion-styles-alist): Add doc to each entry.
19186 Add new `initials' entry.
19188 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19190 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19191 MI command -var-evaluate-expression.
19192 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19193 and tweak for case of string child.
19194 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19196 2009-09-01 Glenn Morris <rgm@gnu.org>
19198 * add-log.el (change-log-date-face, change-log-name-face)
19199 (change-log-email-face, change-log-file-face, change-log-list-face)
19200 (change-log-conditionals-face, change-log-function-face)
19201 (change-log-acknowledgement-face):
19202 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19203 (custom-modified-face, custom-set-face, custom-changed-face)
19204 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19205 (custom-documentation-face, custom-state-face, custom-comment-face)
19206 (custom-comment-tag-face, custom-variable-tag-face)
19207 (custom-variable-button-face, custom-face-tag-face)
19208 (custom-group-tag-face-1, custom-group-tag-face):
19209 * diff-mode.el (diff-header-face, diff-file-header-face)
19210 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19211 (diff-added-face, diff-changed-face, diff-function-face)
19212 (diff-context-face, diff-nonexistent-face):
19213 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19214 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19215 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19216 (Info-title-4-face):
19217 * isearch.el (isearch-lazy-highlight-face):
19218 * log-view.el (log-view-file-face, log-view-message-face):
19219 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19220 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19221 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19223 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19224 (smerge-base-face, smerge-markers-face):
19225 * wid-edit.el (widget-documentation-face, widget-button-face)
19226 (widget-field-face, widget-single-line-field-face)
19227 (widget-inactive-face, widget-button-pressed-face):
19228 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19229 (woman-addition-face):
19230 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19231 (eshell-ls-executable-face, eshell-ls-readonly-face)
19232 (eshell-ls-unreadable-face, eshell-ls-special-face)
19233 (eshell-ls-missing-face, eshell-ls-archive-face)
19234 (eshell-ls-backup-face, eshell-ls-product-face)
19235 (eshell-ls-clutter-face):
19236 * eshell/em-prompt.el (eshell-prompt-face):
19237 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19238 * obsolete/old-whitespace.el (whitespace-highlight-face):
19239 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19240 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19241 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19242 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19243 (antlr-font-lock-literal-face):
19244 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19245 (ebrowse-root-class-face, ebrowse-file-name-face)
19246 (ebrowse-default-face, ebrowse-member-attribute-face)
19247 (ebrowse-member-class-face, ebrowse-progress-face):
19248 * progmodes/make-mode.el (makefile-space-face):
19249 * progmodes/sh-script.el (sh-heredoc-face):
19250 * textmodes/flyspell.el (flyspell-incorrect-face)
19251 (flyspell-duplicate-face):
19252 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19253 * textmodes/texinfo.el (texinfo-heading-face):
19254 Mark face aliases with "-face" suffix as obsolete.
19256 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19259 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19260 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19261 easy-menu-define wants to modify these.
19263 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19265 * net/browse-url.el (browse-url-file-url):
19266 * term/internal.el (dos-codepage-setup):
19267 Use default-value rather than default-enable-multibyte-characters.
19269 * progmodes/etags.el (etags-goto-tag-location):
19270 * progmodes/flymake.el (flymake-highlight-line)
19271 (flymake-goto-file-and-line, flymake-goto-line):
19272 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19273 (gdb-goto-breakpoint):
19274 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19275 * progmodes/python.el (python-find-function)
19276 (python-pdbtrack-track-stack-file):
19277 * progmodes/verilog-mode.el (verilog-surelint-off):
19278 * term/ns-win.el (ns-open-file-select-line):
19279 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19280 Use forward-line rather than goto-line.
19282 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19283 * textmodes/reftex-index.el (reftex-display-index):
19284 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19285 * textmodes/reftex-toc.el (reftex-toc):
19286 Remove unnecessary bindings of default-major-mode (all are followed by
19287 major-mode check and possible mode switch).
19289 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19291 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19292 Handle watchpoints (bug#4282).
19293 (def-gdb-thread-buffer-command): Enable thread to be selected by
19294 clicking without selecting threads buffer first.
19295 (gdb-current-context-command): Use selected frame so that "up",
19296 "down" etc work in the GUD buffer.
19297 (gdb-update): Find selected frame before rendering stack buffer.
19298 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19300 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19302 * progmodes/sym-comp.el (displayed-completions): Remove.
19303 (symbol-complete): Use minibuffer-complete.
19305 2009-08-31 Glenn Morris <rgm@gnu.org>
19307 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19309 * apropos.el (apropos-symbols-internal):
19310 Handle (obsolete) face aliases.
19312 * faces.el (describe-face): Adjust the output format to be more like
19313 describe-variable, and to mention (obsolete) face aliases.
19314 Adjust the whitespace so that help-setup-xref works.
19316 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19317 * calendar/diary-lib.el (diary-button-face):
19318 Mark these face aliases as obsolete.
19320 * calendar/calendar.el (calendar-today): Doc fix.
19322 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19324 * progmodes/gdb-mi.el (gdb-control-all-threads)
19325 (gdb-control-current-thread): Force tool bar update.
19326 (gdb-non-stop-handler): New function.
19327 (gdb-init-1): Use it to test if non-stop mode is supported.
19328 Remove unused gdbmi buffer type.
19330 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19332 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19333 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19335 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19337 * comint.el (comint-exec-1): Check command is non-null first.
19338 Part of gdb-mi.el change (2009-08-28).
19340 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19342 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19344 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19346 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19347 instead of `dolist' to avoid a recursive require when bootstrapping.
19349 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19351 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19353 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19355 * net/imap.el (imap-send-command): Simplify.
19356 (imap-wait-for-tag): point-max -> buffer-size.
19358 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19360 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19361 with constant argument.
19363 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19365 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19367 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19368 Change default, since most of our files don't have a history.
19369 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19372 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19375 * calc/calc.el: Improve commenting convention.
19376 (calc-digit-map, toplevel): Simplify.
19378 * comint.el (comint-insert-input): Be careful to only set point if we
19379 don't delegate to some other command.
19381 * proced.el (proced-signal-list): Make it an alist.
19382 (proced-grammar-alist): Capitalize names.
19383 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19384 Disable undo manually and make it read-only.
19385 Use completion-annotate-function.
19387 * minibuffer.el (minibuffer-message): If the current buffer is not
19388 a minibuffer, insert the message in the echo area rather than at the
19390 (completion-annotate-function): New variable.
19391 (minibuffer-completion-help): Use it.
19392 (completion--embedded-envvar-table): Environment vars are
19393 always case-sensitive.
19395 2009-08-30 Glenn Morris <rgm@gnu.org>
19397 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19398 from fortran-current-defun.
19399 (fortran-beginning-of-subprogram): Be more precise about finding the
19400 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19401 (fortran-end-of-subprogram): Simplify.
19402 (fortran-current-defun): Use fortran-start-prog-re.
19404 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19406 * subr.el (do-after-load-evaluation): Simplify.
19408 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19410 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19412 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19413 (vc-rcs-print-log): Use it.
19415 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19417 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19419 * paths.el (abbrev-file-name): Move to abbrev.el.
19420 * abbrev.el (abbrev-file-name): Move from paths.el.
19421 Obey user-emacs-directory.
19422 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19423 user-emacs-directory.
19424 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19425 abbrev-file-name and calc-settings-file any more.
19426 * startup.el (command-line): Recompute abbrev-file-name and
19427 abbreviated-home-dir.
19428 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19429 of the special code for when C-h bindings haven't been changed.
19430 (display-startup-echo-area-message): Use with-current-buffer.
19431 (command-line-1): Use a list of strings, rather than a list of lists
19432 of strings for longopts.
19434 * files.el (get-free-disk-space): Use / for default-directory.
19436 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19437 Use with-current-buffer.
19439 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19440 Recognize immutable variables like most-positive-fixnum.
19441 (byte-compile-setq-default): Check and warn if trying to assign
19442 to an immutable variable, or a non-variable.
19444 * progmodes/cc-vars.el (c-comment-continuation-stars):
19445 * progmodes/cc-engine.el (c-looking-at-bos):
19446 * progmodes/cc-cmds.el (c-toggle-auto-state)
19447 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19448 (c-comment-line-break-function): Add version of obsolescence.
19450 2009-08-28 Juri Linkov <juri@jurta.org>
19452 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19453 associated with `archive-mode'.
19455 * image.el (image-type-header-regexps): Use only JPEG magic number
19456 to determine JPEG images, and don't use `image-jpeg-p' because
19457 Emacs can display non-JFIF non-Exif JPEG images.
19459 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19461 * arc-mode.el (archive-mode):
19462 * emacs-lisp/re-builder.el (re-builder-unload-function):
19463 Protect against the default value of `major-mode' being nil.
19465 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19467 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19468 Fix typos in docstrings.
19470 * progmodes/js.el (js--macro-decl-re): Doc fix.
19471 (js--plain-method-re, js--split-name): Refloc docstring.
19472 (js--class-styles, js--make-merged-item, js--splice-into-items):
19473 Fix typos in docstrings; reflow docstrings.
19474 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19475 (js--variable-decl-matcher, js--inside-pitem-p)
19476 (js--parse-state-at-point, js--get-all-known-symbols)
19477 (js--symbol-history, js-find-symbol, js--js-references)
19478 (js--moz-interactor, js--js-encode-value, js--read-tab):
19479 Fix typos in docstrings.
19481 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19483 * textmodes/reftex.el (reftex-get-file-buffer-force):
19484 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19485 * emulation/viper.el (viper-go-away, viper-set-hooks):
19486 * emacs-lisp/re-builder.el (re-builder-unload-function):
19487 * emacs-lisp/bytecomp.el (byte-compile-file):
19488 * ses.el (ses-unload-function):
19489 * hexl.el (hexl-find-file):
19490 * files.el (normal-mode):
19491 * ehelp.el (with-electric-help):
19492 * autoinsert.el (auto-insert-alist):
19493 * arc-mode.el (archive-mode):
19494 Use (default-value 'major-mode) instead of default-major-mode.
19496 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19497 * international/mule.el (load-with-code-conversion):
19498 * emacs-lisp/debug.el (debug):
19499 * ediff-vers.el (ediff-rcs-get-output-buffer):
19500 * dired.el (dired-internal-noselect): Don't let-bind
19501 default-major-mode around code that doesn't use it.
19502 E.g. buffer creation via get-buffer-create doesn't use it.
19504 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19506 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19507 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19508 when writing the temp file. Otherwise, epa-file gets confused.
19509 (tramp-register-file-name-handlers): Make it a defun. Move also
19510 `epa-file-handler' to the front of `file-name-handler-alist'.
19512 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19514 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19515 start right after a ^M.
19516 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19517 (tramp-completion-file-name-regexp-separate)
19518 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19519 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19520 Don't modify last-coding-system-used by accident.
19521 (tramp-completion-file-name-handler): Apply the checks here,
19522 instead during registration.
19523 (tramp-register-file-name-handlers): Rename from
19524 `tramp-register-file-name-handler'. Register both
19525 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19526 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19528 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19530 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19531 Remove variable ...
19532 (gdb-init-1, gdb-display-separate-io-buffer)
19533 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19535 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19536 (gdb-inferior-filter): Use comint-output-filter to stop
19537 echoing and remove ^M characters.
19539 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19541 * emulation/viper-init.el (viper-restore-cursor-type):
19542 * emulation/cua-base.el (cua--update-indications):
19543 Replace default-cursor-type with (default-value 'cursor-type).
19545 * mail/sendmail.el (mail-recover-1):
19546 * international/mule-diag.el (describe-current-coding-system-briefly)
19547 (describe-current-coding-system):
19548 * international/mule-cmds.el (select-safe-coding-system)
19549 (select-message-coding-system)
19550 (set-language-environment-coding-systems, set-locale-environment):
19551 * hexl.el (hexl-insert-multibyte-char):
19552 * dos-w32.el (find-buffer-file-type-coding-system):
19553 * simple.el (what-cursor-position):
19554 Replace uses of default-buffer-file-coding-system
19555 with (default-value 'buffer-file-coding-system).
19557 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19558 Replace uses of default-cursor-in-non-selected-windows
19559 with (default-value 'cursor-in-non-selected-windows).
19560 Use with-current-buffer.
19562 * mail/feedmail.el: Use CL macros.
19563 (feedmail-run-the-queue, feedmail-send-it-immediately):
19564 * dos-w32.el (find-buffer-file-type): Replace uses of
19565 default-buffer-file-type with (default-value 'buffer-file-type).
19567 2009-08-28 Glenn Morris <rgm@gnu.org>
19569 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19570 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19571 Use default-value of major-mode rather than default-major-mode.
19573 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19575 * Makefile.in (update-elcfiles): Report left over elc files.
19577 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19578 expand-file-name and with-current-buffer.
19579 (mail-get-names, mail-directory): Use with-current-buffer.
19581 * vc.el (vc-read-revision): New function.
19582 (vc-version-diff, vc-merge): Use it.
19584 2009-08-27 Sam Steingold <sds@gnu.org>
19586 * simple.el (kill-do-not-save-duplicates): New user option.
19587 (kill-new): When it is non-nil, and the new string is the same as
19588 the latest kill, set replace to t to avoid duplicates in kill-ring.
19590 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19592 * net/tramp.el (tramp-handle-process-file): Do not flush all
19593 caches when `process-file-side-effects' is set.
19594 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19595 instead of `tramp-find-file-exists-command'.
19596 Unset `process-file-side-effects'.
19598 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19600 * net/tramp.el (tramp-methods): New method "rsyncc".
19601 (top): Add completion function for "rsyncc".
19602 (tramp-message-show-message): New defvar.
19603 (tramp-message, tramp-error): Use it.
19604 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19606 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19607 `tramp-methods' entry `copy-env' of "rsyncc".
19608 (tramp-vc-registered-read-file-names): New defconst.
19609 (tramp-vc-registered-file-names): New defvar.
19610 (tramp-handle-vc-registered): Implement optimization strategy.
19611 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19612 (tramp-vc-file-name-handler): New defun.
19613 (tramp-get-ls-command, tramp-get-test-command)
19614 (tramp-get-file-exists-command, tramp-get-remote-ln)
19615 (tramp-get-remote-perl, tramp-get-remote-stat)
19616 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19618 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19619 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19621 (tramp-get-file-property): Check for timestamps in
19622 `tramp-cache-inhibit-cache'.
19623 (tramp-set-file-property): Write timestamp.
19625 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19627 * language/japan-util.el (japanese-symbol-table): Add entries for
19630 * international/characters.el: Add category `j' to cp932-2-byte.
19632 2009-08-27 Kenichi Handa <handa@m17n.org>
19634 * international/fontset.el (build-default-fontset-data): New macro.
19635 (setup-default-fontset): Use build-default-fontset-data for CJK,
19636 tibetan, ethiopic, and ipa.
19638 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19640 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19641 (enable-multibyte-characters): Not customizable any more.
19643 * subr.el (default-mode-line-format, default-header-line-format)
19644 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19645 (default-direction-reversed, default-truncate-lines)
19646 (default-left-margin, default-tab-width, default-case-fold-search)
19647 (default-left-margin-width, default-right-margin-width)
19648 (default-left-fringe-width, default-right-fringe-width)
19649 (default-fringes-outside-margins, default-scroll-bar-width)
19650 (default-vertical-scroll-bar, default-indicate-empty-lines)
19651 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19652 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19653 (default-scroll-down-aggressively, default-fill-column)
19654 (default-cursor-type, default-buffer-file-type)
19655 (default-cursor-in-non-selected-windows)
19656 (default-buffer-file-coding-system, default-major-mode)
19657 (default-enable-multibyte-characters): Mark as obsolete.
19659 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19661 * vc-dir.el (vc-dir-update): Remove debug helper.
19663 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19665 2009-08-26 Sam Steingold <sds@gnu.org>
19667 * simple.el (save-interprogram-paste-before-kill): New user option.
19668 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19669 save the interprogram-paste into kill-ring before overriding it
19670 with the Emacs kill.
19672 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19674 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19675 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19676 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19677 and move to vc-rcs.el.
19678 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19680 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19681 (vc-rcs-update-changelog): Remove.
19682 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19683 and move to vc-rcs.el.
19685 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19686 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19688 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19689 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19690 vc.el, renamed to be RCS specific.
19692 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19694 (vc-cvs-update-changelog): Move here from vc.el.
19696 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19699 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19701 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19703 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19705 * vc-git.el (vc-git-register): Use "git add" for directories.
19706 (vc-git-stash, vc-git-stash-show): New functions.
19707 (vc-git-extra-menu-map): Bind them.
19709 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19710 directory correctly in case the item is a directory itself.
19712 * vc.el: Document the desired behavior for reverted files in the
19714 (vc-default-prettify-state-info): Remove function, unused.
19716 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19718 2009-08-26 Glenn Morris <rgm@gnu.org>
19720 * bindings.el (standard-mode-line-format): Reposition dashes in
19721 which-func entry. (Bug#4217)
19723 * files.el (enable-local-variables, enable-local-eval)
19724 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19726 (auto-mode-alist, ignored-local-variables)
19727 (save-some-buffers-action-alist): Move risky declarations to the
19729 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19730 (font-lock-defaults, format-alist, imenu--index-alist)
19731 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19732 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19733 (mode-line-modified, mode-line-mule-info, mode-line-position)
19734 (mode-line-process, mode-line-remote, outline-level)
19735 (parse-time-rules, rmail-output-file-alist)
19736 (special-display-buffer-names, vc-mode):
19737 Move risky declarations to the relevant files.
19738 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19739 (mode-line-modified, mode-line-process, mode-line-position)
19740 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19741 * font-core.el (font-lock-defaults):
19742 * format.el (format-alist):
19743 * vc-hooks.el (vc-mode):
19744 * window.el (special-display-buffer-names):
19745 * international/mule-cmds.el (input-method-alist):
19746 Define riskiness here (dumped file) rather than in files.el.
19747 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19748 * imenu.el (imenu-generic-expression, imenu--index-alist):
19749 * outline.el (outline-level):
19750 * time.el (display-time-string):
19751 * calendar/parse-time.el (parse-time-rules):
19752 * mail/rmailout.el (rmail-output-file-alist):
19753 Autoload riskiness here, rather than placing in files.el.
19755 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19757 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19759 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19761 * simple.el (process-file-side-effects): New defvar.
19763 * dired-aux.el (dired-show-file-type):
19764 * vc.el (vc-diff-internal):
19765 * vc-arch.el (vc-arch-diff):
19766 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19767 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19768 * vc-git.el (vc-git-registered, vc-git-working-revision)
19769 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19770 (vc-git--empty-db-p):
19771 * vc-hooks.el (vc-user-login-name):
19772 * vc-svn.el (vc-svn-registered, vc-svn-state)
19773 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19774 * progmodes/grep.el (grep-probe): Let-bind
19775 `process-file-side-effects' with nil.
19777 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19779 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19780 daemon. Replace ping by checking for running service for bluez
19781 and zeroconf. (Bug#4239)
19783 2009-08-25 Kevin Ryde <user42@zip.com.au>
19785 * net/dig.el (dig): Add autoload cookie.
19787 2009-08-25 Glenn Morris <rgm@gnu.org>
19789 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19790 load-history for absolute file-names.
19791 (byte-compile-file-form-require): Warn about use of the cl package.
19793 * format.el (format-alist): Doc fix.
19795 * play/bubbles.el (top-level): Don't require cl at run-time.
19797 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19800 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19802 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19804 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19806 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19808 * calc/calc-alg.el (math-trig-rewrite)
19809 (math-hyperbolic-trig-rewrite): New functions.
19810 (calc-simplify): Simplify trig functions when asked.
19812 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19814 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19816 2009-08-24 Kenichi Handa <handa@m17n.org>
19818 * language/ind-util.el (mapthread): Delete it.
19819 (combinatorial): New function.
19820 (indian--puthash-cv): Use combinatorial instead of mapthread.
19822 2009-08-22 Kevin Ryde <user42@zip.com.au>
19824 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19825 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19826 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19827 Clarify docstring that the value is strings not symbols.
19828 (checkdoc-list-of-strings-p): New function.
19830 2009-08-22 Glenn Morris <rgm@gnu.org>
19832 * files.el (auto-mode-alist):
19833 * hippie-exp.el (he-concat-directory-file-name):
19834 * lpr.el (lpr-windows-system, printer-name):
19835 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19836 * ps-print.el (ps-windows-system):
19837 * startup.el (command-line):
19838 * emulation/viper-ex.el (viper-glob-function):
19839 * international/mule-cmds.el (set-language-environment-coding-systems):
19840 * net/ange-ftp.el (ange-ftp-write-region):
19841 * obsolete/fast-lock.el (fast-lock-cache-name):
19842 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19843 unisoft-unix, vax-vms, win32, w32.
19845 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19846 given name if the pattern is not more specific.
19848 * calendar/lunar.el (lunar-phase-names): New option.
19849 (lunar-phase): Doc fix.
19850 (lunar-cycles-per-year): New constant.
19851 (lunar-index): New function.
19852 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19853 (lunar-phase-name): Use lunar-phase-names.
19854 (calendar-lunar-phases): Use format.
19855 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19857 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19858 Copy imenu-example--name-and-position function here for own use.
19859 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19861 * bs.el (bs--redisplay):
19862 * cus-edit.el (custom-redraw):
19863 * ibuffer.el (ibuffer-bury-buffer):
19864 * server.el (server-goto-line-column):
19865 * startup.el (command-line-1):
19866 * strokes.el (strokes-xpm-for-stroke):
19867 * term.el (term-display-buffer-line):
19868 * view.el (View-goto-line):
19869 * calc/calc.el (calc-do, calc-trail-buffer):
19870 * play/gamegrid.el (gamegrid-add-score-insecure):
19871 * progmodes/ada-mode.el (ada-compile-goto-error):
19872 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19873 (ebrowse-select-1st-to-9nth):
19874 * progmodes/cperl-mode.el (cperl-time-fontification):
19875 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19876 * progmodes/gud.el (gud-display-line):
19877 (idlwave-shell-display-line):
19878 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19879 * progmodes/make-mode.el (makefile-browser-toggle):
19880 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19881 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19882 * textmodes/picture.el (picture-draw-rectangle):
19883 * textmodes/reftex-index.el (reftex-index-goto-letter):
19884 (reftex-select-jump-to-previous):
19885 * textmodes/reftex-sel.el (reftex-find-start-point)
19886 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19887 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19888 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19889 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19890 * textmodes/two-column.el (2C-associated-buffer):
19891 Use forward-line rather than goto-line.
19893 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19896 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19897 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19898 (quick-check-list-to-regexp): Declare.
19900 * progmodes/make-mode.el (makefile-browser-insert-selection):
19901 Use goto-char rather than goto-line.
19903 * progmodes/prolog.el (compilation-error-regexp-alist)
19904 (compilation-forget-errors): Declare.
19906 2009-08-22 Juri Linkov <juri@jurta.org>
19908 * progmodes/grep.el (lgrep, rgrep): At the beginning
19909 set `dir' to `default-directory' unless `dir' is a non-nil
19910 readable directory. (Bug#4052)
19911 (lgrep, rgrep): Change a weird way to report an error
19912 from using `read-string' to using `error'.
19913 Instead of using interactive arguments in the function body,
19914 add new argument `confirm'.
19916 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19918 * textmodes/remember.el (remember-buffer):
19919 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19920 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19921 (icalendar-extract-ical-from-buffer):
19922 * net/newst-treeview.el (newsticker-groups-filename):
19923 * net/newst-backend.el (newsticker-cache-filename):
19924 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19925 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19926 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19927 (speedbar-buffers-line-path, speedbar-path-line)
19928 (speedbar-buffers-line-path):
19929 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19931 * epa.el (epa-display-verify-result):
19932 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19934 2009-08-21 Glenn Morris <rgm@gnu.org>
19936 * progmodes/js.el (inferior-moz-process): Fix declaration.
19938 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19940 * obsolete/rnewspost.el (news-mail-reply):
19941 Use goto-char rather than goto-line.
19943 * term/ns-win.el (ns-open-file-select-line):
19944 Use line-beginning-position rather than goto-line.
19946 * apropos.el (apropos-command):
19947 * ehelp.el (electric-helpify):
19948 * printing.el (pr-show-setup):
19949 * strokes.el (strokes-help):
19950 * tutorial.el (tutorial--describe-nonstandard-key)
19951 (tutorial--detailed-help):
19952 * woman.el (woman-mini-help, woman-display-extended-fonts):
19953 * calc/calc-help.el (calc-describe-key):
19954 * emulation/edt.el (edt-electric-helpify):
19955 * international/mule-diag.el (mule-diag):
19956 * play/yow.el (apropos-zippy):
19957 * progmodes/python.el (python-describe-symbol):
19958 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19959 * textmodes/table.el (*table--cell-describe-mode)
19960 (*table--cell-describe-bindings):
19961 Use help-print-return-message rather than the now obsolete alias.
19963 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19964 (calendar-cursor-to-visible-date):
19965 * play/5x5.el (5x5-position-cursor):
19966 * play/decipher.el (decipher):
19967 * play/gomoku.el (gomoku-goto-xy):
19968 * play/landmark.el (lm-goto-xy):
19969 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19970 (mpuz-paint-digit):
19971 Use forward-line, not goto-line.
19973 * mail/rmail.el (rmail-obsolete): Delete custom group.
19974 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19975 (rmail-remote-password, rmail-remote-password-required):
19976 Remove unneeded :set-after and :set properties.
19978 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19980 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19982 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19984 * loadup.el: Remove leftover macos code.
19986 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19987 Explicitly pass the date format to git blame so that user local
19988 so that the output format can be parsed.
19990 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19992 * net/dbus.el (top): Don't check for (getenv
19993 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19995 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19997 * log-edit.el (log-edit-strip-single-file-name): New var.
19998 (log-edit-insert-changelog): Use it. Bug#3571
20000 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20002 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20005 * help.el (help-print-return-message): Rename from
20006 print-help-return-message.
20008 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20009 cvs-mode-map parent hack.
20010 (log-view-mode): Derive from special-mode.
20012 * linum.el (linum-mode): window-size-change-functions is redundant.
20013 Adapt to new window-configuration-change-hook behavior.
20014 (linum-after-size, linum-after-config): Remove.
20016 * imenu.el (imenu-example--name-and-position)
20017 (imenu-example--lisp-extract-index-name)
20018 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20021 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20022 (inferior-prolog-mode): Use it.
20023 (inferior-prolog-load-file): Reset list of errors.
20025 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20027 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20029 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20031 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20033 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20034 is running already.
20036 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20038 * subr.el (listify-key-sequence-1): Use normal syntax since those
20039 integers are nowadays always represented by the same (positive) number
20041 (read-key-empty-map): New const.
20042 (read-key-delay): New var.
20043 (read-key): New function.
20044 (force-mode-line-update): Use with-current-buffer.
20045 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20046 (start-process-shell-command, start-file-process-shell-command):
20047 Discourage the use of command-args.
20049 2009-08-19 Glenn Morris <rgm@gnu.org>
20051 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20053 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20055 * simple.el (choose-completion-string): Don't rely on
20056 minibuffer-completing-file-name and ad-hoc checks to decide whether
20057 to continue completion or not.
20059 * minibuffer.el (minibuffer-hide-completions): New function.
20060 (completion--do-completion): Use it.
20061 (completions-annotations): New face.
20062 (completion--insert-strings): Use it.
20063 (completion-pcm--delim-wild-regex): Add docstring.
20064 (completion-pcm--string->pattern): Add support for 0-width delimiters
20065 in completion-pcm--delim-wild-regex.
20067 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20069 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20070 Remove unused var `buffer-modified-p'.
20072 * minibuffer.el (completion--do-completion): Move point for the #b001
20073 case as well (bug#4176).
20074 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20076 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20078 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20079 and :session buses.
20081 2009-08-18 Kenichi Handa <handa@m17n.org>
20083 * international/ucs-normalize.el (ucs-normalize-version):
20085 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20086 (utf-8-hfs): Make it perform normalization on encoding too.
20088 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20089 (sentence-end-without-space): Delete duplicated chars.
20090 (sentence-end-base): Likewise.
20092 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20093 (html-mode): Delete duplicated chars from sentence-end-base.
20095 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20096 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20098 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20100 * files.el (hack-one-local-variable): If the mode function is for
20101 a minor mode, pass it an argument (Bug#4148).
20103 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20105 * net/tramp.el (tramp-register-completion-file-name-handler):
20106 Check also for (member 'partial-completion completion-styles).
20108 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20110 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20113 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20115 * progmodes/cperl-mode.el: Merge upstream 6.2.
20116 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20117 (cperl-forward-re): Check cperl-brace-recursing.
20118 (cperl-highlight-charclass): New function.
20119 (cperl-find-pods-heres): Use it.
20120 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20121 (cperl-beautify-regexp-piece): Fix column calculation.
20122 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20123 (cperl-beautify-level): Don't process entire regexp.
20124 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20126 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20127 (cperl-init-faces): Build a list in the normal way.
20129 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20131 * calendar/parse-time.el (parse-time-string-chars): Save match
20134 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20136 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20137 (sql-product): Use it.
20138 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20139 (sql-set-product): Add completion.
20140 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20141 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20142 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20143 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20144 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20145 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20146 (sql-highlight-db2-keywords): Remove.
20147 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20148 (sql-highlight-product): Use derived-mode-p.
20149 (sql-set-sqli-buffer): Use with-current-buffer.
20150 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20153 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20155 * term.el: Fix commenting convention, turn comments into docstrings.
20157 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20159 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20161 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20163 * calendar/parse-time.el (parse-time-string-chars): Compute using
20164 character classes, to handle non-ascii characters (Bug#3190).
20166 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20168 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20169 another heredoc if the user adds another < (Bug#3226).
20171 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20172 Don't initialize based on window-system (Bug#4124).
20174 * facemenu.el (facemenu-read-color): Use a completion function
20175 that accepts any defined color, such as RGB triplets (Bug#3677).
20177 * files.el (get-free-disk-space): Change fallback default
20178 directory to /. Expand DIR argument before switching to fallback.
20179 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20181 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20183 * files.el (load-library): Doc fix.
20185 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20187 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20188 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20189 incremental search string.
20191 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20194 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20195 (ediff-merge-region-is-non-clash)
20196 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20197 Also check if the job is really a merge job.
20199 * ediff.el (ediff-current-file): New function.
20201 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20203 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20205 (js-insert-and-indent): Delete function.
20206 (js-mode-map): Don't bind keys to js-insert-and-indent.
20207 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20208 (js-end-of-defun): Rename from js--end-of-defun.
20209 (js-auto-indent-flag): Delete variable.
20211 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20213 * progmodes/js.el: Remove proclaim statement.
20214 Defvar which-func-imenu-joiner-function to silence compiler.
20216 * files.el (auto-mode-alist): Use js-mode for .js files.
20218 * progmodes/js2-mode.el: Remove file.
20220 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20222 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20224 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20226 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20227 Karl Landstrom <karl.landstrom@brgeight.se>
20229 * progmodes/js.el: New file.
20231 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20233 * timezone.el (timezone-parse-date): Add ability to understand ISO
20234 basic format (minimal separators) dates in addition to the
20235 already-supported extended format dates.
20237 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20239 * international/ucs-normalize.el: Add a `coding' file variable.
20241 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20243 2009-08-14 Sam Steingold <sds@gnu.org>
20245 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20247 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20249 * faces.el (help-argument-name): Define it here instead of
20250 help-fns.el, because in daemon mode help-fns.el may be loaded when
20251 faces are still uninitialized (Bug#1078).
20253 * help-fns.el (help-argument-name): Move defface to faces.el.
20255 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20257 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20258 create buffer with a pty but no process so that GDB can make the
20259 inferior the controlling process.
20261 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20263 * international/ucs-normalize.el: New file.
20265 2009-08-13 Richard Stallman <rms@gnu.org>
20267 * mail/rmail.el (rmail-get-attr-names):
20268 Accept an attribute header that is too short.
20270 * mail/rmail.el (rmail-forget-messages):
20271 Ignore nil elt in rmail-message-vector. Use dotimes.
20273 * progmodes/compile.el (compilation-goto-locus):
20274 Use next-error-move-function.
20276 * simple.el (next-error-move-function): New variable.
20278 2009-08-12 Juri Linkov <juri@jurta.org>
20280 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20281 always non-nil. (Bug#4052)
20283 * replace.el (read-regexp): Return empty string when
20284 `default-value' is nil.
20285 (keep-lines-read-args): Don't use empty string as the
20286 default value for `read-regexp'. (Bug#2495)
20288 2009-08-12 Juri Linkov <juri@jurta.org>
20290 * international/mule-cmds.el (ucs-insert): Change arguments
20291 from `arg' to `character', `count', `inherit' to be the same
20292 as in `insert-char'. Doc fix. (Bug#4039)
20294 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20296 2009-08-12 Juri Linkov <juri@jurta.org>
20298 * files-x.el: New file.
20300 * files.el: Move code that deals with adding/deleting
20301 file/directory-local variables to files-x.el.
20303 * Makefile.in (ELCFILES): Add files-x.elc.
20305 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20307 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20308 to use `goto-line'.
20309 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20311 (gdb-invalidate-disassembly): Do not refresh upon receiving
20312 'update signal. Instead, update all disassembly buffers only after
20314 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20315 (gdb-starting): Move -data-list-register-names...
20316 (gdb-stopped): ...here so it's sent when first thread stops.
20317 (gdb-registers-handler-custom): Do nothing if register names are
20320 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20321 from `gdb-mi.el' to avoid extra tangling.
20323 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20324 change which breaks `gud-def' definitions used in `gdb'.
20325 (gdb-update-gud-running): No extra fuss for updating frame number.
20327 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20329 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20330 (describe-language-environment-map, setup-language-environment-map)
20331 (set-coding-system-map): Move initialization into declaration.
20332 (set-language-info-alist): Last arg to define-key-after can be skipped.
20334 * international/quail.el (quail-completion-1): Simplify.
20335 (quail-define-rules): Use slightly more compact code.
20336 (quail-insert-decode-map): Propertize keys, compact columns.
20338 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20341 2009-08-10 Miles Bader <miles@gnu.org>
20343 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20344 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20345 (js2-instance-member, js2-private-member, js2-private-function-call)
20346 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20347 (js2-magic-paren, js2-external-variable):
20348 Remove "-face" suffix from face names.
20349 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20350 (js2-highlight-undeclared-vars, js2-peek-token)
20351 (js2-parse-function-params, js2-mode-show-errors)
20352 (js2-mode-show-warnings, js2-make-magic-delimiter)
20353 (js2-mode-highlight-magic-parens): Update to use new face names.
20355 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20357 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20358 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20360 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20362 * subr.el: Provide hashtable-print-readable.
20364 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20365 hs-c-like-adjust-block-beginning.
20366 (hs-hide-block-at-point): Stop hiding at the beginning of
20367 hs-block-end-regexp (Bug#700).
20369 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20371 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20373 (gdb-registers-handler-custom): Do not fail when register names
20376 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20378 * progmodes/gdb-mi.el (gdb-control-all-threads)
20379 (gdb-control-current-thread): Interactive setters for
20380 `gdb-gud-control-all-threads' to use in menu.
20381 (gdb-show-run-p): Show «Go» when process is not active.
20382 (gud-tool-bar-map): Add non-stop/A,T indicator.
20383 Uses gud/thread.xpm and gud/all.xpm.
20385 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20387 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20388 (nslookup-font-lock-keywords): Make it a variable.
20389 (net-utils-mode): New mode for viewing diagnostic network output.
20390 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20391 (net-utils-run-simple): New function.
20392 (ifconfig, iwconfig, netstat, arp, route): Use it.
20394 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20396 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20397 (gdb-memory-set-address, def-gdb-set-positive-number)
20398 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20399 after changing settings.
20400 (gdb-invalidate-disassembly): Update when first shown.
20401 (gdb-edit-locals-value): Fixed.
20402 (gdb-registers-handler-custom): Print registers in right order and
20403 allow changing register values (only for current thread yet).
20404 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20405 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20406 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20407 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20408 Thread info in mode name.
20409 (gdb-registers-mode-map): TAB to switch to locals.
20411 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20413 * mail/rmail.el (rmail-add-mbox-headers)
20414 (rmail-set-message-counters-counter): Search for
20415 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20417 2009-08-08 Glenn Morris <rgm@gnu.org>
20419 * Makefile.in (ELCFILES): Update.
20421 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20423 * mail/sendmail.el (mail-yank-original):
20424 Set buffer-file-coding-system from the one used by the message whose
20427 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20428 to "windows" when "pgnuplot" is used.
20429 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20430 Don't call accept-process-output if "pgnuplot" is used.
20431 (calc-graph-init): Don't send -display and -geometry to
20432 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20433 running "pgnuplot -V" with shell-command-to-string.
20435 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20438 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20440 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20443 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20445 * vc-dispatcher.el (vc-resynch-window): Update comment.
20447 * term.el (term-handle-ansi-escape): Add comments with the
20448 terminfo capabilities implemented.
20450 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20452 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20453 (gdb-var-create-handler): Rewritten using JSON parser.
20454 (gdb-propertize-header): Move earlier.
20455 (gdb-set-header): Remove to avoid duplication.
20456 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20457 Refresh disassembly buffers only after threads list have been
20459 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20462 2009-08-04 Juri Linkov <juri@jurta.org>
20464 * files.el: Commands to add/delete file/directory-local variables.
20465 (read-file-local-variable, read-file-local-variable-value)
20466 (read-file-local-variable-mode, modify-file-local-variable)
20467 (modify-file-local-variable-prop-line)
20468 (modify-dir-local-variable): New functions.
20469 (add-file-local-variable, delete-file-local-variable)
20470 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20471 (add-dir-local-variable, delete-dir-local-variable)
20472 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20473 (copy-dir-locals-to-file-locals-prop-line): New commands.
20475 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20477 * abbrev.el (insert-abbrev-table-description): Prettify output.
20478 Suggested by Karl Chen.
20480 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20482 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20483 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20484 (gdb-overlay-arrow-position, gdb-thread-position)
20485 (gdb-disassembly-position): Declare variables.
20486 (gdb-wait-for-pending): Function now.
20487 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20488 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20489 compilation goes smoothly.
20490 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20491 (gdb-non-stop-setting): New customization setting which replaces
20492 `gdb-non-stop' so changing it doesn't break active GDB session.
20493 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20494 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20495 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20496 (gdb-show-threads-by-default): New customization options.
20497 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20499 (gdb-get-buffer-create): Send buffers update signal when they are
20501 (gdb-invalidate-locals, gdb-invalidate-registers)
20502 (gdb-invalidate-breakpoints)
20503 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20504 (gdb-invalidate-memory): Accept update signal.
20505 (gdb-current-context-command): Use --frame option.
20506 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20507 Implement `gdb-frame-number' selection logic.
20508 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20509 whether to show GUD toolbar buttons.
20510 (gdb-thread-exited): Unselect current thread when it exits.
20511 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20512 (gdb-mark-line): Routine which sets overlay arrow or inverses
20513 video on fringeless displays.
20514 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20515 to build aligned columns of data in GDB buffers and set text
20516 properties line-by-line.
20517 (gdb-invalidate-breakpoints)
20518 (gdb-breakpoints-list-handler-custom)
20519 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20520 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20521 (gdb-registers-handler-custom): Align data columns.
20522 (gdb-locals-handler-custom): Now prints data like in variable
20524 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20525 Remove confusing buttons.
20526 (gdb-invalidate-threads): Append --frame.
20527 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20528 between breakpoints/threads buffers.
20529 (gdb-set-window-buffer): Now can ignore dedicated windows.
20530 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20531 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20532 (def-gdb-thread-buffer-gud-command): Replaces
20533 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20534 for fine thread control.
20535 (gdb-preempt-existing-or-display-buffer): New function used to
20536 display bound buffers without breaking window layout.
20537 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20538 (gdb-select-frame): New version of `gdb-frames-select' which now
20539 sets `gdb-frame-number' so commands may use --frame option instead
20540 of inner debugger state.
20541 (gdb-frame-handler): Do not set `gdb-frame-number'.
20542 (gdb-threads-mode-map): Select threads with mouse.
20544 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20545 avoid compilation warning.
20546 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20549 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20550 Argument `key' renamed to `buffer-type'.
20551 (gdb-current-context-buffer-name): Do not add thread info to
20552 buffer name when no thread is selected.
20553 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20554 command (bug 3794).
20555 (gdb-thread-selected): Handle `=thread-selected' notification.
20556 (gdb-wait-for-pending): New macro to deal with congestion problems.
20557 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20559 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20560 This fixes problem similar to one described in bug 3947.
20561 (gud-menu-map): More menu items.
20562 (gdb-init-1): Reset `gdb-thread-number' to nil.
20564 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20567 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20568 (gdb-current-context-command): Do not append --thread if
20569 `gdb-thread-number' is nil.
20570 (gdb-running-threads-count, gdb-stopped-threads-count):
20572 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20573 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20574 New customization options.
20575 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20577 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20578 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20579 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20580 set `gdb-thread-number' and update `gud-running' properly.
20581 (gdb-running): Update threads list when new threads appear.
20582 (gdb-stopped): Support non-stop operation and new thread switching
20584 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20585 (gdb-json-partial-output): New set of JSON routines.
20586 (def-gdb-auto-update-trigger): New `signal-list' optional
20588 (gdb-thread-list-handler-custom): Update `gud-running',
20589 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20590 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20591 (gdb-continue-thread, gdb-step-thread): New commands for fine
20592 thread execution control.
20593 (gud-menu-map): New menu items to switch non-stop options.
20594 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20595 (gdb-send): Mimic RET properly (bug 3794).
20597 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20598 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20600 (def-gdb-auto-update-handler): New nopreserve optional argument.
20601 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20603 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20604 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20605 (gdb-parent-mode): New mode to derive other GDB modes from.
20606 (gdb-display-disassembly-for-thread)
20607 (gdb-frame-disassembly-for-thread): New commands for threads
20610 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20611 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20612 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20613 (gdb-update): We now store all GDB buffers in a list so that they
20614 can be updated by traversing a list instead of calling invalidate
20615 triggers explicitly.
20616 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20617 pair for GDB buffer.
20618 (gdb-stack-buffer-name): Add thread information.
20619 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20620 handle pending triggers.
20621 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20622 (def-gdb-thread-buffer-simple-command)
20623 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20624 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20625 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20626 New commands which show buffers bound to thread.
20627 (gdb-stack-list-locals-regexp): Remove unused regexp.
20629 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20630 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20631 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20632 to (gud-comint-buffer) in *-buffer-name functions
20633 because (gdb-get-target-string) already does that.
20634 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20635 (gdb-changed-registers-handler): Rewritten without regexps.
20637 * progmodes/gdb-mi.el: Basic thread selection support.
20638 (gdb-thread-number): New variable.
20639 (gdb-current-context-command): New macro which adds --thread
20641 (gdb-threads-mode-map): Select thread with SPC.
20642 (gdb-thread-list-handler-custom): Mark current thread with overlay
20643 arrow. Synchronize GDB thread and Emacs thread.
20644 (gdb-select-thread): New command which selects current thread.
20645 (gdb-invalidate-frames, gdb-invalidate-locals)
20646 (gdb-invalidate-registers): Use --thread option.
20648 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20650 * net/tramp.el (top): Make check for tramp-gvfs loading more
20652 (tramp-handle-insert-file-contents): `unwind-protect' must be
20653 inside `with-parsed-tramp-file-name'.
20655 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20658 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20660 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20661 directory if CLASSPATH is not set.
20663 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20665 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20667 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20669 2009-08-02 Kevin Ryde <user42@zip.com.au>
20671 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20672 Update freshmeat link. Delete newsforge.com as it seems gone.
20674 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20676 * select.el (x-set-selection): Doc fix (Bug#4021).
20678 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20680 * help-fns.el (describe-variable): Treat list return values from
20681 dir-locals-find-file properly (Bug#4005).
20683 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20685 * net/tramp.el (tramp-debug-message): Print also microseconds.
20687 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20689 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20691 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20692 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20695 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20696 (tramp-get-file-property): Use it.
20698 * autorevert.el (auto-revert-handler):
20699 Allow `auto-revert-tail-mode' for remote files.
20701 2009-08-02 Jason Rumney <jasonr@gnu.org>
20703 * minibuffer.el (read-file-name): Treat confirm options to
20704 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20706 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20708 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20709 (font-lock-variable-name-face, font-lock-constant-face):
20710 Darken the colors for light backgrounds.
20712 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20714 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20715 month names. (Bug#3987)
20717 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20719 * simple.el (line-move-finish): Pass whole number to
20720 line-move-to-column.
20721 (line-move-visual): Perform hscroll to the recorded position.
20723 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20725 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20727 2009-07-29 Alan Mackenzie <acm@muc.de>
20729 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20731 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20733 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20734 (gdb-place-breakpoints): Use full path when setting breakpoints.
20736 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20738 * calc/calc.el (calc-mode-map): Add keybinding for
20739 `calc-transpose-lines'.
20741 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20743 * calc/calc-misc.el (calc-transpose-lines): New function.
20745 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20747 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20748 Simplify check for out-of-band methods.
20749 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20750 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20752 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20754 * vc-git.el (vc-git-checkin): Fix typo.
20756 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20758 * progmodes/js2-mode.el: New file.
20760 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20762 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20763 (gud-menu-map): Adjust tooltip accordingly.
20765 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20767 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20768 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20770 * add-log.el (change-log-mode-map): Add a menu.
20772 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20774 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20775 function returns nil.
20776 (dbus-handle-event): Handle special return value :ignore.
20777 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20779 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20781 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20784 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20788 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20790 * term/pc-win.el (x-display-name, x-colors)
20791 (x-select-enable-clipboard, x-select-text): Doc fix.
20793 * term/common-win.el (x-display-name, x-colors): Doc fix.
20795 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20796 (xw-defined-colors): Doc fix.
20798 * w32-fns.el (x-select-text, x-setup-function-keys)
20799 (x-get-selection, x-set-selection): Doc fix.
20801 * term/x-win.el (x-select-text, x-setup-function-keys)
20802 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20804 * select.el (x-set-selection): Doc fix.
20806 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20808 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20809 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20810 "IsNSSSupportAvailable" method is not available.
20811 Reported by Steve Youngs <steve@sxemacs.org>.
20813 2009-07-24 Kenichi Handa <handa@m17n.org>
20815 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20816 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20817 (build-unicode-category-table): Fix range checks.
20819 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20821 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20822 the buffer we try to sync is current when calling
20825 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20826 not show up to date files.
20828 2009-07-24 Glenn Morris <rgm@gnu.org>
20830 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20831 Add autoload cookies. If necessary, initialize.
20832 (elint-log): Handle non-file buffers.
20833 (elint-initialize): Add optional argument to reinitialize.
20834 (elint-find-builtin-variables): Save excursion.
20836 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20838 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20841 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20843 * vc.el (vc-print-log-internal): New function, split out from ...
20844 (vc-print-log): ... here.
20845 (vc-dir-move-to-goal-column): Declare.
20847 * vc-git.el (vc-git-add-signoff): New variable.
20848 (vc-git-checkin): Use it.
20849 (vc-git-toggle-signoff): New function.
20850 (vc-git-extra-menu-map): Bind it to menu.
20851 (vc-git--run-command-string): Accept a nil FILE argument.
20852 (vc-git-stash-list): New function.
20853 (vc-git-dir-extra-headers): Use it.
20855 2009-07-23 Glenn Morris <rgm@gnu.org>
20857 * help-fns.el (describe-variable): Describe ignored and risky local
20858 variables in a similar way to that in which we describe safe ones.
20860 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20861 (byte-compile-output-file-form, byte-compile-output-docform)
20862 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20863 Give some more local variables with common names a "bytecomp-" prefix,
20864 so as not to shadow things during compilation.
20865 * emacs-lisp/cl-macs.el (load-time-value)
20866 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20867 `outbuffer' to `bytecomp-outbuffer'.
20869 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20870 since the next two variables cover them automatically now.
20871 (elint-builtin-variables, elint-autoloaded-variables): New.
20872 (elint-unknown-builtin-args): Remove all members, since they can be
20873 parsed automatically now.
20874 (elint-extra-errors): New.
20875 (elint-env-add-env, elint-env-add-macro): Use cadr.
20876 (elint-current-buffer): Use or. Change final message.
20877 (elint-get-top-forms): Use line-end-position.
20878 (elint-init-env): Use cadr. Handle autoload, declare-function,
20880 (elint-add-required-env): Doc fix. Use or. Standardize error.
20881 (regexp-assoc): Remove unused function.
20882 (elint-top-form): Set elint-current-pos, to record the start of the
20883 top-level form, for compilation-mode.
20884 (elint-form): Trap errors in macro expansion. Use dolist.
20885 (elint-unbound-variable): Use elint-builtin-variables and
20886 elint-autoloaded-variables.
20887 (elint-get-args): Use cadr, or.
20888 (elint-check-cond-form): Use dolist, cadr.
20889 (elint-check-condition-case-form): Doc fix. Use cadr.
20890 Use elint-extra-errors.
20891 (elint-log): New function.
20892 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20893 Distinguish errors and warnings.
20894 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20895 Use a bytecomp-style format.
20896 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20897 (elint-get-log-buffer): Use compilation mode. Disable undo.
20898 Don't truncate lines.
20899 (elint-initialize): Set builtin and autoloaded variable lists.
20900 Only process elint-unknown-builtin-args if non-nil.
20901 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20903 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20905 2009-07-22 Kevin Ryde <user42@zip.com.au>
20907 * net/newst-backend.el (newsticker--parse-atom-1.0)
20908 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20909 (newsticker--parse-rss-1.0):
20910 * progmodes/idlwave.el (idlwave-mode):
20911 * progmodes/idlw-shell.el (idlwave-shell-mode):
20912 * progmodes/vera-mode.el (vera-mode):
20913 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20914 * progmodes/vhdl-mode.el (vhdl-mode):
20915 * textmodes/table.el (table-generate-source)
20916 (table--warn-incompatibility):
20917 Hyperlink urls in docstrings with URL `...'.
20919 2009-07-22 Glenn Morris <rgm@gnu.org>
20921 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20922 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20923 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20924 Remove leading * from defcustom docs.
20926 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20928 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20930 (list-load-path-shadows): Optionally, just return shadows as a string.
20932 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20934 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20936 * mail/rmailedit.el (rmail-edit-mode):
20937 Use auto-save-include-big-deletions.
20939 * mail/rmail.el (rmail-variables):
20940 Use auto-save-include-big-deletions.
20942 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20945 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20947 * calc/calc.el (calc-undo-length): New variable.
20948 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20950 2009-07-21 Richard Stallman <rms@gnu.org>
20952 * files.el (auto-save-mode): Handle buffer-save-size = -2
20955 2009-07-21 Glenn Morris <rgm@gnu.org>
20957 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20959 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20961 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20962 silence compiler. Instead...
20963 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20964 (ps-print-ensure-fontified): Update for above function name changes.
20966 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20967 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20968 silence compiler. Instead...
20969 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20970 (mh-show-buffer): Only define for compiler.
20971 (pr-mh-current-message): Update for above function name changes.
20973 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20975 (find-file-noselect, insert-file-1): Update for above change.
20977 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20979 * mail/mailclient.el (mailclient-send-it): Fix message.
20981 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20982 (edebug-eval): Check cl-debug-env is bound.
20983 (print-level, print-circle): Don't redefine built-in variables.
20985 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20986 (custom-print-vectors): Remove old comments from doc.
20988 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20989 (emerge-version): Make the variable an obsolete alias for the
20990 emacs-version variable. Make the function obsolete.
20991 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20992 Emerge options, rather than merging in into the main Options menu.
20993 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20994 and auto advance modes. Disable edit/fast items when not relevant.
20996 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20998 * term/vt420.el (terminal-init-vt420): Fix typo.
21000 2009-07-20 Sam Steingold <sds@gnu.org>
21002 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21003 variable (removed from compile.el on 2004-03-11).
21005 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21007 * files.el (hack-local-variables-filter): Fix last change.
21009 2009-07-19 Juri Linkov <juri@jurta.org>
21011 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21012 (dir-local-variables-alist): New buffer-local variable.
21013 (hack-local-variables-filter): If variable is not dir-local,
21014 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21015 because file-local overrides dir-local.
21016 (c-postprocess-file-styles) <declare-function>:
21017 Remove obsolete declaration.
21018 (hack-dir-local-variables): Add dir-local variable/value pair to
21019 `dir-local-variables-alist' and remove duplicates. Doc fix.
21021 * help-fns.el (describe-variable): Add information about
21022 file-local and dir-local variables.
21024 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21026 * files.el (hack-local-variables-filter): Rewrite.
21028 2009-07-19 Glenn Morris <rgm@gnu.org>
21030 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21031 Silence compiler by only defining on XEmacs.
21033 * international/mule.el (auto-coding-regexp-alist): Only match
21034 BABYL... at the start of buffer, not of lines. (Bug#3790)
21036 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21037 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21038 (cal-menu-context-mouse-menu): Doc fix.
21040 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21042 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21044 2009-07-18 Juri Linkov <juri@jurta.org>
21046 * info.el: Virtual Info keyword finder.
21047 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21048 (Info-finder-file): New variable.
21049 (Info-finder-find-file): New function.
21050 (finder-known-keywords, finder-package-info)
21051 (find-library-name, lm-commentary): Use defvar and
21052 declare-function to silence compiler warnings.
21053 (Info-finder-find-node): New function.
21054 (info-finder): New command.
21056 * subr.el (process-kill-buffer-query-function): New function.
21057 (add-hook)<kill-buffer-query-functions>: Add hook
21058 `process-kill-buffer-query-function'.
21060 2009-07-18 Alan Mackenzie <acm@muc.de>
21062 * progmodes/cc-mode.el (c-before-hack-hook)
21063 (c-postprocess-file-styles): Give invocation of `c-set-style'
21064 DONT-OVERRIDE parameter of t. Already set style variables will
21065 thus not be overridden by style settings given by `c-file-syle'.
21067 * files.el (hack-local-variables-filter): Remove entries with
21068 duplicate keys from `file-local-variables-alist'.
21070 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21072 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21073 x-set-selection if display-selections-p returns nil for the
21076 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21078 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21080 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21082 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21083 Accept nil in addition to a regexp.
21084 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21085 Accept nil in addition to a regexp.
21086 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21087 buffers that have an associated file. Handle nil values of
21088 desktop-buffers-not-to-save and desktop-files-not-to-save.
21091 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21092 (x-disown-selection-internal): New functions.
21094 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21096 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21098 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21099 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21101 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21103 * simple.el (set-mark): Revert last change.
21105 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21107 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21108 rendering of pngs is not possible instead of messaging a long
21111 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21113 * w32-fns.el (x-selection-owner-p): New function.
21115 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21116 (mouse-yank-at-click, mouse-yank-primary):
21117 If select-active-regions is non-nil, deactivate the mark before
21120 * simple.el (deactivate-mark, set-mark): Only save selection if we
21123 2009-07-17 Kenichi Handa <handa@m17n.org>
21125 * case-table.el (describe-buffer-case-table): Fix for the case
21126 that KEY is a cons.
21128 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21130 * vc-rcs.el (vc-rcs-find-file-hook):
21131 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21133 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21135 * net/tramp.el (tramp-wait-for-output): Handle the case when
21136 commands do not return a newline but a null byte before the shell
21139 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21141 * term/ns-win.el (ns-set-alpha): Don't declare.
21142 (ns-set-background-alpha): Remove function.
21144 2009-07-16 Kevin Ryde <user42@zip.com.au>
21146 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21147 y-or-n-p, for safety.
21149 2009-07-16 Richard Stallman <rms@gnu.org>
21151 * files.el (auto-save-mode): If buffer-saved-size is -2,
21154 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21155 (rmail-retry-ignored-headers): Add more uninteresting fields.
21157 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21159 * net/rcirc.el (rcirc): Use history variables.
21160 (rcirc-server-name-history, rcirc-nick-name-history)
21161 (rcirc-server-port-history): New variables.
21163 2009-07-15 Kenichi Handa <handa@m17n.org>
21165 * international/mule-cmds.el (set-language-environment-charset):
21166 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21169 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21170 Delete unibyte-display.
21172 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21174 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21176 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21178 * simple.el (deactivate-mark): Optional argument FORCE.
21179 (set-mark): Use deactivate-mark.
21181 * info.el (Info-search): No need to check transient-mark-mode
21182 before calling deactivate-mark.
21184 * select.el (x-set-selection): Doc fix.
21185 (x-valid-simple-selection-p): Allow buffer values.
21186 (xselect--selection-bounds): Handle buffer values.
21187 Suggested by David De La Harpe Golden.
21189 * mouse.el (mouse-set-region, mouse-drag-track):
21190 Call copy-region-as-kill before setting the mark, to let
21191 select-active-regions work.
21193 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21195 * simple.el (deactivate-mark): If select-active-regions is
21196 non-nil, copy the selection data into a string.
21197 (activate-mark): If select-active-regions is non-nil, set the
21198 selection to the current buffer.
21199 (set-mark): Update selection if select-active-regions is non-nil.
21201 * select.el (x-valid-simple-selection-p): Allow buffer values.
21203 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21205 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21206 and more featureful message-mode.
21208 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21210 * select.el (x-set-selection): Doc fix.
21211 (x-valid-simple-selection-p): Disallow selection data consisting
21212 of a list or cons of integers, since that is not used.
21213 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21214 (xselect-convert-to-string, xselect-convert-to-length)
21215 (xselect-convert-to-filename, xselect-convert-to-charpos)
21216 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21218 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21220 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21221 output in -break-info command (Emacs bug #3794).
21223 2009-07-14 Glenn Morris <rgm@gnu.org>
21225 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21226 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21227 (edebug-print-length, edebug-print-level, edebug-print-circle)
21228 (edebug-sit-for-seconds, edebug-view-outside)
21229 (edebug-bounce-point, edebug-set-global-break-condition)
21230 (edebug-Go-nonstop-mode, edebug-trace-mode)
21231 (edebug-Trace-fast-mode, edebug-continue-mode)
21232 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21233 (edebug-visit-eval-list): Doc fixes.
21235 * subr.el (def-edebug-spec): Doc fix.
21237 2009-07-14 Kenichi Handa <handa@m17n.org>
21239 * international/characters.el: Fix setting of category ?C.
21241 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21243 * term/ns-win.el (x-select-font): defalias x-select-font to
21244 ns-popup-font-panel instead of generate-fontset-menu.
21246 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21248 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21250 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21252 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21253 the PK\003\004 header (Bug#3770).
21255 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21257 * pcomplete.el (pcomplete-comint-setup): Check for
21258 shell-dynamic-complete-filename too.
21260 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21262 * simple.el (temporary-goal-column): Change the value for
21263 line-move-visual to a cons cell.
21264 (line-move-visual): Record or set the window hscroll, if
21265 necessary (Bug#3494).
21266 (line-move-1): Handle cons value of temporary-goal-column.
21268 2009-07-11 Kenichi Handa <handa@m17n.org>
21270 * international/mule-diag.el (describe-character-set): Don't show
21273 2009-07-10 Sam Steingold <sds@gnu.org>
21275 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21276 Omake sometimes indents the errors it prints, so allow all
21277 regexps to start with spaces.
21279 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21281 * cus-edit.el (customize-changed-options-previous-release):
21282 Bump value to 22.1. (Bug#3804)
21284 2009-07-08 Sam Steingold <sds@gnu.org>
21286 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21287 to be a cons cell (test . ignored-directory) to selectively ignore
21288 some directories depending on the location of the search.
21290 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21292 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21293 remote user is root, on the local host.
21294 (tramp-local-host-p): Either the local user or the remote user
21295 must be root. (Bug#3771)
21297 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21299 * progmodes/gdb-mi.el (gdb): Remove description of
21300 gdb-use-separate-io-buffer.
21301 (menu): Don't allow toggling of or enable
21302 gdb-use-separate-io-buffer from menubar.
21304 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21306 * mail/unrmail.el (unrmail): Make sure the message ends with two
21307 newlines (Bug#3769).
21309 2009-07-08 Glenn Morris <rgm@gnu.org>
21311 * calendar/calendar.el (calendar-current-date): Rework previous change.
21313 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21315 * calendar/calendar.el (calendar-current-date):
21316 Add an optional argument giving an offset from today.
21318 2009-07-08 Glenn Morris <rgm@gnu.org>
21320 * tutorial.el (tutorial--describe-nonstandard-key):
21321 Adjust the message for when a key has been unbound.
21322 (help-with-tutorial): Hide the arch-tag.
21324 2009-07-08 Kenichi Handa <handa@m17n.org>
21326 * international/fontset.el (setup-default-fontset): For each
21327 script, append (not set) font-specs.
21329 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21332 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21334 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21335 -data-list-register-names to ...
21336 (gdb-starting): ... here because GDB 7.0 requires execution to
21337 have started when using this MI command.
21338 (gdb-set-header): New function to distinguish select and
21339 unselected tabs in gdb buffers.
21340 (gdb-propertize-header): New macro that uses gdb-set-header.
21341 (gdb-breakpoints-header, gdb-locals-header): Use it.
21342 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21344 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21346 * Makefile.in (ELCFILES): Remove fadr.elc.
21348 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21350 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21351 may contain frame information, so `string-match' should be used.
21352 (gdb-update): Disassembly is invalidated through
21353 `gdb-get-selected-frame'.
21354 (gdb-pad-string): New function to pad string with spaces.
21355 (gdb-invalidate-disassembly): Invalidate only if the buffer
21357 (gdb-disassembly-handler-custom): Column alignment.
21358 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21360 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21362 (gdb-frame-handler): Match convention to for disassembly buffer
21364 (gdb-stack-list-frames-handler): Rewritten without regexps.
21365 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21366 not highlight breakpoints without line information.
21367 (gdb-input): Add trailing newline to command.
21369 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21371 (gdb-breakpoints-list-handler-custom): Replacement for
21372 `gdb-break-list-handler'. Using real parser instead of regexps
21374 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21375 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21376 to place breakpoints.
21377 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21379 (gdb-disassembly-handler-custom): Show overlay arrow.
21380 (gdb-disassembly-place-breakpoints): Show breakpoints in
21381 disassembly buffer.
21382 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21383 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21384 instead of parsing breakpoints buffer. Fixed old menu references
21389 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21390 (gdb-memory-address): New variable which holds top address of
21391 memory page shown in memory buffer.
21392 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21393 New customization variables.
21395 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21396 display the memory buffer.
21397 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21398 buffer display parameters.
21399 (def-gdb-memory-format, gdb-memory-format-binary)
21400 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21401 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21402 Functions for setting memory buffer format.
21403 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21404 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21405 unit size used in memory buffer.
21406 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21407 Switch to next/previous page of memory buffer.
21408 Now using (bindat-get-field) instead of fadr functions.
21410 2009-07-07 Sam Steingold <sds@gnu.org>
21412 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21413 non-top-level files.
21415 2009-07-07 Kenichi Handa <handa@m17n.org>
21417 * international/mule-cmds.el (reset-language-environment):
21418 Put the highset priority to the charset iso-8859-1.
21420 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21422 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21423 to the end of the line when locating the block (Bug#700).
21425 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21427 * net/tramp.el (tramp-handle-write-region): Flush file properties
21428 in case of short track.
21430 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21432 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21433 Coded custom representation of verilog error regular expressions
21434 to work with Emacs-22's new format.
21435 (verilog-error-regexp-xemacs-alist): Coded custom representation
21436 of verilog error regular expressions to work with XEmacs format.
21437 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21438 error recognition into XEmacs.
21439 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21440 error recognition into Emacs-22.
21442 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21444 * woman.el: Remove stand-alone closing parentheses.
21445 (woman-file-name, woman2-format-paragraphs)
21446 (woman-leave-blank-lines): Code cleanup.
21447 (woman-use-own-frame): Change default to nil.
21448 (woman-italic, woman-bold, woman-unknown, woman-addition):
21449 Change defaults to inherit from default faces.
21450 (woman2-process-escapes): Consume the newline after a stand-alone
21451 filler character (Bug#3651).
21453 2009-07-06 Glenn Morris <rgm@gnu.org>
21455 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21456 (top-level): Move provide to the end.
21457 (ffap): Remove defunct URL from custom group.
21459 * subr.el (eval-after-load): Doc fix.
21461 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21463 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21464 `calc-embedded-word' is called twice.
21466 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21468 * files.el (find-alternate-file-other-window, find-alternate-file):
21469 Obey confirm-nonexistent-file-or-buffer.
21471 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21473 * dired-aux.el (dired-show-file-type): Handle remote files.
21475 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21477 * desktop.el (desktop-globals-to-save):
21478 Add file-name-history (Bug#2750).
21480 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21482 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21484 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21486 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21487 property on entire argument since this is what eshell-lisp-command
21490 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21492 * net/tramp-gvfs.el (tramp-gvfs-methods)
21493 (tramp-gvfs-zeroconf-domain)
21494 (tramp-bluez-discover-devices-timeout): Add version flag.
21495 (tramp-gvfs-handler-mounted-unmounted)
21496 (tramp-gvfs-connection-mounted-p): Polish handling of
21497 incompatibilities between GVFS 0.2 and 1.0.
21499 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21501 * cus-start.el (all): Add make-pointer-invisible.
21503 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21505 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21506 formatted correctly.
21508 2009-07-02 Juri Linkov <juri@jurta.org>
21510 * info.el: Virtual Info files and nodes.
21511 (Info-virtual-files, Info-virtual-nodes): New variables.
21512 (Info-current-node-virtual): New variable.
21513 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21515 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21516 to check for a virtual file instead of checking a fixed list
21518 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21519 instead of ad-hoc processing of "dir" and (apropos history toc).
21520 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21521 instead of ad-hoc processing of "dir" and (apropos history toc).
21522 Reread a file when moving from a virtual node.
21523 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21524 (Info-directory-toc-nodes, Info-directory-find-file)
21525 (Info-directory-find-node): New functions.
21526 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21527 (Info-history): Move part of code to
21528 `Info-history-find-node'.
21529 (Info-history-toc-nodes, Info-history-find-file)
21530 (Info-history-find-node): New functions.
21531 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21532 (Info-toc): Move part of code to `Info-toc-find-node'.
21533 (Info-toc-find-node): New function.
21534 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21535 the current Info file name to references because now the node
21536 "*TOC*" belongs to the same Info manual.
21537 (Info-toc-build): Rename from `Info-build-toc'.
21538 (Info-toc-nodes): Rename input argument `file' to `filename'.
21539 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21540 instead of ad-hoc processing of ("dir" apropos history toc).
21541 (Info-index-nodes): Use Info-virtual-file-p
21542 to check for a virtual file instead of checking a fixed list
21544 (Info-index-node): Add check for `Info-current-node-virtual'.
21545 Raise `save-match-data' higher up the tree to contain
21546 `search-forward' too (bug fix).
21547 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21548 (Info-virtual-index-nodes): New variable.
21549 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21550 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21551 (Info-apropos-file, Info-apropos-nodes): New variables.
21552 (Info-apropos-toc-nodes, Info-apropos-find-file)
21553 (Info-apropos-find-node, Info-apropos-matches): New functions.
21554 (info-apropos): Move part of code to `Info-apropos-find-node' and
21555 `Info-apropos-matches'.
21556 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21557 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21558 for a virtual file instead of checking a fixed list of node names.
21560 * simple.el (async-shell-command): New command.
21562 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21564 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21565 instead of `mount-info'.
21567 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21569 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21570 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21572 2009-07-02 Kenichi Handa <handa@m17n.org>
21574 * international/mule.el (set-keyboard-coding-system): Force *-unix
21575 coding-system to avoid eol conversion.
21577 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21579 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21580 Add handler for `process-file', `shell-command' and
21581 `start-file-process'.
21582 (tramp-gvfs-handle-shell-command)
21583 (tramp-gvfs-handle-start-file-process)
21584 (tramp-gvfs-handle-process-file): New defuns.
21585 (tramp-synce-list-devices): Simplify check for existence of property.
21587 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21589 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21591 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21593 * language/korean.el (set-language-info-alist): Add korean-cp949,
21596 2009-07-01 Kenichi Handa <handa@m17n.org>
21598 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21600 * international/encoded-kb.el: Deleted.
21602 * international/mule.el (set-keyboard-coding-system): Perform the
21603 necessary setup here instead of calling encoded-kbd-setup-display.
21605 2009-07-01 Glenn Morris <rgm@gnu.org>
21607 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21609 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21611 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21613 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21615 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21616 Handle also the 'rename case, when setting file modes. (Bug#3712)
21617 (tramp-default-file-modes): Remove execute permissions.
21619 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21620 (top): Add a default for "synce" in `tramp-default-user-alist'.
21621 Add completion function for "synce" method.
21622 (tramp-hal-service, tramp-hal-path-manager)
21623 (tramp-hal-interface-manager, tramp-hal-interface-device):
21625 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21626 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21629 * net/trampver.el: Update release number.
21631 2009-06-30 Kenichi Handa <handa@m17n.org>
21633 * international/fontset.el (setup-default-fontset): Add CJK fonts
21634 for symbols and the other miscellaneous characters.
21636 * language/korea-util.el (setup-korean-environment-internal):
21637 Make char-width-table suitable for Korean environments.
21638 (exit-korean-environment): Cancel above.
21640 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21641 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21642 setup-function to make char-width-table suitable for respective
21643 environments, and an exit-function to cancel that.
21645 * language/japan-util.el (setup-japanese-environment-internal):
21646 Call use-cjk-char-width-table with arg `ja_JP'.
21648 * international/characters.el (cjk-char-width-table): Delete it.
21649 (cjk-char-width-table-list): New variable.
21650 (use-cjk-char-width-table): New arg local-name.
21651 (use-default-char-width-table): Fix for the case that Emacs is
21652 already using the default char-width-table.
21654 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21656 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21657 modes mandatory. (Bug#3712)
21659 2009-06-29 Alan Mackenzie <acm@muc.de>
21661 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21662 correction between the visible width of TABs and their number of bytes.
21664 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21666 * server.el (server-buffer-done): Prevent kill-buffer from
21667 prompting by clearing the buffer modification flag (Bug#3696).
21669 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21671 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21672 (verilog-endcomment-reason-re): Support unique case and priority case.
21673 (verilog-basic-complete-re): Support localparam lineup.
21674 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21675 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21677 (verilog-leap-to-case-head): Now support *nested* unique &
21678 priority case statements.
21679 (verilog-auto-lineup): Make just declarations the default (as it
21681 (verilog-leap-to-case-head): Support priority/unique case statements.
21682 (verilog-auto-lineup): Rework to give users radio buttons to
21683 select the various styles of automatic lineup.
21684 (verilog-error-regexp-alist): Rework to support the XEmacs style
21685 of error regular expressions from compilers, lint tools &
21686 simulators. Note that GNU Emacs has made it impossible for a mode
21687 to load such things.
21688 (electric-verilog-terminate-line, verilog-indent-declaration)
21689 (verilog-auto-wiure): Rework for radio button selection of
21690 auto-lineup selection of specification of auto lineup.
21691 (verilog-beg-of-statement-1): Redesign to support proper operation
21692 in additional code, based on testing with auto-lineup.
21693 (verilog-calculate-indent, assignments & declarations)
21694 (verilog-backward-token): Enhance to support auto-lineup of
21695 assignments & declarations.
21696 (verilog-in-directive-p, verilog-at-struct-p): New function for
21697 easy test of whether we are.
21698 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21699 to support safe execution at almost anyline.
21700 (verilog-calc-1): Properly support indenting deep inside generate
21702 (verilog-init-font): Remove definition & use of verilog-init-font,
21703 as it is redundant with font-lock-defaults.
21704 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21705 to avoid circular calls if syntax-ppss is a function (as is the
21706 case now in 22.x GNU Emacs) as that function would sometimes call
21707 itself, leading to (nearly) infinite recursion.
21708 (verilog-ovm-begin-re, verilog-ovm-end-re)
21709 (verilog-ovm-statement-re, verilog-leap-to-head)
21710 (verilog-backward-token): Add support for OVM macros. Some are
21711 complete statements, and others open and close scopes like begin
21713 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21714 (verilog-defun-level-generate-only-re): Really fix the defun-list
21716 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21717 coverpoint, constraint and cross statements.
21718 (verilog-defun-level-list, verilog-generate-defun-level-list)
21719 (verilog-all-defun-level-list): Redo these specifications - it is
21720 too hard to support eval-when compile aggregation of lists also
21721 built at when-compile time.
21722 (verilog-defun-level-list): Place defconsts of variables used in
21723 building regular expressions which are built in eval-when-compile
21724 bodies in the same eval-when-compile body to facilitate compile
21726 (verilog-beg-block-re-ordered): Support indenting
21727 virtual/protected tasks and functions.
21728 (verilog-defun-level-list, verilog-in-generate-region-p)
21729 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21730 indentation of some module items (generate items).
21731 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21732 across virtual/protected tasks and functions.
21734 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21736 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21737 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21738 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21739 in concatenations. Reported by Yishay Belkind.
21740 (verilog-auto-ascii-enum): Support one-hot state machines in
21741 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21742 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21743 modport in AUTOINST and add vl-modport for users.
21744 Reported by David Rogoff.
21745 (verilog-auto-inout-module, verilog-auto-inst)
21746 (verilog-decls-get-interfaces, verilog-insert-definition)
21747 (verilog-insert-one-definition, verilog-read-decls)
21748 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21749 (verilog-sig-modport, verilog-signals-combine-bus)
21750 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21751 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21752 Suggested by David Rogoff.
21753 (verilog-repair-open-comma): Fix non-insertion of comma when
21754 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21755 (verilog-make-width-expression): Simplify [A-1:0] expression
21756 widths to just {A{1'b0}}.
21757 (verilog-mode): Cleanup checkdoc warnings.
21758 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21759 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21760 inputs/outputs or data type. Suggested by Vasu Kandadi.
21761 (next-error-last-buffer): Fix byte-compiler warning.
21762 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21763 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21764 or shell command text during AUTO expansion. Suggested by Tad Truex.
21765 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21766 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21767 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21768 in AUTOINOUT. Reported by Matthew Lovell.
21769 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21770 causing use of <= assignments. Reported by Alex Reed.
21771 (verilog-read-decls): Fix triand, trior, wand, wor to be
21772 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21773 (verilog-extended-complete-re): Support import "DPI-C" functions.
21774 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21775 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21776 (verilog-insert-date, verilog-insert-year)
21777 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21778 Windows systems. Reported by Michael Potts.
21779 (verilog-read-module-name): Fix AUTOINST when the child module
21780 declaration's name is a tick define. Reported by Elliot Mednick.
21781 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21782 passed to next parameter's definition. Reported by Bruce T.
21783 (verilog-read-decls): Fix detecting "parameter int" when using
21784 AUTOINSTPARAM. Reported by Bruce T.
21785 (verilog-goto-defun): Fix goto not finding modules unless first
21786 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21787 (verilog-mode): Expand -f flag arguments on entry to mode so
21788 verilog-goto-defun will work. Reported by Lawrence Butcher.
21789 (verilog-getopt): Expand environment variables in -f file
21790 arguments. Suggested by Lawrence Butcher.
21791 (verilog-set-define): Fix "Symbol's value as variable is void"
21792 when reading enumerations.
21793 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21794 Suggested by Stephen Peltan.
21795 (verilog-read-defines): Fix reading of enumerations in include
21796 files. Reported by Steve Peltan.
21798 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21800 * files.el (trash-directory): Fix defcustom type.
21802 2009-06-28 Juri Linkov <juri@jurta.org>
21804 * help-fns.el (describe-function-1): Correctly locate adviced
21805 functions in hyperlink (Bug#2438).
21807 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21809 * files.el (trash-directory): Change default to nil.
21810 (move-file-to-trash): If trash-directory is nil and
21811 system-move-file-to-trash is unbound, perform freedesktop-style
21814 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21816 * files.el (move-file-to-trash): Add freedesktop trash
21819 2009-06-28 Glenn Morris <rgm@gnu.org>
21821 * autorevert.el (global-auto-revert-non-file-buffers)
21822 (global-auto-revert-mode): Doc fixes.
21824 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21826 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21828 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21830 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21831 opened an X connection before calling x-get-resource (Bug#3194).
21833 * play/doctor.el: Remove reference to obsolete website.
21834 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21836 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21838 Remove find-file-not-found-hook VC method. (Bug#2757)
21839 * vc-hooks.el (vc-file-not-found-hook)
21840 (vc-default-find-file-not-found-hook): Remove functions.
21841 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21842 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21845 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21847 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21849 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21850 compatibility function for `looking-back'.
21852 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21853 Use `ispell-looking-back'.
21855 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21857 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21858 rather than `filename'.
21860 2009-06-23 Miles Bader <miles@gnu.org>
21862 * face-remap.el (text-scale-set): New function.
21864 2009-06-23 Glenn Morris <rgm@gnu.org>
21866 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21868 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21870 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21872 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21874 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21875 Simplify Persian conditionals.
21877 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21878 variable `filename'.
21880 * comint.el (comint-insert-input): Doc fix.
21882 * Makefile.in (ELCFILES): Fix typo in previous change.
21884 2009-06-23 Miles Bader <miles@gnu.org>
21886 * cus-start.el: Add entry for `recenter-redisplay'.
21888 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21890 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21891 Add an optional argument for the backend, use it instead of
21892 calling vc-backend.
21893 (vc-mode-line): Add an optional argument for the backend.
21894 Pass the backend to vc-state and vc-working-revision. Move code for
21895 special handling for vc-state being a buffer to ...
21897 * vc-rcs.el (vc-rcs-find-file-hook):
21898 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21900 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21901 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21902 vc-stay-local-p and vc-mode-line calls.
21904 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21905 (vc-cvs-diff, vc-cvs-annotate-command)
21906 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21907 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21908 vc-mode-line calls.
21910 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21912 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21913 backend when calling vc-mode-line.
21914 (vc-register): Do not create a closure for calling the vc register
21915 function, call it directly.
21917 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21919 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21920 to make it obvious item can be clicked.
21922 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21924 2009-06-23 Kenichi Handa <handa@m17n.org>
21926 * language/korea-util.el (korean-key-bindings): Change the binding
21927 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21930 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21932 Sync with Tramp 2.1.16.
21934 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21936 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21937 when a loading of a package fails. Completion function for rsync
21938 is `tramp-completion-function-alist-ssh'.
21939 (all): Replace all calls of `split-string' and
21940 `tramp-split-string' by `tramp-compat-split-string'.
21941 (tramp-default-method): Use `tramp-compat-process-running-p'.
21942 (tramp-default-proxies-alist): Allow also Lisp forms.
21943 (tramp-remote-path): Add choice "Private Directories".
21944 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21945 (tramp-domain-regexp): Allow also "-", "_" and ".".
21946 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21947 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21948 (tramp-debug-message): Insert header line in debug buffer.
21949 (tramp-handle-directory-files-and-attributes-with-stat):
21950 Care about filenames with spaces, or starting with "-".
21951 (tramp-handle-dired-uncache): New defun.
21952 (tramp-handle-insert-directory): Don't flush the directory from
21953 cache, this is handled by `dired-uncache' now.
21954 (tramp-handle-insert-file-contents): Improve error handling.
21955 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21956 Quote `tramp-end-of-output'.
21957 (tramp-action-password): Improve trace message.
21958 (tramp-check-for-regexp): Both echoes must be present, before removing.
21959 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21960 (tramp-compute-multi-hops): Eval cons cells of
21961 `tramp-default-proxies-alist'.
21962 (tramp-maybe-open-connection): Use the same command pattern for
21963 first hop and further hops.
21964 (tramp-wait-for-output): Remove handling of newlines.
21965 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21966 (tramp-split-string): Remove function. It is handled in
21969 * net/tramp-cmds.el (tramp-bug):
21970 Recommend `tramp-cleanup-all-connections' in the bug mail.
21972 * net/tramp-compat.el (tramp-compat-split-string)
21973 (tramp-compat-process-running-p): New defuns.
21975 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21976 for `dired-uncache'.
21978 * net/tramp-gvfs.el: New package.
21980 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21981 Add handler for `dired-uncache'.
21982 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21984 * net/trampver.el: Update release number. Make version check fit
21987 2009-06-22 Jim Meyering <meyering@redhat.com>
21989 Automatically handle .xz suffix (XZ-compressed files), too.
21990 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21991 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21993 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21994 Nick Roberts <nickrob@snap.net.nz>
21996 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21997 repository (http://sphinx.net.ru/hg/gdb-mi/).
21999 2009-06-22 Glenn Morris <rgm@gnu.org>
22001 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22002 `mode' and `eval' entries. (Bug#3430)
22004 * Makefile.in (ELCFILES): Add fadr.elc.
22006 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22007 differing behavior of \n and ^ in strings. (Bug#3385)
22009 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22011 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22013 (lisp-indent-function): Make it a defcustom.
22015 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22017 * progmodes/gdb-ui.el: Replace with ...
22018 * progmodes/gdb-mi.el: ... this file.
22019 * progmodes/gud.el: Modify for gdb-mi.el.
22021 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22023 * fadr.el: New file.
22025 See ChangeLog.14 for earlier changes.
22027 ;; Local Variables:
22031 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22033 This file is part of GNU Emacs.
22035 GNU Emacs is free software: you can redistribute it and/or modify
22036 it under the terms of the GNU General Public License as published by
22037 the Free Software Foundation, either version 3 of the License, or
22038 (at your option) any later version.
22040 GNU Emacs is distributed in the hope that it will be useful,
22041 but WITHOUT ANY WARRANTY; without even the implied warranty of
22042 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22043 GNU General Public License for more details.
22045 You should have received a copy of the GNU General Public License
22046 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.