1 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
3 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
4 `message' -> `compilation-message' rename (bug#8004).
6 Move keymap initialization into declaration.
7 * textmodes/enriched.el (enriched-mode-map):
8 * textmodes/bib-mode.el (bib-mode-map):
9 * term/lk201.el (lk201-function-map):
10 * tar-mode.el (tar-mode-map):
11 * replace.el (occur-mode-map):
12 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
13 * progmodes/idlw-help.el (idlwave-help-mode-map):
14 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
15 * play/solitaire.el (solitaire-mode-map):
16 * play/snake.el (snake-mode-map, snake-null-map):
17 * play/pong.el (pong-mode-map):
18 * play/handwrite.el (menu-bar-handwrite-map):
19 * play/gametree.el (gametree-mode-map):
20 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
21 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
22 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
23 (newsticker--url-keymap):
24 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
25 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
26 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
27 (menu-bar-edit-menu, menu-bar-custom-menu)
28 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
29 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
30 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
31 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
32 (menu-bar-tools-menu, menu-bar-describe-menu)
33 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
35 * mail/rmailsum.el (rmail-summary-mode-map):
36 * kmacro.el (kmacro-step-edit-map):
37 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
38 (ibuffer-mode-operate-map):
39 * hi-lock.el (hi-lock-menu, hi-lock-map):
40 * emulation/vip.el (vip-mode-map):
41 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
42 * bookmark.el (bookmark-bmenu-mode-map):
43 * help-mode.el (help-mode-map): Move initialization into declaration.
45 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
47 * net/rcirc.el: Add PRIVMSG and CTCP functions.
48 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
49 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
50 (rcirc-cmd-me, rcirc-authenticate): Use them.
52 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
54 * allout.el: Synopsis: Change allout user configuration so
55 auto-activation is controlled solely by customization
56 `allout-auto-activation'.
58 (allout-auto-activation-helper) (allout-setup): New autoloads
59 implement new custom set procedure for allout-auto-activation.
60 Also, explicitly invoke
61 (allout-setup) after allout-auto-activation is custom-defined, to
62 effect the settings in emacs sessions besides the few where
63 allout-auto-activation customization is donea.
64 (allout-auto-activation): Use allout-auto-activation-helper to
65 :set. Revise the docstring.
66 (allout-init): Reduce functionality to just customizing
67 allout-auto-activation, and mark obsolete.
68 (allout-mode): Respect string values for allout-auto-activation.
69 Run allout-after-copy-or-kill-hook without any args.
70 (allout-mode) (allout-layout) (allout-default-layout)
71 (outlineify-sticky): Adjust docstring for new scheme.
72 (allout-after-copy-or-kill-hook): No arguments - hook implementers
73 should concentrate on the kill ring.
75 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
77 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
78 of here-doc that immediately follows a comment.
80 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
82 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
84 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
86 (rcirc-ctcp-sender-PING): New function.
88 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
90 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
91 Remove the mark/nomark handling, and activate shift-select-mode instead.
93 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
95 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
97 * calc/calc-units.el (math-logunits-quant): Add support for
98 non-logarithmic units.
100 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
102 * allout.el (allout-after-copy-or-kill-hook): New hook for
103 extension-specific processing of killed text.
104 (allout-mode): Include new allout-after-copy-or-kill-hook among
106 (allout-kill-line) (allout-kill-topic): Ensure that processing
107 after kill happens even if barf-if-buffer-read-only is raised.
108 Include new allout-after-copy-or-kill-hook among that subsequent
110 (allout-deannotate-hidden): Actually remove the annotation text
113 * allout.el (allout-listify-exposed): Copy text sans text properties.
115 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
117 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
119 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
121 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
123 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
125 * calc/calc.el (calc-logunits-field-reference): Rename from
126 `calc-default-field-reference-level'.
127 (calc-logunits-power-reference): Rename from
128 `calc-default-power-reference-level'
130 * calc/calc-units.el (math-logunits-quant): Rename from
131 `math-logunits-level'
132 (math-logunits-plus): Rename from math-logcombine.
133 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
134 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
135 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
137 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
138 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
139 (calc-logunits-quantity): Rename from `calc-level'.
140 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
141 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
142 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
143 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
144 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
147 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
148 (calc-ul-prefix-help): Remove.
149 (calc-l-prefix-help): New function.
150 (calc-full-help): Add reference to `calc-l-prefix-help'.
152 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
154 * calc/README: Mention logarithmic units.
156 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
158 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
159 non-ASCII characters (Bug#7925).
161 2011-02-05 Glenn Morris <rgm@gnu.org>
163 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
165 * calendar/diary-lib.el (diary-font-lock-keywords):
166 Tweak diary-time-regexp match. (Bug#7891)
168 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
169 (f90-mode): Use it for mode's `find-tag-default-function' property.
171 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
173 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
175 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
177 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
180 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
182 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
183 font-lock-syntax-table remappings.
184 (sh-here-doc-markers, sh-here-doc-re): Remove.
185 (sh-font-lock-close-heredoc): Remove.
186 (sh-syntax-propertize-here-doc): New function.
187 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
188 instead of the sh-here-doc-re.
189 (sh-font-lock-paren): Don't do anything in comments or strings.
190 Handle line continuations. Accept a few more chars.
191 Don't rely on the font-lock-syntax-table remappings.
192 `esac' is not a valid pattern.
193 (sh-syntax-propertize-function): Handle here-docs differently, so we
194 don't bother syntax-propertizing the insides.
196 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
197 Handle new bashisms ";&" and ";;&" (bug#7947).
199 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
201 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
202 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
204 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
206 * net/tramp.el (tramp-postfix-method-format)
207 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
208 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
209 (tramp-postfix-user-regexp, tramp-prefix-port-format)
210 (tramp-prefix-port-regexp, tramp-postfix-host-format)
211 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
214 2011-02-04 Sam Steingold <sds@gnu.org>
216 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
218 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
220 * international/mule-util.el (with-coding-priority): Doc fix.
222 2011-02-04 Eli Zaretskii <eliz@gnu.org>
224 * arc-mode.el (archive-mode-map): Fix a typo in last change.
226 2011-02-03 Sam Steingold <sds@gnu.org>
228 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
229 Do not error out when `func' is nil.
231 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
233 * net/tramp-sh.el (tramp-remote-path): Add default settings for
234 `tramp-default-remote-path' to the docstring.
235 (tramp-get-remote-path): Suppress error message when `getconf
238 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
240 2011-02-03 Glenn Morris <rgm@gnu.org>
242 * vc/vc-hg.el (vc-hg-command): Doc fix.
244 * term/w32-win.el (libpng-version): Declare for compiler.
246 * msb.el: No need to load dired while compiling.
248 * emacs-lisp/elint.el (elint-standard-variables):
249 Remove a couple of built-ins that now have doc-strings.
251 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
252 `require' is automatically `eval-and-compile'd.
254 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
255 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
257 * strokes.el (strokes-fill-current-buffer-with-whitespace):
258 Move definition before use.
259 (strokes-report-bug): Make it obsolete.
261 2011-02-02 Sam Steingold <sds@gnu.org>
263 * apropos.el (apropos-print): Now that `apropos-mode' inherits
264 from `special-mode', entering it makes the buffer read-only, so
265 call it only when everything has been already inserted.
266 * emacs-lisp/ert.el (ert--setup-results-buffer)
267 (ert-results-pop-to-backtrace-for-test-at-point)
268 (ert-results-pop-to-messages-for-test-at-point)
269 (ert-results-pop-to-timings): Ditto.
270 * emacs-lisp/package.el (package--list-packages): Ditto.
271 * play/solitaire.el (solitaire): Ditto.
273 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
275 * progmodes/compile.el: Make all faces inherit.
276 (compilation-warning): Inherit from font-lock-variable-name-face.
277 (compilation-info): Inherit from font-lock-type-face.
278 (compilation-line-number): Reassign to font-lock-keyword-face.
279 (compilation-column-number): Reassign to font-lock-doc-face.
280 (compilation-leave-directory-face): Reassign to
281 font-lock-builtin-face.
283 2011-02-02 Eli Zaretskii <eliz@gnu.org>
285 * dired.el (dired-insert-directory): Don't invoke `ls' when
286 ls-lisp.el is used to emulate it.
288 2011-02-01 Julien Danjou <julien@danjou.info>
290 * color.el (color-gradient): Add a color-gradient function.
292 2011-02-01 Sam Steingold <sds@gnu.org>
294 * simple.el (special-mode-map): Bind "h" to `describe-mode';
295 bind "z" to `kill-this-buffer'.
296 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
297 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
298 (apropos-mode): Inherit from `special-mode'.
299 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
300 * bookmark.el (bookmark-bmenu-mode): Define using
301 `define-derived-mode' inheriting from `special-mode'.
302 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
303 * image-mode.el (image-mode-map): Ditto.
304 * replace.el (occur-mode): Define using
305 `define-derived-mode' inheriting from `special-mode'.
306 * tar-mode.el (tar-mode): Inherit from `special-mode'.
307 * calendar/diary-lib.el (diary-fancy-display-mode):
308 Inherit from `special-mode-map'.
309 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
310 Inherit from `special-mode'.
311 * emacs-lisp/package.el (package-menu-mode-map): Copy from
313 (package-menu-mode): Define using `define-derived-mode'
314 inheriting from `special-mode'.
315 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
316 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
317 (xesam-mode-map): Define separately.
318 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
319 * progmodes/compile.el (compilation-minor-mode-map)
320 (compilation-mode-map): Inherit from `special-mode-map'.
321 * vc/diff-mode.el (diff-mode-shared-map):
322 Inherit from `special-mode-map'.
323 * vc/log-view.el (log-view-mode-map): Add a comment.
325 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
327 * custom.el (load-theme): Define return value. Drop use of
328 unsafep; call custom-theme-load-confirm for non-known-safe themes.
329 (custom-theme-load-confirm): Scroll in the correct window.
330 (custom-enabled-themes): Add custom-safe-themes to :set-after.
332 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
333 checkbox if load-theme fails.
335 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
337 * progmodes/compile.el (compilation-next-error): Check there's
338 a message before using it (bug#7941).
340 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
342 * calc/calc-mtx.el (math-lud-pivot-check): New function.
343 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
346 2011-01-31 Alan Mackenzie <acm@muc.de>
348 * progmodes/cc-cmds.el (c-forward-over-illiterals):
349 Continue parsing if we encounter a naked # (Bug#7595).
350 (c-beginning-of-statement): Avoid loop in locating the beginning
353 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
355 * files.el (copy-directory): Fix arguments to recursive call.
357 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
359 * files.el (copy-directory): If destination is an existing
360 directory, copy into a subdirectory there.
362 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
364 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
367 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
369 * image-dired.el (image-dired-mouse-display-image): No-op if no
370 file is found (Bug#7817).
372 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
374 2011-01-31 Kenichi Handa <handa@m17n.org>
376 * international/quail.el (quail-keyboard-layout-alist):
377 Remove superfluous SPC for "pc105-uk" (bug#7927).
379 2011-01-31 Glenn Morris <rgm@gnu.org>
381 * msb.el (msb-menu-bar-update-buffers): Update for changed
382 argument handling of menu-bar-select-frame. (Bug#7902)
384 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
386 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
387 to the recursion depth (Bug#7722).
389 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
391 * term/ns-win.el (ns-find-file): Expand ns-input-file with
392 command-line-default-directory (Bug#7872).
394 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
396 * progmodes/compile.el (compilation--flush-directory-cache):
397 New function, extracted from compilation--remove-properties.
398 (compilation--remove-properties, compilation--parse-region): Use it.
399 (compilation--previous-directory): Handle one more case.
400 (compilation-enable-debug-messages): Remove.
401 (compilation-parse-errors, compilation--flush-parse): Just remove the
402 left over debug messages.
404 2011-01-31 Sam Steingold <sds@gnu.org>
406 * progmodes/compile.el (compilation-enable-debug-messages):
407 Add a variable to make the parsing messages introduced in
408 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
409 (compilation-parse-errors, compilation--flush-parse): Use it.
411 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
413 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
414 (rcirc-nick-completion-format): New defcustom.
415 (rcirc-complete): Use it.
417 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
419 * net/rcirc.el: Clean log filenames (Bug#7933).
420 (rcirc-log-write): Use convert-standard-filename.
421 (rcirc-log-filename-function): Documentation updates.
423 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
425 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
426 Check report-emacs-bug-can-use-osx-open and use that if t.
427 (report-emacs-bug-can-use-osx-open): New function.
428 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
429 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
431 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
433 * vc/vc-dispatcher.el (vc-set-async-update): New function for
434 updating Dired or VC-dir buffers after async command completes.
436 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
437 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
439 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
440 completions if it exists. Use vc-set-async-update.
441 (vc-git-pull): Use vc-set-async-update.
443 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
444 read-shell-command. Use vc-set-async-update.
445 (vc-hg-merge-branch): Use vc-set-async-update.
447 2011-01-29 Daiki Ueno <ueno@unixuser.org>
449 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
450 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
453 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
455 * progmodes/compile.el: Avoid an N² behavior in grep.
456 (compilation--previous-directory): New fun.
457 (compilation--previous-directory-cache): New var.
458 (compilation--remove-properties): Flush it.
459 (compilation-directory-properties, compilation-error-properties):
460 Use the new fun to speed up looking for the current directory.
462 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
464 * vc/vc-hg.el (vc-hg-history): New var.
465 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
466 (vc-hg-merge-branch): New function.
468 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
469 the other way around.
471 * vc/vc-git.el (vc-git-branches, vc-git-pull)
472 (vc-git-merge-branch): New functions.
473 (vc-git-history): New var.
475 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
477 * vc/vc-dispatcher.el (vc-do-async-command): New function.
479 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
482 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
485 2011-01-28 Leo <sdl.web@gmail.com>
487 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
488 highlighting to the "this function is advised" message.
490 * help-mode.el (help-mode-finish): Apply highlighting here, to
491 avoid clobbering by substitute-command-keys (Bug#6304).
493 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
495 * woman.el (woman0-roff-buffer): Process roff escape sequences
496 occurring prior to the first request (Bug#7843).
498 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
500 * progmodes/compile.el: Don't use font-lock any more.
501 (compilation-error-regexp-alist-alist): Change handling of makepp
502 so it preserves the warning/error distinction on subsequent files.
503 Simplify various rules.
504 (compilation-directory-properties): Use font-lock-face.
505 Add a compilation-message property.
506 (compilation-internal-error-properties): Use font-lock-face.
507 Don't set the compilation-debug property here.
508 (compilation--put-prop, compilation--remove-properties)
509 (compilation--parse-region, compilation--ensure-parse)
510 (compilation--ensure-parse): New functions.
511 (compilation-parse-errors): New function, largely inspired of
512 compilation-mode-font-lock-keywords. Set compilation-debug here.
513 (compilation--parsed): New var.
514 (compilation--flush-parse): Use compilation--ensure-parse.
515 (compilation-start): Don't call font-lock.
516 (compilation-turn-on-font-lock): Remove.
517 (compilation-setup): Don't set font-lock-extra-managed-props not change
518 other font-lock settings, other than keywords.
519 Don't activate font-lock-mode.
520 Set change-major-mode-hook and before-change-functions.
521 (compilation--unsetup): Remove properties and hooks.
522 (compilation-next-single-property-change): New function.
523 (compilation-next-error): Use it to parse when needed.
524 (compile-goto-error): Parse buffer as needed.
525 (compilation--compat-error-properties): Don't need a dummy `face'
528 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
530 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
531 (compilation-process-setup-function): Fix docstring's false promises.
532 (compilation-error-regexp-alist-alist): Catch omake's continuous
533 recompilation message and avoid reuse of old markers.
534 (compilation-parse-errors-function): Declare obsolete.
535 (compilation-buffer-modtime): Remove.
536 (compilation--make-cdrloc, compilation--loc->col)
537 (compilation--loc->line, compilation--loc->file-struct)
538 (compilation--loc->marker, compilation--loc->visited)
539 (compilation--make-file-struct, compilation--file-struct->file-spec)
540 (compilation--file-struct->formats)
541 (compilation--file-struct->loc-tree): New macros. Use them.
542 (compilation--message): New defstruct. Use them.
543 (compilation-next-error-function): Don't mess with timestamps to try
544 and guess when to reparse.
546 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
548 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
549 (tex-old-error-file-name): New function,
550 extracted from tex-compilation-parse-errors.
551 (tex-compilation-parse-errors): Remove.
552 (tex-error-regexp-alist): New var.
553 (tex-shell): Use it to avoid compilation-parse-errors-function.
555 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
556 (grep-mode-font-lock-keywords): Remove regexp that seems like
557 a left-over from before we used compile.el.
558 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
559 modifying the buffer within with-silent-modifications.
561 * progmodes/compile.el: Cleanup text-properties namespace by using
562 `compilation-message' instead of `message', `compilation-directory'
563 instead of `directory', and `compilation-debug' instead of `debug'.
564 (compilation-last-buffer, compilation-parsing-end)
565 (compilation-error-list, compilation-old-error-list): Move to the
566 compatibility part of the code.
567 (compilation-error-properties): If `file' is a function, let it return
569 (compilation-mode-font-lock-keywords): Be more conservative with the
570 omake "^ *" pattern prefix, to try and minimize the risk of
571 pathologically slow regexp matching.
572 (compilation-start): Use inhibit-read-only.
573 (compilation--unsetup): New function.
574 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
575 (compilation-filter): Minor tweaks.
576 (compilation-next-error-function): Try and avoid abusing variables.
577 (compilation--flush-file-structure): New fun.
578 (compilation-fake-loc): Use it to improve behavior when file is reused.
579 (debug-ignored-errors): Add "Moved past last ...".
580 (compilation--compat-error-properties)
581 (compilation--compat-parse-errors): Rename by doubling the "-".
583 Port features from the previous prolog.el to the new one.
584 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
585 (prolog-program-name, prolog-program-switches, prolog-consult-string)
586 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
587 variable and use a function to compute the value dynamically.
588 (prolog-prompt-regexp): Add regexp for GNU Prolog.
589 (prolog-continued-prompt-regexp): Remove, unused.
590 (prolog-find-value-by-system): Try and use the value of prolog-system
591 in the *prolog* buffer if it helps.
592 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
593 (prolog-zip-on): ..and check prolog-system and version here instead.
594 (prolog-inferior-self-insert-command): New command.
595 (prolog-inferior-mode-map): Use it.
596 (prolog-inferior-error-regexp-alist): New var.
597 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
598 (prolog-input-filter): Use derived-mode-p.
599 (prolog-inferior-guess-flavor): New function.
600 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
601 make-comint to avoid running comint-mode twice.
602 (prolog-inferior-buffer): New fun.
603 (prolog-old-process-region, prolog-old-process-file):
604 Don't call prolog-bsts here...
605 (prolog-build-prolog-command): ...do it here instead.
606 (prolog-old-process-region, prolog-old-process-file):
607 Use compilation-fake-loc and compilation-forget-errors.
608 (prolog-consult-compile-region): Use bolp.
610 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
612 * image-mode.el (image-display-size): Doc fix (Bug#7820).
614 2011-01-27 Sam Steingold <sds@gnu.org>
616 * midnight.el (clean-buffer-list-kill-never-buffer-names):
617 Remove "*server*" which is never created by emacs server.
619 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
621 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
622 there are some diff switches.
624 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
626 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
627 Copy change made to ruby-font-lock-syntactic-keywords.
629 * htmlfontify.el: Make it obey the font-lock-face text property.
630 Miscellaneous cleanup such as:
631 - Don't hide expressions after a closing paren.
632 - Move initial setq into let.
633 - Hoist common parts out of ifs.
634 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
635 (hfy-face-at): Use get-text-property instead.
636 (hfy-prop-invisible-p): Use invisible-p if available.
637 (htmlfontify-manual): Use \\[...].
638 (hfy-html-quote-regex): Use [...].
639 (hfy-combined-face-spec): Simplify.
640 (hfy-compile-face-map): Don't presume point-min==1.
641 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
643 (hfy-text-p): η-reduce.
644 (hfy-tags-for-file): Receive cache-hash directly.
645 (hfy-mark-tag-names): Adjust call.
647 2011-01-27 Glenn Morris <rgm@gnu.org>
649 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
650 (msb-after-load-hook): Remove eval-after-load wackiness.
652 2011-01-25 Sam Steingold <sds@gnu.org>
654 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
655 literal "diff" (important for windows-nt).
657 2011-01-25 Glenn Morris <rgm@gnu.org>
659 * emacs-lisp/copyright.el (copyright-at-end-flag)
660 (copyright-names-regexp): Add safety properties.
661 (copyright-year-ranges): New option.
662 (copyright-find-end): New function, split from copyright-update-year.
663 (copyright-update-year): Use copyright-find-end.
664 (copyright-fix-years): Optionally, convert years to ranges.
665 Handle years continued over comment lines.
666 Do not mess with the fill-prefix.
667 Do not call copyright-update.
668 (copyright-update-directory): Optionally, fix years rather than update.
669 Skip directories. Find files with only safe local vars.
671 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
673 * files.el (file-name-non-special): Only change buffer-file-name after
674 insert-file-contents if it's `visit'ing the file (bug#7854).
676 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
678 * dired.el (dired-revert): Doc fix (Bug#7758).
680 * simple.el (line-move-visual): Doc fix (Bug#7594).
682 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
684 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
685 here-doc which ends with an underscore.
686 (ruby-mode-set-encoding): Skip shebang line always.
687 (ruby-mode-map): Bind C-c C-c to comment-region.
688 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
689 (ruby-forward-sexp): Stop after literal hash key labels.
690 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
693 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
695 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
696 the correct buffer (Bug#7650).
698 2011-01-25 Glenn Morris <rgm@gnu.org>
700 * comint.el (comint-mode): Doc fix. (Bug#7897)
702 * simple.el (do-auto-fill): Give it a doc string.
704 * button.el (make-text-button): Doc fix. (See bug#7881)
706 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
708 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
709 Don't move backward, so as not to fall in an inf-loop (bug#7736).
711 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
712 Handle ?" and friends differently (e.g. don't use backrefs).
714 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
716 * calc/calc.el (calc-default-power-reference-level)
717 (calc-default-field-reference-level): New variables.
718 * calc/calc-units.el (math-standard-units): Add dB and Np.
719 (math-logunits): New variable.
720 (math-extract-logunits, math-logcombine, calcFunc-luplus)
721 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
722 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
724 (math-find-base-units-rec): Add entry for ln(10).
725 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
726 (calc-ul-prefix-help): New function.
727 * calc/calc-ext.el (calc-init-extensions): Autoload new units
728 functions. Add keybindings for new units functions.
730 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
732 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
733 rcirc buffers. (Bug#4940)
735 2011-01-22 Glenn Morris <rgm@gnu.org>
737 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
738 split out from copyright-update-year.
739 (copyright-update): Don't mess with the GPL version if we don't own the
740 copyright. Update license regexp, and remove no longer needed
742 (copyright-fix-years): Use copyright-find-copyright.
744 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
746 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
748 2011-01-22 Jari Aalto <jari.aalto@cante.net>
750 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
751 (lm): Rename to landmark.
752 (lm-test-run): Rename to landmark-test-run.
754 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
756 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
757 "Case sensitive" menu item.
759 2011-01-22 Roland McGrath <roland@frob.com>
761 * comint.el (comint-replace-by-expanded-history-before-point): Fix
762 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
764 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
766 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
768 2011-01-22 Jari Aalto <jari.aalto@cante.net>
770 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
771 Assume foo(bar) is a manpage reference rather than some unquoted
774 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
776 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
777 Suggested by Flo <sensorflo@gmail.com>.
779 2011-01-22 Glenn Morris <rgm@gnu.org>
781 * progmodes/compile.el (compilation-error-regexp-alist):
782 Fix custom type. (Bug#7812)
784 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
786 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
787 allout-number-siblings, in keeping with what obtained due to
788 (now-defunct) allout-keybindings-list. Ditch repeat binding to
790 (allout-before-change-handler): Better expose spots affected by
793 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
795 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
797 2011-01-22 Phil Hagelberg <phil@evri.com>
799 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
800 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
801 (pcmpl-ssh-config-hosts): New function.
802 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
803 pcmpl-ssh-known-hosts.
805 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
807 * calc/calc-undo.el (calc-undo): Autoload it.
808 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
809 and autoload for `calc-undo'.
810 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
812 * calc/calc-graph.el:
813 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
815 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
817 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
818 keybindings to `calc-undo'.
820 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
822 Don't mess with *temp*.
823 * obsolete/spell.el: Move from textmodes/spell.el.
825 * term.el (term-read-input-ring):
826 * startup.el (display-startup-echo-area-message):
827 * progmodes/antlr-mode.el (antlr-directory-dependencies):
828 * comint.el (comint-read-input-ring): Use with-temp-buffer.
829 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
832 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
834 * allout.el: (allout-institute-keymap): Use fset instead of
837 (allout-hotspot-key-handler): Check for non-control-modified
838 bindings for hotspot characters if there are no control-modified
841 * allout.el: Summary - migrate to defining allout mode using
842 define-minor-mode instead of defun. Significantly clean-up
843 internal keymap provisions, refactoring and, in the process,
844 removing a lot of accumulated cruft.
846 allout-mode-map is now a keymap by virtue of being a defalias to
847 allout-mode-map-value, which contains the actual keymap structure.
849 (allout-mode): Use define-minor-mode rather than defun.
850 Remove now-unnecessary minor-mode setup activities from the body.
851 Specify :keymap as allout-mode-map so the minor-mode-map-alist
852 entry will be '(allout-mode . allout-mode-map) - see
853 allout-mode-map-value, below. Adjust docstring to track changes.
854 (allout-minor-mode): Remove this defalias, now that we're using
856 (allout-mode-map): Set value to be 'allout-mode-map. The actual
857 keymap is allout-mode-map-value, via defalias.
858 (allout-mode-map-value): The variable holding the actual mode
859 keymap structure, by virtue of defalias from allout-mode-map.
860 (allout-compose-and-institute-keymap): Rename from
861 allout-bind-keys, and including the binding-composition
862 functionality of the former produce-allout-mode-map and
863 allout-setup-mode-map.
864 (allout-institute-keymap): Take over the "setup" part of the former
865 allout-setup-mode-map. Reassign allout-mode-map-value value and
867 (allout-command-prefix) (allout-prefixed-keybindings)
868 (allout-unprefixed-keybindings):
869 Use allout-compose-and-institute-keymap to process the bindings.
870 (allout-unprefixed-keybindings): Remove extraneous '?' question
872 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
873 user can customize if they want to use that binding.
874 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
875 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
876 elided that, previously, instead of the one for \C-h.)
877 (allout-hotspot-key-handler): Remove attempt to resolve the key
878 through the literal key-string lookup on allout-keybindings-list.
879 That probably hasn't worked for a Long Time, and removal of
880 allout-keybindings-list further simplifies the keybindings
882 (allout-pre-command-business): Use allout-mode-map-value instead
884 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
885 the bindings if they want to use a keybinding having a trailing
886 \C-h. No deprecation needed since this feature was never in a
888 (allout-keybindings-list): Remove. It's not been useful for a
889 while. (See allout-hotspot-key-handler changes, above.)
890 (produce-allout-mode-map): Remove. Consolidate into
891 allout-compose-and-institute-keymap.
892 (allout-mode-map-adjustments): Remove. No longer necessary with
893 removal of allout-preempt-trailing-ctrl-h.
894 (allout-setup-mode-map): Remove. Consolidate into
895 allout-compose-and-institute-keymap and allout-institute-keymap.
897 2011-01-20 Glenn Morris <rgm@gnu.org>
899 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
901 * simple.el (read-expression-history): Remove, it's in minibuf.c.
903 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
905 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
907 * files.el (find-alternate-file, basic-save-buffer)
908 (basic-save-buffer-2, revert-buffer, recover-file)
909 (kill-buffer-ask, abort-if-file-too-large)
910 (set-visited-file-name, write-file, backup-buffer)
911 (basic-save-buffer, save-some-buffers):
912 * dired-aux.el (dired-compress-file): Callers changed.
914 2011-01-19 Glenn Morris <rgm@gnu.org>
916 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
917 Also check the property status. (Bug#7861)
919 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
921 * net/tramp.el (tramp-debug-message): Extend function exclude
922 list. Use `regexp-opt'.
924 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
926 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
927 highlighting doesn't spill over subsequent lines.
929 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
930 keymap expression. Improve docstring.
932 * electric.el (electric-indent-post-self-insert-function):
933 Don't auto-indent for indent-to-left-margin, it's too often
936 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
938 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
939 spaces if the frame was resized, so that the full visible buffer
940 serves as canvas for strokes.
942 2011-01-16 Glenn Morris <rgm@gnu.org>
944 * info-xref.el (info-xref-docstrings): Replace cl function.
945 Also skip directories.
947 2011-01-16 Kevin Ryde <user42@zip.com.au>
949 * info-xref.el: Version 3.
950 (info-xref-check, info-xref-check-all): Move commentary details
951 into docstrings for better visibility.
952 Use compilation-mode for the results buffer.
953 (info-xref-output, info-xref-output-error, info-xref-with-output)
954 (info-xref-filename, info-xref-in-progress):
955 New internals for this.
956 (info-xref-check-list, info-xref-check-buffer)
957 (info-xref-check-all-custom): Use those.
958 (info-xref-output-buffer): Rename from info-xref-results-buffer.
959 (info-xref-output-heading): Rename from info-xref-filename-heading.
960 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
961 (info-xref-filename-heading): Move to output managing section.
962 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
963 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
964 (info-xref-subfile-p): Move to generic section with those two.
965 (info-xref-check-node): New function split from
966 info-xref-check-buffer, shared by info-xref-docstrings.
967 (info-xref-goto-node-p): Move to a checking section with that func.
968 (info-xref-unavail): New counter.
969 (info-xref-check-node): Use it.
970 (info-xref-with-output): Show count of unavailables at end of output.
971 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
972 symlinks. Exclude .texi files. Exclude Emacs backup files.
973 (info-xref-check-all-custom): Fix quietening viper-mode and
974 gnus-registry-install -- use setq not let so as not to unbind
977 2011-01-16 Juri Linkov <juri@jurta.org>
979 * isearch.el (isearch-abort): Don't quit if search has
980 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
982 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
984 * files.el (backup-buffer): Make last-resort backup file in
987 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
988 make it with permission 700.
990 2011-01-15 Kenichi Handa <handa@m17n.org>
992 * mail/rmailmm.el (rmail-mime-insert-header):
993 Set rmail-mime-coding-system to a cons whose car is the last coding
994 system used to decode the header.
995 (rmail-mime-find-header-encoding): New function.
996 (rmail-mime-insert-decoded-text):
997 Override rmail-mime-coding-system if it is a cons.
998 (rmail-show-mime): If only a header part was decoded, find the
999 coding system while ignoring mm-charset-override-alist.
1001 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1003 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1005 2011-01-15 Kenichi Handa <handa@m17n.org>
1007 * mail/rmailmm.el (rmail-mime-next-item)
1008 (rmail-mime-previous-item): Delete them.
1009 (rmail-mime-shown-mode): Recursively call for children.
1010 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1012 (rmail-mime-raw-mode): Recursively call for children.
1013 (rmail-mode-map): Change mapping of tab and backtab to
1014 forward-button and backward-button respectively.
1015 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1017 (rmail-mime-update-tagline): New function.
1018 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1019 body display is changed.
1020 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1021 (rmail-mime-image): Delete this button type.
1022 (rmail-mime-toggle): New button type.
1023 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1024 body display is changed. Change the save button label to "Save".
1025 Don't process show/hide button here.
1026 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1027 the body display is changed. Unconditionally call
1028 rmail-mime-insert for children.
1029 (rmail-mime-handle): Update `display' vector of the just inserted
1031 (rmail-mime-process): If mail-header-parse-content-type returns
1032 nil, use "text/plain" as the fallback type.
1033 (rmail-mime-insert): For raw-mode, recursively call
1034 rmail-mim-insert for children.
1035 (rmail-mime): Handle the case that the current buffer is not rmail
1036 buffer (e.g. in summary buffer).
1038 2011-01-15 Kenichi Handa <handa@m17n.org>
1040 * mail/rmailmm.el (rmail-mime-next-item)
1041 (rmail-mime-previous-item): Skip the body of a non-multipart
1042 entity if a tagline is shown.
1044 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1047 (tmm-prompt): Simplify.
1048 (tmm-add-prompt): Remove unused var `win'.
1050 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1051 to minor mode which used nil accidentally to mean "turn off".
1053 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1055 * net/tramp-sh.el (tramp-find-inline-compress)
1056 (tramp-get-inline-coding): Quote command after pipe symbol for
1057 local calls under W32. (Bug#6784)
1059 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1061 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1062 only when running under W32.
1064 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1066 * progmodes/grep.el (grep-compute-defaults): Quote the program
1067 file name after the pipe symbol in Grep templates. (Bug#6784)
1068 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1070 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1072 * buff-menu.el (Buffer-menu-buffer-list): New var.
1073 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1074 restricted buffer list is not lost on revert (Bug#7749).
1076 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1078 * net/ldap.el (ldap-search-internal): Discard stderr output.
1080 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1082 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1084 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1086 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1088 2011-01-15 Kenichi Handa <handa@m17n.org>
1090 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1091 part as a plain text.
1092 (rmail-mime-process-multipart): Set the default content-type to
1093 nil for unknown multipart subtypes (bug#7651).
1095 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1097 * hexl.el (hexl-mode-old-*): Remove.
1098 (hexl-mode--old-var-vals): New var to replace them.
1099 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1100 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1101 Use them to set local vars (bug#7846).
1102 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1103 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1104 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1106 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1107 (smerge-resolve--normalize-re): New var.
1108 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1109 (smerge-resolve): Use them.
1110 * newcomment.el (comment-only-p): New function.
1111 (comment-or-uncomment-region): Use it.
1113 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1115 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1116 table, get the value before switching to the output buffer. (Bug#7733)
1118 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1120 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1122 2011-01-14 Kim F. Storm <storm@cua.dk>
1124 * emulation/cua-base.el (cua--init-keymaps):
1125 Remap exchange-point-and-mark in cua-global-keymap.
1127 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1129 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1132 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1134 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1136 (easy-menu-create-menu, easy-menu-convert-item-1):
1137 Use :label rather than nil for labels. Use `case'.
1138 Add :enable as alias for :active.
1139 (easy-menu-binding): Obey :label.
1141 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1143 Use run-mode-hooks for major mode hooks (bug#513).
1144 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1145 Rename from reftex-toc-map.
1146 (reftex-toc-mode): Use define-derived-mode.
1147 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1148 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1149 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1150 (reftex-select-label-mode, reftex-select-bib-mode):
1151 Use define-derived-mode.
1152 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1153 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1154 Move init into delcaration.
1155 (reftex-index-mode, reftex-index-phrases-mode):
1156 Use define-derived-mode.
1157 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1158 speedbar-syntax-table. Move init into declaration.
1159 (speedbar-mode-map): Rename from speedbar-key-map.
1160 Move init into declaration.
1161 (speedbar-file-key-map): Move init into declaration.
1162 (speedbar-mode): Use define-derived-mode.
1163 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1164 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1165 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1166 (chart-face-list): Move initialization into declaration.
1167 (chart-mode): Use define-derived-mode.
1168 * calculator.el (calculator-mode-map): Move init into declaration.
1169 (calculator-mode): Use define-derived-mode.
1171 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1172 work for nested comments.
1174 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1175 (prolog-use-prolog-tokenizer-flag): Change default when
1176 syntax-propertize can be used.
1177 (prolog-syntax-propertize-function): New var.
1178 (prolog-mode-variables): Move make-local-variable into `set'.
1179 Don't make comment-column local since we don't set it.
1180 Set comment-add (as it was in previous prolog.el). Use dolist.
1181 Set syntax-propertize-function.
1182 (prolog-mode, prolog-inferior-mode):
1183 Call prolog(-inferior)-menu directly, not through the mode-hook.
1184 (prolog-buffer-module, prolog-indent-level)
1185 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1186 (prolog-comment-limits, prolog-goto-comment-column):
1187 Use line-(end|beginning)-position.
1188 (prolog-build-prolog-command): Tighten up regexp.
1189 (prolog-consult-compile): Move make-local-variable into `set'.
1190 (prolog-consult-compile-filter, prolog-goto-next-paren)
1191 (prolog-help-on-predicate, prolog-clause-info)
1192 (prolog-mark-predicate): Don't let+setq.
1193 (prolog-indent-line): Use indent-line-to.
1194 Only call prolog-goto-comment-column if necessary.
1195 (prolog-indent-level): Use bobp.
1196 (prolog-first-pos-on-line): Remove, not used any more.
1197 (prolog-in-string-or-comment): Use syntax-ppss if available.
1198 (prolog-help-on-predicate): Use read-string.
1199 (prolog-goto-predicate-info): Simplify.
1200 (prolog-read-predicate): Use `default' rather than `initial'.
1201 (prolog-temporary-file): Use make-temp-file to close a security hole.
1202 (prolog-toggle-sicstus-sd): New command.
1203 (prolog-electric-underscore, prolog-variables-to-anonymous):
1204 Use dynamic-scoping as it was meant.
1205 (prolog-menu): Move menu definitions to top-level.
1206 Use a toggle-button for Sicstus's source debugger.
1207 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1209 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1210 Move other menu definition to top-level.
1212 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1214 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1215 name. Keep original document's directory as default-directory
1217 (doc-view-initiate-display): Fall back to normal mode when
1218 doc-view-mode cannot be enabled, also when extracting the document
1219 text into a separate buffer (bug#6446).
1221 * simple.el (shell-command): Don't error out if shell command
1222 buffer contains text with non-nil read-only property when erasing
1225 2011-01-13 Kim F. Storm <storm@cua.dk>
1227 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1228 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1229 items when cycling through the matches.
1231 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1233 * dired-x.el (dired-omit-verbose): New defcustom that allows
1234 disabling the omit messages.
1235 (dired-omit-expunge): Use it.
1237 2011-01-13 Christian Ohler <ohler@gnu.org>
1239 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1241 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1243 * font-lock.el (font-lock-verbose): Default to nil.
1245 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1247 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1248 (compose-mail): New arg RETURN-ACTION.
1249 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1251 * mail/sendmail.el (mail-return-action): New var.
1252 (mail-mode): Make it buffer-local.
1253 (mail-bury): Obey it. Move special Rmail window handling to
1255 (mail, mail-setup): New arg RETURN-ACTION.
1256 (sendmail-user-agent-compose): Move from simple.el.
1258 * mail/rmail.el (rmail-mail-return): New function.
1259 (rmail-start-mail): Pass it to compose-mail.
1261 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1263 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1264 menus. Add menu item for customize-themes.
1266 * cus-theme.el (customize-themes):
1267 * emacs-lisp/package.el (package--list-packages):
1268 Use switch-to-buffer.
1270 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1272 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1274 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1276 * progmodes/prolog.el: Fix up coding convention and such.
1277 (prolog-indent-width): Use the same default as in
1278 previous prolog.el rather than tab-width which depends on which buffer
1279 is current when the file is loaded.
1280 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1282 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1283 (prolog-known-systems): Remove.
1284 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1285 Move initialization into declaration.
1286 (prolog-mode-map): Move initialization into declaration.
1287 Remove system-specific mode-map vars, since they referred to the same
1289 (prolog-mode-variables): Obey the user's preference w.r.t
1290 adaptive-fill-mode. Prefer symbol-value to `eval'.
1291 (prolog-mode-keybindings-edit): Add compatibility bindings.
1292 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1293 (mercury-mode-map): New var.
1294 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1295 (prolog-ensure-process, prolog-process-insert-string)
1296 (prolog-consult-compile): Use with-current-buffer.
1297 (prolog-guess-fill-prefix): Simplify data flow.
1298 (prolog-replace-in-string): New function to use instead of
1300 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1301 (prolog-uncomment-region): Use `uncomment-region' when available.
1302 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1303 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1304 of int-to-char and char-to-int.
1305 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1307 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1309 * progmodes/prolog.el: Replace by a whole new file.
1311 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1313 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1314 (declare-function, undefined, insert-for-yank)
1315 (replace-regexp-in-string): Follow checkdoc's recommendations.
1317 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1319 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1320 refreshing the diary buffer.
1322 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1324 * allout.el: Add 2011 to the file copyright.
1325 (allout-encrypt-string): Prevent encryption from adding an extra
1326 newline at the end of the topic body.
1327 (allout-version): Increment to 2.3.
1329 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1331 * net/dbus.el (dbus-unregister-service): Complete doc.
1332 Fix call of dbus-error signal.
1333 (dbus-register-property): Use `dont-register' keyword.
1335 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1337 * net/dbus.el (dbus-unregister-service): Translate returned
1338 integer into a symbol.
1339 (dbus-register-property): Use `dbus-register-service' to do the
1342 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1344 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1345 Suggested by Joakim Verona.
1347 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1349 * wid-edit.el (visibility): Replace :on-image and :off-image
1350 widget properties with :on-glyph and :off-glyph, for consistency
1351 with the `visibility' widget.
1352 (widget-toggle-value-create, widget-visibility-value-create):
1353 Merge into a single function `widget-toggle-value-create'.
1355 * cus-edit.el (custom-variable-value-create, custom-visibility)
1356 (custom-face-edit-value-create, custom-face-value-create):
1357 Replace :on-image and :off-image widget properties with :on-glyph and
1358 :off-glyph, for consistency with the `visibility' widget.
1360 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1362 * net/ldap.el (ldap-search-internal): Don't use eval.
1364 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1366 * subr.el (read-char-choice): Use read-key.
1368 * custom.el (custom-safe-themes): Rename from
1369 custom-safe-theme-files. Add :risky tag.
1370 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1371 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1373 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1375 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1376 from Search and add a label to Undo.
1378 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1379 inappropriate buttons and adding :vert-only tags.
1381 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1382 removal of Help tool-bar button. Remove Undo button for space.
1384 * info.el (info-tool-bar-map): Add :vert-only tags.
1386 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1388 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1389 image backend support. Either of them is fine.
1391 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1393 * subr.el (y-or-n-p): Doc fix.
1395 * custom.el (custom-safe-theme-files): New defcustom.
1396 (custom-theme-load-confirm): New function.
1397 (load-theme): Load theme using `load', confirming with
1398 custom-theme-load-confirm if necessary.
1400 * subr.el (read-char-choice): New function, factored out from
1401 dired-query and hack-local-variables-confirm.
1403 * dired-aux.el (dired-query):
1404 * files.el (hack-local-variables-confirm): Use it.
1406 * dired-aux.el (dired-compress-file):
1407 * files.el (abort-if-file-too-large, find-alternate-file)
1408 (set-visited-file-name, write-file, backup-buffer)
1409 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1410 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1411 Use new format string args for y-or-n-p and yes-or-no-p.
1413 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1415 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1416 [gcc-include]: Tighten file name match, add match for column
1418 [gnu]: Remove unused group.
1420 2011-01-08 Glenn Morris <rgm@gnu.org>
1422 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1424 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1426 2011-01-07 Sam Steingold <sds@gnu.org>
1428 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1429 the `explicit-shell-file-name' because that is the
1430 non-interactive shell.
1432 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1434 * subr.el (y-or-n-p): Accept format string args.
1436 2011-01-07 Glenn Morris <rgm@gnu.org>
1438 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1440 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1442 * allout.el (allout-back-to-current-heading): Ensure return to
1443 the visible containing topic, rather than a collapsed one.
1444 (allout-view-change-hook): Remove hook that was deprecated long ago.
1445 (allout-exposure-change-hook): Remove documentation remarks
1446 concerning removed allout-view-change-hook.
1447 (allout-flag-region): Remove invocation of and documentation
1448 remarks concerning allout-view-change-hook.
1450 2011-01-06 Glenn Morris <rgm@gnu.org>
1452 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1453 (vc-bzr-annotate-extract-revision-at-line):
1454 Handle authors with embedded spaces. (Bug#7792)
1456 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1458 * doc-view.el (doc-view-image-width): New variable.
1459 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1460 backend for PNG images, and do dynamic rescaling instead of
1461 reconverting the whole doc.
1463 2011-01-05 Glenn Morris <rgm@gnu.org>
1465 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1467 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1469 * allout.el: Reconcile with changes in line movement behavior for
1470 long text lines that cross more than a single physical window
1471 line, ie when truncate-lines is nil.
1472 (allout-next-visible-heading): Provide for change in line-move
1473 behavior on long lines when truncate-lines is nil. In that case,
1474 line-move can wind up on the same textual line when it moves to
1475 the next window line, and moving to the bullet position after the
1476 move yields zero advancement. Add logic to detect and compensate
1477 for the lack of progress.
1478 (allout-current-topic-collapsed-p): move-end-of-line respect for
1479 field boundaries is different when operating with body lines
1480 shorter than window width versus ones greater than window width,
1481 which can yield false negatives in this function. Avoid
1482 difference by applying move-end-of-line while field-text-motion is
1485 2011-01-04 Glenn Morris <rgm@gnu.org>
1487 * textmodes/rst.el (rst-compile-toolsets):
1488 Add pdf and s5 to option alist.
1490 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1492 * net/dbus.el (dbus-register-property): Add optional parameter
1493 dont-register-service. Updated docstring accordingly.
1495 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1497 * textmodes/rst.el (rst-compile-pdf-preview)
1498 (rst-compile-slides-preview): Remove extra line.
1500 2011-01-04 Glenn Morris <rgm@gnu.org>
1502 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1503 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1504 default to `prog' without a .py extension.
1505 (rst-compile-pdf-preview, rst-compile-slides-preview):
1506 Use program names from rst-compile-toolsets, rather than hard-coding.
1507 (rst-portable-mark-active-p): Fix presumed typo.
1509 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1511 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1512 libpng versions both before and after 1.4.0. (Bug#7716)
1514 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1516 * time.el (display-time-mode): Mention display-time-interval in
1517 the doc string. (Bug#7713)
1519 2011-01-02 Kenichi Handa <handa@m17n.org>
1521 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1522 condition-case and return an error message string if something
1524 (rmail-show-mime): Adjust for the above change. Insert the
1525 header by rmail-mime-insert-header.
1527 2011-01-02 Kenichi Handa <handa@m17n.org>
1529 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1530 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1531 (rmail-mime-mbox-buffer)
1532 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1533 (rmail-mime-entity): Argument changed. All codes handling an
1534 entity object are changed.
1535 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1537 (rmail-mime-entity-children, rmail-mime-entity-handler)
1538 (rmail-mime-entity-tagline): New functions.
1539 (rmail-mime-message-p): New function.
1540 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1541 (rmail-mime-entity-segment, rmail-mime-next-item)
1542 (rmail-mime-previous-item, rmail-mime-shown-mode)
1543 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1544 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1545 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1547 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1548 (rmail-mime-insert-decoded-text): New function.
1549 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1550 (rmail-mime-insert-image): Argument changed. Caller changed.
1551 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1552 (rmail-mime-set-bulk-data): New funciton.
1553 (rmail-mime-insert-bulk): Argument changed.
1554 (rmail-mime-multipart-handler): Return t.
1555 (rmail-mime-process-multipart): Argument changed.
1556 Handle "multipart/alternative" here.
1557 (rmail-mime-process): Argument changed.
1558 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1559 (rmail-mime-insert): Argument changed. Handle raw display mode.
1560 (rmail-mime): Argument changed. Handle toggling of raw display
1562 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1563 rmail-mime-view-buffer.
1564 (rmail-insert-mime-forwarded-message): Likewise.
1565 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1567 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1568 non-nil, handle the header in rmail-show-mime-function.
1570 2011-01-02 Leo <sdl.web@gmail.com>
1572 * help-fns.el (describe-variable): Fix previous change.
1574 2011-01-02 Juri Linkov <juri@jurta.org>
1576 * isearch.el (isearch-lazy-highlight-error): New variable.
1577 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1578 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1579 to the current value of `isearch-error' (Bug#7468).
1581 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1583 * help-fns.el (describe-variable): Don't emit trailing whitespace
1586 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1588 * textmodes/rst.el (rst-compile-pdf-preview)
1589 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1591 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1593 * emulation/edt-mapper.el: Override mapping of function keys so
1594 that the later call to read-key-sequence works.
1596 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1598 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1599 Unix EOLs. (Bug#7589)
1601 2011-01-02 Leo <sdl.web@gmail.com>
1603 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1604 if point is not behind eshell-last-output-end (Bug#7585).
1606 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1608 * files.el (file-local-variables-alist):
1609 Make permanent-local (bug#7767).
1611 2011-01-02 Glenn Morris <rgm@gnu.org>
1613 * version.el (emacs-copyright): Set short copyright year to 2011.
1615 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1617 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1618 an existing temp buffer. (Bug#7746)
1620 2011-01-02 Glenn Morris <rgm@gnu.org>
1622 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1623 multiple addresses. (Bug#7760)
1625 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1627 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1628 do-auto-fill if everything points back to allout-auto-fill.
1629 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1630 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1632 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1634 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1637 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1639 * doc-view.el (doc-view-set-doc-type): New function refactored
1641 (doc-view-fallback-mode): New function.
1642 (doc-view-mode): Use it.
1643 (doc-view-mode-maybe): New function that checks if doc-view-mode
1644 can be used and falls back to the next best mode otherwise.
1646 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1647 DVI, OpenDocument, and MS Office files.
1649 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1651 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1653 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1655 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1656 on a copy of auto-mode-alist, because that deletes with side
1659 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1661 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1662 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1663 fallback instead of hard coding fundamental mode.
1665 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1667 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1668 Office) files also for searching.
1670 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1672 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1673 Office) files. Not yet enabled via auto-mode-list.
1674 (doc-view-unoconv-program): New custom variable.
1675 (doc-view-mode-p): Handle new odf document type.
1676 (doc-view-odf->pdf): New conversion function.
1677 (doc-view-convert-current-doc): Call it for odf files.
1678 (doc-view-mode): Recognize newly supported file extensions.
1680 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1682 * net/tramp.el (tramp-default-method-alist)
1683 (tramp-default-user-alist)
1684 (tramp-local-host-regexp, tramp-prefix-domain-format)
1685 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1688 * net/tramp-gvfs.el:
1690 * net/tramp-imap.el:
1692 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1693 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1695 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1697 * saveplace.el (save-place-alist-to-file): Save list sorted and
1698 pretty-printed, so that it is mergeable by line-based text merging,
1699 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1701 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1703 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1704 (allout-mode): Argument "toggle" => "force".
1705 Refine the docstring.
1706 Remove special provisions for reactivation, besides the 'force'
1708 Consolidate layout provisions coce directly into the activation
1709 condition branch, now that we've removed those provisions.
1710 (allout-unload-function): Explicitly activate the mode before
1711 deactivating, if it's initially deactivated.
1712 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1713 warnings for version of function used only where
1714 set-buffer-multibyte is unavailable.
1716 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1718 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1719 are handled by the menu-bar entries. As before, don't use
1720 :visibile to avoid changing the tool-bar.
1722 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1724 * net/secrets.el (secrets-delete-alias): New defun.
1726 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1728 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1729 methods, otherwise ~/.ssh/config would be ignored.
1731 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1733 * emacs-lisp/rx.el: Make it a superset of sregex.
1734 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1735 of args, add `regex' alias.
1736 (rx-info): Add arg to distinguish head and standalone forms.
1737 (rx-check, rx-form): Pass the corresponding arg.
1739 (rx-repeat): Make it work for any number of args.
1740 (rx-syntax): Make it accept syntax chars as is.
1741 * obsolete/sregex.el: Move from emacs-lisp/.
1742 * emacs-lisp/re-builder.el: Remove sregex support.
1743 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1745 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1747 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1748 PRIMARY first, then the clipboard. (Bug#7699)
1750 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1752 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1755 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1757 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1758 .emacs.elc (Bug#7530).
1760 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1761 image spec (Bug#7480).
1763 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1765 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1766 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1769 2010-12-20 Leo <sdl.web@gmail.com>
1771 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1772 always be performed (Bug#7680).
1774 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1776 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1777 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1780 * color.el: Move from gnus/.
1782 * vc/diff.el (diff-better-file-name): Function deleted.
1783 abbreviating file names causes problems with shell-quote-argument.
1784 (diff-no-select): Just use expand-file-name.
1786 * tool-bar.el (tool-bar--image-expression): New function.
1787 (tool-bar-local-item, tool-bar--image-exp): Use it.
1788 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1789 Use :enable instead of :visible to avoid changing the tool-bar
1790 configuration unnecessarily.
1792 * info.el (info-tool-bar-map): Add separators.
1794 2010-12-17 Ken Brown <kbrown@cornell.edu>
1796 * loadup.el: Use version numbers in Cygwin build.
1798 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1800 * ido.el (ido-file-internal): Ask for confirmation before
1801 overwriting an existing file (Bug#1238).
1803 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1805 * tool-bar.el (tool-bar-setup): Add separators.
1807 * menu-bar.el (featurep): Use menu-bar-separator.
1809 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1811 Migrate allout encryption provisions from pgg to epg.
1813 * allout.el (allout-toggle-current-subtree-encryption)
1814 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1815 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1816 for simpler universal argument interpretation.
1817 (allout-toggle-subtree-encryption): Adjust docstring to describe
1818 changed encryption provisions. Change fetch-pass to keymode-cue, for
1819 simpler universal argument interpretation. Remove provisions for
1820 handling key type and identity - they'll all be within
1821 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1822 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1823 for keypair recipients (universal argument > 1) and, in addition,
1824 associating the specified recipients with the outline (universal
1825 argument > 4) using a file local variable setting for
1826 'epa-file-encrypt-to'.
1827 Require epa, for recipients handling.
1828 Change how regexp filtering elements are named.
1829 Describe the problem with caching of incorrect symmetric-decryption
1831 Use the epa-passphrase-callback-function, in case the user is using
1833 Support saving of the selected keypair recipients when invoked with a
1835 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1837 Establish epg-context with armoring and default epg-protocol.
1838 Remove all passphrase cache, verification, and hinting code.
1839 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1840 No longer used, delete.
1841 (allout-mode): Adjust docstring to describe changed encryption
1842 provisions. Describe the problem with caching of incorrect
1843 symmetric-decryption keys.
1844 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1845 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1846 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1847 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1850 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1852 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1853 key selection prompt; make 'silent as default (Bug#7487).
1855 2010-12-16 Leo <sdl.web@gmail.com>
1857 * eshell/eshell.el (eshell-directory-name):
1858 Use locate-user-emacs-file (Bug#7578).
1860 2010-12-15 Glenn Morris <rgm@gnu.org>
1862 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1864 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1865 Scott Evans <gse@antisleep.com>
1867 * rect.el (rectange--default-line-number-format)
1868 (rectangle-number-line-callback): New functions.
1869 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1871 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1873 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1874 Delete unused variables.
1875 (move-to-column-force): Remove function obsolete since 21.2.
1877 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1879 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1880 (tramp-handle-insert-file-contents): Do not set permanent-local
1883 * net/tramp-cache.el (tramp-persistency-file-name):
1884 Use `locate-user-emacs-file' if fboundp.
1886 * net/tramp-sh.el (tramp-methods): Add "ksu".
1887 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1890 2010-12-14 Glenn Morris <rgm@gnu.org>
1892 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1893 (find-tag-marker-ring): Declare.
1894 (js-find-symbol): Require etags.
1896 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1898 (mail-alias-file): Don't autoload. Doc fix.
1899 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1900 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1901 Mark as obsolete, and risky.
1902 (mail-setup): Simplify.
1904 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1905 * mail/sendmail.el (build-mail-aliases): Update autoload.
1907 * dired.el (dired-trivial-filenames, dired-chown-program)
1908 (dired-auto-revert-buffer): Remove autoload cookies.
1909 * mail/sendmail.el (mail-recover-1): Require 'dired.
1911 * dired.el (dired-subdir-switches, dired-chown-program)
1912 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1913 Make into defcustoms.
1914 (dired-chown-program): Simplify initialization.
1916 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1918 2010-12-13 Romain Francoise <romain@orebokech.com>
1920 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1922 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1924 * net/netrc.el (netrc-point-at-eol): Remove the unused
1925 netrc-point-at-old and netrc-bound-and-true-p bindings.
1926 (netrc-parse): Cache the netrc contents.
1928 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1930 * subr.el (posn-col-row): Evaluate header-line-format in the
1931 context of the POSITION window's buffer.
1933 2010-12-13 Glenn Morris <rgm@gnu.org>
1935 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1936 (with-silent-modifications): Doc fixes.
1938 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1940 * net/tramp.el (tramp-action-password, tramp-process-actions):
1941 Revert previous from. Use `save-restriction'.
1943 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1945 * calendar/diary-lib.el (diary-list-sexp-entries):
1946 Handle case of no newline at end of file. (Bug#7536)
1948 2010-12-13 Glenn Morris <rgm@gnu.org>
1950 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1952 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1954 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1955 (tramp-process-actions): Do not widen.
1957 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1958 Protect buffer-modified value. (Bug#7557)
1960 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1962 * log-edit.el (log-edit-changelog-entries):
1963 Regexp quote filename. (Bug#7505)
1965 2010-12-13 Tom Breton <tehom@panix.com>
1967 * cus-edit.el (custom-save-all):
1968 Bind print-length and print-level to nil. (Bug#7581)
1970 2010-12-13 Glenn Morris <rgm@gnu.org>
1972 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1973 Run hooks to update menu contents. (Bug#7586)
1975 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1976 file names, for the sake of MS Windows. (Bug#7588)
1978 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1980 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1981 empty lines without a leading space.
1983 2010-12-13 Leo <sdl.web@gmail.com>
1985 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1986 while mapping over marks (Bug#6810).
1988 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1990 * image-dired.el (image-dired-db-file)
1991 (image-dired-temp-image-file, image-dired-gallery-dir)
1992 (image-dired-temp-rotate-image-file): Set default values relative
1993 to image-dired-dir (Bug#7518).
1995 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1997 * format.el (format-decode-run-method): Pass args FROM and TO, not
1998 point-min and point-max, to shell-command-on-region (Bug#7488).
2000 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2002 * frame.el (blink-cursor-mode): Make default t for ns.
2004 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2006 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2008 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2010 * comint.el (comint-dynamic-list-input-ring)
2011 (comint-dynamic-complete-filename)
2012 (comint-replace-by-expanded-filename)
2013 (comint-dynamic-simple-complete)
2014 (comint-dynamic-list-filename-completions)
2015 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2017 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2020 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2022 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2025 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2027 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2030 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2032 * files.el (file-relative-name): Handle UNC file names on
2033 DOS/Windows. (Bug#4674)
2035 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2037 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2038 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2039 (epg-context-set-passphrase-callback): Mention that the callback
2040 is not called when used with GnuPG 2.x.
2042 2010-12-13 Glenn Morris <rgm@gnu.org>
2044 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2045 Ensure ps-footer-font-size-internal is initialized.
2046 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2048 2010-12-13 Kenichi Handa <handa@m17n.org>
2050 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2051 within condition-case.
2052 (rmail-show-mime): Don't use condition-case.
2053 (rmail-search-mime-message): New function.
2054 (rmail-search-mime-message-function): Set to
2055 rmail-search-mime-message.
2057 2010-12-13 Leo <sdl.web@gmail.com>
2059 * ido.el (ido-common-initialization): New function. (bug#3274)
2061 (ido-completing-read): Call it.
2063 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2065 * bookmark.el (bookmark-name-from-full-record): Rename back to
2066 this original name from `bookmark-name-from-record' reverting part
2067 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2068 As Drew Adams pointed out, there was no reason to cause churn for
2069 third-party callers.
2071 2010-12-12 Alan Mackenzie <acm@muc.de>
2073 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2074 template arglist, check that the current language supports this.
2076 2010-12-11 Glenn Morris <rgm@gnu.org>
2078 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2079 state of the file matches. (Bug#7544)
2080 (vc-bzr-register, vc-bzr-checkin)
2081 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2082 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2084 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2086 2010-12-11 Karel Klíč <kklic@redhat.com>
2088 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2090 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2092 Derive from prog-mode, use derived-mode-p, and fix up various
2093 minor style issues in lisp/progmodes.
2095 * progmodes/vhdl-mode.el (vhdl-mode):
2096 * progmodes/verilog-mode.el (verilog-mode):
2097 * progmodes/vera-mode.el (vera-mode):
2098 * progmodes/sql.el (sql-mode):
2099 * progmodes/scheme.el (scheme-mode):
2100 * progmodes/perl-mode.el (perl-mode):
2101 * progmodes/octave-inf.el (inferior-octave-mode):
2102 * progmodes/autoconf.el (autoconf-mode):
2103 * progmodes/m4-mode.el (m4-mode):
2104 * progmodes/inf-lisp.el (inferior-lisp-mode):
2105 * progmodes/idlwave.el (idlwave-mode):
2106 * progmodes/icon.el (icon-mode):
2107 * progmodes/idlw-help.el (idlwave-help-mode):
2108 * progmodes/dcl-mode.el (dcl-mode):
2109 * progmodes/idlw-shell.el (idlwave-shell-mode):
2110 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2111 (ebrowse-member-mode, ebrowse-electric-position-mode):
2112 Use define-derived-mode.
2114 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2115 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2116 (xscheme-debugger-mode-p, xscheme-send-string-1):
2117 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2118 (tcl-load-file, tcl-restart-with-file):
2119 * progmodes/ps-mode.el (ps-run-running):
2120 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2121 * progmodes/js.el (js--get-all-known-symbols):
2122 * progmodes/inf-lisp.el (inferior-lisp-proc):
2123 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2124 (idlwave-template, idlwave-update-buffer-routine-info)
2125 (idlwave-update-current-buffer-info)
2126 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2127 (idlwave-scan-class-info, idlwave-fix-keywords)
2128 (idlwave-list-buffer-load-path-shadows):
2129 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2130 (idlwave-toolbar-remove):
2131 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2132 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2133 (idlwave-shell-menu-def):
2134 * progmodes/idlw-complete-structtag.el
2135 (idlwave-prepare-structure-tag-completion):
2136 * progmodes/gud.el (gud-set-buffer):
2137 * progmodes/f90.el (f90-backslash-not-special):
2138 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2140 * progmodes/xscheme.el (xscheme-start)
2141 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2142 * progmodes/which-func.el (which-function):
2143 * progmodes/vhdl-mode.el (vhdl-set-style):
2144 * progmodes/verilog-mode.el (verilog-set-compile-command)
2145 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2146 (verilog-set-define, verilog-auto-reeval-locals):
2147 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2148 * progmodes/simula.el (simula-mode):
2149 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2150 * progmodes/python.el (python-check, python-mode):
2151 * progmodes/prolog.el (prolog-mode-variables):
2152 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2153 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2154 * progmodes/delphi.el (delphi-mode):
2155 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2156 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2157 (c-font-lock-init): Move make-local-variable to their setq.
2159 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2160 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2162 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2163 (sh-set-shell): Don't set require-final-newline since it's already done
2165 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2166 since we never set it.
2167 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2168 Use read-string and standard prompt.
2169 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2170 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2171 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2172 (meta-common-mode-map): Rename from meta-mode-map.
2173 Remove C-m binding, which is a user preference, not mode specific.
2174 (meta-common-mode): New major mode; replace meta-common-initialization.
2175 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2176 around with font-lock.
2177 * progmodes/etags.el (select-tags-table-mode):
2178 Derive from special-mode.
2179 * progmodes/octave-mod.el (octave-mode):
2180 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2181 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2182 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2183 Let define-derived-mode do its job.
2184 * progmodes/cpp.el (cpp-edit-mode-map):
2185 Move initialization into declaration.
2186 (cpp-edit-mode): Use define-derived-mode.
2187 (cpp-edit-load): Use derived-mode-p.
2188 * progmodes/mixal-mode.el (mixal-mode):
2189 * progmodes/f90.el (f90-mode):
2190 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2191 require-final-newline since prog-mode does it already.
2192 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2193 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2194 * progmodes/antlr-mode.el: Require cc-mode upfront.
2195 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2197 (antlr-directory-dependencies, antlr-show-makefile-rules):
2199 (antlr-language-option): Don't assume point-min==1.
2200 (antlr-mode): Use define-derived-mode.
2201 * progmodes/ada-mode.el: Use derived-mode-p.
2202 (ada-mode): Use define-derived-mode.
2203 Use hack-local-variables-hook.
2205 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2207 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2208 (texinfo-mode): Don't disable adaptive-fill-mode.
2209 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2210 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2211 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2212 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2213 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2214 (texinfo-insert-@quotation, texinfo-insert-@samp)
2215 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2216 (texinfo-insert-@uref): Use define-skeleton.
2217 (texinfo-insert-@-with-arg): Delete.
2219 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2221 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2222 nil, do quote archive member names. (Bug#6144)
2224 2010-12-10 Glenn Morris <rgm@gnu.org>
2226 * files.el (diff-no-select): Declare.
2228 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2229 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2231 * comint.el (comint-input-ring-file-name): Doc fix.
2233 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2235 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2237 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2238 Use them instead of `nil' and `>', respectively.
2239 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2241 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2242 and menu-bar-positive-p instead of `nil' and `>', respectively.
2245 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2247 * whitespace.el (whitespace-newline-mode): Code fix.
2249 2010-12-09 Glenn Morris <rgm@gnu.org>
2251 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2252 Rename functions without commas, update callers.
2254 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2256 * whitespace.el (whitespace-cleanup-region):
2257 Clean up spaces before tabs. (Bug#7582)
2259 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2261 * bookmark.el: Adjust parameter names and doc strings to resolve
2262 confusion over whether "bookmark" meant a bookmark name or a
2263 bookmark record. Along the way, shorten one function's name for
2264 similar reasons. (Issue #7548)
2265 (bookmark-name-from-record): New name for
2266 `bookmark-name-from-full-record'. All callers changed.
2267 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2268 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2269 (bookmark-get-annotation, bookmark-set-annotation)
2270 (bookmark-get-filename, bookmark-set-filename)
2271 (bookmark-get-position, bookmark-set-position)
2272 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2273 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2274 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2275 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2276 Rename `bookmark' parameter to `bookmark-name-or-record', to
2277 clearly show its role, and shorten or adjust doc strings accordingly.
2278 (bookmark-set-name): Same, and pass the parameter directly to
2279 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2280 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2281 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2282 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2283 and in some cases shorten doc string accordingly.
2284 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2285 and `new-name', and adjust an internal variable to avoid confusion.
2286 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2287 parameter in doc string.
2289 2010-12-08 Glenn Morris <rgm@gnu.org>
2291 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2292 from gdb's history file. (Bug#7575)
2294 * mail/emacsbug.el (report-emacs-bug):
2295 Try to handle some other mail clients.
2297 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2299 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2300 Use string-prefix-p.
2301 (file-name-version-regexp): New var.
2302 (file-name-sans-versions):
2303 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2304 (jka-compr-get-compression-info): Use dolist.
2305 (jka-compr-compression-info-list): Don't bother specifying
2306 version/backup regexps.
2308 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2310 * simple.el (just-one-space): Make argument n default to 1 if
2313 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2315 * electric.el (electric-indent-post-self-insert-function):
2316 Delete trailing newlines even if we don't reindent.
2318 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2320 * minibuffer.el (completion-at-point): Remove the `arg'.
2321 * bindings.el (complete-symbol): Move back from minibuffer.el.
2323 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2325 * simple.el (just-one-space): Delete newlines for negative arg.
2327 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2329 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2330 (ansi-color-filter-apply): Simplify.
2331 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2333 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2335 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2337 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2339 * dired.el (dired-use-ls-dired): Set default to a special
2340 "unspecified" value.
2341 (dired-insert-directory): When called the first time, check
2342 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2344 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2346 * replace.el: Add "collect" feature to occur.
2347 (occur-collect-regexp-history): New var.
2348 (occur-read-primary-args): Return a replace string for nlines,
2350 (occur): Extend the meaning of nlines.
2352 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2354 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2355 (which-func-update-1): Distinguish symbols from strings.
2356 (which-function): Stay within 80 columns.
2358 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2360 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2362 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2364 (comment-style): Use comment-styles's docs to describe values.
2366 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2368 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2369 and ns-show-prefs (Bug#7535).
2371 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2372 bindings (Bug#7535).
2374 2010-12-03 Glenn Morris <rgm@gnu.org>
2376 * nxml/nxml-mode.el: Require rng-nxml.
2377 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2378 Remove declarations.
2380 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2381 * nxml/rng-nxml.el, nxml/rng-valid.el:
2382 Remove leading `*' from defcustom docs.
2384 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2385 (normal-top-level-add-to-load-path, tty-handle-args):
2386 Convert comments to basic doc-strings.
2388 * net/browse-url.el (browse-url-url-at-point)
2389 (browse-url-default-browser): Remove autoload cookies.
2391 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2392 Remove more undefined cl functions.
2394 * vc/diff.el (diff-sentinel): Make new arguments optional.
2395 * ibuf-ext.el (diff-sentinel): Update declaration.
2397 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2399 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2400 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2401 (epg-context-set-passphrase-callback): Mention that the callback
2402 is not called when used with GnuPG 2.x.
2404 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2406 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2407 (tramp-file-name-port): Check also for `tramp-default-port'.
2408 (tramp-get-connection-name): New defun.
2409 (tramp-get-connection-process): Use it.
2410 (tramp-debug-message): Extend function exclude list.
2411 (tramp-drop-volume-letter): Fix doc string.
2413 * net/tramp-cmds.el: Remove solved todo item.
2417 * net/tramp-gvfs.el:
2419 * net/tramp-imap.el:
2420 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2421 and `tramp-default-user-alist', respectively.
2423 * net/tramp-gw.el (tramp-gw-open-connection):
2424 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2426 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2427 `tramp-file-name-port'.
2429 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2430 and "psftp". Exchange "%k" marker with options.
2431 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2432 Compute size of link target.
2433 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2434 `tramp-current-*' up due to gateway methods. Optimze computing of
2435 copy arguments. Use `tramp-get-connection-name' and
2436 `tramp-get-connection-buffer'. Improve debug messages.
2437 (tramp-compute-multi-hops): Remove port determination.
2438 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2440 * net/trampver.el: Update release number.
2442 2010-12-02 Glenn Morris <rgm@gnu.org>
2444 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2445 Avoid infinite loop over windows. (Bug#7492)
2447 * progmodes/flymake.el (flymake-check-file-limit):
2448 Allow nil to mean "no limit".
2449 (flymake-check-patch-master-file-buffer): Update for above change.
2450 Allow a .tex file-name extension to be optional.
2451 (flymake-master-tex-init): Also match \include statements.
2453 2010-11-30 Sam Steingold <sds@gnu.org>
2455 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2456 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2457 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2458 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2459 define-derived-mode').
2460 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2461 users who want to call `nxml-parent-document-set'.
2463 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2465 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2466 stand-alone lines, since that is handled by log-edit-match-to-eoh
2469 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2471 * dired.el (dired-get-filename): Replace backslashes with slashes
2472 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2473 * locate.el (locate-default-make-command-line): Don't consider
2474 drive letter and root directory part of
2475 `directory-listing-before-filename-regexp'. (Bug#7308)
2476 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2478 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2480 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2481 of :smie-open/close-alist.
2482 (smie-next-sexp): Make it accept a "start token" as argument.
2483 (smie-indent-keyword): Be careful not to misidentify tokens that span
2484 more than one line, as empty lines. Add argument `token'.
2486 2010-11-27 Kenichi Handa <handa@m17n.org>
2488 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2489 multipart subtypes, insert all as usual.
2491 * mail/rmail.el: Require rfc2047.
2493 2010-11-27 Kenichi Handa <handa@m17n.org>
2495 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2496 (rmail-mime-entity-disposition)
2497 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2498 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2499 (rmail-mime-save): Handle the case that the button's `data' is a
2501 (rmail-mime-insert-text): New function.
2502 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2503 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2504 (rmail-mime-insert-bulk): New function mostly copied from the old
2505 rmail-mime-bulk-handler.
2506 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2507 (rmail-mime-process-multipart): New function mostly copied from
2508 the old rmail-mime-multipart-handler.
2509 (rmail-mime-show): Just call rmail-mime-process.
2510 (rmail-mime-process): New function mostly copied from the old
2512 (rmail-mime-insert-multipart, rmail-mime-parse)
2513 (rmail-mime-insert, rmail-show-mime)
2514 (rmail-insert-mime-forwarded-message)
2515 (rmail-insert-mime-resent-message): New functions.
2516 (rmail-insert-mime-forwarded-message-function): Set to
2517 rmail-insert-mime-forwarded-message.
2518 (rmail-insert-mime-resent-message-function): Set to
2519 rmail-insert-mime-resent-message.
2521 * mail/rmailsum.el: Require rfc2047.
2522 (rmail-header-summary): Handle multiline Subject: field.
2523 (rmail-summary-line-decoder): Change the default to
2524 rfc2047-decode-string.
2526 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2527 (rmail-mime-feature): Change the default to `rmailmm'.
2528 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2529 (rmail-display-labels): Likewise.
2530 (rmail-show-message-1): Check rmail-enable-mime, and use
2531 rmail-show-mime-function for a MIME message. Decode the headers
2532 according to RFC2047.
2534 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2536 * progmodes/which-func.el (which-func-imenu-joiner-function):
2537 Return a string, as expected.
2538 (which-function-mode): Make sure we stop any previous timer before
2541 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2543 * net/tramp.el (tramp-default-method-alist)
2544 (tramp-default-user-alist, tramp-default-proxies-alist):
2545 Adapt custom options type. (Bug#7445)
2547 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2549 * progmodes/python.el: Add Ipython support (Bug#5390).
2550 (python-shell-prompt-alist)
2551 (python-shell-continuation-prompt-alist): New options.
2552 (python--set-prompt-regexp): New function.
2553 (inferior-python-mode, run-python, python-shell):
2554 Require ansi-color. Use python--set-prompt-regexp to set the comint
2555 prompt based on the Python interpreter.
2556 (python--prompt-regexp): New var.
2557 (python-check-comint-prompt)
2558 (python-comint-output-filter-function): Use it.
2559 (run-python): Use a pipe (Bug#5694).
2561 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2563 * progmodes/python.el (run-python): Doc fix.
2564 (python-keep-current-directory-in-path): New var (Bug#7454).
2566 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2568 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2569 Prompt user before actually printing.
2571 2010-11-27 Glenn Morris <rgm@gnu.org>
2573 * startup.el (package-enable-at-startup, package-initialize):
2574 Remove unnecessary declarations.
2576 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2578 * international/characters.el (glyphless-char-display-control):
2579 Exclude newline and TAB from the c0-control group.
2581 2010-11-27 Glenn Morris <rgm@gnu.org>
2583 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2584 (expand-mail-aliases): Remove unnecessary autoload.
2586 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2588 * shell.el (shell-dir-cookie-re): Move definition before use.
2590 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2591 Replace undefined CL functions.
2593 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2595 * simple.el (prog-mode): Set bidi-paragraph-direction to
2598 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2600 2010-11-26 Glenn Morris <rgm@gnu.org>
2602 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2603 diary-outlook-formats can be sensitive to calendar-date-style.
2604 (diary-outlook-formats): Simplify the default setting.
2605 (diary-from-outlook-internal): Pass subject and body as arguments.
2606 Use dolist rather than dotimes. Don't save the diary buffer.
2607 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2608 Pass subject and body as explicit arguments to the -internal function.
2610 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2612 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2613 parsing them. This makes mailto:...?subject=foo\nbar work.
2615 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2617 * vc/diff.el (diff): Fix last change.
2619 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2621 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2622 (pcase--dontcare-upats): New var.
2623 (pcase-let, pcase-let*): Generate better code.
2624 Accept the same bodies as `let'.
2625 (pcase-dolist): New macro.
2626 (pcase--trivial-upat-p): New helper function.
2627 (pcase--expand): Strip leading "(let nil" if any.
2629 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2631 * mail/mailclient.el (browse-url): Require.
2632 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2633 use the external browser function to send the mail (bug#7469).
2635 * net/browse-url.el (browse-url-browser-function): Revert the
2636 default back to the previous value, since the new value broke
2638 (browse-url-mailto-function): New variable for mailto: URLs.
2639 (browse-url): Use the new variable for mailto: URLs.
2641 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2643 * eshell/esh-cmd.el (eshell-parse-command):
2644 * eshell/esh-arg.el (eshell-parse-arguments):
2645 * eshell/em-script.el (eshell-source-file):
2646 Use with-silent-modifications.
2648 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2650 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2651 for a merge location.
2653 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2654 (vc-bzr-merge-branch): Always prompt.
2655 (vc-bzr-async-command): Use the full branch filename.
2657 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2659 * shell.el (shell): Use current-buffer by default if it's already
2660 a shell mode buffer and its process is dead.
2661 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2663 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2665 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2666 Mention that the keywords should be comma separated.
2668 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2670 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2671 Accept optional prefix arg meaning to prompt for a command.
2672 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2673 prefix arg meaning to prompt for a command.
2674 (vc-pull): Alias for vc-update.
2676 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2677 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2678 (vc-bzr-merge-branch): New functions, implementing merge-branch
2679 and pull operations.
2681 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2683 * Makefile.in: Fix up last merge.
2685 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2686 (diff-sentinel): Get them as arguments instead.
2687 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2688 (diff-file-local-copy, diff-better-file-name): New funs.
2689 (diff-no-select): Rename from diff-into-buffer.
2690 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2691 Prefer closures to buffer-local variables.
2692 (diff): Adjust accordingly.
2693 (diff-buffer-with-file): Move from files.el.
2694 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2695 (diff-buffer-internal): Remove.
2696 (diff-buffer-buffer): Remove.
2697 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2698 the buffer name used, and so as not to mess up windows and frames.
2700 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2702 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2703 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2704 (diff-buffer-with-file): Use it.
2705 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2708 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2710 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2711 \ref's or \pageref's value as default instead of initial input.
2713 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2715 * files.el (backup-by-copying-when-mismatch): The default value is
2718 * startup.el (normal-top-level):
2719 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2720 `backup-by-copying-when-mismatch'.
2722 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2724 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2726 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2728 * progmodes/python.el (python-font-lock-keywords):
2729 Highlight top-level augmented assignments (Bug#6445).
2731 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2733 * term/ns-win.el (ns-right-control-modifier)
2734 (ns-right-command-modifier): Defvar them.
2736 * cus-start.el (all): Add ns-right-control-modifier and
2737 ns-right-command-modifier (Bug#7458).
2739 2010-11-20 Glenn Morris <rgm@gnu.org>
2741 * emacs-lisp/authors.el (authors-ignored-files)
2742 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2744 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2746 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2747 (report-emacs-bug-parse-query-results)
2748 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2749 keywords used for querying the bug database to show them in the
2750 existing bugs buffer.
2752 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2754 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2756 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2758 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2760 * international/characters.el (glyphless-char-display-control):
2761 Make it a defcustom, with update-glyphless-char-display as its
2763 (top level): Don't call update-glyphless-char-display.
2765 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2767 Sync with Tramp 2.2.0.
2769 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2770 `file-remote-p' (due to compatibility).
2772 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2773 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2775 * net/trampver.el: Update release number.
2777 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2779 * faces.el (glyphless-char): Define value for `pc'.
2781 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2783 Implemented a bug querying mechanism.
2784 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2785 (report-emacs-bug-create-existing-bugs-buffer)
2786 (report-emacs-bug-parse-query-results)
2787 (report-emacs-bug-query-existing-bugs): New functions.
2789 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2791 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2792 a \ref{} or \pageref{} macro, then use its value as initial input.
2794 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2796 * calc/calc-units.el (math-build-units-table-buffer):
2797 calc/README: Mention that the TeX specific units won't use the
2798 `tex' prefix in TeX mode.
2799 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2800 prefix for units in TeX mode.
2802 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2804 * simple.el (kill-new, kill-append, kill-region):
2805 * comint.el (comint-kill-region): Make the yank-handler argument
2808 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2810 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2811 that are both openers (resp. closers) and something else.
2812 (smie-grammar): Loosen definition of valid values.
2813 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2814 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2815 (smie-indent-after-keyword): Adjust users.
2816 (smie-indent-keyword): Don't indent empty lines.
2818 * vc-hg.el (vc-hg-program): New var.
2819 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2820 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2822 2010-11-18 Glenn Morris <rgm@gnu.org>
2824 * emacs-lisp/autoload.el (autoload-find-destination): The function
2825 coding-system-eol-type may return non-numeric values. (Bug#7414)
2827 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2829 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2831 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2833 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2835 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2837 * textmodes/picture.el (picture-mouse-set-point): Don't use
2838 posn-col-row; explicitly compute the motion based on the posn at
2839 the window-start (Bug#7390).
2841 2010-11-18 Glenn Morris <rgm@gnu.org>
2843 * novice.el (disabled-command-function):
2844 Fix 2009-11-15 change. (Bug#7384)
2846 2010-11-18 Glenn Morris <rgm@gnu.org>
2848 * calendar/calendar.el (diary-iso-date-forms): Make elements
2849 mutually exclusive. (Bug#7377)
2851 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2853 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2854 when filling the remaining "unconstrained" values.
2856 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2858 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2861 * files.el (safe-local-variable-p): Gracefully handle errors.
2863 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2864 Use smie-indent-virtual when indenting relative to an opener.
2865 (smie-rule-separator): Use smie-rule-parent.
2866 (smie-indent-keyword): Consult rules, even for openers at bol.
2867 (smie-indent-comment-close): Try to align closer's content.
2869 2010-11-18 Glenn Morris <rgm@gnu.org>
2871 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2873 2010-11-18 Glenn Morris <rgm@gnu.org>
2875 * printing.el (pr-menu-bind): Doc fix.
2877 * speedbar.el (speedbar-toggle-images): Doc fix.
2879 * progmodes/python.el (python-shell): Doc fix.
2881 * wid-edit.el (widget-field-use-before-change)
2882 (widget-use-overlay-change): Doc fixes.
2884 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2886 Minor cleanup to improve style.
2887 * textmodes/rst.el (rst-update-section): Use point-marker.
2888 (rst-get-decoration): Eliminate unneeded assignment.
2889 (rst-promote-region, rst-straighten-decorations)
2890 (rst-section-tree, rst-adjust): Use point-marker.
2891 (rst-toc-mode-mouse-goto): Avoid setq.
2892 (rst-shift-region-guts, rst-shift-region-left)
2893 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2894 (rst-convert-bullets-to-enumeration): Use copy-marker.
2896 * minibuffer.el (completion-fail-discreetly): New var.
2897 (completion--do-completion): Use it.
2899 * electric.el (electric-pair-pairs): New var.
2900 (electric-pair-post-self-insert-function): Use it.
2901 (electric-layout-post-self-insert-function): Don't insert a before
2902 newline unless it's actually needed.
2904 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2906 * progmodes/python.el (run-python): Explain why we remove the current
2907 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2909 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2911 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2913 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2914 (octave-mode-map): Don't bind ;, SPC, and LF.
2915 (octave-auto-indent, octave-auto-newline): Remove.
2916 (electric-layout-rules): Declare.
2917 (octave-mode): Set electric-layout-rules.
2918 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2919 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2920 (octave-electric-space): Remove.
2922 * electric.el (electric-layout-mode): New minor mode.
2923 (electric--after-char-pos): New function.
2924 (electric-indent-post-self-insert-function): Use it.
2925 (electric-layout-rules): New var.
2926 (electric-layout-post-self-insert-function): New function.
2927 (electric-indent-mode): Make them interact better.
2929 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2931 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2932 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2933 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2935 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2937 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2938 Make sure to check inside the word (Bug#6761).
2940 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2942 * startup.el (command-line): If the cursorColor resource is set,
2943 change the cursor face-spec (Bug#7392).
2945 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2947 The main features of the following allout.el changes are:
2948 - implement user customization for the allout key bindings
2949 - add a customization control by which the user can inhibit use of
2950 a trailing Ctrl-H, so by default it's reserved for use with
2951 describe-prefix-bindings
2952 - adapt to new version of called-interactively-p, while
2953 maintaining backwards compatibility with old version
2954 - fix hotspot navigation so i works properly with meta-modified keys
2956 * allout.el (allout-keybindings, allout-bind-keys)
2957 (allout-keybindings-binding, allout-prefixed-keybindings)
2958 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2959 (allout-keybindings-list, allout-mode-map-adjustments)
2960 (allout-setup-mode-map): Establish allout-mode keymaps as user
2961 customizable settings, and also establish a customizable setting which
2962 regulates whether or not a trailing control-h is reserved for use with
2963 describe-prefix-bindings - and inhibit it by default, so that control-h
2964 *is* reserved for describe-prefix-bindings unless the user changes it.
2966 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2967 and accurately between modified and unmodified events, and handle
2968 modified events more comprehensively.
2970 * allout.el (allout-substring-no-properties):
2971 Alias to use or provide version of `substring-no-properties'.
2972 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2974 * allout.el (allout-next-single-char-property-change):
2975 Alias to use or provide version of `next-single-char-property-change'.
2976 (allout-annotate-hidden, allout-hide-by-annotation):
2977 Use `allout-next-single-char-property-change'.
2979 * allout.el (allout-select-safe-coding-system):
2980 Alias to use or provide version of `select-safe-coding-system'.
2981 (allout-toggle-subtree-encryption):
2982 Use `allout-select-safe-coding-system'.
2984 * allout.el (allout-set-buffer-multibyte):
2985 Alias to use or provide version of `set-buffer-multibyte'.
2986 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2988 * allout.el (allout-called-interactively-p): Macro for using the
2989 different versions of called-interactively-p identically, depending on
2990 the subroutine's argument signature.
2991 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2992 Use `(interactive "p")' instead of `(called-interactively-p)'.
2994 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2995 (allout-previous-visible-heading, allout-forward-current-level)
2996 (allout-backward-current-level, allout-show-children):
2997 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2999 * allout.el (allout-before-change-handler):
3000 Exempt edits to the (overlaid) character after the allout outline
3001 bullet from edit confirmation prompt.
3003 * allout.el (allout-add-resumptions):
3004 Ensure that it respects correct buffer for keybindings.
3006 * allout.el (allout-beginning-of-line):
3007 Use `allout-previous-single-char-property-change' alias for the sake of
3008 diverse compatibility.
3010 * allout.el (allout-end-of-line):
3011 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3013 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3015 * frame.el (frame-notice-user-settings): Don't clobber other
3016 user-set parameters when calling face-set-after-frame-default in
3017 response to background-color parameter (Bug#7373).
3019 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3021 * international/characters.el (glyphless-char-display-control):
3022 Rename from glyphless-char-control; all users changed. Doc fix.
3023 Signal an error if display method is not one of the recognized
3026 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3028 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3029 (tramp-compat-line-end-position): Remove them.
3031 * net/tramp.el (tramp-parse-rhosts-group)
3032 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3033 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3034 (tramp-parse-netrc-group, tramp-parse-putty-group)
3035 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3036 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3037 (tramp-sh-handle-file-selinux-context)
3038 (tramp-sh-handle-file-name-all-completions)
3039 (tramp-sh-handle-insert-directory)
3040 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3041 (tramp-wait-for-output, tramp-send-command-and-read)
3042 * net/tramp-smb.el (tramp-smb-read-file-entry)
3043 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3045 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3047 (tramp-remote-coding-commands): Add an alternative using "base64
3048 -d -i". This is needed for older base64 versions from GNU
3049 coreutils. Reported by Klaus Reichl
3050 <Klaus.Reichl@thalesgroup.com>.
3052 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3054 * simple.el (count-words-region): New function.
3056 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3058 * shell.el (shell-dir-cookie-re): New custom variable.
3059 (shell-dir-cookie-watcher): New function.
3061 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3062 and compilation-mode (bug#7350).
3064 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3065 highlight when one of them is empty.
3067 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3069 (skeleton-newline): New function.
3070 (skeleton-internal-1): Use it.
3072 * simple.el (open-line): `newline' may strip trailing space.
3074 2010-11-12 Kevin Ryde <user42@zip.com.au>
3076 * international/mule-cmds.el (princ-list): Use mapc.
3078 2010-11-12 Glenn Morris <rgm@gnu.org>
3080 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3081 Use it to replace all instances of "*Compile-Log*"
3083 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3085 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3088 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3090 * progmodes/modula2.el: Use SMIE and skeleton.
3091 (m2-mode-syntax-table): (*..*) can be nested.
3092 Add //...\n. Fix paren syntax.
3093 (m2-mode-map): Remove LF and TAB bindings.
3094 (m2-indent): Add safety property.
3095 (m2-smie-grammar): New var.
3096 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3097 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3098 (m2-mode): Use define-derived-mode.
3099 (m2-newline, m2-tab): Remove.
3100 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3101 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3102 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3103 (m2-import): Use define-skeleton.
3105 2010-11-11 Glenn Morris <rgm@gnu.org>
3107 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3109 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3110 (ls-lisp-verbosity): Add custom :set-after property.
3111 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3112 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3113 (ls-lisp-insert-directory): Update caller.
3114 (ls-lisp-set-options): New function.
3115 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3118 * play/landmark.el (lm-prompt-for-move):
3119 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3121 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3123 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3124 (idlwave-study-twins): Prefix dynamic local variable `name'.
3125 (idlwave-routine-twin-compare): Update for above change.
3127 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3128 Prefix dynamic local variables `name', `kwd', and `link'.
3129 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3130 * progmodes/idlw-complete-structtag.el
3131 (idlwave-complete-structure-tag-help):
3132 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3133 (idlwave-complete-sysvar-tag-help)
3134 (idlwave-complete-class-structure-tag-help):
3135 Update for above name changes.
3137 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3139 * net/browse-url.el (browse-url-browser-function): Change the
3140 default to use `browse-url-mail' on mailto: URLs.
3142 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3144 * emacs-lisp/package.el (package-read-all-archive-contents):
3145 Reset package-archive-contents to nil before re-reading.
3147 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3149 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3150 already found as misspellings by (flyspell-large-region), just
3151 do highlighting (bug#7322).
3153 2010-11-10 Glenn Morris <rgm@gnu.org>
3155 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3157 * emulation/edt.el (edt-with-position): New macro.
3158 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3159 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3160 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3162 * emulation/tpu-extras.el (tpu-with-position): New macro.
3163 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3165 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3167 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3168 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3169 (texinfo-master-menu, texinfo-insert-node-lines)
3170 (texinfo-multiple-files-update):
3171 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3172 Use line-beginning-position.
3174 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3175 No recent Emacs supports system-type `emx'.
3177 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3178 (ada-command-separator, ada-default-prj-properties)
3179 (ada-find-any-references): Update for above name change.
3181 * dirtrack.el (dirtrack-directory-function)
3182 (dirtrack-canonicalize-function):
3183 * filecache.el (file-cache-completion-ignore-case)
3184 (file-cache-case-fold-search, file-cache-ignore-case):
3185 * term.el (serial-port-is-file-p): Cosmetic change.
3187 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3188 Remove non-existent `windows-95' system-type.
3189 * dired.el (dired-chown-program): Remove non-existent `linux'
3192 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3193 (ping-program-options): Remove non-existent `linux' system-type.
3195 * startup.el (package-initialize): Update declaration.
3197 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3198 (ls-lisp-handle-switches): Use time-less-p.
3199 (ls-lisp-format-time): Use float-time.
3201 * textmodes/remember.el (remember-time-to-seconds): Remove.
3202 (remember-store-in-mailbox): Use float-time.
3204 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3206 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3207 never a real function.
3208 (with-no-warnings): Remove compat stub, now unused.
3209 (time-less-p): Doc fix.
3210 (time-to-number-of-days): Simplify.
3212 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3214 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3215 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3216 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3217 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3218 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3220 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3221 (eshell-shuffle-files, eshell-shorthand-tar-command)
3222 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3223 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3224 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3225 Prefix dynamic local variable `matches'.
3227 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3228 Prefix dynamic local variable `skeleton'.
3230 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3232 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3233 in mail buffer; make yank-action always a command that yanks original
3236 2010-11-09 Glenn Morris <rgm@gnu.org>
3238 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3240 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3242 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3243 completion field (bug#7211).
3245 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3246 Fix handling of backslash escapes.
3247 (python-quote-syntax): Adjust accordingly.
3249 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3251 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3252 (vc-mtn-workfile-branch): Adjust to new output format.
3254 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * international/mule-cmds.el (princ-list): Mark as obsolete.
3258 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3260 * emacs-lisp/smie.el: New package.
3262 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3264 * files.el (backup-by-copying-when-mismatch):
3265 Set `permanent-local' property.
3267 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3268 `permanent-local' property for `backup-by-copying-when-mismatch'.
3270 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3272 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3274 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3276 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3277 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3278 AUTOINOUT for SV style multidimensional arrays, bug294.
3279 Reported by Eric Mastromarchi.
3280 (verilog-preprocess): Use with-current-buffer and
3281 font-lock-fontify-buffer to cleanup style issues.
3283 2010-11-09 Glenn Morris <rgm@gnu.org>
3285 * locate.el (locate, locate-mode): Doc fixes.
3287 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3289 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3290 user for confirmation.
3291 (server-force-stop): Use it.
3292 (server-start): Use server-force-stop for kill-emacs-hook, to
3293 avoid user interaction while killing Emacs.
3295 2010-11-09 Glenn Morris <rgm@gnu.org>
3297 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3298 (meta-indent-line): Simplify.
3300 * vc/emerge.el (emerge-line-number-in-buf):
3301 * textmodes/ispell.el (ispell-region):
3302 * textmodes/fill.el (current-fill-column):
3303 * progmodes/xscheme.el (xscheme-send-current-line):
3304 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3305 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3306 * progmodes/sh-script.el (sh-handle-prev-do):
3307 * progmodes/meta-mode.el (meta-indent-line):
3308 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3310 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3311 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3312 * progmodes/fortran.el (fortran-looking-at-if-then):
3313 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3314 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3315 (cperl-find-pods-heres):
3316 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3317 * net/quickurl.el (quickurl-list-insert):
3318 * net/ldap.el (ldap-search-internal):
3319 * net/eudc.el (eudc-expand-inline):
3320 * mail/sendmail.el (sendmail-send-it):
3321 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3322 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3323 (viper-brac-function):
3324 * calc/calc-yank.el (calc-do-grab-region):
3325 * calc/calc-keypd.el (calc-keypad-press):
3326 * term.el (term-move-columns, term-insert-spaces):
3327 * speedbar.el (speedbar-highlight-one-tag-line):
3328 * simple.el (current-word):
3329 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3330 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3332 * hippie-exp.el (he-line-beg):
3333 * epa.el (epa--marked-keys):
3334 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3335 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3336 (dired-relist-entry):
3337 * buff-menu.el (Buffer-menu-buffer):
3338 * array.el (current-line):
3339 * allout.el (allout-resolve-xref)
3340 (allout-latex-verbatim-quote-curr-line):
3341 Replace yet more uses of end-of-line etc with line-end-position, etc.
3343 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3346 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3347 (checkdoc-syntax-table): Initialize in the declaration.
3348 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3349 the mode on unconditionally.
3351 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3352 (extent-end-position, extent-start-position): Remove setf method for
3353 non-existing functions (bug#7319).
3355 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3357 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3358 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3359 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3360 (smie-prec2->grammar): Rename from smie-prec2-levels.
3361 (smie-grammar): Rename from smie-op-levels.
3362 (smie-indent--hanging-p): Rename from smie-hanging-p.
3363 (smie-rule-hanging-p): New alias.
3364 (smie-indent--bolp): Rename from smie-bolp.
3365 (smie-indent--hanging-p): New alias.
3366 (smie--token): New dynamically bound variable.
3367 (smie-indent--parent): New function.
3368 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3369 (smie-rule-next-p): Rename from smie-next-p.
3370 (smie-rule-prev-p): Rename from smie-prev-p.
3371 (smie-rule-sibling-p, smie-rule-parent)
3372 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3373 (smie-rule-separator-outdent): New var.
3374 (smie-indent--rule): Merge with smie-indent--column.
3375 (smie-indent-forward-token, smie-indent-backward-token):
3376 Also recognize close parens.
3377 (smie-indent-keyword): Don't use smie-indent--column any more.
3378 (smie-indent-after-keyword): Ignore closers by default.
3379 (smie-indent-line): Use with-demoted-errors.
3380 * progmodes/octave-mod.el (octave-smie-grammar):
3381 Rename from octave-smie-op-levels.
3382 (octave-smie-rules): Adjust to new behavior.
3383 * progmodes/prolog.el (prolog-smie-grammar):
3384 Rename from prolog-smie-op-levels.
3386 2010-11-07 Glenn Morris <rgm@gnu.org>
3388 * eshell/esh-util.el (subst-char-in-string)
3389 (directory-files-and-attributes): These compatibility definitions are
3390 not needed on any version of Emacs since at least 21.4.
3392 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3393 (verilog-get-end-of-line): Remove.
3394 (verilog-within-string, verilog-re-search-forward-substr)
3395 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3396 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3397 Use point-at-bol, point-at-eol.
3398 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3400 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3401 (electric-pascal-terminate-line, pascal-set-auto-comments)
3402 (pascal-indent-paramlist, pascal-indent-declaration)
3403 (pascal-get-lineup-indent, pascal-func-completion)
3404 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3405 Use point-at-bol, point-at-eol.
3406 * progmodes/flymake.el (flymake-line-beginning-position)
3407 (flymake-line-end-position): Remove.
3408 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3409 * eshell/esh-util.el (line-end-position, line-beginning-position):
3410 Remove compat definitions.
3412 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3414 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3415 Use line-end-position.
3417 * emacs-lisp/chart.el (chart-zap-chars):
3418 * play/decipher.el (decipher-set-map):
3419 * progmodes/ada-mode.el (ada-get-current-indent)
3420 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3421 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3422 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3423 (ada-get-all-references):
3424 * progmodes/cperl-mode.el (cperl-electric-paren)
3425 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3426 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3427 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3428 (cperl-word-at-point-hard):
3429 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3430 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3431 (idlwave-shell-display-line):
3432 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3433 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3434 * progmodes/js.el (js--re-search-forward-inner)
3435 (js--re-search-backward-inner):
3436 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3437 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3438 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3439 * textmodes/flyspell.el (flyspell-process-localwords):
3440 * textmodes/ispell.el (ispell-buffer-local-parsing)
3441 (ispell-buffer-local-dict, ispell-buffer-local-words):
3442 Use point-at-bol and point-at-eol.
3444 * speedbar.el (speedbar-generic-item-info)
3445 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3446 (speedbar-add-indicator, speedbar-check-vc-this-line)
3447 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3448 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3449 Replace more uses of end-of-line etc with line-end-position.
3451 2010-11-06 Glenn Morris <rgm@gnu.org>
3453 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3454 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3455 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3456 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3457 (texinfo-multiple-files-update):
3458 * textmodes/table.el (table--probe-cell-left-up)
3459 (table--probe-cell-right-bottom):
3460 * textmodes/picture.el (picture-tab-search):
3461 * textmodes/page-ext.el (pages-copy-header-and-position)
3462 (pages-directory-for-addresses):
3463 * progmodes/vera-mode.el (vera-get-offset):
3464 * progmodes/simula.el (simula-calculate-indent):
3465 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3466 * progmodes/prolog.el (end-of-prolog-clause):
3467 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3468 * progmodes/icon.el (indent-icon-exp):
3469 * progmodes/etags.el (tag-re-match-p):
3470 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3471 * progmodes/ebnf2ps.el (ebnf-begin-file):
3472 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3473 (dcl-save-local-variable):
3474 * play/life.el (life-setup):
3475 * play/gametree.el (gametree-looking-at-ply):
3476 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3477 * mail/sendmail.el (mail-mode-auto-fill):
3478 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3479 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3480 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3481 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3482 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3483 * type-break.el (type-break-file-keystroke-count):
3484 * term.el (term-replace-by-expanded-history-before-point)
3485 (term-skip-prompt, term-extract-string):
3486 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3487 (speedbar-contract-line, speedbar-toggle-line-expansion)
3488 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3489 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3490 * sort.el (sort-skip-fields):
3491 * skeleton.el (skeleton-internal-list):
3492 * simple.el (line-move-finish, line-move-to-column):
3493 * shell.el (shell-forward-command):
3494 * misc.el (copy-from-above-command):
3495 * makesum.el (double-column):
3496 * ebuff-menu.el (electric-buffer-update-highlight):
3497 * dired.el (dired-move-to-end-of-filename):
3498 * dframe.el (dframe-popup-kludge):
3499 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3500 * arc-mode.el (archive-get-lineno):
3501 Use line-end-position and line-beginning-position.
3503 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3504 (idlwave-study-twins): Prefix dynamic local `class'.
3505 (idlwave-routine-twin-compare): Update for above name change.
3507 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3508 Use boundp tests to silence compiler. Update for changed name of
3509 bytecomp-filename variable.
3511 * emulation/viper-cmd.el (viper-read-string-with-history):
3512 Prefix dynamic local `initial'.
3513 (viper-minibuffer-standard-hook): Update for above name change.
3515 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3516 (elint-init-form): Update for above name change.
3518 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3519 local variables `cbeg' and `cend' a prefix.
3520 (mail-extr-voodoo): Update for above name change.
3522 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3523 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3524 (reftex-toc-promote-action): Doc fix.
3526 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3527 `prompt', `data' a prefix.
3528 (reftex-select-post-command-hook, reftex-select-callback)
3529 (reftex-select-mouse-accept, reftex-select-read-cite):
3530 Update for above name changes.
3532 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3533 `refstyle' to reftex-refstyle.
3534 (reftex-offer-label-menu): Update for above name change.
3535 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3536 `refstyle' name change.
3538 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3539 with with-current-buffer.
3540 (diff, template): Give dynamic local variables a prefix.
3541 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3542 (emerge-line-number-in-buf): Update for above name change.
3543 (emerge-combine-versions-internal): Rename local `template' to
3544 emerge-combine-template.
3545 (emerge-combine-versions-edit): Update for above name change.
3547 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3549 * textmodes/reftex-cite.el
3550 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3551 entries with whitespace after \bibitem.
3552 (reftex-create-bibtex-file): Match entries containing numbers and
3553 symbol constituents. Make sure that entries with whitespace at
3554 various places are found.
3556 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3558 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3560 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3562 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3564 2010-11-05 Glenn Morris <rgm@gnu.org>
3566 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3567 (woman2-roff-buffer): Give local variable `request' a prefix.
3568 (woman0-macro): Rename argument `request' in the same way.
3569 (woman-request): New name for `request' dynamic variable.
3570 (woman-unquote, woman-forward-arg): Update for above name change.
3571 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3572 (woman1-unquote): New name for `unquote' dynamic variable.
3573 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3574 (woman-translations): Rename from `translations'. No longer global.
3575 (woman2-tr, woman-translate): Update for above name change.
3576 (woman-translate): Check for bound variable.
3577 (woman2-roff-buffer): Give local variable `translations' a prefix.
3579 * play/doctor.el: Give all local variables a prefix. Update callers.
3580 (doc$, doctor-put-meaning): Use backquote.
3582 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3583 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3585 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3586 variables bytes, ptr, op a prefix.
3587 (disassemble-offset): Update for above change.
3589 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3591 * emacs-lisp/package.el (package-unpack): Remove no-op.
3592 (package--builtins, package--dir): Doc fix.
3593 (package-activate-1, package-activate, package-install)
3594 (package-compute-transaction): Fix error message.
3595 (package-delete): Use delete-directory. Omit system packages.
3596 (package-initialize): Set package-alist to nil first.
3597 (package-menu-mark-delete, package-menu-mark-install): Don't add
3598 symbols that are inconsistent with the package state.
3599 (package-menu-execute): Perform deletions and installations as
3600 single batch operations.
3602 2010-11-03 Glenn Morris <rgm@gnu.org>
3604 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3605 (props): Remove unnecessary declaration.
3607 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3608 set-process-query-on-exit-flag.
3610 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3611 (reftex-toc-do-promote): Remove unused local `mpos'.
3612 (reftex-toc-restore-region): Make `mpos' local to this function.
3614 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3616 * play/landmark.el (lm-losing-threshold): Correct spelling.
3617 (lm-human-plays): Use new name.
3619 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3620 (gomoku-human-plays): Use new name.
3622 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3623 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3624 (gomoku-score-trans-table, gomoku-winning-threshold)
3625 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3627 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3629 * emacs-lisp/package.el: Don't put built-in packages in
3630 package-alist, to avoid loading inefficiencies.
3631 (package-built-in-p): Make VERSION optional, and treat it as a
3632 minimum acceptable version.
3633 (package-activate): Search separately for built-in packages.
3634 Emit a warning if a dependency fails.
3635 (define-package): Handle most common case, where there is no
3636 obsolete package, first.
3637 (package-compute-transaction): Print required version in error.
3638 (package--initialized): New variable.
3639 (list-packages): Use it.
3640 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3641 built-in packages in packages-alist; keep it separate.
3642 Set package--initialized.
3643 (describe-package): Avoid activating packages as a side-effect.
3644 Search separately for built-in packages.
3645 (describe-package-1): Handle the case where an elpa package is
3646 simultaneously built-in and available/installed.
3647 (package-installed-p, package--generate-package-list):
3648 Search separately for built-in packages.
3649 (package-load-descriptor): Doc fix.
3651 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3653 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3654 Handle __DATA__ and __END__.
3656 2010-11-02 Noah Friedman <friedman@splode.com>
3658 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3659 nil, do not ask to recompile files that are not already compiled,
3660 and do not recompile them.
3662 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3664 * emacs-lisp/package.el (package-initialize): Ensure that
3665 obsoleted built-in packages are not in package-activated-list
3667 (describe-package-1): Make the "installed" status override
3670 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3672 * subr.el (version-separator, version-regexp-alist): Remove '*'
3674 (version-list-<=, version<=, version=): Doc fix.
3676 2010-11-01 Kenichi Handa <handa@m17n.org>
3678 * faces.el (glyphless-char): Inherit underline for tty.
3680 2010-11-01 Kenichi Handa <handa@m17n.org>
3682 Implement various display methods for glyphless characters.
3684 * international/characters.el (char-acronym-table): New variable.
3685 (glyphless-char-control): New variable.
3686 (update-glyphless-char-display): New funciton.
3688 * faces.el (glyphless-char): New face.
3690 2010-11-01 Glenn Morris <rgm@gnu.org>
3692 * calendar/holidays.el (general-holidays, oriental-holidays)
3693 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3694 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3695 the definitions of their targets.
3697 * emacs-lisp/smie.el (smie): New custom group.
3698 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3700 * faces.el (xw-defined-colors, x-setup-function-keys):
3701 * mouse-sel.el (x-select-text):
3702 * term/w32console.el (x-setup-function-keys): Update declarations.
3704 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3706 * textmodes/ispell.el (comment-add): Declare.
3708 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3711 * info.el (finder-keywords-hash, package-alist): Declare.
3713 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3715 * finder.el (finder-compile-keywords): Don't use intern-soft,
3716 since package names may not yet exist in the obarray.
3718 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3720 * vc/vc-arch.el (vc-arch-checkin):
3721 * vc/vc-cvs.el (vc-cvs-checkin):
3722 * vc/vc-mtn.el (vc-mtn-checkin):
3723 * vc/vc-rcs.el (vc-rcs-checkin):
3724 * vc/vc-sccs.el (vc-sccs-checkin):
3725 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3726 since 2010-04-21 commit by Stefan Monnier.
3728 2010-11-01 Glenn Morris <rgm@gnu.org>
3730 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3732 * startup.el (package-enable-at-startup, package-initialize):
3735 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3738 2010-10-31 Julien Danjou <julien@danjou.info>
3740 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3741 (byte-recompile-directory):
3742 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3743 Use `byte-recompile-file'.
3745 2010-10-31 Glenn Morris <rgm@gnu.org>
3747 * cus-start.el: Handle standard values via a keyword.
3748 Only set version property if specified.
3749 (cursor-in-non-selected-windows, menu-bar-mode)
3750 (tool-bar-mode, show-trailing-whitespace):
3751 Do not specify standard values.
3752 (transient-mark-mode, temporary-file-directory): Use :standard.
3754 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3756 * term/x-win.el (x-get-selection-value): New function that gets
3757 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3759 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3761 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3762 preserve owner and group when editing files. (Bug#7289)
3764 2010-10-31 Glenn Morris <rgm@gnu.org>
3766 * speedbar.el (speedbar-mode):
3767 * play/fortune.el (fortune-in-buffer, fortune):
3768 * play/gomoku.el (gomoku-mode):
3769 * play/landmark.el (lm-mode):
3770 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3771 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3773 * select.el (x-selection): Mark it as an obsolete alias.
3775 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3777 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3778 major-mode (bug#7284).
3780 2010-10-31 Glenn Morris <rgm@gnu.org>
3782 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3783 rather than just an unused variable that inherits from the real one.
3785 2010-10-31 Alan Mackenzie <acm@muc.de>
3787 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3788 This fixes bug #7185.
3790 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3792 * startup.el (command-line): Search for package directories, and
3793 don't load package.el if none are found.
3795 * emacs-lisp/package.el (describe-package, list-packages):
3796 Call package-initialize if it has not been called yet.
3798 2010-10-30 Alan Mackenzie <acm@muc.de>
3800 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3801 which fontifies the tail of an enum.
3802 (c-basic-matchers-after): Insert a call to the above new function.
3803 This fixes bug #7264.
3805 2010-10-30 Glenn Morris <rgm@gnu.org>
3807 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3808 tool-bar-mode, transient-mark-mode. (Bug#7306)
3809 Include the :set property in the dumped Emacs.
3811 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3813 SMIE: change indent rules format, improve smie-setup.
3814 * emacs-lisp/smie.el (smie-precs-precedence-table)
3815 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3816 Mark them pure so the tables gets built at compile time.
3817 (smie-bnf-precedence-table): Store the closer-alist in the table.
3818 (smie-prec2-levels): Preserve the closer-alist.
3819 (smie-blink-matching-open): Be more forgiving in case of indentation.
3820 (smie-hanging-p): Rename from smie-indent--hanging-p.
3821 (smie-bolp): Rename from smie-indent--bolp.
3822 (smie--parent, smie--after): New dynamic vars.
3823 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3824 (smie-indent-rules): Remove.
3825 (smie-indent--offset-rule): Remove fun.
3826 (smie-rules-function): New var.
3827 (smie-indent--rule): New fun.
3828 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3829 (smie-indent-exps): Use it.
3830 (smie-setup): Setup paren blinking; add keyword args for token
3831 functions; extract closer-alist from op-levels.
3832 (smie-indent-debug-log): Remove var.
3833 (smie-indent-debug): Remove fun.
3834 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3835 (prolog-smie-rules): New fun to replace it.
3836 (prolog-mode-variables): Simplify.
3837 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3838 it's setup automatically.
3839 (octave-smie-indent-rules): Remove.
3840 (octave-smie-rules): New fun to replace it.
3841 (octave-mode): Simplify.
3843 2010-10-29 Glenn Morris <rgm@gnu.org>
3845 * files.el (temporary-file-directory): Remove (already defined in C).
3846 * cus-start.el: Add temporary-file-directory.
3848 * abbrev.el (abbrev-mode):
3849 * composite.el (auto-composition-mode):
3850 * menu-bar.el (menu-bar-mode):
3851 * simple.el (transient-mark-mode):
3852 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3853 that they do not define the associated variables twice.
3854 * simple.el (transient-mark-mode): Remove defvar.
3855 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3856 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3857 Handle multiple groups, and also custom-delayed-init-variables.
3858 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3860 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3863 (pcase-if): Add one minor optimization.
3864 (pcase-split-equal): Rename from pcase-split-eq.
3865 (pcase-split-member): Rename from pcase-split-memq.
3866 (pcase-u1): Add strings to the member optimization.
3867 Add `guard' variant of predicates.
3868 (pcase-q1): Add string patterns.
3870 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3872 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3874 2010-10-28 Glenn Morris <rgm@gnu.org>
3876 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3877 Move menu-bar related settings to ../menu-bar.el.
3878 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3879 Move ns-specific settings here from term/ns-win.el.
3881 * simple.el (x-selection-owner-p): Remove unused declaration.
3883 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3885 * minibuffer.el (completion-cycling): New var (bug#7266).
3886 (minibuffer-complete, completion--do-completion):
3887 Use completion--flush-all-sorted-completions.
3888 (minibuffer-complete): Only cycle if completion-cycling is set.
3889 (completion--flush-all-sorted-completions): Unset completion-cycling.
3890 (minibuffer-force-complete): Set completion-cycling.
3891 (completion-all-sorted-completions): Move declaration before first use.
3893 2010-10-28 Leo <sdl.web@gmail.com>
3895 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3896 which changes the order of matches seen by users (bug#7231).
3898 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3900 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3901 Don't confuse -omega as "-o mega".
3903 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3905 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3906 (log-edit-author): New dynamic var.
3907 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3908 to return the author if different from committer.
3909 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3911 * play/landmark.el: Adjust commenting convention.
3912 (lm-nil-score): Rename from nil-score.
3913 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3914 (OOOOscore): Move into a let in lm-score-trans-table.
3915 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3917 * electric.el (electric-indent-chars): Autoload.
3918 * progmodes/octave-mod.el (octave-mode):
3919 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3920 (ruby-mode-abbrev-table): Merge initialization and declaration.
3922 2010-10-27 Glenn Morris <rgm@gnu.org>
3924 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3927 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3929 * term/ns-win.el: Restore require of cl when compiling.
3930 (menu-bar-final-items): Remove non-existent `windows' menu.
3931 (ns-handle-nxopen): Optionally handle the temp-case.
3932 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3933 (ns-insert-file, ns-find-file): Use `pop'.
3935 2010-10-26 Glenn Morris <rgm@gnu.org>
3937 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3939 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3941 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3943 * term/common-win.el (x-setup-function-keys): Remove most of the
3944 keymappings. Comment on the remaining ones.
3946 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3948 * server.el (server-port): New option. (Bug#854)
3949 (server-start): Use server-port.
3951 2010-10-26 Glenn Morris <rgm@gnu.org>
3953 * term/ns-win.el (ns-version-string): Remove unused declaration.
3954 (ns-invocation-args): Change to x-invocation-args.
3955 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3956 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3957 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3958 Use x-invocation-args instead of ns-invocation-args.
3959 (ns-initialize-window-system, handle-args-function-alist):
3960 Use x-handle-args instead of ns-handle-args.
3961 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3962 * startup.el (command-line-ns-option-alist): Replace
3963 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3964 ns-handle-iconic with the x- equivalents.
3966 * term/common-win.el (x-select-enable-clipboard):
3967 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3969 * term/ns-win.el: No need to require cl when compiling.
3970 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3971 (xw-defined-colors): Use the common-win definitions.
3972 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3973 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3974 * term/common-win.el (x-select-text, x-alternatives-map)
3975 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3976 * loadup.el [ns]: Load common-win.
3978 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3980 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3981 recipients; expand mail aliases (Bug#7280).
3983 2010-10-25 Glenn Morris <rgm@gnu.org>
3985 * term/common-win.el (x-handle-switch): Simplify with pop.
3986 Optionally handle numeric switches.
3987 (x-handle-numeric-switch): Just call x-handle-switch.
3988 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3989 (x-handle-name-switch, x-handle-display, x-handle-args):
3992 * term/ns-win.el: Do not require easymenu.
3993 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3994 <spell>: Move adjustments to menu-bar.el.
3995 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3996 <separator-undo, spell>: Move ns-win's adjustments here.
3997 * loadup.el [ns]: Do not load easymenu.
3999 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4001 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4004 * startup.el (fancy-startup-tail): Instead of using inline images,
4005 refer to image files from etc/.
4007 * wid-edit.el (checkbox): Likewise.
4008 (widget-image-find): Center image specs.
4010 2010-10-24 Glenn Morris <rgm@gnu.org>
4012 * term/ns-win.el (x-select-text): Doc fix.
4013 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4014 (x-select-text): Move to term/common-win.
4015 * term/w32-win.el (xw-defined-colors): Move to common-win.
4016 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4017 (x-setup-function-keys, x-select-text): Move to common-win.
4018 * term/common-win.el (x-select-text, x-alternatives-map)
4019 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4022 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4024 * net/mairix.el (mairix-searches-mode-map):
4025 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4027 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4029 * verilog-mode.el (verilog-directive-re): Make this variable
4030 auto-built for efficiency of execution and updating.
4031 (verilog-extended-complete-re): Support 'pure' fucntion & task
4032 declarations (these have no bodies).
4033 (verilog-beg-of-statement): General cleanup to enable support of
4034 'pure' fucntion & task declarations (these have no bodies).
4035 These efforts together fix Verilog bug210 from veripool; which was also
4036 noticed by Steve Pearlmutter.
4037 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4038 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4039 Support `elsif. Reported by Shankar Giri.
4040 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4041 attribute handling for lining up declarations and assignments.
4042 (verilog-beg-of-statement-1): Fix issue where continued declaration
4043 is indented differently if it is after a begin..end clock.
4044 (verilog-in-attribute-p, verilog-skip-backward-comments)
4045 (verilog-skip-forward-comment-p): Support proper treatment of
4046 attributes by indent code. Reported by Jeff Steele.
4047 (verilog-in-directive-p): Fix comment to correctly describe function.
4048 (verilog-backward-up-list, verilog-in-struct-region-p)
4049 (verilog-backward-token, verilog-in-struct-p)
4050 (verilog-in-coverage-p, verilog-do-indent)
4051 (verilog-pretty-declarations): Use verilog-backward-up-list as
4052 wrapper around backward-up-list inorder to properly skip comments.
4053 Reported by David Rogoff.
4054 (verilog-property-re, verilog-endcomment-reason-re)
4055 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4056 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4057 of if). Reported by Max Bjurling and
4058 (verilog-calc-1): Fix for clocking block in modport
4059 declaration. Reported by Brian Hunter.
4061 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4063 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4064 (verilog-gate-keywords, verilog-read-sub-decls)
4065 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4066 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4067 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4068 (verilog-read-decls): Fix spaces in V2K module parameters causing
4069 mis-identification as interfaces, bug287.
4070 (verilog-read-decls): Fix not treating "parameter string" as a
4071 parameter in AUTOINSTPARAM.
4072 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4073 treating `elsif similar to `endif inside AUTOSENSE.
4074 (verilog-do-indent): Implement correct automatic or static task or
4075 function end comment highlight. Reported by Steve Pearlmutter.
4076 (verilog-font-lock-keywords-2): Fix highlighting of single
4077 character pins, bug264. Reported by Michael Laajanen.
4078 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4079 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4080 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4081 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4082 (verilog-pretty-expr): Fix interactive arguments, bug272.
4083 Reported by Mark Johnson.
4084 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4085 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4086 bug269. Suggested by Gary Delp.
4087 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4088 (verilog-preprocessor, verilog-set-compile-command):
4089 Create verilog-preprocess and verilog-preprocessor to show
4090 preprocessed output.
4091 (verilog-get-beg-of-line, verilog-get-end-of-line)
4092 (verilog-modi-file-or-buffer, verilog-modi-name)
4093 (verilog-modi-point, verilog-within-string): Move defmacro's
4094 before first use to avoid warning. Reported by Steve Pearlmutter.
4095 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4096 (verilog-colorize-region, verilog-highlight-buffer)
4097 (verilog-highlight-includes, verilog-highlight-modules)
4098 (verilog-highlight-region, verilog-mode): Rename colorize to
4099 highlight to match other packages. Disable module highlighting,
4100 as received speed complaints, reenable for experimentation only
4101 using new verilog-highlight-modules.
4102 (verilog-read-decls): Fix regexp stack overflow in very large
4103 AUTO_TEMPLATEs, bug250.
4104 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4105 (verilog-scan): Create verilog-save-buffer-state to standardize
4106 making insignificant changes that shouldn't call hooks.
4107 (verilog-save-no-change-functions, verilog-save-scan-cache)
4108 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4109 Create verilog-save-no-change-functions to wrap verilog-scan
4110 preservation, and fix to work with nested preserved calls.
4111 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4112 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4113 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4114 (verilog-submit-bug-report): Update variable list to be complete.
4115 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4116 breaking on-the-fly font-locking.
4117 (verilog-colorize-buffer, verilog-colorize-include-files)
4118 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4119 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4120 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4121 AUTOINST cell instance name, middle mouse button now finds-file on
4122 it. Suggested by Brad Dobbie.
4123 (verilog-alw-get-temps, verilog-auto-reset)
4124 (verilog-auto-sense-sigs, verilog-read-always-signals)
4125 (verilog-read-always-signals-recurse): Fix loop indexes being
4126 AUTORESET. AUTORESET now assumes any variables in the
4127 initialization section of a for() should be ignored.
4128 Reported by Dan Dever.
4129 (verilog-error-font-lock-keywords)
4130 (verilog-error-regexp-emacs-alist)
4131 (verilog-error-regexp-xemacs-alist): Fix error detection of
4132 Cadence HAL, reported by David Asher. Repair drift between the
4133 three similar error variables.
4134 (verilog-modi-lookup, verilog-modi-lookup-cache)
4135 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4136 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4137 Fix slow verilog-auto expansion on very large files.
4138 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4139 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4140 "{1*2{...". Broke in last revision.
4141 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4142 submodule connections with replications "{#{a},#{b}}".
4144 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4146 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4147 Fix typo in docstring.
4149 2010-10-24 Kenichi Handa <handa@m17n.org>
4151 * face-remap.el (text-scale-adjust): Call read-event with a proper
4154 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4156 * emacs-lisp/unsafep.el: Don't mark functions that display
4157 messages as safe. Suggested by Johan Bockgård.
4159 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4161 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4162 Turn comments into docstrings.
4164 * minibuffer.el (completion--replace): Move point where it belongs
4165 when there's a common suffix (bug#7215).
4167 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4169 Merge read-color and facemenu-read-color (Bug#7242).
4171 * faces.el (read-color): Use the completion code from
4172 facemenu-read-color. Require match in completion. Doc fix.
4174 * facemenu.el (facemenu-read-color): Alias for read-color.
4175 (facemenu-set-foreground, facemenu-set-background):
4178 * frame.el (set-background-color, set-foreground-color)
4179 (set-cursor-color, set-mouse-color, set-border-color):
4182 2010-10-24 Leo <sdl.web@gmail.com>
4184 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4185 argument of delete-file and delete-directory (Bug#7011).
4187 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4189 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4192 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4194 * emacs-lisp/package.el (package--generate-package-list): Make the
4195 *Packages* buffer read-only.
4197 2010-10-24 Alan Mackenzie <acm@muc.de>
4199 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4200 result of `c-beginning-of-decl-1' between invocations of a lambda
4201 function (Bug #7265).
4203 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4205 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4206 executable is not available on the system (Bug#7268).
4208 2010-10-24 Glenn Morris <rgm@gnu.org>
4210 * select.el (selection-coding-system, next-selection-coding-system):
4211 Sync doc with C versions.
4213 * w32-vars.el (x-select-enable-clipboard):
4214 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4215 * term/common-win.el (x-select-enable-clipboard): Move here.
4217 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4218 definition of C variable.
4220 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4221 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4222 Don't redefine things that are defined in C.
4223 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4224 (show-trailing-whitespace, auto-hscroll-mode)
4225 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4226 Set up the appropriate custom properties.
4228 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4231 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4232 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4233 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4234 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4236 2010-10-23 Glenn Morris <rgm@gnu.org>
4238 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4241 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4242 Sync docs with C version.
4244 * term/ns-win.el (xw-defined-colors):
4245 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4247 * term/pc-win.el (x-select-enable-clipboard):
4248 * term/x-win.el (x-select-enable-clipboard):
4249 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4251 * comint.el (comint-password-prompt-regexp): Make it less vague.
4254 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4256 * help.el (finder-by-keyword): Remove unnecessary autoload.
4258 2010-10-22 Glenn Morris <rgm@gnu.org>
4260 * loadup.el: Unconditionally load float-sup.
4261 * paren.el (show-paren-delay):
4262 * emacs-lisp/float-sup.el:
4263 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4264 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4265 (lazy-lock-stealth-verbose): Assume float support.
4266 * ps-print.el: Assume float support on Emacs.
4267 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4268 Remove non-float branch.
4270 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4271 src/Makefile no longer being pre-processed.
4273 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4275 * emacs-lisp/find-func.el (find-library): Use test-completion.
4277 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4279 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4281 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4283 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4284 space in stat format string.
4285 (tramp-send-command): Unset $PS1 when using here documents, in
4286 order not to get several prompts.
4287 (tramp-get-inline-coding): Return `nil' in case of errors.
4289 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4291 * hexl.el (hexl-mode, hexl-mode-exit):
4292 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4293 (hexl-revert-buffer-function): New function.
4294 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4296 2010-10-19 Alan Mackenzie <acm@muc.de>
4298 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4299 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4300 that these keywords aren't wrongly matched as identifiers.
4302 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4303 setting of c-new-BEG and c-new-END from c-before-change to
4304 c-after-change. (Bug#7181)
4306 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4308 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4311 * custom.el (custom-theme-set-variables): Likewise.
4312 (load-theme): Add custom-theme-set-faces and
4313 custom-theme-set-variables to safe-functions while loading.
4314 (custom-enabled-themes): Mark as risky.
4316 2010-10-18 Julien Danjou <julien@danjou.info>
4318 * bindings.el: Remove end dashes in default mode-line-format.
4320 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4322 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4323 to delete-forward-char.
4325 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4326 deletechar, and hence delete-forward-char.
4328 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4330 * repeat.el (repeat): Use read-key (bug#6256).
4332 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4334 * emacs-lisp/unsafep.el: Don't mark functions that display
4335 messages as safe. Suggested by Johan Bockgård.
4337 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4339 * minibuffer.el (completion--replace): Move point where it belongs
4340 when there's a common suffix (bug#7215).
4342 2010-10-19 Kenichi Handa <handa@m17n.org>
4344 * international/characters.el: Add category '|' (word breakable)
4345 to fullwidth characters.
4347 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4349 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4350 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4351 order to make stat results a float. Patch by Andreas Schwab
4352 <schwab@linux-m68k.org>.
4354 2010-10-18 Julien Danjou <julien@danjou.info>
4356 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4357 hidden by `make-pointer-invisible'.
4359 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4361 * files.el (locate-file-completion-table): Strip non-matching elements
4362 before checking length of list (bug#7238).
4364 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4366 * custom.el (custom-theme-set-variables): Mark as a safe function.
4367 (load-theme): Check forms using unsafep.
4369 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4371 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4373 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4374 Fix aspell data file searching (bug#7230).
4376 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4378 * cus-theme.el (custom-theme--migrate-settings): New var.
4379 (customize-create-theme): Allow editing the `user' theme.
4380 (custom-theme-add-variable, custom-theme-add-var-1)
4381 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4382 to the front of each variable or face widget.
4383 (custom-theme-write): Save theme settings in the correct order.
4384 Optionally, remove saved settings from user customizations.
4385 (custom-theme-write-variables, custom-theme-write-faces):
4386 Save only the checked widgets.
4387 (customize-themes): Add a link for migrating custom settings.
4389 * custom.el (custom-declare-theme, provide-theme):
4390 Use custom-theme-name-valid-p.
4391 (custom-theme-name-valid-p): Remove checks that are now
4392 unnecessary since themes no longer obey load-path.
4394 * cus-edit.el (custom-variable-value-create): For the simple
4395 style, hide documentation string when hidden.
4397 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4399 * cus-edit.el (custom-variable, custom-face): Combine the
4400 :inhibit-magic and :display-style properties into a single
4401 :custom-style property.
4402 (custom-toggle-hide-variable, custom-toggle-hide-face):
4403 New functions. If hiding an edited value, save it to :shown-value.
4404 (custom-variable-value-create, custom-face-value-create): Use them.
4405 (custom-magic-reset): Allow magic property to be unset.
4407 * custom.el: Custom themes no longer use load-path.
4408 (custom-theme-load-path): New option. Change built-in theme
4410 (custom-enabled-themes): Add custom-theme-load-path dependency.
4411 (custom-theme--load-path): New function.
4412 (load-theme, custom-available-themes): Use it.
4414 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4415 (customize-themes): Link to custom-theme-load-path variable.
4416 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4417 :custom-style property.
4419 * themes/*.el: Moved to etc/.
4421 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4423 * textmodes/reftex-cite.el
4424 (reftex-extract-bib-entries-from-thebibliography): Do not move
4425 point when searching for \bibitem entries. Match entries with
4426 spaces or tabs in front of arguments.
4428 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4430 * cus-theme.el (customize-create-theme): Delete overlays after
4431 erasing. If given a THEME arg, display only the faces of that arg
4432 instead of custom-theme--listed-faces.
4433 (custom-theme-variable-menu, custom-theme-variable-action)
4434 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4435 (custom-theme-add-variable, custom-theme-add-face): Apply value
4436 from the theme settings, instead of the current value.
4437 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4438 (custom-theme-visit-theme): Allow calling outside theme buffers.
4439 (custom-theme-merge-theme): Don't enable the theme when merging.
4440 (custom-theme-write-variables, custom-theme-write-faces): Use the
4441 :shown-value properties to save buffer values, not global ones.
4442 (customize-themes): Display a warning about user customizations.
4444 * cus-edit.el (custom-variable-value-create)
4445 (custom-face-value-create): Obey new special properties
4446 :shown-value and :inhibit-magic.
4448 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4450 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4451 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4454 2010-10-14 Kenichi Handa <handa@m17n.org>
4456 * mail/rmail.el (rmail-show-message-1): Catch an error of
4457 base64-decode-region and just show an error message (bug#7165).
4459 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4460 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4461 a font-spec (bug#7197).
4463 2010-10-14 Glenn Morris <rgm@gnu.org>
4465 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4467 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4469 * international/mule.el (define-coding-system):
4470 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4471 * composite.el (compose-region): Fix typo in docstring.
4473 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4475 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4476 only after checking the theme-face property.
4478 * faces.el (face-spec-reset-face): Reset all attributes in one
4479 single call to set-face-attribute.
4480 (face-spec-match-p): Make it a defsubst.
4481 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4482 (x-create-frame-with-faces, tty-create-frame-with-faces)
4483 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4484 frame-set-background-mode, since they are recomputed immediately
4485 afterwards in face-set-after-frame-default.
4486 (face-set-after-frame-default): Minor optimization.
4487 (cursor): Provide non-trivial defface spec.
4489 * custom.el (custom-theme-recalc-face): Simplify.
4491 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4493 * calc/calc-alg.el (math-var): Rename from `var'.
4494 (math-is-polynomial, math-is-poly-rec): Replace `var'
4497 * calc/calcalg2.el (math-var): Rename from `var'.
4498 (calcFunc-table, math-scan-for-limits): Replace `var'
4501 2010-10-13 Glenn Morris <rgm@gnu.org>
4503 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4505 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4507 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4509 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4511 * net/tls.el (tls-program): Remove spurious %s from openssl.
4512 (tls-starttls-switches): Remove starttls hack.
4513 (open-tls-stream): Ditto.
4514 (tls-find-starttls-argument): Ditto.
4516 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4518 * image.el (image-library-alist): Declare as obsolete alias.
4519 (image-type-available-p): Use `dynamic-library-alist'.
4521 * term/w32-win.el (dynamic-library-alist):
4522 Use instead of `image-library-alist'.
4524 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4526 * subr.el (last): Make it faster. (Bug#7174)
4528 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4530 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4532 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4534 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4535 (describe-theme-1): Extract doc from unloaded themes.
4537 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4539 * themes/tango-theme.el:
4540 * themes/tango-dark-theme.el:
4541 * themes/wheatgrass-theme.el: New files.
4543 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4545 * cus-theme.el (describe-theme, customize-themes)
4546 (custom-theme-save): New commands.
4547 (custom-new-theme-mode-map): Bind C-x C-s.
4548 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4549 (customize-create-theme): New optional arg THEME.
4550 (custom-theme-revert): Use it.
4551 (custom-theme-visit-theme): Remove dead code.
4552 (custom-theme-merge-theme): Use custom-available-themes.
4553 (custom-theme-write): Make interactive.
4554 (custom-theme-write): Use custom-theme-name-valid-p.
4555 (describe-theme-1, custom-theme-choose-revert)
4556 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4558 (custom-theme-allow-multiple-selections): New option.
4559 (custom-theme-choose-mode): New major mode.
4561 * custom.el (custom-theme-set-variables): Remove dead code.
4562 Obey custom--inhibit-theme-enable.
4563 (custom--inhibit-theme-enable): New var.
4564 (provide-theme): Obey it.
4565 (load-theme): Replace load with manual read/eval, in order to
4566 check for correctness. Use custom-theme-name-valid-p.
4567 (custom-theme-name-valid-p): New function.
4568 (custom-available-themes): Use it.
4570 * cus-edit.el (custom--initialize-widget-variables): New function.
4571 (Custom-mode): Use it.
4573 * cus-face.el (custom-theme-set-faces): Remove dead code.
4574 Obey custom--inhibit-theme-enable.
4576 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4578 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4580 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4582 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4584 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4585 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4586 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4588 * cus-start.el (all): ns-right-alternate-modifier is new.
4590 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4592 * emacs-lisp/lisp.el (lisp-completion-at-point):
4593 Use emacs-lisp-mode-syntax-table for the whole function.
4595 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4597 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4598 instead of font-lock-mode before adding keywords.
4599 Remove hi-lock-mode off code. Remove inhibit hack.
4600 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4601 non-nil; removed hook inhibit hack.
4603 2010-10-12 Glenn Morris <rgm@gnu.org>
4605 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4606 (load-path-shadows-find): ... to this.
4607 (list-load-path-shadows): Update for above change.
4609 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4611 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4613 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4614 Fix comment for declare-function.
4616 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4618 * custom.el (custom-fix-face-spec): New function; code moved from
4619 custom-face-edit-fix-value.
4620 (custom-push-theme): Use it when checking if a face has been
4621 changed outside customize.
4622 (custom-available-themes): New function.
4623 (load-theme): Use it.
4625 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4627 * custom.el (custom-push-theme): Cleanup (use cond).
4628 (disable-theme): Recompute the saved-face property.
4629 (custom-theme-recalc-face): Follow face alias before setting prop.
4631 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4632 New variables, containing checkbox images.
4634 * startup.el (fancy-startup-tail):
4635 * wid-edit.el (checkbox): Use them.
4637 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4639 * shell.el (shell-mode-map):
4640 * progmodes/modula2.el (m2-mode-map):
4641 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4642 * play/mpuz.el (mpuz-mode-map):
4643 * play/landmark.el (lm-mode-map):
4644 * play/decipher.el (decipher-mode-map):
4645 * play/5x5.el (5x5-mode-map):
4646 * net/telnet.el (telnet-mode-map):
4647 * net/quickurl.el (quickurl-list-mode-map):
4648 * net/mairix.el (mairix-searches-mode-map):
4649 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4650 * net/dig.el (dig-mode-map):
4651 * mail/mspools.el (mspools-mode-map):
4652 * hexl.el (hexl-mode-map):
4653 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4654 (wordstar-C-o-map, wordstar-C-q-map):
4655 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4656 * emacs-lisp/chart.el (chart-map):
4657 * edmacro.el (edmacro-mode-map):
4658 * erc/erc-list.el (erc-list-menu-mode-map):
4659 * array.el (array-mode-map): Declare and define in one step.
4661 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4663 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4665 * epa.el (epa-passphrase-callback-function): Display filename
4666 passed as the 3rd arg.
4667 * epa-file.el (epa-file-passphrase-callback-function):
4668 Pass filename to epa-passphrase-callback-function.
4670 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4672 * cus-edit.el (custom-face-widget-to-spec)
4673 (custom-face-get-current-spec, custom-face-state): New functions.
4674 (custom-face-set, custom-face-mark-to-save)
4675 (custom-face-value-create, custom-face-state-set): Use them.
4677 * cus-theme.el (custom-theme--listed-faces): New var.
4678 (customize-create-theme): Use *Custom Theme* as the buffer name.
4679 Set revert-buffer-function. Optional arg BUFFER. Insert all
4680 faces listed in custom-theme--listed-faces.
4681 (custom-theme-revert): New function.
4682 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4684 (custom-theme-write): Prompt for theme name if empty.
4685 (custom-theme-write-variables): Use dolist.
4686 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4688 2010-10-09 Alan Mackenzie <acm@muc.de>
4690 Enhance fontification of declarators to take account of the
4691 presence/absence of "typedef".
4693 * cc-engine.el (c-forward-type): New &optional param
4695 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4696 presence of either or both of a "struct"-like keyword and "typedef".
4698 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4699 fontification of declarators which follow a "}".
4700 (c-font-lock-declarations): Fontify declarators according to the
4701 presence/absence of "typedef".
4703 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4705 (c-typedef-decl-key): New lang variable built from
4706 c-typedef-decl-kwds.
4708 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4710 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4711 since that's too annoying. Move the filter groups commands to
4714 * epa.el (epa-passphrase-callback-function): Say what we're
4715 querying the password for.
4717 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4718 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4720 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4722 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4723 (custom-magic-value-create): Pad button tags with spaces.
4724 (custom-face-edit): New variable.
4725 (custom-face-value-create): Determine whether to use the usual
4726 face editor here, instead of using custom-face-selected.
4727 Pass face defaults to custom-face-edit widget.
4728 (custom-face-selected, custom-display-unselected): Delete widgets.
4729 (custom-display-unselected-match): Function removed.
4730 (custom-face-set, custom-face-mark-to-save):
4731 Accept custom-face-edit widgets as the direct widget child.
4733 * wid-edit.el (widget--completing-widget): New var.
4734 (widget-default-complete): Bind it when doing completion.
4735 (widget-string-complete, widget-file-complete): Use it.
4737 2010-10-09 Glenn Morris <rgm@gnu.org>
4739 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4740 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4741 (holiday-hebrew-misc): Small simplifications.
4743 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4745 * net/browse-url.el: Don't require thingatpt, term, dired,
4746 executable, or w3-auto when compiling.
4747 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4749 (browse-url-text-emacs): Require term.
4751 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4753 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4755 2010-10-08 Glenn Morris <rgm@gnu.org>
4757 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4759 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4760 (shadows-compare-text-p): Make it an obsolete alias for...
4761 (load-path-shadows-compare-text): ... new name.
4762 (find-emacs-lisp-shadows): Update for above name change.
4763 (load-path-shadows-same-file-or-nonexistent): New name for the old
4764 shadow-same-file-or-nonexistent.
4766 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4768 * minibuffer.el (completion--some, completion--do-completion)
4769 (minibuffer-complete-and-exit, minibuffer-completion-help)
4770 (completion-basic-try-completion)
4771 (completion-basic-all-completions)
4772 (completion-pcm--find-all-completions): Use lexical-let to
4773 avoid some false matches in variable completion (Bug#7056)
4775 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4777 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4779 2010-10-08 Leo <sdl.web@gmail.com>
4781 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4782 return non-nil if the file exists (Bug#7090).
4784 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4786 * minibuffer.el (completion--replace):
4787 Better preserve markers (bug#7138).
4789 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4791 * server.el (server-process-filter): Doc fix.
4793 2010-10-08 Drew Adams <drew.adams@oracle.com>
4795 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4797 2010-10-08 Glenn Morris <rgm@gnu.org>
4799 * vc/ediff-wind.el (ediff-setup-control-frame):
4800 * vc/ediff-ptch.el (ediff-default-backup-extension):
4801 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4802 (ediff-exec-process): Remove system-types emx, windows-95.
4804 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4806 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4808 * cus-edit.el (custom-variable, custom-face): Doc fix.
4809 (custom-face-edit): Add value-create attribute.
4810 (custom-face-edit-value-create)
4811 (custom-face-edit-value-visibility-action): New functions.
4812 Hide unused face attributes by default, and add a visibility toggle.
4813 (custom-face-edit-deactivate): Show empty values with shadow face.
4814 (custom-face-selected): Only use this for face specs with default
4816 (custom-face-value-create): Cleanup.
4818 * wid-edit.el (widget-checklist-value-create): Use dolist.
4819 (widget-checklist-match-find): Make second arg optional.
4821 2010-10-07 Glenn Morris <rgm@gnu.org>
4823 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4826 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4827 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4828 load-path-shadows-mode, update references.
4829 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4830 Rename variable and button.
4831 (list-load-path-shadows): Update button caller.
4833 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4835 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4836 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4837 (smie-merge-prec2s): Handle those new entries.
4838 (smie-prec2-levels): Only set precedence to nil for actual
4840 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4841 that is now unnecessary.
4843 2010-10-07 Miles Bader <miles@gnu.org>
4845 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4847 2010-10-07 Glenn Morris <rgm@gnu.org>
4849 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4850 (mail-position-on-field): Remove declarations.
4851 (mail-position-on-field): Autoload it.
4852 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4853 and mail-header-end. Don't require sendmail.
4855 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4856 (shadow-mode): New mode.
4857 (shadow-find-file): New button.
4858 (list-load-path-shadows): Use shadow-mode and buttons.
4860 * iimage.el (iimage-version): Remove.
4861 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4862 Turn into defcustoms.
4863 (iimage-mode-map): Give it a doc string.
4865 * calendar/appt.el (appt-activate): Give a warning rather than an error
4866 if there is no diary-file.
4868 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4870 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4871 Use `tramp-handle-find-backup-file-name'.
4873 2010-10-06 Glenn Morris <rgm@gnu.org>
4875 * font-core.el (font-lock-defaults-alist): Remove variable.
4876 (font-lock-mode): Doc fix.
4877 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4878 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4879 (font-lock-set-defaults): Doc fix.
4880 Do not consult font-lock-defaults-alist.
4882 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4884 * emacs-lisp/cl.el: No longer provide cl-19.
4886 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4888 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4889 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4890 New defuns, taken from tramp-smb.el.
4891 (tramp-coding-system-change-eol-conversion)
4892 (tramp-set-process-query-on-exit-flag): Remove.
4894 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4895 (tramp-compat-coding-system-change-eol-conversion)
4896 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4899 * net/tramp-gvfs.el:
4900 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4901 by `tramp-compat-set-process-query-on-exit-flag'.
4903 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4904 Use `tramp-handle-directory-files-and-attributes',
4905 `tramp-handle-file-exists-p' and
4906 `tramp-handle-file-newer-than-file-p'.
4907 (tramp-imap-handle-file-exists-p)
4908 (tramp-imap-handle-file-executable-p)
4909 (tramp-imap-handle-file-readable-p)
4910 (tramp-imap-handle-directory-files-and-attributes)
4911 (tramp-imap-handle-file-newer-than-file-p): Remove.
4913 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4914 by `tramp-compat-set-process-query-on-exit-flag' and
4915 `tramp-coding-system-change-eol-conversion' by
4916 `tramp-compat-coding-system-change-eol-conversion'.
4918 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4919 Use `tramp-handle-directory-files-and-attributes',
4920 `tramp-handle-file-exists-p' and
4921 `tramp-handle-file-newer-than-file-p'.
4922 (tramp-smb-handle-directory-files-and-attributes)
4923 (tramp-smb-handle-file-exists-p)
4924 (tramp-smb-handle-file-newer-than-file-p): Remove.
4925 (tramp-smb-maybe-open-connection):
4926 Replace `tramp-set-process-query-on-exit-flag' by
4927 `tramp-compat-set-process-query-on-exit-flag'.
4929 2010-10-05 Glenn Morris <rgm@gnu.org>
4931 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4933 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4935 Continue reorganization of load dependencies. (Bug#7156)
4937 * net/tramp.el (tramp-handle-file-local-copy-hook)
4938 (tramp-delete-temp-file-function): Move down.
4939 (tramp-exists-file-name-handler): Move up.
4940 (tramp-register-file-name-handlers): Simplify autoload.
4941 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4942 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4943 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4944 (tramp-handle-file-name-completion)
4945 (tramp-handle-file-name-directory)
4946 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4947 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4948 (tramp-handle-find-backup-file-name)
4949 (tramp-handle-insert-file-contents, tramp-handle-load)
4950 (tramp-handle-substitute-in-file-name)
4951 (tramp-handle-unhandled-file-name-directory)
4952 (tramp-mode-string-to-int, tramp-local-host-p)
4953 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4955 * net/tramp-gvfs.el (top):
4956 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4958 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4959 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4961 2010-10-04 Glenn Morris <rgm@gnu.org>
4963 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4964 (appt-activate): Give status messages.
4966 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4968 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4969 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4970 `gnutls-negotiate' (formerly `starttls-negotiate').
4971 Remove trivial wrapper `starttls-open-stream'.
4973 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4975 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4976 log-outgoing commands.
4977 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4978 to create a buffer local revert-buffer-function variable.
4979 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4980 revert-buffer-function lambda.
4982 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4984 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4985 `gnutls-boot'. Make TYPE the only required parameter.
4986 Allow TRUSTFILES and KEYFILES to be lists.
4987 (open-ssl-stream): Use it.
4989 2010-10-03 Glenn Morris <rgm@gnu.org>
4991 * subr.el (directory-sep-char): Remove obsolete variable.
4992 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4995 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4996 * vc/vc.el (vc-static-header-alist): Doc fix.
4997 * vc/vc-cvs.el (vc-cvs-header):
4998 * vc/vc-rcs.el (vc-rcs-header):
4999 * vc/vc-sccs.el (vc-sccs-header):
5000 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5001 * obsolete/vc-mcvs.el (vc-mcvs-header):
5002 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5005 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5007 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5008 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5010 2010-10-03 Glenn Morris <rgm@gnu.org>
5012 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5014 * textmodes/rst.el (rst-font-lock-keywords-function):
5017 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5019 * printing.el: Drop Emacs 20 code.
5021 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5022 without having used appt.el already).
5024 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5025 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5026 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5028 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5029 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5031 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5032 (charset-width, find-charset-region, chars-in-region, forward-point)
5033 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5034 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5035 Remove compatibility cruft (none of these are used by ps*.el).
5037 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5039 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5041 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5043 * server.el (server-process-filter, server-return-error):
5044 Give emacsclient time to shut down after receiving an error string.
5046 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5048 * files.el (remote-file-name-inhibit-cache): New defcustom.
5050 * time.el (display-time-file-nonempty-p):
5051 Use `remote-file-name-inhibit-cache'.
5053 * net/tramp.el (tramp-completion-reread-directory-timeout):
5056 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5057 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5058 `remote-file-name-inhibit-cache'. Check also for an integer
5059 value. Add/increase counter when `tramp-verbose' >= 10.
5060 (tramp-set-file-property): Add/increase counter when
5061 `tramp-verbose' >= 10.
5063 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5064 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5065 (tramp-bug): Set tramp-autoload cookie. Report all interned
5066 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5067 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5068 characters only in strings.
5070 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5071 to backward compatibility.
5073 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5074 (tramp-handle-file-name-all-completions)
5075 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5076 (tramp-open-connection-setup-interactive-shell):
5077 Call `tramp-cleanup-connection' directly.
5079 2010-10-02 Glenn Morris <rgm@gnu.org>
5081 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5083 * subr.el (char-bytes): Remove obsolete function.
5085 * isearch.el (isearch-return-char): Remove obsolete function.
5087 * mouse.el: No longer provide mldrag.
5088 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5089 Remove obsolete aliases.
5091 * comint.el (comint-kill-output): Remove obsolete alias.
5093 * composite.el (decompose-composite-char): Remove obsolete function.
5094 * ps-def.el (decompose-composite-char): Remove unused function.
5096 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5098 * outline.el (outline-visible): Remove obsolete function.
5100 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5101 * faces.el (internal-find-face, internal-get-face)
5102 (frame-update-faces, frame-update-face-colors)
5103 (x-frob-font-weight, x-frob-font-slant)
5104 (internal-frob-font-weight, internal-frob-font-slant)
5105 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5106 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5107 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5109 * emulation/viper-util.el (viper-get-face):
5110 * obsolete/lucid.el (find-face, get-face): Use facep.
5111 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5112 Remove unused functions.
5113 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5115 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5116 delete tempfile if interrupted during compilation.
5118 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5120 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5122 (tls-program): Add --insecure to be consistent with the defaults from
5123 openssl s_client. Now all three commands are insecure.
5125 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5127 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5128 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5129 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5131 2010-10-01 Glenn Morris <rgm@gnu.org>
5133 * obsolete/sc.el: Remove file.
5135 * files.el (temporary-file-directory): On darwin, also try
5136 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5138 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5140 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5141 Let's not break compatibility gratuitously, shall we?
5143 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5145 * net/tls.el (tls-starttls-switches): New variable.
5146 (tls-find-starttls-argument): Use it.
5147 (open-tls-stream): Ditto.
5149 * net/netrc.el (netrc-credentials): Return the value of the "default"
5151 (netrc-machine): Ditto.
5153 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5155 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5157 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5159 * server.el (server-start): Don't write pid to the authentication file.
5160 (server-create-tty-frame): Don't send pid.
5161 (server-process-filter): Send pid at the start of every connection.
5163 2010-09-30 Glenn Morris <rgm@gnu.org>
5165 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5166 (show-all-diary-entries): Remove obsolete function aliases.
5168 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5169 Remove options, obsolete since 22.1.
5170 (appt-display-format, appt-display-message):
5171 Remove backwards-compatibility code.
5172 (appt-check): No longer check appt-issue-message.
5173 (appt-make-list): No longer autoload it. Doc fix. No longer
5174 activate the package.
5176 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5178 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5179 (starttls-negotiate): Just call boot, and let the handshake be
5180 triggered from the read loop.
5182 2010-09-29 Glenn Morris <rgm@gnu.org>
5184 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5185 not displaying the diary.
5186 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5187 * calendar/appt.el (appt-check): No longer need to kill diary.
5189 * calendar/diary-lib.el (diary-list-entries): Move the
5190 "Preparing..." message entirely here.
5191 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5192 messages to diary-list-entries.
5193 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5194 diary-display-function.
5196 * calendar/diary-lib.el (diary-include-other-diary-files):
5197 Trap some recursive includes.
5199 * calendar/appt.el (appt-activate): Check diary file.
5201 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5203 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5206 * calendar/time-date.el: No need to require cl for Emacs 21.
5208 2010-09-28 Glenn Morris <rgm@gnu.org>
5210 * calendar/appt.el (appt-check): Minor simplification.
5212 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5214 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5217 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5219 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5220 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5222 2010-09-27 Kenichi Handa <handa@m17n.org>
5224 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5227 2010-09-27 Kenichi Handa <handa@m17n.org>
5229 * international/mule.el (define-coding-system): Docstring fixed.
5231 * international/mule-diag.el (describe-character-set): Use princ
5232 with proper print-length and print-level instead of insert.
5234 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5236 * window.el (walk-windows): Doc fix (bug#7105).
5238 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5240 * emacs-lisp/float-sup.el (e): Remove.
5242 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5244 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5246 (starttls-negotiate): Use it.
5248 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5250 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5253 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5255 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5257 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5259 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5261 * net/netrc.el (netrc-store-data): New function.
5263 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5265 * net/gnutls.el: GnuTLS glue code to set up a connection.
5267 2010-09-25 Julien Danjou <julien@danjou.info>
5269 * notifications.el: Call dbus-register-signal only if it is bound.
5271 2010-09-25 Glenn Morris <rgm@gnu.org>
5273 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5274 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5275 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5276 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5277 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5278 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5279 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5280 * eshell/esh-util.el, eshell/esh-var.el:
5281 Remove leading `*' from docs of faces and defcustoms.
5283 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5285 * eshell/em-ls.el (eshell-ls-archive-regexp):
5286 * eshell/esh-util.el (eshell-tar-regexp):
5287 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5288 * info.el (Info-suffix-list):
5289 * international/mule.el (auto-coding-alist):
5290 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5291 * progmodes/etags.el (tags-compression-info-list):
5292 Support xz compression.
5294 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5296 * files.el (get-free-disk-space): Don't assume the "df" output
5297 columns line up (Bug#6995).
5299 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5301 * finder.el (finder-unknown-keywords):
5302 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5303 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5305 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5307 * server.el (server-start): Revert part of 2010-08-08 change. Using
5308 address 127.0.0.1 for local host is now done in Fmake_network_process.
5310 2010-09-24 Glenn Morris <rgm@gnu.org>
5312 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5313 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5314 * textmodes/css-mode.el, textmodes/dns-mode.el:
5315 Move autoloaded auto-mode-alist entries to files.el.
5316 * files.el (auto-mode-alist): Move entries here.
5318 2010-09-23 Glenn Morris <rgm@gnu.org>
5320 * isearch.el (isearch-lazy-highlight-cleanup)
5321 (isearch-lazy-highlight-initial-delay)
5322 (isearch-lazy-highlight-interval)
5323 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5324 * net/net-utils.el (ipconfig-program-options):
5325 Move aliases to options before the associated definitions.
5327 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5329 * newcomment.el (comment-normalize-vars): Better test validity of
5332 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5334 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5335 (float-e): New name for `e'.
5336 (degrees-to-radians, radians-to-degrees):
5337 * calendar/solar.el (solar-longitude):
5338 * calculator.el (calculator-registers, calculator-funcall):
5339 * textmodes/artist.el (artist-spray-random-points):
5340 * play/bubbles.el (bubbles--initialize-images): Use new names.
5342 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5344 Update to CEDET 1.0's version of EIEIO.
5346 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5348 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5349 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5350 (class-precedence-list): If class is nil, return nil.
5351 (eieio-generic-call): If class of first input arg is nil, don't
5352 look up static methods, and do check for primary methods.
5353 (initialize-instance): See if the default needs to be evaluated
5354 during the constructor.
5355 (eieio-perform-slot-validation-for-default): Don't do the check
5356 for values that will eventually be evaluated.
5357 (eieio-eval-default-p): New function.
5358 (eieio-default-eval-maybe): Use it.
5360 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5362 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5363 method-invocation-order.
5364 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5365 (eieio-class-precedence-dfs): Compute class precedence list using
5367 (eieio-class-precedence-bfs): Compute class precedence list using
5369 (eieio-class-precedence-c3): Compute class precedence list using
5371 (class-precedence-list): New function.
5372 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5373 (inconsistent-class-hierarchy): New error symbol.
5374 (call-next-method): Stow the replacement argument list for future
5375 call-next-method invocations.
5377 2010-09-23 Glenn Morris <rgm@gnu.org>
5379 * calendar/appt.el (appt-check): If not displaying the diary,
5380 use (diary 1) to only get the entries we need.
5381 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5382 that it is in day order. (Bug#7019)
5384 * calendar/appt.el (appt-check): Rather than showing the diary,
5385 just turn off invisible display, and only if needed.
5387 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5389 2010-09-23 Glenn Morris <rgm@gnu.org>
5391 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5392 (byte-compile-defvar, byte-compile-cl-warn):
5393 Start warnings with lower-case, like the majority.
5395 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5397 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5399 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5400 * files.el (auto-mode-alist): Move ld-script entries here, further down
5403 * vc/add-log.el: Don't require timezone when compiling.
5404 (timezone-make-date-sortable): Autoload it.
5405 (change-log-sortable-date-at): Don't require timezone.
5406 Use `ignore-errors'.
5408 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5409 Move alias before definition, so it does not need autoloading.
5411 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5412 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5413 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5414 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5415 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5416 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5417 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5418 * textmodes/tex-mode.el, textmodes/two-column.el:
5419 Remove leading `*' from docs of defcustoms etc.
5421 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5423 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5425 2010-09-22 Dan Christensen <jdc@uwo.ca>
5427 * calendar/time-date.el (date-to-time): Try using parse-time-string
5428 first before using the slower timezone-make-date-arpa-standard.
5430 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5432 * calendar/time-date.el (format-seconds): Comment fix.
5434 2010-09-22 Glenn Morris <rgm@gnu.org>
5436 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5437 is not automatically buffer-local.
5439 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5441 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5442 (smie-indent-comment): Be more careful with comment-start-skip.
5443 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5444 (smie-indent-functions): Use them.
5446 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5448 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5450 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5452 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5453 tool-bar-position. Don't modify frame parameters here.
5454 (menu-bar-options-save): Add tool-bar-position.
5456 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5458 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5460 * textmodes/reftex-parse.el (reftex-what-macro)
5461 (reftex-context-substring): Let-bind forward-sexp-function to nil
5462 since we don't need/want to treat \begin...\end as a block (bug#7053).
5464 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5466 * simple.el (blink-matching-open): Use syntax-class.
5468 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5469 Set invisibility spec for pascal's outline mode.
5470 (pascal-outline-change): Clean up calling convention.
5471 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5473 * progmodes/prolog.el (prolog-smie-forward-token)
5474 (prolog-smie-backward-token): New functions.
5475 (prolog-mode-variables): Use them to parse "!," correctly.
5476 Set up smie-blink-matching for ".".
5478 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5480 (ispell-region, ispell-process-line): Update users.
5482 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5485 * textmodes/ispell.el: Fix commenting convention.
5486 (ispell-parse-output): Simplify, use push.
5487 (ispell-region): Use match-string-no-properties.
5488 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5489 (ispell-minor-mode): Use define-minor-mode.
5490 (ispell-message): Remove unused var `skip-regexp'.
5491 (ispell-add-per-file-word-list): Use dynamic let-binding.
5492 Try and use the proper comment marker.
5494 * mail/sendmail.el: Fix commenting convention.
5495 (sendmail-send-it): Use line-beginning-position.
5497 * help-fns.el (describe-variable): Add original value, if applicable.
5499 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5501 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5503 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5505 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5507 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5508 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5509 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5510 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5511 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5512 something like "." can also be a closer.
5513 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5514 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5515 Rename internal functions to use "--". Update callers.
5517 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5519 * fringe.el (fringe-styles): New var.
5520 (fringe-mode, fringe-query-style): Use it.
5522 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5524 * progmodes/sql.el: Version 2.8
5525 (sql-login-params): Update widget structure; changes still needed.
5526 (sql-product-alist): Add :list-all and :list-table features for
5527 SQLite, Postgres and MySQL products.
5528 (sql-redirect): Handle default value.
5529 (sql-execute, sql-execute-feature): New functions.
5530 (sql-read-table-name): New function.
5531 (sql-list-all, sql-list-table): New functions. User API.
5532 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5533 for above functions.
5534 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5535 for above functions.
5536 (sql-postgres-login-params): Add user and database defaults.
5537 (sql-buffer-live-p): Bug fix.
5538 (sql-product-history): New variable.
5539 (sql-read-product): New function. Use it.
5540 (sql-set-product, sql-product-interactive): Use it.
5541 (sql-connection-history): New variable.
5542 (sql-read-connection): New function. Use it.
5543 (sql-connect): New function.
5544 (sql-for-each-login): Redesign function interface.
5545 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5546 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5547 (sql-comint): Check for program. Existing live buffer.
5548 (sql-comint-postgres): Add port parameter.
5550 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5552 * emacs-lisp/warnings.el: Fix commenting convention.
5553 (display-warning): Use special mode and make the buffer read-only.
5555 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5557 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5558 empty string when it follows a repeated or optional pattern.
5560 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5562 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5563 (indent-region): Use indent-according-to-mode.
5565 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5567 * fringe.el (fringe-mode): Doc fix.
5569 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5571 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5572 refreshing the preview buffer.
5574 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5576 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5577 (latex-syntax-propertize-rules): New consts; replace
5578 tex-font-lock-syntactic-keywords.
5579 (tex-env-mark, latex-env-before-change): New functions.
5580 (latex-electric-env-pair-mode): New minor mode.
5581 (tex-font-lock-verb): Change arguments; do move point.
5582 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5583 representation as a form of comment.
5584 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5585 (doctex-syntax-propertize-rules): New const; replaces
5586 doctex-font-lock-syntactic-keywords.
5587 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5589 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5590 (fortran-make-syntax-propertize-function): New function; replaces
5591 fortran-font-lock-syntactic-keywords.
5592 (fortran-mode): Use it.
5593 (fortran-line-length): Use it. Improve interactive spec.
5595 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5596 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5597 when adding surrounding \(..\).
5599 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5601 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5603 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5604 Use with-current-buffer.
5606 * isearch.el (isearch-face): Rename from `isearch'.
5607 (isearch-highlight): Use new name.
5609 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5611 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5612 5, for `half' width fringes. (Bug#6933)
5614 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5616 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5617 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5619 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5621 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5623 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5624 in calculating new frame position. Add more space between new and
5625 parent on the left (Bug#7048).
5627 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5629 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5632 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5634 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5636 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5637 obsolete alias for x-selection-value.
5639 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5641 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5643 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5646 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5648 * net/tramp-compat.el (tramp-compat-with-temp-message)
5649 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5650 (tramp-compat-process-put): New defuns.
5652 * net/tramp.el (top):
5653 * net/tramp-gvfs.el (top):
5654 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5656 * net/tramp.el (tramp-progress-reporter-update):
5657 Use `tramp-compat-funcall'.
5659 * net/tramp.el (tramp-process-actions):
5660 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5661 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5662 (tramp-get-remote-stat, tramp-get-remote-readlink):
5663 Use `tramp-compat-with-temp-message'.
5665 * net/tramp-sh.el (top): Require 'cl.
5666 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5667 (tramp-open-connection-setup-interactive-shell):
5668 Use `tramp-compat-process-put'.
5670 2010-09-15 Alan Mackenzie <acm@muc.de>
5672 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5674 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5676 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5678 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5679 `lexical' for warnings related to lexical scoping.
5680 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5681 global vars which don't have a prefix and could hence affect lexical
5682 scoping in unrelated files.
5684 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5686 * net/imap.el: Revert back to version
5687 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5690 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5692 * obsolete/old-whitespace.el (whitespace-unload-function):
5693 Explicitly pass `obarray' to `unintern' to avoid a warning.
5695 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5697 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5698 Add `when' argument. Update callers.
5700 * subr.el (unintern): Declare the obarray arg mandatory.
5702 2010-09-14 Glenn Morris <rgm@gnu.org>
5704 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5707 * calendar/diary-lib.el (diary-included-files): New variable.
5708 (diary-list-entries): Maybe initialize diary-included-files.
5709 (diary-include-other-diary-files): Append to diary-included-files.
5710 * calendar/appt.el (appt-update-list): Also check the members of
5711 diary-included-files. (Bug#6999)
5712 (appt-check): Doc fix.
5714 2010-09-14 David Reitter <david.reitter@gmail.com>
5716 * simple.el (line-move-visual): Do not truncate goal column to
5717 integer size. (Bug#7020)
5719 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5721 * repeat.el (repeat): Allow repeating when the last event is a click.
5722 Suggested by Drew Adams (bug#6256).
5724 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5726 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5727 Replace setting HGRCPATH to "" by some less invasive --config options.
5729 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5731 * font-lock.el (font-lock-beginning-of-syntax-function):
5734 2010-09-14 Glenn Morris <rgm@gnu.org>
5736 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5737 and tool-bar modes. (Bug#6211)
5738 (menu-bar-mode): Move setting of standard-value after the
5739 minor-mode definition, otherwise it seems to have no effect.
5741 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5743 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5744 Fix typo. (Bug#6976)
5746 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5748 * whitespace.el: Allow cleaning up blanks without blank
5749 visualization (Bug#6651). Adjust help window for
5750 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5751 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5752 (whitespace-style): Add new value 'face. Adjust docstring.
5753 (whitespace-space, whitespace-hspace, whitespace-tab):
5754 Adjust foreground property face.
5755 (whitespace-line-column): Adjust docstring and type declaration.
5756 (whitespace-style-value-list, whitespace-toggle-option-alist)
5757 (whitespace-help-text): Adjust const initialization.
5758 (whitespace-toggle-options, global-whitespace-toggle-options):
5760 (whitespace-display-window, whitespace-interactive-char)
5761 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5762 (whitespace-help-scroll): New fun.
5764 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5766 * calendar/time-date.el (format-seconds): Comment fix.
5768 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5770 * progmodes/sql.el: Version 2.7.
5771 (sql-buffer-live-p): Improve detection.
5772 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5773 (sql-set-sqli-buffer): Use it.
5774 (sql-product-interactive): Run `sql-set-sqli-hook'.
5775 (sql-rename-buffer): Code cleanup.
5776 (sql-redirect, sql-redirect-value): New functions. More to come.
5778 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5780 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.
5781 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5782 (TRAMP_SRC): New macro.
5783 ($(lisp)/net/tramp-loaddefs.el): New target.
5785 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5787 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5789 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5791 * net/tramp.el (top): Don't show loading message. Require just
5792 'tramp-compat, everything else is required there.
5793 Use `ignore-errors' where appropriate.
5794 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5795 (tramp-terminal-type, tramp-end-of-output)
5796 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5797 (tramp-completion-function-alist-ssh)
5798 (tramp-completion-function-alist-telnet)
5799 (tramp-completion-function-alist-su)
5800 (tramp-completion-function-alist-putty, tramp-remote-path)
5801 (tramp-remote-process-environment, tramp-sh-extra-args)
5802 (tramp-actions-before-shell, tramp-uudecode)
5803 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5804 (tramp-perl-file-attributes)
5805 (tramp-perl-directory-files-and-attributes)
5806 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5807 (tramp-perl-encode, tramp-perl-decode)
5808 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5809 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5810 (tramp-handle-make-symbolic-link, tramp-handle-load)
5811 (tramp-handle-file-name-as-directory)
5812 (tramp-handle-file-name-directory)
5813 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5814 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5815 (tramp-do-file-attributes-with-ls)
5816 (tramp-do-file-attributes-with-perl)
5817 (tramp-do-file-attributes-with-stat)
5818 (tramp-handle-set-visited-file-modtime)
5819 (tramp-handle-verify-visited-file-modtime)
5820 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5821 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5822 (tramp-handle-file-selinux-context)
5823 (tramp-handle-set-file-selinux-context)
5824 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5825 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5826 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5827 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5828 (tramp-handle-file-ownership-preserved-p)
5829 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5830 (tramp-handle-directory-files-and-attributes)
5831 (tramp-do-directory-files-and-attributes-with-perl)
5832 (tramp-do-directory-files-and-attributes-with-stat)
5833 (tramp-handle-file-name-all-completions)
5834 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5835 (tramp-handle-copy-file, tramp-handle-copy-directory)
5836 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5837 (tramp-do-copy-or-rename-file-via-buffer)
5838 (tramp-do-copy-or-rename-file-directly)
5839 (tramp-do-copy-or-rename-file-out-of-band)
5840 (tramp-handle-make-directory, tramp-handle-delete-directory)
5841 (tramp-handle-delete-file)
5842 (tramp-handle-dired-recursive-delete-directory)
5843 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5844 (tramp-handle-insert-directory)
5845 (tramp-handle-unhandled-file-name-directory)
5846 (tramp-handle-expand-file-name)
5847 (tramp-handle-substitute-in-file-name)
5848 (tramp-handle-executable-find, tramp-process-sentinel)
5849 (tramp-handle-start-file-process, tramp-handle-process-file)
5850 (tramp-handle-call-process-region, tramp-handle-shell-command)
5851 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5852 (tramp-handle-insert-file-contents)
5853 (tramp-handle-insert-file-contents-literally)
5854 (tramp-handle-find-backup-file-name)
5855 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5856 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5857 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5858 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5859 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5860 (tramp-find-file-exists-command, tramp-open-shell)
5861 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5862 (tramp-open-connection-setup-interactive-shell)
5863 (tramp-local-coding-commands, tramp-remote-coding-commands)
5864 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5865 (tramp-inline-compress-commands, tramp-find-inline-compress)
5866 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5867 (tramp-send-command, tramp-wait-for-output)
5868 (tramp-send-command-and-check, tramp-barf-unless-okay)
5869 (tramp-send-command-and-read, tramp-mode-string-to-int)
5870 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5871 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5872 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5873 (tramp-method-out-of-band-p, tramp-local-host-p)
5874 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5875 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5876 (tramp-get-test-command, tramp-get-test-nt-command)
5877 (tramp-get-file-exists-command, tramp-get-remote-ln)
5878 (tramp-get-remote-perl, tramp-get-remote-stat)
5879 (tramp-get-remote-readlink, tramp-get-remote-trash)
5880 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5881 (tramp-get-local-uid, tramp-get-local-gid)
5882 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5884 (tramp-methods, tramp-default-method-alist)
5885 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5886 Move initialization to tramp-sh.el.
5887 (tramp-temp-name-prefix): Make it a defconst.
5888 (tramp-dissect-file-name): Don't check anymore for multi-hop
5890 (tramp-debug-outline-regexp): Add a docstring.
5891 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5892 (tramp-get-debug-buffer): Use it.
5894 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5895 initialization forms.
5896 (tramp-set-connection-property): Don't protect `tramp-message'
5897 call, it isn't necessary any longer.
5898 (tramp-dump-connection-properties): Use `ignore-errors'.
5900 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5901 'password-cache and 'auth-source.
5903 * net/tramp-gvfs.el (top):
5904 * net/tramp-smb.el (top): Require 'tramp-sh.
5906 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5908 * net/tramp-sh.el: New file, derived from tramp.el.
5909 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5910 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5911 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5912 Use `ignore-errors' where appropriate.
5913 (tramp-sh-file-name-handler-alist): Rename from
5914 `tramp-file-name-handler-alist'.
5915 (tramp-send-command-and-check): Return t or nil. Remove all
5916 `zerop' checks, where called.
5917 (tramp-handle-set-file-modes)
5918 (tramp-do-copy-or-rename-file-directly)
5919 (tramp-handle-delete-directory, tramp-handle-delete-file)
5920 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5921 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5922 (tramp-get-remote-ln): Set tramp-autoload cookie.
5924 * net/tramp-fish.el: Remove file.
5926 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5928 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5929 buffer-file-name to avoid file-locking. (Bug#7026)
5931 2010-09-13 Julien Danjou <julien@danjou.info>
5933 * notifications.el (notifications-notify): Add support for
5934 image-path and sound-name.
5935 (notifications-specification-version): Add this variable.
5937 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5939 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5941 2010-09-12 Leo <sdl.web@gmail.com>
5943 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5944 (rcirc-completion-start): New variables.
5945 (rcirc-nick-completions): Rename to rcirc-completions.
5946 (rcirc-nick-completion-start-offset): Delete.
5947 (rcirc-completion-at-point): New function for constructing
5948 completion data for both nicks and irc commands. Add to
5949 completion-at-point-functions in rcirc mode.
5950 (rcirc-complete): Rename from rcirc-nick-complete; use
5951 rcirc-completion-at-point.
5952 (defun-rcirc-command): Update rcirc-client-commands.
5954 2010-09-11 Glenn Morris <rgm@gnu.org>
5956 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5957 atomically, to avoid parallel build errors. (Bug#4196)
5959 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5961 * progmodes/sql.el: Version 2.6
5962 (sql-dialect): Synonym for "sql-product".
5963 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5964 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5965 Set "sql-buffer" to buffer name not buffer object so multiple sql
5966 interactive buffers work properly. Reverts misguided changes in
5968 (sql-comint): Make sure different buffer name is used if "*SQL*"
5969 buffer is for a different product.
5970 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5972 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5973 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5974 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5975 Accept new buffer name or prompt for one.
5976 (sql-port): Default to zero.
5977 (sql-comint-mysql): Handle "sql-port" as a numeric.
5978 (sql-port-history): Delete unused variable.
5979 (sql-get-login): Default "sql-port" to a number.
5980 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5981 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5982 "sqlite3" executables.
5983 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5984 (sql-buffer-live-p): New function.
5985 (sql-mode-menu, sql-send-string): Use it.
5986 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5988 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5989 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5991 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5993 * net/netrc.el (netrc-credentials): New convenience function.
5995 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5997 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5998 to replace texinfo-font-lock-syntactic-keywords.
5999 (texinfo-mode): Use it.
6001 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6002 Use syntax-propertize-function.
6004 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6005 replace sgml-font-lock-syntactic-keywords.
6006 (sgml-mode): Use it.
6008 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6009 since we don't use it.
6011 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6013 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6015 (vhdl-fontify-buffer): Adjust.
6017 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6018 replace tcl-font-lock-syntactic-keywords.
6021 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6022 replace simula-font-lock-syntactic-keywords.
6023 (simula-mode): Use it.
6025 * progmodes/sh-script.el (sh-st-symbol): Remove.
6026 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6027 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6028 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6029 (sh-font-lock-paren): Set syntax-multiline.
6030 (sh-font-lock-syntactic-keywords): Remove.
6031 (sh-syntax-propertize-function): New function to replace it.
6034 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6035 Define while compiling.
6036 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6037 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6038 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6039 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6040 (ruby-here-doc-end-syntax): Only define when
6041 syntax-propertize is not available.
6042 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6044 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6045 (electric-indent-chars): Silence bytecompiler.
6046 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6047 electric-indent-chars.
6049 * progmodes/python.el (python-syntax-propertize-function): New var to
6050 replace python-font-lock-syntactic-keywords.
6051 (python-mode): Use it.
6052 (python-quote-syntax): Simplify and adjust to new use.
6054 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6055 replace perl-font-lock-syntactic-keywords.
6056 (perl-syntax-propertize-special-constructs): New fun to replace
6057 perl-font-lock-special-syntactic-constructs.
6058 (perl-font-lock-syntactic-face-function): New fun.
6059 (perl-mode): Use it.
6061 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6062 to replace octave-font-lock-close-quotes.
6063 (octave-syntax-propertize-function): New function to replace
6064 octave-font-lock-syntactic-keywords.
6065 (octave-mode): Use it.
6067 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6068 replaces mixal-font-lock-syntactic-keywords.
6069 (mixal-mode): Use it.
6071 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6072 New var; replaces makefile-font-lock-syntactic-keywords.
6073 (makefile-mode): Use it.
6074 (makefile-imake-mode): Adjust.
6076 * progmodes/js.el (js--regexp-literal): Define while compiling.
6077 (js-syntax-propertize-function): New var; replaces
6078 js-font-lock-syntactic-keywords.
6081 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6082 replaces gdb-script-font-lock-syntactic-keywords.
6083 (gdb-script-mode): Use it.
6085 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6086 (fortran--font-lock-syntactic-keywords): New var.
6087 (fortran-line-length): Update syntax-propertize-function and
6088 fortran--font-lock-syntactic-keywords.
6090 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6092 * progmodes/cfengine.el (cfengine-mode):
6093 Use syntax-propertize-function.
6094 (cfengine-font-lock-syntactic-keywords): Remove.
6096 * progmodes/autoconf.el (autoconf-mode):
6097 Use syntax-propertize-function.
6098 (autoconf-font-lock-syntactic-keywords): Remove.
6100 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6101 (ada-after-change-function, ada-initialize-syntax-table-properties)
6102 (ada-handle-syntax-table-properties): Only define when
6103 syntax-propertize is not available.
6104 (ada-mode): Use syntax-propertize-function.
6106 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6107 (font-lock-fontify-syntactic-keywords-region): Move handling of
6108 font-lock-syntactically-fontified to...
6109 (font-lock-default-fontify-region): ...here.
6110 Let syntax-propertize-function take precedence.
6111 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6113 * emacs-lisp/syntax.el (syntax-propertize-function)
6114 (syntax-propertize-chunk-size, syntax-propertize--done)
6115 (syntax-propertize-extend-region-functions): New vars.
6116 (syntax-propertize-wholelines, syntax-propertize-multiline)
6117 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6118 (syntax-propertize): New functions.
6119 (syntax-propertize-rules): New macro.
6120 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6121 (syntax-ppss): Call syntax-propertize.
6123 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6125 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6127 * textmodes/ispell.el (ispell-init-process): Improve comments.
6128 XEmacs compatibility changes regarding (add-hook) 'local option
6129 and (set-process-query-on-exit-flag).
6131 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6133 * net/tramp-cache.el (tramp-parse-connection-properties):
6134 Set tramp-autoload cookie.
6136 2010-09-09 Glenn Morris <rgm@gnu.org>
6138 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6139 (imagemagick-register-types): Doc fix.
6141 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6143 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6145 * progmodes/js.el (require): Require is already "eval-and-compile".
6146 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6147 (js--re-search-backward): Use js--re-search-forward.
6149 * progmodes/fortran.el (fortran-line-length): Don't recompute
6150 syntactic keywords redundantly a second time.
6152 * progmodes/ada-mode.el: Replace "(set '" with setq.
6153 (ada-mode): Simplify.
6154 (ada-create-case-exception, ada-adjust-case-interactive)
6155 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6156 (ada-search-ignore-string-comment, ada-move-to-start)
6157 (ada-move-to-end): Use with-syntax-table.
6159 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6160 (font-lock-unfontify-region, font-lock-default-fontify-region):
6161 Update usage correspondingly.
6162 (font-lock-fontify-syntactic-keywords-region):
6163 Set parse-sexp-lookup-properties buffer-locally here.
6164 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6166 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6168 2010-09-08 Glenn Morris <rgm@gnu.org>
6170 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6171 Error if not compiled with -DBYTE_CODE_METER.
6173 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6174 Ignore dir-locals-file.
6176 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6178 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6180 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6181 for the `gnu' messages.
6182 (compilation-set-skip-threshold): New command.
6183 (compilation-start): Use \' rather than $.
6184 (compilation-forget-errors): Use clrhash.
6186 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6188 * textmodes/ispell.el (ispell-valid-dictionary-list):
6191 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6193 Migrate to Tramp 2.2. Rearrange load dependencies.
6194 (Bug#1529, Bug#5448, Bug#5705)
6196 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6197 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6198 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6200 * net/tramp.el (top): Remove all other tramp-* loads except
6201 tramp-compat.el. Remove all changes to tramp-unload-hook for
6202 other tramp-* packages. Rearrange defun order. Change calls of
6203 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6204 `tramp-compat-octal-to-decimal' to new function names.
6205 (tramp-terminal-type, tramp-initial-end-of-output)
6206 (tramp-methods, tramp-foreign-file-name-handler-alist)
6207 (tramp-tramp-file-p, tramp-completion-mode-p)
6208 (tramp-send-command-and-check, tramp-get-remote-path)
6209 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6210 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6211 (with-file-property, with-connection-property): Move to
6213 (tramp-local-call-process, tramp-decimal-to-octal)
6214 (tramp-octal-to-decimal): Move to tramp-compat.el.
6215 (tramp-handle-shell-command): Do not require 'shell.
6216 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6218 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6220 * net/tramp-cache.el (top): Require 'tramp. Add to
6221 `tramp-unload-hook'.
6222 (tramp-cache-data, tramp-get-file-property)
6223 (tramp-set-file-property, tramp-flush-file-property)
6224 (tramp-flush-directory-property, tramp-get-connection-property)
6225 (tramp-set-connection-property, tramp-flush-connection-property)
6226 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6228 (with-file-property, with-connection-property): New defuns, moved
6230 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6233 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6234 (tramp-version): Set tramp-autoload cookie.
6236 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6237 changes to tramp-unload-hook for other tramp-* packages. Add to
6238 `tramp-unload-hook'.
6239 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6240 (tramp-compat-call-process): New defuns, moved from tramp.el.
6242 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6243 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6244 Add to `tramp-unload-hook'. Change call of
6245 `tramp-compat-decimal-to-octal' to new function name.
6246 (tramp-fish-method): Make it a defconst.
6247 (tramp-fish-file-name-p): Make it a defsubst.
6248 (tramp-fish-method, tramp-fish-file-name-handler)
6249 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6251 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6252 `tramp-foreign-file-name-handler-alist'. Add to
6253 `tramp-unload-hook'.
6254 (tramp-ftp-method): Make it a defconst.
6255 (tramp-ftp-file-name-p): Make it a defsubst.
6256 (tramp-ftp-method, tramp-ftp-file-name-handler)
6257 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6259 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6260 `tramp-foreign-file-name-handler-alist'. Add to
6261 `tramp-unload-hook'. Change checks, whether package can be
6263 (tramp-gvfs-file-name-p): Make it a defsubst.
6264 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6265 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6266 (tramp-gvfs-handle-file-directory-p): New defun.
6267 (tramp-gvfs-file-name-handler-alist): Use it.
6269 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6270 `tramp-foreign-file-name-handler-alist'. Add to
6271 `tramp-unload-hook'.
6272 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6273 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6275 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6276 (tramp-gw-open-connection): Set tramp-autoload cookie.
6278 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6279 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6280 Add to `tramp-unload-hook'. Change checks, whether package can be
6282 (tramp-imap-file-name-p): Make it a defsubst.
6283 (tramp-imap-method, tramp-imaps-method)
6284 (tramp-imap-file-name-handler)
6285 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6287 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6288 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6289 Add to `tramp-unload-hook'. Change checks, whether package can be
6290 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6292 (tramp-smb-tunnel-method): Make it a defconst.
6293 (tramp-smb-file-name-p): Make it a defsubst.
6294 (tramp-smb-method, tramp-smb-file-name-handler)
6295 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6297 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6298 (tramp-uuencode-region): Set tramp-autoload cookie.
6300 * net/trampver.el (top) Add to `tramp-unload-hook'.
6301 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6302 cookie. Update release number.
6304 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6306 * textmodes/ispell.el (ispell-start-process): Make sure original
6307 arg list is properly initialized (Bug#6993, Bug#6994).
6309 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6311 * files.el (directory-abbrev-alist): Use \` as default regexp.
6313 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6314 chars like - or ] (bug#6984).
6315 (rx-any-condense-range): Explode 2-char ranges.
6317 2010-09-06 Glenn Morris <rgm@gnu.org>
6319 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6321 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6323 * textmodes/bibtex.el:
6324 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6326 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6328 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6329 since no callers use it.
6330 (imap-message-get): Ditto.
6331 (imap-message-put): Ditto.
6332 (imap-mailbox-map): Ditto.
6333 (imap-mailbox-put): Ditto.
6334 (imap-mailbox-get): Ditto.
6335 (imap-mailbox-get): Revert last change for this function.
6337 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6339 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6340 callers to use `imap-fetch' instead. According to the comments, this
6341 should be safe, since all other IMAP clients use the 1:* syntax.
6342 (imap-enable-exchange-bug-workaround): Remove.
6343 (imap-debug): Remove -- doesn't seem very useful.
6345 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6347 * net/imap.el (imap-log): New convenience function used throughout
6348 instead of repeating the same code all over the place.
6350 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6352 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6353 when mouse-drag-copy-region is non-nil (Bug#6956).
6355 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6357 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6358 Improve regexps (Bug#6987).
6359 (dired-sort-toggle): Search more robustly for -t flag.
6361 * files.el (get-free-disk-space): Search more robustly for
6362 "available" column. Suggested by Ehud Karni
6363 <ehud@unix.mvs.co.il>.
6365 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6367 * international/uni-bidi.el:
6368 * international/uni-category.el:
6369 * international/uni-combining.el:
6370 * international/uni-decimal.el:
6371 * international/uni-mirrored.el:
6372 * international/uni-name.el: Regenerate.
6374 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6376 * electric.el (electric-indent-post-self-insert-function):
6377 Don't reindent with a sloppy indentation function.
6379 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6380 border case in change-log-mode.
6382 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6384 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6385 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6386 Recognize leading tab in gcc-include regexp. Ignore names with
6387 leading "from" or "in" in gnu regexp (Bug#6937).
6389 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6391 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6392 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6393 (ispell-start-process): Avoid setq and simplify logic.
6394 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6395 (kill-buffer-hook): Don't use it globally with code that uses
6396 expand-file-name since that may call kill-buffer via
6397 code_conversion_restore.
6399 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6401 * emacs-lisp/package.el (package-directory-list): Only call
6402 file-name-nondirectory on a string.
6404 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6406 * emacs-lisp/package.el (package--download-one-archive):
6407 Ensure that archive-contents is valid before saving it.
6408 (package-activate-1, package-mark-obsolete, define-package)
6409 (package-compute-transaction, package-list-maybe-add): Use push.
6411 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6413 Use SMIE's blink-paren for octave-mode.
6414 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6415 Backslashes do not escape single-quotes, single-quotes do.
6416 (octave-block-else-regexp, octave-block-end-regexp)
6417 (octave-block-match-alist): Remove.
6418 (octave-smie-bnf-table): New var, with old content.
6419 (octave-smie-op-levels): Use it.
6420 (octave-smie-closer-alist): New var.
6421 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6422 (octave-blink-matching-block-open): Remove.
6423 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6424 (octave-electric-space): Let self-insert-command run expand-abbrev and
6427 * electric.el (electricity): New group.
6428 (electric-indent-chars): New var.
6429 (electric-indent-post-self-insert-function): New fun.
6430 (electric-indent-mode): New minor mode.
6431 (electric-pair-skip-self): New custom.
6432 (electric-pair-post-self-insert-function): New function.
6433 (electric-pair-mode): New minor mode.
6435 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6436 calcAlg-blink-matching-open.
6437 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6438 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6439 Use the new blink-matching-check-function.
6441 Provide blink-matching support to SMIE.
6442 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6443 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6444 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6446 * simple.el (newline): Fix last change to properly remove itself from
6449 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6451 * simple.el (newline): Eliminate optimization.
6452 Use post-self-insert-hook to set hard-newline and things before
6453 running post-self-insert-hook.
6454 (blink-matching-check-mismatch): New function.
6455 (blink-matching-check-function): New variable.
6456 (blink-matching-open): Use them.
6457 Skip back forward over prefix chars skipped by forward-sexp.
6458 Don't check if the parens are backslash escaped.
6459 (blink-paren-post-self-insert-function): Check backslash escaping here.
6461 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6463 * emacs-lisp/package.el (package-menu-mode-map):
6464 Change package-menu-revert bindings to revert-buffer.
6465 (package-menu-mode): Set revert-buffer-function.
6466 (package-menu-revert): Doc fix.
6468 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6470 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6471 `default-directory' unless using Ispell per-directory personal
6472 dictionaries and not in a mini-buffer under XEmacs.
6473 (kill-buffer-hook): Do not kill ispell process on exit when
6474 `ispell-process-directory' is "~/". (Bug#6143)
6476 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6478 * simple.el (kill-new): Call interprogram-cut-function with only
6481 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6482 Remove cut buffer from error message.
6484 * term/x-win.el (x-select-text):
6485 * term/pc-win.el (x-selection-value):
6486 * term/ns-win.el (x-selection-value):
6487 * eshell/em-term.el:
6488 * w32-fns.el (x-get-selection-value):
6489 * mouse-sel.el (mouse-sel-set-selection-function):
6490 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6492 * term/x-win.el: Update documentation for x-last-selected-text-*.
6493 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6494 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6495 (x-select-text): Remove argument PUSH, update documentation.
6496 Remove cut-buffer code.
6497 (x-selection-value-internal): Was previously x-selection-value.
6498 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6499 Update documentation, remove cut-buffer code.
6500 Call x-selection-value-internal.
6501 (x-clipboard-yank): Call x-selection-value-internal.
6502 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6504 * term/pc-win.el (x-last-selected-text):
6505 x-cut-buffer-or-selection-value renamed to x-selection-value
6506 (x-select-text): Remove argument PUSH, update documentation.
6508 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6509 x-cut-buffer-or-selection-value renamed to x-selection-value
6510 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6511 (x-select-text): Remove argument PUSH, update documentation.
6513 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6515 * w32-fns.el (x-last-selected-text):
6516 x-cut-buffer-or-selection-value renamed to x-selection-value.
6517 (x-cut-buffer-max): Remove.
6518 (x-select-text): Remove argument PUSH, update documentation.
6520 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6522 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6524 * mouse-sel.el (mouse-sel-get-selection-function):
6525 x-cut-buffer-or-selection-value renamed to x-selection-value.
6526 (x-select-text): Remove optional push.
6528 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6530 * simple.el (blink-paren-function): Move from C to here.
6531 (blink-paren-post-self-insert-function): New function.
6532 (post-self-insert-hook): Use it.
6534 * emacs-lisp/pcase.el (pcase-split-memq):
6535 Fix overenthusiastic optimisation.
6536 (pcase-u1): Handle the case of a lambda pred.
6538 2010-08-31 Kenichi Handa <handa@m17n.org>
6540 * international/mule-cmds.el (standard-display-european-internal):
6541 Setup standard-display-table for 8-bit characters by storing 8-bit
6542 characters in the element vector.
6544 * disp-table.el (standard-display-8bit):
6545 Setup standard-display-table for 8-bit characters by storing 8-bit
6546 characters in the element vector.
6547 (standard-display-european): Likewise.
6549 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6551 * textmodes/nroff-mode.el (nroff-view): New command.
6552 (nroff-mode-map): Bind it to C-c C-c.
6554 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6556 * emacs-lisp/smie.el (smie-down-list): New command.
6558 Remove old indentation and navigation code on octave-mode.
6559 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6560 smie-down-list rather than add a binding for octave-down-block.
6561 (octave-mark-block, octave-blink-matching-block-open):
6562 Rely on forward-sexp-function.
6563 (octave-fill-paragraph): Don't narrow, so you can use
6564 indent-according-to-mode.
6565 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6566 (octave-in-block-p, octave-re-search-forward-kw)
6567 (octave-re-search-backward-kw, octave-indent-calculate)
6568 (octave-end-as-array-index-p, octave-block-end-offset)
6569 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6570 (octave-down-block, octave-backward-up-block, octave-up-block)
6571 (octave-before-magic-comment-p, octave-indent-line): Remove.
6573 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6575 * emacs-lisp/package.el (package--read-archive-file): Just use
6576 `read', to avoid copying an additional string.
6577 (package-menu-mode): Set header-line-format here.
6578 (package-menu-refresh, package-menu-revert): Signal an error if
6579 not in the Package Menu.
6580 (package-menu-package-list): New var.
6581 (package--generate-package-list): Operate on the current buffer;
6582 don't assume that it is *Packages*, since the user may rename it.
6583 Allow persistent package listings and sort keys using
6584 package-menu-package-list and package-menu-package-sort-key.
6585 (package-menu--version-predicate): Fix version calculation.
6586 (package-menu-sort-by-column): Don't select the window.
6587 (package--list-packages): Create the *Packages* buffer.
6588 Set package-menu-package-list-key.
6589 (list-packages): Sorting by status is now the default.
6590 (package-buffer-info): Use match-string-no-properties.
6591 (define-package): Add a &rest argument for future proofing, but
6593 (package-install-from-buffer, package-install-buffer-internal):
6594 Merge into a single function, package-install-from-buffer.
6595 (package-install-file): Change caller.
6597 * finder.el: Load finder-inf using `require'.
6598 (finder-list-matches): Sorting by status is now the default.
6599 (finder-compile-keywords): Simpify printing.
6601 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6603 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6604 (octave-mode-map): Remove special bindings for forward/backward-block
6605 and octave-backward-up-block. Use smie-close-block.
6606 (octave-continuation-marker-regexp): New var.
6607 (octave-continuation-regexp): Use it.
6608 (octave-operator-table, octave-smie-op-levels)
6609 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6610 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6611 (octave-mode): Use SMIE.
6612 (octave-close-block): Delete.
6614 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6616 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6617 CLIPBOARD, not in PRIMARY. (Bug#6944)
6619 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6623 (smie-indent-column): Allow indirection through variables.
6625 * composite.el (save-buffer-state): Delete, unused.
6626 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6627 (font-lock-default-fontify-region): Use with-syntax-table.
6628 * jit-lock.el (with-buffer-unmodified): Remove.
6629 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6631 Use `declare' in defmacros.
6632 * window.el (save-selected-window):
6633 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6634 * progmodes/python.el (def-python-skeleton):
6635 * net/dbus.el (dbus-ignore-errors):
6636 * jka-cmpr-hook.el (with-auto-compression-mode):
6637 * international/mule.el (with-category-table):
6638 * emacs-lisp/timer.el (with-timeout):
6639 * emacs-lisp/lisp-mnt.el (lm-with-file):
6640 * emacs-lisp/eieio.el (with-slots):
6641 * emacs-lisp/easymenu.el (easy-menu-define):
6642 * emacs-lisp/debug.el (debugger-env-macro):
6643 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6644 (Multiple-value-call, Multiple-value-prog1):
6645 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6646 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6647 edebug rule to definition.
6648 * emacs-lisp/lisp-mode.el (save-selected-window)
6649 (with-current-buffer, combine-after-change-calls)
6650 (with-output-to-string, with-temp-file, with-temp-buffer)
6651 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6652 (dolist, dotimes, when, unless):
6653 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6655 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6657 * finder.el: Require `package'.
6658 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6659 (finder-package-info): Var deleted.
6660 (finder-keywords-hash, finder--builtins-alist): New vars.
6661 (finder-compile-keywords): Compute package--builtins and
6662 finder-keywords-hash instead of finder-keywords-hash, respecting
6663 the "Package" header.
6664 (finder-unknown-keywords, finder-list-matches):
6665 Use finder-keywords-hash and package--list-packages.
6666 (finder-mode): Don't set font-lock-defaults.
6667 (finder-exit): We don't use "*Finder-package*" and "*Finder
6668 Category*" buffers anymore.
6670 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6671 (package--builtins): Set default value to nil.
6672 (package-initialize): Load precomputed value of package--builtins
6674 (package-alist, package-compute-transaction)
6675 (package-download-transaction): Improve docstring.
6676 (package-read-all-archive-contents): Do not change
6677 package--builtins here.
6678 (list-packages): Make package-list-packages an alias for this.
6679 Sort by status by default.
6680 (package--list-packages): Add optional PACKAGES arg.
6681 (describe-package-1): Use font-lock-face property. For built-in
6682 packages, insert file commentary.
6683 (package--generate-package-list): Rename from
6684 package-list-packages-internal; all callers changed. Add optional
6685 PACKAGES arg. Add alphabetical sort fallbacks.
6686 (package-menu--version-predicate, package-menu--status-predicate)
6687 (package-menu--description-predicate)
6688 (package-menu--name-predicate): New functions.
6690 * info.el (Info-finder-find-node): Search package-alist instead of
6691 finder-package-info.
6693 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6695 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6697 (version-to-list): Handle versions like "10.3d".
6699 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6701 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6702 (macroexp-accumulate): Use `declare'.
6704 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6706 * whitespace.el (whitespace-style): Adjust type declaration.
6708 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6710 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6711 empty argument to gvfs-copy.
6713 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6715 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6716 handle new TRASH arg of `delete-file'.
6718 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6720 * net/tramp.el (tramp-handle-insert-directory): Don't use
6721 `forward-word', its default syntax could be changed.
6723 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6724 Michael Albinus <michael.albinus@gmx.de>
6726 Implement compression for inline methods.
6728 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6729 (tramp-copy-size-limit): Allow also nil.
6730 (tramp-inline-compress-commands): New defconst.
6731 (tramp-find-inline-compress, tramp-get-inline-compress)
6732 (tramp-get-inline-coding): New defuns.
6733 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6734 replaced by `tramp-get-inline-coding'.
6735 (tramp-handle-file-local-copy, tramp-handle-write-region)
6736 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6738 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6740 Detect ssh 'ControlMaster' argument automatically in some cases.
6742 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6743 (tramp-default-method): Use it.
6745 2010-08-26 Karel Klíč <kklic@redhat.com>
6747 * net/tramp.el (tramp-file-name-for-operation):
6748 Add file-selinux-context.
6750 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6752 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6754 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6756 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6759 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6761 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6762 (js-paren-indent-offset, js-square-indent-offset)
6763 (js-curly-indent-offset): New options.
6764 (js--proper-indentation): Use them.
6766 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6768 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6769 instead of inspecting font-lock properties (Bug#6916).
6771 2010-08-26 David Reitter <david.reitter@gmail.com>
6773 * server.el (server-visit-files): Run pre-command-hook and
6774 post-command-hook for each buffer while it is current (Bug#6910).
6775 (server-execute): Do not run hooks here.
6777 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6779 Sync with Tramp 2.1.19.
6781 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6782 (tramp-reporter-dump-variable, tramp-load-report-modules)
6783 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6784 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6786 * net/tramp-compat.el (top): Do not autoload
6787 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6788 only when `start-file-process' is not bound.
6789 (byte-compile-not-obsolete-vars): Define if not bound.
6790 (tramp-compat-funcall): New defmacro.
6791 (tramp-compat-line-beginning-position)
6792 (tramp-compat-line-end-position)
6793 (tramp-compat-temporary-file-directory)
6794 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6795 (tramp-compat-copy-file, tramp-compat-copy-directory)
6796 (tramp-compat-delete-file, tramp-compat-delete-directory)
6797 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6799 (tramp-advice-file-expand-wildcards): Do not use
6800 `tramp-handle-file-remote-p'.
6801 (tramp-compat-make-temp-file): Simplify fallback implementation.
6802 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6803 (tramp-compat-copy-tree): Remove function.
6804 (tramp-compat-delete-file): New defun.
6805 (tramp-compat-delete-directory): Provide implementation for older
6807 (tramp-compat-file-attributes): Handle only
6808 `wrong-number-of-arguments' error.
6810 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6811 Add PRESERVE_SELINUX_CONTEXT.
6812 (tramp-fish-handle-delete-file): Add TRASH arg.
6813 (tramp-fish-handle-directory-files-and-attributes):
6814 Do not use `tramp-fish-handle-file-attributes.
6815 (tramp-fish-handle-file-local-copy)
6816 (tramp-fish-handle-insert-file-contents)
6817 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6819 * net/tramp-gvfs.el (top): Require url-util.
6820 (tramp-gvfs-mount-point): Remove.
6821 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6822 and `set-file-selinux-context'.
6823 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6824 (tramp-gvfs-handle-file-selinux-context)
6825 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6826 (with-tramp-dbus-call-method): Format trace message.
6827 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6828 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6829 Implement backup call, when operation on local files fails.
6830 Use progress reporter. Flush properties of changed files.
6831 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6832 Use `tramp-compat-delete-file'.
6833 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6834 (tramp-gvfs-handle-make-directory): Make more traces.
6835 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6836 (tramp-gvfs-url-file-name): Hexify file name in url.
6837 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6838 into account for the resulting file name.
6839 (tramp-gvfs-handler-askquestion): Preserve current message, in
6840 order to let progress reporter continue afterwards. (Bug#6257)
6841 Return dummy mountpoint, when the answer is "no".
6842 See `tramp-gvfs-maybe-open-connection'.
6843 (tramp-gvfs-handler-mounted-unmounted)
6844 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6845 attribute "default_location". Set "prefix" property.
6846 Handle default-location.
6847 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6848 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6849 exists. Raise an error, if not (due to a corresponding answer
6850 "no" in interactive questions, for example).
6851 Use `tramp-compat-funcall'.
6853 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6854 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6855 (tramp-imap-do-copy-or-rename-file)
6856 (tramp-imap-handle-insert-file-contents)
6857 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6858 (tramp-imap-handle-delete-file): Add TRASH arg.
6860 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6861 Add PRESERVE-SELINUX-CONTEXT.
6862 (tramp-smb-handle-copy-file)
6863 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6864 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6865 Use `with-progress-reporter'.
6866 (tramp-smb-handle-delete-file): Add TRASH arg.
6868 * net/tramp.el (tramp-methods): Move hostname to the end in all
6869 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6871 (tramp-verbose): Describe verbose level 9.
6872 (tramp-completion-function-alist)
6873 (tramp-file-name-regexp, tramp-chunksize)
6874 (tramp-local-coding-commands, tramp-remote-coding-commands)
6875 (with-connection-property, tramp-completion-mode-p)
6876 (tramp-action-process-alive, tramp-action-out-of-band)
6877 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6878 (tramp-exists-file-name-handler): Fix docstring.
6879 (tramp-remote-process-environment): Use `format' instead of
6880 `concat'. Protect version string by apostroph.
6881 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6883 (tramp-file-name-regexp-unified)
6884 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6885 not regard the volume letter as remote filename. (Bug#5447)
6886 (tramp-perl-file-attributes)
6887 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6888 (tramp-vc-registered-read-file-names): Read input as
6889 here-document, otherwise the command could exceed maximum length
6891 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6892 `set-file-selinux-context'.
6893 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6894 backtrace functions.
6895 (tramp-error-with-buffer): Don't show the connection buffer when
6896 we are in completion mode.
6897 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6898 (tramp-handle-file-selinux-context)
6899 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6900 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6902 (with-progress-reporter): New defmacro.
6903 (tramp-debug-outline-regexp): New defconst.
6904 (top, tramp-rfn-eshadow-setup-minibuffer)
6905 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6906 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6907 (tramp-completion-mode-p, tramp-check-for-regexp)
6908 (tramp-open-connection-setup-interactive-shell)
6909 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6910 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6911 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6912 Use `tramp-compat-funcall'.
6913 (tramp-handle-make-symbolic-link): Flush file properties.
6914 (tramp-handle-load, tramp-handle-file-local-copy)
6915 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6916 (tramp-handle-vc-registered, tramp-maybe-send-script)
6917 (tramp-find-shell): Use `with-progress-reporter'.
6918 (tramp-do-file-attributes-with-stat): Add space in format string,
6919 in order to work around a bug in pdksh. Reported by Gilles Pion
6921 (tramp-handle-verify-visited-file-modtime): Do not send a command
6922 when the connection is not established.
6923 (tramp-handle-set-file-times): Simplify the check for utc.
6924 (tramp-handle-directory-files-and-attributes)
6925 (tramp-get-remote-path): Use `copy-tree'.
6926 (tramp-completion-handle-file-name-all-completions): Ensure, that
6927 non remote files are still checked. Oops.
6928 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6929 Handle PRESERVE-SELINUX-CONTEXT.
6930 (tramp-do-copy-or-rename-file): Add progress reporter.
6931 (tramp-do-copy-or-rename-file-directly): Do not use
6932 `tramp-handle-file-remote-p'.
6933 (tramp-do-copy-or-rename-file-out-of-band):
6934 Use `tramp-compat-delete-directory'.
6935 (tramp-do-copy-or-rename-file-out-of-band)
6936 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6937 Use `format-spec-make'.
6938 (tramp-handle-delete-file): Add TRASH arg.
6939 (tramp-handle-dired-uncache): Flush directory cache, not only file
6941 (tramp-handle-expand-file-name)
6942 (tramp-completion-handle-file-name-all-completions)
6943 (tramp-completion-handle-file-name-completion):
6944 Use `tramp-connectable-p'.
6945 (tramp-handle-start-file-process): Set connection property "vec".
6946 Use it, in order to invalidate file caches. Check only for
6947 `remote-tty' process property.
6948 Implement tty setting. (Bug#4604, Bug#6360)
6949 (tramp-file-name-for-operation): Add `call-process-region' and
6950 `set-file-selinux-context'.
6951 (tramp-find-foreign-file-name-handler)
6952 (tramp-advice-make-auto-save-file-name)
6953 (tramp-set-auto-save-file-modes): Remove superfluous check for
6954 `stringp'. This is done inside `tramp-tramp-file-p'.
6955 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6956 operations when we are in completion mode. This gives the user
6957 the chance to correct the file name in the minibuffer.
6958 (tramp-completion-mode-p): Use `non-essential'.
6959 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6960 compatibility: Use `completion-ignore-case' if
6961 `read-file-name-completion-ignore-case' does not exist.
6962 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6963 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6965 (tramp-action-password): Hide password prompt before next run.
6966 (tramp-process-actions): Widen connection buffer for the trace.
6967 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6968 process property. Trace stty settings if `tramp-verbose' >= 9.
6969 Apply workaround for IRIX64 bug. Move argument of last
6970 `tramp-send-command' where it belongs to.
6971 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6972 front of `login-args'.
6973 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6974 on "/dev/null" instead of "/".
6975 (tramp-get-ls-command-with-dired): Make test for "--dired"
6977 (tramp-set-auto-save-file-modes): Adapt version check.
6978 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6979 (tramp-handle-process-file): Call the program in a subshell, in
6980 order to preserve working directory.
6981 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6982 `tramp-remote-sh' from `tramp-methods'.
6983 (tramp-get-ls-command): Make test for "--color=never" stronger.
6984 (tramp-check-for-regexp): Use (forward-line 1).
6986 * net/trampver.el: Update release number.
6988 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6990 * help.el (help-map): Bind `C-h P' to describe-package.
6992 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6994 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6995 when downloading archives.
6996 (describe-package-1): Add package commentary.
6997 (package-install-button-action): New function.
6998 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6999 (package-menu-view-commentary): Function removed.
7000 (package-list-packages-internal): Hide the `package' package too.
7002 2010-08-25 Kenichi Handa <handa@m17n.org>
7004 * language/misc-lang.el ("Arabic"): New language environment.
7005 Setup composition-function-table for Arabic characters.
7007 * international/fontset.el (setup-default-fontset): Fix typo for
7008 arabic OTF spec (fini->fina).
7010 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7012 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7015 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7017 * whitespace.el: Allow cleaning up blanks without blank
7018 visualization (Bug#6651). Adjust help window for
7019 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7020 instead of whitespace-line-column (from EmacsWiki). New version
7022 (whitespace-style): Add new value 'face. Adjust docstring.
7023 (whitespace-space, whitespace-hspace, whitespace-tab):
7024 Adjust foreground property face.
7025 (whitespace-line-column): Adjust docstring and type declaration.
7026 (whitespace-style-value-list, whitespace-toggle-option-alist)
7027 (whitespace-help-text): Adjust const initialization.
7028 (whitespace-toggle-options, global-whitespace-toggle-options):
7030 (whitespace-display-window, whitespace-interactive-char)
7031 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7032 (whitespace-help-scroll): New fun.
7034 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7036 * emacs-lisp/package.el (list-packages): Alias for
7037 package-list-packages.
7039 2010-08-24 Kevin Ryde <user42@zip.com.au>
7041 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7044 * progmodes/ruby-mode.el (ruby): Add defgroup.
7046 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7048 * progmodes/python.el: Add Ipython support (Bug#5390).
7049 (python-shell-prompt-alist)
7050 (python-shell-continuation-prompt-alist): New options.
7051 (python--set-prompt-regexp): New function.
7052 (inferior-python-mode, run-python, python-shell):
7053 Require ansi-color. Use python--set-prompt-regexp to set the comint
7054 prompt based on the Python interpreter.
7055 (python--prompt-regexp): New var.
7056 (python-check-comint-prompt)
7057 (python-comint-output-filter-function): Use it.
7058 (run-python): Use a pipe (Bug#5694).
7060 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7062 * progmodes/python.el (python-send-region): Send a different
7063 Python command if Ipython is in use.
7064 (python-check-version): Use a Python command to find the version.
7066 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7068 * mouse.el (mouse-yank-primary): Avoid setting primary when
7069 deactivating the mark (Bug#6872).
7071 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7073 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7074 with "else" (Bug#3991).
7076 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7078 * net/dbus.el: Accept UNIX domain sockets as bus address.
7079 (top): Don't initialize `dbus-registered-objects-table' anymore,
7080 this is done in dbusbind,c.
7081 (dbus-check-event): Adapt test for bus.
7082 (dbus-return-values-table, dbus-unregister-service)
7083 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7086 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7088 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7090 2010-08-22 Juri Linkov <juri@jurta.org>
7092 * simple.el (read-extended-command): New function with the logic
7093 for `completing-read' moved to Elisp from `execute-extended-command'.
7094 Use `function-called-at-point' in `minibuffer-default-add-function'
7095 to get a command name for M-n (bug#5364, bug#5214).
7097 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7099 * startup.el (command-line-1): Issue warning for ignored arguments
7100 --unibyte, etc (Bug#6886).
7102 2010-08-22 Leo <sdl.web@gmail.com>
7104 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7105 (ignore, bright, dim, keyword): Split list of nicknames before
7106 passing to rcirc-add-or-remove (Bug#6894).
7108 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7110 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7112 2010-08-22 Leo <sdl.web@gmail.com>
7114 Fix buffer-list rename&refresh after killing a buffer in ido.
7115 * ido.el: Revert Óscar's.
7116 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7117 Remember the buffers at head, rather than their name.
7118 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7120 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7121 Stefan Monnier <monnier@iro.umontreal.ca>
7123 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7124 extra backslash added to each line (bug#6890).
7126 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7128 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7130 2010-08-22 Glenn Morris <rgm@gnu.org>
7132 * menu-bar.el (menu-bar-games-menu): Add landmark.
7134 2010-08-22 Glenn Morris <rgm@gnu.org>
7136 * align.el (align-regexp): Make group and spacing arguments
7137 use the interactive defaults when non-interactive. (Bug#6698)
7139 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7140 expansion, so as not to need sendmail.
7141 (mail-text-start): Remove declaration.
7142 (rmail-retry-failure): Require sendmail.
7144 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7146 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7148 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7150 * progmodes/flymake.el (flymake-start-syntax-check-process):
7151 Use `start-file-process' in order to let it run also on remote hosts.
7153 2010-08-22 Kenichi Handa <handa@m17n.org>
7155 * files.el: Add `word-wrap' as safe local variable.
7157 2010-08-22 Glenn Morris <rgm@gnu.org>
7159 * woman.el (woman-translate): Case matters. (Bug#6849)
7161 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7163 * simple.el (kill-region): Doc fix (Bug#6787).
7165 2010-08-22 Glenn Morris <rgm@gnu.org>
7167 * calendar/diary-lib.el (diary-header-line-format):
7168 Fit it to the window, not the frame.
7170 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7172 * subr.el (ignore-errors): Add debug declaration.
7174 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7176 * whitespace.el (whitespace-color-off): Remove post-command-hook
7179 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7181 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7183 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7185 * cus-edit.el (custom-group-value-create): Add extra newline
7186 before end line (Bug#6876).
7188 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7190 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7191 when extending it. Before killing on the second click, check if
7192 the buffer is the correct one. Doc fix.
7193 (mouse-secondary-save-then-kill): Allow usage without first
7194 calling mouse-start-secondary, by defaulting to point. Don't save
7195 an empty secondary selection. Doc fix.
7197 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7199 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7200 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7202 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7203 Adjust initialization.
7204 (whitespace-bob-marker, whitespace-eob-marker)
7205 (whitespace-buffer-changed): New vars.
7206 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7207 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7208 (whitespace-post-command-hook, whitespace-display-char-on):
7210 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7211 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7213 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7215 * files.el (locate-file-completion-table): Only list the .el and .elc
7216 extensions if there's no other choice (bug#5955).
7218 * facemenu.el (facemenu-self-insert-data): New var.
7219 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7221 (facemenu-add-face): Use them.
7223 * simple.el (blink-matching-open): Obey forward-sexp-function.
7225 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7227 * simple.el (prog-mode-map): New var.
7228 (prog-indent-sexp): New command.
7230 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7232 * progmodes/prolog.el (smie): Require.
7234 * emacs-lisp/smie.el (smie-default-backward-token)
7235 (smie-default-forward-token): Strip properties.
7236 (smie-next-sexp): Be more careful with associative operators.
7237 (smie-forward-sexp-command): Generalize.
7238 (smie-backward-sexp-command): Simplify.
7239 (smie-closer-alist): New var.
7240 (smie-close-block): New command.
7241 (smie-indent-debug-log): New var.
7242 (smie-indent-offset-rule): Add a few more cases.
7243 (smie-indent-column): New function.
7244 (smie-indent-after-keyword): Use it.
7245 (smie-indent-keyword): Use it.
7246 Fix up the opener code's point position.
7247 (smie-indent-comment): Only applies at BOL.
7248 (smie-indent-debug): New command.
7250 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7251 declarations that are useful before running the macro.
7253 2010-08-18 Joakim Verona <joakim@verona.se>
7255 * image.el (imagemagick-types-inhibit): New variable.
7256 (imagemagick-register-types): New function.
7257 * image-mode.el (image-transform-properties): New function.
7258 (image-transform-set-scale, image-transform-fit-to-height)
7259 (image-transform-set-rotation, image-transform-set-resize)
7260 (image-transform-fit-to-width, image-transform-fit-to-height):
7262 (image-toggle-display-image): Support image transforms.
7264 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7266 * image.el (create-animated-image): Don't add heuristic mask to image
7269 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7271 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7272 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7274 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7276 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7278 Font-lock '...' strings, plus various simplifications and fixes.
7279 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7280 (octave-font-lock-close-quotes): New function.
7281 (octave-font-lock-syntactic-keywords): New var.
7282 (octave-mode): Use it. Set beginning-of-defun-function.
7283 (octave-mode-map): Don't override the <foo>-defun commands.
7284 (octave-mode-menu): Pass it directly to easy-menu-define;
7285 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7286 (octave-block-match-alist): Fix up last change so that
7287 octave-close-block uses the more specific keyword.
7288 (info-lookup-mode): Silence byte-compiler.
7289 (octave-beginning-of-defun): Not interactive any more.
7291 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7292 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7293 (octave-completion-at-point-function): Make sure point is within
7295 (octave-reindent-then-newline-and-indent):
7296 Use reindent-then-newline-and-indent.
7297 (octave-add-octave-menu): Remove.
7299 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7301 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7302 (report-emacs-bug-can-use-xdg-email): New functions.
7303 (report-emacs-bug): Set can-xdg-email to result of
7304 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7305 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7308 * net/browse-url.el (browse-url-default-browser): Add cond
7309 for browse-url-xdg-open.
7310 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7312 2010-08-17 Glenn Morris <rgm@gnu.org>
7314 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7315 (c-fontify-recorded-types-and-refs): Define for compiler.
7316 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7319 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7322 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7324 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7326 (tramp-handle-process-file): Call the program in a subshell, in
7327 order to preserve working directory.
7328 (tramp-action-password): Hide password prompt before next run.
7329 (tramp-process-actions): Widen connection buffer for the trace.
7331 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7333 * net/rcirc.el (rcirc-log-process-buffers): New option.
7334 (rcirc-print): Use it.
7335 (rcirc-generate-log-filename): New function.
7336 (rcirc-log-filename-function): Change default to
7337 rcirc-generate-log-filename (Bug#6828).
7339 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7341 * simple.el (deactivate-mark): If select-active-regions is `only',
7342 only set selection for temporarily active regions.
7344 * cus-start.el: Change defcustom for select-active-regions.
7346 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7348 * mouse.el (mouse--drag-set-mark-and-point): New function.
7349 (mouse-drag-track): Use LOCATION arg to push-mark.
7350 Use mouse--drag-set-mark-and-point to take click-count into
7351 consideration when updating point and mark (Bug#6840).
7353 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7355 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7356 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7358 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7360 * font-lock.el (lisp-font-lock-keywords-2):
7361 Add combine-after-change-calls, condition-case-no-debug,
7362 with-demoted-errors, and with-silent-modifications (Bug#6025).
7364 2010-08-14 Kevin Ryde <user42@zip.com.au>
7366 * emacs-lisp/copyright.el (copyright-update-year)
7367 (copyright-update): Temporary switch-to-buffer to ensure the
7368 buffer change being queried is visible (Bug#5394).
7370 2010-08-14 Tom Tromey <tromey@redhat.com>
7372 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7375 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7377 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7380 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7382 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7383 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7384 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7385 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7386 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7387 Call menu-bar-set-tool-bar-position.
7389 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7391 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7392 comment style (bug#6834).
7393 * progmodes/scheme.el (scheme-mode-syntax-table):
7394 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7395 "b" flag in "' 14b" syntax.
7397 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7398 for (un)commenting the region and performing completion.
7399 (octave-mode-menu): Use standard commands for help and completion.
7400 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7401 (octave-mode): Use define-derived-mode.
7402 Set completion-at-point-functions and don't set columns.
7403 Don't disable adaptive-fill-regexp.
7404 (octave-describe-major-mode, octave-comment-region)
7405 (octave-uncomment-region, octave-comment-indent)
7406 (octave-indent-for-comment): Remove.
7407 (octave-indent-calculate): Rename from calculate-octave-indent.
7408 (octave-indent-line, octave-fill-paragraph): Update caller.
7409 (octave-initialize-completions): No need to make an alist.
7410 (octave-completion-at-point-function): New function.
7411 (octave-complete-symbol): Use it.
7412 (octave-insert-defun): Use define-skeleton.
7414 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7415 (octave-mode-map): Use comment-dwim (bug#6829).
7417 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7419 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7420 indentation of inserted comment.
7422 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7424 * faces.el (region): Add type gtk that uses gtk colors.
7426 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7427 Handle theme-name change.
7429 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7431 * progmodes/sql.el: Version 2.5
7432 (sql-product-alist): Add :prompt-cont-regexp property for several
7434 (sql-prompt-cont-regexp): New variable.
7435 (sql-output-newline-count, sql-output-by-send):
7436 New variables. Record number of newlines in input text.
7437 (sql-send-string): Handle multiple filters and count newlines.
7438 (sql-send-magic-terminator): Count terminator newline.
7439 (sql-interactive-remove-continuation-prompt): Filters output to
7440 remove continuation prompts; one for each newline.
7441 (sql-interactive-mode): Set up new variables, prompt regexp and
7443 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7444 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7446 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7448 * emacs-lisp/pcase.el: New file.
7450 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7452 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7453 as here-document, otherwise the command could exceed maximum
7454 length of command line.
7455 (tramp-handle-vc-registered): Call script accordingly.
7456 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7458 2010-08-10 Kenichi Handa <handa@m17n.org>
7460 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7463 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7465 * emacs-lisp/package.el (package-version-split)
7466 (package--version-first-nonzero, package-version-compare):
7468 (package-directory-list, package-load-all-descriptors)
7469 (package--built-in, package-activate, define-package)
7470 (package-installed-p, package-compute-transaction)
7471 (package-read-all-archive-contents)
7472 (package--add-to-archive-contents, package-buffer-info)
7473 (package-tar-file-info, package-list-packages-internal):
7474 Use version-to-list and version-list-*.
7476 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7477 Use version-to-list.
7478 (package-upload-buffer-internal): Use version-list-<=.
7480 2010-08-09 Kenichi Handa <handa@m17n.org>
7482 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7485 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7487 * tutorial.el (tutorial--default-keys): C-d is now bound to
7488 delete-forward-char (Bug#6826).
7490 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7491 for `double' value of mouse-1-click-follows-link (Bug#6807).
7493 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7495 * replace.el (replace-highlight): Bind isearch-forward and
7496 isearch-error, ensuring that highlighting is updated if the user
7497 switches the search direction (Bug#6808).
7499 * isearch.el (isearch-lazy-highlight-forward): New var.
7500 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7501 (isearch-lazy-highlight-update): Use it.
7503 2010-08-08 Kenichi Handa <handa@m17n.org>
7505 * international/mule.el (define-charset): Store NAME as :base property.
7506 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7507 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7508 current priority. Force using the designation of the specific
7509 charset by adding `charset' text property. Improve the whole algorithm.
7511 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7513 * emulation/pc-select.el (pc-selection-mode-hook)
7514 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7515 (pc-selection-mode): Fix typos in docstrings.
7517 2010-08-08 Kenichi Handa <handa@m17n.org>
7519 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7520 ctext-non-standard-encodings-alist here.
7522 * international/mule.el (ctext-non-standard-encodings-alist):
7523 Add "koi8-r" and "microsoft-cp1251".
7524 (ctext-standard-encodings): New variable.
7525 (ctext-non-standard-encodings-table): List only elements for
7526 non-standard encodings.
7527 (ctext-pre-write-conversion): Adjust for the above change.
7528 Check ctext-standard-encodings.
7530 * international/mule-conf.el (compound-text): Doc fix.
7531 (ctext-no-compositions): Doc fix.
7532 (compound-text-with-extensions): Doc fix.
7534 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7536 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7538 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7540 * progmodes/which-func.el (which-func-format): Split help-echo text
7541 into lines, like other mode-line tooltips.
7543 * server.el (server-start): When using TCP sockets, force IPv4
7544 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7546 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7548 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7550 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7552 * term.el (term-delimiter-argument-list): Reflow docstring.
7553 (term-read-input-ring, term-write-input-ring, term-send-input)
7554 (term-bol, term-erase-in-display, serial-supported-or-barf):
7555 Fix typos in docstrings.
7557 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7559 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7561 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7563 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7565 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7567 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7568 Fix typo in docstring (bug#6747).
7570 2010-08-08 Leo <sdl.web@gmail.com>
7572 * eshell/esh-io.el (eshell-get-target): Better detection of
7573 read-only file (Bug#6762).
7575 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7577 * align.el (align-default-spacing): Doc fix.
7578 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7580 2010-08-08 Stephen Peters <speters@itasoftware.com>
7582 * calendar/icalendar.el
7583 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7584 (icalendar--get-weekday-numbers): New.
7585 (icalendar--convert-recurring-to-diary): Handle multiple byday
7586 values in weekly rules. (Bug#6766)
7588 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7590 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7591 (icalendar--create-uid, icalendar-export-region)
7592 (icalendar--parse-summary-and-rest): Code formatting.
7594 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7596 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7597 to italicize headers.
7598 (calc-highlight-selections-with-faces): New variable.
7599 (calc-selected-face, calc-nonselected-face): New faces.
7601 * calc/calccomp.el (math-comp-highlight-string): Use
7602 `calc-highlight-selections-with-faces' to determine how to highlight
7605 * calc/calc-sel.el (calc-show-selections): Change message to when
7606 using faces to highlight selections.
7608 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7610 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7611 Add SQLite 3 keywords, functions and datatypes.
7612 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7615 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7617 * simple.el (select-active-regions): Move to keyboard.c.
7618 (deactivate-mark): Used saved-region-selection.
7619 (select-active-region): Function removed.
7620 (activate-mark, set-mark, push-mark-command)
7621 (handle-shift-selection): Don't call it.
7622 (keyboard-quit): Avoid adding the region to the window selection.
7624 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7625 select-active-regions implementation.
7626 (mouse-yank-at-click): Doc fix.
7628 * cus-start.el: Add custom declaration for select-active-regions.
7630 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7632 * simple.el (delete-forward-char): Doc fix.
7634 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7635 after reading the tutorial.
7637 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7639 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7640 Fix for the case that a C style comment has its delimiters alone on
7641 their respective lines.
7643 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7645 * net/tramp.el (tramp-handle-start-file-process): Set connection
7647 (tramp-process-sentinel): Use it for flushing the cache.
7648 We cannot do it via the process buffer, the buffer could be deleted
7649 already when running the sentinel.
7651 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7653 * comint.el (comint-mode): Make directory tracking functions
7654 functional on remote files. (Bug#6764)
7656 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7658 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7660 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7662 * emacs-lisp/find-gc.el (find-gc-source-files):
7663 Rename unexec.c => unexcoff.c.
7665 * emacs-lisp/authors.el (authors-fixed-entries):
7666 Rename unexec.c => unexcoff.c.
7668 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7670 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7671 cache, not only file cache.
7672 (tramp-process-sentinel): New defun.
7673 (tramp-handle-start-file-process): Use it, in order to invalidate
7676 2010-08-03 Leo <sdl.web@gmail.com>
7678 * server.el (server-start): Simplify loop.
7680 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * frame.el (screen-height, screen-width, set-screen-width)
7683 (set-screen-height): Remove ancient compatibility aliases.
7685 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7686 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7688 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7689 that change current buffer.
7691 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7693 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7694 beginning of the string. Use `string-match-p'. (Bug#6765)
7696 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7698 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7700 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7702 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7703 (package--builtins): Tweak descriptions.
7704 (package-print-package): Upcase descriptions if necessary.
7705 Show all built-in packages in font-lock-builtin-face.
7706 (package-list-packages-internal): Omit "emacs" package.
7707 Show status of built-in packages as "built-in".
7709 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7711 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7712 before killing to preserve the primary selection (Bug#6701).
7714 * term/x-win.el (x-select-text): Doc fix.
7716 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7718 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7719 (objc-font-lock-extra-types):
7720 * progmodes/cc-mode.el (c-basic-common-init):
7721 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7722 (c++-make-template-syntax-table)
7723 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7724 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7725 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7726 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7727 * progmodes/cc-fonts.el (c-make-inverse-face)
7728 (c-basic-matchers-after):
7729 * progmodes/cc-engine.el (c-forward-keyword-clause)
7730 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7731 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7732 (c-guess-continued-construct, c-guess-basic-syntax):
7733 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7734 The above functions were modified or created.
7736 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7738 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7740 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7742 * files.el (bidi-paragraph-direction): Define safe local values.
7744 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7745 language-info-alist. Remove outdated FIXME in a comment.
7747 2010-07-31 Alan Mackenzie <acm@muc.de>
7749 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7750 Auto-fill broken in C/C++ modes.
7752 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7754 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7755 (menu-bar-showhide-tool-bar-menu-customize-disable)
7756 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7757 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7758 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7759 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7760 make a menu for Options => toolbar that can move it.
7762 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7764 * emacs-lisp/package-x.el (package--make-rss-entry):
7765 (package-maint-add-news-item, package--update-news)
7766 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7768 * emacs-lisp/package.el (package-archive-url): Rename from
7770 (package-install): Doc fix.
7771 (package-download-single, package-download-tar, package-install)
7772 (package-menu-view-commentary): Callers changed.
7774 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7776 * net/tramp.el (tramp-handle-start-file-process): Check only for
7777 `remote-tty' process property.
7778 (tramp-open-shell): Don't check for tty.
7779 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7782 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7785 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7787 * emacs-lisp/package.el (package-load-list, package-archives)
7788 (package-archive-contents, package-user-dir)
7789 (package-directory-list, package--builtins, package-alist)
7790 (package-activated-list, package-obsolete-alist): Mark as risky.
7792 2010-07-28 Phil Hagelberg <phil@evri.com>
7794 Add support for non-default package repositories.
7795 * emacs-lisp/package.el (package-archive-base): Var deleted.
7796 (package-archives): New variable.
7797 (package-archive-contents): Doc fix.
7798 (package-load-descriptor): Do nothing if descriptor file is missing.
7799 (package--write-file-no-coding): New function.
7800 (package-unpack-single): Use it.
7801 (package-archive-id): New function.
7802 (package-download-single, package-download-tar)
7803 (package-menu-view-commentary): Use it.
7804 (package-installed-p): Make second argument optional.
7805 (package-read-all-archive-contents): New function.
7806 (package-initialize): Use it.
7807 (package-read-archive-contents): Add ARCHIVE argument.
7808 (package--add-to-archive-contents): New function.
7809 (package-install): Don't call package-read-archive-contents.
7810 (package--download-one-archive): Store archive file in a
7811 subdirectory of package-user-dir.
7812 (package-menu-execute): Remove spurious line movement.
7814 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7816 * cus-start.el (tool-bar-style): Add text-image-horiz.
7818 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7820 * progmodes/gud.el (gud-common-init): Check for remoteness of
7821 `file', and not of `default-directory'.
7823 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7825 * net/tramp.el (tramp-methods): Move hostname to the end in all
7826 ssh `tramp-login-args'.
7827 (tramp-verbose): Describe verbose level 9.
7828 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7829 (tramp-open-connection-setup-interactive-shell): Trace stty
7830 settings if `tramp-verbose' >= 9.
7831 (tramp-handle-start-file-process): Implement tty setting.
7832 (Bug#4604, Bug#6360)
7834 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7835 `tramp-verbose' to 9.
7837 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7839 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7840 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7841 Remove references to package `lisp-re' (bug#4369).
7843 2010-07-27 Tom Tromey <tromey@redhat.com>
7845 * progmodes/js.el (js-mode):
7846 * progmodes/make-mode.el (makefile-mode):
7847 * progmodes/simula.el (simula-mode):
7848 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7850 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7852 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7854 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7855 (display-time-world-buffer-name, display-time-world-mode-map):
7856 Fix typos in docstrings.
7858 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7860 * image-mode.el (image-display-size): New function.
7861 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7862 (image-mode-fit-frame): Use it (Bug#6639).
7864 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7866 * dired.el (dired-buffers-for-dir): Handle list values of
7867 dired-directory (Bug#6636).
7869 2010-07-26 Sam Steingold <sds@gnu.org>
7871 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7872 Do not call `x-get-selection' the second time, reuse the value.
7874 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7876 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7877 which consist of control chars only. Suggested by Richard Stallman.
7879 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7881 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7882 exists before passing an error to find-file-not-found-functions
7885 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7887 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7888 Remove leading nil element, adjust values.
7889 (tetris-shapes, tetris-shape-scores):
7890 Change representation of shapes and remove some redundancy.
7891 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7892 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7893 Adjust for working with new representation of shapes.
7894 (tetris-shape-rotations): New function.
7895 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7896 (tetris-rotate-prev, tetris-rotate-next):
7897 Adjust for working with the new version of tetris-test-shape.
7899 2010-07-23 Markus Triska <markus.triska@gmx.at>
7901 * progmodes/ps-mode.el: Use comint (bug#5954).
7902 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7903 (ps-mode-other-newline): Simplify.
7904 (ps-run-mode): Derive from comint-mode instead of
7905 fundamental-mode, yielding input history etc.
7906 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7907 (ps-run-send-string): Adapt for comint-mode.
7908 (ps-run-newline): Remove now unneeded function.
7910 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7912 * net/tramp.el (tramp-methods): Move hostname to the end in all
7913 plink `tramp-login-args'.
7915 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7917 * net/tramp.el (tramp-open-shell): New defun.
7918 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7921 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7923 * net/tramp.el (tramp-file-name-regexp-unified)
7924 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7925 not regard the volume letter as remote filename. (Bug#5447)
7927 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7929 * custom.el (custom-declare-variable): Give a clearer error message
7930 when the docstring is missing (bug#6476).
7932 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7934 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7935 (sql-login-params): New widget definition.
7936 (sql-oracle-login-params, sql-mysql-login-params)
7937 (sql-solid-login-params, sql-sybase-login-params)
7938 (sql-informix-login-params, sql-ingres-login-params)
7939 (sql-ms-login-params, sql-postgres-login-params)
7940 (sql-interbase-login-params, sql-db2-login-params)
7941 (sql-linter-login-params): Use it.
7942 (sql-sqlite-login-params): Use it; Define "database" parameter as
7944 (sql-sqlite-program): Change to "sqlite3".
7945 (sql-comint-sqlite): Make sure database name is complete.
7946 (sql-for-each-login): New function.
7947 (sql-connect, sql-save-connection): Use it.
7948 (sql-get-login-ext): New function.
7949 (sql-get-login): Use it.
7950 (sql-make-alternate-buffer-name): Handle :file parameters.
7952 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7954 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7955 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7957 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7959 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7961 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7963 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7965 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7967 * net/tramp.el (tramp-get-ls-command)
7968 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7971 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7973 * progmodes/sql.el: Version 2.3.
7974 (sql-connection-alist): Change keys from symbols to strings;
7975 enhanced the widget definition.
7976 (sql-mode-menu): Add submenu to select connections.
7977 (sql-interactive-mode-menu): Add "Save Connection" item.
7978 (sql-add-product): Fix menu item.
7979 (sql-get-product-feature): Improved error handling.
7980 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7981 (sql-make-alternate-buffer-name): Simplified.
7982 (sql-product-interactive): Handle missing product.
7983 (sql-connect): Support string keys, minor improvements.
7984 (sql-save-connection): New function.
7985 (sql-connection-menu-filter): New function.
7987 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7989 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7990 (tramp-open-connection-setup-interactive-shell):
7991 Apply workaround for IRIX64 bug. Move argument of last
7992 `tramp-send-command' where it belongs to.
7994 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7996 * net/tramp.el (tramp-perl-file-attributes)
7997 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7998 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7999 front of `login-args'.
8001 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8003 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8004 Set `show-trailing-whitespace' to nil.
8005 (display-time-world-display): Simplify.
8007 2010-07-18 Alan Mackenzie <acm@muc.de>
8009 Enhance `c-file-style' in file/directory local variables.
8010 * progmodes/cc-mode.el (c-count-cfss): New function.
8011 (c-before-hack-hook): Call `c-set-style' differently according to
8012 whether c-file-style was set in file or directory local
8015 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8017 * progmodes/sql.el: Version 2.2.
8018 (sql-product, sql-user, sql-database, sql-server, sql-port):
8019 Use defcustom :safe keyword rather than putting safe-local-variable
8021 (sql-password): Use defcustom :risky keyword rather than putting
8022 risky-local-variable property.
8023 (sql-oracle-login-params, sql-sqlite-login-params)
8024 (sql-solid-login-params, sql-sybase-login-params)
8025 (sql-informix-login-params, sql-ingres-login-params)
8026 (sql-ms-login-params, sql-postgres-login-params)
8027 (sql-interbase-login-params, sql-db2-login-params)
8028 (sql-linter-login-params): Add `port' option.
8029 (sql-get-product-feature): Add NO-INDIRECT parameter.
8030 (sql-comint-oracle, sql-comint-sybase)
8031 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8032 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8033 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8034 (sql-comint-linter): Rename sql-connect-* functions to
8036 (sql-product-alist, sql-mode-menu): Rename as above and
8037 :sqli-connect-func to :sqli-comint-func.
8038 (sql-connection): New variable.
8039 (sql-interactive-mode): Set it.
8040 (sql-connection-alist): New variable.
8041 (sql-connect): New function.
8042 (sql--alt-buffer-part, sql--alt-if-not-empty)
8043 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8045 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8047 * image-mode.el (image-bookmark-make-record): Do not set context
8048 in an image (Bug#6650).
8050 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8052 * simple.el (select-active-region): New function.
8053 (push-mark-command, set-mark, activate-mark)
8054 (handle-shift-selection): Use it.
8055 (deactivate-mark): Don't check for size of region.
8057 * mouse.el (mouse-drag-track): Use select-active-region.
8059 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8061 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8064 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8066 * term/x-win.el (x-select-enable-primary): Change default to nil.
8067 (x-select-enable-clipboard): Add :version keyword.
8069 * mouse.el (mouse-drag-copy-region):
8070 * simple.el (select-active-regions): Likewise.
8072 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8074 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8075 (vc-coding-system-for-diff): Use it to decide whether to inherit
8076 from the file the EOL format for reading the diffs of that file.
8079 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8081 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8082 unibyte, so compressed attachments are not compressed again.
8084 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8086 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8087 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8088 (tramp-find-shell): Simplify setting connection property.
8089 (tramp-get-ls-command): Make test for "--color=never" stronger.
8091 2010-07-15 Simon South <ssouth@member.fsf.org>
8093 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8094 blocks within record declarations (i.e. variant parts) correctly.
8096 2010-07-15 Simon South <ssouth@member.fsf.org>
8098 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8099 over literal tokens when parsing so newlines aren't "absorbed" by
8100 single-line comments. Corrects the indentation of case blocks
8101 that have a comment on the first line.
8103 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8105 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8106 by Drew Adams (Bug#5504).
8108 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8110 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8111 now that Unicode is used (Bug#6594).
8113 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8115 * term/x-win.el (x-select-enable-clipboard): Default to t.
8116 (x-initialize-window-system): Don't overwrite Paste menu item.
8118 * simple.el (select-active-regions): Default to t.
8119 (push-mark-command): Don't overwrite primary with empty string.
8121 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8122 (mouse-drag-copy-region): Default to nil.
8124 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8125 Cut/Copy/Paste menu bar items.
8127 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8129 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8130 Patch applied by Karl Fogel.
8132 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8133 and `bookmark-current-buffer' if they have been already set in
8134 another buffer (e.g gnus-art).
8136 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8137 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8139 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8141 * bookmark.el (bookmark-make-record-default): Allow unneeded
8142 information to be omitted from the record.
8144 Adjust declarations and calls:
8146 * info.el (bookmark-make-record-default): Adjust declaration.
8147 (Info-bookmark-make-record): Adjust call.
8149 * woman.el (bookmark-make-record-default): Adjust declaration.
8150 (woman-bookmark-make-record): Adjust call.
8152 * man.el (bookmark-make-record-default): Adjust declaration.
8153 (Man-bookmark-make-record): Adjust call.
8155 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8157 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8159 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8161 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8162 This is also from Thierry Volpiatto's patch in bug #6444. However,
8163 because it was extraneous to the functional change in that patch,
8164 and causes a re-indendation, I am committing it separately.
8166 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8168 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8169 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8170 Patch applied by Karl Fogel (Bug#6444).
8172 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8174 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8176 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8178 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8179 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8180 (ns-alternatives-map): Change S-tab binding to backtab
8183 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8186 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8188 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8191 * language/tv-util.el (tai-viet-re): Remove format.
8193 2010-07-12 Kenichi Handa <handa@m17n.org>
8195 * language/hebrew.el: Remove no-byte-compile declaration.
8196 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8197 composition-function-table for 3-character looking back.
8198 (hebrew-font-get-precomposed): New function.
8199 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8201 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8203 * mouse.el (mouse-drag-track): Handle select-active-regions
8206 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8208 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8209 empty argument to gvfs-copy.
8211 2010-07-10 Glenn Morris <rgm@gnu.org>
8213 * calendar/calendar.el (calendar-week-end-day): New function.
8214 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8215 Respect calendar-week-start-day. (Bug#6606)
8216 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8217 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8218 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8219 respect calendar-week-start-day.
8221 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8223 * simple.el (use-region-p): Doc fix (Bug#6607).
8225 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8227 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8228 Add regexps for cucumber and ruby.
8230 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8232 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8233 (epa-file-insert-file-contents): Hack to prevent
8234 find-file from opening empty buffer when decryption failed
8237 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8239 * textmodes/ispell.el (ispell-alternate-dictionary):
8240 Use file-readable-p.
8241 Return nil if no word-list is found at default locations.
8242 (ispell-complete-word-dict): Default to nil.
8243 (ispell-command-loop): Use 'word-list' when using lookup-words.
8244 (lookup-words): Use ispell-complete-word-dict or
8245 ispell-alternate-dictionary. Check for word-list availability
8246 and handle errors if needed with better messages (Bug#6539).
8247 (ispell-complete-word): Use ispell-complete-word-dict or
8248 ispell-alternate-dictionary.
8250 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8252 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8253 builtins (BufferError, BytesWarning, WindowsError; callables
8254 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8256 2010-07-07 Glenn Morris <rgm@gnu.org>
8258 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8259 (zone-shift-left): Ignore intangibility, and any errors from
8261 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8262 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8263 deleting, and copying text properties.
8264 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8265 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8266 to point-max is hard.
8267 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8268 (zone-fill-out-screen): Ignore intangibility.
8270 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8272 * menu-bar.el (menu-bar-mode):
8273 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8276 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8277 word/line selection (Bug#6565).
8279 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8281 * net/dbus.el (dbus-send-signal): Declare function.
8283 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8285 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8286 (dbus-register-property): New optional argument EMITS-SIGNAL.
8287 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8289 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8291 * mouse.el (mouse-drag-overlay): Variable deleted.
8292 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8293 (mouse--remap-link-click-p): New function.
8294 (mouse-drag-track): Handle dragging by using temporary Transient
8295 Mark mode, instead of a special overlay.
8296 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8299 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8302 2010-07-02 Juri Linkov <juri@jurta.org>
8304 * autoinsert.el (auto-insert-alist): Fix readability
8305 by using dotted pair notation for lambda.
8307 2010-07-02 Juri Linkov <juri@jurta.org>
8309 * faces.el (read-face-name): Rename arg `string-describing-default'
8310 to `default'. Doc fix. Display the default value in quotes
8311 in the prompt. With empty input, return the `default' arg,
8312 unless the default value is a string (in which case return nil).
8313 (describe-face): Replace the string `default' arg of `read-face-name'
8314 with the symbol `default'.
8316 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8318 * emulation/viper-cmd.el (viper-delete-backward-char)
8319 (viper-del-backward-char-in-insert)
8320 (viper-del-backward-char-in-replace, viper-change)
8321 (viper-backward-indent): Replace delete-backward-char with
8322 delete-char (Bug#6552).
8324 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8326 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8328 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8330 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8331 argument passed to frame-creation-function (Bug#5378).
8333 * faces.el (x-handle-named-frame-geometry)
8334 (x-handle-reverse-video, x-create-frame-with-faces)
8335 (face-set-after-frame-default, tty-create-frame-with-faces):
8336 Don't separately consult default-frame-alist. It is now passed as the
8339 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8341 * startup.el (command-line): Don't call tool-bar-setup in a
8344 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8346 * ruler-mode.el (ruler--save-header-line-format): New fun.
8347 (ruler-mode): Use it as a setter function, so as not to overwrite
8348 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8350 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8352 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8353 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8354 (vc-log-outgoing): Use it.
8355 (vc-diff-internal): Set diff-vc-backend.
8357 * vc/diff-mode.el (diff-vc-backend): New var.
8359 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8361 * dynamic-setting.el (font-setting-change-default-font):
8362 Remove call to message.
8364 2010-06-28 Kenichi Handa <handa@m17n.org>
8366 * international/quail.el (quail-insert-kbd-layout): Fix the
8367 showing of untranslated characters.
8369 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8371 * simple.el (delete-active-region): New option.
8372 (delete-backward-char): Implement in Lisp.
8373 (delete-forward-char): New command.
8375 * mouse.el (mouse-region-delete-keys): Deleted.
8376 (mouse-show-mark): Simplify.
8378 * bindings.el (global-map): Bind delete and DEL, the former to
8379 delete-forward-char.
8381 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8383 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8384 (ruby-mode): Bind indent-line-function (Bug#5119).
8386 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8388 * startup.el (command-line): Recognize "0" X resource value.
8390 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8392 * startup.el (command-line): Use X resources to set the value of
8393 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8395 * menu-bar.el (menu-bar-mode):
8396 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8397 Set init-value to t.
8399 * frame.el (frame-notice-user-settings): Don't change
8400 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8401 vice versa (Bug#2249).
8403 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8405 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8407 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8409 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8410 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8412 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8413 default directories are expanded (Bug#6143).
8415 2010-06-24 Juri Linkov <juri@jurta.org>
8417 * minibuffer.el (completions-format): Change default from nil to
8418 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8420 2010-06-24 Juri Linkov <juri@jurta.org>
8422 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8423 buffer-locally to lambda that re-runs the vc diff command.
8426 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8428 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8429 echo area is in use (Bug#3412).
8431 2010-06-22 Glenn Morris <rgm@gnu.org>
8433 * textmodes/texinfmt.el (texinfo-format-region)
8434 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8435 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8436 (texinfo-format-option, texinfo-noindent):
8437 Use line-beginning-position and line-end-position.
8439 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8440 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8441 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8444 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8446 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8447 forward-line fallout.
8449 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8451 * mouse.el (mouse-appearance-menu): Add docstring.
8453 * help.el (describe-key): Print up-event using key-description.
8455 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8457 * net/zeroconf.el (zeroconf-resolve-service)
8458 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8459 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8461 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8463 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8465 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8467 Avoid displaying files with a nil state in vc-dir.
8468 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8469 cases that cause insertion.
8470 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8473 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8475 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8477 2010-06-29 Leo <sdl.web@gmail.com>
8479 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8481 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8483 * generic-x.el (bat-generic-mode): Fix regexp for command line
8484 switches (Bug#5719).
8486 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8488 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8489 of nconc to avoid pure storage error (Bug#6239).
8491 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8493 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8494 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8495 bindings of bookmark-automatically-show-annotations (Bug#6515).
8497 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8499 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8500 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8502 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8504 * comint.el (make-comint, make-comint-in-buffer): Mention return
8505 value in the docstrings. (Bug#6498)
8507 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8509 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8510 since it is not present when using some non-default switches.
8512 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8514 * simple.el (compose-mail): Fix doc string to refer to
8515 `compose-mail-user-agent-warnings', instead of to the
8516 nonexistent `compose-mail-check-user-agent'.
8518 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8520 Fix an indentation bug:
8522 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8523 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8526 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8527 (c-clear->-pair-props-if-match-before): now return t when they've
8528 cleared properties, nil otherwise.
8529 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8530 by taking account of the existing value.
8532 * progmodes/cc-defs.el
8533 (c-clear-char-property-with-value-function): Fix this to clear the
8534 property rather than overwriting it with nil.
8536 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8538 * emacs-lisp/package.el (package-print-package): Add link to
8539 package description via describe-package.
8540 (describe-package-1): List package requirements. Add button to
8541 perform installation.
8542 (package-menu-describe-package): New command.
8544 * help-mode.el (help-package): New button type.
8546 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8548 * emacs-lisp/package.el: Move package-list-packages binding to
8550 (describe-package, describe-package-1, package--dir): New funs.
8551 (package-activate-1): Use package--dir.
8553 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8555 * help-mode.el (help-package-def): New button type.
8557 * menu-bar.el: Move package-list-packages binding here from
8560 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8562 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8564 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8566 * emacs-lisp/edebug.el (edebug-read-list):
8567 Phase out old-style backquotes.
8569 2010-06-17 Juri Linkov <juri@jurta.org>
8571 * help-mode.el (help-mode): Set buffer-local variable
8572 revert-buffer-function to help-mode-revert-buffer.
8573 (help-mode-revert-buffer): New function.
8575 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8576 before popping to "*info*" (like in other Info functions).
8577 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8578 old-history-forward. Pop to old-buffer-name or "*info*" to
8579 recreate the killed buffer. Set Info-history-forward from
8580 old-history-forward.
8581 (Info-breadcrumbs-depth): Add :group and :version.
8583 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8585 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8587 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8589 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8590 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8592 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8594 * emacs-lisp/package.el (package-menu-mode-map):
8595 Move initialization into declaration.
8597 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8599 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8601 * emacs-lisp/package.el (package-archive-base): Point to
8603 (package-enable, package-load-list): New defcustoms.
8604 (package-user-dir, package-directory-list): Turn into defcustoms.
8605 Don't include package-user-dir in package-directory-list.
8606 (package--builtins-base): Don't include Emacs as a "package".
8607 (package-subdirectory-regexp): New var.
8608 (package-load-all-descriptors, package-compute-transaction)
8609 (package-download-transaction): Obey package-load-list.
8610 (package-activate-1): Rename from package-do-activate.
8611 (package-list-packages-internal): Check package-load-list.
8612 (package-load-descriptor, package-generate-autoloads)
8613 (package-unpack, package-unpack-single)
8614 (package--read-archive-file, package-delete):
8615 Use expand-file-name.
8617 * emacs-lisp/package-x.el: New file. Package uploading
8618 functionality split out from package.el.
8620 * startup.el (command-line): Load packages after reading init file.
8622 2010-06-17 Tom Tromey <tromey@redhat.com>
8624 * emacs-lisp/package.el: New file.
8626 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8628 Fix vc-annotate for renamed files when using Git.
8629 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8630 ls-files. Doe not pass the object as a file name to cat-file, it
8632 (vc-git-annotate-command): Pass the file name using -- to avoid
8633 ambiguity with the revision.
8634 (vc-git-previous-revision): Pass a relative file name.
8636 2010-06-22 Glenn Morris <rgm@gnu.org>
8638 * progmodes/js.el (js-mode-map): Use standard capitalization and
8639 ellipses for menu entries.
8641 * wid-edit.el (widget-complete): Doc fix.
8643 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8645 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8647 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8649 Fix annotating other revisions for renamed files in vc-annotate.
8650 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8651 VC backend. Use it when non-nil.
8652 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8655 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8656 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8657 Do not pass the file name to the 'previous-revision call when we
8658 don't want a file diff. (Bug#6489)
8660 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8662 Fix finding revisions for renamed files in vc-annotate.
8663 * vc/vc.el (vc-find-revision): Add an optional argument for
8664 the VC backend. Use it when non-nil.
8665 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8666 backend to vc-find-revision. (Bug#6487)
8668 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8670 Fix reading file names in Git annotate buffers.
8671 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8672 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8674 2010-06-20 Alan Mackenzie <acm@muc.de>
8676 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8677 in file local variables, set it first.
8679 2010-06-19 Glenn Morris <rgm@gnu.org>
8681 * descr-text.el (describe-char-unicode-data): Insert separating
8682 space when needed. (Bug#6422)
8684 * progmodes/idlwave.el (idlwave-action-and-binding):
8685 Fix typo in 2009-12-03 change. (Bug#6450)
8687 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8689 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8690 handling for `lambda' (misunderstanding).
8692 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8694 * calc/calc-poly.el (math-accum-factors): Make sure that
8695 constants aren't distributed after they are factored out.
8697 2010-06-16 Juri Linkov <juri@jurta.org>
8699 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8700 `list-colors-print'. (Bug#6332)
8702 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8704 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8706 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8707 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8709 * font-lock.el (font-lock-major-mode): Rename from
8710 font-lock-mode-major-mode to distinguish it from
8711 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8712 (font-lock-set-defaults):
8713 * font-core.el (font-lock-default-function): Adjust users.
8714 (font-lock-mode): Don't set it at all.
8716 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8718 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8720 2010-06-16 Glenn Morris <rgm@gnu.org>
8722 * calendar/appt.el (appt-time-msg-list): Doc fix.
8723 (appt-check): Let-bind appt-warn-time.
8724 (appt-add): Make the 3rd argument optional.
8725 Simplify argument names. Doc fix. Check for integer WARNTIME.
8726 Only add WARNTIME to the output list if non-nil.
8728 2010-06-16 Ivan Kanis <apple@kanis.eu>
8730 * calendar/appt.el (appt-check): Let the 3rd element of
8731 appt-time-msg-list specify the warning time.
8732 (appt-add): Add new argument with the warning time. (Bug#5176)
8734 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8736 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8737 older than version 1.6. (Bug#6361)
8739 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8741 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8742 used by cl-do-arglist. (Bug#6408)
8744 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8746 * textmodes/ispell.el (ispell-dictionary-base-alist):
8747 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8748 Suggested by Rolando Pereira (bug#6434).
8750 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8752 * facemenu.el (list-colors-sort): Doc fix.
8754 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8756 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8758 2010-06-14 Juri Linkov <juri@jurta.org>
8760 Add sort option `list-colors-sort'. (Bug#6332)
8761 * facemenu.el (color-rgb-to-hsv): New function.
8762 (list-colors-sort): New defcustom.
8763 (list-colors-sort-key): New function.
8764 (list-colors-display): Doc fix. Sort list according to the option
8766 (list-colors-print): Add HSV values to `help-echo' property of
8769 2010-06-14 Juri Linkov <juri@jurta.org>
8771 * compare-w.el: Move to the "vc" subdirectory.
8773 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8775 * image-mode.el (image-mode-map): Remap left-char and right-char.
8777 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8779 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8781 * term/common-win.el (x-colors): Add all the color names defined
8782 in rgb.txt (Bug#6332).
8784 * facemenu.el (list-colors-print): Don't print extra names if it
8785 will overflow the window width.
8787 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8790 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8792 * files.el (make-directory): Doc fix (bug#6396).
8794 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8796 * net/tramp.el (tramp-remote-process-environment): Protect version
8797 string by apostroph.
8798 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8800 (tramp-file-name-for-operation): Add `call-process-region'.
8801 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8803 * net/tramp-compat.el (top): Do not autoload
8804 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8805 only when `start-file-process' is not bound.
8806 (tramp-advice-file-expand-wildcards): Do not use
8807 `tramp-handle-file-remote-p'.
8808 (tramp-compat-make-temp-file): Handle the case, that
8809 `make-temp-file' has no third argument EXTENSION.
8811 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8813 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8815 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8817 2010-06-11 Juri Linkov <juri@jurta.org>
8819 * finder.el (finder-known-keywords): Add keyword "vc"
8820 for version control.
8822 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8823 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8824 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8825 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8827 2010-06-11 Juri Linkov <juri@jurta.org>
8829 Move version control related files to the "vc" subdirectory.
8830 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8831 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8832 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8833 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8834 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8835 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8836 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8837 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8838 Move files to the "vc" subdirectory.
8840 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8842 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8845 2010-06-11 Stephen Eglen <stephen@gnu.org>
8847 * shell.el: Bind `shell-resync-dirs' to M-RET.
8849 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8851 * notifications.el: Move file from lisp/net, because it is
8852 supposed to talk locally to the user.
8854 2010-06-10 Julien Danjou <julien@danjou.info>
8856 * net/notifications.el (notifications-on-action-signal)
8857 (notifications-on-closed-signal): Pass notification id as first
8858 argument to the callback functions. Add docstrings.
8859 (notifications-notify): Fix docstring.
8861 2010-06-10 Glenn Morris <rgm@gnu.org>
8863 * emacs-lisp/authors.el (authors-ignored-files)
8864 (authors-valid-file-names): Add some files.
8866 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8868 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8869 merge conflict, giving preference to the emacs-23 version of the code.
8871 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8873 * emacs-lisp/advice.el (ad-compile-function):
8874 Define warning-suppress-types before we let-bind it (bug#6275).
8876 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8877 declare it, make it buffer-local and permanent-local (bug#6324).
8878 (vc-resynch-window): Adjust name.
8879 * vc-hooks.el (vc-find-file-hook): Adjust name.
8881 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8883 * net/notifications.el (notifications-notify): Fix docstring.
8885 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8887 Update to Unicode 6.0.0 beta.
8888 * international/charprop.el: Update copyright.
8889 * international/mule-cmds.el (ucs-names): Update character ranges.
8890 * international/uni-bidi.el:
8891 * international/uni-category.el:
8892 * international/uni-combining.el:
8893 * international/uni-comment.el:
8894 * international/uni-decimal.el:
8895 * international/uni-decomposition.el:
8896 * international/uni-digit.el:
8897 * international/uni-lowercase.el:
8898 * international/uni-mirrored.el:
8899 * international/uni-name.el:
8900 * international/uni-numeric.el:
8901 * international/uni-old-name.el:
8902 * international/uni-titlecase.el:
8903 * international/uni-uppercase.el: Regenerate.
8905 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8907 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8908 (smie-precs-precedence-table): Fix typo in docstring.
8910 * vc-mtn.el (log-edit-extract-headers): Declare function.
8912 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8914 * net/notifications.el (dbus-register-signal): Declare function.
8915 (notifications-notify): Fix typos and reflow docstring.
8917 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8919 Improve VC create/retrieve tag/branch.
8920 * vc.el (vc-create-tag): Do not read the directory name for VCs
8921 with repository revision granularity. Adjust the tag/branch
8922 prompt. Reset VC properties.
8923 (vc-retrieve-tag): Do not read the directory name for VCs
8924 with repository revision granularity. Reset VC properties.
8926 2010-06-09 Julien Danjou <julien@danjou.info>
8928 * net/notifications.el: New file.
8930 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8932 Add optional support for resetting VC properties.
8933 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8934 call vc-file-clearprops when true.
8935 (vc-resynch-buffer): Add new optional argument, pass it down.
8936 (vc-resynch-buffers-in-directory): Likewise.
8938 Improve support for special markup in the VC commit message.
8939 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8940 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8941 * vc-git.el (vc-git-checkin):
8942 * vc-bzr.el (vc-bzr-checkin): Likewise.
8944 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8946 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8947 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8949 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8951 * iimage.el: Remove images as soon as the underlying text is modified.
8952 (iimage-modification-hook): New function.
8953 (iimage-mode-buffer): Use it.
8955 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8957 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8958 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8959 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8960 (smie-indent-keyword): Add handling of open-paren keywords.
8961 (smie-indent-comment-continue): Don't assume comment-continue.
8963 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8965 * window.el (pop-to-buffer): Remove the conditional that
8966 compares new-window and old-window, so it will reselect
8967 the selected window unconditionally.
8968 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8970 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8972 * emacs-lisp/smie.el (smie-indent-offset-after)
8973 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8974 (smie-indent-after-keyword): Use them.
8975 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8976 (smie-indent-keyword): Tweak the black magic.
8977 (smie-indent-comment-continue): Strip comment-continue before use.
8978 (smie-indent-functions): Indent comments before keywords.
8980 2010-06-06 Juri Linkov <juri@jurta.org>
8982 * isearch.el (isearch-lazy-highlight-search): Fix looping
8983 by checking for empty match. This syncs this loop with the
8984 similar loop in `isearch-search'. (Bug#6362)
8986 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8988 * net/dbus.el (dbus-register-method): Declare function.
8989 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8990 (dbus-introspect): Doc fix.
8991 (dbus-event-bus-name, dbus-introspect-get-interface)
8992 (dbus-introspect-get-argument): Reflow docstrings.
8994 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8996 vc-log-incoming/vc-log-outgoing fixes for Git.
8997 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8998 incoming/outgoing logs.
8999 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9000 instead of vc-git-compute-remote.
9001 (vc-git-compute-remote): Remove.
9003 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9005 * term/common-win.el (x-colors): Add "dark green" and "dark
9006 turquoise" (Bug#6332).
9008 2010-06-04 Juri Linkov <juri@jurta.org>
9010 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9011 Instead of setting `replace' to t and replacing the same string
9012 with itself, don't do certain actions when
9013 kill-do-not-save-duplicates is non-nil and string is equal to car
9014 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9015 interprogram-paste strings to kill-ring, and don't push the input
9016 argument `string' to kill-ring.
9017 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9019 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9021 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9023 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9025 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9026 (tramp-gvfs-handler-mounted-unmounted)
9027 (tramp-gvfs-connection-mounted-p): Handle default-location.
9029 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9030 move files to trash.
9032 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9034 * international/mule-cmds.el (nonascii-insert-offset)
9035 (nonascii-translation-table): Add obsolescence information.
9037 * international/mule.el (make-translation-table-from-vector): Doc fix.
9039 2010-06-03 Glenn Morris <rgm@gnu.org>
9041 * desktop.el (desktop-clear-preserve-buffers):
9042 Add "*Warnings*" buffer. (Bug#6336)
9044 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9046 vc-log-incoming/vc-log-outgoing improvements for Git.
9047 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9049 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9051 Add bindings for vc-log-incoming and vc-log-outgoing.
9052 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9053 and vc-log-outgoing.
9054 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9055 and vc-log-outgoing.
9057 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9059 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9060 (rcirc-handler-366): Always sort nicknames.
9062 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9064 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9066 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9068 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9070 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9072 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9073 (rcirc-sort-nicknames-join): Avoid setq.
9075 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9077 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9078 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9079 (rcirc-handler-366): Use them.
9081 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9083 Split smie-indent-calculate into more manageable chunks.
9084 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9085 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9086 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9087 (smie-indent-exps): Extract from smie-indent-calculate.
9088 (smie-indent-functions): New var.
9089 (smie-indent-functions): Use them.
9091 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9093 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9094 (smie-indent-calculate): Simplify and cleanup.
9096 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9098 * net/tramp-gvfs.el (top): Require url-util.
9099 (tramp-gvfs-mount-point): Remove.
9100 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9102 (with-tramp-dbus-call-method): Format trace message.
9103 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9104 Implement backup call, when operation on local files fails.
9105 Use progress reporter. Flush properties of changed files.
9106 (tramp-gvfs-handle-make-directory): Make more traces.
9107 (tramp-gvfs-url-file-name): Hexify file name in url.
9108 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9109 into account for the resulting file name.
9110 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9111 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9112 (tramp-gvfs-handler-mounted-unmounted)
9113 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9114 attribute "default_location". Set "prefix" property.
9115 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9116 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9117 exists. Raise an error, if not (due to a corresponding answer
9118 "no" in interactive questions, for example).
9120 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9122 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9124 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9126 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9129 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9131 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9132 * vc-git.el (vc-git-compute-remote): New function.
9133 (vc-git-log-outgoing): Use it instead of hard coding a value.
9134 (vc-git-log-incoming): New function.
9136 Improve state updating for VC tag commands.
9137 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9138 to update the state of all buffers in the directory.
9140 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9142 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9144 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9145 `file-directory-p' to the filename part rather than to the whole text.
9147 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9149 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9151 2010-05-31 Drew Adams <drew.adams@oracle.com>
9153 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9155 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9157 * subr.el (momentary-string-display): Just use read-event to read
9158 the exit event (Bug#6238).
9160 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9162 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9164 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9166 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9167 Suggested by Eli Zaretskii <eliz@gnu.org>.
9169 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9171 * minibuffer.el (completion-file-name-table): Don't return a boundary
9172 past the end of `string' (bug#6299).
9173 (completion--file-name-table): Delegate to completion-file-name-table
9174 for the `boundaries' case.
9176 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9178 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9181 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9182 `path-separator', but maintain compatibility with Emacs 20.2.
9184 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9186 * server.el (server-process-filter): Receive parent-id argument
9188 (server-create-window-system-frame): New arg. Pass parent-id as
9191 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9193 Bidi-sensitive word movement with arrow keys.
9194 * subr.el (right-arrow-command, left-arrow-command): Move to
9197 * bindings.el (right-char, left-char): Move from subr.el and
9198 rename from right-arrow-command and left-arrow-command.
9199 (right-word, left-word): New functions.
9200 (global-map) <right>: Bind to right-char.
9201 (global-map) <left>: Bind to left-char.
9202 (global-map) <C-right>: Bind to right-word.
9203 (global-map) <C-left>: Bind to left-word.
9205 * ls-lisp.el (ls-lisp-classify-file): New function.
9206 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9207 (ls-lisp-classify): Call ls-lisp-classify-file.
9208 (insert-directory): Remove blanks from switches.
9210 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9212 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9213 (ansi-color-drop-regexp): New constant.
9214 (ansi-color-apply, ansi-color-filter-region)
9215 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9216 (ansi-color-apply): Build string list before calling concat.
9218 2010-05-28 Juri Linkov <juri@jurta.org>
9220 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9221 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9224 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9226 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9227 to ignored backtrace functions.
9228 (with-progress-reporter): Expand docstring.
9229 (tramp-handle-delete-file): Implement TRASH argument.
9230 (tramp-get-remote-trash): New defun.
9232 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9234 * net/tramp-compat.el (tramp-compat-delete-file):
9235 Use `symbol-value' for backward compatibility.
9237 * net/tramp.el (tramp-handle-make-symbolic-link)
9239 (tramp-do-copy-or-rename-file-via-buffer)
9240 (tramp-do-copy-or-rename-file-directly)
9241 (tramp-do-copy-or-rename-file-out-of-band)
9242 (tramp-handle-process-file, tramp-handle-call-process-region)
9243 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9244 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9245 (tramp-delete-temp-file-function): Use `delete-file' instead
9246 of `tramp-compat-delete-file'.
9248 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9249 (tramp-fish-handle-make-symbolic-link)
9250 (tramp-fish-handle-process-file): Use `delete-file' instead
9251 of `tramp-compat-delete-file'.
9253 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9254 Use `delete-file' instead of `tramp-compat-delete-file'.
9256 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9257 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9258 `tramp-compat-delete-file'.
9260 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9261 Use `delete-file' instead of `tramp-compat-delete-file'.
9263 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9264 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9265 (tramp-smb-handle-write-region): Use `delete-file' instead of
9266 `tramp-compat-delete-file'.
9267 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9269 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9271 * dired.el (dired-delete-file): New arg TRASH.
9272 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9273 (dired-do-flagged-delete, dired-do-delete): Use trash.
9275 * speedbar.el (speedbar-item-delete): Allow trashing.
9277 * files.el (delete-directory): New arg TRASH.
9279 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9280 (ange-ftp-rename-remote-to-remote)
9281 (ange-ftp-rename-local-to-remote)
9282 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9283 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9285 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9288 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9289 handle new TRASH arg of `delete-file'.
9291 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9292 (tramp-handle-make-symbolic-link, tramp-handle-load)
9293 (tramp-do-copy-or-rename-file-via-buffer)
9294 (tramp-do-copy-or-rename-file-directly)
9295 (tramp-do-copy-or-rename-file-out-of-band)
9296 (tramp-handle-process-file, tramp-handle-call-process-region)
9297 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9298 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9299 (tramp-delete-temp-file-function): Use null TRASH arg in
9300 tramp-compat-delete-file call.
9302 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9303 (tramp-fish-handle-delete-file)
9304 (tramp-fish-handle-make-symbolic-link)
9305 (tramp-fish-handle-process-file): Use null TRASH arg in
9306 `tramp-compat-delete-file' call.
9308 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9309 arg in `tramp-compat-delete-file' call.
9311 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9312 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9313 `tramp-compat-delete-file' call.
9315 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9316 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9317 `tramp-compat-delete-file' call.
9319 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9320 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9321 (tramp-smb-handle-write-region): Use null TRASH arg in
9322 tramp-compat-delete-file call.
9323 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9324 (tramp-smb-handle-delete-file): Rename arg.
9326 * diff.el (diff-sentinel):
9327 * epg.el (epg--make-temp-file, epg-decrypt-string)
9328 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9329 * jka-compr.el (jka-compr-partial-uncompress)
9330 (jka-compr-call-process, jka-compr-write-region):
9331 * server.el (server-sentinel): Remove optional arg from
9332 delete-file, reverting 2010-05-03 change.
9334 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9336 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9337 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9339 2010-05-27 Kenichi Handa <handa@m17n.org>
9341 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9342 element of GSTRING is nil.
9344 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9346 * emacs-lisp/smie.el (smie-forward-token-function)
9347 (smie-backward-token-function): New vars.
9348 (smie-backward-sexp, smie-forward-sexp)
9349 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9350 (smie-default-backward-token): Rename from smie-backward-token and
9352 (smie-default-forward-token): Rename from smie-forward-token and
9354 (smie-next-sexp): Handle nil results from next-token.
9355 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9357 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9359 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9360 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9362 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9364 * htmlfontify.el (hfy-face-resolve-face): New function.
9365 (hfy-face-to-style): Use it (Bug#6279).
9367 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9369 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9370 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9372 2010-05-26 Glenn Morris <rgm@gnu.org>
9374 * emulation/edt.el (edt-load-keys): Use locate-library.
9376 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9378 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9379 (log-edit-changelog-entries): Doc fix.
9380 (log-edit-changelog-insert-entries): Args changed.
9381 Rename relative filenames in ChangeLog entries. Delete tabs.
9382 (log-edit-insert-changelog-entries): Reorganize return value of
9383 `log-edit-changelog-entries' to pass filenames to
9384 log-edit-changelog-insert-entries.
9386 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9388 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9389 `image-dired-dired-insert-marked-thumbs' to
9390 `image-dired-dired-toggle-marked-thumbs'.
9392 * image-dired.el: Require cl when compiling.
9393 (image-dired-dired-toggle-marked-thumbs): Rename from
9394 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9395 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9396 to 'no-dir. Skip files whose names don't match
9397 `image-file-name-regexp'. When file has a thumbnail overlay,
9398 delete it. (Bug#5270)
9400 2010-05-25 Juri Linkov <juri@jurta.org>
9402 * image-mode.el (image-mode): Add image-after-revert-hook to
9404 (image-after-revert-hook): New function. (Bug#5669)
9406 2010-05-25 Juri Linkov <juri@jurta.org>
9408 * image.el (image-animated-p): When delay between animated images
9409 is 0, set it to 10 (0.1 sec). (Bug#6258)
9411 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9413 * net/tramp.el (tramp-handle-insert-directory): Don't use
9414 `forward-word', its default syntax could be changed.
9416 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9418 * net/tramp.el (tramp-progress-reporter-update): New defun.
9419 (with-progress-reporter): Use it.
9420 (tramp-process-actions):
9421 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9422 Preserve current message, in order to let progress reporter continue
9423 afterwards. (Bug#6257)
9425 2010-05-25 Glenn Morris <rgm@gnu.org>
9427 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9430 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9432 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9433 (rcirc-default-full-name): Change to "unknown".
9434 (rcirc-user-name-history): Add variable.
9436 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9437 Jonathan Rockway <jon@jrock.us>
9439 * net/rcirc.el (rcirc-server-alist): Add :pass.
9440 (rcirc): When prompting for connection parameters, also prompt for
9441 username and password.
9442 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9443 value to server when connecting.
9445 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9447 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9448 (smie-merge-prec2s): Pass the tables as separate args.
9449 (smie-bnf-precedence-table): Adjust call accordingly.
9450 (smie-prec2-levels): Set levels at the end.
9452 Replace Lisp calls to delete-backward-char by delete-char.
9453 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9454 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9455 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9456 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9457 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9458 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9459 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9460 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9461 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9462 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9463 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9464 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9465 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9466 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9467 delete-backward-char by calls to delete-char.
9469 2010-05-25 Kenichi Handa <handa@m17n.org>
9471 * language/hebrew.el (hebrew-shape-gstring): New function.
9472 Register it in composition-function-table for all Hebrew combining
9475 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9477 * epa.el (epa--select-keys): Don't explicitly delete the window since
9478 that can fail (e.g. sole window in frame). Use dedication instead.
9480 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9482 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9484 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9486 * image.el (image-refresh): Define as an alias for image-flush.
9488 * image-mode.el (image-toggle-display-image): Caller changed.
9490 2010-05-21 Juri Linkov <juri@jurta.org>
9492 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9493 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9494 whitespace, call wildcard-to-regexp on substrings and concat them
9495 with "\\|". (Bug#6114)
9497 2010-05-21 Alan Mackenzie <acm@muc.de>
9499 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9500 Replace parameter `here' with `here-' and `here-plus', which sandwich
9501 any pertinent CPP construct.
9502 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9503 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9504 CPP construct from taking part in the scanning.
9506 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9508 * net/tramp.el (tramp-do-copy-or-rename-file)
9509 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9510 Tune `with-progress-reporter' messages.
9511 (tramp-handle-vc-registered):
9512 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9513 (tramp-fish-handle-insert-file-contents)
9514 (tramp-fish-maybe-open-connection):
9515 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9516 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9517 (tramp-imap-handle-insert-file-contents)
9518 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9520 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9522 * add-log.el (change-log-font-lock-keywords):
9523 Highlight all authors in multi-author entries.
9525 * smerge-mode.el (smerge-refine-ignore-whitespace)
9526 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9527 Fix typos in docstrings.
9528 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9530 2010-05-21 Glenn Morris <rgm@gnu.org>
9532 * progmodes/fortran.el (fortran-mode):
9533 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9535 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9536 having a relative path in src/Makefile.in.
9538 2010-05-20 Kevin Ryde <user42@zip.com.au>
9540 * help-mode.el (help-make-xrefs): For Info node links turn
9541 newlines into spaces. Link node names with newlines are matched
9542 by help-xref-info-regexp and buttonized, this change ensures they
9543 can be followed successfully with RET. (Bug#6206)
9545 2010-05-20 Juri Linkov <juri@jurta.org>
9547 * locate.el (locate): Use pop-to-buffer instead of
9548 switch-to-buffer-other-window. (Bug#6204)
9550 2010-05-20 Juri Linkov <juri@jurta.org>
9552 * replace.el (replace-highlight): Fix lazy-highlighting
9553 for `M-s w str M-% str RET'.
9555 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9557 * isearch.el (isearch-yank-word-or-char): Pull next subword
9558 when `subword-mode' is activated. (Bug#6220)
9560 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9562 * isearch.el (isearch-update-post-hook): New hook.
9563 (isearch-update): Use the new hook. (Bug#6225)
9565 2010-05-20 Juri Linkov <juri@jurta.org>
9567 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9568 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9571 2010-05-20 Juri Linkov <juri@jurta.org>
9573 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9576 2010-05-20 Juri Linkov <juri@jurta.org>
9578 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9579 FILE-NAME to read from the minibuffer when called interactively
9580 with prefix argument instead of using buffer-file-name.
9581 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9583 * dired.el: Update autoloads.
9585 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9587 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9588 nxml-finish-element, for consistency with SGML mode.
9590 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9593 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9595 * composite.el: Require cl when compiling.
9596 (reference-point-alist, compose-gstring-for-graphic)
9597 (compose-gstring-for-terminal): Fix typos in docstrings.
9599 2010-05-19 Juri Linkov <juri@jurta.org>
9601 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9602 set-window-parameter.
9604 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9606 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9608 (tramp-maybe-open-connection): Use it.
9610 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9612 * simple.el (move-end-of-line): Make sure we are at line beginning
9613 before backing up to end of previous line.
9615 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9617 * password-cache.el (password-cache-remove): Fix docstring.
9619 * net/secrets.el: Autoload the widget functions.
9620 (secrets-search-items, secrets-create-item)
9621 (secrets-get-attributes, secrets-expand-item): Attributes will be
9622 stored on the password database without leading ":", as all other
9624 (secrets-mode): Fix docstring.
9625 (secrets-show-secrets): Provide it as autoloaded command only when
9626 D-Bus support is available. Check existence of Secret Service API.
9628 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9630 * indent.el (indent-region): Deactivate region (bug#6200).
9632 2010-05-19 Glenn Morris <rgm@gnu.org>
9634 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9636 2010-05-19 Kenichi Handa <handa@m17n.org>
9638 * composite.el: Register compose-gstring-for-graphic in
9639 composition-function-table only for combining characters (Mn, Mc, Me).
9641 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9643 * calc/calc-trail.el (calc-trail-isearch-forward)
9644 (calc-trail-isearch-backward): Ensure that the new window
9645 point is set correctly.
9647 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9649 * subr.el (read-quoted-char): Resolve modifiers after key
9650 remapping (bug#6212).
9652 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9654 Add visualization code for secrets.
9655 * net/secrets.el (secrets-mode): New major mode.
9656 (secrets-show-secrets, secrets-show-collections)
9657 (secrets-expand-collection, secrets-expand-item)
9658 (secrets-tree-widget-after-toggle-function)
9659 (secrets-tree-widget-show-password): New defuns.
9661 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9663 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9664 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9665 handled in smie-next-sexp.
9666 (smie-indent-calculate): Provide a starting indentation (so the
9667 recursion is well-founded ;-).
9669 Fix handling of non-associative equal levels.
9670 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9671 when it's not needed.
9672 (smie-op-left, smie-op-right): New functions.
9673 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9674 Better handle equal levels to distinguish the associative case from
9675 the "multi-keyword construct" case.
9676 (smie-backward-sexp, smie-forward-sexp): Use it.
9678 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9680 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9682 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9683 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9685 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9687 Provide a simple generic indentation engine and use it for Prolog.
9688 * emacs-lisp/smie.el: New file.
9689 * progmodes/prolog.el (prolog-smie-op-levels)
9690 (prolog-smie-indent-rules): New var.
9691 (prolog-mode-variables): Use them to configure SMIE.
9692 (prolog-indent-line, prolog-indent-level): Remove.
9694 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9696 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9697 order before computing the averages.
9699 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9701 * calc/calc-vec.el (calc-histogram):
9702 (calcFunc-histogram): Allow vectors as inputs.
9703 (math-vector-avg): New function.
9705 * calc/calc-ext.el (math-group-float): Have the number of digits
9706 being grouped depend on the radix (Bug#6189).
9708 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9710 * version.el (emacs-copyright, emacs-version): Don't define here,
9711 now that emacs.c defines it.
9713 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9715 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9716 "Describe Language Environment" menu item.
9718 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9720 Bidi-sensitive movement with arrow keys.
9721 * subr.el (right-arrow-command, left-arrow-command): New functions.
9723 * bindings.el (global-map): Bind them to right and left arrow keys.
9725 Don't override standard definition of convert-standard-filename.
9726 * files.el (convert-standard-filename):
9727 Call w32-convert-standard-filename and dos-convert-standard-filename on
9728 the corresponding systems.
9730 * w32-fns.el (w32-convert-standard-filename): Rename from
9731 convert-standard-filename. Doc fix.
9733 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9734 (convert-standard-filename): Don't defalias.
9735 (register-name-alist, make-register, register-value)
9736 (set-register-value, intdos): Obsolete aliases for the
9737 corresponding dos-* functions and variables.
9738 (dos-intdos): Add a doc string.
9740 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9742 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9743 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9744 (math-compose-tex-func):
9745 * calc/calccomp.el (math-compose-expr):
9746 * calc/calc-ext.el (math-format-flat-expr-fancy):
9747 * calc/calc-store.el (calc-read-var-name):
9748 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9750 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9751 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9752 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9753 (math-standard-units): Add units.
9755 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9757 * progmodes/asm-mode.el (asm-mode):
9758 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9760 * pcomplete.el (pcomplete-completions-at-point): New function,
9761 extracted from pcomplete-std-complete.
9762 (pcomplete-std-complete): Use it.
9764 2010-05-15 Glenn Morris <rgm@gnu.org>
9766 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9767 Remove references to CVS, RCS and Old directories.
9769 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9771 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9774 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9776 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9777 (sh-mode-syntax-table): Give it a default value instead.
9778 (sh-header-marker): Make buffer-local.
9779 (sh-mode): Move make-local-variable to the corresponding setq.
9780 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9781 Use complete-with-action.
9783 * simple.el (prog-mode): New (abstract) major mode.
9784 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9785 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9787 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9789 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9790 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9791 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9792 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9793 (sql-escape-newlines-filter, sql-input-sender)
9794 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9796 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9798 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9800 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9801 latex-open-block and C-c / to latex-close-block.
9803 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9804 and C-c C-e to sgml-close-tag.
9806 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9808 * net/tramp.el (with-progress-reporter): Create reporter object
9809 only when the message would be displayed. Handle nested calls.
9810 (tramp-handle-load, tramp-handle-file-local-copy)
9811 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9812 (tramp-maybe-send-script, tramp-find-shell):
9813 Use `with-progress-reporter'.
9814 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9817 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9818 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9819 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9820 Use `with-progress-reporter'.
9822 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9824 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9825 process everytime when spellchecking from the minibuffer (bug#6143).
9827 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9829 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9831 * dos-fns.el: Add "dos-" prefix for namespace control.
9832 (convert-standard-filename): Define as alias for
9833 dos-convert-standard-filename but only if applicable.
9835 2010-05-12 Alan Mackenzie <acm@muc.de>
9837 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9838 Push the mark at the start of these functions when appropriate.
9840 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9842 * minibuffer.el (completion-cycle-threshold): New custom var.
9843 (completion--do-completion): Use it.
9844 (minibuffer-complete): Use cycling if appropriate.
9846 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9848 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9849 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9851 2010-05-11 Juri Linkov <juri@jurta.org>
9853 * scroll-all.el (scroll-all-check-to-scroll):
9854 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9856 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9858 * iimage.el (iimage-mode-map): Move initialization into declaration.
9859 (iimage-mode-buffer): Use with-silent-modifications.
9860 Simplify calling convention. Adjust callers.
9861 (iimage-mode): Don't run hook redundantly.
9863 * minibuffer.el (completion-pcm--pattern->regex):
9864 Fix last change (bug#6160).
9866 2010-05-10 Juri Linkov <juri@jurta.org>
9868 Remove nodes visited during Isearch from the Info history.
9869 * info.el (Info-isearch-initial-history)
9870 (Info-isearch-initial-history-list): New variables.
9871 (Info-isearch-start): Record initial values of
9872 Info-isearch-initial-history and Info-isearch-initial-history-list.
9873 Add Info-isearch-end to isearch-mode-end-hook.
9874 (Info-isearch-end): New function.
9876 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9878 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9879 format string, in order to work around a bug in pdksh.
9880 Reported by Gilles Pion <gpion@lfdj.com>.
9881 (tramp-handle-verify-visited-file-modtime): Do not send a command
9882 when the connection is not established.
9883 (tramp-handle-set-file-times): Simplify the check for utc.
9885 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9887 Fix use of `filter-buffer-substring' (rework previous change).
9888 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9889 (cua-repeat-replace-region):
9890 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9891 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9892 (cua-cut-region-to-global-mark): Use it.
9894 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9896 * progmodes/sql.el: Version 2.1.
9897 (sql-product-alist): Redesign structure of product info.
9898 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9899 (sql-port, sql-port-history): New variables.
9900 (sql-interactive-product): New variable.
9901 (sql-send-terminator): New variable.
9902 (sql-imenu-generic-expression): Add "Types" imenu entry.
9903 (sql-oracle-login-params, sql-sqlite-login-params)
9904 (sql-mysql-login-params, sql-solid-login-params)
9905 (sql-sybase-login-params, sql-informix-login-params)
9906 (sql-ingres-login-params, sql-ms-login-params)
9907 (sql-postgres-login-params, sql-interbase-login-params)
9908 (sql-db2-login-params, sql-linter-login-params)
9909 (sql-oracle-scan-on): New variables.
9910 (sql-mode-map): Add C-c C-i to start interactive mode.
9911 (sql-mode-menu): Update existing menu entries.
9912 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9913 (sql-mode-oracle-font-lock-keywords)
9914 (sql-mode-postgres-font-lock-keywords)
9915 (sql-mode-ms-font-lock-keywords)
9916 (sql-mode-sybase-font-lock-keywords)
9917 (sql-mode-informix-font-lock-keywords)
9918 (sql-mode-interbase-font-lock-keywords)
9919 (sql-mode-ingres-font-lock-keywords)
9920 (sql-mode-solid-font-lock-keywords)
9921 (sql-mode-mysql-font-lock-keywords)
9922 (sql-mode-sqlite-font-lock-keywords)
9923 (sql-mode-db2-font-lock-keywords)
9924 (sql-mode-linter-font-lock-keywords): Update initialization to
9925 reduce run-time complexity.
9926 (sql-add-product, sql-del-product): New functions.
9927 (sql-set-product-feature, sql-get-product-feature): New functions.
9928 (sql-product-font-lock): Update product API.
9929 (sql-add-product-keywords): New function.
9930 (sql-highlight-product): Update product API.
9931 (sql-help-list-products): New function.
9932 (sql-help): Dynamically lists free and non-free products.
9933 (sql-get-login): Correct bug in handling history and added
9935 (sql-copy-column): Copy without properties.
9936 (sqli-input-sender): Apply filters to SQLi input.
9937 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9938 Implement as a filter.
9939 (sql-escape-newlines-filter): Implement as a filter.
9940 (sql-remove-tabs-filter): New function.
9941 (sql-send-magic-terminator): New function.
9942 (sql-send-string): Implement magic terminator.
9943 (sql-send-region): Use `sql-send-string'.
9944 (sql-interactive-mode): Use product API.
9945 (sql-product-interactive): Use product API.
9946 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9947 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9948 (sql-db2, sql-linter): Use `sql-product-interactive'.
9949 (sql-connect): New function.
9950 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9951 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9952 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9953 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9956 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9958 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9959 New custom variable.
9960 (completion-pcm--string->pattern): Use it.
9961 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9962 Make it handle any symbol as `any'.
9963 (completion-pcm--merge-completions): Extract common suffix for the new
9964 `prefix' symbol as well.
9965 (completion-substring--all-completions): Use the new `prefix' symbol.
9967 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9969 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9971 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9972 (tramp-compat-funcall): New defmacro.
9973 (tramp-compat-line-beginning-position)
9974 (tramp-compat-line-end-position)
9975 (tramp-compat-temporary-file-directory)
9976 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9977 (tramp-compat-copy-file, tramp-compat-copy-directory)
9978 (tramp-compat-delete-file, tramp-compat-delete-directory)
9979 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9980 * net/tramp.el (top, with-progress-reporter)
9981 (tramp-rfn-eshadow-setup-minibuffer)
9982 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9983 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9984 (tramp-completion-mode-p, tramp-check-for-regexp)
9985 (tramp-open-connection-setup-interactive-shell)
9986 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9987 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9988 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9989 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9990 (tramp-reporter-dump-variable, tramp-load-report-modules)
9991 (tramp-append-tramp-buffers)
9992 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9994 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9996 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9998 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9999 buffer-modtime. Adjust users.
10001 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10003 * international/mule.el (auto-coding-alist): Only purecopy
10004 car of each item, not the whole list (Bug#6083).
10006 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10008 * progmodes/js.el (js-mode): Make paragraph variables local before
10009 calling c-setup-paragraph-variables (Bug#6071).
10011 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10013 * composite.el (compose-region, reference-point-alist): Fix typos
10014 in the doc strings.
10016 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10018 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10019 gnuplot's "set" command.
10021 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10023 * abbrev.el (last-abbrev-text): Doc fix.
10024 (abbrev-prefix-mark): Don't escape parenthesis.
10026 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10028 * composite.el (find-composition): Doc fix.
10030 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10032 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10033 (sql-oracle-program, sql-sqlite-options)
10034 (sql-query-placeholders-and-send): Doc fixes.
10035 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10036 (sql-imenu-generic-expression, sql-buffer)
10037 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10038 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10039 (sql-mode-sybase-font-lock-keywords)
10040 (sql-mode-informix-font-lock-keywords)
10041 (sql-mode-interbase-font-lock-keywords)
10042 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10043 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10044 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10045 (sql-product-feature, sql-highlight-product)
10046 (comint-line-beginning-position, sql-rename-buffer)
10047 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10048 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10049 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10050 Fix typos in docstrings.
10052 2010-05-08 Juri Linkov <juri@jurta.org>
10054 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10055 property instead of `invisible' and `after-string' (bug#5998).
10057 2010-05-08 Juri Linkov <juri@jurta.org>
10059 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10061 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10063 * filecache.el (file-cache-add-directory-list)
10064 (file-cache-add-directory-recursively): Fix typos in docstrings.
10066 2010-05-08 Kenichi Handa <handa@m17n.org>
10068 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10069 (gujarati-composable-pattern): Fix typo.
10071 2010-05-08 Kenichi Handa <handa@m17n.org>
10073 * language/indian.el (oriya-composable-pattern)
10074 (tamil-composable-pattern, malayalam-composable-pattern):
10075 Add two-part vowels to "v" (vowel sign).
10077 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10079 * files.el (copy-directory): Handle symlinks (Bug#5982).
10081 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10083 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10084 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10087 2010-05-08 Glenn Morris <rgm@gnu.org>
10089 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10091 * minibuffer.el (completion-at-point): Doc fix.
10093 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10095 * electric.el (Electric-command-loop): Minor tweak.
10097 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10098 better with dedicated windows.
10100 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10102 * Version 23.2 released.
10104 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10105 Stefan Monnier <monnier@iro.umontreal.ca>
10107 Highlight vendor specific properties.
10108 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10109 (css-proprietary-property): New face.
10110 (css-font-lock-keywords): Use them.
10112 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10114 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10116 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10118 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10119 * files.el (auto-mode-alist): Remove redundant entries.
10121 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10122 * simple.el (auto-save-mode): Move from files.el.
10123 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10125 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10127 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10129 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10131 * mail/binhex.el (binhex-decode-region-internal)
10132 * mail/uudecode.el (uudecode-decode-region-internal)
10133 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10134 (dns-read-type, dns-query)
10135 * pgg-parse.el (pgg-parse-armor)
10136 * pgg.el (pgg-verify-region)
10137 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10140 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10142 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10144 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10146 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10147 * emulation/cua-base.el (cua-repeat-replace-region):
10148 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10149 (cua-cut-region-to-global-mark):
10150 Remove text properties with `set-text-properties'.
10152 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10154 * net/tramp.el (top, with-progress-reporter):
10155 Use `symbol-function' inside `funcall'.
10157 * net/tramp-compat.el (tramp-compat-file-attributes)
10158 (tramp-compat-delete-file, tramp-compat-delete-directory):
10159 Handle only `wrong-number-of-arguments' error.
10161 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10162 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10165 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10167 * minibuffer.el (completion--sreverse, completion--common-suffix):
10169 (completion-pcm--merge-completions): Extract common suffix when safe.
10171 * emacs-lisp/easy-mmode.el (define-minor-mode):
10172 Make :variable more flexible.
10173 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10175 2010-05-05 Juri Linkov <juri@jurta.org>
10177 Add `slow' and `history' tags to the desktop data.
10179 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10180 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10181 (Info-finder-find-node): Require `finder.el' to be able
10182 to restore node from the desktop.
10183 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10184 data `Info-history' and `slow' tag in the assoc list.
10185 (Info-restore-desktop-buffer): Don't restore nodes with the
10186 `slow' tag. Restore `Info-history'.
10188 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10190 Add FORCE argument to `delete-file'.
10192 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10193 forcing to delete the temporary file.
10194 (ange-ftp-delete-file): Add FORCE arg.
10195 (ange-ftp-rename-remote-to-remote)
10196 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10197 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10198 Force file deletion.
10200 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10202 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10203 (tramp-handle-make-symbolic-link, tramp-handle-load)
10204 (tramp-do-copy-or-rename-file-via-buffer)
10205 (tramp-do-copy-or-rename-file-directly)
10206 (tramp-do-copy-or-rename-file-out-of-band)
10207 (tramp-handle-process-file, tramp-handle-call-process-region)
10208 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10209 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10210 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10212 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10213 (tramp-fish-handle-make-symbolic-link)
10214 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10216 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10217 Use `tramp-compat-delete-file'.
10219 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10220 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10222 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10223 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10225 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10226 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10227 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10228 Use `tramp-compat-delete-file'.
10230 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10233 * subr.el (add-minor-mode): Use push.
10234 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10235 * emulation/edt.el (edt-select-mode): Simplify.
10237 Use define-minor-mode in more cases.
10238 * term/tvi970.el (tvi970-set-keypad-mode):
10239 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10240 (normal-erase-is-backspace-mode):
10241 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10242 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10243 (get-scroll-bar-mode): New function.
10244 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10246 Use define-minor-mode for less obvious cases.
10247 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10248 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10249 * international/iso-ascii.el (iso-ascii-mode):
10250 * frame.el (auto-raise-mode, auto-lower-mode):
10251 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10253 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10255 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10256 in order to see error messages for failed logins.
10258 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10260 * diff.el (diff-sentinel):
10262 * epg.el (epg--make-temp-file, epg-decrypt-string)
10263 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10265 * jka-compr.el (jka-compr-partial-uncompress)
10266 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10268 * server.el (server-sentinel): Use delete-file's new FORCE arg
10271 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10273 Use define-minor-mode where applicable.
10274 * view.el (view-mode):
10275 * type-break.el (type-break-query-mode)
10276 (type-break-mode-line-message-mode):
10277 * textmodes/reftex.el (reftex-mode):
10278 * term/vt100.el (vt100-wide-mode):
10279 * tar-mode.el (tar-subfile-mode):
10280 * savehist.el (savehist-mode):
10281 * ibuf-ext.el (ibuffer-auto-mode):
10282 * composite.el (auto-composition-mode):
10283 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10284 Use define-minor-mode.
10285 (vhdl-mode): Use static mode-line format.
10286 (vhdl-mode-line-update): Delete.
10287 (vhdl-create-mode-menu, vhdl-activate-customizations)
10288 (vhdl-hs-minor-mode): Don't bother calling it.
10290 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10292 * simple.el (with-wrapper-hook): Move.
10293 (buffer-substring-filters): Mark obsolete.
10294 (filter-buffer-substring-functions): New variable.
10295 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10297 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10298 Michael Albinus <michael.albinus@gmx.de>
10300 Implement compression for inline methods.
10302 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10303 (tramp-copy-size-limit): Allow also nil.
10304 (tramp-inline-compress-commands): New defconst.
10305 (tramp-find-inline-compress, tramp-get-inline-compress)
10306 (tramp-get-inline-coding): New defuns.
10307 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10308 replaced by `tramp-get-inline-coding'.
10309 (tramp-handle-file-local-copy, tramp-handle-write-region)
10310 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10312 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10314 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10315 Remove unused functions.
10317 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10318 Set find-tag-default-function as a variable rather than a property.
10320 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10321 * progmodes/etags.el (tags-completion-at-point-function):
10322 Remove left over interactive spec. Add autoloading stub.
10323 (complete-tag): Use tags-completion-at-point-function.
10325 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10327 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10329 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10331 * ido.el (ido-init-completion-maps): Remove C-v binding.
10332 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10334 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10336 * minibuffer.el (tags-completion-at-point-function): New function.
10337 (completion-at-point-functions): Use it.
10339 * progmodes/etags.el (complete-tag): Revert last change.
10341 2010-04-29 Alan Mackenzie <acm@muc.de>
10343 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10344 off-by-one error (in end of macro position).
10346 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10348 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10349 firefox is absent. Don't autoload.
10350 (browse-url-galeon-program): Don't autoload.
10352 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10354 * bindings.el (complete-symbol): Move into minibuffer.el.
10356 * minibuffer.el (complete-tag): Move from etags.el. If tags
10357 completion cannot be performed, return nil instead of signalling
10359 (completion-at-point): Make it an alias for complete-symbol.
10360 (complete-symbol): Move from bindings.el, and replace with the
10361 body of completion-at-point.
10363 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10365 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10367 * net/tramp.el (tramp-remote-selinux-p): New defun.
10368 (tramp-handle-file-selinux-context)
10369 (tramp-handle-set-file-selinux-context): Use it.
10371 2010-04-28 Sam Steingold <sds@gnu.org>
10373 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10374 `safe-local-variable' if the value is a string or a symbol with
10375 the property `bug-reference-url-format'.
10377 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10379 * progmodes/bug-reference.el (bug-reference-url-format):
10380 Revert 2010-04-27 change due to security risk.
10382 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10384 Make it possible to locally disable a globally enabled mode.
10385 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10386 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10387 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10388 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10389 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10390 that subsequent hooks get a chance to disable it.
10392 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10394 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10395 Avoid re-enabling a minor mode after the user turned the minor mode
10396 off if MODE-enable-in-buffers is run twice (typically once from
10397 fundamental-mode's after-change-major-mode-hook and a second time from
10398 run-mode-hook's own after-change-major-mode-hook).
10400 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10402 2010-04-27 Sam Steingold <sds@gnu.org>
10404 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10405 `safe-local-variable' if the value is a string or a function, as
10406 documented and implemented on 2010-04-02.
10408 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10410 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10411 when method is 'kill.
10413 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10415 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10416 condition in default directory check.
10417 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10418 Kill ispell process when killing its associated buffer.
10420 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10422 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10423 but we aren't using it.
10425 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10427 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10428 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10430 2010-04-24 Glenn Morris <rgm@gnu.org>
10432 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10433 Ignore VCS-ignore files, and deleted nextstep preferences files.
10434 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10435 (authors-ambiguous-files): New list.
10436 (authors-valid-file-names): Add some deleted files.
10437 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10438 (authors-disambiguate-file-name): New function. (Bug#5501)
10439 (authors-canonical-file-name): Doc fix.
10440 Don't warn about obsolete files.
10441 (authors-canonical-file-name, authors-scan-el):
10442 Use authors-disambiguate-file-name.
10444 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10445 Add autoload cookies.
10446 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10447 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10448 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10449 They have definitions / compiler macros in cl.el.
10450 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10451 Replace manual autoloads with generated ones.
10452 (htmlfontify-unload-rgb-file): Remove autoload.
10453 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10455 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10457 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10458 (byte-compile-setq-default): Optimize for the
10459 single-var case and don't call byte-compile-form in this case to avoid
10460 inf-loop with byte-compile-set-default.
10462 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10464 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10466 Implement SELINUX backends.
10468 * net/tramp.el (tramp-file-name-handler-alist):
10469 Add `file-selinux-context' and `set-file-selinux-context'.
10470 (tramp-handle-file-selinux-context)
10471 (tramp-handle-set-file-selinux-context): New defuns.
10472 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10473 Handle PRESERVE-SELINUX-CONTEXT.
10475 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10476 Add `file-selinux-context' and `set-file-selinux-context'.
10477 (tramp-gvfs-handle-file-selinux-context)
10478 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10479 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10481 * net/ange-ftp.el (ange-ftp-copy-file):
10482 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10483 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10484 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10485 Add PRESERVE-SELINUX-CONTEXT.
10487 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10489 Synchronize with Tramp repository.
10491 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10492 (tramp-action-process-alive, tramp-action-out-of-band)
10493 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10494 (tramp-exists-file-name-handler): Fix docstring.
10495 (with-progress-reporter): New defmacro.
10496 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10497 (tramp-maybe-open-connection): Use it.
10499 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10501 Detect ssh 'ControlMaster' argument automatically in some cases.
10503 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10504 (tramp-default-method): Use it.
10506 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10508 * net/tramp.el (tramp-handle-copy-file): Add new optional
10509 parameter `preserve-selinux-context'.
10510 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10512 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10514 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10515 Ensure, that non remote files are still checked. Oops.
10517 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10521 * icomplete.el (icomplete-completions): Use `non-essential'.
10523 * net/tramp.el (tramp-connectable-p): New defun.
10524 (tramp-handle-expand-file-name)
10525 (tramp-completion-handle-file-name-all-completions)
10526 (tramp-completion-handle-file-name-completion): Use it.
10528 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10530 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10532 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10534 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10536 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10538 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10541 * info.el (info-tool-bar-map): Add labels.
10543 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10545 * cus-edit.el (custom-commands): Add labels for tool bar.
10546 (custom-buffer-create-internal, Custom-mode): Adjust for
10547 labels in custom-commands.
10549 * dynamic-setting.el: Renamed from font-setting.el.
10551 2010-04-21 John Wiegley <jwiegley@gmail.com>
10553 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10554 toggles the use of virtual buffers.
10555 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10556 (ido-toggle-virtual-buffers): New function.
10558 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10560 Use `define-derived-mode'; fix window selection; doc fixes.
10561 * play/tetris.el (tetris, tetris-update-speed-function)
10562 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10563 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10564 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10565 (tetris-pause-game): Fix typos in docstrings.
10566 (tetris-mode-map, tetris-null-map):
10567 Move initialization into declaration.
10568 (tetris-mode): Define with `define-derived-mode';
10569 set show-trailing-whitespace to nil.
10570 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10572 2010-04-21 Karel Klíč <kklic@redhat.com>
10574 * files.el (backup-buffer): Handle SELinux context, and return it
10575 if a backup was made by renaming.
10576 (backup-buffer-copy): Set SELinux context to the target file.
10577 (basic-save-buffer): Set SELinux context of the newly written file.
10578 (basic-save-buffer-1): Now it also returns any SELinux context.
10579 (basic-save-buffer-2): Set SELinux context of the newly created file,
10581 * net/tramp.el (tramp-file-name-for-operation):
10582 Add file-selinux-context.
10584 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10586 Make the log-edit comments use RFC822 format throughout.
10588 * vc.el (vc-checkin, vc-modify-change-comment):
10589 Adjust to new vc-start/finish-logentry.
10590 (vc-find-conflicted-file): New command.
10591 (vc-transfer-file): Adjust to new vc-checkin.
10592 (vc-next-action): Improve scoping.
10594 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10595 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10597 * vc-git.el (vc-git-log-edit-mode): Remove.
10598 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10599 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10601 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10602 (vc-start-logentry): Remove argument `extra'.
10603 (vc-finish-logentry): Remove extra args.
10605 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10606 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10607 (vc-bzr-conflicted-files): New function.
10609 * log-edit.el (log-edit-extra-flags)
10610 (log-edit-before-checkin-process): Remove.
10611 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10612 (log-edit-headers-alist): New var.
10613 (log-edit-header-contents-regexp): New const.
10614 (log-edit-match-to-eoh): New function.
10615 (log-edit-font-lock-keywords): Use them.
10616 (log-edit): Insert a "Summary:" header as default.
10617 (log-edit-mode): Mark font-lock rules as case-insensitive.
10618 (log-edit-done): Cleanup headers.
10619 (log-view-process-buffer): Remove.
10620 (log-edit-extract-headers): New function to replace it.
10622 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10624 * subr.el (default-direction-reversed): Remove obsolescence info.
10626 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10628 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10631 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10632 I.e. include text after point in the completion region.
10633 Also, return nil when we're not after/in a symbol.
10635 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10636 default enable-multibyte-characters.
10638 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10640 * international/mule.el: Help the user choose a valid coding-system.
10641 (read-buffer-file-coding-system): New function.
10642 (set-buffer-file-coding-system): Use it. Prompt the user if the
10643 coding-system cannot encode all the chars.
10645 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10646 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10647 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10648 Don't use *vc-bzr-shelve*.
10650 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10652 Fix the version number for added files.
10653 * vc-hg.el (vc-hg-working-revision): Check if the file is
10654 registered after hg parent fails (Bug#5961).
10656 2010-04-19 Glenn Morris <rgm@gnu.org>
10658 * htmlfontify.el (htmlfontify-buffer)
10659 (htmlfontify-copy-and-link-dir): Autoload entry points.
10661 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10663 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10664 name relative to the project root (Bug#5960).
10666 2010-04-19 Glenn Morris <rgm@gnu.org>
10668 * vc-git.el (vc-git-print-log): Doc fix.
10670 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10672 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10674 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10676 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10677 default settings (Bug#5928).
10679 2010-04-19 Glenn Morris <rgm@gnu.org>
10681 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10683 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10685 2010-04-19 Kenichi Handa <handa@m17n.org>
10687 * language/indian.el (malayalam-composable-pattern): Fix previous
10688 change (add U+0D4D "SIGN VIRAMA").
10689 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10690 (tamil-composable-pattern): Fix typo in the regexp.
10691 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10692 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10693 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10695 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10697 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10698 paragraph-separate (Bug#5821).
10700 2010-04-19 Juri Linkov <juri@jurta.org>
10702 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10704 * info.el (Info-find-node-2): Comment out code that skips
10706 (Info-mouse-follow-link): New command.
10707 (Info-link-keymap): New keymap.
10708 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10709 Return a string with links instead of inserting breadcrumbs
10710 to the Info buffer.
10711 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10712 Instead of putting the `invisible' text property over the Info
10713 header, make an overlay over the Info header with the `invisible'
10714 property and `after-string' set to the string returned by
10715 `Info-breadcrumbs'.
10717 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10719 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10720 Reported by monkey@sandpframing.com.
10722 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10724 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10725 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10726 available in the "keyseq cache" any more.
10728 * custom.el (defcustom): Add edebug spec.
10730 2010-04-18 Juri Linkov <juri@jurta.org>
10732 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10734 * view.el (view-file, view-buffer): Move test for special mode-class
10735 from view-file to view-buffer.
10737 * tar-mode.el (tar-extract): Turn if's into one cond
10738 like in arc-mode.el.
10740 2010-04-18 Juri Linkov <juri@jurta.org>
10742 Add 7z archive format support (bug#5475).
10744 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10745 (archive-7z-extract): New defcustom.
10746 (archive-find-type): Add magic string for 7z.
10747 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10748 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10749 `buffer' arg of `call-process'.
10750 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10751 call the function `archive-7z-extract' with the variable
10752 `archive-7z-extract' let-bound to `archive-zip-extract'.
10753 (archive-7z-summarize, archive-7z-extract): New functions.
10755 * international/mule.el (auto-coding-alist):
10756 * files.el (auto-mode-alist): Add 7z file extension.
10758 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10760 * loadup.el: Setup hash-cons for pure data.
10762 Fix duplicate entries in cedet's loaddefs.el files.
10763 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10764 Should make most file-local generated-autoload-file unnecessary.
10765 (print-readably): Silence warnings.
10766 (autoload-find-destination): Take load-name as an arg to make sure
10767 it's the same as the one that will be in the file.
10768 (autoload-generate-file-autoloads): Adjust to above changes.
10769 Try to make the dataflow a bit simpler.
10771 * cvs-status.el (cvs-refontify): Remove unused.
10773 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10775 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10777 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10778 twos-complement mode.
10780 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10782 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10783 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10784 (calc-inverse): Add "Option" to message, as appropriate.
10785 (calc-hyperbolic): Add "Option" to message, as appropriate.
10786 (calc-option, calc-is-option): New functions.
10788 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10789 (calc-option-prefix-help): New function.
10791 * calc/calc-misc.el (calc-help): Add "Option" entry.
10793 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10794 (calc-option-flag): New variable.
10795 (calc-do): Set `calc-option-flag to nil.
10796 (calc-set-mode-line): Add "Opt " as appropriate.
10798 2010-04-16 Juri Linkov <juri@jurta.org>
10800 Move scrolling commands from simple.el to window.el
10801 because their primitives are implemented in window.c.
10803 * simple.el (scroll-error-top-bottom)
10804 (scroll-up-command, scroll-down-command, scroll-up-line)
10805 (scroll-down-line, scroll-other-window-down)
10806 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10807 * window.el (scroll-error-top-bottom)
10808 (scroll-up-command, scroll-down-command, scroll-up-line)
10809 (scroll-down-line, scroll-other-window-down)
10810 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10811 Move from simple.el to window.el because their primitives are
10812 implemented in window.c.
10814 2010-04-16 Juri Linkov <juri@jurta.org>
10816 * isearch.el (isearch-lookup-scroll-key): Check both
10817 `isearch-scroll' and `scroll-command' properties.
10818 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10820 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10822 * simple.el (scroll-up-command, scroll-down-command)
10823 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10825 2010-04-15 Juri Linkov <juri@jurta.org>
10827 * simple.el (scroll-up-command, scroll-down-command)
10828 (scroll-up-line, scroll-down-line): Put `scroll-command'
10829 property on the these symbols. Remove them from
10830 `scroll-preserve-screen-position-commands'.
10832 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10833 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10834 Remove it from `scroll-preserve-screen-position-commands'.
10836 * isearch.el (isearch-allow-scroll): Doc fix.
10838 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10840 * net/tramp.el (tramp-error-with-buffer): Don't show the
10841 connection buffer when we are in completion mode.
10842 (tramp-file-name-handler): Catch the error for some operations
10843 when we are in completion mode. This gives the user the chance to
10844 correct the file name in the minibuffer.
10846 2010-04-15 Glenn Morris <rgm@gnu.org>
10848 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10850 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10852 Simplify by using `define-derived-mode'.
10853 * info.el (Info-mode):
10854 * calendar/todo-mode.el (todo-mode):
10855 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10856 (gomoku-mode-map): Move initialization into declaration.
10858 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10861 * ido.el (ido-file-name-all-completions-1):
10862 * minibuffer.el (minibuffer-completion-help):
10863 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10865 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10867 * simple.el (non-essential): New var.
10869 Add a new field `location' to bookmarks for non-file bookmarks.
10870 * bookmark.el (bookmark-location): Use the new field, if present.
10871 (bookmark-insert-location): Undo last change, not needed any more.
10872 * man.el (Man-bookmark-make-record):
10873 * woman.el (woman-bookmark-make-record): Add `location' field.
10875 2010-04-14 Juri Linkov <juri@jurta.org>
10877 * simple.el (scroll-error-top-bottom): New defcustom.
10878 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10880 * emulation/pc-select.el (pc-select-override-scroll-error):
10881 Obsolete in favor of `scroll-error-top-bottom'.
10883 2010-04-14 Juri Linkov <juri@jurta.org>
10885 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10886 `scroll-up-command' and `M-v' to `scroll-down-command'.
10888 * emulation/cua-rect.el (cua--init-rectangles):
10889 * forms.el (forms--change-commands):
10890 * image-mode.el (image-mode-map):
10891 Remap scroll-down-command and scroll-up-command
10892 in addition to scroll-down and scroll-up.
10894 2010-04-14 Juri Linkov <juri@jurta.org>
10896 * mwheel.el (scroll-preserve-screen-position-commands):
10897 Add mwheel-scroll to this list of commands.
10899 * simple.el (scroll-preserve-screen-position-commands):
10900 Add scroll-up-command, scroll-down-command, scroll-up-line,
10901 scroll-down-line to this list of commands.
10903 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10905 * obsolete/complete.el: Move from lisp/complete.el.
10907 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10909 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10910 to the minor mode function now turns the mode ON unconditionally.
10912 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10914 * vc-dir.el (vc-dir-kill-line): New command.
10915 (vc-dir-mode-map): Bind it to C-k.
10917 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10919 * woman.el: Add bookmark declarations to silence the compiler.
10920 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10921 step to compatibility between man and woman bookmarks.
10922 Adjust for Man-default-bookmark-title renaming.
10923 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10925 * man.el: Add bookmark declarations to silence the compiler.
10926 (Man-name-local-regexp): Make it match NAME as well.
10927 (Man-getpage-in-background): Return the buffer.
10928 (Man-notify-when-ready): Use `case'.
10929 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10930 Don't hardcode "NAME". Simplify.
10931 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10932 Rename from Man-bookmark-make-record.
10933 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10934 we have the actual man-args. Use Man-getpage-in-background rather
10935 than `man' since the arg is already processed. Let bookmark.el do the
10936 window handling. Only wait for the relevant process.
10937 Don't forget to autoload.
10939 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10941 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10943 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10945 (woman-mode): Setup bookmark support.
10947 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10948 (man-bookmark-jump): New functions.
10949 (Man-mode): Setup bookmark support.
10951 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10953 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10954 recognize ssh-keygen prompt (Bug#2817).
10956 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10958 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10960 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10962 Synchronize with Tramp repository.
10964 * net/tramp.el (tramp-completion-function-alist)
10965 (tramp-file-name-regexp, tramp-chunksize)
10966 (tramp-local-coding-commands, tramp-remote-coding-commands):
10968 (tramp-remote-process-environment): Use `format' instead of `concat'.
10969 (tramp-handle-directory-files-and-attributes)
10970 (tramp-get-remote-path): Use `copy-tree'.
10971 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10972 compatibility: Use `completion-ignore-case' if
10973 `read-file-name-completion-ignore-case' does not exist.
10974 (tramp-do-copy-or-rename-file-directly): Do not use
10975 `tramp-handle-file-remote-p'.
10976 (tramp-do-copy-or-rename-file-out-of-band):
10977 Use `tramp-compat-delete-directory'.
10978 (tramp-do-copy-or-rename-file-out-of-band)
10979 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10980 Use `format-spec-make'.
10981 (tramp-find-foreign-file-name-handler)
10982 (tramp-advice-make-auto-save-file-name)
10983 (tramp-set-auto-save-file-modes): Remove superfluous check for
10984 `stringp'. This is done inside `tramp-tramp-file-p'.
10985 (tramp-debug-outline-regexp): New defconst.
10986 (tramp-get-debug-buffer): Use it.
10987 (tramp-check-for-regexp): Use (forward-line 1).
10988 (tramp-set-auto-save-file-modes): Adapt version check.
10990 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10991 Wrap call of `featurep' for 2nd argument.
10992 (tramp-compat-make-temp-file): Simplify fallback implementation.
10993 (tramp-compat-copy-tree): Remove function.
10994 (tramp-compat-delete-directory): Provide implementation for older
10997 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10998 Do not use `tramp-fish-handle-file-attributes.
11000 * net/trampver.el: Update release number.
11002 2010-04-10 Glenn Morris <rgm@gnu.org>
11004 * progmodes/compile.el (compilation-save-buffers-predicate):
11005 Add missing :version tag.
11007 2010-04-09 Sam Steingold <sds@gnu.org>
11009 * progmodes/compile.el (compilation-save-buffers-predicate):
11010 Remove the "autoload" cookie.
11012 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11013 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11014 and `bug-reference-prog-mode' can be used in hooks directly.
11016 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11018 Add --author support to git commit.
11019 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11020 (vc-git-log-edit-mode): New minor mode.
11021 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11024 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11026 * vc-hooks.el, vc-git.el: Improve documentation comments.
11028 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11030 Fix some of the problems in defsubst* (bug#5728).
11031 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11032 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11034 2010-04-07 Sam Steingold <sds@gnu.org>
11036 * progmodes/compile.el (compilation-save-buffers-predicate):
11037 New custom variable.
11038 (compile, recompile): Pass it to `save-some-buffers'.
11040 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11042 * wid-edit.el (widget-choose): Move cursor to the second line of
11043 the buffer (Bug#5695).
11045 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11047 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11048 * vc.el (vc-print-log-setup-buttons): New function split out from
11049 vc-print-log-internal.
11050 (vc-log-internal-common): New function, a parametrized version of
11051 vc-print-log-internal.
11052 (vc-print-log-internal): Just call vc-log-internal-common with the
11054 (vc-incoming-outgoing-internal):
11055 (vc-log-incoming, vc-log-outgoing): New functions.
11056 (vc-log-view-type): New permanent local variable.
11058 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11060 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11061 of the dynamic bound vc-short-log.
11062 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11064 * vc-git.el (vc-git-log-outgoing): New function.
11065 (vc-git-log-view-mode): Use vc-log-view-type instead
11066 of the dynamic bound vc-short-log.
11068 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11069 of the dynamic bound vc-short-log. Highlight the tag.
11070 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11071 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11072 (vc-hg-incoming-mode): Remove.
11073 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11075 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11077 Fix default-directory for vc-root-diff.
11078 * vc.el (vc-root-diff): Bind default-directory to the root
11079 directory for the diff command.
11081 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11083 * progmodes/verilog-mode.el (verilog-forward-sexp):
11084 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11085 word keywords, suggested by Steve Pearlmutter.
11086 (verilog-pretty-declarations): Support lineup of declarations in
11088 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11089 fix bug for /* / comments.
11090 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11091 Speed up and simplfy as this is never called with a bound.
11092 (verilog-pretty-declarations): Enhance to line up declarations
11093 inside a parameter list, suggested by Alan Morgan.
11094 (verilog-pretty-expr): Tune assignment regular expression match
11095 string for corner cases; also use markers instead of character
11096 number as indent changes the later.
11098 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11100 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11101 as missing keyword.
11102 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11103 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11104 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11105 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11107 (verilog-keywords):
11108 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11109 1800-2009 keywords, including "global.".
11111 2010-04-06 John Wiegley <jwiegley@gmail.com>
11113 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11114 appearing in buffer list (if a live buffer name matched a recentf
11115 file basename). Should use uniquify to offer a real solution.
11117 2010-04-06 John Wiegley <jwiegley@gmail.com>
11119 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11120 comment to code, and add a :version tag.
11121 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11123 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11125 Enable recentf-mode if using virtual buffers.
11126 * ido.el (recentf-list): Declare for byte-compiler.
11127 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11128 (ido-make-buffer-list): Simplify.
11129 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11131 2010-04-05 Juri Linkov <juri@jurta.org>
11133 Scrolling commands which scroll a line instead of full screen.
11134 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11136 * simple.el (scroll-up-line, scroll-down-line): New commands.
11137 Put property isearch-scroll=t on them.
11139 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11142 2010-04-05 Juri Linkov <juri@jurta.org>
11144 Scrolling commands which do not signal errors at top/bottom.
11145 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11147 * simple.el (scroll-up-command, scroll-down-command): New commands.
11148 Put property isearch-scroll=t on them.
11150 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11151 `scroll-down-command' and [next] from `scroll-up' to
11152 `scroll-up-command'.
11154 * emulation/cua-base.el: Put property CUA=move on
11155 `scroll-up-command' and `scroll-down-command'.
11156 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11157 and `scroll-down-command' to `cua-scroll-down'.
11159 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11161 * help.el (describe-mode): Return nil.
11163 2010-04-04 John Wiegley <jwiegley@gmail.com>
11165 * ido.el (ido-use-virtual-buffers): New variable to indicate
11166 whether "virtual buffer" support is enabled for IDO.
11167 (ido-virtual): Face used to indicate virtual buffers in the list.
11168 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11169 exists, but a virtual buffer of that name does (which would be why
11170 it was in the list), recreate the buffer by reopening the file.
11171 (ido-make-buffer-list): If virtual buffers are being used, call
11172 `ido-add-virtual-buffers-to-list' before the make list hook.
11173 (ido-virtual-buffers): New variable which contains a copy of the
11174 current contents of the `recentf-list', albeit pared down for the
11175 sake of speed, and with proper faces applied.
11176 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11177 create a list of "virtual buffers" to present to the user in
11178 addition to the currently open set. Note that this logic could
11179 get rather slow if that list is too large. With the default
11180 `recentf-max-saved-items' of 200, there is little speed penalty.
11182 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11184 * font-lock.el: Require CL when compiling.
11185 (font-lock-turn-on-thing-lock): Use `case'.
11187 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11189 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11192 2010-04-02 Juri Linkov <juri@jurta.org>
11194 * ehelp.el (electric-help-orig-major-mode):
11195 New buffer-local variable.
11196 (electric-help-mode): Set it to original major-mode. Doc fix.
11197 (with-electric-help): Use `electric-help-orig-major-mode' instead
11198 of (default-value 'major-mode). Doc fix.
11199 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11201 2010-04-02 Sam Steingold <sds@gnu.org>
11203 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11204 `vc-hg-command' with a list of flags.
11206 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11207 Also accept "patch" and "RFE".
11208 (bug-reference-fontify): `bug-reference-url-format' can also be a
11209 function to be able to handle the bug kind.
11210 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11212 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11214 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11215 value to fboundp, it may not be a symbol.
11217 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11219 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11221 2010-03-31 Juri Linkov <juri@jurta.org>
11223 * simple.el (next-line, previous-line): Re-throw a signal
11224 with `signal' instead of using `ding'.
11225 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11227 2010-03-31 Juri Linkov <juri@jurta.org>
11229 * simple.el (keyboard-escape-quit): Raise deselecting the active
11230 region higher than exiting the minibuffer.
11231 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11233 2010-03-31 Juri Linkov <juri@jurta.org>
11235 * image.el (image-animated-p): Use `image-metadata' instead of
11236 `image-extension-data'. Get GIF extenstion data from metadata
11237 property `extension-data'.
11239 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11241 * simple.el (append-to-buffer): Simplify.
11243 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11245 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11246 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11248 2010-03-31 Kenichi Handa <handa@m17n.org>
11250 * language/sinhala.el (composition-function-table): Fix regexp for
11251 the new Unicode specification.
11253 * language/indian.el (devanagari-composable-pattern)
11254 (tamil-composable-pattern, kannada-composable-pattern)
11255 (malayalam-composable-pattern): Adjust for the new Unicode
11257 (bengali-composable-pattern, gurmukhi-composable-pattern)
11258 (gujarati-composable-pattern, oriya-composable-pattern)
11259 (telugu-composable-pattern): New variables to cope with the new
11260 Unicode specification. Use them in composition-function-table.
11262 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11264 Make tmm-menubar work for the Buffers menu again (bug#5726).
11265 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11266 vectors rather than cons cells, as used in menu-bar-update-buffers.
11268 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11270 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11271 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11272 electric punctuation for "{}();,:" (Bug#5586).
11274 * mail/sendmail.el (mail-default-directory): Doc fix.
11276 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11278 * mail/sendmail.el (mail-default-directory): Doc fix.
11280 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11282 * subr.el (version-regexp-alist, version-to-list)
11283 (version-list-<, version-list-=, version-list-<=)
11284 (version-list-not-zero, version<, version<=, version=): Doc fix.
11287 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11289 * vc.el (vc-root-diff): Doc fix.
11291 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11293 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11295 * simple.el (append-to-buffer): Fix last change.
11297 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11299 * simple.el (append-to-buffer): Ensure that point is preserved if
11300 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11303 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11305 * files.el (auto-mode-case-fold): Change default to t.
11307 2010-03-30 Juri Linkov <juri@jurta.org>
11309 * dired-x.el (dired-omit-mode): Doc fix.
11311 2010-03-30 Juri Linkov <juri@jurta.org>
11313 * replace.el (occur-accumulate-lines): Move occur-engine related
11314 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11315 to be located after `occur-engine'.
11317 2010-03-30 Juri Linkov <juri@jurta.org>
11319 Make occur handle multi-line matches cleanly with context.
11320 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11322 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11323 (occur-engine): Add local variables `ret', `prev-after-lines',
11324 `prev-lines'. Use more arguments for `occur-context-lines'.
11325 Set first elem of its returned list to `data', and the second elem
11326 to `prev-after-lines'. Don't print the separator line.
11327 In the end, print remaining context after-lines.
11328 (occur-context-lines): Add new arguments `begpt', `endpt',
11329 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11330 after-lines of the previous match with before-lines of the
11331 current match and not overlap them. Return a list with two
11332 values: the output line and the list of context after-lines.
11334 2010-03-30 Juri Linkov <juri@jurta.org>
11336 * replace.el (occur-accumulate-lines): Fix a bug where the first
11337 context line at the beginning of the buffer was missing.
11339 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11341 * files.el: Make bidi-display-reordering safe variable for boolean
11344 2010-03-29 Phil Hagelberg <phil@evri.com>
11345 Chong Yidong <cyd@stupidchicken.com>
11347 * subr.el: Extend progress reporters to perform "spinning".
11348 (progress-reporter-update, progress-reporter-do-update):
11349 Handle non-numeric value arguments.
11350 (progress-reporter--pulse-characters): New var.
11352 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11354 * progmodes/compile.el (compilation-start): Fix regexp detection
11355 of initial cd command (Bug#5771).
11357 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11359 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11361 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11363 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11364 * progmodes/gdb-mi.el: Restore.
11365 * progmodes/gdb-ui.el: Remove.
11366 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11368 2010-03-25 Glenn Morris <rgm@gnu.org>
11370 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11371 all dired buffers, even tramp ones. (Bug#5755)
11373 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11375 Add "union tags" in mpc.el.
11376 * mpc.el: Remove backward compatibility code.
11377 (mpc-browser-tags): Change default.
11378 (mpc--find-memoize-union-tags): New var.
11379 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11380 (mpc-cmd-find): Handle the case where the playlist does not exist.
11382 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11383 (mpc-cmd-add): Use mpc-cmd-flush.
11384 (mpc-tagbrowser-tag-name): New fun.
11385 (mpc-tagbrowser-buf): Use it.
11386 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11388 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11391 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11392 Use replace-regexp-in-string.
11393 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11394 (makefile-imake-mode-syntax-table): Move init into defvar.
11395 (makefile-mode): Use define-derived-mode.
11397 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11398 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11399 not be present any more.
11401 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11403 * faces.el (set-face-attribute): Fix typo in docstring.
11404 (face-valid-attribute-values): Reflow docstring.
11406 2010-03-24 Glenn Morris <rgm@gnu.org>
11408 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11410 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11412 * indent.el (indent-for-tab-command): Doc fix.
11414 2010-03-24 Alan Mackenzie <acm@muc.de>
11416 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11417 Fix off-by-one error. Fixes bug #5747.
11419 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11421 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11422 (image-dired-read-comment): Doc fix.
11424 * json.el (json-object-type, json-array-type, json-key-type)
11425 (json-false, json-null, json-read-number):
11426 * minibuffer.el (completion-in-region-functions):
11427 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11428 (cal-tex-cursor-week):
11429 * emacs-lisp/trace.el (trace-function):
11430 * eshell/em-basic.el (eshell/printnl):
11431 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11432 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11433 * obsolete/levents.el (allocate-event, event-key, event-object)
11434 (event-point, event-process, event-timestamp, event-to-character)
11435 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11436 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11437 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11438 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11439 (reftex-highlight-selection): Fix typos in docstrings.
11441 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11443 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11445 2010-03-24 Glenn Morris <rgm@gnu.org>
11447 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11448 2008-02-13 without comment; mark it obsolete.
11449 (rmail-highlight-headers): Use rmail-highlight-face once more.
11451 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11453 * woman.el (woman2-process-escapes): Only consume the newline if
11454 the filler character is on a line by itself (Bug#5729).
11456 2010-03-24 Kenichi Handa <handa@m17n.org>
11458 * language/indian.el (devanagari-composable-pattern): Add more
11461 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11463 * net/trampver.el: Update release number.
11465 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11467 * net/tramp.el (tramp-find-executable):
11468 Use `tramp-get-connection-buffer'. Make the regexp for checking
11469 output of "wc -l" more robust.
11470 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11471 (tramp-open-connection-setup-interactive-shell): Remove workaround
11472 for OpenSolaris bug, it is not needed anymore.
11474 2010-03-24 Glenn Morris <rgm@gnu.org>
11476 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11478 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11480 * files.el (auto-mode-alist): Accept more verilog file patterns.
11482 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11484 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11486 2010-03-24 Glenn Morris <rgm@gnu.org>
11488 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11489 log-edit-before-checkin-process.
11491 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11493 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11495 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11496 (log-view-process-buffer, log-edit-extra-flags): Declare.
11498 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11500 2010-03-23 Sam Steingold <sds@gnu.org>
11502 Fix bug#5620: recalculate all markers on compilation buffer
11503 modifications, not on file modifications.
11504 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11505 variable: the buffer modification time, for buffers not associated with
11507 (compilation-mode): Create it.
11508 (compilation-filter): Update it.
11509 (compilation-next-error-function): Use it instead of
11510 `visited-file-modtime' for timestamp.
11512 2010-03-23 Juri Linkov <juri@jurta.org>
11514 Implement Occur multi-line matches.
11515 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11517 * replace.el (occur): Doc fix.
11518 (occur-engine): Set `begpt' to the beginning of the first line.
11519 Set `endpt' to the end of the last match line. At first, count
11520 line numbers between `origpt' and `begpt'. Split out code from
11521 `out-line' variable to new let-bindings `match-prefix' and
11522 `match-str'. In `out-line' add non-numeric prefix to all
11523 non-first lines of multi-line matches. Finally, count lines
11524 between `begpt' and `endpt' and add to `lines'.
11526 2010-03-23 Juri Linkov <juri@jurta.org>
11528 * replace.el (occur-accumulate-lines, occur-engine):
11529 Use `occur-engine-line' instead of duplicate code.
11530 (occur-engine-line): New function created from duplicate code
11531 in `occur-accumulate-lines' and `occur-engine'.
11533 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11534 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11536 2010-03-23 Juri Linkov <juri@jurta.org>
11538 * finder.el: Remove TODO tasks.
11540 * info.el (Info-finder-find-node): Add node "all"
11541 with all package info. Handle a list of multiple keywords
11542 separated by comma.
11543 (info-finder): In interactive use with a prefix argument,
11544 use `completing-read-multiple' to read a list of keywords
11545 separated by comma.
11547 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11549 Add a new completion style `substring'.
11550 * minibuffer.el (completion-basic--pattern): New function.
11551 (completion-basic-try-completion, completion-basic-all-completions):
11553 (completion-substring--all-completions)
11554 (completion-substring-try-completion)
11555 (completion-substring-all-completions): New functions.
11556 (completion-styles-alist): New style `substring'.
11558 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11560 Get rid of .elc files after removal of the corresponding .el.
11561 * Makefile.in (compile-clean): New target.
11562 (compile-main): Use it.
11564 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11566 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11567 don't do make there. When compiling with separate object dir, there
11568 is no Makefile there.
11570 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11572 Get rid of the ELCFILES abomination, again.
11573 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11574 (all, compile): Don't call compile-last.
11575 (compile-main): Build the "elcfiles" list dynamically.
11576 (compile-targets): New (internal) target.
11578 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11580 * Makefile.in (top_srcdir): Define.
11581 (abs_top_builddir): Define.
11582 (srcdir): Don't append `/..'.
11583 (EMACS): Use ${abs_top_builddir}.
11584 (all, compile, compile-always, compile-last): Don't set emacswd.
11585 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11587 (lisp): Use $(srcdir) instead of @srcdir@.
11589 2010-03-21 Juri Linkov <juri@jurta.org>
11591 Fix message of multi-line occur regexps and multi-buffer header lines.
11592 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11594 * replace.el (occur-1): Don't display regexp if it is longer
11595 than window-width. Use `query-replace-descr' to display regexp.
11596 (occur-engine): Don't display regexp in the buffer header for
11597 multi-buffer occur. Display a separate header line with total
11598 match count and regexp for multi-buffer occur.
11599 Use `query-replace-descr' to display regexp.
11601 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11603 * net/secrets.el: Fix parenthesis.
11604 (secrets-enabled): Fix parenthesis.
11606 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11608 Use more relative file and directory names.
11609 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11610 (setwins, setwins_almost, setwins_for_subdirs):
11611 Don't `cd'; output relative names.
11612 (all, compile, compile-always, compile-last): Set emacswd.
11613 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11614 Just cd to the lisp source dir so we can use relative file names.
11616 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11618 2010-03-20 Glenn Morris <rgm@gnu.org>
11620 * textmodes/rst.el: Use faces for font-lock customization, and make the
11621 old -face variables obsolete.
11622 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11623 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11624 (rst-block-face, rst-external-face, rst-definition-face)
11625 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11626 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11628 (rst-font-lock-keywords-function): Update for above changes.
11630 2010-03-20 Juri Linkov <juri@jurta.org>
11633 * obsolete/s-region.el: Move to obsolete.
11635 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11637 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11639 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11641 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11643 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11645 Add special markup processing for commit logs.
11646 * log-edit.el (log-edit-extra-flags): New variable.
11647 (log-edit): Add new argument MODE. Use that mode when non-nil
11648 instead of the log-view-mode.
11649 (log-view-process-buffer): New function.
11651 * vc.el: Document that the checkin method takes optional
11652 arguments. Document new backend specific method: log-view-mode.
11653 (vc-default-log-edit-mode): New function.
11654 (vc-checkin): Use a backend specific log-view-mode.
11655 Pass extra arguments to the checkin method.
11656 (vc-modify-change-comment): Pass a dummy extra argument.
11658 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11660 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11661 (vc-finish-logentry): Process the log buffer before passing it
11662 down. Pass log-edit-extra-flags.
11664 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11666 (log-edit-extra-flags, log-edit-before-checkin-process):
11669 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11671 (log-edit-extra-flags, log-edit-before-checkin-process):
11673 (vc-hg-log-edit-mode): New derived mode.
11675 * vc-arch.el (vc-arch-checkin):
11676 * vc-cvs.el (vc-cvs-checkin):
11677 * vc-git.el (vc-git-checkin):
11678 * vc-mtn.el (vc-mtn-checkin):
11679 * vc-rcs.el (vc-rcs-checkin):
11680 * vc-sccs.el (vc-sccs-checkin):
11681 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11683 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11685 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11688 2010-03-19 Glenn Morris <rgm@gnu.org>
11690 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11692 2010-03-18 Glenn Morris <rgm@gnu.org>
11694 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11696 * replace.el (query-replace-history): Give it a doc string.
11697 (map-query-replace-regexp): Use query-replace-from-history-variable
11698 and query-replace-to-history-variable.
11700 * mail/hashcash.el (declare-function): Remove duplicate definition.
11702 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11703 Make it an obsolete alias for report-emacs-bug-address.
11704 (message-strip-special-text-properties): Declare.
11705 (report-emacs-bug): Remove test for a pretest bug address.
11706 Combine message-mode-specific code.
11708 * mail/supercite.el: Don't require sendmail.
11709 (mh-in-header-p): Declare rather than using with-no-warnings.
11710 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11711 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11713 * calendar/cal-french.el: Convert to utf-8.
11715 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11718 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11720 * net/secrets.el (secrets-enabled): New variable. Use it instead
11723 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11725 * net/secrets.el (top): Register the D-Bus signals only when the
11726 service "org.freedesktop.secrets" can be pinged.
11727 Provide subfeature `enabled'.
11729 2010-03-14 Juri Linkov <juri@jurta.org>
11731 Add finder unknown keywords.
11733 * finder.el (finder-unknown-keywords): New function.
11735 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11736 to create a Finder node with unknown keywords.
11738 2010-03-14 Juri Linkov <juri@jurta.org>
11740 * finder.el (finder-compile-keywords): Replace `princ' with
11741 `prin1' on a list of symbols interned from keyword strings.
11743 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11744 a comma, then split keywords using a comma and optional whitespace.
11745 Otherwise, split by whitespace.
11753 * progmodes/mixal-mode.el: Fix keywords.
11755 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11757 * Makefile.in (ELCFILES): Add net/secrets.elc.
11759 * net/secrets.el: New file.
11761 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11763 * facemenu.el (list-colors-display, list-colors-print): New arg
11764 callback. Use it to allow selecting colors.
11766 * wid-edit.el (widget-image-insert): Insert image prop even if the
11767 current display is non-graphic.
11768 (widget-field-value-set): New fun.
11769 (editable-field): Use it.
11770 (widget-field-value-get): Clean up unused var.
11771 (widget-color-value-create, widget-color--choose-action):
11772 New funs. Allow using list-colors-display to choose color.
11774 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11776 * cus-edit.el: Resort topmost custom groups.
11777 (custom-buffer-sort-alphabetically): Default to t.
11778 (customize-apropos): Use apropos-parse-pattern.
11779 (custom-search-field): New var.
11780 (custom-buffer-create-internal): Add custom-apropos search field.
11781 (custom-add-parent-links): Don't display parent doc.
11782 (custom-group-value-create): Don't sort top-level custom group.
11783 (custom-magic-value-create): Show visibility button before option name.
11785 (custom-variable-state): New fun, from custom-variable-state-set.
11786 (custom-variable-state-set): Use it.
11787 (custom-group-value-create): Hide options with standard values
11788 using the :hidden-states property. Use progress reporter.
11790 (custom-show): Simplify.
11791 (custom-visibility): Disable images by default.
11792 (custom-variable): New property :hidden-states.
11793 (custom-variable-value-create): Enable images for
11794 custom-visibility widgets. Use :hidden-states property to
11795 determine initial visibility.
11797 * wid-edit.el (widget-image-find): Give images center ascent.
11798 (visibility): Add :on-image and :off-image properties.
11799 (widget-visibility-value-create): Use them.
11801 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11803 * cus-edit.el (processes): Remove from development group.
11804 (oop, hypermedia): Delete group.
11805 (comm): Promote to top-level group.
11807 * net/browse-url.el (browse-url):
11808 * net/xesam.el (xesam):
11809 * net/tramp.el (tramp):
11810 * net/goto-addr.el (goto-address):
11811 * net/ange-ftp.el (ange-ftp): Put in comm group.
11813 * view.el (view): Remove from editing group.
11815 * uniquify.el (uniquify): Put in files group.
11817 * net/browse-url.el (browse-url):
11818 * ps-print.el (postscript): Put in external group.
11820 * cus-edit.el (outlines):
11821 * textmodes/text-mode.el (text-mode-hook):
11822 * textmodes/table.el (table):
11823 * textmodes/picture.el (picture):
11824 * outline.el (outlines): Put in wp group.
11826 * nxml/nxml-mode.el (nxml): Remove from wp group.
11828 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11830 * mail/metamail.el (metamail): Remove from hypermedia group.
11832 * cus-edit.el (abbrev):
11833 * whitespace.el (whitespace):
11834 * vcursor.el (vcursor):
11835 * reveal.el (reveal):
11836 * hl-line.el (hl-line): Put in convenience group.
11838 * epg-config.el (epg): Put in data group.
11840 * emulation/pc-select.el (pc-select): Put in emulations group.
11842 * calculator.el (calculator): Put in applications group.
11844 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11846 Add .dir-locals.el support for file-less buffers.
11847 * files.el (hack-local-variables): Split out code to apply local
11848 variable settings ...
11849 (hack-local-variables-apply): ... here. New function.
11850 (hack-dir-local-variables): Use the default directory for when the
11851 buffer does not have an associated file.
11852 (hack-dir-local-variables-non-file-buffer): New function.
11853 * diff-mode.el (diff-mode):
11854 * vc-annotate.el (vc-annotate-mode):
11855 * vc-dir.el (vc-dir-mode):
11856 * log-edit.el (log-edit-mode):
11857 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11859 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11861 Add support for shelving snapshots and for showing shelves.
11862 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11863 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11865 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11866 (vc-bzr-extra-menu-map): Map them.
11868 2010-03-11 Glenn Morris <rgm@gnu.org>
11870 * cus-edit.el (customize-changed-options-previous-release):
11873 * image.el (image-animate-max-time): Fix :version tag.
11875 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11879 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11881 * vc-git.el (vc-git-revision-table): Include remote branches.
11883 2010-03-10 Kim F. Storm <storm@cua.dk>
11885 Animated image API.
11886 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11888 * image.el (image-animate-max-time): New defcustom.
11889 (image-animated-types): New defconst.
11890 (create-animated-image, image-animate-timer)
11891 (image-animate-start, image-animate-stop, image-animate-timeout)
11892 (image-animated-p): New functions.
11894 * image-mode.el (image-toggle-display-image):
11895 Replace `create-image' with `create-animated-image'.
11897 2010-03-09 Miles Bader <miles@gnu.org>
11899 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11900 instead of "format:"; this ensures that the output is
11901 newline-terminated.
11903 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11905 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11906 that all errors are caught, and that the return value is always a
11909 2010-03-08 Kenichi Handa <handa@m17n.org>
11911 * language/misc-lang.el (windows-1256): New coding system.
11912 (cp1256): New alias of windows-1256 (bug#5690).
11914 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11916 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11917 call to rfc822-bad-address. (Bug#5692)
11919 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11921 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11922 Use vc-git-root as default directory for revision path (Bug#5657).
11924 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11926 * calculator.el (calculator): Don't bind split-window-keep-point
11929 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11931 * vc-git.el: Re-flow to fit into 80 columns.
11932 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11933 Remove spurious `quote' element in each case alternative.
11934 (vc-git-show-log-entry): Use prog1.
11935 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11937 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11939 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11941 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11943 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11944 definition, not the name (Bug#5481).
11946 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11948 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11949 argument with a local variable. (Bug#5670)
11951 2010-03-02 Juri Linkov <juri@jurta.org>
11953 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11955 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11957 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11958 error when FILENAME and NEWNAME are existing remote directories.
11960 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11961 parameter DIR-FLAG.
11963 2010-03-02 Glenn Morris <rgm@gnu.org>
11965 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11966 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11968 2010-03-01 Kenichi Handa <handa@m17n.org>
11970 * language/burmese.el (burmese-composable-pattern): Rename from
11971 myanmar-composable-pattern.
11973 * international/characters.el (script-list):
11974 * international/fontset.el (script-representative-chars):
11975 Change myanmar to burmese.
11976 (otf-script-alist): Likewise.
11977 (setup-default-fontset): Likewise. Re-fix :otf spec.
11979 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11981 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11983 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11985 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11987 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11989 * net/tramp.el (tramp-handle-write-region): START can be a string.
11990 Take care in the checks. Reported by Dan Davison
11991 <davison@stats.ox.ac.uk>.
11993 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11995 * net/dbus.el (dbus-introspect, dbus-get-property)
11996 (dbus-set-property, dbus-get-all-properties):
11997 Use `dbus-call-method' when noninteractive. (Bug#5645)
11999 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12001 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12002 * emacs-lisp/elint.el (elint-add-required-env):
12003 * calendar/icalendar.el (icalendar--add-diary-entry):
12004 * calc/calcalg2.el (math-tracing-integral):
12005 * files.el (recover-session-finish): Use with-current-buffer
12006 instead of save-excursion.
12008 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12010 Fix in-buffer completion when after-change-functions modify the buffer.
12011 * minibuffer.el (completion--replace): New function.
12012 (completion--do-completion): Use it and use relative movement.
12014 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12016 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12018 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12020 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12021 Allow the characters _<> in the stack entry (Bug#5653).
12023 2010-02-26 Kenichi Handa <handa@m17n.org>
12025 * language/burmese.el: Fix entries in composition-function-table.
12026 (myanmar-composable-pattern): New variable.
12028 * international/fontset.el (setup-default-fontset): Add an entry
12031 * international/characters.el (script-list): Add Myanmar
12034 2010-02-26 Glenn Morris <rgm@gnu.org>
12036 * custom.el (custom-initialize-delay): Doc fix.
12038 * mail/sendmail.el (send-mail-function): Autoload the call
12039 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12041 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12043 * files.el (hack-local-variables-filter): For eval forms, also
12044 check safe-local-variable-p (Bug#5636).
12046 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12048 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12049 setting the modes by `ignore-errors'. It might fail, for example
12050 if the file is not owned by the user but the group.
12051 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12053 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12055 * files.el (directory-listing-before-filename-regexp):
12056 Use stricter matching for iso-style dates, to avoid false matches with
12057 date-like filenames (Bug#5597).
12059 * htmlfontify.el (htmlfontify): Doc fix.
12061 * eshell/eshell.el (eshell): Doc fix.
12063 * startup.el (fancy-about-screen): In mode-line, apply
12064 mode-line-buffer-id face only to the buffer name (Bug#5613).
12066 2010-02-20 Kevin Ryde <user42@zip.com.au>
12068 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12069 In `watcom' anchor regexp to start of line, to avoid slowness
12072 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12074 * subr.el (remove-yank-excluded-properties): Explain in a comment
12075 why `category' property is removed.
12077 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12079 * isearch.el (isearch-update-post-hook, isearch-update):
12080 Revert 2010-02-17 change.
12082 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12084 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12085 (icalendar--convert-weekly-to-ical)
12086 (icalendar--convert-yearly-to-ical)
12087 (icalendar--convert-block-to-ical)
12088 (icalendar--convert-cyclic-to-ical)
12089 (icalendar--convert-anniversary-to-ical): Take care of time
12090 specifications where hour has 1-digit only (Bug#5549).
12092 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12094 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12095 of disassemble output in GDB 7.1.
12097 2010-02-19 Glenn Morris <rgm@gnu.org>
12099 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12100 property. (Bug#5593)
12102 2010-02-18 Sam Steingold <sds@gnu.org>
12104 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12106 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12108 Use abbreviated file names in bookmarks (bug#5591).
12109 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12110 calls to expand-file-name.
12111 (bookmark-relocate): Use abbreviated file names in bookmarks.
12112 (bookmark-load): Use abbreviated file names in messages.
12114 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12116 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12117 expand "." and "..". Reported by Thierry Volpiatto
12118 <thierry.volpiatto@gmail.com>.
12120 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12122 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12123 permissions of the temporary file to "0600". In case the remote
12124 file has no read permissions for the owner, there might be
12125 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12127 22010-02-18 Glenn Morris <rgm@gnu.org>
12129 * emacs-lisp/authors.el (authors-renamed-files-alist):
12130 Add entries for INSTALL.CVS.
12132 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12134 * vc-bzr.el: Fix typo in Known Bugs section.
12136 * isearch.el (isearch-update-post-hook): New hook.
12137 (isearch-update): Use the new hook.
12139 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12141 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12142 Fix errors in copying directories.
12143 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12144 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12145 (tramp-handle-delete-file)
12146 (tramp-handle-dired-recursive-delete-directory)
12147 (tramp-handle-write-region): Flush also the cache for the upper
12150 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12152 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12154 * cus-edit.el (hardware): Doc fix.
12156 * man.el (man): Add to external custom group.
12158 * delim-col.el (columns): Move to wp custom group.
12160 * doc-view.el (doc-view): Add to data custom group.
12162 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12164 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12165 by ispell-parse-output (Bug#5575).
12167 2010-02-16 Kenichi Handa <handa@m17n.org>
12169 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12170 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12171 (skkdic-convert): Use `euc-japan' coding system for writing.
12173 2010-02-16 Glenn Morris <rgm@gnu.org>
12175 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12176 tex-main-file before using it. (Bug#5562)
12178 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12180 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12181 warnings, since it is annoying for the user to see them each time he
12184 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12186 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12187 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12188 instead of PROC for caching "first-password-request". Otherwise,
12189 new processes would not profit from passwords already entered.
12191 * net/tramp-cache.el (tramp-dump-connection-properties):
12192 Don't save "first-password-request" property.
12194 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12196 * outline.el (outline-head-from-level):
12197 * simple.el (with-wrapper-hook):
12198 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12199 (elint-defun, elint-buffer-env, elint-top-form-logged)
12200 (elint-unbound-variable):
12201 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12202 Fix typos in docstrings.
12204 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12206 * files.el (insert-directory): When WILDCARD-REGEXP and
12207 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12208 whole directory. (Bug#5551)
12210 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12211 dired's alignment sanity. (Bug#5516)
12213 2010-02-14 Juri Linkov <juri@jurta.org>
12215 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12216 Remove remaining ^H with their preceding chars. (Bug#5566)
12218 2010-02-13 Glenn Morris <rgm@gnu.org>
12220 * simple.el (transpose-subr): Give it a doc-string.
12222 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12225 2010-02-12 Juri Linkov <juri@jurta.org>
12227 * arc-mode.el (archive-unique-fname): Make directories for nested
12228 archives. (Bug#5540)
12230 2010-02-12 Juri Linkov <juri@jurta.org>
12232 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12234 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12236 * subr.el (copy-overlay): Handle deleted overlays.
12238 * man.el (Man-completion-table): Don't signal an error if we can't run
12239 manual-program (bug#4056).
12241 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12243 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12245 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12247 * info.el (Info-bookmark-jump): Simplify.
12249 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12250 (bookmark-default-handler): Accept new bookmark field `buffer'.
12252 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12254 * iswitchb.el (iswitchb-completions): Revert last change.
12256 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12258 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12259 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12260 This prevents file names like "~/" being listed literally.
12262 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12264 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12265 Remove dead code. (Bug#5546)
12267 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12269 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12270 correctly (Bug#5548).
12272 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12274 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12275 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12277 2010-02-08 Kenichi Handa <handa@m17n.org>
12279 * international/mule-util.el (with-coding-priority): Add autoload
12280 cookie for putting `lisp-indent-function'.
12282 2010-02-07 Glenn Morris <rgm@gnu.org>
12284 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12285 Move F2003 named interfaces from keywords-2 to keywords-1, and
12286 use function-name-face rather than constant-face.
12287 Simplify "abstract interface" regexp.
12289 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12291 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12292 ID-FORMAT. Pass it to `file-attributes'.
12294 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12296 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12298 * faces.el (set-face-attribute): Allow calling
12299 internal-set-lisp-face-attribute with 'unspecified family and
12300 foundry argument (Bug#5536).
12302 2010-02-07 Glenn Morris <rgm@gnu.org>
12304 * progmodes/f90.el (f90-font-lock-keywords-2)
12305 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12306 Handle F2003 named interfaces.
12308 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12310 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12311 beg and end before calling c-get-state-before-change-functions.
12313 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12315 * vc-bzr.el (vc-bzr-dir-extra-headers):
12316 Disable the pending merges header.
12318 2010-02-05 Juri Linkov <juri@jurta.org>
12320 * doc-view.el (doc-view-mode):
12321 * image-mode.el (image-mode): Put property mode-class=special.
12324 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12326 * vc-svn.el (vc-svn-revision-table): New function.
12328 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12330 * net/ange-ftp.el (ange-ftp-insert-directory):
12331 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12332 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12333 Handle also directories. (Bug#5478)
12335 2010-02-05 Glenn Morris <rgm@gnu.org>
12337 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12339 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12341 * startup.el (command-line-1): Convert options beginning with a
12342 single dash as well (Bug#5519).
12344 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12346 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12347 * minibuffer.el (completion-initials-expand): Only check the presence
12348 of delims *within* the boundaries, since otherwise the / delim is
12349 always found for files.
12351 Fix up various corner case problems.
12352 * doc-view.el (doc-view-last-page-number): New function.
12353 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12354 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12355 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12356 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12357 (doc-view-convert-current-doc): Don't create the resolution.el file
12359 (doc-view-pdf/ps->png): Do it here instead.
12360 (doc-view-already-converted-p): Check that resolution.el is present.
12361 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12362 windows that are not yet showing images.
12364 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12366 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12367 `dired-uncache' for every elemnt which is an absolute file name.
12369 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12370 directory, handle its directory component.
12371 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12372 function is called permanently and creates noise, otherwise.
12374 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12375 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12376 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12378 2010-02-04 David Burger <dburger@google.com> (tiny change)
12380 * macros.el (apply-macro-to-region-lines):
12381 Minor simplification. (Bug#5485)
12383 2010-02-04 Glenn Morris <rgm@gnu.org>
12385 * mail/rmail.el (rmail-show-message-1): Handle malformed
12386 quoted-printable text. (Bug#5441)
12388 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12390 * simple.el (visual-line-mode): Capitalize lighter.
12392 2010-02-03 John Wiegley <jwiegley@gmail.com>
12394 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12395 list of files considered for "virtual buffer" completions.
12397 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12399 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12400 also in case of (and (not full) (not wildcard)). This is needed
12401 when dired is called with a list of files, which are not in
12402 `default-directory'. (Bug#5478)
12404 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12406 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12408 2010-02-02 Juri Linkov <juri@jurta.org>
12410 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12411 from unidiff to allow function-line after @@.
12413 2010-02-02 Juri Linkov <juri@jurta.org>
12415 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12416 '(RCS SCCS) with inverted condition.
12418 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12420 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12423 2010-02-01 Juri Linkov <juri@jurta.org>
12425 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12426 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12427 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12428 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12430 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12432 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12433 (doc-view-revert-buffer): New command.
12434 (doc-view-mode-map): Use it.
12436 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12438 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12439 pending merge is detected.
12441 2010-01-31 Juri Linkov <juri@jurta.org>
12443 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12444 beginning of interactive spec like all other grep commands do.
12445 Put "all" in front of "gz". (Bug#5260)
12447 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12449 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12451 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12453 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12454 regexp is incorrect (Bug#5476).
12456 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12458 * net/tramp.el (tramp-handle-insert-directory): Handle also
12459 symlinks, when FILENAME is not in `default-directory'.
12461 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12463 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12464 FILE is not in `default-directory'. (Bug#5478)
12466 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12467 of SWITCHES. Handle the case, FILENAME is not in
12468 `default-directory'. (Bug#5478)
12469 (tramp-register-file-name-handlers): Add safe-magic property.
12471 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12473 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12476 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12478 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12479 (flymake-master-make-header-init): Add other C++ filename masks.
12480 (flymake-find-possible-master-files)
12481 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12483 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12485 Fix some busybox annoyances.
12487 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12488 not responding." string.
12489 (tramp-open-connection-setup-interactive-shell): Dump stty
12490 settings. Enable "neveropen" arg for all `tramp-send-command'
12491 calls. Handle "=" in variable values properly.
12492 (tramp-find-inline-encoding): Raise an error, when no encoding is
12494 (tramp-wait-for-output): Check, whether PROC buffer is available.
12495 Remove spurious " ^H" sequences, sent by busybox.
12496 (tramp-get-ls-command): Suppress coloring, if possible.
12498 2010-01-28 Glenn Morris <rgm@gnu.org>
12500 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12502 * log-edit.el (log-edit-strip-single-file-name): Add missing
12503 :safe, :group, and :version tags.
12505 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12507 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12508 buffers. (Bug#5477)
12510 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12512 * files.el (delete-directory): Handle moving to trash without
12513 first doing recursion (Bug#5436).
12515 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12517 * vc-hooks.el (vc-path): Mark as obsolete.
12519 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12521 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12524 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12526 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12528 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12530 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12532 * vc-bzr.el (vc-bzr-revision-table): New function.
12534 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12536 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12537 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12539 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12541 Remove support for adding --signoff on commit.
12542 Future support will use an incompatible generic mechanism.
12543 * vc-git.el (vc-git-add-signoff): Remove variable.
12544 (vc-git-toggle-signoff): Remove function.
12545 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12547 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12548 Rename from xterm-set-background-mode. Return t if the background mode
12550 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12551 earlier, call it again in case the background mode has changed.
12553 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12555 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12558 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12560 * emacs-lisp/assoc.el (aelement): Doc fix.
12561 (aput, adelete, amake): Use lexical-let (Bug#5450).
12563 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12565 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12566 is the same as subprogram call, not declaration. (Bug#5435).
12568 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12570 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12571 (tramp-smb-maybe-open-connection): Use it.
12573 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12575 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12577 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12579 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12580 just because we see "encoding: 8bit".
12581 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12583 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12585 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12587 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12589 * jka-compr.el (jka-compr-load): If load-file is not in
12590 load-history, try its file-truename version. (bug#5447)
12592 2010-01-21 Alan Mackenzie <acm@muc.de>
12594 Fix a situation where deletion of a cpp construct throws an error.
12595 * progmodes/cc-engine.el (c-invalidate-state-cache):
12596 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12597 special cpp construct is still in the buffer.
12598 (c-parse-state): Record the special cpp with markers, not numbers.
12600 2010-01-21 Kenichi Handa <handa@m17n.org>
12602 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12603 process last-command-event, as it is now decoded first (Bug#5380).
12605 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12607 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12609 2010-01-20 Glenn Morris <rgm@gnu.org>
12611 * indent.el (tab-always-indent): Fix custom-type.
12613 2010-01-19 Alan Mackenzie <acm@muc.de>
12615 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12616 buffer throws "args out of range".
12617 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12618 playing the role of delimiter.
12620 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12622 * progmodes/ada-mode.el: Fix bug#5400.
12623 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12624 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12625 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12626 Improve comments in "is" portion. Handle null procedure declaration.
12627 (ada-move-to-end): Improve doc string.
12629 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12631 * ido.el (ido-cur-list): Initialize to nil.
12632 Remove obsolete information from commentary.
12633 (ido-choice-list): Initialize to nil.
12634 (ido-get-bufname): Reject minibuffers.
12635 (ido-make-buffer-list): If "default" is a nonexistent
12636 buffer, ignore it, as per the function's comment.
12637 (ido-kill-buffer-internal): New function.
12638 (ido-kill-buffer-at-head): Use it.
12639 (ido-visit-buffer): Likewise.
12641 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12643 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12645 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12647 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12648 Fix typos in chart titles.
12650 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12651 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12652 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12653 (describe-class, eieio-describe-generic, describe-generic):
12654 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12655 (eieio-speedbar-expand):
12656 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12657 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12658 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12659 (viper-del-backward-char-in-replace, viper-backward-indent)
12660 (viper-brac-function, viper-register-to-point, viper-submit-report):
12661 * net/tramp.el (tramp-remote-coding-commands):
12662 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12663 Fix typos in docstrings.
12665 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12667 * mail/sendmail.el (mail-yank-original): Set the mark if the
12668 specified function for yanking does not do it.
12670 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12672 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12674 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12675 resyncing a directory.
12677 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12679 * progmodes/ada-mode.el: Fix bug#1920.
12680 (ada-ident-re): Delete ., allow multibyte characters.
12681 (ada-goto-label-re): New; matches goto labels.
12682 (ada-block-label-re): New; matches block labels.
12683 (ada-label-re): New; matches both.
12684 (ada-named-block-re): Deleted; callers changed to use
12685 `ada-block-label-re' instead.
12686 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12687 Use `ada-block-label-re'.
12688 (ada-indent-on-previous-lines): Improve handling of goto labels.
12689 (ada-get-indent-block-start): Special-case block label.
12690 (ada-get-indent-label): Split into `ada-indent-block-label' and
12691 `ada-indent-goto-label'.
12692 (ada-goto-stmt-start, ada-goto-next-non-ws):
12693 Optionally ignore goto labels.
12694 (ada-goto-next-word): Simplify.
12695 (ada-indent-newline-indent-conditional): Insert newline before
12696 trying to fix indentation; doc fix.
12698 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12700 * calc/calc.el (calc-command-flags): Give it an initial value.
12702 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12704 * files.el (minibuffer-with-setup-hook):
12705 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12706 (artist-key-draw-continously, artist-key-do-continously-continously)
12707 (artist-key-set-point-continously, artist-mouse-draw-continously):
12708 Fix typos in docstrings.
12710 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12712 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12713 Never return t (Bug#3898).
12715 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12717 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12718 can parse the output of the external commands (Bug#5279).
12720 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12722 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12724 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12726 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12728 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12730 * startup.el (command-line): Remove unused --icon-type arg.
12731 Handle --display arg, passing it to command-line-1 (Bug#5392).
12733 2010-01-16 Mario Lang <mlang@delysid.org>
12735 * emacs-lisp/chart.el (chart-translate-namezone):
12736 * textmodes/artist.el (artist-compute-popup-menu-table):
12737 Remove duplicated words in doc-strings.
12739 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12741 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12742 to mairix-search to suppress threading (Bug#5342).
12744 2010-01-15 Kenichi Handa <handa@m17n.org>
12746 * international/mule-cmds.el (canonicalize-coding-system-name):
12747 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12749 2010-01-15 Glenn Morris <rgm@gnu.org>
12751 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12753 * wid-edit.el (widget-keymap): Doc fix.
12755 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12756 former seems to be more widely accepted by various svn versions.
12758 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12760 * find-cmd.el (find-constituents):
12761 * vc-arch.el (vc-arch-root):
12762 * window.el (window-body-height, pop-up-frames):
12763 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12764 * progmodes/ada-stmt.el (ada-if):
12765 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12766 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12767 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12768 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12770 * progmodes/flymake.el (flymake-post-syntax-check):
12771 Fix typo in error message.
12773 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12775 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12776 which is always a string. (Bug#5313)
12778 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12780 * progmodes/ada-xref.el (ada-default-prj-properties):
12781 Simplify previous change.
12783 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12785 * progmodes/ada-xref.el (ada-default-prj-properties):
12786 Default ada_project_path to $ADA_PROJECT_PATH.
12788 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12790 * progmodes/ada-mode.el (ada-create-keymap):
12791 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12793 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12795 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12796 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12797 (ada-get-current-indent, ada-imenu-generic-expression)
12798 (ada-which-function): Check for it.
12800 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12802 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12803 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12805 2010-01-14 Glenn Morris <rgm@gnu.org>
12807 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12809 2010-01-14 Kenichi Handa <handa@m17n.org>
12811 * composite.el (auto-composition-mode): Make it a buffer local
12812 variable (permanent-local).
12813 (auto-composition-function): Set the default value to
12814 auto-compose-chars.
12815 (auto-composition-mode): Make it a simple function, not a minor mode.
12816 (global-auto-composition-mode): Likewise.
12817 (turn-on-auto-composition-if-enabled): Delete it.
12819 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12821 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12823 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12825 * files.el (copy-directory): Compute target for recursive
12826 directories with identical names. (Bug#5343)
12828 2010-01-12 Glenn Morris <rgm@gnu.org>
12830 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12831 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12833 2010-01-11 Sam Steingold <sds@gnu.org>
12835 * imenu.el (imenu-default-create-index-function): Detect infinite
12836 loops caused by imenu-prev-index-position-function.
12838 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12840 * htmlfontify.el (htmlfontify-load-rgb-file)
12841 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12842 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12843 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12844 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12845 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12846 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12847 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12848 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12849 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12850 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12851 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12852 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12853 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12854 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12855 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12856 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12857 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12858 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12859 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12860 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12861 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12862 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12863 backslash-quoting from parentheses, etc.
12865 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12867 * progmodes/js.el: Autoload javascript-mode alias.
12869 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12871 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12872 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12873 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12874 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12875 Fix typos in docstrings.
12876 (ffap-url-regexp): Doc fix.
12877 (ffap-at-mouse): Fix typo in message.
12879 2010-01-11 Glenn Morris <rgm@gnu.org>
12881 * version.el (emacs-copyright): Set copyright year to 2010.
12883 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12885 * format.el (format-annotate-function): Only set
12886 write-region-post-annotation-function after running to-fn so as not to
12887 affect nested write-region calls (bug#5273).
12889 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12891 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12894 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12896 * man.el (Man-goto-section): Signal error if the section is not
12899 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12901 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12902 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12904 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12906 * progmodes/compile.el: Don't treat compile-command as safe if
12907 compilation-read-command might be nil (Bug#4218).
12909 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12911 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12914 2010-01-08 Kenichi Handa <handa@m17n.org>
12916 * international/fontset.el (build-default-fontset-data):
12917 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12919 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12921 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12922 to `create-file-buffer' as it expects, not just a buffer name.
12923 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12924 to help uniquify. (Bug#3224)
12926 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12928 * font-setting.el (font-setting-change-default-font): Use user-spec
12931 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12933 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12935 2010-01-05 Tom Tromey <tromey@redhat.com>
12937 * progmodes/python.el (python-font-lock-keywords):
12938 Handle qualified decorators (Bug#881).
12940 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12942 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12943 in a lightweight checkout.
12945 2010-01-05 Kenichi Handa <handa@m17n.org>
12947 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12949 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12951 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12953 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12955 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12956 checkouts. (Bug#618)
12957 (vc-bzr-log-view-mode): Also highlight the author.
12958 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12959 (vc-bzr-shelve-menu-map):
12960 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12961 (vc-bzr-shelve-apply): Make prompt more explicit.
12963 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12965 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12966 They are valid characters in URL paths (rfc3986), and at least
12967 Firefox does not understand the encoded version (Bug#3166).
12969 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12971 * progmodes/octave-mod.el (octave-end-keywords)
12972 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12973 Add "end" keyword (Bug#3061).
12974 (octave-end-as-array-index-p): New function.
12975 (calculate-octave-indent): Use it.
12977 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12979 * bookmark.el: Consistently put the text property on the bookmark name.
12980 (bookmark-bmenu-marks-width): Bump back to 2, to include
12982 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12983 property on the bookmark name, instead of not putting it at all.
12984 (bookmark-bmenu-list): Fix where we put the text property.
12986 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12988 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12989 for showing buffer modified state (as added in the previous change).
12991 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12993 * bookmark.el: Show modified state of bookmark buffer more accurately.
12994 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12995 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12996 (with-buffer-modified-unmodified): New macro.
12997 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12998 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12999 Use new macro to preserve the buffer modified state.
13001 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13003 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13004 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13005 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13006 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13007 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13008 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13009 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13011 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13013 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13014 Make the lines in the generated doc string shorter. (Bug#4668)
13016 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13018 * net/rcirc.el: Add follow-link binding (Bug#4738).
13020 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13022 * Makefile.in (bzr-update): Rename from cvs-update.
13023 (cvs-update): New target for backward compatibility.
13025 * makefile.w32-in (bzr-update): Rename from cvs-update.
13026 (cvs-update): New target for backward compatibility.
13028 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13030 * bookmark.el: Remove gratuitous gratitude.
13032 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13034 * bookmark.el (bookmark-bmenu-any-marks): New function.
13035 (bookmark-bmenu-save): Clear buffer modification if no marks.
13037 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13039 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13040 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13041 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13042 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13044 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13045 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13046 To: emacs-devel {_AT_} gnu.org
13047 Subject: bookmark.el bug report
13048 Date: Mon, 28 Dec 2009 14:19:16 +0800
13049 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13051 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13053 * bookmark.el: Improvements suggested by Drew Adams:
13054 (bookmark-bmenu-ensure-position): New name for
13055 `bookmark-bmenu-check-position'. Just ensure the position,
13056 don't return any meaningful value.
13057 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13060 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13062 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13063 (bookmark-yank-point, bookmark-bmenu-check-position):
13064 Fix typos in docstrings.
13065 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13066 (bookmark-name-from-full-record, bookmark-get-position)
13067 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13068 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13069 Remove useless quoting of parenthesis, etc. in docstrings.
13071 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13072 (ediff-append-custom-diff): Fix typo in error message.
13073 (ediff-meta-mark-equal-files): Fix typos in messages.
13075 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13077 * net/imap-hash.el (imap-hash-make): Doc fix.
13078 (imap-hash-test): Fix typo in error message; reflow docstring.
13079 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13080 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13081 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13082 Fix typos in docstrings.
13083 (imap-hash-open-connection): Fix typo in error message.
13085 * play/gomoku.el (gomoku): Fix typos in docstring.
13087 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13088 (gdb-jsonify-buffer): Fix typos in docstring.
13089 (gdb-goto-breakpoint): Fix typo in error message.
13090 ("Display Other Windows"): Fix typo in help message.
13091 (gdb-speedbar-expand-node): Fix typo in question.
13093 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13094 (idlwave-html-system-help-location, idlwave-html-help-location)
13095 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13096 (idlwave-help-browser-generic-args, idlwave-help-directory)
13097 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13098 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13099 (idlwave-online-help, idlwave-help-html-link)
13100 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13101 Fix typos in docstrings.
13102 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13104 (idlwave-help-assistant-start): Fix typo in error message.
13106 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13107 (octave-electric-space): Fix typos in docstrings.
13109 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13111 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13113 2010-01-01 Juri Linkov <juri@jurta.org>
13115 * comint.el (comint-input-ring-size): Make it a defcustom and
13116 increase the default to 500 (Bug#5148).
13118 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13120 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13121 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13122 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13124 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13126 Show working revision correctly for mercurial.
13127 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13128 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13130 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13132 Declare some functions for the byte-compiler.
13133 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13134 (speedbar-timer-fn, speedbar-change-expand-button-char)
13135 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13137 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13139 This changeset reverts GDB Graphical Interface to use annotations.
13140 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13142 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13144 Make vc-dir work on subdirectories of the bzr root.
13145 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13146 Return file names relative to it.
13147 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13148 relative directory to vc-bzr-after-dir-status.
13150 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13152 * font-lock.el (font-lock-refresh-defaults): New function, which
13153 can be used to let font-lock react to external changes in
13154 variables like font-lock-defaults and keywords.
13155 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13157 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13159 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13161 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13163 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13165 Supersede color.diff settings in git log (bug#5211).
13167 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13168 escape chars in its output when the user has color.diff set to `always'.
13169 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13171 2009-12-26 Kevin Ryde <user42@zip.com.au>
13173 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13174 node. Keep previous "Index" name to work with past coreutils too.
13176 * man.el (man): Revise docstring a bit to show -a and -l as
13177 examples. Add -k description since support for it has otherwise
13178 been a secret. (Further to bug#3717.)
13179 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13180 "no matches" rather than "Can't find manpage", as the latter reads
13181 like -k was interpreted as a page name, which is not so. (Bug#5431)
13183 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13185 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13186 switches. Check also for //SUBDIRED// line.
13188 2009-12-25 Kenichi Handa <handa@m17n.org>
13190 * language/indian.el (devanagari-composable-pattern): Fix to
13191 handle ZWNJ and ZWJ. Use it in composition-function-table for
13193 (malayalam-composable-pattern): Fix previous change.
13195 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13197 * ps-print.el (ps-face-attributes): It was not returning the
13198 attribute face for faces specified as string. Reported by harven
13199 <harven@free.fr>. (Bug#5254)
13200 (ps-print-version): New version 7.3.5.
13202 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13204 * calendar/icalendar.el (icalendar--convert-tz-offset):
13205 Fix timezone names.
13206 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13207 (icalendar--add-diary-entry): Remove the trailing blank that
13208 diary-make-entry inserts.
13210 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13212 Make `file-expand-wildcards' work for remote files.
13214 * files.el (file-expand-wildcards): In case of remote files, check
13215 only local file name part for wildcards. Provide feature 'files
13216 and subfeature 'remote-wildcards. (Bug#5198)
13218 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13219 if there is already an established connection.
13220 (tramp-advice-file-expand-wildcards): Remove it.
13222 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13223 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13224 Activate advice for older GNU Emacs versions. (Bug#5237)
13226 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13228 Some doc fixes (more needed).
13230 * find-cmd.el (find-constituents): Reflow docstring.
13231 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13232 (find-generic): Doc fix.
13234 2009-12-17 Juri Linkov <juri@jurta.org>
13236 Fix regression from 23.1 to allow multiple modes in Local Variables.
13238 * files.el (hack-local-variables-filter): While ignoring duplicates,
13239 don't take `mode' into account.
13240 (hack-local-variables-filter, hack-dir-local-variables):
13241 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13243 2009-12-17 Juri Linkov <juri@jurta.org>
13245 Make `dired-diff' safer. (Bug#5225)
13247 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13248 `current' or when `file' is a directory of the `current' file.
13250 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13252 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13253 unconditionally preloaded files.
13255 2009-12-16 Juri Linkov <juri@jurta.org>
13257 Revert to old 23.1 logic of using the file at the mark as default.
13258 * dired-aux.el (dired-diff): Use the file at the mark as default
13259 if it's not the same as the current file, and the target dir is
13260 the current dir or the mark is active. Add the current file
13261 as the arg of `dired-dwim-target-defaults'. Use the default file
13262 in the prompt. (Bug#5225)
13264 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13266 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13267 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13268 (tramp-check-for-regexp): Check also, when an echoing shell stops
13269 to echo sent commands.
13271 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13273 * Makefile.in: Revert last change (Bug#5191).
13275 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13277 * vc-hg.el (vc-hg-print-log): Fix argument order.
13278 (vc-hg-working-revision): Make sure the command is executed in a
13279 known environment so that we can parse the output. (Bug#4417)
13281 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13283 * progmodes/python.el (python-symbol-completions): Remove text
13284 properties from symbol string before calling python-send-receive.
13286 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13288 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13289 when there are values for both file and line. (Bug#5060)
13291 2009-12-14 Juri Linkov <juri@jurta.org>
13293 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13294 whitespace after the file name of the first line of unified format,
13295 because git-diff doesn't output whitespace and file modification time
13296 after the file name.
13298 2009-12-14 David Kastrup <dak@gnu.org>
13300 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13301 check if it already has the `display' property added by
13302 `Info-display-images-node', and not put the `invisible' property
13305 2009-12-13 Glenn Morris <rgm@gnu.org>
13307 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13308 (report-emacs-bug): In message-mode, sort manually before storing
13309 original report text. (Bug#5178)
13310 Remove superfluous save-excursion.
13312 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13314 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13315 when responding to "GetAll" properties.
13317 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13319 * simple.el (compose-mail): Remove mail-setup-with-from from
13320 customization checks.
13322 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13324 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13325 RAR archives created on Unix systems.
13327 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13329 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13330 the varalias that was accidentally removed by the 2009-11-19 change
13333 2009-12-12 Kenichi Handa <handa@m17n.org>
13335 * language/indian.el (indian-compose-regexp): New function.
13336 (malayalam-composable-pattern): Fix the pattern.
13337 (composition-function-table): Set malayalam-composable-pattern for
13338 Malayalam characters.
13340 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13342 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13343 rather than down-mouse-1, based on follow-link conventions.
13345 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13348 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13350 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13351 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13352 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13353 (verilog-leap-to-head, verilog-backward-token):
13354 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13356 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13358 * progmodes/verilog-mode.el (verilog-auto-lineup)
13359 (verilog-nameable-item-re): Cleanup user-visible spelling and
13360 documentation errors. One reported by Gary Delp.
13361 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13362 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13363 package, bug195. Reported by Pierre-David Pfister.
13365 2009-12-11 Glenn Morris <rgm@gnu.org>
13367 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13369 * mail/emacsbug.el: No longer require sendmail.
13370 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13371 (report-emacs-bug-orig-text): Doc fix.
13372 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13373 New local variables, to adapt to different mail-user-agents.
13374 (report-emacs-bug): Fix test for a gnu.org address.
13375 Use overlays for emphasis, since font-lock defeats 'face property.
13376 Pretest bugs also end up at the newsgroup these days.
13377 Stop message-mode stripping text properties.
13378 Set and use the new buffer-local variables.
13379 (report-emacs-bug-hook): Add doc-string.
13380 Remove some unnecessary save-excursions and simplify.
13381 Use the appropriate hook and send-command.
13383 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13384 capitalization of some menu entries.
13386 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13388 * whitespace.el (whitespace-display-char-on):
13389 Ensure `buffer-display-table' is unique when two or more windows are
13390 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13393 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13395 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13396 characters in the Attribute field.
13398 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13400 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13402 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13404 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13405 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13406 Disregard autoload-excludes.
13407 (update-directory-autoloads): Obey autoload-excludes here instead.
13408 But don't store its contents in no-autoloads and remove entries that
13409 refer to excludes files.
13411 2009-12-10 Glenn Morris <rgm@gnu.org>
13413 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13414 (expand-mail-aliases): Define for compiler.
13416 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13417 Define for compiler.
13419 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13420 appropriate for the mail-user-agent in use.
13422 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13424 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13426 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13428 Fix short log parsing and fontification.
13429 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13430 Fix fontification for the [merge] label.
13432 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13434 Drop some properties to avoid surprises (bug#5002).
13435 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13436 (hfy-fontify-buffer): Use it.
13438 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13441 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13442 Adjust all callers.
13443 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13444 args compulsory. Adjust callers.
13445 (ffap-gopher-at-point): Remove unused var `name'.
13447 Get rid of the ELCFILES abomination.
13448 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13449 (compile-elcfiles): New phony target.
13450 (compile-main): Compute ELCFILES dynamically.
13451 (compile-clean): New target to remove left-over elc files.
13452 (compile, all): Use it.
13454 2009-12-09 Kenichi Handa <handa@etlken>
13456 * international/mule-diag.el: Require help-mode instead of help-fns.
13458 2009-12-09 Kenichi Handa <handa@m17n.org>
13460 * international/mule-cmds.el (ucs-names): Supply sufficiently
13461 fine ranges instead of pre-calculating accurate ranges.
13462 Iterate with bigger gc-cons-threshold.
13464 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13466 Add support for stashing a snapshot of the current tree.
13467 * vc-git.el (vc-git-stash-snapshot): New function.
13468 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13470 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13472 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13473 instead of `(beginning|end)-of-line'.
13475 2009-12-08 Glenn Morris <rgm@gnu.org>
13477 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13479 * Makefile.in (ELCFILES): Regenerate.
13481 2009-12-07 Juri Linkov <juri@jurta.org>
13483 Don't lazy-highlight the comint output in history Isearch mode.
13485 * comint.el (comint-history-isearch-search): Instead of
13486 `comint-line-beginning-position', use `comint-after-pmark-p'
13487 to check if point if before the process mark, and go to
13488 `process-mark' in this case.
13490 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13492 * textmodes/tex-mode.el (latex-complete)
13493 (latex-indent-or-complete): Remove.
13494 (latex-mode): Set completion-at-point-functions instead.
13496 Provide a standard completion command and hook it into TAB.
13497 * minibuffer.el (completion-at-point-functions): New var.
13498 (completion-at-point): New command.
13499 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13500 * progmodes/python.el (python-mode-map): Use completion-at-point.
13501 (python-completion-at-point): Rename from python-partial-symbol and
13502 adjust for use in completion-at-point-functions.
13503 (python-mode): Setup completion-at-point for Python completion.
13504 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13505 extracted from lisp-complete-symbol.
13506 (lisp-complete-symbol): Use it.
13507 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13508 setup completion-at-point for Elisp completion.
13509 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13510 Use completion-at-point.
13511 * ielm.el (ielm-map): Use completion-at-point.
13512 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13513 * progmodes/sym-comp.el: Move to...
13514 * obsolete/sym-comp.el: Move from progmodes.
13516 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13518 Prevent save-buffer in Rmail buffers from using the coding-system
13519 of the current message, and from clobbering the encoding mnemonics
13520 in the mode line (Bug#4623).
13522 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13524 (rmail-message-encoding): New variable.
13525 (rmail-write-region-annotate): Record the encoding of the current
13526 message in rmail-message-encoding.
13527 (rmail-after-save-hook): New function, restores the encoding of
13528 the current message after the message collection is saved.
13530 2009-12-07 Juri Linkov <juri@jurta.org>
13532 * progmodes/grep.el (grep-read-files): Use `completing-read'
13533 instead of `read-string'. Set its `collection' arg to
13534 `read-file-name-internal'. (Bug#4301)
13536 2009-12-07 Juri Linkov <juri@jurta.org>
13538 Correctly restore original Isearch point. (Bug#4994)
13540 * isearch.el (isearch-mode): Move `isearch-push-state' after
13541 `(run-hooks 'isearch-mode-hook)'.
13542 (isearch-cancel): When `isearch-push-state-function' is defined,
13543 let-bind `isearch-cmds' to the first state (the last element of
13544 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13545 function and restores the original point). Otherwise, move point
13546 to `isearch-opoint'.
13548 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13550 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13551 chars that don't have names, so the table can be built much faster at
13554 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13556 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13557 change. Suggested by David Kastrup.
13559 * simple.el (compose-mail): Check for incompatibilities and warn.
13560 (compose-mail-user-agent-warnings): New option.
13562 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13564 Support showing a single log entry from vc-annotate.
13565 * vc.el (print-log): Add a new argument: START-REVISION.
13566 (vc-print-log-internal): Add a new optional argument and
13567 pass it to the backend.
13568 (vc-print-log, vc-print-root-log): Adjust callers.
13569 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13570 buffer already displays the requested log entry, use it.
13571 Otherwise display only the log entry in question.
13572 * vc-svn.el (vc-svn-print-log):
13573 * vc-mtn.el (vc-mtn-print-log):
13574 * vc-hg.el (vc-hg-state):
13575 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13576 (vc-git-show-log-entry): Return t on success.
13577 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13578 (vc-bzr-show-log-entry): Return t on success.
13579 * vc-rcs.el (vc-rcs-print-log):
13580 * vc-sccs.el (vc-sccs-print-log):
13581 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13583 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13585 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13586 Add menus to the meta mode. (Bug#5043)
13588 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13590 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13593 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13595 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13597 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13598 Berbain <raphael.berbain@gmail.com>.
13600 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13602 (tramp-initial-end-of-output): New defconst.
13603 (tramp-methods, tramp-find-shell)
13604 (tramp-open-connection-setup-interactive-shell)
13605 (tramp-maybe-open-connection): Use it.
13606 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13607 Handle existence of `#' and `$'.
13609 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13610 Use `tramp-initial-end-of-output'.
13612 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13614 Get the background mode from the terminal for xterm, and set
13616 * term/xterm.el (xterm-set-background-mode): New function.
13617 (terminal-init-xterm): Use it in case xterm supports background
13618 color queries. Recompute faces after getting the background
13621 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13623 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13624 number comment back on its own line, for easier parsing.
13626 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13628 Make it work for non-file buffers (bug#5102).
13629 * doc-view.el (doc-view-current-cache-dir):
13630 Use doc-view-buffer-file-name rather than buffer-file-name.
13631 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13633 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13635 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13636 author field is too short.
13638 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13640 * vc-git.el (vc-git-print-log): Handle a limit argument.
13641 Display the short log in graph form and with labels.
13642 (vc-git-log-view-mode): Handle labels.
13644 Make vc-revert change VC state from 'added to 'unregistered.
13645 * vc-git.el (vc-git-revert): Call git reset first.
13647 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13649 * net/newst-backend.el, net/newst-plainview.el:
13650 * net/newst-reader.el, net/newst-ticker.el:
13651 * net/newst-treeview.el, net/newsticker.el:
13652 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13654 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13656 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13658 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13659 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13660 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13661 Update annotation regexp.
13663 * simple.el (beginning-of-visual-line): Constrain to field
13664 boundaries (Bug#5106).
13666 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13668 * xml.el (xml-substitute-numeric-entities):
13669 Move newsticker--decode-numeric-entities in newst-backend.el to
13670 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13671 * net/newst-backend.el (newsticker--parse-generic-feed)
13672 (newsticker--parse-generic-items)
13673 (newsticker--decode-numeric-entities):
13674 Move newsticker--decode-numeric-entities in newst-backend.el to
13675 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13677 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13679 * progmodes/js.el (js--js-not): Add null to the list of values.
13681 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13683 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13685 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13687 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13688 delimiter if it is at the end of the current line.
13689 (bibtex-generate-url-list): Fix docstring.
13691 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13693 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13694 minibuffer's content with itself.
13695 Fold the confirm-after-completion case into the `confirm' case.
13696 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13698 2009-12-06 Kevin Ryde <user42@zip.com.au>
13700 * ffap.el (ffap-rfc-path): Make this a defcustom since
13701 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13703 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13704 manuals, similar to existing setup for help-mode. (Bug#3913.)
13706 2009-12-05 Juri Linkov <juri@jurta.org>
13708 Save and restore dired buffer's point positions too. (Bug#4880)
13710 * dired.el (dired-save-positions): Return in the first element
13711 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13713 (dired-restore-positions): First restore buffer's position.
13714 While restoring window's positions, check if window still displays
13715 the original buffer.
13717 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13719 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13722 * shell.el (shell): Require ansi-color (Bug#5113).
13724 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13726 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13728 2009-12-05 Alan Mackenzie <acm@muc.de>
13730 * progmodes/cc-mode.el (c-before-hack-hook)
13731 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13732 `c-file-style' to work again. This reversion restores the current
13733 software to its state in Emacs 23.1. (Bug#4146)
13735 2009-12-05 Kevin Ryde <user42@zip.com.au>
13737 * textmodes/sgml-mode.el (sgml-lexical-context):
13738 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13740 2009-12-05 Juri Linkov <juri@jurta.org>
13742 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13743 for virtual nodes. (Bug#4147)
13744 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13745 when moving from a virtual node.
13746 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13747 (Info-mode): Add `Info-virtual-index' to the docstring.
13749 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13751 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13752 track of the buffer position of the end of a BibTeX entry as this
13753 position may change during reformatting.
13754 (bibtex-format-entry): Remove whitespace before processing
13755 numerical fields so that we recognize the latter properly.
13756 (bibtex-reformat): Do not use push which changes the global value
13757 of bibtex-entry-format.
13758 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13759 (bibtex-field-re-init): Replace only space characters by regexp
13761 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13762 (bibtex-initialize): Also update bibtex-strings.
13763 (bibtex-kill-field): Preserve white space at end of entry.
13764 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13765 Update bibtex-reference-keys.
13767 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13769 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13770 point after a star, if that's the only place where modifications can
13773 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13775 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13778 2009-12-04 Juri Linkov <juri@jurta.org>
13780 * proced.el (proced): Call `(proced-update t)' to update process
13781 information instead of only running proced-post-display-hook.
13782 (proced-send-signal): Add a leading space to the buffer name
13783 " *Marked Processes*" to make this buffer ephemeral.
13785 2009-12-04 Juri Linkov <juri@jurta.org>
13787 * dired.el (dired-auto-revert-buffer): New defcustom.
13788 (dired-internal-noselect): Use it.
13790 2009-12-04 Juri Linkov <juri@jurta.org>
13792 Change roles of modes and functions in image-mode.el (Bug#5062).
13794 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13795 in `auto-mode-alist'.
13796 (image-mode-previous-major-mode): New variable.
13797 (image-minor-mode-map): Rename from `image-mode-text-map'.
13798 (image-mode): Move graceful error-handling code from
13799 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13800 (image-minor-mode): Remove all image-handling code.
13801 Replace `image-mode-text-map' with `image-minor-mode-map'.
13802 Check for `image-type' in mode-line format string.
13803 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13804 (image-mode-as-text): New function with most code from
13805 `image-mode-maybe'.
13806 (image-toggle-display-text): Move code that removes image
13807 properties from `image-toggle-display' to here.
13808 (image-toggle-display-image): New function with code that adds
13809 image properties copied from `image-toggle-display'.
13810 (image-toggle-display): Remove most code with leaving only code
13811 that toggles between `image-mode-as-text' and `image-mode'.
13813 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13815 * net/newst-treeview.el
13816 (newsticker--treeview-list-highlight-start): Restored call to
13817 save-excursion: Selected item was stuck.
13818 (newsticker--treeview-list-select): New.
13819 (newsticker--treeview-item-show-text)
13820 (newsticker--treeview-item-show)
13821 (newsticker--treeview-item-update): Use new
13822 newsticker-treeview-item-mode.
13823 (newsticker-treeview-update): Keep current item.
13824 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13825 (newsticker--treeview-first-feed): Doc change.
13826 (newsticker-treeview-list-menu)
13827 (newsticker-treeview-item-menu): Add menu entries.
13828 (newsticker-treeview-item-mode): New.
13830 * net/newst-backend.el (newsticker-customize): Delete other
13833 2009-12-04 Sam Steingold <sds@gnu.org>
13835 * log-view.el (log-view-mode-map): "q" calls quit-window,
13836 like in all the other non-self-insert buffers.
13838 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13841 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13842 key decoding rather than do it manually via last-input-event +
13844 (term-exec): Use delete-and-extract-region.
13845 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13846 (term-process-pager): Remove unused var `i'.
13847 (term-dynamic-simple-complete): Make obsolete.
13848 (serial-update-config-menu): Remove unused vars `y' and `str'.
13849 (term-update-mode-line): Remove unused var `temp'.
13851 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13853 Limit the number of log entries displayed by default.
13854 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13855 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13856 using a prefix argument.
13858 2009-12-03 Glenn Morris <rgm@gnu.org>
13860 * progmodes/idlwave.el (class): Restore still useful declaration.
13862 2009-12-03 Alan Mackenzie <acm@muc.de>
13864 Enhance `c-parse-state' to run efficiently in "brace deserts".
13866 * progmodes/cc-mode.el (c-basic-common-init):
13867 Call c-state-cache-init.
13868 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13869 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13870 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13872 * progmodes/cc-langs.el (c-before-font-lock-function):
13873 c-extend-and-neutralize-syntax-in-CPP has been renamed
13874 c-neutralize-syntax-in-and-mark-CPP.
13876 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13877 with `category' properties now, not `syntax-table' ones.
13879 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13880 enhanced (but slower) version of c-end-of-macro that won't land
13881 inside a literal or on another awkward character.
13882 (c-state-cache-too-far, c-state-cache-start)
13883 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13884 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13885 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13886 (c-state-min-scan-pos, c-state-brace-pair-desert)
13887 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13888 buffer local variables.
13889 (c-state-literal-at, c-state-lit-beg)
13890 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13891 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13892 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13893 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13894 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13895 (c-renarrow-state-cache)
13896 (c-append-lower-brace-pair-to-state-cache)
13897 (c-state-push-any-brace-pair, c-append-to-state-cache)
13898 (c-remove-stale-state-cache)
13899 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13900 (c-invalidate-state-cache-1, c-parse-state-1)
13901 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13902 (c-parse-state): Enhance and refactor.
13903 (c-debug-parse-state): Amend to deal with all the new variables.
13905 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13906 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13907 modify to use category text properties rather than syntax-table ones.
13908 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13909 to switch off/on the syntactic paren property of C++ template
13910 delimiters using the category property.
13911 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13912 template delims suppressed.
13913 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13914 New constant/macros which apply category properties to the start
13915 and end of preprocessor constructs.
13916 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13917 "comment out" the syntactic value of characters in preprocessor
13919 (c-with-cpps-commented-out)
13920 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13921 with characters in all or all but one preprocessor constructs
13924 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13926 * proced.el (proced-filter-alist): Use regexp-quote.
13928 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13931 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13932 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13933 arguments. Expand `default-directory'.
13935 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13936 the benefit of returning an expanded localname.
13937 (tramp-tramp-file-p): Handle the case NAME is not a string.
13939 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13941 Add support for bzr shelve/unshelve.
13942 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13943 (vc-bzr-extra-menu-map): New variables.
13944 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13945 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13946 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13947 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13948 (vc-bzr-dir-extra-headers): Display shelves.
13950 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13952 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13954 * textmodes/bibtex.el (bibtex-complete-internal):
13955 Use completion-in-region.
13956 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13958 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13960 Support applying stashes. Improve UI.
13961 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13962 (vc-git-stash-apply, vc-git-stash-pop)
13963 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13964 (vc-git-stash-menu): New functions.
13965 (vc-git-stash-menu-map): New variable.
13966 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13968 2009-12-03 Glenn Morris <rgm@gnu.org>
13970 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13971 (vc-print-log-internal): Fix previous change.
13972 (vc-revert): Correct pluralization.
13974 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13976 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13977 it to be an alist any more.
13978 (makefile-complete): Use completion-in-region.
13980 * progmodes/octave-mod.el (octave-complete-symbol):
13981 Use completion-in-region.
13984 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13985 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13986 (idlwave-complete-class): Don't quote lambda.
13987 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13988 (idlwave-mode-map): Move initialization into declaration.
13989 (idlwave-action-and-binding): Use backquotes.
13990 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13992 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13993 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13994 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13995 `parts', and `all-parts'.
13996 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13997 (idlwave-convert-xml-system-routine-info): Remove unused string
13999 (idlwave-display-user-catalog-widget): Use dolist.
14000 (idlwave-scanning-lib): Declare dynamically-scoped var.
14001 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14002 (completion-highlight-first-word-only): Declare to silence bytecomp.
14003 (idlwave-popup-select): Tighten scope of `resp'.
14004 (idlwave-find-struct-tag): Remove unused var `beg'.
14005 (idlwave-after-load-rinfo-hook): Declare.
14006 (idlwave-sintern-class-info): Remove unused var `taglist'.
14007 (idlwave-find-class-definition): Remove unused var `list'.
14008 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14009 (idlwave-what-module-find-class): Remove unused var `classes'.
14011 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14013 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14015 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14017 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14018 buffers visited. Remove redundant current-buffer-saving.
14020 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14022 Use completion-in-buffer and remove uses of dynamic scoping.
14023 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14024 (pascal-buffer-to-use, pascal-flag): Don't declare.
14025 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14026 (pascal-get-completion-decl, pascal-keyword-completion):
14027 Add `pascal-str' argument, save-excursion,
14028 return the found completions, and don't filter with pascal-pred.
14029 (pascal-completion-cache): New var.
14030 (pascal-completion): Don't switch buffer any more (it was never
14031 necessary). Don't save-excursion any more (it's done by the called
14032 subroutines). Use a cache to avoid redundant computations.
14033 Use complete-with-action rather than pascal-completion-response and
14034 let it apply the predicate as well.
14035 (pascal-complete-word): Use completion-in-buffer when
14036 pascal-toggle-completions is nil.
14037 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14039 (pascal-comp-defun): Don't change buffer any more.
14040 Use complete-with-action rather than pascal-completion-response and
14041 let it apply the predicate as well.
14042 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14045 2009-12-02 Kenichi Handa <handa@m17n.org>
14047 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14048 shape for all Indic scripts.
14050 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14052 Use completion-in-buffer.
14053 * wid-edit.el (widget-field-text-end): New function.
14054 (widget-field-value-get): Use it.
14055 (widget-string-complete, widget-file-complete)
14056 (widget-color-complete): Use it and completion-in-region.
14057 (widget-complete): Don't narrow the buffer.
14059 2009-12-02 Glenn Morris <rgm@gnu.org>
14061 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14062 (rmail-select-summary): Use rmail-pop-to-buffer.
14063 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14064 rmail-pop-to-buffer, to prevent horizontal splits.
14066 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14067 save-excursion with save-current-buffer.
14068 Widen before searching. (Bug#5093)
14069 (diary-list-sexp-entries): Remove superfluous save-excursion.
14071 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14073 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14076 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14078 * ido.el (ido-file-internal): Handle filenames at point that do
14079 not have a directory part. (Bug#5049)
14081 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14083 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14084 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14086 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14088 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14089 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14092 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14094 * comint.el (comint-insert-input): Ignore clicks to the right of
14095 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14097 * vc.el (vc-print-log-internal): Don't wait for the process to
14098 terminate before setting up the major mode.
14100 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14103 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14106 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14108 2009-12-01 Glenn Morris <rgm@gnu.org>
14110 * window.el (window--display-buffer-2): Fix previous changes.
14112 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14114 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14116 2009-12-01 Glenn Morris <rgm@gnu.org>
14118 * Makefile.in (ELCFILES): Add mpc.elc.
14120 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14122 * mpc.el: New file.
14124 2009-12-01 Glenn Morris <rgm@gnu.org>
14126 * window.el (window-to-use): Define for compiler.
14128 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14129 consistent with others (no final period).
14131 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14132 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14134 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14136 Make vc-print-log buttons work.
14137 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14139 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14141 * savehist.el (savehist-autosave-interval): Allow setting to nil
14142 through customize. (Bug#5056)
14144 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14146 Fix references to jit-lock properties.
14147 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14148 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14149 (perl-font-lock-special-syntactic-constructs):
14150 Quote jit-lock-defer-multiline property.
14152 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14154 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14156 2009-11-30 Juri Linkov <juri@jurta.org>
14158 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14159 value `buffer' of `multi-isearch-next-buffer-current-function'.
14160 Use `(current-buffer)' when `buffer' is nil.
14161 (multi-isearch-next-buffer-from-list): Don't fallback to
14162 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14164 2009-11-30 Juri Linkov <juri@jurta.org>
14166 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14167 of buffers with `get-buffer' to `multi-isearch-buffers'.
14168 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14169 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14170 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14171 FILES with `expand-file-name' converting relative file names
14172 to absolute. Doc fix. (Bug#4727)
14174 2009-11-30 Juri Linkov <juri@jurta.org>
14176 * misearch.el (multi-isearch-read-buffers)
14177 (multi-isearch-read-matching-buffers): New functions.
14178 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14179 Use them in the `interactive' spec. Doc fix.
14180 (multi-isearch-read-files, multi-isearch-read-matching-files):
14182 (multi-isearch-files, multi-isearch-files-regexp):
14183 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14185 2009-11-30 Juri Linkov <juri@jurta.org>
14187 * doc-view.el (doc-view-continuous):
14188 Rename from `doc-view-continuous-mode'.
14189 (doc-view-menu): Move "Toggle display" to the top.
14190 Add submenu "Continuous" with radio buttons "Off"/"On"
14191 and "Save as Default".
14192 (doc-view-scroll-up-or-next-page)
14193 (doc-view-scroll-down-or-previous-page)
14194 (doc-view-next-line-or-next-page)
14195 (doc-view-previous-line-or-previous-page):
14196 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14198 2009-11-30 Juri Linkov <juri@jurta.org>
14200 * comint.el (comint-mode-map): Rebind `M-r' from
14201 `comint-previous-matching-input' to
14202 `comint-history-isearch-backward-regexp'.
14203 Unbind `M-s' to allow global key binding `M-s'.
14204 Add menu items for `comint-history-isearch-backward' and
14205 `comint-history-isearch-backward-regexp'. (Bug#3746)
14207 2009-11-30 Juri Linkov <juri@jurta.org>
14209 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14210 For def=recenter, replace `recenter' with `recenter-top-bottom'
14211 that is called with `this-command' and `last-command' let-bound
14212 to `recenter-top-bottom'. When the last `def' was not `recenter',
14213 set `recenter-last-op' to nil. (Bug#4981)
14215 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14217 Minor cleanup and simplification.
14218 * filecache.el (file-cache-add-directory)
14219 (file-cache-add-directory-recursively)
14220 (file-cache-add-from-file-cache-buffer)
14221 (file-cache-delete-file-regexp, file-cache-delete-directory)
14222 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14223 (file-cache-temp-minibuffer-message): Delete function.
14224 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14226 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14227 Don't signal an error when bumping into EOB in tr, s, or y.
14229 2009-11-29 Juri Linkov <juri@jurta.org>
14231 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14234 * descr-text.el (describe-char-unidata-list): Use lowercase name
14235 for "Unicode name" like in other tags.
14237 2009-11-29 Juri Linkov <juri@jurta.org>
14239 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14240 New compatibility macro.
14241 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14243 2009-11-29 Juri Linkov <juri@jurta.org>
14245 Add defcustom to define the cycling order of `recenter-top-bottom'.
14248 * window.el (recenter-last-op): Doc fix.
14249 (recenter-positions): New defcustom.
14250 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14251 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14253 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14255 Improve integration of Tramp and ange-ftp in eshell.
14257 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14258 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14259 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14261 * eshell/esh-util.el (top): Require also Tramp when compiling.
14262 (eshell-directory-files-and-attributes): Check for FTP remote
14264 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14265 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14266 (eshell-file-attributes): Handle ".". Return `entry'.
14268 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14269 (ange-ftp-directory-files-and-attributes)
14270 (ange-ftp-real-directory-files-and-attributes): New defuns.
14272 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14273 shell with "exec" when possible. This prevents trailing prompts
14274 in `start-file-process'.
14276 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14278 Try and remove assumptions about point-min==1.
14279 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14280 (rng-compute-mode-line-string): Show the validation percentage in
14281 terms of the narrowed text, not the widened text.
14282 (rng-do-some-validation): Don't catch internal errors when debugging.
14283 (rng-first-error): Simplify.
14284 (rng-after-change-function): Remove work around. AFAIK the bug has
14285 been fixed a while ago.
14287 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14288 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14290 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14292 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14293 `cd' doesn't always do it for us (bug#5067).
14295 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14296 on 2009-10-25 as part of some other change (bug#5067).
14298 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14300 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14302 (byte-compile-warnings): Use byte-compile-warning-types.
14303 (byte-compile-save-excursion): Warn about use of set-buffer right
14304 after save-excursion.
14306 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14307 the excursion as well.
14309 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14311 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14312 providing a Tramp related implementation of "su" and "sudo".
14313 (eshell-unix-initialize): Add "su" and "sudo".
14315 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14317 * net/socks.el (socks-send-command): Convert binary request to
14318 unibyte before sending. This fixes mishandling of some port
14319 numbers such as 129.
14321 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14323 * help.el (describe-bindings-internal): Remove `interactive'.
14325 * man.el (Man-completion-table): Trim a terminating "(".
14326 Remove the space between name page a section.
14327 Add the command's description on the `help-echo' property.
14328 Remove `process-connection-type' binding since it's unused by
14330 Provide completion for the "<section> <name>" format as well.
14331 (Man-default-man-entry): Remove spurious var shadowing the argument.
14333 2009-11-26 Kevin Ryde <user42@zip.com.au>
14335 * log-view.el: Add "Keywords: tools", since its other keywords
14336 aren't in finder-known-keywords, and following vc.el.
14338 * sha1.el (sha1-string-external): default-directory "/" in case
14339 otherwise non-existent. process-connection-type pipe for touch of
14340 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14342 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14344 Misc coding convention cleanups.
14345 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14346 hfy-init-kludge-hooks.
14347 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14348 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14349 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14351 (hfy-slant, hfy-weight): Use tables rather than code.
14352 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14353 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14354 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14355 (hfy-face-to-css): Remove `nconc' with single arg.
14356 (hfy-p-to-face-lennart): Use `or'.
14357 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14358 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14359 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14360 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14361 (hfy-force-fontification): Use run-hooks.
14363 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14365 Various minor fixes.
14366 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14367 Javascript belongs in the header, not the body.
14368 (hfy-javascript): Remove.
14369 (hfy-fontify-buffer): Don't insert it any more.
14370 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14371 Fix bug in invis handling when there were no invis props in a chunk.
14373 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14375 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14377 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14379 * finder.el (finder-mode-map): Add a menu.
14381 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14383 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14384 "unsigned" structs.
14386 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14387 fork" statement better.
14389 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14391 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14392 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14393 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14394 Reported by Clay Douglass.
14396 (verilog-auto-inst, verilog-auto-star-safe)
14397 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14398 Fix removing "// Interfaces" when saving .* expansions.
14399 Reported by Pierre-David Pfister.
14401 2009-11-26 Glenn Morris <rgm@gnu.org>
14403 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14406 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14408 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14409 Really use previous revision.
14411 2009-11-25 Kevin Ryde <user42@zip.com.au>
14413 * man.el (Man-completion-table): default-directory "/" in case
14414 doesn't otherwise exist. process-environment COLUMNS=999 so as
14415 not to truncate long names. process-connection-type pipe to avoid
14416 any chance of hitting the pseudo-tty TIOCGWINSZ.
14417 (man): completion-ignore-case t for friendliness and since man
14418 itself is case-insensitive on the command line.
14419 Further to Bug#3717.
14421 * arc-mode.el: Add "Keywords: files", so the details in its
14422 commentary can be reached from finder-by-keyword.
14423 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14424 editing mode, but it's comms related and sgml-mode.el has "comm"
14426 * textmodes/bibtex-style.el: Add "Keywords: tex".
14427 * international/isearch-x.el, international/ja-dic-cnv.el:
14428 * international/ja-dic-utl.el, international/kkc.el:
14429 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14431 2009-11-25 Juri Linkov <juri@jurta.org>
14433 * man.el (Man-completion-table): Modify regexp to include
14434 section names to completion strings. (Bug#3717)
14436 2009-11-25 Juri Linkov <juri@jurta.org>
14438 Search recursively in gzipped files. (Bug#4982)
14440 * progmodes/grep.el (grep-highlight-matches): Add new options
14441 `always' and `auto'. Doc fix.
14442 (grep-process-setup): Check `grep-highlight-matches' for
14443 `auto-detect' to determine the need to compute grep defaults.
14444 Move Windows/DOS specific --colors settings handling
14445 to `grep-compute-defaults'. Check `grep-highlight-matches'
14446 to get the value of "--color=".
14447 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14448 has the value `auto-detect'. Move Windows/DOS specific settings
14449 from `grep-process-setup'.
14450 (zrgrep): New command with alias `rzgrep'.
14452 2009-11-25 Juri Linkov <juri@jurta.org>
14454 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14455 to nil instead of switching off view-mode. (Bug#4896)
14457 2009-11-25 Juri Linkov <juri@jurta.org>
14459 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14461 * mwheel.el (mwheel-scroll-up-function)
14462 (mwheel-scroll-down-function): New defvars.
14463 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14464 `scroll-up', and `mwheel-scroll-down-function' instead of
14467 * doc-view.el (doc-view-scroll-up-or-next-page)
14468 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14469 Use this ARG in the call to image-scroll-up/image-scroll-down.
14470 Change `interactive' spec to "P". Goto next/previous page only
14471 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14472 SPC/DEL case). Doc fix.
14473 (doc-view-next-line-or-next-page)
14474 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14476 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14477 `doc-view-scroll-up-or-next-page', and buffer-local
14478 `mwheel-scroll-down-function' to
14479 `doc-view-scroll-down-or-previous-page'.
14481 2009-11-25 Juri Linkov <juri@jurta.org>
14483 Provide additional default values (directories at other Dired
14484 windows) via M-n in the minibuffer of some Dired commands.
14486 * dired-aux.el (dired-diff, dired-compare-directories)
14487 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14488 `minibuffer-default' in `minibuffer-with-setup-hook'.
14489 (dired-dwim-target-directory): Find a window that displays Dired
14490 buffer instead of failing when the next window is not Dired.
14491 Use `get-window-with-predicate' to find for the next Dired window.
14492 (dired-dwim-target-defaults): New function.
14494 * ediff-util.el (ediff-read-file-name):
14495 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14496 in `minibuffer-with-setup-hook'.
14498 2009-11-25 Juri Linkov <juri@jurta.org>
14500 Provide additional default values (file name at point or at the
14501 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14503 * minibuffer.el (read-file-name-defaults): New function.
14504 (read-file-name): Reset `minibuffer-default' to nil when
14505 it duplicates initial input `insdef'.
14506 Bind `minibuffer-default-add-function' to lambda that
14507 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14508 (minibuffer-insert-file-name-at-point): New command.
14510 * files.el (file-name-at-point-functions): New defcustom.
14511 (find-file-default): Remove defvar.
14512 (find-file-read-args): Don't use `find-file-default'.
14513 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14514 to `read-file-name'.
14515 (find-file-literally): Use `read-file-name' with
14516 `confirm-nonexistent-file-or-buffer'.
14518 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14520 * dired.el (dired-read-dir-and-switches):
14521 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14522 to `read-file-name'.
14523 (dired-file-name-at-point): New function.
14524 (dired-mode): Add hook `dired-file-name-at-point' to
14525 `file-name-at-point-functions'.
14527 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14529 Really make the *Completions* window soft-dedicated (bug#5030).
14530 * window.el (window--display-buffer-2): Add `dedicated' argument.
14531 (display-buffer): Pass it when needed so the dedicated flag is set
14532 after calling set-window-buffer, which would otherwise reset it.
14534 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14536 * progmodes/meta-mode.el (meta-complete-symbol):
14537 * progmodes/etags.el (complete-tag):
14538 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14539 Use completion-in-region.
14541 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14542 (dabbrev-completion): Use completion-in-region.
14543 (dabbrev--abbrev-at-point): Simplify regexp.
14545 * abbrev.el (abbrev--before-point): Use word-motion functions
14546 if :regexp is not specified (bug#5031).
14548 * subr.el (string-prefix-p): New function.
14550 * man.el (Man-completion-cache): New var.
14551 (Man-completion-table): Use it.
14553 * vc.el (vc-print-log-internal): Make `limit' optional for better
14554 compatibility (e.g. with vc-annotate.el).
14556 2009-11-24 Kevin Ryde <user42@zip.com.au>
14558 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14559 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14561 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14562 when .el source file not found or other error.
14564 2009-11-24 Markus Triska <markus.triska@gmx.at>
14566 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14568 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14570 Handle the [back] button properly (bug#4979).
14571 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14572 Use help-setup-xref, help-buffer, and with-help-window.
14573 (describe-char): Add `buffer' argument.
14574 Pass proper command to help-setup-xref. Don't meddle with
14575 help-xref-stack-item directly.
14576 (describe-text-category): Use with-help-window and help-buffer.
14578 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14579 for the displayed buffer (bug#4887).
14581 * man.el (Man-completion-table): New function.
14584 2009-11-24 David Reitter <david.reitter@gmail.com>
14586 * vc-git.el (vc-git-registered): Use checkout directory (where
14587 .git is) rather than the file's directory and a relative path spec
14588 to work around a bug in git.
14590 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14592 Improve handling of processes on remote hosts.
14594 * eshell/esh-util.el (eshell-path-env): New defvar.
14595 (eshell-parse-colon-path): New defun.
14596 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14598 * eshell/esh-ext.el (eshell-search-path):
14599 Use `eshell-parse-colon-path'.
14600 (eshell-remote-command): Remove argument HANDLER.
14601 (eshell-external-command): Check for FTP remote connection.
14603 * eshell/esh-proc.el (eshell-gather-process-output):
14604 Use `file-truename', in order to start also symlinked files.
14605 Apply `start-file-process' instead of `start-process'.
14606 Shorten `command' to the local file name part.
14608 * eshell/em-cmpl.el (eshell-complete-commands-list):
14609 Use `eshell-parse-colon-path'.
14611 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14613 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14614 to `eshell-directory-change-hook'.
14616 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14618 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14619 because it could be enabled automatically if view-read-only is non-nil.
14621 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14623 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14624 made on 2009-11-22.
14626 2009-11-24 Glenn Morris <rgm@gnu.org>
14628 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14629 deleted variable bookmark-bmenu-bookmark-column.
14631 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14633 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14635 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14637 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14638 two slashes to the "file:" prefix.
14639 (browse-url-file-url): De-munge Cygwin filenames before passing
14640 them to Windows browser.
14641 (browse-url-default-windows-browser): Use call-process.
14643 2009-11-23 Juri Linkov <juri@jurta.org>
14645 Implement DocView Continuous mode. (Bug#4896)
14646 * doc-view.el (doc-view-continuous-mode): New defcustom.
14647 (doc-view-mode-map): Bind C-n/<down> to
14648 `doc-view-next-line-or-next-page', C-p/<up> to
14649 `doc-view-previous-line-or-previous-page'.
14650 (doc-view-next-line-or-next-page)
14651 (doc-view-previous-line-or-previous-page): New commands.
14653 2009-11-23 Juri Linkov <juri@jurta.org>
14655 Implement Isearch in comint input history. (Bug#3746)
14656 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14657 `isearch-mode-hook'.
14658 (comint-history-isearch): New defcustom.
14659 (comint-history-isearch-backward)
14660 (comint-history-isearch-backward-regexp): New commands.
14661 (comint-history-isearch-message-overlay): New buffer-local variable.
14662 (comint-history-isearch-setup, comint-history-isearch-end)
14663 (comint-goto-input, comint-history-isearch-search)
14664 (comint-history-isearch-message, comint-history-isearch-wrap)
14665 (comint-history-isearch-push-state)
14666 (comint-history-isearch-pop-state): New functions.
14668 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14670 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14672 (tramp-handle-make-symbolic-link)
14673 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14675 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14676 (tramp-handle-process-file): Use it.
14678 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14680 * window.el (move-to-window-line-last-op): Remove.
14681 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14683 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14685 Make M-r mirror the new cycling behavior of C-l.
14686 * window.el (move-to-window-line-last-op): New var.
14687 (move-to-window-line-top-bottom): New command.
14688 (global-map): Bind M-r move-to-window-line-top-bottom.
14690 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14692 * dired-x.el (dired-guess-shell-alist-default):
14693 Support xz format. (Bug#4953)
14695 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14697 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14698 last-command-char/last-command-event.
14699 (viper-prefix-arg-value): Do correct conversion of event-char for
14702 * emulation/viper-util.el, emulation/viper.el:
14703 Use viper-last-command-char instead of
14704 last-command-char/last-command-event.
14706 * ediff-init.el, ediff-mult.el, ediff-util.el:
14707 Replace last-command-char and last-command-event
14708 with (ediff-last-command-char) everywhere.
14710 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14711 created in fundamental mode.
14713 * ediff.el (ediff-version): Revert the change of interactive-p to
14714 called-interactively-p.
14716 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14718 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14719 generation from word-movement command names.
14721 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14723 * cus-start.el (all): Add native condition for font-use-system-font.
14725 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14727 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14728 Correct the patch from 2009-11-18. (Bug#3910)
14730 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14732 * progmodes/subword.el: Rename from lisp/subword.el.
14734 * subword.el: Rename to progmodes/subword.el.
14736 * Makefile.in (ELCFILES): Adapt to subword.el move.
14738 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14739 Stefan Monnier <monnier@iro.umontreal.ca>
14741 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14742 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14743 (bookmark-bmenu-show-filenames): Use push.
14744 (bookmark-bmenu-hide-filenames): Use local var instead of
14745 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14746 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14747 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14748 filenames now that the bookmark names are always available.
14750 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14752 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14753 (bookmark-search-pattern): Move and leave unbound.
14754 (bookmark-bmenu-mode-map): Change binding.
14755 (bookmark-read-search-input): Simplify.
14756 Don't use text-char-description. Don't error on non-char events.
14757 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14758 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14759 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14760 Use a local var for the timer.
14761 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14762 (i.e. bookmark-bmenu-search).
14764 2009-11-21 Glenn Morris <rgm@gnu.org>
14766 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14768 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14770 * net/browse-url.el (browse-url-default-windows-browser):
14771 Use cygstart for cygwin.
14773 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14775 * bookmark.el: Formatting and doc fixes only:
14776 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14777 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14778 Minor grammar and punctuation fixes in doc string.
14779 (bookmark-read-search-input): Adjust to fit within 80 columns.
14781 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14783 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14784 (c-backward-into-nomenclature): Adapt to subword renaming.
14786 * subword.el (subword-forward, subword-backward, subword-mark)
14787 (subword-kill, subword-backward-kill, subword-transpose)
14788 (subword-downcase, subword-upcase, subword-capitalize)
14789 (subword-forward-internal, subword-backward-internal):
14790 Rename from forward-subword, backward-subword, mark-subword,
14791 kill-subword, backward-kill-subword, transpose-subwords,
14792 downcase-subword, upcase-subword, capitalize-subword,
14793 forward-subword-internal, backward-subword-internal.
14795 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14797 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14799 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14801 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14802 (bookmark-bmenu-filter-alist-by-regexp)
14803 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14804 (bookmark-bmenu-search): New command.
14805 (bookmark-bmenu-mode-map): Bind it.
14807 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14809 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14810 backward-subword to quit the byte-compiler.
14812 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14814 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14816 * progmodes/cc-cmds.el (c-update-modeline)
14817 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14818 Refer to subword.el functions instead of cc-subword.el.
14820 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14821 subword.el functions instead of cc-subword.el.
14823 * progmodes/cc-subword.el: Rename to subword.el.
14824 * subword.el: Rename from progmodes/cc-subword.el.
14825 (subword-mode-map): Rename from c-subword-mode-map.
14826 (subword-mode): Rename from c-subword-mode.
14827 (global-subword-mode): New global minor mode.
14828 (forward-subword): Rename from c-forward-subword.
14829 (backward-subword): Rename from c-backward-subword.
14830 (mark-subword): Rename from c-mark-subword.
14831 (kill-subword): Rename from c-kill-subword.
14832 (backward-kill-subword): Rename from c-backward-kill-subword.
14833 (transpose-subwords): Rename from c-tranpose-subword.
14834 (downcase-subword): Rename from c-downcase-subword.
14835 (capitalize-subword): Rename from c-capitalize-subword.
14836 (forward-subword-internal): Rename from c-forward-subword-internal.
14837 (backward-subword-internal): Rename from c-backward-subword-internal.
14839 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14841 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14842 from a dired buffer.
14843 (vc-dired-deduce-fileset): New function.
14844 (vc-root-diff, vc-print-root-log): Use it.
14846 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14847 nil LIMIT argument to vc-print-log-internal.
14849 2009-11-20 Glenn Morris <rgm@gnu.org>
14851 * Makefile.in (ELCFILES): Regenerate.
14853 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14855 * calc/calc.el (calc-set-mode-line):
14856 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14857 (math-format-number): Rename `math-format-complement-signed' to
14858 `math-format-twos-complement'.
14860 * calc/calc-bin.el (math-format-twos-complement): Rename from
14861 math-format-complement-signed.
14862 (calc-radix): Rename `calc-complement-signed-mode' to
14863 `calc-twos-complement-mode'.
14864 (calc-octal-radix, calc-hex-radix): Add an argument for
14867 * calc/calc-embed.el (calc-embedded-mode-vars):
14868 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14870 * calc/calc-ext.el (calc-init-extensions):
14871 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14872 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14874 * calc/calc-units.el (math-build-units-table-buffer):
14875 Let `calc-twos-complement-mode' be nil.
14877 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14880 * calc/calc-vec.el (calcFunc-vunpack):
14881 * calc/calc-aent.el (calc-do-calc-eval):
14882 * calc/calc-forms.el (math-format-date):
14883 * calc/calc-graph.el (calc-graph-plot):
14884 * calc/calc-math.el (math-use-emacs-fn):
14885 * calc/calccomp.el (math-compose-expr):
14886 Let `calc-twos-complement-mode' be nil.
14888 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14890 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14891 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14892 * minibuffer.el (completion-in-region-functions): New hook.
14893 (completion-in-region): New function.
14894 * emacs-lisp/lisp.el (lisp-complete-symbol):
14895 * pcomplete.el (pcomplete-std-complete): Use it.
14897 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14899 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14900 (latex-complete-alist): New vars.
14901 (latex-string-prefix-p, latex-complete-bibtex-keys)
14902 (latex-complete-envnames, latex-complete-refkeys)
14903 (latex-complete-data): New functions.
14904 (latex-complete, latex-indent-or-complete): New commands.
14906 * window.el (display-buffer-mark-dedicated): New var.
14907 (display-buffer): Obey it.
14908 * minibuffer.el (minibuffer-completion-help): Use it.
14910 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14912 * filecache.el (file-cache-add-file): Use push and cons.
14913 (file-cache-delete-file-regexp): Use push.
14914 (file-cache-complete): Use completion-in-region.
14916 * simple.el (with-wrapper-hook): Fix thinko.
14918 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14919 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14920 Use with-current-buffer and string-to-number.
14921 (hfy-fallback-colour-values): Use assoc-string.
14922 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14923 (hfy-face-at): Remove unused var `found-face'.
14924 (hfy-compile-stylesheet): Remove unused var `css'.
14925 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14927 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14928 Use with-current-buffer.
14929 (hfy-text-p): Use expand-file-name and fewer setq.
14931 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14933 * htmlfontify.el, hfy-cmap.el: New files.
14935 2009-11-19 Juri Linkov <juri@jurta.org>
14937 * minibuffer.el (completions-format): New defcustom.
14938 (completion--insert-strings): Implement vertical format.
14940 * simple.el (switch-to-completions): Move point to the first
14941 completion when point was at the beginning of the buffer.
14943 2009-11-19 Juri Linkov <juri@jurta.org>
14945 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14947 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14949 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14951 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14952 (mail-signature): Change default to t.
14953 (mail-from-style): Deprecate `system-default' value.
14954 (mail-insert-from-field): For default value of mail-from-style,
14955 default to `angles' unless `angles' needs quoting and `parens'
14957 (mail-citation-prefix-regexp): Use citation regexp from
14960 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14962 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14963 Set variables for computing the prompt for reading password.
14965 2009-11-19 Glenn Morris <rgm@gnu.org>
14967 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14969 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14971 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14972 (newsticker-treeview-listwindow-height): Fix custom type.
14974 2009-11-19 Kenichi Handa <handa@m17n.org>
14976 * descr-text.el (describe-char-padded-string): Compose with TAB
14977 only if there's a font for CH.
14978 (describe-char): Fix the condition for detecting a trivial composition.
14980 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14982 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14983 more accurate version of the regexp. (Bug#3910)
14985 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14987 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14989 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14991 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14992 (font-setting-change-default-font): Fix typo in docstring.
14994 2009-11-18 Alan Mackenzie <acm@muc.de>
14996 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14998 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15000 * font-setting.el (font-use-system-font): Move ...
15002 * cus-start.el (all): ... to here.
15004 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15006 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15007 Don't set `ad-return-value' if `ad-do-it' doesn't.
15009 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15012 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15014 * menu-bar.el: Put "Use system font" in Option-menu.
15015 (menu-bar-options-save): Add font-use-system-font.
15017 * loadup.el: If feature system-font-setting or font-render-setting is
15018 there, load font-setting.
15020 * Makefile.in (ELCFILES): Add font-settings.el.
15021 * font-setting.el: New file.
15023 2009-11-17 Glenn Morris <rgm@gnu.org>
15025 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15027 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15028 Preserve point in the list buffer. (Bug#4939)
15030 (newsticker--treeview-list-update-highlight)
15031 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15033 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15035 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15038 * calc/calc-ext.el (calc-init-extensions): Remove references to
15041 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15043 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15044 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15047 2009-11-16 Kevin Ryde <user42@zip.com.au>
15049 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15050 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15052 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15053 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15054 Ignore trailing spaces by omit-nulls to split-string (fixing
15055 regression from Emacs 21 due to the incompatible split-string
15056 change). (Bug #4928.)
15058 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15060 * vc.el (vc-log-show-limit): Default to 2000.
15061 (vc-print-log-internal): Insert buttons to request more entries
15062 when limiting the output.
15064 * vc-sccs.el (vc-sccs-print-log):
15065 * vc-rcs.el (vc-rcs-print-log):
15066 * vc-cvs.el (vc-cvs-print-log):
15067 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15070 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15072 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15073 error when `tramp-gvfs-dbus-event-vector' is set.
15074 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15076 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15078 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15080 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15082 * net/dbus.el (dbus-unregister-service): New defun.
15083 (dbus-register-property): Register the handlers of
15084 "org.freedesktop.DBus.Properties" for SERVICE.
15085 (dbus-property-handler): Fix docstring.
15087 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15089 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15090 Quote doc string reference in defvaralias as it is not in special form.
15091 (byte-compile-output-docform): Doc fix.
15093 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15095 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15096 (calc-complement-signed-mode): New variables.
15097 (calc-set-mode-line): Add indicator for twos-complements.
15098 (math-format-number): Format twos-complement notation.
15100 * calc/calc-bin.el (calc-word-size): Reset the variables
15101 `math-2-word-size' and `math-half-2-word-size'.
15102 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15103 (calc-symclip): New functions.
15105 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15107 * calc/calc-embed.el (calc-embedded-mode-vars):
15108 Add `calc-complement-signed-mode' to the list of modes.
15110 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15111 (calc-b-oper-keys): Add `calc-symclip' to list.
15113 * calc/calc-ext.el (math-read-number-fancy): Read complement
15115 (calc-init-extensions): Add binding for `calc-symclip'.
15116 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15118 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15120 (calc-modes-menu): Add item for twos complement mode.
15122 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15124 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15126 * register.el (jump-to-register, insert-register): Handle Semantic
15127 tags. From commented-out advice in semantic/senator.el.
15129 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15131 * vc.el (vc-log-show-limit): New variable.
15132 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15133 when using a prefix argument.
15134 (vc-print-log-internal): Add new argument LIMIT.
15136 * vc-svn.el (vc-svn-print-log):
15137 * vc-mtn.el (vc-mtn-print-log):
15138 * vc-hg.el (vc-hg-print-log):
15139 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15140 pass it to the log command when set. Make the BUFFER argument
15143 * vc-sccs.el (vc-sccs-print-log):
15144 * vc-rcs.el (vc-rcs-print-log):
15145 * vc-git.el (vc-git-print-log):
15146 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15147 ignore it. Make the BUFFER argument non-optional
15149 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15151 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15153 * dired.el (dired-mode-map): Move encryption items to "Operate"
15156 * strokes.el (strokes-update-window-configuration): Make strokes
15157 buffer current before erasing (Bug#4906).
15159 2009-11-15 Juri Linkov <juri@jurta.org>
15161 * simple.el (set-mark-default-inactive): Add :type, :group
15162 and :version. (Bug#4876)
15164 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15166 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15167 (archive-unique-fname): ... here. (Bug#4929)
15169 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15171 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15174 * novice.el (disabled-command-function): Add useful args.
15175 Setup the help buffer so that [back] works.
15176 Remove redundant call to help-mode.
15177 (disabled-command-function): Use `case'.
15178 (en/disable-command): New function extracted from enable-command.
15179 (enable-command, disable-command): Use it.
15181 2009-11-14 Glenn Morris <rgm@gnu.org>
15183 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15184 constants. (Bug#4913)
15186 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15188 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15190 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15191 defined in C that have no doc-strings. (Bug#1063)
15193 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15195 * cus-edit.el (data, files):
15196 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15198 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15200 * simple.el (shell-command): Doc fix (Bug#4891).
15202 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15204 2009-11-14 Glenn Morris <rgm@gnu.org>
15206 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15207 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15208 If they are already loaded, eval-after-load will do the right thing.
15210 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15213 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15215 * simple.el (x-selection-owner-p): Declare.
15216 (read-mail-command): Use custom radio type rather than choice.
15217 (completion-no-auto-exit): Doc fix.
15219 * custom.el (defgroup):
15220 * epg-config.el (epg): Doc fixes.
15222 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15224 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15225 * international/ccl.el (define-ccl-program): Do not purecopy the
15226 docstring, defconst does it anyway.
15228 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15230 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15233 * x-dnd.el (x-dnd-maybe-call-test-function):
15234 * window.el (split-window-vertically):
15235 * whitespace.el (whitespace-help-on):
15236 * vc-rcs.el (vc-rcs-consult-headers):
15237 * userlock.el (ask-user-about-lock-help)
15238 (ask-user-about-supersession-help):
15239 * type-break.el (type-break-force-mode-line-update):
15240 * time-stamp.el (time-stamp-conv-warn):
15241 * terminal.el (te-set-output-log, te-more-break, te-filter)
15242 (te-sentinel, terminal-emulator):
15243 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15244 (term-write-input-ring, term-check-source, term-start-output-log):
15245 (term-display-buffer-line, term-dynamic-list-completions):
15246 (term-ansi-make-term, serial-term):
15247 * subr.el (selective-display):
15248 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15249 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15250 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15251 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15252 (speedbar-remove-localized-speedbar-support)
15253 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15254 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15255 (speedbar-buffers-line-directory):
15256 * simple.el (shell-command-on-region, append-to-buffer)
15257 (prepend-to-buffer):
15258 * shadowfile.el (shadow-save-todo-file):
15259 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15260 (scroll-bar-maybe-set-window-start):
15261 * sb-image.el (speedbar-image-dump):
15262 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15263 (load-save-place-alist-from-file):
15264 * ps-samp.el (ps-print-message-from-summary):
15265 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15266 (ps-background-image, ps-begin-job, ps-do-despool):
15267 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15268 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15269 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15270 (pr-call-process, pr-file-list, pr-interface-save):
15271 * novice.el (disabled-command-function)
15272 (enable-command, disable-command):
15273 * mouse.el (mouse-buffer-menu-alist):
15274 * mouse-copy.el (mouse-kill-preserving-secondary):
15275 * macros.el (kbd-macro-query):
15276 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15277 * informat.el (batch-info-validate):
15278 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15279 * hippie-exp.el (try-expand-dabbrev-visible):
15280 * help-mode.el (help-make-xrefs):
15281 * help-fns.el (describe-variable):
15282 * generic-x.el (bat-generic-mode-run-as-comint):
15283 * finder.el (finder-mouse-select):
15284 * find-dired.el (find-dired-sentinel):
15285 * filesets.el (filesets-file-close):
15286 * files.el (list-directory):
15287 * faces.el (list-faces-display, describe-face):
15288 * facemenu.el (list-colors-display):
15289 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15290 * epg.el (epg--process-filter, epg-cancel):
15291 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15292 (epa--read-signature-type):
15293 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15294 (emerge-file-names):
15295 * ehelp.el (electric-helpify):
15296 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15297 * ediff-vers.el (rcs-ediff-view-revision):
15298 * ediff-util.el (ediff-setup):
15299 * ediff-mult.el (ediff-append-custom-diff):
15300 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15302 * echistory.el (Electric-command-history-redo-expression):
15303 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15304 * disp-table.el (describe-display-table):
15305 * dired.el (dired-find-buffer-nocreate):
15306 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15307 * dabbrev.el (dabbrev--same-major-mode-p):
15308 * chistory.el (list-command-history):
15309 * apropos.el (apropos-documentation):
15310 * allout.el (allout-obtain-passphrase):
15311 (allout-copy-exposed-to-buffer):
15312 (allout-verify-passphrase): Use with-current-buffer.
15314 2009-11-13 Glenn Morris <rgm@gnu.org>
15316 * Makefile.in (ELCFILES): Regenerate.
15318 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15320 * net/dbus.el (dbus-registered-objects-table): Rename from
15321 `dbus-registered-functions-table', because it contains also properties.
15322 (dbus-unregister-object): Unregister also properties.
15323 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15324 Use a timeout of 500 msec, in order to not block.
15325 (dbus-register-property, dbus-property-handler): New defuns.
15327 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15329 * simple.el (minibuffer-default-add-completions): Drop deprecated
15332 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15334 * textmodes/artist.el (artist-mouse-choose-operation):
15335 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15336 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15337 (artist-compute-up-event-key): New function.
15338 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15340 2009-11-13 Kenichi Handa <handa@m17n.org>
15342 * language/japan-util.el: Make sure that the value of jisx0208
15343 property is jisx0208 character.
15345 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15347 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15348 car or each item, not the whole list.
15350 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15352 * minibuffer.el (minibuffer-completion-help):
15353 Use minibuffer-hide-completions.
15355 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15357 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15358 (dired-revert): Use them (bug#4880).
15360 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15362 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15364 2009-11-12 Juri Linkov <juri@jurta.org>
15366 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15368 (find-file-literally-at-point): Alias of `ffap-literally'.
15370 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15372 * textmodes/ispell.el (ispell-skip-region-alist):
15373 * textmodes/css-mode.el (auto-mode-alist):
15374 * progmodes/compile.el (auto-mode-alist):
15375 * international/mule.el (ctext-non-standard-encodings-alist)
15376 (ctext-non-standard-encodings-regexp):
15377 * simple.el (shell-command-switch, text-read-only):
15378 * replace.el (occur-mode-map):
15379 * paths.el (rmail-file-name):
15380 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15381 * find-file.el (ff-special-constructs):
15382 * files.el (file-name-handler-alist):
15383 * composite.el: Purecopy strings.
15385 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15387 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15389 * widget.el (define-widget): Purecopy the docstring.
15390 * international/mule-cmds.el (charset): Do not purecopy the
15391 docstring here, define-widget does it.
15393 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15394 * textmodes/bibtex-style.el (auto-mode-alist):
15395 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15396 * progmodes/compile.el (compile-command):
15397 * language/korea-util.el (default-korean-keyboard):
15398 * international/mule-conf.el (file-coding-system-alist):
15399 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15400 * tooltip.el (tooltip-frame-parameters):
15401 * newcomment.el (comment-end, comment-padding):
15402 * dired.el (dired-trivial-filenames):
15403 * comint.el (comint-file-name-prefix): Purecopy initial values.
15405 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15407 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15408 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15410 (tramp-advice-make-auto-save-file-name)
15411 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15412 after removing the advice.
15414 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15416 * progmodes/grep.el (grep-regexp-alist):
15417 * international/mule-cmds.el (iso-2022-control-alist):
15418 * emacs-lisp/timer.el (timer-duration-words):
15419 * subr.el (version-separator, version-regexp-alist):
15420 * minibuffer.el (completion-styles-alist):
15421 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15422 Change defvars to defconsts.
15424 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15425 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15426 * international/mule-conf.el: Allow to be byte compiled.
15428 * international/mule.el (define-charset): Purecopy props.
15429 (load-with-code-conversion): Purecopy doc string and file name.
15430 (put-charset-property): Purecopy strings.
15431 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15433 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15434 (define-char-code-property): Correctly purecopy the table.
15436 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15438 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15440 * subr.el (add-hook): Purecopy strings.
15441 (eval-after-load): Purecopy load-history-regexp and the form.
15443 * custom.el (custom-declare-group): Purecopy load-file-name.
15445 * subr.el (menu-bar-separator): New defconst.
15446 * net/eudc.el (eudc-tools-menu):
15447 * international/mule-cmds.el (set-coding-system-map)
15448 (mule-menu-keymap):
15449 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15450 * vc-hooks.el (vc-menu-map):
15451 * replace.el (occur-mode-map):
15452 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15453 (menu-bar-edit-menu, menu-bar-goto-menu)
15454 (menu-bar-custom-menu, menu-bar-showhide-menu)
15455 (menu-bar-options-menu, menu-bar-tools-menu)
15456 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15457 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15458 (menu-bar-help-menu):
15459 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15460 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15462 * term/x-win.el (x-gtk-stock-map):
15463 * progmodes/vera-mode.el (auto-mode-alist):
15464 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15465 (inferior-lisp-program, inferior-lisp-load-command):
15466 * progmodes/hideshow.el (hs-special-modes-alist):
15467 * progmodes/gud.el (same-window-regexps):
15468 * progmodes/grep.el (grep-program, find-program, xargs-program):
15469 * net/telnet.el (same-window-regexps):
15470 * net/rlogin.el (same-window-regexps):
15471 * language/ethiopic.el (font-ccl-encoder-alist):
15472 * vc-sccs.el (vc-sccs-master-templates):
15473 * vc-rcs.el (vc-rcs-master-templates):
15474 * subr.el (cl-assertion-failed):
15475 * simple.el (next-error-overlay-arrow-position):
15476 * lpr.el (lpr-command):
15477 * locate.el (locate-ls-subdir-switches):
15478 * info.el (same-window-regexps, info)
15479 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15480 * image-mode.el (image-mode, auto-mode-alist):
15481 * hippie-exp.el (hippie-expand-ignore-buffers):
15482 * format.el (format-alist):
15483 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15485 * facemenu.el (facemenu-keybindings):
15486 * dired.el (dired-listing-switches, dired-chown-program):
15487 * diff.el (diff-switches, diff-command):
15488 * cus-edit.el (same-window-regexps):
15489 * bindings.el (mode-line-mule-info)
15490 (mode-line-buffer-identification): Purecopy strings.
15492 2009-11-11 Juri Linkov <juri@jurta.org>
15494 * simple.el (dired-get-filename) <declare-function>:
15495 Tell the byte-compiler about dired-get-filename.
15496 (shell-command): In Dired mode, get filename from the current line
15497 as the default value.
15499 2009-11-10 Glenn Morris <rgm@gnu.org>
15501 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15502 * calendar/holidays.el, progmodes/cperl-mode.el:
15503 Update x-popup-menu declarations.
15505 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15506 (list-load-path-shadows): Use dolist.
15507 (list-load-path-shadows): Use with-current-buffer.
15509 2009-11-10 Juri Linkov <juri@jurta.org>
15511 * minibuffer.el (read-file-name): Support a list of default values
15512 in `default-filename'. Use the first file name where only one
15513 element is required. Doc fix.
15515 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15517 * net/dbus.el (dbus-unregister-object): Release service, if no
15518 other method is registered for it.
15520 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15522 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15523 bookmark-sort-flag is non-nil (Bug#4653).
15525 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15527 * emulation/cua-base.el: Add CUA property to some CC mode commands
15530 2009-11-08 Kevin Ryde <user42@zip.com.au>
15532 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15533 at end of sentence (Bug#4818).
15535 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15537 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15538 Handle "see declaration of" MSFT statements (Bug#4100).
15540 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15542 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15543 (tramp-advice-file-expand-wildcards): Unload via
15544 `ad-remove-advice'.
15546 * net/trampver.el: Update release number.
15548 2009-11-08 Kevin Ryde <user42@zip.com.au>
15550 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15553 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15555 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15556 in order to keep context in SELinux.
15558 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15560 * dired-aux.el (dired-query): Place cursor in echo area and allow
15563 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15564 menu item if not on a directory (Bug#4701).
15566 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15568 Sync with Tramp 2.1.17.
15570 * net/tramp.el (tramp-handle-copy-directory): Don't use
15571 `file-remote-p' (due to compatibility).
15573 * net/tramp-compat.el (tramp-compat-copy-directory)
15574 (tramp-compat-delete-directory): New defuns.
15576 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15577 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15578 Use `tramp-compat-delete-directory'.
15580 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15581 (tramp-smb-handle-delete-directory):
15582 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15584 * net/trampver.el: Update release number.
15586 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15588 * tar-mode.el (tar-copy): Call write-region on the right buffer
15591 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15592 by hand, if necessary (Bug#4878).
15594 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15596 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15597 align size column (Bug#4839).
15599 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15602 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15604 * progmodes/ld-script.el (auto-mode-alist):
15605 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15607 * cus-face.el (custom-declare-face): Purecopy face spec.
15609 2009-11-06 Kenichi Handa <handa@m17n.org>
15611 * international/uni-bidi.el: Re-generated.
15612 * international/uni-category.el: Re-generated.
15613 * international/uni-combining.el: Re-generated.
15614 * international/uni-mirrored.el: Re-generated.
15616 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15618 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15619 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15620 (tex-start-options, slitex-run-command, latex-run-command)
15621 (tex-run-command, tex-directory):
15622 * textmodes/ispell.el (ispell-html-skip-alists)
15623 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15624 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15625 (adaptive-fill-regexp):
15626 * textmodes/dns-mode.el (auto-mode-alist):
15627 * progmodes/python.el (interpreter-mode-alist):
15628 * progmodes/etags.el (tags-compression-info-list):
15629 * progmodes/etags.el (tags-file-name):
15630 * net/browse-url.el (browse-url-galeon-program)
15631 (browse-url-firefox-program):
15632 * mail/sendmail.el (mail-signature-file)
15633 (mail-citation-prefix-regexp):
15634 * international/mule-conf.el (eight-bit):
15635 * international/latexenc.el (latex-inputenc-coding-alist):
15636 * international/fontset.el (x-pixel-size-width-font-regexp):
15637 * emacs-lisp/warnings.el (warning-type-format):
15638 * emacs-lisp/trace.el (trace-buffer):
15639 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15640 (emacs-lisp-mode-map):
15641 * calendar/holidays.el (holiday-solar-holidays)
15642 (holiday-bahai-holidays, holiday-islamic-holidays)
15643 (holiday-christian-holidays, holiday-hebrew-holidays)
15644 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15645 (hebrew-holidays-1, holiday-oriental-holidays)
15646 (holiday-general-holidays):
15647 * x-dnd.el (x-dnd-known-types):
15648 * tool-bar.el (tool-bar):
15649 * startup.el (site-run-file):
15650 * shell.el (shell-dumb-shell-regexp):
15651 * rfn-eshadow.el (file-name-shadow-tty-properties)
15652 (file-name-shadow-properties):
15653 * paths.el (remote-shell-program, news-directory):
15654 * mouse.el ([C-down-mouse-3]):
15655 * menu-bar.el (menu-bar-tools-menu):
15656 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15657 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15658 (jka-compr-compression-info-list):
15659 * isearch.el (search-whitespace-regexp):
15660 * image-file.el (image-file-name-extensions):
15661 * find-dired.el (find-ls-option):
15662 * files.el (directory-listing-before-filename-regexp)
15663 (directory-free-space-args, insert-directory-program)
15664 (list-directory-brief-switches, magic-fallback-mode-alist)
15665 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15666 (automount-dir-prefix):
15667 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15668 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15669 (face-font-registry-alternatives, face-font-registry-alternatives)
15670 (face-font-family-alternatives):
15671 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15672 (facemenu-foreground-menu, facemenu-face-menu):
15673 * epa-hook.el (epa-file-name-regexp):
15674 * dnd.el (dnd-protocol-alist):
15675 * textmodes/rst.el (auto-mode-alist):
15676 * button.el (default-button): Purecopy strings.
15678 2009-11-06 Glenn Morris <rgm@gnu.org>
15680 * Makefile.in (ELCFILES): Update.
15682 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15684 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15685 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15687 * nxml/xsd-regexp.el (xsdre-gen-categories):
15688 * nxml/xmltok.el (xmltok-parse-entity):
15689 * nxml/rng-parse.el (rng-parse-validate-file):
15690 * nxml/rng-maint.el (rng-format-manual)
15691 (rng-manual-output-force-new-line):
15692 * nxml/rng-loc.el (rng-save-schema-location-1):
15693 * nxml/rng-cmpct.el (rng-c-parse-file):
15694 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15695 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15697 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15699 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15700 Remove extra save-excursions and make-variable-buffer-local's.
15701 Suggested by Stefan Monnier.
15703 (verilog-getopt-file, verilog-module-inside-filename-p)
15704 (verilog-set-define): Merge GNU 1.35 and repair changes from
15705 switching to using with-current-buffer.
15707 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15708 being treated as a number and confusing AUTORESET.
15709 Reported by Dan Dever.
15711 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15712 Add verilog-auto-ignore-concat to fix backward compatibility with
15713 older verilog-modes. Reported by Dan Katz.
15715 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15716 containing closing anchors "...$".
15718 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15719 Reported by Wade Smith.
15721 (verilog-batch-execute-func): Comment on function usage.
15723 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15725 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15728 (verilog-label-re, verilog-calc-1): Support proper indent of named
15731 (verilog-backward-token, verilog-basic-complete-re)
15732 (verilog-beg-of-statement, verilog-indent-re): Support proper
15733 indent of the assert statement at the beginning of a block of text.
15735 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15736 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15739 2009-11-05 Glenn Morris <rgm@gnu.org>
15741 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15742 Emacs 19. (Bug#1531)
15743 (byte-compile-fix-header): Update for the above change.
15744 Drop test for epoch::version.
15746 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15747 * cus-dep.el (custom-make-dependencies):
15748 * finder.el (finder-compile-keywords):
15749 Use autoload-rubric's feature argument.
15751 * calendar/diary-lib.el (top-level): Make load behave more like require.
15753 * vc-git.el (vc-git-stash-map): Move definition before use.
15755 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15757 * custom.el (custom-declare-group): Purecopy standard-value.
15758 (custom-declare-group): Purecopy custom-prefix.
15760 * international/mule.el (load-with-code-conversion):
15761 Call do-after-load-evaluation unconditionally.
15763 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15765 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15767 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15769 2009-11-04 Glenn Morris <rgm@gnu.org>
15771 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15772 (byte-compile-compatibility): Remove option.
15773 (byte-compile-close-variables, byte-compile-fix-header)
15774 (byte-compile-insert-header, byte-compile-output-docform)
15775 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15776 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15777 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15778 (byte-compile-insert, byte-compile-defun):
15779 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15780 (byte-defop-compiler19): Remove.
15781 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15782 used by anything. Replace all calls with byte-defop-compiler.
15784 2009-11-04 Juri Linkov <juri@jurta.org>
15786 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15787 (menu-bar-options-menu): Don't quote the `prop' arg of
15788 `menu-bar-make-mm-toggle'.
15790 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15792 * calendar/calendar.el (cal-loaddefs):
15793 * calendar/diary-lib.el (diary-loaddefs):
15794 * calendar/holidays.el (hol-loaddefs):
15795 * eshell/esh-module.el (esh-groups): Load rather than require.
15797 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15799 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15801 (todo-top-priorities): Only display-buffer when called interactively.
15802 (todo-item-start): Don't save excursion point.
15803 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15804 (todo-insert-item-here, todo-file-item, todo-remove-item):
15805 Adjust uses of todo-item-start and todo-item-end.
15807 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15808 (autoload-rubric): Don't use any more.
15810 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15811 and only put a prop if it is non-nil.
15813 2009-11-03 Juri Linkov <juri@jurta.org>
15815 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15816 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15818 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15819 and "Menu" to make top-level menu item visually one unit (like
15820 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15821 multi-word menu items). Fix :help string for quit-window.
15823 2009-11-03 Glenn Morris <rgm@gnu.org>
15825 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15826 (byte-compile-file-form-define-abbrev-table)
15827 (byte-compile-file-form-custom-declare-variable)
15828 (byte-compile-variable-ref, byte-compile-defvar):
15829 Whether or not a warning is enabled should only affect whether we issue
15830 the warning, not whether or not we collect the relevant data.
15831 Eg warnings can be turned on and off throughout the course of a file.
15833 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15834 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15836 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15838 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15839 * play/mpuz.el (mpuz-create-buffer):
15840 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15841 (lm-print-y,s,noise, lm-print-w0, lm-init):
15842 * play/gomoku.el (gomoku-prompt-for-move):
15843 * play/fortune.el (fortune-in-buffer):
15844 * play/dissociate.el (dissociated-press):
15845 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15846 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15847 * mail/supercite.el (sc-eref-show):
15848 * mail/smtpmail.el (smtpmail-send-it):
15849 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15850 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15851 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15852 (rmail-summary-goto-msg, rmail-summary-expunge)
15853 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15854 (rmail-summary-add-label, rmail-summary-output-menu)
15855 (rmail-summary-output-body):
15856 * mail/rfc822.el (rfc822-addresses):
15857 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15858 * mail/mailpost.el (post-mail-send-it):
15859 * mail/hashcash.el (hashcash-generate-payment):
15860 * mail/feedmail.el (feedmail-run-the-queue)
15861 (feedmail-queue-send-edit-prompt-help-first)
15862 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15863 (feedmail-deduce-address-list):
15864 * eshell/esh-ext.el (eshell-remote-command):
15865 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15866 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15867 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15868 (viper-save-string-in-file, viper-valid-marker):
15869 * emulation/viper-keym.el (viper-toggle-key):
15870 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15871 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15872 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15873 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15874 (viper-exec-form-in-emacs, viper-brac-function):
15875 * emulation/viper.el (viper-delocalize-var):
15876 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15877 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15878 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15879 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15880 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15881 * emulation/edt.el (edt-electric-helpify):
15882 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15883 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15884 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15885 (cua-indent-to-global-mark-column):
15886 * calendar/diary-lib.el (calendar-mark-1):
15887 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15888 Use with-current-buffer.
15889 * emulation/viper.el (viper-delocalize-var): Use dolist.
15891 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15893 * comint.el (comint-replace-by-expanded-history-before-point):
15894 Replace !! with the previous input string literally (Bug#1795).
15896 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15898 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15899 to be made up of whitespace.
15901 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15903 * minibuffer.el (read-file-name): Don't use file dialogs for
15904 remote directories (Bug#99).
15906 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15908 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15910 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15912 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15913 instead of deleting the window or frame.
15915 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15917 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15918 Support face colors.
15920 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15921 New function. Support face colors (Bug#1168).
15922 (tex-common-initialization): Use it.
15924 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15925 mode allows it (Bug#1168).
15927 2009-10-31 Juri Linkov <juri@jurta.org>
15929 * facemenu.el (list-colors-display): Don't mark buffer as
15930 modified (Bug#3948).
15932 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15934 * international/mule-diag.el (list-character-sets-1):
15935 Minor message fix (Bug#3526).
15937 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15938 Fix face property (Bug#4834).
15939 (etags-list-tags, etags-tags-apropos-additional)
15940 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15943 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15946 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15948 * textmodes/two-column.el (2C-split):
15949 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15950 * textmodes/tex-mode.el (tex-set-buffer-directory):
15951 * textmodes/spell.el (spell-region, spell-string):
15952 * textmodes/reftex.el (reftex-erase-buffer):
15953 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15954 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15955 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15956 (reftex-select-item):
15957 * textmodes/reftex-ref.el (reftex-label-info-update)
15958 (reftex-offer-label-menu):
15959 * textmodes/reftex-index.el (reftex-index-change-entry)
15960 (reftex-index-phrases-info):
15961 * textmodes/reftex-global.el (reftex-create-tags-file)
15962 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15963 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15964 (reftex-view-crossref-from-bibtex):
15965 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15966 (reftex-extract-bib-entries-from-thebibliography)
15967 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15968 * textmodes/refbib.el (r2b-capitalize-title):
15969 (r2b-convert-buffer, r2b-help):
15970 * textmodes/page-ext.el (pages-directory)
15971 (pages-directory-goto-with-mouse):
15972 * textmodes/bibtex.el (bibtex-validate-globally):
15973 * textmodes/bib-mode.el (bib-capitalize-title):
15974 * textmodes/artist.el (artist-clear-buffer, artist-system):
15975 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15976 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15977 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15978 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15979 (xscheme-send-control-g-interrupt, xscheme-start-process)
15980 (xscheme-process-sentinel, xscheme-cd):
15981 * progmodes/verilog-mode.el (verilog-read-always-signals)
15982 (verilog-set-define, verilog-getopt-file)
15983 (verilog-module-inside-filename-p):
15984 * progmodes/sh-script.el:
15985 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15986 (python-pdbtrack-grub-for-buffer, python-execute-file):
15987 * progmodes/octave-inf.el (inferior-octave):
15988 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15989 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15990 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15991 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15992 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15993 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15994 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15995 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15996 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15997 (idlwave-shell-examine-display, idlwave-shell-run-region)
15998 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15999 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16000 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16001 (idlwave-help-get-help-buffer):
16002 * progmodes/gud.el (gud-basic-call, gud-find-class)
16003 (gud-tooltip-activate-mouse-motions-if-enabled):
16004 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16005 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16006 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16007 (ebrowse-tags-next-file):
16008 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16009 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16010 (ebnf-eps-finish-and-write):
16011 * progmodes/cpp.el (cpp-edit-save):
16012 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16013 * progmodes/cc-defs.el (c-emacs-features):
16014 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16015 (antlr-directory-dependencies):
16016 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16017 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16018 (ada-find-any-references, ada-make-filename-from-adaname)
16019 (ada-make-body-gnatstub):
16020 * obsolete/rnews.el (news-list-news-groups):
16021 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16022 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16023 * net/rcirc.el (rcirc-debug):
16024 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16025 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16026 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16027 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16028 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16029 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16030 (newsticker--treeview-list-clear-highlight)
16031 (newsticker--treeview-list-update-highlight)
16032 (newsticker--treeview-list-highlight-start)
16033 (newsticker--treeview-tree-update-highlight)
16034 (newsticker--treeview-get-selected-item)
16035 (newsticker-treeview-mark-list-items-old)
16036 (newsticker--treeview-set-current-node):
16037 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16038 * net/newst-backend.el (newsticker--get-news-by-funcall)
16039 (newsticker--get-news-by-wget, newsticker--image-get)
16040 (newsticker--image-sentinel):
16041 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16042 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16043 (eudc-ph-close-session):
16044 * net/eudc.el (eudc-save-options):
16045 * language/thai-word.el (thai-update-word-table):
16046 * language/japan-util.el (japanese-string-conversion):
16047 * international/titdic-cnv.el (tsang-quick-converter)
16048 (ziranma-converter, ctlau-converter):
16049 * international/mule-cmds.el (describe-language-environment):
16050 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16051 (skkdic-convert-postfix, skkdic-convert-prefix):
16052 (skkdic-convert-okuri-nasi, skkdic-convert):
16053 * emacs-lisp/re-builder.el (reb-update-overlays):
16054 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16055 * emacs-lisp/gulp.el (gulp-send-requests):
16056 * emacs-lisp/find-gc.el (trace-call-tree):
16057 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16058 (eieio-describe-generic):
16059 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16060 * emacs-lisp/edebug.el (edebug-outside-excursion):
16061 * emacs-lisp/debug.el (debugger-make-xrefs):
16062 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16063 * emacs-lisp/chart.el (chart-new-buffer):
16064 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16065 Use with-current-buffer.
16066 * textmodes/artist.el (artist-system): Don't call
16067 copy-sequence on a fresh string.
16068 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16070 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16072 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16073 is no item to edit. (Bug#4820)
16074 (todo-top-priorities): Restore point and restore narrowing in Todo
16077 2009-10-31 Glenn Morris <rgm@gnu.org>
16079 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16080 (comint-last-output-start, comint-last-input-start)
16081 (comint-last-input-end): Don't defvar when compiling.
16082 (ange-ftp-process-file): Use bound-and-true-p.
16084 * pcmpl-rpm.el (top-level): Move provide statement to end.
16085 (pcmpl-rpm): Remove unused custom group.
16087 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16089 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16091 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16092 (byte-compile-warnings): Add `constants' as an option.
16093 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16094 (display-call-tree): Update for byte-compile-fdefinition possibly
16095 returning `(macro lambda ...)'. (Bug#4778)
16096 (byte-compile-variable-ref, byte-compile-setq-default):
16097 Respect `constants' member of byte-compile-warnings.
16099 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16101 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16102 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16105 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16107 * textmodes/ispell.el (ispell-skip-region-alist):
16108 * international/mule-conf.el (eight-bit):
16109 * international/fontset.el (font-encoding-alist):
16110 * startup.el (pure-space-overflow-message):
16111 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16112 * paths.el (gnus-nntp-service, rmail-spool-directory)
16113 (term-file-prefix):
16114 * files.el (save-some-buffers-action-alist):
16115 * cmuscheme.el (same-window-buffer-names):
16116 * ielm.el (same-window-buffer-names):
16117 * shell.el (same-window-buffer-names):
16118 * mail/sendmail.el (same-window-buffer-names):
16119 * progmodes/inf-lisp.el (same-window-buffer-names):
16120 * bindings.el (mode-line-client)
16121 (mode-line-column-line-number-mode-map):
16122 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16123 (tibetan-precomposed-regexp): Purecopy string arguments.
16125 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16127 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16128 (calcDigit-nondigit):
16129 * calc/calc-yank.el (calc-copy-to-buffer):
16130 * calc/calc-units.el (calc-invalidate-units-table):
16131 * calc/calc-trail.el (calc-trail-yank):
16132 * calc/calc-store.el (calc-insert-variables):
16133 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16134 * calc/calc-prog.el (calc-read-parse-table):
16135 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16136 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16137 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16138 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16139 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16140 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16141 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16142 * calc/calc-ext.el (calc-realign):
16143 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16144 (calc-embedded-finish-edit, calc-embedded-make-info)
16145 (calc-embedded-finish-command, calc-embedded-stack-change):
16146 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16148 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16149 shell-dynamic-complete-filename in preference to
16150 comint-dynamic-complete-filename.
16152 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16153 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16154 Don't consider whether the display supports colors.
16155 (bookmark-import-new-list): Use dolist.
16156 (bookmark-bmenu-mode-map): Move initialization into declaration.
16157 (bookmark-bmenu-list): Use dolist, simplify.
16158 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16159 (menu-bar-final-items): Use push.
16161 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16163 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16164 it works on remote files.
16165 (vc-hg-diff): Don't pass any `--cwd' argument.
16167 2009-10-27 Kevin Ryde <user42@zip.com.au>
16169 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16170 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16171 (Further to Bug#3921).
16173 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16175 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16176 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16177 calling `tramp-imap-put-file'. Add file size to the call.
16178 (tramp-imap-get-file-entries): Compute also user name, file size,
16180 (tramp-imap-handle-insert-directory): Insert uid and gid.
16181 (tramp-imap-handle-file-attributes): Transform uid and gid
16182 according to `id-format'.
16183 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16184 size in header X-Size.
16186 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16188 * simple.el (transpose-subr): Give clearer error when the mark
16189 is not set. (Bug#4807)
16191 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16193 * net/tramp.el (tramp-perl-file-truename): New defconst.
16194 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16195 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16196 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16197 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16199 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16200 Ignore `dired-call-process'.
16201 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16203 2009-10-26 Julian Scheid <julians37@gmail.com>
16205 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16206 (tramp-get-remote-readlink): New defun.
16207 (tramp-handle-file-truename): Use it.
16208 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16209 file exists if cache value present.
16210 (tramp-check-cached-permissions): New defun.
16211 (tramp-handle-file-readable-p): Use it.
16212 (tramp-handle-file-writable-p): Likewise.
16213 (tramp-handle-file-executable-p): Likewise.
16214 (tramp-handle-file-name-all-completions): Try using Perl to get
16215 partial completions. When perl not available, combine `cd' and
16216 `ls' into single remote operation and use shell expansion to get
16217 partial remote directory contents. Set `file-exists-p' cache for
16218 directory and any files returned by ls. Change cache handling to
16219 support partial directory contents. Use error message emitted by
16220 remote `cd' or Perl code for local tramp-error.
16221 (tramp-do-copy-or-rename-file-directly): Avoid separate
16222 tramp-send-command-and-check call.
16223 (tramp-handle-process-file): Merge three remote ops into one.
16224 Do not flush all caches when `process-file-side-effects' is set.
16225 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16226 file-attributes shows uid/gid to be set already.
16228 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16230 * textmodes/tex-mode.el (tex-dvi-view-command)
16231 (tex-show-queue-command, tex-open-quote):
16232 * progmodes/ruby-mode.el (auto-mode-alist)
16233 (interpreter-mode-alist): Purecopy strings.
16235 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16237 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16238 string for the hook, keymap and abbrev table.
16240 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16242 * x-dnd.el (x-dnd-xdnd-to-action):
16243 * startup.el (fancy-startup-text, fancy-about-text): Change to
16244 defconst from defvar.
16246 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16248 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16249 Purecopy initialization strings.
16251 * mail/sendmail.el (mail-header-separator)
16252 (mail-personal-alias-file):
16253 * mail/rmail.el (rmail-default-dont-reply-to-names)
16254 (rmail-ignored-headers, rmail-retry-ignored-headers)
16255 (rmail-highlighted-headers, rmail-secondary-file-directory)
16256 (rmail-secondary-file-regexp):
16257 * files.el (null-device, file-name-invalid-regexp)
16258 (locate-dominating-stop-dir-regexp)
16259 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16260 (interpreter-mode-alist): Use mapcar instead of mapc.
16262 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16264 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16265 (completion-ignored-extensions):
16266 (debug-ignored-errors): Purecopy strings.
16268 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16270 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16271 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16272 (pcomplete--here): Use push.
16274 * subr.el (all-completions): Declare the 4th arg obsolete.
16276 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16278 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16279 (pcomplete-unquote-argument): New function.
16280 (pcomplete--common-suffix): Always pay attention to case.
16281 (pcomplete--table-subvert): Quote and unquote the text.
16282 (pcomplete--common-quoted-suffix): New function.
16283 (pcomplete-std-complete): Use it and pcomplete-begin.
16285 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16286 we're inside a dedicated or minibuffer window.
16288 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16290 * bookmark.el: Update documentation, especially documentation
16291 of `bookmark-alist' and of the bookmark file format.
16292 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16294 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16296 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16297 keybindings apply to the mail buffer (Bug#4003). Shrink help
16300 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16301 (global-whitespace-mode, global-whitespace-newline-mode)
16302 (whitespace-toggle-options, global-whitespace-toggle-options):
16303 Doc fix (Bug#3660).
16305 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16306 of xmltok-start before the end tag was inserted (Bug#2840).
16308 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16309 patterns that are preceded by an open-paren (Bug#1320).
16311 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16313 * files.el (delete-directory): Delete symlinks to directories with
16314 delete-file (Bug#4739).
16316 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16318 * vc.el (vc-backend-for-registration): Rename from
16319 vc-get-backend-for-registration. Update callers.
16321 * international/mule-cmds.el (set-language-info-alist):
16323 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16324 (charset): Purecopy the name.
16325 (define-char-code-property): Purecopy string arguments.
16327 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16328 Purecopy string arguments.
16330 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16331 * ediff-hook.el (menu-bar-ediff-menu):
16332 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16333 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16335 2009-10-24 Glenn Morris <rgm@gnu.org>
16337 * comint.el (comint-dynamic-list-completions):
16338 * term.el (term-dynamic-list-completions): Use choose-completion rather
16339 than obsolete alias mouse-choose-completion.
16341 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16342 file-cache-choose-completion.
16343 (file-cache-choose-completion): Handle an optional event argument.
16344 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16346 * progmodes/octave-mod.el (octave-complete-symbol):
16347 Use choose-completion if mouse-choose-completion is ever removed.
16349 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16352 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16355 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16357 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16359 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16360 Ignore `pred' now that we receive one.
16361 Handle test-completion specially.
16363 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16365 * vc.el (vc-responsible-backend): Throw an error if not backend is
16366 found. Remove the REGISTER argument. Move the code dealing with
16368 (vc-get-backend-for-registration): ... here. New function.
16369 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16370 of vc-responsible-backend, pass the file name instead of the
16373 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16375 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16377 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16378 (pcomplete-comint-setup): Don't modify a global var via
16379 accidental side-effects.
16380 (pcomplete-shell-setup): Adjust call accordingly.
16381 (pcomplete-parse-comint-arguments): Use push.
16383 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16385 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16386 Allow uncapitalized info node names (Bug#3921).
16388 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16389 to the DEBUG file (Bug#3781).
16391 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16393 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16394 dictionary entry (Bug#4579).
16396 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16398 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16399 from `rfn-eshadow-update-overlay-hook' when unloading.
16400 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16401 "rsyncc". Adjust doc string.
16402 (tramp-temp-buffer-file-name): New buffer-local defvar.
16403 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16404 Keep temporary file when indicated by method ("rsync" and
16406 (tramp-handle-write-region): Handle APPEND.
16407 (tramp-delete-temp-file-function): New defun. Added to
16408 `kill-buffer-hook'.
16410 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16412 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16414 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16416 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16417 (color-name-rgb-alist, tty-standard-colors)
16418 (tty-color-mode-alist): Change to defconst.
16420 * simple.el (mark-inactive): Purecopy message.
16422 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16423 (global-map, yank-menu):
16424 * textmodes/ispell.el (ispell-menu-map):
16425 * net/eudc.el (eudc-tools-menu):
16426 * international/mule-cmds.el (describe-language-environment-map)
16427 (setup-language-environment-map, set-coding-system-map)
16428 (mule-menu-keymap):
16429 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16430 * replace.el (occur-mode-map):
16431 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16433 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16435 * calc/calc.el (math-read-number, math-read-number-simple):
16436 Use `save-match-data'.
16438 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16440 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16441 rather than fiddling with global-map bindings, since it should only
16442 affect per-terminal settings.
16443 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16445 * minibuffer.el (completion-table-with-terminator): Allow to specify
16446 the terminator-regexp.
16448 * simple.el (switch-to-completions): Look for *Completions* in other
16451 * pcomplete.el: Allow the use of completion-tables.
16452 (pcomplete-std-complete): New command.
16453 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16454 (pcomplete--here): Use a function for `form' rather than an expression,
16455 so it can be byte-compiled.
16456 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16457 Add edebug declaration.
16458 (pcomplete-show-completions): Remove unused var `curbuf'.
16459 (pcomplete-do-complete, pcomplete-stub):
16460 Don't assume `completions' is a list of strings any more.
16462 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16464 * find-dired.el (find-name-arg): Fix typo in docstring.
16466 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16468 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16469 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16471 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16474 * comint.el (comint-read-input-ring, comint-write-input-ring)
16475 (comint-substitute-in-file-name)
16476 (comint-dynamic-complete-as-filename)
16477 (comint-dynamic-simple-complete)
16478 (comint-dynamic-list-filename-completions)
16479 (comint-dynamic-list-completions)
16480 (comint-redirect-results-list-from-process): Minor simplifications.
16482 2009-10-21 Kevin Ryde <user42@zip.com.au>
16484 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16485 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16486 the first form. And insert a blank line after ";;; Code" since
16487 that's usual style. (Bug#4612)
16489 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16491 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16493 * minibuffer.el (completion-table-with-terminator): Properly implement
16494 boundaries, in case `terminator' appears in the suffix.
16495 (completion--embedded-envvar-table): Don't return boundaries if
16496 there's no valid completion. Simplify.
16497 (completion-file-name-table): New completion table extracted from
16498 completion--file-name-table.
16499 (completion--file-name-table): Use it.
16500 (read-file-name-predicate): Declare obsolete.
16501 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16502 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16503 completion-file-name-table, and use the `pred' argument.
16504 * files.el (locate-file-completion-table): Use the `pred' arg rather
16505 than read-file-name-predicate.
16506 (abbreviate-file-name): Use \` rather than ^ for BOS.
16508 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16510 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16511 vc-responsible-backend to register, it causes problems.
16513 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16515 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16517 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16519 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16520 (tramp-smb-handle-file-attributes): Use it.
16521 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16522 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16523 `mapcar'. Use `tramp-smb-get-stat-capability'.
16524 Add `dired-filename' text properties.
16525 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16526 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16529 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16531 * subr.el (read-key-delay): Reduce to 0.01.
16532 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16535 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16537 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16539 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16540 (Info-menu): Remove unused vars `last' and `completions'.
16541 (Info-index-nodes): Remove unused var `node'.
16543 * info.el (Info-complete-menu-item): Use complete-with-action.
16545 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16547 Make vc-annotate work through copies and renames.
16548 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16549 Return the file name too.
16550 (vc-annotate-revision-at-line)
16551 (vc-annotate-find-revision-at-line)
16552 (vc-annotate-revision-previous-to-line)
16553 (vc-annotate-show-log-revision-at-line): Update to get the file
16554 name from vc-annotate-extract-revision-at-line.
16555 (vc-annotate-show-diff-revision-at-line-internal): Change the
16556 argument to mean whether to show a file diff or not. Get the file
16557 name from vc-annotate-extract-revision-at-line.
16558 (vc-annotate-show-diff-revision-at-line):
16559 Update vc-annotate-show-diff-revision-at-line call.
16560 (vc-annotate-warp-revision): Add an optional file argument.
16562 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16563 (vc-git-annotate-extract-revision-at-line): Also return the file
16566 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16567 command. Remove unused code.
16568 (vc-hg-annotate-re): Update to match --follow output.
16569 (vc-hg-annotate-extract-revision-at-line): Also return the file
16572 * vc.el: Update annotate-extract-revision-at-line documentation.
16574 2009-10-18 Kevin Ryde <user42@zip.com.au>
16576 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16577 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16579 * net/browse-url.el (browse-url): Identify alist with "consp and
16580 not functionp" and let all other things go down the `apply' leg,
16581 as suggested by Stefan. (Further to bug#4531.)
16583 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16585 * minibuffer.el (read-file-name): Check for repeat before putting
16586 a default argument in file-name-history (Bug#4657).
16588 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16589 read syntax (Bug#4737).
16591 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16593 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16595 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16596 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16597 entries and make note of obsolete tags.
16599 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16601 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16603 2009-10-18 Glenn Morris <rgm@gnu.org>
16605 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16606 grep, so that binary files (eg international/uni-bidi.el) can match.
16607 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16608 now, and in any case the file header format has changed.
16610 2009-10-17 Glenn Morris <rgm@gnu.org>
16612 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16613 (flyspell-get-word, flyspell-large-region)
16614 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16616 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16618 * Makefile.in (ELCFILES): Add ede/shell.
16620 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16622 * term/common-win.el (x-colors): Purecopy it.
16624 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16626 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16627 permissive for when the buffer is empty.
16628 (tar-header-block-tokenize): Decode the username and groupname.
16629 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16631 2009-10-17 Eric Ludlam <zappo@gnu.org>
16633 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16634 contains multibyte characters, choose first applicable coding
16635 system automatically.
16637 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16639 * international/mule-cmds.el (select-safe-coding-system): If the file
16640 has a coding cookie, use it regardless of any other setting (bug#4712).
16642 2009-10-17 Glenn Morris <rgm@gnu.org>
16644 * foldout.el (foldout-mouse-swallow-events):
16645 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16647 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16648 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16649 (dired-keep-marker-symlink, dired-dwim-target)
16650 (dired-copy-preserve-time): Do not autoload these defcustoms.
16652 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16653 messages from messing up the file coding. (Bug#4623)
16655 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16657 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16658 if no match is found for the current dictionary. (Bug#4578)
16660 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16661 optional, since that is how it is documented, and this is often called
16662 with a nil argument. (Bug#4577)
16663 (flyspell-external-point-words, flyspell-auto-correct-word)
16664 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16665 (flyspell-word-search-backward): Remove nil argument in calls to
16666 flyspell-get-word, since it is not needed now.
16668 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16670 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16672 2009-10-16 Glenn Morris <rgm@gnu.org>
16674 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16676 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16678 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16679 (ange-ftp-file-size): New function.
16680 (ange-ftp-file-attributes): Use it.
16682 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16684 * net/tramp-smb.el (tramp-smb-version): New defvar.
16685 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16688 2009-10-16 Glenn Morris <rgm@gnu.org>
16690 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16691 Maybe copy some custom properties from old to new name. (Bug#4706)
16693 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16695 * subr.el (error, sit-for, start-process-shell-command)
16696 (start-file-process-shell-command): Set the calling convention
16697 after the function definition.
16699 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16701 * subr.el (error, sit-for, start-process-shell-command)
16702 (start-file-process-shell-command): Use the new
16703 set-advertised-calling-convention feature.
16705 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16707 * international/ucs-normalize.el (ucs-normalize-version):
16709 (check-range): Adjust for Unicode 5.2.
16711 2009-10-15 Juri Linkov <juri@jurta.org>
16713 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16714 to the `menu-item' format.
16716 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16718 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16719 if the environment variable does not exist.
16721 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16722 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16724 (tramp-smb-handle-add-name-to-file)
16725 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16726 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16727 (tramp-smb-handle-file-attributes)
16728 (tramp-smb-do-file-attributes-with-stat)
16729 (tramp-smb-handle-file-local-copy)
16730 (tramp-smb-handle-insert-directory)
16731 (tramp-smb-handle-make-directory)
16732 (tramp-smb-handle-make-directory-internal)
16733 (tramp-smb-handle-make-symbolic-link)
16734 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16735 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16736 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16737 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16738 Handle long file names.
16739 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16740 process is running.
16741 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16742 Read share names with "-g" option.
16744 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16746 * net/rcirc.el (rcirc-view-log-file): New command.
16747 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16748 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16751 2009-10-15 Glenn Morris <rgm@gnu.org>
16753 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16754 from the second command-line argument.
16755 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16756 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16757 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16758 w32-batch-update-autoloads.
16759 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16760 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16762 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16763 the headers cannot be located. Simplify, subtracting superflous
16766 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16768 Replace completion-base-size by completion-base-position to fix bugs
16769 such as (bug#4699).
16770 * simple.el (completion-base-position): New var.
16771 (completion-base-size): Mark as obsolete.
16772 (choose-completion): Make it work for mouse events as well.
16773 Pass the new base-position to choose-completion-string.
16774 (choose-completion-guess-base-position): New function, extracted from
16775 choose-completion-delete-max-match.
16776 (choose-completion-delete-max-match): Use it. Make obsolete.
16777 (choose-completion-string): Use the new base-position info.
16778 (completion-root-regexp): Delete.
16779 (completion-setup-function): Preserve completion-base-position.
16780 Eliminate obsolete base-size manipulation.
16781 * minibuffer.el (display-completion-list): Don't mess with base-size.
16782 (minibuffer-completion-help): Set completion-base-position instead.
16783 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16785 * textmodes/bibtex.el (bibtex-complete):
16786 * emacs-lisp/crm.el (crm--choose-completion-string):
16787 Adjust to new calling convention.
16788 * complete.el (partial-completion-mode): Use minibufferp to avoid
16789 bumping into incompatible change to choose-completion-string-functions.
16790 * ido.el (ido-choose-completion-string): Make its calling convention
16792 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16793 base-size manipulation.
16794 (comint-dynamic-list-input-ring): Use dotimes and push.
16795 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16796 fundamental-mode. Use `or'.
16798 2009-10-14 Juri Linkov <juri@jurta.org>
16800 * misearch.el (multi-isearch-next-buffer-from-list)
16801 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16803 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16805 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16808 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16809 string we return is all made up of text from the completions rather
16810 than part from the completions and part from the input (bug#4219).
16812 * ido.el (ido-everywhere): Use define-minor-mode.
16814 * buff-menu.el (list-buffers, ctl-x-map):
16815 Mark the entry points with ;;;###autoload cookies.
16817 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16819 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16820 correctly in the detached head case.
16821 (vc-git-print-log): Remove unused binding.
16823 * vc.el (vc-responsible-backend): When a directory is passed for
16824 for registration create a VC repository if no backend is
16825 responsible for the directory argument.
16826 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16828 * vc.el: Move comments about RCS and SCCS ...
16830 * vc-sccs.el: ... here, respectively.
16832 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16834 * minibuffer.el (completion--file-name-table): Return nil if there's
16835 no file completion, even if substitute-in-file-name changed
16836 the string (bug#4708).
16838 2009-10-13 Juri Linkov <juri@jurta.org>
16840 * files-x.el (read-file-local-variable-value): Don't filter out
16841 minor modes from mode name completion (bug#4664).
16843 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16845 * international/mule-cmds.el (ucs-names): Remove exclusion of
16846 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16848 2009-10-13 Kenichi Handa <handa@m17n.org>
16850 * international/uni-name.el: Regenerated.
16852 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16854 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16855 should be automatically buffer-local, but isn't.)
16857 2009-10-12 Sam Steingold <sds@gnu.org>
16859 * progmodes/compile.el (compilation-next-error-function): Fix the
16860 timestamps if the buffer has been visited before.
16861 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16862 non-anchored patterns, like the perl one (bug#3928).
16864 2009-10-12 Glenn Morris <rgm@gnu.org>
16866 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16869 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16871 * proced.el (proced-unload-function): New function.
16873 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16874 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16877 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16879 2009-10-11 Juri Linkov <juri@jurta.org>
16881 * files-x.el (read-file-local-variable-value):
16882 Provide default value only for bound variables (bug#4664).
16884 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16886 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16887 connection methods like smb.
16889 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16892 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16893 (tramp-smb-file-name-handler-alist): Add handlers for
16894 `add-name-to-file', `make-symbolic-link'.
16895 (tramp-smb-handle-add-name-to-file)
16896 (tramp-smb-do-file-attributes-with-stat)
16897 (tramp-smb-handle-make-symbolic-link)
16898 (tramp-smb-get-cifs-capabilities): New defuns.
16899 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16900 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16901 (tramp-smb-handle-file-local-copy)
16902 (tramp-smb-handle-make-directory-internal)
16903 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16904 The file name syntax depends on cifs capabilities.
16905 (tramp-smb-handle-file-attributes):
16906 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16907 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16908 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16910 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16912 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16913 (eieio-defclass): Apply deftype handler and setf-method properties
16915 (eieio-add-new-slot): Avoid union function from cl library.
16916 (eieio--typep): New function.
16917 (eieio-perform-slot-validation): Use it.
16919 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16921 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16922 Update documentation to refer to the variables documented in r1.135.
16925 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16927 * bookmark.el (Info-suffix-list): Remove this unused variable.
16928 (bookmark-current-point): Remove this obsolete variable.
16929 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16930 Adjust for removal of bookmark-current-point.
16932 (bookmarks-already-loaded, bookmark-current-buffer)
16933 (bookmark-yank-point): Document. (Bug#4188)
16935 2009-10-10 Glenn Morris <rgm@gnu.org>
16937 * frame.el (frame-height): Doc fix.
16939 * calendar/calendar.el (calendar-split-width-threshold): New option.
16940 (calendar-basic-setup): Use calendar-split-width-threshold.
16942 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16944 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16945 Ideographic Supplement" range (U+1F200..U+1F2FF).
16947 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16949 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16950 since the list will have been rebuilt anyway. (Bug#4349)
16952 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16954 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16955 (bookmark-bmenu-execute-deletions): Don't save here, as
16956 bookmark-delete will now do so if necessary.
16957 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16960 2009-10-09 Glenn Morris <rgm@gnu.org>
16962 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16964 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16966 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16967 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16968 argument now, so the two function's behaviors will match. (Bug#3645)
16970 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16972 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16973 (tramp-file-name-real-host, tramp-file-name-port):
16974 Apply `save-match-data'.
16976 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16977 case both directories are remote.
16978 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16979 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16981 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16983 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16985 2009-10-07 Glenn Morris <rgm@gnu.org>
16987 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16990 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16992 * files-x.el (read-file-local-variable): Include some
16993 non-user-variables in the completion table (bug#4664).
16995 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16997 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17000 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17001 (tramp-smb-file-name-handler-alist): Add handler for
17002 `copy-directory', `expand-file-name', `set-file-modes'.
17003 (tramp-smb-handle-copy-directory)
17004 (tramp-smb-handle-expand-file-name)
17005 (tramp-smb-handle-set-file-modes): New defuns.
17006 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17007 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17009 (tramp-smb-handle-insert-directory): Don't flush the cache.
17010 (tramp-smb-maybe-open-connection): Check for samba client and
17013 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17015 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17016 to not error out of search for "^lisp=" fails.
17018 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17020 * makefile.w32-in (WINS_UPDATES): New macro.
17021 (custom-deps, finder-data, autoloads): Use it.
17023 2009-10-07 Glenn Morris <rgm@gnu.org>
17025 * Makefile.in (autoloads): Revert previous change.
17026 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17027 the list of preloaded files passed on the command-line, get
17028 it from src/Makefile.
17030 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17031 show the original buffer rather than a random one.
17033 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17035 * help.el (describe-no-warranty): Place point in a slightly better
17036 position in the GPLv3 text.
17038 2009-10-06 Sam Steingold <sds@gnu.org>
17040 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17041 the comm attribute is present before calling regexp-quote.
17043 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17045 * play/animate.el (animate-string): For good effect, make sure
17046 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17048 * play/animate.el (animate-sequence, animate-birthday-present):
17049 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17051 2009-10-06 Glenn Morris <rgm@gnu.org>
17053 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17055 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17056 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17057 (batch-update-autoloads): Process a string value of autoload-excludes,
17058 set during the build process.
17059 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17061 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17062 inside with-parsed... macro so that `v' is defined.
17064 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17065 * progmodes/fortran.el (fortran-end-of-block)
17066 (fortran-beginning-of-block):
17067 Also push mark in the macro case.
17069 * emerge.el (emerge-show-file-name):
17070 * calc/calc.el (calc-quit):
17071 * calc/calc-misc.el (calc-big-or-small):
17072 * calc/calc-graph.el (calc-graph-view):
17073 * calc/calc-ext.el (calc-reset):
17074 * calendar/calendar.el (calendar-basic-setup):
17075 Use window-full-height-p.
17077 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17078 header we don't understand, don't insert another. (Bug#4624)
17079 If changing mime charset, insert the new one in the right place.
17081 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17083 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17084 (cal-tex-cursor-month): Correctly increment the end date for diary and
17085 holiday listing. (Bug#4626)
17087 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17089 * help-fns.el (describe-function-1): Don't burp if the function is not
17092 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17094 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17095 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17096 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17097 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17099 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17100 (eieio-default-superclass): Reflow docstrings.
17101 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17102 (eieio-unbind-method-implementations, defmethod)
17103 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17104 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17105 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17106 (eieio-slot-originating-class-p, eieio-slot-name-index)
17107 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17108 (constructor, initialize-instance, no-next-method, object-print)
17109 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17110 Fix typos in docstrings.
17111 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17112 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17113 (next-method-p): Doc fixes.
17114 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17115 Fix typos in error messages.
17116 (eieio-defmethod): Fix typo in description of generic method.
17118 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17119 (eieio-persistent-save-interactive, slot-missing):
17120 Fix typos in docstrings.
17121 (eieio-instance-inheritor-slot-boundp): Doc fix.
17123 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17124 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17126 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17127 (eieio-custom-object-apply-reset):
17128 Fix typos in docstrings and error messages.
17130 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17131 Fix typo in docstring.
17133 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17134 (eieio-browse-tree): Doc fix.
17135 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17136 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17137 Fix typos in docstrings.
17139 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17140 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17141 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17142 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17145 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17147 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17148 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17149 Set log-view-vc-backend so that diff can work.
17151 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17153 (vc-diff-internal): Autoload this instead of vc-version-diff.
17155 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17157 * simple.el (eval-expression): Doc fix.
17159 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17161 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17163 * files.el (directory-files-no-dot-files-regexp): New defconst.
17164 (delete-directory): Use it.
17165 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17167 * net/tramp.el (tramp-verbose): Fix docstring.
17168 (tramp-methods): Add recursive option to `tramp-copy-args'.
17169 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17170 "scp1_old", "scp2_old", "rsync", "rsyncc".
17171 (tramp-default-method): Check also for `auth-source-user-or-password'.
17172 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17173 Add handler for `copy-directory'.
17174 (tramp-handle-copy-directory): New defun.
17175 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17176 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17177 Optimize sent command.
17179 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17181 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17182 window if necessary.
17184 * calendar/calendar.el (calendar-basic-setup): Don't call
17185 switch-to-buffer in a dedicated window.
17187 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17189 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17190 don't do anything related to relocating, just return nil.
17191 (bookmark-error-no-filename): New error.
17192 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17193 bookmark has no file. Don't even attempt to handle things that
17194 are not files; the whole point of custom handlers is to keep that
17195 knowledge elsewhere anyway. Tighten some comments.
17196 (bookmark-file-or-variation-thereof): Remove now-unused function.
17197 (bookmark-location): Doc string fix.
17200 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17202 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17203 don't use a file dialog, because they usually don't know how to read
17204 a directory target from the user. (Bug#4230)
17205 Also, make sure the prompt can display directories as well as files.
17207 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17209 * bookmark.el (bookmark-set, bookmark-buffer-name):
17210 Improve doc strings. (Bug#1193)
17212 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17214 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17215 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17216 (bookmark-get-annotation, bookmark-set-annotation)
17217 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17218 (bookmark-set-position, bookmark-get-front-context-string)
17219 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17220 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17221 (bookmark-jump-other-window, bookmark-handle-bookmark)
17222 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17223 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17224 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17225 Improve doc strings to say whether bookmark can be a string or
17226 a record or both, and make other consistency and clarity fixes.
17227 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17228 (bookmark-default-annotation-text, bookmark-yank-word)
17229 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17230 (bookmark-import-new-list, bookmark-maybe-rename)
17231 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17232 (bookmark-bmenu-bookmark): Give these doc strings.
17233 (bookmark-bmenu-check-position): Give this a doc string, but also
17234 add a FIXME comment about how the function may be pointless.
17235 (bookmark-default-handler): Rework doc string and change a
17236 parameter name, to clarify that this takes a bookmark record
17237 not a bookmark name.
17238 (bookmark-set): Change a parameter name to indicate its meaning,
17239 and improve the doc string a bit.
17242 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17244 * bookmark.el (bookmark-alist): Document the new `handler' element
17245 in the param alist.
17246 (bookmark-make-record-function): Adjust documentation for above.
17249 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17251 * info.el (Info-bookmark-make-record): Document this function.
17252 (Info-bookmark-jump): Document with a doc string, not just a comment.
17255 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17257 * files.el (copy-directory): New defun.
17259 * dired-aux.el (dired-copy-file-recursive): Use it.
17261 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17263 * files-x.el (modify-dir-local-variable)
17264 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17267 * recentf.el (recentf-unload-function): New function.
17269 2009-10-04 Glenn Morris <rgm@gnu.org>
17271 * window.el (window-full-height-p): Add doc string.
17273 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17275 * window.el (window-full-height-p): New function. (Bug#4543)
17277 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17279 * vc.el: Remove commented out code.
17280 (vc-derived-from-dir-mode): Remove, unused.
17281 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17283 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17285 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17286 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17287 there could be recursive loading when `default-directory' is a
17288 remote file name. (Bug#4614)
17290 2009-10-03 Glenn Morris <rgm@gnu.org>
17292 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17294 (calendar-generate-window): Test for shrinkability rather than width.
17296 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17297 reusing existing buffers, in case we happen to visit two files with the
17298 same basename. (Bug#4593)
17300 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17302 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17303 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17304 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17305 subdirs of cedet as well.
17306 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17308 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17310 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17311 Obey advertised-signature-table.
17313 * help-fns.el (help-function-arglist): Don't check
17314 advertised-signature-table.
17315 (describe-function-1): Do it here instead so it also applies to subrs.
17317 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17319 * simple.el (start-file-process): Say in the doc-string, that file
17320 handlers might not support pty association, if PROGRAM is nil.
17322 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17323 HOST and USER are strings. They are nil, when there are
17324 incomplete entries in ~/.netrc, for example.
17325 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17326 root directory ("device busy" error otherwise).
17328 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17329 Flush file properties of created directory.
17331 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17333 * makefile.w32-in (WINS_BASIC): Remove cedet.
17334 (WINS_CEDET): Add cedet.
17335 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17337 2009-10-02 Kevin Ryde <user42@zip.com.au>
17339 * net/browse-url.el (browse-url): Pass any symbol in
17340 browse-url-browser-function to `apply', since if you've mistakenly put
17341 an unbound symbol then the error is clearer. (Bug#4531)
17343 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17345 * allout.el (allout-init, allout-back-to-current-heading)
17346 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17347 (allout-ascend, allout-up-current-level, allout-end-of-level)
17348 (allout-previous-visible-heading, allout-forward-current-level)
17349 (allout-backward-current-level, allout-show-children):
17350 * apropos.el (apropos-describe-plist):
17351 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17352 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17353 * completion.el (add-completion, add-permanent-completion):
17354 * descr-text.el (describe-text-category, describe-char):
17355 * desktop.el (desktop-lazy-abort):
17356 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17357 * dired.el (dired-build-subdir-alist):
17358 * ediff.el (ediff-version):
17359 * elide-head.el (elide-head, elide-head-show):
17360 * emerge.el (emerge-version):
17362 * face-remap.el (variable-pitch-mode):
17363 * faces.el (describe-face):
17364 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17366 * files.el (find-file-existing, auto-save-mode):
17367 * font-lock.el (font-lock-fontify-buffer):
17368 * help-fns.el (describe-function, describe-variable)
17369 (describe-syntax, describe-categories):
17370 * help.el (view-lossage, describe-bindings, describe-key)
17372 * hexl.el (hexl-current-address):
17373 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17374 * info.el (Info-goto-emacs-key-command-node):
17375 * log-edit.el (log-edit-insert-cvs-template)
17376 (log-edit-insert-cvs-rcstemplate):
17377 * menu-bar.el (menu-bar-mode):
17378 * mouse.el (mouse-appearance-menu):
17379 * newcomment.el (comment-indent-new-line):
17380 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17381 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17382 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17383 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17384 * recentf.el (recentf-mode):
17385 * savehist.el (savehist-mode, savehist-save):
17386 * shadowfile.el (shadow-copy-files):
17387 * simple.el (kill-ring-save, next-line, previous-line)
17388 (normal-erase-is-backspace-mode):
17389 * strokes.el (strokes-update-window-configuration)
17390 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17391 (strokes-xpm-for-stroke):
17392 * time.el (emacs-uptime, emacs-init-time):
17393 * tutorial.el (tutorial--describe-nonstandard-key)
17394 (tutorial--detailed-help):
17395 * type-break.el (type-break-mode)
17396 (type-break-mode-line-message-mode, type-break-query-mode)
17397 (type-break-guesstimate-keystroke-threshold):
17398 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17399 * version.el (emacs-version):
17400 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17401 * winner.el (winner-mode):
17402 * calendar/timeclock.el (timeclock-in, timeclock-out)
17403 (timeclock-status-string, timeclock-change)
17404 (timeclock-workday-remaining-string)
17405 (timeclock-workday-elapsed-string)
17406 (timeclock-when-to-leave-string):
17407 * calendar/todo-mode.el (todo-add-category):
17408 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17409 * emacs-lisp/autoload.el (update-file-autoloads):
17410 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17411 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17412 (checkdoc-message-text, checkdoc-defun):
17413 * emacs-lisp/debug.el (debugger-list-functions):
17414 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17415 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17416 (eieio-describe-generic):
17417 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17418 * emacs-lisp/shadow.el (list-load-path-shadows):
17419 * emulation/cua-base.el (cua-mode):
17420 * emulation/edt.el (edt-set-scroll-margins):
17421 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17422 (tpu-toggle-regexp, tpu-toggle-search-direction)
17423 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17424 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17425 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17426 (viper-set-parsing-style-toggling-macro)
17427 (viper-set-emacs-state-searchstyle-macros):
17428 * emulation/viper.el (viper-set-hooks):
17429 * eshell/esh-mode.el (eshell-truncate-buffer):
17430 * international/mule-cmds.el (prefer-coding-system)
17431 (describe-input-method, describe-language-environment):
17432 * international/mule-diag.el (list-character-sets)
17433 (describe-character-set, describe-coding-system)
17434 (describe-fontset, list-fontsets, list-input-methods):
17435 * mail/sendmail.el (mail-signature):
17436 * net/ange-ftp.el (ange-ftp-copy-file):
17437 * net/browse-url.el (browse-url):
17438 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17439 * net/quickurl.el (quickurl-add-url):
17440 * net/rcirc.el (names, topic):
17441 * net/xesam.el (xesam-mode):
17442 * play/5x5.el (5x5-new-game):
17443 * play/yow.el (apropos-zippy):
17444 * progmodes/ada-mode.el (ada-mode-version):
17445 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17447 (f90-beginning-of-block):
17448 * progmodes/fortran.el (fortran-end-of-block)
17449 (fortran-beginning-of-block):
17450 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17451 * progmodes/python.el (python-describe-symbol, python-shell):
17452 * term/ns-win.el (ns-print-buffer):
17453 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17454 * textmodes/flyspell.el (flyspell-mode-on):
17455 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17456 (pages-directory-for-addresses):
17457 * textmodes/table.el (table-recognize-cell)
17458 (table-query-dimension, table-generate-source)
17459 (table-insert-sequence, table--warn-incompatibility):
17460 * textmodes/tex-mode.el (tex-validate-buffer):
17461 * textmodes/texinfmt.el (texinfmt-version)
17462 (texinfo-format-buffer):
17463 Use `called-interactively-p' instead of `interactive-p'.
17465 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17467 * image-mode.el (image-toggle-display):
17468 * emacs-lisp/elp.el (elp-instrument-function):
17469 * emacs-lisp/advice.el (ad-make-advised-definition):
17470 * emacs-lisp/easy-mmode.el (define-minor-mode):
17471 * net/browse-url.el (browse-url-maybe-new-window):
17472 * progmodes/sh-script.el (sh-learn-buffer-indent):
17473 Pass new argument 'any to `called-interactively-p'.
17475 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17477 * international/uni-bidi.el:
17478 * international/uni-category.el:
17479 * international/uni-combining.el:
17480 * international/uni-comment.el:
17481 * international/uni-decimal.el:
17482 * international/uni-decomposition.el:
17483 * international/uni-digit.el:
17484 * international/uni-lowercase.el:
17485 * international/uni-mirrored.el:
17486 * international/uni-name.el:
17487 * international/uni-numeric.el:
17488 * international/uni-old-name.el:
17489 * international/uni-titlecase.el:
17490 * international/uni-uppercase.el:
17491 Regenerate from Unicode 5.2.0 data.
17493 2009-10-01 Glenn Morris <rgm@gnu.org>
17495 * Makefile.in (ELCFILES): Regenerate.
17497 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17499 * subr.el (interactive-p): Mark obsolete.
17500 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17501 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17502 advertised-signature-table for subroutines as well.
17504 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17505 (set-advertised-calling-convention): New function.
17506 (make-obsolete, define-obsolete-function-alias)
17507 (make-obsolete-variable, define-obsolete-variable-alias):
17508 Make the optional-ness of `when' obsolete.
17509 (define-obsolete-face-alias): Make `when' non-optional.
17510 * help-fns.el (help-function-arglist):
17511 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17512 Use advertised-signature-table.
17514 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17516 * files.el (delete-directory): New defun. The original function
17517 in fileio.c has been renamed to `delete-directory-internal'.
17519 * dired.el (dired-delete-file): Call `delete-directory' with
17520 RECURSIVE parameter.
17522 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17523 parameter RECURSIVE. Implementation is missing.
17525 * net/tramp.el (tramp-handle-make-directory): Flush upper
17526 directory's file properties.
17527 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17528 (tramp-handle-dired-recursive-delete-directory): Flush directory
17529 properties after the remove command only.
17531 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17532 Handle optional parameter RECURSIVE.
17534 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17535 Handle optional parameter RECURSIVE.
17537 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17538 connection timeout.
17539 (tramp-smb-handle-delete-directory): Handle optional parameter
17542 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17544 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17545 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17546 (byte-compile-defmacro): Use backquotes.
17548 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17550 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17551 has no associated file.
17552 (vc-resynch-buffer): Use vc-dir-buffers.
17554 2009-10-01 Glenn Morris <rgm@gnu.org>
17556 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17557 (chart-file-count):
17558 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17559 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17560 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17561 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17562 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17563 (eieio-copy-parents-into-subclass, make-instance, class-children)
17564 (eieio-generic-form):
17566 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17567 match-data. (Bug#4555).
17569 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17570 rather than parsing it as a regexp. This relaxes the layout
17571 requirements and makes errors easier to detect.
17572 (check-declare-verify): Check file is regular.
17573 (check-declare-directory): Doc fix.
17574 * subr.el (declare-function): Doc fix.
17576 * ibuffer.el (ibuffer-format-qualifier):
17577 * isearch.el (hi-lock-regexp-okay):
17578 * calc/calc.el (math-zerop):
17579 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17580 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17581 Remove unused declarations.
17583 2009-09-30 Eric Ludlam <zappo@gnu.org>
17585 * emacs-lisp/eieio.el (boolean-p): Delete.
17587 2009-09-30 Glenn Morris <rgm@gnu.org>
17589 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17591 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17592 filename is not a string.
17594 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17596 * files.el (safe-local-eval-forms): Fix typo.
17598 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17600 * vc-hooks.el (vc-dir-buffers): New var.
17601 (vc-state-refresh): New function.
17602 (vc-state): Use it.
17603 (vc-after-save): Always ask the backend to recompute the new state.
17604 Always call vc-dir if necessary, using vc-dir-buffers.
17605 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17606 Use vc-dir-buffers.
17607 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17608 (vc-dir-prepare-status-buffer, vc-dir-update)
17609 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17610 Don't call expand-file-name on default-directory.
17612 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17614 * speedbar.el (speedbar-item-delete):
17615 * calc/calc-prog.el (calc-kbd-if):
17616 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17618 * epa.el (epa-key-list-mode-map):
17619 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17621 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17622 (hs-show-hook): Fix typo in docstring.
17624 2009-09-29 Glenn Morris <rgm@gnu.org>
17626 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17627 file-name-nondirectory call preventing location of cedet files.
17628 (check-declare-verify): Use literal search rather than re-search.
17629 Add basic defmethod and defclass, and define-overloadable-function.
17631 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17632 Use tramp-compat-file-attributes rather than nonexistent
17633 tramp-compat-handle-file-attributes.
17635 * Makefile.in (lisptagsfiles4): New.
17636 (AUTOGENEL): Add cedet loaddefs files.
17637 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17638 (update-elclist, compile-always, backup-compiled-files)
17639 (bootstrap-clean): Add yet another directory level.
17640 (update-elclist): Use LC_COLLATE rather than COLLATE.
17641 (ELCFILES): Update, via `make update-elclist'.
17643 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17645 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17646 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17647 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17649 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17651 * Makefile.in (lisptagsfiles3): Define.
17652 (TAGS, TAGS-LISP): Use it.
17653 (update-elclist): Add third directory level to look for elc files.
17654 (compile-always): Likewise.
17655 (backup-compiled-files): Likewise.
17656 (bootstrap-clean): Likewise.
17657 (ELCFILES): Update.
17659 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17661 * Makefile.in (ELCFILES): Add CEDET files.
17663 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17665 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17667 * net/tramp.el (top): Require tramp-imap.
17669 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17670 Use `tramp-compat-handle-file-attributes'.
17672 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17674 * net/tramp-imap.el: New package.
17676 2009-09-28 Eric Ludlam <zappo@gnu.org>
17678 * emacs-lisp/chart.el:
17679 * emacs-lisp/eieio-base.el:
17680 * emacs-lisp/eieio-comp.el:
17681 * emacs-lisp/eieio-custom.el:
17682 * emacs-lisp/eieio-datadebug.el:
17683 * emacs-lisp/eieio-opt.el:
17684 * emacs-lisp/eieio-speedbar.el:
17685 * emacs-lisp/eieio.el: New files.
17687 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17689 * whitespace.el (whitespace-trailing-regexp)
17690 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17693 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17695 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17698 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17699 menu-bar-ediff-menu.
17701 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17702 define-overloadable-function.
17704 * progmodes/autoconf.el: Provide autoconf as well, so that this
17705 file can be `require'd.
17707 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17709 * emacs-lisp/autoload.el (generated-autoload-feature)
17710 (generated-autoload-load-name): New vars.
17711 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17712 (make-autoload): Recognize define-overloadable-function and
17713 defclass forms (for EIEIO).
17715 * Makefile.in (update-subdirs): Exclude cedet directory.
17717 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17719 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17721 * faces.el: Default light-background background for region face to
17722 ns_selection_color under NS.
17724 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17726 * net/imap-hash.el: New library, see NEWS.
17728 * Makefile.in (ELCFILES): Add imap-hash.el.
17730 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17732 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17733 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17734 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17735 definition where the docstring could be taken for the return value.
17737 2009-09-26 Glenn Morris <rgm@gnu.org>
17739 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17740 Add option to only show images below a certain size.
17741 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17742 save-excursion calls.
17744 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17746 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17747 subdirectories) and eieio.
17749 2009-09-26 Alan Mackenzie <acm@muc.de>
17751 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17752 Correct buggy bracketing. (Bug#4289)
17754 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17755 character constants (as case labels). (Bug#4289)
17757 2009-09-25 Juri Linkov <juri@jurta.org>
17759 * files.el (safe-local-eval-forms): Allow time-stamp in
17760 before-save-hook (Bug#4554).
17762 2009-09-25 Drew Adams <drew.adams@oracle.com>
17764 * menu-bar.el (list-buffers-directory): Doc fix.
17766 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17768 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17769 Try and avoid copying twice the same paragraph.
17770 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17771 Remove save-excursion.
17772 (log-edit-changelog-entry): Do it here instead.
17774 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17776 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17777 when available, instead of hardcoding mode names. Doc fix.
17779 * menu-bar.el (list-buffers-directory): Add docstring.
17780 Make automatically buffer-local.
17782 * dired.el (dired-mode):
17783 * files.el (cd-absolute):
17784 * pcvs.el (cvs-temp-buffer):
17785 * pcvs-util.el (cvs-get-buffer-create):
17786 * shell.el (shell-mode):
17787 * vc-dir.el (vc-dir-mode):
17788 Don't make `list-buffers-directory' buffer local.
17790 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17792 * comint.el (comint-exec, comint-run, make-comint):
17793 Doc fixes (Bug#4542).
17795 2009-09-25 Glenn Morris <rgm@gnu.org>
17797 * mail/rmailmm.el (rmail-mime): New custom group.
17798 Move all defcustoms in this file into this group.
17799 (rmail-mime-media-type-handlers-alist): Revert previous change.
17800 (rmail-mime-show-images): New option.
17801 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17802 references to it, since it wasn't actually used for anything.
17803 (rmail-mime-insert-image): New function.
17804 (rmail-mime-image): Use rmail-mime-insert-image.
17805 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17806 obey the value of `rmail-mime-show-images' option. Print the size of
17809 2009-09-25 David Engster <deng@randomsample.de>
17811 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17813 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17815 * whitespace.el: Does not highlight trailing spaces While point is
17816 at end of line. Does not highligt spaces at beginning of buffer
17817 while point is at beginning of buffer. Does not highlight spaces
17818 at end of buffer while point is at end of buffer. (Bug#4177)
17820 (whitespace-display-mappings): Adjust initialization.
17821 (whitespace-point, whitespace-font-lock-refontify): New vars.
17822 (whitespace-color-on, whitespace-color-off): Adjust code.
17823 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17824 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17825 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17827 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17829 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17831 * textmodes/sgml-mode.el: Remove xml-mode alias.
17833 * files.el (auto-mode-alist, conf-mode-maybe)
17834 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17836 2009-09-24 Alan Mackenzie <acm@muc.de>
17838 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17839 c-forward-conditionals, but it doesn't move point and doesn't set
17841 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17842 (c-down-conditional-with-else, c-backward-conditional)
17843 (c-forward-conditional): Refactor to use c-scan-conditionals.
17845 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17847 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17848 (help-default-arg-highlight): Remove.
17849 (help-highlight-arg): New function.
17850 (help-do-arg-highlight): Use it.
17851 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17853 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17855 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17856 Undo last change, which didn't fix the problem and introduced others.
17858 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17860 * progmodes/gdb-mi.el: Don't require speedbar.
17861 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17863 2009-09-24 Glenn Morris <rgm@gnu.org>
17865 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17867 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17869 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17870 there is no newline after the final mime boundary. (Bug#4539)
17871 Move markers on insertion so that any buttons inserted don't end up in
17872 the next part of a multipart message.
17873 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17874 (rmail-mime-bulk-handler): Optionally handle images.
17875 (rmail-mime-image): New button action.
17876 (rmail-mime-image-handler): New function.
17877 (rmail-mime-mode): New mode.
17878 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17880 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17882 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17883 than just dropping elements from it (bug#4504).
17885 * term.el (term-set-scroll-region): Don't move cursor any more.
17886 (term-handle-ansi-escape): Call term-goto here instead.
17887 Suggested by Ivan Kanis <apple@kanis.eu>.
17889 * term.el: Require CL.
17890 (term-ansi-reset): New function.
17891 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17892 (term-handle-colors-array): Simplify.
17894 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17896 * allout.el (allout-overlay-interior-modification-handler)
17897 (allout-obtain-passphrase):
17898 * epa-file.el (epa-file-write-region):
17899 * ps-print.el (ps-begin-job):
17900 * vc-hooks.el (vc-toggle-read-only):
17901 * vc-rcs.el (vc-rcs-rollback):
17902 * vc-sccs.el (vc-sccs-rollback):
17903 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17904 (vc-version-diff, vc-revert, vc-rollback):
17905 * wdired.el (wdired-check-kill-buffer):
17906 * emacs-lisp/authors.el (authors):
17907 * net/socks.el (socks-open-connection):
17908 * net/zeroconf.el (zeroconf-service-add-hook):
17909 * obsolete/vc-mcvs.el (vc-mcvs-register):
17910 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17911 (gdb-select-frame):
17912 * progmodes/grep.el (lgrep, rgrep):
17913 * progmodes/idlw-help.el (idlwave-help-check-locations)
17914 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17915 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17916 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17917 (reftex-toc-rename-label): Fix typos in error messages.
17919 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17920 (dired-copy-how-to-fn): Doc fix.
17921 (dired-files-attributes, dired-read-shell-command):
17922 Fix typos in docstrings.
17924 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17925 (dired-x-find-file-other-window): Reflow docstrings.
17926 (dired-omit-marker-char, dired-read-shell-command)
17927 (dired-x-submit-report): Fix typos in docstrings.
17929 * shell.el (shell-mode-hook):
17930 * view.el (View-scroll-line-forward):
17931 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17932 Fix typos in docstrings.
17934 * net/dig.el (dig-invoke): Fix typo in docstring.
17935 (query-dig): Reflow docstring.
17937 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17938 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17939 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17940 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17941 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17942 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17943 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17944 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17945 (idlwave-completion-map, idlwave-current-indent)
17946 (idlwave-custom-ampersand-surround, idlwave-customize)
17947 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17948 (idlwave-define-abbrev, idlwave-determine-class-special)
17949 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17950 (idlwave-end-block-reg, idlwave-end-of-statement)
17951 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17952 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17953 (idlwave-explicit-class-listed, idlwave-file-header)
17954 (idlwave-fill-paragraph, idlwave-find-class-definition)
17955 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17956 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17957 (idlwave-in-quote, idlwave-indent-action-table)
17958 (idlwave-indent-expand-table, idlwave-indent-line)
17959 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17960 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17961 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17962 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17963 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17964 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17965 (idlwave-outlawed-buffers, idlwave-popup-select)
17966 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17967 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17968 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17969 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17970 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17971 (idlwave-statement-type, idlwave-struct-skip)
17972 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17973 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17974 (idlwave-what-module-find-class): Fix typos in docstrings.
17975 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17976 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17977 (idlwave-find-module, idlwave-find-structure-definition)
17978 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17979 (idlwave-list-load-path-shadows, idlwave-next-statement)
17980 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17981 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17982 (idlwave-template): Reflow docstrings.
17984 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17985 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17986 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17987 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17988 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17989 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17990 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17991 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17992 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17993 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17994 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17995 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17996 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17997 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17998 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17999 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18000 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18001 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18002 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18003 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18004 Fix typos in docstrings.
18005 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18006 (idlwave-shell-hide-output, idlwave-shell-mode)
18007 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18010 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18012 2009-09-24 Ivan Kanis <apple@kanis.eu>
18014 * term.el (term-bold-attribute): New var.
18015 (term-handle-colors-array): Use it.
18017 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18019 * progmodes/gdb-mi.el (gdb-version): New variable.
18020 (gdb-non-stop-handler): Set gdb-version.
18021 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18022 Condition "--thread" option on gdb-version.
18023 (gdb-invalidate-threads): Remove unused argument.
18025 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18027 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18028 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18030 2009-09-23 Glenn Morris <rgm@gnu.org>
18032 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18033 replying to mail without References or Message-Id. (Bug#4525)
18035 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18037 * term/ns-win.el (ns-reg-to-script): New variable.
18039 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18041 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18043 2009-09-22 Sam Steingold <sds@gnu.org>
18045 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18046 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18047 to 1 because hg returns status 1 when nothing is found.
18048 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18050 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18052 * textmodes/fill.el: Convert to utf-8 encoding.
18053 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18056 * add-log.el (change-log-fill-forward-paragraph): New function.
18057 (change-log-mode): Use it so fill-region DTRT.
18058 Set fill-indent-according-to-mode here rather than in
18059 change-log-fill-paragraph.
18060 (change-log-fill-paragraph): Remove.
18062 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18064 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18065 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18067 2009-09-22 Glenn Morris <rgm@gnu.org>
18069 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18070 the scroll-bar scroll the calendar window rather than the buffer.
18072 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18073 commands that move point (as opposed to scrolling).
18075 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18077 * emacs-lisp/elint.el (elint): New custom group.
18078 (elint-log-buffer): Make it a defcustom.
18079 (elint-scan-preloaded, elint-ignored-warnings)
18080 (elint-directory-skip-re): New options.
18081 (elint-builtin-variables): Doc fix.
18082 (elint-preloaded-env): New variable.
18083 (elint-unknown-builtin-args): Add an entry for encode-time.
18084 (elint-extra-errors): Make it a variable rather than a constant.
18085 (elint-preloaded-skip-re): New constant.
18086 (elint-directory): Skip files matching elint-directory-skip-re.
18087 (elint-features): New variable, local to linted buffers.
18088 (elint-update-env): Initialize elint-features. Possibly add
18089 elint-preloaded-env to the buffer's environment.
18090 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18092 (elint-init-form): New function, extracted from elint-init-env.
18093 Make non-list forms a warning rather than an error.
18094 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18095 easy-menu-define, put that adds an error-condition, and provide.
18096 When requiring cl, also require cl-macs. Really require cl, to handle
18097 some cl macros. Store required libraries in the list elint-features,
18098 so as not to re-load them. Treat cc-require like require.
18099 (elint-init-env): Call elint-init-form to do the work.
18100 Handle eval-and-compile and such like.
18101 (elint-add-required-env): Do not clear messages.
18102 (elint-special-forms): Add handlers for function, defalias, if, when,
18104 (elint-form): Add optional argument to ignore elint-special-forms,
18105 useful to prevent recursive calls from handlers. Doc fix.
18106 Respect elint-ignored-warnings.
18107 (elint-form): Respect elint-ignored-warnings.
18108 (elint-bound-variable, elint-bound-function): New variables.
18109 (elint-unbound-variable): Respect elint-bound-variable.
18110 (elint-get-args): Respect elint-bound-function.
18111 (elint-check-cond-form): Add some simple handling for (f)boundp and
18113 (elint-check-defalias-form): New handler.
18114 (elint-check-let-form): Make an empty let a warning rather than an
18116 (elint-check-setq-form): Make an empty setq a warning rather than an
18117 error. Respect elint-ignored-warnings.
18118 (elint-check-defvar-form): Accept null doc-strings.
18119 (elint-check-conditional-form): New handler. Does some simple-minded
18120 checking of featurep and (f)boundp tests.
18121 (elint-put-function-args): New function.
18122 (elint-initialize): Use elint-scan-doc-file rather than
18123 elint-find-builtin-variables. Use elint-put-function-args.
18124 Possibly scan preloaded-file-list.
18125 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18126 extend to handle functions as well.
18128 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18130 * linum.el (linum-delete-overlays, linum-update-window):
18131 Do not modify the right margin. (Bug#3971)
18133 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18135 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18136 Use nxml-mode instead of xml-mode.
18138 2009-09-21 Kevin Ryde <user42@zip.com.au>
18140 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18142 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18144 * net/dig.el (dig-mode): Use define-derived-mode.
18146 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18148 * vc-dispatcher.el (vc-do-command): Return the process object in
18149 the asynchronous case. Use when instead of if. Do not run
18150 vc-exec-after to display a message if not enabled. (Bug#4463)
18152 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18153 properties to the stash strings.
18154 (vc-git-stash-list): Return a list of strings.
18155 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18156 (vc-git-stash-show-at-point): New functions.
18157 (vc-git-stash-map): New keymap.
18159 * register.el (ctl-x-r-map): Define the keys here instead of
18162 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18164 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18165 list, to workaround performance problem (bug#4485).
18167 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18169 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18171 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18173 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18174 Document that this option is not recommended to use.
18176 2009-09-19 Glenn Morris <rgm@gnu.org>
18178 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18181 * calc/calc-alg.el (var):
18182 * calc/calcalg2.el (var): Define for compiler.
18184 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18186 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18187 Doc fix (Bug#3932).
18189 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18191 * time-stamp.el (time-stamp-month-dd-yyyy)
18192 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18193 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18194 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18195 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18196 Remove functions that have been obsolete since 1995 (Bug#4436).
18198 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18199 indent buffer only if called interactively (Bug#4452).
18201 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18202 Eli Zaretskii <eliz@gnu.org>
18204 This fixes bug#4197 (merged to bug#865, though not identical).
18205 * server.el (server-auth-dir): Add docstring note about FAT32.
18206 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18207 but warn against using them.
18209 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18211 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18212 older GDB where there is no has_more field.
18214 2009-09-19 Glenn Morris <rgm@gnu.org>
18216 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18218 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18220 * files.el (auto-mode-alist): Change default for XML files to nXML
18223 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18225 * server.el (server-ensure-safe-dir): Pass 'integer
18226 to `file-attributes', as suggested.
18228 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18230 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18231 (dired-query): Use read-key.
18233 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18235 * cus-start.el (ns-use-qd-smoothing): Remove.
18237 2009-09-18 Glenn Morris <rgm@gnu.org>
18239 * allout.el (top-level): Remove unnecessary progn.
18241 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18243 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18244 definition of abbrev table.
18246 * speedbar.el (speedbar-track-mouse):
18247 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18248 * net/eudc.el (eudc-expand-inline):
18249 * net/newst-backend.el (newsticker--cache-read-feed):
18250 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18251 condition-case handlers.
18253 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18255 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18256 (gdb-var-list): Add an element for has_more field.
18257 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18258 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18259 (gdb-var-update-handler-1): Parse output of dynamic variable
18260 objects (STL containers).
18261 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18262 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18264 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18266 (gud-speedbar-buttons): Make node expandable if expression "has more"
18269 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18271 * startup.el (emacs-quick-startup): Remove variable and all uses.
18272 (command-line): Set `inhibit-x-resources' instead.
18273 (command-line-1): Use `inhibit-x-resources' instead.
18275 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18277 * subr.el: Fix last change to avoid using the `unless' macro,
18278 which breaks bootstrapping.
18280 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18282 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18283 extended definitions, in case we reload subr.el after having
18285 (eval-next-after-load): Mark as obsolete.
18287 2009-09-17 Juri Linkov <juri@jurta.org>
18289 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18290 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18291 (menu-bar-showhide-menu, menu-bar-tools-menu)
18292 (menu-bar-describe-menu, menu-bar-help-menu)
18293 (minibuffer-local-completion-map, minibuffer-local-map):
18296 2009-09-17 Glenn Morris <rgm@gnu.org>
18298 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18299 arguments, whether or not it has a handler.
18301 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18303 * simple.el (hard-newline): Give it a doc-string.
18305 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18306 (lisp-mode-syntax-table): Give them doc-strings.
18308 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18310 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18311 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18312 (menu-bar-options-menu, menu-bar-showhide-menu)
18313 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18314 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18315 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18316 (menu-bar-options-menu, menu-bar-tools-menu)
18317 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18318 (menu-bar-help-menu):
18319 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18322 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18323 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18324 calls for the menu names and :help.
18326 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18328 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18329 to :minor-mode-function (bug#4455).
18331 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18333 * startup.el (command-line): Initialize the window-system after
18334 processing the command-line.
18336 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18337 page-delimiter matches the empty string.
18339 2009-09-16 Glenn Morris <rgm@gnu.org>
18341 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18342 byte-compile-not-obsolete-var. It's a list now.
18343 (byte-compile-not-obsolete-funcs): New variable.
18344 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18345 byte-compile-not-obsolete-funcs.
18346 (byte-compile-variable-ref, byte-compile-defvar): Update for
18347 byte-compile-not-obsolete-vars name-change and list nature.
18348 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18349 and variables behind (f)boundp tests.
18350 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18352 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18354 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18356 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18358 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18359 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18362 2009-09-15 Stephen Eglen <stephen@gnu.org>
18364 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18365 the virtual-buffers, use the name of the buffer specified by
18366 find-file-noselect, as the match may be a symlink. (This was a
18367 problem if the target and the symlink had different names.)
18369 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18371 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18373 * desktop.el (desktop-path): Check user-emacs-directory.
18375 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18377 * loadup.el: Use after-load-functions to GC after loading each file.
18378 Remove the explicit GC calls that used to be sprinkled around.
18380 * subr.el (after-load-functions): New hook.
18381 (do-after-load-evaluation): Run it. Use string-match-p to detect
18382 `obsolete' packages, rather than painfully extracting the relevant
18385 2009-09-15 Glenn Morris <rgm@gnu.org>
18387 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18388 free variable `doc'.
18390 * dired.el (dired-mode-map): Add menu entry for async shell command.
18392 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18393 variables, also consider the .elc files, since the .el files are
18394 normally gzipped (subsequent code locates the .el.gz from the .elc).
18396 * calc/calc-prog.el (arglist): Define for compiler.
18398 * calendar/diary-lib.el (diary-display-function): Change the default to
18400 (body): Define for compiler.
18402 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18403 (byte-compile-file-form, byte-compile-lambda)
18404 (byte-compile-top-level-body, byte-compile-form)
18405 (byte-compile-variable-ref, byte-compile-setq)
18406 (byte-compile-setq-default, byte-compile-body)
18407 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18408 (batch-byte-compile): Give some more local variables with common names
18409 a "bytecomp-" prefix to avoid masking warnings about free variables.
18411 * startup.el (command-line-1): Give local variables with common names a
18412 distinguishing prefix, so as not to hide free variable warnings during
18415 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18416 clever and add a suffix to make a unique name, just let the user decide
18417 whether or not to overwrite it. If the input is a directory, write the
18418 default filename to that directory. (Bug#4388)
18419 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18420 is a filename-as-a-directory.
18422 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18424 * textmodes/page.el (what-page): Don't move to beginning of line.
18425 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18427 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18429 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18431 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18433 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18434 * help.el (help-for-help-internal): Add purecopy calls for text.
18436 * vc.el (top): print-log method now takes an optional SHORTLOG
18437 argument. Add a new method: root.
18438 (vc-root-diff, vc-print-root-log): New functions.
18439 (vc-log-short-style): New variable.
18440 (vc-print-log-internal): Add support for showing short logs.
18442 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18443 vc-print-root-log and vc-print-root-diff.
18445 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18446 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18447 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18450 * vc-cvs.el (vc-cvs-print-log):
18451 * vc-mtn.el (vc-mtn-print-log):
18452 * vc-rcs.el (vc-rcs-print-log):
18453 * vc-sccs.el (vc-sccs-print-log):
18454 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18455 that is ignored for now.
18457 * vc-mtn.el (vc-mtn-annotate-command):
18458 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18460 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18462 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18463 to function-key-map, and give them ascii-character property.
18464 * term/x-win.el (x-alternatives-map):
18465 * term/ns-win.el (ns-alternatives-map):
18466 * term/internal.el (msdos-key-remapping-map):
18467 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18469 2009-09-14 Glenn Morris <rgm@gnu.org>
18471 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18472 temp-buffers (2009-09-12).
18474 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18476 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18477 the new read-key function.
18479 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18481 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18482 is defined (Bug#4405).
18484 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18486 * recentf.el (recentf-cleanup): Use a hash table to find
18487 duplicates (Bug#4407).
18489 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18491 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18492 kp-0 to ascii equivalents (Bug#4325).
18494 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18496 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18498 * eshell/em-hist.el:
18499 * eshell/em-dirs.el (eshell-complete-user-reference):
18500 Declare pcomplete functions and variables to avoid compiler warnings.
18502 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18504 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18505 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18506 * eshell/em-alias.el (eshell-aliases-file):
18507 * eshell/em-hist.el (eshell-history-file-name):
18508 Use expand-file-name instead of concat to make file names (Bug#4308).
18510 2009-09-13 Glenn Morris <rgm@gnu.org>
18512 * ediff-merg.el (ediff-do-merge):
18513 * filesets.el (filesets-run-cmd):
18514 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18515 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18516 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18517 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18518 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18519 Replace empty `let's with `progn'.
18521 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18523 * mail/sendmail.el (send-mail-function):
18524 * tooltip.el (tooltip-mode):
18525 * simple.el (transient-mark-mode):
18526 * rfn-eshadow.el (file-name-shadow-mode):
18527 * frame.el (blink-cursor-mode):
18528 * font-core.el (global-font-lock-mode):
18529 * files.el (temporary-file-directory)
18530 (small-temporary-file-directory, auto-save-file-name-transforms):
18531 * epa-hook.el (auto-encryption-mode):
18532 * composite.el (global-auto-composition-mode):
18533 Use custom-initialize-delay.
18534 * startup.el (command-line): Don't explicitly call
18535 custom-reevaluate-setting for all the above vars.
18536 * custom.el (custom-initialize-safe-set)
18537 (custom-initialize-safe-default): Delete.
18539 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18541 * term/x-win.el (x-initialize-window-system):
18542 * term/w32-win.el (w32-initialize-window-system):
18543 * term/ns-win.el (ns-initialize-window-system): Don't call
18544 mouse-wheel-mode since it's enabled globally by default already.
18546 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18547 actually define the variable, but only silences the byte-compiler.
18548 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18549 before looking it up.
18550 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18553 2009-09-12 Glenn Morris <rgm@gnu.org>
18555 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18557 (elint-add-required-env): Don't beep on error.
18558 (elint-forms): In case of error, return ENV unchanged.
18559 (elint-init-env): Skip non-list forms.
18560 (elint-log): Handle unknown file positions.
18562 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18564 * epg.el (epg-make-context): Add autoload cookie.
18565 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18566 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18567 (epg-verify-string, epg-start-sign, epg-sign-file)
18568 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18569 (epg-encrypt-string, epg-start-export-keys)
18570 (epg-export-keys-to-file, epg-export-keys-to-string)
18571 (epg-start-import-keys, epg-import-keys-from-file)
18572 (epg-import-keys-from-string, epg-start-receive-keys)
18573 (epg-receive-keys, epg-import-keys-from-server)
18574 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18575 (epg-sign-keys, epg-start-generate-key)
18576 (epg-generate-key-from-file, epg-generate-key-from-string):
18577 Remove autoload cookie.
18579 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18581 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18582 reevaluation of trash-directory.
18584 * mwheel.el: Fix last change.
18585 (mouse-wheel-mode): New defvar.
18586 (mouse-wheel-mode): Remove autoload cookie.
18588 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18590 * mwheel.el (mwheel-installed-bindings): New var.
18591 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18592 the bindings we set last time. Use custom-initialize-delay.
18593 * loadup.el: Load mwheel after term/*-win.el.
18594 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18595 and mouse-wheel-up-event now that their first evaluation is done
18596 sufficiently late to be correct.
18598 * startup.el (tutorial-directory): Make it a defcustom.
18599 Use custom-initialize-delay rather than eval-at-startup to set it.
18600 * image.el (image-load-path): Make it a defcustom.
18601 Use custom-initialize-delay rather than eval-at-startup to set it.
18602 * subr.el (eval-at-startup): Remove.
18603 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18605 * subr.el (do-after-load-evaluation): Warn the user after loading an
18608 2009-09-12 Glenn Morris <rgm@gnu.org>
18610 * proced.el (proced-mark-alt): Remove alias.
18611 (proced-mode-map): Remove proced-mark-alt.
18613 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18614 Elint file and directory. Remove initialization entry.
18616 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18618 (elint-current-buffer): Set mode-line-process.
18619 (elint-init-env): Handle define-derived-mode.
18620 Fix declare-function with unspecified arglist. Guard against odd
18621 defalias statements (eg iso-insert's 8859-1-map).
18622 (elint-add-required-env): Use a temp buffer.
18623 (elint-form): Just print the function/macro name, not the whole form.
18624 Return env unchanged if we fail to parse a macro.
18625 (elint-forms): Guard against parse errors.
18626 (elint-output): New function, to handle batch mode.
18627 (elint-log-message): Add optional argument. Use elint-output.
18628 (elint-set-mode-line): New function.
18630 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18632 * emacs-lisp/elp.el (elp-not-profilable): Add more
18633 functions (Bug#4233).
18635 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18637 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18638 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18640 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18642 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18643 (gdb-var-list-children): Use json parsing.
18645 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18647 * progmodes/js.el (js--proper-indentation): Handle the case where
18648 char-before is null. Reported by Deniz Dogan.
18650 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18652 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18654 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18656 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18657 (epg-digest-algorithm-alist): Add SHA224.
18658 (epg-context-set-passphrase-callback)
18659 (epg-context-set-progress-callback): Add description about
18662 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18664 * custom.el (custom-delayed-init-variables): New var.
18665 (custom-initialize-delay): New function.
18666 * startup.el (command-line): "Re"evaluate all vars in
18667 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18668 explicitly any more.
18669 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18670 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18672 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18674 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18676 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18677 (gdb-var-update-handler): Use json parsing.
18679 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18681 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18682 decode annotated text, regardless of language environment. (Bug#2741)
18684 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18686 * Makefile.in (autoloads): Make rmail.el writable as well.
18688 2009-09-11 Glenn Morris <rgm@gnu.org>
18690 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18692 * dired.el: Regenerate with extracted autoloads.
18693 * Makefile.in (autoloads): Make dired.el writable.
18695 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18696 * ibuffer.el: Regenerate with extracted autoloads.
18697 * Makefile.in (autoloads): Make ibuffer.el writable.
18699 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18700 * version.el (emacs-copyright, emacs-major-version)
18701 (emacs-minor-version): Reformat doc-strings for make-docfile.
18703 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18704 functions and variables, since they must be stuff specific to some other
18706 (apropos-print): Make mouse-click message less specific about button.
18708 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18709 that records where a macro was defined.
18710 * help-fns.el (describe-function-1): Mention if a function has a
18712 * help-mode.el (help-function-cmacro): New button.
18714 * locate.el (top-level): Always require dired.
18715 (locate-mode-map): Initialize inside the defvar.
18717 * net/ange-ftp.el (dired-compress-file): Declare.
18718 (ange-ftp-dired-compress-file): Add doc string.
18720 * term/ns-win.el (x-display-name, x-setup-function-keys):
18721 Unify doc-strings with X versions.
18723 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18725 * emulation/crisp.el (crisp-mode-map): Move initialization
18727 (crisp-mode): Use define-minor-mode.
18729 * progmodes/xscheme.el (xscheme-evaluation-commands):
18730 Put a :advertised-binding property rather than using
18731 advertised-xscheme-send-previous-expression.
18732 (advertised-xscheme-send-previous-expression): Declare obsolete.
18733 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18735 (crisp-mode): Add corresponding bindings to
18736 undo's :advertised-binding instead.
18737 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18738 than using dired-advertised-find-file.
18739 (dired-advertised-find-file):
18740 * simple.el (advertised-undo):
18741 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18742 (widget-keymap): Put a :advertised-binding property rather
18743 than using advertised-widget-backward.
18744 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18745 than using advertised-undo.
18746 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18748 2009-09-10 Simon South <ssouth@slowcomputing.org>
18750 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18751 Mark mode is enabled and region is active; otherwise indent or
18752 insert TAB as usual.
18753 (delphi-mode): Update description of TAB-key binding.
18755 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18757 * subr.el (define-key-rebound-commands): Mark obsolete.
18758 * startup.el (precompute-menubar-bindings): Remove.
18759 (normal-top-level): Remove obsolete code that tried to precompute
18761 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18762 define-key-rebound-commands and precompute-menubar-bindings.
18764 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18766 * net/imap.el (imap-interactive-login): Better messages.
18767 (imap-open): Fix bug with renamed buffer on reconnect.
18768 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18769 for easier debugging and cleaner code. On successful (guessed based on
18770 server capabilities) secondary authentication, set imap-state
18772 (imap-last-authenticator): Define imap-last-authenticator as a variable
18775 2009-09-10 Glenn Morris <rgm@gnu.org>
18777 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18779 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18780 (byte-compile-file-form-autoload): Don't warn about unknown functions
18781 where the autoload statement comes after the use.
18782 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18783 that any handlers inside the body (eg require) are in turn respected.
18785 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18788 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18789 and syntax and abbrev tables basic docs, if they don't have any.
18791 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18793 * international/mule-cmds.el (top-level): Require cl when compiling.
18794 (view-hello-file): Use default-value rather than
18795 default-enable-multibyte-characters.
18797 * progmodes/fortran.el: Move all safe and risky properties into the
18800 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18801 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18802 * mail/undigest.el:
18803 Put autoloads in rmail.el rather than loaddefs.el.
18804 * mail/rmail.el: Regenerate with extracted autoloads.
18806 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18807 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18809 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18811 Reported in thread for Bug#4375.
18812 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18813 "-data-evaluate-expression" instead of print.
18814 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18815 (gdb-tooltip-print): Parse output from above MI command.
18816 (gdb): Revert 2009-08-11 change. User should detach inferior
18819 Remove the word "separate" from IO functions as inferior
18820 output is now never displayed in the GUD buffer.
18822 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18824 * startup.el (command-line-normalize-file-name): On Windows and
18825 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18827 2009-09-10 Juri Linkov <juri@jurta.org>
18829 * isearch.el (isearch-text-char-description): Propertize escape
18830 character sequences with the `escape-glyph' face. (Bug#4344)
18832 * simple.el (shell-command): Set asynchronous process filter to
18833 `comint-output-filter'. (Bug#4343)
18835 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18836 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18837 the list. Move "asm" to the bottom.
18838 (grep-find-ignored-directories): Add `choice' with nil value
18839 to empty the list easily.
18840 (grep-find-ignored-files): New option.
18841 (grep-files-history): Set to nil by default instead of '("ch" "el").
18842 (grep-compute-defaults): Add "<X>" to `grep-template'.
18843 (grep-read-files): Bind new local variables `default-alias' and
18844 `default-extension'. Use a list of default values for the file prompt.
18845 (lgrep): Add `--exclude=' command line options composed from
18846 `grep-find-ignored-files'.
18847 (rgrep): Add `-name' command line options composed from
18848 `grep-find-ignored-files'. (Bug#4301)
18850 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18852 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18855 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18857 * calendar/time-date.el (autoload):
18858 Expand define-obsolete-function-alias into defalias and make-obsolete
18859 for old Emacsen that Gnus supports.
18860 (with-no-warnings): Define it for old Emacsen.
18861 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18863 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18864 float-time is available; suppress compile warning for time-to-seconds.
18866 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18868 * net/imap.el (imap-message-map): Docstring fix.
18870 2009-09-09 Glenn Morris <rgm@gnu.org>
18872 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18873 line numbers too. (Bug#4374)
18875 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18877 * smerge-mode.el (smerge-remove-props, smerge-refine):
18878 Use with-silent-modifications (bug#4342).
18880 * subr.el (with-silent-modifications): New macro.
18882 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18884 * files.el (top-level): Require `cl' when compiling.
18886 2009-09-07 Glenn Morris <rgm@gnu.org>
18888 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18890 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18891 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18893 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18895 * vc-git.el (vc-git-annotate-command): Use separator to parse
18896 arguments correctly.
18898 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18900 * proced.el (proced-mode): Doc fix.
18902 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18904 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18906 (tramp-do-file-attributes-with-ls): Check for file existence at
18908 (tramp-do-file-attributes-with-stat): Likewise.
18909 (tramp-convert-file-attributes): Return nil when attr is nil.
18911 2009-09-05 Glenn Morris <rgm@gnu.org>
18913 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18914 properties to this button.
18915 (diary-fancy-display): Don't extend the button to the final newline.
18916 (diary-fancy-display-mode): Continue to define "q" as a local key.
18918 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18921 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18923 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18924 (byte-compile-dest-file-function): New option.
18925 (byte-compile-dest-file): Doc fix.
18926 Obey byte-compile-dest-file-function.
18927 (byte-compile-cl-file-p): New function.
18928 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18929 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18930 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18931 than for file being previously loaded.
18932 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18933 (byte-compile-file-form-require): Handle the case where requiring a file
18934 indirectly causes CL to be loaded.
18936 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18938 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18939 before killing the old buffer, since by the time `kill-buffer' is
18940 run so many buffer variables have been set to nil that it may not
18941 behave as expected. (Bug#4061)
18943 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18945 * files.el (find-alternate-file): If the old buffer is modified
18946 and visiting a file, behave similarly to `kill-buffer' when
18947 killing it, thus reverting to the pre-1.878 behavior; see
18948 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18949 for discussion. Also, consult `buffer-file-name' as a variable
18950 not as a function, for consistency with the rest of the code.
18952 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18954 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18955 also when adding a new directory.
18957 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18960 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18962 * files.el (locate-file-completion-table): Make it provide boundary
18963 information, so partial-completion works better.
18965 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18967 * mail/footnote.el (Footnote-text-under-cursor):
18968 Check footnote-text-marker-alist before using it (bug#4324).
18970 2009-09-04 Glenn Morris <rgm@gnu.org>
18972 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18973 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18974 * play/solitaire.el, play/tetris.el:
18975 Remove leading * from defcustom and defface docs.
18977 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18979 (diary-fancy-overriding-map): New variable.
18980 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18983 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18986 2009-09-03 Glenn Morris <rgm@gnu.org>
18988 * arc-mode.el (archive-mode):
18989 * dos-fns.el (set-default-process-coding-system):
18990 * man.el (Man-getpage-in-background):
18991 * menu-bar.el (menu-bar-describe-menu):
18992 * server.el (server-process-filter):
18993 * startup.el (command-line):
18994 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18995 * w32-fns.el (set-default-process-coding-system):
18996 * x-dnd.el (x-dnd-handle-file-name):
18997 * international/mule-cmds.el (mule-menu-keymap)
18998 (set-default-coding-systems, language-info-alist, set-language-info)
18999 (set-language-environment, standard-display-european-internal)
19000 (set-locale-environment):
19001 * international/mule-diag.el (mule-diag):
19002 * mail/emacsbug.el (report-emacs-bug):
19003 * mail/rmail.el (rmail-mode):
19004 * mail/sendmail.el (mail-setup):
19005 Use default-value rather than default-enable-multibyte-characters.
19007 * progmodes/f90.el: Move all safe properties into the defcustoms.
19008 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19010 * calendar/appt.el (appt-check):
19011 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19012 (diary-check-diary-file, diary-list-entries)
19013 (diary-include-other-diary-files, diary-simple-display)
19014 (diary-fancy-display, diary-print-entries)
19015 (diary-mark-included-diary-files, diary-make-entry):
19016 Don't call substitute-in-file-name on diary-file.
19018 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19019 Stefan Monnier <monnier@iro.umontreal.ca>
19021 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19022 (footnote-mode-map): Move initialization into the declaration.
19023 (footnote-minor-mode-map): Define it rather than changing global-map.
19024 (footnote-mode): Use define-minor-mode.
19026 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19028 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19029 (tramp-do-file-attributes-with-perl)
19030 (tramp-do-file-attributes-with-stat): Rename from
19031 `tramp-handle-file-attributes-with-*'.
19032 (tramp-handle-file-attributes): Use them.
19033 (tramp-do-directory-files-and-attributes-with-perl)
19034 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19035 `tramp-handle-directory-files-and-attributes-with-*'.
19036 (tramp-handle-directory-files-and-attributes): Use them.
19037 (tramp-method-out-of-band-p): Additional parameter SIZE.
19038 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19039 (tramp-handle-write-region): Use it.
19040 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19041 (tramp-handle-vc-registered): Check, whether the first run did
19042 return files to be tested.
19043 (tramp-advice-make-auto-save-file-name): Do not call directly
19044 `tramp-handle-make-auto-save-file-name', because this would bypass
19045 the locking mechanism.
19047 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19048 (file-remote-p, process-file, start-file-process, set-file-times)
19049 (tramp-compat-file-attributes): Compatibility functions shall not
19050 call directly `tramp-handle-*', because this would bypass the
19052 (tramp-compat-number-sequence): New defun.
19054 2009-09-02 Glenn Morris <rgm@gnu.org>
19056 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19057 alias for float-time.
19058 (time-to-number-of-days): In Emacs, use float-time.
19059 * net/newst-backend.el (time-add): Suppress warnings from compat
19061 * time.el (emacs-uptime, emacs-init-time):
19062 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19063 Use float-time rather than time-to-seconds.
19065 * minibuffer.el (completion-initials-expand): Fix typo.
19067 * faces.el (modeline, modeline-inactive, modeline-highlight)
19068 (modeline-buffer-id):
19069 * info.el (info-menu-5): Mark these face aliases as obsolete.
19071 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19073 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19075 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19076 no "--thread" option.
19077 (gdb-stopped): Don't print "Switched to thread" message when it is
19080 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19082 * minibuffer.el (completion-try-completion)
19083 (completion-all-completions): Remove ill-defined (and
19084 mistakenly installed and luckily never used nor documented)
19085 `completion-styles' property.
19086 (completion-initials-expand, completion-initials-all-completions)
19087 (completion-initials-try-completion): New functions.
19088 (completion-styles-alist): Add doc to each entry.
19089 Add new `initials' entry.
19091 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19093 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19094 MI command -var-evaluate-expression.
19095 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19096 and tweak for case of string child.
19097 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19099 2009-09-01 Glenn Morris <rgm@gnu.org>
19101 * add-log.el (change-log-date-face, change-log-name-face)
19102 (change-log-email-face, change-log-file-face, change-log-list-face)
19103 (change-log-conditionals-face, change-log-function-face)
19104 (change-log-acknowledgement-face):
19105 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19106 (custom-modified-face, custom-set-face, custom-changed-face)
19107 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19108 (custom-documentation-face, custom-state-face, custom-comment-face)
19109 (custom-comment-tag-face, custom-variable-tag-face)
19110 (custom-variable-button-face, custom-face-tag-face)
19111 (custom-group-tag-face-1, custom-group-tag-face):
19112 * diff-mode.el (diff-header-face, diff-file-header-face)
19113 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19114 (diff-added-face, diff-changed-face, diff-function-face)
19115 (diff-context-face, diff-nonexistent-face):
19116 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19117 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19118 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19119 (Info-title-4-face):
19120 * isearch.el (isearch-lazy-highlight-face):
19121 * log-view.el (log-view-file-face, log-view-message-face):
19122 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19123 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19124 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19126 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19127 (smerge-base-face, smerge-markers-face):
19128 * wid-edit.el (widget-documentation-face, widget-button-face)
19129 (widget-field-face, widget-single-line-field-face)
19130 (widget-inactive-face, widget-button-pressed-face):
19131 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19132 (woman-addition-face):
19133 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19134 (eshell-ls-executable-face, eshell-ls-readonly-face)
19135 (eshell-ls-unreadable-face, eshell-ls-special-face)
19136 (eshell-ls-missing-face, eshell-ls-archive-face)
19137 (eshell-ls-backup-face, eshell-ls-product-face)
19138 (eshell-ls-clutter-face):
19139 * eshell/em-prompt.el (eshell-prompt-face):
19140 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19141 * obsolete/old-whitespace.el (whitespace-highlight-face):
19142 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19143 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19144 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19145 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19146 (antlr-font-lock-literal-face):
19147 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19148 (ebrowse-root-class-face, ebrowse-file-name-face)
19149 (ebrowse-default-face, ebrowse-member-attribute-face)
19150 (ebrowse-member-class-face, ebrowse-progress-face):
19151 * progmodes/make-mode.el (makefile-space-face):
19152 * progmodes/sh-script.el (sh-heredoc-face):
19153 * textmodes/flyspell.el (flyspell-incorrect-face)
19154 (flyspell-duplicate-face):
19155 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19156 * textmodes/texinfo.el (texinfo-heading-face):
19157 Mark face aliases with "-face" suffix as obsolete.
19159 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19162 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19163 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19164 easy-menu-define wants to modify these.
19166 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19168 * net/browse-url.el (browse-url-file-url):
19169 * term/internal.el (dos-codepage-setup):
19170 Use default-value rather than default-enable-multibyte-characters.
19172 * progmodes/etags.el (etags-goto-tag-location):
19173 * progmodes/flymake.el (flymake-highlight-line)
19174 (flymake-goto-file-and-line, flymake-goto-line):
19175 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19176 (gdb-goto-breakpoint):
19177 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19178 * progmodes/python.el (python-find-function)
19179 (python-pdbtrack-track-stack-file):
19180 * progmodes/verilog-mode.el (verilog-surelint-off):
19181 * term/ns-win.el (ns-open-file-select-line):
19182 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19183 Use forward-line rather than goto-line.
19185 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19186 * textmodes/reftex-index.el (reftex-display-index):
19187 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19188 * textmodes/reftex-toc.el (reftex-toc):
19189 Remove unnecessary bindings of default-major-mode (all are followed by
19190 major-mode check and possible mode switch).
19192 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19194 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19195 Handle watchpoints (bug#4282).
19196 (def-gdb-thread-buffer-command): Enable thread to be selected by
19197 clicking without selecting threads buffer first.
19198 (gdb-current-context-command): Use selected frame so that "up",
19199 "down" etc work in the GUD buffer.
19200 (gdb-update): Find selected frame before rendering stack buffer.
19201 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19203 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19205 * progmodes/sym-comp.el (displayed-completions): Remove.
19206 (symbol-complete): Use minibuffer-complete.
19208 2009-08-31 Glenn Morris <rgm@gnu.org>
19210 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19212 * apropos.el (apropos-symbols-internal):
19213 Handle (obsolete) face aliases.
19215 * faces.el (describe-face): Adjust the output format to be more like
19216 describe-variable, and to mention (obsolete) face aliases.
19217 Adjust the whitespace so that help-setup-xref works.
19219 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19220 * calendar/diary-lib.el (diary-button-face):
19221 Mark these face aliases as obsolete.
19223 * calendar/calendar.el (calendar-today): Doc fix.
19225 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19227 * progmodes/gdb-mi.el (gdb-control-all-threads)
19228 (gdb-control-current-thread): Force tool bar update.
19229 (gdb-non-stop-handler): New function.
19230 (gdb-init-1): Use it to test if non-stop mode is supported.
19231 Remove unused gdbmi buffer type.
19233 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19235 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19236 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19238 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19240 * comint.el (comint-exec-1): Check command is non-null first.
19241 Part of gdb-mi.el change (2009-08-28).
19243 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19245 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19247 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19249 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19250 instead of `dolist' to avoid a recursive require when bootstrapping.
19252 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19254 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19256 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19258 * net/imap.el (imap-send-command): Simplify.
19259 (imap-wait-for-tag): point-max -> buffer-size.
19261 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19263 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19264 with constant argument.
19266 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19268 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19270 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19271 Change default, since most of our files don't have a history.
19272 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19275 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19278 * calc/calc.el: Improve commenting convention.
19279 (calc-digit-map, toplevel): Simplify.
19281 * comint.el (comint-insert-input): Be careful to only set point if we
19282 don't delegate to some other command.
19284 * proced.el (proced-signal-list): Make it an alist.
19285 (proced-grammar-alist): Capitalize names.
19286 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19287 Disable undo manually and make it read-only.
19288 Use completion-annotate-function.
19290 * minibuffer.el (minibuffer-message): If the current buffer is not
19291 a minibuffer, insert the message in the echo area rather than at the
19293 (completion-annotate-function): New variable.
19294 (minibuffer-completion-help): Use it.
19295 (completion--embedded-envvar-table): Environment vars are
19296 always case-sensitive.
19298 2009-08-30 Glenn Morris <rgm@gnu.org>
19300 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19301 from fortran-current-defun.
19302 (fortran-beginning-of-subprogram): Be more precise about finding the
19303 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19304 (fortran-end-of-subprogram): Simplify.
19305 (fortran-current-defun): Use fortran-start-prog-re.
19307 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19309 * subr.el (do-after-load-evaluation): Simplify.
19311 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19313 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19315 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19316 (vc-rcs-print-log): Use it.
19318 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19320 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19322 * paths.el (abbrev-file-name): Move to abbrev.el.
19323 * abbrev.el (abbrev-file-name): Move from paths.el.
19324 Obey user-emacs-directory.
19325 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19326 user-emacs-directory.
19327 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19328 abbrev-file-name and calc-settings-file any more.
19329 * startup.el (command-line): Recompute abbrev-file-name and
19330 abbreviated-home-dir.
19331 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19332 of the special code for when C-h bindings haven't been changed.
19333 (display-startup-echo-area-message): Use with-current-buffer.
19334 (command-line-1): Use a list of strings, rather than a list of lists
19335 of strings for longopts.
19337 * files.el (get-free-disk-space): Use / for default-directory.
19339 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19340 Use with-current-buffer.
19342 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19343 Recognize immutable variables like most-positive-fixnum.
19344 (byte-compile-setq-default): Check and warn if trying to assign
19345 to an immutable variable, or a non-variable.
19347 * progmodes/cc-vars.el (c-comment-continuation-stars):
19348 * progmodes/cc-engine.el (c-looking-at-bos):
19349 * progmodes/cc-cmds.el (c-toggle-auto-state)
19350 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19351 (c-comment-line-break-function): Add version of obsolescence.
19353 2009-08-28 Juri Linkov <juri@jurta.org>
19355 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19356 associated with `archive-mode'.
19358 * image.el (image-type-header-regexps): Use only JPEG magic number
19359 to determine JPEG images, and don't use `image-jpeg-p' because
19360 Emacs can display non-JFIF non-Exif JPEG images.
19362 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19364 * arc-mode.el (archive-mode):
19365 * emacs-lisp/re-builder.el (re-builder-unload-function):
19366 Protect against the default value of `major-mode' being nil.
19368 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19370 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19371 Fix typos in docstrings.
19373 * progmodes/js.el (js--macro-decl-re): Doc fix.
19374 (js--plain-method-re, js--split-name): Refloc docstring.
19375 (js--class-styles, js--make-merged-item, js--splice-into-items):
19376 Fix typos in docstrings; reflow docstrings.
19377 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19378 (js--variable-decl-matcher, js--inside-pitem-p)
19379 (js--parse-state-at-point, js--get-all-known-symbols)
19380 (js--symbol-history, js-find-symbol, js--js-references)
19381 (js--moz-interactor, js--js-encode-value, js--read-tab):
19382 Fix typos in docstrings.
19384 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19386 * textmodes/reftex.el (reftex-get-file-buffer-force):
19387 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19388 * emulation/viper.el (viper-go-away, viper-set-hooks):
19389 * emacs-lisp/re-builder.el (re-builder-unload-function):
19390 * emacs-lisp/bytecomp.el (byte-compile-file):
19391 * ses.el (ses-unload-function):
19392 * hexl.el (hexl-find-file):
19393 * files.el (normal-mode):
19394 * ehelp.el (with-electric-help):
19395 * autoinsert.el (auto-insert-alist):
19396 * arc-mode.el (archive-mode):
19397 Use (default-value 'major-mode) instead of default-major-mode.
19399 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19400 * international/mule.el (load-with-code-conversion):
19401 * emacs-lisp/debug.el (debug):
19402 * ediff-vers.el (ediff-rcs-get-output-buffer):
19403 * dired.el (dired-internal-noselect): Don't let-bind
19404 default-major-mode around code that doesn't use it.
19405 E.g. buffer creation via get-buffer-create doesn't use it.
19407 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19409 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19410 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19411 when writing the temp file. Otherwise, epa-file gets confused.
19412 (tramp-register-file-name-handlers): Make it a defun. Move also
19413 `epa-file-handler' to the front of `file-name-handler-alist'.
19415 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19417 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19418 start right after a ^M.
19419 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19420 (tramp-completion-file-name-regexp-separate)
19421 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19422 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19423 Don't modify last-coding-system-used by accident.
19424 (tramp-completion-file-name-handler): Apply the checks here,
19425 instead during registration.
19426 (tramp-register-file-name-handlers): Rename from
19427 `tramp-register-file-name-handler'. Register both
19428 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19429 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19431 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19433 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19434 Remove variable ...
19435 (gdb-init-1, gdb-display-separate-io-buffer)
19436 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19438 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19439 (gdb-inferior-filter): Use comint-output-filter to stop
19440 echoing and remove ^M characters.
19442 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19444 * emulation/viper-init.el (viper-restore-cursor-type):
19445 * emulation/cua-base.el (cua--update-indications):
19446 Replace default-cursor-type with (default-value 'cursor-type).
19448 * mail/sendmail.el (mail-recover-1):
19449 * international/mule-diag.el (describe-current-coding-system-briefly)
19450 (describe-current-coding-system):
19451 * international/mule-cmds.el (select-safe-coding-system)
19452 (select-message-coding-system)
19453 (set-language-environment-coding-systems, set-locale-environment):
19454 * hexl.el (hexl-insert-multibyte-char):
19455 * dos-w32.el (find-buffer-file-type-coding-system):
19456 * simple.el (what-cursor-position):
19457 Replace uses of default-buffer-file-coding-system
19458 with (default-value 'buffer-file-coding-system).
19460 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19461 Replace uses of default-cursor-in-non-selected-windows
19462 with (default-value 'cursor-in-non-selected-windows).
19463 Use with-current-buffer.
19465 * mail/feedmail.el: Use CL macros.
19466 (feedmail-run-the-queue, feedmail-send-it-immediately):
19467 * dos-w32.el (find-buffer-file-type): Replace uses of
19468 default-buffer-file-type with (default-value 'buffer-file-type).
19470 2009-08-28 Glenn Morris <rgm@gnu.org>
19472 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19473 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19474 Use default-value of major-mode rather than default-major-mode.
19476 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19478 * Makefile.in (update-elcfiles): Report left over elc files.
19480 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19481 expand-file-name and with-current-buffer.
19482 (mail-get-names, mail-directory): Use with-current-buffer.
19484 * vc.el (vc-read-revision): New function.
19485 (vc-version-diff, vc-merge): Use it.
19487 2009-08-27 Sam Steingold <sds@gnu.org>
19489 * simple.el (kill-do-not-save-duplicates): New user option.
19490 (kill-new): When it is non-nil, and the new string is the same as
19491 the latest kill, set replace to t to avoid duplicates in kill-ring.
19493 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19495 * net/tramp.el (tramp-handle-process-file): Do not flush all
19496 caches when `process-file-side-effects' is set.
19497 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19498 instead of `tramp-find-file-exists-command'.
19499 Unset `process-file-side-effects'.
19501 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19503 * net/tramp.el (tramp-methods): New method "rsyncc".
19504 (top): Add completion function for "rsyncc".
19505 (tramp-message-show-message): New defvar.
19506 (tramp-message, tramp-error): Use it.
19507 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19509 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19510 `tramp-methods' entry `copy-env' of "rsyncc".
19511 (tramp-vc-registered-read-file-names): New defconst.
19512 (tramp-vc-registered-file-names): New defvar.
19513 (tramp-handle-vc-registered): Implement optimization strategy.
19514 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19515 (tramp-vc-file-name-handler): New defun.
19516 (tramp-get-ls-command, tramp-get-test-command)
19517 (tramp-get-file-exists-command, tramp-get-remote-ln)
19518 (tramp-get-remote-perl, tramp-get-remote-stat)
19519 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19521 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19522 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19524 (tramp-get-file-property): Check for timestamps in
19525 `tramp-cache-inhibit-cache'.
19526 (tramp-set-file-property): Write timestamp.
19528 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19530 * language/japan-util.el (japanese-symbol-table): Add entries for
19533 * international/characters.el: Add category `j' to cp932-2-byte.
19535 2009-08-27 Kenichi Handa <handa@m17n.org>
19537 * international/fontset.el (build-default-fontset-data): New macro.
19538 (setup-default-fontset): Use build-default-fontset-data for CJK,
19539 tibetan, ethiopic, and ipa.
19541 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19543 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19544 (enable-multibyte-characters): Not customizable any more.
19546 * subr.el (default-mode-line-format, default-header-line-format)
19547 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19548 (default-direction-reversed, default-truncate-lines)
19549 (default-left-margin, default-tab-width, default-case-fold-search)
19550 (default-left-margin-width, default-right-margin-width)
19551 (default-left-fringe-width, default-right-fringe-width)
19552 (default-fringes-outside-margins, default-scroll-bar-width)
19553 (default-vertical-scroll-bar, default-indicate-empty-lines)
19554 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19555 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19556 (default-scroll-down-aggressively, default-fill-column)
19557 (default-cursor-type, default-buffer-file-type)
19558 (default-cursor-in-non-selected-windows)
19559 (default-buffer-file-coding-system, default-major-mode)
19560 (default-enable-multibyte-characters): Mark as obsolete.
19562 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19564 * vc-dir.el (vc-dir-update): Remove debug helper.
19566 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19568 2009-08-26 Sam Steingold <sds@gnu.org>
19570 * simple.el (save-interprogram-paste-before-kill): New user option.
19571 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19572 save the interprogram-paste into kill-ring before overriding it
19573 with the Emacs kill.
19575 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19577 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19578 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19579 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19580 and move to vc-rcs.el.
19581 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19583 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19584 (vc-rcs-update-changelog): Remove.
19585 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19586 and move to vc-rcs.el.
19588 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19589 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19591 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19592 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19593 vc.el, renamed to be RCS specific.
19595 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19597 (vc-cvs-update-changelog): Move here from vc.el.
19599 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19602 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19604 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19606 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19608 * vc-git.el (vc-git-register): Use "git add" for directories.
19609 (vc-git-stash, vc-git-stash-show): New functions.
19610 (vc-git-extra-menu-map): Bind them.
19612 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19613 directory correctly in case the item is a directory itself.
19615 * vc.el: Document the desired behavior for reverted files in the
19617 (vc-default-prettify-state-info): Remove function, unused.
19619 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19621 2009-08-26 Glenn Morris <rgm@gnu.org>
19623 * bindings.el (standard-mode-line-format): Reposition dashes in
19624 which-func entry. (Bug#4217)
19626 * files.el (enable-local-variables, enable-local-eval)
19627 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19629 (auto-mode-alist, ignored-local-variables)
19630 (save-some-buffers-action-alist): Move risky declarations to the
19632 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19633 (font-lock-defaults, format-alist, imenu--index-alist)
19634 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19635 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19636 (mode-line-modified, mode-line-mule-info, mode-line-position)
19637 (mode-line-process, mode-line-remote, outline-level)
19638 (parse-time-rules, rmail-output-file-alist)
19639 (special-display-buffer-names, vc-mode):
19640 Move risky declarations to the relevant files.
19641 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19642 (mode-line-modified, mode-line-process, mode-line-position)
19643 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19644 * font-core.el (font-lock-defaults):
19645 * format.el (format-alist):
19646 * vc-hooks.el (vc-mode):
19647 * window.el (special-display-buffer-names):
19648 * international/mule-cmds.el (input-method-alist):
19649 Define riskiness here (dumped file) rather than in files.el.
19650 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19651 * imenu.el (imenu-generic-expression, imenu--index-alist):
19652 * outline.el (outline-level):
19653 * time.el (display-time-string):
19654 * calendar/parse-time.el (parse-time-rules):
19655 * mail/rmailout.el (rmail-output-file-alist):
19656 Autoload riskiness here, rather than placing in files.el.
19658 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19660 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19662 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19664 * simple.el (process-file-side-effects): New defvar.
19666 * dired-aux.el (dired-show-file-type):
19667 * vc.el (vc-diff-internal):
19668 * vc-arch.el (vc-arch-diff):
19669 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19670 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19671 * vc-git.el (vc-git-registered, vc-git-working-revision)
19672 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19673 (vc-git--empty-db-p):
19674 * vc-hooks.el (vc-user-login-name):
19675 * vc-svn.el (vc-svn-registered, vc-svn-state)
19676 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19677 * progmodes/grep.el (grep-probe): Let-bind
19678 `process-file-side-effects' with nil.
19680 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19682 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19683 daemon. Replace ping by checking for running service for bluez
19684 and zeroconf. (Bug#4239)
19686 2009-08-25 Kevin Ryde <user42@zip.com.au>
19688 * net/dig.el (dig): Add autoload cookie.
19690 2009-08-25 Glenn Morris <rgm@gnu.org>
19692 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19693 load-history for absolute file-names.
19694 (byte-compile-file-form-require): Warn about use of the cl package.
19696 * format.el (format-alist): Doc fix.
19698 * play/bubbles.el (top-level): Don't require cl at run-time.
19700 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19703 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19705 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19707 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19709 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19711 * calc/calc-alg.el (math-trig-rewrite)
19712 (math-hyperbolic-trig-rewrite): New functions.
19713 (calc-simplify): Simplify trig functions when asked.
19715 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19717 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19719 2009-08-24 Kenichi Handa <handa@m17n.org>
19721 * language/ind-util.el (mapthread): Delete it.
19722 (combinatorial): New function.
19723 (indian--puthash-cv): Use combinatorial instead of mapthread.
19725 2009-08-22 Kevin Ryde <user42@zip.com.au>
19727 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19728 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19729 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19730 Clarify docstring that the value is strings not symbols.
19731 (checkdoc-list-of-strings-p): New function.
19733 2009-08-22 Glenn Morris <rgm@gnu.org>
19735 * files.el (auto-mode-alist):
19736 * hippie-exp.el (he-concat-directory-file-name):
19737 * lpr.el (lpr-windows-system, printer-name):
19738 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19739 * ps-print.el (ps-windows-system):
19740 * startup.el (command-line):
19741 * emulation/viper-ex.el (viper-glob-function):
19742 * international/mule-cmds.el (set-language-environment-coding-systems):
19743 * net/ange-ftp.el (ange-ftp-write-region):
19744 * obsolete/fast-lock.el (fast-lock-cache-name):
19745 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19746 unisoft-unix, vax-vms, win32, w32.
19748 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19749 given name if the pattern is not more specific.
19751 * calendar/lunar.el (lunar-phase-names): New option.
19752 (lunar-phase): Doc fix.
19753 (lunar-cycles-per-year): New constant.
19754 (lunar-index): New function.
19755 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19756 (lunar-phase-name): Use lunar-phase-names.
19757 (calendar-lunar-phases): Use format.
19758 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19760 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19761 Copy imenu-example--name-and-position function here for own use.
19762 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19764 * bs.el (bs--redisplay):
19765 * cus-edit.el (custom-redraw):
19766 * ibuffer.el (ibuffer-bury-buffer):
19767 * server.el (server-goto-line-column):
19768 * startup.el (command-line-1):
19769 * strokes.el (strokes-xpm-for-stroke):
19770 * term.el (term-display-buffer-line):
19771 * view.el (View-goto-line):
19772 * calc/calc.el (calc-do, calc-trail-buffer):
19773 * play/gamegrid.el (gamegrid-add-score-insecure):
19774 * progmodes/ada-mode.el (ada-compile-goto-error):
19775 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19776 (ebrowse-select-1st-to-9nth):
19777 * progmodes/cperl-mode.el (cperl-time-fontification):
19778 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19779 * progmodes/gud.el (gud-display-line):
19780 (idlwave-shell-display-line):
19781 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19782 * progmodes/make-mode.el (makefile-browser-toggle):
19783 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19784 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19785 * textmodes/picture.el (picture-draw-rectangle):
19786 * textmodes/reftex-index.el (reftex-index-goto-letter):
19787 (reftex-select-jump-to-previous):
19788 * textmodes/reftex-sel.el (reftex-find-start-point)
19789 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19790 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19791 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19792 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19793 * textmodes/two-column.el (2C-associated-buffer):
19794 Use forward-line rather than goto-line.
19796 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19799 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19800 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19801 (quick-check-list-to-regexp): Declare.
19803 * progmodes/make-mode.el (makefile-browser-insert-selection):
19804 Use goto-char rather than goto-line.
19806 * progmodes/prolog.el (compilation-error-regexp-alist)
19807 (compilation-forget-errors): Declare.
19809 2009-08-22 Juri Linkov <juri@jurta.org>
19811 * progmodes/grep.el (lgrep, rgrep): At the beginning
19812 set `dir' to `default-directory' unless `dir' is a non-nil
19813 readable directory. (Bug#4052)
19814 (lgrep, rgrep): Change a weird way to report an error
19815 from using `read-string' to using `error'.
19816 Instead of using interactive arguments in the function body,
19817 add new argument `confirm'.
19819 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19821 * textmodes/remember.el (remember-buffer):
19822 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19823 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19824 (icalendar-extract-ical-from-buffer):
19825 * net/newst-treeview.el (newsticker-groups-filename):
19826 * net/newst-backend.el (newsticker-cache-filename):
19827 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19828 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19829 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19830 (speedbar-buffers-line-path, speedbar-path-line)
19831 (speedbar-buffers-line-path):
19832 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19834 * epa.el (epa-display-verify-result):
19835 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19837 2009-08-21 Glenn Morris <rgm@gnu.org>
19839 * progmodes/js.el (inferior-moz-process): Fix declaration.
19841 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19843 * obsolete/rnewspost.el (news-mail-reply):
19844 Use goto-char rather than goto-line.
19846 * term/ns-win.el (ns-open-file-select-line):
19847 Use line-beginning-position rather than goto-line.
19849 * apropos.el (apropos-command):
19850 * ehelp.el (electric-helpify):
19851 * printing.el (pr-show-setup):
19852 * strokes.el (strokes-help):
19853 * tutorial.el (tutorial--describe-nonstandard-key)
19854 (tutorial--detailed-help):
19855 * woman.el (woman-mini-help, woman-display-extended-fonts):
19856 * calc/calc-help.el (calc-describe-key):
19857 * emulation/edt.el (edt-electric-helpify):
19858 * international/mule-diag.el (mule-diag):
19859 * play/yow.el (apropos-zippy):
19860 * progmodes/python.el (python-describe-symbol):
19861 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19862 * textmodes/table.el (*table--cell-describe-mode)
19863 (*table--cell-describe-bindings):
19864 Use help-print-return-message rather than the now obsolete alias.
19866 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19867 (calendar-cursor-to-visible-date):
19868 * play/5x5.el (5x5-position-cursor):
19869 * play/decipher.el (decipher):
19870 * play/gomoku.el (gomoku-goto-xy):
19871 * play/landmark.el (lm-goto-xy):
19872 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19873 (mpuz-paint-digit):
19874 Use forward-line, not goto-line.
19876 * mail/rmail.el (rmail-obsolete): Delete custom group.
19877 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19878 (rmail-remote-password, rmail-remote-password-required):
19879 Remove unneeded :set-after and :set properties.
19881 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19883 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19885 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19887 * loadup.el: Remove leftover macos code.
19889 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19890 Explicitly pass the date format to git blame so that user local
19891 so that the output format can be parsed.
19893 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19895 * net/dbus.el (top): Don't check for (getenv
19896 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19898 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19900 * log-edit.el (log-edit-strip-single-file-name): New var.
19901 (log-edit-insert-changelog): Use it. Bug#3571
19903 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19905 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19908 * help.el (help-print-return-message): Rename from
19909 print-help-return-message.
19911 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19912 cvs-mode-map parent hack.
19913 (log-view-mode): Derive from special-mode.
19915 * linum.el (linum-mode): window-size-change-functions is redundant.
19916 Adapt to new window-configuration-change-hook behavior.
19917 (linum-after-size, linum-after-config): Remove.
19919 * imenu.el (imenu-example--name-and-position)
19920 (imenu-example--lisp-extract-index-name)
19921 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19924 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19925 (inferior-prolog-mode): Use it.
19926 (inferior-prolog-load-file): Reset list of errors.
19928 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19930 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19932 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19934 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19936 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19937 is running already.
19939 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19941 * subr.el (listify-key-sequence-1): Use normal syntax since those
19942 integers are nowadays always represented by the same (positive) number
19944 (read-key-empty-map): New const.
19945 (read-key-delay): New var.
19946 (read-key): New function.
19947 (force-mode-line-update): Use with-current-buffer.
19948 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19949 (start-process-shell-command, start-file-process-shell-command):
19950 Discourage the use of command-args.
19952 2009-08-19 Glenn Morris <rgm@gnu.org>
19954 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19956 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19958 * simple.el (choose-completion-string): Don't rely on
19959 minibuffer-completing-file-name and ad-hoc checks to decide whether
19960 to continue completion or not.
19962 * minibuffer.el (minibuffer-hide-completions): New function.
19963 (completion--do-completion): Use it.
19964 (completions-annotations): New face.
19965 (completion--insert-strings): Use it.
19966 (completion-pcm--delim-wild-regex): Add docstring.
19967 (completion-pcm--string->pattern): Add support for 0-width delimiters
19968 in completion-pcm--delim-wild-regex.
19970 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19972 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19973 Remove unused var `buffer-modified-p'.
19975 * minibuffer.el (completion--do-completion): Move point for the #b001
19976 case as well (bug#4176).
19977 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19979 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19981 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19982 and :session buses.
19984 2009-08-18 Kenichi Handa <handa@m17n.org>
19986 * international/ucs-normalize.el (ucs-normalize-version):
19988 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19989 (utf-8-hfs): Make it perform normalization on encoding too.
19991 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19992 (sentence-end-without-space): Delete duplicated chars.
19993 (sentence-end-base): Likewise.
19995 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19996 (html-mode): Delete duplicated chars from sentence-end-base.
19998 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19999 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20001 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20003 * files.el (hack-one-local-variable): If the mode function is for
20004 a minor mode, pass it an argument (Bug#4148).
20006 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20008 * net/tramp.el (tramp-register-completion-file-name-handler):
20009 Check also for (member 'partial-completion completion-styles).
20011 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20013 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20016 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20018 * progmodes/cperl-mode.el: Merge upstream 6.2.
20019 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20020 (cperl-forward-re): Check cperl-brace-recursing.
20021 (cperl-highlight-charclass): New function.
20022 (cperl-find-pods-heres): Use it.
20023 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20024 (cperl-beautify-regexp-piece): Fix column calculation.
20025 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20026 (cperl-beautify-level): Don't process entire regexp.
20027 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20029 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20030 (cperl-init-faces): Build a list in the normal way.
20032 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20034 * calendar/parse-time.el (parse-time-string-chars): Save match
20037 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20039 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20040 (sql-product): Use it.
20041 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20042 (sql-set-product): Add completion.
20043 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20044 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20045 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20046 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20047 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20048 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20049 (sql-highlight-db2-keywords): Remove.
20050 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20051 (sql-highlight-product): Use derived-mode-p.
20052 (sql-set-sqli-buffer): Use with-current-buffer.
20053 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20056 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20058 * term.el: Fix commenting convention, turn comments into docstrings.
20060 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20062 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20064 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20066 * calendar/parse-time.el (parse-time-string-chars): Compute using
20067 character classes, to handle non-ascii characters (Bug#3190).
20069 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20071 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20072 another heredoc if the user adds another < (Bug#3226).
20074 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20075 Don't initialize based on window-system (Bug#4124).
20077 * facemenu.el (facemenu-read-color): Use a completion function
20078 that accepts any defined color, such as RGB triplets (Bug#3677).
20080 * files.el (get-free-disk-space): Change fallback default
20081 directory to /. Expand DIR argument before switching to fallback.
20082 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20084 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20086 * files.el (load-library): Doc fix.
20088 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20090 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20091 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20092 incremental search string.
20094 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20097 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20098 (ediff-merge-region-is-non-clash)
20099 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20100 Also check if the job is really a merge job.
20102 * ediff.el (ediff-current-file): New function.
20104 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20106 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20108 (js-insert-and-indent): Delete function.
20109 (js-mode-map): Don't bind keys to js-insert-and-indent.
20110 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20111 (js-end-of-defun): Rename from js--end-of-defun.
20112 (js-auto-indent-flag): Delete variable.
20114 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20116 * progmodes/js.el: Remove proclaim statement.
20117 Defvar which-func-imenu-joiner-function to silence compiler.
20119 * files.el (auto-mode-alist): Use js-mode for .js files.
20121 * progmodes/js2-mode.el: Remove file.
20123 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20125 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20127 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20129 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20130 Karl Landstrom <karl.landstrom@brgeight.se>
20132 * progmodes/js.el: New file.
20134 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20136 * timezone.el (timezone-parse-date): Add ability to understand ISO
20137 basic format (minimal separators) dates in addition to the
20138 already-supported extended format dates.
20140 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20142 * international/ucs-normalize.el: Add a `coding' file variable.
20144 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20146 2009-08-14 Sam Steingold <sds@gnu.org>
20148 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20150 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20152 * faces.el (help-argument-name): Define it here instead of
20153 help-fns.el, because in daemon mode help-fns.el may be loaded when
20154 faces are still uninitialized (Bug#1078).
20156 * help-fns.el (help-argument-name): Move defface to faces.el.
20158 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20160 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20161 create buffer with a pty but no process so that GDB can make the
20162 inferior the controlling process.
20164 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20166 * international/ucs-normalize.el: New file.
20168 2009-08-13 Richard Stallman <rms@gnu.org>
20170 * mail/rmail.el (rmail-get-attr-names):
20171 Accept an attribute header that is too short.
20173 * mail/rmail.el (rmail-forget-messages):
20174 Ignore nil elt in rmail-message-vector. Use dotimes.
20176 * progmodes/compile.el (compilation-goto-locus):
20177 Use next-error-move-function.
20179 * simple.el (next-error-move-function): New variable.
20181 2009-08-12 Juri Linkov <juri@jurta.org>
20183 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20184 always non-nil. (Bug#4052)
20186 * replace.el (read-regexp): Return empty string when
20187 `default-value' is nil.
20188 (keep-lines-read-args): Don't use empty string as the
20189 default value for `read-regexp'. (Bug#2495)
20191 2009-08-12 Juri Linkov <juri@jurta.org>
20193 * international/mule-cmds.el (ucs-insert): Change arguments
20194 from `arg' to `character', `count', `inherit' to be the same
20195 as in `insert-char'. Doc fix. (Bug#4039)
20197 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20199 2009-08-12 Juri Linkov <juri@jurta.org>
20201 * files-x.el: New file.
20203 * files.el: Move code that deals with adding/deleting
20204 file/directory-local variables to files-x.el.
20206 * Makefile.in (ELCFILES): Add files-x.elc.
20208 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20210 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20211 to use `goto-line'.
20212 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20214 (gdb-invalidate-disassembly): Do not refresh upon receiving
20215 'update signal. Instead, update all disassembly buffers only after
20217 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20218 (gdb-starting): Move -data-list-register-names...
20219 (gdb-stopped): ...here so it's sent when first thread stops.
20220 (gdb-registers-handler-custom): Do nothing if register names are
20223 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20224 from `gdb-mi.el' to avoid extra tangling.
20226 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20227 change which breaks `gud-def' definitions used in `gdb'.
20228 (gdb-update-gud-running): No extra fuss for updating frame number.
20230 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20232 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20233 (describe-language-environment-map, setup-language-environment-map)
20234 (set-coding-system-map): Move initialization into declaration.
20235 (set-language-info-alist): Last arg to define-key-after can be skipped.
20237 * international/quail.el (quail-completion-1): Simplify.
20238 (quail-define-rules): Use slightly more compact code.
20239 (quail-insert-decode-map): Propertize keys, compact columns.
20241 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20244 2009-08-10 Miles Bader <miles@gnu.org>
20246 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20247 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20248 (js2-instance-member, js2-private-member, js2-private-function-call)
20249 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20250 (js2-magic-paren, js2-external-variable):
20251 Remove "-face" suffix from face names.
20252 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20253 (js2-highlight-undeclared-vars, js2-peek-token)
20254 (js2-parse-function-params, js2-mode-show-errors)
20255 (js2-mode-show-warnings, js2-make-magic-delimiter)
20256 (js2-mode-highlight-magic-parens): Update to use new face names.
20258 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20260 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20261 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20263 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20265 * subr.el: Provide hashtable-print-readable.
20267 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20268 hs-c-like-adjust-block-beginning.
20269 (hs-hide-block-at-point): Stop hiding at the beginning of
20270 hs-block-end-regexp (Bug#700).
20272 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20274 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20276 (gdb-registers-handler-custom): Do not fail when register names
20279 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20281 * progmodes/gdb-mi.el (gdb-control-all-threads)
20282 (gdb-control-current-thread): Interactive setters for
20283 `gdb-gud-control-all-threads' to use in menu.
20284 (gdb-show-run-p): Show «Go» when process is not active.
20285 (gud-tool-bar-map): Add non-stop/A,T indicator.
20286 Uses gud/thread.xpm and gud/all.xpm.
20288 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20290 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20291 (nslookup-font-lock-keywords): Make it a variable.
20292 (net-utils-mode): New mode for viewing diagnostic network output.
20293 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20294 (net-utils-run-simple): New function.
20295 (ifconfig, iwconfig, netstat, arp, route): Use it.
20297 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20299 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20300 (gdb-memory-set-address, def-gdb-set-positive-number)
20301 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20302 after changing settings.
20303 (gdb-invalidate-disassembly): Update when first shown.
20304 (gdb-edit-locals-value): Fixed.
20305 (gdb-registers-handler-custom): Print registers in right order and
20306 allow changing register values (only for current thread yet).
20307 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20308 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20309 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20310 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20311 Thread info in mode name.
20312 (gdb-registers-mode-map): TAB to switch to locals.
20314 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20316 * mail/rmail.el (rmail-add-mbox-headers)
20317 (rmail-set-message-counters-counter): Search for
20318 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20320 2009-08-08 Glenn Morris <rgm@gnu.org>
20322 * Makefile.in (ELCFILES): Update.
20324 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20326 * mail/sendmail.el (mail-yank-original):
20327 Set buffer-file-coding-system from the one used by the message whose
20330 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20331 to "windows" when "pgnuplot" is used.
20332 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20333 Don't call accept-process-output if "pgnuplot" is used.
20334 (calc-graph-init): Don't send -display and -geometry to
20335 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20336 running "pgnuplot -V" with shell-command-to-string.
20338 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20341 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20343 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20346 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20348 * vc-dispatcher.el (vc-resynch-window): Update comment.
20350 * term.el (term-handle-ansi-escape): Add comments with the
20351 terminfo capabilities implemented.
20353 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20355 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20356 (gdb-var-create-handler): Rewritten using JSON parser.
20357 (gdb-propertize-header): Move earlier.
20358 (gdb-set-header): Remove to avoid duplication.
20359 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20360 Refresh disassembly buffers only after threads list have been
20362 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20365 2009-08-04 Juri Linkov <juri@jurta.org>
20367 * files.el: Commands to add/delete file/directory-local variables.
20368 (read-file-local-variable, read-file-local-variable-value)
20369 (read-file-local-variable-mode, modify-file-local-variable)
20370 (modify-file-local-variable-prop-line)
20371 (modify-dir-local-variable): New functions.
20372 (add-file-local-variable, delete-file-local-variable)
20373 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20374 (add-dir-local-variable, delete-dir-local-variable)
20375 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20376 (copy-dir-locals-to-file-locals-prop-line): New commands.
20378 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20380 * abbrev.el (insert-abbrev-table-description): Prettify output.
20381 Suggested by Karl Chen.
20383 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20385 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20386 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20387 (gdb-overlay-arrow-position, gdb-thread-position)
20388 (gdb-disassembly-position): Declare variables.
20389 (gdb-wait-for-pending): Function now.
20390 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20391 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20392 compilation goes smoothly.
20393 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20394 (gdb-non-stop-setting): New customization setting which replaces
20395 `gdb-non-stop' so changing it doesn't break active GDB session.
20396 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20397 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20398 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20399 (gdb-show-threads-by-default): New customization options.
20400 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20402 (gdb-get-buffer-create): Send buffers update signal when they are
20404 (gdb-invalidate-locals, gdb-invalidate-registers)
20405 (gdb-invalidate-breakpoints)
20406 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20407 (gdb-invalidate-memory): Accept update signal.
20408 (gdb-current-context-command): Use --frame option.
20409 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20410 Implement `gdb-frame-number' selection logic.
20411 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20412 whether to show GUD toolbar buttons.
20413 (gdb-thread-exited): Unselect current thread when it exits.
20414 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20415 (gdb-mark-line): Routine which sets overlay arrow or inverses
20416 video on fringeless displays.
20417 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20418 to build aligned columns of data in GDB buffers and set text
20419 properties line-by-line.
20420 (gdb-invalidate-breakpoints)
20421 (gdb-breakpoints-list-handler-custom)
20422 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20423 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20424 (gdb-registers-handler-custom): Align data columns.
20425 (gdb-locals-handler-custom): Now prints data like in variable
20427 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20428 Remove confusing buttons.
20429 (gdb-invalidate-threads): Append --frame.
20430 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20431 between breakpoints/threads buffers.
20432 (gdb-set-window-buffer): Now can ignore dedicated windows.
20433 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20434 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20435 (def-gdb-thread-buffer-gud-command): Replaces
20436 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20437 for fine thread control.
20438 (gdb-preempt-existing-or-display-buffer): New function used to
20439 display bound buffers without breaking window layout.
20440 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20441 (gdb-select-frame): New version of `gdb-frames-select' which now
20442 sets `gdb-frame-number' so commands may use --frame option instead
20443 of inner debugger state.
20444 (gdb-frame-handler): Do not set `gdb-frame-number'.
20445 (gdb-threads-mode-map): Select threads with mouse.
20447 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20448 avoid compilation warning.
20449 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20452 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20453 Argument `key' renamed to `buffer-type'.
20454 (gdb-current-context-buffer-name): Do not add thread info to
20455 buffer name when no thread is selected.
20456 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20457 command (bug 3794).
20458 (gdb-thread-selected): Handle `=thread-selected' notification.
20459 (gdb-wait-for-pending): New macro to deal with congestion problems.
20460 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20462 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20463 This fixes problem similar to one described in bug 3947.
20464 (gud-menu-map): More menu items.
20465 (gdb-init-1): Reset `gdb-thread-number' to nil.
20467 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20470 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20471 (gdb-current-context-command): Do not append --thread if
20472 `gdb-thread-number' is nil.
20473 (gdb-running-threads-count, gdb-stopped-threads-count):
20475 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20476 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20477 New customization options.
20478 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20480 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20481 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20482 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20483 set `gdb-thread-number' and update `gud-running' properly.
20484 (gdb-running): Update threads list when new threads appear.
20485 (gdb-stopped): Support non-stop operation and new thread switching
20487 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20488 (gdb-json-partial-output): New set of JSON routines.
20489 (def-gdb-auto-update-trigger): New `signal-list' optional
20491 (gdb-thread-list-handler-custom): Update `gud-running',
20492 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20493 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20494 (gdb-continue-thread, gdb-step-thread): New commands for fine
20495 thread execution control.
20496 (gud-menu-map): New menu items to switch non-stop options.
20497 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20498 (gdb-send): Mimic RET properly (bug 3794).
20500 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20501 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20503 (def-gdb-auto-update-handler): New nopreserve optional argument.
20504 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20506 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20507 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20508 (gdb-parent-mode): New mode to derive other GDB modes from.
20509 (gdb-display-disassembly-for-thread)
20510 (gdb-frame-disassembly-for-thread): New commands for threads
20513 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20514 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20515 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20516 (gdb-update): We now store all GDB buffers in a list so that they
20517 can be updated by traversing a list instead of calling invalidate
20518 triggers explicitly.
20519 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20520 pair for GDB buffer.
20521 (gdb-stack-buffer-name): Add thread information.
20522 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20523 handle pending triggers.
20524 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20525 (def-gdb-thread-buffer-simple-command)
20526 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20527 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20528 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20529 New commands which show buffers bound to thread.
20530 (gdb-stack-list-locals-regexp): Remove unused regexp.
20532 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20533 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20534 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20535 to (gud-comint-buffer) in *-buffer-name functions
20536 because (gdb-get-target-string) already does that.
20537 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20538 (gdb-changed-registers-handler): Rewritten without regexps.
20540 * progmodes/gdb-mi.el: Basic thread selection support.
20541 (gdb-thread-number): New variable.
20542 (gdb-current-context-command): New macro which adds --thread
20544 (gdb-threads-mode-map): Select thread with SPC.
20545 (gdb-thread-list-handler-custom): Mark current thread with overlay
20546 arrow. Synchronize GDB thread and Emacs thread.
20547 (gdb-select-thread): New command which selects current thread.
20548 (gdb-invalidate-frames, gdb-invalidate-locals)
20549 (gdb-invalidate-registers): Use --thread option.
20551 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20553 * net/tramp.el (top): Make check for tramp-gvfs loading more
20555 (tramp-handle-insert-file-contents): `unwind-protect' must be
20556 inside `with-parsed-tramp-file-name'.
20558 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20561 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20563 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20564 directory if CLASSPATH is not set.
20566 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20568 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20570 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20572 2009-08-02 Kevin Ryde <user42@zip.com.au>
20574 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20575 Update freshmeat link. Delete newsforge.com as it seems gone.
20577 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20579 * select.el (x-set-selection): Doc fix (Bug#4021).
20581 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20583 * help-fns.el (describe-variable): Treat list return values from
20584 dir-locals-find-file properly (Bug#4005).
20586 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20588 * net/tramp.el (tramp-debug-message): Print also microseconds.
20590 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20592 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20594 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20595 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20598 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20599 (tramp-get-file-property): Use it.
20601 * autorevert.el (auto-revert-handler):
20602 Allow `auto-revert-tail-mode' for remote files.
20604 2009-08-02 Jason Rumney <jasonr@gnu.org>
20606 * minibuffer.el (read-file-name): Treat confirm options to
20607 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20609 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20611 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20612 (font-lock-variable-name-face, font-lock-constant-face):
20613 Darken the colors for light backgrounds.
20615 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20617 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20618 month names. (Bug#3987)
20620 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20622 * simple.el (line-move-finish): Pass whole number to
20623 line-move-to-column.
20624 (line-move-visual): Perform hscroll to the recorded position.
20626 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20628 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20630 2009-07-29 Alan Mackenzie <acm@muc.de>
20632 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20634 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20636 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20637 (gdb-place-breakpoints): Use full path when setting breakpoints.
20639 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20641 * calc/calc.el (calc-mode-map): Add keybinding for
20642 `calc-transpose-lines'.
20644 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20646 * calc/calc-misc.el (calc-transpose-lines): New function.
20648 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20650 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20651 Simplify check for out-of-band methods.
20652 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20653 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20655 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20657 * vc-git.el (vc-git-checkin): Fix typo.
20659 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20661 * progmodes/js2-mode.el: New file.
20663 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20665 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20666 (gud-menu-map): Adjust tooltip accordingly.
20668 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20670 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20671 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20673 * add-log.el (change-log-mode-map): Add a menu.
20675 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20677 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20678 function returns nil.
20679 (dbus-handle-event): Handle special return value :ignore.
20680 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20682 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20684 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20687 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20691 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20693 * term/pc-win.el (x-display-name, x-colors)
20694 (x-select-enable-clipboard, x-select-text): Doc fix.
20696 * term/common-win.el (x-display-name, x-colors): Doc fix.
20698 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20699 (xw-defined-colors): Doc fix.
20701 * w32-fns.el (x-select-text, x-setup-function-keys)
20702 (x-get-selection, x-set-selection): Doc fix.
20704 * term/x-win.el (x-select-text, x-setup-function-keys)
20705 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20707 * select.el (x-set-selection): Doc fix.
20709 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20711 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20712 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20713 "IsNSSSupportAvailable" method is not available.
20714 Reported by Steve Youngs <steve@sxemacs.org>.
20716 2009-07-24 Kenichi Handa <handa@m17n.org>
20718 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20719 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20720 (build-unicode-category-table): Fix range checks.
20722 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20724 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20725 the buffer we try to sync is current when calling
20728 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20729 not show up to date files.
20731 2009-07-24 Glenn Morris <rgm@gnu.org>
20733 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20734 Add autoload cookies. If necessary, initialize.
20735 (elint-log): Handle non-file buffers.
20736 (elint-initialize): Add optional argument to reinitialize.
20737 (elint-find-builtin-variables): Save excursion.
20739 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20741 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20744 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20746 * vc.el (vc-print-log-internal): New function, split out from ...
20747 (vc-print-log): ... here.
20748 (vc-dir-move-to-goal-column): Declare.
20750 * vc-git.el (vc-git-add-signoff): New variable.
20751 (vc-git-checkin): Use it.
20752 (vc-git-toggle-signoff): New function.
20753 (vc-git-extra-menu-map): Bind it to menu.
20754 (vc-git--run-command-string): Accept a nil FILE argument.
20755 (vc-git-stash-list): New function.
20756 (vc-git-dir-extra-headers): Use it.
20758 2009-07-23 Glenn Morris <rgm@gnu.org>
20760 * help-fns.el (describe-variable): Describe ignored and risky local
20761 variables in a similar way to that in which we describe safe ones.
20763 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20764 (byte-compile-output-file-form, byte-compile-output-docform)
20765 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20766 Give some more local variables with common names a "bytecomp-" prefix,
20767 so as not to shadow things during compilation.
20768 * emacs-lisp/cl-macs.el (load-time-value)
20769 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20770 `outbuffer' to `bytecomp-outbuffer'.
20772 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20773 since the next two variables cover them automatically now.
20774 (elint-builtin-variables, elint-autoloaded-variables): New.
20775 (elint-unknown-builtin-args): Remove all members, since they can be
20776 parsed automatically now.
20777 (elint-extra-errors): New.
20778 (elint-env-add-env, elint-env-add-macro): Use cadr.
20779 (elint-current-buffer): Use or. Change final message.
20780 (elint-get-top-forms): Use line-end-position.
20781 (elint-init-env): Use cadr. Handle autoload, declare-function,
20783 (elint-add-required-env): Doc fix. Use or. Standardize error.
20784 (regexp-assoc): Remove unused function.
20785 (elint-top-form): Set elint-current-pos, to record the start of the
20786 top-level form, for compilation-mode.
20787 (elint-form): Trap errors in macro expansion. Use dolist.
20788 (elint-unbound-variable): Use elint-builtin-variables and
20789 elint-autoloaded-variables.
20790 (elint-get-args): Use cadr, or.
20791 (elint-check-cond-form): Use dolist, cadr.
20792 (elint-check-condition-case-form): Doc fix. Use cadr.
20793 Use elint-extra-errors.
20794 (elint-log): New function.
20795 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20796 Distinguish errors and warnings.
20797 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20798 Use a bytecomp-style format.
20799 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20800 (elint-get-log-buffer): Use compilation mode. Disable undo.
20801 Don't truncate lines.
20802 (elint-initialize): Set builtin and autoloaded variable lists.
20803 Only process elint-unknown-builtin-args if non-nil.
20804 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20806 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20808 2009-07-22 Kevin Ryde <user42@zip.com.au>
20810 * net/newst-backend.el (newsticker--parse-atom-1.0)
20811 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20812 (newsticker--parse-rss-1.0):
20813 * progmodes/idlwave.el (idlwave-mode):
20814 * progmodes/idlw-shell.el (idlwave-shell-mode):
20815 * progmodes/vera-mode.el (vera-mode):
20816 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20817 * progmodes/vhdl-mode.el (vhdl-mode):
20818 * textmodes/table.el (table-generate-source)
20819 (table--warn-incompatibility):
20820 Hyperlink urls in docstrings with URL `...'.
20822 2009-07-22 Glenn Morris <rgm@gnu.org>
20824 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20825 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20826 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20827 Remove leading * from defcustom docs.
20829 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20831 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20833 (list-load-path-shadows): Optionally, just return shadows as a string.
20835 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20837 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20839 * mail/rmailedit.el (rmail-edit-mode):
20840 Use auto-save-include-big-deletions.
20842 * mail/rmail.el (rmail-variables):
20843 Use auto-save-include-big-deletions.
20845 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20848 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20850 * calc/calc.el (calc-undo-length): New variable.
20851 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20853 2009-07-21 Richard Stallman <rms@gnu.org>
20855 * files.el (auto-save-mode): Handle buffer-save-size = -2
20858 2009-07-21 Glenn Morris <rgm@gnu.org>
20860 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20862 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20864 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20865 silence compiler. Instead...
20866 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20867 (ps-print-ensure-fontified): Update for above function name changes.
20869 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20870 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20871 silence compiler. Instead...
20872 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20873 (mh-show-buffer): Only define for compiler.
20874 (pr-mh-current-message): Update for above function name changes.
20876 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20878 (find-file-noselect, insert-file-1): Update for above change.
20880 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20882 * mail/mailclient.el (mailclient-send-it): Fix message.
20884 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20885 (edebug-eval): Check cl-debug-env is bound.
20886 (print-level, print-circle): Don't redefine built-in variables.
20888 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20889 (custom-print-vectors): Remove old comments from doc.
20891 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20892 (emerge-version): Make the variable an obsolete alias for the
20893 emacs-version variable. Make the function obsolete.
20894 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20895 Emerge options, rather than merging in into the main Options menu.
20896 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20897 and auto advance modes. Disable edit/fast items when not relevant.
20899 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20901 * term/vt420.el (terminal-init-vt420): Fix typo.
20903 2009-07-20 Sam Steingold <sds@gnu.org>
20905 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20906 variable (removed from compile.el on 2004-03-11).
20908 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20910 * files.el (hack-local-variables-filter): Fix last change.
20912 2009-07-19 Juri Linkov <juri@jurta.org>
20914 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20915 (dir-local-variables-alist): New buffer-local variable.
20916 (hack-local-variables-filter): If variable is not dir-local,
20917 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20918 because file-local overrides dir-local.
20919 (c-postprocess-file-styles) <declare-function>:
20920 Remove obsolete declaration.
20921 (hack-dir-local-variables): Add dir-local variable/value pair to
20922 `dir-local-variables-alist' and remove duplicates. Doc fix.
20924 * help-fns.el (describe-variable): Add information about
20925 file-local and dir-local variables.
20927 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20929 * files.el (hack-local-variables-filter): Rewrite.
20931 2009-07-19 Glenn Morris <rgm@gnu.org>
20933 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20934 Silence compiler by only defining on XEmacs.
20936 * international/mule.el (auto-coding-regexp-alist): Only match
20937 BABYL... at the start of buffer, not of lines. (Bug#3790)
20939 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20940 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20941 (cal-menu-context-mouse-menu): Doc fix.
20943 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20945 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20947 2009-07-18 Juri Linkov <juri@jurta.org>
20949 * info.el: Virtual Info keyword finder.
20950 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20951 (Info-finder-file): New variable.
20952 (Info-finder-find-file): New function.
20953 (finder-known-keywords, finder-package-info)
20954 (find-library-name, lm-commentary): Use defvar and
20955 declare-function to silence compiler warnings.
20956 (Info-finder-find-node): New function.
20957 (info-finder): New command.
20959 * subr.el (process-kill-buffer-query-function): New function.
20960 (add-hook)<kill-buffer-query-functions>: Add hook
20961 `process-kill-buffer-query-function'.
20963 2009-07-18 Alan Mackenzie <acm@muc.de>
20965 * progmodes/cc-mode.el (c-before-hack-hook)
20966 (c-postprocess-file-styles): Give invocation of `c-set-style'
20967 DONT-OVERRIDE parameter of t. Already set style variables will
20968 thus not be overridden by style settings given by `c-file-syle'.
20970 * files.el (hack-local-variables-filter): Remove entries with
20971 duplicate keys from `file-local-variables-alist'.
20973 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20975 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20976 x-set-selection if display-selections-p returns nil for the
20979 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20981 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20983 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20985 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20986 Accept nil in addition to a regexp.
20987 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20988 Accept nil in addition to a regexp.
20989 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20990 buffers that have an associated file. Handle nil values of
20991 desktop-buffers-not-to-save and desktop-files-not-to-save.
20994 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20995 (x-disown-selection-internal): New functions.
20997 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20999 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21001 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21002 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21004 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21006 * simple.el (set-mark): Revert last change.
21008 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21010 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21011 rendering of pngs is not possible instead of messaging a long
21014 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21016 * w32-fns.el (x-selection-owner-p): New function.
21018 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21019 (mouse-yank-at-click, mouse-yank-primary):
21020 If select-active-regions is non-nil, deactivate the mark before
21023 * simple.el (deactivate-mark, set-mark): Only save selection if we
21026 2009-07-17 Kenichi Handa <handa@m17n.org>
21028 * case-table.el (describe-buffer-case-table): Fix for the case
21029 that KEY is a cons.
21031 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21033 * vc-rcs.el (vc-rcs-find-file-hook):
21034 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21036 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21038 * net/tramp.el (tramp-wait-for-output): Handle the case when
21039 commands do not return a newline but a null byte before the shell
21042 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21044 * term/ns-win.el (ns-set-alpha): Don't declare.
21045 (ns-set-background-alpha): Remove function.
21047 2009-07-16 Kevin Ryde <user42@zip.com.au>
21049 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21050 y-or-n-p, for safety.
21052 2009-07-16 Richard Stallman <rms@gnu.org>
21054 * files.el (auto-save-mode): If buffer-saved-size is -2,
21057 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21058 (rmail-retry-ignored-headers): Add more uninteresting fields.
21060 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21062 * net/rcirc.el (rcirc): Use history variables.
21063 (rcirc-server-name-history, rcirc-nick-name-history)
21064 (rcirc-server-port-history): New variables.
21066 2009-07-15 Kenichi Handa <handa@m17n.org>
21068 * international/mule-cmds.el (set-language-environment-charset):
21069 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21072 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21073 Delete unibyte-display.
21075 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21077 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21079 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21081 * simple.el (deactivate-mark): Optional argument FORCE.
21082 (set-mark): Use deactivate-mark.
21084 * info.el (Info-search): No need to check transient-mark-mode
21085 before calling deactivate-mark.
21087 * select.el (x-set-selection): Doc fix.
21088 (x-valid-simple-selection-p): Allow buffer values.
21089 (xselect--selection-bounds): Handle buffer values.
21090 Suggested by David De La Harpe Golden.
21092 * mouse.el (mouse-set-region, mouse-drag-track):
21093 Call copy-region-as-kill before setting the mark, to let
21094 select-active-regions work.
21096 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21098 * simple.el (deactivate-mark): If select-active-regions is
21099 non-nil, copy the selection data into a string.
21100 (activate-mark): If select-active-regions is non-nil, set the
21101 selection to the current buffer.
21102 (set-mark): Update selection if select-active-regions is non-nil.
21104 * select.el (x-valid-simple-selection-p): Allow buffer values.
21106 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21108 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21109 and more featureful message-mode.
21111 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21113 * select.el (x-set-selection): Doc fix.
21114 (x-valid-simple-selection-p): Disallow selection data consisting
21115 of a list or cons of integers, since that is not used.
21116 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21117 (xselect-convert-to-string, xselect-convert-to-length)
21118 (xselect-convert-to-filename, xselect-convert-to-charpos)
21119 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21121 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21123 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21124 output in -break-info command (Emacs bug #3794).
21126 2009-07-14 Glenn Morris <rgm@gnu.org>
21128 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21129 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21130 (edebug-print-length, edebug-print-level, edebug-print-circle)
21131 (edebug-sit-for-seconds, edebug-view-outside)
21132 (edebug-bounce-point, edebug-set-global-break-condition)
21133 (edebug-Go-nonstop-mode, edebug-trace-mode)
21134 (edebug-Trace-fast-mode, edebug-continue-mode)
21135 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21136 (edebug-visit-eval-list): Doc fixes.
21138 * subr.el (def-edebug-spec): Doc fix.
21140 2009-07-14 Kenichi Handa <handa@m17n.org>
21142 * international/characters.el: Fix setting of category ?C.
21144 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21146 * term/ns-win.el (x-select-font): defalias x-select-font to
21147 ns-popup-font-panel instead of generate-fontset-menu.
21149 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21151 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21153 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21155 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21156 the PK\003\004 header (Bug#3770).
21158 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21160 * pcomplete.el (pcomplete-comint-setup): Check for
21161 shell-dynamic-complete-filename too.
21163 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21165 * simple.el (temporary-goal-column): Change the value for
21166 line-move-visual to a cons cell.
21167 (line-move-visual): Record or set the window hscroll, if
21168 necessary (Bug#3494).
21169 (line-move-1): Handle cons value of temporary-goal-column.
21171 2009-07-11 Kenichi Handa <handa@m17n.org>
21173 * international/mule-diag.el (describe-character-set): Don't show
21176 2009-07-10 Sam Steingold <sds@gnu.org>
21178 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21179 Omake sometimes indents the errors it prints, so allow all
21180 regexps to start with spaces.
21182 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21184 * cus-edit.el (customize-changed-options-previous-release):
21185 Bump value to 22.1. (Bug#3804)
21187 2009-07-08 Sam Steingold <sds@gnu.org>
21189 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21190 to be a cons cell (test . ignored-directory) to selectively ignore
21191 some directories depending on the location of the search.
21193 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21195 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21196 remote user is root, on the local host.
21197 (tramp-local-host-p): Either the local user or the remote user
21198 must be root. (Bug#3771)
21200 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21202 * progmodes/gdb-mi.el (gdb): Remove description of
21203 gdb-use-separate-io-buffer.
21204 (menu): Don't allow toggling of or enable
21205 gdb-use-separate-io-buffer from menubar.
21207 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21209 * mail/unrmail.el (unrmail): Make sure the message ends with two
21210 newlines (Bug#3769).
21212 2009-07-08 Glenn Morris <rgm@gnu.org>
21214 * calendar/calendar.el (calendar-current-date): Rework previous change.
21216 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21218 * calendar/calendar.el (calendar-current-date):
21219 Add an optional argument giving an offset from today.
21221 2009-07-08 Glenn Morris <rgm@gnu.org>
21223 * tutorial.el (tutorial--describe-nonstandard-key):
21224 Adjust the message for when a key has been unbound.
21225 (help-with-tutorial): Hide the arch-tag.
21227 2009-07-08 Kenichi Handa <handa@m17n.org>
21229 * international/fontset.el (setup-default-fontset): For each
21230 script, append (not set) font-specs.
21232 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21235 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21237 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21238 -data-list-register-names to ...
21239 (gdb-starting): ... here because GDB 7.0 requires execution to
21240 have started when using this MI command.
21241 (gdb-set-header): New function to distinguish select and
21242 unselected tabs in gdb buffers.
21243 (gdb-propertize-header): New macro that uses gdb-set-header.
21244 (gdb-breakpoints-header, gdb-locals-header): Use it.
21245 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21247 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21249 * Makefile.in (ELCFILES): Remove fadr.elc.
21251 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21253 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21254 may contain frame information, so `string-match' should be used.
21255 (gdb-update): Disassembly is invalidated through
21256 `gdb-get-selected-frame'.
21257 (gdb-pad-string): New function to pad string with spaces.
21258 (gdb-invalidate-disassembly): Invalidate only if the buffer
21260 (gdb-disassembly-handler-custom): Column alignment.
21261 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21263 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21265 (gdb-frame-handler): Match convention to for disassembly buffer
21267 (gdb-stack-list-frames-handler): Rewritten without regexps.
21268 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21269 not highlight breakpoints without line information.
21270 (gdb-input): Add trailing newline to command.
21272 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21274 (gdb-breakpoints-list-handler-custom): Replacement for
21275 `gdb-break-list-handler'. Using real parser instead of regexps
21277 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21278 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21279 to place breakpoints.
21280 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21282 (gdb-disassembly-handler-custom): Show overlay arrow.
21283 (gdb-disassembly-place-breakpoints): Show breakpoints in
21284 disassembly buffer.
21285 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21286 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21287 instead of parsing breakpoints buffer. Fixed old menu references
21292 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21293 (gdb-memory-address): New variable which holds top address of
21294 memory page shown in memory buffer.
21295 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21296 New customization variables.
21298 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21299 display the memory buffer.
21300 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21301 buffer display parameters.
21302 (def-gdb-memory-format, gdb-memory-format-binary)
21303 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21304 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21305 Functions for setting memory buffer format.
21306 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21307 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21308 unit size used in memory buffer.
21309 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21310 Switch to next/previous page of memory buffer.
21311 Now using (bindat-get-field) instead of fadr functions.
21313 2009-07-07 Sam Steingold <sds@gnu.org>
21315 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21316 non-top-level files.
21318 2009-07-07 Kenichi Handa <handa@m17n.org>
21320 * international/mule-cmds.el (reset-language-environment):
21321 Put the highset priority to the charset iso-8859-1.
21323 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21325 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21326 to the end of the line when locating the block (Bug#700).
21328 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21330 * net/tramp.el (tramp-handle-write-region): Flush file properties
21331 in case of short track.
21333 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21335 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21336 Coded custom representation of verilog error regular expressions
21337 to work with Emacs-22's new format.
21338 (verilog-error-regexp-xemacs-alist): Coded custom representation
21339 of verilog error regular expressions to work with XEmacs format.
21340 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21341 error recognition into XEmacs.
21342 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21343 error recognition into Emacs-22.
21345 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21347 * woman.el: Remove stand-alone closing parentheses.
21348 (woman-file-name, woman2-format-paragraphs)
21349 (woman-leave-blank-lines): Code cleanup.
21350 (woman-use-own-frame): Change default to nil.
21351 (woman-italic, woman-bold, woman-unknown, woman-addition):
21352 Change defaults to inherit from default faces.
21353 (woman2-process-escapes): Consume the newline after a stand-alone
21354 filler character (Bug#3651).
21356 2009-07-06 Glenn Morris <rgm@gnu.org>
21358 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21359 (top-level): Move provide to the end.
21360 (ffap): Remove defunct URL from custom group.
21362 * subr.el (eval-after-load): Doc fix.
21364 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21366 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21367 `calc-embedded-word' is called twice.
21369 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21371 * files.el (find-alternate-file-other-window, find-alternate-file):
21372 Obey confirm-nonexistent-file-or-buffer.
21374 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21376 * dired-aux.el (dired-show-file-type): Handle remote files.
21378 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21380 * desktop.el (desktop-globals-to-save):
21381 Add file-name-history (Bug#2750).
21383 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21385 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21387 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21389 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21390 property on entire argument since this is what eshell-lisp-command
21393 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21395 * net/tramp-gvfs.el (tramp-gvfs-methods)
21396 (tramp-gvfs-zeroconf-domain)
21397 (tramp-bluez-discover-devices-timeout): Add version flag.
21398 (tramp-gvfs-handler-mounted-unmounted)
21399 (tramp-gvfs-connection-mounted-p): Polish handling of
21400 incompatibilities between GVFS 0.2 and 1.0.
21402 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21404 * cus-start.el (all): Add make-pointer-invisible.
21406 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21408 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21409 formatted correctly.
21411 2009-07-02 Juri Linkov <juri@jurta.org>
21413 * info.el: Virtual Info files and nodes.
21414 (Info-virtual-files, Info-virtual-nodes): New variables.
21415 (Info-current-node-virtual): New variable.
21416 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21418 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21419 to check for a virtual file instead of checking a fixed list
21421 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21422 instead of ad-hoc processing of "dir" and (apropos history toc).
21423 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21424 instead of ad-hoc processing of "dir" and (apropos history toc).
21425 Reread a file when moving from a virtual node.
21426 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21427 (Info-directory-toc-nodes, Info-directory-find-file)
21428 (Info-directory-find-node): New functions.
21429 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21430 (Info-history): Move part of code to
21431 `Info-history-find-node'.
21432 (Info-history-toc-nodes, Info-history-find-file)
21433 (Info-history-find-node): New functions.
21434 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21435 (Info-toc): Move part of code to `Info-toc-find-node'.
21436 (Info-toc-find-node): New function.
21437 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21438 the current Info file name to references because now the node
21439 "*TOC*" belongs to the same Info manual.
21440 (Info-toc-build): Rename from `Info-build-toc'.
21441 (Info-toc-nodes): Rename input argument `file' to `filename'.
21442 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21443 instead of ad-hoc processing of ("dir" apropos history toc).
21444 (Info-index-nodes): Use Info-virtual-file-p
21445 to check for a virtual file instead of checking a fixed list
21447 (Info-index-node): Add check for `Info-current-node-virtual'.
21448 Raise `save-match-data' higher up the tree to contain
21449 `search-forward' too (bug fix).
21450 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21451 (Info-virtual-index-nodes): New variable.
21452 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21453 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21454 (Info-apropos-file, Info-apropos-nodes): New variables.
21455 (Info-apropos-toc-nodes, Info-apropos-find-file)
21456 (Info-apropos-find-node, Info-apropos-matches): New functions.
21457 (info-apropos): Move part of code to `Info-apropos-find-node' and
21458 `Info-apropos-matches'.
21459 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21460 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21461 for a virtual file instead of checking a fixed list of node names.
21463 * simple.el (async-shell-command): New command.
21465 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21467 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21468 instead of `mount-info'.
21470 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21472 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21473 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21475 2009-07-02 Kenichi Handa <handa@m17n.org>
21477 * international/mule.el (set-keyboard-coding-system): Force *-unix
21478 coding-system to avoid eol conversion.
21480 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21482 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21483 Add handler for `process-file', `shell-command' and
21484 `start-file-process'.
21485 (tramp-gvfs-handle-shell-command)
21486 (tramp-gvfs-handle-start-file-process)
21487 (tramp-gvfs-handle-process-file): New defuns.
21488 (tramp-synce-list-devices): Simplify check for existence of property.
21490 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21492 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21494 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21496 * language/korean.el (set-language-info-alist): Add korean-cp949,
21499 2009-07-01 Kenichi Handa <handa@m17n.org>
21501 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21503 * international/encoded-kb.el: Deleted.
21505 * international/mule.el (set-keyboard-coding-system): Perform the
21506 necessary setup here instead of calling encoded-kbd-setup-display.
21508 2009-07-01 Glenn Morris <rgm@gnu.org>
21510 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21512 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21514 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21516 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21518 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21519 Handle also the 'rename case, when setting file modes. (Bug#3712)
21520 (tramp-default-file-modes): Remove execute permissions.
21522 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21523 (top): Add a default for "synce" in `tramp-default-user-alist'.
21524 Add completion function for "synce" method.
21525 (tramp-hal-service, tramp-hal-path-manager)
21526 (tramp-hal-interface-manager, tramp-hal-interface-device):
21528 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21529 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21532 * net/trampver.el: Update release number.
21534 2009-06-30 Kenichi Handa <handa@m17n.org>
21536 * international/fontset.el (setup-default-fontset): Add CJK fonts
21537 for symbols and the other miscellaneous characters.
21539 * language/korea-util.el (setup-korean-environment-internal):
21540 Make char-width-table suitable for Korean environments.
21541 (exit-korean-environment): Cancel above.
21543 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21544 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21545 setup-function to make char-width-table suitable for respective
21546 environments, and an exit-function to cancel that.
21548 * language/japan-util.el (setup-japanese-environment-internal):
21549 Call use-cjk-char-width-table with arg `ja_JP'.
21551 * international/characters.el (cjk-char-width-table): Delete it.
21552 (cjk-char-width-table-list): New variable.
21553 (use-cjk-char-width-table): New arg local-name.
21554 (use-default-char-width-table): Fix for the case that Emacs is
21555 already using the default char-width-table.
21557 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21559 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21560 modes mandatory. (Bug#3712)
21562 2009-06-29 Alan Mackenzie <acm@muc.de>
21564 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21565 correction between the visible width of TABs and their number of bytes.
21567 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21569 * server.el (server-buffer-done): Prevent kill-buffer from
21570 prompting by clearing the buffer modification flag (Bug#3696).
21572 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21574 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21575 (verilog-endcomment-reason-re): Support unique case and priority case.
21576 (verilog-basic-complete-re): Support localparam lineup.
21577 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21578 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21580 (verilog-leap-to-case-head): Now support *nested* unique &
21581 priority case statements.
21582 (verilog-auto-lineup): Make just declarations the default (as it
21584 (verilog-leap-to-case-head): Support priority/unique case statements.
21585 (verilog-auto-lineup): Rework to give users radio buttons to
21586 select the various styles of automatic lineup.
21587 (verilog-error-regexp-alist): Rework to support the XEmacs style
21588 of error regular expressions from compilers, lint tools &
21589 simulators. Note that GNU Emacs has made it impossible for a mode
21590 to load such things.
21591 (electric-verilog-terminate-line, verilog-indent-declaration)
21592 (verilog-auto-wiure): Rework for radio button selection of
21593 auto-lineup selection of specification of auto lineup.
21594 (verilog-beg-of-statement-1): Redesign to support proper operation
21595 in additional code, based on testing with auto-lineup.
21596 (verilog-calculate-indent, assignments & declarations)
21597 (verilog-backward-token): Enhance to support auto-lineup of
21598 assignments & declarations.
21599 (verilog-in-directive-p, verilog-at-struct-p): New function for
21600 easy test of whether we are.
21601 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21602 to support safe execution at almost anyline.
21603 (verilog-calc-1): Properly support indenting deep inside generate
21605 (verilog-init-font): Remove definition & use of verilog-init-font,
21606 as it is redundant with font-lock-defaults.
21607 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21608 to avoid circular calls if syntax-ppss is a function (as is the
21609 case now in 22.x GNU Emacs) as that function would sometimes call
21610 itself, leading to (nearly) infinite recursion.
21611 (verilog-ovm-begin-re, verilog-ovm-end-re)
21612 (verilog-ovm-statement-re, verilog-leap-to-head)
21613 (verilog-backward-token): Add support for OVM macros. Some are
21614 complete statements, and others open and close scopes like begin
21616 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21617 (verilog-defun-level-generate-only-re): Really fix the defun-list
21619 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21620 coverpoint, constraint and cross statements.
21621 (verilog-defun-level-list, verilog-generate-defun-level-list)
21622 (verilog-all-defun-level-list): Redo these specifications - it is
21623 too hard to support eval-when compile aggregation of lists also
21624 built at when-compile time.
21625 (verilog-defun-level-list): Place defconsts of variables used in
21626 building regular expressions which are built in eval-when-compile
21627 bodies in the same eval-when-compile body to facilitate compile
21629 (verilog-beg-block-re-ordered): Support indenting
21630 virtual/protected tasks and functions.
21631 (verilog-defun-level-list, verilog-in-generate-region-p)
21632 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21633 indentation of some module items (generate items).
21634 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21635 across virtual/protected tasks and functions.
21637 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21639 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21640 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21641 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21642 in concatenations. Reported by Yishay Belkind.
21643 (verilog-auto-ascii-enum): Support one-hot state machines in
21644 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21645 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21646 modport in AUTOINST and add vl-modport for users.
21647 Reported by David Rogoff.
21648 (verilog-auto-inout-module, verilog-auto-inst)
21649 (verilog-decls-get-interfaces, verilog-insert-definition)
21650 (verilog-insert-one-definition, verilog-read-decls)
21651 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21652 (verilog-sig-modport, verilog-signals-combine-bus)
21653 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21654 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21655 Suggested by David Rogoff.
21656 (verilog-repair-open-comma): Fix non-insertion of comma when
21657 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21658 (verilog-make-width-expression): Simplify [A-1:0] expression
21659 widths to just {A{1'b0}}.
21660 (verilog-mode): Cleanup checkdoc warnings.
21661 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21662 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21663 inputs/outputs or data type. Suggested by Vasu Kandadi.
21664 (next-error-last-buffer): Fix byte-compiler warning.
21665 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21666 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21667 or shell command text during AUTO expansion. Suggested by Tad Truex.
21668 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21669 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21670 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21671 in AUTOINOUT. Reported by Matthew Lovell.
21672 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21673 causing use of <= assignments. Reported by Alex Reed.
21674 (verilog-read-decls): Fix triand, trior, wand, wor to be
21675 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21676 (verilog-extended-complete-re): Support import "DPI-C" functions.
21677 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21678 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21679 (verilog-insert-date, verilog-insert-year)
21680 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21681 Windows systems. Reported by Michael Potts.
21682 (verilog-read-module-name): Fix AUTOINST when the child module
21683 declaration's name is a tick define. Reported by Elliot Mednick.
21684 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21685 passed to next parameter's definition. Reported by Bruce T.
21686 (verilog-read-decls): Fix detecting "parameter int" when using
21687 AUTOINSTPARAM. Reported by Bruce T.
21688 (verilog-goto-defun): Fix goto not finding modules unless first
21689 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21690 (verilog-mode): Expand -f flag arguments on entry to mode so
21691 verilog-goto-defun will work. Reported by Lawrence Butcher.
21692 (verilog-getopt): Expand environment variables in -f file
21693 arguments. Suggested by Lawrence Butcher.
21694 (verilog-set-define): Fix "Symbol's value as variable is void"
21695 when reading enumerations.
21696 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21697 Suggested by Stephen Peltan.
21698 (verilog-read-defines): Fix reading of enumerations in include
21699 files. Reported by Steve Peltan.
21701 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21703 * files.el (trash-directory): Fix defcustom type.
21705 2009-06-28 Juri Linkov <juri@jurta.org>
21707 * help-fns.el (describe-function-1): Correctly locate adviced
21708 functions in hyperlink (Bug#2438).
21710 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21712 * files.el (trash-directory): Change default to nil.
21713 (move-file-to-trash): If trash-directory is nil and
21714 system-move-file-to-trash is unbound, perform freedesktop-style
21717 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21719 * files.el (move-file-to-trash): Add freedesktop trash
21722 2009-06-28 Glenn Morris <rgm@gnu.org>
21724 * autorevert.el (global-auto-revert-non-file-buffers)
21725 (global-auto-revert-mode): Doc fixes.
21727 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21729 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21731 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21733 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21734 opened an X connection before calling x-get-resource (Bug#3194).
21736 * play/doctor.el: Remove reference to obsolete website.
21737 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21739 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21741 Remove find-file-not-found-hook VC method. (Bug#2757)
21742 * vc-hooks.el (vc-file-not-found-hook)
21743 (vc-default-find-file-not-found-hook): Remove functions.
21744 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21745 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21748 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21750 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21752 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21753 compatibility function for `looking-back'.
21755 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21756 Use `ispell-looking-back'.
21758 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21760 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21761 rather than `filename'.
21763 2009-06-23 Miles Bader <miles@gnu.org>
21765 * face-remap.el (text-scale-set): New function.
21767 2009-06-23 Glenn Morris <rgm@gnu.org>
21769 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21771 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21773 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21775 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21777 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21778 Simplify Persian conditionals.
21780 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21781 variable `filename'.
21783 * comint.el (comint-insert-input): Doc fix.
21785 * Makefile.in (ELCFILES): Fix typo in previous change.
21787 2009-06-23 Miles Bader <miles@gnu.org>
21789 * cus-start.el: Add entry for `recenter-redisplay'.
21791 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21793 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21794 Add an optional argument for the backend, use it instead of
21795 calling vc-backend.
21796 (vc-mode-line): Add an optional argument for the backend.
21797 Pass the backend to vc-state and vc-working-revision. Move code for
21798 special handling for vc-state being a buffer to ...
21800 * vc-rcs.el (vc-rcs-find-file-hook):
21801 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21803 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21804 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21805 vc-stay-local-p and vc-mode-line calls.
21807 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21808 (vc-cvs-diff, vc-cvs-annotate-command)
21809 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21810 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21811 vc-mode-line calls.
21813 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21815 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21816 backend when calling vc-mode-line.
21817 (vc-register): Do not create a closure for calling the vc register
21818 function, call it directly.
21820 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21822 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21823 to make it obvious item can be clicked.
21825 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21827 2009-06-23 Kenichi Handa <handa@m17n.org>
21829 * language/korea-util.el (korean-key-bindings): Change the binding
21830 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21833 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21835 Sync with Tramp 2.1.16.
21837 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21839 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21840 when a loading of a package fails. Completion function for rsync
21841 is `tramp-completion-function-alist-ssh'.
21842 (all): Replace all calls of `split-string' and
21843 `tramp-split-string' by `tramp-compat-split-string'.
21844 (tramp-default-method): Use `tramp-compat-process-running-p'.
21845 (tramp-default-proxies-alist): Allow also Lisp forms.
21846 (tramp-remote-path): Add choice "Private Directories".
21847 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21848 (tramp-domain-regexp): Allow also "-", "_" and ".".
21849 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21850 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21851 (tramp-debug-message): Insert header line in debug buffer.
21852 (tramp-handle-directory-files-and-attributes-with-stat):
21853 Care about filenames with spaces, or starting with "-".
21854 (tramp-handle-dired-uncache): New defun.
21855 (tramp-handle-insert-directory): Don't flush the directory from
21856 cache, this is handled by `dired-uncache' now.
21857 (tramp-handle-insert-file-contents): Improve error handling.
21858 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21859 Quote `tramp-end-of-output'.
21860 (tramp-action-password): Improve trace message.
21861 (tramp-check-for-regexp): Both echoes must be present, before removing.
21862 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21863 (tramp-compute-multi-hops): Eval cons cells of
21864 `tramp-default-proxies-alist'.
21865 (tramp-maybe-open-connection): Use the same command pattern for
21866 first hop and further hops.
21867 (tramp-wait-for-output): Remove handling of newlines.
21868 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21869 (tramp-split-string): Remove function. It is handled in
21872 * net/tramp-cmds.el (tramp-bug):
21873 Recommend `tramp-cleanup-all-connections' in the bug mail.
21875 * net/tramp-compat.el (tramp-compat-split-string)
21876 (tramp-compat-process-running-p): New defuns.
21878 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21879 for `dired-uncache'.
21881 * net/tramp-gvfs.el: New package.
21883 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21884 Add handler for `dired-uncache'.
21885 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21887 * net/trampver.el: Update release number. Make version check fit
21890 2009-06-22 Jim Meyering <meyering@redhat.com>
21892 Automatically handle .xz suffix (XZ-compressed files), too.
21893 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21894 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21896 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21897 Nick Roberts <nickrob@snap.net.nz>
21899 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21900 repository (http://sphinx.net.ru/hg/gdb-mi/).
21902 2009-06-22 Glenn Morris <rgm@gnu.org>
21904 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21905 `mode' and `eval' entries. (Bug#3430)
21907 * Makefile.in (ELCFILES): Add fadr.elc.
21909 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21910 differing behavior of \n and ^ in strings. (Bug#3385)
21912 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21914 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21916 (lisp-indent-function): Make it a defcustom.
21918 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21920 * progmodes/gdb-ui.el: Replace with ...
21921 * progmodes/gdb-mi.el: ... this file.
21922 * progmodes/gud.el: Modify for gdb-mi.el.
21924 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21926 * fadr.el: New file.
21928 See ChangeLog.14 for earlier changes.
21930 ;; Local Variables:
21934 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21936 This file is part of GNU Emacs.
21938 GNU Emacs is free software: you can redistribute it and/or modify
21939 it under the terms of the GNU General Public License as published by
21940 the Free Software Foundation, either version 3 of the License, or
21941 (at your option) any later version.
21943 GNU Emacs is distributed in the hope that it will be useful,
21944 but WITHOUT ANY WARRANTY; without even the implied warranty of
21945 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21946 GNU General Public License for more details.
21948 You should have received a copy of the GNU General Public License
21949 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.