1 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3 * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
5 2011-02-11 Glenn Morris <rgm@gnu.org>
7 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
9 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
11 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
13 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
15 * server.el (server-process-filter): Use pcase.
17 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
19 (smie-indent--parent): Extend to "parent of arg".
20 (smie-indent-inside-string): New function.
21 (smie-indent-functions): Use it.
23 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
24 bzr locking race condition.
26 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
27 still valid before using it.
29 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
30 `message' -> `compilation-message' rename (bug#8004).
32 Move keymap initialization into declaration.
33 * textmodes/enriched.el (enriched-mode-map):
34 * textmodes/bib-mode.el (bib-mode-map):
35 * term/lk201.el (lk201-function-map):
36 * tar-mode.el (tar-mode-map):
37 * replace.el (occur-mode-map):
38 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
39 * progmodes/idlw-help.el (idlwave-help-mode-map):
40 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
41 * play/solitaire.el (solitaire-mode-map):
42 * play/snake.el (snake-mode-map, snake-null-map):
43 * play/pong.el (pong-mode-map):
44 * play/handwrite.el (menu-bar-handwrite-map):
45 * play/gametree.el (gametree-mode-map):
46 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
47 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
48 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
49 (newsticker--url-keymap):
50 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
51 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
52 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
53 (menu-bar-edit-menu, menu-bar-custom-menu)
54 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
55 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
56 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
57 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
58 (menu-bar-tools-menu, menu-bar-describe-menu)
59 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
61 * mail/rmailsum.el (rmail-summary-mode-map):
62 * kmacro.el (kmacro-step-edit-map):
63 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
64 (ibuffer-mode-operate-map):
65 * hi-lock.el (hi-lock-menu, hi-lock-map):
66 * emulation/vip.el (vip-mode-map):
67 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
68 * bookmark.el (bookmark-bmenu-mode-map):
69 * help-mode.el (help-mode-map): Move initialization into declaration.
71 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
73 * net/rcirc.el: Add PRIVMSG and CTCP functions.
74 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
75 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
76 (rcirc-cmd-me, rcirc-authenticate): Use them.
78 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
80 * allout.el: Synopsis: Change allout user configuration so
81 auto-activation is controlled solely by customization
82 `allout-auto-activation'.
84 (allout-auto-activation-helper) (allout-setup): New autoloads
85 implement new custom set procedure for allout-auto-activation.
86 Also, explicitly invoke
87 (allout-setup) after allout-auto-activation is custom-defined, to
88 effect the settings in emacs sessions besides the few where
89 allout-auto-activation customization is donea.
90 (allout-auto-activation): Use allout-auto-activation-helper to
91 :set. Revise the docstring.
92 (allout-init): Reduce functionality to just customizing
93 allout-auto-activation, and mark obsolete.
94 (allout-mode): Respect string values for allout-auto-activation.
95 Run allout-after-copy-or-kill-hook without any args.
96 (allout-mode) (allout-layout) (allout-default-layout)
97 (outlineify-sticky): Adjust docstring for new scheme.
98 (allout-after-copy-or-kill-hook): No arguments - hook implementers
99 should concentrate on the kill ring.
101 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
103 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
104 of here-doc that immediately follows a comment.
106 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
108 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
110 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
112 (rcirc-ctcp-sender-PING): New function.
114 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
116 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
117 Remove the mark/nomark handling, and activate shift-select-mode instead.
119 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
121 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
123 * calc/calc-units.el (math-logunits-quant): Add support for
124 non-logarithmic units.
126 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
128 * allout.el (allout-after-copy-or-kill-hook): New hook for
129 extension-specific processing of killed text.
130 (allout-mode): Include new allout-after-copy-or-kill-hook among
132 (allout-kill-line) (allout-kill-topic): Ensure that processing
133 after kill happens even if barf-if-buffer-read-only is raised.
134 Include new allout-after-copy-or-kill-hook among that subsequent
136 (allout-deannotate-hidden): Actually remove the annotation text
139 * allout.el (allout-listify-exposed): Copy text sans text properties.
141 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
143 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
145 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
147 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
149 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
151 * calc/calc.el (calc-logunits-field-reference): Rename from
152 `calc-default-field-reference-level'.
153 (calc-logunits-power-reference): Rename from
154 `calc-default-power-reference-level'
156 * calc/calc-units.el (math-logunits-quant): Rename from
157 `math-logunits-level'
158 (math-logunits-plus): Rename from math-logcombine.
159 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
160 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
161 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
163 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
164 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
165 (calc-logunits-quantity): Rename from `calc-level'.
166 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
167 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
168 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
169 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
170 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
173 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
174 (calc-ul-prefix-help): Remove.
175 (calc-l-prefix-help): New function.
176 (calc-full-help): Add reference to `calc-l-prefix-help'.
178 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
180 * calc/README: Mention logarithmic units.
182 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
184 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
185 non-ASCII characters (Bug#7925).
187 2011-02-05 Glenn Morris <rgm@gnu.org>
189 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
191 * calendar/diary-lib.el (diary-font-lock-keywords):
192 Tweak diary-time-regexp match. (Bug#7891)
194 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
195 (f90-mode): Use it for mode's `find-tag-default-function' property.
197 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
199 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
201 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
203 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
206 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
208 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
209 font-lock-syntax-table remappings.
210 (sh-here-doc-markers, sh-here-doc-re): Remove.
211 (sh-font-lock-close-heredoc): Remove.
212 (sh-syntax-propertize-here-doc): New function.
213 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
214 instead of the sh-here-doc-re.
215 (sh-font-lock-paren): Don't do anything in comments or strings.
216 Handle line continuations. Accept a few more chars.
217 Don't rely on the font-lock-syntax-table remappings.
218 `esac' is not a valid pattern.
219 (sh-syntax-propertize-function): Handle here-docs differently, so we
220 don't bother syntax-propertizing the insides.
222 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
223 Handle new bashisms ";&" and ";;&" (bug#7947).
225 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
227 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
228 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
230 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
232 * net/tramp.el (tramp-postfix-method-format)
233 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
234 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
235 (tramp-postfix-user-regexp, tramp-prefix-port-format)
236 (tramp-prefix-port-regexp, tramp-postfix-host-format)
237 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
240 2011-02-04 Sam Steingold <sds@gnu.org>
242 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
244 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
246 * international/mule-util.el (with-coding-priority): Doc fix.
248 2011-02-04 Eli Zaretskii <eliz@gnu.org>
250 * arc-mode.el (archive-mode-map): Fix a typo in last change.
252 2011-02-03 Sam Steingold <sds@gnu.org>
254 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
255 Do not error out when `func' is nil.
257 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
259 * net/tramp-sh.el (tramp-remote-path): Add default settings for
260 `tramp-default-remote-path' to the docstring.
261 (tramp-get-remote-path): Suppress error message when `getconf
264 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
266 2011-02-03 Glenn Morris <rgm@gnu.org>
268 * vc/vc-hg.el (vc-hg-command): Doc fix.
270 * term/w32-win.el (libpng-version): Declare for compiler.
272 * msb.el: No need to load dired while compiling.
274 * emacs-lisp/elint.el (elint-standard-variables):
275 Remove a couple of built-ins that now have doc-strings.
277 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
278 `require' is automatically `eval-and-compile'd.
280 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
281 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
283 * strokes.el (strokes-fill-current-buffer-with-whitespace):
284 Move definition before use.
285 (strokes-report-bug): Make it obsolete.
287 2011-02-02 Sam Steingold <sds@gnu.org>
289 * apropos.el (apropos-print): Now that `apropos-mode' inherits
290 from `special-mode', entering it makes the buffer read-only, so
291 call it only when everything has been already inserted.
292 * emacs-lisp/ert.el (ert--setup-results-buffer)
293 (ert-results-pop-to-backtrace-for-test-at-point)
294 (ert-results-pop-to-messages-for-test-at-point)
295 (ert-results-pop-to-timings): Ditto.
296 * emacs-lisp/package.el (package--list-packages): Ditto.
297 * play/solitaire.el (solitaire): Ditto.
299 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
301 * progmodes/compile.el: Make all faces inherit.
302 (compilation-warning): Inherit from font-lock-variable-name-face.
303 (compilation-info): Inherit from font-lock-type-face.
304 (compilation-line-number): Reassign to font-lock-keyword-face.
305 (compilation-column-number): Reassign to font-lock-doc-face.
306 (compilation-leave-directory-face): Reassign to
307 font-lock-builtin-face.
309 2011-02-02 Eli Zaretskii <eliz@gnu.org>
311 * dired.el (dired-insert-directory): Don't invoke `ls' when
312 ls-lisp.el is used to emulate it.
314 2011-02-01 Julien Danjou <julien@danjou.info>
316 * color.el (color-gradient): Add a color-gradient function.
318 2011-02-01 Sam Steingold <sds@gnu.org>
320 * simple.el (special-mode-map): Bind "h" to `describe-mode';
321 bind "z" to `kill-this-buffer'.
322 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
323 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
324 (apropos-mode): Inherit from `special-mode'.
325 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
326 * bookmark.el (bookmark-bmenu-mode): Define using
327 `define-derived-mode' inheriting from `special-mode'.
328 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
329 * image-mode.el (image-mode-map): Ditto.
330 * replace.el (occur-mode): Define using
331 `define-derived-mode' inheriting from `special-mode'.
332 * tar-mode.el (tar-mode): Inherit from `special-mode'.
333 * calendar/diary-lib.el (diary-fancy-display-mode):
334 Inherit from `special-mode-map'.
335 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
336 Inherit from `special-mode'.
337 * emacs-lisp/package.el (package-menu-mode-map): Copy from
339 (package-menu-mode): Define using `define-derived-mode'
340 inheriting from `special-mode'.
341 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
342 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
343 (xesam-mode-map): Define separately.
344 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
345 * progmodes/compile.el (compilation-minor-mode-map)
346 (compilation-mode-map): Inherit from `special-mode-map'.
347 * vc/diff-mode.el (diff-mode-shared-map):
348 Inherit from `special-mode-map'.
349 * vc/log-view.el (log-view-mode-map): Add a comment.
351 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
353 * custom.el (load-theme): Define return value. Drop use of
354 unsafep; call custom-theme-load-confirm for non-known-safe themes.
355 (custom-theme-load-confirm): Scroll in the correct window.
356 (custom-enabled-themes): Add custom-safe-themes to :set-after.
358 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
359 checkbox if load-theme fails.
361 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
363 * progmodes/compile.el (compilation-next-error): Check there's
364 a message before using it (bug#7941).
366 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
368 * calc/calc-mtx.el (math-lud-pivot-check): New function.
369 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
372 2011-01-31 Alan Mackenzie <acm@muc.de>
374 * progmodes/cc-cmds.el (c-forward-over-illiterals):
375 Continue parsing if we encounter a naked # (Bug#7595).
376 (c-beginning-of-statement): Avoid loop in locating the beginning
379 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
381 * files.el (copy-directory): Fix arguments to recursive call.
383 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
385 * files.el (copy-directory): If destination is an existing
386 directory, copy into a subdirectory there.
388 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
390 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
393 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
395 * image-dired.el (image-dired-mouse-display-image): No-op if no
396 file is found (Bug#7817).
398 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
400 2011-01-31 Kenichi Handa <handa@m17n.org>
402 * international/quail.el (quail-keyboard-layout-alist):
403 Remove superfluous SPC for "pc105-uk" (bug#7927).
405 2011-01-31 Glenn Morris <rgm@gnu.org>
407 * msb.el (msb-menu-bar-update-buffers): Update for changed
408 argument handling of menu-bar-select-frame. (Bug#7902)
410 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
412 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
413 to the recursion depth (Bug#7722).
415 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
417 * term/ns-win.el (ns-find-file): Expand ns-input-file with
418 command-line-default-directory (Bug#7872).
420 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
422 * progmodes/compile.el (compilation--flush-directory-cache):
423 New function, extracted from compilation--remove-properties.
424 (compilation--remove-properties, compilation--parse-region): Use it.
425 (compilation--previous-directory): Handle one more case.
426 (compilation-enable-debug-messages): Remove.
427 (compilation-parse-errors, compilation--flush-parse): Just remove the
428 left over debug messages.
430 2011-01-31 Sam Steingold <sds@gnu.org>
432 * progmodes/compile.el (compilation-enable-debug-messages):
433 Add a variable to make the parsing messages introduced in
434 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
435 (compilation-parse-errors, compilation--flush-parse): Use it.
437 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
439 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
440 (rcirc-nick-completion-format): New defcustom.
441 (rcirc-complete): Use it.
443 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
445 * net/rcirc.el: Clean log filenames (Bug#7933).
446 (rcirc-log-write): Use convert-standard-filename.
447 (rcirc-log-filename-function): Documentation updates.
449 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
451 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
452 Check report-emacs-bug-can-use-osx-open and use that if t.
453 (report-emacs-bug-can-use-osx-open): New function.
454 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
455 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
457 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
459 * vc/vc-dispatcher.el (vc-set-async-update): New function for
460 updating Dired or VC-dir buffers after async command completes.
462 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
463 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
465 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
466 completions if it exists. Use vc-set-async-update.
467 (vc-git-pull): Use vc-set-async-update.
469 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
470 read-shell-command. Use vc-set-async-update.
471 (vc-hg-merge-branch): Use vc-set-async-update.
473 2011-01-29 Daiki Ueno <ueno@unixuser.org>
475 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
476 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
479 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
481 * progmodes/compile.el: Avoid an N² behavior in grep.
482 (compilation--previous-directory): New fun.
483 (compilation--previous-directory-cache): New var.
484 (compilation--remove-properties): Flush it.
485 (compilation-directory-properties, compilation-error-properties):
486 Use the new fun to speed up looking for the current directory.
488 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
490 * vc/vc-hg.el (vc-hg-history): New var.
491 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
492 (vc-hg-merge-branch): New function.
494 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
495 the other way around.
497 * vc/vc-git.el (vc-git-branches, vc-git-pull)
498 (vc-git-merge-branch): New functions.
499 (vc-git-history): New var.
501 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
503 * vc/vc-dispatcher.el (vc-do-async-command): New function.
505 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
508 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
511 2011-01-28 Leo <sdl.web@gmail.com>
513 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
514 highlighting to the "this function is advised" message.
516 * help-mode.el (help-mode-finish): Apply highlighting here, to
517 avoid clobbering by substitute-command-keys (Bug#6304).
519 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
521 * woman.el (woman0-roff-buffer): Process roff escape sequences
522 occurring prior to the first request (Bug#7843).
524 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
526 * progmodes/compile.el: Don't use font-lock any more.
527 (compilation-error-regexp-alist-alist): Change handling of makepp
528 so it preserves the warning/error distinction on subsequent files.
529 Simplify various rules.
530 (compilation-directory-properties): Use font-lock-face.
531 Add a compilation-message property.
532 (compilation-internal-error-properties): Use font-lock-face.
533 Don't set the compilation-debug property here.
534 (compilation--put-prop, compilation--remove-properties)
535 (compilation--parse-region, compilation--ensure-parse)
536 (compilation--ensure-parse): New functions.
537 (compilation-parse-errors): New function, largely inspired of
538 compilation-mode-font-lock-keywords. Set compilation-debug here.
539 (compilation--parsed): New var.
540 (compilation--flush-parse): Use compilation--ensure-parse.
541 (compilation-start): Don't call font-lock.
542 (compilation-turn-on-font-lock): Remove.
543 (compilation-setup): Don't set font-lock-extra-managed-props not change
544 other font-lock settings, other than keywords.
545 Don't activate font-lock-mode.
546 Set change-major-mode-hook and before-change-functions.
547 (compilation--unsetup): Remove properties and hooks.
548 (compilation-next-single-property-change): New function.
549 (compilation-next-error): Use it to parse when needed.
550 (compile-goto-error): Parse buffer as needed.
551 (compilation--compat-error-properties): Don't need a dummy `face'
554 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
556 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
557 (compilation-process-setup-function): Fix docstring's false promises.
558 (compilation-error-regexp-alist-alist): Catch omake's continuous
559 recompilation message and avoid reuse of old markers.
560 (compilation-parse-errors-function): Declare obsolete.
561 (compilation-buffer-modtime): Remove.
562 (compilation--make-cdrloc, compilation--loc->col)
563 (compilation--loc->line, compilation--loc->file-struct)
564 (compilation--loc->marker, compilation--loc->visited)
565 (compilation--make-file-struct, compilation--file-struct->file-spec)
566 (compilation--file-struct->formats)
567 (compilation--file-struct->loc-tree): New macros. Use them.
568 (compilation--message): New defstruct. Use them.
569 (compilation-next-error-function): Don't mess with timestamps to try
570 and guess when to reparse.
572 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
574 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
575 (tex-old-error-file-name): New function,
576 extracted from tex-compilation-parse-errors.
577 (tex-compilation-parse-errors): Remove.
578 (tex-error-regexp-alist): New var.
579 (tex-shell): Use it to avoid compilation-parse-errors-function.
581 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
582 (grep-mode-font-lock-keywords): Remove regexp that seems like
583 a left-over from before we used compile.el.
584 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
585 modifying the buffer within with-silent-modifications.
587 * progmodes/compile.el: Cleanup text-properties namespace by using
588 `compilation-message' instead of `message', `compilation-directory'
589 instead of `directory', and `compilation-debug' instead of `debug'.
590 (compilation-last-buffer, compilation-parsing-end)
591 (compilation-error-list, compilation-old-error-list): Move to the
592 compatibility part of the code.
593 (compilation-error-properties): If `file' is a function, let it return
595 (compilation-mode-font-lock-keywords): Be more conservative with the
596 omake "^ *" pattern prefix, to try and minimize the risk of
597 pathologically slow regexp matching.
598 (compilation-start): Use inhibit-read-only.
599 (compilation--unsetup): New function.
600 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
601 (compilation-filter): Minor tweaks.
602 (compilation-next-error-function): Try and avoid abusing variables.
603 (compilation--flush-file-structure): New fun.
604 (compilation-fake-loc): Use it to improve behavior when file is reused.
605 (debug-ignored-errors): Add "Moved past last ...".
606 (compilation--compat-error-properties)
607 (compilation--compat-parse-errors): Rename by doubling the "-".
609 Port features from the previous prolog.el to the new one.
610 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
611 (prolog-program-name, prolog-program-switches, prolog-consult-string)
612 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
613 variable and use a function to compute the value dynamically.
614 (prolog-prompt-regexp): Add regexp for GNU Prolog.
615 (prolog-continued-prompt-regexp): Remove, unused.
616 (prolog-find-value-by-system): Try and use the value of prolog-system
617 in the *prolog* buffer if it helps.
618 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
619 (prolog-zip-on): ..and check prolog-system and version here instead.
620 (prolog-inferior-self-insert-command): New command.
621 (prolog-inferior-mode-map): Use it.
622 (prolog-inferior-error-regexp-alist): New var.
623 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
624 (prolog-input-filter): Use derived-mode-p.
625 (prolog-inferior-guess-flavor): New function.
626 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
627 make-comint to avoid running comint-mode twice.
628 (prolog-inferior-buffer): New fun.
629 (prolog-old-process-region, prolog-old-process-file):
630 Don't call prolog-bsts here...
631 (prolog-build-prolog-command): ...do it here instead.
632 (prolog-old-process-region, prolog-old-process-file):
633 Use compilation-fake-loc and compilation-forget-errors.
634 (prolog-consult-compile-region): Use bolp.
636 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
638 * image-mode.el (image-display-size): Doc fix (Bug#7820).
640 2011-01-27 Sam Steingold <sds@gnu.org>
642 * midnight.el (clean-buffer-list-kill-never-buffer-names):
643 Remove "*server*" which is never created by emacs server.
645 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
647 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
648 there are some diff switches.
650 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
652 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
653 Copy change made to ruby-font-lock-syntactic-keywords.
655 * htmlfontify.el: Make it obey the font-lock-face text property.
656 Miscellaneous cleanup such as:
657 - Don't hide expressions after a closing paren.
658 - Move initial setq into let.
659 - Hoist common parts out of ifs.
660 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
661 (hfy-face-at): Use get-text-property instead.
662 (hfy-prop-invisible-p): Use invisible-p if available.
663 (htmlfontify-manual): Use \\[...].
664 (hfy-html-quote-regex): Use [...].
665 (hfy-combined-face-spec): Simplify.
666 (hfy-compile-face-map): Don't presume point-min==1.
667 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
669 (hfy-text-p): η-reduce.
670 (hfy-tags-for-file): Receive cache-hash directly.
671 (hfy-mark-tag-names): Adjust call.
673 2011-01-27 Glenn Morris <rgm@gnu.org>
675 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
676 (msb-after-load-hook): Remove eval-after-load wackiness.
678 2011-01-25 Sam Steingold <sds@gnu.org>
680 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
681 literal "diff" (important for windows-nt).
683 2011-01-25 Glenn Morris <rgm@gnu.org>
685 * emacs-lisp/copyright.el (copyright-at-end-flag)
686 (copyright-names-regexp): Add safety properties.
687 (copyright-year-ranges): New option.
688 (copyright-find-end): New function, split from copyright-update-year.
689 (copyright-update-year): Use copyright-find-end.
690 (copyright-fix-years): Optionally, convert years to ranges.
691 Handle years continued over comment lines.
692 Do not mess with the fill-prefix.
693 Do not call copyright-update.
694 (copyright-update-directory): Optionally, fix years rather than update.
695 Skip directories. Find files with only safe local vars.
697 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
699 * files.el (file-name-non-special): Only change buffer-file-name after
700 insert-file-contents if it's `visit'ing the file (bug#7854).
702 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
704 * dired.el (dired-revert): Doc fix (Bug#7758).
706 * simple.el (line-move-visual): Doc fix (Bug#7594).
708 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
710 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
711 here-doc which ends with an underscore.
712 (ruby-mode-set-encoding): Skip shebang line always.
713 (ruby-mode-map): Bind C-c C-c to comment-region.
714 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
715 (ruby-forward-sexp): Stop after literal hash key labels.
716 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
719 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
721 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
722 the correct buffer (Bug#7650).
724 2011-01-25 Glenn Morris <rgm@gnu.org>
726 * comint.el (comint-mode): Doc fix. (Bug#7897)
728 * simple.el (do-auto-fill): Give it a doc string.
730 * button.el (make-text-button): Doc fix. (See bug#7881)
732 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
734 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
735 Don't move backward, so as not to fall in an inf-loop (bug#7736).
737 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
738 Handle ?" and friends differently (e.g. don't use backrefs).
740 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
742 * calc/calc.el (calc-default-power-reference-level)
743 (calc-default-field-reference-level): New variables.
744 * calc/calc-units.el (math-standard-units): Add dB and Np.
745 (math-logunits): New variable.
746 (math-extract-logunits, math-logcombine, calcFunc-luplus)
747 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
748 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
750 (math-find-base-units-rec): Add entry for ln(10).
751 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
752 (calc-ul-prefix-help): New function.
753 * calc/calc-ext.el (calc-init-extensions): Autoload new units
754 functions. Add keybindings for new units functions.
756 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
758 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
759 rcirc buffers. (Bug#4940)
761 2011-01-22 Glenn Morris <rgm@gnu.org>
763 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
764 split out from copyright-update-year.
765 (copyright-update): Don't mess with the GPL version if we don't own the
766 copyright. Update license regexp, and remove no longer needed
768 (copyright-fix-years): Use copyright-find-copyright.
770 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
772 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
774 2011-01-22 Jari Aalto <jari.aalto@cante.net>
776 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
777 (lm): Rename to landmark.
778 (lm-test-run): Rename to landmark-test-run.
780 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
782 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
783 "Case sensitive" menu item.
785 2011-01-22 Roland McGrath <roland@frob.com>
787 * comint.el (comint-replace-by-expanded-history-before-point): Fix
788 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
790 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
792 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
794 2011-01-22 Jari Aalto <jari.aalto@cante.net>
796 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
797 Assume foo(bar) is a manpage reference rather than some unquoted
800 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
802 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
803 Suggested by Flo <sensorflo@gmail.com>.
805 2011-01-22 Glenn Morris <rgm@gnu.org>
807 * progmodes/compile.el (compilation-error-regexp-alist):
808 Fix custom type. (Bug#7812)
810 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
812 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
813 allout-number-siblings, in keeping with what obtained due to
814 (now-defunct) allout-keybindings-list. Ditch repeat binding to
816 (allout-before-change-handler): Better expose spots affected by
819 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
821 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
823 2011-01-22 Phil Hagelberg <phil@evri.com>
825 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
826 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
827 (pcmpl-ssh-config-hosts): New function.
828 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
829 pcmpl-ssh-known-hosts.
831 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
833 * calc/calc-undo.el (calc-undo): Autoload it.
834 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
835 and autoload for `calc-undo'.
836 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
838 * calc/calc-graph.el:
839 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
841 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
843 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
844 keybindings to `calc-undo'.
846 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
848 Don't mess with *temp*.
849 * obsolete/spell.el: Move from textmodes/spell.el.
851 * term.el (term-read-input-ring):
852 * startup.el (display-startup-echo-area-message):
853 * progmodes/antlr-mode.el (antlr-directory-dependencies):
854 * comint.el (comint-read-input-ring): Use with-temp-buffer.
855 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
858 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
860 * allout.el: (allout-institute-keymap): Use fset instead of
863 (allout-hotspot-key-handler): Check for non-control-modified
864 bindings for hotspot characters if there are no control-modified
867 * allout.el: Summary - migrate to defining allout mode using
868 define-minor-mode instead of defun. Significantly clean-up
869 internal keymap provisions, refactoring and, in the process,
870 removing a lot of accumulated cruft.
872 allout-mode-map is now a keymap by virtue of being a defalias to
873 allout-mode-map-value, which contains the actual keymap structure.
875 (allout-mode): Use define-minor-mode rather than defun.
876 Remove now-unnecessary minor-mode setup activities from the body.
877 Specify :keymap as allout-mode-map so the minor-mode-map-alist
878 entry will be '(allout-mode . allout-mode-map) - see
879 allout-mode-map-value, below. Adjust docstring to track changes.
880 (allout-minor-mode): Remove this defalias, now that we're using
882 (allout-mode-map): Set value to be 'allout-mode-map. The actual
883 keymap is allout-mode-map-value, via defalias.
884 (allout-mode-map-value): The variable holding the actual mode
885 keymap structure, by virtue of defalias from allout-mode-map.
886 (allout-compose-and-institute-keymap): Rename from
887 allout-bind-keys, and including the binding-composition
888 functionality of the former produce-allout-mode-map and
889 allout-setup-mode-map.
890 (allout-institute-keymap): Take over the "setup" part of the former
891 allout-setup-mode-map. Reassign allout-mode-map-value value and
893 (allout-command-prefix) (allout-prefixed-keybindings)
894 (allout-unprefixed-keybindings):
895 Use allout-compose-and-institute-keymap to process the bindings.
896 (allout-unprefixed-keybindings): Remove extraneous '?' question
898 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
899 user can customize if they want to use that binding.
900 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
901 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
902 elided that, previously, instead of the one for \C-h.)
903 (allout-hotspot-key-handler): Remove attempt to resolve the key
904 through the literal key-string lookup on allout-keybindings-list.
905 That probably hasn't worked for a Long Time, and removal of
906 allout-keybindings-list further simplifies the keybindings
908 (allout-pre-command-business): Use allout-mode-map-value instead
910 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
911 the bindings if they want to use a keybinding having a trailing
912 \C-h. No deprecation needed since this feature was never in a
914 (allout-keybindings-list): Remove. It's not been useful for a
915 while. (See allout-hotspot-key-handler changes, above.)
916 (produce-allout-mode-map): Remove. Consolidate into
917 allout-compose-and-institute-keymap.
918 (allout-mode-map-adjustments): Remove. No longer necessary with
919 removal of allout-preempt-trailing-ctrl-h.
920 (allout-setup-mode-map): Remove. Consolidate into
921 allout-compose-and-institute-keymap and allout-institute-keymap.
923 2011-01-20 Glenn Morris <rgm@gnu.org>
925 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
927 * simple.el (read-expression-history): Remove, it's in minibuf.c.
929 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
931 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
933 * files.el (find-alternate-file, basic-save-buffer)
934 (basic-save-buffer-2, revert-buffer, recover-file)
935 (kill-buffer-ask, abort-if-file-too-large)
936 (set-visited-file-name, write-file, backup-buffer)
937 (basic-save-buffer, save-some-buffers):
938 * dired-aux.el (dired-compress-file): Callers changed.
940 2011-01-19 Glenn Morris <rgm@gnu.org>
942 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
943 Also check the property status. (Bug#7861)
945 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
947 * net/tramp.el (tramp-debug-message): Extend function exclude
948 list. Use `regexp-opt'.
950 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
952 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
953 highlighting doesn't spill over subsequent lines.
955 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
956 keymap expression. Improve docstring.
958 * electric.el (electric-indent-post-self-insert-function):
959 Don't auto-indent for indent-to-left-margin, it's too often
962 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
964 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
965 spaces if the frame was resized, so that the full visible buffer
966 serves as canvas for strokes.
968 2011-01-16 Glenn Morris <rgm@gnu.org>
970 * info-xref.el (info-xref-docstrings): Replace cl function.
971 Also skip directories.
973 2011-01-16 Kevin Ryde <user42@zip.com.au>
975 * info-xref.el: Version 3.
976 (info-xref-check, info-xref-check-all): Move commentary details
977 into docstrings for better visibility.
978 Use compilation-mode for the results buffer.
979 (info-xref-output, info-xref-output-error, info-xref-with-output)
980 (info-xref-filename, info-xref-in-progress):
981 New internals for this.
982 (info-xref-check-list, info-xref-check-buffer)
983 (info-xref-check-all-custom): Use those.
984 (info-xref-output-buffer): Rename from info-xref-results-buffer.
985 (info-xref-output-heading): Rename from info-xref-filename-heading.
986 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
987 (info-xref-filename-heading): Move to output managing section.
988 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
989 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
990 (info-xref-subfile-p): Move to generic section with those two.
991 (info-xref-check-node): New function split from
992 info-xref-check-buffer, shared by info-xref-docstrings.
993 (info-xref-goto-node-p): Move to a checking section with that func.
994 (info-xref-unavail): New counter.
995 (info-xref-check-node): Use it.
996 (info-xref-with-output): Show count of unavailables at end of output.
997 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
998 symlinks. Exclude .texi files. Exclude Emacs backup files.
999 (info-xref-check-all-custom): Fix quietening viper-mode and
1000 gnus-registry-install -- use setq not let so as not to unbind
1003 2011-01-16 Juri Linkov <juri@jurta.org>
1005 * isearch.el (isearch-abort): Don't quit if search has
1006 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1008 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1010 * files.el (backup-buffer): Make last-resort backup file in
1011 .emacs.d (Bug#6953).
1013 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1014 make it with permission 700.
1016 2011-01-15 Kenichi Handa <handa@m17n.org>
1018 * mail/rmailmm.el (rmail-mime-insert-header):
1019 Set rmail-mime-coding-system to a cons whose car is the last coding
1020 system used to decode the header.
1021 (rmail-mime-find-header-encoding): New function.
1022 (rmail-mime-insert-decoded-text):
1023 Override rmail-mime-coding-system if it is a cons.
1024 (rmail-show-mime): If only a header part was decoded, find the
1025 coding system while ignoring mm-charset-override-alist.
1027 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1029 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1031 2011-01-15 Kenichi Handa <handa@m17n.org>
1033 * mail/rmailmm.el (rmail-mime-next-item)
1034 (rmail-mime-previous-item): Delete them.
1035 (rmail-mime-shown-mode): Recursively call for children.
1036 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1038 (rmail-mime-raw-mode): Recursively call for children.
1039 (rmail-mode-map): Change mapping of tab and backtab to
1040 forward-button and backward-button respectively.
1041 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1043 (rmail-mime-update-tagline): New function.
1044 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1045 body display is changed.
1046 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1047 (rmail-mime-image): Delete this button type.
1048 (rmail-mime-toggle): New button type.
1049 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1050 body display is changed. Change the save button label to "Save".
1051 Don't process show/hide button here.
1052 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1053 the body display is changed. Unconditionally call
1054 rmail-mime-insert for children.
1055 (rmail-mime-handle): Update `display' vector of the just inserted
1057 (rmail-mime-process): If mail-header-parse-content-type returns
1058 nil, use "text/plain" as the fallback type.
1059 (rmail-mime-insert): For raw-mode, recursively call
1060 rmail-mim-insert for children.
1061 (rmail-mime): Handle the case that the current buffer is not rmail
1062 buffer (e.g. in summary buffer).
1064 2011-01-15 Kenichi Handa <handa@m17n.org>
1066 * mail/rmailmm.el (rmail-mime-next-item)
1067 (rmail-mime-previous-item): Skip the body of a non-multipart
1068 entity if a tagline is shown.
1070 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1072 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1073 (tmm-prompt): Simplify.
1074 (tmm-add-prompt): Remove unused var `win'.
1076 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1077 to minor mode which used nil accidentally to mean "turn off".
1079 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1081 * net/tramp-sh.el (tramp-find-inline-compress)
1082 (tramp-get-inline-coding): Quote command after pipe symbol for
1083 local calls under W32. (Bug#6784)
1085 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1087 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1088 only when running under W32.
1090 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1092 * progmodes/grep.el (grep-compute-defaults): Quote the program
1093 file name after the pipe symbol in Grep templates. (Bug#6784)
1094 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1096 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1098 * buff-menu.el (Buffer-menu-buffer-list): New var.
1099 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1100 restricted buffer list is not lost on revert (Bug#7749).
1102 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1104 * net/ldap.el (ldap-search-internal): Discard stderr output.
1106 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1108 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1110 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1112 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1114 2011-01-15 Kenichi Handa <handa@m17n.org>
1116 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1117 part as a plain text.
1118 (rmail-mime-process-multipart): Set the default content-type to
1119 nil for unknown multipart subtypes (bug#7651).
1121 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1123 * hexl.el (hexl-mode-old-*): Remove.
1124 (hexl-mode--old-var-vals): New var to replace them.
1125 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1126 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1127 Use them to set local vars (bug#7846).
1128 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1129 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1130 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1132 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1133 (smerge-resolve--normalize-re): New var.
1134 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1135 (smerge-resolve): Use them.
1136 * newcomment.el (comment-only-p): New function.
1137 (comment-or-uncomment-region): Use it.
1139 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1141 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1142 table, get the value before switching to the output buffer. (Bug#7733)
1144 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1146 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1148 2011-01-14 Kim F. Storm <storm@cua.dk>
1150 * emulation/cua-base.el (cua--init-keymaps):
1151 Remap exchange-point-and-mark in cua-global-keymap.
1153 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1155 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1158 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1160 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1162 (easy-menu-create-menu, easy-menu-convert-item-1):
1163 Use :label rather than nil for labels. Use `case'.
1164 Add :enable as alias for :active.
1165 (easy-menu-binding): Obey :label.
1167 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1169 Use run-mode-hooks for major mode hooks (bug#513).
1170 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1171 Rename from reftex-toc-map.
1172 (reftex-toc-mode): Use define-derived-mode.
1173 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1174 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1175 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1176 (reftex-select-label-mode, reftex-select-bib-mode):
1177 Use define-derived-mode.
1178 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1179 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1180 Move init into delcaration.
1181 (reftex-index-mode, reftex-index-phrases-mode):
1182 Use define-derived-mode.
1183 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1184 speedbar-syntax-table. Move init into declaration.
1185 (speedbar-mode-map): Rename from speedbar-key-map.
1186 Move init into declaration.
1187 (speedbar-file-key-map): Move init into declaration.
1188 (speedbar-mode): Use define-derived-mode.
1189 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1190 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1191 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1192 (chart-face-list): Move initialization into declaration.
1193 (chart-mode): Use define-derived-mode.
1194 * calculator.el (calculator-mode-map): Move init into declaration.
1195 (calculator-mode): Use define-derived-mode.
1197 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1198 work for nested comments.
1200 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1201 (prolog-use-prolog-tokenizer-flag): Change default when
1202 syntax-propertize can be used.
1203 (prolog-syntax-propertize-function): New var.
1204 (prolog-mode-variables): Move make-local-variable into `set'.
1205 Don't make comment-column local since we don't set it.
1206 Set comment-add (as it was in previous prolog.el). Use dolist.
1207 Set syntax-propertize-function.
1208 (prolog-mode, prolog-inferior-mode):
1209 Call prolog(-inferior)-menu directly, not through the mode-hook.
1210 (prolog-buffer-module, prolog-indent-level)
1211 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1212 (prolog-comment-limits, prolog-goto-comment-column):
1213 Use line-(end|beginning)-position.
1214 (prolog-build-prolog-command): Tighten up regexp.
1215 (prolog-consult-compile): Move make-local-variable into `set'.
1216 (prolog-consult-compile-filter, prolog-goto-next-paren)
1217 (prolog-help-on-predicate, prolog-clause-info)
1218 (prolog-mark-predicate): Don't let+setq.
1219 (prolog-indent-line): Use indent-line-to.
1220 Only call prolog-goto-comment-column if necessary.
1221 (prolog-indent-level): Use bobp.
1222 (prolog-first-pos-on-line): Remove, not used any more.
1223 (prolog-in-string-or-comment): Use syntax-ppss if available.
1224 (prolog-help-on-predicate): Use read-string.
1225 (prolog-goto-predicate-info): Simplify.
1226 (prolog-read-predicate): Use `default' rather than `initial'.
1227 (prolog-temporary-file): Use make-temp-file to close a security hole.
1228 (prolog-toggle-sicstus-sd): New command.
1229 (prolog-electric-underscore, prolog-variables-to-anonymous):
1230 Use dynamic-scoping as it was meant.
1231 (prolog-menu): Move menu definitions to top-level.
1232 Use a toggle-button for Sicstus's source debugger.
1233 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1235 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1236 Move other menu definition to top-level.
1238 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1240 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1241 name. Keep original document's directory as default-directory
1243 (doc-view-initiate-display): Fall back to normal mode when
1244 doc-view-mode cannot be enabled, also when extracting the document
1245 text into a separate buffer (bug#6446).
1247 * simple.el (shell-command): Don't error out if shell command
1248 buffer contains text with non-nil read-only property when erasing
1251 2011-01-13 Kim F. Storm <storm@cua.dk>
1253 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1254 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1255 items when cycling through the matches.
1257 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1259 * dired-x.el (dired-omit-verbose): New defcustom that allows
1260 disabling the omit messages.
1261 (dired-omit-expunge): Use it.
1263 2011-01-13 Christian Ohler <ohler@gnu.org>
1265 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1267 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1269 * font-lock.el (font-lock-verbose): Default to nil.
1271 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1273 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1274 (compose-mail): New arg RETURN-ACTION.
1275 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1277 * mail/sendmail.el (mail-return-action): New var.
1278 (mail-mode): Make it buffer-local.
1279 (mail-bury): Obey it. Move special Rmail window handling to
1281 (mail, mail-setup): New arg RETURN-ACTION.
1282 (sendmail-user-agent-compose): Move from simple.el.
1284 * mail/rmail.el (rmail-mail-return): New function.
1285 (rmail-start-mail): Pass it to compose-mail.
1287 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1289 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1290 menus. Add menu item for customize-themes.
1292 * cus-theme.el (customize-themes):
1293 * emacs-lisp/package.el (package--list-packages):
1294 Use switch-to-buffer.
1296 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1298 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1300 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1302 * progmodes/prolog.el: Fix up coding convention and such.
1303 (prolog-indent-width): Use the same default as in
1304 previous prolog.el rather than tab-width which depends on which buffer
1305 is current when the file is loaded.
1306 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1308 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1309 (prolog-known-systems): Remove.
1310 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1311 Move initialization into declaration.
1312 (prolog-mode-map): Move initialization into declaration.
1313 Remove system-specific mode-map vars, since they referred to the same
1315 (prolog-mode-variables): Obey the user's preference w.r.t
1316 adaptive-fill-mode. Prefer symbol-value to `eval'.
1317 (prolog-mode-keybindings-edit): Add compatibility bindings.
1318 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1319 (mercury-mode-map): New var.
1320 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1321 (prolog-ensure-process, prolog-process-insert-string)
1322 (prolog-consult-compile): Use with-current-buffer.
1323 (prolog-guess-fill-prefix): Simplify data flow.
1324 (prolog-replace-in-string): New function to use instead of
1326 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1327 (prolog-uncomment-region): Use `uncomment-region' when available.
1328 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1329 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1330 of int-to-char and char-to-int.
1331 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1333 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1335 * progmodes/prolog.el: Replace by a whole new file.
1337 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1339 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1340 (declare-function, undefined, insert-for-yank)
1341 (replace-regexp-in-string): Follow checkdoc's recommendations.
1343 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1345 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1346 refreshing the diary buffer.
1348 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1350 * allout.el: Add 2011 to the file copyright.
1351 (allout-encrypt-string): Prevent encryption from adding an extra
1352 newline at the end of the topic body.
1353 (allout-version): Increment to 2.3.
1355 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1357 * net/dbus.el (dbus-unregister-service): Complete doc.
1358 Fix call of dbus-error signal.
1359 (dbus-register-property): Use `dont-register' keyword.
1361 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1363 * net/dbus.el (dbus-unregister-service): Translate returned
1364 integer into a symbol.
1365 (dbus-register-property): Use `dbus-register-service' to do the
1368 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1370 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1371 Suggested by Joakim Verona.
1373 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1375 * wid-edit.el (visibility): Replace :on-image and :off-image
1376 widget properties with :on-glyph and :off-glyph, for consistency
1377 with the `visibility' widget.
1378 (widget-toggle-value-create, widget-visibility-value-create):
1379 Merge into a single function `widget-toggle-value-create'.
1381 * cus-edit.el (custom-variable-value-create, custom-visibility)
1382 (custom-face-edit-value-create, custom-face-value-create):
1383 Replace :on-image and :off-image widget properties with :on-glyph and
1384 :off-glyph, for consistency with the `visibility' widget.
1386 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1388 * net/ldap.el (ldap-search-internal): Don't use eval.
1390 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1392 * subr.el (read-char-choice): Use read-key.
1394 * custom.el (custom-safe-themes): Rename from
1395 custom-safe-theme-files. Add :risky tag.
1396 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1397 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1399 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1401 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1402 from Search and add a label to Undo.
1404 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1405 inappropriate buttons and adding :vert-only tags.
1407 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1408 removal of Help tool-bar button. Remove Undo button for space.
1410 * info.el (info-tool-bar-map): Add :vert-only tags.
1412 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1414 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1415 image backend support. Either of them is fine.
1417 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1419 * subr.el (y-or-n-p): Doc fix.
1421 * custom.el (custom-safe-theme-files): New defcustom.
1422 (custom-theme-load-confirm): New function.
1423 (load-theme): Load theme using `load', confirming with
1424 custom-theme-load-confirm if necessary.
1426 * subr.el (read-char-choice): New function, factored out from
1427 dired-query and hack-local-variables-confirm.
1429 * dired-aux.el (dired-query):
1430 * files.el (hack-local-variables-confirm): Use it.
1432 * dired-aux.el (dired-compress-file):
1433 * files.el (abort-if-file-too-large, find-alternate-file)
1434 (set-visited-file-name, write-file, backup-buffer)
1435 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1436 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1437 Use new format string args for y-or-n-p and yes-or-no-p.
1439 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1441 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1442 [gcc-include]: Tighten file name match, add match for column
1444 [gnu]: Remove unused group.
1446 2011-01-08 Glenn Morris <rgm@gnu.org>
1448 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1450 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1452 2011-01-07 Sam Steingold <sds@gnu.org>
1454 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1455 the `explicit-shell-file-name' because that is the
1456 non-interactive shell.
1458 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1460 * subr.el (y-or-n-p): Accept format string args.
1462 2011-01-07 Glenn Morris <rgm@gnu.org>
1464 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1466 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1468 * allout.el (allout-back-to-current-heading): Ensure return to
1469 the visible containing topic, rather than a collapsed one.
1470 (allout-view-change-hook): Remove hook that was deprecated long ago.
1471 (allout-exposure-change-hook): Remove documentation remarks
1472 concerning removed allout-view-change-hook.
1473 (allout-flag-region): Remove invocation of and documentation
1474 remarks concerning allout-view-change-hook.
1476 2011-01-06 Glenn Morris <rgm@gnu.org>
1478 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1479 (vc-bzr-annotate-extract-revision-at-line):
1480 Handle authors with embedded spaces. (Bug#7792)
1482 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1484 * doc-view.el (doc-view-image-width): New variable.
1485 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1486 backend for PNG images, and do dynamic rescaling instead of
1487 reconverting the whole doc.
1489 2011-01-05 Glenn Morris <rgm@gnu.org>
1491 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1493 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1495 * allout.el: Reconcile with changes in line movement behavior for
1496 long text lines that cross more than a single physical window
1497 line, ie when truncate-lines is nil.
1498 (allout-next-visible-heading): Provide for change in line-move
1499 behavior on long lines when truncate-lines is nil. In that case,
1500 line-move can wind up on the same textual line when it moves to
1501 the next window line, and moving to the bullet position after the
1502 move yields zero advancement. Add logic to detect and compensate
1503 for the lack of progress.
1504 (allout-current-topic-collapsed-p): move-end-of-line respect for
1505 field boundaries is different when operating with body lines
1506 shorter than window width versus ones greater than window width,
1507 which can yield false negatives in this function. Avoid
1508 difference by applying move-end-of-line while field-text-motion is
1511 2011-01-04 Glenn Morris <rgm@gnu.org>
1513 * textmodes/rst.el (rst-compile-toolsets):
1514 Add pdf and s5 to option alist.
1516 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1518 * net/dbus.el (dbus-register-property): Add optional parameter
1519 dont-register-service. Updated docstring accordingly.
1521 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1523 * textmodes/rst.el (rst-compile-pdf-preview)
1524 (rst-compile-slides-preview): Remove extra line.
1526 2011-01-04 Glenn Morris <rgm@gnu.org>
1528 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1529 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1530 default to `prog' without a .py extension.
1531 (rst-compile-pdf-preview, rst-compile-slides-preview):
1532 Use program names from rst-compile-toolsets, rather than hard-coding.
1533 (rst-portable-mark-active-p): Fix presumed typo.
1535 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1537 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1538 libpng versions both before and after 1.4.0. (Bug#7716)
1540 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1542 * time.el (display-time-mode): Mention display-time-interval in
1543 the doc string. (Bug#7713)
1545 2011-01-02 Kenichi Handa <handa@m17n.org>
1547 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1548 condition-case and return an error message string if something
1550 (rmail-show-mime): Adjust for the above change. Insert the
1551 header by rmail-mime-insert-header.
1553 2011-01-02 Kenichi Handa <handa@m17n.org>
1555 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1556 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1557 (rmail-mime-mbox-buffer)
1558 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1559 (rmail-mime-entity): Argument changed. All codes handling an
1560 entity object are changed.
1561 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1563 (rmail-mime-entity-children, rmail-mime-entity-handler)
1564 (rmail-mime-entity-tagline): New functions.
1565 (rmail-mime-message-p): New function.
1566 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1567 (rmail-mime-entity-segment, rmail-mime-next-item)
1568 (rmail-mime-previous-item, rmail-mime-shown-mode)
1569 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1570 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1571 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1573 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1574 (rmail-mime-insert-decoded-text): New function.
1575 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1576 (rmail-mime-insert-image): Argument changed. Caller changed.
1577 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1578 (rmail-mime-set-bulk-data): New funciton.
1579 (rmail-mime-insert-bulk): Argument changed.
1580 (rmail-mime-multipart-handler): Return t.
1581 (rmail-mime-process-multipart): Argument changed.
1582 Handle "multipart/alternative" here.
1583 (rmail-mime-process): Argument changed.
1584 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1585 (rmail-mime-insert): Argument changed. Handle raw display mode.
1586 (rmail-mime): Argument changed. Handle toggling of raw display
1588 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1589 rmail-mime-view-buffer.
1590 (rmail-insert-mime-forwarded-message): Likewise.
1591 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1593 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1594 non-nil, handle the header in rmail-show-mime-function.
1596 2011-01-02 Leo <sdl.web@gmail.com>
1598 * help-fns.el (describe-variable): Fix previous change.
1600 2011-01-02 Juri Linkov <juri@jurta.org>
1602 * isearch.el (isearch-lazy-highlight-error): New variable.
1603 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1604 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1605 to the current value of `isearch-error' (Bug#7468).
1607 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1609 * help-fns.el (describe-variable): Don't emit trailing whitespace
1612 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1614 * textmodes/rst.el (rst-compile-pdf-preview)
1615 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1617 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1619 * emulation/edt-mapper.el: Override mapping of function keys so
1620 that the later call to read-key-sequence works.
1622 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1624 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1625 Unix EOLs. (Bug#7589)
1627 2011-01-02 Leo <sdl.web@gmail.com>
1629 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1630 if point is not behind eshell-last-output-end (Bug#7585).
1632 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * files.el (file-local-variables-alist):
1635 Make permanent-local (bug#7767).
1637 2011-01-02 Glenn Morris <rgm@gnu.org>
1639 * version.el (emacs-copyright): Set short copyright year to 2011.
1641 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1643 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1644 an existing temp buffer. (Bug#7746)
1646 2011-01-02 Glenn Morris <rgm@gnu.org>
1648 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1649 multiple addresses. (Bug#7760)
1651 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1653 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1654 do-auto-fill if everything points back to allout-auto-fill.
1655 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1656 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1658 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1660 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1663 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1665 * doc-view.el (doc-view-set-doc-type): New function refactored
1667 (doc-view-fallback-mode): New function.
1668 (doc-view-mode): Use it.
1669 (doc-view-mode-maybe): New function that checks if doc-view-mode
1670 can be used and falls back to the next best mode otherwise.
1672 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1673 DVI, OpenDocument, and MS Office files.
1675 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1677 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1679 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1681 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1682 on a copy of auto-mode-alist, because that deletes with side
1685 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1687 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1688 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1689 fallback instead of hard coding fundamental mode.
1691 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1693 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1694 Office) files also for searching.
1696 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1698 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1699 Office) files. Not yet enabled via auto-mode-list.
1700 (doc-view-unoconv-program): New custom variable.
1701 (doc-view-mode-p): Handle new odf document type.
1702 (doc-view-odf->pdf): New conversion function.
1703 (doc-view-convert-current-doc): Call it for odf files.
1704 (doc-view-mode): Recognize newly supported file extensions.
1706 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1708 * net/tramp.el (tramp-default-method-alist)
1709 (tramp-default-user-alist)
1710 (tramp-local-host-regexp, tramp-prefix-domain-format)
1711 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1714 * net/tramp-gvfs.el:
1716 * net/tramp-imap.el:
1718 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1719 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1721 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1723 * saveplace.el (save-place-alist-to-file): Save list sorted and
1724 pretty-printed, so that it is mergeable by line-based text merging,
1725 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1727 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1729 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1730 (allout-mode): Argument "toggle" => "force".
1731 Refine the docstring.
1732 Remove special provisions for reactivation, besides the 'force'
1734 Consolidate layout provisions coce directly into the activation
1735 condition branch, now that we've removed those provisions.
1736 (allout-unload-function): Explicitly activate the mode before
1737 deactivating, if it's initially deactivated.
1738 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1739 warnings for version of function used only where
1740 set-buffer-multibyte is unavailable.
1742 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1744 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1745 are handled by the menu-bar entries. As before, don't use
1746 :visibile to avoid changing the tool-bar.
1748 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1750 * net/secrets.el (secrets-delete-alias): New defun.
1752 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1754 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1755 methods, otherwise ~/.ssh/config would be ignored.
1757 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1759 * emacs-lisp/rx.el: Make it a superset of sregex.
1760 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1761 of args, add `regex' alias.
1762 (rx-info): Add arg to distinguish head and standalone forms.
1763 (rx-check, rx-form): Pass the corresponding arg.
1765 (rx-repeat): Make it work for any number of args.
1766 (rx-syntax): Make it accept syntax chars as is.
1767 * obsolete/sregex.el: Move from emacs-lisp/.
1768 * emacs-lisp/re-builder.el: Remove sregex support.
1769 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1771 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1773 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1774 PRIMARY first, then the clipboard. (Bug#7699)
1776 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1778 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1781 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1783 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1784 .emacs.elc (Bug#7530).
1786 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1787 image spec (Bug#7480).
1789 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1791 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1792 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1795 2010-12-20 Leo <sdl.web@gmail.com>
1797 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1798 always be performed (Bug#7680).
1800 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1802 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1803 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1806 * color.el: Move from gnus/.
1808 * vc/diff.el (diff-better-file-name): Function deleted.
1809 abbreviating file names causes problems with shell-quote-argument.
1810 (diff-no-select): Just use expand-file-name.
1812 * tool-bar.el (tool-bar--image-expression): New function.
1813 (tool-bar-local-item, tool-bar--image-exp): Use it.
1814 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1815 Use :enable instead of :visible to avoid changing the tool-bar
1816 configuration unnecessarily.
1818 * info.el (info-tool-bar-map): Add separators.
1820 2010-12-17 Ken Brown <kbrown@cornell.edu>
1822 * loadup.el: Use version numbers in Cygwin build.
1824 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1826 * ido.el (ido-file-internal): Ask for confirmation before
1827 overwriting an existing file (Bug#1238).
1829 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1831 * tool-bar.el (tool-bar-setup): Add separators.
1833 * menu-bar.el (featurep): Use menu-bar-separator.
1835 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1837 Migrate allout encryption provisions from pgg to epg.
1839 * allout.el (allout-toggle-current-subtree-encryption)
1840 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1841 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1842 for simpler universal argument interpretation.
1843 (allout-toggle-subtree-encryption): Adjust docstring to describe
1844 changed encryption provisions. Change fetch-pass to keymode-cue, for
1845 simpler universal argument interpretation. Remove provisions for
1846 handling key type and identity - they'll all be within
1847 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1848 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1849 for keypair recipients (universal argument > 1) and, in addition,
1850 associating the specified recipients with the outline (universal
1851 argument > 4) using a file local variable setting for
1852 'epa-file-encrypt-to'.
1853 Require epa, for recipients handling.
1854 Change how regexp filtering elements are named.
1855 Describe the problem with caching of incorrect symmetric-decryption
1857 Use the epa-passphrase-callback-function, in case the user is using
1859 Support saving of the selected keypair recipients when invoked with a
1861 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1863 Establish epg-context with armoring and default epg-protocol.
1864 Remove all passphrase cache, verification, and hinting code.
1865 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1866 No longer used, delete.
1867 (allout-mode): Adjust docstring to describe changed encryption
1868 provisions. Describe the problem with caching of incorrect
1869 symmetric-decryption keys.
1870 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1871 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1872 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1873 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1876 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1878 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1879 key selection prompt; make 'silent as default (Bug#7487).
1881 2010-12-16 Leo <sdl.web@gmail.com>
1883 * eshell/eshell.el (eshell-directory-name):
1884 Use locate-user-emacs-file (Bug#7578).
1886 2010-12-15 Glenn Morris <rgm@gnu.org>
1888 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1890 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1891 Scott Evans <gse@antisleep.com>
1893 * rect.el (rectange--default-line-number-format)
1894 (rectangle-number-line-callback): New functions.
1895 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1897 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1899 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1900 Delete unused variables.
1901 (move-to-column-force): Remove function obsolete since 21.2.
1903 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1905 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1906 (tramp-handle-insert-file-contents): Do not set permanent-local
1909 * net/tramp-cache.el (tramp-persistency-file-name):
1910 Use `locate-user-emacs-file' if fboundp.
1912 * net/tramp-sh.el (tramp-methods): Add "ksu".
1913 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1916 2010-12-14 Glenn Morris <rgm@gnu.org>
1918 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1919 (find-tag-marker-ring): Declare.
1920 (js-find-symbol): Require etags.
1922 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1924 (mail-alias-file): Don't autoload. Doc fix.
1925 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1926 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1927 Mark as obsolete, and risky.
1928 (mail-setup): Simplify.
1930 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1931 * mail/sendmail.el (build-mail-aliases): Update autoload.
1933 * dired.el (dired-trivial-filenames, dired-chown-program)
1934 (dired-auto-revert-buffer): Remove autoload cookies.
1935 * mail/sendmail.el (mail-recover-1): Require 'dired.
1937 * dired.el (dired-subdir-switches, dired-chown-program)
1938 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1939 Make into defcustoms.
1940 (dired-chown-program): Simplify initialization.
1942 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1944 2010-12-13 Romain Francoise <romain@orebokech.com>
1946 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1948 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1950 * net/netrc.el (netrc-point-at-eol): Remove the unused
1951 netrc-point-at-old and netrc-bound-and-true-p bindings.
1952 (netrc-parse): Cache the netrc contents.
1954 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1956 * subr.el (posn-col-row): Evaluate header-line-format in the
1957 context of the POSITION window's buffer.
1959 2010-12-13 Glenn Morris <rgm@gnu.org>
1961 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1962 (with-silent-modifications): Doc fixes.
1964 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1966 * net/tramp.el (tramp-action-password, tramp-process-actions):
1967 Revert previous from. Use `save-restriction'.
1969 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1971 * calendar/diary-lib.el (diary-list-sexp-entries):
1972 Handle case of no newline at end of file. (Bug#7536)
1974 2010-12-13 Glenn Morris <rgm@gnu.org>
1976 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1978 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1980 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1981 (tramp-process-actions): Do not widen.
1983 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1984 Protect buffer-modified value. (Bug#7557)
1986 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1988 * log-edit.el (log-edit-changelog-entries):
1989 Regexp quote filename. (Bug#7505)
1991 2010-12-13 Tom Breton <tehom@panix.com>
1993 * cus-edit.el (custom-save-all):
1994 Bind print-length and print-level to nil. (Bug#7581)
1996 2010-12-13 Glenn Morris <rgm@gnu.org>
1998 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1999 Run hooks to update menu contents. (Bug#7586)
2001 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2002 file names, for the sake of MS Windows. (Bug#7588)
2004 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2006 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2007 empty lines without a leading space.
2009 2010-12-13 Leo <sdl.web@gmail.com>
2011 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2012 while mapping over marks (Bug#6810).
2014 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2016 * image-dired.el (image-dired-db-file)
2017 (image-dired-temp-image-file, image-dired-gallery-dir)
2018 (image-dired-temp-rotate-image-file): Set default values relative
2019 to image-dired-dir (Bug#7518).
2021 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2023 * format.el (format-decode-run-method): Pass args FROM and TO, not
2024 point-min and point-max, to shell-command-on-region (Bug#7488).
2026 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2028 * frame.el (blink-cursor-mode): Make default t for ns.
2030 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2032 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2034 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2036 * comint.el (comint-dynamic-list-input-ring)
2037 (comint-dynamic-complete-filename)
2038 (comint-replace-by-expanded-filename)
2039 (comint-dynamic-simple-complete)
2040 (comint-dynamic-list-filename-completions)
2041 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2043 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2046 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2048 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2051 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2053 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2056 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2058 * files.el (file-relative-name): Handle UNC file names on
2059 DOS/Windows. (Bug#4674)
2061 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2063 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2064 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2065 (epg-context-set-passphrase-callback): Mention that the callback
2066 is not called when used with GnuPG 2.x.
2068 2010-12-13 Glenn Morris <rgm@gnu.org>
2070 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2071 Ensure ps-footer-font-size-internal is initialized.
2072 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2074 2010-12-13 Kenichi Handa <handa@m17n.org>
2076 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2077 within condition-case.
2078 (rmail-show-mime): Don't use condition-case.
2079 (rmail-search-mime-message): New function.
2080 (rmail-search-mime-message-function): Set to
2081 rmail-search-mime-message.
2083 2010-12-13 Leo <sdl.web@gmail.com>
2085 * ido.el (ido-common-initialization): New function. (bug#3274)
2087 (ido-completing-read): Call it.
2089 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2091 * bookmark.el (bookmark-name-from-full-record): Rename back to
2092 this original name from `bookmark-name-from-record' reverting part
2093 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2094 As Drew Adams pointed out, there was no reason to cause churn for
2095 third-party callers.
2097 2010-12-12 Alan Mackenzie <acm@muc.de>
2099 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2100 template arglist, check that the current language supports this.
2102 2010-12-11 Glenn Morris <rgm@gnu.org>
2104 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2105 state of the file matches. (Bug#7544)
2106 (vc-bzr-register, vc-bzr-checkin)
2107 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2108 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2110 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2112 2010-12-11 Karel Klíč <kklic@redhat.com>
2114 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2116 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2118 Derive from prog-mode, use derived-mode-p, and fix up various
2119 minor style issues in lisp/progmodes.
2121 * progmodes/vhdl-mode.el (vhdl-mode):
2122 * progmodes/verilog-mode.el (verilog-mode):
2123 * progmodes/vera-mode.el (vera-mode):
2124 * progmodes/sql.el (sql-mode):
2125 * progmodes/scheme.el (scheme-mode):
2126 * progmodes/perl-mode.el (perl-mode):
2127 * progmodes/octave-inf.el (inferior-octave-mode):
2128 * progmodes/autoconf.el (autoconf-mode):
2129 * progmodes/m4-mode.el (m4-mode):
2130 * progmodes/inf-lisp.el (inferior-lisp-mode):
2131 * progmodes/idlwave.el (idlwave-mode):
2132 * progmodes/icon.el (icon-mode):
2133 * progmodes/idlw-help.el (idlwave-help-mode):
2134 * progmodes/dcl-mode.el (dcl-mode):
2135 * progmodes/idlw-shell.el (idlwave-shell-mode):
2136 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2137 (ebrowse-member-mode, ebrowse-electric-position-mode):
2138 Use define-derived-mode.
2140 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2141 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2142 (xscheme-debugger-mode-p, xscheme-send-string-1):
2143 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2144 (tcl-load-file, tcl-restart-with-file):
2145 * progmodes/ps-mode.el (ps-run-running):
2146 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2147 * progmodes/js.el (js--get-all-known-symbols):
2148 * progmodes/inf-lisp.el (inferior-lisp-proc):
2149 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2150 (idlwave-template, idlwave-update-buffer-routine-info)
2151 (idlwave-update-current-buffer-info)
2152 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2153 (idlwave-scan-class-info, idlwave-fix-keywords)
2154 (idlwave-list-buffer-load-path-shadows):
2155 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2156 (idlwave-toolbar-remove):
2157 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2158 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2159 (idlwave-shell-menu-def):
2160 * progmodes/idlw-complete-structtag.el
2161 (idlwave-prepare-structure-tag-completion):
2162 * progmodes/gud.el (gud-set-buffer):
2163 * progmodes/f90.el (f90-backslash-not-special):
2164 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2166 * progmodes/xscheme.el (xscheme-start)
2167 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2168 * progmodes/which-func.el (which-function):
2169 * progmodes/vhdl-mode.el (vhdl-set-style):
2170 * progmodes/verilog-mode.el (verilog-set-compile-command)
2171 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2172 (verilog-set-define, verilog-auto-reeval-locals):
2173 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2174 * progmodes/simula.el (simula-mode):
2175 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2176 * progmodes/python.el (python-check, python-mode):
2177 * progmodes/prolog.el (prolog-mode-variables):
2178 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2179 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2180 * progmodes/delphi.el (delphi-mode):
2181 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2182 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2183 (c-font-lock-init): Move make-local-variable to their setq.
2185 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2186 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2188 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2189 (sh-set-shell): Don't set require-final-newline since it's already done
2191 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2192 since we never set it.
2193 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2194 Use read-string and standard prompt.
2195 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2196 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2197 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2198 (meta-common-mode-map): Rename from meta-mode-map.
2199 Remove C-m binding, which is a user preference, not mode specific.
2200 (meta-common-mode): New major mode; replace meta-common-initialization.
2201 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2202 around with font-lock.
2203 * progmodes/etags.el (select-tags-table-mode):
2204 Derive from special-mode.
2205 * progmodes/octave-mod.el (octave-mode):
2206 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2207 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2208 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2209 Let define-derived-mode do its job.
2210 * progmodes/cpp.el (cpp-edit-mode-map):
2211 Move initialization into declaration.
2212 (cpp-edit-mode): Use define-derived-mode.
2213 (cpp-edit-load): Use derived-mode-p.
2214 * progmodes/mixal-mode.el (mixal-mode):
2215 * progmodes/f90.el (f90-mode):
2216 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2217 require-final-newline since prog-mode does it already.
2218 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2219 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2220 * progmodes/antlr-mode.el: Require cc-mode upfront.
2221 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2223 (antlr-directory-dependencies, antlr-show-makefile-rules):
2225 (antlr-language-option): Don't assume point-min==1.
2226 (antlr-mode): Use define-derived-mode.
2227 * progmodes/ada-mode.el: Use derived-mode-p.
2228 (ada-mode): Use define-derived-mode.
2229 Use hack-local-variables-hook.
2231 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2233 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2234 (texinfo-mode): Don't disable adaptive-fill-mode.
2235 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2236 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2237 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2238 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2239 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2240 (texinfo-insert-@quotation, texinfo-insert-@samp)
2241 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2242 (texinfo-insert-@uref): Use define-skeleton.
2243 (texinfo-insert-@-with-arg): Delete.
2245 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2247 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2248 nil, do quote archive member names. (Bug#6144)
2250 2010-12-10 Glenn Morris <rgm@gnu.org>
2252 * files.el (diff-no-select): Declare.
2254 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2255 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2257 * comint.el (comint-input-ring-file-name): Doc fix.
2259 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2261 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2263 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2264 Use them instead of `nil' and `>', respectively.
2265 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2267 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2268 and menu-bar-positive-p instead of `nil' and `>', respectively.
2271 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2273 * whitespace.el (whitespace-newline-mode): Code fix.
2275 2010-12-09 Glenn Morris <rgm@gnu.org>
2277 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2278 Rename functions without commas, update callers.
2280 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2282 * whitespace.el (whitespace-cleanup-region):
2283 Clean up spaces before tabs. (Bug#7582)
2285 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2287 * bookmark.el: Adjust parameter names and doc strings to resolve
2288 confusion over whether "bookmark" meant a bookmark name or a
2289 bookmark record. Along the way, shorten one function's name for
2290 similar reasons. (Issue #7548)
2291 (bookmark-name-from-record): New name for
2292 `bookmark-name-from-full-record'. All callers changed.
2293 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2294 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2295 (bookmark-get-annotation, bookmark-set-annotation)
2296 (bookmark-get-filename, bookmark-set-filename)
2297 (bookmark-get-position, bookmark-set-position)
2298 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2299 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2300 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2301 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2302 Rename `bookmark' parameter to `bookmark-name-or-record', to
2303 clearly show its role, and shorten or adjust doc strings accordingly.
2304 (bookmark-set-name): Same, and pass the parameter directly to
2305 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2306 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2307 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2308 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2309 and in some cases shorten doc string accordingly.
2310 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2311 and `new-name', and adjust an internal variable to avoid confusion.
2312 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2313 parameter in doc string.
2315 2010-12-08 Glenn Morris <rgm@gnu.org>
2317 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2318 from gdb's history file. (Bug#7575)
2320 * mail/emacsbug.el (report-emacs-bug):
2321 Try to handle some other mail clients.
2323 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2325 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2326 Use string-prefix-p.
2327 (file-name-version-regexp): New var.
2328 (file-name-sans-versions):
2329 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2330 (jka-compr-get-compression-info): Use dolist.
2331 (jka-compr-compression-info-list): Don't bother specifying
2332 version/backup regexps.
2334 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2336 * simple.el (just-one-space): Make argument n default to 1 if
2339 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2341 * electric.el (electric-indent-post-self-insert-function):
2342 Delete trailing newlines even if we don't reindent.
2344 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2346 * minibuffer.el (completion-at-point): Remove the `arg'.
2347 * bindings.el (complete-symbol): Move back from minibuffer.el.
2349 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2351 * simple.el (just-one-space): Delete newlines for negative arg.
2353 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2355 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2356 (ansi-color-filter-apply): Simplify.
2357 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2359 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2361 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2363 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2365 * dired.el (dired-use-ls-dired): Set default to a special
2366 "unspecified" value.
2367 (dired-insert-directory): When called the first time, check
2368 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2370 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2372 * replace.el: Add "collect" feature to occur.
2373 (occur-collect-regexp-history): New var.
2374 (occur-read-primary-args): Return a replace string for nlines,
2376 (occur): Extend the meaning of nlines.
2378 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2380 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2381 (which-func-update-1): Distinguish symbols from strings.
2382 (which-function): Stay within 80 columns.
2384 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2386 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2388 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2390 (comment-style): Use comment-styles's docs to describe values.
2392 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2394 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2395 and ns-show-prefs (Bug#7535).
2397 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2398 bindings (Bug#7535).
2400 2010-12-03 Glenn Morris <rgm@gnu.org>
2402 * nxml/nxml-mode.el: Require rng-nxml.
2403 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2404 Remove declarations.
2406 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2407 * nxml/rng-nxml.el, nxml/rng-valid.el:
2408 Remove leading `*' from defcustom docs.
2410 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2411 (normal-top-level-add-to-load-path, tty-handle-args):
2412 Convert comments to basic doc-strings.
2414 * net/browse-url.el (browse-url-url-at-point)
2415 (browse-url-default-browser): Remove autoload cookies.
2417 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2418 Remove more undefined cl functions.
2420 * vc/diff.el (diff-sentinel): Make new arguments optional.
2421 * ibuf-ext.el (diff-sentinel): Update declaration.
2423 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2425 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2426 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2427 (epg-context-set-passphrase-callback): Mention that the callback
2428 is not called when used with GnuPG 2.x.
2430 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2432 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2433 (tramp-file-name-port): Check also for `tramp-default-port'.
2434 (tramp-get-connection-name): New defun.
2435 (tramp-get-connection-process): Use it.
2436 (tramp-debug-message): Extend function exclude list.
2437 (tramp-drop-volume-letter): Fix doc string.
2439 * net/tramp-cmds.el: Remove solved todo item.
2443 * net/tramp-gvfs.el:
2445 * net/tramp-imap.el:
2446 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2447 and `tramp-default-user-alist', respectively.
2449 * net/tramp-gw.el (tramp-gw-open-connection):
2450 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2452 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2453 `tramp-file-name-port'.
2455 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2456 and "psftp". Exchange "%k" marker with options.
2457 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2458 Compute size of link target.
2459 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2460 `tramp-current-*' up due to gateway methods. Optimze computing of
2461 copy arguments. Use `tramp-get-connection-name' and
2462 `tramp-get-connection-buffer'. Improve debug messages.
2463 (tramp-compute-multi-hops): Remove port determination.
2464 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2466 * net/trampver.el: Update release number.
2468 2010-12-02 Glenn Morris <rgm@gnu.org>
2470 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2471 Avoid infinite loop over windows. (Bug#7492)
2473 * progmodes/flymake.el (flymake-check-file-limit):
2474 Allow nil to mean "no limit".
2475 (flymake-check-patch-master-file-buffer): Update for above change.
2476 Allow a .tex file-name extension to be optional.
2477 (flymake-master-tex-init): Also match \include statements.
2479 2010-11-30 Sam Steingold <sds@gnu.org>
2481 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2482 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2483 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2484 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2485 define-derived-mode').
2486 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2487 users who want to call `nxml-parent-document-set'.
2489 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2491 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2492 stand-alone lines, since that is handled by log-edit-match-to-eoh
2495 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2497 * dired.el (dired-get-filename): Replace backslashes with slashes
2498 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2499 * locate.el (locate-default-make-command-line): Don't consider
2500 drive letter and root directory part of
2501 `directory-listing-before-filename-regexp'. (Bug#7308)
2502 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2504 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2506 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2507 of :smie-open/close-alist.
2508 (smie-next-sexp): Make it accept a "start token" as argument.
2509 (smie-indent-keyword): Be careful not to misidentify tokens that span
2510 more than one line, as empty lines. Add argument `token'.
2512 2010-11-27 Kenichi Handa <handa@m17n.org>
2514 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2515 multipart subtypes, insert all as usual.
2517 * mail/rmail.el: Require rfc2047.
2519 2010-11-27 Kenichi Handa <handa@m17n.org>
2521 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2522 (rmail-mime-entity-disposition)
2523 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2524 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2525 (rmail-mime-save): Handle the case that the button's `data' is a
2527 (rmail-mime-insert-text): New function.
2528 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2529 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2530 (rmail-mime-insert-bulk): New function mostly copied from the old
2531 rmail-mime-bulk-handler.
2532 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2533 (rmail-mime-process-multipart): New function mostly copied from
2534 the old rmail-mime-multipart-handler.
2535 (rmail-mime-show): Just call rmail-mime-process.
2536 (rmail-mime-process): New function mostly copied from the old
2538 (rmail-mime-insert-multipart, rmail-mime-parse)
2539 (rmail-mime-insert, rmail-show-mime)
2540 (rmail-insert-mime-forwarded-message)
2541 (rmail-insert-mime-resent-message): New functions.
2542 (rmail-insert-mime-forwarded-message-function): Set to
2543 rmail-insert-mime-forwarded-message.
2544 (rmail-insert-mime-resent-message-function): Set to
2545 rmail-insert-mime-resent-message.
2547 * mail/rmailsum.el: Require rfc2047.
2548 (rmail-header-summary): Handle multiline Subject: field.
2549 (rmail-summary-line-decoder): Change the default to
2550 rfc2047-decode-string.
2552 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2553 (rmail-mime-feature): Change the default to `rmailmm'.
2554 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2555 (rmail-display-labels): Likewise.
2556 (rmail-show-message-1): Check rmail-enable-mime, and use
2557 rmail-show-mime-function for a MIME message. Decode the headers
2558 according to RFC2047.
2560 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2562 * progmodes/which-func.el (which-func-imenu-joiner-function):
2563 Return a string, as expected.
2564 (which-function-mode): Make sure we stop any previous timer before
2567 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2569 * net/tramp.el (tramp-default-method-alist)
2570 (tramp-default-user-alist, tramp-default-proxies-alist):
2571 Adapt custom options type. (Bug#7445)
2573 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2575 * progmodes/python.el: Add Ipython support (Bug#5390).
2576 (python-shell-prompt-alist)
2577 (python-shell-continuation-prompt-alist): New options.
2578 (python--set-prompt-regexp): New function.
2579 (inferior-python-mode, run-python, python-shell):
2580 Require ansi-color. Use python--set-prompt-regexp to set the comint
2581 prompt based on the Python interpreter.
2582 (python--prompt-regexp): New var.
2583 (python-check-comint-prompt)
2584 (python-comint-output-filter-function): Use it.
2585 (run-python): Use a pipe (Bug#5694).
2587 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2589 * progmodes/python.el (run-python): Doc fix.
2590 (python-keep-current-directory-in-path): New var (Bug#7454).
2592 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2594 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2595 Prompt user before actually printing.
2597 2010-11-27 Glenn Morris <rgm@gnu.org>
2599 * startup.el (package-enable-at-startup, package-initialize):
2600 Remove unnecessary declarations.
2602 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2604 * international/characters.el (glyphless-char-display-control):
2605 Exclude newline and TAB from the c0-control group.
2607 2010-11-27 Glenn Morris <rgm@gnu.org>
2609 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2610 (expand-mail-aliases): Remove unnecessary autoload.
2612 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2614 * shell.el (shell-dir-cookie-re): Move definition before use.
2616 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2617 Replace undefined CL functions.
2619 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2621 * simple.el (prog-mode): Set bidi-paragraph-direction to
2624 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2626 2010-11-26 Glenn Morris <rgm@gnu.org>
2628 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2629 diary-outlook-formats can be sensitive to calendar-date-style.
2630 (diary-outlook-formats): Simplify the default setting.
2631 (diary-from-outlook-internal): Pass subject and body as arguments.
2632 Use dolist rather than dotimes. Don't save the diary buffer.
2633 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2634 Pass subject and body as explicit arguments to the -internal function.
2636 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2638 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2639 parsing them. This makes mailto:...?subject=foo\nbar work.
2641 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2643 * vc/diff.el (diff): Fix last change.
2645 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2647 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2648 (pcase--dontcare-upats): New var.
2649 (pcase-let, pcase-let*): Generate better code.
2650 Accept the same bodies as `let'.
2651 (pcase-dolist): New macro.
2652 (pcase--trivial-upat-p): New helper function.
2653 (pcase--expand): Strip leading "(let nil" if any.
2655 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2657 * mail/mailclient.el (browse-url): Require.
2658 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2659 use the external browser function to send the mail (bug#7469).
2661 * net/browse-url.el (browse-url-browser-function): Revert the
2662 default back to the previous value, since the new value broke
2664 (browse-url-mailto-function): New variable for mailto: URLs.
2665 (browse-url): Use the new variable for mailto: URLs.
2667 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2669 * eshell/esh-cmd.el (eshell-parse-command):
2670 * eshell/esh-arg.el (eshell-parse-arguments):
2671 * eshell/em-script.el (eshell-source-file):
2672 Use with-silent-modifications.
2674 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2676 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2677 for a merge location.
2679 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2680 (vc-bzr-merge-branch): Always prompt.
2681 (vc-bzr-async-command): Use the full branch filename.
2683 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2685 * shell.el (shell): Use current-buffer by default if it's already
2686 a shell mode buffer and its process is dead.
2687 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2689 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2691 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2692 Mention that the keywords should be comma separated.
2694 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2696 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2697 Accept optional prefix arg meaning to prompt for a command.
2698 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2699 prefix arg meaning to prompt for a command.
2700 (vc-pull): Alias for vc-update.
2702 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2703 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2704 (vc-bzr-merge-branch): New functions, implementing merge-branch
2705 and pull operations.
2707 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2709 * Makefile.in: Fix up last merge.
2711 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2712 (diff-sentinel): Get them as arguments instead.
2713 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2714 (diff-file-local-copy, diff-better-file-name): New funs.
2715 (diff-no-select): Rename from diff-into-buffer.
2716 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2717 Prefer closures to buffer-local variables.
2718 (diff): Adjust accordingly.
2719 (diff-buffer-with-file): Move from files.el.
2720 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2721 (diff-buffer-internal): Remove.
2722 (diff-buffer-buffer): Remove.
2723 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2724 the buffer name used, and so as not to mess up windows and frames.
2726 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2728 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2729 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2730 (diff-buffer-with-file): Use it.
2731 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2734 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2736 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2737 \ref's or \pageref's value as default instead of initial input.
2739 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2741 * files.el (backup-by-copying-when-mismatch): The default value is
2744 * startup.el (normal-top-level):
2745 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2746 `backup-by-copying-when-mismatch'.
2748 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2750 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2752 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2754 * progmodes/python.el (python-font-lock-keywords):
2755 Highlight top-level augmented assignments (Bug#6445).
2757 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2759 * term/ns-win.el (ns-right-control-modifier)
2760 (ns-right-command-modifier): Defvar them.
2762 * cus-start.el (all): Add ns-right-control-modifier and
2763 ns-right-command-modifier (Bug#7458).
2765 2010-11-20 Glenn Morris <rgm@gnu.org>
2767 * emacs-lisp/authors.el (authors-ignored-files)
2768 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2770 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2772 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2773 (report-emacs-bug-parse-query-results)
2774 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2775 keywords used for querying the bug database to show them in the
2776 existing bugs buffer.
2778 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2780 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2782 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2784 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2786 * international/characters.el (glyphless-char-display-control):
2787 Make it a defcustom, with update-glyphless-char-display as its
2789 (top level): Don't call update-glyphless-char-display.
2791 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2793 Sync with Tramp 2.2.0.
2795 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2796 `file-remote-p' (due to compatibility).
2798 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2799 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2801 * net/trampver.el: Update release number.
2803 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2805 * faces.el (glyphless-char): Define value for `pc'.
2807 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2809 Implemented a bug querying mechanism.
2810 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2811 (report-emacs-bug-create-existing-bugs-buffer)
2812 (report-emacs-bug-parse-query-results)
2813 (report-emacs-bug-query-existing-bugs): New functions.
2815 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2817 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2818 a \ref{} or \pageref{} macro, then use its value as initial input.
2820 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2822 * calc/calc-units.el (math-build-units-table-buffer):
2823 calc/README: Mention that the TeX specific units won't use the
2824 `tex' prefix in TeX mode.
2825 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2826 prefix for units in TeX mode.
2828 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2830 * simple.el (kill-new, kill-append, kill-region):
2831 * comint.el (comint-kill-region): Make the yank-handler argument
2834 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2836 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2837 that are both openers (resp. closers) and something else.
2838 (smie-grammar): Loosen definition of valid values.
2839 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2840 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2841 (smie-indent-after-keyword): Adjust users.
2842 (smie-indent-keyword): Don't indent empty lines.
2844 * vc-hg.el (vc-hg-program): New var.
2845 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2846 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2848 2010-11-18 Glenn Morris <rgm@gnu.org>
2850 * emacs-lisp/autoload.el (autoload-find-destination): The function
2851 coding-system-eol-type may return non-numeric values. (Bug#7414)
2853 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2855 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2857 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2859 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2861 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2863 * textmodes/picture.el (picture-mouse-set-point): Don't use
2864 posn-col-row; explicitly compute the motion based on the posn at
2865 the window-start (Bug#7390).
2867 2010-11-18 Glenn Morris <rgm@gnu.org>
2869 * novice.el (disabled-command-function):
2870 Fix 2009-11-15 change. (Bug#7384)
2872 2010-11-18 Glenn Morris <rgm@gnu.org>
2874 * calendar/calendar.el (diary-iso-date-forms): Make elements
2875 mutually exclusive. (Bug#7377)
2877 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2879 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2880 when filling the remaining "unconstrained" values.
2882 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2884 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2887 * files.el (safe-local-variable-p): Gracefully handle errors.
2889 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2890 Use smie-indent-virtual when indenting relative to an opener.
2891 (smie-rule-separator): Use smie-rule-parent.
2892 (smie-indent-keyword): Consult rules, even for openers at bol.
2893 (smie-indent-comment-close): Try to align closer's content.
2895 2010-11-18 Glenn Morris <rgm@gnu.org>
2897 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2899 2010-11-18 Glenn Morris <rgm@gnu.org>
2901 * printing.el (pr-menu-bind): Doc fix.
2903 * speedbar.el (speedbar-toggle-images): Doc fix.
2905 * progmodes/python.el (python-shell): Doc fix.
2907 * wid-edit.el (widget-field-use-before-change)
2908 (widget-use-overlay-change): Doc fixes.
2910 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2912 Minor cleanup to improve style.
2913 * textmodes/rst.el (rst-update-section): Use point-marker.
2914 (rst-get-decoration): Eliminate unneeded assignment.
2915 (rst-promote-region, rst-straighten-decorations)
2916 (rst-section-tree, rst-adjust): Use point-marker.
2917 (rst-toc-mode-mouse-goto): Avoid setq.
2918 (rst-shift-region-guts, rst-shift-region-left)
2919 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2920 (rst-convert-bullets-to-enumeration): Use copy-marker.
2922 * minibuffer.el (completion-fail-discreetly): New var.
2923 (completion--do-completion): Use it.
2925 * electric.el (electric-pair-pairs): New var.
2926 (electric-pair-post-self-insert-function): Use it.
2927 (electric-layout-post-self-insert-function): Don't insert a before
2928 newline unless it's actually needed.
2930 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2932 * progmodes/python.el (run-python): Explain why we remove the current
2933 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2935 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2937 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2939 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2940 (octave-mode-map): Don't bind ;, SPC, and LF.
2941 (octave-auto-indent, octave-auto-newline): Remove.
2942 (electric-layout-rules): Declare.
2943 (octave-mode): Set electric-layout-rules.
2944 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2945 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2946 (octave-electric-space): Remove.
2948 * electric.el (electric-layout-mode): New minor mode.
2949 (electric--after-char-pos): New function.
2950 (electric-indent-post-self-insert-function): Use it.
2951 (electric-layout-rules): New var.
2952 (electric-layout-post-self-insert-function): New function.
2953 (electric-indent-mode): Make them interact better.
2955 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2957 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2958 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2959 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2961 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2963 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2964 Make sure to check inside the word (Bug#6761).
2966 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2968 * startup.el (command-line): If the cursorColor resource is set,
2969 change the cursor face-spec (Bug#7392).
2971 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2973 The main features of the following allout.el changes are:
2974 - implement user customization for the allout key bindings
2975 - add a customization control by which the user can inhibit use of
2976 a trailing Ctrl-H, so by default it's reserved for use with
2977 describe-prefix-bindings
2978 - adapt to new version of called-interactively-p, while
2979 maintaining backwards compatibility with old version
2980 - fix hotspot navigation so i works properly with meta-modified keys
2982 * allout.el (allout-keybindings, allout-bind-keys)
2983 (allout-keybindings-binding, allout-prefixed-keybindings)
2984 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2985 (allout-keybindings-list, allout-mode-map-adjustments)
2986 (allout-setup-mode-map): Establish allout-mode keymaps as user
2987 customizable settings, and also establish a customizable setting which
2988 regulates whether or not a trailing control-h is reserved for use with
2989 describe-prefix-bindings - and inhibit it by default, so that control-h
2990 *is* reserved for describe-prefix-bindings unless the user changes it.
2992 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2993 and accurately between modified and unmodified events, and handle
2994 modified events more comprehensively.
2996 * allout.el (allout-substring-no-properties):
2997 Alias to use or provide version of `substring-no-properties'.
2998 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3000 * allout.el (allout-next-single-char-property-change):
3001 Alias to use or provide version of `next-single-char-property-change'.
3002 (allout-annotate-hidden, allout-hide-by-annotation):
3003 Use `allout-next-single-char-property-change'.
3005 * allout.el (allout-select-safe-coding-system):
3006 Alias to use or provide version of `select-safe-coding-system'.
3007 (allout-toggle-subtree-encryption):
3008 Use `allout-select-safe-coding-system'.
3010 * allout.el (allout-set-buffer-multibyte):
3011 Alias to use or provide version of `set-buffer-multibyte'.
3012 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3014 * allout.el (allout-called-interactively-p): Macro for using the
3015 different versions of called-interactively-p identically, depending on
3016 the subroutine's argument signature.
3017 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3018 Use `(interactive "p")' instead of `(called-interactively-p)'.
3020 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3021 (allout-previous-visible-heading, allout-forward-current-level)
3022 (allout-backward-current-level, allout-show-children):
3023 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3025 * allout.el (allout-before-change-handler):
3026 Exempt edits to the (overlaid) character after the allout outline
3027 bullet from edit confirmation prompt.
3029 * allout.el (allout-add-resumptions):
3030 Ensure that it respects correct buffer for keybindings.
3032 * allout.el (allout-beginning-of-line):
3033 Use `allout-previous-single-char-property-change' alias for the sake of
3034 diverse compatibility.
3036 * allout.el (allout-end-of-line):
3037 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3039 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3041 * frame.el (frame-notice-user-settings): Don't clobber other
3042 user-set parameters when calling face-set-after-frame-default in
3043 response to background-color parameter (Bug#7373).
3045 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3047 * international/characters.el (glyphless-char-display-control):
3048 Rename from glyphless-char-control; all users changed. Doc fix.
3049 Signal an error if display method is not one of the recognized
3052 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3054 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3055 (tramp-compat-line-end-position): Remove them.
3057 * net/tramp.el (tramp-parse-rhosts-group)
3058 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3059 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3060 (tramp-parse-netrc-group, tramp-parse-putty-group)
3061 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3062 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3063 (tramp-sh-handle-file-selinux-context)
3064 (tramp-sh-handle-file-name-all-completions)
3065 (tramp-sh-handle-insert-directory)
3066 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3067 (tramp-wait-for-output, tramp-send-command-and-read)
3068 * net/tramp-smb.el (tramp-smb-read-file-entry)
3069 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3071 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3073 (tramp-remote-coding-commands): Add an alternative using "base64
3074 -d -i". This is needed for older base64 versions from GNU
3075 coreutils. Reported by Klaus Reichl
3076 <Klaus.Reichl@thalesgroup.com>.
3078 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3080 * simple.el (count-words-region): New function.
3082 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3084 * shell.el (shell-dir-cookie-re): New custom variable.
3085 (shell-dir-cookie-watcher): New function.
3087 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3088 and compilation-mode (bug#7350).
3090 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3091 highlight when one of them is empty.
3093 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3095 (skeleton-newline): New function.
3096 (skeleton-internal-1): Use it.
3098 * simple.el (open-line): `newline' may strip trailing space.
3100 2010-11-12 Kevin Ryde <user42@zip.com.au>
3102 * international/mule-cmds.el (princ-list): Use mapc.
3104 2010-11-12 Glenn Morris <rgm@gnu.org>
3106 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3107 Use it to replace all instances of "*Compile-Log*"
3109 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3111 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3114 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3116 * progmodes/modula2.el: Use SMIE and skeleton.
3117 (m2-mode-syntax-table): (*..*) can be nested.
3118 Add //...\n. Fix paren syntax.
3119 (m2-mode-map): Remove LF and TAB bindings.
3120 (m2-indent): Add safety property.
3121 (m2-smie-grammar): New var.
3122 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3123 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3124 (m2-mode): Use define-derived-mode.
3125 (m2-newline, m2-tab): Remove.
3126 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3127 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3128 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3129 (m2-import): Use define-skeleton.
3131 2010-11-11 Glenn Morris <rgm@gnu.org>
3133 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3135 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3136 (ls-lisp-verbosity): Add custom :set-after property.
3137 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3138 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3139 (ls-lisp-insert-directory): Update caller.
3140 (ls-lisp-set-options): New function.
3141 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3144 * play/landmark.el (lm-prompt-for-move):
3145 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3147 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3149 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3150 (idlwave-study-twins): Prefix dynamic local variable `name'.
3151 (idlwave-routine-twin-compare): Update for above change.
3153 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3154 Prefix dynamic local variables `name', `kwd', and `link'.
3155 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3156 * progmodes/idlw-complete-structtag.el
3157 (idlwave-complete-structure-tag-help):
3158 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3159 (idlwave-complete-sysvar-tag-help)
3160 (idlwave-complete-class-structure-tag-help):
3161 Update for above name changes.
3163 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3165 * net/browse-url.el (browse-url-browser-function): Change the
3166 default to use `browse-url-mail' on mailto: URLs.
3168 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3170 * emacs-lisp/package.el (package-read-all-archive-contents):
3171 Reset package-archive-contents to nil before re-reading.
3173 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3175 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3176 already found as misspellings by (flyspell-large-region), just
3177 do highlighting (bug#7322).
3179 2010-11-10 Glenn Morris <rgm@gnu.org>
3181 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3183 * emulation/edt.el (edt-with-position): New macro.
3184 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3185 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3186 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3188 * emulation/tpu-extras.el (tpu-with-position): New macro.
3189 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3191 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3193 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3194 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3195 (texinfo-master-menu, texinfo-insert-node-lines)
3196 (texinfo-multiple-files-update):
3197 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3198 Use line-beginning-position.
3200 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3201 No recent Emacs supports system-type `emx'.
3203 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3204 (ada-command-separator, ada-default-prj-properties)
3205 (ada-find-any-references): Update for above name change.
3207 * dirtrack.el (dirtrack-directory-function)
3208 (dirtrack-canonicalize-function):
3209 * filecache.el (file-cache-completion-ignore-case)
3210 (file-cache-case-fold-search, file-cache-ignore-case):
3211 * term.el (serial-port-is-file-p): Cosmetic change.
3213 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3214 Remove non-existent `windows-95' system-type.
3215 * dired.el (dired-chown-program): Remove non-existent `linux'
3218 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3219 (ping-program-options): Remove non-existent `linux' system-type.
3221 * startup.el (package-initialize): Update declaration.
3223 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3224 (ls-lisp-handle-switches): Use time-less-p.
3225 (ls-lisp-format-time): Use float-time.
3227 * textmodes/remember.el (remember-time-to-seconds): Remove.
3228 (remember-store-in-mailbox): Use float-time.
3230 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3232 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3233 never a real function.
3234 (with-no-warnings): Remove compat stub, now unused.
3235 (time-less-p): Doc fix.
3236 (time-to-number-of-days): Simplify.
3238 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3240 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3241 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3242 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3243 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3244 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3246 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3247 (eshell-shuffle-files, eshell-shorthand-tar-command)
3248 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3249 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3250 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3251 Prefix dynamic local variable `matches'.
3253 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3254 Prefix dynamic local variable `skeleton'.
3256 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3258 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3259 in mail buffer; make yank-action always a command that yanks original
3262 2010-11-09 Glenn Morris <rgm@gnu.org>
3264 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3266 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3268 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3269 completion field (bug#7211).
3271 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3272 Fix handling of backslash escapes.
3273 (python-quote-syntax): Adjust accordingly.
3275 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3277 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3278 (vc-mtn-workfile-branch): Adjust to new output format.
3280 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3282 * international/mule-cmds.el (princ-list): Mark as obsolete.
3284 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3286 * emacs-lisp/smie.el: New package.
3288 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3290 * files.el (backup-by-copying-when-mismatch):
3291 Set `permanent-local' property.
3293 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3294 `permanent-local' property for `backup-by-copying-when-mismatch'.
3296 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3298 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3300 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3302 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3303 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3304 AUTOINOUT for SV style multidimensional arrays, bug294.
3305 Reported by Eric Mastromarchi.
3306 (verilog-preprocess): Use with-current-buffer and
3307 font-lock-fontify-buffer to cleanup style issues.
3309 2010-11-09 Glenn Morris <rgm@gnu.org>
3311 * locate.el (locate, locate-mode): Doc fixes.
3313 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3315 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3316 user for confirmation.
3317 (server-force-stop): Use it.
3318 (server-start): Use server-force-stop for kill-emacs-hook, to
3319 avoid user interaction while killing Emacs.
3321 2010-11-09 Glenn Morris <rgm@gnu.org>
3323 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3324 (meta-indent-line): Simplify.
3326 * vc/emerge.el (emerge-line-number-in-buf):
3327 * textmodes/ispell.el (ispell-region):
3328 * textmodes/fill.el (current-fill-column):
3329 * progmodes/xscheme.el (xscheme-send-current-line):
3330 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3331 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3332 * progmodes/sh-script.el (sh-handle-prev-do):
3333 * progmodes/meta-mode.el (meta-indent-line):
3334 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3336 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3337 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3338 * progmodes/fortran.el (fortran-looking-at-if-then):
3339 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3340 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3341 (cperl-find-pods-heres):
3342 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3343 * net/quickurl.el (quickurl-list-insert):
3344 * net/ldap.el (ldap-search-internal):
3345 * net/eudc.el (eudc-expand-inline):
3346 * mail/sendmail.el (sendmail-send-it):
3347 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3348 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3349 (viper-brac-function):
3350 * calc/calc-yank.el (calc-do-grab-region):
3351 * calc/calc-keypd.el (calc-keypad-press):
3352 * term.el (term-move-columns, term-insert-spaces):
3353 * speedbar.el (speedbar-highlight-one-tag-line):
3354 * simple.el (current-word):
3355 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3356 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3358 * hippie-exp.el (he-line-beg):
3359 * epa.el (epa--marked-keys):
3360 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3361 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3362 (dired-relist-entry):
3363 * buff-menu.el (Buffer-menu-buffer):
3364 * array.el (current-line):
3365 * allout.el (allout-resolve-xref)
3366 (allout-latex-verbatim-quote-curr-line):
3367 Replace yet more uses of end-of-line etc with line-end-position, etc.
3369 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3371 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3372 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3373 (checkdoc-syntax-table): Initialize in the declaration.
3374 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3375 the mode on unconditionally.
3377 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3378 (extent-end-position, extent-start-position): Remove setf method for
3379 non-existing functions (bug#7319).
3381 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3383 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3384 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3385 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3386 (smie-prec2->grammar): Rename from smie-prec2-levels.
3387 (smie-grammar): Rename from smie-op-levels.
3388 (smie-indent--hanging-p): Rename from smie-hanging-p.
3389 (smie-rule-hanging-p): New alias.
3390 (smie-indent--bolp): Rename from smie-bolp.
3391 (smie-indent--hanging-p): New alias.
3392 (smie--token): New dynamically bound variable.
3393 (smie-indent--parent): New function.
3394 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3395 (smie-rule-next-p): Rename from smie-next-p.
3396 (smie-rule-prev-p): Rename from smie-prev-p.
3397 (smie-rule-sibling-p, smie-rule-parent)
3398 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3399 (smie-rule-separator-outdent): New var.
3400 (smie-indent--rule): Merge with smie-indent--column.
3401 (smie-indent-forward-token, smie-indent-backward-token):
3402 Also recognize close parens.
3403 (smie-indent-keyword): Don't use smie-indent--column any more.
3404 (smie-indent-after-keyword): Ignore closers by default.
3405 (smie-indent-line): Use with-demoted-errors.
3406 * progmodes/octave-mod.el (octave-smie-grammar):
3407 Rename from octave-smie-op-levels.
3408 (octave-smie-rules): Adjust to new behavior.
3409 * progmodes/prolog.el (prolog-smie-grammar):
3410 Rename from prolog-smie-op-levels.
3412 2010-11-07 Glenn Morris <rgm@gnu.org>
3414 * eshell/esh-util.el (subst-char-in-string)
3415 (directory-files-and-attributes): These compatibility definitions are
3416 not needed on any version of Emacs since at least 21.4.
3418 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3419 (verilog-get-end-of-line): Remove.
3420 (verilog-within-string, verilog-re-search-forward-substr)
3421 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3422 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3423 Use point-at-bol, point-at-eol.
3424 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3426 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3427 (electric-pascal-terminate-line, pascal-set-auto-comments)
3428 (pascal-indent-paramlist, pascal-indent-declaration)
3429 (pascal-get-lineup-indent, pascal-func-completion)
3430 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3431 Use point-at-bol, point-at-eol.
3432 * progmodes/flymake.el (flymake-line-beginning-position)
3433 (flymake-line-end-position): Remove.
3434 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3435 * eshell/esh-util.el (line-end-position, line-beginning-position):
3436 Remove compat definitions.
3438 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3440 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3441 Use line-end-position.
3443 * emacs-lisp/chart.el (chart-zap-chars):
3444 * play/decipher.el (decipher-set-map):
3445 * progmodes/ada-mode.el (ada-get-current-indent)
3446 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3447 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3448 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3449 (ada-get-all-references):
3450 * progmodes/cperl-mode.el (cperl-electric-paren)
3451 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3452 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3453 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3454 (cperl-word-at-point-hard):
3455 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3456 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3457 (idlwave-shell-display-line):
3458 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3459 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3460 * progmodes/js.el (js--re-search-forward-inner)
3461 (js--re-search-backward-inner):
3462 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3463 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3464 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3465 * textmodes/flyspell.el (flyspell-process-localwords):
3466 * textmodes/ispell.el (ispell-buffer-local-parsing)
3467 (ispell-buffer-local-dict, ispell-buffer-local-words):
3468 Use point-at-bol and point-at-eol.
3470 * speedbar.el (speedbar-generic-item-info)
3471 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3472 (speedbar-add-indicator, speedbar-check-vc-this-line)
3473 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3474 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3475 Replace more uses of end-of-line etc with line-end-position.
3477 2010-11-06 Glenn Morris <rgm@gnu.org>
3479 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3480 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3481 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3482 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3483 (texinfo-multiple-files-update):
3484 * textmodes/table.el (table--probe-cell-left-up)
3485 (table--probe-cell-right-bottom):
3486 * textmodes/picture.el (picture-tab-search):
3487 * textmodes/page-ext.el (pages-copy-header-and-position)
3488 (pages-directory-for-addresses):
3489 * progmodes/vera-mode.el (vera-get-offset):
3490 * progmodes/simula.el (simula-calculate-indent):
3491 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3492 * progmodes/prolog.el (end-of-prolog-clause):
3493 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3494 * progmodes/icon.el (indent-icon-exp):
3495 * progmodes/etags.el (tag-re-match-p):
3496 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3497 * progmodes/ebnf2ps.el (ebnf-begin-file):
3498 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3499 (dcl-save-local-variable):
3500 * play/life.el (life-setup):
3501 * play/gametree.el (gametree-looking-at-ply):
3502 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3503 * mail/sendmail.el (mail-mode-auto-fill):
3504 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3505 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3506 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3507 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3508 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3509 * type-break.el (type-break-file-keystroke-count):
3510 * term.el (term-replace-by-expanded-history-before-point)
3511 (term-skip-prompt, term-extract-string):
3512 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3513 (speedbar-contract-line, speedbar-toggle-line-expansion)
3514 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3515 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3516 * sort.el (sort-skip-fields):
3517 * skeleton.el (skeleton-internal-list):
3518 * simple.el (line-move-finish, line-move-to-column):
3519 * shell.el (shell-forward-command):
3520 * misc.el (copy-from-above-command):
3521 * makesum.el (double-column):
3522 * ebuff-menu.el (electric-buffer-update-highlight):
3523 * dired.el (dired-move-to-end-of-filename):
3524 * dframe.el (dframe-popup-kludge):
3525 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3526 * arc-mode.el (archive-get-lineno):
3527 Use line-end-position and line-beginning-position.
3529 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3530 (idlwave-study-twins): Prefix dynamic local `class'.
3531 (idlwave-routine-twin-compare): Update for above name change.
3533 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3534 Use boundp tests to silence compiler. Update for changed name of
3535 bytecomp-filename variable.
3537 * emulation/viper-cmd.el (viper-read-string-with-history):
3538 Prefix dynamic local `initial'.
3539 (viper-minibuffer-standard-hook): Update for above name change.
3541 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3542 (elint-init-form): Update for above name change.
3544 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3545 local variables `cbeg' and `cend' a prefix.
3546 (mail-extr-voodoo): Update for above name change.
3548 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3549 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3550 (reftex-toc-promote-action): Doc fix.
3552 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3553 `prompt', `data' a prefix.
3554 (reftex-select-post-command-hook, reftex-select-callback)
3555 (reftex-select-mouse-accept, reftex-select-read-cite):
3556 Update for above name changes.
3558 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3559 `refstyle' to reftex-refstyle.
3560 (reftex-offer-label-menu): Update for above name change.
3561 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3562 `refstyle' name change.
3564 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3565 with with-current-buffer.
3566 (diff, template): Give dynamic local variables a prefix.
3567 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3568 (emerge-line-number-in-buf): Update for above name change.
3569 (emerge-combine-versions-internal): Rename local `template' to
3570 emerge-combine-template.
3571 (emerge-combine-versions-edit): Update for above name change.
3573 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3575 * textmodes/reftex-cite.el
3576 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3577 entries with whitespace after \bibitem.
3578 (reftex-create-bibtex-file): Match entries containing numbers and
3579 symbol constituents. Make sure that entries with whitespace at
3580 various places are found.
3582 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3584 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3586 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3588 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3590 2010-11-05 Glenn Morris <rgm@gnu.org>
3592 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3593 (woman2-roff-buffer): Give local variable `request' a prefix.
3594 (woman0-macro): Rename argument `request' in the same way.
3595 (woman-request): New name for `request' dynamic variable.
3596 (woman-unquote, woman-forward-arg): Update for above name change.
3597 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3598 (woman1-unquote): New name for `unquote' dynamic variable.
3599 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3600 (woman-translations): Rename from `translations'. No longer global.
3601 (woman2-tr, woman-translate): Update for above name change.
3602 (woman-translate): Check for bound variable.
3603 (woman2-roff-buffer): Give local variable `translations' a prefix.
3605 * play/doctor.el: Give all local variables a prefix. Update callers.
3606 (doc$, doctor-put-meaning): Use backquote.
3608 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3609 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3611 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3612 variables bytes, ptr, op a prefix.
3613 (disassemble-offset): Update for above change.
3615 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3617 * emacs-lisp/package.el (package-unpack): Remove no-op.
3618 (package--builtins, package--dir): Doc fix.
3619 (package-activate-1, package-activate, package-install)
3620 (package-compute-transaction): Fix error message.
3621 (package-delete): Use delete-directory. Omit system packages.
3622 (package-initialize): Set package-alist to nil first.
3623 (package-menu-mark-delete, package-menu-mark-install): Don't add
3624 symbols that are inconsistent with the package state.
3625 (package-menu-execute): Perform deletions and installations as
3626 single batch operations.
3628 2010-11-03 Glenn Morris <rgm@gnu.org>
3630 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3631 (props): Remove unnecessary declaration.
3633 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3634 set-process-query-on-exit-flag.
3636 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3637 (reftex-toc-do-promote): Remove unused local `mpos'.
3638 (reftex-toc-restore-region): Make `mpos' local to this function.
3640 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3642 * play/landmark.el (lm-losing-threshold): Correct spelling.
3643 (lm-human-plays): Use new name.
3645 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3646 (gomoku-human-plays): Use new name.
3648 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3649 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3650 (gomoku-score-trans-table, gomoku-winning-threshold)
3651 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3653 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3655 * emacs-lisp/package.el: Don't put built-in packages in
3656 package-alist, to avoid loading inefficiencies.
3657 (package-built-in-p): Make VERSION optional, and treat it as a
3658 minimum acceptable version.
3659 (package-activate): Search separately for built-in packages.
3660 Emit a warning if a dependency fails.
3661 (define-package): Handle most common case, where there is no
3662 obsolete package, first.
3663 (package-compute-transaction): Print required version in error.
3664 (package--initialized): New variable.
3665 (list-packages): Use it.
3666 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3667 built-in packages in packages-alist; keep it separate.
3668 Set package--initialized.
3669 (describe-package): Avoid activating packages as a side-effect.
3670 Search separately for built-in packages.
3671 (describe-package-1): Handle the case where an elpa package is
3672 simultaneously built-in and available/installed.
3673 (package-installed-p, package--generate-package-list):
3674 Search separately for built-in packages.
3675 (package-load-descriptor): Doc fix.
3677 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3679 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3680 Handle __DATA__ and __END__.
3682 2010-11-02 Noah Friedman <friedman@splode.com>
3684 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3685 nil, do not ask to recompile files that are not already compiled,
3686 and do not recompile them.
3688 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3690 * emacs-lisp/package.el (package-initialize): Ensure that
3691 obsoleted built-in packages are not in package-activated-list
3693 (describe-package-1): Make the "installed" status override
3696 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3698 * subr.el (version-separator, version-regexp-alist): Remove '*'
3700 (version-list-<=, version<=, version=): Doc fix.
3702 2010-11-01 Kenichi Handa <handa@m17n.org>
3704 * faces.el (glyphless-char): Inherit underline for tty.
3706 2010-11-01 Kenichi Handa <handa@m17n.org>
3708 Implement various display methods for glyphless characters.
3710 * international/characters.el (char-acronym-table): New variable.
3711 (glyphless-char-control): New variable.
3712 (update-glyphless-char-display): New funciton.
3714 * faces.el (glyphless-char): New face.
3716 2010-11-01 Glenn Morris <rgm@gnu.org>
3718 * calendar/holidays.el (general-holidays, oriental-holidays)
3719 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3720 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3721 the definitions of their targets.
3723 * emacs-lisp/smie.el (smie): New custom group.
3724 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3726 * faces.el (xw-defined-colors, x-setup-function-keys):
3727 * mouse-sel.el (x-select-text):
3728 * term/w32console.el (x-setup-function-keys): Update declarations.
3730 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3732 * textmodes/ispell.el (comment-add): Declare.
3734 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3737 * info.el (finder-keywords-hash, package-alist): Declare.
3739 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3741 * finder.el (finder-compile-keywords): Don't use intern-soft,
3742 since package names may not yet exist in the obarray.
3744 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3746 * vc/vc-arch.el (vc-arch-checkin):
3747 * vc/vc-cvs.el (vc-cvs-checkin):
3748 * vc/vc-mtn.el (vc-mtn-checkin):
3749 * vc/vc-rcs.el (vc-rcs-checkin):
3750 * vc/vc-sccs.el (vc-sccs-checkin):
3751 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3752 since 2010-04-21 commit by Stefan Monnier.
3754 2010-11-01 Glenn Morris <rgm@gnu.org>
3756 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3758 * startup.el (package-enable-at-startup, package-initialize):
3761 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3764 2010-10-31 Julien Danjou <julien@danjou.info>
3766 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3767 (byte-recompile-directory):
3768 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3769 Use `byte-recompile-file'.
3771 2010-10-31 Glenn Morris <rgm@gnu.org>
3773 * cus-start.el: Handle standard values via a keyword.
3774 Only set version property if specified.
3775 (cursor-in-non-selected-windows, menu-bar-mode)
3776 (tool-bar-mode, show-trailing-whitespace):
3777 Do not specify standard values.
3778 (transient-mark-mode, temporary-file-directory): Use :standard.
3780 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3782 * term/x-win.el (x-get-selection-value): New function that gets
3783 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3785 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3787 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3788 preserve owner and group when editing files. (Bug#7289)
3790 2010-10-31 Glenn Morris <rgm@gnu.org>
3792 * speedbar.el (speedbar-mode):
3793 * play/fortune.el (fortune-in-buffer, fortune):
3794 * play/gomoku.el (gomoku-mode):
3795 * play/landmark.el (lm-mode):
3796 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3797 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3799 * select.el (x-selection): Mark it as an obsolete alias.
3801 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3803 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3804 major-mode (bug#7284).
3806 2010-10-31 Glenn Morris <rgm@gnu.org>
3808 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3809 rather than just an unused variable that inherits from the real one.
3811 2010-10-31 Alan Mackenzie <acm@muc.de>
3813 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3814 This fixes bug #7185.
3816 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3818 * startup.el (command-line): Search for package directories, and
3819 don't load package.el if none are found.
3821 * emacs-lisp/package.el (describe-package, list-packages):
3822 Call package-initialize if it has not been called yet.
3824 2010-10-30 Alan Mackenzie <acm@muc.de>
3826 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3827 which fontifies the tail of an enum.
3828 (c-basic-matchers-after): Insert a call to the above new function.
3829 This fixes bug #7264.
3831 2010-10-30 Glenn Morris <rgm@gnu.org>
3833 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3834 tool-bar-mode, transient-mark-mode. (Bug#7306)
3835 Include the :set property in the dumped Emacs.
3837 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3839 SMIE: change indent rules format, improve smie-setup.
3840 * emacs-lisp/smie.el (smie-precs-precedence-table)
3841 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3842 Mark them pure so the tables gets built at compile time.
3843 (smie-bnf-precedence-table): Store the closer-alist in the table.
3844 (smie-prec2-levels): Preserve the closer-alist.
3845 (smie-blink-matching-open): Be more forgiving in case of indentation.
3846 (smie-hanging-p): Rename from smie-indent--hanging-p.
3847 (smie-bolp): Rename from smie-indent--bolp.
3848 (smie--parent, smie--after): New dynamic vars.
3849 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3850 (smie-indent-rules): Remove.
3851 (smie-indent--offset-rule): Remove fun.
3852 (smie-rules-function): New var.
3853 (smie-indent--rule): New fun.
3854 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3855 (smie-indent-exps): Use it.
3856 (smie-setup): Setup paren blinking; add keyword args for token
3857 functions; extract closer-alist from op-levels.
3858 (smie-indent-debug-log): Remove var.
3859 (smie-indent-debug): Remove fun.
3860 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3861 (prolog-smie-rules): New fun to replace it.
3862 (prolog-mode-variables): Simplify.
3863 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3864 it's setup automatically.
3865 (octave-smie-indent-rules): Remove.
3866 (octave-smie-rules): New fun to replace it.
3867 (octave-mode): Simplify.
3869 2010-10-29 Glenn Morris <rgm@gnu.org>
3871 * files.el (temporary-file-directory): Remove (already defined in C).
3872 * cus-start.el: Add temporary-file-directory.
3874 * abbrev.el (abbrev-mode):
3875 * composite.el (auto-composition-mode):
3876 * menu-bar.el (menu-bar-mode):
3877 * simple.el (transient-mark-mode):
3878 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3879 that they do not define the associated variables twice.
3880 * simple.el (transient-mark-mode): Remove defvar.
3881 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3882 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3883 Handle multiple groups, and also custom-delayed-init-variables.
3884 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3886 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3888 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3889 (pcase-if): Add one minor optimization.
3890 (pcase-split-equal): Rename from pcase-split-eq.
3891 (pcase-split-member): Rename from pcase-split-memq.
3892 (pcase-u1): Add strings to the member optimization.
3893 Add `guard' variant of predicates.
3894 (pcase-q1): Add string patterns.
3896 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3898 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3900 2010-10-28 Glenn Morris <rgm@gnu.org>
3902 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3903 Move menu-bar related settings to ../menu-bar.el.
3904 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3905 Move ns-specific settings here from term/ns-win.el.
3907 * simple.el (x-selection-owner-p): Remove unused declaration.
3909 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3911 * minibuffer.el (completion-cycling): New var (bug#7266).
3912 (minibuffer-complete, completion--do-completion):
3913 Use completion--flush-all-sorted-completions.
3914 (minibuffer-complete): Only cycle if completion-cycling is set.
3915 (completion--flush-all-sorted-completions): Unset completion-cycling.
3916 (minibuffer-force-complete): Set completion-cycling.
3917 (completion-all-sorted-completions): Move declaration before first use.
3919 2010-10-28 Leo <sdl.web@gmail.com>
3921 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3922 which changes the order of matches seen by users (bug#7231).
3924 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3926 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3927 Don't confuse -omega as "-o mega".
3929 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3931 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3932 (log-edit-author): New dynamic var.
3933 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3934 to return the author if different from committer.
3935 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3937 * play/landmark.el: Adjust commenting convention.
3938 (lm-nil-score): Rename from nil-score.
3939 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3940 (OOOOscore): Move into a let in lm-score-trans-table.
3941 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3943 * electric.el (electric-indent-chars): Autoload.
3944 * progmodes/octave-mod.el (octave-mode):
3945 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3946 (ruby-mode-abbrev-table): Merge initialization and declaration.
3948 2010-10-27 Glenn Morris <rgm@gnu.org>
3950 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3953 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3955 * term/ns-win.el: Restore require of cl when compiling.
3956 (menu-bar-final-items): Remove non-existent `windows' menu.
3957 (ns-handle-nxopen): Optionally handle the temp-case.
3958 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3959 (ns-insert-file, ns-find-file): Use `pop'.
3961 2010-10-26 Glenn Morris <rgm@gnu.org>
3963 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3965 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3967 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3969 * term/common-win.el (x-setup-function-keys): Remove most of the
3970 keymappings. Comment on the remaining ones.
3972 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3974 * server.el (server-port): New option. (Bug#854)
3975 (server-start): Use server-port.
3977 2010-10-26 Glenn Morris <rgm@gnu.org>
3979 * term/ns-win.el (ns-version-string): Remove unused declaration.
3980 (ns-invocation-args): Change to x-invocation-args.
3981 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3982 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3983 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3984 Use x-invocation-args instead of ns-invocation-args.
3985 (ns-initialize-window-system, handle-args-function-alist):
3986 Use x-handle-args instead of ns-handle-args.
3987 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3988 * startup.el (command-line-ns-option-alist): Replace
3989 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3990 ns-handle-iconic with the x- equivalents.
3992 * term/common-win.el (x-select-enable-clipboard):
3993 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3995 * term/ns-win.el: No need to require cl when compiling.
3996 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3997 (xw-defined-colors): Use the common-win definitions.
3998 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3999 (ns-handle-iconic): Make it an alias for x-handle-iconic.
4000 * term/common-win.el (x-select-text, x-alternatives-map)
4001 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4002 * loadup.el [ns]: Load common-win.
4004 2010-10-26 Daiki Ueno <ueno@unixuser.org>
4006 * epa-mail.el (epa-mail-encrypt): Handle local-part only
4007 recipients; expand mail aliases (Bug#7280).
4009 2010-10-25 Glenn Morris <rgm@gnu.org>
4011 * term/common-win.el (x-handle-switch): Simplify with pop.
4012 Optionally handle numeric switches.
4013 (x-handle-numeric-switch): Just call x-handle-switch.
4014 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4015 (x-handle-name-switch, x-handle-display, x-handle-args):
4018 * term/ns-win.el: Do not require easymenu.
4019 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4020 <spell>: Move adjustments to menu-bar.el.
4021 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4022 <separator-undo, spell>: Move ns-win's adjustments here.
4023 * loadup.el [ns]: Do not load easymenu.
4025 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4027 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4030 * startup.el (fancy-startup-tail): Instead of using inline images,
4031 refer to image files from etc/.
4033 * wid-edit.el (checkbox): Likewise.
4034 (widget-image-find): Center image specs.
4036 2010-10-24 Glenn Morris <rgm@gnu.org>
4038 * term/ns-win.el (x-select-text): Doc fix.
4039 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4040 (x-select-text): Move to term/common-win.
4041 * term/w32-win.el (xw-defined-colors): Move to common-win.
4042 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4043 (x-setup-function-keys, x-select-text): Move to common-win.
4044 * term/common-win.el (x-select-text, x-alternatives-map)
4045 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4048 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4050 * net/mairix.el (mairix-searches-mode-map):
4051 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4053 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4055 * verilog-mode.el (verilog-directive-re): Make this variable
4056 auto-built for efficiency of execution and updating.
4057 (verilog-extended-complete-re): Support 'pure' fucntion & task
4058 declarations (these have no bodies).
4059 (verilog-beg-of-statement): General cleanup to enable support of
4060 'pure' fucntion & task declarations (these have no bodies).
4061 These efforts together fix Verilog bug210 from veripool; which was also
4062 noticed by Steve Pearlmutter.
4063 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4064 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4065 Support `elsif. Reported by Shankar Giri.
4066 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4067 attribute handling for lining up declarations and assignments.
4068 (verilog-beg-of-statement-1): Fix issue where continued declaration
4069 is indented differently if it is after a begin..end clock.
4070 (verilog-in-attribute-p, verilog-skip-backward-comments)
4071 (verilog-skip-forward-comment-p): Support proper treatment of
4072 attributes by indent code. Reported by Jeff Steele.
4073 (verilog-in-directive-p): Fix comment to correctly describe function.
4074 (verilog-backward-up-list, verilog-in-struct-region-p)
4075 (verilog-backward-token, verilog-in-struct-p)
4076 (verilog-in-coverage-p, verilog-do-indent)
4077 (verilog-pretty-declarations): Use verilog-backward-up-list as
4078 wrapper around backward-up-list inorder to properly skip comments.
4079 Reported by David Rogoff.
4080 (verilog-property-re, verilog-endcomment-reason-re)
4081 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4082 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4083 of if). Reported by Max Bjurling and
4084 (verilog-calc-1): Fix for clocking block in modport
4085 declaration. Reported by Brian Hunter.
4087 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4089 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4090 (verilog-gate-keywords, verilog-read-sub-decls)
4091 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4092 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4093 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4094 (verilog-read-decls): Fix spaces in V2K module parameters causing
4095 mis-identification as interfaces, bug287.
4096 (verilog-read-decls): Fix not treating "parameter string" as a
4097 parameter in AUTOINSTPARAM.
4098 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4099 treating `elsif similar to `endif inside AUTOSENSE.
4100 (verilog-do-indent): Implement correct automatic or static task or
4101 function end comment highlight. Reported by Steve Pearlmutter.
4102 (verilog-font-lock-keywords-2): Fix highlighting of single
4103 character pins, bug264. Reported by Michael Laajanen.
4104 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4105 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4106 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4107 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4108 (verilog-pretty-expr): Fix interactive arguments, bug272.
4109 Reported by Mark Johnson.
4110 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4111 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4112 bug269. Suggested by Gary Delp.
4113 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4114 (verilog-preprocessor, verilog-set-compile-command):
4115 Create verilog-preprocess and verilog-preprocessor to show
4116 preprocessed output.
4117 (verilog-get-beg-of-line, verilog-get-end-of-line)
4118 (verilog-modi-file-or-buffer, verilog-modi-name)
4119 (verilog-modi-point, verilog-within-string): Move defmacro's
4120 before first use to avoid warning. Reported by Steve Pearlmutter.
4121 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4122 (verilog-colorize-region, verilog-highlight-buffer)
4123 (verilog-highlight-includes, verilog-highlight-modules)
4124 (verilog-highlight-region, verilog-mode): Rename colorize to
4125 highlight to match other packages. Disable module highlighting,
4126 as received speed complaints, reenable for experimentation only
4127 using new verilog-highlight-modules.
4128 (verilog-read-decls): Fix regexp stack overflow in very large
4129 AUTO_TEMPLATEs, bug250.
4130 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4131 (verilog-scan): Create verilog-save-buffer-state to standardize
4132 making insignificant changes that shouldn't call hooks.
4133 (verilog-save-no-change-functions, verilog-save-scan-cache)
4134 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4135 Create verilog-save-no-change-functions to wrap verilog-scan
4136 preservation, and fix to work with nested preserved calls.
4137 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4138 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4139 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4140 (verilog-submit-bug-report): Update variable list to be complete.
4141 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4142 breaking on-the-fly font-locking.
4143 (verilog-colorize-buffer, verilog-colorize-include-files)
4144 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4145 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4146 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4147 AUTOINST cell instance name, middle mouse button now finds-file on
4148 it. Suggested by Brad Dobbie.
4149 (verilog-alw-get-temps, verilog-auto-reset)
4150 (verilog-auto-sense-sigs, verilog-read-always-signals)
4151 (verilog-read-always-signals-recurse): Fix loop indexes being
4152 AUTORESET. AUTORESET now assumes any variables in the
4153 initialization section of a for() should be ignored.
4154 Reported by Dan Dever.
4155 (verilog-error-font-lock-keywords)
4156 (verilog-error-regexp-emacs-alist)
4157 (verilog-error-regexp-xemacs-alist): Fix error detection of
4158 Cadence HAL, reported by David Asher. Repair drift between the
4159 three similar error variables.
4160 (verilog-modi-lookup, verilog-modi-lookup-cache)
4161 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4162 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4163 Fix slow verilog-auto expansion on very large files.
4164 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4165 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4166 "{1*2{...". Broke in last revision.
4167 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4168 submodule connections with replications "{#{a},#{b}}".
4170 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4172 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4173 Fix typo in docstring.
4175 2010-10-24 Kenichi Handa <handa@m17n.org>
4177 * face-remap.el (text-scale-adjust): Call read-event with a proper
4180 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4182 * emacs-lisp/unsafep.el: Don't mark functions that display
4183 messages as safe. Suggested by Johan Bockgård.
4185 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4188 Turn comments into docstrings.
4190 * minibuffer.el (completion--replace): Move point where it belongs
4191 when there's a common suffix (bug#7215).
4193 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4195 Merge read-color and facemenu-read-color (Bug#7242).
4197 * faces.el (read-color): Use the completion code from
4198 facemenu-read-color. Require match in completion. Doc fix.
4200 * facemenu.el (facemenu-read-color): Alias for read-color.
4201 (facemenu-set-foreground, facemenu-set-background):
4204 * frame.el (set-background-color, set-foreground-color)
4205 (set-cursor-color, set-mouse-color, set-border-color):
4208 2010-10-24 Leo <sdl.web@gmail.com>
4210 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4211 argument of delete-file and delete-directory (Bug#7011).
4213 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4215 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4218 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4220 * emacs-lisp/package.el (package--generate-package-list): Make the
4221 *Packages* buffer read-only.
4223 2010-10-24 Alan Mackenzie <acm@muc.de>
4225 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4226 result of `c-beginning-of-decl-1' between invocations of a lambda
4227 function (Bug #7265).
4229 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4231 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4232 executable is not available on the system (Bug#7268).
4234 2010-10-24 Glenn Morris <rgm@gnu.org>
4236 * select.el (selection-coding-system, next-selection-coding-system):
4237 Sync doc with C versions.
4239 * w32-vars.el (x-select-enable-clipboard):
4240 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4241 * term/common-win.el (x-select-enable-clipboard): Move here.
4243 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4244 definition of C variable.
4246 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4247 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4248 Don't redefine things that are defined in C.
4249 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4250 (show-trailing-whitespace, auto-hscroll-mode)
4251 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4252 Set up the appropriate custom properties.
4254 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4257 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4258 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4259 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4260 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4262 2010-10-23 Glenn Morris <rgm@gnu.org>
4264 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4267 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4268 Sync docs with C version.
4270 * term/ns-win.el (xw-defined-colors):
4271 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4273 * term/pc-win.el (x-select-enable-clipboard):
4274 * term/x-win.el (x-select-enable-clipboard):
4275 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4277 * comint.el (comint-password-prompt-regexp): Make it less vague.
4280 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4282 * help.el (finder-by-keyword): Remove unnecessary autoload.
4284 2010-10-22 Glenn Morris <rgm@gnu.org>
4286 * loadup.el: Unconditionally load float-sup.
4287 * paren.el (show-paren-delay):
4288 * emacs-lisp/float-sup.el:
4289 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4290 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4291 (lazy-lock-stealth-verbose): Assume float support.
4292 * ps-print.el: Assume float support on Emacs.
4293 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4294 Remove non-float branch.
4296 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4297 src/Makefile no longer being pre-processed.
4299 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4301 * emacs-lisp/find-func.el (find-library): Use test-completion.
4303 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4305 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4307 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4309 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4310 space in stat format string.
4311 (tramp-send-command): Unset $PS1 when using here documents, in
4312 order not to get several prompts.
4313 (tramp-get-inline-coding): Return `nil' in case of errors.
4315 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4317 * hexl.el (hexl-mode, hexl-mode-exit):
4318 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4319 (hexl-revert-buffer-function): New function.
4320 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4322 2010-10-19 Alan Mackenzie <acm@muc.de>
4324 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4325 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4326 that these keywords aren't wrongly matched as identifiers.
4328 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4329 setting of c-new-BEG and c-new-END from c-before-change to
4330 c-after-change. (Bug#7181)
4332 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4334 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4337 * custom.el (custom-theme-set-variables): Likewise.
4338 (load-theme): Add custom-theme-set-faces and
4339 custom-theme-set-variables to safe-functions while loading.
4340 (custom-enabled-themes): Mark as risky.
4342 2010-10-18 Julien Danjou <julien@danjou.info>
4344 * bindings.el: Remove end dashes in default mode-line-format.
4346 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4348 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4349 to delete-forward-char.
4351 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4352 deletechar, and hence delete-forward-char.
4354 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4356 * repeat.el (repeat): Use read-key (bug#6256).
4358 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4360 * emacs-lisp/unsafep.el: Don't mark functions that display
4361 messages as safe. Suggested by Johan Bockgård.
4363 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4365 * minibuffer.el (completion--replace): Move point where it belongs
4366 when there's a common suffix (bug#7215).
4368 2010-10-19 Kenichi Handa <handa@m17n.org>
4370 * international/characters.el: Add category '|' (word breakable)
4371 to fullwidth characters.
4373 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4375 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4376 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4377 order to make stat results a float. Patch by Andreas Schwab
4378 <schwab@linux-m68k.org>.
4380 2010-10-18 Julien Danjou <julien@danjou.info>
4382 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4383 hidden by `make-pointer-invisible'.
4385 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4387 * files.el (locate-file-completion-table): Strip non-matching elements
4388 before checking length of list (bug#7238).
4390 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4392 * custom.el (custom-theme-set-variables): Mark as a safe function.
4393 (load-theme): Check forms using unsafep.
4395 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4397 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4399 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4400 Fix aspell data file searching (bug#7230).
4402 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4404 * cus-theme.el (custom-theme--migrate-settings): New var.
4405 (customize-create-theme): Allow editing the `user' theme.
4406 (custom-theme-add-variable, custom-theme-add-var-1)
4407 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4408 to the front of each variable or face widget.
4409 (custom-theme-write): Save theme settings in the correct order.
4410 Optionally, remove saved settings from user customizations.
4411 (custom-theme-write-variables, custom-theme-write-faces):
4412 Save only the checked widgets.
4413 (customize-themes): Add a link for migrating custom settings.
4415 * custom.el (custom-declare-theme, provide-theme):
4416 Use custom-theme-name-valid-p.
4417 (custom-theme-name-valid-p): Remove checks that are now
4418 unnecessary since themes no longer obey load-path.
4420 * cus-edit.el (custom-variable-value-create): For the simple
4421 style, hide documentation string when hidden.
4423 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4425 * cus-edit.el (custom-variable, custom-face): Combine the
4426 :inhibit-magic and :display-style properties into a single
4427 :custom-style property.
4428 (custom-toggle-hide-variable, custom-toggle-hide-face):
4429 New functions. If hiding an edited value, save it to :shown-value.
4430 (custom-variable-value-create, custom-face-value-create): Use them.
4431 (custom-magic-reset): Allow magic property to be unset.
4433 * custom.el: Custom themes no longer use load-path.
4434 (custom-theme-load-path): New option. Change built-in theme
4436 (custom-enabled-themes): Add custom-theme-load-path dependency.
4437 (custom-theme--load-path): New function.
4438 (load-theme, custom-available-themes): Use it.
4440 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4441 (customize-themes): Link to custom-theme-load-path variable.
4442 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4443 :custom-style property.
4445 * themes/*.el: Moved to etc/.
4447 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4449 * textmodes/reftex-cite.el
4450 (reftex-extract-bib-entries-from-thebibliography): Do not move
4451 point when searching for \bibitem entries. Match entries with
4452 spaces or tabs in front of arguments.
4454 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4456 * cus-theme.el (customize-create-theme): Delete overlays after
4457 erasing. If given a THEME arg, display only the faces of that arg
4458 instead of custom-theme--listed-faces.
4459 (custom-theme-variable-menu, custom-theme-variable-action)
4460 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4461 (custom-theme-add-variable, custom-theme-add-face): Apply value
4462 from the theme settings, instead of the current value.
4463 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4464 (custom-theme-visit-theme): Allow calling outside theme buffers.
4465 (custom-theme-merge-theme): Don't enable the theme when merging.
4466 (custom-theme-write-variables, custom-theme-write-faces): Use the
4467 :shown-value properties to save buffer values, not global ones.
4468 (customize-themes): Display a warning about user customizations.
4470 * cus-edit.el (custom-variable-value-create)
4471 (custom-face-value-create): Obey new special properties
4472 :shown-value and :inhibit-magic.
4474 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4476 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4477 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4480 2010-10-14 Kenichi Handa <handa@m17n.org>
4482 * mail/rmail.el (rmail-show-message-1): Catch an error of
4483 base64-decode-region and just show an error message (bug#7165).
4485 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4486 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4487 a font-spec (bug#7197).
4489 2010-10-14 Glenn Morris <rgm@gnu.org>
4491 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4493 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4495 * international/mule.el (define-coding-system):
4496 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4497 * composite.el (compose-region): Fix typo in docstring.
4499 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4501 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4502 only after checking the theme-face property.
4504 * faces.el (face-spec-reset-face): Reset all attributes in one
4505 single call to set-face-attribute.
4506 (face-spec-match-p): Make it a defsubst.
4507 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4508 (x-create-frame-with-faces, tty-create-frame-with-faces)
4509 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4510 frame-set-background-mode, since they are recomputed immediately
4511 afterwards in face-set-after-frame-default.
4512 (face-set-after-frame-default): Minor optimization.
4513 (cursor): Provide non-trivial defface spec.
4515 * custom.el (custom-theme-recalc-face): Simplify.
4517 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4519 * calc/calc-alg.el (math-var): Rename from `var'.
4520 (math-is-polynomial, math-is-poly-rec): Replace `var'
4523 * calc/calcalg2.el (math-var): Rename from `var'.
4524 (calcFunc-table, math-scan-for-limits): Replace `var'
4527 2010-10-13 Glenn Morris <rgm@gnu.org>
4529 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4531 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4533 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4535 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4537 * net/tls.el (tls-program): Remove spurious %s from openssl.
4538 (tls-starttls-switches): Remove starttls hack.
4539 (open-tls-stream): Ditto.
4540 (tls-find-starttls-argument): Ditto.
4542 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4544 * image.el (image-library-alist): Declare as obsolete alias.
4545 (image-type-available-p): Use `dynamic-library-alist'.
4547 * term/w32-win.el (dynamic-library-alist):
4548 Use instead of `image-library-alist'.
4550 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4552 * subr.el (last): Make it faster. (Bug#7174)
4554 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4556 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4558 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4560 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4561 (describe-theme-1): Extract doc from unloaded themes.
4563 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4565 * themes/tango-theme.el:
4566 * themes/tango-dark-theme.el:
4567 * themes/wheatgrass-theme.el: New files.
4569 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4571 * cus-theme.el (describe-theme, customize-themes)
4572 (custom-theme-save): New commands.
4573 (custom-new-theme-mode-map): Bind C-x C-s.
4574 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4575 (customize-create-theme): New optional arg THEME.
4576 (custom-theme-revert): Use it.
4577 (custom-theme-visit-theme): Remove dead code.
4578 (custom-theme-merge-theme): Use custom-available-themes.
4579 (custom-theme-write): Make interactive.
4580 (custom-theme-write): Use custom-theme-name-valid-p.
4581 (describe-theme-1, custom-theme-choose-revert)
4582 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4584 (custom-theme-allow-multiple-selections): New option.
4585 (custom-theme-choose-mode): New major mode.
4587 * custom.el (custom-theme-set-variables): Remove dead code.
4588 Obey custom--inhibit-theme-enable.
4589 (custom--inhibit-theme-enable): New var.
4590 (provide-theme): Obey it.
4591 (load-theme): Replace load with manual read/eval, in order to
4592 check for correctness. Use custom-theme-name-valid-p.
4593 (custom-theme-name-valid-p): New function.
4594 (custom-available-themes): Use it.
4596 * cus-edit.el (custom--initialize-widget-variables): New function.
4597 (Custom-mode): Use it.
4599 * cus-face.el (custom-theme-set-faces): Remove dead code.
4600 Obey custom--inhibit-theme-enable.
4602 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4604 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4606 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4608 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4610 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4611 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4612 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4614 * cus-start.el (all): ns-right-alternate-modifier is new.
4616 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4618 * emacs-lisp/lisp.el (lisp-completion-at-point):
4619 Use emacs-lisp-mode-syntax-table for the whole function.
4621 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4623 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4624 instead of font-lock-mode before adding keywords.
4625 Remove hi-lock-mode off code. Remove inhibit hack.
4626 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4627 non-nil; removed hook inhibit hack.
4629 2010-10-12 Glenn Morris <rgm@gnu.org>
4631 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4632 (load-path-shadows-find): ... to this.
4633 (list-load-path-shadows): Update for above change.
4635 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4637 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4639 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4640 Fix comment for declare-function.
4642 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4644 * custom.el (custom-fix-face-spec): New function; code moved from
4645 custom-face-edit-fix-value.
4646 (custom-push-theme): Use it when checking if a face has been
4647 changed outside customize.
4648 (custom-available-themes): New function.
4649 (load-theme): Use it.
4651 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4653 * custom.el (custom-push-theme): Cleanup (use cond).
4654 (disable-theme): Recompute the saved-face property.
4655 (custom-theme-recalc-face): Follow face alias before setting prop.
4657 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4658 New variables, containing checkbox images.
4660 * startup.el (fancy-startup-tail):
4661 * wid-edit.el (checkbox): Use them.
4663 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4665 * shell.el (shell-mode-map):
4666 * progmodes/modula2.el (m2-mode-map):
4667 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4668 * play/mpuz.el (mpuz-mode-map):
4669 * play/landmark.el (lm-mode-map):
4670 * play/decipher.el (decipher-mode-map):
4671 * play/5x5.el (5x5-mode-map):
4672 * net/telnet.el (telnet-mode-map):
4673 * net/quickurl.el (quickurl-list-mode-map):
4674 * net/mairix.el (mairix-searches-mode-map):
4675 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4676 * net/dig.el (dig-mode-map):
4677 * mail/mspools.el (mspools-mode-map):
4678 * hexl.el (hexl-mode-map):
4679 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4680 (wordstar-C-o-map, wordstar-C-q-map):
4681 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4682 * emacs-lisp/chart.el (chart-map):
4683 * edmacro.el (edmacro-mode-map):
4684 * erc/erc-list.el (erc-list-menu-mode-map):
4685 * array.el (array-mode-map): Declare and define in one step.
4687 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4689 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4691 * epa.el (epa-passphrase-callback-function): Display filename
4692 passed as the 3rd arg.
4693 * epa-file.el (epa-file-passphrase-callback-function):
4694 Pass filename to epa-passphrase-callback-function.
4696 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4698 * cus-edit.el (custom-face-widget-to-spec)
4699 (custom-face-get-current-spec, custom-face-state): New functions.
4700 (custom-face-set, custom-face-mark-to-save)
4701 (custom-face-value-create, custom-face-state-set): Use them.
4703 * cus-theme.el (custom-theme--listed-faces): New var.
4704 (customize-create-theme): Use *Custom Theme* as the buffer name.
4705 Set revert-buffer-function. Optional arg BUFFER. Insert all
4706 faces listed in custom-theme--listed-faces.
4707 (custom-theme-revert): New function.
4708 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4710 (custom-theme-write): Prompt for theme name if empty.
4711 (custom-theme-write-variables): Use dolist.
4712 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4714 2010-10-09 Alan Mackenzie <acm@muc.de>
4716 Enhance fontification of declarators to take account of the
4717 presence/absence of "typedef".
4719 * cc-engine.el (c-forward-type): New &optional param
4721 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4722 presence of either or both of a "struct"-like keyword and "typedef".
4724 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4725 fontification of declarators which follow a "}".
4726 (c-font-lock-declarations): Fontify declarators according to the
4727 presence/absence of "typedef".
4729 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4731 (c-typedef-decl-key): New lang variable built from
4732 c-typedef-decl-kwds.
4734 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4736 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4737 since that's too annoying. Move the filter groups commands to
4740 * epa.el (epa-passphrase-callback-function): Say what we're
4741 querying the password for.
4743 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4744 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4746 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4748 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4749 (custom-magic-value-create): Pad button tags with spaces.
4750 (custom-face-edit): New variable.
4751 (custom-face-value-create): Determine whether to use the usual
4752 face editor here, instead of using custom-face-selected.
4753 Pass face defaults to custom-face-edit widget.
4754 (custom-face-selected, custom-display-unselected): Delete widgets.
4755 (custom-display-unselected-match): Function removed.
4756 (custom-face-set, custom-face-mark-to-save):
4757 Accept custom-face-edit widgets as the direct widget child.
4759 * wid-edit.el (widget--completing-widget): New var.
4760 (widget-default-complete): Bind it when doing completion.
4761 (widget-string-complete, widget-file-complete): Use it.
4763 2010-10-09 Glenn Morris <rgm@gnu.org>
4765 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4766 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4767 (holiday-hebrew-misc): Small simplifications.
4769 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4771 * net/browse-url.el: Don't require thingatpt, term, dired,
4772 executable, or w3-auto when compiling.
4773 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4775 (browse-url-text-emacs): Require term.
4777 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4779 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4781 2010-10-08 Glenn Morris <rgm@gnu.org>
4783 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4785 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4786 (shadows-compare-text-p): Make it an obsolete alias for...
4787 (load-path-shadows-compare-text): ... new name.
4788 (find-emacs-lisp-shadows): Update for above name change.
4789 (load-path-shadows-same-file-or-nonexistent): New name for the old
4790 shadow-same-file-or-nonexistent.
4792 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4794 * minibuffer.el (completion--some, completion--do-completion)
4795 (minibuffer-complete-and-exit, minibuffer-completion-help)
4796 (completion-basic-try-completion)
4797 (completion-basic-all-completions)
4798 (completion-pcm--find-all-completions): Use lexical-let to
4799 avoid some false matches in variable completion (Bug#7056)
4801 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4803 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4805 2010-10-08 Leo <sdl.web@gmail.com>
4807 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4808 return non-nil if the file exists (Bug#7090).
4810 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4812 * minibuffer.el (completion--replace):
4813 Better preserve markers (bug#7138).
4815 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4817 * server.el (server-process-filter): Doc fix.
4819 2010-10-08 Drew Adams <drew.adams@oracle.com>
4821 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4823 2010-10-08 Glenn Morris <rgm@gnu.org>
4825 * vc/ediff-wind.el (ediff-setup-control-frame):
4826 * vc/ediff-ptch.el (ediff-default-backup-extension):
4827 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4828 (ediff-exec-process): Remove system-types emx, windows-95.
4830 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4832 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4834 * cus-edit.el (custom-variable, custom-face): Doc fix.
4835 (custom-face-edit): Add value-create attribute.
4836 (custom-face-edit-value-create)
4837 (custom-face-edit-value-visibility-action): New functions.
4838 Hide unused face attributes by default, and add a visibility toggle.
4839 (custom-face-edit-deactivate): Show empty values with shadow face.
4840 (custom-face-selected): Only use this for face specs with default
4842 (custom-face-value-create): Cleanup.
4844 * wid-edit.el (widget-checklist-value-create): Use dolist.
4845 (widget-checklist-match-find): Make second arg optional.
4847 2010-10-07 Glenn Morris <rgm@gnu.org>
4849 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4852 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4853 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4854 load-path-shadows-mode, update references.
4855 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4856 Rename variable and button.
4857 (list-load-path-shadows): Update button caller.
4859 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4861 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4862 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4863 (smie-merge-prec2s): Handle those new entries.
4864 (smie-prec2-levels): Only set precedence to nil for actual
4866 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4867 that is now unnecessary.
4869 2010-10-07 Miles Bader <miles@gnu.org>
4871 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4873 2010-10-07 Glenn Morris <rgm@gnu.org>
4875 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4876 (mail-position-on-field): Remove declarations.
4877 (mail-position-on-field): Autoload it.
4878 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4879 and mail-header-end. Don't require sendmail.
4881 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4882 (shadow-mode): New mode.
4883 (shadow-find-file): New button.
4884 (list-load-path-shadows): Use shadow-mode and buttons.
4886 * iimage.el (iimage-version): Remove.
4887 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4888 Turn into defcustoms.
4889 (iimage-mode-map): Give it a doc string.
4891 * calendar/appt.el (appt-activate): Give a warning rather than an error
4892 if there is no diary-file.
4894 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4896 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4897 Use `tramp-handle-find-backup-file-name'.
4899 2010-10-06 Glenn Morris <rgm@gnu.org>
4901 * font-core.el (font-lock-defaults-alist): Remove variable.
4902 (font-lock-mode): Doc fix.
4903 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4904 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4905 (font-lock-set-defaults): Doc fix.
4906 Do not consult font-lock-defaults-alist.
4908 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4910 * emacs-lisp/cl.el: No longer provide cl-19.
4912 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4914 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4915 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4916 New defuns, taken from tramp-smb.el.
4917 (tramp-coding-system-change-eol-conversion)
4918 (tramp-set-process-query-on-exit-flag): Remove.
4920 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4921 (tramp-compat-coding-system-change-eol-conversion)
4922 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4925 * net/tramp-gvfs.el:
4926 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4927 by `tramp-compat-set-process-query-on-exit-flag'.
4929 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4930 Use `tramp-handle-directory-files-and-attributes',
4931 `tramp-handle-file-exists-p' and
4932 `tramp-handle-file-newer-than-file-p'.
4933 (tramp-imap-handle-file-exists-p)
4934 (tramp-imap-handle-file-executable-p)
4935 (tramp-imap-handle-file-readable-p)
4936 (tramp-imap-handle-directory-files-and-attributes)
4937 (tramp-imap-handle-file-newer-than-file-p): Remove.
4939 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4940 by `tramp-compat-set-process-query-on-exit-flag' and
4941 `tramp-coding-system-change-eol-conversion' by
4942 `tramp-compat-coding-system-change-eol-conversion'.
4944 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4945 Use `tramp-handle-directory-files-and-attributes',
4946 `tramp-handle-file-exists-p' and
4947 `tramp-handle-file-newer-than-file-p'.
4948 (tramp-smb-handle-directory-files-and-attributes)
4949 (tramp-smb-handle-file-exists-p)
4950 (tramp-smb-handle-file-newer-than-file-p): Remove.
4951 (tramp-smb-maybe-open-connection):
4952 Replace `tramp-set-process-query-on-exit-flag' by
4953 `tramp-compat-set-process-query-on-exit-flag'.
4955 2010-10-05 Glenn Morris <rgm@gnu.org>
4957 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4959 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4961 Continue reorganization of load dependencies. (Bug#7156)
4963 * net/tramp.el (tramp-handle-file-local-copy-hook)
4964 (tramp-delete-temp-file-function): Move down.
4965 (tramp-exists-file-name-handler): Move up.
4966 (tramp-register-file-name-handlers): Simplify autoload.
4967 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4968 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4969 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4970 (tramp-handle-file-name-completion)
4971 (tramp-handle-file-name-directory)
4972 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4973 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4974 (tramp-handle-find-backup-file-name)
4975 (tramp-handle-insert-file-contents, tramp-handle-load)
4976 (tramp-handle-substitute-in-file-name)
4977 (tramp-handle-unhandled-file-name-directory)
4978 (tramp-mode-string-to-int, tramp-local-host-p)
4979 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4981 * net/tramp-gvfs.el (top):
4982 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4984 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4985 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4987 2010-10-04 Glenn Morris <rgm@gnu.org>
4989 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4990 (appt-activate): Give status messages.
4992 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4994 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4995 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4996 `gnutls-negotiate' (formerly `starttls-negotiate').
4997 Remove trivial wrapper `starttls-open-stream'.
4999 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5001 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5002 log-outgoing commands.
5003 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5004 to create a buffer local revert-buffer-function variable.
5005 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5006 revert-buffer-function lambda.
5008 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5010 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5011 `gnutls-boot'. Make TYPE the only required parameter.
5012 Allow TRUSTFILES and KEYFILES to be lists.
5013 (open-ssl-stream): Use it.
5015 2010-10-03 Glenn Morris <rgm@gnu.org>
5017 * subr.el (directory-sep-char): Remove obsolete variable.
5018 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5021 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5022 * vc/vc.el (vc-static-header-alist): Doc fix.
5023 * vc/vc-cvs.el (vc-cvs-header):
5024 * vc/vc-rcs.el (vc-rcs-header):
5025 * vc/vc-sccs.el (vc-sccs-header):
5026 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5027 * obsolete/vc-mcvs.el (vc-mcvs-header):
5028 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5031 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5033 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5034 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5036 2010-10-03 Glenn Morris <rgm@gnu.org>
5038 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5040 * textmodes/rst.el (rst-font-lock-keywords-function):
5043 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5045 * printing.el: Drop Emacs 20 code.
5047 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5048 without having used appt.el already).
5050 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5051 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5052 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5054 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5055 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5057 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5058 (charset-width, find-charset-region, chars-in-region, forward-point)
5059 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5060 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5061 Remove compatibility cruft (none of these are used by ps*.el).
5063 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5065 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5067 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5069 * server.el (server-process-filter, server-return-error):
5070 Give emacsclient time to shut down after receiving an error string.
5072 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5074 * files.el (remote-file-name-inhibit-cache): New defcustom.
5076 * time.el (display-time-file-nonempty-p):
5077 Use `remote-file-name-inhibit-cache'.
5079 * net/tramp.el (tramp-completion-reread-directory-timeout):
5082 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5083 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5084 `remote-file-name-inhibit-cache'. Check also for an integer
5085 value. Add/increase counter when `tramp-verbose' >= 10.
5086 (tramp-set-file-property): Add/increase counter when
5087 `tramp-verbose' >= 10.
5089 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5090 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5091 (tramp-bug): Set tramp-autoload cookie. Report all interned
5092 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5093 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5094 characters only in strings.
5096 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5097 to backward compatibility.
5099 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5100 (tramp-handle-file-name-all-completions)
5101 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5102 (tramp-open-connection-setup-interactive-shell):
5103 Call `tramp-cleanup-connection' directly.
5105 2010-10-02 Glenn Morris <rgm@gnu.org>
5107 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5109 * subr.el (char-bytes): Remove obsolete function.
5111 * isearch.el (isearch-return-char): Remove obsolete function.
5113 * mouse.el: No longer provide mldrag.
5114 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5115 Remove obsolete aliases.
5117 * comint.el (comint-kill-output): Remove obsolete alias.
5119 * composite.el (decompose-composite-char): Remove obsolete function.
5120 * ps-def.el (decompose-composite-char): Remove unused function.
5122 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5124 * outline.el (outline-visible): Remove obsolete function.
5126 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5127 * faces.el (internal-find-face, internal-get-face)
5128 (frame-update-faces, frame-update-face-colors)
5129 (x-frob-font-weight, x-frob-font-slant)
5130 (internal-frob-font-weight, internal-frob-font-slant)
5131 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5132 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5133 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5135 * emulation/viper-util.el (viper-get-face):
5136 * obsolete/lucid.el (find-face, get-face): Use facep.
5137 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5138 Remove unused functions.
5139 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5141 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5142 delete tempfile if interrupted during compilation.
5144 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5146 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5148 (tls-program): Add --insecure to be consistent with the defaults from
5149 openssl s_client. Now all three commands are insecure.
5151 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5153 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5154 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5155 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5157 2010-10-01 Glenn Morris <rgm@gnu.org>
5159 * obsolete/sc.el: Remove file.
5161 * files.el (temporary-file-directory): On darwin, also try
5162 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5164 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5166 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5167 Let's not break compatibility gratuitously, shall we?
5169 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5171 * net/tls.el (tls-starttls-switches): New variable.
5172 (tls-find-starttls-argument): Use it.
5173 (open-tls-stream): Ditto.
5175 * net/netrc.el (netrc-credentials): Return the value of the "default"
5177 (netrc-machine): Ditto.
5179 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5181 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5183 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5185 * server.el (server-start): Don't write pid to the authentication file.
5186 (server-create-tty-frame): Don't send pid.
5187 (server-process-filter): Send pid at the start of every connection.
5189 2010-09-30 Glenn Morris <rgm@gnu.org>
5191 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5192 (show-all-diary-entries): Remove obsolete function aliases.
5194 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5195 Remove options, obsolete since 22.1.
5196 (appt-display-format, appt-display-message):
5197 Remove backwards-compatibility code.
5198 (appt-check): No longer check appt-issue-message.
5199 (appt-make-list): No longer autoload it. Doc fix. No longer
5200 activate the package.
5202 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5204 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5205 (starttls-negotiate): Just call boot, and let the handshake be
5206 triggered from the read loop.
5208 2010-09-29 Glenn Morris <rgm@gnu.org>
5210 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5211 not displaying the diary.
5212 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5213 * calendar/appt.el (appt-check): No longer need to kill diary.
5215 * calendar/diary-lib.el (diary-list-entries): Move the
5216 "Preparing..." message entirely here.
5217 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5218 messages to diary-list-entries.
5219 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5220 diary-display-function.
5222 * calendar/diary-lib.el (diary-include-other-diary-files):
5223 Trap some recursive includes.
5225 * calendar/appt.el (appt-activate): Check diary file.
5227 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5229 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5232 * calendar/time-date.el: No need to require cl for Emacs 21.
5234 2010-09-28 Glenn Morris <rgm@gnu.org>
5236 * calendar/appt.el (appt-check): Minor simplification.
5238 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5240 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5243 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5245 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5246 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5248 2010-09-27 Kenichi Handa <handa@m17n.org>
5250 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5253 2010-09-27 Kenichi Handa <handa@m17n.org>
5255 * international/mule.el (define-coding-system): Docstring fixed.
5257 * international/mule-diag.el (describe-character-set): Use princ
5258 with proper print-length and print-level instead of insert.
5260 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5262 * window.el (walk-windows): Doc fix (bug#7105).
5264 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5266 * emacs-lisp/float-sup.el (e): Remove.
5268 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5270 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5272 (starttls-negotiate): Use it.
5274 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5276 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5279 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5281 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5283 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5285 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5287 * net/netrc.el (netrc-store-data): New function.
5289 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5291 * net/gnutls.el: GnuTLS glue code to set up a connection.
5293 2010-09-25 Julien Danjou <julien@danjou.info>
5295 * notifications.el: Call dbus-register-signal only if it is bound.
5297 2010-09-25 Glenn Morris <rgm@gnu.org>
5299 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5300 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5301 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5302 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5303 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5304 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5305 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5306 * eshell/esh-util.el, eshell/esh-var.el:
5307 Remove leading `*' from docs of faces and defcustoms.
5309 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5311 * eshell/em-ls.el (eshell-ls-archive-regexp):
5312 * eshell/esh-util.el (eshell-tar-regexp):
5313 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5314 * info.el (Info-suffix-list):
5315 * international/mule.el (auto-coding-alist):
5316 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5317 * progmodes/etags.el (tags-compression-info-list):
5318 Support xz compression.
5320 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5322 * files.el (get-free-disk-space): Don't assume the "df" output
5323 columns line up (Bug#6995).
5325 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5327 * finder.el (finder-unknown-keywords):
5328 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5329 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5331 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5333 * server.el (server-start): Revert part of 2010-08-08 change. Using
5334 address 127.0.0.1 for local host is now done in Fmake_network_process.
5336 2010-09-24 Glenn Morris <rgm@gnu.org>
5338 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5339 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5340 * textmodes/css-mode.el, textmodes/dns-mode.el:
5341 Move autoloaded auto-mode-alist entries to files.el.
5342 * files.el (auto-mode-alist): Move entries here.
5344 2010-09-23 Glenn Morris <rgm@gnu.org>
5346 * isearch.el (isearch-lazy-highlight-cleanup)
5347 (isearch-lazy-highlight-initial-delay)
5348 (isearch-lazy-highlight-interval)
5349 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5350 * net/net-utils.el (ipconfig-program-options):
5351 Move aliases to options before the associated definitions.
5353 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5355 * newcomment.el (comment-normalize-vars): Better test validity of
5358 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5360 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5361 (float-e): New name for `e'.
5362 (degrees-to-radians, radians-to-degrees):
5363 * calendar/solar.el (solar-longitude):
5364 * calculator.el (calculator-registers, calculator-funcall):
5365 * textmodes/artist.el (artist-spray-random-points):
5366 * play/bubbles.el (bubbles--initialize-images): Use new names.
5368 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5370 Update to CEDET 1.0's version of EIEIO.
5372 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5374 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5375 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5376 (class-precedence-list): If class is nil, return nil.
5377 (eieio-generic-call): If class of first input arg is nil, don't
5378 look up static methods, and do check for primary methods.
5379 (initialize-instance): See if the default needs to be evaluated
5380 during the constructor.
5381 (eieio-perform-slot-validation-for-default): Don't do the check
5382 for values that will eventually be evaluated.
5383 (eieio-eval-default-p): New function.
5384 (eieio-default-eval-maybe): Use it.
5386 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5388 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5389 method-invocation-order.
5390 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5391 (eieio-class-precedence-dfs): Compute class precedence list using
5393 (eieio-class-precedence-bfs): Compute class precedence list using
5395 (eieio-class-precedence-c3): Compute class precedence list using
5397 (class-precedence-list): New function.
5398 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5399 (inconsistent-class-hierarchy): New error symbol.
5400 (call-next-method): Stow the replacement argument list for future
5401 call-next-method invocations.
5403 2010-09-23 Glenn Morris <rgm@gnu.org>
5405 * calendar/appt.el (appt-check): If not displaying the diary,
5406 use (diary 1) to only get the entries we need.
5407 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5408 that it is in day order. (Bug#7019)
5410 * calendar/appt.el (appt-check): Rather than showing the diary,
5411 just turn off invisible display, and only if needed.
5413 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5415 2010-09-23 Glenn Morris <rgm@gnu.org>
5417 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5418 (byte-compile-defvar, byte-compile-cl-warn):
5419 Start warnings with lower-case, like the majority.
5421 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5423 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5425 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5426 * files.el (auto-mode-alist): Move ld-script entries here, further down
5429 * vc/add-log.el: Don't require timezone when compiling.
5430 (timezone-make-date-sortable): Autoload it.
5431 (change-log-sortable-date-at): Don't require timezone.
5432 Use `ignore-errors'.
5434 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5435 Move alias before definition, so it does not need autoloading.
5437 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5438 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5439 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5440 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5441 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5442 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5443 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5444 * textmodes/tex-mode.el, textmodes/two-column.el:
5445 Remove leading `*' from docs of defcustoms etc.
5447 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5449 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5451 2010-09-22 Dan Christensen <jdc@uwo.ca>
5453 * calendar/time-date.el (date-to-time): Try using parse-time-string
5454 first before using the slower timezone-make-date-arpa-standard.
5456 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5458 * calendar/time-date.el (format-seconds): Comment fix.
5460 2010-09-22 Glenn Morris <rgm@gnu.org>
5462 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5463 is not automatically buffer-local.
5465 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5467 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5468 (smie-indent-comment): Be more careful with comment-start-skip.
5469 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5470 (smie-indent-functions): Use them.
5472 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5474 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5476 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5478 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5479 tool-bar-position. Don't modify frame parameters here.
5480 (menu-bar-options-save): Add tool-bar-position.
5482 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5484 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5486 * textmodes/reftex-parse.el (reftex-what-macro)
5487 (reftex-context-substring): Let-bind forward-sexp-function to nil
5488 since we don't need/want to treat \begin...\end as a block (bug#7053).
5490 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5492 * simple.el (blink-matching-open): Use syntax-class.
5494 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5495 Set invisibility spec for pascal's outline mode.
5496 (pascal-outline-change): Clean up calling convention.
5497 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5499 * progmodes/prolog.el (prolog-smie-forward-token)
5500 (prolog-smie-backward-token): New functions.
5501 (prolog-mode-variables): Use them to parse "!," correctly.
5502 Set up smie-blink-matching for ".".
5504 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5506 (ispell-region, ispell-process-line): Update users.
5508 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5511 * textmodes/ispell.el: Fix commenting convention.
5512 (ispell-parse-output): Simplify, use push.
5513 (ispell-region): Use match-string-no-properties.
5514 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5515 (ispell-minor-mode): Use define-minor-mode.
5516 (ispell-message): Remove unused var `skip-regexp'.
5517 (ispell-add-per-file-word-list): Use dynamic let-binding.
5518 Try and use the proper comment marker.
5520 * mail/sendmail.el: Fix commenting convention.
5521 (sendmail-send-it): Use line-beginning-position.
5523 * help-fns.el (describe-variable): Add original value, if applicable.
5525 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5527 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5529 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5531 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5533 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5534 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5535 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5536 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5537 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5538 something like "." can also be a closer.
5539 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5540 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5541 Rename internal functions to use "--". Update callers.
5543 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5545 * fringe.el (fringe-styles): New var.
5546 (fringe-mode, fringe-query-style): Use it.
5548 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5550 * progmodes/sql.el: Version 2.8
5551 (sql-login-params): Update widget structure; changes still needed.
5552 (sql-product-alist): Add :list-all and :list-table features for
5553 SQLite, Postgres and MySQL products.
5554 (sql-redirect): Handle default value.
5555 (sql-execute, sql-execute-feature): New functions.
5556 (sql-read-table-name): New function.
5557 (sql-list-all, sql-list-table): New functions. User API.
5558 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5559 for above functions.
5560 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5561 for above functions.
5562 (sql-postgres-login-params): Add user and database defaults.
5563 (sql-buffer-live-p): Bug fix.
5564 (sql-product-history): New variable.
5565 (sql-read-product): New function. Use it.
5566 (sql-set-product, sql-product-interactive): Use it.
5567 (sql-connection-history): New variable.
5568 (sql-read-connection): New function. Use it.
5569 (sql-connect): New function.
5570 (sql-for-each-login): Redesign function interface.
5571 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5572 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5573 (sql-comint): Check for program. Existing live buffer.
5574 (sql-comint-postgres): Add port parameter.
5576 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5578 * emacs-lisp/warnings.el: Fix commenting convention.
5579 (display-warning): Use special mode and make the buffer read-only.
5581 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5583 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5584 empty string when it follows a repeated or optional pattern.
5586 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5588 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5589 (indent-region): Use indent-according-to-mode.
5591 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5593 * fringe.el (fringe-mode): Doc fix.
5595 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5597 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5598 refreshing the preview buffer.
5600 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5602 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5603 (latex-syntax-propertize-rules): New consts; replace
5604 tex-font-lock-syntactic-keywords.
5605 (tex-env-mark, latex-env-before-change): New functions.
5606 (latex-electric-env-pair-mode): New minor mode.
5607 (tex-font-lock-verb): Change arguments; do move point.
5608 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5609 representation as a form of comment.
5610 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5611 (doctex-syntax-propertize-rules): New const; replaces
5612 doctex-font-lock-syntactic-keywords.
5613 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5615 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5616 (fortran-make-syntax-propertize-function): New function; replaces
5617 fortran-font-lock-syntactic-keywords.
5618 (fortran-mode): Use it.
5619 (fortran-line-length): Use it. Improve interactive spec.
5621 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5622 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5623 when adding surrounding \(..\).
5625 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5627 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5629 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5630 Use with-current-buffer.
5632 * isearch.el (isearch-face): Rename from `isearch'.
5633 (isearch-highlight): Use new name.
5635 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5637 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5638 5, for `half' width fringes. (Bug#6933)
5640 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5642 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5643 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5645 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5647 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5649 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5650 in calculating new frame position. Add more space between new and
5651 parent on the left (Bug#7048).
5653 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5655 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5658 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5660 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5662 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5663 obsolete alias for x-selection-value.
5665 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5667 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5669 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5672 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5674 * net/tramp-compat.el (tramp-compat-with-temp-message)
5675 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5676 (tramp-compat-process-put): New defuns.
5678 * net/tramp.el (top):
5679 * net/tramp-gvfs.el (top):
5680 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5682 * net/tramp.el (tramp-progress-reporter-update):
5683 Use `tramp-compat-funcall'.
5685 * net/tramp.el (tramp-process-actions):
5686 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5687 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5688 (tramp-get-remote-stat, tramp-get-remote-readlink):
5689 Use `tramp-compat-with-temp-message'.
5691 * net/tramp-sh.el (top): Require 'cl.
5692 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5693 (tramp-open-connection-setup-interactive-shell):
5694 Use `tramp-compat-process-put'.
5696 2010-09-15 Alan Mackenzie <acm@muc.de>
5698 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5700 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5702 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5704 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5705 `lexical' for warnings related to lexical scoping.
5706 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5707 global vars which don't have a prefix and could hence affect lexical
5708 scoping in unrelated files.
5710 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5712 * net/imap.el: Revert back to version
5713 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5716 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5718 * obsolete/old-whitespace.el (whitespace-unload-function):
5719 Explicitly pass `obarray' to `unintern' to avoid a warning.
5721 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5723 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5724 Add `when' argument. Update callers.
5726 * subr.el (unintern): Declare the obarray arg mandatory.
5728 2010-09-14 Glenn Morris <rgm@gnu.org>
5730 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5733 * calendar/diary-lib.el (diary-included-files): New variable.
5734 (diary-list-entries): Maybe initialize diary-included-files.
5735 (diary-include-other-diary-files): Append to diary-included-files.
5736 * calendar/appt.el (appt-update-list): Also check the members of
5737 diary-included-files. (Bug#6999)
5738 (appt-check): Doc fix.
5740 2010-09-14 David Reitter <david.reitter@gmail.com>
5742 * simple.el (line-move-visual): Do not truncate goal column to
5743 integer size. (Bug#7020)
5745 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5747 * repeat.el (repeat): Allow repeating when the last event is a click.
5748 Suggested by Drew Adams (bug#6256).
5750 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5752 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5753 Replace setting HGRCPATH to "" by some less invasive --config options.
5755 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5757 * font-lock.el (font-lock-beginning-of-syntax-function):
5760 2010-09-14 Glenn Morris <rgm@gnu.org>
5762 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5763 and tool-bar modes. (Bug#6211)
5764 (menu-bar-mode): Move setting of standard-value after the
5765 minor-mode definition, otherwise it seems to have no effect.
5767 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5769 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5770 Fix typo. (Bug#6976)
5772 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5774 * whitespace.el: Allow cleaning up blanks without blank
5775 visualization (Bug#6651). Adjust help window for
5776 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5777 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5778 (whitespace-style): Add new value 'face. Adjust docstring.
5779 (whitespace-space, whitespace-hspace, whitespace-tab):
5780 Adjust foreground property face.
5781 (whitespace-line-column): Adjust docstring and type declaration.
5782 (whitespace-style-value-list, whitespace-toggle-option-alist)
5783 (whitespace-help-text): Adjust const initialization.
5784 (whitespace-toggle-options, global-whitespace-toggle-options):
5786 (whitespace-display-window, whitespace-interactive-char)
5787 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5788 (whitespace-help-scroll): New fun.
5790 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5792 * calendar/time-date.el (format-seconds): Comment fix.
5794 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5796 * progmodes/sql.el: Version 2.7.
5797 (sql-buffer-live-p): Improve detection.
5798 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5799 (sql-set-sqli-buffer): Use it.
5800 (sql-product-interactive): Run `sql-set-sqli-hook'.
5801 (sql-rename-buffer): Code cleanup.
5802 (sql-redirect, sql-redirect-value): New functions. More to come.
5804 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5806 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.
5807 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5808 (TRAMP_SRC): New macro.
5809 ($(lisp)/net/tramp-loaddefs.el): New target.
5811 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5813 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5815 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5817 * net/tramp.el (top): Don't show loading message. Require just
5818 'tramp-compat, everything else is required there.
5819 Use `ignore-errors' where appropriate.
5820 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5821 (tramp-terminal-type, tramp-end-of-output)
5822 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5823 (tramp-completion-function-alist-ssh)
5824 (tramp-completion-function-alist-telnet)
5825 (tramp-completion-function-alist-su)
5826 (tramp-completion-function-alist-putty, tramp-remote-path)
5827 (tramp-remote-process-environment, tramp-sh-extra-args)
5828 (tramp-actions-before-shell, tramp-uudecode)
5829 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5830 (tramp-perl-file-attributes)
5831 (tramp-perl-directory-files-and-attributes)
5832 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5833 (tramp-perl-encode, tramp-perl-decode)
5834 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5835 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5836 (tramp-handle-make-symbolic-link, tramp-handle-load)
5837 (tramp-handle-file-name-as-directory)
5838 (tramp-handle-file-name-directory)
5839 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5840 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5841 (tramp-do-file-attributes-with-ls)
5842 (tramp-do-file-attributes-with-perl)
5843 (tramp-do-file-attributes-with-stat)
5844 (tramp-handle-set-visited-file-modtime)
5845 (tramp-handle-verify-visited-file-modtime)
5846 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5847 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5848 (tramp-handle-file-selinux-context)
5849 (tramp-handle-set-file-selinux-context)
5850 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5851 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5852 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5853 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5854 (tramp-handle-file-ownership-preserved-p)
5855 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5856 (tramp-handle-directory-files-and-attributes)
5857 (tramp-do-directory-files-and-attributes-with-perl)
5858 (tramp-do-directory-files-and-attributes-with-stat)
5859 (tramp-handle-file-name-all-completions)
5860 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5861 (tramp-handle-copy-file, tramp-handle-copy-directory)
5862 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5863 (tramp-do-copy-or-rename-file-via-buffer)
5864 (tramp-do-copy-or-rename-file-directly)
5865 (tramp-do-copy-or-rename-file-out-of-band)
5866 (tramp-handle-make-directory, tramp-handle-delete-directory)
5867 (tramp-handle-delete-file)
5868 (tramp-handle-dired-recursive-delete-directory)
5869 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5870 (tramp-handle-insert-directory)
5871 (tramp-handle-unhandled-file-name-directory)
5872 (tramp-handle-expand-file-name)
5873 (tramp-handle-substitute-in-file-name)
5874 (tramp-handle-executable-find, tramp-process-sentinel)
5875 (tramp-handle-start-file-process, tramp-handle-process-file)
5876 (tramp-handle-call-process-region, tramp-handle-shell-command)
5877 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5878 (tramp-handle-insert-file-contents)
5879 (tramp-handle-insert-file-contents-literally)
5880 (tramp-handle-find-backup-file-name)
5881 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5882 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5883 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5884 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5885 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5886 (tramp-find-file-exists-command, tramp-open-shell)
5887 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5888 (tramp-open-connection-setup-interactive-shell)
5889 (tramp-local-coding-commands, tramp-remote-coding-commands)
5890 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5891 (tramp-inline-compress-commands, tramp-find-inline-compress)
5892 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5893 (tramp-send-command, tramp-wait-for-output)
5894 (tramp-send-command-and-check, tramp-barf-unless-okay)
5895 (tramp-send-command-and-read, tramp-mode-string-to-int)
5896 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5897 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5898 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5899 (tramp-method-out-of-band-p, tramp-local-host-p)
5900 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5901 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5902 (tramp-get-test-command, tramp-get-test-nt-command)
5903 (tramp-get-file-exists-command, tramp-get-remote-ln)
5904 (tramp-get-remote-perl, tramp-get-remote-stat)
5905 (tramp-get-remote-readlink, tramp-get-remote-trash)
5906 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5907 (tramp-get-local-uid, tramp-get-local-gid)
5908 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5910 (tramp-methods, tramp-default-method-alist)
5911 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5912 Move initialization to tramp-sh.el.
5913 (tramp-temp-name-prefix): Make it a defconst.
5914 (tramp-dissect-file-name): Don't check anymore for multi-hop
5916 (tramp-debug-outline-regexp): Add a docstring.
5917 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5918 (tramp-get-debug-buffer): Use it.
5920 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5921 initialization forms.
5922 (tramp-set-connection-property): Don't protect `tramp-message'
5923 call, it isn't necessary any longer.
5924 (tramp-dump-connection-properties): Use `ignore-errors'.
5926 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5927 'password-cache and 'auth-source.
5929 * net/tramp-gvfs.el (top):
5930 * net/tramp-smb.el (top): Require 'tramp-sh.
5932 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5934 * net/tramp-sh.el: New file, derived from tramp.el.
5935 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5936 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5937 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5938 Use `ignore-errors' where appropriate.
5939 (tramp-sh-file-name-handler-alist): Rename from
5940 `tramp-file-name-handler-alist'.
5941 (tramp-send-command-and-check): Return t or nil. Remove all
5942 `zerop' checks, where called.
5943 (tramp-handle-set-file-modes)
5944 (tramp-do-copy-or-rename-file-directly)
5945 (tramp-handle-delete-directory, tramp-handle-delete-file)
5946 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5947 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5948 (tramp-get-remote-ln): Set tramp-autoload cookie.
5950 * net/tramp-fish.el: Remove file.
5952 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5954 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5955 buffer-file-name to avoid file-locking. (Bug#7026)
5957 2010-09-13 Julien Danjou <julien@danjou.info>
5959 * notifications.el (notifications-notify): Add support for
5960 image-path and sound-name.
5961 (notifications-specification-version): Add this variable.
5963 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5965 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5967 2010-09-12 Leo <sdl.web@gmail.com>
5969 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5970 (rcirc-completion-start): New variables.
5971 (rcirc-nick-completions): Rename to rcirc-completions.
5972 (rcirc-nick-completion-start-offset): Delete.
5973 (rcirc-completion-at-point): New function for constructing
5974 completion data for both nicks and irc commands. Add to
5975 completion-at-point-functions in rcirc mode.
5976 (rcirc-complete): Rename from rcirc-nick-complete; use
5977 rcirc-completion-at-point.
5978 (defun-rcirc-command): Update rcirc-client-commands.
5980 2010-09-11 Glenn Morris <rgm@gnu.org>
5982 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5983 atomically, to avoid parallel build errors. (Bug#4196)
5985 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5987 * progmodes/sql.el: Version 2.6
5988 (sql-dialect): Synonym for "sql-product".
5989 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5990 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5991 Set "sql-buffer" to buffer name not buffer object so multiple sql
5992 interactive buffers work properly. Reverts misguided changes in
5994 (sql-comint): Make sure different buffer name is used if "*SQL*"
5995 buffer is for a different product.
5996 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5998 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5999 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6000 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6001 Accept new buffer name or prompt for one.
6002 (sql-port): Default to zero.
6003 (sql-comint-mysql): Handle "sql-port" as a numeric.
6004 (sql-port-history): Delete unused variable.
6005 (sql-get-login): Default "sql-port" to a number.
6006 (sql-product-alist): Correct Postgres prompt and terminator regexp.
6007 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6008 "sqlite3" executables.
6009 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6010 (sql-buffer-live-p): New function.
6011 (sql-mode-menu, sql-send-string): Use it.
6012 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6014 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6015 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6017 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6019 * net/netrc.el (netrc-credentials): New convenience function.
6021 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6023 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6024 to replace texinfo-font-lock-syntactic-keywords.
6025 (texinfo-mode): Use it.
6027 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6028 Use syntax-propertize-function.
6030 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6031 replace sgml-font-lock-syntactic-keywords.
6032 (sgml-mode): Use it.
6034 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6035 since we don't use it.
6037 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6039 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6041 (vhdl-fontify-buffer): Adjust.
6043 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6044 replace tcl-font-lock-syntactic-keywords.
6047 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6048 replace simula-font-lock-syntactic-keywords.
6049 (simula-mode): Use it.
6051 * progmodes/sh-script.el (sh-st-symbol): Remove.
6052 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6053 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6054 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6055 (sh-font-lock-paren): Set syntax-multiline.
6056 (sh-font-lock-syntactic-keywords): Remove.
6057 (sh-syntax-propertize-function): New function to replace it.
6060 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6061 Define while compiling.
6062 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6063 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6064 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6065 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6066 (ruby-here-doc-end-syntax): Only define when
6067 syntax-propertize is not available.
6068 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6070 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6071 (electric-indent-chars): Silence bytecompiler.
6072 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6073 electric-indent-chars.
6075 * progmodes/python.el (python-syntax-propertize-function): New var to
6076 replace python-font-lock-syntactic-keywords.
6077 (python-mode): Use it.
6078 (python-quote-syntax): Simplify and adjust to new use.
6080 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6081 replace perl-font-lock-syntactic-keywords.
6082 (perl-syntax-propertize-special-constructs): New fun to replace
6083 perl-font-lock-special-syntactic-constructs.
6084 (perl-font-lock-syntactic-face-function): New fun.
6085 (perl-mode): Use it.
6087 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6088 to replace octave-font-lock-close-quotes.
6089 (octave-syntax-propertize-function): New function to replace
6090 octave-font-lock-syntactic-keywords.
6091 (octave-mode): Use it.
6093 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6094 replaces mixal-font-lock-syntactic-keywords.
6095 (mixal-mode): Use it.
6097 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6098 New var; replaces makefile-font-lock-syntactic-keywords.
6099 (makefile-mode): Use it.
6100 (makefile-imake-mode): Adjust.
6102 * progmodes/js.el (js--regexp-literal): Define while compiling.
6103 (js-syntax-propertize-function): New var; replaces
6104 js-font-lock-syntactic-keywords.
6107 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6108 replaces gdb-script-font-lock-syntactic-keywords.
6109 (gdb-script-mode): Use it.
6111 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6112 (fortran--font-lock-syntactic-keywords): New var.
6113 (fortran-line-length): Update syntax-propertize-function and
6114 fortran--font-lock-syntactic-keywords.
6116 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6118 * progmodes/cfengine.el (cfengine-mode):
6119 Use syntax-propertize-function.
6120 (cfengine-font-lock-syntactic-keywords): Remove.
6122 * progmodes/autoconf.el (autoconf-mode):
6123 Use syntax-propertize-function.
6124 (autoconf-font-lock-syntactic-keywords): Remove.
6126 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6127 (ada-after-change-function, ada-initialize-syntax-table-properties)
6128 (ada-handle-syntax-table-properties): Only define when
6129 syntax-propertize is not available.
6130 (ada-mode): Use syntax-propertize-function.
6132 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6133 (font-lock-fontify-syntactic-keywords-region): Move handling of
6134 font-lock-syntactically-fontified to...
6135 (font-lock-default-fontify-region): ...here.
6136 Let syntax-propertize-function take precedence.
6137 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6139 * emacs-lisp/syntax.el (syntax-propertize-function)
6140 (syntax-propertize-chunk-size, syntax-propertize--done)
6141 (syntax-propertize-extend-region-functions): New vars.
6142 (syntax-propertize-wholelines, syntax-propertize-multiline)
6143 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6144 (syntax-propertize): New functions.
6145 (syntax-propertize-rules): New macro.
6146 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6147 (syntax-ppss): Call syntax-propertize.
6149 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6151 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6153 * textmodes/ispell.el (ispell-init-process): Improve comments.
6154 XEmacs compatibility changes regarding (add-hook) 'local option
6155 and (set-process-query-on-exit-flag).
6157 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6159 * net/tramp-cache.el (tramp-parse-connection-properties):
6160 Set tramp-autoload cookie.
6162 2010-09-09 Glenn Morris <rgm@gnu.org>
6164 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6165 (imagemagick-register-types): Doc fix.
6167 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6169 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6171 * progmodes/js.el (require): Require is already "eval-and-compile".
6172 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6173 (js--re-search-backward): Use js--re-search-forward.
6175 * progmodes/fortran.el (fortran-line-length): Don't recompute
6176 syntactic keywords redundantly a second time.
6178 * progmodes/ada-mode.el: Replace "(set '" with setq.
6179 (ada-mode): Simplify.
6180 (ada-create-case-exception, ada-adjust-case-interactive)
6181 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6182 (ada-search-ignore-string-comment, ada-move-to-start)
6183 (ada-move-to-end): Use with-syntax-table.
6185 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6186 (font-lock-unfontify-region, font-lock-default-fontify-region):
6187 Update usage correspondingly.
6188 (font-lock-fontify-syntactic-keywords-region):
6189 Set parse-sexp-lookup-properties buffer-locally here.
6190 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6192 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6194 2010-09-08 Glenn Morris <rgm@gnu.org>
6196 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6197 Error if not compiled with -DBYTE_CODE_METER.
6199 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6200 Ignore dir-locals-file.
6202 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6204 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6206 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6207 for the `gnu' messages.
6208 (compilation-set-skip-threshold): New command.
6209 (compilation-start): Use \' rather than $.
6210 (compilation-forget-errors): Use clrhash.
6212 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6214 * textmodes/ispell.el (ispell-valid-dictionary-list):
6217 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6219 Migrate to Tramp 2.2. Rearrange load dependencies.
6220 (Bug#1529, Bug#5448, Bug#5705)
6222 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6223 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6224 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6226 * net/tramp.el (top): Remove all other tramp-* loads except
6227 tramp-compat.el. Remove all changes to tramp-unload-hook for
6228 other tramp-* packages. Rearrange defun order. Change calls of
6229 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6230 `tramp-compat-octal-to-decimal' to new function names.
6231 (tramp-terminal-type, tramp-initial-end-of-output)
6232 (tramp-methods, tramp-foreign-file-name-handler-alist)
6233 (tramp-tramp-file-p, tramp-completion-mode-p)
6234 (tramp-send-command-and-check, tramp-get-remote-path)
6235 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6236 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6237 (with-file-property, with-connection-property): Move to
6239 (tramp-local-call-process, tramp-decimal-to-octal)
6240 (tramp-octal-to-decimal): Move to tramp-compat.el.
6241 (tramp-handle-shell-command): Do not require 'shell.
6242 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6244 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6246 * net/tramp-cache.el (top): Require 'tramp. Add to
6247 `tramp-unload-hook'.
6248 (tramp-cache-data, tramp-get-file-property)
6249 (tramp-set-file-property, tramp-flush-file-property)
6250 (tramp-flush-directory-property, tramp-get-connection-property)
6251 (tramp-set-connection-property, tramp-flush-connection-property)
6252 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6254 (with-file-property, with-connection-property): New defuns, moved
6256 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6259 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6260 (tramp-version): Set tramp-autoload cookie.
6262 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6263 changes to tramp-unload-hook for other tramp-* packages. Add to
6264 `tramp-unload-hook'.
6265 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6266 (tramp-compat-call-process): New defuns, moved from tramp.el.
6268 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6269 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6270 Add to `tramp-unload-hook'. Change call of
6271 `tramp-compat-decimal-to-octal' to new function name.
6272 (tramp-fish-method): Make it a defconst.
6273 (tramp-fish-file-name-p): Make it a defsubst.
6274 (tramp-fish-method, tramp-fish-file-name-handler)
6275 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6277 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6278 `tramp-foreign-file-name-handler-alist'. Add to
6279 `tramp-unload-hook'.
6280 (tramp-ftp-method): Make it a defconst.
6281 (tramp-ftp-file-name-p): Make it a defsubst.
6282 (tramp-ftp-method, tramp-ftp-file-name-handler)
6283 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6285 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6286 `tramp-foreign-file-name-handler-alist'. Add to
6287 `tramp-unload-hook'. Change checks, whether package can be
6289 (tramp-gvfs-file-name-p): Make it a defsubst.
6290 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6291 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6292 (tramp-gvfs-handle-file-directory-p): New defun.
6293 (tramp-gvfs-file-name-handler-alist): Use it.
6295 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6296 `tramp-foreign-file-name-handler-alist'. Add to
6297 `tramp-unload-hook'.
6298 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6299 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6301 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6302 (tramp-gw-open-connection): Set tramp-autoload cookie.
6304 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6305 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6306 Add to `tramp-unload-hook'. Change checks, whether package can be
6308 (tramp-imap-file-name-p): Make it a defsubst.
6309 (tramp-imap-method, tramp-imaps-method)
6310 (tramp-imap-file-name-handler)
6311 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6313 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6314 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6315 Add to `tramp-unload-hook'. Change checks, whether package can be
6316 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6318 (tramp-smb-tunnel-method): Make it a defconst.
6319 (tramp-smb-file-name-p): Make it a defsubst.
6320 (tramp-smb-method, tramp-smb-file-name-handler)
6321 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6323 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6324 (tramp-uuencode-region): Set tramp-autoload cookie.
6326 * net/trampver.el (top) Add to `tramp-unload-hook'.
6327 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6328 cookie. Update release number.
6330 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6332 * textmodes/ispell.el (ispell-start-process): Make sure original
6333 arg list is properly initialized (Bug#6993, Bug#6994).
6335 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6337 * files.el (directory-abbrev-alist): Use \` as default regexp.
6339 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6340 chars like - or ] (bug#6984).
6341 (rx-any-condense-range): Explode 2-char ranges.
6343 2010-09-06 Glenn Morris <rgm@gnu.org>
6345 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6347 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6349 * textmodes/bibtex.el:
6350 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6352 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6354 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6355 since no callers use it.
6356 (imap-message-get): Ditto.
6357 (imap-message-put): Ditto.
6358 (imap-mailbox-map): Ditto.
6359 (imap-mailbox-put): Ditto.
6360 (imap-mailbox-get): Ditto.
6361 (imap-mailbox-get): Revert last change for this function.
6363 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6365 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6366 callers to use `imap-fetch' instead. According to the comments, this
6367 should be safe, since all other IMAP clients use the 1:* syntax.
6368 (imap-enable-exchange-bug-workaround): Remove.
6369 (imap-debug): Remove -- doesn't seem very useful.
6371 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6373 * net/imap.el (imap-log): New convenience function used throughout
6374 instead of repeating the same code all over the place.
6376 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6378 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6379 when mouse-drag-copy-region is non-nil (Bug#6956).
6381 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6383 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6384 Improve regexps (Bug#6987).
6385 (dired-sort-toggle): Search more robustly for -t flag.
6387 * files.el (get-free-disk-space): Search more robustly for
6388 "available" column. Suggested by Ehud Karni
6389 <ehud@unix.mvs.co.il>.
6391 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6393 * international/uni-bidi.el:
6394 * international/uni-category.el:
6395 * international/uni-combining.el:
6396 * international/uni-decimal.el:
6397 * international/uni-mirrored.el:
6398 * international/uni-name.el: Regenerate.
6400 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6402 * electric.el (electric-indent-post-self-insert-function):
6403 Don't reindent with a sloppy indentation function.
6405 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6406 border case in change-log-mode.
6408 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6410 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6411 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6412 Recognize leading tab in gcc-include regexp. Ignore names with
6413 leading "from" or "in" in gnu regexp (Bug#6937).
6415 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6417 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6418 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6419 (ispell-start-process): Avoid setq and simplify logic.
6420 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6421 (kill-buffer-hook): Don't use it globally with code that uses
6422 expand-file-name since that may call kill-buffer via
6423 code_conversion_restore.
6425 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6427 * emacs-lisp/package.el (package-directory-list): Only call
6428 file-name-nondirectory on a string.
6430 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6432 * emacs-lisp/package.el (package--download-one-archive):
6433 Ensure that archive-contents is valid before saving it.
6434 (package-activate-1, package-mark-obsolete, define-package)
6435 (package-compute-transaction, package-list-maybe-add): Use push.
6437 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6439 Use SMIE's blink-paren for octave-mode.
6440 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6441 Backslashes do not escape single-quotes, single-quotes do.
6442 (octave-block-else-regexp, octave-block-end-regexp)
6443 (octave-block-match-alist): Remove.
6444 (octave-smie-bnf-table): New var, with old content.
6445 (octave-smie-op-levels): Use it.
6446 (octave-smie-closer-alist): New var.
6447 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6448 (octave-blink-matching-block-open): Remove.
6449 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6450 (octave-electric-space): Let self-insert-command run expand-abbrev and
6453 * electric.el (electricity): New group.
6454 (electric-indent-chars): New var.
6455 (electric-indent-post-self-insert-function): New fun.
6456 (electric-indent-mode): New minor mode.
6457 (electric-pair-skip-self): New custom.
6458 (electric-pair-post-self-insert-function): New function.
6459 (electric-pair-mode): New minor mode.
6461 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6462 calcAlg-blink-matching-open.
6463 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6464 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6465 Use the new blink-matching-check-function.
6467 Provide blink-matching support to SMIE.
6468 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6469 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6470 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6472 * simple.el (newline): Fix last change to properly remove itself from
6475 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6477 * simple.el (newline): Eliminate optimization.
6478 Use post-self-insert-hook to set hard-newline and things before
6479 running post-self-insert-hook.
6480 (blink-matching-check-mismatch): New function.
6481 (blink-matching-check-function): New variable.
6482 (blink-matching-open): Use them.
6483 Skip back forward over prefix chars skipped by forward-sexp.
6484 Don't check if the parens are backslash escaped.
6485 (blink-paren-post-self-insert-function): Check backslash escaping here.
6487 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6489 * emacs-lisp/package.el (package-menu-mode-map):
6490 Change package-menu-revert bindings to revert-buffer.
6491 (package-menu-mode): Set revert-buffer-function.
6492 (package-menu-revert): Doc fix.
6494 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6496 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6497 `default-directory' unless using Ispell per-directory personal
6498 dictionaries and not in a mini-buffer under XEmacs.
6499 (kill-buffer-hook): Do not kill ispell process on exit when
6500 `ispell-process-directory' is "~/". (Bug#6143)
6502 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6504 * simple.el (kill-new): Call interprogram-cut-function with only
6507 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6508 Remove cut buffer from error message.
6510 * term/x-win.el (x-select-text):
6511 * term/pc-win.el (x-selection-value):
6512 * term/ns-win.el (x-selection-value):
6513 * eshell/em-term.el:
6514 * w32-fns.el (x-get-selection-value):
6515 * mouse-sel.el (mouse-sel-set-selection-function):
6516 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6518 * term/x-win.el: Update documentation for x-last-selected-text-*.
6519 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6520 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6521 (x-select-text): Remove argument PUSH, update documentation.
6522 Remove cut-buffer code.
6523 (x-selection-value-internal): Was previously x-selection-value.
6524 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6525 Update documentation, remove cut-buffer code.
6526 Call x-selection-value-internal.
6527 (x-clipboard-yank): Call x-selection-value-internal.
6528 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6530 * term/pc-win.el (x-last-selected-text):
6531 x-cut-buffer-or-selection-value renamed to x-selection-value
6532 (x-select-text): Remove argument PUSH, update documentation.
6534 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6535 x-cut-buffer-or-selection-value renamed to x-selection-value
6536 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6537 (x-select-text): Remove argument PUSH, update documentation.
6539 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6541 * w32-fns.el (x-last-selected-text):
6542 x-cut-buffer-or-selection-value renamed to x-selection-value.
6543 (x-cut-buffer-max): Remove.
6544 (x-select-text): Remove argument PUSH, update documentation.
6546 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6548 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6550 * mouse-sel.el (mouse-sel-get-selection-function):
6551 x-cut-buffer-or-selection-value renamed to x-selection-value.
6552 (x-select-text): Remove optional push.
6554 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6556 * simple.el (blink-paren-function): Move from C to here.
6557 (blink-paren-post-self-insert-function): New function.
6558 (post-self-insert-hook): Use it.
6560 * emacs-lisp/pcase.el (pcase-split-memq):
6561 Fix overenthusiastic optimisation.
6562 (pcase-u1): Handle the case of a lambda pred.
6564 2010-08-31 Kenichi Handa <handa@m17n.org>
6566 * international/mule-cmds.el (standard-display-european-internal):
6567 Setup standard-display-table for 8-bit characters by storing 8-bit
6568 characters in the element vector.
6570 * disp-table.el (standard-display-8bit):
6571 Setup standard-display-table for 8-bit characters by storing 8-bit
6572 characters in the element vector.
6573 (standard-display-european): Likewise.
6575 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6577 * textmodes/nroff-mode.el (nroff-view): New command.
6578 (nroff-mode-map): Bind it to C-c C-c.
6580 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6582 * emacs-lisp/smie.el (smie-down-list): New command.
6584 Remove old indentation and navigation code on octave-mode.
6585 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6586 smie-down-list rather than add a binding for octave-down-block.
6587 (octave-mark-block, octave-blink-matching-block-open):
6588 Rely on forward-sexp-function.
6589 (octave-fill-paragraph): Don't narrow, so you can use
6590 indent-according-to-mode.
6591 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6592 (octave-in-block-p, octave-re-search-forward-kw)
6593 (octave-re-search-backward-kw, octave-indent-calculate)
6594 (octave-end-as-array-index-p, octave-block-end-offset)
6595 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6596 (octave-down-block, octave-backward-up-block, octave-up-block)
6597 (octave-before-magic-comment-p, octave-indent-line): Remove.
6599 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6601 * emacs-lisp/package.el (package--read-archive-file): Just use
6602 `read', to avoid copying an additional string.
6603 (package-menu-mode): Set header-line-format here.
6604 (package-menu-refresh, package-menu-revert): Signal an error if
6605 not in the Package Menu.
6606 (package-menu-package-list): New var.
6607 (package--generate-package-list): Operate on the current buffer;
6608 don't assume that it is *Packages*, since the user may rename it.
6609 Allow persistent package listings and sort keys using
6610 package-menu-package-list and package-menu-package-sort-key.
6611 (package-menu--version-predicate): Fix version calculation.
6612 (package-menu-sort-by-column): Don't select the window.
6613 (package--list-packages): Create the *Packages* buffer.
6614 Set package-menu-package-list-key.
6615 (list-packages): Sorting by status is now the default.
6616 (package-buffer-info): Use match-string-no-properties.
6617 (define-package): Add a &rest argument for future proofing, but
6619 (package-install-from-buffer, package-install-buffer-internal):
6620 Merge into a single function, package-install-from-buffer.
6621 (package-install-file): Change caller.
6623 * finder.el: Load finder-inf using `require'.
6624 (finder-list-matches): Sorting by status is now the default.
6625 (finder-compile-keywords): Simpify printing.
6627 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6629 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6630 (octave-mode-map): Remove special bindings for forward/backward-block
6631 and octave-backward-up-block. Use smie-close-block.
6632 (octave-continuation-marker-regexp): New var.
6633 (octave-continuation-regexp): Use it.
6634 (octave-operator-table, octave-smie-op-levels)
6635 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6636 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6637 (octave-mode): Use SMIE.
6638 (octave-close-block): Delete.
6640 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6642 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6643 CLIPBOARD, not in PRIMARY. (Bug#6944)
6645 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6647 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6649 (smie-indent-column): Allow indirection through variables.
6651 * composite.el (save-buffer-state): Delete, unused.
6652 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6653 (font-lock-default-fontify-region): Use with-syntax-table.
6654 * jit-lock.el (with-buffer-unmodified): Remove.
6655 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6657 Use `declare' in defmacros.
6658 * window.el (save-selected-window):
6659 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6660 * progmodes/python.el (def-python-skeleton):
6661 * net/dbus.el (dbus-ignore-errors):
6662 * jka-cmpr-hook.el (with-auto-compression-mode):
6663 * international/mule.el (with-category-table):
6664 * emacs-lisp/timer.el (with-timeout):
6665 * emacs-lisp/lisp-mnt.el (lm-with-file):
6666 * emacs-lisp/eieio.el (with-slots):
6667 * emacs-lisp/easymenu.el (easy-menu-define):
6668 * emacs-lisp/debug.el (debugger-env-macro):
6669 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6670 (Multiple-value-call, Multiple-value-prog1):
6671 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6672 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6673 edebug rule to definition.
6674 * emacs-lisp/lisp-mode.el (save-selected-window)
6675 (with-current-buffer, combine-after-change-calls)
6676 (with-output-to-string, with-temp-file, with-temp-buffer)
6677 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6678 (dolist, dotimes, when, unless):
6679 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6681 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6683 * finder.el: Require `package'.
6684 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6685 (finder-package-info): Var deleted.
6686 (finder-keywords-hash, finder--builtins-alist): New vars.
6687 (finder-compile-keywords): Compute package--builtins and
6688 finder-keywords-hash instead of finder-keywords-hash, respecting
6689 the "Package" header.
6690 (finder-unknown-keywords, finder-list-matches):
6691 Use finder-keywords-hash and package--list-packages.
6692 (finder-mode): Don't set font-lock-defaults.
6693 (finder-exit): We don't use "*Finder-package*" and "*Finder
6694 Category*" buffers anymore.
6696 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6697 (package--builtins): Set default value to nil.
6698 (package-initialize): Load precomputed value of package--builtins
6700 (package-alist, package-compute-transaction)
6701 (package-download-transaction): Improve docstring.
6702 (package-read-all-archive-contents): Do not change
6703 package--builtins here.
6704 (list-packages): Make package-list-packages an alias for this.
6705 Sort by status by default.
6706 (package--list-packages): Add optional PACKAGES arg.
6707 (describe-package-1): Use font-lock-face property. For built-in
6708 packages, insert file commentary.
6709 (package--generate-package-list): Rename from
6710 package-list-packages-internal; all callers changed. Add optional
6711 PACKAGES arg. Add alphabetical sort fallbacks.
6712 (package-menu--version-predicate, package-menu--status-predicate)
6713 (package-menu--description-predicate)
6714 (package-menu--name-predicate): New functions.
6716 * info.el (Info-finder-find-node): Search package-alist instead of
6717 finder-package-info.
6719 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6721 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6723 (version-to-list): Handle versions like "10.3d".
6725 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6727 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6728 (macroexp-accumulate): Use `declare'.
6730 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6732 * whitespace.el (whitespace-style): Adjust type declaration.
6734 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6736 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6737 empty argument to gvfs-copy.
6739 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6741 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6742 handle new TRASH arg of `delete-file'.
6744 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6746 * net/tramp.el (tramp-handle-insert-directory): Don't use
6747 `forward-word', its default syntax could be changed.
6749 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6750 Michael Albinus <michael.albinus@gmx.de>
6752 Implement compression for inline methods.
6754 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6755 (tramp-copy-size-limit): Allow also nil.
6756 (tramp-inline-compress-commands): New defconst.
6757 (tramp-find-inline-compress, tramp-get-inline-compress)
6758 (tramp-get-inline-coding): New defuns.
6759 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6760 replaced by `tramp-get-inline-coding'.
6761 (tramp-handle-file-local-copy, tramp-handle-write-region)
6762 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6764 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6766 Detect ssh 'ControlMaster' argument automatically in some cases.
6768 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6769 (tramp-default-method): Use it.
6771 2010-08-26 Karel Klíč <kklic@redhat.com>
6773 * net/tramp.el (tramp-file-name-for-operation):
6774 Add file-selinux-context.
6776 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6778 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6780 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6782 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6785 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6787 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6788 (js-paren-indent-offset, js-square-indent-offset)
6789 (js-curly-indent-offset): New options.
6790 (js--proper-indentation): Use them.
6792 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6794 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6795 instead of inspecting font-lock properties (Bug#6916).
6797 2010-08-26 David Reitter <david.reitter@gmail.com>
6799 * server.el (server-visit-files): Run pre-command-hook and
6800 post-command-hook for each buffer while it is current (Bug#6910).
6801 (server-execute): Do not run hooks here.
6803 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6805 Sync with Tramp 2.1.19.
6807 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6808 (tramp-reporter-dump-variable, tramp-load-report-modules)
6809 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6810 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6812 * net/tramp-compat.el (top): Do not autoload
6813 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6814 only when `start-file-process' is not bound.
6815 (byte-compile-not-obsolete-vars): Define if not bound.
6816 (tramp-compat-funcall): New defmacro.
6817 (tramp-compat-line-beginning-position)
6818 (tramp-compat-line-end-position)
6819 (tramp-compat-temporary-file-directory)
6820 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6821 (tramp-compat-copy-file, tramp-compat-copy-directory)
6822 (tramp-compat-delete-file, tramp-compat-delete-directory)
6823 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6825 (tramp-advice-file-expand-wildcards): Do not use
6826 `tramp-handle-file-remote-p'.
6827 (tramp-compat-make-temp-file): Simplify fallback implementation.
6828 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6829 (tramp-compat-copy-tree): Remove function.
6830 (tramp-compat-delete-file): New defun.
6831 (tramp-compat-delete-directory): Provide implementation for older
6833 (tramp-compat-file-attributes): Handle only
6834 `wrong-number-of-arguments' error.
6836 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6837 Add PRESERVE_SELINUX_CONTEXT.
6838 (tramp-fish-handle-delete-file): Add TRASH arg.
6839 (tramp-fish-handle-directory-files-and-attributes):
6840 Do not use `tramp-fish-handle-file-attributes.
6841 (tramp-fish-handle-file-local-copy)
6842 (tramp-fish-handle-insert-file-contents)
6843 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6845 * net/tramp-gvfs.el (top): Require url-util.
6846 (tramp-gvfs-mount-point): Remove.
6847 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6848 and `set-file-selinux-context'.
6849 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6850 (tramp-gvfs-handle-file-selinux-context)
6851 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6852 (with-tramp-dbus-call-method): Format trace message.
6853 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6854 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6855 Implement backup call, when operation on local files fails.
6856 Use progress reporter. Flush properties of changed files.
6857 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6858 Use `tramp-compat-delete-file'.
6859 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6860 (tramp-gvfs-handle-make-directory): Make more traces.
6861 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6862 (tramp-gvfs-url-file-name): Hexify file name in url.
6863 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6864 into account for the resulting file name.
6865 (tramp-gvfs-handler-askquestion): Preserve current message, in
6866 order to let progress reporter continue afterwards. (Bug#6257)
6867 Return dummy mountpoint, when the answer is "no".
6868 See `tramp-gvfs-maybe-open-connection'.
6869 (tramp-gvfs-handler-mounted-unmounted)
6870 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6871 attribute "default_location". Set "prefix" property.
6872 Handle default-location.
6873 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6874 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6875 exists. Raise an error, if not (due to a corresponding answer
6876 "no" in interactive questions, for example).
6877 Use `tramp-compat-funcall'.
6879 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6880 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6881 (tramp-imap-do-copy-or-rename-file)
6882 (tramp-imap-handle-insert-file-contents)
6883 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6884 (tramp-imap-handle-delete-file): Add TRASH arg.
6886 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6887 Add PRESERVE-SELINUX-CONTEXT.
6888 (tramp-smb-handle-copy-file)
6889 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6890 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6891 Use `with-progress-reporter'.
6892 (tramp-smb-handle-delete-file): Add TRASH arg.
6894 * net/tramp.el (tramp-methods): Move hostname to the end in all
6895 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6897 (tramp-verbose): Describe verbose level 9.
6898 (tramp-completion-function-alist)
6899 (tramp-file-name-regexp, tramp-chunksize)
6900 (tramp-local-coding-commands, tramp-remote-coding-commands)
6901 (with-connection-property, tramp-completion-mode-p)
6902 (tramp-action-process-alive, tramp-action-out-of-band)
6903 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6904 (tramp-exists-file-name-handler): Fix docstring.
6905 (tramp-remote-process-environment): Use `format' instead of
6906 `concat'. Protect version string by apostroph.
6907 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6909 (tramp-file-name-regexp-unified)
6910 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6911 not regard the volume letter as remote filename. (Bug#5447)
6912 (tramp-perl-file-attributes)
6913 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6914 (tramp-vc-registered-read-file-names): Read input as
6915 here-document, otherwise the command could exceed maximum length
6917 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6918 `set-file-selinux-context'.
6919 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6920 backtrace functions.
6921 (tramp-error-with-buffer): Don't show the connection buffer when
6922 we are in completion mode.
6923 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6924 (tramp-handle-file-selinux-context)
6925 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6926 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6928 (with-progress-reporter): New defmacro.
6929 (tramp-debug-outline-regexp): New defconst.
6930 (top, tramp-rfn-eshadow-setup-minibuffer)
6931 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6932 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6933 (tramp-completion-mode-p, tramp-check-for-regexp)
6934 (tramp-open-connection-setup-interactive-shell)
6935 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6936 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6937 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6938 Use `tramp-compat-funcall'.
6939 (tramp-handle-make-symbolic-link): Flush file properties.
6940 (tramp-handle-load, tramp-handle-file-local-copy)
6941 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6942 (tramp-handle-vc-registered, tramp-maybe-send-script)
6943 (tramp-find-shell): Use `with-progress-reporter'.
6944 (tramp-do-file-attributes-with-stat): Add space in format string,
6945 in order to work around a bug in pdksh. Reported by Gilles Pion
6947 (tramp-handle-verify-visited-file-modtime): Do not send a command
6948 when the connection is not established.
6949 (tramp-handle-set-file-times): Simplify the check for utc.
6950 (tramp-handle-directory-files-and-attributes)
6951 (tramp-get-remote-path): Use `copy-tree'.
6952 (tramp-completion-handle-file-name-all-completions): Ensure, that
6953 non remote files are still checked. Oops.
6954 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6955 Handle PRESERVE-SELINUX-CONTEXT.
6956 (tramp-do-copy-or-rename-file): Add progress reporter.
6957 (tramp-do-copy-or-rename-file-directly): Do not use
6958 `tramp-handle-file-remote-p'.
6959 (tramp-do-copy-or-rename-file-out-of-band):
6960 Use `tramp-compat-delete-directory'.
6961 (tramp-do-copy-or-rename-file-out-of-band)
6962 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6963 Use `format-spec-make'.
6964 (tramp-handle-delete-file): Add TRASH arg.
6965 (tramp-handle-dired-uncache): Flush directory cache, not only file
6967 (tramp-handle-expand-file-name)
6968 (tramp-completion-handle-file-name-all-completions)
6969 (tramp-completion-handle-file-name-completion):
6970 Use `tramp-connectable-p'.
6971 (tramp-handle-start-file-process): Set connection property "vec".
6972 Use it, in order to invalidate file caches. Check only for
6973 `remote-tty' process property.
6974 Implement tty setting. (Bug#4604, Bug#6360)
6975 (tramp-file-name-for-operation): Add `call-process-region' and
6976 `set-file-selinux-context'.
6977 (tramp-find-foreign-file-name-handler)
6978 (tramp-advice-make-auto-save-file-name)
6979 (tramp-set-auto-save-file-modes): Remove superfluous check for
6980 `stringp'. This is done inside `tramp-tramp-file-p'.
6981 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6982 operations when we are in completion mode. This gives the user
6983 the chance to correct the file name in the minibuffer.
6984 (tramp-completion-mode-p): Use `non-essential'.
6985 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6986 compatibility: Use `completion-ignore-case' if
6987 `read-file-name-completion-ignore-case' does not exist.
6988 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6989 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6991 (tramp-action-password): Hide password prompt before next run.
6992 (tramp-process-actions): Widen connection buffer for the trace.
6993 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6994 process property. Trace stty settings if `tramp-verbose' >= 9.
6995 Apply workaround for IRIX64 bug. Move argument of last
6996 `tramp-send-command' where it belongs to.
6997 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6998 front of `login-args'.
6999 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7000 on "/dev/null" instead of "/".
7001 (tramp-get-ls-command-with-dired): Make test for "--dired"
7003 (tramp-set-auto-save-file-modes): Adapt version check.
7004 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7005 (tramp-handle-process-file): Call the program in a subshell, in
7006 order to preserve working directory.
7007 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7008 `tramp-remote-sh' from `tramp-methods'.
7009 (tramp-get-ls-command): Make test for "--color=never" stronger.
7010 (tramp-check-for-regexp): Use (forward-line 1).
7012 * net/trampver.el: Update release number.
7014 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7016 * help.el (help-map): Bind `C-h P' to describe-package.
7018 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7020 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7021 when downloading archives.
7022 (describe-package-1): Add package commentary.
7023 (package-install-button-action): New function.
7024 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7025 (package-menu-view-commentary): Function removed.
7026 (package-list-packages-internal): Hide the `package' package too.
7028 2010-08-25 Kenichi Handa <handa@m17n.org>
7030 * language/misc-lang.el ("Arabic"): New language environment.
7031 Setup composition-function-table for Arabic characters.
7033 * international/fontset.el (setup-default-fontset): Fix typo for
7034 arabic OTF spec (fini->fina).
7036 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7038 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7041 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7043 * whitespace.el: Allow cleaning up blanks without blank
7044 visualization (Bug#6651). Adjust help window for
7045 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7046 instead of whitespace-line-column (from EmacsWiki). New version
7048 (whitespace-style): Add new value 'face. Adjust docstring.
7049 (whitespace-space, whitespace-hspace, whitespace-tab):
7050 Adjust foreground property face.
7051 (whitespace-line-column): Adjust docstring and type declaration.
7052 (whitespace-style-value-list, whitespace-toggle-option-alist)
7053 (whitespace-help-text): Adjust const initialization.
7054 (whitespace-toggle-options, global-whitespace-toggle-options):
7056 (whitespace-display-window, whitespace-interactive-char)
7057 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7058 (whitespace-help-scroll): New fun.
7060 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7062 * emacs-lisp/package.el (list-packages): Alias for
7063 package-list-packages.
7065 2010-08-24 Kevin Ryde <user42@zip.com.au>
7067 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7070 * progmodes/ruby-mode.el (ruby): Add defgroup.
7072 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7074 * progmodes/python.el: Add Ipython support (Bug#5390).
7075 (python-shell-prompt-alist)
7076 (python-shell-continuation-prompt-alist): New options.
7077 (python--set-prompt-regexp): New function.
7078 (inferior-python-mode, run-python, python-shell):
7079 Require ansi-color. Use python--set-prompt-regexp to set the comint
7080 prompt based on the Python interpreter.
7081 (python--prompt-regexp): New var.
7082 (python-check-comint-prompt)
7083 (python-comint-output-filter-function): Use it.
7084 (run-python): Use a pipe (Bug#5694).
7086 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7088 * progmodes/python.el (python-send-region): Send a different
7089 Python command if Ipython is in use.
7090 (python-check-version): Use a Python command to find the version.
7092 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7094 * mouse.el (mouse-yank-primary): Avoid setting primary when
7095 deactivating the mark (Bug#6872).
7097 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7099 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7100 with "else" (Bug#3991).
7102 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7104 * net/dbus.el: Accept UNIX domain sockets as bus address.
7105 (top): Don't initialize `dbus-registered-objects-table' anymore,
7106 this is done in dbusbind,c.
7107 (dbus-check-event): Adapt test for bus.
7108 (dbus-return-values-table, dbus-unregister-service)
7109 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7112 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7114 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7116 2010-08-22 Juri Linkov <juri@jurta.org>
7118 * simple.el (read-extended-command): New function with the logic
7119 for `completing-read' moved to Elisp from `execute-extended-command'.
7120 Use `function-called-at-point' in `minibuffer-default-add-function'
7121 to get a command name for M-n (bug#5364, bug#5214).
7123 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7125 * startup.el (command-line-1): Issue warning for ignored arguments
7126 --unibyte, etc (Bug#6886).
7128 2010-08-22 Leo <sdl.web@gmail.com>
7130 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7131 (ignore, bright, dim, keyword): Split list of nicknames before
7132 passing to rcirc-add-or-remove (Bug#6894).
7134 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7136 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7138 2010-08-22 Leo <sdl.web@gmail.com>
7140 Fix buffer-list rename&refresh after killing a buffer in ido.
7141 * ido.el: Revert Óscar's.
7142 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7143 Remember the buffers at head, rather than their name.
7144 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7146 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7147 Stefan Monnier <monnier@iro.umontreal.ca>
7149 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7150 extra backslash added to each line (bug#6890).
7152 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7154 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7156 2010-08-22 Glenn Morris <rgm@gnu.org>
7158 * menu-bar.el (menu-bar-games-menu): Add landmark.
7160 2010-08-22 Glenn Morris <rgm@gnu.org>
7162 * align.el (align-regexp): Make group and spacing arguments
7163 use the interactive defaults when non-interactive. (Bug#6698)
7165 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7166 expansion, so as not to need sendmail.
7167 (mail-text-start): Remove declaration.
7168 (rmail-retry-failure): Require sendmail.
7170 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7172 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7174 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7176 * progmodes/flymake.el (flymake-start-syntax-check-process):
7177 Use `start-file-process' in order to let it run also on remote hosts.
7179 2010-08-22 Kenichi Handa <handa@m17n.org>
7181 * files.el: Add `word-wrap' as safe local variable.
7183 2010-08-22 Glenn Morris <rgm@gnu.org>
7185 * woman.el (woman-translate): Case matters. (Bug#6849)
7187 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7189 * simple.el (kill-region): Doc fix (Bug#6787).
7191 2010-08-22 Glenn Morris <rgm@gnu.org>
7193 * calendar/diary-lib.el (diary-header-line-format):
7194 Fit it to the window, not the frame.
7196 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7198 * subr.el (ignore-errors): Add debug declaration.
7200 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7202 * whitespace.el (whitespace-color-off): Remove post-command-hook
7205 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7207 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7209 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7211 * cus-edit.el (custom-group-value-create): Add extra newline
7212 before end line (Bug#6876).
7214 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7216 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7217 when extending it. Before killing on the second click, check if
7218 the buffer is the correct one. Doc fix.
7219 (mouse-secondary-save-then-kill): Allow usage without first
7220 calling mouse-start-secondary, by defaulting to point. Don't save
7221 an empty secondary selection. Doc fix.
7223 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7225 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7226 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7228 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7229 Adjust initialization.
7230 (whitespace-bob-marker, whitespace-eob-marker)
7231 (whitespace-buffer-changed): New vars.
7232 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7233 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7234 (whitespace-post-command-hook, whitespace-display-char-on):
7236 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7237 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7239 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7241 * files.el (locate-file-completion-table): Only list the .el and .elc
7242 extensions if there's no other choice (bug#5955).
7244 * facemenu.el (facemenu-self-insert-data): New var.
7245 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7247 (facemenu-add-face): Use them.
7249 * simple.el (blink-matching-open): Obey forward-sexp-function.
7251 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7253 * simple.el (prog-mode-map): New var.
7254 (prog-indent-sexp): New command.
7256 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7258 * progmodes/prolog.el (smie): Require.
7260 * emacs-lisp/smie.el (smie-default-backward-token)
7261 (smie-default-forward-token): Strip properties.
7262 (smie-next-sexp): Be more careful with associative operators.
7263 (smie-forward-sexp-command): Generalize.
7264 (smie-backward-sexp-command): Simplify.
7265 (smie-closer-alist): New var.
7266 (smie-close-block): New command.
7267 (smie-indent-debug-log): New var.
7268 (smie-indent-offset-rule): Add a few more cases.
7269 (smie-indent-column): New function.
7270 (smie-indent-after-keyword): Use it.
7271 (smie-indent-keyword): Use it.
7272 Fix up the opener code's point position.
7273 (smie-indent-comment): Only applies at BOL.
7274 (smie-indent-debug): New command.
7276 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7277 declarations that are useful before running the macro.
7279 2010-08-18 Joakim Verona <joakim@verona.se>
7281 * image.el (imagemagick-types-inhibit): New variable.
7282 (imagemagick-register-types): New function.
7283 * image-mode.el (image-transform-properties): New function.
7284 (image-transform-set-scale, image-transform-fit-to-height)
7285 (image-transform-set-rotation, image-transform-set-resize)
7286 (image-transform-fit-to-width, image-transform-fit-to-height):
7288 (image-toggle-display-image): Support image transforms.
7290 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7292 * image.el (create-animated-image): Don't add heuristic mask to image
7295 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7297 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7298 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7300 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7302 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7304 Font-lock '...' strings, plus various simplifications and fixes.
7305 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7306 (octave-font-lock-close-quotes): New function.
7307 (octave-font-lock-syntactic-keywords): New var.
7308 (octave-mode): Use it. Set beginning-of-defun-function.
7309 (octave-mode-map): Don't override the <foo>-defun commands.
7310 (octave-mode-menu): Pass it directly to easy-menu-define;
7311 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7312 (octave-block-match-alist): Fix up last change so that
7313 octave-close-block uses the more specific keyword.
7314 (info-lookup-mode): Silence byte-compiler.
7315 (octave-beginning-of-defun): Not interactive any more.
7317 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7318 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7319 (octave-completion-at-point-function): Make sure point is within
7321 (octave-reindent-then-newline-and-indent):
7322 Use reindent-then-newline-and-indent.
7323 (octave-add-octave-menu): Remove.
7325 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7327 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7328 (report-emacs-bug-can-use-xdg-email): New functions.
7329 (report-emacs-bug): Set can-xdg-email to result of
7330 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7331 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7334 * net/browse-url.el (browse-url-default-browser): Add cond
7335 for browse-url-xdg-open.
7336 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7338 2010-08-17 Glenn Morris <rgm@gnu.org>
7340 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7341 (c-fontify-recorded-types-and-refs): Define for compiler.
7342 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7345 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7348 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7350 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7352 (tramp-handle-process-file): Call the program in a subshell, in
7353 order to preserve working directory.
7354 (tramp-action-password): Hide password prompt before next run.
7355 (tramp-process-actions): Widen connection buffer for the trace.
7357 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7359 * net/rcirc.el (rcirc-log-process-buffers): New option.
7360 (rcirc-print): Use it.
7361 (rcirc-generate-log-filename): New function.
7362 (rcirc-log-filename-function): Change default to
7363 rcirc-generate-log-filename (Bug#6828).
7365 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7367 * simple.el (deactivate-mark): If select-active-regions is `only',
7368 only set selection for temporarily active regions.
7370 * cus-start.el: Change defcustom for select-active-regions.
7372 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7374 * mouse.el (mouse--drag-set-mark-and-point): New function.
7375 (mouse-drag-track): Use LOCATION arg to push-mark.
7376 Use mouse--drag-set-mark-and-point to take click-count into
7377 consideration when updating point and mark (Bug#6840).
7379 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7381 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7382 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7384 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7386 * font-lock.el (lisp-font-lock-keywords-2):
7387 Add combine-after-change-calls, condition-case-no-debug,
7388 with-demoted-errors, and with-silent-modifications (Bug#6025).
7390 2010-08-14 Kevin Ryde <user42@zip.com.au>
7392 * emacs-lisp/copyright.el (copyright-update-year)
7393 (copyright-update): Temporary switch-to-buffer to ensure the
7394 buffer change being queried is visible (Bug#5394).
7396 2010-08-14 Tom Tromey <tromey@redhat.com>
7398 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7401 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7403 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7406 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7408 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7409 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7410 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7411 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7412 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7413 Call menu-bar-set-tool-bar-position.
7415 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7417 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7418 comment style (bug#6834).
7419 * progmodes/scheme.el (scheme-mode-syntax-table):
7420 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7421 "b" flag in "' 14b" syntax.
7423 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7424 for (un)commenting the region and performing completion.
7425 (octave-mode-menu): Use standard commands for help and completion.
7426 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7427 (octave-mode): Use define-derived-mode.
7428 Set completion-at-point-functions and don't set columns.
7429 Don't disable adaptive-fill-regexp.
7430 (octave-describe-major-mode, octave-comment-region)
7431 (octave-uncomment-region, octave-comment-indent)
7432 (octave-indent-for-comment): Remove.
7433 (octave-indent-calculate): Rename from calculate-octave-indent.
7434 (octave-indent-line, octave-fill-paragraph): Update caller.
7435 (octave-initialize-completions): No need to make an alist.
7436 (octave-completion-at-point-function): New function.
7437 (octave-complete-symbol): Use it.
7438 (octave-insert-defun): Use define-skeleton.
7440 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7441 (octave-mode-map): Use comment-dwim (bug#6829).
7443 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7445 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7446 indentation of inserted comment.
7448 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7450 * faces.el (region): Add type gtk that uses gtk colors.
7452 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7453 Handle theme-name change.
7455 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7457 * progmodes/sql.el: Version 2.5
7458 (sql-product-alist): Add :prompt-cont-regexp property for several
7460 (sql-prompt-cont-regexp): New variable.
7461 (sql-output-newline-count, sql-output-by-send):
7462 New variables. Record number of newlines in input text.
7463 (sql-send-string): Handle multiple filters and count newlines.
7464 (sql-send-magic-terminator): Count terminator newline.
7465 (sql-interactive-remove-continuation-prompt): Filters output to
7466 remove continuation prompts; one for each newline.
7467 (sql-interactive-mode): Set up new variables, prompt regexp and
7469 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7470 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7472 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7474 * emacs-lisp/pcase.el: New file.
7476 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7478 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7479 as here-document, otherwise the command could exceed maximum
7480 length of command line.
7481 (tramp-handle-vc-registered): Call script accordingly.
7482 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7484 2010-08-10 Kenichi Handa <handa@m17n.org>
7486 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7489 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7491 * emacs-lisp/package.el (package-version-split)
7492 (package--version-first-nonzero, package-version-compare):
7494 (package-directory-list, package-load-all-descriptors)
7495 (package--built-in, package-activate, define-package)
7496 (package-installed-p, package-compute-transaction)
7497 (package-read-all-archive-contents)
7498 (package--add-to-archive-contents, package-buffer-info)
7499 (package-tar-file-info, package-list-packages-internal):
7500 Use version-to-list and version-list-*.
7502 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7503 Use version-to-list.
7504 (package-upload-buffer-internal): Use version-list-<=.
7506 2010-08-09 Kenichi Handa <handa@m17n.org>
7508 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7511 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7513 * tutorial.el (tutorial--default-keys): C-d is now bound to
7514 delete-forward-char (Bug#6826).
7516 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7517 for `double' value of mouse-1-click-follows-link (Bug#6807).
7519 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7521 * replace.el (replace-highlight): Bind isearch-forward and
7522 isearch-error, ensuring that highlighting is updated if the user
7523 switches the search direction (Bug#6808).
7525 * isearch.el (isearch-lazy-highlight-forward): New var.
7526 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7527 (isearch-lazy-highlight-update): Use it.
7529 2010-08-08 Kenichi Handa <handa@m17n.org>
7531 * international/mule.el (define-charset): Store NAME as :base property.
7532 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7533 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7534 current priority. Force using the designation of the specific
7535 charset by adding `charset' text property. Improve the whole algorithm.
7537 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7539 * emulation/pc-select.el (pc-selection-mode-hook)
7540 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7541 (pc-selection-mode): Fix typos in docstrings.
7543 2010-08-08 Kenichi Handa <handa@m17n.org>
7545 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7546 ctext-non-standard-encodings-alist here.
7548 * international/mule.el (ctext-non-standard-encodings-alist):
7549 Add "koi8-r" and "microsoft-cp1251".
7550 (ctext-standard-encodings): New variable.
7551 (ctext-non-standard-encodings-table): List only elements for
7552 non-standard encodings.
7553 (ctext-pre-write-conversion): Adjust for the above change.
7554 Check ctext-standard-encodings.
7556 * international/mule-conf.el (compound-text): Doc fix.
7557 (ctext-no-compositions): Doc fix.
7558 (compound-text-with-extensions): Doc fix.
7560 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7562 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7564 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7566 * progmodes/which-func.el (which-func-format): Split help-echo text
7567 into lines, like other mode-line tooltips.
7569 * server.el (server-start): When using TCP sockets, force IPv4
7570 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7572 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7574 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7576 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7578 * term.el (term-delimiter-argument-list): Reflow docstring.
7579 (term-read-input-ring, term-write-input-ring, term-send-input)
7580 (term-bol, term-erase-in-display, serial-supported-or-barf):
7581 Fix typos in docstrings.
7583 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7585 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7587 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7589 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7591 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7593 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7594 Fix typo in docstring (bug#6747).
7596 2010-08-08 Leo <sdl.web@gmail.com>
7598 * eshell/esh-io.el (eshell-get-target): Better detection of
7599 read-only file (Bug#6762).
7601 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7603 * align.el (align-default-spacing): Doc fix.
7604 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7606 2010-08-08 Stephen Peters <speters@itasoftware.com>
7608 * calendar/icalendar.el
7609 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7610 (icalendar--get-weekday-numbers): New.
7611 (icalendar--convert-recurring-to-diary): Handle multiple byday
7612 values in weekly rules. (Bug#6766)
7614 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7616 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7617 (icalendar--create-uid, icalendar-export-region)
7618 (icalendar--parse-summary-and-rest): Code formatting.
7620 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7622 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7623 to italicize headers.
7624 (calc-highlight-selections-with-faces): New variable.
7625 (calc-selected-face, calc-nonselected-face): New faces.
7627 * calc/calccomp.el (math-comp-highlight-string): Use
7628 `calc-highlight-selections-with-faces' to determine how to highlight
7631 * calc/calc-sel.el (calc-show-selections): Change message to when
7632 using faces to highlight selections.
7634 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7636 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7637 Add SQLite 3 keywords, functions and datatypes.
7638 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7641 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7643 * simple.el (select-active-regions): Move to keyboard.c.
7644 (deactivate-mark): Used saved-region-selection.
7645 (select-active-region): Function removed.
7646 (activate-mark, set-mark, push-mark-command)
7647 (handle-shift-selection): Don't call it.
7648 (keyboard-quit): Avoid adding the region to the window selection.
7650 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7651 select-active-regions implementation.
7652 (mouse-yank-at-click): Doc fix.
7654 * cus-start.el: Add custom declaration for select-active-regions.
7656 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7658 * simple.el (delete-forward-char): Doc fix.
7660 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7661 after reading the tutorial.
7663 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7665 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7666 Fix for the case that a C style comment has its delimiters alone on
7667 their respective lines.
7669 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7671 * net/tramp.el (tramp-handle-start-file-process): Set connection
7673 (tramp-process-sentinel): Use it for flushing the cache.
7674 We cannot do it via the process buffer, the buffer could be deleted
7675 already when running the sentinel.
7677 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7679 * comint.el (comint-mode): Make directory tracking functions
7680 functional on remote files. (Bug#6764)
7682 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7684 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7686 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7688 * emacs-lisp/find-gc.el (find-gc-source-files):
7689 Rename unexec.c => unexcoff.c.
7691 * emacs-lisp/authors.el (authors-fixed-entries):
7692 Rename unexec.c => unexcoff.c.
7694 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7696 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7697 cache, not only file cache.
7698 (tramp-process-sentinel): New defun.
7699 (tramp-handle-start-file-process): Use it, in order to invalidate
7702 2010-08-03 Leo <sdl.web@gmail.com>
7704 * server.el (server-start): Simplify loop.
7706 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7708 * frame.el (screen-height, screen-width, set-screen-width)
7709 (set-screen-height): Remove ancient compatibility aliases.
7711 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7712 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7714 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7715 that change current buffer.
7717 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7719 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7720 beginning of the string. Use `string-match-p'. (Bug#6765)
7722 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7724 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7726 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7728 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7729 (package--builtins): Tweak descriptions.
7730 (package-print-package): Upcase descriptions if necessary.
7731 Show all built-in packages in font-lock-builtin-face.
7732 (package-list-packages-internal): Omit "emacs" package.
7733 Show status of built-in packages as "built-in".
7735 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7737 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7738 before killing to preserve the primary selection (Bug#6701).
7740 * term/x-win.el (x-select-text): Doc fix.
7742 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7744 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7745 (objc-font-lock-extra-types):
7746 * progmodes/cc-mode.el (c-basic-common-init):
7747 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7748 (c++-make-template-syntax-table)
7749 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7750 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7751 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7752 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7753 * progmodes/cc-fonts.el (c-make-inverse-face)
7754 (c-basic-matchers-after):
7755 * progmodes/cc-engine.el (c-forward-keyword-clause)
7756 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7757 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7758 (c-guess-continued-construct, c-guess-basic-syntax):
7759 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7760 The above functions were modified or created.
7762 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7764 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7766 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7768 * files.el (bidi-paragraph-direction): Define safe local values.
7770 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7771 language-info-alist. Remove outdated FIXME in a comment.
7773 2010-07-31 Alan Mackenzie <acm@muc.de>
7775 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7776 Auto-fill broken in C/C++ modes.
7778 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7780 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7781 (menu-bar-showhide-tool-bar-menu-customize-disable)
7782 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7783 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7784 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7785 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7786 make a menu for Options => toolbar that can move it.
7788 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7790 * emacs-lisp/package-x.el (package--make-rss-entry):
7791 (package-maint-add-news-item, package--update-news)
7792 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7794 * emacs-lisp/package.el (package-archive-url): Rename from
7796 (package-install): Doc fix.
7797 (package-download-single, package-download-tar, package-install)
7798 (package-menu-view-commentary): Callers changed.
7800 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7802 * net/tramp.el (tramp-handle-start-file-process): Check only for
7803 `remote-tty' process property.
7804 (tramp-open-shell): Don't check for tty.
7805 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7808 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7811 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7813 * emacs-lisp/package.el (package-load-list, package-archives)
7814 (package-archive-contents, package-user-dir)
7815 (package-directory-list, package--builtins, package-alist)
7816 (package-activated-list, package-obsolete-alist): Mark as risky.
7818 2010-07-28 Phil Hagelberg <phil@evri.com>
7820 Add support for non-default package repositories.
7821 * emacs-lisp/package.el (package-archive-base): Var deleted.
7822 (package-archives): New variable.
7823 (package-archive-contents): Doc fix.
7824 (package-load-descriptor): Do nothing if descriptor file is missing.
7825 (package--write-file-no-coding): New function.
7826 (package-unpack-single): Use it.
7827 (package-archive-id): New function.
7828 (package-download-single, package-download-tar)
7829 (package-menu-view-commentary): Use it.
7830 (package-installed-p): Make second argument optional.
7831 (package-read-all-archive-contents): New function.
7832 (package-initialize): Use it.
7833 (package-read-archive-contents): Add ARCHIVE argument.
7834 (package--add-to-archive-contents): New function.
7835 (package-install): Don't call package-read-archive-contents.
7836 (package--download-one-archive): Store archive file in a
7837 subdirectory of package-user-dir.
7838 (package-menu-execute): Remove spurious line movement.
7840 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7842 * cus-start.el (tool-bar-style): Add text-image-horiz.
7844 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7846 * progmodes/gud.el (gud-common-init): Check for remoteness of
7847 `file', and not of `default-directory'.
7849 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7851 * net/tramp.el (tramp-methods): Move hostname to the end in all
7852 ssh `tramp-login-args'.
7853 (tramp-verbose): Describe verbose level 9.
7854 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7855 (tramp-open-connection-setup-interactive-shell): Trace stty
7856 settings if `tramp-verbose' >= 9.
7857 (tramp-handle-start-file-process): Implement tty setting.
7858 (Bug#4604, Bug#6360)
7860 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7861 `tramp-verbose' to 9.
7863 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7865 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7866 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7867 Remove references to package `lisp-re' (bug#4369).
7869 2010-07-27 Tom Tromey <tromey@redhat.com>
7871 * progmodes/js.el (js-mode):
7872 * progmodes/make-mode.el (makefile-mode):
7873 * progmodes/simula.el (simula-mode):
7874 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7876 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7878 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7880 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7881 (display-time-world-buffer-name, display-time-world-mode-map):
7882 Fix typos in docstrings.
7884 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7886 * image-mode.el (image-display-size): New function.
7887 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7888 (image-mode-fit-frame): Use it (Bug#6639).
7890 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7892 * dired.el (dired-buffers-for-dir): Handle list values of
7893 dired-directory (Bug#6636).
7895 2010-07-26 Sam Steingold <sds@gnu.org>
7897 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7898 Do not call `x-get-selection' the second time, reuse the value.
7900 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7902 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7903 which consist of control chars only. Suggested by Richard Stallman.
7905 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7907 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7908 exists before passing an error to find-file-not-found-functions
7911 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7913 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7914 Remove leading nil element, adjust values.
7915 (tetris-shapes, tetris-shape-scores):
7916 Change representation of shapes and remove some redundancy.
7917 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7918 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7919 Adjust for working with new representation of shapes.
7920 (tetris-shape-rotations): New function.
7921 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7922 (tetris-rotate-prev, tetris-rotate-next):
7923 Adjust for working with the new version of tetris-test-shape.
7925 2010-07-23 Markus Triska <markus.triska@gmx.at>
7927 * progmodes/ps-mode.el: Use comint (bug#5954).
7928 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7929 (ps-mode-other-newline): Simplify.
7930 (ps-run-mode): Derive from comint-mode instead of
7931 fundamental-mode, yielding input history etc.
7932 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7933 (ps-run-send-string): Adapt for comint-mode.
7934 (ps-run-newline): Remove now unneeded function.
7936 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7938 * net/tramp.el (tramp-methods): Move hostname to the end in all
7939 plink `tramp-login-args'.
7941 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7943 * net/tramp.el (tramp-open-shell): New defun.
7944 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7947 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7949 * net/tramp.el (tramp-file-name-regexp-unified)
7950 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7951 not regard the volume letter as remote filename. (Bug#5447)
7953 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7955 * custom.el (custom-declare-variable): Give a clearer error message
7956 when the docstring is missing (bug#6476).
7958 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7960 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7961 (sql-login-params): New widget definition.
7962 (sql-oracle-login-params, sql-mysql-login-params)
7963 (sql-solid-login-params, sql-sybase-login-params)
7964 (sql-informix-login-params, sql-ingres-login-params)
7965 (sql-ms-login-params, sql-postgres-login-params)
7966 (sql-interbase-login-params, sql-db2-login-params)
7967 (sql-linter-login-params): Use it.
7968 (sql-sqlite-login-params): Use it; Define "database" parameter as
7970 (sql-sqlite-program): Change to "sqlite3".
7971 (sql-comint-sqlite): Make sure database name is complete.
7972 (sql-for-each-login): New function.
7973 (sql-connect, sql-save-connection): Use it.
7974 (sql-get-login-ext): New function.
7975 (sql-get-login): Use it.
7976 (sql-make-alternate-buffer-name): Handle :file parameters.
7978 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7980 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7981 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7983 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7985 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7987 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7989 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7991 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7993 * net/tramp.el (tramp-get-ls-command)
7994 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7997 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7999 * progmodes/sql.el: Version 2.3.
8000 (sql-connection-alist): Change keys from symbols to strings;
8001 enhanced the widget definition.
8002 (sql-mode-menu): Add submenu to select connections.
8003 (sql-interactive-mode-menu): Add "Save Connection" item.
8004 (sql-add-product): Fix menu item.
8005 (sql-get-product-feature): Improved error handling.
8006 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
8007 (sql-make-alternate-buffer-name): Simplified.
8008 (sql-product-interactive): Handle missing product.
8009 (sql-connect): Support string keys, minor improvements.
8010 (sql-save-connection): New function.
8011 (sql-connection-menu-filter): New function.
8013 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8015 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8016 (tramp-open-connection-setup-interactive-shell):
8017 Apply workaround for IRIX64 bug. Move argument of last
8018 `tramp-send-command' where it belongs to.
8020 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8022 * net/tramp.el (tramp-perl-file-attributes)
8023 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8024 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8025 front of `login-args'.
8027 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8029 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8030 Set `show-trailing-whitespace' to nil.
8031 (display-time-world-display): Simplify.
8033 2010-07-18 Alan Mackenzie <acm@muc.de>
8035 Enhance `c-file-style' in file/directory local variables.
8036 * progmodes/cc-mode.el (c-count-cfss): New function.
8037 (c-before-hack-hook): Call `c-set-style' differently according to
8038 whether c-file-style was set in file or directory local
8041 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8043 * progmodes/sql.el: Version 2.2.
8044 (sql-product, sql-user, sql-database, sql-server, sql-port):
8045 Use defcustom :safe keyword rather than putting safe-local-variable
8047 (sql-password): Use defcustom :risky keyword rather than putting
8048 risky-local-variable property.
8049 (sql-oracle-login-params, sql-sqlite-login-params)
8050 (sql-solid-login-params, sql-sybase-login-params)
8051 (sql-informix-login-params, sql-ingres-login-params)
8052 (sql-ms-login-params, sql-postgres-login-params)
8053 (sql-interbase-login-params, sql-db2-login-params)
8054 (sql-linter-login-params): Add `port' option.
8055 (sql-get-product-feature): Add NO-INDIRECT parameter.
8056 (sql-comint-oracle, sql-comint-sybase)
8057 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8058 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8059 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8060 (sql-comint-linter): Rename sql-connect-* functions to
8062 (sql-product-alist, sql-mode-menu): Rename as above and
8063 :sqli-connect-func to :sqli-comint-func.
8064 (sql-connection): New variable.
8065 (sql-interactive-mode): Set it.
8066 (sql-connection-alist): New variable.
8067 (sql-connect): New function.
8068 (sql--alt-buffer-part, sql--alt-if-not-empty)
8069 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8071 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8073 * image-mode.el (image-bookmark-make-record): Do not set context
8074 in an image (Bug#6650).
8076 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8078 * simple.el (select-active-region): New function.
8079 (push-mark-command, set-mark, activate-mark)
8080 (handle-shift-selection): Use it.
8081 (deactivate-mark): Don't check for size of region.
8083 * mouse.el (mouse-drag-track): Use select-active-region.
8085 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8087 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8090 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8092 * term/x-win.el (x-select-enable-primary): Change default to nil.
8093 (x-select-enable-clipboard): Add :version keyword.
8095 * mouse.el (mouse-drag-copy-region):
8096 * simple.el (select-active-regions): Likewise.
8098 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8100 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8101 (vc-coding-system-for-diff): Use it to decide whether to inherit
8102 from the file the EOL format for reading the diffs of that file.
8105 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8107 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8108 unibyte, so compressed attachments are not compressed again.
8110 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8112 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8113 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8114 (tramp-find-shell): Simplify setting connection property.
8115 (tramp-get-ls-command): Make test for "--color=never" stronger.
8117 2010-07-15 Simon South <ssouth@member.fsf.org>
8119 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8120 blocks within record declarations (i.e. variant parts) correctly.
8122 2010-07-15 Simon South <ssouth@member.fsf.org>
8124 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8125 over literal tokens when parsing so newlines aren't "absorbed" by
8126 single-line comments. Corrects the indentation of case blocks
8127 that have a comment on the first line.
8129 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8131 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8132 by Drew Adams (Bug#5504).
8134 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8136 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8137 now that Unicode is used (Bug#6594).
8139 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8141 * term/x-win.el (x-select-enable-clipboard): Default to t.
8142 (x-initialize-window-system): Don't overwrite Paste menu item.
8144 * simple.el (select-active-regions): Default to t.
8145 (push-mark-command): Don't overwrite primary with empty string.
8147 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8148 (mouse-drag-copy-region): Default to nil.
8150 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8151 Cut/Copy/Paste menu bar items.
8153 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8155 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8156 Patch applied by Karl Fogel.
8158 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8159 and `bookmark-current-buffer' if they have been already set in
8160 another buffer (e.g gnus-art).
8162 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8163 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8165 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8167 * bookmark.el (bookmark-make-record-default): Allow unneeded
8168 information to be omitted from the record.
8170 Adjust declarations and calls:
8172 * info.el (bookmark-make-record-default): Adjust declaration.
8173 (Info-bookmark-make-record): Adjust call.
8175 * woman.el (bookmark-make-record-default): Adjust declaration.
8176 (woman-bookmark-make-record): Adjust call.
8178 * man.el (bookmark-make-record-default): Adjust declaration.
8179 (Man-bookmark-make-record): Adjust call.
8181 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8183 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8185 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8187 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8188 This is also from Thierry Volpiatto's patch in bug #6444. However,
8189 because it was extraneous to the functional change in that patch,
8190 and causes a re-indendation, I am committing it separately.
8192 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8194 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8195 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8196 Patch applied by Karl Fogel (Bug#6444).
8198 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8200 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8202 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8204 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8205 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8206 (ns-alternatives-map): Change S-tab binding to backtab
8209 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8212 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8214 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8217 * language/tv-util.el (tai-viet-re): Remove format.
8219 2010-07-12 Kenichi Handa <handa@m17n.org>
8221 * language/hebrew.el: Remove no-byte-compile declaration.
8222 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8223 composition-function-table for 3-character looking back.
8224 (hebrew-font-get-precomposed): New function.
8225 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8227 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8229 * mouse.el (mouse-drag-track): Handle select-active-regions
8232 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8234 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8235 empty argument to gvfs-copy.
8237 2010-07-10 Glenn Morris <rgm@gnu.org>
8239 * calendar/calendar.el (calendar-week-end-day): New function.
8240 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8241 Respect calendar-week-start-day. (Bug#6606)
8242 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8243 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8244 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8245 respect calendar-week-start-day.
8247 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8249 * simple.el (use-region-p): Doc fix (Bug#6607).
8251 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8253 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8254 Add regexps for cucumber and ruby.
8256 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8258 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8259 (epa-file-insert-file-contents): Hack to prevent
8260 find-file from opening empty buffer when decryption failed
8263 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8265 * textmodes/ispell.el (ispell-alternate-dictionary):
8266 Use file-readable-p.
8267 Return nil if no word-list is found at default locations.
8268 (ispell-complete-word-dict): Default to nil.
8269 (ispell-command-loop): Use 'word-list' when using lookup-words.
8270 (lookup-words): Use ispell-complete-word-dict or
8271 ispell-alternate-dictionary. Check for word-list availability
8272 and handle errors if needed with better messages (Bug#6539).
8273 (ispell-complete-word): Use ispell-complete-word-dict or
8274 ispell-alternate-dictionary.
8276 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8278 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8279 builtins (BufferError, BytesWarning, WindowsError; callables
8280 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8282 2010-07-07 Glenn Morris <rgm@gnu.org>
8284 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8285 (zone-shift-left): Ignore intangibility, and any errors from
8287 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8288 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8289 deleting, and copying text properties.
8290 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8291 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8292 to point-max is hard.
8293 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8294 (zone-fill-out-screen): Ignore intangibility.
8296 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8298 * menu-bar.el (menu-bar-mode):
8299 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8302 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8303 word/line selection (Bug#6565).
8305 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8307 * net/dbus.el (dbus-send-signal): Declare function.
8309 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8311 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8312 (dbus-register-property): New optional argument EMITS-SIGNAL.
8313 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8315 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8317 * mouse.el (mouse-drag-overlay): Variable deleted.
8318 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8319 (mouse--remap-link-click-p): New function.
8320 (mouse-drag-track): Handle dragging by using temporary Transient
8321 Mark mode, instead of a special overlay.
8322 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8325 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8328 2010-07-02 Juri Linkov <juri@jurta.org>
8330 * autoinsert.el (auto-insert-alist): Fix readability
8331 by using dotted pair notation for lambda.
8333 2010-07-02 Juri Linkov <juri@jurta.org>
8335 * faces.el (read-face-name): Rename arg `string-describing-default'
8336 to `default'. Doc fix. Display the default value in quotes
8337 in the prompt. With empty input, return the `default' arg,
8338 unless the default value is a string (in which case return nil).
8339 (describe-face): Replace the string `default' arg of `read-face-name'
8340 with the symbol `default'.
8342 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8344 * emulation/viper-cmd.el (viper-delete-backward-char)
8345 (viper-del-backward-char-in-insert)
8346 (viper-del-backward-char-in-replace, viper-change)
8347 (viper-backward-indent): Replace delete-backward-char with
8348 delete-char (Bug#6552).
8350 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8352 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8354 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8356 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8357 argument passed to frame-creation-function (Bug#5378).
8359 * faces.el (x-handle-named-frame-geometry)
8360 (x-handle-reverse-video, x-create-frame-with-faces)
8361 (face-set-after-frame-default, tty-create-frame-with-faces):
8362 Don't separately consult default-frame-alist. It is now passed as the
8365 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8367 * startup.el (command-line): Don't call tool-bar-setup in a
8370 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8372 * ruler-mode.el (ruler--save-header-line-format): New fun.
8373 (ruler-mode): Use it as a setter function, so as not to overwrite
8374 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8376 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8378 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8379 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8380 (vc-log-outgoing): Use it.
8381 (vc-diff-internal): Set diff-vc-backend.
8383 * vc/diff-mode.el (diff-vc-backend): New var.
8385 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8387 * dynamic-setting.el (font-setting-change-default-font):
8388 Remove call to message.
8390 2010-06-28 Kenichi Handa <handa@m17n.org>
8392 * international/quail.el (quail-insert-kbd-layout): Fix the
8393 showing of untranslated characters.
8395 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8397 * simple.el (delete-active-region): New option.
8398 (delete-backward-char): Implement in Lisp.
8399 (delete-forward-char): New command.
8401 * mouse.el (mouse-region-delete-keys): Deleted.
8402 (mouse-show-mark): Simplify.
8404 * bindings.el (global-map): Bind delete and DEL, the former to
8405 delete-forward-char.
8407 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8409 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8410 (ruby-mode): Bind indent-line-function (Bug#5119).
8412 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8414 * startup.el (command-line): Recognize "0" X resource value.
8416 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8418 * startup.el (command-line): Use X resources to set the value of
8419 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8421 * menu-bar.el (menu-bar-mode):
8422 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8423 Set init-value to t.
8425 * frame.el (frame-notice-user-settings): Don't change
8426 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8427 vice versa (Bug#2249).
8429 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8431 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8433 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8435 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8436 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8438 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8439 default directories are expanded (Bug#6143).
8441 2010-06-24 Juri Linkov <juri@jurta.org>
8443 * minibuffer.el (completions-format): Change default from nil to
8444 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8446 2010-06-24 Juri Linkov <juri@jurta.org>
8448 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8449 buffer-locally to lambda that re-runs the vc diff command.
8452 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8454 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8455 echo area is in use (Bug#3412).
8457 2010-06-22 Glenn Morris <rgm@gnu.org>
8459 * textmodes/texinfmt.el (texinfo-format-region)
8460 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8461 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8462 (texinfo-format-option, texinfo-noindent):
8463 Use line-beginning-position and line-end-position.
8465 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8466 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8467 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8470 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8472 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8473 forward-line fallout.
8475 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8477 * mouse.el (mouse-appearance-menu): Add docstring.
8479 * help.el (describe-key): Print up-event using key-description.
8481 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8483 * net/zeroconf.el (zeroconf-resolve-service)
8484 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8485 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8487 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8489 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8491 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8493 Avoid displaying files with a nil state in vc-dir.
8494 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8495 cases that cause insertion.
8496 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8499 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8501 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8503 2010-06-29 Leo <sdl.web@gmail.com>
8505 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8507 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8509 * generic-x.el (bat-generic-mode): Fix regexp for command line
8510 switches (Bug#5719).
8512 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8514 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8515 of nconc to avoid pure storage error (Bug#6239).
8517 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8519 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8520 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8521 bindings of bookmark-automatically-show-annotations (Bug#6515).
8523 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8525 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8526 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8528 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8530 * comint.el (make-comint, make-comint-in-buffer): Mention return
8531 value in the docstrings. (Bug#6498)
8533 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8535 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8536 since it is not present when using some non-default switches.
8538 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8540 * simple.el (compose-mail): Fix doc string to refer to
8541 `compose-mail-user-agent-warnings', instead of to the
8542 nonexistent `compose-mail-check-user-agent'.
8544 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8546 Fix an indentation bug:
8548 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8549 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8552 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8553 (c-clear->-pair-props-if-match-before): now return t when they've
8554 cleared properties, nil otherwise.
8555 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8556 by taking account of the existing value.
8558 * progmodes/cc-defs.el
8559 (c-clear-char-property-with-value-function): Fix this to clear the
8560 property rather than overwriting it with nil.
8562 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8564 * emacs-lisp/package.el (package-print-package): Add link to
8565 package description via describe-package.
8566 (describe-package-1): List package requirements. Add button to
8567 perform installation.
8568 (package-menu-describe-package): New command.
8570 * help-mode.el (help-package): New button type.
8572 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8574 * emacs-lisp/package.el: Move package-list-packages binding to
8576 (describe-package, describe-package-1, package--dir): New funs.
8577 (package-activate-1): Use package--dir.
8579 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8581 * help-mode.el (help-package-def): New button type.
8583 * menu-bar.el: Move package-list-packages binding here from
8586 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8588 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8590 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8592 * emacs-lisp/edebug.el (edebug-read-list):
8593 Phase out old-style backquotes.
8595 2010-06-17 Juri Linkov <juri@jurta.org>
8597 * help-mode.el (help-mode): Set buffer-local variable
8598 revert-buffer-function to help-mode-revert-buffer.
8599 (help-mode-revert-buffer): New function.
8601 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8602 before popping to "*info*" (like in other Info functions).
8603 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8604 old-history-forward. Pop to old-buffer-name or "*info*" to
8605 recreate the killed buffer. Set Info-history-forward from
8606 old-history-forward.
8607 (Info-breadcrumbs-depth): Add :group and :version.
8609 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8611 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8613 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8615 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8616 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8618 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8620 * emacs-lisp/package.el (package-menu-mode-map):
8621 Move initialization into declaration.
8623 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8625 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8627 * emacs-lisp/package.el (package-archive-base): Point to
8629 (package-enable, package-load-list): New defcustoms.
8630 (package-user-dir, package-directory-list): Turn into defcustoms.
8631 Don't include package-user-dir in package-directory-list.
8632 (package--builtins-base): Don't include Emacs as a "package".
8633 (package-subdirectory-regexp): New var.
8634 (package-load-all-descriptors, package-compute-transaction)
8635 (package-download-transaction): Obey package-load-list.
8636 (package-activate-1): Rename from package-do-activate.
8637 (package-list-packages-internal): Check package-load-list.
8638 (package-load-descriptor, package-generate-autoloads)
8639 (package-unpack, package-unpack-single)
8640 (package--read-archive-file, package-delete):
8641 Use expand-file-name.
8643 * emacs-lisp/package-x.el: New file. Package uploading
8644 functionality split out from package.el.
8646 * startup.el (command-line): Load packages after reading init file.
8648 2010-06-17 Tom Tromey <tromey@redhat.com>
8650 * emacs-lisp/package.el: New file.
8652 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8654 Fix vc-annotate for renamed files when using Git.
8655 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8656 ls-files. Doe not pass the object as a file name to cat-file, it
8658 (vc-git-annotate-command): Pass the file name using -- to avoid
8659 ambiguity with the revision.
8660 (vc-git-previous-revision): Pass a relative file name.
8662 2010-06-22 Glenn Morris <rgm@gnu.org>
8664 * progmodes/js.el (js-mode-map): Use standard capitalization and
8665 ellipses for menu entries.
8667 * wid-edit.el (widget-complete): Doc fix.
8669 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8671 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8673 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8675 Fix annotating other revisions for renamed files in vc-annotate.
8676 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8677 VC backend. Use it when non-nil.
8678 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8681 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8682 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8683 Do not pass the file name to the 'previous-revision call when we
8684 don't want a file diff. (Bug#6489)
8686 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8688 Fix finding revisions for renamed files in vc-annotate.
8689 * vc/vc.el (vc-find-revision): Add an optional argument for
8690 the VC backend. Use it when non-nil.
8691 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8692 backend to vc-find-revision. (Bug#6487)
8694 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8696 Fix reading file names in Git annotate buffers.
8697 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8698 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8700 2010-06-20 Alan Mackenzie <acm@muc.de>
8702 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8703 in file local variables, set it first.
8705 2010-06-19 Glenn Morris <rgm@gnu.org>
8707 * descr-text.el (describe-char-unicode-data): Insert separating
8708 space when needed. (Bug#6422)
8710 * progmodes/idlwave.el (idlwave-action-and-binding):
8711 Fix typo in 2009-12-03 change. (Bug#6450)
8713 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8715 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8716 handling for `lambda' (misunderstanding).
8718 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8720 * calc/calc-poly.el (math-accum-factors): Make sure that
8721 constants aren't distributed after they are factored out.
8723 2010-06-16 Juri Linkov <juri@jurta.org>
8725 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8726 `list-colors-print'. (Bug#6332)
8728 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8730 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8732 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8733 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8735 * font-lock.el (font-lock-major-mode): Rename from
8736 font-lock-mode-major-mode to distinguish it from
8737 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8738 (font-lock-set-defaults):
8739 * font-core.el (font-lock-default-function): Adjust users.
8740 (font-lock-mode): Don't set it at all.
8742 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8744 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8746 2010-06-16 Glenn Morris <rgm@gnu.org>
8748 * calendar/appt.el (appt-time-msg-list): Doc fix.
8749 (appt-check): Let-bind appt-warn-time.
8750 (appt-add): Make the 3rd argument optional.
8751 Simplify argument names. Doc fix. Check for integer WARNTIME.
8752 Only add WARNTIME to the output list if non-nil.
8754 2010-06-16 Ivan Kanis <apple@kanis.eu>
8756 * calendar/appt.el (appt-check): Let the 3rd element of
8757 appt-time-msg-list specify the warning time.
8758 (appt-add): Add new argument with the warning time. (Bug#5176)
8760 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8762 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8763 older than version 1.6. (Bug#6361)
8765 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8767 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8768 used by cl-do-arglist. (Bug#6408)
8770 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8772 * textmodes/ispell.el (ispell-dictionary-base-alist):
8773 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8774 Suggested by Rolando Pereira (bug#6434).
8776 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8778 * facemenu.el (list-colors-sort): Doc fix.
8780 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8782 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8784 2010-06-14 Juri Linkov <juri@jurta.org>
8786 Add sort option `list-colors-sort'. (Bug#6332)
8787 * facemenu.el (color-rgb-to-hsv): New function.
8788 (list-colors-sort): New defcustom.
8789 (list-colors-sort-key): New function.
8790 (list-colors-display): Doc fix. Sort list according to the option
8792 (list-colors-print): Add HSV values to `help-echo' property of
8795 2010-06-14 Juri Linkov <juri@jurta.org>
8797 * compare-w.el: Move to the "vc" subdirectory.
8799 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8801 * image-mode.el (image-mode-map): Remap left-char and right-char.
8803 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8805 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8807 * term/common-win.el (x-colors): Add all the color names defined
8808 in rgb.txt (Bug#6332).
8810 * facemenu.el (list-colors-print): Don't print extra names if it
8811 will overflow the window width.
8813 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8816 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8818 * files.el (make-directory): Doc fix (bug#6396).
8820 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8822 * net/tramp.el (tramp-remote-process-environment): Protect version
8823 string by apostroph.
8824 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8826 (tramp-file-name-for-operation): Add `call-process-region'.
8827 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8829 * net/tramp-compat.el (top): Do not autoload
8830 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8831 only when `start-file-process' is not bound.
8832 (tramp-advice-file-expand-wildcards): Do not use
8833 `tramp-handle-file-remote-p'.
8834 (tramp-compat-make-temp-file): Handle the case, that
8835 `make-temp-file' has no third argument EXTENSION.
8837 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8839 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8841 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8843 2010-06-11 Juri Linkov <juri@jurta.org>
8845 * finder.el (finder-known-keywords): Add keyword "vc"
8846 for version control.
8848 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8849 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8850 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8851 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8853 2010-06-11 Juri Linkov <juri@jurta.org>
8855 Move version control related files to the "vc" subdirectory.
8856 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8857 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8858 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8859 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8860 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8861 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8862 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8863 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8864 Move files to the "vc" subdirectory.
8866 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8868 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8871 2010-06-11 Stephen Eglen <stephen@gnu.org>
8873 * shell.el: Bind `shell-resync-dirs' to M-RET.
8875 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8877 * notifications.el: Move file from lisp/net, because it is
8878 supposed to talk locally to the user.
8880 2010-06-10 Julien Danjou <julien@danjou.info>
8882 * net/notifications.el (notifications-on-action-signal)
8883 (notifications-on-closed-signal): Pass notification id as first
8884 argument to the callback functions. Add docstrings.
8885 (notifications-notify): Fix docstring.
8887 2010-06-10 Glenn Morris <rgm@gnu.org>
8889 * emacs-lisp/authors.el (authors-ignored-files)
8890 (authors-valid-file-names): Add some files.
8892 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8895 merge conflict, giving preference to the emacs-23 version of the code.
8897 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8899 * emacs-lisp/advice.el (ad-compile-function):
8900 Define warning-suppress-types before we let-bind it (bug#6275).
8902 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8903 declare it, make it buffer-local and permanent-local (bug#6324).
8904 (vc-resynch-window): Adjust name.
8905 * vc-hooks.el (vc-find-file-hook): Adjust name.
8907 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8909 * net/notifications.el (notifications-notify): Fix docstring.
8911 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8913 Update to Unicode 6.0.0 beta.
8914 * international/charprop.el: Update copyright.
8915 * international/mule-cmds.el (ucs-names): Update character ranges.
8916 * international/uni-bidi.el:
8917 * international/uni-category.el:
8918 * international/uni-combining.el:
8919 * international/uni-comment.el:
8920 * international/uni-decimal.el:
8921 * international/uni-decomposition.el:
8922 * international/uni-digit.el:
8923 * international/uni-lowercase.el:
8924 * international/uni-mirrored.el:
8925 * international/uni-name.el:
8926 * international/uni-numeric.el:
8927 * international/uni-old-name.el:
8928 * international/uni-titlecase.el:
8929 * international/uni-uppercase.el: Regenerate.
8931 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8933 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8934 (smie-precs-precedence-table): Fix typo in docstring.
8936 * vc-mtn.el (log-edit-extract-headers): Declare function.
8938 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8940 * net/notifications.el (dbus-register-signal): Declare function.
8941 (notifications-notify): Fix typos and reflow docstring.
8943 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8945 Improve VC create/retrieve tag/branch.
8946 * vc.el (vc-create-tag): Do not read the directory name for VCs
8947 with repository revision granularity. Adjust the tag/branch
8948 prompt. Reset VC properties.
8949 (vc-retrieve-tag): Do not read the directory name for VCs
8950 with repository revision granularity. Reset VC properties.
8952 2010-06-09 Julien Danjou <julien@danjou.info>
8954 * net/notifications.el: New file.
8956 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8958 Add optional support for resetting VC properties.
8959 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8960 call vc-file-clearprops when true.
8961 (vc-resynch-buffer): Add new optional argument, pass it down.
8962 (vc-resynch-buffers-in-directory): Likewise.
8964 Improve support for special markup in the VC commit message.
8965 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8966 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8967 * vc-git.el (vc-git-checkin):
8968 * vc-bzr.el (vc-bzr-checkin): Likewise.
8970 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8972 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8973 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8975 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8977 * iimage.el: Remove images as soon as the underlying text is modified.
8978 (iimage-modification-hook): New function.
8979 (iimage-mode-buffer): Use it.
8981 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8983 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8984 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8985 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8986 (smie-indent-keyword): Add handling of open-paren keywords.
8987 (smie-indent-comment-continue): Don't assume comment-continue.
8989 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8991 * window.el (pop-to-buffer): Remove the conditional that
8992 compares new-window and old-window, so it will reselect
8993 the selected window unconditionally.
8994 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8996 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8998 * emacs-lisp/smie.el (smie-indent-offset-after)
8999 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9000 (smie-indent-after-keyword): Use them.
9001 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9002 (smie-indent-keyword): Tweak the black magic.
9003 (smie-indent-comment-continue): Strip comment-continue before use.
9004 (smie-indent-functions): Indent comments before keywords.
9006 2010-06-06 Juri Linkov <juri@jurta.org>
9008 * isearch.el (isearch-lazy-highlight-search): Fix looping
9009 by checking for empty match. This syncs this loop with the
9010 similar loop in `isearch-search'. (Bug#6362)
9012 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9014 * net/dbus.el (dbus-register-method): Declare function.
9015 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9016 (dbus-introspect): Doc fix.
9017 (dbus-event-bus-name, dbus-introspect-get-interface)
9018 (dbus-introspect-get-argument): Reflow docstrings.
9020 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9022 vc-log-incoming/vc-log-outgoing fixes for Git.
9023 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9024 incoming/outgoing logs.
9025 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9026 instead of vc-git-compute-remote.
9027 (vc-git-compute-remote): Remove.
9029 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9031 * term/common-win.el (x-colors): Add "dark green" and "dark
9032 turquoise" (Bug#6332).
9034 2010-06-04 Juri Linkov <juri@jurta.org>
9036 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9037 Instead of setting `replace' to t and replacing the same string
9038 with itself, don't do certain actions when
9039 kill-do-not-save-duplicates is non-nil and string is equal to car
9040 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9041 interprogram-paste strings to kill-ring, and don't push the input
9042 argument `string' to kill-ring.
9043 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9045 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9047 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9049 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9051 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9052 (tramp-gvfs-handler-mounted-unmounted)
9053 (tramp-gvfs-connection-mounted-p): Handle default-location.
9055 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9056 move files to trash.
9058 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9060 * international/mule-cmds.el (nonascii-insert-offset)
9061 (nonascii-translation-table): Add obsolescence information.
9063 * international/mule.el (make-translation-table-from-vector): Doc fix.
9065 2010-06-03 Glenn Morris <rgm@gnu.org>
9067 * desktop.el (desktop-clear-preserve-buffers):
9068 Add "*Warnings*" buffer. (Bug#6336)
9070 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9072 vc-log-incoming/vc-log-outgoing improvements for Git.
9073 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9075 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9077 Add bindings for vc-log-incoming and vc-log-outgoing.
9078 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9079 and vc-log-outgoing.
9080 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9081 and vc-log-outgoing.
9083 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9085 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9086 (rcirc-handler-366): Always sort nicknames.
9088 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9090 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9092 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9094 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9096 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9098 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9099 (rcirc-sort-nicknames-join): Avoid setq.
9101 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9103 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9104 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9105 (rcirc-handler-366): Use them.
9107 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9109 Split smie-indent-calculate into more manageable chunks.
9110 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9111 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9112 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9113 (smie-indent-exps): Extract from smie-indent-calculate.
9114 (smie-indent-functions): New var.
9115 (smie-indent-functions): Use them.
9117 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9119 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9120 (smie-indent-calculate): Simplify and cleanup.
9122 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9124 * net/tramp-gvfs.el (top): Require url-util.
9125 (tramp-gvfs-mount-point): Remove.
9126 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9128 (with-tramp-dbus-call-method): Format trace message.
9129 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9130 Implement backup call, when operation on local files fails.
9131 Use progress reporter. Flush properties of changed files.
9132 (tramp-gvfs-handle-make-directory): Make more traces.
9133 (tramp-gvfs-url-file-name): Hexify file name in url.
9134 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9135 into account for the resulting file name.
9136 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9137 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9138 (tramp-gvfs-handler-mounted-unmounted)
9139 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9140 attribute "default_location". Set "prefix" property.
9141 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9142 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9143 exists. Raise an error, if not (due to a corresponding answer
9144 "no" in interactive questions, for example).
9146 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9148 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9150 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9152 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9155 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9157 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9158 * vc-git.el (vc-git-compute-remote): New function.
9159 (vc-git-log-outgoing): Use it instead of hard coding a value.
9160 (vc-git-log-incoming): New function.
9162 Improve state updating for VC tag commands.
9163 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9164 to update the state of all buffers in the directory.
9166 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9168 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9170 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9171 `file-directory-p' to the filename part rather than to the whole text.
9173 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9175 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9177 2010-05-31 Drew Adams <drew.adams@oracle.com>
9179 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9181 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9183 * subr.el (momentary-string-display): Just use read-event to read
9184 the exit event (Bug#6238).
9186 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9188 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9190 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9192 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9193 Suggested by Eli Zaretskii <eliz@gnu.org>.
9195 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9197 * minibuffer.el (completion-file-name-table): Don't return a boundary
9198 past the end of `string' (bug#6299).
9199 (completion--file-name-table): Delegate to completion-file-name-table
9200 for the `boundaries' case.
9202 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9204 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9207 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9208 `path-separator', but maintain compatibility with Emacs 20.2.
9210 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9212 * server.el (server-process-filter): Receive parent-id argument
9214 (server-create-window-system-frame): New arg. Pass parent-id as
9217 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9219 Bidi-sensitive word movement with arrow keys.
9220 * subr.el (right-arrow-command, left-arrow-command): Move to
9223 * bindings.el (right-char, left-char): Move from subr.el and
9224 rename from right-arrow-command and left-arrow-command.
9225 (right-word, left-word): New functions.
9226 (global-map) <right>: Bind to right-char.
9227 (global-map) <left>: Bind to left-char.
9228 (global-map) <C-right>: Bind to right-word.
9229 (global-map) <C-left>: Bind to left-word.
9231 * ls-lisp.el (ls-lisp-classify-file): New function.
9232 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9233 (ls-lisp-classify): Call ls-lisp-classify-file.
9234 (insert-directory): Remove blanks from switches.
9236 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9238 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9239 (ansi-color-drop-regexp): New constant.
9240 (ansi-color-apply, ansi-color-filter-region)
9241 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9242 (ansi-color-apply): Build string list before calling concat.
9244 2010-05-28 Juri Linkov <juri@jurta.org>
9246 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9247 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9250 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9252 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9253 to ignored backtrace functions.
9254 (with-progress-reporter): Expand docstring.
9255 (tramp-handle-delete-file): Implement TRASH argument.
9256 (tramp-get-remote-trash): New defun.
9258 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9260 * net/tramp-compat.el (tramp-compat-delete-file):
9261 Use `symbol-value' for backward compatibility.
9263 * net/tramp.el (tramp-handle-make-symbolic-link)
9265 (tramp-do-copy-or-rename-file-via-buffer)
9266 (tramp-do-copy-or-rename-file-directly)
9267 (tramp-do-copy-or-rename-file-out-of-band)
9268 (tramp-handle-process-file, tramp-handle-call-process-region)
9269 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9270 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9271 (tramp-delete-temp-file-function): Use `delete-file' instead
9272 of `tramp-compat-delete-file'.
9274 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9275 (tramp-fish-handle-make-symbolic-link)
9276 (tramp-fish-handle-process-file): Use `delete-file' instead
9277 of `tramp-compat-delete-file'.
9279 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9280 Use `delete-file' instead of `tramp-compat-delete-file'.
9282 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9283 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9284 `tramp-compat-delete-file'.
9286 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9287 Use `delete-file' instead of `tramp-compat-delete-file'.
9289 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9290 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9291 (tramp-smb-handle-write-region): Use `delete-file' instead of
9292 `tramp-compat-delete-file'.
9293 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9295 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9297 * dired.el (dired-delete-file): New arg TRASH.
9298 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9299 (dired-do-flagged-delete, dired-do-delete): Use trash.
9301 * speedbar.el (speedbar-item-delete): Allow trashing.
9303 * files.el (delete-directory): New arg TRASH.
9305 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9306 (ange-ftp-rename-remote-to-remote)
9307 (ange-ftp-rename-local-to-remote)
9308 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9309 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9311 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9314 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9315 handle new TRASH arg of `delete-file'.
9317 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9318 (tramp-handle-make-symbolic-link, tramp-handle-load)
9319 (tramp-do-copy-or-rename-file-via-buffer)
9320 (tramp-do-copy-or-rename-file-directly)
9321 (tramp-do-copy-or-rename-file-out-of-band)
9322 (tramp-handle-process-file, tramp-handle-call-process-region)
9323 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9324 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9325 (tramp-delete-temp-file-function): Use null TRASH arg in
9326 tramp-compat-delete-file call.
9328 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9329 (tramp-fish-handle-delete-file)
9330 (tramp-fish-handle-make-symbolic-link)
9331 (tramp-fish-handle-process-file): Use null TRASH arg in
9332 `tramp-compat-delete-file' call.
9334 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9335 arg in `tramp-compat-delete-file' call.
9337 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9338 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9339 `tramp-compat-delete-file' call.
9341 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9342 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9343 `tramp-compat-delete-file' call.
9345 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9346 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9347 (tramp-smb-handle-write-region): Use null TRASH arg in
9348 tramp-compat-delete-file call.
9349 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9350 (tramp-smb-handle-delete-file): Rename arg.
9352 * diff.el (diff-sentinel):
9353 * epg.el (epg--make-temp-file, epg-decrypt-string)
9354 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9355 * jka-compr.el (jka-compr-partial-uncompress)
9356 (jka-compr-call-process, jka-compr-write-region):
9357 * server.el (server-sentinel): Remove optional arg from
9358 delete-file, reverting 2010-05-03 change.
9360 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9362 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9363 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9365 2010-05-27 Kenichi Handa <handa@m17n.org>
9367 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9368 element of GSTRING is nil.
9370 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9372 * emacs-lisp/smie.el (smie-forward-token-function)
9373 (smie-backward-token-function): New vars.
9374 (smie-backward-sexp, smie-forward-sexp)
9375 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9376 (smie-default-backward-token): Rename from smie-backward-token and
9378 (smie-default-forward-token): Rename from smie-forward-token and
9380 (smie-next-sexp): Handle nil results from next-token.
9381 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9383 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9385 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9386 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9388 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9390 * htmlfontify.el (hfy-face-resolve-face): New function.
9391 (hfy-face-to-style): Use it (Bug#6279).
9393 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9395 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9396 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9398 2010-05-26 Glenn Morris <rgm@gnu.org>
9400 * emulation/edt.el (edt-load-keys): Use locate-library.
9402 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9404 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9405 (log-edit-changelog-entries): Doc fix.
9406 (log-edit-changelog-insert-entries): Args changed.
9407 Rename relative filenames in ChangeLog entries. Delete tabs.
9408 (log-edit-insert-changelog-entries): Reorganize return value of
9409 `log-edit-changelog-entries' to pass filenames to
9410 log-edit-changelog-insert-entries.
9412 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9414 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9415 `image-dired-dired-insert-marked-thumbs' to
9416 `image-dired-dired-toggle-marked-thumbs'.
9418 * image-dired.el: Require cl when compiling.
9419 (image-dired-dired-toggle-marked-thumbs): Rename from
9420 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9421 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9422 to 'no-dir. Skip files whose names don't match
9423 `image-file-name-regexp'. When file has a thumbnail overlay,
9424 delete it. (Bug#5270)
9426 2010-05-25 Juri Linkov <juri@jurta.org>
9428 * image-mode.el (image-mode): Add image-after-revert-hook to
9430 (image-after-revert-hook): New function. (Bug#5669)
9432 2010-05-25 Juri Linkov <juri@jurta.org>
9434 * image.el (image-animated-p): When delay between animated images
9435 is 0, set it to 10 (0.1 sec). (Bug#6258)
9437 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9439 * net/tramp.el (tramp-handle-insert-directory): Don't use
9440 `forward-word', its default syntax could be changed.
9442 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9444 * net/tramp.el (tramp-progress-reporter-update): New defun.
9445 (with-progress-reporter): Use it.
9446 (tramp-process-actions):
9447 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9448 Preserve current message, in order to let progress reporter continue
9449 afterwards. (Bug#6257)
9451 2010-05-25 Glenn Morris <rgm@gnu.org>
9453 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9456 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9458 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9459 (rcirc-default-full-name): Change to "unknown".
9460 (rcirc-user-name-history): Add variable.
9462 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9463 Jonathan Rockway <jon@jrock.us>
9465 * net/rcirc.el (rcirc-server-alist): Add :pass.
9466 (rcirc): When prompting for connection parameters, also prompt for
9467 username and password.
9468 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9469 value to server when connecting.
9471 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9473 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9474 (smie-merge-prec2s): Pass the tables as separate args.
9475 (smie-bnf-precedence-table): Adjust call accordingly.
9476 (smie-prec2-levels): Set levels at the end.
9478 Replace Lisp calls to delete-backward-char by delete-char.
9479 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9480 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9481 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9482 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9483 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9484 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9485 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9486 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9487 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9488 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9489 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9490 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9491 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9492 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9493 delete-backward-char by calls to delete-char.
9495 2010-05-25 Kenichi Handa <handa@m17n.org>
9497 * language/hebrew.el (hebrew-shape-gstring): New function.
9498 Register it in composition-function-table for all Hebrew combining
9501 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9503 * epa.el (epa--select-keys): Don't explicitly delete the window since
9504 that can fail (e.g. sole window in frame). Use dedication instead.
9506 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9508 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9510 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9512 * image.el (image-refresh): Define as an alias for image-flush.
9514 * image-mode.el (image-toggle-display-image): Caller changed.
9516 2010-05-21 Juri Linkov <juri@jurta.org>
9518 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9519 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9520 whitespace, call wildcard-to-regexp on substrings and concat them
9521 with "\\|". (Bug#6114)
9523 2010-05-21 Alan Mackenzie <acm@muc.de>
9525 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9526 Replace parameter `here' with `here-' and `here-plus', which sandwich
9527 any pertinent CPP construct.
9528 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9529 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9530 CPP construct from taking part in the scanning.
9532 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9534 * net/tramp.el (tramp-do-copy-or-rename-file)
9535 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9536 Tune `with-progress-reporter' messages.
9537 (tramp-handle-vc-registered):
9538 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9539 (tramp-fish-handle-insert-file-contents)
9540 (tramp-fish-maybe-open-connection):
9541 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9542 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9543 (tramp-imap-handle-insert-file-contents)
9544 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9546 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9548 * add-log.el (change-log-font-lock-keywords):
9549 Highlight all authors in multi-author entries.
9551 * smerge-mode.el (smerge-refine-ignore-whitespace)
9552 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9553 Fix typos in docstrings.
9554 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9556 2010-05-21 Glenn Morris <rgm@gnu.org>
9558 * progmodes/fortran.el (fortran-mode):
9559 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9561 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9562 having a relative path in src/Makefile.in.
9564 2010-05-20 Kevin Ryde <user42@zip.com.au>
9566 * help-mode.el (help-make-xrefs): For Info node links turn
9567 newlines into spaces. Link node names with newlines are matched
9568 by help-xref-info-regexp and buttonized, this change ensures they
9569 can be followed successfully with RET. (Bug#6206)
9571 2010-05-20 Juri Linkov <juri@jurta.org>
9573 * locate.el (locate): Use pop-to-buffer instead of
9574 switch-to-buffer-other-window. (Bug#6204)
9576 2010-05-20 Juri Linkov <juri@jurta.org>
9578 * replace.el (replace-highlight): Fix lazy-highlighting
9579 for `M-s w str M-% str RET'.
9581 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9583 * isearch.el (isearch-yank-word-or-char): Pull next subword
9584 when `subword-mode' is activated. (Bug#6220)
9586 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9588 * isearch.el (isearch-update-post-hook): New hook.
9589 (isearch-update): Use the new hook. (Bug#6225)
9591 2010-05-20 Juri Linkov <juri@jurta.org>
9593 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9594 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9597 2010-05-20 Juri Linkov <juri@jurta.org>
9599 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9602 2010-05-20 Juri Linkov <juri@jurta.org>
9604 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9605 FILE-NAME to read from the minibuffer when called interactively
9606 with prefix argument instead of using buffer-file-name.
9607 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9609 * dired.el: Update autoloads.
9611 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9613 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9614 nxml-finish-element, for consistency with SGML mode.
9616 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9619 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9621 * composite.el: Require cl when compiling.
9622 (reference-point-alist, compose-gstring-for-graphic)
9623 (compose-gstring-for-terminal): Fix typos in docstrings.
9625 2010-05-19 Juri Linkov <juri@jurta.org>
9627 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9628 set-window-parameter.
9630 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9632 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9634 (tramp-maybe-open-connection): Use it.
9636 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9638 * simple.el (move-end-of-line): Make sure we are at line beginning
9639 before backing up to end of previous line.
9641 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9643 * password-cache.el (password-cache-remove): Fix docstring.
9645 * net/secrets.el: Autoload the widget functions.
9646 (secrets-search-items, secrets-create-item)
9647 (secrets-get-attributes, secrets-expand-item): Attributes will be
9648 stored on the password database without leading ":", as all other
9650 (secrets-mode): Fix docstring.
9651 (secrets-show-secrets): Provide it as autoloaded command only when
9652 D-Bus support is available. Check existence of Secret Service API.
9654 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9656 * indent.el (indent-region): Deactivate region (bug#6200).
9658 2010-05-19 Glenn Morris <rgm@gnu.org>
9660 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9662 2010-05-19 Kenichi Handa <handa@m17n.org>
9664 * composite.el: Register compose-gstring-for-graphic in
9665 composition-function-table only for combining characters (Mn, Mc, Me).
9667 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9669 * calc/calc-trail.el (calc-trail-isearch-forward)
9670 (calc-trail-isearch-backward): Ensure that the new window
9671 point is set correctly.
9673 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9675 * subr.el (read-quoted-char): Resolve modifiers after key
9676 remapping (bug#6212).
9678 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9680 Add visualization code for secrets.
9681 * net/secrets.el (secrets-mode): New major mode.
9682 (secrets-show-secrets, secrets-show-collections)
9683 (secrets-expand-collection, secrets-expand-item)
9684 (secrets-tree-widget-after-toggle-function)
9685 (secrets-tree-widget-show-password): New defuns.
9687 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9689 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9690 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9691 handled in smie-next-sexp.
9692 (smie-indent-calculate): Provide a starting indentation (so the
9693 recursion is well-founded ;-).
9695 Fix handling of non-associative equal levels.
9696 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9697 when it's not needed.
9698 (smie-op-left, smie-op-right): New functions.
9699 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9700 Better handle equal levels to distinguish the associative case from
9701 the "multi-keyword construct" case.
9702 (smie-backward-sexp, smie-forward-sexp): Use it.
9704 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9706 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9708 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9709 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9711 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9713 Provide a simple generic indentation engine and use it for Prolog.
9714 * emacs-lisp/smie.el: New file.
9715 * progmodes/prolog.el (prolog-smie-op-levels)
9716 (prolog-smie-indent-rules): New var.
9717 (prolog-mode-variables): Use them to configure SMIE.
9718 (prolog-indent-line, prolog-indent-level): Remove.
9720 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9722 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9723 order before computing the averages.
9725 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9727 * calc/calc-vec.el (calc-histogram):
9728 (calcFunc-histogram): Allow vectors as inputs.
9729 (math-vector-avg): New function.
9731 * calc/calc-ext.el (math-group-float): Have the number of digits
9732 being grouped depend on the radix (Bug#6189).
9734 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9736 * version.el (emacs-copyright, emacs-version): Don't define here,
9737 now that emacs.c defines it.
9739 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9741 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9742 "Describe Language Environment" menu item.
9744 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9746 Bidi-sensitive movement with arrow keys.
9747 * subr.el (right-arrow-command, left-arrow-command): New functions.
9749 * bindings.el (global-map): Bind them to right and left arrow keys.
9751 Don't override standard definition of convert-standard-filename.
9752 * files.el (convert-standard-filename):
9753 Call w32-convert-standard-filename and dos-convert-standard-filename on
9754 the corresponding systems.
9756 * w32-fns.el (w32-convert-standard-filename): Rename from
9757 convert-standard-filename. Doc fix.
9759 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9760 (convert-standard-filename): Don't defalias.
9761 (register-name-alist, make-register, register-value)
9762 (set-register-value, intdos): Obsolete aliases for the
9763 corresponding dos-* functions and variables.
9764 (dos-intdos): Add a doc string.
9766 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9768 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9769 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9770 (math-compose-tex-func):
9771 * calc/calccomp.el (math-compose-expr):
9772 * calc/calc-ext.el (math-format-flat-expr-fancy):
9773 * calc/calc-store.el (calc-read-var-name):
9774 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9776 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9777 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9778 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9779 (math-standard-units): Add units.
9781 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9783 * progmodes/asm-mode.el (asm-mode):
9784 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9786 * pcomplete.el (pcomplete-completions-at-point): New function,
9787 extracted from pcomplete-std-complete.
9788 (pcomplete-std-complete): Use it.
9790 2010-05-15 Glenn Morris <rgm@gnu.org>
9792 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9793 Remove references to CVS, RCS and Old directories.
9795 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9797 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9800 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9802 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9803 (sh-mode-syntax-table): Give it a default value instead.
9804 (sh-header-marker): Make buffer-local.
9805 (sh-mode): Move make-local-variable to the corresponding setq.
9806 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9807 Use complete-with-action.
9809 * simple.el (prog-mode): New (abstract) major mode.
9810 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9811 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9813 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9815 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9816 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9817 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9818 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9819 (sql-escape-newlines-filter, sql-input-sender)
9820 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9822 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9824 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9826 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9827 latex-open-block and C-c / to latex-close-block.
9829 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9830 and C-c C-e to sgml-close-tag.
9832 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9834 * net/tramp.el (with-progress-reporter): Create reporter object
9835 only when the message would be displayed. Handle nested calls.
9836 (tramp-handle-load, tramp-handle-file-local-copy)
9837 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9838 (tramp-maybe-send-script, tramp-find-shell):
9839 Use `with-progress-reporter'.
9840 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9843 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9844 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9845 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9846 Use `with-progress-reporter'.
9848 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9850 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9851 process everytime when spellchecking from the minibuffer (bug#6143).
9853 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9855 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9857 * dos-fns.el: Add "dos-" prefix for namespace control.
9858 (convert-standard-filename): Define as alias for
9859 dos-convert-standard-filename but only if applicable.
9861 2010-05-12 Alan Mackenzie <acm@muc.de>
9863 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9864 Push the mark at the start of these functions when appropriate.
9866 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9868 * minibuffer.el (completion-cycle-threshold): New custom var.
9869 (completion--do-completion): Use it.
9870 (minibuffer-complete): Use cycling if appropriate.
9872 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9874 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9875 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9877 2010-05-11 Juri Linkov <juri@jurta.org>
9879 * scroll-all.el (scroll-all-check-to-scroll):
9880 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9882 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9884 * iimage.el (iimage-mode-map): Move initialization into declaration.
9885 (iimage-mode-buffer): Use with-silent-modifications.
9886 Simplify calling convention. Adjust callers.
9887 (iimage-mode): Don't run hook redundantly.
9889 * minibuffer.el (completion-pcm--pattern->regex):
9890 Fix last change (bug#6160).
9892 2010-05-10 Juri Linkov <juri@jurta.org>
9894 Remove nodes visited during Isearch from the Info history.
9895 * info.el (Info-isearch-initial-history)
9896 (Info-isearch-initial-history-list): New variables.
9897 (Info-isearch-start): Record initial values of
9898 Info-isearch-initial-history and Info-isearch-initial-history-list.
9899 Add Info-isearch-end to isearch-mode-end-hook.
9900 (Info-isearch-end): New function.
9902 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9904 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9905 format string, in order to work around a bug in pdksh.
9906 Reported by Gilles Pion <gpion@lfdj.com>.
9907 (tramp-handle-verify-visited-file-modtime): Do not send a command
9908 when the connection is not established.
9909 (tramp-handle-set-file-times): Simplify the check for utc.
9911 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9913 Fix use of `filter-buffer-substring' (rework previous change).
9914 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9915 (cua-repeat-replace-region):
9916 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9917 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9918 (cua-cut-region-to-global-mark): Use it.
9920 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9922 * progmodes/sql.el: Version 2.1.
9923 (sql-product-alist): Redesign structure of product info.
9924 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9925 (sql-port, sql-port-history): New variables.
9926 (sql-interactive-product): New variable.
9927 (sql-send-terminator): New variable.
9928 (sql-imenu-generic-expression): Add "Types" imenu entry.
9929 (sql-oracle-login-params, sql-sqlite-login-params)
9930 (sql-mysql-login-params, sql-solid-login-params)
9931 (sql-sybase-login-params, sql-informix-login-params)
9932 (sql-ingres-login-params, sql-ms-login-params)
9933 (sql-postgres-login-params, sql-interbase-login-params)
9934 (sql-db2-login-params, sql-linter-login-params)
9935 (sql-oracle-scan-on): New variables.
9936 (sql-mode-map): Add C-c C-i to start interactive mode.
9937 (sql-mode-menu): Update existing menu entries.
9938 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9939 (sql-mode-oracle-font-lock-keywords)
9940 (sql-mode-postgres-font-lock-keywords)
9941 (sql-mode-ms-font-lock-keywords)
9942 (sql-mode-sybase-font-lock-keywords)
9943 (sql-mode-informix-font-lock-keywords)
9944 (sql-mode-interbase-font-lock-keywords)
9945 (sql-mode-ingres-font-lock-keywords)
9946 (sql-mode-solid-font-lock-keywords)
9947 (sql-mode-mysql-font-lock-keywords)
9948 (sql-mode-sqlite-font-lock-keywords)
9949 (sql-mode-db2-font-lock-keywords)
9950 (sql-mode-linter-font-lock-keywords): Update initialization to
9951 reduce run-time complexity.
9952 (sql-add-product, sql-del-product): New functions.
9953 (sql-set-product-feature, sql-get-product-feature): New functions.
9954 (sql-product-font-lock): Update product API.
9955 (sql-add-product-keywords): New function.
9956 (sql-highlight-product): Update product API.
9957 (sql-help-list-products): New function.
9958 (sql-help): Dynamically lists free and non-free products.
9959 (sql-get-login): Correct bug in handling history and added
9961 (sql-copy-column): Copy without properties.
9962 (sqli-input-sender): Apply filters to SQLi input.
9963 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9964 Implement as a filter.
9965 (sql-escape-newlines-filter): Implement as a filter.
9966 (sql-remove-tabs-filter): New function.
9967 (sql-send-magic-terminator): New function.
9968 (sql-send-string): Implement magic terminator.
9969 (sql-send-region): Use `sql-send-string'.
9970 (sql-interactive-mode): Use product API.
9971 (sql-product-interactive): Use product API.
9972 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9973 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9974 (sql-db2, sql-linter): Use `sql-product-interactive'.
9975 (sql-connect): New function.
9976 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9977 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9978 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9979 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9982 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9984 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9985 New custom variable.
9986 (completion-pcm--string->pattern): Use it.
9987 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9988 Make it handle any symbol as `any'.
9989 (completion-pcm--merge-completions): Extract common suffix for the new
9990 `prefix' symbol as well.
9991 (completion-substring--all-completions): Use the new `prefix' symbol.
9993 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9995 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9997 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9998 (tramp-compat-funcall): New defmacro.
9999 (tramp-compat-line-beginning-position)
10000 (tramp-compat-line-end-position)
10001 (tramp-compat-temporary-file-directory)
10002 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10003 (tramp-compat-copy-file, tramp-compat-copy-directory)
10004 (tramp-compat-delete-file, tramp-compat-delete-directory)
10005 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10006 * net/tramp.el (top, with-progress-reporter)
10007 (tramp-rfn-eshadow-setup-minibuffer)
10008 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10009 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10010 (tramp-completion-mode-p, tramp-check-for-regexp)
10011 (tramp-open-connection-setup-interactive-shell)
10012 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10013 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10014 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10015 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10016 (tramp-reporter-dump-variable, tramp-load-report-modules)
10017 (tramp-append-tramp-buffers)
10018 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10020 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10022 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10024 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10025 buffer-modtime. Adjust users.
10027 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10029 * international/mule.el (auto-coding-alist): Only purecopy
10030 car of each item, not the whole list (Bug#6083).
10032 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10034 * progmodes/js.el (js-mode): Make paragraph variables local before
10035 calling c-setup-paragraph-variables (Bug#6071).
10037 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10039 * composite.el (compose-region, reference-point-alist): Fix typos
10040 in the doc strings.
10042 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10044 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10045 gnuplot's "set" command.
10047 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10049 * abbrev.el (last-abbrev-text): Doc fix.
10050 (abbrev-prefix-mark): Don't escape parenthesis.
10052 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10054 * composite.el (find-composition): Doc fix.
10056 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10058 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10059 (sql-oracle-program, sql-sqlite-options)
10060 (sql-query-placeholders-and-send): Doc fixes.
10061 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10062 (sql-imenu-generic-expression, sql-buffer)
10063 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10064 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10065 (sql-mode-sybase-font-lock-keywords)
10066 (sql-mode-informix-font-lock-keywords)
10067 (sql-mode-interbase-font-lock-keywords)
10068 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10069 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10070 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10071 (sql-product-feature, sql-highlight-product)
10072 (comint-line-beginning-position, sql-rename-buffer)
10073 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10074 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10075 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10076 Fix typos in docstrings.
10078 2010-05-08 Juri Linkov <juri@jurta.org>
10080 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10081 property instead of `invisible' and `after-string' (bug#5998).
10083 2010-05-08 Juri Linkov <juri@jurta.org>
10085 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10087 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10089 * filecache.el (file-cache-add-directory-list)
10090 (file-cache-add-directory-recursively): Fix typos in docstrings.
10092 2010-05-08 Kenichi Handa <handa@m17n.org>
10094 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10095 (gujarati-composable-pattern): Fix typo.
10097 2010-05-08 Kenichi Handa <handa@m17n.org>
10099 * language/indian.el (oriya-composable-pattern)
10100 (tamil-composable-pattern, malayalam-composable-pattern):
10101 Add two-part vowels to "v" (vowel sign).
10103 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10105 * files.el (copy-directory): Handle symlinks (Bug#5982).
10107 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10109 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10110 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10113 2010-05-08 Glenn Morris <rgm@gnu.org>
10115 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10117 * minibuffer.el (completion-at-point): Doc fix.
10119 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10121 * electric.el (Electric-command-loop): Minor tweak.
10123 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10124 better with dedicated windows.
10126 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10128 * Version 23.2 released.
10130 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10131 Stefan Monnier <monnier@iro.umontreal.ca>
10133 Highlight vendor specific properties.
10134 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10135 (css-proprietary-property): New face.
10136 (css-font-lock-keywords): Use them.
10138 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10140 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10142 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10145 * files.el (auto-mode-alist): Remove redundant entries.
10147 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10148 * simple.el (auto-save-mode): Move from files.el.
10149 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10151 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10153 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10155 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10157 * mail/binhex.el (binhex-decode-region-internal)
10158 * mail/uudecode.el (uudecode-decode-region-internal)
10159 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10160 (dns-read-type, dns-query)
10161 * pgg-parse.el (pgg-parse-armor)
10162 * pgg.el (pgg-verify-region)
10163 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10166 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10168 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10170 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10172 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10173 * emulation/cua-base.el (cua-repeat-replace-region):
10174 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10175 (cua-cut-region-to-global-mark):
10176 Remove text properties with `set-text-properties'.
10178 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10180 * net/tramp.el (top, with-progress-reporter):
10181 Use `symbol-function' inside `funcall'.
10183 * net/tramp-compat.el (tramp-compat-file-attributes)
10184 (tramp-compat-delete-file, tramp-compat-delete-directory):
10185 Handle only `wrong-number-of-arguments' error.
10187 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10188 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10191 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10193 * minibuffer.el (completion--sreverse, completion--common-suffix):
10195 (completion-pcm--merge-completions): Extract common suffix when safe.
10197 * emacs-lisp/easy-mmode.el (define-minor-mode):
10198 Make :variable more flexible.
10199 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10201 2010-05-05 Juri Linkov <juri@jurta.org>
10203 Add `slow' and `history' tags to the desktop data.
10205 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10206 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10207 (Info-finder-find-node): Require `finder.el' to be able
10208 to restore node from the desktop.
10209 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10210 data `Info-history' and `slow' tag in the assoc list.
10211 (Info-restore-desktop-buffer): Don't restore nodes with the
10212 `slow' tag. Restore `Info-history'.
10214 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10216 Add FORCE argument to `delete-file'.
10218 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10219 forcing to delete the temporary file.
10220 (ange-ftp-delete-file): Add FORCE arg.
10221 (ange-ftp-rename-remote-to-remote)
10222 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10223 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10224 Force file deletion.
10226 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10228 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10229 (tramp-handle-make-symbolic-link, tramp-handle-load)
10230 (tramp-do-copy-or-rename-file-via-buffer)
10231 (tramp-do-copy-or-rename-file-directly)
10232 (tramp-do-copy-or-rename-file-out-of-band)
10233 (tramp-handle-process-file, tramp-handle-call-process-region)
10234 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10235 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10236 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10238 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10239 (tramp-fish-handle-make-symbolic-link)
10240 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10242 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10243 Use `tramp-compat-delete-file'.
10245 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10246 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10248 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10249 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10251 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10252 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10253 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10254 Use `tramp-compat-delete-file'.
10256 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10259 * subr.el (add-minor-mode): Use push.
10260 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10261 * emulation/edt.el (edt-select-mode): Simplify.
10263 Use define-minor-mode in more cases.
10264 * term/tvi970.el (tvi970-set-keypad-mode):
10265 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10266 (normal-erase-is-backspace-mode):
10267 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10268 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10269 (get-scroll-bar-mode): New function.
10270 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10272 Use define-minor-mode for less obvious cases.
10273 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10274 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10275 * international/iso-ascii.el (iso-ascii-mode):
10276 * frame.el (auto-raise-mode, auto-lower-mode):
10277 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10279 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10281 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10282 in order to see error messages for failed logins.
10284 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10286 * diff.el (diff-sentinel):
10288 * epg.el (epg--make-temp-file, epg-decrypt-string)
10289 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10291 * jka-compr.el (jka-compr-partial-uncompress)
10292 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10294 * server.el (server-sentinel): Use delete-file's new FORCE arg
10297 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10299 Use define-minor-mode where applicable.
10300 * view.el (view-mode):
10301 * type-break.el (type-break-query-mode)
10302 (type-break-mode-line-message-mode):
10303 * textmodes/reftex.el (reftex-mode):
10304 * term/vt100.el (vt100-wide-mode):
10305 * tar-mode.el (tar-subfile-mode):
10306 * savehist.el (savehist-mode):
10307 * ibuf-ext.el (ibuffer-auto-mode):
10308 * composite.el (auto-composition-mode):
10309 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10310 Use define-minor-mode.
10311 (vhdl-mode): Use static mode-line format.
10312 (vhdl-mode-line-update): Delete.
10313 (vhdl-create-mode-menu, vhdl-activate-customizations)
10314 (vhdl-hs-minor-mode): Don't bother calling it.
10316 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10318 * simple.el (with-wrapper-hook): Move.
10319 (buffer-substring-filters): Mark obsolete.
10320 (filter-buffer-substring-functions): New variable.
10321 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10323 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10324 Michael Albinus <michael.albinus@gmx.de>
10326 Implement compression for inline methods.
10328 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10329 (tramp-copy-size-limit): Allow also nil.
10330 (tramp-inline-compress-commands): New defconst.
10331 (tramp-find-inline-compress, tramp-get-inline-compress)
10332 (tramp-get-inline-coding): New defuns.
10333 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10334 replaced by `tramp-get-inline-coding'.
10335 (tramp-handle-file-local-copy, tramp-handle-write-region)
10336 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10338 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10340 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10341 Remove unused functions.
10343 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10344 Set find-tag-default-function as a variable rather than a property.
10346 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10347 * progmodes/etags.el (tags-completion-at-point-function):
10348 Remove left over interactive spec. Add autoloading stub.
10349 (complete-tag): Use tags-completion-at-point-function.
10351 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10353 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10355 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10357 * ido.el (ido-init-completion-maps): Remove C-v binding.
10358 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10360 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10362 * minibuffer.el (tags-completion-at-point-function): New function.
10363 (completion-at-point-functions): Use it.
10365 * progmodes/etags.el (complete-tag): Revert last change.
10367 2010-04-29 Alan Mackenzie <acm@muc.de>
10369 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10370 off-by-one error (in end of macro position).
10372 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10374 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10375 firefox is absent. Don't autoload.
10376 (browse-url-galeon-program): Don't autoload.
10378 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10380 * bindings.el (complete-symbol): Move into minibuffer.el.
10382 * minibuffer.el (complete-tag): Move from etags.el. If tags
10383 completion cannot be performed, return nil instead of signalling
10385 (completion-at-point): Make it an alias for complete-symbol.
10386 (complete-symbol): Move from bindings.el, and replace with the
10387 body of completion-at-point.
10389 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10391 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10393 * net/tramp.el (tramp-remote-selinux-p): New defun.
10394 (tramp-handle-file-selinux-context)
10395 (tramp-handle-set-file-selinux-context): Use it.
10397 2010-04-28 Sam Steingold <sds@gnu.org>
10399 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10400 `safe-local-variable' if the value is a string or a symbol with
10401 the property `bug-reference-url-format'.
10403 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10405 * progmodes/bug-reference.el (bug-reference-url-format):
10406 Revert 2010-04-27 change due to security risk.
10408 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10410 Make it possible to locally disable a globally enabled mode.
10411 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10412 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10413 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10414 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10415 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10416 that subsequent hooks get a chance to disable it.
10418 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10420 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10421 Avoid re-enabling a minor mode after the user turned the minor mode
10422 off if MODE-enable-in-buffers is run twice (typically once from
10423 fundamental-mode's after-change-major-mode-hook and a second time from
10424 run-mode-hook's own after-change-major-mode-hook).
10426 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10428 2010-04-27 Sam Steingold <sds@gnu.org>
10430 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10431 `safe-local-variable' if the value is a string or a function, as
10432 documented and implemented on 2010-04-02.
10434 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10436 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10437 when method is 'kill.
10439 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10441 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10442 condition in default directory check.
10443 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10444 Kill ispell process when killing its associated buffer.
10446 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10448 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10449 but we aren't using it.
10451 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10453 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10454 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10456 2010-04-24 Glenn Morris <rgm@gnu.org>
10458 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10459 Ignore VCS-ignore files, and deleted nextstep preferences files.
10460 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10461 (authors-ambiguous-files): New list.
10462 (authors-valid-file-names): Add some deleted files.
10463 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10464 (authors-disambiguate-file-name): New function. (Bug#5501)
10465 (authors-canonical-file-name): Doc fix.
10466 Don't warn about obsolete files.
10467 (authors-canonical-file-name, authors-scan-el):
10468 Use authors-disambiguate-file-name.
10470 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10471 Add autoload cookies.
10472 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10473 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10474 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10475 They have definitions / compiler macros in cl.el.
10476 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10477 Replace manual autoloads with generated ones.
10478 (htmlfontify-unload-rgb-file): Remove autoload.
10479 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10481 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10483 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10484 (byte-compile-setq-default): Optimize for the
10485 single-var case and don't call byte-compile-form in this case to avoid
10486 inf-loop with byte-compile-set-default.
10488 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10490 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10492 Implement SELINUX backends.
10494 * net/tramp.el (tramp-file-name-handler-alist):
10495 Add `file-selinux-context' and `set-file-selinux-context'.
10496 (tramp-handle-file-selinux-context)
10497 (tramp-handle-set-file-selinux-context): New defuns.
10498 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10499 Handle PRESERVE-SELINUX-CONTEXT.
10501 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10502 Add `file-selinux-context' and `set-file-selinux-context'.
10503 (tramp-gvfs-handle-file-selinux-context)
10504 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10505 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10507 * net/ange-ftp.el (ange-ftp-copy-file):
10508 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10509 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10510 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10511 Add PRESERVE-SELINUX-CONTEXT.
10513 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10515 Synchronize with Tramp repository.
10517 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10518 (tramp-action-process-alive, tramp-action-out-of-band)
10519 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10520 (tramp-exists-file-name-handler): Fix docstring.
10521 (with-progress-reporter): New defmacro.
10522 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10523 (tramp-maybe-open-connection): Use it.
10525 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10527 Detect ssh 'ControlMaster' argument automatically in some cases.
10529 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10530 (tramp-default-method): Use it.
10532 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10534 * net/tramp.el (tramp-handle-copy-file): Add new optional
10535 parameter `preserve-selinux-context'.
10536 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10538 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10540 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10541 Ensure, that non remote files are still checked. Oops.
10543 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10547 * icomplete.el (icomplete-completions): Use `non-essential'.
10549 * net/tramp.el (tramp-connectable-p): New defun.
10550 (tramp-handle-expand-file-name)
10551 (tramp-completion-handle-file-name-all-completions)
10552 (tramp-completion-handle-file-name-completion): Use it.
10554 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10556 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10558 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10560 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10562 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10564 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10567 * info.el (info-tool-bar-map): Add labels.
10569 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10571 * cus-edit.el (custom-commands): Add labels for tool bar.
10572 (custom-buffer-create-internal, Custom-mode): Adjust for
10573 labels in custom-commands.
10575 * dynamic-setting.el: Renamed from font-setting.el.
10577 2010-04-21 John Wiegley <jwiegley@gmail.com>
10579 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10580 toggles the use of virtual buffers.
10581 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10582 (ido-toggle-virtual-buffers): New function.
10584 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10586 Use `define-derived-mode'; fix window selection; doc fixes.
10587 * play/tetris.el (tetris, tetris-update-speed-function)
10588 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10589 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10590 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10591 (tetris-pause-game): Fix typos in docstrings.
10592 (tetris-mode-map, tetris-null-map):
10593 Move initialization into declaration.
10594 (tetris-mode): Define with `define-derived-mode';
10595 set show-trailing-whitespace to nil.
10596 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10598 2010-04-21 Karel Klíč <kklic@redhat.com>
10600 * files.el (backup-buffer): Handle SELinux context, and return it
10601 if a backup was made by renaming.
10602 (backup-buffer-copy): Set SELinux context to the target file.
10603 (basic-save-buffer): Set SELinux context of the newly written file.
10604 (basic-save-buffer-1): Now it also returns any SELinux context.
10605 (basic-save-buffer-2): Set SELinux context of the newly created file,
10607 * net/tramp.el (tramp-file-name-for-operation):
10608 Add file-selinux-context.
10610 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10612 Make the log-edit comments use RFC822 format throughout.
10614 * vc.el (vc-checkin, vc-modify-change-comment):
10615 Adjust to new vc-start/finish-logentry.
10616 (vc-find-conflicted-file): New command.
10617 (vc-transfer-file): Adjust to new vc-checkin.
10618 (vc-next-action): Improve scoping.
10620 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10621 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10623 * vc-git.el (vc-git-log-edit-mode): Remove.
10624 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10625 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10627 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10628 (vc-start-logentry): Remove argument `extra'.
10629 (vc-finish-logentry): Remove extra args.
10631 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10632 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10633 (vc-bzr-conflicted-files): New function.
10635 * log-edit.el (log-edit-extra-flags)
10636 (log-edit-before-checkin-process): Remove.
10637 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10638 (log-edit-headers-alist): New var.
10639 (log-edit-header-contents-regexp): New const.
10640 (log-edit-match-to-eoh): New function.
10641 (log-edit-font-lock-keywords): Use them.
10642 (log-edit): Insert a "Summary:" header as default.
10643 (log-edit-mode): Mark font-lock rules as case-insensitive.
10644 (log-edit-done): Cleanup headers.
10645 (log-view-process-buffer): Remove.
10646 (log-edit-extract-headers): New function to replace it.
10648 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10650 * subr.el (default-direction-reversed): Remove obsolescence info.
10652 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10654 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10657 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10658 I.e. include text after point in the completion region.
10659 Also, return nil when we're not after/in a symbol.
10661 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10662 default enable-multibyte-characters.
10664 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10666 * international/mule.el: Help the user choose a valid coding-system.
10667 (read-buffer-file-coding-system): New function.
10668 (set-buffer-file-coding-system): Use it. Prompt the user if the
10669 coding-system cannot encode all the chars.
10671 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10672 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10673 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10674 Don't use *vc-bzr-shelve*.
10676 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10678 Fix the version number for added files.
10679 * vc-hg.el (vc-hg-working-revision): Check if the file is
10680 registered after hg parent fails (Bug#5961).
10682 2010-04-19 Glenn Morris <rgm@gnu.org>
10684 * htmlfontify.el (htmlfontify-buffer)
10685 (htmlfontify-copy-and-link-dir): Autoload entry points.
10687 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10689 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10690 name relative to the project root (Bug#5960).
10692 2010-04-19 Glenn Morris <rgm@gnu.org>
10694 * vc-git.el (vc-git-print-log): Doc fix.
10696 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10698 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10700 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10702 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10703 default settings (Bug#5928).
10705 2010-04-19 Glenn Morris <rgm@gnu.org>
10707 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10709 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10711 2010-04-19 Kenichi Handa <handa@m17n.org>
10713 * language/indian.el (malayalam-composable-pattern): Fix previous
10714 change (add U+0D4D "SIGN VIRAMA").
10715 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10716 (tamil-composable-pattern): Fix typo in the regexp.
10717 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10718 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10719 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10721 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10723 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10724 paragraph-separate (Bug#5821).
10726 2010-04-19 Juri Linkov <juri@jurta.org>
10728 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10730 * info.el (Info-find-node-2): Comment out code that skips
10732 (Info-mouse-follow-link): New command.
10733 (Info-link-keymap): New keymap.
10734 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10735 Return a string with links instead of inserting breadcrumbs
10736 to the Info buffer.
10737 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10738 Instead of putting the `invisible' text property over the Info
10739 header, make an overlay over the Info header with the `invisible'
10740 property and `after-string' set to the string returned by
10741 `Info-breadcrumbs'.
10743 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10745 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10746 Reported by monkey@sandpframing.com.
10748 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10750 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10751 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10752 available in the "keyseq cache" any more.
10754 * custom.el (defcustom): Add edebug spec.
10756 2010-04-18 Juri Linkov <juri@jurta.org>
10758 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10760 * view.el (view-file, view-buffer): Move test for special mode-class
10761 from view-file to view-buffer.
10763 * tar-mode.el (tar-extract): Turn if's into one cond
10764 like in arc-mode.el.
10766 2010-04-18 Juri Linkov <juri@jurta.org>
10768 Add 7z archive format support (bug#5475).
10770 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10771 (archive-7z-extract): New defcustom.
10772 (archive-find-type): Add magic string for 7z.
10773 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10774 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10775 `buffer' arg of `call-process'.
10776 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10777 call the function `archive-7z-extract' with the variable
10778 `archive-7z-extract' let-bound to `archive-zip-extract'.
10779 (archive-7z-summarize, archive-7z-extract): New functions.
10781 * international/mule.el (auto-coding-alist):
10782 * files.el (auto-mode-alist): Add 7z file extension.
10784 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10786 * loadup.el: Setup hash-cons for pure data.
10788 Fix duplicate entries in cedet's loaddefs.el files.
10789 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10790 Should make most file-local generated-autoload-file unnecessary.
10791 (print-readably): Silence warnings.
10792 (autoload-find-destination): Take load-name as an arg to make sure
10793 it's the same as the one that will be in the file.
10794 (autoload-generate-file-autoloads): Adjust to above changes.
10795 Try to make the dataflow a bit simpler.
10797 * cvs-status.el (cvs-refontify): Remove unused.
10799 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10801 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10803 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10804 twos-complement mode.
10806 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10808 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10809 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10810 (calc-inverse): Add "Option" to message, as appropriate.
10811 (calc-hyperbolic): Add "Option" to message, as appropriate.
10812 (calc-option, calc-is-option): New functions.
10814 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10815 (calc-option-prefix-help): New function.
10817 * calc/calc-misc.el (calc-help): Add "Option" entry.
10819 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10820 (calc-option-flag): New variable.
10821 (calc-do): Set `calc-option-flag to nil.
10822 (calc-set-mode-line): Add "Opt " as appropriate.
10824 2010-04-16 Juri Linkov <juri@jurta.org>
10826 Move scrolling commands from simple.el to window.el
10827 because their primitives are implemented in window.c.
10829 * simple.el (scroll-error-top-bottom)
10830 (scroll-up-command, scroll-down-command, scroll-up-line)
10831 (scroll-down-line, scroll-other-window-down)
10832 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10833 * window.el (scroll-error-top-bottom)
10834 (scroll-up-command, scroll-down-command, scroll-up-line)
10835 (scroll-down-line, scroll-other-window-down)
10836 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10837 Move from simple.el to window.el because their primitives are
10838 implemented in window.c.
10840 2010-04-16 Juri Linkov <juri@jurta.org>
10842 * isearch.el (isearch-lookup-scroll-key): Check both
10843 `isearch-scroll' and `scroll-command' properties.
10844 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10846 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10848 * simple.el (scroll-up-command, scroll-down-command)
10849 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10851 2010-04-15 Juri Linkov <juri@jurta.org>
10853 * simple.el (scroll-up-command, scroll-down-command)
10854 (scroll-up-line, scroll-down-line): Put `scroll-command'
10855 property on the these symbols. Remove them from
10856 `scroll-preserve-screen-position-commands'.
10858 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10859 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10860 Remove it from `scroll-preserve-screen-position-commands'.
10862 * isearch.el (isearch-allow-scroll): Doc fix.
10864 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10866 * net/tramp.el (tramp-error-with-buffer): Don't show the
10867 connection buffer when we are in completion mode.
10868 (tramp-file-name-handler): Catch the error for some operations
10869 when we are in completion mode. This gives the user the chance to
10870 correct the file name in the minibuffer.
10872 2010-04-15 Glenn Morris <rgm@gnu.org>
10874 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10876 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10878 Simplify by using `define-derived-mode'.
10879 * info.el (Info-mode):
10880 * calendar/todo-mode.el (todo-mode):
10881 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10882 (gomoku-mode-map): Move initialization into declaration.
10884 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10887 * ido.el (ido-file-name-all-completions-1):
10888 * minibuffer.el (minibuffer-completion-help):
10889 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10891 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10893 * simple.el (non-essential): New var.
10895 Add a new field `location' to bookmarks for non-file bookmarks.
10896 * bookmark.el (bookmark-location): Use the new field, if present.
10897 (bookmark-insert-location): Undo last change, not needed any more.
10898 * man.el (Man-bookmark-make-record):
10899 * woman.el (woman-bookmark-make-record): Add `location' field.
10901 2010-04-14 Juri Linkov <juri@jurta.org>
10903 * simple.el (scroll-error-top-bottom): New defcustom.
10904 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10906 * emulation/pc-select.el (pc-select-override-scroll-error):
10907 Obsolete in favor of `scroll-error-top-bottom'.
10909 2010-04-14 Juri Linkov <juri@jurta.org>
10911 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10912 `scroll-up-command' and `M-v' to `scroll-down-command'.
10914 * emulation/cua-rect.el (cua--init-rectangles):
10915 * forms.el (forms--change-commands):
10916 * image-mode.el (image-mode-map):
10917 Remap scroll-down-command and scroll-up-command
10918 in addition to scroll-down and scroll-up.
10920 2010-04-14 Juri Linkov <juri@jurta.org>
10922 * mwheel.el (scroll-preserve-screen-position-commands):
10923 Add mwheel-scroll to this list of commands.
10925 * simple.el (scroll-preserve-screen-position-commands):
10926 Add scroll-up-command, scroll-down-command, scroll-up-line,
10927 scroll-down-line to this list of commands.
10929 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10931 * obsolete/complete.el: Move from lisp/complete.el.
10933 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10935 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10936 to the minor mode function now turns the mode ON unconditionally.
10938 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10940 * vc-dir.el (vc-dir-kill-line): New command.
10941 (vc-dir-mode-map): Bind it to C-k.
10943 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10945 * woman.el: Add bookmark declarations to silence the compiler.
10946 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10947 step to compatibility between man and woman bookmarks.
10948 Adjust for Man-default-bookmark-title renaming.
10949 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10951 * man.el: Add bookmark declarations to silence the compiler.
10952 (Man-name-local-regexp): Make it match NAME as well.
10953 (Man-getpage-in-background): Return the buffer.
10954 (Man-notify-when-ready): Use `case'.
10955 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10956 Don't hardcode "NAME". Simplify.
10957 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10958 Rename from Man-bookmark-make-record.
10959 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10960 we have the actual man-args. Use Man-getpage-in-background rather
10961 than `man' since the arg is already processed. Let bookmark.el do the
10962 window handling. Only wait for the relevant process.
10963 Don't forget to autoload.
10965 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10967 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10969 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10971 (woman-mode): Setup bookmark support.
10973 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10974 (man-bookmark-jump): New functions.
10975 (Man-mode): Setup bookmark support.
10977 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10979 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10980 recognize ssh-keygen prompt (Bug#2817).
10982 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10984 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10986 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10988 Synchronize with Tramp repository.
10990 * net/tramp.el (tramp-completion-function-alist)
10991 (tramp-file-name-regexp, tramp-chunksize)
10992 (tramp-local-coding-commands, tramp-remote-coding-commands):
10994 (tramp-remote-process-environment): Use `format' instead of `concat'.
10995 (tramp-handle-directory-files-and-attributes)
10996 (tramp-get-remote-path): Use `copy-tree'.
10997 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10998 compatibility: Use `completion-ignore-case' if
10999 `read-file-name-completion-ignore-case' does not exist.
11000 (tramp-do-copy-or-rename-file-directly): Do not use
11001 `tramp-handle-file-remote-p'.
11002 (tramp-do-copy-or-rename-file-out-of-band):
11003 Use `tramp-compat-delete-directory'.
11004 (tramp-do-copy-or-rename-file-out-of-band)
11005 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11006 Use `format-spec-make'.
11007 (tramp-find-foreign-file-name-handler)
11008 (tramp-advice-make-auto-save-file-name)
11009 (tramp-set-auto-save-file-modes): Remove superfluous check for
11010 `stringp'. This is done inside `tramp-tramp-file-p'.
11011 (tramp-debug-outline-regexp): New defconst.
11012 (tramp-get-debug-buffer): Use it.
11013 (tramp-check-for-regexp): Use (forward-line 1).
11014 (tramp-set-auto-save-file-modes): Adapt version check.
11016 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11017 Wrap call of `featurep' for 2nd argument.
11018 (tramp-compat-make-temp-file): Simplify fallback implementation.
11019 (tramp-compat-copy-tree): Remove function.
11020 (tramp-compat-delete-directory): Provide implementation for older
11023 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11024 Do not use `tramp-fish-handle-file-attributes.
11026 * net/trampver.el: Update release number.
11028 2010-04-10 Glenn Morris <rgm@gnu.org>
11030 * progmodes/compile.el (compilation-save-buffers-predicate):
11031 Add missing :version tag.
11033 2010-04-09 Sam Steingold <sds@gnu.org>
11035 * progmodes/compile.el (compilation-save-buffers-predicate):
11036 Remove the "autoload" cookie.
11038 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11039 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11040 and `bug-reference-prog-mode' can be used in hooks directly.
11042 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11044 Add --author support to git commit.
11045 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11046 (vc-git-log-edit-mode): New minor mode.
11047 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11050 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11052 * vc-hooks.el, vc-git.el: Improve documentation comments.
11054 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11056 Fix some of the problems in defsubst* (bug#5728).
11057 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11058 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11060 2010-04-07 Sam Steingold <sds@gnu.org>
11062 * progmodes/compile.el (compilation-save-buffers-predicate):
11063 New custom variable.
11064 (compile, recompile): Pass it to `save-some-buffers'.
11066 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11068 * wid-edit.el (widget-choose): Move cursor to the second line of
11069 the buffer (Bug#5695).
11071 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11073 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11074 * vc.el (vc-print-log-setup-buttons): New function split out from
11075 vc-print-log-internal.
11076 (vc-log-internal-common): New function, a parametrized version of
11077 vc-print-log-internal.
11078 (vc-print-log-internal): Just call vc-log-internal-common with the
11080 (vc-incoming-outgoing-internal):
11081 (vc-log-incoming, vc-log-outgoing): New functions.
11082 (vc-log-view-type): New permanent local variable.
11084 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11086 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11087 of the dynamic bound vc-short-log.
11088 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11090 * vc-git.el (vc-git-log-outgoing): New function.
11091 (vc-git-log-view-mode): Use vc-log-view-type instead
11092 of the dynamic bound vc-short-log.
11094 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11095 of the dynamic bound vc-short-log. Highlight the tag.
11096 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11097 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11098 (vc-hg-incoming-mode): Remove.
11099 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11101 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11103 Fix default-directory for vc-root-diff.
11104 * vc.el (vc-root-diff): Bind default-directory to the root
11105 directory for the diff command.
11107 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11109 * progmodes/verilog-mode.el (verilog-forward-sexp):
11110 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11111 word keywords, suggested by Steve Pearlmutter.
11112 (verilog-pretty-declarations): Support lineup of declarations in
11114 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11115 fix bug for /* / comments.
11116 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11117 Speed up and simplfy as this is never called with a bound.
11118 (verilog-pretty-declarations): Enhance to line up declarations
11119 inside a parameter list, suggested by Alan Morgan.
11120 (verilog-pretty-expr): Tune assignment regular expression match
11121 string for corner cases; also use markers instead of character
11122 number as indent changes the later.
11124 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11126 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11127 as missing keyword.
11128 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11129 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11130 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11131 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11133 (verilog-keywords):
11134 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11135 1800-2009 keywords, including "global.".
11137 2010-04-06 John Wiegley <jwiegley@gmail.com>
11139 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11140 appearing in buffer list (if a live buffer name matched a recentf
11141 file basename). Should use uniquify to offer a real solution.
11143 2010-04-06 John Wiegley <jwiegley@gmail.com>
11145 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11146 comment to code, and add a :version tag.
11147 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11149 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11151 Enable recentf-mode if using virtual buffers.
11152 * ido.el (recentf-list): Declare for byte-compiler.
11153 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11154 (ido-make-buffer-list): Simplify.
11155 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11157 2010-04-05 Juri Linkov <juri@jurta.org>
11159 Scrolling commands which scroll a line instead of full screen.
11160 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11162 * simple.el (scroll-up-line, scroll-down-line): New commands.
11163 Put property isearch-scroll=t on them.
11165 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11168 2010-04-05 Juri Linkov <juri@jurta.org>
11170 Scrolling commands which do not signal errors at top/bottom.
11171 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11173 * simple.el (scroll-up-command, scroll-down-command): New commands.
11174 Put property isearch-scroll=t on them.
11176 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11177 `scroll-down-command' and [next] from `scroll-up' to
11178 `scroll-up-command'.
11180 * emulation/cua-base.el: Put property CUA=move on
11181 `scroll-up-command' and `scroll-down-command'.
11182 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11183 and `scroll-down-command' to `cua-scroll-down'.
11185 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11187 * help.el (describe-mode): Return nil.
11189 2010-04-04 John Wiegley <jwiegley@gmail.com>
11191 * ido.el (ido-use-virtual-buffers): New variable to indicate
11192 whether "virtual buffer" support is enabled for IDO.
11193 (ido-virtual): Face used to indicate virtual buffers in the list.
11194 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11195 exists, but a virtual buffer of that name does (which would be why
11196 it was in the list), recreate the buffer by reopening the file.
11197 (ido-make-buffer-list): If virtual buffers are being used, call
11198 `ido-add-virtual-buffers-to-list' before the make list hook.
11199 (ido-virtual-buffers): New variable which contains a copy of the
11200 current contents of the `recentf-list', albeit pared down for the
11201 sake of speed, and with proper faces applied.
11202 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11203 create a list of "virtual buffers" to present to the user in
11204 addition to the currently open set. Note that this logic could
11205 get rather slow if that list is too large. With the default
11206 `recentf-max-saved-items' of 200, there is little speed penalty.
11208 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11210 * font-lock.el: Require CL when compiling.
11211 (font-lock-turn-on-thing-lock): Use `case'.
11213 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11215 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11218 2010-04-02 Juri Linkov <juri@jurta.org>
11220 * ehelp.el (electric-help-orig-major-mode):
11221 New buffer-local variable.
11222 (electric-help-mode): Set it to original major-mode. Doc fix.
11223 (with-electric-help): Use `electric-help-orig-major-mode' instead
11224 of (default-value 'major-mode). Doc fix.
11225 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11227 2010-04-02 Sam Steingold <sds@gnu.org>
11229 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11230 `vc-hg-command' with a list of flags.
11232 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11233 Also accept "patch" and "RFE".
11234 (bug-reference-fontify): `bug-reference-url-format' can also be a
11235 function to be able to handle the bug kind.
11236 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11238 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11240 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11241 value to fboundp, it may not be a symbol.
11243 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11245 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11247 2010-03-31 Juri Linkov <juri@jurta.org>
11249 * simple.el (next-line, previous-line): Re-throw a signal
11250 with `signal' instead of using `ding'.
11251 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11253 2010-03-31 Juri Linkov <juri@jurta.org>
11255 * simple.el (keyboard-escape-quit): Raise deselecting the active
11256 region higher than exiting the minibuffer.
11257 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11259 2010-03-31 Juri Linkov <juri@jurta.org>
11261 * image.el (image-animated-p): Use `image-metadata' instead of
11262 `image-extension-data'. Get GIF extenstion data from metadata
11263 property `extension-data'.
11265 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11267 * simple.el (append-to-buffer): Simplify.
11269 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11271 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11272 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11274 2010-03-31 Kenichi Handa <handa@m17n.org>
11276 * language/sinhala.el (composition-function-table): Fix regexp for
11277 the new Unicode specification.
11279 * language/indian.el (devanagari-composable-pattern)
11280 (tamil-composable-pattern, kannada-composable-pattern)
11281 (malayalam-composable-pattern): Adjust for the new Unicode
11283 (bengali-composable-pattern, gurmukhi-composable-pattern)
11284 (gujarati-composable-pattern, oriya-composable-pattern)
11285 (telugu-composable-pattern): New variables to cope with the new
11286 Unicode specification. Use them in composition-function-table.
11288 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11290 Make tmm-menubar work for the Buffers menu again (bug#5726).
11291 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11292 vectors rather than cons cells, as used in menu-bar-update-buffers.
11294 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11296 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11297 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11298 electric punctuation for "{}();,:" (Bug#5586).
11300 * mail/sendmail.el (mail-default-directory): Doc fix.
11302 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11304 * mail/sendmail.el (mail-default-directory): Doc fix.
11306 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11308 * subr.el (version-regexp-alist, version-to-list)
11309 (version-list-<, version-list-=, version-list-<=)
11310 (version-list-not-zero, version<, version<=, version=): Doc fix.
11313 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11315 * vc.el (vc-root-diff): Doc fix.
11317 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11319 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11321 * simple.el (append-to-buffer): Fix last change.
11323 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11325 * simple.el (append-to-buffer): Ensure that point is preserved if
11326 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11329 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11331 * files.el (auto-mode-case-fold): Change default to t.
11333 2010-03-30 Juri Linkov <juri@jurta.org>
11335 * dired-x.el (dired-omit-mode): Doc fix.
11337 2010-03-30 Juri Linkov <juri@jurta.org>
11339 * replace.el (occur-accumulate-lines): Move occur-engine related
11340 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11341 to be located after `occur-engine'.
11343 2010-03-30 Juri Linkov <juri@jurta.org>
11345 Make occur handle multi-line matches cleanly with context.
11346 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11348 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11349 (occur-engine): Add local variables `ret', `prev-after-lines',
11350 `prev-lines'. Use more arguments for `occur-context-lines'.
11351 Set first elem of its returned list to `data', and the second elem
11352 to `prev-after-lines'. Don't print the separator line.
11353 In the end, print remaining context after-lines.
11354 (occur-context-lines): Add new arguments `begpt', `endpt',
11355 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11356 after-lines of the previous match with before-lines of the
11357 current match and not overlap them. Return a list with two
11358 values: the output line and the list of context after-lines.
11360 2010-03-30 Juri Linkov <juri@jurta.org>
11362 * replace.el (occur-accumulate-lines): Fix a bug where the first
11363 context line at the beginning of the buffer was missing.
11365 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11367 * files.el: Make bidi-display-reordering safe variable for boolean
11370 2010-03-29 Phil Hagelberg <phil@evri.com>
11371 Chong Yidong <cyd@stupidchicken.com>
11373 * subr.el: Extend progress reporters to perform "spinning".
11374 (progress-reporter-update, progress-reporter-do-update):
11375 Handle non-numeric value arguments.
11376 (progress-reporter--pulse-characters): New var.
11378 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11380 * progmodes/compile.el (compilation-start): Fix regexp detection
11381 of initial cd command (Bug#5771).
11383 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11385 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11387 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11389 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11390 * progmodes/gdb-mi.el: Restore.
11391 * progmodes/gdb-ui.el: Remove.
11392 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11394 2010-03-25 Glenn Morris <rgm@gnu.org>
11396 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11397 all dired buffers, even tramp ones. (Bug#5755)
11399 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11401 Add "union tags" in mpc.el.
11402 * mpc.el: Remove backward compatibility code.
11403 (mpc-browser-tags): Change default.
11404 (mpc--find-memoize-union-tags): New var.
11405 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11406 (mpc-cmd-find): Handle the case where the playlist does not exist.
11408 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11409 (mpc-cmd-add): Use mpc-cmd-flush.
11410 (mpc-tagbrowser-tag-name): New fun.
11411 (mpc-tagbrowser-buf): Use it.
11412 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11414 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11417 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11418 Use replace-regexp-in-string.
11419 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11420 (makefile-imake-mode-syntax-table): Move init into defvar.
11421 (makefile-mode): Use define-derived-mode.
11423 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11424 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11425 not be present any more.
11427 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11429 * faces.el (set-face-attribute): Fix typo in docstring.
11430 (face-valid-attribute-values): Reflow docstring.
11432 2010-03-24 Glenn Morris <rgm@gnu.org>
11434 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11436 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11438 * indent.el (indent-for-tab-command): Doc fix.
11440 2010-03-24 Alan Mackenzie <acm@muc.de>
11442 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11443 Fix off-by-one error. Fixes bug #5747.
11445 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11447 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11448 (image-dired-read-comment): Doc fix.
11450 * json.el (json-object-type, json-array-type, json-key-type)
11451 (json-false, json-null, json-read-number):
11452 * minibuffer.el (completion-in-region-functions):
11453 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11454 (cal-tex-cursor-week):
11455 * emacs-lisp/trace.el (trace-function):
11456 * eshell/em-basic.el (eshell/printnl):
11457 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11458 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11459 * obsolete/levents.el (allocate-event, event-key, event-object)
11460 (event-point, event-process, event-timestamp, event-to-character)
11461 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11462 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11463 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11464 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11465 (reftex-highlight-selection): Fix typos in docstrings.
11467 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11469 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11471 2010-03-24 Glenn Morris <rgm@gnu.org>
11473 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11474 2008-02-13 without comment; mark it obsolete.
11475 (rmail-highlight-headers): Use rmail-highlight-face once more.
11477 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11479 * woman.el (woman2-process-escapes): Only consume the newline if
11480 the filler character is on a line by itself (Bug#5729).
11482 2010-03-24 Kenichi Handa <handa@m17n.org>
11484 * language/indian.el (devanagari-composable-pattern): Add more
11487 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11489 * net/trampver.el: Update release number.
11491 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11493 * net/tramp.el (tramp-find-executable):
11494 Use `tramp-get-connection-buffer'. Make the regexp for checking
11495 output of "wc -l" more robust.
11496 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11497 (tramp-open-connection-setup-interactive-shell): Remove workaround
11498 for OpenSolaris bug, it is not needed anymore.
11500 2010-03-24 Glenn Morris <rgm@gnu.org>
11502 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11504 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11506 * files.el (auto-mode-alist): Accept more verilog file patterns.
11508 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11510 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11512 2010-03-24 Glenn Morris <rgm@gnu.org>
11514 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11515 log-edit-before-checkin-process.
11517 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11519 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11521 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11522 (log-view-process-buffer, log-edit-extra-flags): Declare.
11524 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11526 2010-03-23 Sam Steingold <sds@gnu.org>
11528 Fix bug#5620: recalculate all markers on compilation buffer
11529 modifications, not on file modifications.
11530 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11531 variable: the buffer modification time, for buffers not associated with
11533 (compilation-mode): Create it.
11534 (compilation-filter): Update it.
11535 (compilation-next-error-function): Use it instead of
11536 `visited-file-modtime' for timestamp.
11538 2010-03-23 Juri Linkov <juri@jurta.org>
11540 Implement Occur multi-line matches.
11541 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11543 * replace.el (occur): Doc fix.
11544 (occur-engine): Set `begpt' to the beginning of the first line.
11545 Set `endpt' to the end of the last match line. At first, count
11546 line numbers between `origpt' and `begpt'. Split out code from
11547 `out-line' variable to new let-bindings `match-prefix' and
11548 `match-str'. In `out-line' add non-numeric prefix to all
11549 non-first lines of multi-line matches. Finally, count lines
11550 between `begpt' and `endpt' and add to `lines'.
11552 2010-03-23 Juri Linkov <juri@jurta.org>
11554 * replace.el (occur-accumulate-lines, occur-engine):
11555 Use `occur-engine-line' instead of duplicate code.
11556 (occur-engine-line): New function created from duplicate code
11557 in `occur-accumulate-lines' and `occur-engine'.
11559 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11560 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11562 2010-03-23 Juri Linkov <juri@jurta.org>
11564 * finder.el: Remove TODO tasks.
11566 * info.el (Info-finder-find-node): Add node "all"
11567 with all package info. Handle a list of multiple keywords
11568 separated by comma.
11569 (info-finder): In interactive use with a prefix argument,
11570 use `completing-read-multiple' to read a list of keywords
11571 separated by comma.
11573 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11575 Add a new completion style `substring'.
11576 * minibuffer.el (completion-basic--pattern): New function.
11577 (completion-basic-try-completion, completion-basic-all-completions):
11579 (completion-substring--all-completions)
11580 (completion-substring-try-completion)
11581 (completion-substring-all-completions): New functions.
11582 (completion-styles-alist): New style `substring'.
11584 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11586 Get rid of .elc files after removal of the corresponding .el.
11587 * Makefile.in (compile-clean): New target.
11588 (compile-main): Use it.
11590 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11592 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11593 don't do make there. When compiling with separate object dir, there
11594 is no Makefile there.
11596 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11598 Get rid of the ELCFILES abomination, again.
11599 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11600 (all, compile): Don't call compile-last.
11601 (compile-main): Build the "elcfiles" list dynamically.
11602 (compile-targets): New (internal) target.
11604 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11606 * Makefile.in (top_srcdir): Define.
11607 (abs_top_builddir): Define.
11608 (srcdir): Don't append `/..'.
11609 (EMACS): Use ${abs_top_builddir}.
11610 (all, compile, compile-always, compile-last): Don't set emacswd.
11611 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11613 (lisp): Use $(srcdir) instead of @srcdir@.
11615 2010-03-21 Juri Linkov <juri@jurta.org>
11617 Fix message of multi-line occur regexps and multi-buffer header lines.
11618 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11620 * replace.el (occur-1): Don't display regexp if it is longer
11621 than window-width. Use `query-replace-descr' to display regexp.
11622 (occur-engine): Don't display regexp in the buffer header for
11623 multi-buffer occur. Display a separate header line with total
11624 match count and regexp for multi-buffer occur.
11625 Use `query-replace-descr' to display regexp.
11627 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11629 * net/secrets.el: Fix parenthesis.
11630 (secrets-enabled): Fix parenthesis.
11632 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11634 Use more relative file and directory names.
11635 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11636 (setwins, setwins_almost, setwins_for_subdirs):
11637 Don't `cd'; output relative names.
11638 (all, compile, compile-always, compile-last): Set emacswd.
11639 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11640 Just cd to the lisp source dir so we can use relative file names.
11642 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11644 2010-03-20 Glenn Morris <rgm@gnu.org>
11646 * textmodes/rst.el: Use faces for font-lock customization, and make the
11647 old -face variables obsolete.
11648 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11649 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11650 (rst-block-face, rst-external-face, rst-definition-face)
11651 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11652 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11654 (rst-font-lock-keywords-function): Update for above changes.
11656 2010-03-20 Juri Linkov <juri@jurta.org>
11659 * obsolete/s-region.el: Move to obsolete.
11661 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11663 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11665 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11667 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11669 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11671 Add special markup processing for commit logs.
11672 * log-edit.el (log-edit-extra-flags): New variable.
11673 (log-edit): Add new argument MODE. Use that mode when non-nil
11674 instead of the log-view-mode.
11675 (log-view-process-buffer): New function.
11677 * vc.el: Document that the checkin method takes optional
11678 arguments. Document new backend specific method: log-view-mode.
11679 (vc-default-log-edit-mode): New function.
11680 (vc-checkin): Use a backend specific log-view-mode.
11681 Pass extra arguments to the checkin method.
11682 (vc-modify-change-comment): Pass a dummy extra argument.
11684 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11686 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11687 (vc-finish-logentry): Process the log buffer before passing it
11688 down. Pass log-edit-extra-flags.
11690 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11692 (log-edit-extra-flags, log-edit-before-checkin-process):
11695 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11697 (log-edit-extra-flags, log-edit-before-checkin-process):
11699 (vc-hg-log-edit-mode): New derived mode.
11701 * vc-arch.el (vc-arch-checkin):
11702 * vc-cvs.el (vc-cvs-checkin):
11703 * vc-git.el (vc-git-checkin):
11704 * vc-mtn.el (vc-mtn-checkin):
11705 * vc-rcs.el (vc-rcs-checkin):
11706 * vc-sccs.el (vc-sccs-checkin):
11707 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11709 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11711 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11714 2010-03-19 Glenn Morris <rgm@gnu.org>
11716 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11718 2010-03-18 Glenn Morris <rgm@gnu.org>
11720 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11722 * replace.el (query-replace-history): Give it a doc string.
11723 (map-query-replace-regexp): Use query-replace-from-history-variable
11724 and query-replace-to-history-variable.
11726 * mail/hashcash.el (declare-function): Remove duplicate definition.
11728 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11729 Make it an obsolete alias for report-emacs-bug-address.
11730 (message-strip-special-text-properties): Declare.
11731 (report-emacs-bug): Remove test for a pretest bug address.
11732 Combine message-mode-specific code.
11734 * mail/supercite.el: Don't require sendmail.
11735 (mh-in-header-p): Declare rather than using with-no-warnings.
11736 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11737 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11739 * calendar/cal-french.el: Convert to utf-8.
11741 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11744 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11746 * net/secrets.el (secrets-enabled): New variable. Use it instead
11749 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11751 * net/secrets.el (top): Register the D-Bus signals only when the
11752 service "org.freedesktop.secrets" can be pinged.
11753 Provide subfeature `enabled'.
11755 2010-03-14 Juri Linkov <juri@jurta.org>
11757 Add finder unknown keywords.
11759 * finder.el (finder-unknown-keywords): New function.
11761 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11762 to create a Finder node with unknown keywords.
11764 2010-03-14 Juri Linkov <juri@jurta.org>
11766 * finder.el (finder-compile-keywords): Replace `princ' with
11767 `prin1' on a list of symbols interned from keyword strings.
11769 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11770 a comma, then split keywords using a comma and optional whitespace.
11771 Otherwise, split by whitespace.
11779 * progmodes/mixal-mode.el: Fix keywords.
11781 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11783 * Makefile.in (ELCFILES): Add net/secrets.elc.
11785 * net/secrets.el: New file.
11787 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11789 * facemenu.el (list-colors-display, list-colors-print): New arg
11790 callback. Use it to allow selecting colors.
11792 * wid-edit.el (widget-image-insert): Insert image prop even if the
11793 current display is non-graphic.
11794 (widget-field-value-set): New fun.
11795 (editable-field): Use it.
11796 (widget-field-value-get): Clean up unused var.
11797 (widget-color-value-create, widget-color--choose-action):
11798 New funs. Allow using list-colors-display to choose color.
11800 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11802 * cus-edit.el: Resort topmost custom groups.
11803 (custom-buffer-sort-alphabetically): Default to t.
11804 (customize-apropos): Use apropos-parse-pattern.
11805 (custom-search-field): New var.
11806 (custom-buffer-create-internal): Add custom-apropos search field.
11807 (custom-add-parent-links): Don't display parent doc.
11808 (custom-group-value-create): Don't sort top-level custom group.
11809 (custom-magic-value-create): Show visibility button before option name.
11811 (custom-variable-state): New fun, from custom-variable-state-set.
11812 (custom-variable-state-set): Use it.
11813 (custom-group-value-create): Hide options with standard values
11814 using the :hidden-states property. Use progress reporter.
11816 (custom-show): Simplify.
11817 (custom-visibility): Disable images by default.
11818 (custom-variable): New property :hidden-states.
11819 (custom-variable-value-create): Enable images for
11820 custom-visibility widgets. Use :hidden-states property to
11821 determine initial visibility.
11823 * wid-edit.el (widget-image-find): Give images center ascent.
11824 (visibility): Add :on-image and :off-image properties.
11825 (widget-visibility-value-create): Use them.
11827 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11829 * cus-edit.el (processes): Remove from development group.
11830 (oop, hypermedia): Delete group.
11831 (comm): Promote to top-level group.
11833 * net/browse-url.el (browse-url):
11834 * net/xesam.el (xesam):
11835 * net/tramp.el (tramp):
11836 * net/goto-addr.el (goto-address):
11837 * net/ange-ftp.el (ange-ftp): Put in comm group.
11839 * view.el (view): Remove from editing group.
11841 * uniquify.el (uniquify): Put in files group.
11843 * net/browse-url.el (browse-url):
11844 * ps-print.el (postscript): Put in external group.
11846 * cus-edit.el (outlines):
11847 * textmodes/text-mode.el (text-mode-hook):
11848 * textmodes/table.el (table):
11849 * textmodes/picture.el (picture):
11850 * outline.el (outlines): Put in wp group.
11852 * nxml/nxml-mode.el (nxml): Remove from wp group.
11854 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11856 * mail/metamail.el (metamail): Remove from hypermedia group.
11858 * cus-edit.el (abbrev):
11859 * whitespace.el (whitespace):
11860 * vcursor.el (vcursor):
11861 * reveal.el (reveal):
11862 * hl-line.el (hl-line): Put in convenience group.
11864 * epg-config.el (epg): Put in data group.
11866 * emulation/pc-select.el (pc-select): Put in emulations group.
11868 * calculator.el (calculator): Put in applications group.
11870 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11872 Add .dir-locals.el support for file-less buffers.
11873 * files.el (hack-local-variables): Split out code to apply local
11874 variable settings ...
11875 (hack-local-variables-apply): ... here. New function.
11876 (hack-dir-local-variables): Use the default directory for when the
11877 buffer does not have an associated file.
11878 (hack-dir-local-variables-non-file-buffer): New function.
11879 * diff-mode.el (diff-mode):
11880 * vc-annotate.el (vc-annotate-mode):
11881 * vc-dir.el (vc-dir-mode):
11882 * log-edit.el (log-edit-mode):
11883 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11885 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11887 Add support for shelving snapshots and for showing shelves.
11888 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11889 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11891 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11892 (vc-bzr-extra-menu-map): Map them.
11894 2010-03-11 Glenn Morris <rgm@gnu.org>
11896 * cus-edit.el (customize-changed-options-previous-release):
11899 * image.el (image-animate-max-time): Fix :version tag.
11901 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11905 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11907 * vc-git.el (vc-git-revision-table): Include remote branches.
11909 2010-03-10 Kim F. Storm <storm@cua.dk>
11911 Animated image API.
11912 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11914 * image.el (image-animate-max-time): New defcustom.
11915 (image-animated-types): New defconst.
11916 (create-animated-image, image-animate-timer)
11917 (image-animate-start, image-animate-stop, image-animate-timeout)
11918 (image-animated-p): New functions.
11920 * image-mode.el (image-toggle-display-image):
11921 Replace `create-image' with `create-animated-image'.
11923 2010-03-09 Miles Bader <miles@gnu.org>
11925 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11926 instead of "format:"; this ensures that the output is
11927 newline-terminated.
11929 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11931 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11932 that all errors are caught, and that the return value is always a
11935 2010-03-08 Kenichi Handa <handa@m17n.org>
11937 * language/misc-lang.el (windows-1256): New coding system.
11938 (cp1256): New alias of windows-1256 (bug#5690).
11940 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11942 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11943 call to rfc822-bad-address. (Bug#5692)
11945 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11947 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11948 Use vc-git-root as default directory for revision path (Bug#5657).
11950 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11952 * calculator.el (calculator): Don't bind split-window-keep-point
11955 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11957 * vc-git.el: Re-flow to fit into 80 columns.
11958 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11959 Remove spurious `quote' element in each case alternative.
11960 (vc-git-show-log-entry): Use prog1.
11961 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11963 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11965 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11967 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11969 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11970 definition, not the name (Bug#5481).
11972 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11974 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11975 argument with a local variable. (Bug#5670)
11977 2010-03-02 Juri Linkov <juri@jurta.org>
11979 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11981 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11983 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11984 error when FILENAME and NEWNAME are existing remote directories.
11986 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11987 parameter DIR-FLAG.
11989 2010-03-02 Glenn Morris <rgm@gnu.org>
11991 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11992 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11994 2010-03-01 Kenichi Handa <handa@m17n.org>
11996 * language/burmese.el (burmese-composable-pattern): Rename from
11997 myanmar-composable-pattern.
11999 * international/characters.el (script-list):
12000 * international/fontset.el (script-representative-chars):
12001 Change myanmar to burmese.
12002 (otf-script-alist): Likewise.
12003 (setup-default-fontset): Likewise. Re-fix :otf spec.
12005 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12007 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12009 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12011 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12013 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12015 * net/tramp.el (tramp-handle-write-region): START can be a string.
12016 Take care in the checks. Reported by Dan Davison
12017 <davison@stats.ox.ac.uk>.
12019 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12021 * net/dbus.el (dbus-introspect, dbus-get-property)
12022 (dbus-set-property, dbus-get-all-properties):
12023 Use `dbus-call-method' when noninteractive. (Bug#5645)
12025 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12027 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12028 * emacs-lisp/elint.el (elint-add-required-env):
12029 * calendar/icalendar.el (icalendar--add-diary-entry):
12030 * calc/calcalg2.el (math-tracing-integral):
12031 * files.el (recover-session-finish): Use with-current-buffer
12032 instead of save-excursion.
12034 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12036 Fix in-buffer completion when after-change-functions modify the buffer.
12037 * minibuffer.el (completion--replace): New function.
12038 (completion--do-completion): Use it and use relative movement.
12040 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12042 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12044 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12046 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12047 Allow the characters _<> in the stack entry (Bug#5653).
12049 2010-02-26 Kenichi Handa <handa@m17n.org>
12051 * language/burmese.el: Fix entries in composition-function-table.
12052 (myanmar-composable-pattern): New variable.
12054 * international/fontset.el (setup-default-fontset): Add an entry
12057 * international/characters.el (script-list): Add Myanmar
12060 2010-02-26 Glenn Morris <rgm@gnu.org>
12062 * custom.el (custom-initialize-delay): Doc fix.
12064 * mail/sendmail.el (send-mail-function): Autoload the call
12065 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12067 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12069 * files.el (hack-local-variables-filter): For eval forms, also
12070 check safe-local-variable-p (Bug#5636).
12072 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12074 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12075 setting the modes by `ignore-errors'. It might fail, for example
12076 if the file is not owned by the user but the group.
12077 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12079 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12081 * files.el (directory-listing-before-filename-regexp):
12082 Use stricter matching for iso-style dates, to avoid false matches with
12083 date-like filenames (Bug#5597).
12085 * htmlfontify.el (htmlfontify): Doc fix.
12087 * eshell/eshell.el (eshell): Doc fix.
12089 * startup.el (fancy-about-screen): In mode-line, apply
12090 mode-line-buffer-id face only to the buffer name (Bug#5613).
12092 2010-02-20 Kevin Ryde <user42@zip.com.au>
12094 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12095 In `watcom' anchor regexp to start of line, to avoid slowness
12098 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12100 * subr.el (remove-yank-excluded-properties): Explain in a comment
12101 why `category' property is removed.
12103 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12105 * isearch.el (isearch-update-post-hook, isearch-update):
12106 Revert 2010-02-17 change.
12108 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12110 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12111 (icalendar--convert-weekly-to-ical)
12112 (icalendar--convert-yearly-to-ical)
12113 (icalendar--convert-block-to-ical)
12114 (icalendar--convert-cyclic-to-ical)
12115 (icalendar--convert-anniversary-to-ical): Take care of time
12116 specifications where hour has 1-digit only (Bug#5549).
12118 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12120 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12121 of disassemble output in GDB 7.1.
12123 2010-02-19 Glenn Morris <rgm@gnu.org>
12125 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12126 property. (Bug#5593)
12128 2010-02-18 Sam Steingold <sds@gnu.org>
12130 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12132 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12134 Use abbreviated file names in bookmarks (bug#5591).
12135 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12136 calls to expand-file-name.
12137 (bookmark-relocate): Use abbreviated file names in bookmarks.
12138 (bookmark-load): Use abbreviated file names in messages.
12140 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12142 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12143 expand "." and "..". Reported by Thierry Volpiatto
12144 <thierry.volpiatto@gmail.com>.
12146 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12148 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12149 permissions of the temporary file to "0600". In case the remote
12150 file has no read permissions for the owner, there might be
12151 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12153 22010-02-18 Glenn Morris <rgm@gnu.org>
12155 * emacs-lisp/authors.el (authors-renamed-files-alist):
12156 Add entries for INSTALL.CVS.
12158 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12160 * vc-bzr.el: Fix typo in Known Bugs section.
12162 * isearch.el (isearch-update-post-hook): New hook.
12163 (isearch-update): Use the new hook.
12165 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12167 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12168 Fix errors in copying directories.
12169 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12170 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12171 (tramp-handle-delete-file)
12172 (tramp-handle-dired-recursive-delete-directory)
12173 (tramp-handle-write-region): Flush also the cache for the upper
12176 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12178 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12180 * cus-edit.el (hardware): Doc fix.
12182 * man.el (man): Add to external custom group.
12184 * delim-col.el (columns): Move to wp custom group.
12186 * doc-view.el (doc-view): Add to data custom group.
12188 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12190 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12191 by ispell-parse-output (Bug#5575).
12193 2010-02-16 Kenichi Handa <handa@m17n.org>
12195 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12196 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12197 (skkdic-convert): Use `euc-japan' coding system for writing.
12199 2010-02-16 Glenn Morris <rgm@gnu.org>
12201 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12202 tex-main-file before using it. (Bug#5562)
12204 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12206 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12207 warnings, since it is annoying for the user to see them each time he
12210 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12212 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12213 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12214 instead of PROC for caching "first-password-request". Otherwise,
12215 new processes would not profit from passwords already entered.
12217 * net/tramp-cache.el (tramp-dump-connection-properties):
12218 Don't save "first-password-request" property.
12220 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12222 * outline.el (outline-head-from-level):
12223 * simple.el (with-wrapper-hook):
12224 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12225 (elint-defun, elint-buffer-env, elint-top-form-logged)
12226 (elint-unbound-variable):
12227 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12228 Fix typos in docstrings.
12230 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12232 * files.el (insert-directory): When WILDCARD-REGEXP and
12233 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12234 whole directory. (Bug#5551)
12236 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12237 dired's alignment sanity. (Bug#5516)
12239 2010-02-14 Juri Linkov <juri@jurta.org>
12241 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12242 Remove remaining ^H with their preceding chars. (Bug#5566)
12244 2010-02-13 Glenn Morris <rgm@gnu.org>
12246 * simple.el (transpose-subr): Give it a doc-string.
12248 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12251 2010-02-12 Juri Linkov <juri@jurta.org>
12253 * arc-mode.el (archive-unique-fname): Make directories for nested
12254 archives. (Bug#5540)
12256 2010-02-12 Juri Linkov <juri@jurta.org>
12258 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12260 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12262 * subr.el (copy-overlay): Handle deleted overlays.
12264 * man.el (Man-completion-table): Don't signal an error if we can't run
12265 manual-program (bug#4056).
12267 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12269 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12271 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12273 * info.el (Info-bookmark-jump): Simplify.
12275 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12276 (bookmark-default-handler): Accept new bookmark field `buffer'.
12278 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12280 * iswitchb.el (iswitchb-completions): Revert last change.
12282 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12284 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12285 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12286 This prevents file names like "~/" being listed literally.
12288 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12290 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12291 Remove dead code. (Bug#5546)
12293 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12295 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12296 correctly (Bug#5548).
12298 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12300 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12301 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12303 2010-02-08 Kenichi Handa <handa@m17n.org>
12305 * international/mule-util.el (with-coding-priority): Add autoload
12306 cookie for putting `lisp-indent-function'.
12308 2010-02-07 Glenn Morris <rgm@gnu.org>
12310 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12311 Move F2003 named interfaces from keywords-2 to keywords-1, and
12312 use function-name-face rather than constant-face.
12313 Simplify "abstract interface" regexp.
12315 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12317 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12318 ID-FORMAT. Pass it to `file-attributes'.
12320 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12322 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12324 * faces.el (set-face-attribute): Allow calling
12325 internal-set-lisp-face-attribute with 'unspecified family and
12326 foundry argument (Bug#5536).
12328 2010-02-07 Glenn Morris <rgm@gnu.org>
12330 * progmodes/f90.el (f90-font-lock-keywords-2)
12331 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12332 Handle F2003 named interfaces.
12334 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12336 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12337 beg and end before calling c-get-state-before-change-functions.
12339 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12341 * vc-bzr.el (vc-bzr-dir-extra-headers):
12342 Disable the pending merges header.
12344 2010-02-05 Juri Linkov <juri@jurta.org>
12346 * doc-view.el (doc-view-mode):
12347 * image-mode.el (image-mode): Put property mode-class=special.
12350 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12352 * vc-svn.el (vc-svn-revision-table): New function.
12354 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12356 * net/ange-ftp.el (ange-ftp-insert-directory):
12357 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12358 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12359 Handle also directories. (Bug#5478)
12361 2010-02-05 Glenn Morris <rgm@gnu.org>
12363 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12365 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12367 * startup.el (command-line-1): Convert options beginning with a
12368 single dash as well (Bug#5519).
12370 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12372 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12373 * minibuffer.el (completion-initials-expand): Only check the presence
12374 of delims *within* the boundaries, since otherwise the / delim is
12375 always found for files.
12377 Fix up various corner case problems.
12378 * doc-view.el (doc-view-last-page-number): New function.
12379 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12380 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12381 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12382 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12383 (doc-view-convert-current-doc): Don't create the resolution.el file
12385 (doc-view-pdf/ps->png): Do it here instead.
12386 (doc-view-already-converted-p): Check that resolution.el is present.
12387 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12388 windows that are not yet showing images.
12390 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12392 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12393 `dired-uncache' for every elemnt which is an absolute file name.
12395 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12396 directory, handle its directory component.
12397 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12398 function is called permanently and creates noise, otherwise.
12400 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12401 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12402 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12404 2010-02-04 David Burger <dburger@google.com> (tiny change)
12406 * macros.el (apply-macro-to-region-lines):
12407 Minor simplification. (Bug#5485)
12409 2010-02-04 Glenn Morris <rgm@gnu.org>
12411 * mail/rmail.el (rmail-show-message-1): Handle malformed
12412 quoted-printable text. (Bug#5441)
12414 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12416 * simple.el (visual-line-mode): Capitalize lighter.
12418 2010-02-03 John Wiegley <jwiegley@gmail.com>
12420 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12421 list of files considered for "virtual buffer" completions.
12423 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12425 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12426 also in case of (and (not full) (not wildcard)). This is needed
12427 when dired is called with a list of files, which are not in
12428 `default-directory'. (Bug#5478)
12430 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12432 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12434 2010-02-02 Juri Linkov <juri@jurta.org>
12436 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12437 from unidiff to allow function-line after @@.
12439 2010-02-02 Juri Linkov <juri@jurta.org>
12441 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12442 '(RCS SCCS) with inverted condition.
12444 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12446 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12449 2010-02-01 Juri Linkov <juri@jurta.org>
12451 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12452 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12453 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12454 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12456 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12458 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12459 (doc-view-revert-buffer): New command.
12460 (doc-view-mode-map): Use it.
12462 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12464 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12465 pending merge is detected.
12467 2010-01-31 Juri Linkov <juri@jurta.org>
12469 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12470 beginning of interactive spec like all other grep commands do.
12471 Put "all" in front of "gz". (Bug#5260)
12473 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12475 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12477 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12479 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12480 regexp is incorrect (Bug#5476).
12482 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12484 * net/tramp.el (tramp-handle-insert-directory): Handle also
12485 symlinks, when FILENAME is not in `default-directory'.
12487 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12489 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12490 FILE is not in `default-directory'. (Bug#5478)
12492 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12493 of SWITCHES. Handle the case, FILENAME is not in
12494 `default-directory'. (Bug#5478)
12495 (tramp-register-file-name-handlers): Add safe-magic property.
12497 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12499 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12502 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12504 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12505 (flymake-master-make-header-init): Add other C++ filename masks.
12506 (flymake-find-possible-master-files)
12507 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12509 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12511 Fix some busybox annoyances.
12513 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12514 not responding." string.
12515 (tramp-open-connection-setup-interactive-shell): Dump stty
12516 settings. Enable "neveropen" arg for all `tramp-send-command'
12517 calls. Handle "=" in variable values properly.
12518 (tramp-find-inline-encoding): Raise an error, when no encoding is
12520 (tramp-wait-for-output): Check, whether PROC buffer is available.
12521 Remove spurious " ^H" sequences, sent by busybox.
12522 (tramp-get-ls-command): Suppress coloring, if possible.
12524 2010-01-28 Glenn Morris <rgm@gnu.org>
12526 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12528 * log-edit.el (log-edit-strip-single-file-name): Add missing
12529 :safe, :group, and :version tags.
12531 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12533 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12534 buffers. (Bug#5477)
12536 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12538 * files.el (delete-directory): Handle moving to trash without
12539 first doing recursion (Bug#5436).
12541 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12543 * vc-hooks.el (vc-path): Mark as obsolete.
12545 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12547 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12550 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12552 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12554 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12556 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12558 * vc-bzr.el (vc-bzr-revision-table): New function.
12560 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12562 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12563 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12565 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12567 Remove support for adding --signoff on commit.
12568 Future support will use an incompatible generic mechanism.
12569 * vc-git.el (vc-git-add-signoff): Remove variable.
12570 (vc-git-toggle-signoff): Remove function.
12571 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12573 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12574 Rename from xterm-set-background-mode. Return t if the background mode
12576 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12577 earlier, call it again in case the background mode has changed.
12579 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12581 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12584 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12586 * emacs-lisp/assoc.el (aelement): Doc fix.
12587 (aput, adelete, amake): Use lexical-let (Bug#5450).
12589 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12591 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12592 is the same as subprogram call, not declaration. (Bug#5435).
12594 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12596 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12597 (tramp-smb-maybe-open-connection): Use it.
12599 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12601 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12603 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12605 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12606 just because we see "encoding: 8bit".
12607 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12609 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12611 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12613 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12615 * jka-compr.el (jka-compr-load): If load-file is not in
12616 load-history, try its file-truename version. (bug#5447)
12618 2010-01-21 Alan Mackenzie <acm@muc.de>
12620 Fix a situation where deletion of a cpp construct throws an error.
12621 * progmodes/cc-engine.el (c-invalidate-state-cache):
12622 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12623 special cpp construct is still in the buffer.
12624 (c-parse-state): Record the special cpp with markers, not numbers.
12626 2010-01-21 Kenichi Handa <handa@m17n.org>
12628 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12629 process last-command-event, as it is now decoded first (Bug#5380).
12631 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12633 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12635 2010-01-20 Glenn Morris <rgm@gnu.org>
12637 * indent.el (tab-always-indent): Fix custom-type.
12639 2010-01-19 Alan Mackenzie <acm@muc.de>
12641 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12642 buffer throws "args out of range".
12643 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12644 playing the role of delimiter.
12646 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12648 * progmodes/ada-mode.el: Fix bug#5400.
12649 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12650 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12651 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12652 Improve comments in "is" portion. Handle null procedure declaration.
12653 (ada-move-to-end): Improve doc string.
12655 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12657 * ido.el (ido-cur-list): Initialize to nil.
12658 Remove obsolete information from commentary.
12659 (ido-choice-list): Initialize to nil.
12660 (ido-get-bufname): Reject minibuffers.
12661 (ido-make-buffer-list): If "default" is a nonexistent
12662 buffer, ignore it, as per the function's comment.
12663 (ido-kill-buffer-internal): New function.
12664 (ido-kill-buffer-at-head): Use it.
12665 (ido-visit-buffer): Likewise.
12667 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12669 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12671 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12673 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12674 Fix typos in chart titles.
12676 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12677 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12678 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12679 (describe-class, eieio-describe-generic, describe-generic):
12680 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12681 (eieio-speedbar-expand):
12682 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12683 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12684 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12685 (viper-del-backward-char-in-replace, viper-backward-indent)
12686 (viper-brac-function, viper-register-to-point, viper-submit-report):
12687 * net/tramp.el (tramp-remote-coding-commands):
12688 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12689 Fix typos in docstrings.
12691 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12693 * mail/sendmail.el (mail-yank-original): Set the mark if the
12694 specified function for yanking does not do it.
12696 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12698 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12700 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12701 resyncing a directory.
12703 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12705 * progmodes/ada-mode.el: Fix bug#1920.
12706 (ada-ident-re): Delete ., allow multibyte characters.
12707 (ada-goto-label-re): New; matches goto labels.
12708 (ada-block-label-re): New; matches block labels.
12709 (ada-label-re): New; matches both.
12710 (ada-named-block-re): Deleted; callers changed to use
12711 `ada-block-label-re' instead.
12712 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12713 Use `ada-block-label-re'.
12714 (ada-indent-on-previous-lines): Improve handling of goto labels.
12715 (ada-get-indent-block-start): Special-case block label.
12716 (ada-get-indent-label): Split into `ada-indent-block-label' and
12717 `ada-indent-goto-label'.
12718 (ada-goto-stmt-start, ada-goto-next-non-ws):
12719 Optionally ignore goto labels.
12720 (ada-goto-next-word): Simplify.
12721 (ada-indent-newline-indent-conditional): Insert newline before
12722 trying to fix indentation; doc fix.
12724 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12726 * calc/calc.el (calc-command-flags): Give it an initial value.
12728 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12730 * files.el (minibuffer-with-setup-hook):
12731 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12732 (artist-key-draw-continously, artist-key-do-continously-continously)
12733 (artist-key-set-point-continously, artist-mouse-draw-continously):
12734 Fix typos in docstrings.
12736 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12738 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12739 Never return t (Bug#3898).
12741 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12743 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12744 can parse the output of the external commands (Bug#5279).
12746 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12748 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12750 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12752 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12754 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12756 * startup.el (command-line): Remove unused --icon-type arg.
12757 Handle --display arg, passing it to command-line-1 (Bug#5392).
12759 2010-01-16 Mario Lang <mlang@delysid.org>
12761 * emacs-lisp/chart.el (chart-translate-namezone):
12762 * textmodes/artist.el (artist-compute-popup-menu-table):
12763 Remove duplicated words in doc-strings.
12765 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12767 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12768 to mairix-search to suppress threading (Bug#5342).
12770 2010-01-15 Kenichi Handa <handa@m17n.org>
12772 * international/mule-cmds.el (canonicalize-coding-system-name):
12773 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12775 2010-01-15 Glenn Morris <rgm@gnu.org>
12777 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12779 * wid-edit.el (widget-keymap): Doc fix.
12781 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12782 former seems to be more widely accepted by various svn versions.
12784 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12786 * find-cmd.el (find-constituents):
12787 * vc-arch.el (vc-arch-root):
12788 * window.el (window-body-height, pop-up-frames):
12789 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12790 * progmodes/ada-stmt.el (ada-if):
12791 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12792 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12793 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12794 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12796 * progmodes/flymake.el (flymake-post-syntax-check):
12797 Fix typo in error message.
12799 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12801 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12802 which is always a string. (Bug#5313)
12804 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12806 * progmodes/ada-xref.el (ada-default-prj-properties):
12807 Simplify previous change.
12809 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12811 * progmodes/ada-xref.el (ada-default-prj-properties):
12812 Default ada_project_path to $ADA_PROJECT_PATH.
12814 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12816 * progmodes/ada-mode.el (ada-create-keymap):
12817 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12819 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12821 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12822 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12823 (ada-get-current-indent, ada-imenu-generic-expression)
12824 (ada-which-function): Check for it.
12826 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12828 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12829 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12831 2010-01-14 Glenn Morris <rgm@gnu.org>
12833 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12835 2010-01-14 Kenichi Handa <handa@m17n.org>
12837 * composite.el (auto-composition-mode): Make it a buffer local
12838 variable (permanent-local).
12839 (auto-composition-function): Set the default value to
12840 auto-compose-chars.
12841 (auto-composition-mode): Make it a simple function, not a minor mode.
12842 (global-auto-composition-mode): Likewise.
12843 (turn-on-auto-composition-if-enabled): Delete it.
12845 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12847 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12849 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12851 * files.el (copy-directory): Compute target for recursive
12852 directories with identical names. (Bug#5343)
12854 2010-01-12 Glenn Morris <rgm@gnu.org>
12856 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12857 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12859 2010-01-11 Sam Steingold <sds@gnu.org>
12861 * imenu.el (imenu-default-create-index-function): Detect infinite
12862 loops caused by imenu-prev-index-position-function.
12864 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12866 * htmlfontify.el (htmlfontify-load-rgb-file)
12867 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12868 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12869 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12870 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12871 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12872 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12873 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12874 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12875 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12876 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12877 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12878 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12879 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12880 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12881 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12882 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12883 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12884 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12885 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12886 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12887 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12888 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12889 backslash-quoting from parentheses, etc.
12891 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12893 * progmodes/js.el: Autoload javascript-mode alias.
12895 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12897 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12898 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12899 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12900 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12901 Fix typos in docstrings.
12902 (ffap-url-regexp): Doc fix.
12903 (ffap-at-mouse): Fix typo in message.
12905 2010-01-11 Glenn Morris <rgm@gnu.org>
12907 * version.el (emacs-copyright): Set copyright year to 2010.
12909 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12911 * format.el (format-annotate-function): Only set
12912 write-region-post-annotation-function after running to-fn so as not to
12913 affect nested write-region calls (bug#5273).
12915 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12917 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12920 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12922 * man.el (Man-goto-section): Signal error if the section is not
12925 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12927 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12928 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12930 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12932 * progmodes/compile.el: Don't treat compile-command as safe if
12933 compilation-read-command might be nil (Bug#4218).
12935 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12937 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12940 2010-01-08 Kenichi Handa <handa@m17n.org>
12942 * international/fontset.el (build-default-fontset-data):
12943 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12945 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12947 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12948 to `create-file-buffer' as it expects, not just a buffer name.
12949 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12950 to help uniquify. (Bug#3224)
12952 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12954 * font-setting.el (font-setting-change-default-font): Use user-spec
12957 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12959 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12961 2010-01-05 Tom Tromey <tromey@redhat.com>
12963 * progmodes/python.el (python-font-lock-keywords):
12964 Handle qualified decorators (Bug#881).
12966 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12968 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12969 in a lightweight checkout.
12971 2010-01-05 Kenichi Handa <handa@m17n.org>
12973 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12975 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12977 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12979 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12981 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12982 checkouts. (Bug#618)
12983 (vc-bzr-log-view-mode): Also highlight the author.
12984 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12985 (vc-bzr-shelve-menu-map):
12986 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12987 (vc-bzr-shelve-apply): Make prompt more explicit.
12989 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12991 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12992 They are valid characters in URL paths (rfc3986), and at least
12993 Firefox does not understand the encoded version (Bug#3166).
12995 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12997 * progmodes/octave-mod.el (octave-end-keywords)
12998 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12999 Add "end" keyword (Bug#3061).
13000 (octave-end-as-array-index-p): New function.
13001 (calculate-octave-indent): Use it.
13003 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13005 * bookmark.el: Consistently put the text property on the bookmark name.
13006 (bookmark-bmenu-marks-width): Bump back to 2, to include
13008 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13009 property on the bookmark name, instead of not putting it at all.
13010 (bookmark-bmenu-list): Fix where we put the text property.
13012 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13014 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13015 for showing buffer modified state (as added in the previous change).
13017 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13019 * bookmark.el: Show modified state of bookmark buffer more accurately.
13020 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13021 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13022 (with-buffer-modified-unmodified): New macro.
13023 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13024 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13025 Use new macro to preserve the buffer modified state.
13027 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13029 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13030 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13031 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13032 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13033 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13034 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13035 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13037 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13039 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13040 Make the lines in the generated doc string shorter. (Bug#4668)
13042 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13044 * net/rcirc.el: Add follow-link binding (Bug#4738).
13046 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13048 * Makefile.in (bzr-update): Rename from cvs-update.
13049 (cvs-update): New target for backward compatibility.
13051 * makefile.w32-in (bzr-update): Rename from cvs-update.
13052 (cvs-update): New target for backward compatibility.
13054 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13056 * bookmark.el: Remove gratuitous gratitude.
13058 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13060 * bookmark.el (bookmark-bmenu-any-marks): New function.
13061 (bookmark-bmenu-save): Clear buffer modification if no marks.
13063 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13065 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13066 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13067 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13068 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13070 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13071 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13072 To: emacs-devel {_AT_} gnu.org
13073 Subject: bookmark.el bug report
13074 Date: Mon, 28 Dec 2009 14:19:16 +0800
13075 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13077 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13079 * bookmark.el: Improvements suggested by Drew Adams:
13080 (bookmark-bmenu-ensure-position): New name for
13081 `bookmark-bmenu-check-position'. Just ensure the position,
13082 don't return any meaningful value.
13083 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13086 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13088 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13089 (bookmark-yank-point, bookmark-bmenu-check-position):
13090 Fix typos in docstrings.
13091 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13092 (bookmark-name-from-full-record, bookmark-get-position)
13093 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13094 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13095 Remove useless quoting of parenthesis, etc. in docstrings.
13097 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13098 (ediff-append-custom-diff): Fix typo in error message.
13099 (ediff-meta-mark-equal-files): Fix typos in messages.
13101 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13103 * net/imap-hash.el (imap-hash-make): Doc fix.
13104 (imap-hash-test): Fix typo in error message; reflow docstring.
13105 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13106 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13107 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13108 Fix typos in docstrings.
13109 (imap-hash-open-connection): Fix typo in error message.
13111 * play/gomoku.el (gomoku): Fix typos in docstring.
13113 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13114 (gdb-jsonify-buffer): Fix typos in docstring.
13115 (gdb-goto-breakpoint): Fix typo in error message.
13116 ("Display Other Windows"): Fix typo in help message.
13117 (gdb-speedbar-expand-node): Fix typo in question.
13119 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13120 (idlwave-html-system-help-location, idlwave-html-help-location)
13121 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13122 (idlwave-help-browser-generic-args, idlwave-help-directory)
13123 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13124 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13125 (idlwave-online-help, idlwave-help-html-link)
13126 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13127 Fix typos in docstrings.
13128 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13130 (idlwave-help-assistant-start): Fix typo in error message.
13132 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13133 (octave-electric-space): Fix typos in docstrings.
13135 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13137 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13139 2010-01-01 Juri Linkov <juri@jurta.org>
13141 * comint.el (comint-input-ring-size): Make it a defcustom and
13142 increase the default to 500 (Bug#5148).
13144 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13146 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13147 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13148 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13150 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13152 Show working revision correctly for mercurial.
13153 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13154 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13156 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13158 Declare some functions for the byte-compiler.
13159 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13160 (speedbar-timer-fn, speedbar-change-expand-button-char)
13161 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13163 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13165 This changeset reverts GDB Graphical Interface to use annotations.
13166 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13168 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13170 Make vc-dir work on subdirectories of the bzr root.
13171 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13172 Return file names relative to it.
13173 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13174 relative directory to vc-bzr-after-dir-status.
13176 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13178 * font-lock.el (font-lock-refresh-defaults): New function, which
13179 can be used to let font-lock react to external changes in
13180 variables like font-lock-defaults and keywords.
13181 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13183 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13185 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13187 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13189 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13191 Supersede color.diff settings in git log (bug#5211).
13193 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13194 escape chars in its output when the user has color.diff set to `always'.
13195 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13197 2009-12-26 Kevin Ryde <user42@zip.com.au>
13199 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13200 node. Keep previous "Index" name to work with past coreutils too.
13202 * man.el (man): Revise docstring a bit to show -a and -l as
13203 examples. Add -k description since support for it has otherwise
13204 been a secret. (Further to bug#3717.)
13205 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13206 "no matches" rather than "Can't find manpage", as the latter reads
13207 like -k was interpreted as a page name, which is not so. (Bug#5431)
13209 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13211 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13212 switches. Check also for //SUBDIRED// line.
13214 2009-12-25 Kenichi Handa <handa@m17n.org>
13216 * language/indian.el (devanagari-composable-pattern): Fix to
13217 handle ZWNJ and ZWJ. Use it in composition-function-table for
13219 (malayalam-composable-pattern): Fix previous change.
13221 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13223 * ps-print.el (ps-face-attributes): It was not returning the
13224 attribute face for faces specified as string. Reported by harven
13225 <harven@free.fr>. (Bug#5254)
13226 (ps-print-version): New version 7.3.5.
13228 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13230 * calendar/icalendar.el (icalendar--convert-tz-offset):
13231 Fix timezone names.
13232 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13233 (icalendar--add-diary-entry): Remove the trailing blank that
13234 diary-make-entry inserts.
13236 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13238 Make `file-expand-wildcards' work for remote files.
13240 * files.el (file-expand-wildcards): In case of remote files, check
13241 only local file name part for wildcards. Provide feature 'files
13242 and subfeature 'remote-wildcards. (Bug#5198)
13244 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13245 if there is already an established connection.
13246 (tramp-advice-file-expand-wildcards): Remove it.
13248 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13249 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13250 Activate advice for older GNU Emacs versions. (Bug#5237)
13252 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13254 Some doc fixes (more needed).
13256 * find-cmd.el (find-constituents): Reflow docstring.
13257 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13258 (find-generic): Doc fix.
13260 2009-12-17 Juri Linkov <juri@jurta.org>
13262 Fix regression from 23.1 to allow multiple modes in Local Variables.
13264 * files.el (hack-local-variables-filter): While ignoring duplicates,
13265 don't take `mode' into account.
13266 (hack-local-variables-filter, hack-dir-local-variables):
13267 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13269 2009-12-17 Juri Linkov <juri@jurta.org>
13271 Make `dired-diff' safer. (Bug#5225)
13273 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13274 `current' or when `file' is a directory of the `current' file.
13276 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13278 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13279 unconditionally preloaded files.
13281 2009-12-16 Juri Linkov <juri@jurta.org>
13283 Revert to old 23.1 logic of using the file at the mark as default.
13284 * dired-aux.el (dired-diff): Use the file at the mark as default
13285 if it's not the same as the current file, and the target dir is
13286 the current dir or the mark is active. Add the current file
13287 as the arg of `dired-dwim-target-defaults'. Use the default file
13288 in the prompt. (Bug#5225)
13290 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13292 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13293 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13294 (tramp-check-for-regexp): Check also, when an echoing shell stops
13295 to echo sent commands.
13297 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13299 * Makefile.in: Revert last change (Bug#5191).
13301 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13303 * vc-hg.el (vc-hg-print-log): Fix argument order.
13304 (vc-hg-working-revision): Make sure the command is executed in a
13305 known environment so that we can parse the output. (Bug#4417)
13307 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13309 * progmodes/python.el (python-symbol-completions): Remove text
13310 properties from symbol string before calling python-send-receive.
13312 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13314 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13315 when there are values for both file and line. (Bug#5060)
13317 2009-12-14 Juri Linkov <juri@jurta.org>
13319 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13320 whitespace after the file name of the first line of unified format,
13321 because git-diff doesn't output whitespace and file modification time
13322 after the file name.
13324 2009-12-14 David Kastrup <dak@gnu.org>
13326 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13327 check if it already has the `display' property added by
13328 `Info-display-images-node', and not put the `invisible' property
13331 2009-12-13 Glenn Morris <rgm@gnu.org>
13333 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13334 (report-emacs-bug): In message-mode, sort manually before storing
13335 original report text. (Bug#5178)
13336 Remove superfluous save-excursion.
13338 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13340 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13341 when responding to "GetAll" properties.
13343 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13345 * simple.el (compose-mail): Remove mail-setup-with-from from
13346 customization checks.
13348 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13350 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13351 RAR archives created on Unix systems.
13353 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13355 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13356 the varalias that was accidentally removed by the 2009-11-19 change
13359 2009-12-12 Kenichi Handa <handa@m17n.org>
13361 * language/indian.el (indian-compose-regexp): New function.
13362 (malayalam-composable-pattern): Fix the pattern.
13363 (composition-function-table): Set malayalam-composable-pattern for
13364 Malayalam characters.
13366 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13368 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13369 rather than down-mouse-1, based on follow-link conventions.
13371 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13374 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13376 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13377 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13378 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13379 (verilog-leap-to-head, verilog-backward-token):
13380 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13382 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13384 * progmodes/verilog-mode.el (verilog-auto-lineup)
13385 (verilog-nameable-item-re): Cleanup user-visible spelling and
13386 documentation errors. One reported by Gary Delp.
13387 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13388 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13389 package, bug195. Reported by Pierre-David Pfister.
13391 2009-12-11 Glenn Morris <rgm@gnu.org>
13393 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13395 * mail/emacsbug.el: No longer require sendmail.
13396 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13397 (report-emacs-bug-orig-text): Doc fix.
13398 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13399 New local variables, to adapt to different mail-user-agents.
13400 (report-emacs-bug): Fix test for a gnu.org address.
13401 Use overlays for emphasis, since font-lock defeats 'face property.
13402 Pretest bugs also end up at the newsgroup these days.
13403 Stop message-mode stripping text properties.
13404 Set and use the new buffer-local variables.
13405 (report-emacs-bug-hook): Add doc-string.
13406 Remove some unnecessary save-excursions and simplify.
13407 Use the appropriate hook and send-command.
13409 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13410 capitalization of some menu entries.
13412 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13414 * whitespace.el (whitespace-display-char-on):
13415 Ensure `buffer-display-table' is unique when two or more windows are
13416 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13419 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13421 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13422 characters in the Attribute field.
13424 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13426 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13428 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13430 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13431 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13432 Disregard autoload-excludes.
13433 (update-directory-autoloads): Obey autoload-excludes here instead.
13434 But don't store its contents in no-autoloads and remove entries that
13435 refer to excludes files.
13437 2009-12-10 Glenn Morris <rgm@gnu.org>
13439 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13440 (expand-mail-aliases): Define for compiler.
13442 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13443 Define for compiler.
13445 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13446 appropriate for the mail-user-agent in use.
13448 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13450 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13452 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13454 Fix short log parsing and fontification.
13455 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13456 Fix fontification for the [merge] label.
13458 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13460 Drop some properties to avoid surprises (bug#5002).
13461 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13462 (hfy-fontify-buffer): Use it.
13464 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13467 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13468 Adjust all callers.
13469 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13470 args compulsory. Adjust callers.
13471 (ffap-gopher-at-point): Remove unused var `name'.
13473 Get rid of the ELCFILES abomination.
13474 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13475 (compile-elcfiles): New phony target.
13476 (compile-main): Compute ELCFILES dynamically.
13477 (compile-clean): New target to remove left-over elc files.
13478 (compile, all): Use it.
13480 2009-12-09 Kenichi Handa <handa@etlken>
13482 * international/mule-diag.el: Require help-mode instead of help-fns.
13484 2009-12-09 Kenichi Handa <handa@m17n.org>
13486 * international/mule-cmds.el (ucs-names): Supply sufficiently
13487 fine ranges instead of pre-calculating accurate ranges.
13488 Iterate with bigger gc-cons-threshold.
13490 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13492 Add support for stashing a snapshot of the current tree.
13493 * vc-git.el (vc-git-stash-snapshot): New function.
13494 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13496 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13498 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13499 instead of `(beginning|end)-of-line'.
13501 2009-12-08 Glenn Morris <rgm@gnu.org>
13503 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13505 * Makefile.in (ELCFILES): Regenerate.
13507 2009-12-07 Juri Linkov <juri@jurta.org>
13509 Don't lazy-highlight the comint output in history Isearch mode.
13511 * comint.el (comint-history-isearch-search): Instead of
13512 `comint-line-beginning-position', use `comint-after-pmark-p'
13513 to check if point if before the process mark, and go to
13514 `process-mark' in this case.
13516 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13518 * textmodes/tex-mode.el (latex-complete)
13519 (latex-indent-or-complete): Remove.
13520 (latex-mode): Set completion-at-point-functions instead.
13522 Provide a standard completion command and hook it into TAB.
13523 * minibuffer.el (completion-at-point-functions): New var.
13524 (completion-at-point): New command.
13525 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13526 * progmodes/python.el (python-mode-map): Use completion-at-point.
13527 (python-completion-at-point): Rename from python-partial-symbol and
13528 adjust for use in completion-at-point-functions.
13529 (python-mode): Setup completion-at-point for Python completion.
13530 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13531 extracted from lisp-complete-symbol.
13532 (lisp-complete-symbol): Use it.
13533 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13534 setup completion-at-point for Elisp completion.
13535 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13536 Use completion-at-point.
13537 * ielm.el (ielm-map): Use completion-at-point.
13538 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13539 * progmodes/sym-comp.el: Move to...
13540 * obsolete/sym-comp.el: Move from progmodes.
13542 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13544 Prevent save-buffer in Rmail buffers from using the coding-system
13545 of the current message, and from clobbering the encoding mnemonics
13546 in the mode line (Bug#4623).
13548 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13550 (rmail-message-encoding): New variable.
13551 (rmail-write-region-annotate): Record the encoding of the current
13552 message in rmail-message-encoding.
13553 (rmail-after-save-hook): New function, restores the encoding of
13554 the current message after the message collection is saved.
13556 2009-12-07 Juri Linkov <juri@jurta.org>
13558 * progmodes/grep.el (grep-read-files): Use `completing-read'
13559 instead of `read-string'. Set its `collection' arg to
13560 `read-file-name-internal'. (Bug#4301)
13562 2009-12-07 Juri Linkov <juri@jurta.org>
13564 Correctly restore original Isearch point. (Bug#4994)
13566 * isearch.el (isearch-mode): Move `isearch-push-state' after
13567 `(run-hooks 'isearch-mode-hook)'.
13568 (isearch-cancel): When `isearch-push-state-function' is defined,
13569 let-bind `isearch-cmds' to the first state (the last element of
13570 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13571 function and restores the original point). Otherwise, move point
13572 to `isearch-opoint'.
13574 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13576 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13577 chars that don't have names, so the table can be built much faster at
13580 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13582 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13583 change. Suggested by David Kastrup.
13585 * simple.el (compose-mail): Check for incompatibilities and warn.
13586 (compose-mail-user-agent-warnings): New option.
13588 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13590 Support showing a single log entry from vc-annotate.
13591 * vc.el (print-log): Add a new argument: START-REVISION.
13592 (vc-print-log-internal): Add a new optional argument and
13593 pass it to the backend.
13594 (vc-print-log, vc-print-root-log): Adjust callers.
13595 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13596 buffer already displays the requested log entry, use it.
13597 Otherwise display only the log entry in question.
13598 * vc-svn.el (vc-svn-print-log):
13599 * vc-mtn.el (vc-mtn-print-log):
13600 * vc-hg.el (vc-hg-state):
13601 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13602 (vc-git-show-log-entry): Return t on success.
13603 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13604 (vc-bzr-show-log-entry): Return t on success.
13605 * vc-rcs.el (vc-rcs-print-log):
13606 * vc-sccs.el (vc-sccs-print-log):
13607 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13609 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13611 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13612 Add menus to the meta mode. (Bug#5043)
13614 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13616 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13619 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13621 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13623 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13624 Berbain <raphael.berbain@gmail.com>.
13626 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13628 (tramp-initial-end-of-output): New defconst.
13629 (tramp-methods, tramp-find-shell)
13630 (tramp-open-connection-setup-interactive-shell)
13631 (tramp-maybe-open-connection): Use it.
13632 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13633 Handle existence of `#' and `$'.
13635 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13636 Use `tramp-initial-end-of-output'.
13638 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13640 Get the background mode from the terminal for xterm, and set
13642 * term/xterm.el (xterm-set-background-mode): New function.
13643 (terminal-init-xterm): Use it in case xterm supports background
13644 color queries. Recompute faces after getting the background
13647 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13649 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13650 number comment back on its own line, for easier parsing.
13652 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13654 Make it work for non-file buffers (bug#5102).
13655 * doc-view.el (doc-view-current-cache-dir):
13656 Use doc-view-buffer-file-name rather than buffer-file-name.
13657 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13659 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13661 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13662 author field is too short.
13664 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13666 * vc-git.el (vc-git-print-log): Handle a limit argument.
13667 Display the short log in graph form and with labels.
13668 (vc-git-log-view-mode): Handle labels.
13670 Make vc-revert change VC state from 'added to 'unregistered.
13671 * vc-git.el (vc-git-revert): Call git reset first.
13673 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13675 * net/newst-backend.el, net/newst-plainview.el:
13676 * net/newst-reader.el, net/newst-ticker.el:
13677 * net/newst-treeview.el, net/newsticker.el:
13678 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13680 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13682 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13684 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13685 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13686 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13687 Update annotation regexp.
13689 * simple.el (beginning-of-visual-line): Constrain to field
13690 boundaries (Bug#5106).
13692 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13694 * xml.el (xml-substitute-numeric-entities):
13695 Move newsticker--decode-numeric-entities in newst-backend.el to
13696 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13697 * net/newst-backend.el (newsticker--parse-generic-feed)
13698 (newsticker--parse-generic-items)
13699 (newsticker--decode-numeric-entities):
13700 Move newsticker--decode-numeric-entities in newst-backend.el to
13701 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13703 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13705 * progmodes/js.el (js--js-not): Add null to the list of values.
13707 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13709 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13711 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13713 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13714 delimiter if it is at the end of the current line.
13715 (bibtex-generate-url-list): Fix docstring.
13717 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13719 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13720 minibuffer's content with itself.
13721 Fold the confirm-after-completion case into the `confirm' case.
13722 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13724 2009-12-06 Kevin Ryde <user42@zip.com.au>
13726 * ffap.el (ffap-rfc-path): Make this a defcustom since
13727 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13729 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13730 manuals, similar to existing setup for help-mode. (Bug#3913.)
13732 2009-12-05 Juri Linkov <juri@jurta.org>
13734 Save and restore dired buffer's point positions too. (Bug#4880)
13736 * dired.el (dired-save-positions): Return in the first element
13737 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13739 (dired-restore-positions): First restore buffer's position.
13740 While restoring window's positions, check if window still displays
13741 the original buffer.
13743 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13745 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13748 * shell.el (shell): Require ansi-color (Bug#5113).
13750 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13752 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13754 2009-12-05 Alan Mackenzie <acm@muc.de>
13756 * progmodes/cc-mode.el (c-before-hack-hook)
13757 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13758 `c-file-style' to work again. This reversion restores the current
13759 software to its state in Emacs 23.1. (Bug#4146)
13761 2009-12-05 Kevin Ryde <user42@zip.com.au>
13763 * textmodes/sgml-mode.el (sgml-lexical-context):
13764 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13766 2009-12-05 Juri Linkov <juri@jurta.org>
13768 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13769 for virtual nodes. (Bug#4147)
13770 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13771 when moving from a virtual node.
13772 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13773 (Info-mode): Add `Info-virtual-index' to the docstring.
13775 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13777 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13778 track of the buffer position of the end of a BibTeX entry as this
13779 position may change during reformatting.
13780 (bibtex-format-entry): Remove whitespace before processing
13781 numerical fields so that we recognize the latter properly.
13782 (bibtex-reformat): Do not use push which changes the global value
13783 of bibtex-entry-format.
13784 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13785 (bibtex-field-re-init): Replace only space characters by regexp
13787 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13788 (bibtex-initialize): Also update bibtex-strings.
13789 (bibtex-kill-field): Preserve white space at end of entry.
13790 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13791 Update bibtex-reference-keys.
13793 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13795 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13796 point after a star, if that's the only place where modifications can
13799 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13801 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13804 2009-12-04 Juri Linkov <juri@jurta.org>
13806 * proced.el (proced): Call `(proced-update t)' to update process
13807 information instead of only running proced-post-display-hook.
13808 (proced-send-signal): Add a leading space to the buffer name
13809 " *Marked Processes*" to make this buffer ephemeral.
13811 2009-12-04 Juri Linkov <juri@jurta.org>
13813 * dired.el (dired-auto-revert-buffer): New defcustom.
13814 (dired-internal-noselect): Use it.
13816 2009-12-04 Juri Linkov <juri@jurta.org>
13818 Change roles of modes and functions in image-mode.el (Bug#5062).
13820 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13821 in `auto-mode-alist'.
13822 (image-mode-previous-major-mode): New variable.
13823 (image-minor-mode-map): Rename from `image-mode-text-map'.
13824 (image-mode): Move graceful error-handling code from
13825 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13826 (image-minor-mode): Remove all image-handling code.
13827 Replace `image-mode-text-map' with `image-minor-mode-map'.
13828 Check for `image-type' in mode-line format string.
13829 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13830 (image-mode-as-text): New function with most code from
13831 `image-mode-maybe'.
13832 (image-toggle-display-text): Move code that removes image
13833 properties from `image-toggle-display' to here.
13834 (image-toggle-display-image): New function with code that adds
13835 image properties copied from `image-toggle-display'.
13836 (image-toggle-display): Remove most code with leaving only code
13837 that toggles between `image-mode-as-text' and `image-mode'.
13839 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13841 * net/newst-treeview.el
13842 (newsticker--treeview-list-highlight-start): Restored call to
13843 save-excursion: Selected item was stuck.
13844 (newsticker--treeview-list-select): New.
13845 (newsticker--treeview-item-show-text)
13846 (newsticker--treeview-item-show)
13847 (newsticker--treeview-item-update): Use new
13848 newsticker-treeview-item-mode.
13849 (newsticker-treeview-update): Keep current item.
13850 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13851 (newsticker--treeview-first-feed): Doc change.
13852 (newsticker-treeview-list-menu)
13853 (newsticker-treeview-item-menu): Add menu entries.
13854 (newsticker-treeview-item-mode): New.
13856 * net/newst-backend.el (newsticker-customize): Delete other
13859 2009-12-04 Sam Steingold <sds@gnu.org>
13861 * log-view.el (log-view-mode-map): "q" calls quit-window,
13862 like in all the other non-self-insert buffers.
13864 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13867 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13868 key decoding rather than do it manually via last-input-event +
13870 (term-exec): Use delete-and-extract-region.
13871 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13872 (term-process-pager): Remove unused var `i'.
13873 (term-dynamic-simple-complete): Make obsolete.
13874 (serial-update-config-menu): Remove unused vars `y' and `str'.
13875 (term-update-mode-line): Remove unused var `temp'.
13877 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13879 Limit the number of log entries displayed by default.
13880 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13881 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13882 using a prefix argument.
13884 2009-12-03 Glenn Morris <rgm@gnu.org>
13886 * progmodes/idlwave.el (class): Restore still useful declaration.
13888 2009-12-03 Alan Mackenzie <acm@muc.de>
13890 Enhance `c-parse-state' to run efficiently in "brace deserts".
13892 * progmodes/cc-mode.el (c-basic-common-init):
13893 Call c-state-cache-init.
13894 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13895 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13896 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13898 * progmodes/cc-langs.el (c-before-font-lock-function):
13899 c-extend-and-neutralize-syntax-in-CPP has been renamed
13900 c-neutralize-syntax-in-and-mark-CPP.
13902 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13903 with `category' properties now, not `syntax-table' ones.
13905 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13906 enhanced (but slower) version of c-end-of-macro that won't land
13907 inside a literal or on another awkward character.
13908 (c-state-cache-too-far, c-state-cache-start)
13909 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13910 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13911 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13912 (c-state-min-scan-pos, c-state-brace-pair-desert)
13913 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13914 buffer local variables.
13915 (c-state-literal-at, c-state-lit-beg)
13916 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13917 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13918 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13919 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13920 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13921 (c-renarrow-state-cache)
13922 (c-append-lower-brace-pair-to-state-cache)
13923 (c-state-push-any-brace-pair, c-append-to-state-cache)
13924 (c-remove-stale-state-cache)
13925 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13926 (c-invalidate-state-cache-1, c-parse-state-1)
13927 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13928 (c-parse-state): Enhance and refactor.
13929 (c-debug-parse-state): Amend to deal with all the new variables.
13931 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13932 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13933 modify to use category text properties rather than syntax-table ones.
13934 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13935 to switch off/on the syntactic paren property of C++ template
13936 delimiters using the category property.
13937 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13938 template delims suppressed.
13939 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13940 New constant/macros which apply category properties to the start
13941 and end of preprocessor constructs.
13942 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13943 "comment out" the syntactic value of characters in preprocessor
13945 (c-with-cpps-commented-out)
13946 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13947 with characters in all or all but one preprocessor constructs
13950 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13952 * proced.el (proced-filter-alist): Use regexp-quote.
13954 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13957 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13958 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13959 arguments. Expand `default-directory'.
13961 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13962 the benefit of returning an expanded localname.
13963 (tramp-tramp-file-p): Handle the case NAME is not a string.
13965 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13967 Add support for bzr shelve/unshelve.
13968 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13969 (vc-bzr-extra-menu-map): New variables.
13970 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13971 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13972 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13973 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13974 (vc-bzr-dir-extra-headers): Display shelves.
13976 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13978 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13980 * textmodes/bibtex.el (bibtex-complete-internal):
13981 Use completion-in-region.
13982 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13984 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13986 Support applying stashes. Improve UI.
13987 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13988 (vc-git-stash-apply, vc-git-stash-pop)
13989 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13990 (vc-git-stash-menu): New functions.
13991 (vc-git-stash-menu-map): New variable.
13992 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13994 2009-12-03 Glenn Morris <rgm@gnu.org>
13996 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13997 (vc-print-log-internal): Fix previous change.
13998 (vc-revert): Correct pluralization.
14000 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14002 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14003 it to be an alist any more.
14004 (makefile-complete): Use completion-in-region.
14006 * progmodes/octave-mod.el (octave-complete-symbol):
14007 Use completion-in-region.
14010 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14011 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14012 (idlwave-complete-class): Don't quote lambda.
14013 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14014 (idlwave-mode-map): Move initialization into declaration.
14015 (idlwave-action-and-binding): Use backquotes.
14016 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14018 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14019 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14020 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14021 `parts', and `all-parts'.
14022 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14023 (idlwave-convert-xml-system-routine-info): Remove unused string
14025 (idlwave-display-user-catalog-widget): Use dolist.
14026 (idlwave-scanning-lib): Declare dynamically-scoped var.
14027 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14028 (completion-highlight-first-word-only): Declare to silence bytecomp.
14029 (idlwave-popup-select): Tighten scope of `resp'.
14030 (idlwave-find-struct-tag): Remove unused var `beg'.
14031 (idlwave-after-load-rinfo-hook): Declare.
14032 (idlwave-sintern-class-info): Remove unused var `taglist'.
14033 (idlwave-find-class-definition): Remove unused var `list'.
14034 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14035 (idlwave-what-module-find-class): Remove unused var `classes'.
14037 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14039 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14041 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14043 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14044 buffers visited. Remove redundant current-buffer-saving.
14046 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14048 Use completion-in-buffer and remove uses of dynamic scoping.
14049 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14050 (pascal-buffer-to-use, pascal-flag): Don't declare.
14051 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14052 (pascal-get-completion-decl, pascal-keyword-completion):
14053 Add `pascal-str' argument, save-excursion,
14054 return the found completions, and don't filter with pascal-pred.
14055 (pascal-completion-cache): New var.
14056 (pascal-completion): Don't switch buffer any more (it was never
14057 necessary). Don't save-excursion any more (it's done by the called
14058 subroutines). Use a cache to avoid redundant computations.
14059 Use complete-with-action rather than pascal-completion-response and
14060 let it apply the predicate as well.
14061 (pascal-complete-word): Use completion-in-buffer when
14062 pascal-toggle-completions is nil.
14063 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14065 (pascal-comp-defun): Don't change buffer any more.
14066 Use complete-with-action rather than pascal-completion-response and
14067 let it apply the predicate as well.
14068 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14071 2009-12-02 Kenichi Handa <handa@m17n.org>
14073 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14074 shape for all Indic scripts.
14076 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14078 Use completion-in-buffer.
14079 * wid-edit.el (widget-field-text-end): New function.
14080 (widget-field-value-get): Use it.
14081 (widget-string-complete, widget-file-complete)
14082 (widget-color-complete): Use it and completion-in-region.
14083 (widget-complete): Don't narrow the buffer.
14085 2009-12-02 Glenn Morris <rgm@gnu.org>
14087 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14088 (rmail-select-summary): Use rmail-pop-to-buffer.
14089 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14090 rmail-pop-to-buffer, to prevent horizontal splits.
14092 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14093 save-excursion with save-current-buffer.
14094 Widen before searching. (Bug#5093)
14095 (diary-list-sexp-entries): Remove superfluous save-excursion.
14097 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14099 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14102 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14104 * ido.el (ido-file-internal): Handle filenames at point that do
14105 not have a directory part. (Bug#5049)
14107 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14109 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14110 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14112 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14114 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14115 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14118 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14120 * comint.el (comint-insert-input): Ignore clicks to the right of
14121 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14123 * vc.el (vc-print-log-internal): Don't wait for the process to
14124 terminate before setting up the major mode.
14126 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14129 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14132 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14134 2009-12-01 Glenn Morris <rgm@gnu.org>
14136 * window.el (window--display-buffer-2): Fix previous changes.
14138 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14140 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14142 2009-12-01 Glenn Morris <rgm@gnu.org>
14144 * Makefile.in (ELCFILES): Add mpc.elc.
14146 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14148 * mpc.el: New file.
14150 2009-12-01 Glenn Morris <rgm@gnu.org>
14152 * window.el (window-to-use): Define for compiler.
14154 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14155 consistent with others (no final period).
14157 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14158 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14160 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14162 Make vc-print-log buttons work.
14163 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14165 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14167 * savehist.el (savehist-autosave-interval): Allow setting to nil
14168 through customize. (Bug#5056)
14170 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14172 Fix references to jit-lock properties.
14173 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14174 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14175 (perl-font-lock-special-syntactic-constructs):
14176 Quote jit-lock-defer-multiline property.
14178 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14180 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14182 2009-11-30 Juri Linkov <juri@jurta.org>
14184 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14185 value `buffer' of `multi-isearch-next-buffer-current-function'.
14186 Use `(current-buffer)' when `buffer' is nil.
14187 (multi-isearch-next-buffer-from-list): Don't fallback to
14188 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14190 2009-11-30 Juri Linkov <juri@jurta.org>
14192 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14193 of buffers with `get-buffer' to `multi-isearch-buffers'.
14194 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14195 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14196 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14197 FILES with `expand-file-name' converting relative file names
14198 to absolute. Doc fix. (Bug#4727)
14200 2009-11-30 Juri Linkov <juri@jurta.org>
14202 * misearch.el (multi-isearch-read-buffers)
14203 (multi-isearch-read-matching-buffers): New functions.
14204 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14205 Use them in the `interactive' spec. Doc fix.
14206 (multi-isearch-read-files, multi-isearch-read-matching-files):
14208 (multi-isearch-files, multi-isearch-files-regexp):
14209 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14211 2009-11-30 Juri Linkov <juri@jurta.org>
14213 * doc-view.el (doc-view-continuous):
14214 Rename from `doc-view-continuous-mode'.
14215 (doc-view-menu): Move "Toggle display" to the top.
14216 Add submenu "Continuous" with radio buttons "Off"/"On"
14217 and "Save as Default".
14218 (doc-view-scroll-up-or-next-page)
14219 (doc-view-scroll-down-or-previous-page)
14220 (doc-view-next-line-or-next-page)
14221 (doc-view-previous-line-or-previous-page):
14222 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14224 2009-11-30 Juri Linkov <juri@jurta.org>
14226 * comint.el (comint-mode-map): Rebind `M-r' from
14227 `comint-previous-matching-input' to
14228 `comint-history-isearch-backward-regexp'.
14229 Unbind `M-s' to allow global key binding `M-s'.
14230 Add menu items for `comint-history-isearch-backward' and
14231 `comint-history-isearch-backward-regexp'. (Bug#3746)
14233 2009-11-30 Juri Linkov <juri@jurta.org>
14235 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14236 For def=recenter, replace `recenter' with `recenter-top-bottom'
14237 that is called with `this-command' and `last-command' let-bound
14238 to `recenter-top-bottom'. When the last `def' was not `recenter',
14239 set `recenter-last-op' to nil. (Bug#4981)
14241 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14243 Minor cleanup and simplification.
14244 * filecache.el (file-cache-add-directory)
14245 (file-cache-add-directory-recursively)
14246 (file-cache-add-from-file-cache-buffer)
14247 (file-cache-delete-file-regexp, file-cache-delete-directory)
14248 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14249 (file-cache-temp-minibuffer-message): Delete function.
14250 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14252 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14253 Don't signal an error when bumping into EOB in tr, s, or y.
14255 2009-11-29 Juri Linkov <juri@jurta.org>
14257 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14260 * descr-text.el (describe-char-unidata-list): Use lowercase name
14261 for "Unicode name" like in other tags.
14263 2009-11-29 Juri Linkov <juri@jurta.org>
14265 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14266 New compatibility macro.
14267 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14269 2009-11-29 Juri Linkov <juri@jurta.org>
14271 Add defcustom to define the cycling order of `recenter-top-bottom'.
14274 * window.el (recenter-last-op): Doc fix.
14275 (recenter-positions): New defcustom.
14276 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14277 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14279 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14281 Improve integration of Tramp and ange-ftp in eshell.
14283 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14284 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14285 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14287 * eshell/esh-util.el (top): Require also Tramp when compiling.
14288 (eshell-directory-files-and-attributes): Check for FTP remote
14290 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14291 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14292 (eshell-file-attributes): Handle ".". Return `entry'.
14294 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14295 (ange-ftp-directory-files-and-attributes)
14296 (ange-ftp-real-directory-files-and-attributes): New defuns.
14298 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14299 shell with "exec" when possible. This prevents trailing prompts
14300 in `start-file-process'.
14302 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14304 Try and remove assumptions about point-min==1.
14305 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14306 (rng-compute-mode-line-string): Show the validation percentage in
14307 terms of the narrowed text, not the widened text.
14308 (rng-do-some-validation): Don't catch internal errors when debugging.
14309 (rng-first-error): Simplify.
14310 (rng-after-change-function): Remove work around. AFAIK the bug has
14311 been fixed a while ago.
14313 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14314 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14316 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14318 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14319 `cd' doesn't always do it for us (bug#5067).
14321 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14322 on 2009-10-25 as part of some other change (bug#5067).
14324 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14326 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14328 (byte-compile-warnings): Use byte-compile-warning-types.
14329 (byte-compile-save-excursion): Warn about use of set-buffer right
14330 after save-excursion.
14332 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14333 the excursion as well.
14335 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14337 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14338 providing a Tramp related implementation of "su" and "sudo".
14339 (eshell-unix-initialize): Add "su" and "sudo".
14341 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14343 * net/socks.el (socks-send-command): Convert binary request to
14344 unibyte before sending. This fixes mishandling of some port
14345 numbers such as 129.
14347 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14349 * help.el (describe-bindings-internal): Remove `interactive'.
14351 * man.el (Man-completion-table): Trim a terminating "(".
14352 Remove the space between name page a section.
14353 Add the command's description on the `help-echo' property.
14354 Remove `process-connection-type' binding since it's unused by
14356 Provide completion for the "<section> <name>" format as well.
14357 (Man-default-man-entry): Remove spurious var shadowing the argument.
14359 2009-11-26 Kevin Ryde <user42@zip.com.au>
14361 * log-view.el: Add "Keywords: tools", since its other keywords
14362 aren't in finder-known-keywords, and following vc.el.
14364 * sha1.el (sha1-string-external): default-directory "/" in case
14365 otherwise non-existent. process-connection-type pipe for touch of
14366 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14368 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14370 Misc coding convention cleanups.
14371 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14372 hfy-init-kludge-hooks.
14373 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14374 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14375 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14377 (hfy-slant, hfy-weight): Use tables rather than code.
14378 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14379 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14380 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14381 (hfy-face-to-css): Remove `nconc' with single arg.
14382 (hfy-p-to-face-lennart): Use `or'.
14383 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14384 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14385 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14386 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14387 (hfy-force-fontification): Use run-hooks.
14389 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14391 Various minor fixes.
14392 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14393 Javascript belongs in the header, not the body.
14394 (hfy-javascript): Remove.
14395 (hfy-fontify-buffer): Don't insert it any more.
14396 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14397 Fix bug in invis handling when there were no invis props in a chunk.
14399 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14401 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14403 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14405 * finder.el (finder-mode-map): Add a menu.
14407 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14409 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14410 "unsigned" structs.
14412 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14413 fork" statement better.
14415 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14417 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14418 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14419 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14420 Reported by Clay Douglass.
14422 (verilog-auto-inst, verilog-auto-star-safe)
14423 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14424 Fix removing "// Interfaces" when saving .* expansions.
14425 Reported by Pierre-David Pfister.
14427 2009-11-26 Glenn Morris <rgm@gnu.org>
14429 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14432 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14434 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14435 Really use previous revision.
14437 2009-11-25 Kevin Ryde <user42@zip.com.au>
14439 * man.el (Man-completion-table): default-directory "/" in case
14440 doesn't otherwise exist. process-environment COLUMNS=999 so as
14441 not to truncate long names. process-connection-type pipe to avoid
14442 any chance of hitting the pseudo-tty TIOCGWINSZ.
14443 (man): completion-ignore-case t for friendliness and since man
14444 itself is case-insensitive on the command line.
14445 Further to Bug#3717.
14447 * arc-mode.el: Add "Keywords: files", so the details in its
14448 commentary can be reached from finder-by-keyword.
14449 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14450 editing mode, but it's comms related and sgml-mode.el has "comm"
14452 * textmodes/bibtex-style.el: Add "Keywords: tex".
14453 * international/isearch-x.el, international/ja-dic-cnv.el:
14454 * international/ja-dic-utl.el, international/kkc.el:
14455 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14457 2009-11-25 Juri Linkov <juri@jurta.org>
14459 * man.el (Man-completion-table): Modify regexp to include
14460 section names to completion strings. (Bug#3717)
14462 2009-11-25 Juri Linkov <juri@jurta.org>
14464 Search recursively in gzipped files. (Bug#4982)
14466 * progmodes/grep.el (grep-highlight-matches): Add new options
14467 `always' and `auto'. Doc fix.
14468 (grep-process-setup): Check `grep-highlight-matches' for
14469 `auto-detect' to determine the need to compute grep defaults.
14470 Move Windows/DOS specific --colors settings handling
14471 to `grep-compute-defaults'. Check `grep-highlight-matches'
14472 to get the value of "--color=".
14473 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14474 has the value `auto-detect'. Move Windows/DOS specific settings
14475 from `grep-process-setup'.
14476 (zrgrep): New command with alias `rzgrep'.
14478 2009-11-25 Juri Linkov <juri@jurta.org>
14480 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14481 to nil instead of switching off view-mode. (Bug#4896)
14483 2009-11-25 Juri Linkov <juri@jurta.org>
14485 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14487 * mwheel.el (mwheel-scroll-up-function)
14488 (mwheel-scroll-down-function): New defvars.
14489 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14490 `scroll-up', and `mwheel-scroll-down-function' instead of
14493 * doc-view.el (doc-view-scroll-up-or-next-page)
14494 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14495 Use this ARG in the call to image-scroll-up/image-scroll-down.
14496 Change `interactive' spec to "P". Goto next/previous page only
14497 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14498 SPC/DEL case). Doc fix.
14499 (doc-view-next-line-or-next-page)
14500 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14502 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14503 `doc-view-scroll-up-or-next-page', and buffer-local
14504 `mwheel-scroll-down-function' to
14505 `doc-view-scroll-down-or-previous-page'.
14507 2009-11-25 Juri Linkov <juri@jurta.org>
14509 Provide additional default values (directories at other Dired
14510 windows) via M-n in the minibuffer of some Dired commands.
14512 * dired-aux.el (dired-diff, dired-compare-directories)
14513 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14514 `minibuffer-default' in `minibuffer-with-setup-hook'.
14515 (dired-dwim-target-directory): Find a window that displays Dired
14516 buffer instead of failing when the next window is not Dired.
14517 Use `get-window-with-predicate' to find for the next Dired window.
14518 (dired-dwim-target-defaults): New function.
14520 * ediff-util.el (ediff-read-file-name):
14521 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14522 in `minibuffer-with-setup-hook'.
14524 2009-11-25 Juri Linkov <juri@jurta.org>
14526 Provide additional default values (file name at point or at the
14527 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14529 * minibuffer.el (read-file-name-defaults): New function.
14530 (read-file-name): Reset `minibuffer-default' to nil when
14531 it duplicates initial input `insdef'.
14532 Bind `minibuffer-default-add-function' to lambda that
14533 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14534 (minibuffer-insert-file-name-at-point): New command.
14536 * files.el (file-name-at-point-functions): New defcustom.
14537 (find-file-default): Remove defvar.
14538 (find-file-read-args): Don't use `find-file-default'.
14539 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14540 to `read-file-name'.
14541 (find-file-literally): Use `read-file-name' with
14542 `confirm-nonexistent-file-or-buffer'.
14544 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14546 * dired.el (dired-read-dir-and-switches):
14547 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14548 to `read-file-name'.
14549 (dired-file-name-at-point): New function.
14550 (dired-mode): Add hook `dired-file-name-at-point' to
14551 `file-name-at-point-functions'.
14553 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14555 Really make the *Completions* window soft-dedicated (bug#5030).
14556 * window.el (window--display-buffer-2): Add `dedicated' argument.
14557 (display-buffer): Pass it when needed so the dedicated flag is set
14558 after calling set-window-buffer, which would otherwise reset it.
14560 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14562 * progmodes/meta-mode.el (meta-complete-symbol):
14563 * progmodes/etags.el (complete-tag):
14564 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14565 Use completion-in-region.
14567 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14568 (dabbrev-completion): Use completion-in-region.
14569 (dabbrev--abbrev-at-point): Simplify regexp.
14571 * abbrev.el (abbrev--before-point): Use word-motion functions
14572 if :regexp is not specified (bug#5031).
14574 * subr.el (string-prefix-p): New function.
14576 * man.el (Man-completion-cache): New var.
14577 (Man-completion-table): Use it.
14579 * vc.el (vc-print-log-internal): Make `limit' optional for better
14580 compatibility (e.g. with vc-annotate.el).
14582 2009-11-24 Kevin Ryde <user42@zip.com.au>
14584 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14585 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14587 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14588 when .el source file not found or other error.
14590 2009-11-24 Markus Triska <markus.triska@gmx.at>
14592 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14594 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14596 Handle the [back] button properly (bug#4979).
14597 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14598 Use help-setup-xref, help-buffer, and with-help-window.
14599 (describe-char): Add `buffer' argument.
14600 Pass proper command to help-setup-xref. Don't meddle with
14601 help-xref-stack-item directly.
14602 (describe-text-category): Use with-help-window and help-buffer.
14604 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14605 for the displayed buffer (bug#4887).
14607 * man.el (Man-completion-table): New function.
14610 2009-11-24 David Reitter <david.reitter@gmail.com>
14612 * vc-git.el (vc-git-registered): Use checkout directory (where
14613 .git is) rather than the file's directory and a relative path spec
14614 to work around a bug in git.
14616 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14618 Improve handling of processes on remote hosts.
14620 * eshell/esh-util.el (eshell-path-env): New defvar.
14621 (eshell-parse-colon-path): New defun.
14622 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14624 * eshell/esh-ext.el (eshell-search-path):
14625 Use `eshell-parse-colon-path'.
14626 (eshell-remote-command): Remove argument HANDLER.
14627 (eshell-external-command): Check for FTP remote connection.
14629 * eshell/esh-proc.el (eshell-gather-process-output):
14630 Use `file-truename', in order to start also symlinked files.
14631 Apply `start-file-process' instead of `start-process'.
14632 Shorten `command' to the local file name part.
14634 * eshell/em-cmpl.el (eshell-complete-commands-list):
14635 Use `eshell-parse-colon-path'.
14637 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14639 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14640 to `eshell-directory-change-hook'.
14642 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14644 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14645 because it could be enabled automatically if view-read-only is non-nil.
14647 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14649 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14650 made on 2009-11-22.
14652 2009-11-24 Glenn Morris <rgm@gnu.org>
14654 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14655 deleted variable bookmark-bmenu-bookmark-column.
14657 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14659 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14661 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14663 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14664 two slashes to the "file:" prefix.
14665 (browse-url-file-url): De-munge Cygwin filenames before passing
14666 them to Windows browser.
14667 (browse-url-default-windows-browser): Use call-process.
14669 2009-11-23 Juri Linkov <juri@jurta.org>
14671 Implement DocView Continuous mode. (Bug#4896)
14672 * doc-view.el (doc-view-continuous-mode): New defcustom.
14673 (doc-view-mode-map): Bind C-n/<down> to
14674 `doc-view-next-line-or-next-page', C-p/<up> to
14675 `doc-view-previous-line-or-previous-page'.
14676 (doc-view-next-line-or-next-page)
14677 (doc-view-previous-line-or-previous-page): New commands.
14679 2009-11-23 Juri Linkov <juri@jurta.org>
14681 Implement Isearch in comint input history. (Bug#3746)
14682 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14683 `isearch-mode-hook'.
14684 (comint-history-isearch): New defcustom.
14685 (comint-history-isearch-backward)
14686 (comint-history-isearch-backward-regexp): New commands.
14687 (comint-history-isearch-message-overlay): New buffer-local variable.
14688 (comint-history-isearch-setup, comint-history-isearch-end)
14689 (comint-goto-input, comint-history-isearch-search)
14690 (comint-history-isearch-message, comint-history-isearch-wrap)
14691 (comint-history-isearch-push-state)
14692 (comint-history-isearch-pop-state): New functions.
14694 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14696 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14698 (tramp-handle-make-symbolic-link)
14699 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14701 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14702 (tramp-handle-process-file): Use it.
14704 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14706 * window.el (move-to-window-line-last-op): Remove.
14707 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14709 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14711 Make M-r mirror the new cycling behavior of C-l.
14712 * window.el (move-to-window-line-last-op): New var.
14713 (move-to-window-line-top-bottom): New command.
14714 (global-map): Bind M-r move-to-window-line-top-bottom.
14716 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14718 * dired-x.el (dired-guess-shell-alist-default):
14719 Support xz format. (Bug#4953)
14721 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14723 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14724 last-command-char/last-command-event.
14725 (viper-prefix-arg-value): Do correct conversion of event-char for
14728 * emulation/viper-util.el, emulation/viper.el:
14729 Use viper-last-command-char instead of
14730 last-command-char/last-command-event.
14732 * ediff-init.el, ediff-mult.el, ediff-util.el:
14733 Replace last-command-char and last-command-event
14734 with (ediff-last-command-char) everywhere.
14736 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14737 created in fundamental mode.
14739 * ediff.el (ediff-version): Revert the change of interactive-p to
14740 called-interactively-p.
14742 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14744 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14745 generation from word-movement command names.
14747 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14749 * cus-start.el (all): Add native condition for font-use-system-font.
14751 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14753 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14754 Correct the patch from 2009-11-18. (Bug#3910)
14756 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14758 * progmodes/subword.el: Rename from lisp/subword.el.
14760 * subword.el: Rename to progmodes/subword.el.
14762 * Makefile.in (ELCFILES): Adapt to subword.el move.
14764 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14765 Stefan Monnier <monnier@iro.umontreal.ca>
14767 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14768 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14769 (bookmark-bmenu-show-filenames): Use push.
14770 (bookmark-bmenu-hide-filenames): Use local var instead of
14771 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14772 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14773 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14774 filenames now that the bookmark names are always available.
14776 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14778 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14779 (bookmark-search-pattern): Move and leave unbound.
14780 (bookmark-bmenu-mode-map): Change binding.
14781 (bookmark-read-search-input): Simplify.
14782 Don't use text-char-description. Don't error on non-char events.
14783 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14784 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14785 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14786 Use a local var for the timer.
14787 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14788 (i.e. bookmark-bmenu-search).
14790 2009-11-21 Glenn Morris <rgm@gnu.org>
14792 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14794 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14796 * net/browse-url.el (browse-url-default-windows-browser):
14797 Use cygstart for cygwin.
14799 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14801 * bookmark.el: Formatting and doc fixes only:
14802 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14803 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14804 Minor grammar and punctuation fixes in doc string.
14805 (bookmark-read-search-input): Adjust to fit within 80 columns.
14807 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14809 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14810 (c-backward-into-nomenclature): Adapt to subword renaming.
14812 * subword.el (subword-forward, subword-backward, subword-mark)
14813 (subword-kill, subword-backward-kill, subword-transpose)
14814 (subword-downcase, subword-upcase, subword-capitalize)
14815 (subword-forward-internal, subword-backward-internal):
14816 Rename from forward-subword, backward-subword, mark-subword,
14817 kill-subword, backward-kill-subword, transpose-subwords,
14818 downcase-subword, upcase-subword, capitalize-subword,
14819 forward-subword-internal, backward-subword-internal.
14821 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14823 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14825 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14827 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14828 (bookmark-bmenu-filter-alist-by-regexp)
14829 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14830 (bookmark-bmenu-search): New command.
14831 (bookmark-bmenu-mode-map): Bind it.
14833 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14835 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14836 backward-subword to quit the byte-compiler.
14838 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14840 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14842 * progmodes/cc-cmds.el (c-update-modeline)
14843 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14844 Refer to subword.el functions instead of cc-subword.el.
14846 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14847 subword.el functions instead of cc-subword.el.
14849 * progmodes/cc-subword.el: Rename to subword.el.
14850 * subword.el: Rename from progmodes/cc-subword.el.
14851 (subword-mode-map): Rename from c-subword-mode-map.
14852 (subword-mode): Rename from c-subword-mode.
14853 (global-subword-mode): New global minor mode.
14854 (forward-subword): Rename from c-forward-subword.
14855 (backward-subword): Rename from c-backward-subword.
14856 (mark-subword): Rename from c-mark-subword.
14857 (kill-subword): Rename from c-kill-subword.
14858 (backward-kill-subword): Rename from c-backward-kill-subword.
14859 (transpose-subwords): Rename from c-tranpose-subword.
14860 (downcase-subword): Rename from c-downcase-subword.
14861 (capitalize-subword): Rename from c-capitalize-subword.
14862 (forward-subword-internal): Rename from c-forward-subword-internal.
14863 (backward-subword-internal): Rename from c-backward-subword-internal.
14865 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14867 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14868 from a dired buffer.
14869 (vc-dired-deduce-fileset): New function.
14870 (vc-root-diff, vc-print-root-log): Use it.
14872 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14873 nil LIMIT argument to vc-print-log-internal.
14875 2009-11-20 Glenn Morris <rgm@gnu.org>
14877 * Makefile.in (ELCFILES): Regenerate.
14879 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14881 * calc/calc.el (calc-set-mode-line):
14882 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14883 (math-format-number): Rename `math-format-complement-signed' to
14884 `math-format-twos-complement'.
14886 * calc/calc-bin.el (math-format-twos-complement): Rename from
14887 math-format-complement-signed.
14888 (calc-radix): Rename `calc-complement-signed-mode' to
14889 `calc-twos-complement-mode'.
14890 (calc-octal-radix, calc-hex-radix): Add an argument for
14893 * calc/calc-embed.el (calc-embedded-mode-vars):
14894 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14896 * calc/calc-ext.el (calc-init-extensions):
14897 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14898 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14900 * calc/calc-units.el (math-build-units-table-buffer):
14901 Let `calc-twos-complement-mode' be nil.
14903 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14906 * calc/calc-vec.el (calcFunc-vunpack):
14907 * calc/calc-aent.el (calc-do-calc-eval):
14908 * calc/calc-forms.el (math-format-date):
14909 * calc/calc-graph.el (calc-graph-plot):
14910 * calc/calc-math.el (math-use-emacs-fn):
14911 * calc/calccomp.el (math-compose-expr):
14912 Let `calc-twos-complement-mode' be nil.
14914 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14916 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14917 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14918 * minibuffer.el (completion-in-region-functions): New hook.
14919 (completion-in-region): New function.
14920 * emacs-lisp/lisp.el (lisp-complete-symbol):
14921 * pcomplete.el (pcomplete-std-complete): Use it.
14923 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14925 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14926 (latex-complete-alist): New vars.
14927 (latex-string-prefix-p, latex-complete-bibtex-keys)
14928 (latex-complete-envnames, latex-complete-refkeys)
14929 (latex-complete-data): New functions.
14930 (latex-complete, latex-indent-or-complete): New commands.
14932 * window.el (display-buffer-mark-dedicated): New var.
14933 (display-buffer): Obey it.
14934 * minibuffer.el (minibuffer-completion-help): Use it.
14936 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14938 * filecache.el (file-cache-add-file): Use push and cons.
14939 (file-cache-delete-file-regexp): Use push.
14940 (file-cache-complete): Use completion-in-region.
14942 * simple.el (with-wrapper-hook): Fix thinko.
14944 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14945 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14946 Use with-current-buffer and string-to-number.
14947 (hfy-fallback-colour-values): Use assoc-string.
14948 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14949 (hfy-face-at): Remove unused var `found-face'.
14950 (hfy-compile-stylesheet): Remove unused var `css'.
14951 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14953 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14954 Use with-current-buffer.
14955 (hfy-text-p): Use expand-file-name and fewer setq.
14957 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14959 * htmlfontify.el, hfy-cmap.el: New files.
14961 2009-11-19 Juri Linkov <juri@jurta.org>
14963 * minibuffer.el (completions-format): New defcustom.
14964 (completion--insert-strings): Implement vertical format.
14966 * simple.el (switch-to-completions): Move point to the first
14967 completion when point was at the beginning of the buffer.
14969 2009-11-19 Juri Linkov <juri@jurta.org>
14971 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14973 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14975 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14977 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14978 (mail-signature): Change default to t.
14979 (mail-from-style): Deprecate `system-default' value.
14980 (mail-insert-from-field): For default value of mail-from-style,
14981 default to `angles' unless `angles' needs quoting and `parens'
14983 (mail-citation-prefix-regexp): Use citation regexp from
14986 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14988 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14989 Set variables for computing the prompt for reading password.
14991 2009-11-19 Glenn Morris <rgm@gnu.org>
14993 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14995 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14997 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14998 (newsticker-treeview-listwindow-height): Fix custom type.
15000 2009-11-19 Kenichi Handa <handa@m17n.org>
15002 * descr-text.el (describe-char-padded-string): Compose with TAB
15003 only if there's a font for CH.
15004 (describe-char): Fix the condition for detecting a trivial composition.
15006 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15008 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15009 more accurate version of the regexp. (Bug#3910)
15011 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15013 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15015 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15017 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15018 (font-setting-change-default-font): Fix typo in docstring.
15020 2009-11-18 Alan Mackenzie <acm@muc.de>
15022 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15024 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15026 * font-setting.el (font-use-system-font): Move ...
15028 * cus-start.el (all): ... to here.
15030 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15032 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15033 Don't set `ad-return-value' if `ad-do-it' doesn't.
15035 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15038 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15040 * menu-bar.el: Put "Use system font" in Option-menu.
15041 (menu-bar-options-save): Add font-use-system-font.
15043 * loadup.el: If feature system-font-setting or font-render-setting is
15044 there, load font-setting.
15046 * Makefile.in (ELCFILES): Add font-settings.el.
15047 * font-setting.el: New file.
15049 2009-11-17 Glenn Morris <rgm@gnu.org>
15051 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15053 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15054 Preserve point in the list buffer. (Bug#4939)
15056 (newsticker--treeview-list-update-highlight)
15057 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15059 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15061 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15064 * calc/calc-ext.el (calc-init-extensions): Remove references to
15067 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15069 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15070 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15073 2009-11-16 Kevin Ryde <user42@zip.com.au>
15075 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15076 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15078 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15079 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15080 Ignore trailing spaces by omit-nulls to split-string (fixing
15081 regression from Emacs 21 due to the incompatible split-string
15082 change). (Bug #4928.)
15084 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15086 * vc.el (vc-log-show-limit): Default to 2000.
15087 (vc-print-log-internal): Insert buttons to request more entries
15088 when limiting the output.
15090 * vc-sccs.el (vc-sccs-print-log):
15091 * vc-rcs.el (vc-rcs-print-log):
15092 * vc-cvs.el (vc-cvs-print-log):
15093 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15096 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15098 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15099 error when `tramp-gvfs-dbus-event-vector' is set.
15100 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15102 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15104 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15106 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15108 * net/dbus.el (dbus-unregister-service): New defun.
15109 (dbus-register-property): Register the handlers of
15110 "org.freedesktop.DBus.Properties" for SERVICE.
15111 (dbus-property-handler): Fix docstring.
15113 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15115 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15116 Quote doc string reference in defvaralias as it is not in special form.
15117 (byte-compile-output-docform): Doc fix.
15119 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15121 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15122 (calc-complement-signed-mode): New variables.
15123 (calc-set-mode-line): Add indicator for twos-complements.
15124 (math-format-number): Format twos-complement notation.
15126 * calc/calc-bin.el (calc-word-size): Reset the variables
15127 `math-2-word-size' and `math-half-2-word-size'.
15128 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15129 (calc-symclip): New functions.
15131 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15133 * calc/calc-embed.el (calc-embedded-mode-vars):
15134 Add `calc-complement-signed-mode' to the list of modes.
15136 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15137 (calc-b-oper-keys): Add `calc-symclip' to list.
15139 * calc/calc-ext.el (math-read-number-fancy): Read complement
15141 (calc-init-extensions): Add binding for `calc-symclip'.
15142 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15144 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15146 (calc-modes-menu): Add item for twos complement mode.
15148 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15150 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15152 * register.el (jump-to-register, insert-register): Handle Semantic
15153 tags. From commented-out advice in semantic/senator.el.
15155 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15157 * vc.el (vc-log-show-limit): New variable.
15158 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15159 when using a prefix argument.
15160 (vc-print-log-internal): Add new argument LIMIT.
15162 * vc-svn.el (vc-svn-print-log):
15163 * vc-mtn.el (vc-mtn-print-log):
15164 * vc-hg.el (vc-hg-print-log):
15165 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15166 pass it to the log command when set. Make the BUFFER argument
15169 * vc-sccs.el (vc-sccs-print-log):
15170 * vc-rcs.el (vc-rcs-print-log):
15171 * vc-git.el (vc-git-print-log):
15172 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15173 ignore it. Make the BUFFER argument non-optional
15175 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15177 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15179 * dired.el (dired-mode-map): Move encryption items to "Operate"
15182 * strokes.el (strokes-update-window-configuration): Make strokes
15183 buffer current before erasing (Bug#4906).
15185 2009-11-15 Juri Linkov <juri@jurta.org>
15187 * simple.el (set-mark-default-inactive): Add :type, :group
15188 and :version. (Bug#4876)
15190 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15192 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15193 (archive-unique-fname): ... here. (Bug#4929)
15195 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15197 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15200 * novice.el (disabled-command-function): Add useful args.
15201 Setup the help buffer so that [back] works.
15202 Remove redundant call to help-mode.
15203 (disabled-command-function): Use `case'.
15204 (en/disable-command): New function extracted from enable-command.
15205 (enable-command, disable-command): Use it.
15207 2009-11-14 Glenn Morris <rgm@gnu.org>
15209 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15210 constants. (Bug#4913)
15212 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15214 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15216 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15217 defined in C that have no doc-strings. (Bug#1063)
15219 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15221 * cus-edit.el (data, files):
15222 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15224 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15226 * simple.el (shell-command): Doc fix (Bug#4891).
15228 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15230 2009-11-14 Glenn Morris <rgm@gnu.org>
15232 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15233 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15234 If they are already loaded, eval-after-load will do the right thing.
15236 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15239 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15241 * simple.el (x-selection-owner-p): Declare.
15242 (read-mail-command): Use custom radio type rather than choice.
15243 (completion-no-auto-exit): Doc fix.
15245 * custom.el (defgroup):
15246 * epg-config.el (epg): Doc fixes.
15248 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15250 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15251 * international/ccl.el (define-ccl-program): Do not purecopy the
15252 docstring, defconst does it anyway.
15254 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15256 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15259 * x-dnd.el (x-dnd-maybe-call-test-function):
15260 * window.el (split-window-vertically):
15261 * whitespace.el (whitespace-help-on):
15262 * vc-rcs.el (vc-rcs-consult-headers):
15263 * userlock.el (ask-user-about-lock-help)
15264 (ask-user-about-supersession-help):
15265 * type-break.el (type-break-force-mode-line-update):
15266 * time-stamp.el (time-stamp-conv-warn):
15267 * terminal.el (te-set-output-log, te-more-break, te-filter)
15268 (te-sentinel, terminal-emulator):
15269 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15270 (term-write-input-ring, term-check-source, term-start-output-log):
15271 (term-display-buffer-line, term-dynamic-list-completions):
15272 (term-ansi-make-term, serial-term):
15273 * subr.el (selective-display):
15274 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15275 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15276 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15277 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15278 (speedbar-remove-localized-speedbar-support)
15279 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15280 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15281 (speedbar-buffers-line-directory):
15282 * simple.el (shell-command-on-region, append-to-buffer)
15283 (prepend-to-buffer):
15284 * shadowfile.el (shadow-save-todo-file):
15285 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15286 (scroll-bar-maybe-set-window-start):
15287 * sb-image.el (speedbar-image-dump):
15288 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15289 (load-save-place-alist-from-file):
15290 * ps-samp.el (ps-print-message-from-summary):
15291 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15292 (ps-background-image, ps-begin-job, ps-do-despool):
15293 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15294 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15295 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15296 (pr-call-process, pr-file-list, pr-interface-save):
15297 * novice.el (disabled-command-function)
15298 (enable-command, disable-command):
15299 * mouse.el (mouse-buffer-menu-alist):
15300 * mouse-copy.el (mouse-kill-preserving-secondary):
15301 * macros.el (kbd-macro-query):
15302 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15303 * informat.el (batch-info-validate):
15304 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15305 * hippie-exp.el (try-expand-dabbrev-visible):
15306 * help-mode.el (help-make-xrefs):
15307 * help-fns.el (describe-variable):
15308 * generic-x.el (bat-generic-mode-run-as-comint):
15309 * finder.el (finder-mouse-select):
15310 * find-dired.el (find-dired-sentinel):
15311 * filesets.el (filesets-file-close):
15312 * files.el (list-directory):
15313 * faces.el (list-faces-display, describe-face):
15314 * facemenu.el (list-colors-display):
15315 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15316 * epg.el (epg--process-filter, epg-cancel):
15317 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15318 (epa--read-signature-type):
15319 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15320 (emerge-file-names):
15321 * ehelp.el (electric-helpify):
15322 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15323 * ediff-vers.el (rcs-ediff-view-revision):
15324 * ediff-util.el (ediff-setup):
15325 * ediff-mult.el (ediff-append-custom-diff):
15326 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15328 * echistory.el (Electric-command-history-redo-expression):
15329 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15330 * disp-table.el (describe-display-table):
15331 * dired.el (dired-find-buffer-nocreate):
15332 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15333 * dabbrev.el (dabbrev--same-major-mode-p):
15334 * chistory.el (list-command-history):
15335 * apropos.el (apropos-documentation):
15336 * allout.el (allout-obtain-passphrase):
15337 (allout-copy-exposed-to-buffer):
15338 (allout-verify-passphrase): Use with-current-buffer.
15340 2009-11-13 Glenn Morris <rgm@gnu.org>
15342 * Makefile.in (ELCFILES): Regenerate.
15344 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15346 * net/dbus.el (dbus-registered-objects-table): Rename from
15347 `dbus-registered-functions-table', because it contains also properties.
15348 (dbus-unregister-object): Unregister also properties.
15349 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15350 Use a timeout of 500 msec, in order to not block.
15351 (dbus-register-property, dbus-property-handler): New defuns.
15353 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15355 * simple.el (minibuffer-default-add-completions): Drop deprecated
15358 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15360 * textmodes/artist.el (artist-mouse-choose-operation):
15361 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15362 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15363 (artist-compute-up-event-key): New function.
15364 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15366 2009-11-13 Kenichi Handa <handa@m17n.org>
15368 * language/japan-util.el: Make sure that the value of jisx0208
15369 property is jisx0208 character.
15371 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15373 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15374 car or each item, not the whole list.
15376 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15378 * minibuffer.el (minibuffer-completion-help):
15379 Use minibuffer-hide-completions.
15381 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15383 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15384 (dired-revert): Use them (bug#4880).
15386 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15388 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15390 2009-11-12 Juri Linkov <juri@jurta.org>
15392 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15394 (find-file-literally-at-point): Alias of `ffap-literally'.
15396 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15398 * textmodes/ispell.el (ispell-skip-region-alist):
15399 * textmodes/css-mode.el (auto-mode-alist):
15400 * progmodes/compile.el (auto-mode-alist):
15401 * international/mule.el (ctext-non-standard-encodings-alist)
15402 (ctext-non-standard-encodings-regexp):
15403 * simple.el (shell-command-switch, text-read-only):
15404 * replace.el (occur-mode-map):
15405 * paths.el (rmail-file-name):
15406 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15407 * find-file.el (ff-special-constructs):
15408 * files.el (file-name-handler-alist):
15409 * composite.el: Purecopy strings.
15411 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15413 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15415 * widget.el (define-widget): Purecopy the docstring.
15416 * international/mule-cmds.el (charset): Do not purecopy the
15417 docstring here, define-widget does it.
15419 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15420 * textmodes/bibtex-style.el (auto-mode-alist):
15421 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15422 * progmodes/compile.el (compile-command):
15423 * language/korea-util.el (default-korean-keyboard):
15424 * international/mule-conf.el (file-coding-system-alist):
15425 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15426 * tooltip.el (tooltip-frame-parameters):
15427 * newcomment.el (comment-end, comment-padding):
15428 * dired.el (dired-trivial-filenames):
15429 * comint.el (comint-file-name-prefix): Purecopy initial values.
15431 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15433 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15434 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15436 (tramp-advice-make-auto-save-file-name)
15437 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15438 after removing the advice.
15440 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15442 * progmodes/grep.el (grep-regexp-alist):
15443 * international/mule-cmds.el (iso-2022-control-alist):
15444 * emacs-lisp/timer.el (timer-duration-words):
15445 * subr.el (version-separator, version-regexp-alist):
15446 * minibuffer.el (completion-styles-alist):
15447 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15448 Change defvars to defconsts.
15450 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15451 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15452 * international/mule-conf.el: Allow to be byte compiled.
15454 * international/mule.el (define-charset): Purecopy props.
15455 (load-with-code-conversion): Purecopy doc string and file name.
15456 (put-charset-property): Purecopy strings.
15457 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15459 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15460 (define-char-code-property): Correctly purecopy the table.
15462 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15464 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15466 * subr.el (add-hook): Purecopy strings.
15467 (eval-after-load): Purecopy load-history-regexp and the form.
15469 * custom.el (custom-declare-group): Purecopy load-file-name.
15471 * subr.el (menu-bar-separator): New defconst.
15472 * net/eudc.el (eudc-tools-menu):
15473 * international/mule-cmds.el (set-coding-system-map)
15474 (mule-menu-keymap):
15475 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15476 * vc-hooks.el (vc-menu-map):
15477 * replace.el (occur-mode-map):
15478 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15479 (menu-bar-edit-menu, menu-bar-goto-menu)
15480 (menu-bar-custom-menu, menu-bar-showhide-menu)
15481 (menu-bar-options-menu, menu-bar-tools-menu)
15482 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15483 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15484 (menu-bar-help-menu):
15485 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15486 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15488 * term/x-win.el (x-gtk-stock-map):
15489 * progmodes/vera-mode.el (auto-mode-alist):
15490 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15491 (inferior-lisp-program, inferior-lisp-load-command):
15492 * progmodes/hideshow.el (hs-special-modes-alist):
15493 * progmodes/gud.el (same-window-regexps):
15494 * progmodes/grep.el (grep-program, find-program, xargs-program):
15495 * net/telnet.el (same-window-regexps):
15496 * net/rlogin.el (same-window-regexps):
15497 * language/ethiopic.el (font-ccl-encoder-alist):
15498 * vc-sccs.el (vc-sccs-master-templates):
15499 * vc-rcs.el (vc-rcs-master-templates):
15500 * subr.el (cl-assertion-failed):
15501 * simple.el (next-error-overlay-arrow-position):
15502 * lpr.el (lpr-command):
15503 * locate.el (locate-ls-subdir-switches):
15504 * info.el (same-window-regexps, info)
15505 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15506 * image-mode.el (image-mode, auto-mode-alist):
15507 * hippie-exp.el (hippie-expand-ignore-buffers):
15508 * format.el (format-alist):
15509 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15511 * facemenu.el (facemenu-keybindings):
15512 * dired.el (dired-listing-switches, dired-chown-program):
15513 * diff.el (diff-switches, diff-command):
15514 * cus-edit.el (same-window-regexps):
15515 * bindings.el (mode-line-mule-info)
15516 (mode-line-buffer-identification): Purecopy strings.
15518 2009-11-11 Juri Linkov <juri@jurta.org>
15520 * simple.el (dired-get-filename) <declare-function>:
15521 Tell the byte-compiler about dired-get-filename.
15522 (shell-command): In Dired mode, get filename from the current line
15523 as the default value.
15525 2009-11-10 Glenn Morris <rgm@gnu.org>
15527 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15528 * calendar/holidays.el, progmodes/cperl-mode.el:
15529 Update x-popup-menu declarations.
15531 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15532 (list-load-path-shadows): Use dolist.
15533 (list-load-path-shadows): Use with-current-buffer.
15535 2009-11-10 Juri Linkov <juri@jurta.org>
15537 * minibuffer.el (read-file-name): Support a list of default values
15538 in `default-filename'. Use the first file name where only one
15539 element is required. Doc fix.
15541 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15543 * net/dbus.el (dbus-unregister-object): Release service, if no
15544 other method is registered for it.
15546 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15548 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15549 bookmark-sort-flag is non-nil (Bug#4653).
15551 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15553 * emulation/cua-base.el: Add CUA property to some CC mode commands
15556 2009-11-08 Kevin Ryde <user42@zip.com.au>
15558 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15559 at end of sentence (Bug#4818).
15561 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15563 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15564 Handle "see declaration of" MSFT statements (Bug#4100).
15566 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15568 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15569 (tramp-advice-file-expand-wildcards): Unload via
15570 `ad-remove-advice'.
15572 * net/trampver.el: Update release number.
15574 2009-11-08 Kevin Ryde <user42@zip.com.au>
15576 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15579 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15581 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15582 in order to keep context in SELinux.
15584 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15586 * dired-aux.el (dired-query): Place cursor in echo area and allow
15589 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15590 menu item if not on a directory (Bug#4701).
15592 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15594 Sync with Tramp 2.1.17.
15596 * net/tramp.el (tramp-handle-copy-directory): Don't use
15597 `file-remote-p' (due to compatibility).
15599 * net/tramp-compat.el (tramp-compat-copy-directory)
15600 (tramp-compat-delete-directory): New defuns.
15602 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15603 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15604 Use `tramp-compat-delete-directory'.
15606 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15607 (tramp-smb-handle-delete-directory):
15608 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15610 * net/trampver.el: Update release number.
15612 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15614 * tar-mode.el (tar-copy): Call write-region on the right buffer
15617 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15618 by hand, if necessary (Bug#4878).
15620 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15622 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15623 align size column (Bug#4839).
15625 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15628 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15630 * progmodes/ld-script.el (auto-mode-alist):
15631 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15633 * cus-face.el (custom-declare-face): Purecopy face spec.
15635 2009-11-06 Kenichi Handa <handa@m17n.org>
15637 * international/uni-bidi.el: Re-generated.
15638 * international/uni-category.el: Re-generated.
15639 * international/uni-combining.el: Re-generated.
15640 * international/uni-mirrored.el: Re-generated.
15642 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15644 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15645 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15646 (tex-start-options, slitex-run-command, latex-run-command)
15647 (tex-run-command, tex-directory):
15648 * textmodes/ispell.el (ispell-html-skip-alists)
15649 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15650 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15651 (adaptive-fill-regexp):
15652 * textmodes/dns-mode.el (auto-mode-alist):
15653 * progmodes/python.el (interpreter-mode-alist):
15654 * progmodes/etags.el (tags-compression-info-list):
15655 * progmodes/etags.el (tags-file-name):
15656 * net/browse-url.el (browse-url-galeon-program)
15657 (browse-url-firefox-program):
15658 * mail/sendmail.el (mail-signature-file)
15659 (mail-citation-prefix-regexp):
15660 * international/mule-conf.el (eight-bit):
15661 * international/latexenc.el (latex-inputenc-coding-alist):
15662 * international/fontset.el (x-pixel-size-width-font-regexp):
15663 * emacs-lisp/warnings.el (warning-type-format):
15664 * emacs-lisp/trace.el (trace-buffer):
15665 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15666 (emacs-lisp-mode-map):
15667 * calendar/holidays.el (holiday-solar-holidays)
15668 (holiday-bahai-holidays, holiday-islamic-holidays)
15669 (holiday-christian-holidays, holiday-hebrew-holidays)
15670 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15671 (hebrew-holidays-1, holiday-oriental-holidays)
15672 (holiday-general-holidays):
15673 * x-dnd.el (x-dnd-known-types):
15674 * tool-bar.el (tool-bar):
15675 * startup.el (site-run-file):
15676 * shell.el (shell-dumb-shell-regexp):
15677 * rfn-eshadow.el (file-name-shadow-tty-properties)
15678 (file-name-shadow-properties):
15679 * paths.el (remote-shell-program, news-directory):
15680 * mouse.el ([C-down-mouse-3]):
15681 * menu-bar.el (menu-bar-tools-menu):
15682 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15683 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15684 (jka-compr-compression-info-list):
15685 * isearch.el (search-whitespace-regexp):
15686 * image-file.el (image-file-name-extensions):
15687 * find-dired.el (find-ls-option):
15688 * files.el (directory-listing-before-filename-regexp)
15689 (directory-free-space-args, insert-directory-program)
15690 (list-directory-brief-switches, magic-fallback-mode-alist)
15691 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15692 (automount-dir-prefix):
15693 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15694 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15695 (face-font-registry-alternatives, face-font-registry-alternatives)
15696 (face-font-family-alternatives):
15697 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15698 (facemenu-foreground-menu, facemenu-face-menu):
15699 * epa-hook.el (epa-file-name-regexp):
15700 * dnd.el (dnd-protocol-alist):
15701 * textmodes/rst.el (auto-mode-alist):
15702 * button.el (default-button): Purecopy strings.
15704 2009-11-06 Glenn Morris <rgm@gnu.org>
15706 * Makefile.in (ELCFILES): Update.
15708 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15710 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15711 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15713 * nxml/xsd-regexp.el (xsdre-gen-categories):
15714 * nxml/xmltok.el (xmltok-parse-entity):
15715 * nxml/rng-parse.el (rng-parse-validate-file):
15716 * nxml/rng-maint.el (rng-format-manual)
15717 (rng-manual-output-force-new-line):
15718 * nxml/rng-loc.el (rng-save-schema-location-1):
15719 * nxml/rng-cmpct.el (rng-c-parse-file):
15720 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15721 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15723 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15725 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15726 Remove extra save-excursions and make-variable-buffer-local's.
15727 Suggested by Stefan Monnier.
15729 (verilog-getopt-file, verilog-module-inside-filename-p)
15730 (verilog-set-define): Merge GNU 1.35 and repair changes from
15731 switching to using with-current-buffer.
15733 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15734 being treated as a number and confusing AUTORESET.
15735 Reported by Dan Dever.
15737 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15738 Add verilog-auto-ignore-concat to fix backward compatibility with
15739 older verilog-modes. Reported by Dan Katz.
15741 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15742 containing closing anchors "...$".
15744 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15745 Reported by Wade Smith.
15747 (verilog-batch-execute-func): Comment on function usage.
15749 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15751 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15754 (verilog-label-re, verilog-calc-1): Support proper indent of named
15757 (verilog-backward-token, verilog-basic-complete-re)
15758 (verilog-beg-of-statement, verilog-indent-re): Support proper
15759 indent of the assert statement at the beginning of a block of text.
15761 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15762 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15765 2009-11-05 Glenn Morris <rgm@gnu.org>
15767 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15768 Emacs 19. (Bug#1531)
15769 (byte-compile-fix-header): Update for the above change.
15770 Drop test for epoch::version.
15772 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15773 * cus-dep.el (custom-make-dependencies):
15774 * finder.el (finder-compile-keywords):
15775 Use autoload-rubric's feature argument.
15777 * calendar/diary-lib.el (top-level): Make load behave more like require.
15779 * vc-git.el (vc-git-stash-map): Move definition before use.
15781 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15783 * custom.el (custom-declare-group): Purecopy standard-value.
15784 (custom-declare-group): Purecopy custom-prefix.
15786 * international/mule.el (load-with-code-conversion):
15787 Call do-after-load-evaluation unconditionally.
15789 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15791 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15793 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15795 2009-11-04 Glenn Morris <rgm@gnu.org>
15797 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15798 (byte-compile-compatibility): Remove option.
15799 (byte-compile-close-variables, byte-compile-fix-header)
15800 (byte-compile-insert-header, byte-compile-output-docform)
15801 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15802 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15803 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15804 (byte-compile-insert, byte-compile-defun):
15805 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15806 (byte-defop-compiler19): Remove.
15807 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15808 used by anything. Replace all calls with byte-defop-compiler.
15810 2009-11-04 Juri Linkov <juri@jurta.org>
15812 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15813 (menu-bar-options-menu): Don't quote the `prop' arg of
15814 `menu-bar-make-mm-toggle'.
15816 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15818 * calendar/calendar.el (cal-loaddefs):
15819 * calendar/diary-lib.el (diary-loaddefs):
15820 * calendar/holidays.el (hol-loaddefs):
15821 * eshell/esh-module.el (esh-groups): Load rather than require.
15823 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15825 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15827 (todo-top-priorities): Only display-buffer when called interactively.
15828 (todo-item-start): Don't save excursion point.
15829 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15830 (todo-insert-item-here, todo-file-item, todo-remove-item):
15831 Adjust uses of todo-item-start and todo-item-end.
15833 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15834 (autoload-rubric): Don't use any more.
15836 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15837 and only put a prop if it is non-nil.
15839 2009-11-03 Juri Linkov <juri@jurta.org>
15841 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15842 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15844 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15845 and "Menu" to make top-level menu item visually one unit (like
15846 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15847 multi-word menu items). Fix :help string for quit-window.
15849 2009-11-03 Glenn Morris <rgm@gnu.org>
15851 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15852 (byte-compile-file-form-define-abbrev-table)
15853 (byte-compile-file-form-custom-declare-variable)
15854 (byte-compile-variable-ref, byte-compile-defvar):
15855 Whether or not a warning is enabled should only affect whether we issue
15856 the warning, not whether or not we collect the relevant data.
15857 Eg warnings can be turned on and off throughout the course of a file.
15859 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15860 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15862 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15864 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15865 * play/mpuz.el (mpuz-create-buffer):
15866 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15867 (lm-print-y,s,noise, lm-print-w0, lm-init):
15868 * play/gomoku.el (gomoku-prompt-for-move):
15869 * play/fortune.el (fortune-in-buffer):
15870 * play/dissociate.el (dissociated-press):
15871 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15872 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15873 * mail/supercite.el (sc-eref-show):
15874 * mail/smtpmail.el (smtpmail-send-it):
15875 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15876 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15877 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15878 (rmail-summary-goto-msg, rmail-summary-expunge)
15879 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15880 (rmail-summary-add-label, rmail-summary-output-menu)
15881 (rmail-summary-output-body):
15882 * mail/rfc822.el (rfc822-addresses):
15883 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15884 * mail/mailpost.el (post-mail-send-it):
15885 * mail/hashcash.el (hashcash-generate-payment):
15886 * mail/feedmail.el (feedmail-run-the-queue)
15887 (feedmail-queue-send-edit-prompt-help-first)
15888 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15889 (feedmail-deduce-address-list):
15890 * eshell/esh-ext.el (eshell-remote-command):
15891 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15892 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15893 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15894 (viper-save-string-in-file, viper-valid-marker):
15895 * emulation/viper-keym.el (viper-toggle-key):
15896 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15897 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15898 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15899 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15900 (viper-exec-form-in-emacs, viper-brac-function):
15901 * emulation/viper.el (viper-delocalize-var):
15902 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15903 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15904 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15905 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15906 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15907 * emulation/edt.el (edt-electric-helpify):
15908 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15909 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15910 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15911 (cua-indent-to-global-mark-column):
15912 * calendar/diary-lib.el (calendar-mark-1):
15913 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15914 Use with-current-buffer.
15915 * emulation/viper.el (viper-delocalize-var): Use dolist.
15917 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15919 * comint.el (comint-replace-by-expanded-history-before-point):
15920 Replace !! with the previous input string literally (Bug#1795).
15922 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15924 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15925 to be made up of whitespace.
15927 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15929 * minibuffer.el (read-file-name): Don't use file dialogs for
15930 remote directories (Bug#99).
15932 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15934 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15936 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15938 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15939 instead of deleting the window or frame.
15941 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15943 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15944 Support face colors.
15946 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15947 New function. Support face colors (Bug#1168).
15948 (tex-common-initialization): Use it.
15950 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15951 mode allows it (Bug#1168).
15953 2009-10-31 Juri Linkov <juri@jurta.org>
15955 * facemenu.el (list-colors-display): Don't mark buffer as
15956 modified (Bug#3948).
15958 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15960 * international/mule-diag.el (list-character-sets-1):
15961 Minor message fix (Bug#3526).
15963 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15964 Fix face property (Bug#4834).
15965 (etags-list-tags, etags-tags-apropos-additional)
15966 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15969 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15972 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15974 * textmodes/two-column.el (2C-split):
15975 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15976 * textmodes/tex-mode.el (tex-set-buffer-directory):
15977 * textmodes/spell.el (spell-region, spell-string):
15978 * textmodes/reftex.el (reftex-erase-buffer):
15979 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15980 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15981 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15982 (reftex-select-item):
15983 * textmodes/reftex-ref.el (reftex-label-info-update)
15984 (reftex-offer-label-menu):
15985 * textmodes/reftex-index.el (reftex-index-change-entry)
15986 (reftex-index-phrases-info):
15987 * textmodes/reftex-global.el (reftex-create-tags-file)
15988 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15989 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15990 (reftex-view-crossref-from-bibtex):
15991 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15992 (reftex-extract-bib-entries-from-thebibliography)
15993 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15994 * textmodes/refbib.el (r2b-capitalize-title):
15995 (r2b-convert-buffer, r2b-help):
15996 * textmodes/page-ext.el (pages-directory)
15997 (pages-directory-goto-with-mouse):
15998 * textmodes/bibtex.el (bibtex-validate-globally):
15999 * textmodes/bib-mode.el (bib-capitalize-title):
16000 * textmodes/artist.el (artist-clear-buffer, artist-system):
16001 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16002 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16003 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16004 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16005 (xscheme-send-control-g-interrupt, xscheme-start-process)
16006 (xscheme-process-sentinel, xscheme-cd):
16007 * progmodes/verilog-mode.el (verilog-read-always-signals)
16008 (verilog-set-define, verilog-getopt-file)
16009 (verilog-module-inside-filename-p):
16010 * progmodes/sh-script.el:
16011 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16012 (python-pdbtrack-grub-for-buffer, python-execute-file):
16013 * progmodes/octave-inf.el (inferior-octave):
16014 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16015 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16016 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16017 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16018 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16019 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16020 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16021 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16022 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16023 (idlwave-shell-examine-display, idlwave-shell-run-region)
16024 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16025 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16026 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16027 (idlwave-help-get-help-buffer):
16028 * progmodes/gud.el (gud-basic-call, gud-find-class)
16029 (gud-tooltip-activate-mouse-motions-if-enabled):
16030 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16031 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16032 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16033 (ebrowse-tags-next-file):
16034 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16035 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16036 (ebnf-eps-finish-and-write):
16037 * progmodes/cpp.el (cpp-edit-save):
16038 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16039 * progmodes/cc-defs.el (c-emacs-features):
16040 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16041 (antlr-directory-dependencies):
16042 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16043 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16044 (ada-find-any-references, ada-make-filename-from-adaname)
16045 (ada-make-body-gnatstub):
16046 * obsolete/rnews.el (news-list-news-groups):
16047 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16048 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16049 * net/rcirc.el (rcirc-debug):
16050 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16051 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16052 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16053 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16054 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16055 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16056 (newsticker--treeview-list-clear-highlight)
16057 (newsticker--treeview-list-update-highlight)
16058 (newsticker--treeview-list-highlight-start)
16059 (newsticker--treeview-tree-update-highlight)
16060 (newsticker--treeview-get-selected-item)
16061 (newsticker-treeview-mark-list-items-old)
16062 (newsticker--treeview-set-current-node):
16063 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16064 * net/newst-backend.el (newsticker--get-news-by-funcall)
16065 (newsticker--get-news-by-wget, newsticker--image-get)
16066 (newsticker--image-sentinel):
16067 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16068 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16069 (eudc-ph-close-session):
16070 * net/eudc.el (eudc-save-options):
16071 * language/thai-word.el (thai-update-word-table):
16072 * language/japan-util.el (japanese-string-conversion):
16073 * international/titdic-cnv.el (tsang-quick-converter)
16074 (ziranma-converter, ctlau-converter):
16075 * international/mule-cmds.el (describe-language-environment):
16076 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16077 (skkdic-convert-postfix, skkdic-convert-prefix):
16078 (skkdic-convert-okuri-nasi, skkdic-convert):
16079 * emacs-lisp/re-builder.el (reb-update-overlays):
16080 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16081 * emacs-lisp/gulp.el (gulp-send-requests):
16082 * emacs-lisp/find-gc.el (trace-call-tree):
16083 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16084 (eieio-describe-generic):
16085 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16086 * emacs-lisp/edebug.el (edebug-outside-excursion):
16087 * emacs-lisp/debug.el (debugger-make-xrefs):
16088 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16089 * emacs-lisp/chart.el (chart-new-buffer):
16090 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16091 Use with-current-buffer.
16092 * textmodes/artist.el (artist-system): Don't call
16093 copy-sequence on a fresh string.
16094 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16096 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16098 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16099 is no item to edit. (Bug#4820)
16100 (todo-top-priorities): Restore point and restore narrowing in Todo
16103 2009-10-31 Glenn Morris <rgm@gnu.org>
16105 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16106 (comint-last-output-start, comint-last-input-start)
16107 (comint-last-input-end): Don't defvar when compiling.
16108 (ange-ftp-process-file): Use bound-and-true-p.
16110 * pcmpl-rpm.el (top-level): Move provide statement to end.
16111 (pcmpl-rpm): Remove unused custom group.
16113 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16115 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16117 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16118 (byte-compile-warnings): Add `constants' as an option.
16119 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16120 (display-call-tree): Update for byte-compile-fdefinition possibly
16121 returning `(macro lambda ...)'. (Bug#4778)
16122 (byte-compile-variable-ref, byte-compile-setq-default):
16123 Respect `constants' member of byte-compile-warnings.
16125 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16127 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16128 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16131 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16133 * textmodes/ispell.el (ispell-skip-region-alist):
16134 * international/mule-conf.el (eight-bit):
16135 * international/fontset.el (font-encoding-alist):
16136 * startup.el (pure-space-overflow-message):
16137 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16138 * paths.el (gnus-nntp-service, rmail-spool-directory)
16139 (term-file-prefix):
16140 * files.el (save-some-buffers-action-alist):
16141 * cmuscheme.el (same-window-buffer-names):
16142 * ielm.el (same-window-buffer-names):
16143 * shell.el (same-window-buffer-names):
16144 * mail/sendmail.el (same-window-buffer-names):
16145 * progmodes/inf-lisp.el (same-window-buffer-names):
16146 * bindings.el (mode-line-client)
16147 (mode-line-column-line-number-mode-map):
16148 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16149 (tibetan-precomposed-regexp): Purecopy string arguments.
16151 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16153 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16154 (calcDigit-nondigit):
16155 * calc/calc-yank.el (calc-copy-to-buffer):
16156 * calc/calc-units.el (calc-invalidate-units-table):
16157 * calc/calc-trail.el (calc-trail-yank):
16158 * calc/calc-store.el (calc-insert-variables):
16159 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16160 * calc/calc-prog.el (calc-read-parse-table):
16161 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16162 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16163 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16164 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16165 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16166 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16167 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16168 * calc/calc-ext.el (calc-realign):
16169 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16170 (calc-embedded-finish-edit, calc-embedded-make-info)
16171 (calc-embedded-finish-command, calc-embedded-stack-change):
16172 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16174 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16175 shell-dynamic-complete-filename in preference to
16176 comint-dynamic-complete-filename.
16178 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16179 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16180 Don't consider whether the display supports colors.
16181 (bookmark-import-new-list): Use dolist.
16182 (bookmark-bmenu-mode-map): Move initialization into declaration.
16183 (bookmark-bmenu-list): Use dolist, simplify.
16184 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16185 (menu-bar-final-items): Use push.
16187 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16189 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16190 it works on remote files.
16191 (vc-hg-diff): Don't pass any `--cwd' argument.
16193 2009-10-27 Kevin Ryde <user42@zip.com.au>
16195 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16196 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16197 (Further to Bug#3921).
16199 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16201 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16202 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16203 calling `tramp-imap-put-file'. Add file size to the call.
16204 (tramp-imap-get-file-entries): Compute also user name, file size,
16206 (tramp-imap-handle-insert-directory): Insert uid and gid.
16207 (tramp-imap-handle-file-attributes): Transform uid and gid
16208 according to `id-format'.
16209 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16210 size in header X-Size.
16212 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16214 * simple.el (transpose-subr): Give clearer error when the mark
16215 is not set. (Bug#4807)
16217 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16219 * net/tramp.el (tramp-perl-file-truename): New defconst.
16220 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16221 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16222 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16223 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16225 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16226 Ignore `dired-call-process'.
16227 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16229 2009-10-26 Julian Scheid <julians37@gmail.com>
16231 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16232 (tramp-get-remote-readlink): New defun.
16233 (tramp-handle-file-truename): Use it.
16234 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16235 file exists if cache value present.
16236 (tramp-check-cached-permissions): New defun.
16237 (tramp-handle-file-readable-p): Use it.
16238 (tramp-handle-file-writable-p): Likewise.
16239 (tramp-handle-file-executable-p): Likewise.
16240 (tramp-handle-file-name-all-completions): Try using Perl to get
16241 partial completions. When perl not available, combine `cd' and
16242 `ls' into single remote operation and use shell expansion to get
16243 partial remote directory contents. Set `file-exists-p' cache for
16244 directory and any files returned by ls. Change cache handling to
16245 support partial directory contents. Use error message emitted by
16246 remote `cd' or Perl code for local tramp-error.
16247 (tramp-do-copy-or-rename-file-directly): Avoid separate
16248 tramp-send-command-and-check call.
16249 (tramp-handle-process-file): Merge three remote ops into one.
16250 Do not flush all caches when `process-file-side-effects' is set.
16251 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16252 file-attributes shows uid/gid to be set already.
16254 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16256 * textmodes/tex-mode.el (tex-dvi-view-command)
16257 (tex-show-queue-command, tex-open-quote):
16258 * progmodes/ruby-mode.el (auto-mode-alist)
16259 (interpreter-mode-alist): Purecopy strings.
16261 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16263 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16264 string for the hook, keymap and abbrev table.
16266 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16268 * x-dnd.el (x-dnd-xdnd-to-action):
16269 * startup.el (fancy-startup-text, fancy-about-text): Change to
16270 defconst from defvar.
16272 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16274 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16275 Purecopy initialization strings.
16277 * mail/sendmail.el (mail-header-separator)
16278 (mail-personal-alias-file):
16279 * mail/rmail.el (rmail-default-dont-reply-to-names)
16280 (rmail-ignored-headers, rmail-retry-ignored-headers)
16281 (rmail-highlighted-headers, rmail-secondary-file-directory)
16282 (rmail-secondary-file-regexp):
16283 * files.el (null-device, file-name-invalid-regexp)
16284 (locate-dominating-stop-dir-regexp)
16285 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16286 (interpreter-mode-alist): Use mapcar instead of mapc.
16288 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16290 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16291 (completion-ignored-extensions):
16292 (debug-ignored-errors): Purecopy strings.
16294 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16296 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16297 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16298 (pcomplete--here): Use push.
16300 * subr.el (all-completions): Declare the 4th arg obsolete.
16302 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16304 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16305 (pcomplete-unquote-argument): New function.
16306 (pcomplete--common-suffix): Always pay attention to case.
16307 (pcomplete--table-subvert): Quote and unquote the text.
16308 (pcomplete--common-quoted-suffix): New function.
16309 (pcomplete-std-complete): Use it and pcomplete-begin.
16311 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16312 we're inside a dedicated or minibuffer window.
16314 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16316 * bookmark.el: Update documentation, especially documentation
16317 of `bookmark-alist' and of the bookmark file format.
16318 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16320 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16322 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16323 keybindings apply to the mail buffer (Bug#4003). Shrink help
16326 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16327 (global-whitespace-mode, global-whitespace-newline-mode)
16328 (whitespace-toggle-options, global-whitespace-toggle-options):
16329 Doc fix (Bug#3660).
16331 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16332 of xmltok-start before the end tag was inserted (Bug#2840).
16334 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16335 patterns that are preceded by an open-paren (Bug#1320).
16337 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16339 * files.el (delete-directory): Delete symlinks to directories with
16340 delete-file (Bug#4739).
16342 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16344 * vc.el (vc-backend-for-registration): Rename from
16345 vc-get-backend-for-registration. Update callers.
16347 * international/mule-cmds.el (set-language-info-alist):
16349 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16350 (charset): Purecopy the name.
16351 (define-char-code-property): Purecopy string arguments.
16353 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16354 Purecopy string arguments.
16356 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16357 * ediff-hook.el (menu-bar-ediff-menu):
16358 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16359 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16361 2009-10-24 Glenn Morris <rgm@gnu.org>
16363 * comint.el (comint-dynamic-list-completions):
16364 * term.el (term-dynamic-list-completions): Use choose-completion rather
16365 than obsolete alias mouse-choose-completion.
16367 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16368 file-cache-choose-completion.
16369 (file-cache-choose-completion): Handle an optional event argument.
16370 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16372 * progmodes/octave-mod.el (octave-complete-symbol):
16373 Use choose-completion if mouse-choose-completion is ever removed.
16375 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16378 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16381 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16383 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16385 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16386 Ignore `pred' now that we receive one.
16387 Handle test-completion specially.
16389 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16391 * vc.el (vc-responsible-backend): Throw an error if not backend is
16392 found. Remove the REGISTER argument. Move the code dealing with
16394 (vc-get-backend-for-registration): ... here. New function.
16395 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16396 of vc-responsible-backend, pass the file name instead of the
16399 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16401 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16403 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16404 (pcomplete-comint-setup): Don't modify a global var via
16405 accidental side-effects.
16406 (pcomplete-shell-setup): Adjust call accordingly.
16407 (pcomplete-parse-comint-arguments): Use push.
16409 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16411 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16412 Allow uncapitalized info node names (Bug#3921).
16414 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16415 to the DEBUG file (Bug#3781).
16417 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16419 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16420 dictionary entry (Bug#4579).
16422 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16424 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16425 from `rfn-eshadow-update-overlay-hook' when unloading.
16426 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16427 "rsyncc". Adjust doc string.
16428 (tramp-temp-buffer-file-name): New buffer-local defvar.
16429 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16430 Keep temporary file when indicated by method ("rsync" and
16432 (tramp-handle-write-region): Handle APPEND.
16433 (tramp-delete-temp-file-function): New defun. Added to
16434 `kill-buffer-hook'.
16436 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16438 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16440 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16442 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16443 (color-name-rgb-alist, tty-standard-colors)
16444 (tty-color-mode-alist): Change to defconst.
16446 * simple.el (mark-inactive): Purecopy message.
16448 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16449 (global-map, yank-menu):
16450 * textmodes/ispell.el (ispell-menu-map):
16451 * net/eudc.el (eudc-tools-menu):
16452 * international/mule-cmds.el (describe-language-environment-map)
16453 (setup-language-environment-map, set-coding-system-map)
16454 (mule-menu-keymap):
16455 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16456 * replace.el (occur-mode-map):
16457 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16459 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16461 * calc/calc.el (math-read-number, math-read-number-simple):
16462 Use `save-match-data'.
16464 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16466 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16467 rather than fiddling with global-map bindings, since it should only
16468 affect per-terminal settings.
16469 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16471 * minibuffer.el (completion-table-with-terminator): Allow to specify
16472 the terminator-regexp.
16474 * simple.el (switch-to-completions): Look for *Completions* in other
16477 * pcomplete.el: Allow the use of completion-tables.
16478 (pcomplete-std-complete): New command.
16479 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16480 (pcomplete--here): Use a function for `form' rather than an expression,
16481 so it can be byte-compiled.
16482 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16483 Add edebug declaration.
16484 (pcomplete-show-completions): Remove unused var `curbuf'.
16485 (pcomplete-do-complete, pcomplete-stub):
16486 Don't assume `completions' is a list of strings any more.
16488 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16490 * find-dired.el (find-name-arg): Fix typo in docstring.
16492 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16494 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16495 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16497 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16500 * comint.el (comint-read-input-ring, comint-write-input-ring)
16501 (comint-substitute-in-file-name)
16502 (comint-dynamic-complete-as-filename)
16503 (comint-dynamic-simple-complete)
16504 (comint-dynamic-list-filename-completions)
16505 (comint-dynamic-list-completions)
16506 (comint-redirect-results-list-from-process): Minor simplifications.
16508 2009-10-21 Kevin Ryde <user42@zip.com.au>
16510 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16511 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16512 the first form. And insert a blank line after ";;; Code" since
16513 that's usual style. (Bug#4612)
16515 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16517 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16519 * minibuffer.el (completion-table-with-terminator): Properly implement
16520 boundaries, in case `terminator' appears in the suffix.
16521 (completion--embedded-envvar-table): Don't return boundaries if
16522 there's no valid completion. Simplify.
16523 (completion-file-name-table): New completion table extracted from
16524 completion--file-name-table.
16525 (completion--file-name-table): Use it.
16526 (read-file-name-predicate): Declare obsolete.
16527 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16528 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16529 completion-file-name-table, and use the `pred' argument.
16530 * files.el (locate-file-completion-table): Use the `pred' arg rather
16531 than read-file-name-predicate.
16532 (abbreviate-file-name): Use \` rather than ^ for BOS.
16534 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16536 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16537 vc-responsible-backend to register, it causes problems.
16539 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16541 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16543 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16545 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16546 (tramp-smb-handle-file-attributes): Use it.
16547 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16548 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16549 `mapcar'. Use `tramp-smb-get-stat-capability'.
16550 Add `dired-filename' text properties.
16551 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16552 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16555 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16557 * subr.el (read-key-delay): Reduce to 0.01.
16558 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16561 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16563 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16565 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16566 (Info-menu): Remove unused vars `last' and `completions'.
16567 (Info-index-nodes): Remove unused var `node'.
16569 * info.el (Info-complete-menu-item): Use complete-with-action.
16571 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16573 Make vc-annotate work through copies and renames.
16574 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16575 Return the file name too.
16576 (vc-annotate-revision-at-line)
16577 (vc-annotate-find-revision-at-line)
16578 (vc-annotate-revision-previous-to-line)
16579 (vc-annotate-show-log-revision-at-line): Update to get the file
16580 name from vc-annotate-extract-revision-at-line.
16581 (vc-annotate-show-diff-revision-at-line-internal): Change the
16582 argument to mean whether to show a file diff or not. Get the file
16583 name from vc-annotate-extract-revision-at-line.
16584 (vc-annotate-show-diff-revision-at-line):
16585 Update vc-annotate-show-diff-revision-at-line call.
16586 (vc-annotate-warp-revision): Add an optional file argument.
16588 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16589 (vc-git-annotate-extract-revision-at-line): Also return the file
16592 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16593 command. Remove unused code.
16594 (vc-hg-annotate-re): Update to match --follow output.
16595 (vc-hg-annotate-extract-revision-at-line): Also return the file
16598 * vc.el: Update annotate-extract-revision-at-line documentation.
16600 2009-10-18 Kevin Ryde <user42@zip.com.au>
16602 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16603 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16605 * net/browse-url.el (browse-url): Identify alist with "consp and
16606 not functionp" and let all other things go down the `apply' leg,
16607 as suggested by Stefan. (Further to bug#4531.)
16609 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16611 * minibuffer.el (read-file-name): Check for repeat before putting
16612 a default argument in file-name-history (Bug#4657).
16614 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16615 read syntax (Bug#4737).
16617 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16619 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16621 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16622 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16623 entries and make note of obsolete tags.
16625 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16627 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16629 2009-10-18 Glenn Morris <rgm@gnu.org>
16631 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16632 grep, so that binary files (eg international/uni-bidi.el) can match.
16633 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16634 now, and in any case the file header format has changed.
16636 2009-10-17 Glenn Morris <rgm@gnu.org>
16638 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16639 (flyspell-get-word, flyspell-large-region)
16640 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16642 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16644 * Makefile.in (ELCFILES): Add ede/shell.
16646 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16648 * term/common-win.el (x-colors): Purecopy it.
16650 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16652 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16653 permissive for when the buffer is empty.
16654 (tar-header-block-tokenize): Decode the username and groupname.
16655 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16657 2009-10-17 Eric Ludlam <zappo@gnu.org>
16659 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16660 contains multibyte characters, choose first applicable coding
16661 system automatically.
16663 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16665 * international/mule-cmds.el (select-safe-coding-system): If the file
16666 has a coding cookie, use it regardless of any other setting (bug#4712).
16668 2009-10-17 Glenn Morris <rgm@gnu.org>
16670 * foldout.el (foldout-mouse-swallow-events):
16671 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16673 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16674 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16675 (dired-keep-marker-symlink, dired-dwim-target)
16676 (dired-copy-preserve-time): Do not autoload these defcustoms.
16678 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16679 messages from messing up the file coding. (Bug#4623)
16681 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16683 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16684 if no match is found for the current dictionary. (Bug#4578)
16686 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16687 optional, since that is how it is documented, and this is often called
16688 with a nil argument. (Bug#4577)
16689 (flyspell-external-point-words, flyspell-auto-correct-word)
16690 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16691 (flyspell-word-search-backward): Remove nil argument in calls to
16692 flyspell-get-word, since it is not needed now.
16694 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16696 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16698 2009-10-16 Glenn Morris <rgm@gnu.org>
16700 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16702 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16704 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16705 (ange-ftp-file-size): New function.
16706 (ange-ftp-file-attributes): Use it.
16708 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16710 * net/tramp-smb.el (tramp-smb-version): New defvar.
16711 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16714 2009-10-16 Glenn Morris <rgm@gnu.org>
16716 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16717 Maybe copy some custom properties from old to new name. (Bug#4706)
16719 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16721 * subr.el (error, sit-for, start-process-shell-command)
16722 (start-file-process-shell-command): Set the calling convention
16723 after the function definition.
16725 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16727 * subr.el (error, sit-for, start-process-shell-command)
16728 (start-file-process-shell-command): Use the new
16729 set-advertised-calling-convention feature.
16731 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16733 * international/ucs-normalize.el (ucs-normalize-version):
16735 (check-range): Adjust for Unicode 5.2.
16737 2009-10-15 Juri Linkov <juri@jurta.org>
16739 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16740 to the `menu-item' format.
16742 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16744 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16745 if the environment variable does not exist.
16747 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16748 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16750 (tramp-smb-handle-add-name-to-file)
16751 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16752 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16753 (tramp-smb-handle-file-attributes)
16754 (tramp-smb-do-file-attributes-with-stat)
16755 (tramp-smb-handle-file-local-copy)
16756 (tramp-smb-handle-insert-directory)
16757 (tramp-smb-handle-make-directory)
16758 (tramp-smb-handle-make-directory-internal)
16759 (tramp-smb-handle-make-symbolic-link)
16760 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16761 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16762 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16763 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16764 Handle long file names.
16765 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16766 process is running.
16767 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16768 Read share names with "-g" option.
16770 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16772 * net/rcirc.el (rcirc-view-log-file): New command.
16773 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16774 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16777 2009-10-15 Glenn Morris <rgm@gnu.org>
16779 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16780 from the second command-line argument.
16781 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16782 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16783 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16784 w32-batch-update-autoloads.
16785 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16786 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16788 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16789 the headers cannot be located. Simplify, subtracting superflous
16792 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16794 Replace completion-base-size by completion-base-position to fix bugs
16795 such as (bug#4699).
16796 * simple.el (completion-base-position): New var.
16797 (completion-base-size): Mark as obsolete.
16798 (choose-completion): Make it work for mouse events as well.
16799 Pass the new base-position to choose-completion-string.
16800 (choose-completion-guess-base-position): New function, extracted from
16801 choose-completion-delete-max-match.
16802 (choose-completion-delete-max-match): Use it. Make obsolete.
16803 (choose-completion-string): Use the new base-position info.
16804 (completion-root-regexp): Delete.
16805 (completion-setup-function): Preserve completion-base-position.
16806 Eliminate obsolete base-size manipulation.
16807 * minibuffer.el (display-completion-list): Don't mess with base-size.
16808 (minibuffer-completion-help): Set completion-base-position instead.
16809 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16811 * textmodes/bibtex.el (bibtex-complete):
16812 * emacs-lisp/crm.el (crm--choose-completion-string):
16813 Adjust to new calling convention.
16814 * complete.el (partial-completion-mode): Use minibufferp to avoid
16815 bumping into incompatible change to choose-completion-string-functions.
16816 * ido.el (ido-choose-completion-string): Make its calling convention
16818 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16819 base-size manipulation.
16820 (comint-dynamic-list-input-ring): Use dotimes and push.
16821 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16822 fundamental-mode. Use `or'.
16824 2009-10-14 Juri Linkov <juri@jurta.org>
16826 * misearch.el (multi-isearch-next-buffer-from-list)
16827 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16829 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16831 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16834 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16835 string we return is all made up of text from the completions rather
16836 than part from the completions and part from the input (bug#4219).
16838 * ido.el (ido-everywhere): Use define-minor-mode.
16840 * buff-menu.el (list-buffers, ctl-x-map):
16841 Mark the entry points with ;;;###autoload cookies.
16843 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16845 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16846 correctly in the detached head case.
16847 (vc-git-print-log): Remove unused binding.
16849 * vc.el (vc-responsible-backend): When a directory is passed for
16850 for registration create a VC repository if no backend is
16851 responsible for the directory argument.
16852 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16854 * vc.el: Move comments about RCS and SCCS ...
16856 * vc-sccs.el: ... here, respectively.
16858 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16860 * minibuffer.el (completion--file-name-table): Return nil if there's
16861 no file completion, even if substitute-in-file-name changed
16862 the string (bug#4708).
16864 2009-10-13 Juri Linkov <juri@jurta.org>
16866 * files-x.el (read-file-local-variable-value): Don't filter out
16867 minor modes from mode name completion (bug#4664).
16869 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16871 * international/mule-cmds.el (ucs-names): Remove exclusion of
16872 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16874 2009-10-13 Kenichi Handa <handa@m17n.org>
16876 * international/uni-name.el: Regenerated.
16878 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16880 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16881 should be automatically buffer-local, but isn't.)
16883 2009-10-12 Sam Steingold <sds@gnu.org>
16885 * progmodes/compile.el (compilation-next-error-function): Fix the
16886 timestamps if the buffer has been visited before.
16887 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16888 non-anchored patterns, like the perl one (bug#3928).
16890 2009-10-12 Glenn Morris <rgm@gnu.org>
16892 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16895 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16897 * proced.el (proced-unload-function): New function.
16899 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16900 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16903 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16905 2009-10-11 Juri Linkov <juri@jurta.org>
16907 * files-x.el (read-file-local-variable-value):
16908 Provide default value only for bound variables (bug#4664).
16910 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16912 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16913 connection methods like smb.
16915 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16918 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16919 (tramp-smb-file-name-handler-alist): Add handlers for
16920 `add-name-to-file', `make-symbolic-link'.
16921 (tramp-smb-handle-add-name-to-file)
16922 (tramp-smb-do-file-attributes-with-stat)
16923 (tramp-smb-handle-make-symbolic-link)
16924 (tramp-smb-get-cifs-capabilities): New defuns.
16925 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16926 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16927 (tramp-smb-handle-file-local-copy)
16928 (tramp-smb-handle-make-directory-internal)
16929 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16930 The file name syntax depends on cifs capabilities.
16931 (tramp-smb-handle-file-attributes):
16932 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16933 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16934 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16936 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16938 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16939 (eieio-defclass): Apply deftype handler and setf-method properties
16941 (eieio-add-new-slot): Avoid union function from cl library.
16942 (eieio--typep): New function.
16943 (eieio-perform-slot-validation): Use it.
16945 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16947 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16948 Update documentation to refer to the variables documented in r1.135.
16951 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16953 * bookmark.el (Info-suffix-list): Remove this unused variable.
16954 (bookmark-current-point): Remove this obsolete variable.
16955 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16956 Adjust for removal of bookmark-current-point.
16958 (bookmarks-already-loaded, bookmark-current-buffer)
16959 (bookmark-yank-point): Document. (Bug#4188)
16961 2009-10-10 Glenn Morris <rgm@gnu.org>
16963 * frame.el (frame-height): Doc fix.
16965 * calendar/calendar.el (calendar-split-width-threshold): New option.
16966 (calendar-basic-setup): Use calendar-split-width-threshold.
16968 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16970 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16971 Ideographic Supplement" range (U+1F200..U+1F2FF).
16973 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16975 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16976 since the list will have been rebuilt anyway. (Bug#4349)
16978 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16980 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16981 (bookmark-bmenu-execute-deletions): Don't save here, as
16982 bookmark-delete will now do so if necessary.
16983 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16986 2009-10-09 Glenn Morris <rgm@gnu.org>
16988 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16990 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16992 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16993 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16994 argument now, so the two function's behaviors will match. (Bug#3645)
16996 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16998 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16999 (tramp-file-name-real-host, tramp-file-name-port):
17000 Apply `save-match-data'.
17002 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17003 case both directories are remote.
17004 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17005 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17007 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17009 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17011 2009-10-07 Glenn Morris <rgm@gnu.org>
17013 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17016 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17018 * files-x.el (read-file-local-variable): Include some
17019 non-user-variables in the completion table (bug#4664).
17021 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17023 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17026 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17027 (tramp-smb-file-name-handler-alist): Add handler for
17028 `copy-directory', `expand-file-name', `set-file-modes'.
17029 (tramp-smb-handle-copy-directory)
17030 (tramp-smb-handle-expand-file-name)
17031 (tramp-smb-handle-set-file-modes): New defuns.
17032 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17033 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17035 (tramp-smb-handle-insert-directory): Don't flush the cache.
17036 (tramp-smb-maybe-open-connection): Check for samba client and
17039 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17041 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17042 to not error out of search for "^lisp=" fails.
17044 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17046 * makefile.w32-in (WINS_UPDATES): New macro.
17047 (custom-deps, finder-data, autoloads): Use it.
17049 2009-10-07 Glenn Morris <rgm@gnu.org>
17051 * Makefile.in (autoloads): Revert previous change.
17052 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17053 the list of preloaded files passed on the command-line, get
17054 it from src/Makefile.
17056 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17057 show the original buffer rather than a random one.
17059 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17061 * help.el (describe-no-warranty): Place point in a slightly better
17062 position in the GPLv3 text.
17064 2009-10-06 Sam Steingold <sds@gnu.org>
17066 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17067 the comm attribute is present before calling regexp-quote.
17069 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17071 * play/animate.el (animate-string): For good effect, make sure
17072 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17074 * play/animate.el (animate-sequence, animate-birthday-present):
17075 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17077 2009-10-06 Glenn Morris <rgm@gnu.org>
17079 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17081 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17082 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17083 (batch-update-autoloads): Process a string value of autoload-excludes,
17084 set during the build process.
17085 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17087 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17088 inside with-parsed... macro so that `v' is defined.
17090 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17091 * progmodes/fortran.el (fortran-end-of-block)
17092 (fortran-beginning-of-block):
17093 Also push mark in the macro case.
17095 * emerge.el (emerge-show-file-name):
17096 * calc/calc.el (calc-quit):
17097 * calc/calc-misc.el (calc-big-or-small):
17098 * calc/calc-graph.el (calc-graph-view):
17099 * calc/calc-ext.el (calc-reset):
17100 * calendar/calendar.el (calendar-basic-setup):
17101 Use window-full-height-p.
17103 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17104 header we don't understand, don't insert another. (Bug#4624)
17105 If changing mime charset, insert the new one in the right place.
17107 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17109 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17110 (cal-tex-cursor-month): Correctly increment the end date for diary and
17111 holiday listing. (Bug#4626)
17113 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17115 * help-fns.el (describe-function-1): Don't burp if the function is not
17118 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17120 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17121 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17122 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17123 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17125 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17126 (eieio-default-superclass): Reflow docstrings.
17127 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17128 (eieio-unbind-method-implementations, defmethod)
17129 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17130 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17131 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17132 (eieio-slot-originating-class-p, eieio-slot-name-index)
17133 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17134 (constructor, initialize-instance, no-next-method, object-print)
17135 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17136 Fix typos in docstrings.
17137 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17138 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17139 (next-method-p): Doc fixes.
17140 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17141 Fix typos in error messages.
17142 (eieio-defmethod): Fix typo in description of generic method.
17144 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17145 (eieio-persistent-save-interactive, slot-missing):
17146 Fix typos in docstrings.
17147 (eieio-instance-inheritor-slot-boundp): Doc fix.
17149 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17150 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17152 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17153 (eieio-custom-object-apply-reset):
17154 Fix typos in docstrings and error messages.
17156 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17157 Fix typo in docstring.
17159 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17160 (eieio-browse-tree): Doc fix.
17161 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17162 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17163 Fix typos in docstrings.
17165 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17166 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17167 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17168 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17171 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17173 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17174 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17175 Set log-view-vc-backend so that diff can work.
17177 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17179 (vc-diff-internal): Autoload this instead of vc-version-diff.
17181 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17183 * simple.el (eval-expression): Doc fix.
17185 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17187 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17189 * files.el (directory-files-no-dot-files-regexp): New defconst.
17190 (delete-directory): Use it.
17191 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17193 * net/tramp.el (tramp-verbose): Fix docstring.
17194 (tramp-methods): Add recursive option to `tramp-copy-args'.
17195 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17196 "scp1_old", "scp2_old", "rsync", "rsyncc".
17197 (tramp-default-method): Check also for `auth-source-user-or-password'.
17198 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17199 Add handler for `copy-directory'.
17200 (tramp-handle-copy-directory): New defun.
17201 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17202 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17203 Optimize sent command.
17205 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17207 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17208 window if necessary.
17210 * calendar/calendar.el (calendar-basic-setup): Don't call
17211 switch-to-buffer in a dedicated window.
17213 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17215 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17216 don't do anything related to relocating, just return nil.
17217 (bookmark-error-no-filename): New error.
17218 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17219 bookmark has no file. Don't even attempt to handle things that
17220 are not files; the whole point of custom handlers is to keep that
17221 knowledge elsewhere anyway. Tighten some comments.
17222 (bookmark-file-or-variation-thereof): Remove now-unused function.
17223 (bookmark-location): Doc string fix.
17226 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17228 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17229 don't use a file dialog, because they usually don't know how to read
17230 a directory target from the user. (Bug#4230)
17231 Also, make sure the prompt can display directories as well as files.
17233 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17235 * bookmark.el (bookmark-set, bookmark-buffer-name):
17236 Improve doc strings. (Bug#1193)
17238 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17240 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17241 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17242 (bookmark-get-annotation, bookmark-set-annotation)
17243 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17244 (bookmark-set-position, bookmark-get-front-context-string)
17245 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17246 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17247 (bookmark-jump-other-window, bookmark-handle-bookmark)
17248 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17249 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17250 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17251 Improve doc strings to say whether bookmark can be a string or
17252 a record or both, and make other consistency and clarity fixes.
17253 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17254 (bookmark-default-annotation-text, bookmark-yank-word)
17255 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17256 (bookmark-import-new-list, bookmark-maybe-rename)
17257 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17258 (bookmark-bmenu-bookmark): Give these doc strings.
17259 (bookmark-bmenu-check-position): Give this a doc string, but also
17260 add a FIXME comment about how the function may be pointless.
17261 (bookmark-default-handler): Rework doc string and change a
17262 parameter name, to clarify that this takes a bookmark record
17263 not a bookmark name.
17264 (bookmark-set): Change a parameter name to indicate its meaning,
17265 and improve the doc string a bit.
17268 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17270 * bookmark.el (bookmark-alist): Document the new `handler' element
17271 in the param alist.
17272 (bookmark-make-record-function): Adjust documentation for above.
17275 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17277 * info.el (Info-bookmark-make-record): Document this function.
17278 (Info-bookmark-jump): Document with a doc string, not just a comment.
17281 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17283 * files.el (copy-directory): New defun.
17285 * dired-aux.el (dired-copy-file-recursive): Use it.
17287 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17289 * files-x.el (modify-dir-local-variable)
17290 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17293 * recentf.el (recentf-unload-function): New function.
17295 2009-10-04 Glenn Morris <rgm@gnu.org>
17297 * window.el (window-full-height-p): Add doc string.
17299 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17301 * window.el (window-full-height-p): New function. (Bug#4543)
17303 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17305 * vc.el: Remove commented out code.
17306 (vc-derived-from-dir-mode): Remove, unused.
17307 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17309 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17311 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17312 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17313 there could be recursive loading when `default-directory' is a
17314 remote file name. (Bug#4614)
17316 2009-10-03 Glenn Morris <rgm@gnu.org>
17318 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17320 (calendar-generate-window): Test for shrinkability rather than width.
17322 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17323 reusing existing buffers, in case we happen to visit two files with the
17324 same basename. (Bug#4593)
17326 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17328 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17329 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17330 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17331 subdirs of cedet as well.
17332 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17334 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17336 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17337 Obey advertised-signature-table.
17339 * help-fns.el (help-function-arglist): Don't check
17340 advertised-signature-table.
17341 (describe-function-1): Do it here instead so it also applies to subrs.
17343 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17345 * simple.el (start-file-process): Say in the doc-string, that file
17346 handlers might not support pty association, if PROGRAM is nil.
17348 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17349 HOST and USER are strings. They are nil, when there are
17350 incomplete entries in ~/.netrc, for example.
17351 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17352 root directory ("device busy" error otherwise).
17354 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17355 Flush file properties of created directory.
17357 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17359 * makefile.w32-in (WINS_BASIC): Remove cedet.
17360 (WINS_CEDET): Add cedet.
17361 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17363 2009-10-02 Kevin Ryde <user42@zip.com.au>
17365 * net/browse-url.el (browse-url): Pass any symbol in
17366 browse-url-browser-function to `apply', since if you've mistakenly put
17367 an unbound symbol then the error is clearer. (Bug#4531)
17369 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17371 * allout.el (allout-init, allout-back-to-current-heading)
17372 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17373 (allout-ascend, allout-up-current-level, allout-end-of-level)
17374 (allout-previous-visible-heading, allout-forward-current-level)
17375 (allout-backward-current-level, allout-show-children):
17376 * apropos.el (apropos-describe-plist):
17377 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17378 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17379 * completion.el (add-completion, add-permanent-completion):
17380 * descr-text.el (describe-text-category, describe-char):
17381 * desktop.el (desktop-lazy-abort):
17382 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17383 * dired.el (dired-build-subdir-alist):
17384 * ediff.el (ediff-version):
17385 * elide-head.el (elide-head, elide-head-show):
17386 * emerge.el (emerge-version):
17388 * face-remap.el (variable-pitch-mode):
17389 * faces.el (describe-face):
17390 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17392 * files.el (find-file-existing, auto-save-mode):
17393 * font-lock.el (font-lock-fontify-buffer):
17394 * help-fns.el (describe-function, describe-variable)
17395 (describe-syntax, describe-categories):
17396 * help.el (view-lossage, describe-bindings, describe-key)
17398 * hexl.el (hexl-current-address):
17399 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17400 * info.el (Info-goto-emacs-key-command-node):
17401 * log-edit.el (log-edit-insert-cvs-template)
17402 (log-edit-insert-cvs-rcstemplate):
17403 * menu-bar.el (menu-bar-mode):
17404 * mouse.el (mouse-appearance-menu):
17405 * newcomment.el (comment-indent-new-line):
17406 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17407 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17408 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17409 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17410 * recentf.el (recentf-mode):
17411 * savehist.el (savehist-mode, savehist-save):
17412 * shadowfile.el (shadow-copy-files):
17413 * simple.el (kill-ring-save, next-line, previous-line)
17414 (normal-erase-is-backspace-mode):
17415 * strokes.el (strokes-update-window-configuration)
17416 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17417 (strokes-xpm-for-stroke):
17418 * time.el (emacs-uptime, emacs-init-time):
17419 * tutorial.el (tutorial--describe-nonstandard-key)
17420 (tutorial--detailed-help):
17421 * type-break.el (type-break-mode)
17422 (type-break-mode-line-message-mode, type-break-query-mode)
17423 (type-break-guesstimate-keystroke-threshold):
17424 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17425 * version.el (emacs-version):
17426 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17427 * winner.el (winner-mode):
17428 * calendar/timeclock.el (timeclock-in, timeclock-out)
17429 (timeclock-status-string, timeclock-change)
17430 (timeclock-workday-remaining-string)
17431 (timeclock-workday-elapsed-string)
17432 (timeclock-when-to-leave-string):
17433 * calendar/todo-mode.el (todo-add-category):
17434 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17435 * emacs-lisp/autoload.el (update-file-autoloads):
17436 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17437 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17438 (checkdoc-message-text, checkdoc-defun):
17439 * emacs-lisp/debug.el (debugger-list-functions):
17440 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17441 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17442 (eieio-describe-generic):
17443 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17444 * emacs-lisp/shadow.el (list-load-path-shadows):
17445 * emulation/cua-base.el (cua-mode):
17446 * emulation/edt.el (edt-set-scroll-margins):
17447 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17448 (tpu-toggle-regexp, tpu-toggle-search-direction)
17449 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17450 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17451 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17452 (viper-set-parsing-style-toggling-macro)
17453 (viper-set-emacs-state-searchstyle-macros):
17454 * emulation/viper.el (viper-set-hooks):
17455 * eshell/esh-mode.el (eshell-truncate-buffer):
17456 * international/mule-cmds.el (prefer-coding-system)
17457 (describe-input-method, describe-language-environment):
17458 * international/mule-diag.el (list-character-sets)
17459 (describe-character-set, describe-coding-system)
17460 (describe-fontset, list-fontsets, list-input-methods):
17461 * mail/sendmail.el (mail-signature):
17462 * net/ange-ftp.el (ange-ftp-copy-file):
17463 * net/browse-url.el (browse-url):
17464 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17465 * net/quickurl.el (quickurl-add-url):
17466 * net/rcirc.el (names, topic):
17467 * net/xesam.el (xesam-mode):
17468 * play/5x5.el (5x5-new-game):
17469 * play/yow.el (apropos-zippy):
17470 * progmodes/ada-mode.el (ada-mode-version):
17471 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17473 (f90-beginning-of-block):
17474 * progmodes/fortran.el (fortran-end-of-block)
17475 (fortran-beginning-of-block):
17476 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17477 * progmodes/python.el (python-describe-symbol, python-shell):
17478 * term/ns-win.el (ns-print-buffer):
17479 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17480 * textmodes/flyspell.el (flyspell-mode-on):
17481 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17482 (pages-directory-for-addresses):
17483 * textmodes/table.el (table-recognize-cell)
17484 (table-query-dimension, table-generate-source)
17485 (table-insert-sequence, table--warn-incompatibility):
17486 * textmodes/tex-mode.el (tex-validate-buffer):
17487 * textmodes/texinfmt.el (texinfmt-version)
17488 (texinfo-format-buffer):
17489 Use `called-interactively-p' instead of `interactive-p'.
17491 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17493 * image-mode.el (image-toggle-display):
17494 * emacs-lisp/elp.el (elp-instrument-function):
17495 * emacs-lisp/advice.el (ad-make-advised-definition):
17496 * emacs-lisp/easy-mmode.el (define-minor-mode):
17497 * net/browse-url.el (browse-url-maybe-new-window):
17498 * progmodes/sh-script.el (sh-learn-buffer-indent):
17499 Pass new argument 'any to `called-interactively-p'.
17501 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17503 * international/uni-bidi.el:
17504 * international/uni-category.el:
17505 * international/uni-combining.el:
17506 * international/uni-comment.el:
17507 * international/uni-decimal.el:
17508 * international/uni-decomposition.el:
17509 * international/uni-digit.el:
17510 * international/uni-lowercase.el:
17511 * international/uni-mirrored.el:
17512 * international/uni-name.el:
17513 * international/uni-numeric.el:
17514 * international/uni-old-name.el:
17515 * international/uni-titlecase.el:
17516 * international/uni-uppercase.el:
17517 Regenerate from Unicode 5.2.0 data.
17519 2009-10-01 Glenn Morris <rgm@gnu.org>
17521 * Makefile.in (ELCFILES): Regenerate.
17523 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17525 * subr.el (interactive-p): Mark obsolete.
17526 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17527 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17528 advertised-signature-table for subroutines as well.
17530 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17531 (set-advertised-calling-convention): New function.
17532 (make-obsolete, define-obsolete-function-alias)
17533 (make-obsolete-variable, define-obsolete-variable-alias):
17534 Make the optional-ness of `when' obsolete.
17535 (define-obsolete-face-alias): Make `when' non-optional.
17536 * help-fns.el (help-function-arglist):
17537 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17538 Use advertised-signature-table.
17540 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17542 * files.el (delete-directory): New defun. The original function
17543 in fileio.c has been renamed to `delete-directory-internal'.
17545 * dired.el (dired-delete-file): Call `delete-directory' with
17546 RECURSIVE parameter.
17548 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17549 parameter RECURSIVE. Implementation is missing.
17551 * net/tramp.el (tramp-handle-make-directory): Flush upper
17552 directory's file properties.
17553 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17554 (tramp-handle-dired-recursive-delete-directory): Flush directory
17555 properties after the remove command only.
17557 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17558 Handle optional parameter RECURSIVE.
17560 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17561 Handle optional parameter RECURSIVE.
17563 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17564 connection timeout.
17565 (tramp-smb-handle-delete-directory): Handle optional parameter
17568 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17570 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17571 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17572 (byte-compile-defmacro): Use backquotes.
17574 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17576 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17577 has no associated file.
17578 (vc-resynch-buffer): Use vc-dir-buffers.
17580 2009-10-01 Glenn Morris <rgm@gnu.org>
17582 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17583 (chart-file-count):
17584 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17585 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17586 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17587 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17588 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17589 (eieio-copy-parents-into-subclass, make-instance, class-children)
17590 (eieio-generic-form):
17592 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17593 match-data. (Bug#4555).
17595 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17596 rather than parsing it as a regexp. This relaxes the layout
17597 requirements and makes errors easier to detect.
17598 (check-declare-verify): Check file is regular.
17599 (check-declare-directory): Doc fix.
17600 * subr.el (declare-function): Doc fix.
17602 * ibuffer.el (ibuffer-format-qualifier):
17603 * isearch.el (hi-lock-regexp-okay):
17604 * calc/calc.el (math-zerop):
17605 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17606 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17607 Remove unused declarations.
17609 2009-09-30 Eric Ludlam <zappo@gnu.org>
17611 * emacs-lisp/eieio.el (boolean-p): Delete.
17613 2009-09-30 Glenn Morris <rgm@gnu.org>
17615 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17617 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17618 filename is not a string.
17620 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17622 * files.el (safe-local-eval-forms): Fix typo.
17624 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17626 * vc-hooks.el (vc-dir-buffers): New var.
17627 (vc-state-refresh): New function.
17628 (vc-state): Use it.
17629 (vc-after-save): Always ask the backend to recompute the new state.
17630 Always call vc-dir if necessary, using vc-dir-buffers.
17631 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17632 Use vc-dir-buffers.
17633 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17634 (vc-dir-prepare-status-buffer, vc-dir-update)
17635 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17636 Don't call expand-file-name on default-directory.
17638 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17640 * speedbar.el (speedbar-item-delete):
17641 * calc/calc-prog.el (calc-kbd-if):
17642 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17644 * epa.el (epa-key-list-mode-map):
17645 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17647 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17648 (hs-show-hook): Fix typo in docstring.
17650 2009-09-29 Glenn Morris <rgm@gnu.org>
17652 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17653 file-name-nondirectory call preventing location of cedet files.
17654 (check-declare-verify): Use literal search rather than re-search.
17655 Add basic defmethod and defclass, and define-overloadable-function.
17657 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17658 Use tramp-compat-file-attributes rather than nonexistent
17659 tramp-compat-handle-file-attributes.
17661 * Makefile.in (lisptagsfiles4): New.
17662 (AUTOGENEL): Add cedet loaddefs files.
17663 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17664 (update-elclist, compile-always, backup-compiled-files)
17665 (bootstrap-clean): Add yet another directory level.
17666 (update-elclist): Use LC_COLLATE rather than COLLATE.
17667 (ELCFILES): Update, via `make update-elclist'.
17669 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17671 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17672 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17673 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17675 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17677 * Makefile.in (lisptagsfiles3): Define.
17678 (TAGS, TAGS-LISP): Use it.
17679 (update-elclist): Add third directory level to look for elc files.
17680 (compile-always): Likewise.
17681 (backup-compiled-files): Likewise.
17682 (bootstrap-clean): Likewise.
17683 (ELCFILES): Update.
17685 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17687 * Makefile.in (ELCFILES): Add CEDET files.
17689 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17691 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17693 * net/tramp.el (top): Require tramp-imap.
17695 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17696 Use `tramp-compat-handle-file-attributes'.
17698 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17700 * net/tramp-imap.el: New package.
17702 2009-09-28 Eric Ludlam <zappo@gnu.org>
17704 * emacs-lisp/chart.el:
17705 * emacs-lisp/eieio-base.el:
17706 * emacs-lisp/eieio-comp.el:
17707 * emacs-lisp/eieio-custom.el:
17708 * emacs-lisp/eieio-datadebug.el:
17709 * emacs-lisp/eieio-opt.el:
17710 * emacs-lisp/eieio-speedbar.el:
17711 * emacs-lisp/eieio.el: New files.
17713 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17715 * whitespace.el (whitespace-trailing-regexp)
17716 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17719 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17721 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17724 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17725 menu-bar-ediff-menu.
17727 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17728 define-overloadable-function.
17730 * progmodes/autoconf.el: Provide autoconf as well, so that this
17731 file can be `require'd.
17733 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17735 * emacs-lisp/autoload.el (generated-autoload-feature)
17736 (generated-autoload-load-name): New vars.
17737 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17738 (make-autoload): Recognize define-overloadable-function and
17739 defclass forms (for EIEIO).
17741 * Makefile.in (update-subdirs): Exclude cedet directory.
17743 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17745 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17747 * faces.el: Default light-background background for region face to
17748 ns_selection_color under NS.
17750 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17752 * net/imap-hash.el: New library, see NEWS.
17754 * Makefile.in (ELCFILES): Add imap-hash.el.
17756 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17758 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17759 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17760 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17761 definition where the docstring could be taken for the return value.
17763 2009-09-26 Glenn Morris <rgm@gnu.org>
17765 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17766 Add option to only show images below a certain size.
17767 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17768 save-excursion calls.
17770 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17772 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17773 subdirectories) and eieio.
17775 2009-09-26 Alan Mackenzie <acm@muc.de>
17777 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17778 Correct buggy bracketing. (Bug#4289)
17780 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17781 character constants (as case labels). (Bug#4289)
17783 2009-09-25 Juri Linkov <juri@jurta.org>
17785 * files.el (safe-local-eval-forms): Allow time-stamp in
17786 before-save-hook (Bug#4554).
17788 2009-09-25 Drew Adams <drew.adams@oracle.com>
17790 * menu-bar.el (list-buffers-directory): Doc fix.
17792 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17794 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17795 Try and avoid copying twice the same paragraph.
17796 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17797 Remove save-excursion.
17798 (log-edit-changelog-entry): Do it here instead.
17800 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17802 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17803 when available, instead of hardcoding mode names. Doc fix.
17805 * menu-bar.el (list-buffers-directory): Add docstring.
17806 Make automatically buffer-local.
17808 * dired.el (dired-mode):
17809 * files.el (cd-absolute):
17810 * pcvs.el (cvs-temp-buffer):
17811 * pcvs-util.el (cvs-get-buffer-create):
17812 * shell.el (shell-mode):
17813 * vc-dir.el (vc-dir-mode):
17814 Don't make `list-buffers-directory' buffer local.
17816 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17818 * comint.el (comint-exec, comint-run, make-comint):
17819 Doc fixes (Bug#4542).
17821 2009-09-25 Glenn Morris <rgm@gnu.org>
17823 * mail/rmailmm.el (rmail-mime): New custom group.
17824 Move all defcustoms in this file into this group.
17825 (rmail-mime-media-type-handlers-alist): Revert previous change.
17826 (rmail-mime-show-images): New option.
17827 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17828 references to it, since it wasn't actually used for anything.
17829 (rmail-mime-insert-image): New function.
17830 (rmail-mime-image): Use rmail-mime-insert-image.
17831 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17832 obey the value of `rmail-mime-show-images' option. Print the size of
17835 2009-09-25 David Engster <deng@randomsample.de>
17837 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17839 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17841 * whitespace.el: Does not highlight trailing spaces While point is
17842 at end of line. Does not highligt spaces at beginning of buffer
17843 while point is at beginning of buffer. Does not highlight spaces
17844 at end of buffer while point is at end of buffer. (Bug#4177)
17846 (whitespace-display-mappings): Adjust initialization.
17847 (whitespace-point, whitespace-font-lock-refontify): New vars.
17848 (whitespace-color-on, whitespace-color-off): Adjust code.
17849 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17850 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17851 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17853 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17855 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17857 * textmodes/sgml-mode.el: Remove xml-mode alias.
17859 * files.el (auto-mode-alist, conf-mode-maybe)
17860 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17862 2009-09-24 Alan Mackenzie <acm@muc.de>
17864 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17865 c-forward-conditionals, but it doesn't move point and doesn't set
17867 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17868 (c-down-conditional-with-else, c-backward-conditional)
17869 (c-forward-conditional): Refactor to use c-scan-conditionals.
17871 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17873 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17874 (help-default-arg-highlight): Remove.
17875 (help-highlight-arg): New function.
17876 (help-do-arg-highlight): Use it.
17877 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17879 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17881 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17882 Undo last change, which didn't fix the problem and introduced others.
17884 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17886 * progmodes/gdb-mi.el: Don't require speedbar.
17887 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17889 2009-09-24 Glenn Morris <rgm@gnu.org>
17891 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17893 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17895 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17896 there is no newline after the final mime boundary. (Bug#4539)
17897 Move markers on insertion so that any buttons inserted don't end up in
17898 the next part of a multipart message.
17899 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17900 (rmail-mime-bulk-handler): Optionally handle images.
17901 (rmail-mime-image): New button action.
17902 (rmail-mime-image-handler): New function.
17903 (rmail-mime-mode): New mode.
17904 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17906 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17908 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17909 than just dropping elements from it (bug#4504).
17911 * term.el (term-set-scroll-region): Don't move cursor any more.
17912 (term-handle-ansi-escape): Call term-goto here instead.
17913 Suggested by Ivan Kanis <apple@kanis.eu>.
17915 * term.el: Require CL.
17916 (term-ansi-reset): New function.
17917 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17918 (term-handle-colors-array): Simplify.
17920 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17922 * allout.el (allout-overlay-interior-modification-handler)
17923 (allout-obtain-passphrase):
17924 * epa-file.el (epa-file-write-region):
17925 * ps-print.el (ps-begin-job):
17926 * vc-hooks.el (vc-toggle-read-only):
17927 * vc-rcs.el (vc-rcs-rollback):
17928 * vc-sccs.el (vc-sccs-rollback):
17929 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17930 (vc-version-diff, vc-revert, vc-rollback):
17931 * wdired.el (wdired-check-kill-buffer):
17932 * emacs-lisp/authors.el (authors):
17933 * net/socks.el (socks-open-connection):
17934 * net/zeroconf.el (zeroconf-service-add-hook):
17935 * obsolete/vc-mcvs.el (vc-mcvs-register):
17936 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17937 (gdb-select-frame):
17938 * progmodes/grep.el (lgrep, rgrep):
17939 * progmodes/idlw-help.el (idlwave-help-check-locations)
17940 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17941 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17942 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17943 (reftex-toc-rename-label): Fix typos in error messages.
17945 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17946 (dired-copy-how-to-fn): Doc fix.
17947 (dired-files-attributes, dired-read-shell-command):
17948 Fix typos in docstrings.
17950 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17951 (dired-x-find-file-other-window): Reflow docstrings.
17952 (dired-omit-marker-char, dired-read-shell-command)
17953 (dired-x-submit-report): Fix typos in docstrings.
17955 * shell.el (shell-mode-hook):
17956 * view.el (View-scroll-line-forward):
17957 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17958 Fix typos in docstrings.
17960 * net/dig.el (dig-invoke): Fix typo in docstring.
17961 (query-dig): Reflow docstring.
17963 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17964 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17965 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17966 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17967 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17968 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17969 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17970 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17971 (idlwave-completion-map, idlwave-current-indent)
17972 (idlwave-custom-ampersand-surround, idlwave-customize)
17973 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17974 (idlwave-define-abbrev, idlwave-determine-class-special)
17975 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17976 (idlwave-end-block-reg, idlwave-end-of-statement)
17977 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17978 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17979 (idlwave-explicit-class-listed, idlwave-file-header)
17980 (idlwave-fill-paragraph, idlwave-find-class-definition)
17981 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17982 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17983 (idlwave-in-quote, idlwave-indent-action-table)
17984 (idlwave-indent-expand-table, idlwave-indent-line)
17985 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17986 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17987 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17988 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17989 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17990 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17991 (idlwave-outlawed-buffers, idlwave-popup-select)
17992 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17993 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17994 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17995 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17996 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17997 (idlwave-statement-type, idlwave-struct-skip)
17998 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17999 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18000 (idlwave-what-module-find-class): Fix typos in docstrings.
18001 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18002 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18003 (idlwave-find-module, idlwave-find-structure-definition)
18004 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18005 (idlwave-list-load-path-shadows, idlwave-next-statement)
18006 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18007 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18008 (idlwave-template): Reflow docstrings.
18010 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18011 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18012 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18013 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18014 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18015 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18016 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18017 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18018 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18019 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18020 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18021 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18022 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18023 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18024 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18025 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18026 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18027 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18028 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18029 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18030 Fix typos in docstrings.
18031 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18032 (idlwave-shell-hide-output, idlwave-shell-mode)
18033 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18036 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18038 2009-09-24 Ivan Kanis <apple@kanis.eu>
18040 * term.el (term-bold-attribute): New var.
18041 (term-handle-colors-array): Use it.
18043 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18045 * progmodes/gdb-mi.el (gdb-version): New variable.
18046 (gdb-non-stop-handler): Set gdb-version.
18047 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18048 Condition "--thread" option on gdb-version.
18049 (gdb-invalidate-threads): Remove unused argument.
18051 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18053 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18054 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18056 2009-09-23 Glenn Morris <rgm@gnu.org>
18058 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18059 replying to mail without References or Message-Id. (Bug#4525)
18061 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18063 * term/ns-win.el (ns-reg-to-script): New variable.
18065 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18067 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18069 2009-09-22 Sam Steingold <sds@gnu.org>
18071 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18072 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18073 to 1 because hg returns status 1 when nothing is found.
18074 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18076 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18078 * textmodes/fill.el: Convert to utf-8 encoding.
18079 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18082 * add-log.el (change-log-fill-forward-paragraph): New function.
18083 (change-log-mode): Use it so fill-region DTRT.
18084 Set fill-indent-according-to-mode here rather than in
18085 change-log-fill-paragraph.
18086 (change-log-fill-paragraph): Remove.
18088 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18090 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18091 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18093 2009-09-22 Glenn Morris <rgm@gnu.org>
18095 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18096 the scroll-bar scroll the calendar window rather than the buffer.
18098 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18099 commands that move point (as opposed to scrolling).
18101 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18103 * emacs-lisp/elint.el (elint): New custom group.
18104 (elint-log-buffer): Make it a defcustom.
18105 (elint-scan-preloaded, elint-ignored-warnings)
18106 (elint-directory-skip-re): New options.
18107 (elint-builtin-variables): Doc fix.
18108 (elint-preloaded-env): New variable.
18109 (elint-unknown-builtin-args): Add an entry for encode-time.
18110 (elint-extra-errors): Make it a variable rather than a constant.
18111 (elint-preloaded-skip-re): New constant.
18112 (elint-directory): Skip files matching elint-directory-skip-re.
18113 (elint-features): New variable, local to linted buffers.
18114 (elint-update-env): Initialize elint-features. Possibly add
18115 elint-preloaded-env to the buffer's environment.
18116 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18118 (elint-init-form): New function, extracted from elint-init-env.
18119 Make non-list forms a warning rather than an error.
18120 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18121 easy-menu-define, put that adds an error-condition, and provide.
18122 When requiring cl, also require cl-macs. Really require cl, to handle
18123 some cl macros. Store required libraries in the list elint-features,
18124 so as not to re-load them. Treat cc-require like require.
18125 (elint-init-env): Call elint-init-form to do the work.
18126 Handle eval-and-compile and such like.
18127 (elint-add-required-env): Do not clear messages.
18128 (elint-special-forms): Add handlers for function, defalias, if, when,
18130 (elint-form): Add optional argument to ignore elint-special-forms,
18131 useful to prevent recursive calls from handlers. Doc fix.
18132 Respect elint-ignored-warnings.
18133 (elint-form): Respect elint-ignored-warnings.
18134 (elint-bound-variable, elint-bound-function): New variables.
18135 (elint-unbound-variable): Respect elint-bound-variable.
18136 (elint-get-args): Respect elint-bound-function.
18137 (elint-check-cond-form): Add some simple handling for (f)boundp and
18139 (elint-check-defalias-form): New handler.
18140 (elint-check-let-form): Make an empty let a warning rather than an
18142 (elint-check-setq-form): Make an empty setq a warning rather than an
18143 error. Respect elint-ignored-warnings.
18144 (elint-check-defvar-form): Accept null doc-strings.
18145 (elint-check-conditional-form): New handler. Does some simple-minded
18146 checking of featurep and (f)boundp tests.
18147 (elint-put-function-args): New function.
18148 (elint-initialize): Use elint-scan-doc-file rather than
18149 elint-find-builtin-variables. Use elint-put-function-args.
18150 Possibly scan preloaded-file-list.
18151 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18152 extend to handle functions as well.
18154 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18156 * linum.el (linum-delete-overlays, linum-update-window):
18157 Do not modify the right margin. (Bug#3971)
18159 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18161 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18162 Use nxml-mode instead of xml-mode.
18164 2009-09-21 Kevin Ryde <user42@zip.com.au>
18166 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18168 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18170 * net/dig.el (dig-mode): Use define-derived-mode.
18172 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18174 * vc-dispatcher.el (vc-do-command): Return the process object in
18175 the asynchronous case. Use when instead of if. Do not run
18176 vc-exec-after to display a message if not enabled. (Bug#4463)
18178 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18179 properties to the stash strings.
18180 (vc-git-stash-list): Return a list of strings.
18181 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18182 (vc-git-stash-show-at-point): New functions.
18183 (vc-git-stash-map): New keymap.
18185 * register.el (ctl-x-r-map): Define the keys here instead of
18188 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18190 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18191 list, to workaround performance problem (bug#4485).
18193 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18195 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18197 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18199 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18200 Document that this option is not recommended to use.
18202 2009-09-19 Glenn Morris <rgm@gnu.org>
18204 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18207 * calc/calc-alg.el (var):
18208 * calc/calcalg2.el (var): Define for compiler.
18210 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18212 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18213 Doc fix (Bug#3932).
18215 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18217 * time-stamp.el (time-stamp-month-dd-yyyy)
18218 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18219 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18220 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18221 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18222 Remove functions that have been obsolete since 1995 (Bug#4436).
18224 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18225 indent buffer only if called interactively (Bug#4452).
18227 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18228 Eli Zaretskii <eliz@gnu.org>
18230 This fixes bug#4197 (merged to bug#865, though not identical).
18231 * server.el (server-auth-dir): Add docstring note about FAT32.
18232 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18233 but warn against using them.
18235 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18237 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18238 older GDB where there is no has_more field.
18240 2009-09-19 Glenn Morris <rgm@gnu.org>
18242 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18244 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18246 * files.el (auto-mode-alist): Change default for XML files to nXML
18249 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18251 * server.el (server-ensure-safe-dir): Pass 'integer
18252 to `file-attributes', as suggested.
18254 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18256 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18257 (dired-query): Use read-key.
18259 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18261 * cus-start.el (ns-use-qd-smoothing): Remove.
18263 2009-09-18 Glenn Morris <rgm@gnu.org>
18265 * allout.el (top-level): Remove unnecessary progn.
18267 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18269 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18270 definition of abbrev table.
18272 * speedbar.el (speedbar-track-mouse):
18273 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18274 * net/eudc.el (eudc-expand-inline):
18275 * net/newst-backend.el (newsticker--cache-read-feed):
18276 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18277 condition-case handlers.
18279 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18281 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18282 (gdb-var-list): Add an element for has_more field.
18283 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18284 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18285 (gdb-var-update-handler-1): Parse output of dynamic variable
18286 objects (STL containers).
18287 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18288 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18290 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18292 (gud-speedbar-buttons): Make node expandable if expression "has more"
18295 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18297 * startup.el (emacs-quick-startup): Remove variable and all uses.
18298 (command-line): Set `inhibit-x-resources' instead.
18299 (command-line-1): Use `inhibit-x-resources' instead.
18301 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18303 * subr.el: Fix last change to avoid using the `unless' macro,
18304 which breaks bootstrapping.
18306 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18308 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18309 extended definitions, in case we reload subr.el after having
18311 (eval-next-after-load): Mark as obsolete.
18313 2009-09-17 Juri Linkov <juri@jurta.org>
18315 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18316 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18317 (menu-bar-showhide-menu, menu-bar-tools-menu)
18318 (menu-bar-describe-menu, menu-bar-help-menu)
18319 (minibuffer-local-completion-map, minibuffer-local-map):
18322 2009-09-17 Glenn Morris <rgm@gnu.org>
18324 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18325 arguments, whether or not it has a handler.
18327 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18329 * simple.el (hard-newline): Give it a doc-string.
18331 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18332 (lisp-mode-syntax-table): Give them doc-strings.
18334 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18336 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18337 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18338 (menu-bar-options-menu, menu-bar-showhide-menu)
18339 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18340 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18341 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18342 (menu-bar-options-menu, menu-bar-tools-menu)
18343 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18344 (menu-bar-help-menu):
18345 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18348 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18349 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18350 calls for the menu names and :help.
18352 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18354 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18355 to :minor-mode-function (bug#4455).
18357 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18359 * startup.el (command-line): Initialize the window-system after
18360 processing the command-line.
18362 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18363 page-delimiter matches the empty string.
18365 2009-09-16 Glenn Morris <rgm@gnu.org>
18367 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18368 byte-compile-not-obsolete-var. It's a list now.
18369 (byte-compile-not-obsolete-funcs): New variable.
18370 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18371 byte-compile-not-obsolete-funcs.
18372 (byte-compile-variable-ref, byte-compile-defvar): Update for
18373 byte-compile-not-obsolete-vars name-change and list nature.
18374 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18375 and variables behind (f)boundp tests.
18376 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18378 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18380 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18382 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18384 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18385 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18388 2009-09-15 Stephen Eglen <stephen@gnu.org>
18390 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18391 the virtual-buffers, use the name of the buffer specified by
18392 find-file-noselect, as the match may be a symlink. (This was a
18393 problem if the target and the symlink had different names.)
18395 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18397 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18399 * desktop.el (desktop-path): Check user-emacs-directory.
18401 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18403 * loadup.el: Use after-load-functions to GC after loading each file.
18404 Remove the explicit GC calls that used to be sprinkled around.
18406 * subr.el (after-load-functions): New hook.
18407 (do-after-load-evaluation): Run it. Use string-match-p to detect
18408 `obsolete' packages, rather than painfully extracting the relevant
18411 2009-09-15 Glenn Morris <rgm@gnu.org>
18413 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18414 free variable `doc'.
18416 * dired.el (dired-mode-map): Add menu entry for async shell command.
18418 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18419 variables, also consider the .elc files, since the .el files are
18420 normally gzipped (subsequent code locates the .el.gz from the .elc).
18422 * calc/calc-prog.el (arglist): Define for compiler.
18424 * calendar/diary-lib.el (diary-display-function): Change the default to
18426 (body): Define for compiler.
18428 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18429 (byte-compile-file-form, byte-compile-lambda)
18430 (byte-compile-top-level-body, byte-compile-form)
18431 (byte-compile-variable-ref, byte-compile-setq)
18432 (byte-compile-setq-default, byte-compile-body)
18433 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18434 (batch-byte-compile): Give some more local variables with common names
18435 a "bytecomp-" prefix to avoid masking warnings about free variables.
18437 * startup.el (command-line-1): Give local variables with common names a
18438 distinguishing prefix, so as not to hide free variable warnings during
18441 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18442 clever and add a suffix to make a unique name, just let the user decide
18443 whether or not to overwrite it. If the input is a directory, write the
18444 default filename to that directory. (Bug#4388)
18445 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18446 is a filename-as-a-directory.
18448 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18450 * textmodes/page.el (what-page): Don't move to beginning of line.
18451 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18453 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18455 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18457 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18459 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18460 * help.el (help-for-help-internal): Add purecopy calls for text.
18462 * vc.el (top): print-log method now takes an optional SHORTLOG
18463 argument. Add a new method: root.
18464 (vc-root-diff, vc-print-root-log): New functions.
18465 (vc-log-short-style): New variable.
18466 (vc-print-log-internal): Add support for showing short logs.
18468 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18469 vc-print-root-log and vc-print-root-diff.
18471 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18472 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18473 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18476 * vc-cvs.el (vc-cvs-print-log):
18477 * vc-mtn.el (vc-mtn-print-log):
18478 * vc-rcs.el (vc-rcs-print-log):
18479 * vc-sccs.el (vc-sccs-print-log):
18480 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18481 that is ignored for now.
18483 * vc-mtn.el (vc-mtn-annotate-command):
18484 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18486 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18488 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18489 to function-key-map, and give them ascii-character property.
18490 * term/x-win.el (x-alternatives-map):
18491 * term/ns-win.el (ns-alternatives-map):
18492 * term/internal.el (msdos-key-remapping-map):
18493 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18495 2009-09-14 Glenn Morris <rgm@gnu.org>
18497 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18498 temp-buffers (2009-09-12).
18500 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18502 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18503 the new read-key function.
18505 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18507 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18508 is defined (Bug#4405).
18510 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18512 * recentf.el (recentf-cleanup): Use a hash table to find
18513 duplicates (Bug#4407).
18515 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18517 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18518 kp-0 to ascii equivalents (Bug#4325).
18520 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18522 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18524 * eshell/em-hist.el:
18525 * eshell/em-dirs.el (eshell-complete-user-reference):
18526 Declare pcomplete functions and variables to avoid compiler warnings.
18528 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18530 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18531 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18532 * eshell/em-alias.el (eshell-aliases-file):
18533 * eshell/em-hist.el (eshell-history-file-name):
18534 Use expand-file-name instead of concat to make file names (Bug#4308).
18536 2009-09-13 Glenn Morris <rgm@gnu.org>
18538 * ediff-merg.el (ediff-do-merge):
18539 * filesets.el (filesets-run-cmd):
18540 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18541 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18542 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18543 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18544 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18545 Replace empty `let's with `progn'.
18547 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18549 * mail/sendmail.el (send-mail-function):
18550 * tooltip.el (tooltip-mode):
18551 * simple.el (transient-mark-mode):
18552 * rfn-eshadow.el (file-name-shadow-mode):
18553 * frame.el (blink-cursor-mode):
18554 * font-core.el (global-font-lock-mode):
18555 * files.el (temporary-file-directory)
18556 (small-temporary-file-directory, auto-save-file-name-transforms):
18557 * epa-hook.el (auto-encryption-mode):
18558 * composite.el (global-auto-composition-mode):
18559 Use custom-initialize-delay.
18560 * startup.el (command-line): Don't explicitly call
18561 custom-reevaluate-setting for all the above vars.
18562 * custom.el (custom-initialize-safe-set)
18563 (custom-initialize-safe-default): Delete.
18565 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18567 * term/x-win.el (x-initialize-window-system):
18568 * term/w32-win.el (w32-initialize-window-system):
18569 * term/ns-win.el (ns-initialize-window-system): Don't call
18570 mouse-wheel-mode since it's enabled globally by default already.
18572 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18573 actually define the variable, but only silences the byte-compiler.
18574 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18575 before looking it up.
18576 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18579 2009-09-12 Glenn Morris <rgm@gnu.org>
18581 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18583 (elint-add-required-env): Don't beep on error.
18584 (elint-forms): In case of error, return ENV unchanged.
18585 (elint-init-env): Skip non-list forms.
18586 (elint-log): Handle unknown file positions.
18588 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18590 * epg.el (epg-make-context): Add autoload cookie.
18591 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18592 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18593 (epg-verify-string, epg-start-sign, epg-sign-file)
18594 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18595 (epg-encrypt-string, epg-start-export-keys)
18596 (epg-export-keys-to-file, epg-export-keys-to-string)
18597 (epg-start-import-keys, epg-import-keys-from-file)
18598 (epg-import-keys-from-string, epg-start-receive-keys)
18599 (epg-receive-keys, epg-import-keys-from-server)
18600 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18601 (epg-sign-keys, epg-start-generate-key)
18602 (epg-generate-key-from-file, epg-generate-key-from-string):
18603 Remove autoload cookie.
18605 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18607 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18608 reevaluation of trash-directory.
18610 * mwheel.el: Fix last change.
18611 (mouse-wheel-mode): New defvar.
18612 (mouse-wheel-mode): Remove autoload cookie.
18614 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18616 * mwheel.el (mwheel-installed-bindings): New var.
18617 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18618 the bindings we set last time. Use custom-initialize-delay.
18619 * loadup.el: Load mwheel after term/*-win.el.
18620 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18621 and mouse-wheel-up-event now that their first evaluation is done
18622 sufficiently late to be correct.
18624 * startup.el (tutorial-directory): Make it a defcustom.
18625 Use custom-initialize-delay rather than eval-at-startup to set it.
18626 * image.el (image-load-path): Make it a defcustom.
18627 Use custom-initialize-delay rather than eval-at-startup to set it.
18628 * subr.el (eval-at-startup): Remove.
18629 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18631 * subr.el (do-after-load-evaluation): Warn the user after loading an
18634 2009-09-12 Glenn Morris <rgm@gnu.org>
18636 * proced.el (proced-mark-alt): Remove alias.
18637 (proced-mode-map): Remove proced-mark-alt.
18639 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18640 Elint file and directory. Remove initialization entry.
18642 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18644 (elint-current-buffer): Set mode-line-process.
18645 (elint-init-env): Handle define-derived-mode.
18646 Fix declare-function with unspecified arglist. Guard against odd
18647 defalias statements (eg iso-insert's 8859-1-map).
18648 (elint-add-required-env): Use a temp buffer.
18649 (elint-form): Just print the function/macro name, not the whole form.
18650 Return env unchanged if we fail to parse a macro.
18651 (elint-forms): Guard against parse errors.
18652 (elint-output): New function, to handle batch mode.
18653 (elint-log-message): Add optional argument. Use elint-output.
18654 (elint-set-mode-line): New function.
18656 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18658 * emacs-lisp/elp.el (elp-not-profilable): Add more
18659 functions (Bug#4233).
18661 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18663 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18664 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18666 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18668 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18669 (gdb-var-list-children): Use json parsing.
18671 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18673 * progmodes/js.el (js--proper-indentation): Handle the case where
18674 char-before is null. Reported by Deniz Dogan.
18676 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18678 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18680 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18682 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18683 (epg-digest-algorithm-alist): Add SHA224.
18684 (epg-context-set-passphrase-callback)
18685 (epg-context-set-progress-callback): Add description about
18688 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18690 * custom.el (custom-delayed-init-variables): New var.
18691 (custom-initialize-delay): New function.
18692 * startup.el (command-line): "Re"evaluate all vars in
18693 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18694 explicitly any more.
18695 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18696 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18698 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18700 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18702 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18703 (gdb-var-update-handler): Use json parsing.
18705 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18707 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18708 decode annotated text, regardless of language environment. (Bug#2741)
18710 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18712 * Makefile.in (autoloads): Make rmail.el writable as well.
18714 2009-09-11 Glenn Morris <rgm@gnu.org>
18716 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18718 * dired.el: Regenerate with extracted autoloads.
18719 * Makefile.in (autoloads): Make dired.el writable.
18721 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18722 * ibuffer.el: Regenerate with extracted autoloads.
18723 * Makefile.in (autoloads): Make ibuffer.el writable.
18725 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18726 * version.el (emacs-copyright, emacs-major-version)
18727 (emacs-minor-version): Reformat doc-strings for make-docfile.
18729 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18730 functions and variables, since they must be stuff specific to some other
18732 (apropos-print): Make mouse-click message less specific about button.
18734 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18735 that records where a macro was defined.
18736 * help-fns.el (describe-function-1): Mention if a function has a
18738 * help-mode.el (help-function-cmacro): New button.
18740 * locate.el (top-level): Always require dired.
18741 (locate-mode-map): Initialize inside the defvar.
18743 * net/ange-ftp.el (dired-compress-file): Declare.
18744 (ange-ftp-dired-compress-file): Add doc string.
18746 * term/ns-win.el (x-display-name, x-setup-function-keys):
18747 Unify doc-strings with X versions.
18749 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18751 * emulation/crisp.el (crisp-mode-map): Move initialization
18753 (crisp-mode): Use define-minor-mode.
18755 * progmodes/xscheme.el (xscheme-evaluation-commands):
18756 Put a :advertised-binding property rather than using
18757 advertised-xscheme-send-previous-expression.
18758 (advertised-xscheme-send-previous-expression): Declare obsolete.
18759 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18761 (crisp-mode): Add corresponding bindings to
18762 undo's :advertised-binding instead.
18763 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18764 than using dired-advertised-find-file.
18765 (dired-advertised-find-file):
18766 * simple.el (advertised-undo):
18767 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18768 (widget-keymap): Put a :advertised-binding property rather
18769 than using advertised-widget-backward.
18770 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18771 than using advertised-undo.
18772 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18774 2009-09-10 Simon South <ssouth@slowcomputing.org>
18776 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18777 Mark mode is enabled and region is active; otherwise indent or
18778 insert TAB as usual.
18779 (delphi-mode): Update description of TAB-key binding.
18781 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18783 * subr.el (define-key-rebound-commands): Mark obsolete.
18784 * startup.el (precompute-menubar-bindings): Remove.
18785 (normal-top-level): Remove obsolete code that tried to precompute
18787 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18788 define-key-rebound-commands and precompute-menubar-bindings.
18790 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18792 * net/imap.el (imap-interactive-login): Better messages.
18793 (imap-open): Fix bug with renamed buffer on reconnect.
18794 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18795 for easier debugging and cleaner code. On successful (guessed based on
18796 server capabilities) secondary authentication, set imap-state
18798 (imap-last-authenticator): Define imap-last-authenticator as a variable
18801 2009-09-10 Glenn Morris <rgm@gnu.org>
18803 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18805 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18806 (byte-compile-file-form-autoload): Don't warn about unknown functions
18807 where the autoload statement comes after the use.
18808 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18809 that any handlers inside the body (eg require) are in turn respected.
18811 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18814 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18815 and syntax and abbrev tables basic docs, if they don't have any.
18817 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18819 * international/mule-cmds.el (top-level): Require cl when compiling.
18820 (view-hello-file): Use default-value rather than
18821 default-enable-multibyte-characters.
18823 * progmodes/fortran.el: Move all safe and risky properties into the
18826 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18827 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18828 * mail/undigest.el:
18829 Put autoloads in rmail.el rather than loaddefs.el.
18830 * mail/rmail.el: Regenerate with extracted autoloads.
18832 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18833 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18835 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18837 Reported in thread for Bug#4375.
18838 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18839 "-data-evaluate-expression" instead of print.
18840 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18841 (gdb-tooltip-print): Parse output from above MI command.
18842 (gdb): Revert 2009-08-11 change. User should detach inferior
18845 Remove the word "separate" from IO functions as inferior
18846 output is now never displayed in the GUD buffer.
18848 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18850 * startup.el (command-line-normalize-file-name): On Windows and
18851 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18853 2009-09-10 Juri Linkov <juri@jurta.org>
18855 * isearch.el (isearch-text-char-description): Propertize escape
18856 character sequences with the `escape-glyph' face. (Bug#4344)
18858 * simple.el (shell-command): Set asynchronous process filter to
18859 `comint-output-filter'. (Bug#4343)
18861 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18862 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18863 the list. Move "asm" to the bottom.
18864 (grep-find-ignored-directories): Add `choice' with nil value
18865 to empty the list easily.
18866 (grep-find-ignored-files): New option.
18867 (grep-files-history): Set to nil by default instead of '("ch" "el").
18868 (grep-compute-defaults): Add "<X>" to `grep-template'.
18869 (grep-read-files): Bind new local variables `default-alias' and
18870 `default-extension'. Use a list of default values for the file prompt.
18871 (lgrep): Add `--exclude=' command line options composed from
18872 `grep-find-ignored-files'.
18873 (rgrep): Add `-name' command line options composed from
18874 `grep-find-ignored-files'. (Bug#4301)
18876 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18878 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18881 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18883 * calendar/time-date.el (autoload):
18884 Expand define-obsolete-function-alias into defalias and make-obsolete
18885 for old Emacsen that Gnus supports.
18886 (with-no-warnings): Define it for old Emacsen.
18887 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18889 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18890 float-time is available; suppress compile warning for time-to-seconds.
18892 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18894 * net/imap.el (imap-message-map): Docstring fix.
18896 2009-09-09 Glenn Morris <rgm@gnu.org>
18898 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18899 line numbers too. (Bug#4374)
18901 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18903 * smerge-mode.el (smerge-remove-props, smerge-refine):
18904 Use with-silent-modifications (bug#4342).
18906 * subr.el (with-silent-modifications): New macro.
18908 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18910 * files.el (top-level): Require `cl' when compiling.
18912 2009-09-07 Glenn Morris <rgm@gnu.org>
18914 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18916 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18917 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18919 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18921 * vc-git.el (vc-git-annotate-command): Use separator to parse
18922 arguments correctly.
18924 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18926 * proced.el (proced-mode): Doc fix.
18928 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18930 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18932 (tramp-do-file-attributes-with-ls): Check for file existence at
18934 (tramp-do-file-attributes-with-stat): Likewise.
18935 (tramp-convert-file-attributes): Return nil when attr is nil.
18937 2009-09-05 Glenn Morris <rgm@gnu.org>
18939 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18940 properties to this button.
18941 (diary-fancy-display): Don't extend the button to the final newline.
18942 (diary-fancy-display-mode): Continue to define "q" as a local key.
18944 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18947 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18949 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18950 (byte-compile-dest-file-function): New option.
18951 (byte-compile-dest-file): Doc fix.
18952 Obey byte-compile-dest-file-function.
18953 (byte-compile-cl-file-p): New function.
18954 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18955 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18956 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18957 than for file being previously loaded.
18958 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18959 (byte-compile-file-form-require): Handle the case where requiring a file
18960 indirectly causes CL to be loaded.
18962 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18964 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18965 before killing the old buffer, since by the time `kill-buffer' is
18966 run so many buffer variables have been set to nil that it may not
18967 behave as expected. (Bug#4061)
18969 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18971 * files.el (find-alternate-file): If the old buffer is modified
18972 and visiting a file, behave similarly to `kill-buffer' when
18973 killing it, thus reverting to the pre-1.878 behavior; see
18974 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18975 for discussion. Also, consult `buffer-file-name' as a variable
18976 not as a function, for consistency with the rest of the code.
18978 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18980 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18981 also when adding a new directory.
18983 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18986 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18988 * files.el (locate-file-completion-table): Make it provide boundary
18989 information, so partial-completion works better.
18991 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18993 * mail/footnote.el (Footnote-text-under-cursor):
18994 Check footnote-text-marker-alist before using it (bug#4324).
18996 2009-09-04 Glenn Morris <rgm@gnu.org>
18998 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18999 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19000 * play/solitaire.el, play/tetris.el:
19001 Remove leading * from defcustom and defface docs.
19003 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19005 (diary-fancy-overriding-map): New variable.
19006 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19009 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19012 2009-09-03 Glenn Morris <rgm@gnu.org>
19014 * arc-mode.el (archive-mode):
19015 * dos-fns.el (set-default-process-coding-system):
19016 * man.el (Man-getpage-in-background):
19017 * menu-bar.el (menu-bar-describe-menu):
19018 * server.el (server-process-filter):
19019 * startup.el (command-line):
19020 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19021 * w32-fns.el (set-default-process-coding-system):
19022 * x-dnd.el (x-dnd-handle-file-name):
19023 * international/mule-cmds.el (mule-menu-keymap)
19024 (set-default-coding-systems, language-info-alist, set-language-info)
19025 (set-language-environment, standard-display-european-internal)
19026 (set-locale-environment):
19027 * international/mule-diag.el (mule-diag):
19028 * mail/emacsbug.el (report-emacs-bug):
19029 * mail/rmail.el (rmail-mode):
19030 * mail/sendmail.el (mail-setup):
19031 Use default-value rather than default-enable-multibyte-characters.
19033 * progmodes/f90.el: Move all safe properties into the defcustoms.
19034 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19036 * calendar/appt.el (appt-check):
19037 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19038 (diary-check-diary-file, diary-list-entries)
19039 (diary-include-other-diary-files, diary-simple-display)
19040 (diary-fancy-display, diary-print-entries)
19041 (diary-mark-included-diary-files, diary-make-entry):
19042 Don't call substitute-in-file-name on diary-file.
19044 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19045 Stefan Monnier <monnier@iro.umontreal.ca>
19047 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19048 (footnote-mode-map): Move initialization into the declaration.
19049 (footnote-minor-mode-map): Define it rather than changing global-map.
19050 (footnote-mode): Use define-minor-mode.
19052 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19054 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19055 (tramp-do-file-attributes-with-perl)
19056 (tramp-do-file-attributes-with-stat): Rename from
19057 `tramp-handle-file-attributes-with-*'.
19058 (tramp-handle-file-attributes): Use them.
19059 (tramp-do-directory-files-and-attributes-with-perl)
19060 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19061 `tramp-handle-directory-files-and-attributes-with-*'.
19062 (tramp-handle-directory-files-and-attributes): Use them.
19063 (tramp-method-out-of-band-p): Additional parameter SIZE.
19064 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19065 (tramp-handle-write-region): Use it.
19066 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19067 (tramp-handle-vc-registered): Check, whether the first run did
19068 return files to be tested.
19069 (tramp-advice-make-auto-save-file-name): Do not call directly
19070 `tramp-handle-make-auto-save-file-name', because this would bypass
19071 the locking mechanism.
19073 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19074 (file-remote-p, process-file, start-file-process, set-file-times)
19075 (tramp-compat-file-attributes): Compatibility functions shall not
19076 call directly `tramp-handle-*', because this would bypass the
19078 (tramp-compat-number-sequence): New defun.
19080 2009-09-02 Glenn Morris <rgm@gnu.org>
19082 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19083 alias for float-time.
19084 (time-to-number-of-days): In Emacs, use float-time.
19085 * net/newst-backend.el (time-add): Suppress warnings from compat
19087 * time.el (emacs-uptime, emacs-init-time):
19088 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19089 Use float-time rather than time-to-seconds.
19091 * minibuffer.el (completion-initials-expand): Fix typo.
19093 * faces.el (modeline, modeline-inactive, modeline-highlight)
19094 (modeline-buffer-id):
19095 * info.el (info-menu-5): Mark these face aliases as obsolete.
19097 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19099 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19101 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19102 no "--thread" option.
19103 (gdb-stopped): Don't print "Switched to thread" message when it is
19106 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19108 * minibuffer.el (completion-try-completion)
19109 (completion-all-completions): Remove ill-defined (and
19110 mistakenly installed and luckily never used nor documented)
19111 `completion-styles' property.
19112 (completion-initials-expand, completion-initials-all-completions)
19113 (completion-initials-try-completion): New functions.
19114 (completion-styles-alist): Add doc to each entry.
19115 Add new `initials' entry.
19117 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19119 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19120 MI command -var-evaluate-expression.
19121 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19122 and tweak for case of string child.
19123 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19125 2009-09-01 Glenn Morris <rgm@gnu.org>
19127 * add-log.el (change-log-date-face, change-log-name-face)
19128 (change-log-email-face, change-log-file-face, change-log-list-face)
19129 (change-log-conditionals-face, change-log-function-face)
19130 (change-log-acknowledgement-face):
19131 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19132 (custom-modified-face, custom-set-face, custom-changed-face)
19133 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19134 (custom-documentation-face, custom-state-face, custom-comment-face)
19135 (custom-comment-tag-face, custom-variable-tag-face)
19136 (custom-variable-button-face, custom-face-tag-face)
19137 (custom-group-tag-face-1, custom-group-tag-face):
19138 * diff-mode.el (diff-header-face, diff-file-header-face)
19139 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19140 (diff-added-face, diff-changed-face, diff-function-face)
19141 (diff-context-face, diff-nonexistent-face):
19142 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19143 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19144 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19145 (Info-title-4-face):
19146 * isearch.el (isearch-lazy-highlight-face):
19147 * log-view.el (log-view-file-face, log-view-message-face):
19148 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19149 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19150 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19152 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19153 (smerge-base-face, smerge-markers-face):
19154 * wid-edit.el (widget-documentation-face, widget-button-face)
19155 (widget-field-face, widget-single-line-field-face)
19156 (widget-inactive-face, widget-button-pressed-face):
19157 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19158 (woman-addition-face):
19159 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19160 (eshell-ls-executable-face, eshell-ls-readonly-face)
19161 (eshell-ls-unreadable-face, eshell-ls-special-face)
19162 (eshell-ls-missing-face, eshell-ls-archive-face)
19163 (eshell-ls-backup-face, eshell-ls-product-face)
19164 (eshell-ls-clutter-face):
19165 * eshell/em-prompt.el (eshell-prompt-face):
19166 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19167 * obsolete/old-whitespace.el (whitespace-highlight-face):
19168 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19169 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19170 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19171 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19172 (antlr-font-lock-literal-face):
19173 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19174 (ebrowse-root-class-face, ebrowse-file-name-face)
19175 (ebrowse-default-face, ebrowse-member-attribute-face)
19176 (ebrowse-member-class-face, ebrowse-progress-face):
19177 * progmodes/make-mode.el (makefile-space-face):
19178 * progmodes/sh-script.el (sh-heredoc-face):
19179 * textmodes/flyspell.el (flyspell-incorrect-face)
19180 (flyspell-duplicate-face):
19181 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19182 * textmodes/texinfo.el (texinfo-heading-face):
19183 Mark face aliases with "-face" suffix as obsolete.
19185 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19188 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19189 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19190 easy-menu-define wants to modify these.
19192 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19194 * net/browse-url.el (browse-url-file-url):
19195 * term/internal.el (dos-codepage-setup):
19196 Use default-value rather than default-enable-multibyte-characters.
19198 * progmodes/etags.el (etags-goto-tag-location):
19199 * progmodes/flymake.el (flymake-highlight-line)
19200 (flymake-goto-file-and-line, flymake-goto-line):
19201 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19202 (gdb-goto-breakpoint):
19203 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19204 * progmodes/python.el (python-find-function)
19205 (python-pdbtrack-track-stack-file):
19206 * progmodes/verilog-mode.el (verilog-surelint-off):
19207 * term/ns-win.el (ns-open-file-select-line):
19208 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19209 Use forward-line rather than goto-line.
19211 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19212 * textmodes/reftex-index.el (reftex-display-index):
19213 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19214 * textmodes/reftex-toc.el (reftex-toc):
19215 Remove unnecessary bindings of default-major-mode (all are followed by
19216 major-mode check and possible mode switch).
19218 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19220 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19221 Handle watchpoints (bug#4282).
19222 (def-gdb-thread-buffer-command): Enable thread to be selected by
19223 clicking without selecting threads buffer first.
19224 (gdb-current-context-command): Use selected frame so that "up",
19225 "down" etc work in the GUD buffer.
19226 (gdb-update): Find selected frame before rendering stack buffer.
19227 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19229 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19231 * progmodes/sym-comp.el (displayed-completions): Remove.
19232 (symbol-complete): Use minibuffer-complete.
19234 2009-08-31 Glenn Morris <rgm@gnu.org>
19236 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19238 * apropos.el (apropos-symbols-internal):
19239 Handle (obsolete) face aliases.
19241 * faces.el (describe-face): Adjust the output format to be more like
19242 describe-variable, and to mention (obsolete) face aliases.
19243 Adjust the whitespace so that help-setup-xref works.
19245 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19246 * calendar/diary-lib.el (diary-button-face):
19247 Mark these face aliases as obsolete.
19249 * calendar/calendar.el (calendar-today): Doc fix.
19251 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19253 * progmodes/gdb-mi.el (gdb-control-all-threads)
19254 (gdb-control-current-thread): Force tool bar update.
19255 (gdb-non-stop-handler): New function.
19256 (gdb-init-1): Use it to test if non-stop mode is supported.
19257 Remove unused gdbmi buffer type.
19259 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19261 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19262 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19264 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19266 * comint.el (comint-exec-1): Check command is non-null first.
19267 Part of gdb-mi.el change (2009-08-28).
19269 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19271 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19273 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19275 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19276 instead of `dolist' to avoid a recursive require when bootstrapping.
19278 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19280 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19282 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19284 * net/imap.el (imap-send-command): Simplify.
19285 (imap-wait-for-tag): point-max -> buffer-size.
19287 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19289 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19290 with constant argument.
19292 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19294 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19296 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19297 Change default, since most of our files don't have a history.
19298 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19301 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19304 * calc/calc.el: Improve commenting convention.
19305 (calc-digit-map, toplevel): Simplify.
19307 * comint.el (comint-insert-input): Be careful to only set point if we
19308 don't delegate to some other command.
19310 * proced.el (proced-signal-list): Make it an alist.
19311 (proced-grammar-alist): Capitalize names.
19312 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19313 Disable undo manually and make it read-only.
19314 Use completion-annotate-function.
19316 * minibuffer.el (minibuffer-message): If the current buffer is not
19317 a minibuffer, insert the message in the echo area rather than at the
19319 (completion-annotate-function): New variable.
19320 (minibuffer-completion-help): Use it.
19321 (completion--embedded-envvar-table): Environment vars are
19322 always case-sensitive.
19324 2009-08-30 Glenn Morris <rgm@gnu.org>
19326 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19327 from fortran-current-defun.
19328 (fortran-beginning-of-subprogram): Be more precise about finding the
19329 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19330 (fortran-end-of-subprogram): Simplify.
19331 (fortran-current-defun): Use fortran-start-prog-re.
19333 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19335 * subr.el (do-after-load-evaluation): Simplify.
19337 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19339 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19341 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19342 (vc-rcs-print-log): Use it.
19344 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19346 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19348 * paths.el (abbrev-file-name): Move to abbrev.el.
19349 * abbrev.el (abbrev-file-name): Move from paths.el.
19350 Obey user-emacs-directory.
19351 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19352 user-emacs-directory.
19353 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19354 abbrev-file-name and calc-settings-file any more.
19355 * startup.el (command-line): Recompute abbrev-file-name and
19356 abbreviated-home-dir.
19357 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19358 of the special code for when C-h bindings haven't been changed.
19359 (display-startup-echo-area-message): Use with-current-buffer.
19360 (command-line-1): Use a list of strings, rather than a list of lists
19361 of strings for longopts.
19363 * files.el (get-free-disk-space): Use / for default-directory.
19365 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19366 Use with-current-buffer.
19368 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19369 Recognize immutable variables like most-positive-fixnum.
19370 (byte-compile-setq-default): Check and warn if trying to assign
19371 to an immutable variable, or a non-variable.
19373 * progmodes/cc-vars.el (c-comment-continuation-stars):
19374 * progmodes/cc-engine.el (c-looking-at-bos):
19375 * progmodes/cc-cmds.el (c-toggle-auto-state)
19376 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19377 (c-comment-line-break-function): Add version of obsolescence.
19379 2009-08-28 Juri Linkov <juri@jurta.org>
19381 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19382 associated with `archive-mode'.
19384 * image.el (image-type-header-regexps): Use only JPEG magic number
19385 to determine JPEG images, and don't use `image-jpeg-p' because
19386 Emacs can display non-JFIF non-Exif JPEG images.
19388 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19390 * arc-mode.el (archive-mode):
19391 * emacs-lisp/re-builder.el (re-builder-unload-function):
19392 Protect against the default value of `major-mode' being nil.
19394 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19396 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19397 Fix typos in docstrings.
19399 * progmodes/js.el (js--macro-decl-re): Doc fix.
19400 (js--plain-method-re, js--split-name): Refloc docstring.
19401 (js--class-styles, js--make-merged-item, js--splice-into-items):
19402 Fix typos in docstrings; reflow docstrings.
19403 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19404 (js--variable-decl-matcher, js--inside-pitem-p)
19405 (js--parse-state-at-point, js--get-all-known-symbols)
19406 (js--symbol-history, js-find-symbol, js--js-references)
19407 (js--moz-interactor, js--js-encode-value, js--read-tab):
19408 Fix typos in docstrings.
19410 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19412 * textmodes/reftex.el (reftex-get-file-buffer-force):
19413 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19414 * emulation/viper.el (viper-go-away, viper-set-hooks):
19415 * emacs-lisp/re-builder.el (re-builder-unload-function):
19416 * emacs-lisp/bytecomp.el (byte-compile-file):
19417 * ses.el (ses-unload-function):
19418 * hexl.el (hexl-find-file):
19419 * files.el (normal-mode):
19420 * ehelp.el (with-electric-help):
19421 * autoinsert.el (auto-insert-alist):
19422 * arc-mode.el (archive-mode):
19423 Use (default-value 'major-mode) instead of default-major-mode.
19425 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19426 * international/mule.el (load-with-code-conversion):
19427 * emacs-lisp/debug.el (debug):
19428 * ediff-vers.el (ediff-rcs-get-output-buffer):
19429 * dired.el (dired-internal-noselect): Don't let-bind
19430 default-major-mode around code that doesn't use it.
19431 E.g. buffer creation via get-buffer-create doesn't use it.
19433 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19435 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19436 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19437 when writing the temp file. Otherwise, epa-file gets confused.
19438 (tramp-register-file-name-handlers): Make it a defun. Move also
19439 `epa-file-handler' to the front of `file-name-handler-alist'.
19441 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19443 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19444 start right after a ^M.
19445 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19446 (tramp-completion-file-name-regexp-separate)
19447 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19448 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19449 Don't modify last-coding-system-used by accident.
19450 (tramp-completion-file-name-handler): Apply the checks here,
19451 instead during registration.
19452 (tramp-register-file-name-handlers): Rename from
19453 `tramp-register-file-name-handler'. Register both
19454 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19455 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19457 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19459 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19460 Remove variable ...
19461 (gdb-init-1, gdb-display-separate-io-buffer)
19462 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19464 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19465 (gdb-inferior-filter): Use comint-output-filter to stop
19466 echoing and remove ^M characters.
19468 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19470 * emulation/viper-init.el (viper-restore-cursor-type):
19471 * emulation/cua-base.el (cua--update-indications):
19472 Replace default-cursor-type with (default-value 'cursor-type).
19474 * mail/sendmail.el (mail-recover-1):
19475 * international/mule-diag.el (describe-current-coding-system-briefly)
19476 (describe-current-coding-system):
19477 * international/mule-cmds.el (select-safe-coding-system)
19478 (select-message-coding-system)
19479 (set-language-environment-coding-systems, set-locale-environment):
19480 * hexl.el (hexl-insert-multibyte-char):
19481 * dos-w32.el (find-buffer-file-type-coding-system):
19482 * simple.el (what-cursor-position):
19483 Replace uses of default-buffer-file-coding-system
19484 with (default-value 'buffer-file-coding-system).
19486 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19487 Replace uses of default-cursor-in-non-selected-windows
19488 with (default-value 'cursor-in-non-selected-windows).
19489 Use with-current-buffer.
19491 * mail/feedmail.el: Use CL macros.
19492 (feedmail-run-the-queue, feedmail-send-it-immediately):
19493 * dos-w32.el (find-buffer-file-type): Replace uses of
19494 default-buffer-file-type with (default-value 'buffer-file-type).
19496 2009-08-28 Glenn Morris <rgm@gnu.org>
19498 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19499 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19500 Use default-value of major-mode rather than default-major-mode.
19502 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19504 * Makefile.in (update-elcfiles): Report left over elc files.
19506 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19507 expand-file-name and with-current-buffer.
19508 (mail-get-names, mail-directory): Use with-current-buffer.
19510 * vc.el (vc-read-revision): New function.
19511 (vc-version-diff, vc-merge): Use it.
19513 2009-08-27 Sam Steingold <sds@gnu.org>
19515 * simple.el (kill-do-not-save-duplicates): New user option.
19516 (kill-new): When it is non-nil, and the new string is the same as
19517 the latest kill, set replace to t to avoid duplicates in kill-ring.
19519 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19521 * net/tramp.el (tramp-handle-process-file): Do not flush all
19522 caches when `process-file-side-effects' is set.
19523 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19524 instead of `tramp-find-file-exists-command'.
19525 Unset `process-file-side-effects'.
19527 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19529 * net/tramp.el (tramp-methods): New method "rsyncc".
19530 (top): Add completion function for "rsyncc".
19531 (tramp-message-show-message): New defvar.
19532 (tramp-message, tramp-error): Use it.
19533 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19535 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19536 `tramp-methods' entry `copy-env' of "rsyncc".
19537 (tramp-vc-registered-read-file-names): New defconst.
19538 (tramp-vc-registered-file-names): New defvar.
19539 (tramp-handle-vc-registered): Implement optimization strategy.
19540 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19541 (tramp-vc-file-name-handler): New defun.
19542 (tramp-get-ls-command, tramp-get-test-command)
19543 (tramp-get-file-exists-command, tramp-get-remote-ln)
19544 (tramp-get-remote-perl, tramp-get-remote-stat)
19545 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19547 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19548 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19550 (tramp-get-file-property): Check for timestamps in
19551 `tramp-cache-inhibit-cache'.
19552 (tramp-set-file-property): Write timestamp.
19554 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19556 * language/japan-util.el (japanese-symbol-table): Add entries for
19559 * international/characters.el: Add category `j' to cp932-2-byte.
19561 2009-08-27 Kenichi Handa <handa@m17n.org>
19563 * international/fontset.el (build-default-fontset-data): New macro.
19564 (setup-default-fontset): Use build-default-fontset-data for CJK,
19565 tibetan, ethiopic, and ipa.
19567 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19569 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19570 (enable-multibyte-characters): Not customizable any more.
19572 * subr.el (default-mode-line-format, default-header-line-format)
19573 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19574 (default-direction-reversed, default-truncate-lines)
19575 (default-left-margin, default-tab-width, default-case-fold-search)
19576 (default-left-margin-width, default-right-margin-width)
19577 (default-left-fringe-width, default-right-fringe-width)
19578 (default-fringes-outside-margins, default-scroll-bar-width)
19579 (default-vertical-scroll-bar, default-indicate-empty-lines)
19580 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19581 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19582 (default-scroll-down-aggressively, default-fill-column)
19583 (default-cursor-type, default-buffer-file-type)
19584 (default-cursor-in-non-selected-windows)
19585 (default-buffer-file-coding-system, default-major-mode)
19586 (default-enable-multibyte-characters): Mark as obsolete.
19588 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19590 * vc-dir.el (vc-dir-update): Remove debug helper.
19592 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19594 2009-08-26 Sam Steingold <sds@gnu.org>
19596 * simple.el (save-interprogram-paste-before-kill): New user option.
19597 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19598 save the interprogram-paste into kill-ring before overriding it
19599 with the Emacs kill.
19601 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19603 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19604 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19605 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19606 and move to vc-rcs.el.
19607 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19609 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19610 (vc-rcs-update-changelog): Remove.
19611 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19612 and move to vc-rcs.el.
19614 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19615 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19617 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19618 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19619 vc.el, renamed to be RCS specific.
19621 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19623 (vc-cvs-update-changelog): Move here from vc.el.
19625 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19628 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19630 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19632 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19634 * vc-git.el (vc-git-register): Use "git add" for directories.
19635 (vc-git-stash, vc-git-stash-show): New functions.
19636 (vc-git-extra-menu-map): Bind them.
19638 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19639 directory correctly in case the item is a directory itself.
19641 * vc.el: Document the desired behavior for reverted files in the
19643 (vc-default-prettify-state-info): Remove function, unused.
19645 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19647 2009-08-26 Glenn Morris <rgm@gnu.org>
19649 * bindings.el (standard-mode-line-format): Reposition dashes in
19650 which-func entry. (Bug#4217)
19652 * files.el (enable-local-variables, enable-local-eval)
19653 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19655 (auto-mode-alist, ignored-local-variables)
19656 (save-some-buffers-action-alist): Move risky declarations to the
19658 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19659 (font-lock-defaults, format-alist, imenu--index-alist)
19660 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19661 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19662 (mode-line-modified, mode-line-mule-info, mode-line-position)
19663 (mode-line-process, mode-line-remote, outline-level)
19664 (parse-time-rules, rmail-output-file-alist)
19665 (special-display-buffer-names, vc-mode):
19666 Move risky declarations to the relevant files.
19667 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19668 (mode-line-modified, mode-line-process, mode-line-position)
19669 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19670 * font-core.el (font-lock-defaults):
19671 * format.el (format-alist):
19672 * vc-hooks.el (vc-mode):
19673 * window.el (special-display-buffer-names):
19674 * international/mule-cmds.el (input-method-alist):
19675 Define riskiness here (dumped file) rather than in files.el.
19676 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19677 * imenu.el (imenu-generic-expression, imenu--index-alist):
19678 * outline.el (outline-level):
19679 * time.el (display-time-string):
19680 * calendar/parse-time.el (parse-time-rules):
19681 * mail/rmailout.el (rmail-output-file-alist):
19682 Autoload riskiness here, rather than placing in files.el.
19684 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19686 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19688 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19690 * simple.el (process-file-side-effects): New defvar.
19692 * dired-aux.el (dired-show-file-type):
19693 * vc.el (vc-diff-internal):
19694 * vc-arch.el (vc-arch-diff):
19695 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19696 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19697 * vc-git.el (vc-git-registered, vc-git-working-revision)
19698 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19699 (vc-git--empty-db-p):
19700 * vc-hooks.el (vc-user-login-name):
19701 * vc-svn.el (vc-svn-registered, vc-svn-state)
19702 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19703 * progmodes/grep.el (grep-probe): Let-bind
19704 `process-file-side-effects' with nil.
19706 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19708 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19709 daemon. Replace ping by checking for running service for bluez
19710 and zeroconf. (Bug#4239)
19712 2009-08-25 Kevin Ryde <user42@zip.com.au>
19714 * net/dig.el (dig): Add autoload cookie.
19716 2009-08-25 Glenn Morris <rgm@gnu.org>
19718 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19719 load-history for absolute file-names.
19720 (byte-compile-file-form-require): Warn about use of the cl package.
19722 * format.el (format-alist): Doc fix.
19724 * play/bubbles.el (top-level): Don't require cl at run-time.
19726 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19729 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19731 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19733 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19735 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19737 * calc/calc-alg.el (math-trig-rewrite)
19738 (math-hyperbolic-trig-rewrite): New functions.
19739 (calc-simplify): Simplify trig functions when asked.
19741 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19743 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19745 2009-08-24 Kenichi Handa <handa@m17n.org>
19747 * language/ind-util.el (mapthread): Delete it.
19748 (combinatorial): New function.
19749 (indian--puthash-cv): Use combinatorial instead of mapthread.
19751 2009-08-22 Kevin Ryde <user42@zip.com.au>
19753 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19754 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19755 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19756 Clarify docstring that the value is strings not symbols.
19757 (checkdoc-list-of-strings-p): New function.
19759 2009-08-22 Glenn Morris <rgm@gnu.org>
19761 * files.el (auto-mode-alist):
19762 * hippie-exp.el (he-concat-directory-file-name):
19763 * lpr.el (lpr-windows-system, printer-name):
19764 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19765 * ps-print.el (ps-windows-system):
19766 * startup.el (command-line):
19767 * emulation/viper-ex.el (viper-glob-function):
19768 * international/mule-cmds.el (set-language-environment-coding-systems):
19769 * net/ange-ftp.el (ange-ftp-write-region):
19770 * obsolete/fast-lock.el (fast-lock-cache-name):
19771 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19772 unisoft-unix, vax-vms, win32, w32.
19774 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19775 given name if the pattern is not more specific.
19777 * calendar/lunar.el (lunar-phase-names): New option.
19778 (lunar-phase): Doc fix.
19779 (lunar-cycles-per-year): New constant.
19780 (lunar-index): New function.
19781 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19782 (lunar-phase-name): Use lunar-phase-names.
19783 (calendar-lunar-phases): Use format.
19784 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19786 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19787 Copy imenu-example--name-and-position function here for own use.
19788 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19790 * bs.el (bs--redisplay):
19791 * cus-edit.el (custom-redraw):
19792 * ibuffer.el (ibuffer-bury-buffer):
19793 * server.el (server-goto-line-column):
19794 * startup.el (command-line-1):
19795 * strokes.el (strokes-xpm-for-stroke):
19796 * term.el (term-display-buffer-line):
19797 * view.el (View-goto-line):
19798 * calc/calc.el (calc-do, calc-trail-buffer):
19799 * play/gamegrid.el (gamegrid-add-score-insecure):
19800 * progmodes/ada-mode.el (ada-compile-goto-error):
19801 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19802 (ebrowse-select-1st-to-9nth):
19803 * progmodes/cperl-mode.el (cperl-time-fontification):
19804 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19805 * progmodes/gud.el (gud-display-line):
19806 (idlwave-shell-display-line):
19807 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19808 * progmodes/make-mode.el (makefile-browser-toggle):
19809 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19810 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19811 * textmodes/picture.el (picture-draw-rectangle):
19812 * textmodes/reftex-index.el (reftex-index-goto-letter):
19813 (reftex-select-jump-to-previous):
19814 * textmodes/reftex-sel.el (reftex-find-start-point)
19815 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19816 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19817 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19818 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19819 * textmodes/two-column.el (2C-associated-buffer):
19820 Use forward-line rather than goto-line.
19822 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19825 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19826 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19827 (quick-check-list-to-regexp): Declare.
19829 * progmodes/make-mode.el (makefile-browser-insert-selection):
19830 Use goto-char rather than goto-line.
19832 * progmodes/prolog.el (compilation-error-regexp-alist)
19833 (compilation-forget-errors): Declare.
19835 2009-08-22 Juri Linkov <juri@jurta.org>
19837 * progmodes/grep.el (lgrep, rgrep): At the beginning
19838 set `dir' to `default-directory' unless `dir' is a non-nil
19839 readable directory. (Bug#4052)
19840 (lgrep, rgrep): Change a weird way to report an error
19841 from using `read-string' to using `error'.
19842 Instead of using interactive arguments in the function body,
19843 add new argument `confirm'.
19845 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19847 * textmodes/remember.el (remember-buffer):
19848 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19849 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19850 (icalendar-extract-ical-from-buffer):
19851 * net/newst-treeview.el (newsticker-groups-filename):
19852 * net/newst-backend.el (newsticker-cache-filename):
19853 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19854 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19855 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19856 (speedbar-buffers-line-path, speedbar-path-line)
19857 (speedbar-buffers-line-path):
19858 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19860 * epa.el (epa-display-verify-result):
19861 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19863 2009-08-21 Glenn Morris <rgm@gnu.org>
19865 * progmodes/js.el (inferior-moz-process): Fix declaration.
19867 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19869 * obsolete/rnewspost.el (news-mail-reply):
19870 Use goto-char rather than goto-line.
19872 * term/ns-win.el (ns-open-file-select-line):
19873 Use line-beginning-position rather than goto-line.
19875 * apropos.el (apropos-command):
19876 * ehelp.el (electric-helpify):
19877 * printing.el (pr-show-setup):
19878 * strokes.el (strokes-help):
19879 * tutorial.el (tutorial--describe-nonstandard-key)
19880 (tutorial--detailed-help):
19881 * woman.el (woman-mini-help, woman-display-extended-fonts):
19882 * calc/calc-help.el (calc-describe-key):
19883 * emulation/edt.el (edt-electric-helpify):
19884 * international/mule-diag.el (mule-diag):
19885 * play/yow.el (apropos-zippy):
19886 * progmodes/python.el (python-describe-symbol):
19887 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19888 * textmodes/table.el (*table--cell-describe-mode)
19889 (*table--cell-describe-bindings):
19890 Use help-print-return-message rather than the now obsolete alias.
19892 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19893 (calendar-cursor-to-visible-date):
19894 * play/5x5.el (5x5-position-cursor):
19895 * play/decipher.el (decipher):
19896 * play/gomoku.el (gomoku-goto-xy):
19897 * play/landmark.el (lm-goto-xy):
19898 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19899 (mpuz-paint-digit):
19900 Use forward-line, not goto-line.
19902 * mail/rmail.el (rmail-obsolete): Delete custom group.
19903 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19904 (rmail-remote-password, rmail-remote-password-required):
19905 Remove unneeded :set-after and :set properties.
19907 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19909 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19911 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19913 * loadup.el: Remove leftover macos code.
19915 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19916 Explicitly pass the date format to git blame so that user local
19917 so that the output format can be parsed.
19919 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19921 * net/dbus.el (top): Don't check for (getenv
19922 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19924 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19926 * log-edit.el (log-edit-strip-single-file-name): New var.
19927 (log-edit-insert-changelog): Use it. Bug#3571
19929 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19931 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19934 * help.el (help-print-return-message): Rename from
19935 print-help-return-message.
19937 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19938 cvs-mode-map parent hack.
19939 (log-view-mode): Derive from special-mode.
19941 * linum.el (linum-mode): window-size-change-functions is redundant.
19942 Adapt to new window-configuration-change-hook behavior.
19943 (linum-after-size, linum-after-config): Remove.
19945 * imenu.el (imenu-example--name-and-position)
19946 (imenu-example--lisp-extract-index-name)
19947 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19950 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19951 (inferior-prolog-mode): Use it.
19952 (inferior-prolog-load-file): Reset list of errors.
19954 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19956 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19958 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19960 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19962 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19963 is running already.
19965 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19967 * subr.el (listify-key-sequence-1): Use normal syntax since those
19968 integers are nowadays always represented by the same (positive) number
19970 (read-key-empty-map): New const.
19971 (read-key-delay): New var.
19972 (read-key): New function.
19973 (force-mode-line-update): Use with-current-buffer.
19974 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19975 (start-process-shell-command, start-file-process-shell-command):
19976 Discourage the use of command-args.
19978 2009-08-19 Glenn Morris <rgm@gnu.org>
19980 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19982 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19984 * simple.el (choose-completion-string): Don't rely on
19985 minibuffer-completing-file-name and ad-hoc checks to decide whether
19986 to continue completion or not.
19988 * minibuffer.el (minibuffer-hide-completions): New function.
19989 (completion--do-completion): Use it.
19990 (completions-annotations): New face.
19991 (completion--insert-strings): Use it.
19992 (completion-pcm--delim-wild-regex): Add docstring.
19993 (completion-pcm--string->pattern): Add support for 0-width delimiters
19994 in completion-pcm--delim-wild-regex.
19996 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19998 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19999 Remove unused var `buffer-modified-p'.
20001 * minibuffer.el (completion--do-completion): Move point for the #b001
20002 case as well (bug#4176).
20003 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20005 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20007 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20008 and :session buses.
20010 2009-08-18 Kenichi Handa <handa@m17n.org>
20012 * international/ucs-normalize.el (ucs-normalize-version):
20014 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20015 (utf-8-hfs): Make it perform normalization on encoding too.
20017 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20018 (sentence-end-without-space): Delete duplicated chars.
20019 (sentence-end-base): Likewise.
20021 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20022 (html-mode): Delete duplicated chars from sentence-end-base.
20024 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20025 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20027 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20029 * files.el (hack-one-local-variable): If the mode function is for
20030 a minor mode, pass it an argument (Bug#4148).
20032 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20034 * net/tramp.el (tramp-register-completion-file-name-handler):
20035 Check also for (member 'partial-completion completion-styles).
20037 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20039 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20042 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20044 * progmodes/cperl-mode.el: Merge upstream 6.2.
20045 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20046 (cperl-forward-re): Check cperl-brace-recursing.
20047 (cperl-highlight-charclass): New function.
20048 (cperl-find-pods-heres): Use it.
20049 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20050 (cperl-beautify-regexp-piece): Fix column calculation.
20051 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20052 (cperl-beautify-level): Don't process entire regexp.
20053 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20055 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20056 (cperl-init-faces): Build a list in the normal way.
20058 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20060 * calendar/parse-time.el (parse-time-string-chars): Save match
20063 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20065 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20066 (sql-product): Use it.
20067 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20068 (sql-set-product): Add completion.
20069 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20070 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20071 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20072 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20073 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20074 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20075 (sql-highlight-db2-keywords): Remove.
20076 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20077 (sql-highlight-product): Use derived-mode-p.
20078 (sql-set-sqli-buffer): Use with-current-buffer.
20079 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20082 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20084 * term.el: Fix commenting convention, turn comments into docstrings.
20086 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20088 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20090 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20092 * calendar/parse-time.el (parse-time-string-chars): Compute using
20093 character classes, to handle non-ascii characters (Bug#3190).
20095 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20097 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20098 another heredoc if the user adds another < (Bug#3226).
20100 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20101 Don't initialize based on window-system (Bug#4124).
20103 * facemenu.el (facemenu-read-color): Use a completion function
20104 that accepts any defined color, such as RGB triplets (Bug#3677).
20106 * files.el (get-free-disk-space): Change fallback default
20107 directory to /. Expand DIR argument before switching to fallback.
20108 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20110 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20112 * files.el (load-library): Doc fix.
20114 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20116 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20117 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20118 incremental search string.
20120 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20123 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20124 (ediff-merge-region-is-non-clash)
20125 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20126 Also check if the job is really a merge job.
20128 * ediff.el (ediff-current-file): New function.
20130 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20132 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20134 (js-insert-and-indent): Delete function.
20135 (js-mode-map): Don't bind keys to js-insert-and-indent.
20136 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20137 (js-end-of-defun): Rename from js--end-of-defun.
20138 (js-auto-indent-flag): Delete variable.
20140 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20142 * progmodes/js.el: Remove proclaim statement.
20143 Defvar which-func-imenu-joiner-function to silence compiler.
20145 * files.el (auto-mode-alist): Use js-mode for .js files.
20147 * progmodes/js2-mode.el: Remove file.
20149 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20151 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20153 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20155 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20156 Karl Landstrom <karl.landstrom@brgeight.se>
20158 * progmodes/js.el: New file.
20160 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20162 * timezone.el (timezone-parse-date): Add ability to understand ISO
20163 basic format (minimal separators) dates in addition to the
20164 already-supported extended format dates.
20166 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20168 * international/ucs-normalize.el: Add a `coding' file variable.
20170 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20172 2009-08-14 Sam Steingold <sds@gnu.org>
20174 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20176 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20178 * faces.el (help-argument-name): Define it here instead of
20179 help-fns.el, because in daemon mode help-fns.el may be loaded when
20180 faces are still uninitialized (Bug#1078).
20182 * help-fns.el (help-argument-name): Move defface to faces.el.
20184 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20186 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20187 create buffer with a pty but no process so that GDB can make the
20188 inferior the controlling process.
20190 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20192 * international/ucs-normalize.el: New file.
20194 2009-08-13 Richard Stallman <rms@gnu.org>
20196 * mail/rmail.el (rmail-get-attr-names):
20197 Accept an attribute header that is too short.
20199 * mail/rmail.el (rmail-forget-messages):
20200 Ignore nil elt in rmail-message-vector. Use dotimes.
20202 * progmodes/compile.el (compilation-goto-locus):
20203 Use next-error-move-function.
20205 * simple.el (next-error-move-function): New variable.
20207 2009-08-12 Juri Linkov <juri@jurta.org>
20209 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20210 always non-nil. (Bug#4052)
20212 * replace.el (read-regexp): Return empty string when
20213 `default-value' is nil.
20214 (keep-lines-read-args): Don't use empty string as the
20215 default value for `read-regexp'. (Bug#2495)
20217 2009-08-12 Juri Linkov <juri@jurta.org>
20219 * international/mule-cmds.el (ucs-insert): Change arguments
20220 from `arg' to `character', `count', `inherit' to be the same
20221 as in `insert-char'. Doc fix. (Bug#4039)
20223 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20225 2009-08-12 Juri Linkov <juri@jurta.org>
20227 * files-x.el: New file.
20229 * files.el: Move code that deals with adding/deleting
20230 file/directory-local variables to files-x.el.
20232 * Makefile.in (ELCFILES): Add files-x.elc.
20234 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20236 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20237 to use `goto-line'.
20238 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20240 (gdb-invalidate-disassembly): Do not refresh upon receiving
20241 'update signal. Instead, update all disassembly buffers only after
20243 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20244 (gdb-starting): Move -data-list-register-names...
20245 (gdb-stopped): ...here so it's sent when first thread stops.
20246 (gdb-registers-handler-custom): Do nothing if register names are
20249 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20250 from `gdb-mi.el' to avoid extra tangling.
20252 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20253 change which breaks `gud-def' definitions used in `gdb'.
20254 (gdb-update-gud-running): No extra fuss for updating frame number.
20256 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20258 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20259 (describe-language-environment-map, setup-language-environment-map)
20260 (set-coding-system-map): Move initialization into declaration.
20261 (set-language-info-alist): Last arg to define-key-after can be skipped.
20263 * international/quail.el (quail-completion-1): Simplify.
20264 (quail-define-rules): Use slightly more compact code.
20265 (quail-insert-decode-map): Propertize keys, compact columns.
20267 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20270 2009-08-10 Miles Bader <miles@gnu.org>
20272 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20273 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20274 (js2-instance-member, js2-private-member, js2-private-function-call)
20275 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20276 (js2-magic-paren, js2-external-variable):
20277 Remove "-face" suffix from face names.
20278 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20279 (js2-highlight-undeclared-vars, js2-peek-token)
20280 (js2-parse-function-params, js2-mode-show-errors)
20281 (js2-mode-show-warnings, js2-make-magic-delimiter)
20282 (js2-mode-highlight-magic-parens): Update to use new face names.
20284 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20286 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20287 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20289 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20291 * subr.el: Provide hashtable-print-readable.
20293 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20294 hs-c-like-adjust-block-beginning.
20295 (hs-hide-block-at-point): Stop hiding at the beginning of
20296 hs-block-end-regexp (Bug#700).
20298 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20300 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20302 (gdb-registers-handler-custom): Do not fail when register names
20305 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20307 * progmodes/gdb-mi.el (gdb-control-all-threads)
20308 (gdb-control-current-thread): Interactive setters for
20309 `gdb-gud-control-all-threads' to use in menu.
20310 (gdb-show-run-p): Show «Go» when process is not active.
20311 (gud-tool-bar-map): Add non-stop/A,T indicator.
20312 Uses gud/thread.xpm and gud/all.xpm.
20314 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20316 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20317 (nslookup-font-lock-keywords): Make it a variable.
20318 (net-utils-mode): New mode for viewing diagnostic network output.
20319 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20320 (net-utils-run-simple): New function.
20321 (ifconfig, iwconfig, netstat, arp, route): Use it.
20323 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20325 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20326 (gdb-memory-set-address, def-gdb-set-positive-number)
20327 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20328 after changing settings.
20329 (gdb-invalidate-disassembly): Update when first shown.
20330 (gdb-edit-locals-value): Fixed.
20331 (gdb-registers-handler-custom): Print registers in right order and
20332 allow changing register values (only for current thread yet).
20333 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20334 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20335 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20336 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20337 Thread info in mode name.
20338 (gdb-registers-mode-map): TAB to switch to locals.
20340 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20342 * mail/rmail.el (rmail-add-mbox-headers)
20343 (rmail-set-message-counters-counter): Search for
20344 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20346 2009-08-08 Glenn Morris <rgm@gnu.org>
20348 * Makefile.in (ELCFILES): Update.
20350 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20352 * mail/sendmail.el (mail-yank-original):
20353 Set buffer-file-coding-system from the one used by the message whose
20356 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20357 to "windows" when "pgnuplot" is used.
20358 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20359 Don't call accept-process-output if "pgnuplot" is used.
20360 (calc-graph-init): Don't send -display and -geometry to
20361 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20362 running "pgnuplot -V" with shell-command-to-string.
20364 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20367 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20369 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20372 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20374 * vc-dispatcher.el (vc-resynch-window): Update comment.
20376 * term.el (term-handle-ansi-escape): Add comments with the
20377 terminfo capabilities implemented.
20379 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20381 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20382 (gdb-var-create-handler): Rewritten using JSON parser.
20383 (gdb-propertize-header): Move earlier.
20384 (gdb-set-header): Remove to avoid duplication.
20385 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20386 Refresh disassembly buffers only after threads list have been
20388 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20391 2009-08-04 Juri Linkov <juri@jurta.org>
20393 * files.el: Commands to add/delete file/directory-local variables.
20394 (read-file-local-variable, read-file-local-variable-value)
20395 (read-file-local-variable-mode, modify-file-local-variable)
20396 (modify-file-local-variable-prop-line)
20397 (modify-dir-local-variable): New functions.
20398 (add-file-local-variable, delete-file-local-variable)
20399 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20400 (add-dir-local-variable, delete-dir-local-variable)
20401 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20402 (copy-dir-locals-to-file-locals-prop-line): New commands.
20404 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20406 * abbrev.el (insert-abbrev-table-description): Prettify output.
20407 Suggested by Karl Chen.
20409 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20411 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20412 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20413 (gdb-overlay-arrow-position, gdb-thread-position)
20414 (gdb-disassembly-position): Declare variables.
20415 (gdb-wait-for-pending): Function now.
20416 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20417 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20418 compilation goes smoothly.
20419 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20420 (gdb-non-stop-setting): New customization setting which replaces
20421 `gdb-non-stop' so changing it doesn't break active GDB session.
20422 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20423 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20424 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20425 (gdb-show-threads-by-default): New customization options.
20426 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20428 (gdb-get-buffer-create): Send buffers update signal when they are
20430 (gdb-invalidate-locals, gdb-invalidate-registers)
20431 (gdb-invalidate-breakpoints)
20432 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20433 (gdb-invalidate-memory): Accept update signal.
20434 (gdb-current-context-command): Use --frame option.
20435 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20436 Implement `gdb-frame-number' selection logic.
20437 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20438 whether to show GUD toolbar buttons.
20439 (gdb-thread-exited): Unselect current thread when it exits.
20440 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20441 (gdb-mark-line): Routine which sets overlay arrow or inverses
20442 video on fringeless displays.
20443 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20444 to build aligned columns of data in GDB buffers and set text
20445 properties line-by-line.
20446 (gdb-invalidate-breakpoints)
20447 (gdb-breakpoints-list-handler-custom)
20448 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20449 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20450 (gdb-registers-handler-custom): Align data columns.
20451 (gdb-locals-handler-custom): Now prints data like in variable
20453 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20454 Remove confusing buttons.
20455 (gdb-invalidate-threads): Append --frame.
20456 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20457 between breakpoints/threads buffers.
20458 (gdb-set-window-buffer): Now can ignore dedicated windows.
20459 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20460 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20461 (def-gdb-thread-buffer-gud-command): Replaces
20462 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20463 for fine thread control.
20464 (gdb-preempt-existing-or-display-buffer): New function used to
20465 display bound buffers without breaking window layout.
20466 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20467 (gdb-select-frame): New version of `gdb-frames-select' which now
20468 sets `gdb-frame-number' so commands may use --frame option instead
20469 of inner debugger state.
20470 (gdb-frame-handler): Do not set `gdb-frame-number'.
20471 (gdb-threads-mode-map): Select threads with mouse.
20473 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20474 avoid compilation warning.
20475 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20478 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20479 Argument `key' renamed to `buffer-type'.
20480 (gdb-current-context-buffer-name): Do not add thread info to
20481 buffer name when no thread is selected.
20482 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20483 command (bug 3794).
20484 (gdb-thread-selected): Handle `=thread-selected' notification.
20485 (gdb-wait-for-pending): New macro to deal with congestion problems.
20486 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20488 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20489 This fixes problem similar to one described in bug 3947.
20490 (gud-menu-map): More menu items.
20491 (gdb-init-1): Reset `gdb-thread-number' to nil.
20493 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20496 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20497 (gdb-current-context-command): Do not append --thread if
20498 `gdb-thread-number' is nil.
20499 (gdb-running-threads-count, gdb-stopped-threads-count):
20501 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20502 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20503 New customization options.
20504 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20506 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20507 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20508 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20509 set `gdb-thread-number' and update `gud-running' properly.
20510 (gdb-running): Update threads list when new threads appear.
20511 (gdb-stopped): Support non-stop operation and new thread switching
20513 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20514 (gdb-json-partial-output): New set of JSON routines.
20515 (def-gdb-auto-update-trigger): New `signal-list' optional
20517 (gdb-thread-list-handler-custom): Update `gud-running',
20518 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20519 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20520 (gdb-continue-thread, gdb-step-thread): New commands for fine
20521 thread execution control.
20522 (gud-menu-map): New menu items to switch non-stop options.
20523 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20524 (gdb-send): Mimic RET properly (bug 3794).
20526 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20527 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20529 (def-gdb-auto-update-handler): New nopreserve optional argument.
20530 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20532 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20533 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20534 (gdb-parent-mode): New mode to derive other GDB modes from.
20535 (gdb-display-disassembly-for-thread)
20536 (gdb-frame-disassembly-for-thread): New commands for threads
20539 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20540 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20541 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20542 (gdb-update): We now store all GDB buffers in a list so that they
20543 can be updated by traversing a list instead of calling invalidate
20544 triggers explicitly.
20545 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20546 pair for GDB buffer.
20547 (gdb-stack-buffer-name): Add thread information.
20548 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20549 handle pending triggers.
20550 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20551 (def-gdb-thread-buffer-simple-command)
20552 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20553 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20554 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20555 New commands which show buffers bound to thread.
20556 (gdb-stack-list-locals-regexp): Remove unused regexp.
20558 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20559 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20560 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20561 to (gud-comint-buffer) in *-buffer-name functions
20562 because (gdb-get-target-string) already does that.
20563 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20564 (gdb-changed-registers-handler): Rewritten without regexps.
20566 * progmodes/gdb-mi.el: Basic thread selection support.
20567 (gdb-thread-number): New variable.
20568 (gdb-current-context-command): New macro which adds --thread
20570 (gdb-threads-mode-map): Select thread with SPC.
20571 (gdb-thread-list-handler-custom): Mark current thread with overlay
20572 arrow. Synchronize GDB thread and Emacs thread.
20573 (gdb-select-thread): New command which selects current thread.
20574 (gdb-invalidate-frames, gdb-invalidate-locals)
20575 (gdb-invalidate-registers): Use --thread option.
20577 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20579 * net/tramp.el (top): Make check for tramp-gvfs loading more
20581 (tramp-handle-insert-file-contents): `unwind-protect' must be
20582 inside `with-parsed-tramp-file-name'.
20584 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20587 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20589 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20590 directory if CLASSPATH is not set.
20592 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20594 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20596 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20598 2009-08-02 Kevin Ryde <user42@zip.com.au>
20600 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20601 Update freshmeat link. Delete newsforge.com as it seems gone.
20603 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20605 * select.el (x-set-selection): Doc fix (Bug#4021).
20607 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20609 * help-fns.el (describe-variable): Treat list return values from
20610 dir-locals-find-file properly (Bug#4005).
20612 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20614 * net/tramp.el (tramp-debug-message): Print also microseconds.
20616 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20618 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20620 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20621 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20624 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20625 (tramp-get-file-property): Use it.
20627 * autorevert.el (auto-revert-handler):
20628 Allow `auto-revert-tail-mode' for remote files.
20630 2009-08-02 Jason Rumney <jasonr@gnu.org>
20632 * minibuffer.el (read-file-name): Treat confirm options to
20633 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20635 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20637 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20638 (font-lock-variable-name-face, font-lock-constant-face):
20639 Darken the colors for light backgrounds.
20641 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20643 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20644 month names. (Bug#3987)
20646 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20648 * simple.el (line-move-finish): Pass whole number to
20649 line-move-to-column.
20650 (line-move-visual): Perform hscroll to the recorded position.
20652 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20654 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20656 2009-07-29 Alan Mackenzie <acm@muc.de>
20658 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20660 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20662 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20663 (gdb-place-breakpoints): Use full path when setting breakpoints.
20665 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20667 * calc/calc.el (calc-mode-map): Add keybinding for
20668 `calc-transpose-lines'.
20670 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20672 * calc/calc-misc.el (calc-transpose-lines): New function.
20674 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20676 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20677 Simplify check for out-of-band methods.
20678 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20679 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20681 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20683 * vc-git.el (vc-git-checkin): Fix typo.
20685 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20687 * progmodes/js2-mode.el: New file.
20689 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20691 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20692 (gud-menu-map): Adjust tooltip accordingly.
20694 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20696 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20697 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20699 * add-log.el (change-log-mode-map): Add a menu.
20701 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20703 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20704 function returns nil.
20705 (dbus-handle-event): Handle special return value :ignore.
20706 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20708 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20710 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20713 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20717 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20719 * term/pc-win.el (x-display-name, x-colors)
20720 (x-select-enable-clipboard, x-select-text): Doc fix.
20722 * term/common-win.el (x-display-name, x-colors): Doc fix.
20724 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20725 (xw-defined-colors): Doc fix.
20727 * w32-fns.el (x-select-text, x-setup-function-keys)
20728 (x-get-selection, x-set-selection): Doc fix.
20730 * term/x-win.el (x-select-text, x-setup-function-keys)
20731 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20733 * select.el (x-set-selection): Doc fix.
20735 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20737 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20738 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20739 "IsNSSSupportAvailable" method is not available.
20740 Reported by Steve Youngs <steve@sxemacs.org>.
20742 2009-07-24 Kenichi Handa <handa@m17n.org>
20744 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20745 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20746 (build-unicode-category-table): Fix range checks.
20748 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20750 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20751 the buffer we try to sync is current when calling
20754 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20755 not show up to date files.
20757 2009-07-24 Glenn Morris <rgm@gnu.org>
20759 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20760 Add autoload cookies. If necessary, initialize.
20761 (elint-log): Handle non-file buffers.
20762 (elint-initialize): Add optional argument to reinitialize.
20763 (elint-find-builtin-variables): Save excursion.
20765 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20767 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20770 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20772 * vc.el (vc-print-log-internal): New function, split out from ...
20773 (vc-print-log): ... here.
20774 (vc-dir-move-to-goal-column): Declare.
20776 * vc-git.el (vc-git-add-signoff): New variable.
20777 (vc-git-checkin): Use it.
20778 (vc-git-toggle-signoff): New function.
20779 (vc-git-extra-menu-map): Bind it to menu.
20780 (vc-git--run-command-string): Accept a nil FILE argument.
20781 (vc-git-stash-list): New function.
20782 (vc-git-dir-extra-headers): Use it.
20784 2009-07-23 Glenn Morris <rgm@gnu.org>
20786 * help-fns.el (describe-variable): Describe ignored and risky local
20787 variables in a similar way to that in which we describe safe ones.
20789 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20790 (byte-compile-output-file-form, byte-compile-output-docform)
20791 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20792 Give some more local variables with common names a "bytecomp-" prefix,
20793 so as not to shadow things during compilation.
20794 * emacs-lisp/cl-macs.el (load-time-value)
20795 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20796 `outbuffer' to `bytecomp-outbuffer'.
20798 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20799 since the next two variables cover them automatically now.
20800 (elint-builtin-variables, elint-autoloaded-variables): New.
20801 (elint-unknown-builtin-args): Remove all members, since they can be
20802 parsed automatically now.
20803 (elint-extra-errors): New.
20804 (elint-env-add-env, elint-env-add-macro): Use cadr.
20805 (elint-current-buffer): Use or. Change final message.
20806 (elint-get-top-forms): Use line-end-position.
20807 (elint-init-env): Use cadr. Handle autoload, declare-function,
20809 (elint-add-required-env): Doc fix. Use or. Standardize error.
20810 (regexp-assoc): Remove unused function.
20811 (elint-top-form): Set elint-current-pos, to record the start of the
20812 top-level form, for compilation-mode.
20813 (elint-form): Trap errors in macro expansion. Use dolist.
20814 (elint-unbound-variable): Use elint-builtin-variables and
20815 elint-autoloaded-variables.
20816 (elint-get-args): Use cadr, or.
20817 (elint-check-cond-form): Use dolist, cadr.
20818 (elint-check-condition-case-form): Doc fix. Use cadr.
20819 Use elint-extra-errors.
20820 (elint-log): New function.
20821 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20822 Distinguish errors and warnings.
20823 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20824 Use a bytecomp-style format.
20825 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20826 (elint-get-log-buffer): Use compilation mode. Disable undo.
20827 Don't truncate lines.
20828 (elint-initialize): Set builtin and autoloaded variable lists.
20829 Only process elint-unknown-builtin-args if non-nil.
20830 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20832 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20834 2009-07-22 Kevin Ryde <user42@zip.com.au>
20836 * net/newst-backend.el (newsticker--parse-atom-1.0)
20837 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20838 (newsticker--parse-rss-1.0):
20839 * progmodes/idlwave.el (idlwave-mode):
20840 * progmodes/idlw-shell.el (idlwave-shell-mode):
20841 * progmodes/vera-mode.el (vera-mode):
20842 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20843 * progmodes/vhdl-mode.el (vhdl-mode):
20844 * textmodes/table.el (table-generate-source)
20845 (table--warn-incompatibility):
20846 Hyperlink urls in docstrings with URL `...'.
20848 2009-07-22 Glenn Morris <rgm@gnu.org>
20850 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20851 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20852 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20853 Remove leading * from defcustom docs.
20855 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20857 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20859 (list-load-path-shadows): Optionally, just return shadows as a string.
20861 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20863 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20865 * mail/rmailedit.el (rmail-edit-mode):
20866 Use auto-save-include-big-deletions.
20868 * mail/rmail.el (rmail-variables):
20869 Use auto-save-include-big-deletions.
20871 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20874 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20876 * calc/calc.el (calc-undo-length): New variable.
20877 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20879 2009-07-21 Richard Stallman <rms@gnu.org>
20881 * files.el (auto-save-mode): Handle buffer-save-size = -2
20884 2009-07-21 Glenn Morris <rgm@gnu.org>
20886 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20888 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20890 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20891 silence compiler. Instead...
20892 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20893 (ps-print-ensure-fontified): Update for above function name changes.
20895 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20896 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20897 silence compiler. Instead...
20898 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20899 (mh-show-buffer): Only define for compiler.
20900 (pr-mh-current-message): Update for above function name changes.
20902 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20904 (find-file-noselect, insert-file-1): Update for above change.
20906 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20908 * mail/mailclient.el (mailclient-send-it): Fix message.
20910 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20911 (edebug-eval): Check cl-debug-env is bound.
20912 (print-level, print-circle): Don't redefine built-in variables.
20914 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20915 (custom-print-vectors): Remove old comments from doc.
20917 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20918 (emerge-version): Make the variable an obsolete alias for the
20919 emacs-version variable. Make the function obsolete.
20920 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20921 Emerge options, rather than merging in into the main Options menu.
20922 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20923 and auto advance modes. Disable edit/fast items when not relevant.
20925 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20927 * term/vt420.el (terminal-init-vt420): Fix typo.
20929 2009-07-20 Sam Steingold <sds@gnu.org>
20931 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20932 variable (removed from compile.el on 2004-03-11).
20934 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20936 * files.el (hack-local-variables-filter): Fix last change.
20938 2009-07-19 Juri Linkov <juri@jurta.org>
20940 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20941 (dir-local-variables-alist): New buffer-local variable.
20942 (hack-local-variables-filter): If variable is not dir-local,
20943 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20944 because file-local overrides dir-local.
20945 (c-postprocess-file-styles) <declare-function>:
20946 Remove obsolete declaration.
20947 (hack-dir-local-variables): Add dir-local variable/value pair to
20948 `dir-local-variables-alist' and remove duplicates. Doc fix.
20950 * help-fns.el (describe-variable): Add information about
20951 file-local and dir-local variables.
20953 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20955 * files.el (hack-local-variables-filter): Rewrite.
20957 2009-07-19 Glenn Morris <rgm@gnu.org>
20959 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20960 Silence compiler by only defining on XEmacs.
20962 * international/mule.el (auto-coding-regexp-alist): Only match
20963 BABYL... at the start of buffer, not of lines. (Bug#3790)
20965 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20966 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20967 (cal-menu-context-mouse-menu): Doc fix.
20969 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20971 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20973 2009-07-18 Juri Linkov <juri@jurta.org>
20975 * info.el: Virtual Info keyword finder.
20976 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20977 (Info-finder-file): New variable.
20978 (Info-finder-find-file): New function.
20979 (finder-known-keywords, finder-package-info)
20980 (find-library-name, lm-commentary): Use defvar and
20981 declare-function to silence compiler warnings.
20982 (Info-finder-find-node): New function.
20983 (info-finder): New command.
20985 * subr.el (process-kill-buffer-query-function): New function.
20986 (add-hook)<kill-buffer-query-functions>: Add hook
20987 `process-kill-buffer-query-function'.
20989 2009-07-18 Alan Mackenzie <acm@muc.de>
20991 * progmodes/cc-mode.el (c-before-hack-hook)
20992 (c-postprocess-file-styles): Give invocation of `c-set-style'
20993 DONT-OVERRIDE parameter of t. Already set style variables will
20994 thus not be overridden by style settings given by `c-file-syle'.
20996 * files.el (hack-local-variables-filter): Remove entries with
20997 duplicate keys from `file-local-variables-alist'.
20999 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21001 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21002 x-set-selection if display-selections-p returns nil for the
21005 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21007 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21009 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21011 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21012 Accept nil in addition to a regexp.
21013 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21014 Accept nil in addition to a regexp.
21015 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21016 buffers that have an associated file. Handle nil values of
21017 desktop-buffers-not-to-save and desktop-files-not-to-save.
21020 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21021 (x-disown-selection-internal): New functions.
21023 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21025 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21027 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21028 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21030 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21032 * simple.el (set-mark): Revert last change.
21034 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21036 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21037 rendering of pngs is not possible instead of messaging a long
21040 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21042 * w32-fns.el (x-selection-owner-p): New function.
21044 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21045 (mouse-yank-at-click, mouse-yank-primary):
21046 If select-active-regions is non-nil, deactivate the mark before
21049 * simple.el (deactivate-mark, set-mark): Only save selection if we
21052 2009-07-17 Kenichi Handa <handa@m17n.org>
21054 * case-table.el (describe-buffer-case-table): Fix for the case
21055 that KEY is a cons.
21057 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21059 * vc-rcs.el (vc-rcs-find-file-hook):
21060 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21062 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21064 * net/tramp.el (tramp-wait-for-output): Handle the case when
21065 commands do not return a newline but a null byte before the shell
21068 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21070 * term/ns-win.el (ns-set-alpha): Don't declare.
21071 (ns-set-background-alpha): Remove function.
21073 2009-07-16 Kevin Ryde <user42@zip.com.au>
21075 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21076 y-or-n-p, for safety.
21078 2009-07-16 Richard Stallman <rms@gnu.org>
21080 * files.el (auto-save-mode): If buffer-saved-size is -2,
21083 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21084 (rmail-retry-ignored-headers): Add more uninteresting fields.
21086 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21088 * net/rcirc.el (rcirc): Use history variables.
21089 (rcirc-server-name-history, rcirc-nick-name-history)
21090 (rcirc-server-port-history): New variables.
21092 2009-07-15 Kenichi Handa <handa@m17n.org>
21094 * international/mule-cmds.el (set-language-environment-charset):
21095 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21098 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21099 Delete unibyte-display.
21101 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21103 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21105 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21107 * simple.el (deactivate-mark): Optional argument FORCE.
21108 (set-mark): Use deactivate-mark.
21110 * info.el (Info-search): No need to check transient-mark-mode
21111 before calling deactivate-mark.
21113 * select.el (x-set-selection): Doc fix.
21114 (x-valid-simple-selection-p): Allow buffer values.
21115 (xselect--selection-bounds): Handle buffer values.
21116 Suggested by David De La Harpe Golden.
21118 * mouse.el (mouse-set-region, mouse-drag-track):
21119 Call copy-region-as-kill before setting the mark, to let
21120 select-active-regions work.
21122 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21124 * simple.el (deactivate-mark): If select-active-regions is
21125 non-nil, copy the selection data into a string.
21126 (activate-mark): If select-active-regions is non-nil, set the
21127 selection to the current buffer.
21128 (set-mark): Update selection if select-active-regions is non-nil.
21130 * select.el (x-valid-simple-selection-p): Allow buffer values.
21132 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21134 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21135 and more featureful message-mode.
21137 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21139 * select.el (x-set-selection): Doc fix.
21140 (x-valid-simple-selection-p): Disallow selection data consisting
21141 of a list or cons of integers, since that is not used.
21142 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21143 (xselect-convert-to-string, xselect-convert-to-length)
21144 (xselect-convert-to-filename, xselect-convert-to-charpos)
21145 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21147 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21149 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21150 output in -break-info command (Emacs bug #3794).
21152 2009-07-14 Glenn Morris <rgm@gnu.org>
21154 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21155 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21156 (edebug-print-length, edebug-print-level, edebug-print-circle)
21157 (edebug-sit-for-seconds, edebug-view-outside)
21158 (edebug-bounce-point, edebug-set-global-break-condition)
21159 (edebug-Go-nonstop-mode, edebug-trace-mode)
21160 (edebug-Trace-fast-mode, edebug-continue-mode)
21161 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21162 (edebug-visit-eval-list): Doc fixes.
21164 * subr.el (def-edebug-spec): Doc fix.
21166 2009-07-14 Kenichi Handa <handa@m17n.org>
21168 * international/characters.el: Fix setting of category ?C.
21170 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21172 * term/ns-win.el (x-select-font): defalias x-select-font to
21173 ns-popup-font-panel instead of generate-fontset-menu.
21175 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21177 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21179 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21181 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21182 the PK\003\004 header (Bug#3770).
21184 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21186 * pcomplete.el (pcomplete-comint-setup): Check for
21187 shell-dynamic-complete-filename too.
21189 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21191 * simple.el (temporary-goal-column): Change the value for
21192 line-move-visual to a cons cell.
21193 (line-move-visual): Record or set the window hscroll, if
21194 necessary (Bug#3494).
21195 (line-move-1): Handle cons value of temporary-goal-column.
21197 2009-07-11 Kenichi Handa <handa@m17n.org>
21199 * international/mule-diag.el (describe-character-set): Don't show
21202 2009-07-10 Sam Steingold <sds@gnu.org>
21204 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21205 Omake sometimes indents the errors it prints, so allow all
21206 regexps to start with spaces.
21208 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21210 * cus-edit.el (customize-changed-options-previous-release):
21211 Bump value to 22.1. (Bug#3804)
21213 2009-07-08 Sam Steingold <sds@gnu.org>
21215 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21216 to be a cons cell (test . ignored-directory) to selectively ignore
21217 some directories depending on the location of the search.
21219 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21221 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21222 remote user is root, on the local host.
21223 (tramp-local-host-p): Either the local user or the remote user
21224 must be root. (Bug#3771)
21226 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21228 * progmodes/gdb-mi.el (gdb): Remove description of
21229 gdb-use-separate-io-buffer.
21230 (menu): Don't allow toggling of or enable
21231 gdb-use-separate-io-buffer from menubar.
21233 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21235 * mail/unrmail.el (unrmail): Make sure the message ends with two
21236 newlines (Bug#3769).
21238 2009-07-08 Glenn Morris <rgm@gnu.org>
21240 * calendar/calendar.el (calendar-current-date): Rework previous change.
21242 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21244 * calendar/calendar.el (calendar-current-date):
21245 Add an optional argument giving an offset from today.
21247 2009-07-08 Glenn Morris <rgm@gnu.org>
21249 * tutorial.el (tutorial--describe-nonstandard-key):
21250 Adjust the message for when a key has been unbound.
21251 (help-with-tutorial): Hide the arch-tag.
21253 2009-07-08 Kenichi Handa <handa@m17n.org>
21255 * international/fontset.el (setup-default-fontset): For each
21256 script, append (not set) font-specs.
21258 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21261 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21263 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21264 -data-list-register-names to ...
21265 (gdb-starting): ... here because GDB 7.0 requires execution to
21266 have started when using this MI command.
21267 (gdb-set-header): New function to distinguish select and
21268 unselected tabs in gdb buffers.
21269 (gdb-propertize-header): New macro that uses gdb-set-header.
21270 (gdb-breakpoints-header, gdb-locals-header): Use it.
21271 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21273 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21275 * Makefile.in (ELCFILES): Remove fadr.elc.
21277 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21279 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21280 may contain frame information, so `string-match' should be used.
21281 (gdb-update): Disassembly is invalidated through
21282 `gdb-get-selected-frame'.
21283 (gdb-pad-string): New function to pad string with spaces.
21284 (gdb-invalidate-disassembly): Invalidate only if the buffer
21286 (gdb-disassembly-handler-custom): Column alignment.
21287 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21289 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21291 (gdb-frame-handler): Match convention to for disassembly buffer
21293 (gdb-stack-list-frames-handler): Rewritten without regexps.
21294 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21295 not highlight breakpoints without line information.
21296 (gdb-input): Add trailing newline to command.
21298 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21300 (gdb-breakpoints-list-handler-custom): Replacement for
21301 `gdb-break-list-handler'. Using real parser instead of regexps
21303 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21304 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21305 to place breakpoints.
21306 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21308 (gdb-disassembly-handler-custom): Show overlay arrow.
21309 (gdb-disassembly-place-breakpoints): Show breakpoints in
21310 disassembly buffer.
21311 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21312 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21313 instead of parsing breakpoints buffer. Fixed old menu references
21318 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21319 (gdb-memory-address): New variable which holds top address of
21320 memory page shown in memory buffer.
21321 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21322 New customization variables.
21324 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21325 display the memory buffer.
21326 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21327 buffer display parameters.
21328 (def-gdb-memory-format, gdb-memory-format-binary)
21329 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21330 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21331 Functions for setting memory buffer format.
21332 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21333 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21334 unit size used in memory buffer.
21335 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21336 Switch to next/previous page of memory buffer.
21337 Now using (bindat-get-field) instead of fadr functions.
21339 2009-07-07 Sam Steingold <sds@gnu.org>
21341 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21342 non-top-level files.
21344 2009-07-07 Kenichi Handa <handa@m17n.org>
21346 * international/mule-cmds.el (reset-language-environment):
21347 Put the highset priority to the charset iso-8859-1.
21349 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21351 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21352 to the end of the line when locating the block (Bug#700).
21354 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21356 * net/tramp.el (tramp-handle-write-region): Flush file properties
21357 in case of short track.
21359 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21361 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21362 Coded custom representation of verilog error regular expressions
21363 to work with Emacs-22's new format.
21364 (verilog-error-regexp-xemacs-alist): Coded custom representation
21365 of verilog error regular expressions to work with XEmacs format.
21366 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21367 error recognition into XEmacs.
21368 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21369 error recognition into Emacs-22.
21371 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21373 * woman.el: Remove stand-alone closing parentheses.
21374 (woman-file-name, woman2-format-paragraphs)
21375 (woman-leave-blank-lines): Code cleanup.
21376 (woman-use-own-frame): Change default to nil.
21377 (woman-italic, woman-bold, woman-unknown, woman-addition):
21378 Change defaults to inherit from default faces.
21379 (woman2-process-escapes): Consume the newline after a stand-alone
21380 filler character (Bug#3651).
21382 2009-07-06 Glenn Morris <rgm@gnu.org>
21384 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21385 (top-level): Move provide to the end.
21386 (ffap): Remove defunct URL from custom group.
21388 * subr.el (eval-after-load): Doc fix.
21390 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21392 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21393 `calc-embedded-word' is called twice.
21395 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21397 * files.el (find-alternate-file-other-window, find-alternate-file):
21398 Obey confirm-nonexistent-file-or-buffer.
21400 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21402 * dired-aux.el (dired-show-file-type): Handle remote files.
21404 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21406 * desktop.el (desktop-globals-to-save):
21407 Add file-name-history (Bug#2750).
21409 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21411 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21413 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21415 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21416 property on entire argument since this is what eshell-lisp-command
21419 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21421 * net/tramp-gvfs.el (tramp-gvfs-methods)
21422 (tramp-gvfs-zeroconf-domain)
21423 (tramp-bluez-discover-devices-timeout): Add version flag.
21424 (tramp-gvfs-handler-mounted-unmounted)
21425 (tramp-gvfs-connection-mounted-p): Polish handling of
21426 incompatibilities between GVFS 0.2 and 1.0.
21428 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21430 * cus-start.el (all): Add make-pointer-invisible.
21432 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21434 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21435 formatted correctly.
21437 2009-07-02 Juri Linkov <juri@jurta.org>
21439 * info.el: Virtual Info files and nodes.
21440 (Info-virtual-files, Info-virtual-nodes): New variables.
21441 (Info-current-node-virtual): New variable.
21442 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21444 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21445 to check for a virtual file instead of checking a fixed list
21447 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21448 instead of ad-hoc processing of "dir" and (apropos history toc).
21449 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21450 instead of ad-hoc processing of "dir" and (apropos history toc).
21451 Reread a file when moving from a virtual node.
21452 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21453 (Info-directory-toc-nodes, Info-directory-find-file)
21454 (Info-directory-find-node): New functions.
21455 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21456 (Info-history): Move part of code to
21457 `Info-history-find-node'.
21458 (Info-history-toc-nodes, Info-history-find-file)
21459 (Info-history-find-node): New functions.
21460 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21461 (Info-toc): Move part of code to `Info-toc-find-node'.
21462 (Info-toc-find-node): New function.
21463 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21464 the current Info file name to references because now the node
21465 "*TOC*" belongs to the same Info manual.
21466 (Info-toc-build): Rename from `Info-build-toc'.
21467 (Info-toc-nodes): Rename input argument `file' to `filename'.
21468 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21469 instead of ad-hoc processing of ("dir" apropos history toc).
21470 (Info-index-nodes): Use Info-virtual-file-p
21471 to check for a virtual file instead of checking a fixed list
21473 (Info-index-node): Add check for `Info-current-node-virtual'.
21474 Raise `save-match-data' higher up the tree to contain
21475 `search-forward' too (bug fix).
21476 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21477 (Info-virtual-index-nodes): New variable.
21478 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21479 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21480 (Info-apropos-file, Info-apropos-nodes): New variables.
21481 (Info-apropos-toc-nodes, Info-apropos-find-file)
21482 (Info-apropos-find-node, Info-apropos-matches): New functions.
21483 (info-apropos): Move part of code to `Info-apropos-find-node' and
21484 `Info-apropos-matches'.
21485 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21486 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21487 for a virtual file instead of checking a fixed list of node names.
21489 * simple.el (async-shell-command): New command.
21491 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21493 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21494 instead of `mount-info'.
21496 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21498 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21499 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21501 2009-07-02 Kenichi Handa <handa@m17n.org>
21503 * international/mule.el (set-keyboard-coding-system): Force *-unix
21504 coding-system to avoid eol conversion.
21506 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21508 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21509 Add handler for `process-file', `shell-command' and
21510 `start-file-process'.
21511 (tramp-gvfs-handle-shell-command)
21512 (tramp-gvfs-handle-start-file-process)
21513 (tramp-gvfs-handle-process-file): New defuns.
21514 (tramp-synce-list-devices): Simplify check for existence of property.
21516 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21518 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21520 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21522 * language/korean.el (set-language-info-alist): Add korean-cp949,
21525 2009-07-01 Kenichi Handa <handa@m17n.org>
21527 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21529 * international/encoded-kb.el: Deleted.
21531 * international/mule.el (set-keyboard-coding-system): Perform the
21532 necessary setup here instead of calling encoded-kbd-setup-display.
21534 2009-07-01 Glenn Morris <rgm@gnu.org>
21536 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21538 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21540 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21542 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21544 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21545 Handle also the 'rename case, when setting file modes. (Bug#3712)
21546 (tramp-default-file-modes): Remove execute permissions.
21548 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21549 (top): Add a default for "synce" in `tramp-default-user-alist'.
21550 Add completion function for "synce" method.
21551 (tramp-hal-service, tramp-hal-path-manager)
21552 (tramp-hal-interface-manager, tramp-hal-interface-device):
21554 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21555 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21558 * net/trampver.el: Update release number.
21560 2009-06-30 Kenichi Handa <handa@m17n.org>
21562 * international/fontset.el (setup-default-fontset): Add CJK fonts
21563 for symbols and the other miscellaneous characters.
21565 * language/korea-util.el (setup-korean-environment-internal):
21566 Make char-width-table suitable for Korean environments.
21567 (exit-korean-environment): Cancel above.
21569 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21570 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21571 setup-function to make char-width-table suitable for respective
21572 environments, and an exit-function to cancel that.
21574 * language/japan-util.el (setup-japanese-environment-internal):
21575 Call use-cjk-char-width-table with arg `ja_JP'.
21577 * international/characters.el (cjk-char-width-table): Delete it.
21578 (cjk-char-width-table-list): New variable.
21579 (use-cjk-char-width-table): New arg local-name.
21580 (use-default-char-width-table): Fix for the case that Emacs is
21581 already using the default char-width-table.
21583 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21585 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21586 modes mandatory. (Bug#3712)
21588 2009-06-29 Alan Mackenzie <acm@muc.de>
21590 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21591 correction between the visible width of TABs and their number of bytes.
21593 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21595 * server.el (server-buffer-done): Prevent kill-buffer from
21596 prompting by clearing the buffer modification flag (Bug#3696).
21598 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21600 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21601 (verilog-endcomment-reason-re): Support unique case and priority case.
21602 (verilog-basic-complete-re): Support localparam lineup.
21603 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21604 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21606 (verilog-leap-to-case-head): Now support *nested* unique &
21607 priority case statements.
21608 (verilog-auto-lineup): Make just declarations the default (as it
21610 (verilog-leap-to-case-head): Support priority/unique case statements.
21611 (verilog-auto-lineup): Rework to give users radio buttons to
21612 select the various styles of automatic lineup.
21613 (verilog-error-regexp-alist): Rework to support the XEmacs style
21614 of error regular expressions from compilers, lint tools &
21615 simulators. Note that GNU Emacs has made it impossible for a mode
21616 to load such things.
21617 (electric-verilog-terminate-line, verilog-indent-declaration)
21618 (verilog-auto-wiure): Rework for radio button selection of
21619 auto-lineup selection of specification of auto lineup.
21620 (verilog-beg-of-statement-1): Redesign to support proper operation
21621 in additional code, based on testing with auto-lineup.
21622 (verilog-calculate-indent, assignments & declarations)
21623 (verilog-backward-token): Enhance to support auto-lineup of
21624 assignments & declarations.
21625 (verilog-in-directive-p, verilog-at-struct-p): New function for
21626 easy test of whether we are.
21627 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21628 to support safe execution at almost anyline.
21629 (verilog-calc-1): Properly support indenting deep inside generate
21631 (verilog-init-font): Remove definition & use of verilog-init-font,
21632 as it is redundant with font-lock-defaults.
21633 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21634 to avoid circular calls if syntax-ppss is a function (as is the
21635 case now in 22.x GNU Emacs) as that function would sometimes call
21636 itself, leading to (nearly) infinite recursion.
21637 (verilog-ovm-begin-re, verilog-ovm-end-re)
21638 (verilog-ovm-statement-re, verilog-leap-to-head)
21639 (verilog-backward-token): Add support for OVM macros. Some are
21640 complete statements, and others open and close scopes like begin
21642 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21643 (verilog-defun-level-generate-only-re): Really fix the defun-list
21645 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21646 coverpoint, constraint and cross statements.
21647 (verilog-defun-level-list, verilog-generate-defun-level-list)
21648 (verilog-all-defun-level-list): Redo these specifications - it is
21649 too hard to support eval-when compile aggregation of lists also
21650 built at when-compile time.
21651 (verilog-defun-level-list): Place defconsts of variables used in
21652 building regular expressions which are built in eval-when-compile
21653 bodies in the same eval-when-compile body to facilitate compile
21655 (verilog-beg-block-re-ordered): Support indenting
21656 virtual/protected tasks and functions.
21657 (verilog-defun-level-list, verilog-in-generate-region-p)
21658 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21659 indentation of some module items (generate items).
21660 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21661 across virtual/protected tasks and functions.
21663 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21665 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21666 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21667 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21668 in concatenations. Reported by Yishay Belkind.
21669 (verilog-auto-ascii-enum): Support one-hot state machines in
21670 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21671 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21672 modport in AUTOINST and add vl-modport for users.
21673 Reported by David Rogoff.
21674 (verilog-auto-inout-module, verilog-auto-inst)
21675 (verilog-decls-get-interfaces, verilog-insert-definition)
21676 (verilog-insert-one-definition, verilog-read-decls)
21677 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21678 (verilog-sig-modport, verilog-signals-combine-bus)
21679 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21680 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21681 Suggested by David Rogoff.
21682 (verilog-repair-open-comma): Fix non-insertion of comma when
21683 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21684 (verilog-make-width-expression): Simplify [A-1:0] expression
21685 widths to just {A{1'b0}}.
21686 (verilog-mode): Cleanup checkdoc warnings.
21687 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21688 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21689 inputs/outputs or data type. Suggested by Vasu Kandadi.
21690 (next-error-last-buffer): Fix byte-compiler warning.
21691 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21692 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21693 or shell command text during AUTO expansion. Suggested by Tad Truex.
21694 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21695 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21696 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21697 in AUTOINOUT. Reported by Matthew Lovell.
21698 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21699 causing use of <= assignments. Reported by Alex Reed.
21700 (verilog-read-decls): Fix triand, trior, wand, wor to be
21701 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21702 (verilog-extended-complete-re): Support import "DPI-C" functions.
21703 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21704 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21705 (verilog-insert-date, verilog-insert-year)
21706 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21707 Windows systems. Reported by Michael Potts.
21708 (verilog-read-module-name): Fix AUTOINST when the child module
21709 declaration's name is a tick define. Reported by Elliot Mednick.
21710 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21711 passed to next parameter's definition. Reported by Bruce T.
21712 (verilog-read-decls): Fix detecting "parameter int" when using
21713 AUTOINSTPARAM. Reported by Bruce T.
21714 (verilog-goto-defun): Fix goto not finding modules unless first
21715 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21716 (verilog-mode): Expand -f flag arguments on entry to mode so
21717 verilog-goto-defun will work. Reported by Lawrence Butcher.
21718 (verilog-getopt): Expand environment variables in -f file
21719 arguments. Suggested by Lawrence Butcher.
21720 (verilog-set-define): Fix "Symbol's value as variable is void"
21721 when reading enumerations.
21722 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21723 Suggested by Stephen Peltan.
21724 (verilog-read-defines): Fix reading of enumerations in include
21725 files. Reported by Steve Peltan.
21727 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21729 * files.el (trash-directory): Fix defcustom type.
21731 2009-06-28 Juri Linkov <juri@jurta.org>
21733 * help-fns.el (describe-function-1): Correctly locate adviced
21734 functions in hyperlink (Bug#2438).
21736 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21738 * files.el (trash-directory): Change default to nil.
21739 (move-file-to-trash): If trash-directory is nil and
21740 system-move-file-to-trash is unbound, perform freedesktop-style
21743 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21745 * files.el (move-file-to-trash): Add freedesktop trash
21748 2009-06-28 Glenn Morris <rgm@gnu.org>
21750 * autorevert.el (global-auto-revert-non-file-buffers)
21751 (global-auto-revert-mode): Doc fixes.
21753 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21755 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21757 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21759 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21760 opened an X connection before calling x-get-resource (Bug#3194).
21762 * play/doctor.el: Remove reference to obsolete website.
21763 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21765 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21767 Remove find-file-not-found-hook VC method. (Bug#2757)
21768 * vc-hooks.el (vc-file-not-found-hook)
21769 (vc-default-find-file-not-found-hook): Remove functions.
21770 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21771 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21774 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21776 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21778 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21779 compatibility function for `looking-back'.
21781 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21782 Use `ispell-looking-back'.
21784 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21786 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21787 rather than `filename'.
21789 2009-06-23 Miles Bader <miles@gnu.org>
21791 * face-remap.el (text-scale-set): New function.
21793 2009-06-23 Glenn Morris <rgm@gnu.org>
21795 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21797 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21799 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21801 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21803 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21804 Simplify Persian conditionals.
21806 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21807 variable `filename'.
21809 * comint.el (comint-insert-input): Doc fix.
21811 * Makefile.in (ELCFILES): Fix typo in previous change.
21813 2009-06-23 Miles Bader <miles@gnu.org>
21815 * cus-start.el: Add entry for `recenter-redisplay'.
21817 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21819 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21820 Add an optional argument for the backend, use it instead of
21821 calling vc-backend.
21822 (vc-mode-line): Add an optional argument for the backend.
21823 Pass the backend to vc-state and vc-working-revision. Move code for
21824 special handling for vc-state being a buffer to ...
21826 * vc-rcs.el (vc-rcs-find-file-hook):
21827 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21829 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21830 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21831 vc-stay-local-p and vc-mode-line calls.
21833 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21834 (vc-cvs-diff, vc-cvs-annotate-command)
21835 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21836 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21837 vc-mode-line calls.
21839 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21841 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21842 backend when calling vc-mode-line.
21843 (vc-register): Do not create a closure for calling the vc register
21844 function, call it directly.
21846 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21848 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21849 to make it obvious item can be clicked.
21851 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21853 2009-06-23 Kenichi Handa <handa@m17n.org>
21855 * language/korea-util.el (korean-key-bindings): Change the binding
21856 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21859 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21861 Sync with Tramp 2.1.16.
21863 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21865 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21866 when a loading of a package fails. Completion function for rsync
21867 is `tramp-completion-function-alist-ssh'.
21868 (all): Replace all calls of `split-string' and
21869 `tramp-split-string' by `tramp-compat-split-string'.
21870 (tramp-default-method): Use `tramp-compat-process-running-p'.
21871 (tramp-default-proxies-alist): Allow also Lisp forms.
21872 (tramp-remote-path): Add choice "Private Directories".
21873 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21874 (tramp-domain-regexp): Allow also "-", "_" and ".".
21875 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21876 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21877 (tramp-debug-message): Insert header line in debug buffer.
21878 (tramp-handle-directory-files-and-attributes-with-stat):
21879 Care about filenames with spaces, or starting with "-".
21880 (tramp-handle-dired-uncache): New defun.
21881 (tramp-handle-insert-directory): Don't flush the directory from
21882 cache, this is handled by `dired-uncache' now.
21883 (tramp-handle-insert-file-contents): Improve error handling.
21884 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21885 Quote `tramp-end-of-output'.
21886 (tramp-action-password): Improve trace message.
21887 (tramp-check-for-regexp): Both echoes must be present, before removing.
21888 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21889 (tramp-compute-multi-hops): Eval cons cells of
21890 `tramp-default-proxies-alist'.
21891 (tramp-maybe-open-connection): Use the same command pattern for
21892 first hop and further hops.
21893 (tramp-wait-for-output): Remove handling of newlines.
21894 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21895 (tramp-split-string): Remove function. It is handled in
21898 * net/tramp-cmds.el (tramp-bug):
21899 Recommend `tramp-cleanup-all-connections' in the bug mail.
21901 * net/tramp-compat.el (tramp-compat-split-string)
21902 (tramp-compat-process-running-p): New defuns.
21904 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21905 for `dired-uncache'.
21907 * net/tramp-gvfs.el: New package.
21909 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21910 Add handler for `dired-uncache'.
21911 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21913 * net/trampver.el: Update release number. Make version check fit
21916 2009-06-22 Jim Meyering <meyering@redhat.com>
21918 Automatically handle .xz suffix (XZ-compressed files), too.
21919 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21920 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21922 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21923 Nick Roberts <nickrob@snap.net.nz>
21925 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21926 repository (http://sphinx.net.ru/hg/gdb-mi/).
21928 2009-06-22 Glenn Morris <rgm@gnu.org>
21930 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21931 `mode' and `eval' entries. (Bug#3430)
21933 * Makefile.in (ELCFILES): Add fadr.elc.
21935 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21936 differing behavior of \n and ^ in strings. (Bug#3385)
21938 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21940 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21942 (lisp-indent-function): Make it a defcustom.
21944 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21946 * progmodes/gdb-ui.el: Replace with ...
21947 * progmodes/gdb-mi.el: ... this file.
21948 * progmodes/gud.el: Modify for gdb-mi.el.
21950 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21952 * fadr.el: New file.
21954 See ChangeLog.14 for earlier changes.
21956 ;; Local Variables:
21960 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21962 This file is part of GNU Emacs.
21964 GNU Emacs is free software: you can redistribute it and/or modify
21965 it under the terms of the GNU General Public License as published by
21966 the Free Software Foundation, either version 3 of the License, or
21967 (at your option) any later version.
21969 GNU Emacs is distributed in the hope that it will be useful,
21970 but WITHOUT ANY WARRANTY; without even the implied warranty of
21971 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21972 GNU General Public License for more details.
21974 You should have received a copy of the GNU General Public License
21975 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.