1 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
3 Move keymap initialization into declaration.
4 * textmodes/enriched.el (enriched-mode-map):
5 * textmodes/bib-mode.el (bib-mode-map):
6 * term/lk201.el (lk201-function-map):
7 * tar-mode.el (tar-mode-map):
8 * replace.el (occur-mode-map):
9 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
10 * progmodes/idlw-help.el (idlwave-help-mode-map):
11 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
12 * play/solitaire.el (solitaire-mode-map):
13 * play/snake.el (snake-mode-map, snake-null-map):
14 * play/pong.el (pong-mode-map):
15 * play/handwrite.el (menu-bar-handwrite-map):
16 * play/gametree.el (gametree-mode-map):
17 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
18 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
19 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
20 (newsticker--url-keymap):
21 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
22 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
23 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
24 (menu-bar-edit-menu, menu-bar-custom-menu)
25 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
26 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
27 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
28 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
29 (menu-bar-tools-menu, menu-bar-describe-menu)
30 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
32 * mail/rmailsum.el (rmail-summary-mode-map):
33 * kmacro.el (kmacro-step-edit-map):
34 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
35 (ibuffer-mode-operate-map):
36 * hi-lock.el (hi-lock-menu, hi-lock-map):
37 * emulation/vip.el (vip-mode-map):
38 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
39 * bookmark.el (bookmark-bmenu-mode-map):
40 * help-mode.el (help-mode-map): Move initialization into declaration.
42 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
44 * net/rcirc.el: Add PRIVMSG and CTCP functions.
45 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
46 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
47 (rcirc-cmd-me, rcirc-authenticate): Use them.
49 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
51 * allout.el: Synopsis: Change allout user configuration so
52 auto-activation is controlled solely by customization
53 `allout-auto-activation'.
55 (allout-auto-activation-helper) (allout-setup): New autoloads
56 implement new custom set procedure for allout-auto-activation.
57 Also, explicitly invoke
58 (allout-setup) after allout-auto-activation is custom-defined, to
59 effect the settings in emacs sessions besides the few where
60 allout-auto-activation customization is donea.
61 (allout-auto-activation): Use allout-auto-activation-helper to
62 :set. Revise the docstring.
63 (allout-init): Reduce functionality to just customizing
64 allout-auto-activation, and mark obsolete.
65 (allout-mode): Respect string values for allout-auto-activation.
66 Run allout-after-copy-or-kill-hook without any args.
67 (allout-mode) (allout-layout) (allout-default-layout)
68 (outlineify-sticky): Adjust docstring for new scheme.
69 (allout-after-copy-or-kill-hook): No arguments - hook implementers
70 should concentrate on the kill ring.
72 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
74 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
75 of here-doc that immediately follows a comment.
77 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
79 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
81 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
83 (rcirc-ctcp-sender-PING): New function.
85 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
87 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
88 Remove the mark/nomark handling, and activate shift-select-mode instead.
90 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
92 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
94 * calc/calc-units.el (math-logunits-quant): Add support for
95 non-logarithmic units.
97 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
99 * allout.el (allout-after-copy-or-kill-hook): New hook for
100 extension-specific processing of killed text.
101 (allout-mode): Include new allout-after-copy-or-kill-hook among
103 (allout-kill-line) (allout-kill-topic): Ensure that processing
104 after kill happens even if barf-if-buffer-read-only is raised.
105 Include new allout-after-copy-or-kill-hook among that subsequent
107 (allout-deannotate-hidden): Actually remove the annotation text
110 * allout.el (allout-listify-exposed): Copy text sans text properties.
112 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
114 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
116 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
118 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
120 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
122 * calc/calc.el (calc-logunits-field-reference): Rename from
123 `calc-default-field-reference-level'.
124 (calc-logunits-power-reference): Rename from
125 `calc-default-power-reference-level'
127 * calc/calc-units.el (math-logunits-quant): Rename from
128 `math-logunits-level'
129 (math-logunits-plus): Rename from math-logcombine.
130 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
131 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
132 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
134 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
135 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
136 (calc-logunits-quantity): Rename from `calc-level'.
137 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
138 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
139 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
140 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
141 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
144 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
145 (calc-ul-prefix-help): Remove.
146 (calc-l-prefix-help): New function.
147 (calc-full-help): Add reference to `calc-l-prefix-help'.
149 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
151 * calc/README: Mention logarithmic units.
153 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
155 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
156 non-ASCII characters (Bug#7925).
158 2011-02-05 Glenn Morris <rgm@gnu.org>
160 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
162 * calendar/diary-lib.el (diary-font-lock-keywords):
163 Tweak diary-time-regexp match. (Bug#7891)
165 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
166 (f90-mode): Use it for mode's `find-tag-default-function' property.
168 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
170 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
172 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
174 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
177 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
179 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
180 font-lock-syntax-table remappings.
181 (sh-here-doc-markers, sh-here-doc-re): Remove.
182 (sh-font-lock-close-heredoc): Remove.
183 (sh-syntax-propertize-here-doc): New function.
184 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
185 instead of the sh-here-doc-re.
186 (sh-font-lock-paren): Don't do anything in comments or strings.
187 Handle line continuations. Accept a few more chars.
188 Don't rely on the font-lock-syntax-table remappings.
189 `esac' is not a valid pattern.
190 (sh-syntax-propertize-function): Handle here-docs differently, so we
191 don't bother syntax-propertizing the insides.
193 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
194 Handle new bashisms ";&" and ";;&" (bug#7947).
196 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
198 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
199 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
201 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
203 * net/tramp.el (tramp-postfix-method-format)
204 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
205 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
206 (tramp-postfix-user-regexp, tramp-prefix-port-format)
207 (tramp-prefix-port-regexp, tramp-postfix-host-format)
208 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
211 2011-02-04 Sam Steingold <sds@gnu.org>
213 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
215 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
217 * international/mule-util.el (with-coding-priority): Doc fix.
219 2011-02-04 Eli Zaretskii <eliz@gnu.org>
221 * arc-mode.el (archive-mode-map): Fix a typo in last change.
223 2011-02-03 Sam Steingold <sds@gnu.org>
225 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
226 Do not error out when `func' is nil.
228 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
230 * net/tramp-sh.el (tramp-remote-path): Add default settings for
231 `tramp-default-remote-path' to the docstring.
232 (tramp-get-remote-path): Suppress error message when `getconf
235 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
237 2011-02-03 Glenn Morris <rgm@gnu.org>
239 * vc/vc-hg.el (vc-hg-command): Doc fix.
241 * term/w32-win.el (libpng-version): Declare for compiler.
243 * msb.el: No need to load dired while compiling.
245 * emacs-lisp/elint.el (elint-standard-variables):
246 Remove a couple of built-ins that now have doc-strings.
248 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
249 `require' is automatically `eval-and-compile'd.
251 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
252 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
254 * strokes.el (strokes-fill-current-buffer-with-whitespace):
255 Move definition before use.
256 (strokes-report-bug): Make it obsolete.
258 2011-02-02 Sam Steingold <sds@gnu.org>
260 * apropos.el (apropos-print): Now that `apropos-mode' inherits
261 from `special-mode', entering it makes the buffer read-only, so
262 call it only when everything has been already inserted.
263 * emacs-lisp/ert.el (ert--setup-results-buffer)
264 (ert-results-pop-to-backtrace-for-test-at-point)
265 (ert-results-pop-to-messages-for-test-at-point)
266 (ert-results-pop-to-timings): Ditto.
267 * emacs-lisp/package.el (package--list-packages): Ditto.
268 * play/solitaire.el (solitaire): Ditto.
270 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
272 * progmodes/compile.el: Make all faces inherit.
273 (compilation-warning): Inherit from font-lock-variable-name-face.
274 (compilation-info): Inherit from font-lock-type-face.
275 (compilation-line-number): Reassign to font-lock-keyword-face.
276 (compilation-column-number): Reassign to font-lock-doc-face.
277 (compilation-leave-directory-face): Reassign to
278 font-lock-builtin-face.
280 2011-02-02 Eli Zaretskii <eliz@gnu.org>
282 * dired.el (dired-insert-directory): Don't invoke `ls' when
283 ls-lisp.el is used to emulate it.
285 2011-02-01 Julien Danjou <julien@danjou.info>
287 * color.el (color-gradient): Add a color-gradient function.
289 2011-02-01 Sam Steingold <sds@gnu.org>
291 * simple.el (special-mode-map): Bind "h" to `describe-mode';
292 bind "z" to `kill-this-buffer'.
293 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
294 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
295 (apropos-mode): Inherit from `special-mode'.
296 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
297 * bookmark.el (bookmark-bmenu-mode): Define using
298 `define-derived-mode' inheriting from `special-mode'.
299 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
300 * image-mode.el (image-mode-map): Ditto.
301 * replace.el (occur-mode): Define using
302 `define-derived-mode' inheriting from `special-mode'.
303 * tar-mode.el (tar-mode): Inherit from `special-mode'.
304 * calendar/diary-lib.el (diary-fancy-display-mode):
305 Inherit from `special-mode-map'.
306 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
307 Inherit from `special-mode'.
308 * emacs-lisp/package.el (package-menu-mode-map): Copy from
310 (package-menu-mode): Define using `define-derived-mode'
311 inheriting from `special-mode'.
312 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
313 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
314 (xesam-mode-map): Define separately.
315 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
316 * progmodes/compile.el (compilation-minor-mode-map)
317 (compilation-mode-map): Inherit from `special-mode-map'.
318 * vc/diff-mode.el (diff-mode-shared-map):
319 Inherit from `special-mode-map'.
320 * vc/log-view.el (log-view-mode-map): Add a comment.
322 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
324 * custom.el (load-theme): Define return value. Drop use of
325 unsafep; call custom-theme-load-confirm for non-known-safe themes.
326 (custom-theme-load-confirm): Scroll in the correct window.
327 (custom-enabled-themes): Add custom-safe-themes to :set-after.
329 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
330 checkbox if load-theme fails.
332 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
334 * progmodes/compile.el (compilation-next-error): Check there's
335 a message before using it (bug#7941).
337 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
339 * calc/calc-mtx.el (math-lud-pivot-check): New function.
340 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
343 2011-01-31 Alan Mackenzie <acm@muc.de>
345 * progmodes/cc-cmds.el (c-forward-over-illiterals):
346 Continue parsing if we encounter a naked # (Bug#7595).
347 (c-beginning-of-statement): Avoid loop in locating the beginning
350 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
352 * files.el (copy-directory): Fix arguments to recursive call.
354 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
356 * files.el (copy-directory): If destination is an existing
357 directory, copy into a subdirectory there.
359 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
361 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
364 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
366 * image-dired.el (image-dired-mouse-display-image): No-op if no
367 file is found (Bug#7817).
369 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
371 2011-01-31 Kenichi Handa <handa@m17n.org>
373 * international/quail.el (quail-keyboard-layout-alist):
374 Remove superfluous SPC for "pc105-uk" (bug#7927).
376 2011-01-31 Glenn Morris <rgm@gnu.org>
378 * msb.el (msb-menu-bar-update-buffers): Update for changed
379 argument handling of menu-bar-select-frame. (Bug#7902)
381 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
383 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
384 to the recursion depth (Bug#7722).
386 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
388 * term/ns-win.el (ns-find-file): Expand ns-input-file with
389 command-line-default-directory (Bug#7872).
391 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
393 * progmodes/compile.el (compilation--flush-directory-cache):
394 New function, extracted from compilation--remove-properties.
395 (compilation--remove-properties, compilation--parse-region): Use it.
396 (compilation--previous-directory): Handle one more case.
397 (compilation-enable-debug-messages): Remove.
398 (compilation-parse-errors, compilation--flush-parse): Just remove the
399 left over debug messages.
401 2011-01-31 Sam Steingold <sds@gnu.org>
403 * progmodes/compile.el (compilation-enable-debug-messages):
404 Add a variable to make the parsing messages introduced in
405 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
406 (compilation-parse-errors, compilation--flush-parse): Use it.
408 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
410 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
411 (rcirc-nick-completion-format): New defcustom.
412 (rcirc-complete): Use it.
414 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
416 * net/rcirc.el: Clean log filenames (Bug#7933).
417 (rcirc-log-write): Use convert-standard-filename.
418 (rcirc-log-filename-function): Documentation updates.
420 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
422 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
423 Check report-emacs-bug-can-use-osx-open and use that if t.
424 (report-emacs-bug-can-use-osx-open): New function.
425 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
426 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
428 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
430 * vc/vc-dispatcher.el (vc-set-async-update): New function for
431 updating Dired or VC-dir buffers after async command completes.
433 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
434 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
436 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
437 completions if it exists. Use vc-set-async-update.
438 (vc-git-pull): Use vc-set-async-update.
440 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
441 read-shell-command. Use vc-set-async-update.
442 (vc-hg-merge-branch): Use vc-set-async-update.
444 2011-01-29 Daiki Ueno <ueno@unixuser.org>
446 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
447 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
450 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
452 * progmodes/compile.el: Avoid an N² behavior in grep.
453 (compilation--previous-directory): New fun.
454 (compilation--previous-directory-cache): New var.
455 (compilation--remove-properties): Flush it.
456 (compilation-directory-properties, compilation-error-properties):
457 Use the new fun to speed up looking for the current directory.
459 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
461 * vc/vc-hg.el (vc-hg-history): New var.
462 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
463 (vc-hg-merge-branch): New function.
465 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
466 the other way around.
468 * vc/vc-git.el (vc-git-branches, vc-git-pull)
469 (vc-git-merge-branch): New functions.
470 (vc-git-history): New var.
472 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
474 * vc/vc-dispatcher.el (vc-do-async-command): New function.
476 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
479 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
482 2011-01-28 Leo <sdl.web@gmail.com>
484 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
485 highlighting to the "this function is advised" message.
487 * help-mode.el (help-mode-finish): Apply highlighting here, to
488 avoid clobbering by substitute-command-keys (Bug#6304).
490 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
492 * woman.el (woman0-roff-buffer): Process roff escape sequences
493 occurring prior to the first request (Bug#7843).
495 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
497 * progmodes/compile.el: Don't use font-lock any more.
498 (compilation-error-regexp-alist-alist): Change handling of makepp
499 so it preserves the warning/error distinction on subsequent files.
500 Simplify various rules.
501 (compilation-directory-properties): Use font-lock-face.
502 Add a compilation-message property.
503 (compilation-internal-error-properties): Use font-lock-face.
504 Don't set the compilation-debug property here.
505 (compilation--put-prop, compilation--remove-properties)
506 (compilation--parse-region, compilation--ensure-parse)
507 (compilation--ensure-parse): New functions.
508 (compilation-parse-errors): New function, largely inspired of
509 compilation-mode-font-lock-keywords. Set compilation-debug here.
510 (compilation--parsed): New var.
511 (compilation--flush-parse): Use compilation--ensure-parse.
512 (compilation-start): Don't call font-lock.
513 (compilation-turn-on-font-lock): Remove.
514 (compilation-setup): Don't set font-lock-extra-managed-props not change
515 other font-lock settings, other than keywords.
516 Don't activate font-lock-mode.
517 Set change-major-mode-hook and before-change-functions.
518 (compilation--unsetup): Remove properties and hooks.
519 (compilation-next-single-property-change): New function.
520 (compilation-next-error): Use it to parse when needed.
521 (compile-goto-error): Parse buffer as needed.
522 (compilation--compat-error-properties): Don't need a dummy `face'
525 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
527 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
528 (compilation-process-setup-function): Fix docstring's false promises.
529 (compilation-error-regexp-alist-alist): Catch omake's continuous
530 recompilation message and avoid reuse of old markers.
531 (compilation-parse-errors-function): Declare obsolete.
532 (compilation-buffer-modtime): Remove.
533 (compilation--make-cdrloc, compilation--loc->col)
534 (compilation--loc->line, compilation--loc->file-struct)
535 (compilation--loc->marker, compilation--loc->visited)
536 (compilation--make-file-struct, compilation--file-struct->file-spec)
537 (compilation--file-struct->formats)
538 (compilation--file-struct->loc-tree): New macros. Use them.
539 (compilation--message): New defstruct. Use them.
540 (compilation-next-error-function): Don't mess with timestamps to try
541 and guess when to reparse.
543 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
545 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
546 (tex-old-error-file-name): New function,
547 extracted from tex-compilation-parse-errors.
548 (tex-compilation-parse-errors): Remove.
549 (tex-error-regexp-alist): New var.
550 (tex-shell): Use it to avoid compilation-parse-errors-function.
552 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
553 (grep-mode-font-lock-keywords): Remove regexp that seems like
554 a left-over from before we used compile.el.
555 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
556 modifying the buffer within with-silent-modifications.
558 * progmodes/compile.el: Cleanup text-properties namespace by using
559 `compilation-message' instead of `message', `compilation-directory'
560 instead of `directory', and `compilation-debug' instead of `debug'.
561 (compilation-last-buffer, compilation-parsing-end)
562 (compilation-error-list, compilation-old-error-list): Move to the
563 compatibility part of the code.
564 (compilation-error-properties): If `file' is a function, let it return
566 (compilation-mode-font-lock-keywords): Be more conservative with the
567 omake "^ *" pattern prefix, to try and minimize the risk of
568 pathologically slow regexp matching.
569 (compilation-start): Use inhibit-read-only.
570 (compilation--unsetup): New function.
571 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
572 (compilation-filter): Minor tweaks.
573 (compilation-next-error-function): Try and avoid abusing variables.
574 (compilation--flush-file-structure): New fun.
575 (compilation-fake-loc): Use it to improve behavior when file is reused.
576 (debug-ignored-errors): Add "Moved past last ...".
577 (compilation--compat-error-properties)
578 (compilation--compat-parse-errors): Rename by doubling the "-".
580 Port features from the previous prolog.el to the new one.
581 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
582 (prolog-program-name, prolog-program-switches, prolog-consult-string)
583 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
584 variable and use a function to compute the value dynamically.
585 (prolog-prompt-regexp): Add regexp for GNU Prolog.
586 (prolog-continued-prompt-regexp): Remove, unused.
587 (prolog-find-value-by-system): Try and use the value of prolog-system
588 in the *prolog* buffer if it helps.
589 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
590 (prolog-zip-on): ..and check prolog-system and version here instead.
591 (prolog-inferior-self-insert-command): New command.
592 (prolog-inferior-mode-map): Use it.
593 (prolog-inferior-error-regexp-alist): New var.
594 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
595 (prolog-input-filter): Use derived-mode-p.
596 (prolog-inferior-guess-flavor): New function.
597 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
598 make-comint to avoid running comint-mode twice.
599 (prolog-inferior-buffer): New fun.
600 (prolog-old-process-region, prolog-old-process-file):
601 Don't call prolog-bsts here...
602 (prolog-build-prolog-command): ...do it here instead.
603 (prolog-old-process-region, prolog-old-process-file):
604 Use compilation-fake-loc and compilation-forget-errors.
605 (prolog-consult-compile-region): Use bolp.
607 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
609 * image-mode.el (image-display-size): Doc fix (Bug#7820).
611 2011-01-27 Sam Steingold <sds@gnu.org>
613 * midnight.el (clean-buffer-list-kill-never-buffer-names):
614 Remove "*server*" which is never created by emacs server.
616 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
618 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
619 there are some diff switches.
621 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
623 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
624 Copy change made to ruby-font-lock-syntactic-keywords.
626 * htmlfontify.el: Make it obey the font-lock-face text property.
627 Miscellaneous cleanup such as:
628 - Don't hide expressions after a closing paren.
629 - Move initial setq into let.
630 - Hoist common parts out of ifs.
631 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
632 (hfy-face-at): Use get-text-property instead.
633 (hfy-prop-invisible-p): Use invisible-p if available.
634 (htmlfontify-manual): Use \\[...].
635 (hfy-html-quote-regex): Use [...].
636 (hfy-combined-face-spec): Simplify.
637 (hfy-compile-face-map): Don't presume point-min==1.
638 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
640 (hfy-text-p): η-reduce.
641 (hfy-tags-for-file): Receive cache-hash directly.
642 (hfy-mark-tag-names): Adjust call.
644 2011-01-27 Glenn Morris <rgm@gnu.org>
646 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
647 (msb-after-load-hook): Remove eval-after-load wackiness.
649 2011-01-25 Sam Steingold <sds@gnu.org>
651 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
652 literal "diff" (important for windows-nt).
654 2011-01-25 Glenn Morris <rgm@gnu.org>
656 * emacs-lisp/copyright.el (copyright-at-end-flag)
657 (copyright-names-regexp): Add safety properties.
658 (copyright-year-ranges): New option.
659 (copyright-find-end): New function, split from copyright-update-year.
660 (copyright-update-year): Use copyright-find-end.
661 (copyright-fix-years): Optionally, convert years to ranges.
662 Handle years continued over comment lines.
663 Do not mess with the fill-prefix.
664 Do not call copyright-update.
665 (copyright-update-directory): Optionally, fix years rather than update.
666 Skip directories. Find files with only safe local vars.
668 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
670 * files.el (file-name-non-special): Only change buffer-file-name after
671 insert-file-contents if it's `visit'ing the file (bug#7854).
673 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
675 * dired.el (dired-revert): Doc fix (Bug#7758).
677 * simple.el (line-move-visual): Doc fix (Bug#7594).
679 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
681 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
682 here-doc which ends with an underscore.
683 (ruby-mode-set-encoding): Skip shebang line always.
684 (ruby-mode-map): Bind C-c C-c to comment-region.
685 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
686 (ruby-forward-sexp): Stop after literal hash key labels.
687 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
690 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
692 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
693 the correct buffer (Bug#7650).
695 2011-01-25 Glenn Morris <rgm@gnu.org>
697 * comint.el (comint-mode): Doc fix. (Bug#7897)
699 * simple.el (do-auto-fill): Give it a doc string.
701 * button.el (make-text-button): Doc fix. (See bug#7881)
703 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
705 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
706 Don't move backward, so as not to fall in an inf-loop (bug#7736).
708 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
709 Handle ?" and friends differently (e.g. don't use backrefs).
711 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
713 * calc/calc.el (calc-default-power-reference-level)
714 (calc-default-field-reference-level): New variables.
715 * calc/calc-units.el (math-standard-units): Add dB and Np.
716 (math-logunits): New variable.
717 (math-extract-logunits, math-logcombine, calcFunc-luplus)
718 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
719 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
721 (math-find-base-units-rec): Add entry for ln(10).
722 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
723 (calc-ul-prefix-help): New function.
724 * calc/calc-ext.el (calc-init-extensions): Autoload new units
725 functions. Add keybindings for new units functions.
727 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
729 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
730 rcirc buffers. (Bug#4940)
732 2011-01-22 Glenn Morris <rgm@gnu.org>
734 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
735 split out from copyright-update-year.
736 (copyright-update): Don't mess with the GPL version if we don't own the
737 copyright. Update license regexp, and remove no longer needed
739 (copyright-fix-years): Use copyright-find-copyright.
741 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
743 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
745 2011-01-22 Jari Aalto <jari.aalto@cante.net>
747 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
748 (lm): Rename to landmark.
749 (lm-test-run): Rename to landmark-test-run.
751 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
753 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
754 "Case sensitive" menu item.
756 2011-01-22 Roland McGrath <roland@frob.com>
758 * comint.el (comint-replace-by-expanded-history-before-point): Fix
759 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
761 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
763 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
765 2011-01-22 Jari Aalto <jari.aalto@cante.net>
767 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
768 Assume foo(bar) is a manpage reference rather than some unquoted
771 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
773 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
774 Suggested by Flo <sensorflo@gmail.com>.
776 2011-01-22 Glenn Morris <rgm@gnu.org>
778 * progmodes/compile.el (compilation-error-regexp-alist):
779 Fix custom type. (Bug#7812)
781 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
783 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
784 allout-number-siblings, in keeping with what obtained due to
785 (now-defunct) allout-keybindings-list. Ditch repeat binding to
787 (allout-before-change-handler): Better expose spots affected by
790 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
792 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
794 2011-01-22 Phil Hagelberg <phil@evri.com>
796 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
797 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
798 (pcmpl-ssh-config-hosts): New function.
799 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
800 pcmpl-ssh-known-hosts.
802 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
804 * calc/calc-undo.el (calc-undo): Autoload it.
805 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
806 and autoload for `calc-undo'.
807 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
809 * calc/calc-graph.el:
810 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
812 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
814 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
815 keybindings to `calc-undo'.
817 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
819 Don't mess with *temp*.
820 * obsolete/spell.el: Move from textmodes/spell.el.
822 * term.el (term-read-input-ring):
823 * startup.el (display-startup-echo-area-message):
824 * progmodes/antlr-mode.el (antlr-directory-dependencies):
825 * comint.el (comint-read-input-ring): Use with-temp-buffer.
826 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
829 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
831 * allout.el: (allout-institute-keymap): Use fset instead of
834 (allout-hotspot-key-handler): Check for non-control-modified
835 bindings for hotspot characters if there are no control-modified
838 * allout.el: Summary - migrate to defining allout mode using
839 define-minor-mode instead of defun. Significantly clean-up
840 internal keymap provisions, refactoring and, in the process,
841 removing a lot of accumulated cruft.
843 allout-mode-map is now a keymap by virtue of being a defalias to
844 allout-mode-map-value, which contains the actual keymap structure.
846 (allout-mode): Use define-minor-mode rather than defun.
847 Remove now-unnecessary minor-mode setup activities from the body.
848 Specify :keymap as allout-mode-map so the minor-mode-map-alist
849 entry will be '(allout-mode . allout-mode-map) - see
850 allout-mode-map-value, below. Adjust docstring to track changes.
851 (allout-minor-mode): Remove this defalias, now that we're using
853 (allout-mode-map): Set value to be 'allout-mode-map. The actual
854 keymap is allout-mode-map-value, via defalias.
855 (allout-mode-map-value): The variable holding the actual mode
856 keymap structure, by virtue of defalias from allout-mode-map.
857 (allout-compose-and-institute-keymap): Rename from
858 allout-bind-keys, and including the binding-composition
859 functionality of the former produce-allout-mode-map and
860 allout-setup-mode-map.
861 (allout-institute-keymap): Take over the "setup" part of the former
862 allout-setup-mode-map. Reassign allout-mode-map-value value and
864 (allout-command-prefix) (allout-prefixed-keybindings)
865 (allout-unprefixed-keybindings):
866 Use allout-compose-and-institute-keymap to process the bindings.
867 (allout-unprefixed-keybindings): Remove extraneous '?' question
869 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
870 user can customize if they want to use that binding.
871 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
872 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
873 elided that, previously, instead of the one for \C-h.)
874 (allout-hotspot-key-handler): Remove attempt to resolve the key
875 through the literal key-string lookup on allout-keybindings-list.
876 That probably hasn't worked for a Long Time, and removal of
877 allout-keybindings-list further simplifies the keybindings
879 (allout-pre-command-business): Use allout-mode-map-value instead
881 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
882 the bindings if they want to use a keybinding having a trailing
883 \C-h. No deprecation needed since this feature was never in a
885 (allout-keybindings-list): Remove. It's not been useful for a
886 while. (See allout-hotspot-key-handler changes, above.)
887 (produce-allout-mode-map): Remove. Consolidate into
888 allout-compose-and-institute-keymap.
889 (allout-mode-map-adjustments): Remove. No longer necessary with
890 removal of allout-preempt-trailing-ctrl-h.
891 (allout-setup-mode-map): Remove. Consolidate into
892 allout-compose-and-institute-keymap and allout-institute-keymap.
894 2011-01-20 Glenn Morris <rgm@gnu.org>
896 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
898 * simple.el (read-expression-history): Remove, it's in minibuf.c.
900 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
902 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
904 * files.el (find-alternate-file, basic-save-buffer)
905 (basic-save-buffer-2, revert-buffer, recover-file)
906 (kill-buffer-ask, abort-if-file-too-large)
907 (set-visited-file-name, write-file, backup-buffer)
908 (basic-save-buffer, save-some-buffers):
909 * dired-aux.el (dired-compress-file): Callers changed.
911 2011-01-19 Glenn Morris <rgm@gnu.org>
913 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
914 Also check the property status. (Bug#7861)
916 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
918 * net/tramp.el (tramp-debug-message): Extend function exclude
919 list. Use `regexp-opt'.
921 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
923 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
924 highlighting doesn't spill over subsequent lines.
926 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
927 keymap expression. Improve docstring.
929 * electric.el (electric-indent-post-self-insert-function):
930 Don't auto-indent for indent-to-left-margin, it's too often
933 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
935 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
936 spaces if the frame was resized, so that the full visible buffer
937 serves as canvas for strokes.
939 2011-01-16 Glenn Morris <rgm@gnu.org>
941 * info-xref.el (info-xref-docstrings): Replace cl function.
942 Also skip directories.
944 2011-01-16 Kevin Ryde <user42@zip.com.au>
946 * info-xref.el: Version 3.
947 (info-xref-check, info-xref-check-all): Move commentary details
948 into docstrings for better visibility.
949 Use compilation-mode for the results buffer.
950 (info-xref-output, info-xref-output-error, info-xref-with-output)
951 (info-xref-filename, info-xref-in-progress):
952 New internals for this.
953 (info-xref-check-list, info-xref-check-buffer)
954 (info-xref-check-all-custom): Use those.
955 (info-xref-output-buffer): Rename from info-xref-results-buffer.
956 (info-xref-output-heading): Rename from info-xref-filename-heading.
957 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
958 (info-xref-filename-heading): Move to output managing section.
959 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
960 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
961 (info-xref-subfile-p): Move to generic section with those two.
962 (info-xref-check-node): New function split from
963 info-xref-check-buffer, shared by info-xref-docstrings.
964 (info-xref-goto-node-p): Move to a checking section with that func.
965 (info-xref-unavail): New counter.
966 (info-xref-check-node): Use it.
967 (info-xref-with-output): Show count of unavailables at end of output.
968 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
969 symlinks. Exclude .texi files. Exclude Emacs backup files.
970 (info-xref-check-all-custom): Fix quietening viper-mode and
971 gnus-registry-install -- use setq not let so as not to unbind
974 2011-01-16 Juri Linkov <juri@jurta.org>
976 * isearch.el (isearch-abort): Don't quit if search has
977 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
979 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
981 * files.el (backup-buffer): Make last-resort backup file in
984 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
985 make it with permission 700.
987 2011-01-15 Kenichi Handa <handa@m17n.org>
989 * mail/rmailmm.el (rmail-mime-insert-header):
990 Set rmail-mime-coding-system to a cons whose car is the last coding
991 system used to decode the header.
992 (rmail-mime-find-header-encoding): New function.
993 (rmail-mime-insert-decoded-text):
994 Override rmail-mime-coding-system if it is a cons.
995 (rmail-show-mime): If only a header part was decoded, find the
996 coding system while ignoring mm-charset-override-alist.
998 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1000 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1002 2011-01-15 Kenichi Handa <handa@m17n.org>
1004 * mail/rmailmm.el (rmail-mime-next-item)
1005 (rmail-mime-previous-item): Delete them.
1006 (rmail-mime-shown-mode): Recursively call for children.
1007 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1009 (rmail-mime-raw-mode): Recursively call for children.
1010 (rmail-mode-map): Change mapping of tab and backtab to
1011 forward-button and backward-button respectively.
1012 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1014 (rmail-mime-update-tagline): New function.
1015 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1016 body display is changed.
1017 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1018 (rmail-mime-image): Delete this button type.
1019 (rmail-mime-toggle): New button type.
1020 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1021 body display is changed. Change the save button label to "Save".
1022 Don't process show/hide button here.
1023 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1024 the body display is changed. Unconditionally call
1025 rmail-mime-insert for children.
1026 (rmail-mime-handle): Update `display' vector of the just inserted
1028 (rmail-mime-process): If mail-header-parse-content-type returns
1029 nil, use "text/plain" as the fallback type.
1030 (rmail-mime-insert): For raw-mode, recursively call
1031 rmail-mim-insert for children.
1032 (rmail-mime): Handle the case that the current buffer is not rmail
1033 buffer (e.g. in summary buffer).
1035 2011-01-15 Kenichi Handa <handa@m17n.org>
1037 * mail/rmailmm.el (rmail-mime-next-item)
1038 (rmail-mime-previous-item): Skip the body of a non-multipart
1039 entity if a tagline is shown.
1041 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1043 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1044 (tmm-prompt): Simplify.
1045 (tmm-add-prompt): Remove unused var `win'.
1047 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1048 to minor mode which used nil accidentally to mean "turn off".
1050 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1052 * net/tramp-sh.el (tramp-find-inline-compress)
1053 (tramp-get-inline-coding): Quote command after pipe symbol for
1054 local calls under W32. (Bug#6784)
1056 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1058 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1059 only when running under W32.
1061 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1063 * progmodes/grep.el (grep-compute-defaults): Quote the program
1064 file name after the pipe symbol in Grep templates. (Bug#6784)
1065 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1067 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1069 * buff-menu.el (Buffer-menu-buffer-list): New var.
1070 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1071 restricted buffer list is not lost on revert (Bug#7749).
1073 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1075 * net/ldap.el (ldap-search-internal): Discard stderr output.
1077 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1079 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1081 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1085 2011-01-15 Kenichi Handa <handa@m17n.org>
1087 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1088 part as a plain text.
1089 (rmail-mime-process-multipart): Set the default content-type to
1090 nil for unknown multipart subtypes (bug#7651).
1092 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1094 * hexl.el (hexl-mode-old-*): Remove.
1095 (hexl-mode--old-var-vals): New var to replace them.
1096 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1097 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1098 Use them to set local vars (bug#7846).
1099 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1100 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1101 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1103 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1104 (smerge-resolve--normalize-re): New var.
1105 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1106 (smerge-resolve): Use them.
1107 * newcomment.el (comment-only-p): New function.
1108 (comment-or-uncomment-region): Use it.
1110 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1112 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1113 table, get the value before switching to the output buffer. (Bug#7733)
1115 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1117 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1119 2011-01-14 Kim F. Storm <storm@cua.dk>
1121 * emulation/cua-base.el (cua--init-keymaps):
1122 Remap exchange-point-and-mark in cua-global-keymap.
1124 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1126 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1129 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1133 (easy-menu-create-menu, easy-menu-convert-item-1):
1134 Use :label rather than nil for labels. Use `case'.
1135 Add :enable as alias for :active.
1136 (easy-menu-binding): Obey :label.
1138 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1140 Use run-mode-hooks for major mode hooks (bug#513).
1141 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1142 Rename from reftex-toc-map.
1143 (reftex-toc-mode): Use define-derived-mode.
1144 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1145 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1146 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1147 (reftex-select-label-mode, reftex-select-bib-mode):
1148 Use define-derived-mode.
1149 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1150 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1151 Move init into delcaration.
1152 (reftex-index-mode, reftex-index-phrases-mode):
1153 Use define-derived-mode.
1154 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1155 speedbar-syntax-table. Move init into declaration.
1156 (speedbar-mode-map): Rename from speedbar-key-map.
1157 Move init into declaration.
1158 (speedbar-file-key-map): Move init into declaration.
1159 (speedbar-mode): Use define-derived-mode.
1160 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1161 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1162 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1163 (chart-face-list): Move initialization into declaration.
1164 (chart-mode): Use define-derived-mode.
1165 * calculator.el (calculator-mode-map): Move init into declaration.
1166 (calculator-mode): Use define-derived-mode.
1168 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1169 work for nested comments.
1171 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1172 (prolog-use-prolog-tokenizer-flag): Change default when
1173 syntax-propertize can be used.
1174 (prolog-syntax-propertize-function): New var.
1175 (prolog-mode-variables): Move make-local-variable into `set'.
1176 Don't make comment-column local since we don't set it.
1177 Set comment-add (as it was in previous prolog.el). Use dolist.
1178 Set syntax-propertize-function.
1179 (prolog-mode, prolog-inferior-mode):
1180 Call prolog(-inferior)-menu directly, not through the mode-hook.
1181 (prolog-buffer-module, prolog-indent-level)
1182 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1183 (prolog-comment-limits, prolog-goto-comment-column):
1184 Use line-(end|beginning)-position.
1185 (prolog-build-prolog-command): Tighten up regexp.
1186 (prolog-consult-compile): Move make-local-variable into `set'.
1187 (prolog-consult-compile-filter, prolog-goto-next-paren)
1188 (prolog-help-on-predicate, prolog-clause-info)
1189 (prolog-mark-predicate): Don't let+setq.
1190 (prolog-indent-line): Use indent-line-to.
1191 Only call prolog-goto-comment-column if necessary.
1192 (prolog-indent-level): Use bobp.
1193 (prolog-first-pos-on-line): Remove, not used any more.
1194 (prolog-in-string-or-comment): Use syntax-ppss if available.
1195 (prolog-help-on-predicate): Use read-string.
1196 (prolog-goto-predicate-info): Simplify.
1197 (prolog-read-predicate): Use `default' rather than `initial'.
1198 (prolog-temporary-file): Use make-temp-file to close a security hole.
1199 (prolog-toggle-sicstus-sd): New command.
1200 (prolog-electric-underscore, prolog-variables-to-anonymous):
1201 Use dynamic-scoping as it was meant.
1202 (prolog-menu): Move menu definitions to top-level.
1203 Use a toggle-button for Sicstus's source debugger.
1204 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1206 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1207 Move other menu definition to top-level.
1209 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1211 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1212 name. Keep original document's directory as default-directory
1214 (doc-view-initiate-display): Fall back to normal mode when
1215 doc-view-mode cannot be enabled, also when extracting the document
1216 text into a separate buffer (bug#6446).
1218 * simple.el (shell-command): Don't error out if shell command
1219 buffer contains text with non-nil read-only property when erasing
1222 2011-01-13 Kim F. Storm <storm@cua.dk>
1224 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1225 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1226 items when cycling through the matches.
1228 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1230 * dired-x.el (dired-omit-verbose): New defcustom that allows
1231 disabling the omit messages.
1232 (dired-omit-expunge): Use it.
1234 2011-01-13 Christian Ohler <ohler@gnu.org>
1236 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1238 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1240 * font-lock.el (font-lock-verbose): Default to nil.
1242 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1244 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1245 (compose-mail): New arg RETURN-ACTION.
1246 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1248 * mail/sendmail.el (mail-return-action): New var.
1249 (mail-mode): Make it buffer-local.
1250 (mail-bury): Obey it. Move special Rmail window handling to
1252 (mail, mail-setup): New arg RETURN-ACTION.
1253 (sendmail-user-agent-compose): Move from simple.el.
1255 * mail/rmail.el (rmail-mail-return): New function.
1256 (rmail-start-mail): Pass it to compose-mail.
1258 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1260 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1261 menus. Add menu item for customize-themes.
1263 * cus-theme.el (customize-themes):
1264 * emacs-lisp/package.el (package--list-packages):
1265 Use switch-to-buffer.
1267 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1269 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1271 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1273 * progmodes/prolog.el: Fix up coding convention and such.
1274 (prolog-indent-width): Use the same default as in
1275 previous prolog.el rather than tab-width which depends on which buffer
1276 is current when the file is loaded.
1277 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1279 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1280 (prolog-known-systems): Remove.
1281 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1282 Move initialization into declaration.
1283 (prolog-mode-map): Move initialization into declaration.
1284 Remove system-specific mode-map vars, since they referred to the same
1286 (prolog-mode-variables): Obey the user's preference w.r.t
1287 adaptive-fill-mode. Prefer symbol-value to `eval'.
1288 (prolog-mode-keybindings-edit): Add compatibility bindings.
1289 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1290 (mercury-mode-map): New var.
1291 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1292 (prolog-ensure-process, prolog-process-insert-string)
1293 (prolog-consult-compile): Use with-current-buffer.
1294 (prolog-guess-fill-prefix): Simplify data flow.
1295 (prolog-replace-in-string): New function to use instead of
1297 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1298 (prolog-uncomment-region): Use `uncomment-region' when available.
1299 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1300 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1301 of int-to-char and char-to-int.
1302 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1304 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1306 * progmodes/prolog.el: Replace by a whole new file.
1308 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1310 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1311 (declare-function, undefined, insert-for-yank)
1312 (replace-regexp-in-string): Follow checkdoc's recommendations.
1314 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1316 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1317 refreshing the diary buffer.
1319 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1321 * allout.el: Add 2011 to the file copyright.
1322 (allout-encrypt-string): Prevent encryption from adding an extra
1323 newline at the end of the topic body.
1324 (allout-version): Increment to 2.3.
1326 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1328 * net/dbus.el (dbus-unregister-service): Complete doc.
1329 Fix call of dbus-error signal.
1330 (dbus-register-property): Use `dont-register' keyword.
1332 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1334 * net/dbus.el (dbus-unregister-service): Translate returned
1335 integer into a symbol.
1336 (dbus-register-property): Use `dbus-register-service' to do the
1339 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1341 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1342 Suggested by Joakim Verona.
1344 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1346 * wid-edit.el (visibility): Replace :on-image and :off-image
1347 widget properties with :on-glyph and :off-glyph, for consistency
1348 with the `visibility' widget.
1349 (widget-toggle-value-create, widget-visibility-value-create):
1350 Merge into a single function `widget-toggle-value-create'.
1352 * cus-edit.el (custom-variable-value-create, custom-visibility)
1353 (custom-face-edit-value-create, custom-face-value-create):
1354 Replace :on-image and :off-image widget properties with :on-glyph and
1355 :off-glyph, for consistency with the `visibility' widget.
1357 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1359 * net/ldap.el (ldap-search-internal): Don't use eval.
1361 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1363 * subr.el (read-char-choice): Use read-key.
1365 * custom.el (custom-safe-themes): Rename from
1366 custom-safe-theme-files. Add :risky tag.
1367 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1368 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1370 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1372 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1373 from Search and add a label to Undo.
1375 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1376 inappropriate buttons and adding :vert-only tags.
1378 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1379 removal of Help tool-bar button. Remove Undo button for space.
1381 * info.el (info-tool-bar-map): Add :vert-only tags.
1383 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1385 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1386 image backend support. Either of them is fine.
1388 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1390 * subr.el (y-or-n-p): Doc fix.
1392 * custom.el (custom-safe-theme-files): New defcustom.
1393 (custom-theme-load-confirm): New function.
1394 (load-theme): Load theme using `load', confirming with
1395 custom-theme-load-confirm if necessary.
1397 * subr.el (read-char-choice): New function, factored out from
1398 dired-query and hack-local-variables-confirm.
1400 * dired-aux.el (dired-query):
1401 * files.el (hack-local-variables-confirm): Use it.
1403 * dired-aux.el (dired-compress-file):
1404 * files.el (abort-if-file-too-large, find-alternate-file)
1405 (set-visited-file-name, write-file, backup-buffer)
1406 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1407 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1408 Use new format string args for y-or-n-p and yes-or-no-p.
1410 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1412 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1413 [gcc-include]: Tighten file name match, add match for column
1415 [gnu]: Remove unused group.
1417 2011-01-08 Glenn Morris <rgm@gnu.org>
1419 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1421 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1423 2011-01-07 Sam Steingold <sds@gnu.org>
1425 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1426 the `explicit-shell-file-name' because that is the
1427 non-interactive shell.
1429 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1431 * subr.el (y-or-n-p): Accept format string args.
1433 2011-01-07 Glenn Morris <rgm@gnu.org>
1435 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1437 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1439 * allout.el (allout-back-to-current-heading): Ensure return to
1440 the visible containing topic, rather than a collapsed one.
1441 (allout-view-change-hook): Remove hook that was deprecated long ago.
1442 (allout-exposure-change-hook): Remove documentation remarks
1443 concerning removed allout-view-change-hook.
1444 (allout-flag-region): Remove invocation of and documentation
1445 remarks concerning allout-view-change-hook.
1447 2011-01-06 Glenn Morris <rgm@gnu.org>
1449 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1450 (vc-bzr-annotate-extract-revision-at-line):
1451 Handle authors with embedded spaces. (Bug#7792)
1453 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1455 * doc-view.el (doc-view-image-width): New variable.
1456 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1457 backend for PNG images, and do dynamic rescaling instead of
1458 reconverting the whole doc.
1460 2011-01-05 Glenn Morris <rgm@gnu.org>
1462 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1464 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1466 * allout.el: Reconcile with changes in line movement behavior for
1467 long text lines that cross more than a single physical window
1468 line, ie when truncate-lines is nil.
1469 (allout-next-visible-heading): Provide for change in line-move
1470 behavior on long lines when truncate-lines is nil. In that case,
1471 line-move can wind up on the same textual line when it moves to
1472 the next window line, and moving to the bullet position after the
1473 move yields zero advancement. Add logic to detect and compensate
1474 for the lack of progress.
1475 (allout-current-topic-collapsed-p): move-end-of-line respect for
1476 field boundaries is different when operating with body lines
1477 shorter than window width versus ones greater than window width,
1478 which can yield false negatives in this function. Avoid
1479 difference by applying move-end-of-line while field-text-motion is
1482 2011-01-04 Glenn Morris <rgm@gnu.org>
1484 * textmodes/rst.el (rst-compile-toolsets):
1485 Add pdf and s5 to option alist.
1487 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1489 * net/dbus.el (dbus-register-property): Add optional parameter
1490 dont-register-service. Updated docstring accordingly.
1492 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1494 * textmodes/rst.el (rst-compile-pdf-preview)
1495 (rst-compile-slides-preview): Remove extra line.
1497 2011-01-04 Glenn Morris <rgm@gnu.org>
1499 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1500 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1501 default to `prog' without a .py extension.
1502 (rst-compile-pdf-preview, rst-compile-slides-preview):
1503 Use program names from rst-compile-toolsets, rather than hard-coding.
1504 (rst-portable-mark-active-p): Fix presumed typo.
1506 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1508 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1509 libpng versions both before and after 1.4.0. (Bug#7716)
1511 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1513 * time.el (display-time-mode): Mention display-time-interval in
1514 the doc string. (Bug#7713)
1516 2011-01-02 Kenichi Handa <handa@m17n.org>
1518 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1519 condition-case and return an error message string if something
1521 (rmail-show-mime): Adjust for the above change. Insert the
1522 header by rmail-mime-insert-header.
1524 2011-01-02 Kenichi Handa <handa@m17n.org>
1526 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1527 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1528 (rmail-mime-mbox-buffer)
1529 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1530 (rmail-mime-entity): Argument changed. All codes handling an
1531 entity object are changed.
1532 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1534 (rmail-mime-entity-children, rmail-mime-entity-handler)
1535 (rmail-mime-entity-tagline): New functions.
1536 (rmail-mime-message-p): New function.
1537 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1538 (rmail-mime-entity-segment, rmail-mime-next-item)
1539 (rmail-mime-previous-item, rmail-mime-shown-mode)
1540 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1541 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1542 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1544 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1545 (rmail-mime-insert-decoded-text): New function.
1546 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1547 (rmail-mime-insert-image): Argument changed. Caller changed.
1548 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1549 (rmail-mime-set-bulk-data): New funciton.
1550 (rmail-mime-insert-bulk): Argument changed.
1551 (rmail-mime-multipart-handler): Return t.
1552 (rmail-mime-process-multipart): Argument changed.
1553 Handle "multipart/alternative" here.
1554 (rmail-mime-process): Argument changed.
1555 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1556 (rmail-mime-insert): Argument changed. Handle raw display mode.
1557 (rmail-mime): Argument changed. Handle toggling of raw display
1559 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1560 rmail-mime-view-buffer.
1561 (rmail-insert-mime-forwarded-message): Likewise.
1562 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1564 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1565 non-nil, handle the header in rmail-show-mime-function.
1567 2011-01-02 Leo <sdl.web@gmail.com>
1569 * help-fns.el (describe-variable): Fix previous change.
1571 2011-01-02 Juri Linkov <juri@jurta.org>
1573 * isearch.el (isearch-lazy-highlight-error): New variable.
1574 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1575 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1576 to the current value of `isearch-error' (Bug#7468).
1578 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1580 * help-fns.el (describe-variable): Don't emit trailing whitespace
1583 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1585 * textmodes/rst.el (rst-compile-pdf-preview)
1586 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1588 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1590 * emulation/edt-mapper.el: Override mapping of function keys so
1591 that the later call to read-key-sequence works.
1593 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1595 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1596 Unix EOLs. (Bug#7589)
1598 2011-01-02 Leo <sdl.web@gmail.com>
1600 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1601 if point is not behind eshell-last-output-end (Bug#7585).
1603 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1605 * files.el (file-local-variables-alist):
1606 Make permanent-local (bug#7767).
1608 2011-01-02 Glenn Morris <rgm@gnu.org>
1610 * version.el (emacs-copyright): Set short copyright year to 2011.
1612 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1614 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1615 an existing temp buffer. (Bug#7746)
1617 2011-01-02 Glenn Morris <rgm@gnu.org>
1619 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1620 multiple addresses. (Bug#7760)
1622 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1624 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1625 do-auto-fill if everything points back to allout-auto-fill.
1626 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1627 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1629 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1631 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1634 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1636 * doc-view.el (doc-view-set-doc-type): New function refactored
1638 (doc-view-fallback-mode): New function.
1639 (doc-view-mode): Use it.
1640 (doc-view-mode-maybe): New function that checks if doc-view-mode
1641 can be used and falls back to the next best mode otherwise.
1643 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1644 DVI, OpenDocument, and MS Office files.
1646 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1648 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1650 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1652 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1653 on a copy of auto-mode-alist, because that deletes with side
1656 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1658 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1659 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1660 fallback instead of hard coding fundamental mode.
1662 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1664 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1665 Office) files also for searching.
1667 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1669 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1670 Office) files. Not yet enabled via auto-mode-list.
1671 (doc-view-unoconv-program): New custom variable.
1672 (doc-view-mode-p): Handle new odf document type.
1673 (doc-view-odf->pdf): New conversion function.
1674 (doc-view-convert-current-doc): Call it for odf files.
1675 (doc-view-mode): Recognize newly supported file extensions.
1677 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1679 * net/tramp.el (tramp-default-method-alist)
1680 (tramp-default-user-alist)
1681 (tramp-local-host-regexp, tramp-prefix-domain-format)
1682 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1685 * net/tramp-gvfs.el:
1687 * net/tramp-imap.el:
1689 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1690 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1692 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1694 * saveplace.el (save-place-alist-to-file): Save list sorted and
1695 pretty-printed, so that it is mergeable by line-based text merging,
1696 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1698 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1700 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1701 (allout-mode): Argument "toggle" => "force".
1702 Refine the docstring.
1703 Remove special provisions for reactivation, besides the 'force'
1705 Consolidate layout provisions coce directly into the activation
1706 condition branch, now that we've removed those provisions.
1707 (allout-unload-function): Explicitly activate the mode before
1708 deactivating, if it's initially deactivated.
1709 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1710 warnings for version of function used only where
1711 set-buffer-multibyte is unavailable.
1713 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1715 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1716 are handled by the menu-bar entries. As before, don't use
1717 :visibile to avoid changing the tool-bar.
1719 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1721 * net/secrets.el (secrets-delete-alias): New defun.
1723 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1725 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1726 methods, otherwise ~/.ssh/config would be ignored.
1728 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1730 * emacs-lisp/rx.el: Make it a superset of sregex.
1731 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1732 of args, add `regex' alias.
1733 (rx-info): Add arg to distinguish head and standalone forms.
1734 (rx-check, rx-form): Pass the corresponding arg.
1736 (rx-repeat): Make it work for any number of args.
1737 (rx-syntax): Make it accept syntax chars as is.
1738 * obsolete/sregex.el: Move from emacs-lisp/.
1739 * emacs-lisp/re-builder.el: Remove sregex support.
1740 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1742 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1744 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1745 PRIMARY first, then the clipboard. (Bug#7699)
1747 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1749 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1752 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1754 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1755 .emacs.elc (Bug#7530).
1757 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1758 image spec (Bug#7480).
1760 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1762 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1763 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1766 2010-12-20 Leo <sdl.web@gmail.com>
1768 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1769 always be performed (Bug#7680).
1771 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1773 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1774 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1777 * color.el: Move from gnus/.
1779 * vc/diff.el (diff-better-file-name): Function deleted.
1780 abbreviating file names causes problems with shell-quote-argument.
1781 (diff-no-select): Just use expand-file-name.
1783 * tool-bar.el (tool-bar--image-expression): New function.
1784 (tool-bar-local-item, tool-bar--image-exp): Use it.
1785 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1786 Use :enable instead of :visible to avoid changing the tool-bar
1787 configuration unnecessarily.
1789 * info.el (info-tool-bar-map): Add separators.
1791 2010-12-17 Ken Brown <kbrown@cornell.edu>
1793 * loadup.el: Use version numbers in Cygwin build.
1795 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1797 * ido.el (ido-file-internal): Ask for confirmation before
1798 overwriting an existing file (Bug#1238).
1800 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1802 * tool-bar.el (tool-bar-setup): Add separators.
1804 * menu-bar.el (featurep): Use menu-bar-separator.
1806 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1808 Migrate allout encryption provisions from pgg to epg.
1810 * allout.el (allout-toggle-current-subtree-encryption)
1811 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1812 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1813 for simpler universal argument interpretation.
1814 (allout-toggle-subtree-encryption): Adjust docstring to describe
1815 changed encryption provisions. Change fetch-pass to keymode-cue, for
1816 simpler universal argument interpretation. Remove provisions for
1817 handling key type and identity - they'll all be within
1818 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1819 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1820 for keypair recipients (universal argument > 1) and, in addition,
1821 associating the specified recipients with the outline (universal
1822 argument > 4) using a file local variable setting for
1823 'epa-file-encrypt-to'.
1824 Require epa, for recipients handling.
1825 Change how regexp filtering elements are named.
1826 Describe the problem with caching of incorrect symmetric-decryption
1828 Use the epa-passphrase-callback-function, in case the user is using
1830 Support saving of the selected keypair recipients when invoked with a
1832 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1834 Establish epg-context with armoring and default epg-protocol.
1835 Remove all passphrase cache, verification, and hinting code.
1836 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1837 No longer used, delete.
1838 (allout-mode): Adjust docstring to describe changed encryption
1839 provisions. Describe the problem with caching of incorrect
1840 symmetric-decryption keys.
1841 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1842 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1843 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1844 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1847 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1849 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1850 key selection prompt; make 'silent as default (Bug#7487).
1852 2010-12-16 Leo <sdl.web@gmail.com>
1854 * eshell/eshell.el (eshell-directory-name):
1855 Use locate-user-emacs-file (Bug#7578).
1857 2010-12-15 Glenn Morris <rgm@gnu.org>
1859 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1861 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1862 Scott Evans <gse@antisleep.com>
1864 * rect.el (rectange--default-line-number-format)
1865 (rectangle-number-line-callback): New functions.
1866 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1868 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1870 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1871 Delete unused variables.
1872 (move-to-column-force): Remove function obsolete since 21.2.
1874 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1876 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1877 (tramp-handle-insert-file-contents): Do not set permanent-local
1880 * net/tramp-cache.el (tramp-persistency-file-name):
1881 Use `locate-user-emacs-file' if fboundp.
1883 * net/tramp-sh.el (tramp-methods): Add "ksu".
1884 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1887 2010-12-14 Glenn Morris <rgm@gnu.org>
1889 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1890 (find-tag-marker-ring): Declare.
1891 (js-find-symbol): Require etags.
1893 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1895 (mail-alias-file): Don't autoload. Doc fix.
1896 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1897 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1898 Mark as obsolete, and risky.
1899 (mail-setup): Simplify.
1901 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1902 * mail/sendmail.el (build-mail-aliases): Update autoload.
1904 * dired.el (dired-trivial-filenames, dired-chown-program)
1905 (dired-auto-revert-buffer): Remove autoload cookies.
1906 * mail/sendmail.el (mail-recover-1): Require 'dired.
1908 * dired.el (dired-subdir-switches, dired-chown-program)
1909 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1910 Make into defcustoms.
1911 (dired-chown-program): Simplify initialization.
1913 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1915 2010-12-13 Romain Francoise <romain@orebokech.com>
1917 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1919 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1921 * net/netrc.el (netrc-point-at-eol): Remove the unused
1922 netrc-point-at-old and netrc-bound-and-true-p bindings.
1923 (netrc-parse): Cache the netrc contents.
1925 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1927 * subr.el (posn-col-row): Evaluate header-line-format in the
1928 context of the POSITION window's buffer.
1930 2010-12-13 Glenn Morris <rgm@gnu.org>
1932 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1933 (with-silent-modifications): Doc fixes.
1935 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1937 * net/tramp.el (tramp-action-password, tramp-process-actions):
1938 Revert previous from. Use `save-restriction'.
1940 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1942 * calendar/diary-lib.el (diary-list-sexp-entries):
1943 Handle case of no newline at end of file. (Bug#7536)
1945 2010-12-13 Glenn Morris <rgm@gnu.org>
1947 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1949 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1951 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1952 (tramp-process-actions): Do not widen.
1954 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1955 Protect buffer-modified value. (Bug#7557)
1957 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1959 * log-edit.el (log-edit-changelog-entries):
1960 Regexp quote filename. (Bug#7505)
1962 2010-12-13 Tom Breton <tehom@panix.com>
1964 * cus-edit.el (custom-save-all):
1965 Bind print-length and print-level to nil. (Bug#7581)
1967 2010-12-13 Glenn Morris <rgm@gnu.org>
1969 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1970 Run hooks to update menu contents. (Bug#7586)
1972 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1973 file names, for the sake of MS Windows. (Bug#7588)
1975 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1977 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1978 empty lines without a leading space.
1980 2010-12-13 Leo <sdl.web@gmail.com>
1982 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1983 while mapping over marks (Bug#6810).
1985 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1987 * image-dired.el (image-dired-db-file)
1988 (image-dired-temp-image-file, image-dired-gallery-dir)
1989 (image-dired-temp-rotate-image-file): Set default values relative
1990 to image-dired-dir (Bug#7518).
1992 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1994 * format.el (format-decode-run-method): Pass args FROM and TO, not
1995 point-min and point-max, to shell-command-on-region (Bug#7488).
1997 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1999 * frame.el (blink-cursor-mode): Make default t for ns.
2001 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2003 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2005 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2007 * comint.el (comint-dynamic-list-input-ring)
2008 (comint-dynamic-complete-filename)
2009 (comint-replace-by-expanded-filename)
2010 (comint-dynamic-simple-complete)
2011 (comint-dynamic-list-filename-completions)
2012 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2014 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2017 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2019 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2022 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2024 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2027 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2029 * files.el (file-relative-name): Handle UNC file names on
2030 DOS/Windows. (Bug#4674)
2032 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2034 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2035 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2036 (epg-context-set-passphrase-callback): Mention that the callback
2037 is not called when used with GnuPG 2.x.
2039 2010-12-13 Glenn Morris <rgm@gnu.org>
2041 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2042 Ensure ps-footer-font-size-internal is initialized.
2043 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2045 2010-12-13 Kenichi Handa <handa@m17n.org>
2047 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2048 within condition-case.
2049 (rmail-show-mime): Don't use condition-case.
2050 (rmail-search-mime-message): New function.
2051 (rmail-search-mime-message-function): Set to
2052 rmail-search-mime-message.
2054 2010-12-13 Leo <sdl.web@gmail.com>
2056 * ido.el (ido-common-initialization): New function. (bug#3274)
2058 (ido-completing-read): Call it.
2060 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2062 * bookmark.el (bookmark-name-from-full-record): Rename back to
2063 this original name from `bookmark-name-from-record' reverting part
2064 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2065 As Drew Adams pointed out, there was no reason to cause churn for
2066 third-party callers.
2068 2010-12-12 Alan Mackenzie <acm@muc.de>
2070 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2071 template arglist, check that the current language supports this.
2073 2010-12-11 Glenn Morris <rgm@gnu.org>
2075 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2076 state of the file matches. (Bug#7544)
2077 (vc-bzr-register, vc-bzr-checkin)
2078 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2079 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2081 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2083 2010-12-11 Karel Klíč <kklic@redhat.com>
2085 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2087 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2089 Derive from prog-mode, use derived-mode-p, and fix up various
2090 minor style issues in lisp/progmodes.
2092 * progmodes/vhdl-mode.el (vhdl-mode):
2093 * progmodes/verilog-mode.el (verilog-mode):
2094 * progmodes/vera-mode.el (vera-mode):
2095 * progmodes/sql.el (sql-mode):
2096 * progmodes/scheme.el (scheme-mode):
2097 * progmodes/perl-mode.el (perl-mode):
2098 * progmodes/octave-inf.el (inferior-octave-mode):
2099 * progmodes/autoconf.el (autoconf-mode):
2100 * progmodes/m4-mode.el (m4-mode):
2101 * progmodes/inf-lisp.el (inferior-lisp-mode):
2102 * progmodes/idlwave.el (idlwave-mode):
2103 * progmodes/icon.el (icon-mode):
2104 * progmodes/idlw-help.el (idlwave-help-mode):
2105 * progmodes/dcl-mode.el (dcl-mode):
2106 * progmodes/idlw-shell.el (idlwave-shell-mode):
2107 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2108 (ebrowse-member-mode, ebrowse-electric-position-mode):
2109 Use define-derived-mode.
2111 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2112 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2113 (xscheme-debugger-mode-p, xscheme-send-string-1):
2114 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2115 (tcl-load-file, tcl-restart-with-file):
2116 * progmodes/ps-mode.el (ps-run-running):
2117 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2118 * progmodes/js.el (js--get-all-known-symbols):
2119 * progmodes/inf-lisp.el (inferior-lisp-proc):
2120 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2121 (idlwave-template, idlwave-update-buffer-routine-info)
2122 (idlwave-update-current-buffer-info)
2123 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2124 (idlwave-scan-class-info, idlwave-fix-keywords)
2125 (idlwave-list-buffer-load-path-shadows):
2126 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2127 (idlwave-toolbar-remove):
2128 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2129 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2130 (idlwave-shell-menu-def):
2131 * progmodes/idlw-complete-structtag.el
2132 (idlwave-prepare-structure-tag-completion):
2133 * progmodes/gud.el (gud-set-buffer):
2134 * progmodes/f90.el (f90-backslash-not-special):
2135 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2137 * progmodes/xscheme.el (xscheme-start)
2138 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2139 * progmodes/which-func.el (which-function):
2140 * progmodes/vhdl-mode.el (vhdl-set-style):
2141 * progmodes/verilog-mode.el (verilog-set-compile-command)
2142 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2143 (verilog-set-define, verilog-auto-reeval-locals):
2144 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2145 * progmodes/simula.el (simula-mode):
2146 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2147 * progmodes/python.el (python-check, python-mode):
2148 * progmodes/prolog.el (prolog-mode-variables):
2149 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2150 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2151 * progmodes/delphi.el (delphi-mode):
2152 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2153 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2154 (c-font-lock-init): Move make-local-variable to their setq.
2156 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2157 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2159 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2160 (sh-set-shell): Don't set require-final-newline since it's already done
2162 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2163 since we never set it.
2164 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2165 Use read-string and standard prompt.
2166 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2167 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2168 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2169 (meta-common-mode-map): Rename from meta-mode-map.
2170 Remove C-m binding, which is a user preference, not mode specific.
2171 (meta-common-mode): New major mode; replace meta-common-initialization.
2172 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2173 around with font-lock.
2174 * progmodes/etags.el (select-tags-table-mode):
2175 Derive from special-mode.
2176 * progmodes/octave-mod.el (octave-mode):
2177 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2178 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2179 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2180 Let define-derived-mode do its job.
2181 * progmodes/cpp.el (cpp-edit-mode-map):
2182 Move initialization into declaration.
2183 (cpp-edit-mode): Use define-derived-mode.
2184 (cpp-edit-load): Use derived-mode-p.
2185 * progmodes/mixal-mode.el (mixal-mode):
2186 * progmodes/f90.el (f90-mode):
2187 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2188 require-final-newline since prog-mode does it already.
2189 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2190 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2191 * progmodes/antlr-mode.el: Require cc-mode upfront.
2192 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2194 (antlr-directory-dependencies, antlr-show-makefile-rules):
2196 (antlr-language-option): Don't assume point-min==1.
2197 (antlr-mode): Use define-derived-mode.
2198 * progmodes/ada-mode.el: Use derived-mode-p.
2199 (ada-mode): Use define-derived-mode.
2200 Use hack-local-variables-hook.
2202 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2204 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2205 (texinfo-mode): Don't disable adaptive-fill-mode.
2206 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2207 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2208 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2209 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2210 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2211 (texinfo-insert-@quotation, texinfo-insert-@samp)
2212 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2213 (texinfo-insert-@uref): Use define-skeleton.
2214 (texinfo-insert-@-with-arg): Delete.
2216 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2218 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2219 nil, do quote archive member names. (Bug#6144)
2221 2010-12-10 Glenn Morris <rgm@gnu.org>
2223 * files.el (diff-no-select): Declare.
2225 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2226 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2228 * comint.el (comint-input-ring-file-name): Doc fix.
2230 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2232 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2234 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2235 Use them instead of `nil' and `>', respectively.
2236 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2238 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2239 and menu-bar-positive-p instead of `nil' and `>', respectively.
2242 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2244 * whitespace.el (whitespace-newline-mode): Code fix.
2246 2010-12-09 Glenn Morris <rgm@gnu.org>
2248 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2249 Rename functions without commas, update callers.
2251 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2253 * whitespace.el (whitespace-cleanup-region):
2254 Clean up spaces before tabs. (Bug#7582)
2256 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2258 * bookmark.el: Adjust parameter names and doc strings to resolve
2259 confusion over whether "bookmark" meant a bookmark name or a
2260 bookmark record. Along the way, shorten one function's name for
2261 similar reasons. (Issue #7548)
2262 (bookmark-name-from-record): New name for
2263 `bookmark-name-from-full-record'. All callers changed.
2264 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2265 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2266 (bookmark-get-annotation, bookmark-set-annotation)
2267 (bookmark-get-filename, bookmark-set-filename)
2268 (bookmark-get-position, bookmark-set-position)
2269 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2270 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2271 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2272 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2273 Rename `bookmark' parameter to `bookmark-name-or-record', to
2274 clearly show its role, and shorten or adjust doc strings accordingly.
2275 (bookmark-set-name): Same, and pass the parameter directly to
2276 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2277 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2278 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2279 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2280 and in some cases shorten doc string accordingly.
2281 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2282 and `new-name', and adjust an internal variable to avoid confusion.
2283 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2284 parameter in doc string.
2286 2010-12-08 Glenn Morris <rgm@gnu.org>
2288 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2289 from gdb's history file. (Bug#7575)
2291 * mail/emacsbug.el (report-emacs-bug):
2292 Try to handle some other mail clients.
2294 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2296 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2297 Use string-prefix-p.
2298 (file-name-version-regexp): New var.
2299 (file-name-sans-versions):
2300 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2301 (jka-compr-get-compression-info): Use dolist.
2302 (jka-compr-compression-info-list): Don't bother specifying
2303 version/backup regexps.
2305 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2307 * simple.el (just-one-space): Make argument n default to 1 if
2310 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2312 * electric.el (electric-indent-post-self-insert-function):
2313 Delete trailing newlines even if we don't reindent.
2315 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2317 * minibuffer.el (completion-at-point): Remove the `arg'.
2318 * bindings.el (complete-symbol): Move back from minibuffer.el.
2320 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2322 * simple.el (just-one-space): Delete newlines for negative arg.
2324 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2326 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2327 (ansi-color-filter-apply): Simplify.
2328 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2330 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2332 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2334 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2336 * dired.el (dired-use-ls-dired): Set default to a special
2337 "unspecified" value.
2338 (dired-insert-directory): When called the first time, check
2339 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2341 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2343 * replace.el: Add "collect" feature to occur.
2344 (occur-collect-regexp-history): New var.
2345 (occur-read-primary-args): Return a replace string for nlines,
2347 (occur): Extend the meaning of nlines.
2349 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2351 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2352 (which-func-update-1): Distinguish symbols from strings.
2353 (which-function): Stay within 80 columns.
2355 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2357 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2359 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2361 (comment-style): Use comment-styles's docs to describe values.
2363 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2365 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2366 and ns-show-prefs (Bug#7535).
2368 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2369 bindings (Bug#7535).
2371 2010-12-03 Glenn Morris <rgm@gnu.org>
2373 * nxml/nxml-mode.el: Require rng-nxml.
2374 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2375 Remove declarations.
2377 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2378 * nxml/rng-nxml.el, nxml/rng-valid.el:
2379 Remove leading `*' from defcustom docs.
2381 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2382 (normal-top-level-add-to-load-path, tty-handle-args):
2383 Convert comments to basic doc-strings.
2385 * net/browse-url.el (browse-url-url-at-point)
2386 (browse-url-default-browser): Remove autoload cookies.
2388 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2389 Remove more undefined cl functions.
2391 * vc/diff.el (diff-sentinel): Make new arguments optional.
2392 * ibuf-ext.el (diff-sentinel): Update declaration.
2394 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2396 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2397 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2398 (epg-context-set-passphrase-callback): Mention that the callback
2399 is not called when used with GnuPG 2.x.
2401 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2403 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2404 (tramp-file-name-port): Check also for `tramp-default-port'.
2405 (tramp-get-connection-name): New defun.
2406 (tramp-get-connection-process): Use it.
2407 (tramp-debug-message): Extend function exclude list.
2408 (tramp-drop-volume-letter): Fix doc string.
2410 * net/tramp-cmds.el: Remove solved todo item.
2414 * net/tramp-gvfs.el:
2416 * net/tramp-imap.el:
2417 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2418 and `tramp-default-user-alist', respectively.
2420 * net/tramp-gw.el (tramp-gw-open-connection):
2421 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2423 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2424 `tramp-file-name-port'.
2426 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2427 and "psftp". Exchange "%k" marker with options.
2428 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2429 Compute size of link target.
2430 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2431 `tramp-current-*' up due to gateway methods. Optimze computing of
2432 copy arguments. Use `tramp-get-connection-name' and
2433 `tramp-get-connection-buffer'. Improve debug messages.
2434 (tramp-compute-multi-hops): Remove port determination.
2435 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2437 * net/trampver.el: Update release number.
2439 2010-12-02 Glenn Morris <rgm@gnu.org>
2441 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2442 Avoid infinite loop over windows. (Bug#7492)
2444 * progmodes/flymake.el (flymake-check-file-limit):
2445 Allow nil to mean "no limit".
2446 (flymake-check-patch-master-file-buffer): Update for above change.
2447 Allow a .tex file-name extension to be optional.
2448 (flymake-master-tex-init): Also match \include statements.
2450 2010-11-30 Sam Steingold <sds@gnu.org>
2452 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2453 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2454 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2455 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2456 define-derived-mode').
2457 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2458 users who want to call `nxml-parent-document-set'.
2460 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2462 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2463 stand-alone lines, since that is handled by log-edit-match-to-eoh
2466 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2468 * dired.el (dired-get-filename): Replace backslashes with slashes
2469 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2470 * locate.el (locate-default-make-command-line): Don't consider
2471 drive letter and root directory part of
2472 `directory-listing-before-filename-regexp'. (Bug#7308)
2473 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2475 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2477 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2478 of :smie-open/close-alist.
2479 (smie-next-sexp): Make it accept a "start token" as argument.
2480 (smie-indent-keyword): Be careful not to misidentify tokens that span
2481 more than one line, as empty lines. Add argument `token'.
2483 2010-11-27 Kenichi Handa <handa@m17n.org>
2485 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2486 multipart subtypes, insert all as usual.
2488 * mail/rmail.el: Require rfc2047.
2490 2010-11-27 Kenichi Handa <handa@m17n.org>
2492 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2493 (rmail-mime-entity-disposition)
2494 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2495 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2496 (rmail-mime-save): Handle the case that the button's `data' is a
2498 (rmail-mime-insert-text): New function.
2499 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2500 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2501 (rmail-mime-insert-bulk): New function mostly copied from the old
2502 rmail-mime-bulk-handler.
2503 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2504 (rmail-mime-process-multipart): New function mostly copied from
2505 the old rmail-mime-multipart-handler.
2506 (rmail-mime-show): Just call rmail-mime-process.
2507 (rmail-mime-process): New function mostly copied from the old
2509 (rmail-mime-insert-multipart, rmail-mime-parse)
2510 (rmail-mime-insert, rmail-show-mime)
2511 (rmail-insert-mime-forwarded-message)
2512 (rmail-insert-mime-resent-message): New functions.
2513 (rmail-insert-mime-forwarded-message-function): Set to
2514 rmail-insert-mime-forwarded-message.
2515 (rmail-insert-mime-resent-message-function): Set to
2516 rmail-insert-mime-resent-message.
2518 * mail/rmailsum.el: Require rfc2047.
2519 (rmail-header-summary): Handle multiline Subject: field.
2520 (rmail-summary-line-decoder): Change the default to
2521 rfc2047-decode-string.
2523 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2524 (rmail-mime-feature): Change the default to `rmailmm'.
2525 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2526 (rmail-display-labels): Likewise.
2527 (rmail-show-message-1): Check rmail-enable-mime, and use
2528 rmail-show-mime-function for a MIME message. Decode the headers
2529 according to RFC2047.
2531 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2533 * progmodes/which-func.el (which-func-imenu-joiner-function):
2534 Return a string, as expected.
2535 (which-function-mode): Make sure we stop any previous timer before
2538 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2540 * net/tramp.el (tramp-default-method-alist)
2541 (tramp-default-user-alist, tramp-default-proxies-alist):
2542 Adapt custom options type. (Bug#7445)
2544 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2546 * progmodes/python.el: Add Ipython support (Bug#5390).
2547 (python-shell-prompt-alist)
2548 (python-shell-continuation-prompt-alist): New options.
2549 (python--set-prompt-regexp): New function.
2550 (inferior-python-mode, run-python, python-shell):
2551 Require ansi-color. Use python--set-prompt-regexp to set the comint
2552 prompt based on the Python interpreter.
2553 (python--prompt-regexp): New var.
2554 (python-check-comint-prompt)
2555 (python-comint-output-filter-function): Use it.
2556 (run-python): Use a pipe (Bug#5694).
2558 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2560 * progmodes/python.el (run-python): Doc fix.
2561 (python-keep-current-directory-in-path): New var (Bug#7454).
2563 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2565 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2566 Prompt user before actually printing.
2568 2010-11-27 Glenn Morris <rgm@gnu.org>
2570 * startup.el (package-enable-at-startup, package-initialize):
2571 Remove unnecessary declarations.
2573 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2575 * international/characters.el (glyphless-char-display-control):
2576 Exclude newline and TAB from the c0-control group.
2578 2010-11-27 Glenn Morris <rgm@gnu.org>
2580 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2581 (expand-mail-aliases): Remove unnecessary autoload.
2583 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2585 * shell.el (shell-dir-cookie-re): Move definition before use.
2587 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2588 Replace undefined CL functions.
2590 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2592 * simple.el (prog-mode): Set bidi-paragraph-direction to
2595 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2597 2010-11-26 Glenn Morris <rgm@gnu.org>
2599 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2600 diary-outlook-formats can be sensitive to calendar-date-style.
2601 (diary-outlook-formats): Simplify the default setting.
2602 (diary-from-outlook-internal): Pass subject and body as arguments.
2603 Use dolist rather than dotimes. Don't save the diary buffer.
2604 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2605 Pass subject and body as explicit arguments to the -internal function.
2607 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2609 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2610 parsing them. This makes mailto:...?subject=foo\nbar work.
2612 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2614 * vc/diff.el (diff): Fix last change.
2616 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2618 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2619 (pcase--dontcare-upats): New var.
2620 (pcase-let, pcase-let*): Generate better code.
2621 Accept the same bodies as `let'.
2622 (pcase-dolist): New macro.
2623 (pcase--trivial-upat-p): New helper function.
2624 (pcase--expand): Strip leading "(let nil" if any.
2626 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2628 * mail/mailclient.el (browse-url): Require.
2629 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2630 use the external browser function to send the mail (bug#7469).
2632 * net/browse-url.el (browse-url-browser-function): Revert the
2633 default back to the previous value, since the new value broke
2635 (browse-url-mailto-function): New variable for mailto: URLs.
2636 (browse-url): Use the new variable for mailto: URLs.
2638 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * eshell/esh-cmd.el (eshell-parse-command):
2641 * eshell/esh-arg.el (eshell-parse-arguments):
2642 * eshell/em-script.el (eshell-source-file):
2643 Use with-silent-modifications.
2645 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2647 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2648 for a merge location.
2650 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2651 (vc-bzr-merge-branch): Always prompt.
2652 (vc-bzr-async-command): Use the full branch filename.
2654 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * shell.el (shell): Use current-buffer by default if it's already
2657 a shell mode buffer and its process is dead.
2658 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2660 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2662 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2663 Mention that the keywords should be comma separated.
2665 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2667 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2668 Accept optional prefix arg meaning to prompt for a command.
2669 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2670 prefix arg meaning to prompt for a command.
2671 (vc-pull): Alias for vc-update.
2673 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2674 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2675 (vc-bzr-merge-branch): New functions, implementing merge-branch
2676 and pull operations.
2678 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2680 * Makefile.in: Fix up last merge.
2682 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2683 (diff-sentinel): Get them as arguments instead.
2684 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2685 (diff-file-local-copy, diff-better-file-name): New funs.
2686 (diff-no-select): Rename from diff-into-buffer.
2687 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2688 Prefer closures to buffer-local variables.
2689 (diff): Adjust accordingly.
2690 (diff-buffer-with-file): Move from files.el.
2691 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2692 (diff-buffer-internal): Remove.
2693 (diff-buffer-buffer): Remove.
2694 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2695 the buffer name used, and so as not to mess up windows and frames.
2697 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2699 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2700 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2701 (diff-buffer-with-file): Use it.
2702 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2705 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2707 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2708 \ref's or \pageref's value as default instead of initial input.
2710 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2712 * files.el (backup-by-copying-when-mismatch): The default value is
2715 * startup.el (normal-top-level):
2716 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2717 `backup-by-copying-when-mismatch'.
2719 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2721 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2723 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2725 * progmodes/python.el (python-font-lock-keywords):
2726 Highlight top-level augmented assignments (Bug#6445).
2728 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2730 * term/ns-win.el (ns-right-control-modifier)
2731 (ns-right-command-modifier): Defvar them.
2733 * cus-start.el (all): Add ns-right-control-modifier and
2734 ns-right-command-modifier (Bug#7458).
2736 2010-11-20 Glenn Morris <rgm@gnu.org>
2738 * emacs-lisp/authors.el (authors-ignored-files)
2739 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2741 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2743 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2744 (report-emacs-bug-parse-query-results)
2745 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2746 keywords used for querying the bug database to show them in the
2747 existing bugs buffer.
2749 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2751 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2753 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2755 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2757 * international/characters.el (glyphless-char-display-control):
2758 Make it a defcustom, with update-glyphless-char-display as its
2760 (top level): Don't call update-glyphless-char-display.
2762 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2764 Sync with Tramp 2.2.0.
2766 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2767 `file-remote-p' (due to compatibility).
2769 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2770 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2772 * net/trampver.el: Update release number.
2774 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2776 * faces.el (glyphless-char): Define value for `pc'.
2778 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2780 Implemented a bug querying mechanism.
2781 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2782 (report-emacs-bug-create-existing-bugs-buffer)
2783 (report-emacs-bug-parse-query-results)
2784 (report-emacs-bug-query-existing-bugs): New functions.
2786 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2788 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2789 a \ref{} or \pageref{} macro, then use its value as initial input.
2791 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2793 * calc/calc-units.el (math-build-units-table-buffer):
2794 calc/README: Mention that the TeX specific units won't use the
2795 `tex' prefix in TeX mode.
2796 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2797 prefix for units in TeX mode.
2799 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2801 * simple.el (kill-new, kill-append, kill-region):
2802 * comint.el (comint-kill-region): Make the yank-handler argument
2805 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2807 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2808 that are both openers (resp. closers) and something else.
2809 (smie-grammar): Loosen definition of valid values.
2810 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2811 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2812 (smie-indent-after-keyword): Adjust users.
2813 (smie-indent-keyword): Don't indent empty lines.
2815 * vc-hg.el (vc-hg-program): New var.
2816 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2817 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2819 2010-11-18 Glenn Morris <rgm@gnu.org>
2821 * emacs-lisp/autoload.el (autoload-find-destination): The function
2822 coding-system-eol-type may return non-numeric values. (Bug#7414)
2824 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2826 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2828 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2830 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2832 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2834 * textmodes/picture.el (picture-mouse-set-point): Don't use
2835 posn-col-row; explicitly compute the motion based on the posn at
2836 the window-start (Bug#7390).
2838 2010-11-18 Glenn Morris <rgm@gnu.org>
2840 * novice.el (disabled-command-function):
2841 Fix 2009-11-15 change. (Bug#7384)
2843 2010-11-18 Glenn Morris <rgm@gnu.org>
2845 * calendar/calendar.el (diary-iso-date-forms): Make elements
2846 mutually exclusive. (Bug#7377)
2848 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2850 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2851 when filling the remaining "unconstrained" values.
2853 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2855 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2858 * files.el (safe-local-variable-p): Gracefully handle errors.
2860 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2861 Use smie-indent-virtual when indenting relative to an opener.
2862 (smie-rule-separator): Use smie-rule-parent.
2863 (smie-indent-keyword): Consult rules, even for openers at bol.
2864 (smie-indent-comment-close): Try to align closer's content.
2866 2010-11-18 Glenn Morris <rgm@gnu.org>
2868 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2870 2010-11-18 Glenn Morris <rgm@gnu.org>
2872 * printing.el (pr-menu-bind): Doc fix.
2874 * speedbar.el (speedbar-toggle-images): Doc fix.
2876 * progmodes/python.el (python-shell): Doc fix.
2878 * wid-edit.el (widget-field-use-before-change)
2879 (widget-use-overlay-change): Doc fixes.
2881 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2883 Minor cleanup to improve style.
2884 * textmodes/rst.el (rst-update-section): Use point-marker.
2885 (rst-get-decoration): Eliminate unneeded assignment.
2886 (rst-promote-region, rst-straighten-decorations)
2887 (rst-section-tree, rst-adjust): Use point-marker.
2888 (rst-toc-mode-mouse-goto): Avoid setq.
2889 (rst-shift-region-guts, rst-shift-region-left)
2890 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2891 (rst-convert-bullets-to-enumeration): Use copy-marker.
2893 * minibuffer.el (completion-fail-discreetly): New var.
2894 (completion--do-completion): Use it.
2896 * electric.el (electric-pair-pairs): New var.
2897 (electric-pair-post-self-insert-function): Use it.
2898 (electric-layout-post-self-insert-function): Don't insert a before
2899 newline unless it's actually needed.
2901 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2903 * progmodes/python.el (run-python): Explain why we remove the current
2904 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2906 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2908 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2910 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2911 (octave-mode-map): Don't bind ;, SPC, and LF.
2912 (octave-auto-indent, octave-auto-newline): Remove.
2913 (electric-layout-rules): Declare.
2914 (octave-mode): Set electric-layout-rules.
2915 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2916 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2917 (octave-electric-space): Remove.
2919 * electric.el (electric-layout-mode): New minor mode.
2920 (electric--after-char-pos): New function.
2921 (electric-indent-post-self-insert-function): Use it.
2922 (electric-layout-rules): New var.
2923 (electric-layout-post-self-insert-function): New function.
2924 (electric-indent-mode): Make them interact better.
2926 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2928 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2929 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2930 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2932 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2934 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2935 Make sure to check inside the word (Bug#6761).
2937 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2939 * startup.el (command-line): If the cursorColor resource is set,
2940 change the cursor face-spec (Bug#7392).
2942 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2944 The main features of the following allout.el changes are:
2945 - implement user customization for the allout key bindings
2946 - add a customization control by which the user can inhibit use of
2947 a trailing Ctrl-H, so by default it's reserved for use with
2948 describe-prefix-bindings
2949 - adapt to new version of called-interactively-p, while
2950 maintaining backwards compatibility with old version
2951 - fix hotspot navigation so i works properly with meta-modified keys
2953 * allout.el (allout-keybindings, allout-bind-keys)
2954 (allout-keybindings-binding, allout-prefixed-keybindings)
2955 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2956 (allout-keybindings-list, allout-mode-map-adjustments)
2957 (allout-setup-mode-map): Establish allout-mode keymaps as user
2958 customizable settings, and also establish a customizable setting which
2959 regulates whether or not a trailing control-h is reserved for use with
2960 describe-prefix-bindings - and inhibit it by default, so that control-h
2961 *is* reserved for describe-prefix-bindings unless the user changes it.
2963 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2964 and accurately between modified and unmodified events, and handle
2965 modified events more comprehensively.
2967 * allout.el (allout-substring-no-properties):
2968 Alias to use or provide version of `substring-no-properties'.
2969 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2971 * allout.el (allout-next-single-char-property-change):
2972 Alias to use or provide version of `next-single-char-property-change'.
2973 (allout-annotate-hidden, allout-hide-by-annotation):
2974 Use `allout-next-single-char-property-change'.
2976 * allout.el (allout-select-safe-coding-system):
2977 Alias to use or provide version of `select-safe-coding-system'.
2978 (allout-toggle-subtree-encryption):
2979 Use `allout-select-safe-coding-system'.
2981 * allout.el (allout-set-buffer-multibyte):
2982 Alias to use or provide version of `set-buffer-multibyte'.
2983 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2985 * allout.el (allout-called-interactively-p): Macro for using the
2986 different versions of called-interactively-p identically, depending on
2987 the subroutine's argument signature.
2988 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2989 Use `(interactive "p")' instead of `(called-interactively-p)'.
2991 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2992 (allout-previous-visible-heading, allout-forward-current-level)
2993 (allout-backward-current-level, allout-show-children):
2994 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2996 * allout.el (allout-before-change-handler):
2997 Exempt edits to the (overlaid) character after the allout outline
2998 bullet from edit confirmation prompt.
3000 * allout.el (allout-add-resumptions):
3001 Ensure that it respects correct buffer for keybindings.
3003 * allout.el (allout-beginning-of-line):
3004 Use `allout-previous-single-char-property-change' alias for the sake of
3005 diverse compatibility.
3007 * allout.el (allout-end-of-line):
3008 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3010 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3012 * frame.el (frame-notice-user-settings): Don't clobber other
3013 user-set parameters when calling face-set-after-frame-default in
3014 response to background-color parameter (Bug#7373).
3016 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3018 * international/characters.el (glyphless-char-display-control):
3019 Rename from glyphless-char-control; all users changed. Doc fix.
3020 Signal an error if display method is not one of the recognized
3023 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3025 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3026 (tramp-compat-line-end-position): Remove them.
3028 * net/tramp.el (tramp-parse-rhosts-group)
3029 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3030 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3031 (tramp-parse-netrc-group, tramp-parse-putty-group)
3032 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3033 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3034 (tramp-sh-handle-file-selinux-context)
3035 (tramp-sh-handle-file-name-all-completions)
3036 (tramp-sh-handle-insert-directory)
3037 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3038 (tramp-wait-for-output, tramp-send-command-and-read)
3039 * net/tramp-smb.el (tramp-smb-read-file-entry)
3040 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3042 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3044 (tramp-remote-coding-commands): Add an alternative using "base64
3045 -d -i". This is needed for older base64 versions from GNU
3046 coreutils. Reported by Klaus Reichl
3047 <Klaus.Reichl@thalesgroup.com>.
3049 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3051 * simple.el (count-words-region): New function.
3053 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3055 * shell.el (shell-dir-cookie-re): New custom variable.
3056 (shell-dir-cookie-watcher): New function.
3058 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3059 and compilation-mode (bug#7350).
3061 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3062 highlight when one of them is empty.
3064 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3066 (skeleton-newline): New function.
3067 (skeleton-internal-1): Use it.
3069 * simple.el (open-line): `newline' may strip trailing space.
3071 2010-11-12 Kevin Ryde <user42@zip.com.au>
3073 * international/mule-cmds.el (princ-list): Use mapc.
3075 2010-11-12 Glenn Morris <rgm@gnu.org>
3077 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3078 Use it to replace all instances of "*Compile-Log*"
3080 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3082 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3085 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3087 * progmodes/modula2.el: Use SMIE and skeleton.
3088 (m2-mode-syntax-table): (*..*) can be nested.
3089 Add //...\n. Fix paren syntax.
3090 (m2-mode-map): Remove LF and TAB bindings.
3091 (m2-indent): Add safety property.
3092 (m2-smie-grammar): New var.
3093 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3094 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3095 (m2-mode): Use define-derived-mode.
3096 (m2-newline, m2-tab): Remove.
3097 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3098 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3099 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3100 (m2-import): Use define-skeleton.
3102 2010-11-11 Glenn Morris <rgm@gnu.org>
3104 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3106 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3107 (ls-lisp-verbosity): Add custom :set-after property.
3108 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3109 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3110 (ls-lisp-insert-directory): Update caller.
3111 (ls-lisp-set-options): New function.
3112 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3115 * play/landmark.el (lm-prompt-for-move):
3116 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3118 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3120 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3121 (idlwave-study-twins): Prefix dynamic local variable `name'.
3122 (idlwave-routine-twin-compare): Update for above change.
3124 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3125 Prefix dynamic local variables `name', `kwd', and `link'.
3126 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3127 * progmodes/idlw-complete-structtag.el
3128 (idlwave-complete-structure-tag-help):
3129 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3130 (idlwave-complete-sysvar-tag-help)
3131 (idlwave-complete-class-structure-tag-help):
3132 Update for above name changes.
3134 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3136 * net/browse-url.el (browse-url-browser-function): Change the
3137 default to use `browse-url-mail' on mailto: URLs.
3139 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3141 * emacs-lisp/package.el (package-read-all-archive-contents):
3142 Reset package-archive-contents to nil before re-reading.
3144 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3146 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3147 already found as misspellings by (flyspell-large-region), just
3148 do highlighting (bug#7322).
3150 2010-11-10 Glenn Morris <rgm@gnu.org>
3152 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3154 * emulation/edt.el (edt-with-position): New macro.
3155 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3156 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3157 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3159 * emulation/tpu-extras.el (tpu-with-position): New macro.
3160 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3162 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3164 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3165 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3166 (texinfo-master-menu, texinfo-insert-node-lines)
3167 (texinfo-multiple-files-update):
3168 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3169 Use line-beginning-position.
3171 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3172 No recent Emacs supports system-type `emx'.
3174 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3175 (ada-command-separator, ada-default-prj-properties)
3176 (ada-find-any-references): Update for above name change.
3178 * dirtrack.el (dirtrack-directory-function)
3179 (dirtrack-canonicalize-function):
3180 * filecache.el (file-cache-completion-ignore-case)
3181 (file-cache-case-fold-search, file-cache-ignore-case):
3182 * term.el (serial-port-is-file-p): Cosmetic change.
3184 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3185 Remove non-existent `windows-95' system-type.
3186 * dired.el (dired-chown-program): Remove non-existent `linux'
3189 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3190 (ping-program-options): Remove non-existent `linux' system-type.
3192 * startup.el (package-initialize): Update declaration.
3194 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3195 (ls-lisp-handle-switches): Use time-less-p.
3196 (ls-lisp-format-time): Use float-time.
3198 * textmodes/remember.el (remember-time-to-seconds): Remove.
3199 (remember-store-in-mailbox): Use float-time.
3201 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3203 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3204 never a real function.
3205 (with-no-warnings): Remove compat stub, now unused.
3206 (time-less-p): Doc fix.
3207 (time-to-number-of-days): Simplify.
3209 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3211 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3212 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3213 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3214 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3215 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3217 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3218 (eshell-shuffle-files, eshell-shorthand-tar-command)
3219 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3220 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3221 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3222 Prefix dynamic local variable `matches'.
3224 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3225 Prefix dynamic local variable `skeleton'.
3227 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3229 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3230 in mail buffer; make yank-action always a command that yanks original
3233 2010-11-09 Glenn Morris <rgm@gnu.org>
3235 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3237 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3239 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3240 completion field (bug#7211).
3242 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3243 Fix handling of backslash escapes.
3244 (python-quote-syntax): Adjust accordingly.
3246 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3248 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3249 (vc-mtn-workfile-branch): Adjust to new output format.
3251 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3253 * international/mule-cmds.el (princ-list): Mark as obsolete.
3255 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3257 * emacs-lisp/smie.el: New package.
3259 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3261 * files.el (backup-by-copying-when-mismatch):
3262 Set `permanent-local' property.
3264 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3265 `permanent-local' property for `backup-by-copying-when-mismatch'.
3267 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3269 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3271 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3273 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3274 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3275 AUTOINOUT for SV style multidimensional arrays, bug294.
3276 Reported by Eric Mastromarchi.
3277 (verilog-preprocess): Use with-current-buffer and
3278 font-lock-fontify-buffer to cleanup style issues.
3280 2010-11-09 Glenn Morris <rgm@gnu.org>
3282 * locate.el (locate, locate-mode): Doc fixes.
3284 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3286 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3287 user for confirmation.
3288 (server-force-stop): Use it.
3289 (server-start): Use server-force-stop for kill-emacs-hook, to
3290 avoid user interaction while killing Emacs.
3292 2010-11-09 Glenn Morris <rgm@gnu.org>
3294 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3295 (meta-indent-line): Simplify.
3297 * vc/emerge.el (emerge-line-number-in-buf):
3298 * textmodes/ispell.el (ispell-region):
3299 * textmodes/fill.el (current-fill-column):
3300 * progmodes/xscheme.el (xscheme-send-current-line):
3301 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3302 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3303 * progmodes/sh-script.el (sh-handle-prev-do):
3304 * progmodes/meta-mode.el (meta-indent-line):
3305 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3307 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3308 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3309 * progmodes/fortran.el (fortran-looking-at-if-then):
3310 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3311 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3312 (cperl-find-pods-heres):
3313 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3314 * net/quickurl.el (quickurl-list-insert):
3315 * net/ldap.el (ldap-search-internal):
3316 * net/eudc.el (eudc-expand-inline):
3317 * mail/sendmail.el (sendmail-send-it):
3318 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3319 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3320 (viper-brac-function):
3321 * calc/calc-yank.el (calc-do-grab-region):
3322 * calc/calc-keypd.el (calc-keypad-press):
3323 * term.el (term-move-columns, term-insert-spaces):
3324 * speedbar.el (speedbar-highlight-one-tag-line):
3325 * simple.el (current-word):
3326 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3327 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3329 * hippie-exp.el (he-line-beg):
3330 * epa.el (epa--marked-keys):
3331 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3332 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3333 (dired-relist-entry):
3334 * buff-menu.el (Buffer-menu-buffer):
3335 * array.el (current-line):
3336 * allout.el (allout-resolve-xref)
3337 (allout-latex-verbatim-quote-curr-line):
3338 Replace yet more uses of end-of-line etc with line-end-position, etc.
3340 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3342 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3343 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3344 (checkdoc-syntax-table): Initialize in the declaration.
3345 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3346 the mode on unconditionally.
3348 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3349 (extent-end-position, extent-start-position): Remove setf method for
3350 non-existing functions (bug#7319).
3352 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3354 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3355 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3356 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3357 (smie-prec2->grammar): Rename from smie-prec2-levels.
3358 (smie-grammar): Rename from smie-op-levels.
3359 (smie-indent--hanging-p): Rename from smie-hanging-p.
3360 (smie-rule-hanging-p): New alias.
3361 (smie-indent--bolp): Rename from smie-bolp.
3362 (smie-indent--hanging-p): New alias.
3363 (smie--token): New dynamically bound variable.
3364 (smie-indent--parent): New function.
3365 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3366 (smie-rule-next-p): Rename from smie-next-p.
3367 (smie-rule-prev-p): Rename from smie-prev-p.
3368 (smie-rule-sibling-p, smie-rule-parent)
3369 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3370 (smie-rule-separator-outdent): New var.
3371 (smie-indent--rule): Merge with smie-indent--column.
3372 (smie-indent-forward-token, smie-indent-backward-token):
3373 Also recognize close parens.
3374 (smie-indent-keyword): Don't use smie-indent--column any more.
3375 (smie-indent-after-keyword): Ignore closers by default.
3376 (smie-indent-line): Use with-demoted-errors.
3377 * progmodes/octave-mod.el (octave-smie-grammar):
3378 Rename from octave-smie-op-levels.
3379 (octave-smie-rules): Adjust to new behavior.
3380 * progmodes/prolog.el (prolog-smie-grammar):
3381 Rename from prolog-smie-op-levels.
3383 2010-11-07 Glenn Morris <rgm@gnu.org>
3385 * eshell/esh-util.el (subst-char-in-string)
3386 (directory-files-and-attributes): These compatibility definitions are
3387 not needed on any version of Emacs since at least 21.4.
3389 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3390 (verilog-get-end-of-line): Remove.
3391 (verilog-within-string, verilog-re-search-forward-substr)
3392 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3393 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3394 Use point-at-bol, point-at-eol.
3395 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3397 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3398 (electric-pascal-terminate-line, pascal-set-auto-comments)
3399 (pascal-indent-paramlist, pascal-indent-declaration)
3400 (pascal-get-lineup-indent, pascal-func-completion)
3401 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3402 Use point-at-bol, point-at-eol.
3403 * progmodes/flymake.el (flymake-line-beginning-position)
3404 (flymake-line-end-position): Remove.
3405 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3406 * eshell/esh-util.el (line-end-position, line-beginning-position):
3407 Remove compat definitions.
3409 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3411 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3412 Use line-end-position.
3414 * emacs-lisp/chart.el (chart-zap-chars):
3415 * play/decipher.el (decipher-set-map):
3416 * progmodes/ada-mode.el (ada-get-current-indent)
3417 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3418 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3419 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3420 (ada-get-all-references):
3421 * progmodes/cperl-mode.el (cperl-electric-paren)
3422 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3423 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3424 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3425 (cperl-word-at-point-hard):
3426 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3427 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3428 (idlwave-shell-display-line):
3429 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3430 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3431 * progmodes/js.el (js--re-search-forward-inner)
3432 (js--re-search-backward-inner):
3433 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3434 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3435 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3436 * textmodes/flyspell.el (flyspell-process-localwords):
3437 * textmodes/ispell.el (ispell-buffer-local-parsing)
3438 (ispell-buffer-local-dict, ispell-buffer-local-words):
3439 Use point-at-bol and point-at-eol.
3441 * speedbar.el (speedbar-generic-item-info)
3442 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3443 (speedbar-add-indicator, speedbar-check-vc-this-line)
3444 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3445 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3446 Replace more uses of end-of-line etc with line-end-position.
3448 2010-11-06 Glenn Morris <rgm@gnu.org>
3450 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3451 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3452 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3453 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3454 (texinfo-multiple-files-update):
3455 * textmodes/table.el (table--probe-cell-left-up)
3456 (table--probe-cell-right-bottom):
3457 * textmodes/picture.el (picture-tab-search):
3458 * textmodes/page-ext.el (pages-copy-header-and-position)
3459 (pages-directory-for-addresses):
3460 * progmodes/vera-mode.el (vera-get-offset):
3461 * progmodes/simula.el (simula-calculate-indent):
3462 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3463 * progmodes/prolog.el (end-of-prolog-clause):
3464 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3465 * progmodes/icon.el (indent-icon-exp):
3466 * progmodes/etags.el (tag-re-match-p):
3467 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3468 * progmodes/ebnf2ps.el (ebnf-begin-file):
3469 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3470 (dcl-save-local-variable):
3471 * play/life.el (life-setup):
3472 * play/gametree.el (gametree-looking-at-ply):
3473 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3474 * mail/sendmail.el (mail-mode-auto-fill):
3475 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3476 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3477 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3478 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3479 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3480 * type-break.el (type-break-file-keystroke-count):
3481 * term.el (term-replace-by-expanded-history-before-point)
3482 (term-skip-prompt, term-extract-string):
3483 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3484 (speedbar-contract-line, speedbar-toggle-line-expansion)
3485 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3486 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3487 * sort.el (sort-skip-fields):
3488 * skeleton.el (skeleton-internal-list):
3489 * simple.el (line-move-finish, line-move-to-column):
3490 * shell.el (shell-forward-command):
3491 * misc.el (copy-from-above-command):
3492 * makesum.el (double-column):
3493 * ebuff-menu.el (electric-buffer-update-highlight):
3494 * dired.el (dired-move-to-end-of-filename):
3495 * dframe.el (dframe-popup-kludge):
3496 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3497 * arc-mode.el (archive-get-lineno):
3498 Use line-end-position and line-beginning-position.
3500 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3501 (idlwave-study-twins): Prefix dynamic local `class'.
3502 (idlwave-routine-twin-compare): Update for above name change.
3504 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3505 Use boundp tests to silence compiler. Update for changed name of
3506 bytecomp-filename variable.
3508 * emulation/viper-cmd.el (viper-read-string-with-history):
3509 Prefix dynamic local `initial'.
3510 (viper-minibuffer-standard-hook): Update for above name change.
3512 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3513 (elint-init-form): Update for above name change.
3515 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3516 local variables `cbeg' and `cend' a prefix.
3517 (mail-extr-voodoo): Update for above name change.
3519 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3520 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3521 (reftex-toc-promote-action): Doc fix.
3523 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3524 `prompt', `data' a prefix.
3525 (reftex-select-post-command-hook, reftex-select-callback)
3526 (reftex-select-mouse-accept, reftex-select-read-cite):
3527 Update for above name changes.
3529 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3530 `refstyle' to reftex-refstyle.
3531 (reftex-offer-label-menu): Update for above name change.
3532 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3533 `refstyle' name change.
3535 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3536 with with-current-buffer.
3537 (diff, template): Give dynamic local variables a prefix.
3538 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3539 (emerge-line-number-in-buf): Update for above name change.
3540 (emerge-combine-versions-internal): Rename local `template' to
3541 emerge-combine-template.
3542 (emerge-combine-versions-edit): Update for above name change.
3544 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3546 * textmodes/reftex-cite.el
3547 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3548 entries with whitespace after \bibitem.
3549 (reftex-create-bibtex-file): Match entries containing numbers and
3550 symbol constituents. Make sure that entries with whitespace at
3551 various places are found.
3553 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3555 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3557 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3559 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3561 2010-11-05 Glenn Morris <rgm@gnu.org>
3563 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3564 (woman2-roff-buffer): Give local variable `request' a prefix.
3565 (woman0-macro): Rename argument `request' in the same way.
3566 (woman-request): New name for `request' dynamic variable.
3567 (woman-unquote, woman-forward-arg): Update for above name change.
3568 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3569 (woman1-unquote): New name for `unquote' dynamic variable.
3570 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3571 (woman-translations): Rename from `translations'. No longer global.
3572 (woman2-tr, woman-translate): Update for above name change.
3573 (woman-translate): Check for bound variable.
3574 (woman2-roff-buffer): Give local variable `translations' a prefix.
3576 * play/doctor.el: Give all local variables a prefix. Update callers.
3577 (doc$, doctor-put-meaning): Use backquote.
3579 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3580 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3582 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3583 variables bytes, ptr, op a prefix.
3584 (disassemble-offset): Update for above change.
3586 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3588 * emacs-lisp/package.el (package-unpack): Remove no-op.
3589 (package--builtins, package--dir): Doc fix.
3590 (package-activate-1, package-activate, package-install)
3591 (package-compute-transaction): Fix error message.
3592 (package-delete): Use delete-directory. Omit system packages.
3593 (package-initialize): Set package-alist to nil first.
3594 (package-menu-mark-delete, package-menu-mark-install): Don't add
3595 symbols that are inconsistent with the package state.
3596 (package-menu-execute): Perform deletions and installations as
3597 single batch operations.
3599 2010-11-03 Glenn Morris <rgm@gnu.org>
3601 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3602 (props): Remove unnecessary declaration.
3604 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3605 set-process-query-on-exit-flag.
3607 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3608 (reftex-toc-do-promote): Remove unused local `mpos'.
3609 (reftex-toc-restore-region): Make `mpos' local to this function.
3611 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3613 * play/landmark.el (lm-losing-threshold): Correct spelling.
3614 (lm-human-plays): Use new name.
3616 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3617 (gomoku-human-plays): Use new name.
3619 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3620 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3621 (gomoku-score-trans-table, gomoku-winning-threshold)
3622 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3624 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3626 * emacs-lisp/package.el: Don't put built-in packages in
3627 package-alist, to avoid loading inefficiencies.
3628 (package-built-in-p): Make VERSION optional, and treat it as a
3629 minimum acceptable version.
3630 (package-activate): Search separately for built-in packages.
3631 Emit a warning if a dependency fails.
3632 (define-package): Handle most common case, where there is no
3633 obsolete package, first.
3634 (package-compute-transaction): Print required version in error.
3635 (package--initialized): New variable.
3636 (list-packages): Use it.
3637 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3638 built-in packages in packages-alist; keep it separate.
3639 Set package--initialized.
3640 (describe-package): Avoid activating packages as a side-effect.
3641 Search separately for built-in packages.
3642 (describe-package-1): Handle the case where an elpa package is
3643 simultaneously built-in and available/installed.
3644 (package-installed-p, package--generate-package-list):
3645 Search separately for built-in packages.
3646 (package-load-descriptor): Doc fix.
3648 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3650 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3651 Handle __DATA__ and __END__.
3653 2010-11-02 Noah Friedman <friedman@splode.com>
3655 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3656 nil, do not ask to recompile files that are not already compiled,
3657 and do not recompile them.
3659 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3661 * emacs-lisp/package.el (package-initialize): Ensure that
3662 obsoleted built-in packages are not in package-activated-list
3664 (describe-package-1): Make the "installed" status override
3667 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3669 * subr.el (version-separator, version-regexp-alist): Remove '*'
3671 (version-list-<=, version<=, version=): Doc fix.
3673 2010-11-01 Kenichi Handa <handa@m17n.org>
3675 * faces.el (glyphless-char): Inherit underline for tty.
3677 2010-11-01 Kenichi Handa <handa@m17n.org>
3679 Implement various display methods for glyphless characters.
3681 * international/characters.el (char-acronym-table): New variable.
3682 (glyphless-char-control): New variable.
3683 (update-glyphless-char-display): New funciton.
3685 * faces.el (glyphless-char): New face.
3687 2010-11-01 Glenn Morris <rgm@gnu.org>
3689 * calendar/holidays.el (general-holidays, oriental-holidays)
3690 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3691 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3692 the definitions of their targets.
3694 * emacs-lisp/smie.el (smie): New custom group.
3695 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3697 * faces.el (xw-defined-colors, x-setup-function-keys):
3698 * mouse-sel.el (x-select-text):
3699 * term/w32console.el (x-setup-function-keys): Update declarations.
3701 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3703 * textmodes/ispell.el (comment-add): Declare.
3705 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3708 * info.el (finder-keywords-hash, package-alist): Declare.
3710 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3712 * finder.el (finder-compile-keywords): Don't use intern-soft,
3713 since package names may not yet exist in the obarray.
3715 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3717 * vc/vc-arch.el (vc-arch-checkin):
3718 * vc/vc-cvs.el (vc-cvs-checkin):
3719 * vc/vc-mtn.el (vc-mtn-checkin):
3720 * vc/vc-rcs.el (vc-rcs-checkin):
3721 * vc/vc-sccs.el (vc-sccs-checkin):
3722 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3723 since 2010-04-21 commit by Stefan Monnier.
3725 2010-11-01 Glenn Morris <rgm@gnu.org>
3727 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3729 * startup.el (package-enable-at-startup, package-initialize):
3732 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3735 2010-10-31 Julien Danjou <julien@danjou.info>
3737 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3738 (byte-recompile-directory):
3739 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3740 Use `byte-recompile-file'.
3742 2010-10-31 Glenn Morris <rgm@gnu.org>
3744 * cus-start.el: Handle standard values via a keyword.
3745 Only set version property if specified.
3746 (cursor-in-non-selected-windows, menu-bar-mode)
3747 (tool-bar-mode, show-trailing-whitespace):
3748 Do not specify standard values.
3749 (transient-mark-mode, temporary-file-directory): Use :standard.
3751 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3753 * term/x-win.el (x-get-selection-value): New function that gets
3754 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3756 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3758 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3759 preserve owner and group when editing files. (Bug#7289)
3761 2010-10-31 Glenn Morris <rgm@gnu.org>
3763 * speedbar.el (speedbar-mode):
3764 * play/fortune.el (fortune-in-buffer, fortune):
3765 * play/gomoku.el (gomoku-mode):
3766 * play/landmark.el (lm-mode):
3767 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3768 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3770 * select.el (x-selection): Mark it as an obsolete alias.
3772 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3774 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3775 major-mode (bug#7284).
3777 2010-10-31 Glenn Morris <rgm@gnu.org>
3779 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3780 rather than just an unused variable that inherits from the real one.
3782 2010-10-31 Alan Mackenzie <acm@muc.de>
3784 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3785 This fixes bug #7185.
3787 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3789 * startup.el (command-line): Search for package directories, and
3790 don't load package.el if none are found.
3792 * emacs-lisp/package.el (describe-package, list-packages):
3793 Call package-initialize if it has not been called yet.
3795 2010-10-30 Alan Mackenzie <acm@muc.de>
3797 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3798 which fontifies the tail of an enum.
3799 (c-basic-matchers-after): Insert a call to the above new function.
3800 This fixes bug #7264.
3802 2010-10-30 Glenn Morris <rgm@gnu.org>
3804 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3805 tool-bar-mode, transient-mark-mode. (Bug#7306)
3806 Include the :set property in the dumped Emacs.
3808 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3810 SMIE: change indent rules format, improve smie-setup.
3811 * emacs-lisp/smie.el (smie-precs-precedence-table)
3812 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3813 Mark them pure so the tables gets built at compile time.
3814 (smie-bnf-precedence-table): Store the closer-alist in the table.
3815 (smie-prec2-levels): Preserve the closer-alist.
3816 (smie-blink-matching-open): Be more forgiving in case of indentation.
3817 (smie-hanging-p): Rename from smie-indent--hanging-p.
3818 (smie-bolp): Rename from smie-indent--bolp.
3819 (smie--parent, smie--after): New dynamic vars.
3820 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3821 (smie-indent-rules): Remove.
3822 (smie-indent--offset-rule): Remove fun.
3823 (smie-rules-function): New var.
3824 (smie-indent--rule): New fun.
3825 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3826 (smie-indent-exps): Use it.
3827 (smie-setup): Setup paren blinking; add keyword args for token
3828 functions; extract closer-alist from op-levels.
3829 (smie-indent-debug-log): Remove var.
3830 (smie-indent-debug): Remove fun.
3831 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3832 (prolog-smie-rules): New fun to replace it.
3833 (prolog-mode-variables): Simplify.
3834 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3835 it's setup automatically.
3836 (octave-smie-indent-rules): Remove.
3837 (octave-smie-rules): New fun to replace it.
3838 (octave-mode): Simplify.
3840 2010-10-29 Glenn Morris <rgm@gnu.org>
3842 * files.el (temporary-file-directory): Remove (already defined in C).
3843 * cus-start.el: Add temporary-file-directory.
3845 * abbrev.el (abbrev-mode):
3846 * composite.el (auto-composition-mode):
3847 * menu-bar.el (menu-bar-mode):
3848 * simple.el (transient-mark-mode):
3849 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3850 that they do not define the associated variables twice.
3851 * simple.el (transient-mark-mode): Remove defvar.
3852 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3853 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3854 Handle multiple groups, and also custom-delayed-init-variables.
3855 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3857 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3859 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3860 (pcase-if): Add one minor optimization.
3861 (pcase-split-equal): Rename from pcase-split-eq.
3862 (pcase-split-member): Rename from pcase-split-memq.
3863 (pcase-u1): Add strings to the member optimization.
3864 Add `guard' variant of predicates.
3865 (pcase-q1): Add string patterns.
3867 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3869 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3871 2010-10-28 Glenn Morris <rgm@gnu.org>
3873 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3874 Move menu-bar related settings to ../menu-bar.el.
3875 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3876 Move ns-specific settings here from term/ns-win.el.
3878 * simple.el (x-selection-owner-p): Remove unused declaration.
3880 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3882 * minibuffer.el (completion-cycling): New var (bug#7266).
3883 (minibuffer-complete, completion--do-completion):
3884 Use completion--flush-all-sorted-completions.
3885 (minibuffer-complete): Only cycle if completion-cycling is set.
3886 (completion--flush-all-sorted-completions): Unset completion-cycling.
3887 (minibuffer-force-complete): Set completion-cycling.
3888 (completion-all-sorted-completions): Move declaration before first use.
3890 2010-10-28 Leo <sdl.web@gmail.com>
3892 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3893 which changes the order of matches seen by users (bug#7231).
3895 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3897 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3898 Don't confuse -omega as "-o mega".
3900 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3902 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3903 (log-edit-author): New dynamic var.
3904 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3905 to return the author if different from committer.
3906 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3908 * play/landmark.el: Adjust commenting convention.
3909 (lm-nil-score): Rename from nil-score.
3910 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3911 (OOOOscore): Move into a let in lm-score-trans-table.
3912 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3914 * electric.el (electric-indent-chars): Autoload.
3915 * progmodes/octave-mod.el (octave-mode):
3916 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3917 (ruby-mode-abbrev-table): Merge initialization and declaration.
3919 2010-10-27 Glenn Morris <rgm@gnu.org>
3921 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3924 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3926 * term/ns-win.el: Restore require of cl when compiling.
3927 (menu-bar-final-items): Remove non-existent `windows' menu.
3928 (ns-handle-nxopen): Optionally handle the temp-case.
3929 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3930 (ns-insert-file, ns-find-file): Use `pop'.
3932 2010-10-26 Glenn Morris <rgm@gnu.org>
3934 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3936 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3938 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3940 * term/common-win.el (x-setup-function-keys): Remove most of the
3941 keymappings. Comment on the remaining ones.
3943 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3945 * server.el (server-port): New option. (Bug#854)
3946 (server-start): Use server-port.
3948 2010-10-26 Glenn Morris <rgm@gnu.org>
3950 * term/ns-win.el (ns-version-string): Remove unused declaration.
3951 (ns-invocation-args): Change to x-invocation-args.
3952 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3953 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3954 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3955 Use x-invocation-args instead of ns-invocation-args.
3956 (ns-initialize-window-system, handle-args-function-alist):
3957 Use x-handle-args instead of ns-handle-args.
3958 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3959 * startup.el (command-line-ns-option-alist): Replace
3960 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3961 ns-handle-iconic with the x- equivalents.
3963 * term/common-win.el (x-select-enable-clipboard):
3964 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3966 * term/ns-win.el: No need to require cl when compiling.
3967 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3968 (xw-defined-colors): Use the common-win definitions.
3969 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3970 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3971 * term/common-win.el (x-select-text, x-alternatives-map)
3972 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3973 * loadup.el [ns]: Load common-win.
3975 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3977 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3978 recipients; expand mail aliases (Bug#7280).
3980 2010-10-25 Glenn Morris <rgm@gnu.org>
3982 * term/common-win.el (x-handle-switch): Simplify with pop.
3983 Optionally handle numeric switches.
3984 (x-handle-numeric-switch): Just call x-handle-switch.
3985 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3986 (x-handle-name-switch, x-handle-display, x-handle-args):
3989 * term/ns-win.el: Do not require easymenu.
3990 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3991 <spell>: Move adjustments to menu-bar.el.
3992 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3993 <separator-undo, spell>: Move ns-win's adjustments here.
3994 * loadup.el [ns]: Do not load easymenu.
3996 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3998 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4001 * startup.el (fancy-startup-tail): Instead of using inline images,
4002 refer to image files from etc/.
4004 * wid-edit.el (checkbox): Likewise.
4005 (widget-image-find): Center image specs.
4007 2010-10-24 Glenn Morris <rgm@gnu.org>
4009 * term/ns-win.el (x-select-text): Doc fix.
4010 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4011 (x-select-text): Move to term/common-win.
4012 * term/w32-win.el (xw-defined-colors): Move to common-win.
4013 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4014 (x-setup-function-keys, x-select-text): Move to common-win.
4015 * term/common-win.el (x-select-text, x-alternatives-map)
4016 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4019 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4021 * net/mairix.el (mairix-searches-mode-map):
4022 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4024 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4026 * verilog-mode.el (verilog-directive-re): Make this variable
4027 auto-built for efficiency of execution and updating.
4028 (verilog-extended-complete-re): Support 'pure' fucntion & task
4029 declarations (these have no bodies).
4030 (verilog-beg-of-statement): General cleanup to enable support of
4031 'pure' fucntion & task declarations (these have no bodies).
4032 These efforts together fix Verilog bug210 from veripool; which was also
4033 noticed by Steve Pearlmutter.
4034 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4035 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4036 Support `elsif. Reported by Shankar Giri.
4037 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4038 attribute handling for lining up declarations and assignments.
4039 (verilog-beg-of-statement-1): Fix issue where continued declaration
4040 is indented differently if it is after a begin..end clock.
4041 (verilog-in-attribute-p, verilog-skip-backward-comments)
4042 (verilog-skip-forward-comment-p): Support proper treatment of
4043 attributes by indent code. Reported by Jeff Steele.
4044 (verilog-in-directive-p): Fix comment to correctly describe function.
4045 (verilog-backward-up-list, verilog-in-struct-region-p)
4046 (verilog-backward-token, verilog-in-struct-p)
4047 (verilog-in-coverage-p, verilog-do-indent)
4048 (verilog-pretty-declarations): Use verilog-backward-up-list as
4049 wrapper around backward-up-list inorder to properly skip comments.
4050 Reported by David Rogoff.
4051 (verilog-property-re, verilog-endcomment-reason-re)
4052 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4053 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4054 of if). Reported by Max Bjurling and
4055 (verilog-calc-1): Fix for clocking block in modport
4056 declaration. Reported by Brian Hunter.
4058 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4060 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4061 (verilog-gate-keywords, verilog-read-sub-decls)
4062 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4063 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4064 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4065 (verilog-read-decls): Fix spaces in V2K module parameters causing
4066 mis-identification as interfaces, bug287.
4067 (verilog-read-decls): Fix not treating "parameter string" as a
4068 parameter in AUTOINSTPARAM.
4069 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4070 treating `elsif similar to `endif inside AUTOSENSE.
4071 (verilog-do-indent): Implement correct automatic or static task or
4072 function end comment highlight. Reported by Steve Pearlmutter.
4073 (verilog-font-lock-keywords-2): Fix highlighting of single
4074 character pins, bug264. Reported by Michael Laajanen.
4075 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4076 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4077 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4078 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4079 (verilog-pretty-expr): Fix interactive arguments, bug272.
4080 Reported by Mark Johnson.
4081 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4082 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4083 bug269. Suggested by Gary Delp.
4084 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4085 (verilog-preprocessor, verilog-set-compile-command):
4086 Create verilog-preprocess and verilog-preprocessor to show
4087 preprocessed output.
4088 (verilog-get-beg-of-line, verilog-get-end-of-line)
4089 (verilog-modi-file-or-buffer, verilog-modi-name)
4090 (verilog-modi-point, verilog-within-string): Move defmacro's
4091 before first use to avoid warning. Reported by Steve Pearlmutter.
4092 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4093 (verilog-colorize-region, verilog-highlight-buffer)
4094 (verilog-highlight-includes, verilog-highlight-modules)
4095 (verilog-highlight-region, verilog-mode): Rename colorize to
4096 highlight to match other packages. Disable module highlighting,
4097 as received speed complaints, reenable for experimentation only
4098 using new verilog-highlight-modules.
4099 (verilog-read-decls): Fix regexp stack overflow in very large
4100 AUTO_TEMPLATEs, bug250.
4101 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4102 (verilog-scan): Create verilog-save-buffer-state to standardize
4103 making insignificant changes that shouldn't call hooks.
4104 (verilog-save-no-change-functions, verilog-save-scan-cache)
4105 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4106 Create verilog-save-no-change-functions to wrap verilog-scan
4107 preservation, and fix to work with nested preserved calls.
4108 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4109 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4110 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4111 (verilog-submit-bug-report): Update variable list to be complete.
4112 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4113 breaking on-the-fly font-locking.
4114 (verilog-colorize-buffer, verilog-colorize-include-files)
4115 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4116 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4117 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4118 AUTOINST cell instance name, middle mouse button now finds-file on
4119 it. Suggested by Brad Dobbie.
4120 (verilog-alw-get-temps, verilog-auto-reset)
4121 (verilog-auto-sense-sigs, verilog-read-always-signals)
4122 (verilog-read-always-signals-recurse): Fix loop indexes being
4123 AUTORESET. AUTORESET now assumes any variables in the
4124 initialization section of a for() should be ignored.
4125 Reported by Dan Dever.
4126 (verilog-error-font-lock-keywords)
4127 (verilog-error-regexp-emacs-alist)
4128 (verilog-error-regexp-xemacs-alist): Fix error detection of
4129 Cadence HAL, reported by David Asher. Repair drift between the
4130 three similar error variables.
4131 (verilog-modi-lookup, verilog-modi-lookup-cache)
4132 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4133 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4134 Fix slow verilog-auto expansion on very large files.
4135 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4136 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4137 "{1*2{...". Broke in last revision.
4138 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4139 submodule connections with replications "{#{a},#{b}}".
4141 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4143 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4144 Fix typo in docstring.
4146 2010-10-24 Kenichi Handa <handa@m17n.org>
4148 * face-remap.el (text-scale-adjust): Call read-event with a proper
4151 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4153 * emacs-lisp/unsafep.el: Don't mark functions that display
4154 messages as safe. Suggested by Johan Bockgård.
4156 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4158 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4159 Turn comments into docstrings.
4161 * minibuffer.el (completion--replace): Move point where it belongs
4162 when there's a common suffix (bug#7215).
4164 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4166 Merge read-color and facemenu-read-color (Bug#7242).
4168 * faces.el (read-color): Use the completion code from
4169 facemenu-read-color. Require match in completion. Doc fix.
4171 * facemenu.el (facemenu-read-color): Alias for read-color.
4172 (facemenu-set-foreground, facemenu-set-background):
4175 * frame.el (set-background-color, set-foreground-color)
4176 (set-cursor-color, set-mouse-color, set-border-color):
4179 2010-10-24 Leo <sdl.web@gmail.com>
4181 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4182 argument of delete-file and delete-directory (Bug#7011).
4184 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4186 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4189 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4191 * emacs-lisp/package.el (package--generate-package-list): Make the
4192 *Packages* buffer read-only.
4194 2010-10-24 Alan Mackenzie <acm@muc.de>
4196 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4197 result of `c-beginning-of-decl-1' between invocations of a lambda
4198 function (Bug #7265).
4200 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4202 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4203 executable is not available on the system (Bug#7268).
4205 2010-10-24 Glenn Morris <rgm@gnu.org>
4207 * select.el (selection-coding-system, next-selection-coding-system):
4208 Sync doc with C versions.
4210 * w32-vars.el (x-select-enable-clipboard):
4211 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4212 * term/common-win.el (x-select-enable-clipboard): Move here.
4214 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4215 definition of C variable.
4217 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4218 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4219 Don't redefine things that are defined in C.
4220 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4221 (show-trailing-whitespace, auto-hscroll-mode)
4222 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4223 Set up the appropriate custom properties.
4225 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4228 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4229 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4230 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4231 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4233 2010-10-23 Glenn Morris <rgm@gnu.org>
4235 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4238 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4239 Sync docs with C version.
4241 * term/ns-win.el (xw-defined-colors):
4242 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4244 * term/pc-win.el (x-select-enable-clipboard):
4245 * term/x-win.el (x-select-enable-clipboard):
4246 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4248 * comint.el (comint-password-prompt-regexp): Make it less vague.
4251 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4253 * help.el (finder-by-keyword): Remove unnecessary autoload.
4255 2010-10-22 Glenn Morris <rgm@gnu.org>
4257 * loadup.el: Unconditionally load float-sup.
4258 * paren.el (show-paren-delay):
4259 * emacs-lisp/float-sup.el:
4260 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4261 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4262 (lazy-lock-stealth-verbose): Assume float support.
4263 * ps-print.el: Assume float support on Emacs.
4264 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4265 Remove non-float branch.
4267 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4268 src/Makefile no longer being pre-processed.
4270 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4272 * emacs-lisp/find-func.el (find-library): Use test-completion.
4274 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4276 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4278 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4280 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4281 space in stat format string.
4282 (tramp-send-command): Unset $PS1 when using here documents, in
4283 order not to get several prompts.
4284 (tramp-get-inline-coding): Return `nil' in case of errors.
4286 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4288 * hexl.el (hexl-mode, hexl-mode-exit):
4289 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4290 (hexl-revert-buffer-function): New function.
4291 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4293 2010-10-19 Alan Mackenzie <acm@muc.de>
4295 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4296 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4297 that these keywords aren't wrongly matched as identifiers.
4299 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4300 setting of c-new-BEG and c-new-END from c-before-change to
4301 c-after-change. (Bug#7181)
4303 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4305 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4308 * custom.el (custom-theme-set-variables): Likewise.
4309 (load-theme): Add custom-theme-set-faces and
4310 custom-theme-set-variables to safe-functions while loading.
4311 (custom-enabled-themes): Mark as risky.
4313 2010-10-18 Julien Danjou <julien@danjou.info>
4315 * bindings.el: Remove end dashes in default mode-line-format.
4317 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4319 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4320 to delete-forward-char.
4322 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4323 deletechar, and hence delete-forward-char.
4325 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4327 * repeat.el (repeat): Use read-key (bug#6256).
4329 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4331 * emacs-lisp/unsafep.el: Don't mark functions that display
4332 messages as safe. Suggested by Johan Bockgård.
4334 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4336 * minibuffer.el (completion--replace): Move point where it belongs
4337 when there's a common suffix (bug#7215).
4339 2010-10-19 Kenichi Handa <handa@m17n.org>
4341 * international/characters.el: Add category '|' (word breakable)
4342 to fullwidth characters.
4344 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4346 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4347 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4348 order to make stat results a float. Patch by Andreas Schwab
4349 <schwab@linux-m68k.org>.
4351 2010-10-18 Julien Danjou <julien@danjou.info>
4353 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4354 hidden by `make-pointer-invisible'.
4356 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4358 * files.el (locate-file-completion-table): Strip non-matching elements
4359 before checking length of list (bug#7238).
4361 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4363 * custom.el (custom-theme-set-variables): Mark as a safe function.
4364 (load-theme): Check forms using unsafep.
4366 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4368 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4370 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4371 Fix aspell data file searching (bug#7230).
4373 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4375 * cus-theme.el (custom-theme--migrate-settings): New var.
4376 (customize-create-theme): Allow editing the `user' theme.
4377 (custom-theme-add-variable, custom-theme-add-var-1)
4378 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4379 to the front of each variable or face widget.
4380 (custom-theme-write): Save theme settings in the correct order.
4381 Optionally, remove saved settings from user customizations.
4382 (custom-theme-write-variables, custom-theme-write-faces):
4383 Save only the checked widgets.
4384 (customize-themes): Add a link for migrating custom settings.
4386 * custom.el (custom-declare-theme, provide-theme):
4387 Use custom-theme-name-valid-p.
4388 (custom-theme-name-valid-p): Remove checks that are now
4389 unnecessary since themes no longer obey load-path.
4391 * cus-edit.el (custom-variable-value-create): For the simple
4392 style, hide documentation string when hidden.
4394 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4396 * cus-edit.el (custom-variable, custom-face): Combine the
4397 :inhibit-magic and :display-style properties into a single
4398 :custom-style property.
4399 (custom-toggle-hide-variable, custom-toggle-hide-face):
4400 New functions. If hiding an edited value, save it to :shown-value.
4401 (custom-variable-value-create, custom-face-value-create): Use them.
4402 (custom-magic-reset): Allow magic property to be unset.
4404 * custom.el: Custom themes no longer use load-path.
4405 (custom-theme-load-path): New option. Change built-in theme
4407 (custom-enabled-themes): Add custom-theme-load-path dependency.
4408 (custom-theme--load-path): New function.
4409 (load-theme, custom-available-themes): Use it.
4411 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4412 (customize-themes): Link to custom-theme-load-path variable.
4413 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4414 :custom-style property.
4416 * themes/*.el: Moved to etc/.
4418 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4420 * textmodes/reftex-cite.el
4421 (reftex-extract-bib-entries-from-thebibliography): Do not move
4422 point when searching for \bibitem entries. Match entries with
4423 spaces or tabs in front of arguments.
4425 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4427 * cus-theme.el (customize-create-theme): Delete overlays after
4428 erasing. If given a THEME arg, display only the faces of that arg
4429 instead of custom-theme--listed-faces.
4430 (custom-theme-variable-menu, custom-theme-variable-action)
4431 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4432 (custom-theme-add-variable, custom-theme-add-face): Apply value
4433 from the theme settings, instead of the current value.
4434 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4435 (custom-theme-visit-theme): Allow calling outside theme buffers.
4436 (custom-theme-merge-theme): Don't enable the theme when merging.
4437 (custom-theme-write-variables, custom-theme-write-faces): Use the
4438 :shown-value properties to save buffer values, not global ones.
4439 (customize-themes): Display a warning about user customizations.
4441 * cus-edit.el (custom-variable-value-create)
4442 (custom-face-value-create): Obey new special properties
4443 :shown-value and :inhibit-magic.
4445 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4447 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4448 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4451 2010-10-14 Kenichi Handa <handa@m17n.org>
4453 * mail/rmail.el (rmail-show-message-1): Catch an error of
4454 base64-decode-region and just show an error message (bug#7165).
4456 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4457 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4458 a font-spec (bug#7197).
4460 2010-10-14 Glenn Morris <rgm@gnu.org>
4462 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4464 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4466 * international/mule.el (define-coding-system):
4467 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4468 * composite.el (compose-region): Fix typo in docstring.
4470 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4472 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4473 only after checking the theme-face property.
4475 * faces.el (face-spec-reset-face): Reset all attributes in one
4476 single call to set-face-attribute.
4477 (face-spec-match-p): Make it a defsubst.
4478 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4479 (x-create-frame-with-faces, tty-create-frame-with-faces)
4480 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4481 frame-set-background-mode, since they are recomputed immediately
4482 afterwards in face-set-after-frame-default.
4483 (face-set-after-frame-default): Minor optimization.
4484 (cursor): Provide non-trivial defface spec.
4486 * custom.el (custom-theme-recalc-face): Simplify.
4488 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4490 * calc/calc-alg.el (math-var): Rename from `var'.
4491 (math-is-polynomial, math-is-poly-rec): Replace `var'
4494 * calc/calcalg2.el (math-var): Rename from `var'.
4495 (calcFunc-table, math-scan-for-limits): Replace `var'
4498 2010-10-13 Glenn Morris <rgm@gnu.org>
4500 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4502 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4504 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4506 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4508 * net/tls.el (tls-program): Remove spurious %s from openssl.
4509 (tls-starttls-switches): Remove starttls hack.
4510 (open-tls-stream): Ditto.
4511 (tls-find-starttls-argument): Ditto.
4513 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4515 * image.el (image-library-alist): Declare as obsolete alias.
4516 (image-type-available-p): Use `dynamic-library-alist'.
4518 * term/w32-win.el (dynamic-library-alist):
4519 Use instead of `image-library-alist'.
4521 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4523 * subr.el (last): Make it faster. (Bug#7174)
4525 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4527 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4529 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4531 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4532 (describe-theme-1): Extract doc from unloaded themes.
4534 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4536 * themes/tango-theme.el:
4537 * themes/tango-dark-theme.el:
4538 * themes/wheatgrass-theme.el: New files.
4540 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4542 * cus-theme.el (describe-theme, customize-themes)
4543 (custom-theme-save): New commands.
4544 (custom-new-theme-mode-map): Bind C-x C-s.
4545 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4546 (customize-create-theme): New optional arg THEME.
4547 (custom-theme-revert): Use it.
4548 (custom-theme-visit-theme): Remove dead code.
4549 (custom-theme-merge-theme): Use custom-available-themes.
4550 (custom-theme-write): Make interactive.
4551 (custom-theme-write): Use custom-theme-name-valid-p.
4552 (describe-theme-1, custom-theme-choose-revert)
4553 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4555 (custom-theme-allow-multiple-selections): New option.
4556 (custom-theme-choose-mode): New major mode.
4558 * custom.el (custom-theme-set-variables): Remove dead code.
4559 Obey custom--inhibit-theme-enable.
4560 (custom--inhibit-theme-enable): New var.
4561 (provide-theme): Obey it.
4562 (load-theme): Replace load with manual read/eval, in order to
4563 check for correctness. Use custom-theme-name-valid-p.
4564 (custom-theme-name-valid-p): New function.
4565 (custom-available-themes): Use it.
4567 * cus-edit.el (custom--initialize-widget-variables): New function.
4568 (Custom-mode): Use it.
4570 * cus-face.el (custom-theme-set-faces): Remove dead code.
4571 Obey custom--inhibit-theme-enable.
4573 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4575 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4577 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4579 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4581 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4582 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4583 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4585 * cus-start.el (all): ns-right-alternate-modifier is new.
4587 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4589 * emacs-lisp/lisp.el (lisp-completion-at-point):
4590 Use emacs-lisp-mode-syntax-table for the whole function.
4592 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4594 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4595 instead of font-lock-mode before adding keywords.
4596 Remove hi-lock-mode off code. Remove inhibit hack.
4597 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4598 non-nil; removed hook inhibit hack.
4600 2010-10-12 Glenn Morris <rgm@gnu.org>
4602 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4603 (load-path-shadows-find): ... to this.
4604 (list-load-path-shadows): Update for above change.
4606 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4608 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4610 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4611 Fix comment for declare-function.
4613 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4615 * custom.el (custom-fix-face-spec): New function; code moved from
4616 custom-face-edit-fix-value.
4617 (custom-push-theme): Use it when checking if a face has been
4618 changed outside customize.
4619 (custom-available-themes): New function.
4620 (load-theme): Use it.
4622 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4624 * custom.el (custom-push-theme): Cleanup (use cond).
4625 (disable-theme): Recompute the saved-face property.
4626 (custom-theme-recalc-face): Follow face alias before setting prop.
4628 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4629 New variables, containing checkbox images.
4631 * startup.el (fancy-startup-tail):
4632 * wid-edit.el (checkbox): Use them.
4634 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4636 * shell.el (shell-mode-map):
4637 * progmodes/modula2.el (m2-mode-map):
4638 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4639 * play/mpuz.el (mpuz-mode-map):
4640 * play/landmark.el (lm-mode-map):
4641 * play/decipher.el (decipher-mode-map):
4642 * play/5x5.el (5x5-mode-map):
4643 * net/telnet.el (telnet-mode-map):
4644 * net/quickurl.el (quickurl-list-mode-map):
4645 * net/mairix.el (mairix-searches-mode-map):
4646 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4647 * net/dig.el (dig-mode-map):
4648 * mail/mspools.el (mspools-mode-map):
4649 * hexl.el (hexl-mode-map):
4650 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4651 (wordstar-C-o-map, wordstar-C-q-map):
4652 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4653 * emacs-lisp/chart.el (chart-map):
4654 * edmacro.el (edmacro-mode-map):
4655 * erc/erc-list.el (erc-list-menu-mode-map):
4656 * array.el (array-mode-map): Declare and define in one step.
4658 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4660 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4662 * epa.el (epa-passphrase-callback-function): Display filename
4663 passed as the 3rd arg.
4664 * epa-file.el (epa-file-passphrase-callback-function):
4665 Pass filename to epa-passphrase-callback-function.
4667 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4669 * cus-edit.el (custom-face-widget-to-spec)
4670 (custom-face-get-current-spec, custom-face-state): New functions.
4671 (custom-face-set, custom-face-mark-to-save)
4672 (custom-face-value-create, custom-face-state-set): Use them.
4674 * cus-theme.el (custom-theme--listed-faces): New var.
4675 (customize-create-theme): Use *Custom Theme* as the buffer name.
4676 Set revert-buffer-function. Optional arg BUFFER. Insert all
4677 faces listed in custom-theme--listed-faces.
4678 (custom-theme-revert): New function.
4679 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4681 (custom-theme-write): Prompt for theme name if empty.
4682 (custom-theme-write-variables): Use dolist.
4683 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4685 2010-10-09 Alan Mackenzie <acm@muc.de>
4687 Enhance fontification of declarators to take account of the
4688 presence/absence of "typedef".
4690 * cc-engine.el (c-forward-type): New &optional param
4692 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4693 presence of either or both of a "struct"-like keyword and "typedef".
4695 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4696 fontification of declarators which follow a "}".
4697 (c-font-lock-declarations): Fontify declarators according to the
4698 presence/absence of "typedef".
4700 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4702 (c-typedef-decl-key): New lang variable built from
4703 c-typedef-decl-kwds.
4705 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4707 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4708 since that's too annoying. Move the filter groups commands to
4711 * epa.el (epa-passphrase-callback-function): Say what we're
4712 querying the password for.
4714 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4715 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4717 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4719 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4720 (custom-magic-value-create): Pad button tags with spaces.
4721 (custom-face-edit): New variable.
4722 (custom-face-value-create): Determine whether to use the usual
4723 face editor here, instead of using custom-face-selected.
4724 Pass face defaults to custom-face-edit widget.
4725 (custom-face-selected, custom-display-unselected): Delete widgets.
4726 (custom-display-unselected-match): Function removed.
4727 (custom-face-set, custom-face-mark-to-save):
4728 Accept custom-face-edit widgets as the direct widget child.
4730 * wid-edit.el (widget--completing-widget): New var.
4731 (widget-default-complete): Bind it when doing completion.
4732 (widget-string-complete, widget-file-complete): Use it.
4734 2010-10-09 Glenn Morris <rgm@gnu.org>
4736 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4737 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4738 (holiday-hebrew-misc): Small simplifications.
4740 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4742 * net/browse-url.el: Don't require thingatpt, term, dired,
4743 executable, or w3-auto when compiling.
4744 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4746 (browse-url-text-emacs): Require term.
4748 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4750 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4752 2010-10-08 Glenn Morris <rgm@gnu.org>
4754 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4756 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4757 (shadows-compare-text-p): Make it an obsolete alias for...
4758 (load-path-shadows-compare-text): ... new name.
4759 (find-emacs-lisp-shadows): Update for above name change.
4760 (load-path-shadows-same-file-or-nonexistent): New name for the old
4761 shadow-same-file-or-nonexistent.
4763 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4765 * minibuffer.el (completion--some, completion--do-completion)
4766 (minibuffer-complete-and-exit, minibuffer-completion-help)
4767 (completion-basic-try-completion)
4768 (completion-basic-all-completions)
4769 (completion-pcm--find-all-completions): Use lexical-let to
4770 avoid some false matches in variable completion (Bug#7056)
4772 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4774 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4776 2010-10-08 Leo <sdl.web@gmail.com>
4778 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4779 return non-nil if the file exists (Bug#7090).
4781 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4783 * minibuffer.el (completion--replace):
4784 Better preserve markers (bug#7138).
4786 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4788 * server.el (server-process-filter): Doc fix.
4790 2010-10-08 Drew Adams <drew.adams@oracle.com>
4792 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4794 2010-10-08 Glenn Morris <rgm@gnu.org>
4796 * vc/ediff-wind.el (ediff-setup-control-frame):
4797 * vc/ediff-ptch.el (ediff-default-backup-extension):
4798 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4799 (ediff-exec-process): Remove system-types emx, windows-95.
4801 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4803 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4805 * cus-edit.el (custom-variable, custom-face): Doc fix.
4806 (custom-face-edit): Add value-create attribute.
4807 (custom-face-edit-value-create)
4808 (custom-face-edit-value-visibility-action): New functions.
4809 Hide unused face attributes by default, and add a visibility toggle.
4810 (custom-face-edit-deactivate): Show empty values with shadow face.
4811 (custom-face-selected): Only use this for face specs with default
4813 (custom-face-value-create): Cleanup.
4815 * wid-edit.el (widget-checklist-value-create): Use dolist.
4816 (widget-checklist-match-find): Make second arg optional.
4818 2010-10-07 Glenn Morris <rgm@gnu.org>
4820 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4823 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4824 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4825 load-path-shadows-mode, update references.
4826 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4827 Rename variable and button.
4828 (list-load-path-shadows): Update button caller.
4830 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4832 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4833 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4834 (smie-merge-prec2s): Handle those new entries.
4835 (smie-prec2-levels): Only set precedence to nil for actual
4837 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4838 that is now unnecessary.
4840 2010-10-07 Miles Bader <miles@gnu.org>
4842 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4844 2010-10-07 Glenn Morris <rgm@gnu.org>
4846 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4847 (mail-position-on-field): Remove declarations.
4848 (mail-position-on-field): Autoload it.
4849 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4850 and mail-header-end. Don't require sendmail.
4852 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4853 (shadow-mode): New mode.
4854 (shadow-find-file): New button.
4855 (list-load-path-shadows): Use shadow-mode and buttons.
4857 * iimage.el (iimage-version): Remove.
4858 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4859 Turn into defcustoms.
4860 (iimage-mode-map): Give it a doc string.
4862 * calendar/appt.el (appt-activate): Give a warning rather than an error
4863 if there is no diary-file.
4865 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4867 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4868 Use `tramp-handle-find-backup-file-name'.
4870 2010-10-06 Glenn Morris <rgm@gnu.org>
4872 * font-core.el (font-lock-defaults-alist): Remove variable.
4873 (font-lock-mode): Doc fix.
4874 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4875 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4876 (font-lock-set-defaults): Doc fix.
4877 Do not consult font-lock-defaults-alist.
4879 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4881 * emacs-lisp/cl.el: No longer provide cl-19.
4883 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4885 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4886 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4887 New defuns, taken from tramp-smb.el.
4888 (tramp-coding-system-change-eol-conversion)
4889 (tramp-set-process-query-on-exit-flag): Remove.
4891 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4892 (tramp-compat-coding-system-change-eol-conversion)
4893 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4896 * net/tramp-gvfs.el:
4897 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4898 by `tramp-compat-set-process-query-on-exit-flag'.
4900 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4901 Use `tramp-handle-directory-files-and-attributes',
4902 `tramp-handle-file-exists-p' and
4903 `tramp-handle-file-newer-than-file-p'.
4904 (tramp-imap-handle-file-exists-p)
4905 (tramp-imap-handle-file-executable-p)
4906 (tramp-imap-handle-file-readable-p)
4907 (tramp-imap-handle-directory-files-and-attributes)
4908 (tramp-imap-handle-file-newer-than-file-p): Remove.
4910 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4911 by `tramp-compat-set-process-query-on-exit-flag' and
4912 `tramp-coding-system-change-eol-conversion' by
4913 `tramp-compat-coding-system-change-eol-conversion'.
4915 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4916 Use `tramp-handle-directory-files-and-attributes',
4917 `tramp-handle-file-exists-p' and
4918 `tramp-handle-file-newer-than-file-p'.
4919 (tramp-smb-handle-directory-files-and-attributes)
4920 (tramp-smb-handle-file-exists-p)
4921 (tramp-smb-handle-file-newer-than-file-p): Remove.
4922 (tramp-smb-maybe-open-connection):
4923 Replace `tramp-set-process-query-on-exit-flag' by
4924 `tramp-compat-set-process-query-on-exit-flag'.
4926 2010-10-05 Glenn Morris <rgm@gnu.org>
4928 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4930 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4932 Continue reorganization of load dependencies. (Bug#7156)
4934 * net/tramp.el (tramp-handle-file-local-copy-hook)
4935 (tramp-delete-temp-file-function): Move down.
4936 (tramp-exists-file-name-handler): Move up.
4937 (tramp-register-file-name-handlers): Simplify autoload.
4938 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4939 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4940 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4941 (tramp-handle-file-name-completion)
4942 (tramp-handle-file-name-directory)
4943 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4944 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4945 (tramp-handle-find-backup-file-name)
4946 (tramp-handle-insert-file-contents, tramp-handle-load)
4947 (tramp-handle-substitute-in-file-name)
4948 (tramp-handle-unhandled-file-name-directory)
4949 (tramp-mode-string-to-int, tramp-local-host-p)
4950 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4952 * net/tramp-gvfs.el (top):
4953 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4955 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4956 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4958 2010-10-04 Glenn Morris <rgm@gnu.org>
4960 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4961 (appt-activate): Give status messages.
4963 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4965 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4966 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4967 `gnutls-negotiate' (formerly `starttls-negotiate').
4968 Remove trivial wrapper `starttls-open-stream'.
4970 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4972 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4973 log-outgoing commands.
4974 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4975 to create a buffer local revert-buffer-function variable.
4976 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4977 revert-buffer-function lambda.
4979 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4981 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4982 `gnutls-boot'. Make TYPE the only required parameter.
4983 Allow TRUSTFILES and KEYFILES to be lists.
4984 (open-ssl-stream): Use it.
4986 2010-10-03 Glenn Morris <rgm@gnu.org>
4988 * subr.el (directory-sep-char): Remove obsolete variable.
4989 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4992 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4993 * vc/vc.el (vc-static-header-alist): Doc fix.
4994 * vc/vc-cvs.el (vc-cvs-header):
4995 * vc/vc-rcs.el (vc-rcs-header):
4996 * vc/vc-sccs.el (vc-sccs-header):
4997 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4998 * obsolete/vc-mcvs.el (vc-mcvs-header):
4999 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5002 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5004 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5005 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5007 2010-10-03 Glenn Morris <rgm@gnu.org>
5009 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5011 * textmodes/rst.el (rst-font-lock-keywords-function):
5014 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5016 * printing.el: Drop Emacs 20 code.
5018 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5019 without having used appt.el already).
5021 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5022 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5023 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5025 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5026 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5028 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5029 (charset-width, find-charset-region, chars-in-region, forward-point)
5030 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5031 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5032 Remove compatibility cruft (none of these are used by ps*.el).
5034 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5036 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5038 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5040 * server.el (server-process-filter, server-return-error):
5041 Give emacsclient time to shut down after receiving an error string.
5043 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5045 * files.el (remote-file-name-inhibit-cache): New defcustom.
5047 * time.el (display-time-file-nonempty-p):
5048 Use `remote-file-name-inhibit-cache'.
5050 * net/tramp.el (tramp-completion-reread-directory-timeout):
5053 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5054 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5055 `remote-file-name-inhibit-cache'. Check also for an integer
5056 value. Add/increase counter when `tramp-verbose' >= 10.
5057 (tramp-set-file-property): Add/increase counter when
5058 `tramp-verbose' >= 10.
5060 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5061 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5062 (tramp-bug): Set tramp-autoload cookie. Report all interned
5063 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5064 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5065 characters only in strings.
5067 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5068 to backward compatibility.
5070 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5071 (tramp-handle-file-name-all-completions)
5072 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5073 (tramp-open-connection-setup-interactive-shell):
5074 Call `tramp-cleanup-connection' directly.
5076 2010-10-02 Glenn Morris <rgm@gnu.org>
5078 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5080 * subr.el (char-bytes): Remove obsolete function.
5082 * isearch.el (isearch-return-char): Remove obsolete function.
5084 * mouse.el: No longer provide mldrag.
5085 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5086 Remove obsolete aliases.
5088 * comint.el (comint-kill-output): Remove obsolete alias.
5090 * composite.el (decompose-composite-char): Remove obsolete function.
5091 * ps-def.el (decompose-composite-char): Remove unused function.
5093 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5095 * outline.el (outline-visible): Remove obsolete function.
5097 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5098 * faces.el (internal-find-face, internal-get-face)
5099 (frame-update-faces, frame-update-face-colors)
5100 (x-frob-font-weight, x-frob-font-slant)
5101 (internal-frob-font-weight, internal-frob-font-slant)
5102 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5103 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5104 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5106 * emulation/viper-util.el (viper-get-face):
5107 * obsolete/lucid.el (find-face, get-face): Use facep.
5108 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5109 Remove unused functions.
5110 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5112 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5113 delete tempfile if interrupted during compilation.
5115 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5117 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5119 (tls-program): Add --insecure to be consistent with the defaults from
5120 openssl s_client. Now all three commands are insecure.
5122 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5124 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5125 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5126 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5128 2010-10-01 Glenn Morris <rgm@gnu.org>
5130 * obsolete/sc.el: Remove file.
5132 * files.el (temporary-file-directory): On darwin, also try
5133 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5135 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5137 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5138 Let's not break compatibility gratuitously, shall we?
5140 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5142 * net/tls.el (tls-starttls-switches): New variable.
5143 (tls-find-starttls-argument): Use it.
5144 (open-tls-stream): Ditto.
5146 * net/netrc.el (netrc-credentials): Return the value of the "default"
5148 (netrc-machine): Ditto.
5150 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5152 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5154 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5156 * server.el (server-start): Don't write pid to the authentication file.
5157 (server-create-tty-frame): Don't send pid.
5158 (server-process-filter): Send pid at the start of every connection.
5160 2010-09-30 Glenn Morris <rgm@gnu.org>
5162 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5163 (show-all-diary-entries): Remove obsolete function aliases.
5165 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5166 Remove options, obsolete since 22.1.
5167 (appt-display-format, appt-display-message):
5168 Remove backwards-compatibility code.
5169 (appt-check): No longer check appt-issue-message.
5170 (appt-make-list): No longer autoload it. Doc fix. No longer
5171 activate the package.
5173 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5175 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5176 (starttls-negotiate): Just call boot, and let the handshake be
5177 triggered from the read loop.
5179 2010-09-29 Glenn Morris <rgm@gnu.org>
5181 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5182 not displaying the diary.
5183 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5184 * calendar/appt.el (appt-check): No longer need to kill diary.
5186 * calendar/diary-lib.el (diary-list-entries): Move the
5187 "Preparing..." message entirely here.
5188 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5189 messages to diary-list-entries.
5190 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5191 diary-display-function.
5193 * calendar/diary-lib.el (diary-include-other-diary-files):
5194 Trap some recursive includes.
5196 * calendar/appt.el (appt-activate): Check diary file.
5198 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5200 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5203 * calendar/time-date.el: No need to require cl for Emacs 21.
5205 2010-09-28 Glenn Morris <rgm@gnu.org>
5207 * calendar/appt.el (appt-check): Minor simplification.
5209 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5211 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5214 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5216 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5217 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5219 2010-09-27 Kenichi Handa <handa@m17n.org>
5221 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5224 2010-09-27 Kenichi Handa <handa@m17n.org>
5226 * international/mule.el (define-coding-system): Docstring fixed.
5228 * international/mule-diag.el (describe-character-set): Use princ
5229 with proper print-length and print-level instead of insert.
5231 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5233 * window.el (walk-windows): Doc fix (bug#7105).
5235 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5237 * emacs-lisp/float-sup.el (e): Remove.
5239 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5241 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5243 (starttls-negotiate): Use it.
5245 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5247 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5250 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5252 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5254 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5256 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5258 * net/netrc.el (netrc-store-data): New function.
5260 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5262 * net/gnutls.el: GnuTLS glue code to set up a connection.
5264 2010-09-25 Julien Danjou <julien@danjou.info>
5266 * notifications.el: Call dbus-register-signal only if it is bound.
5268 2010-09-25 Glenn Morris <rgm@gnu.org>
5270 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5271 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5272 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5273 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5274 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5275 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5276 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5277 * eshell/esh-util.el, eshell/esh-var.el:
5278 Remove leading `*' from docs of faces and defcustoms.
5280 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5282 * eshell/em-ls.el (eshell-ls-archive-regexp):
5283 * eshell/esh-util.el (eshell-tar-regexp):
5284 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5285 * info.el (Info-suffix-list):
5286 * international/mule.el (auto-coding-alist):
5287 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5288 * progmodes/etags.el (tags-compression-info-list):
5289 Support xz compression.
5291 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5293 * files.el (get-free-disk-space): Don't assume the "df" output
5294 columns line up (Bug#6995).
5296 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5298 * finder.el (finder-unknown-keywords):
5299 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5300 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5302 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5304 * server.el (server-start): Revert part of 2010-08-08 change. Using
5305 address 127.0.0.1 for local host is now done in Fmake_network_process.
5307 2010-09-24 Glenn Morris <rgm@gnu.org>
5309 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5310 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5311 * textmodes/css-mode.el, textmodes/dns-mode.el:
5312 Move autoloaded auto-mode-alist entries to files.el.
5313 * files.el (auto-mode-alist): Move entries here.
5315 2010-09-23 Glenn Morris <rgm@gnu.org>
5317 * isearch.el (isearch-lazy-highlight-cleanup)
5318 (isearch-lazy-highlight-initial-delay)
5319 (isearch-lazy-highlight-interval)
5320 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5321 * net/net-utils.el (ipconfig-program-options):
5322 Move aliases to options before the associated definitions.
5324 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5326 * newcomment.el (comment-normalize-vars): Better test validity of
5329 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5331 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5332 (float-e): New name for `e'.
5333 (degrees-to-radians, radians-to-degrees):
5334 * calendar/solar.el (solar-longitude):
5335 * calculator.el (calculator-registers, calculator-funcall):
5336 * textmodes/artist.el (artist-spray-random-points):
5337 * play/bubbles.el (bubbles--initialize-images): Use new names.
5339 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5341 Update to CEDET 1.0's version of EIEIO.
5343 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5345 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5346 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5347 (class-precedence-list): If class is nil, return nil.
5348 (eieio-generic-call): If class of first input arg is nil, don't
5349 look up static methods, and do check for primary methods.
5350 (initialize-instance): See if the default needs to be evaluated
5351 during the constructor.
5352 (eieio-perform-slot-validation-for-default): Don't do the check
5353 for values that will eventually be evaluated.
5354 (eieio-eval-default-p): New function.
5355 (eieio-default-eval-maybe): Use it.
5357 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5359 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5360 method-invocation-order.
5361 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5362 (eieio-class-precedence-dfs): Compute class precedence list using
5364 (eieio-class-precedence-bfs): Compute class precedence list using
5366 (eieio-class-precedence-c3): Compute class precedence list using
5368 (class-precedence-list): New function.
5369 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5370 (inconsistent-class-hierarchy): New error symbol.
5371 (call-next-method): Stow the replacement argument list for future
5372 call-next-method invocations.
5374 2010-09-23 Glenn Morris <rgm@gnu.org>
5376 * calendar/appt.el (appt-check): If not displaying the diary,
5377 use (diary 1) to only get the entries we need.
5378 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5379 that it is in day order. (Bug#7019)
5381 * calendar/appt.el (appt-check): Rather than showing the diary,
5382 just turn off invisible display, and only if needed.
5384 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5386 2010-09-23 Glenn Morris <rgm@gnu.org>
5388 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5389 (byte-compile-defvar, byte-compile-cl-warn):
5390 Start warnings with lower-case, like the majority.
5392 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5394 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5396 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5397 * files.el (auto-mode-alist): Move ld-script entries here, further down
5400 * vc/add-log.el: Don't require timezone when compiling.
5401 (timezone-make-date-sortable): Autoload it.
5402 (change-log-sortable-date-at): Don't require timezone.
5403 Use `ignore-errors'.
5405 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5406 Move alias before definition, so it does not need autoloading.
5408 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5409 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5410 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5411 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5412 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5413 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5414 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5415 * textmodes/tex-mode.el, textmodes/two-column.el:
5416 Remove leading `*' from docs of defcustoms etc.
5418 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5420 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5422 2010-09-22 Dan Christensen <jdc@uwo.ca>
5424 * calendar/time-date.el (date-to-time): Try using parse-time-string
5425 first before using the slower timezone-make-date-arpa-standard.
5427 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5429 * calendar/time-date.el (format-seconds): Comment fix.
5431 2010-09-22 Glenn Morris <rgm@gnu.org>
5433 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5434 is not automatically buffer-local.
5436 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5438 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5439 (smie-indent-comment): Be more careful with comment-start-skip.
5440 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5441 (smie-indent-functions): Use them.
5443 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5445 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5447 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5449 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5450 tool-bar-position. Don't modify frame parameters here.
5451 (menu-bar-options-save): Add tool-bar-position.
5453 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5455 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5457 * textmodes/reftex-parse.el (reftex-what-macro)
5458 (reftex-context-substring): Let-bind forward-sexp-function to nil
5459 since we don't need/want to treat \begin...\end as a block (bug#7053).
5461 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5463 * simple.el (blink-matching-open): Use syntax-class.
5465 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5466 Set invisibility spec for pascal's outline mode.
5467 (pascal-outline-change): Clean up calling convention.
5468 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5470 * progmodes/prolog.el (prolog-smie-forward-token)
5471 (prolog-smie-backward-token): New functions.
5472 (prolog-mode-variables): Use them to parse "!," correctly.
5473 Set up smie-blink-matching for ".".
5475 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5477 (ispell-region, ispell-process-line): Update users.
5479 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5482 * textmodes/ispell.el: Fix commenting convention.
5483 (ispell-parse-output): Simplify, use push.
5484 (ispell-region): Use match-string-no-properties.
5485 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5486 (ispell-minor-mode): Use define-minor-mode.
5487 (ispell-message): Remove unused var `skip-regexp'.
5488 (ispell-add-per-file-word-list): Use dynamic let-binding.
5489 Try and use the proper comment marker.
5491 * mail/sendmail.el: Fix commenting convention.
5492 (sendmail-send-it): Use line-beginning-position.
5494 * help-fns.el (describe-variable): Add original value, if applicable.
5496 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5498 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5500 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5502 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5504 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5505 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5506 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5507 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5508 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5509 something like "." can also be a closer.
5510 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5511 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5512 Rename internal functions to use "--". Update callers.
5514 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5516 * fringe.el (fringe-styles): New var.
5517 (fringe-mode, fringe-query-style): Use it.
5519 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5521 * progmodes/sql.el: Version 2.8
5522 (sql-login-params): Update widget structure; changes still needed.
5523 (sql-product-alist): Add :list-all and :list-table features for
5524 SQLite, Postgres and MySQL products.
5525 (sql-redirect): Handle default value.
5526 (sql-execute, sql-execute-feature): New functions.
5527 (sql-read-table-name): New function.
5528 (sql-list-all, sql-list-table): New functions. User API.
5529 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5530 for above functions.
5531 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5532 for above functions.
5533 (sql-postgres-login-params): Add user and database defaults.
5534 (sql-buffer-live-p): Bug fix.
5535 (sql-product-history): New variable.
5536 (sql-read-product): New function. Use it.
5537 (sql-set-product, sql-product-interactive): Use it.
5538 (sql-connection-history): New variable.
5539 (sql-read-connection): New function. Use it.
5540 (sql-connect): New function.
5541 (sql-for-each-login): Redesign function interface.
5542 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5543 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5544 (sql-comint): Check for program. Existing live buffer.
5545 (sql-comint-postgres): Add port parameter.
5547 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5549 * emacs-lisp/warnings.el: Fix commenting convention.
5550 (display-warning): Use special mode and make the buffer read-only.
5552 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5554 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5555 empty string when it follows a repeated or optional pattern.
5557 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5559 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5560 (indent-region): Use indent-according-to-mode.
5562 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5564 * fringe.el (fringe-mode): Doc fix.
5566 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5568 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5569 refreshing the preview buffer.
5571 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5573 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5574 (latex-syntax-propertize-rules): New consts; replace
5575 tex-font-lock-syntactic-keywords.
5576 (tex-env-mark, latex-env-before-change): New functions.
5577 (latex-electric-env-pair-mode): New minor mode.
5578 (tex-font-lock-verb): Change arguments; do move point.
5579 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5580 representation as a form of comment.
5581 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5582 (doctex-syntax-propertize-rules): New const; replaces
5583 doctex-font-lock-syntactic-keywords.
5584 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5586 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5587 (fortran-make-syntax-propertize-function): New function; replaces
5588 fortran-font-lock-syntactic-keywords.
5589 (fortran-mode): Use it.
5590 (fortran-line-length): Use it. Improve interactive spec.
5592 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5593 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5594 when adding surrounding \(..\).
5596 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5598 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5600 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5601 Use with-current-buffer.
5603 * isearch.el (isearch-face): Rename from `isearch'.
5604 (isearch-highlight): Use new name.
5606 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5608 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5609 5, for `half' width fringes. (Bug#6933)
5611 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5613 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5614 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5616 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5618 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5620 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5621 in calculating new frame position. Add more space between new and
5622 parent on the left (Bug#7048).
5624 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5626 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5629 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5631 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5633 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5634 obsolete alias for x-selection-value.
5636 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5638 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5640 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5643 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5645 * net/tramp-compat.el (tramp-compat-with-temp-message)
5646 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5647 (tramp-compat-process-put): New defuns.
5649 * net/tramp.el (top):
5650 * net/tramp-gvfs.el (top):
5651 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5653 * net/tramp.el (tramp-progress-reporter-update):
5654 Use `tramp-compat-funcall'.
5656 * net/tramp.el (tramp-process-actions):
5657 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5658 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5659 (tramp-get-remote-stat, tramp-get-remote-readlink):
5660 Use `tramp-compat-with-temp-message'.
5662 * net/tramp-sh.el (top): Require 'cl.
5663 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5664 (tramp-open-connection-setup-interactive-shell):
5665 Use `tramp-compat-process-put'.
5667 2010-09-15 Alan Mackenzie <acm@muc.de>
5669 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5671 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5673 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5675 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5676 `lexical' for warnings related to lexical scoping.
5677 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5678 global vars which don't have a prefix and could hence affect lexical
5679 scoping in unrelated files.
5681 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5683 * net/imap.el: Revert back to version
5684 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5687 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5689 * obsolete/old-whitespace.el (whitespace-unload-function):
5690 Explicitly pass `obarray' to `unintern' to avoid a warning.
5692 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5694 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5695 Add `when' argument. Update callers.
5697 * subr.el (unintern): Declare the obarray arg mandatory.
5699 2010-09-14 Glenn Morris <rgm@gnu.org>
5701 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5704 * calendar/diary-lib.el (diary-included-files): New variable.
5705 (diary-list-entries): Maybe initialize diary-included-files.
5706 (diary-include-other-diary-files): Append to diary-included-files.
5707 * calendar/appt.el (appt-update-list): Also check the members of
5708 diary-included-files. (Bug#6999)
5709 (appt-check): Doc fix.
5711 2010-09-14 David Reitter <david.reitter@gmail.com>
5713 * simple.el (line-move-visual): Do not truncate goal column to
5714 integer size. (Bug#7020)
5716 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5718 * repeat.el (repeat): Allow repeating when the last event is a click.
5719 Suggested by Drew Adams (bug#6256).
5721 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5723 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5724 Replace setting HGRCPATH to "" by some less invasive --config options.
5726 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5728 * font-lock.el (font-lock-beginning-of-syntax-function):
5731 2010-09-14 Glenn Morris <rgm@gnu.org>
5733 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5734 and tool-bar modes. (Bug#6211)
5735 (menu-bar-mode): Move setting of standard-value after the
5736 minor-mode definition, otherwise it seems to have no effect.
5738 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5740 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5741 Fix typo. (Bug#6976)
5743 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5745 * whitespace.el: Allow cleaning up blanks without blank
5746 visualization (Bug#6651). Adjust help window for
5747 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5748 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5749 (whitespace-style): Add new value 'face. Adjust docstring.
5750 (whitespace-space, whitespace-hspace, whitespace-tab):
5751 Adjust foreground property face.
5752 (whitespace-line-column): Adjust docstring and type declaration.
5753 (whitespace-style-value-list, whitespace-toggle-option-alist)
5754 (whitespace-help-text): Adjust const initialization.
5755 (whitespace-toggle-options, global-whitespace-toggle-options):
5757 (whitespace-display-window, whitespace-interactive-char)
5758 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5759 (whitespace-help-scroll): New fun.
5761 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5763 * calendar/time-date.el (format-seconds): Comment fix.
5765 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5767 * progmodes/sql.el: Version 2.7.
5768 (sql-buffer-live-p): Improve detection.
5769 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5770 (sql-set-sqli-buffer): Use it.
5771 (sql-product-interactive): Run `sql-set-sqli-hook'.
5772 (sql-rename-buffer): Code cleanup.
5773 (sql-redirect, sql-redirect-value): New functions. More to come.
5775 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5777 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.
5778 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5779 (TRAMP_SRC): New macro.
5780 ($(lisp)/net/tramp-loaddefs.el): New target.
5782 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5784 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5786 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5788 * net/tramp.el (top): Don't show loading message. Require just
5789 'tramp-compat, everything else is required there.
5790 Use `ignore-errors' where appropriate.
5791 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5792 (tramp-terminal-type, tramp-end-of-output)
5793 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5794 (tramp-completion-function-alist-ssh)
5795 (tramp-completion-function-alist-telnet)
5796 (tramp-completion-function-alist-su)
5797 (tramp-completion-function-alist-putty, tramp-remote-path)
5798 (tramp-remote-process-environment, tramp-sh-extra-args)
5799 (tramp-actions-before-shell, tramp-uudecode)
5800 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5801 (tramp-perl-file-attributes)
5802 (tramp-perl-directory-files-and-attributes)
5803 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5804 (tramp-perl-encode, tramp-perl-decode)
5805 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5806 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5807 (tramp-handle-make-symbolic-link, tramp-handle-load)
5808 (tramp-handle-file-name-as-directory)
5809 (tramp-handle-file-name-directory)
5810 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5811 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5812 (tramp-do-file-attributes-with-ls)
5813 (tramp-do-file-attributes-with-perl)
5814 (tramp-do-file-attributes-with-stat)
5815 (tramp-handle-set-visited-file-modtime)
5816 (tramp-handle-verify-visited-file-modtime)
5817 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5818 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5819 (tramp-handle-file-selinux-context)
5820 (tramp-handle-set-file-selinux-context)
5821 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5822 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5823 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5824 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5825 (tramp-handle-file-ownership-preserved-p)
5826 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5827 (tramp-handle-directory-files-and-attributes)
5828 (tramp-do-directory-files-and-attributes-with-perl)
5829 (tramp-do-directory-files-and-attributes-with-stat)
5830 (tramp-handle-file-name-all-completions)
5831 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5832 (tramp-handle-copy-file, tramp-handle-copy-directory)
5833 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5834 (tramp-do-copy-or-rename-file-via-buffer)
5835 (tramp-do-copy-or-rename-file-directly)
5836 (tramp-do-copy-or-rename-file-out-of-band)
5837 (tramp-handle-make-directory, tramp-handle-delete-directory)
5838 (tramp-handle-delete-file)
5839 (tramp-handle-dired-recursive-delete-directory)
5840 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5841 (tramp-handle-insert-directory)
5842 (tramp-handle-unhandled-file-name-directory)
5843 (tramp-handle-expand-file-name)
5844 (tramp-handle-substitute-in-file-name)
5845 (tramp-handle-executable-find, tramp-process-sentinel)
5846 (tramp-handle-start-file-process, tramp-handle-process-file)
5847 (tramp-handle-call-process-region, tramp-handle-shell-command)
5848 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5849 (tramp-handle-insert-file-contents)
5850 (tramp-handle-insert-file-contents-literally)
5851 (tramp-handle-find-backup-file-name)
5852 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5853 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5854 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5855 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5856 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5857 (tramp-find-file-exists-command, tramp-open-shell)
5858 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5859 (tramp-open-connection-setup-interactive-shell)
5860 (tramp-local-coding-commands, tramp-remote-coding-commands)
5861 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5862 (tramp-inline-compress-commands, tramp-find-inline-compress)
5863 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5864 (tramp-send-command, tramp-wait-for-output)
5865 (tramp-send-command-and-check, tramp-barf-unless-okay)
5866 (tramp-send-command-and-read, tramp-mode-string-to-int)
5867 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5868 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5869 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5870 (tramp-method-out-of-band-p, tramp-local-host-p)
5871 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5872 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5873 (tramp-get-test-command, tramp-get-test-nt-command)
5874 (tramp-get-file-exists-command, tramp-get-remote-ln)
5875 (tramp-get-remote-perl, tramp-get-remote-stat)
5876 (tramp-get-remote-readlink, tramp-get-remote-trash)
5877 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5878 (tramp-get-local-uid, tramp-get-local-gid)
5879 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5881 (tramp-methods, tramp-default-method-alist)
5882 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5883 Move initialization to tramp-sh.el.
5884 (tramp-temp-name-prefix): Make it a defconst.
5885 (tramp-dissect-file-name): Don't check anymore for multi-hop
5887 (tramp-debug-outline-regexp): Add a docstring.
5888 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5889 (tramp-get-debug-buffer): Use it.
5891 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5892 initialization forms.
5893 (tramp-set-connection-property): Don't protect `tramp-message'
5894 call, it isn't necessary any longer.
5895 (tramp-dump-connection-properties): Use `ignore-errors'.
5897 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5898 'password-cache and 'auth-source.
5900 * net/tramp-gvfs.el (top):
5901 * net/tramp-smb.el (top): Require 'tramp-sh.
5903 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5905 * net/tramp-sh.el: New file, derived from tramp.el.
5906 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5907 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5908 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5909 Use `ignore-errors' where appropriate.
5910 (tramp-sh-file-name-handler-alist): Rename from
5911 `tramp-file-name-handler-alist'.
5912 (tramp-send-command-and-check): Return t or nil. Remove all
5913 `zerop' checks, where called.
5914 (tramp-handle-set-file-modes)
5915 (tramp-do-copy-or-rename-file-directly)
5916 (tramp-handle-delete-directory, tramp-handle-delete-file)
5917 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5918 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5919 (tramp-get-remote-ln): Set tramp-autoload cookie.
5921 * net/tramp-fish.el: Remove file.
5923 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5925 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5926 buffer-file-name to avoid file-locking. (Bug#7026)
5928 2010-09-13 Julien Danjou <julien@danjou.info>
5930 * notifications.el (notifications-notify): Add support for
5931 image-path and sound-name.
5932 (notifications-specification-version): Add this variable.
5934 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5936 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5938 2010-09-12 Leo <sdl.web@gmail.com>
5940 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5941 (rcirc-completion-start): New variables.
5942 (rcirc-nick-completions): Rename to rcirc-completions.
5943 (rcirc-nick-completion-start-offset): Delete.
5944 (rcirc-completion-at-point): New function for constructing
5945 completion data for both nicks and irc commands. Add to
5946 completion-at-point-functions in rcirc mode.
5947 (rcirc-complete): Rename from rcirc-nick-complete; use
5948 rcirc-completion-at-point.
5949 (defun-rcirc-command): Update rcirc-client-commands.
5951 2010-09-11 Glenn Morris <rgm@gnu.org>
5953 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5954 atomically, to avoid parallel build errors. (Bug#4196)
5956 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5958 * progmodes/sql.el: Version 2.6
5959 (sql-dialect): Synonym for "sql-product".
5960 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5961 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5962 Set "sql-buffer" to buffer name not buffer object so multiple sql
5963 interactive buffers work properly. Reverts misguided changes in
5965 (sql-comint): Make sure different buffer name is used if "*SQL*"
5966 buffer is for a different product.
5967 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5969 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5970 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5971 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5972 Accept new buffer name or prompt for one.
5973 (sql-port): Default to zero.
5974 (sql-comint-mysql): Handle "sql-port" as a numeric.
5975 (sql-port-history): Delete unused variable.
5976 (sql-get-login): Default "sql-port" to a number.
5977 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5978 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5979 "sqlite3" executables.
5980 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5981 (sql-buffer-live-p): New function.
5982 (sql-mode-menu, sql-send-string): Use it.
5983 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5985 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5986 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5988 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5990 * net/netrc.el (netrc-credentials): New convenience function.
5992 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5994 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5995 to replace texinfo-font-lock-syntactic-keywords.
5996 (texinfo-mode): Use it.
5998 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5999 Use syntax-propertize-function.
6001 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6002 replace sgml-font-lock-syntactic-keywords.
6003 (sgml-mode): Use it.
6005 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6006 since we don't use it.
6008 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6010 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6012 (vhdl-fontify-buffer): Adjust.
6014 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6015 replace tcl-font-lock-syntactic-keywords.
6018 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6019 replace simula-font-lock-syntactic-keywords.
6020 (simula-mode): Use it.
6022 * progmodes/sh-script.el (sh-st-symbol): Remove.
6023 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6024 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6025 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6026 (sh-font-lock-paren): Set syntax-multiline.
6027 (sh-font-lock-syntactic-keywords): Remove.
6028 (sh-syntax-propertize-function): New function to replace it.
6031 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6032 Define while compiling.
6033 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6034 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6035 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6036 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6037 (ruby-here-doc-end-syntax): Only define when
6038 syntax-propertize is not available.
6039 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6041 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6042 (electric-indent-chars): Silence bytecompiler.
6043 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6044 electric-indent-chars.
6046 * progmodes/python.el (python-syntax-propertize-function): New var to
6047 replace python-font-lock-syntactic-keywords.
6048 (python-mode): Use it.
6049 (python-quote-syntax): Simplify and adjust to new use.
6051 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6052 replace perl-font-lock-syntactic-keywords.
6053 (perl-syntax-propertize-special-constructs): New fun to replace
6054 perl-font-lock-special-syntactic-constructs.
6055 (perl-font-lock-syntactic-face-function): New fun.
6056 (perl-mode): Use it.
6058 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6059 to replace octave-font-lock-close-quotes.
6060 (octave-syntax-propertize-function): New function to replace
6061 octave-font-lock-syntactic-keywords.
6062 (octave-mode): Use it.
6064 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6065 replaces mixal-font-lock-syntactic-keywords.
6066 (mixal-mode): Use it.
6068 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6069 New var; replaces makefile-font-lock-syntactic-keywords.
6070 (makefile-mode): Use it.
6071 (makefile-imake-mode): Adjust.
6073 * progmodes/js.el (js--regexp-literal): Define while compiling.
6074 (js-syntax-propertize-function): New var; replaces
6075 js-font-lock-syntactic-keywords.
6078 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6079 replaces gdb-script-font-lock-syntactic-keywords.
6080 (gdb-script-mode): Use it.
6082 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6083 (fortran--font-lock-syntactic-keywords): New var.
6084 (fortran-line-length): Update syntax-propertize-function and
6085 fortran--font-lock-syntactic-keywords.
6087 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6089 * progmodes/cfengine.el (cfengine-mode):
6090 Use syntax-propertize-function.
6091 (cfengine-font-lock-syntactic-keywords): Remove.
6093 * progmodes/autoconf.el (autoconf-mode):
6094 Use syntax-propertize-function.
6095 (autoconf-font-lock-syntactic-keywords): Remove.
6097 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6098 (ada-after-change-function, ada-initialize-syntax-table-properties)
6099 (ada-handle-syntax-table-properties): Only define when
6100 syntax-propertize is not available.
6101 (ada-mode): Use syntax-propertize-function.
6103 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6104 (font-lock-fontify-syntactic-keywords-region): Move handling of
6105 font-lock-syntactically-fontified to...
6106 (font-lock-default-fontify-region): ...here.
6107 Let syntax-propertize-function take precedence.
6108 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6110 * emacs-lisp/syntax.el (syntax-propertize-function)
6111 (syntax-propertize-chunk-size, syntax-propertize--done)
6112 (syntax-propertize-extend-region-functions): New vars.
6113 (syntax-propertize-wholelines, syntax-propertize-multiline)
6114 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6115 (syntax-propertize): New functions.
6116 (syntax-propertize-rules): New macro.
6117 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6118 (syntax-ppss): Call syntax-propertize.
6120 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6122 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6124 * textmodes/ispell.el (ispell-init-process): Improve comments.
6125 XEmacs compatibility changes regarding (add-hook) 'local option
6126 and (set-process-query-on-exit-flag).
6128 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6130 * net/tramp-cache.el (tramp-parse-connection-properties):
6131 Set tramp-autoload cookie.
6133 2010-09-09 Glenn Morris <rgm@gnu.org>
6135 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6136 (imagemagick-register-types): Doc fix.
6138 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6140 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6142 * progmodes/js.el (require): Require is already "eval-and-compile".
6143 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6144 (js--re-search-backward): Use js--re-search-forward.
6146 * progmodes/fortran.el (fortran-line-length): Don't recompute
6147 syntactic keywords redundantly a second time.
6149 * progmodes/ada-mode.el: Replace "(set '" with setq.
6150 (ada-mode): Simplify.
6151 (ada-create-case-exception, ada-adjust-case-interactive)
6152 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6153 (ada-search-ignore-string-comment, ada-move-to-start)
6154 (ada-move-to-end): Use with-syntax-table.
6156 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6157 (font-lock-unfontify-region, font-lock-default-fontify-region):
6158 Update usage correspondingly.
6159 (font-lock-fontify-syntactic-keywords-region):
6160 Set parse-sexp-lookup-properties buffer-locally here.
6161 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6163 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6165 2010-09-08 Glenn Morris <rgm@gnu.org>
6167 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6168 Error if not compiled with -DBYTE_CODE_METER.
6170 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6171 Ignore dir-locals-file.
6173 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6175 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6177 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6178 for the `gnu' messages.
6179 (compilation-set-skip-threshold): New command.
6180 (compilation-start): Use \' rather than $.
6181 (compilation-forget-errors): Use clrhash.
6183 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6185 * textmodes/ispell.el (ispell-valid-dictionary-list):
6188 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6190 Migrate to Tramp 2.2. Rearrange load dependencies.
6191 (Bug#1529, Bug#5448, Bug#5705)
6193 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6194 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6195 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6197 * net/tramp.el (top): Remove all other tramp-* loads except
6198 tramp-compat.el. Remove all changes to tramp-unload-hook for
6199 other tramp-* packages. Rearrange defun order. Change calls of
6200 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6201 `tramp-compat-octal-to-decimal' to new function names.
6202 (tramp-terminal-type, tramp-initial-end-of-output)
6203 (tramp-methods, tramp-foreign-file-name-handler-alist)
6204 (tramp-tramp-file-p, tramp-completion-mode-p)
6205 (tramp-send-command-and-check, tramp-get-remote-path)
6206 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6207 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6208 (with-file-property, with-connection-property): Move to
6210 (tramp-local-call-process, tramp-decimal-to-octal)
6211 (tramp-octal-to-decimal): Move to tramp-compat.el.
6212 (tramp-handle-shell-command): Do not require 'shell.
6213 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6215 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6217 * net/tramp-cache.el (top): Require 'tramp. Add to
6218 `tramp-unload-hook'.
6219 (tramp-cache-data, tramp-get-file-property)
6220 (tramp-set-file-property, tramp-flush-file-property)
6221 (tramp-flush-directory-property, tramp-get-connection-property)
6222 (tramp-set-connection-property, tramp-flush-connection-property)
6223 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6225 (with-file-property, with-connection-property): New defuns, moved
6227 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6230 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6231 (tramp-version): Set tramp-autoload cookie.
6233 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6234 changes to tramp-unload-hook for other tramp-* packages. Add to
6235 `tramp-unload-hook'.
6236 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6237 (tramp-compat-call-process): New defuns, moved from tramp.el.
6239 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6240 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6241 Add to `tramp-unload-hook'. Change call of
6242 `tramp-compat-decimal-to-octal' to new function name.
6243 (tramp-fish-method): Make it a defconst.
6244 (tramp-fish-file-name-p): Make it a defsubst.
6245 (tramp-fish-method, tramp-fish-file-name-handler)
6246 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6248 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6249 `tramp-foreign-file-name-handler-alist'. Add to
6250 `tramp-unload-hook'.
6251 (tramp-ftp-method): Make it a defconst.
6252 (tramp-ftp-file-name-p): Make it a defsubst.
6253 (tramp-ftp-method, tramp-ftp-file-name-handler)
6254 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6256 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6257 `tramp-foreign-file-name-handler-alist'. Add to
6258 `tramp-unload-hook'. Change checks, whether package can be
6260 (tramp-gvfs-file-name-p): Make it a defsubst.
6261 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6262 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6263 (tramp-gvfs-handle-file-directory-p): New defun.
6264 (tramp-gvfs-file-name-handler-alist): Use it.
6266 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6267 `tramp-foreign-file-name-handler-alist'. Add to
6268 `tramp-unload-hook'.
6269 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6270 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6272 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6273 (tramp-gw-open-connection): Set tramp-autoload cookie.
6275 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6276 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6277 Add to `tramp-unload-hook'. Change checks, whether package can be
6279 (tramp-imap-file-name-p): Make it a defsubst.
6280 (tramp-imap-method, tramp-imaps-method)
6281 (tramp-imap-file-name-handler)
6282 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6284 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6285 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6286 Add to `tramp-unload-hook'. Change checks, whether package can be
6287 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6289 (tramp-smb-tunnel-method): Make it a defconst.
6290 (tramp-smb-file-name-p): Make it a defsubst.
6291 (tramp-smb-method, tramp-smb-file-name-handler)
6292 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6294 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6295 (tramp-uuencode-region): Set tramp-autoload cookie.
6297 * net/trampver.el (top) Add to `tramp-unload-hook'.
6298 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6299 cookie. Update release number.
6301 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6303 * textmodes/ispell.el (ispell-start-process): Make sure original
6304 arg list is properly initialized (Bug#6993, Bug#6994).
6306 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6308 * files.el (directory-abbrev-alist): Use \` as default regexp.
6310 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6311 chars like - or ] (bug#6984).
6312 (rx-any-condense-range): Explode 2-char ranges.
6314 2010-09-06 Glenn Morris <rgm@gnu.org>
6316 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6318 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6320 * textmodes/bibtex.el:
6321 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6323 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6325 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6326 since no callers use it.
6327 (imap-message-get): Ditto.
6328 (imap-message-put): Ditto.
6329 (imap-mailbox-map): Ditto.
6330 (imap-mailbox-put): Ditto.
6331 (imap-mailbox-get): Ditto.
6332 (imap-mailbox-get): Revert last change for this function.
6334 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6336 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6337 callers to use `imap-fetch' instead. According to the comments, this
6338 should be safe, since all other IMAP clients use the 1:* syntax.
6339 (imap-enable-exchange-bug-workaround): Remove.
6340 (imap-debug): Remove -- doesn't seem very useful.
6342 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6344 * net/imap.el (imap-log): New convenience function used throughout
6345 instead of repeating the same code all over the place.
6347 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6349 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6350 when mouse-drag-copy-region is non-nil (Bug#6956).
6352 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6354 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6355 Improve regexps (Bug#6987).
6356 (dired-sort-toggle): Search more robustly for -t flag.
6358 * files.el (get-free-disk-space): Search more robustly for
6359 "available" column. Suggested by Ehud Karni
6360 <ehud@unix.mvs.co.il>.
6362 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6364 * international/uni-bidi.el:
6365 * international/uni-category.el:
6366 * international/uni-combining.el:
6367 * international/uni-decimal.el:
6368 * international/uni-mirrored.el:
6369 * international/uni-name.el: Regenerate.
6371 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6373 * electric.el (electric-indent-post-self-insert-function):
6374 Don't reindent with a sloppy indentation function.
6376 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6377 border case in change-log-mode.
6379 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6381 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6382 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6383 Recognize leading tab in gcc-include regexp. Ignore names with
6384 leading "from" or "in" in gnu regexp (Bug#6937).
6386 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6388 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6389 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6390 (ispell-start-process): Avoid setq and simplify logic.
6391 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6392 (kill-buffer-hook): Don't use it globally with code that uses
6393 expand-file-name since that may call kill-buffer via
6394 code_conversion_restore.
6396 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6398 * emacs-lisp/package.el (package-directory-list): Only call
6399 file-name-nondirectory on a string.
6401 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6403 * emacs-lisp/package.el (package--download-one-archive):
6404 Ensure that archive-contents is valid before saving it.
6405 (package-activate-1, package-mark-obsolete, define-package)
6406 (package-compute-transaction, package-list-maybe-add): Use push.
6408 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6410 Use SMIE's blink-paren for octave-mode.
6411 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6412 Backslashes do not escape single-quotes, single-quotes do.
6413 (octave-block-else-regexp, octave-block-end-regexp)
6414 (octave-block-match-alist): Remove.
6415 (octave-smie-bnf-table): New var, with old content.
6416 (octave-smie-op-levels): Use it.
6417 (octave-smie-closer-alist): New var.
6418 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6419 (octave-blink-matching-block-open): Remove.
6420 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6421 (octave-electric-space): Let self-insert-command run expand-abbrev and
6424 * electric.el (electricity): New group.
6425 (electric-indent-chars): New var.
6426 (electric-indent-post-self-insert-function): New fun.
6427 (electric-indent-mode): New minor mode.
6428 (electric-pair-skip-self): New custom.
6429 (electric-pair-post-self-insert-function): New function.
6430 (electric-pair-mode): New minor mode.
6432 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6433 calcAlg-blink-matching-open.
6434 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6435 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6436 Use the new blink-matching-check-function.
6438 Provide blink-matching support to SMIE.
6439 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6440 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6441 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6443 * simple.el (newline): Fix last change to properly remove itself from
6446 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6448 * simple.el (newline): Eliminate optimization.
6449 Use post-self-insert-hook to set hard-newline and things before
6450 running post-self-insert-hook.
6451 (blink-matching-check-mismatch): New function.
6452 (blink-matching-check-function): New variable.
6453 (blink-matching-open): Use them.
6454 Skip back forward over prefix chars skipped by forward-sexp.
6455 Don't check if the parens are backslash escaped.
6456 (blink-paren-post-self-insert-function): Check backslash escaping here.
6458 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6460 * emacs-lisp/package.el (package-menu-mode-map):
6461 Change package-menu-revert bindings to revert-buffer.
6462 (package-menu-mode): Set revert-buffer-function.
6463 (package-menu-revert): Doc fix.
6465 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6467 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6468 `default-directory' unless using Ispell per-directory personal
6469 dictionaries and not in a mini-buffer under XEmacs.
6470 (kill-buffer-hook): Do not kill ispell process on exit when
6471 `ispell-process-directory' is "~/". (Bug#6143)
6473 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6475 * simple.el (kill-new): Call interprogram-cut-function with only
6478 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6479 Remove cut buffer from error message.
6481 * term/x-win.el (x-select-text):
6482 * term/pc-win.el (x-selection-value):
6483 * term/ns-win.el (x-selection-value):
6484 * eshell/em-term.el:
6485 * w32-fns.el (x-get-selection-value):
6486 * mouse-sel.el (mouse-sel-set-selection-function):
6487 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6489 * term/x-win.el: Update documentation for x-last-selected-text-*.
6490 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6491 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6492 (x-select-text): Remove argument PUSH, update documentation.
6493 Remove cut-buffer code.
6494 (x-selection-value-internal): Was previously x-selection-value.
6495 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6496 Update documentation, remove cut-buffer code.
6497 Call x-selection-value-internal.
6498 (x-clipboard-yank): Call x-selection-value-internal.
6499 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6501 * term/pc-win.el (x-last-selected-text):
6502 x-cut-buffer-or-selection-value renamed to x-selection-value
6503 (x-select-text): Remove argument PUSH, update documentation.
6505 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6506 x-cut-buffer-or-selection-value renamed to x-selection-value
6507 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6508 (x-select-text): Remove argument PUSH, update documentation.
6510 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6512 * w32-fns.el (x-last-selected-text):
6513 x-cut-buffer-or-selection-value renamed to x-selection-value.
6514 (x-cut-buffer-max): Remove.
6515 (x-select-text): Remove argument PUSH, update documentation.
6517 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6519 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6521 * mouse-sel.el (mouse-sel-get-selection-function):
6522 x-cut-buffer-or-selection-value renamed to x-selection-value.
6523 (x-select-text): Remove optional push.
6525 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6527 * simple.el (blink-paren-function): Move from C to here.
6528 (blink-paren-post-self-insert-function): New function.
6529 (post-self-insert-hook): Use it.
6531 * emacs-lisp/pcase.el (pcase-split-memq):
6532 Fix overenthusiastic optimisation.
6533 (pcase-u1): Handle the case of a lambda pred.
6535 2010-08-31 Kenichi Handa <handa@m17n.org>
6537 * international/mule-cmds.el (standard-display-european-internal):
6538 Setup standard-display-table for 8-bit characters by storing 8-bit
6539 characters in the element vector.
6541 * disp-table.el (standard-display-8bit):
6542 Setup standard-display-table for 8-bit characters by storing 8-bit
6543 characters in the element vector.
6544 (standard-display-european): Likewise.
6546 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6548 * textmodes/nroff-mode.el (nroff-view): New command.
6549 (nroff-mode-map): Bind it to C-c C-c.
6551 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6553 * emacs-lisp/smie.el (smie-down-list): New command.
6555 Remove old indentation and navigation code on octave-mode.
6556 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6557 smie-down-list rather than add a binding for octave-down-block.
6558 (octave-mark-block, octave-blink-matching-block-open):
6559 Rely on forward-sexp-function.
6560 (octave-fill-paragraph): Don't narrow, so you can use
6561 indent-according-to-mode.
6562 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6563 (octave-in-block-p, octave-re-search-forward-kw)
6564 (octave-re-search-backward-kw, octave-indent-calculate)
6565 (octave-end-as-array-index-p, octave-block-end-offset)
6566 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6567 (octave-down-block, octave-backward-up-block, octave-up-block)
6568 (octave-before-magic-comment-p, octave-indent-line): Remove.
6570 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6572 * emacs-lisp/package.el (package--read-archive-file): Just use
6573 `read', to avoid copying an additional string.
6574 (package-menu-mode): Set header-line-format here.
6575 (package-menu-refresh, package-menu-revert): Signal an error if
6576 not in the Package Menu.
6577 (package-menu-package-list): New var.
6578 (package--generate-package-list): Operate on the current buffer;
6579 don't assume that it is *Packages*, since the user may rename it.
6580 Allow persistent package listings and sort keys using
6581 package-menu-package-list and package-menu-package-sort-key.
6582 (package-menu--version-predicate): Fix version calculation.
6583 (package-menu-sort-by-column): Don't select the window.
6584 (package--list-packages): Create the *Packages* buffer.
6585 Set package-menu-package-list-key.
6586 (list-packages): Sorting by status is now the default.
6587 (package-buffer-info): Use match-string-no-properties.
6588 (define-package): Add a &rest argument for future proofing, but
6590 (package-install-from-buffer, package-install-buffer-internal):
6591 Merge into a single function, package-install-from-buffer.
6592 (package-install-file): Change caller.
6594 * finder.el: Load finder-inf using `require'.
6595 (finder-list-matches): Sorting by status is now the default.
6596 (finder-compile-keywords): Simpify printing.
6598 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6600 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6601 (octave-mode-map): Remove special bindings for forward/backward-block
6602 and octave-backward-up-block. Use smie-close-block.
6603 (octave-continuation-marker-regexp): New var.
6604 (octave-continuation-regexp): Use it.
6605 (octave-operator-table, octave-smie-op-levels)
6606 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6607 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6608 (octave-mode): Use SMIE.
6609 (octave-close-block): Delete.
6611 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6613 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6614 CLIPBOARD, not in PRIMARY. (Bug#6944)
6616 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6618 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6620 (smie-indent-column): Allow indirection through variables.
6622 * composite.el (save-buffer-state): Delete, unused.
6623 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6624 (font-lock-default-fontify-region): Use with-syntax-table.
6625 * jit-lock.el (with-buffer-unmodified): Remove.
6626 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6628 Use `declare' in defmacros.
6629 * window.el (save-selected-window):
6630 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6631 * progmodes/python.el (def-python-skeleton):
6632 * net/dbus.el (dbus-ignore-errors):
6633 * jka-cmpr-hook.el (with-auto-compression-mode):
6634 * international/mule.el (with-category-table):
6635 * emacs-lisp/timer.el (with-timeout):
6636 * emacs-lisp/lisp-mnt.el (lm-with-file):
6637 * emacs-lisp/eieio.el (with-slots):
6638 * emacs-lisp/easymenu.el (easy-menu-define):
6639 * emacs-lisp/debug.el (debugger-env-macro):
6640 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6641 (Multiple-value-call, Multiple-value-prog1):
6642 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6643 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6644 edebug rule to definition.
6645 * emacs-lisp/lisp-mode.el (save-selected-window)
6646 (with-current-buffer, combine-after-change-calls)
6647 (with-output-to-string, with-temp-file, with-temp-buffer)
6648 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6649 (dolist, dotimes, when, unless):
6650 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6652 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6654 * finder.el: Require `package'.
6655 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6656 (finder-package-info): Var deleted.
6657 (finder-keywords-hash, finder--builtins-alist): New vars.
6658 (finder-compile-keywords): Compute package--builtins and
6659 finder-keywords-hash instead of finder-keywords-hash, respecting
6660 the "Package" header.
6661 (finder-unknown-keywords, finder-list-matches):
6662 Use finder-keywords-hash and package--list-packages.
6663 (finder-mode): Don't set font-lock-defaults.
6664 (finder-exit): We don't use "*Finder-package*" and "*Finder
6665 Category*" buffers anymore.
6667 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6668 (package--builtins): Set default value to nil.
6669 (package-initialize): Load precomputed value of package--builtins
6671 (package-alist, package-compute-transaction)
6672 (package-download-transaction): Improve docstring.
6673 (package-read-all-archive-contents): Do not change
6674 package--builtins here.
6675 (list-packages): Make package-list-packages an alias for this.
6676 Sort by status by default.
6677 (package--list-packages): Add optional PACKAGES arg.
6678 (describe-package-1): Use font-lock-face property. For built-in
6679 packages, insert file commentary.
6680 (package--generate-package-list): Rename from
6681 package-list-packages-internal; all callers changed. Add optional
6682 PACKAGES arg. Add alphabetical sort fallbacks.
6683 (package-menu--version-predicate, package-menu--status-predicate)
6684 (package-menu--description-predicate)
6685 (package-menu--name-predicate): New functions.
6687 * info.el (Info-finder-find-node): Search package-alist instead of
6688 finder-package-info.
6690 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6692 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6694 (version-to-list): Handle versions like "10.3d".
6696 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6698 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6699 (macroexp-accumulate): Use `declare'.
6701 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6703 * whitespace.el (whitespace-style): Adjust type declaration.
6705 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6707 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6708 empty argument to gvfs-copy.
6710 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6712 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6713 handle new TRASH arg of `delete-file'.
6715 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6717 * net/tramp.el (tramp-handle-insert-directory): Don't use
6718 `forward-word', its default syntax could be changed.
6720 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6721 Michael Albinus <michael.albinus@gmx.de>
6723 Implement compression for inline methods.
6725 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6726 (tramp-copy-size-limit): Allow also nil.
6727 (tramp-inline-compress-commands): New defconst.
6728 (tramp-find-inline-compress, tramp-get-inline-compress)
6729 (tramp-get-inline-coding): New defuns.
6730 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6731 replaced by `tramp-get-inline-coding'.
6732 (tramp-handle-file-local-copy, tramp-handle-write-region)
6733 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6735 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6737 Detect ssh 'ControlMaster' argument automatically in some cases.
6739 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6740 (tramp-default-method): Use it.
6742 2010-08-26 Karel Klíč <kklic@redhat.com>
6744 * net/tramp.el (tramp-file-name-for-operation):
6745 Add file-selinux-context.
6747 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6749 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6751 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6753 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6756 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6758 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6759 (js-paren-indent-offset, js-square-indent-offset)
6760 (js-curly-indent-offset): New options.
6761 (js--proper-indentation): Use them.
6763 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6765 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6766 instead of inspecting font-lock properties (Bug#6916).
6768 2010-08-26 David Reitter <david.reitter@gmail.com>
6770 * server.el (server-visit-files): Run pre-command-hook and
6771 post-command-hook for each buffer while it is current (Bug#6910).
6772 (server-execute): Do not run hooks here.
6774 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6776 Sync with Tramp 2.1.19.
6778 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6779 (tramp-reporter-dump-variable, tramp-load-report-modules)
6780 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6781 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6783 * net/tramp-compat.el (top): Do not autoload
6784 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6785 only when `start-file-process' is not bound.
6786 (byte-compile-not-obsolete-vars): Define if not bound.
6787 (tramp-compat-funcall): New defmacro.
6788 (tramp-compat-line-beginning-position)
6789 (tramp-compat-line-end-position)
6790 (tramp-compat-temporary-file-directory)
6791 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6792 (tramp-compat-copy-file, tramp-compat-copy-directory)
6793 (tramp-compat-delete-file, tramp-compat-delete-directory)
6794 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6796 (tramp-advice-file-expand-wildcards): Do not use
6797 `tramp-handle-file-remote-p'.
6798 (tramp-compat-make-temp-file): Simplify fallback implementation.
6799 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6800 (tramp-compat-copy-tree): Remove function.
6801 (tramp-compat-delete-file): New defun.
6802 (tramp-compat-delete-directory): Provide implementation for older
6804 (tramp-compat-file-attributes): Handle only
6805 `wrong-number-of-arguments' error.
6807 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6808 Add PRESERVE_SELINUX_CONTEXT.
6809 (tramp-fish-handle-delete-file): Add TRASH arg.
6810 (tramp-fish-handle-directory-files-and-attributes):
6811 Do not use `tramp-fish-handle-file-attributes.
6812 (tramp-fish-handle-file-local-copy)
6813 (tramp-fish-handle-insert-file-contents)
6814 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6816 * net/tramp-gvfs.el (top): Require url-util.
6817 (tramp-gvfs-mount-point): Remove.
6818 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6819 and `set-file-selinux-context'.
6820 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6821 (tramp-gvfs-handle-file-selinux-context)
6822 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6823 (with-tramp-dbus-call-method): Format trace message.
6824 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6825 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6826 Implement backup call, when operation on local files fails.
6827 Use progress reporter. Flush properties of changed files.
6828 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6829 Use `tramp-compat-delete-file'.
6830 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6831 (tramp-gvfs-handle-make-directory): Make more traces.
6832 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6833 (tramp-gvfs-url-file-name): Hexify file name in url.
6834 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6835 into account for the resulting file name.
6836 (tramp-gvfs-handler-askquestion): Preserve current message, in
6837 order to let progress reporter continue afterwards. (Bug#6257)
6838 Return dummy mountpoint, when the answer is "no".
6839 See `tramp-gvfs-maybe-open-connection'.
6840 (tramp-gvfs-handler-mounted-unmounted)
6841 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6842 attribute "default_location". Set "prefix" property.
6843 Handle default-location.
6844 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6845 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6846 exists. Raise an error, if not (due to a corresponding answer
6847 "no" in interactive questions, for example).
6848 Use `tramp-compat-funcall'.
6850 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6851 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6852 (tramp-imap-do-copy-or-rename-file)
6853 (tramp-imap-handle-insert-file-contents)
6854 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6855 (tramp-imap-handle-delete-file): Add TRASH arg.
6857 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6858 Add PRESERVE-SELINUX-CONTEXT.
6859 (tramp-smb-handle-copy-file)
6860 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6861 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6862 Use `with-progress-reporter'.
6863 (tramp-smb-handle-delete-file): Add TRASH arg.
6865 * net/tramp.el (tramp-methods): Move hostname to the end in all
6866 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6868 (tramp-verbose): Describe verbose level 9.
6869 (tramp-completion-function-alist)
6870 (tramp-file-name-regexp, tramp-chunksize)
6871 (tramp-local-coding-commands, tramp-remote-coding-commands)
6872 (with-connection-property, tramp-completion-mode-p)
6873 (tramp-action-process-alive, tramp-action-out-of-band)
6874 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6875 (tramp-exists-file-name-handler): Fix docstring.
6876 (tramp-remote-process-environment): Use `format' instead of
6877 `concat'. Protect version string by apostroph.
6878 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6880 (tramp-file-name-regexp-unified)
6881 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6882 not regard the volume letter as remote filename. (Bug#5447)
6883 (tramp-perl-file-attributes)
6884 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6885 (tramp-vc-registered-read-file-names): Read input as
6886 here-document, otherwise the command could exceed maximum length
6888 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6889 `set-file-selinux-context'.
6890 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6891 backtrace functions.
6892 (tramp-error-with-buffer): Don't show the connection buffer when
6893 we are in completion mode.
6894 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6895 (tramp-handle-file-selinux-context)
6896 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6897 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6899 (with-progress-reporter): New defmacro.
6900 (tramp-debug-outline-regexp): New defconst.
6901 (top, tramp-rfn-eshadow-setup-minibuffer)
6902 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6903 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6904 (tramp-completion-mode-p, tramp-check-for-regexp)
6905 (tramp-open-connection-setup-interactive-shell)
6906 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6907 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6908 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6909 Use `tramp-compat-funcall'.
6910 (tramp-handle-make-symbolic-link): Flush file properties.
6911 (tramp-handle-load, tramp-handle-file-local-copy)
6912 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6913 (tramp-handle-vc-registered, tramp-maybe-send-script)
6914 (tramp-find-shell): Use `with-progress-reporter'.
6915 (tramp-do-file-attributes-with-stat): Add space in format string,
6916 in order to work around a bug in pdksh. Reported by Gilles Pion
6918 (tramp-handle-verify-visited-file-modtime): Do not send a command
6919 when the connection is not established.
6920 (tramp-handle-set-file-times): Simplify the check for utc.
6921 (tramp-handle-directory-files-and-attributes)
6922 (tramp-get-remote-path): Use `copy-tree'.
6923 (tramp-completion-handle-file-name-all-completions): Ensure, that
6924 non remote files are still checked. Oops.
6925 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6926 Handle PRESERVE-SELINUX-CONTEXT.
6927 (tramp-do-copy-or-rename-file): Add progress reporter.
6928 (tramp-do-copy-or-rename-file-directly): Do not use
6929 `tramp-handle-file-remote-p'.
6930 (tramp-do-copy-or-rename-file-out-of-band):
6931 Use `tramp-compat-delete-directory'.
6932 (tramp-do-copy-or-rename-file-out-of-band)
6933 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6934 Use `format-spec-make'.
6935 (tramp-handle-delete-file): Add TRASH arg.
6936 (tramp-handle-dired-uncache): Flush directory cache, not only file
6938 (tramp-handle-expand-file-name)
6939 (tramp-completion-handle-file-name-all-completions)
6940 (tramp-completion-handle-file-name-completion):
6941 Use `tramp-connectable-p'.
6942 (tramp-handle-start-file-process): Set connection property "vec".
6943 Use it, in order to invalidate file caches. Check only for
6944 `remote-tty' process property.
6945 Implement tty setting. (Bug#4604, Bug#6360)
6946 (tramp-file-name-for-operation): Add `call-process-region' and
6947 `set-file-selinux-context'.
6948 (tramp-find-foreign-file-name-handler)
6949 (tramp-advice-make-auto-save-file-name)
6950 (tramp-set-auto-save-file-modes): Remove superfluous check for
6951 `stringp'. This is done inside `tramp-tramp-file-p'.
6952 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6953 operations when we are in completion mode. This gives the user
6954 the chance to correct the file name in the minibuffer.
6955 (tramp-completion-mode-p): Use `non-essential'.
6956 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6957 compatibility: Use `completion-ignore-case' if
6958 `read-file-name-completion-ignore-case' does not exist.
6959 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6960 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6962 (tramp-action-password): Hide password prompt before next run.
6963 (tramp-process-actions): Widen connection buffer for the trace.
6964 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6965 process property. Trace stty settings if `tramp-verbose' >= 9.
6966 Apply workaround for IRIX64 bug. Move argument of last
6967 `tramp-send-command' where it belongs to.
6968 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6969 front of `login-args'.
6970 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6971 on "/dev/null" instead of "/".
6972 (tramp-get-ls-command-with-dired): Make test for "--dired"
6974 (tramp-set-auto-save-file-modes): Adapt version check.
6975 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6976 (tramp-handle-process-file): Call the program in a subshell, in
6977 order to preserve working directory.
6978 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6979 `tramp-remote-sh' from `tramp-methods'.
6980 (tramp-get-ls-command): Make test for "--color=never" stronger.
6981 (tramp-check-for-regexp): Use (forward-line 1).
6983 * net/trampver.el: Update release number.
6985 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6987 * help.el (help-map): Bind `C-h P' to describe-package.
6989 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6991 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6992 when downloading archives.
6993 (describe-package-1): Add package commentary.
6994 (package-install-button-action): New function.
6995 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6996 (package-menu-view-commentary): Function removed.
6997 (package-list-packages-internal): Hide the `package' package too.
6999 2010-08-25 Kenichi Handa <handa@m17n.org>
7001 * language/misc-lang.el ("Arabic"): New language environment.
7002 Setup composition-function-table for Arabic characters.
7004 * international/fontset.el (setup-default-fontset): Fix typo for
7005 arabic OTF spec (fini->fina).
7007 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7009 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7012 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7014 * whitespace.el: Allow cleaning up blanks without blank
7015 visualization (Bug#6651). Adjust help window for
7016 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7017 instead of whitespace-line-column (from EmacsWiki). New version
7019 (whitespace-style): Add new value 'face. Adjust docstring.
7020 (whitespace-space, whitespace-hspace, whitespace-tab):
7021 Adjust foreground property face.
7022 (whitespace-line-column): Adjust docstring and type declaration.
7023 (whitespace-style-value-list, whitespace-toggle-option-alist)
7024 (whitespace-help-text): Adjust const initialization.
7025 (whitespace-toggle-options, global-whitespace-toggle-options):
7027 (whitespace-display-window, whitespace-interactive-char)
7028 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7029 (whitespace-help-scroll): New fun.
7031 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7033 * emacs-lisp/package.el (list-packages): Alias for
7034 package-list-packages.
7036 2010-08-24 Kevin Ryde <user42@zip.com.au>
7038 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7041 * progmodes/ruby-mode.el (ruby): Add defgroup.
7043 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7045 * progmodes/python.el: Add Ipython support (Bug#5390).
7046 (python-shell-prompt-alist)
7047 (python-shell-continuation-prompt-alist): New options.
7048 (python--set-prompt-regexp): New function.
7049 (inferior-python-mode, run-python, python-shell):
7050 Require ansi-color. Use python--set-prompt-regexp to set the comint
7051 prompt based on the Python interpreter.
7052 (python--prompt-regexp): New var.
7053 (python-check-comint-prompt)
7054 (python-comint-output-filter-function): Use it.
7055 (run-python): Use a pipe (Bug#5694).
7057 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7059 * progmodes/python.el (python-send-region): Send a different
7060 Python command if Ipython is in use.
7061 (python-check-version): Use a Python command to find the version.
7063 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7065 * mouse.el (mouse-yank-primary): Avoid setting primary when
7066 deactivating the mark (Bug#6872).
7068 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7070 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7071 with "else" (Bug#3991).
7073 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7075 * net/dbus.el: Accept UNIX domain sockets as bus address.
7076 (top): Don't initialize `dbus-registered-objects-table' anymore,
7077 this is done in dbusbind,c.
7078 (dbus-check-event): Adapt test for bus.
7079 (dbus-return-values-table, dbus-unregister-service)
7080 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7083 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7085 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7087 2010-08-22 Juri Linkov <juri@jurta.org>
7089 * simple.el (read-extended-command): New function with the logic
7090 for `completing-read' moved to Elisp from `execute-extended-command'.
7091 Use `function-called-at-point' in `minibuffer-default-add-function'
7092 to get a command name for M-n (bug#5364, bug#5214).
7094 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7096 * startup.el (command-line-1): Issue warning for ignored arguments
7097 --unibyte, etc (Bug#6886).
7099 2010-08-22 Leo <sdl.web@gmail.com>
7101 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7102 (ignore, bright, dim, keyword): Split list of nicknames before
7103 passing to rcirc-add-or-remove (Bug#6894).
7105 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7107 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7109 2010-08-22 Leo <sdl.web@gmail.com>
7111 Fix buffer-list rename&refresh after killing a buffer in ido.
7112 * ido.el: Revert Óscar's.
7113 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7114 Remember the buffers at head, rather than their name.
7115 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7117 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7118 Stefan Monnier <monnier@iro.umontreal.ca>
7120 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7121 extra backslash added to each line (bug#6890).
7123 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7125 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7127 2010-08-22 Glenn Morris <rgm@gnu.org>
7129 * menu-bar.el (menu-bar-games-menu): Add landmark.
7131 2010-08-22 Glenn Morris <rgm@gnu.org>
7133 * align.el (align-regexp): Make group and spacing arguments
7134 use the interactive defaults when non-interactive. (Bug#6698)
7136 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7137 expansion, so as not to need sendmail.
7138 (mail-text-start): Remove declaration.
7139 (rmail-retry-failure): Require sendmail.
7141 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7143 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7145 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7147 * progmodes/flymake.el (flymake-start-syntax-check-process):
7148 Use `start-file-process' in order to let it run also on remote hosts.
7150 2010-08-22 Kenichi Handa <handa@m17n.org>
7152 * files.el: Add `word-wrap' as safe local variable.
7154 2010-08-22 Glenn Morris <rgm@gnu.org>
7156 * woman.el (woman-translate): Case matters. (Bug#6849)
7158 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7160 * simple.el (kill-region): Doc fix (Bug#6787).
7162 2010-08-22 Glenn Morris <rgm@gnu.org>
7164 * calendar/diary-lib.el (diary-header-line-format):
7165 Fit it to the window, not the frame.
7167 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7169 * subr.el (ignore-errors): Add debug declaration.
7171 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7173 * whitespace.el (whitespace-color-off): Remove post-command-hook
7176 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7178 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7180 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7182 * cus-edit.el (custom-group-value-create): Add extra newline
7183 before end line (Bug#6876).
7185 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7187 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7188 when extending it. Before killing on the second click, check if
7189 the buffer is the correct one. Doc fix.
7190 (mouse-secondary-save-then-kill): Allow usage without first
7191 calling mouse-start-secondary, by defaulting to point. Don't save
7192 an empty secondary selection. Doc fix.
7194 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7196 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7197 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7199 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7200 Adjust initialization.
7201 (whitespace-bob-marker, whitespace-eob-marker)
7202 (whitespace-buffer-changed): New vars.
7203 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7204 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7205 (whitespace-post-command-hook, whitespace-display-char-on):
7207 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7208 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7210 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7212 * files.el (locate-file-completion-table): Only list the .el and .elc
7213 extensions if there's no other choice (bug#5955).
7215 * facemenu.el (facemenu-self-insert-data): New var.
7216 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7218 (facemenu-add-face): Use them.
7220 * simple.el (blink-matching-open): Obey forward-sexp-function.
7222 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7224 * simple.el (prog-mode-map): New var.
7225 (prog-indent-sexp): New command.
7227 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7229 * progmodes/prolog.el (smie): Require.
7231 * emacs-lisp/smie.el (smie-default-backward-token)
7232 (smie-default-forward-token): Strip properties.
7233 (smie-next-sexp): Be more careful with associative operators.
7234 (smie-forward-sexp-command): Generalize.
7235 (smie-backward-sexp-command): Simplify.
7236 (smie-closer-alist): New var.
7237 (smie-close-block): New command.
7238 (smie-indent-debug-log): New var.
7239 (smie-indent-offset-rule): Add a few more cases.
7240 (smie-indent-column): New function.
7241 (smie-indent-after-keyword): Use it.
7242 (smie-indent-keyword): Use it.
7243 Fix up the opener code's point position.
7244 (smie-indent-comment): Only applies at BOL.
7245 (smie-indent-debug): New command.
7247 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7248 declarations that are useful before running the macro.
7250 2010-08-18 Joakim Verona <joakim@verona.se>
7252 * image.el (imagemagick-types-inhibit): New variable.
7253 (imagemagick-register-types): New function.
7254 * image-mode.el (image-transform-properties): New function.
7255 (image-transform-set-scale, image-transform-fit-to-height)
7256 (image-transform-set-rotation, image-transform-set-resize)
7257 (image-transform-fit-to-width, image-transform-fit-to-height):
7259 (image-toggle-display-image): Support image transforms.
7261 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7263 * image.el (create-animated-image): Don't add heuristic mask to image
7266 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7268 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7269 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7271 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7273 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7275 Font-lock '...' strings, plus various simplifications and fixes.
7276 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7277 (octave-font-lock-close-quotes): New function.
7278 (octave-font-lock-syntactic-keywords): New var.
7279 (octave-mode): Use it. Set beginning-of-defun-function.
7280 (octave-mode-map): Don't override the <foo>-defun commands.
7281 (octave-mode-menu): Pass it directly to easy-menu-define;
7282 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7283 (octave-block-match-alist): Fix up last change so that
7284 octave-close-block uses the more specific keyword.
7285 (info-lookup-mode): Silence byte-compiler.
7286 (octave-beginning-of-defun): Not interactive any more.
7288 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7289 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7290 (octave-completion-at-point-function): Make sure point is within
7292 (octave-reindent-then-newline-and-indent):
7293 Use reindent-then-newline-and-indent.
7294 (octave-add-octave-menu): Remove.
7296 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7298 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7299 (report-emacs-bug-can-use-xdg-email): New functions.
7300 (report-emacs-bug): Set can-xdg-email to result of
7301 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7302 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7305 * net/browse-url.el (browse-url-default-browser): Add cond
7306 for browse-url-xdg-open.
7307 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7309 2010-08-17 Glenn Morris <rgm@gnu.org>
7311 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7312 (c-fontify-recorded-types-and-refs): Define for compiler.
7313 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7316 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7319 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7321 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7323 (tramp-handle-process-file): Call the program in a subshell, in
7324 order to preserve working directory.
7325 (tramp-action-password): Hide password prompt before next run.
7326 (tramp-process-actions): Widen connection buffer for the trace.
7328 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7330 * net/rcirc.el (rcirc-log-process-buffers): New option.
7331 (rcirc-print): Use it.
7332 (rcirc-generate-log-filename): New function.
7333 (rcirc-log-filename-function): Change default to
7334 rcirc-generate-log-filename (Bug#6828).
7336 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7338 * simple.el (deactivate-mark): If select-active-regions is `only',
7339 only set selection for temporarily active regions.
7341 * cus-start.el: Change defcustom for select-active-regions.
7343 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7345 * mouse.el (mouse--drag-set-mark-and-point): New function.
7346 (mouse-drag-track): Use LOCATION arg to push-mark.
7347 Use mouse--drag-set-mark-and-point to take click-count into
7348 consideration when updating point and mark (Bug#6840).
7350 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7352 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7353 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7355 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7357 * font-lock.el (lisp-font-lock-keywords-2):
7358 Add combine-after-change-calls, condition-case-no-debug,
7359 with-demoted-errors, and with-silent-modifications (Bug#6025).
7361 2010-08-14 Kevin Ryde <user42@zip.com.au>
7363 * emacs-lisp/copyright.el (copyright-update-year)
7364 (copyright-update): Temporary switch-to-buffer to ensure the
7365 buffer change being queried is visible (Bug#5394).
7367 2010-08-14 Tom Tromey <tromey@redhat.com>
7369 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7372 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7374 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7377 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7379 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7380 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7381 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7382 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7383 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7384 Call menu-bar-set-tool-bar-position.
7386 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7388 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7389 comment style (bug#6834).
7390 * progmodes/scheme.el (scheme-mode-syntax-table):
7391 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7392 "b" flag in "' 14b" syntax.
7394 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7395 for (un)commenting the region and performing completion.
7396 (octave-mode-menu): Use standard commands for help and completion.
7397 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7398 (octave-mode): Use define-derived-mode.
7399 Set completion-at-point-functions and don't set columns.
7400 Don't disable adaptive-fill-regexp.
7401 (octave-describe-major-mode, octave-comment-region)
7402 (octave-uncomment-region, octave-comment-indent)
7403 (octave-indent-for-comment): Remove.
7404 (octave-indent-calculate): Rename from calculate-octave-indent.
7405 (octave-indent-line, octave-fill-paragraph): Update caller.
7406 (octave-initialize-completions): No need to make an alist.
7407 (octave-completion-at-point-function): New function.
7408 (octave-complete-symbol): Use it.
7409 (octave-insert-defun): Use define-skeleton.
7411 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7412 (octave-mode-map): Use comment-dwim (bug#6829).
7414 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7416 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7417 indentation of inserted comment.
7419 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7421 * faces.el (region): Add type gtk that uses gtk colors.
7423 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7424 Handle theme-name change.
7426 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7428 * progmodes/sql.el: Version 2.5
7429 (sql-product-alist): Add :prompt-cont-regexp property for several
7431 (sql-prompt-cont-regexp): New variable.
7432 (sql-output-newline-count, sql-output-by-send):
7433 New variables. Record number of newlines in input text.
7434 (sql-send-string): Handle multiple filters and count newlines.
7435 (sql-send-magic-terminator): Count terminator newline.
7436 (sql-interactive-remove-continuation-prompt): Filters output to
7437 remove continuation prompts; one for each newline.
7438 (sql-interactive-mode): Set up new variables, prompt regexp and
7440 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7441 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7443 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7445 * emacs-lisp/pcase.el: New file.
7447 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7449 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7450 as here-document, otherwise the command could exceed maximum
7451 length of command line.
7452 (tramp-handle-vc-registered): Call script accordingly.
7453 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7455 2010-08-10 Kenichi Handa <handa@m17n.org>
7457 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7460 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7462 * emacs-lisp/package.el (package-version-split)
7463 (package--version-first-nonzero, package-version-compare):
7465 (package-directory-list, package-load-all-descriptors)
7466 (package--built-in, package-activate, define-package)
7467 (package-installed-p, package-compute-transaction)
7468 (package-read-all-archive-contents)
7469 (package--add-to-archive-contents, package-buffer-info)
7470 (package-tar-file-info, package-list-packages-internal):
7471 Use version-to-list and version-list-*.
7473 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7474 Use version-to-list.
7475 (package-upload-buffer-internal): Use version-list-<=.
7477 2010-08-09 Kenichi Handa <handa@m17n.org>
7479 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7482 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7484 * tutorial.el (tutorial--default-keys): C-d is now bound to
7485 delete-forward-char (Bug#6826).
7487 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7488 for `double' value of mouse-1-click-follows-link (Bug#6807).
7490 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7492 * replace.el (replace-highlight): Bind isearch-forward and
7493 isearch-error, ensuring that highlighting is updated if the user
7494 switches the search direction (Bug#6808).
7496 * isearch.el (isearch-lazy-highlight-forward): New var.
7497 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7498 (isearch-lazy-highlight-update): Use it.
7500 2010-08-08 Kenichi Handa <handa@m17n.org>
7502 * international/mule.el (define-charset): Store NAME as :base property.
7503 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7504 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7505 current priority. Force using the designation of the specific
7506 charset by adding `charset' text property. Improve the whole algorithm.
7508 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7510 * emulation/pc-select.el (pc-selection-mode-hook)
7511 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7512 (pc-selection-mode): Fix typos in docstrings.
7514 2010-08-08 Kenichi Handa <handa@m17n.org>
7516 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7517 ctext-non-standard-encodings-alist here.
7519 * international/mule.el (ctext-non-standard-encodings-alist):
7520 Add "koi8-r" and "microsoft-cp1251".
7521 (ctext-standard-encodings): New variable.
7522 (ctext-non-standard-encodings-table): List only elements for
7523 non-standard encodings.
7524 (ctext-pre-write-conversion): Adjust for the above change.
7525 Check ctext-standard-encodings.
7527 * international/mule-conf.el (compound-text): Doc fix.
7528 (ctext-no-compositions): Doc fix.
7529 (compound-text-with-extensions): Doc fix.
7531 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7533 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7535 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7537 * progmodes/which-func.el (which-func-format): Split help-echo text
7538 into lines, like other mode-line tooltips.
7540 * server.el (server-start): When using TCP sockets, force IPv4
7541 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7543 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7545 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7547 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7549 * term.el (term-delimiter-argument-list): Reflow docstring.
7550 (term-read-input-ring, term-write-input-ring, term-send-input)
7551 (term-bol, term-erase-in-display, serial-supported-or-barf):
7552 Fix typos in docstrings.
7554 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7556 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7558 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7560 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7562 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7564 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7565 Fix typo in docstring (bug#6747).
7567 2010-08-08 Leo <sdl.web@gmail.com>
7569 * eshell/esh-io.el (eshell-get-target): Better detection of
7570 read-only file (Bug#6762).
7572 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7574 * align.el (align-default-spacing): Doc fix.
7575 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7577 2010-08-08 Stephen Peters <speters@itasoftware.com>
7579 * calendar/icalendar.el
7580 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7581 (icalendar--get-weekday-numbers): New.
7582 (icalendar--convert-recurring-to-diary): Handle multiple byday
7583 values in weekly rules. (Bug#6766)
7585 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7587 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7588 (icalendar--create-uid, icalendar-export-region)
7589 (icalendar--parse-summary-and-rest): Code formatting.
7591 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7593 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7594 to italicize headers.
7595 (calc-highlight-selections-with-faces): New variable.
7596 (calc-selected-face, calc-nonselected-face): New faces.
7598 * calc/calccomp.el (math-comp-highlight-string): Use
7599 `calc-highlight-selections-with-faces' to determine how to highlight
7602 * calc/calc-sel.el (calc-show-selections): Change message to when
7603 using faces to highlight selections.
7605 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7607 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7608 Add SQLite 3 keywords, functions and datatypes.
7609 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7612 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7614 * simple.el (select-active-regions): Move to keyboard.c.
7615 (deactivate-mark): Used saved-region-selection.
7616 (select-active-region): Function removed.
7617 (activate-mark, set-mark, push-mark-command)
7618 (handle-shift-selection): Don't call it.
7619 (keyboard-quit): Avoid adding the region to the window selection.
7621 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7622 select-active-regions implementation.
7623 (mouse-yank-at-click): Doc fix.
7625 * cus-start.el: Add custom declaration for select-active-regions.
7627 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7629 * simple.el (delete-forward-char): Doc fix.
7631 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7632 after reading the tutorial.
7634 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7636 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7637 Fix for the case that a C style comment has its delimiters alone on
7638 their respective lines.
7640 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7642 * net/tramp.el (tramp-handle-start-file-process): Set connection
7644 (tramp-process-sentinel): Use it for flushing the cache.
7645 We cannot do it via the process buffer, the buffer could be deleted
7646 already when running the sentinel.
7648 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7650 * comint.el (comint-mode): Make directory tracking functions
7651 functional on remote files. (Bug#6764)
7653 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7655 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7657 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7659 * emacs-lisp/find-gc.el (find-gc-source-files):
7660 Rename unexec.c => unexcoff.c.
7662 * emacs-lisp/authors.el (authors-fixed-entries):
7663 Rename unexec.c => unexcoff.c.
7665 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7667 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7668 cache, not only file cache.
7669 (tramp-process-sentinel): New defun.
7670 (tramp-handle-start-file-process): Use it, in order to invalidate
7673 2010-08-03 Leo <sdl.web@gmail.com>
7675 * server.el (server-start): Simplify loop.
7677 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7679 * frame.el (screen-height, screen-width, set-screen-width)
7680 (set-screen-height): Remove ancient compatibility aliases.
7682 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7683 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7685 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7686 that change current buffer.
7688 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7690 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7691 beginning of the string. Use `string-match-p'. (Bug#6765)
7693 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7695 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7697 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7699 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7700 (package--builtins): Tweak descriptions.
7701 (package-print-package): Upcase descriptions if necessary.
7702 Show all built-in packages in font-lock-builtin-face.
7703 (package-list-packages-internal): Omit "emacs" package.
7704 Show status of built-in packages as "built-in".
7706 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7708 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7709 before killing to preserve the primary selection (Bug#6701).
7711 * term/x-win.el (x-select-text): Doc fix.
7713 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7715 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7716 (objc-font-lock-extra-types):
7717 * progmodes/cc-mode.el (c-basic-common-init):
7718 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7719 (c++-make-template-syntax-table)
7720 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7721 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7722 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7723 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7724 * progmodes/cc-fonts.el (c-make-inverse-face)
7725 (c-basic-matchers-after):
7726 * progmodes/cc-engine.el (c-forward-keyword-clause)
7727 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7728 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7729 (c-guess-continued-construct, c-guess-basic-syntax):
7730 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7731 The above functions were modified or created.
7733 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7735 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7737 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7739 * files.el (bidi-paragraph-direction): Define safe local values.
7741 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7742 language-info-alist. Remove outdated FIXME in a comment.
7744 2010-07-31 Alan Mackenzie <acm@muc.de>
7746 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7747 Auto-fill broken in C/C++ modes.
7749 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7751 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7752 (menu-bar-showhide-tool-bar-menu-customize-disable)
7753 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7754 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7755 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7756 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7757 make a menu for Options => toolbar that can move it.
7759 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7761 * emacs-lisp/package-x.el (package--make-rss-entry):
7762 (package-maint-add-news-item, package--update-news)
7763 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7765 * emacs-lisp/package.el (package-archive-url): Rename from
7767 (package-install): Doc fix.
7768 (package-download-single, package-download-tar, package-install)
7769 (package-menu-view-commentary): Callers changed.
7771 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7773 * net/tramp.el (tramp-handle-start-file-process): Check only for
7774 `remote-tty' process property.
7775 (tramp-open-shell): Don't check for tty.
7776 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7779 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7782 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7784 * emacs-lisp/package.el (package-load-list, package-archives)
7785 (package-archive-contents, package-user-dir)
7786 (package-directory-list, package--builtins, package-alist)
7787 (package-activated-list, package-obsolete-alist): Mark as risky.
7789 2010-07-28 Phil Hagelberg <phil@evri.com>
7791 Add support for non-default package repositories.
7792 * emacs-lisp/package.el (package-archive-base): Var deleted.
7793 (package-archives): New variable.
7794 (package-archive-contents): Doc fix.
7795 (package-load-descriptor): Do nothing if descriptor file is missing.
7796 (package--write-file-no-coding): New function.
7797 (package-unpack-single): Use it.
7798 (package-archive-id): New function.
7799 (package-download-single, package-download-tar)
7800 (package-menu-view-commentary): Use it.
7801 (package-installed-p): Make second argument optional.
7802 (package-read-all-archive-contents): New function.
7803 (package-initialize): Use it.
7804 (package-read-archive-contents): Add ARCHIVE argument.
7805 (package--add-to-archive-contents): New function.
7806 (package-install): Don't call package-read-archive-contents.
7807 (package--download-one-archive): Store archive file in a
7808 subdirectory of package-user-dir.
7809 (package-menu-execute): Remove spurious line movement.
7811 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7813 * cus-start.el (tool-bar-style): Add text-image-horiz.
7815 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7817 * progmodes/gud.el (gud-common-init): Check for remoteness of
7818 `file', and not of `default-directory'.
7820 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7822 * net/tramp.el (tramp-methods): Move hostname to the end in all
7823 ssh `tramp-login-args'.
7824 (tramp-verbose): Describe verbose level 9.
7825 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7826 (tramp-open-connection-setup-interactive-shell): Trace stty
7827 settings if `tramp-verbose' >= 9.
7828 (tramp-handle-start-file-process): Implement tty setting.
7829 (Bug#4604, Bug#6360)
7831 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7832 `tramp-verbose' to 9.
7834 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7836 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7837 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7838 Remove references to package `lisp-re' (bug#4369).
7840 2010-07-27 Tom Tromey <tromey@redhat.com>
7842 * progmodes/js.el (js-mode):
7843 * progmodes/make-mode.el (makefile-mode):
7844 * progmodes/simula.el (simula-mode):
7845 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7847 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7849 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7851 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7852 (display-time-world-buffer-name, display-time-world-mode-map):
7853 Fix typos in docstrings.
7855 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7857 * image-mode.el (image-display-size): New function.
7858 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7859 (image-mode-fit-frame): Use it (Bug#6639).
7861 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7863 * dired.el (dired-buffers-for-dir): Handle list values of
7864 dired-directory (Bug#6636).
7866 2010-07-26 Sam Steingold <sds@gnu.org>
7868 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7869 Do not call `x-get-selection' the second time, reuse the value.
7871 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7873 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7874 which consist of control chars only. Suggested by Richard Stallman.
7876 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7878 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7879 exists before passing an error to find-file-not-found-functions
7882 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7884 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7885 Remove leading nil element, adjust values.
7886 (tetris-shapes, tetris-shape-scores):
7887 Change representation of shapes and remove some redundancy.
7888 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7889 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7890 Adjust for working with new representation of shapes.
7891 (tetris-shape-rotations): New function.
7892 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7893 (tetris-rotate-prev, tetris-rotate-next):
7894 Adjust for working with the new version of tetris-test-shape.
7896 2010-07-23 Markus Triska <markus.triska@gmx.at>
7898 * progmodes/ps-mode.el: Use comint (bug#5954).
7899 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7900 (ps-mode-other-newline): Simplify.
7901 (ps-run-mode): Derive from comint-mode instead of
7902 fundamental-mode, yielding input history etc.
7903 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7904 (ps-run-send-string): Adapt for comint-mode.
7905 (ps-run-newline): Remove now unneeded function.
7907 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7909 * net/tramp.el (tramp-methods): Move hostname to the end in all
7910 plink `tramp-login-args'.
7912 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7914 * net/tramp.el (tramp-open-shell): New defun.
7915 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7918 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7920 * net/tramp.el (tramp-file-name-regexp-unified)
7921 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7922 not regard the volume letter as remote filename. (Bug#5447)
7924 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7926 * custom.el (custom-declare-variable): Give a clearer error message
7927 when the docstring is missing (bug#6476).
7929 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7931 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7932 (sql-login-params): New widget definition.
7933 (sql-oracle-login-params, sql-mysql-login-params)
7934 (sql-solid-login-params, sql-sybase-login-params)
7935 (sql-informix-login-params, sql-ingres-login-params)
7936 (sql-ms-login-params, sql-postgres-login-params)
7937 (sql-interbase-login-params, sql-db2-login-params)
7938 (sql-linter-login-params): Use it.
7939 (sql-sqlite-login-params): Use it; Define "database" parameter as
7941 (sql-sqlite-program): Change to "sqlite3".
7942 (sql-comint-sqlite): Make sure database name is complete.
7943 (sql-for-each-login): New function.
7944 (sql-connect, sql-save-connection): Use it.
7945 (sql-get-login-ext): New function.
7946 (sql-get-login): Use it.
7947 (sql-make-alternate-buffer-name): Handle :file parameters.
7949 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7951 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7952 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7954 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7956 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7958 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7960 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7962 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7964 * net/tramp.el (tramp-get-ls-command)
7965 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7968 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7970 * progmodes/sql.el: Version 2.3.
7971 (sql-connection-alist): Change keys from symbols to strings;
7972 enhanced the widget definition.
7973 (sql-mode-menu): Add submenu to select connections.
7974 (sql-interactive-mode-menu): Add "Save Connection" item.
7975 (sql-add-product): Fix menu item.
7976 (sql-get-product-feature): Improved error handling.
7977 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7978 (sql-make-alternate-buffer-name): Simplified.
7979 (sql-product-interactive): Handle missing product.
7980 (sql-connect): Support string keys, minor improvements.
7981 (sql-save-connection): New function.
7982 (sql-connection-menu-filter): New function.
7984 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7986 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7987 (tramp-open-connection-setup-interactive-shell):
7988 Apply workaround for IRIX64 bug. Move argument of last
7989 `tramp-send-command' where it belongs to.
7991 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7993 * net/tramp.el (tramp-perl-file-attributes)
7994 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7995 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7996 front of `login-args'.
7998 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8000 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8001 Set `show-trailing-whitespace' to nil.
8002 (display-time-world-display): Simplify.
8004 2010-07-18 Alan Mackenzie <acm@muc.de>
8006 Enhance `c-file-style' in file/directory local variables.
8007 * progmodes/cc-mode.el (c-count-cfss): New function.
8008 (c-before-hack-hook): Call `c-set-style' differently according to
8009 whether c-file-style was set in file or directory local
8012 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8014 * progmodes/sql.el: Version 2.2.
8015 (sql-product, sql-user, sql-database, sql-server, sql-port):
8016 Use defcustom :safe keyword rather than putting safe-local-variable
8018 (sql-password): Use defcustom :risky keyword rather than putting
8019 risky-local-variable property.
8020 (sql-oracle-login-params, sql-sqlite-login-params)
8021 (sql-solid-login-params, sql-sybase-login-params)
8022 (sql-informix-login-params, sql-ingres-login-params)
8023 (sql-ms-login-params, sql-postgres-login-params)
8024 (sql-interbase-login-params, sql-db2-login-params)
8025 (sql-linter-login-params): Add `port' option.
8026 (sql-get-product-feature): Add NO-INDIRECT parameter.
8027 (sql-comint-oracle, sql-comint-sybase)
8028 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8029 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8030 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8031 (sql-comint-linter): Rename sql-connect-* functions to
8033 (sql-product-alist, sql-mode-menu): Rename as above and
8034 :sqli-connect-func to :sqli-comint-func.
8035 (sql-connection): New variable.
8036 (sql-interactive-mode): Set it.
8037 (sql-connection-alist): New variable.
8038 (sql-connect): New function.
8039 (sql--alt-buffer-part, sql--alt-if-not-empty)
8040 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8042 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8044 * image-mode.el (image-bookmark-make-record): Do not set context
8045 in an image (Bug#6650).
8047 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8049 * simple.el (select-active-region): New function.
8050 (push-mark-command, set-mark, activate-mark)
8051 (handle-shift-selection): Use it.
8052 (deactivate-mark): Don't check for size of region.
8054 * mouse.el (mouse-drag-track): Use select-active-region.
8056 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8058 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8061 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8063 * term/x-win.el (x-select-enable-primary): Change default to nil.
8064 (x-select-enable-clipboard): Add :version keyword.
8066 * mouse.el (mouse-drag-copy-region):
8067 * simple.el (select-active-regions): Likewise.
8069 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8071 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8072 (vc-coding-system-for-diff): Use it to decide whether to inherit
8073 from the file the EOL format for reading the diffs of that file.
8076 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8078 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8079 unibyte, so compressed attachments are not compressed again.
8081 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8083 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8084 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8085 (tramp-find-shell): Simplify setting connection property.
8086 (tramp-get-ls-command): Make test for "--color=never" stronger.
8088 2010-07-15 Simon South <ssouth@member.fsf.org>
8090 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8091 blocks within record declarations (i.e. variant parts) correctly.
8093 2010-07-15 Simon South <ssouth@member.fsf.org>
8095 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8096 over literal tokens when parsing so newlines aren't "absorbed" by
8097 single-line comments. Corrects the indentation of case blocks
8098 that have a comment on the first line.
8100 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8102 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8103 by Drew Adams (Bug#5504).
8105 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8107 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8108 now that Unicode is used (Bug#6594).
8110 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8112 * term/x-win.el (x-select-enable-clipboard): Default to t.
8113 (x-initialize-window-system): Don't overwrite Paste menu item.
8115 * simple.el (select-active-regions): Default to t.
8116 (push-mark-command): Don't overwrite primary with empty string.
8118 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8119 (mouse-drag-copy-region): Default to nil.
8121 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8122 Cut/Copy/Paste menu bar items.
8124 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8126 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8127 Patch applied by Karl Fogel.
8129 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8130 and `bookmark-current-buffer' if they have been already set in
8131 another buffer (e.g gnus-art).
8133 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8134 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8136 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8138 * bookmark.el (bookmark-make-record-default): Allow unneeded
8139 information to be omitted from the record.
8141 Adjust declarations and calls:
8143 * info.el (bookmark-make-record-default): Adjust declaration.
8144 (Info-bookmark-make-record): Adjust call.
8146 * woman.el (bookmark-make-record-default): Adjust declaration.
8147 (woman-bookmark-make-record): Adjust call.
8149 * man.el (bookmark-make-record-default): Adjust declaration.
8150 (Man-bookmark-make-record): Adjust call.
8152 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8154 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8156 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8158 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8159 This is also from Thierry Volpiatto's patch in bug #6444. However,
8160 because it was extraneous to the functional change in that patch,
8161 and causes a re-indendation, I am committing it separately.
8163 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8165 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8166 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8167 Patch applied by Karl Fogel (Bug#6444).
8169 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8171 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8173 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8175 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8176 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8177 (ns-alternatives-map): Change S-tab binding to backtab
8180 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8183 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8185 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8188 * language/tv-util.el (tai-viet-re): Remove format.
8190 2010-07-12 Kenichi Handa <handa@m17n.org>
8192 * language/hebrew.el: Remove no-byte-compile declaration.
8193 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8194 composition-function-table for 3-character looking back.
8195 (hebrew-font-get-precomposed): New function.
8196 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8198 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8200 * mouse.el (mouse-drag-track): Handle select-active-regions
8203 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8205 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8206 empty argument to gvfs-copy.
8208 2010-07-10 Glenn Morris <rgm@gnu.org>
8210 * calendar/calendar.el (calendar-week-end-day): New function.
8211 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8212 Respect calendar-week-start-day. (Bug#6606)
8213 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8214 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8215 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8216 respect calendar-week-start-day.
8218 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8220 * simple.el (use-region-p): Doc fix (Bug#6607).
8222 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8224 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8225 Add regexps for cucumber and ruby.
8227 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8229 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8230 (epa-file-insert-file-contents): Hack to prevent
8231 find-file from opening empty buffer when decryption failed
8234 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8236 * textmodes/ispell.el (ispell-alternate-dictionary):
8237 Use file-readable-p.
8238 Return nil if no word-list is found at default locations.
8239 (ispell-complete-word-dict): Default to nil.
8240 (ispell-command-loop): Use 'word-list' when using lookup-words.
8241 (lookup-words): Use ispell-complete-word-dict or
8242 ispell-alternate-dictionary. Check for word-list availability
8243 and handle errors if needed with better messages (Bug#6539).
8244 (ispell-complete-word): Use ispell-complete-word-dict or
8245 ispell-alternate-dictionary.
8247 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8249 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8250 builtins (BufferError, BytesWarning, WindowsError; callables
8251 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8253 2010-07-07 Glenn Morris <rgm@gnu.org>
8255 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8256 (zone-shift-left): Ignore intangibility, and any errors from
8258 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8259 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8260 deleting, and copying text properties.
8261 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8262 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8263 to point-max is hard.
8264 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8265 (zone-fill-out-screen): Ignore intangibility.
8267 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8269 * menu-bar.el (menu-bar-mode):
8270 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8273 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8274 word/line selection (Bug#6565).
8276 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8278 * net/dbus.el (dbus-send-signal): Declare function.
8280 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8282 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8283 (dbus-register-property): New optional argument EMITS-SIGNAL.
8284 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8286 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8288 * mouse.el (mouse-drag-overlay): Variable deleted.
8289 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8290 (mouse--remap-link-click-p): New function.
8291 (mouse-drag-track): Handle dragging by using temporary Transient
8292 Mark mode, instead of a special overlay.
8293 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8296 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8299 2010-07-02 Juri Linkov <juri@jurta.org>
8301 * autoinsert.el (auto-insert-alist): Fix readability
8302 by using dotted pair notation for lambda.
8304 2010-07-02 Juri Linkov <juri@jurta.org>
8306 * faces.el (read-face-name): Rename arg `string-describing-default'
8307 to `default'. Doc fix. Display the default value in quotes
8308 in the prompt. With empty input, return the `default' arg,
8309 unless the default value is a string (in which case return nil).
8310 (describe-face): Replace the string `default' arg of `read-face-name'
8311 with the symbol `default'.
8313 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8315 * emulation/viper-cmd.el (viper-delete-backward-char)
8316 (viper-del-backward-char-in-insert)
8317 (viper-del-backward-char-in-replace, viper-change)
8318 (viper-backward-indent): Replace delete-backward-char with
8319 delete-char (Bug#6552).
8321 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8323 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8325 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8327 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8328 argument passed to frame-creation-function (Bug#5378).
8330 * faces.el (x-handle-named-frame-geometry)
8331 (x-handle-reverse-video, x-create-frame-with-faces)
8332 (face-set-after-frame-default, tty-create-frame-with-faces):
8333 Don't separately consult default-frame-alist. It is now passed as the
8336 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8338 * startup.el (command-line): Don't call tool-bar-setup in a
8341 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8343 * ruler-mode.el (ruler--save-header-line-format): New fun.
8344 (ruler-mode): Use it as a setter function, so as not to overwrite
8345 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8347 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8349 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8350 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8351 (vc-log-outgoing): Use it.
8352 (vc-diff-internal): Set diff-vc-backend.
8354 * vc/diff-mode.el (diff-vc-backend): New var.
8356 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8358 * dynamic-setting.el (font-setting-change-default-font):
8359 Remove call to message.
8361 2010-06-28 Kenichi Handa <handa@m17n.org>
8363 * international/quail.el (quail-insert-kbd-layout): Fix the
8364 showing of untranslated characters.
8366 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8368 * simple.el (delete-active-region): New option.
8369 (delete-backward-char): Implement in Lisp.
8370 (delete-forward-char): New command.
8372 * mouse.el (mouse-region-delete-keys): Deleted.
8373 (mouse-show-mark): Simplify.
8375 * bindings.el (global-map): Bind delete and DEL, the former to
8376 delete-forward-char.
8378 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8380 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8381 (ruby-mode): Bind indent-line-function (Bug#5119).
8383 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8385 * startup.el (command-line): Recognize "0" X resource value.
8387 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8389 * startup.el (command-line): Use X resources to set the value of
8390 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8392 * menu-bar.el (menu-bar-mode):
8393 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8394 Set init-value to t.
8396 * frame.el (frame-notice-user-settings): Don't change
8397 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8398 vice versa (Bug#2249).
8400 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8402 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8404 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8406 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8407 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8409 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8410 default directories are expanded (Bug#6143).
8412 2010-06-24 Juri Linkov <juri@jurta.org>
8414 * minibuffer.el (completions-format): Change default from nil to
8415 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8417 2010-06-24 Juri Linkov <juri@jurta.org>
8419 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8420 buffer-locally to lambda that re-runs the vc diff command.
8423 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8425 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8426 echo area is in use (Bug#3412).
8428 2010-06-22 Glenn Morris <rgm@gnu.org>
8430 * textmodes/texinfmt.el (texinfo-format-region)
8431 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8432 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8433 (texinfo-format-option, texinfo-noindent):
8434 Use line-beginning-position and line-end-position.
8436 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8437 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8438 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8441 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8443 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8444 forward-line fallout.
8446 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8448 * mouse.el (mouse-appearance-menu): Add docstring.
8450 * help.el (describe-key): Print up-event using key-description.
8452 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8454 * net/zeroconf.el (zeroconf-resolve-service)
8455 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8456 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8458 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8460 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8462 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8464 Avoid displaying files with a nil state in vc-dir.
8465 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8466 cases that cause insertion.
8467 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8470 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8472 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8474 2010-06-29 Leo <sdl.web@gmail.com>
8476 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8478 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8480 * generic-x.el (bat-generic-mode): Fix regexp for command line
8481 switches (Bug#5719).
8483 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8485 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8486 of nconc to avoid pure storage error (Bug#6239).
8488 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8490 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8491 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8492 bindings of bookmark-automatically-show-annotations (Bug#6515).
8494 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8496 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8497 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8499 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8501 * comint.el (make-comint, make-comint-in-buffer): Mention return
8502 value in the docstrings. (Bug#6498)
8504 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8506 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8507 since it is not present when using some non-default switches.
8509 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8511 * simple.el (compose-mail): Fix doc string to refer to
8512 `compose-mail-user-agent-warnings', instead of to the
8513 nonexistent `compose-mail-check-user-agent'.
8515 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8517 Fix an indentation bug:
8519 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8520 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8523 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8524 (c-clear->-pair-props-if-match-before): now return t when they've
8525 cleared properties, nil otherwise.
8526 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8527 by taking account of the existing value.
8529 * progmodes/cc-defs.el
8530 (c-clear-char-property-with-value-function): Fix this to clear the
8531 property rather than overwriting it with nil.
8533 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8535 * emacs-lisp/package.el (package-print-package): Add link to
8536 package description via describe-package.
8537 (describe-package-1): List package requirements. Add button to
8538 perform installation.
8539 (package-menu-describe-package): New command.
8541 * help-mode.el (help-package): New button type.
8543 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8545 * emacs-lisp/package.el: Move package-list-packages binding to
8547 (describe-package, describe-package-1, package--dir): New funs.
8548 (package-activate-1): Use package--dir.
8550 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8552 * help-mode.el (help-package-def): New button type.
8554 * menu-bar.el: Move package-list-packages binding here from
8557 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8559 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8561 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8563 * emacs-lisp/edebug.el (edebug-read-list):
8564 Phase out old-style backquotes.
8566 2010-06-17 Juri Linkov <juri@jurta.org>
8568 * help-mode.el (help-mode): Set buffer-local variable
8569 revert-buffer-function to help-mode-revert-buffer.
8570 (help-mode-revert-buffer): New function.
8572 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8573 before popping to "*info*" (like in other Info functions).
8574 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8575 old-history-forward. Pop to old-buffer-name or "*info*" to
8576 recreate the killed buffer. Set Info-history-forward from
8577 old-history-forward.
8578 (Info-breadcrumbs-depth): Add :group and :version.
8580 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8582 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8584 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8586 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8587 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8589 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8591 * emacs-lisp/package.el (package-menu-mode-map):
8592 Move initialization into declaration.
8594 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8596 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8598 * emacs-lisp/package.el (package-archive-base): Point to
8600 (package-enable, package-load-list): New defcustoms.
8601 (package-user-dir, package-directory-list): Turn into defcustoms.
8602 Don't include package-user-dir in package-directory-list.
8603 (package--builtins-base): Don't include Emacs as a "package".
8604 (package-subdirectory-regexp): New var.
8605 (package-load-all-descriptors, package-compute-transaction)
8606 (package-download-transaction): Obey package-load-list.
8607 (package-activate-1): Rename from package-do-activate.
8608 (package-list-packages-internal): Check package-load-list.
8609 (package-load-descriptor, package-generate-autoloads)
8610 (package-unpack, package-unpack-single)
8611 (package--read-archive-file, package-delete):
8612 Use expand-file-name.
8614 * emacs-lisp/package-x.el: New file. Package uploading
8615 functionality split out from package.el.
8617 * startup.el (command-line): Load packages after reading init file.
8619 2010-06-17 Tom Tromey <tromey@redhat.com>
8621 * emacs-lisp/package.el: New file.
8623 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8625 Fix vc-annotate for renamed files when using Git.
8626 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8627 ls-files. Doe not pass the object as a file name to cat-file, it
8629 (vc-git-annotate-command): Pass the file name using -- to avoid
8630 ambiguity with the revision.
8631 (vc-git-previous-revision): Pass a relative file name.
8633 2010-06-22 Glenn Morris <rgm@gnu.org>
8635 * progmodes/js.el (js-mode-map): Use standard capitalization and
8636 ellipses for menu entries.
8638 * wid-edit.el (widget-complete): Doc fix.
8640 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8642 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8644 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8646 Fix annotating other revisions for renamed files in vc-annotate.
8647 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8648 VC backend. Use it when non-nil.
8649 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8652 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8653 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8654 Do not pass the file name to the 'previous-revision call when we
8655 don't want a file diff. (Bug#6489)
8657 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8659 Fix finding revisions for renamed files in vc-annotate.
8660 * vc/vc.el (vc-find-revision): Add an optional argument for
8661 the VC backend. Use it when non-nil.
8662 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8663 backend to vc-find-revision. (Bug#6487)
8665 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8667 Fix reading file names in Git annotate buffers.
8668 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8669 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8671 2010-06-20 Alan Mackenzie <acm@muc.de>
8673 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8674 in file local variables, set it first.
8676 2010-06-19 Glenn Morris <rgm@gnu.org>
8678 * descr-text.el (describe-char-unicode-data): Insert separating
8679 space when needed. (Bug#6422)
8681 * progmodes/idlwave.el (idlwave-action-and-binding):
8682 Fix typo in 2009-12-03 change. (Bug#6450)
8684 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8686 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8687 handling for `lambda' (misunderstanding).
8689 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8691 * calc/calc-poly.el (math-accum-factors): Make sure that
8692 constants aren't distributed after they are factored out.
8694 2010-06-16 Juri Linkov <juri@jurta.org>
8696 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8697 `list-colors-print'. (Bug#6332)
8699 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8701 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8703 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8704 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8706 * font-lock.el (font-lock-major-mode): Rename from
8707 font-lock-mode-major-mode to distinguish it from
8708 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8709 (font-lock-set-defaults):
8710 * font-core.el (font-lock-default-function): Adjust users.
8711 (font-lock-mode): Don't set it at all.
8713 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8715 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8717 2010-06-16 Glenn Morris <rgm@gnu.org>
8719 * calendar/appt.el (appt-time-msg-list): Doc fix.
8720 (appt-check): Let-bind appt-warn-time.
8721 (appt-add): Make the 3rd argument optional.
8722 Simplify argument names. Doc fix. Check for integer WARNTIME.
8723 Only add WARNTIME to the output list if non-nil.
8725 2010-06-16 Ivan Kanis <apple@kanis.eu>
8727 * calendar/appt.el (appt-check): Let the 3rd element of
8728 appt-time-msg-list specify the warning time.
8729 (appt-add): Add new argument with the warning time. (Bug#5176)
8731 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8733 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8734 older than version 1.6. (Bug#6361)
8736 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8738 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8739 used by cl-do-arglist. (Bug#6408)
8741 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8743 * textmodes/ispell.el (ispell-dictionary-base-alist):
8744 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8745 Suggested by Rolando Pereira (bug#6434).
8747 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8749 * facemenu.el (list-colors-sort): Doc fix.
8751 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8753 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8755 2010-06-14 Juri Linkov <juri@jurta.org>
8757 Add sort option `list-colors-sort'. (Bug#6332)
8758 * facemenu.el (color-rgb-to-hsv): New function.
8759 (list-colors-sort): New defcustom.
8760 (list-colors-sort-key): New function.
8761 (list-colors-display): Doc fix. Sort list according to the option
8763 (list-colors-print): Add HSV values to `help-echo' property of
8766 2010-06-14 Juri Linkov <juri@jurta.org>
8768 * compare-w.el: Move to the "vc" subdirectory.
8770 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8772 * image-mode.el (image-mode-map): Remap left-char and right-char.
8774 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8776 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8778 * term/common-win.el (x-colors): Add all the color names defined
8779 in rgb.txt (Bug#6332).
8781 * facemenu.el (list-colors-print): Don't print extra names if it
8782 will overflow the window width.
8784 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8787 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8789 * files.el (make-directory): Doc fix (bug#6396).
8791 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8793 * net/tramp.el (tramp-remote-process-environment): Protect version
8794 string by apostroph.
8795 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8797 (tramp-file-name-for-operation): Add `call-process-region'.
8798 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8800 * net/tramp-compat.el (top): Do not autoload
8801 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8802 only when `start-file-process' is not bound.
8803 (tramp-advice-file-expand-wildcards): Do not use
8804 `tramp-handle-file-remote-p'.
8805 (tramp-compat-make-temp-file): Handle the case, that
8806 `make-temp-file' has no third argument EXTENSION.
8808 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8810 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8812 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8814 2010-06-11 Juri Linkov <juri@jurta.org>
8816 * finder.el (finder-known-keywords): Add keyword "vc"
8817 for version control.
8819 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8820 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8821 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8822 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8824 2010-06-11 Juri Linkov <juri@jurta.org>
8826 Move version control related files to the "vc" subdirectory.
8827 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8828 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8829 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8830 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8831 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8832 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8833 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8834 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8835 Move files to the "vc" subdirectory.
8837 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8839 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8842 2010-06-11 Stephen Eglen <stephen@gnu.org>
8844 * shell.el: Bind `shell-resync-dirs' to M-RET.
8846 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8848 * notifications.el: Move file from lisp/net, because it is
8849 supposed to talk locally to the user.
8851 2010-06-10 Julien Danjou <julien@danjou.info>
8853 * net/notifications.el (notifications-on-action-signal)
8854 (notifications-on-closed-signal): Pass notification id as first
8855 argument to the callback functions. Add docstrings.
8856 (notifications-notify): Fix docstring.
8858 2010-06-10 Glenn Morris <rgm@gnu.org>
8860 * emacs-lisp/authors.el (authors-ignored-files)
8861 (authors-valid-file-names): Add some files.
8863 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8865 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8866 merge conflict, giving preference to the emacs-23 version of the code.
8868 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8870 * emacs-lisp/advice.el (ad-compile-function):
8871 Define warning-suppress-types before we let-bind it (bug#6275).
8873 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8874 declare it, make it buffer-local and permanent-local (bug#6324).
8875 (vc-resynch-window): Adjust name.
8876 * vc-hooks.el (vc-find-file-hook): Adjust name.
8878 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8880 * net/notifications.el (notifications-notify): Fix docstring.
8882 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8884 Update to Unicode 6.0.0 beta.
8885 * international/charprop.el: Update copyright.
8886 * international/mule-cmds.el (ucs-names): Update character ranges.
8887 * international/uni-bidi.el:
8888 * international/uni-category.el:
8889 * international/uni-combining.el:
8890 * international/uni-comment.el:
8891 * international/uni-decimal.el:
8892 * international/uni-decomposition.el:
8893 * international/uni-digit.el:
8894 * international/uni-lowercase.el:
8895 * international/uni-mirrored.el:
8896 * international/uni-name.el:
8897 * international/uni-numeric.el:
8898 * international/uni-old-name.el:
8899 * international/uni-titlecase.el:
8900 * international/uni-uppercase.el: Regenerate.
8902 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8904 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8905 (smie-precs-precedence-table): Fix typo in docstring.
8907 * vc-mtn.el (log-edit-extract-headers): Declare function.
8909 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8911 * net/notifications.el (dbus-register-signal): Declare function.
8912 (notifications-notify): Fix typos and reflow docstring.
8914 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8916 Improve VC create/retrieve tag/branch.
8917 * vc.el (vc-create-tag): Do not read the directory name for VCs
8918 with repository revision granularity. Adjust the tag/branch
8919 prompt. Reset VC properties.
8920 (vc-retrieve-tag): Do not read the directory name for VCs
8921 with repository revision granularity. Reset VC properties.
8923 2010-06-09 Julien Danjou <julien@danjou.info>
8925 * net/notifications.el: New file.
8927 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8929 Add optional support for resetting VC properties.
8930 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8931 call vc-file-clearprops when true.
8932 (vc-resynch-buffer): Add new optional argument, pass it down.
8933 (vc-resynch-buffers-in-directory): Likewise.
8935 Improve support for special markup in the VC commit message.
8936 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8937 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8938 * vc-git.el (vc-git-checkin):
8939 * vc-bzr.el (vc-bzr-checkin): Likewise.
8941 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8943 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8944 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8946 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8948 * iimage.el: Remove images as soon as the underlying text is modified.
8949 (iimage-modification-hook): New function.
8950 (iimage-mode-buffer): Use it.
8952 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8955 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8956 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8957 (smie-indent-keyword): Add handling of open-paren keywords.
8958 (smie-indent-comment-continue): Don't assume comment-continue.
8960 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8962 * window.el (pop-to-buffer): Remove the conditional that
8963 compares new-window and old-window, so it will reselect
8964 the selected window unconditionally.
8965 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8967 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8969 * emacs-lisp/smie.el (smie-indent-offset-after)
8970 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8971 (smie-indent-after-keyword): Use them.
8972 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8973 (smie-indent-keyword): Tweak the black magic.
8974 (smie-indent-comment-continue): Strip comment-continue before use.
8975 (smie-indent-functions): Indent comments before keywords.
8977 2010-06-06 Juri Linkov <juri@jurta.org>
8979 * isearch.el (isearch-lazy-highlight-search): Fix looping
8980 by checking for empty match. This syncs this loop with the
8981 similar loop in `isearch-search'. (Bug#6362)
8983 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8985 * net/dbus.el (dbus-register-method): Declare function.
8986 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8987 (dbus-introspect): Doc fix.
8988 (dbus-event-bus-name, dbus-introspect-get-interface)
8989 (dbus-introspect-get-argument): Reflow docstrings.
8991 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8993 vc-log-incoming/vc-log-outgoing fixes for Git.
8994 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8995 incoming/outgoing logs.
8996 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8997 instead of vc-git-compute-remote.
8998 (vc-git-compute-remote): Remove.
9000 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9002 * term/common-win.el (x-colors): Add "dark green" and "dark
9003 turquoise" (Bug#6332).
9005 2010-06-04 Juri Linkov <juri@jurta.org>
9007 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9008 Instead of setting `replace' to t and replacing the same string
9009 with itself, don't do certain actions when
9010 kill-do-not-save-duplicates is non-nil and string is equal to car
9011 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9012 interprogram-paste strings to kill-ring, and don't push the input
9013 argument `string' to kill-ring.
9014 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9016 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9018 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9020 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9022 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9023 (tramp-gvfs-handler-mounted-unmounted)
9024 (tramp-gvfs-connection-mounted-p): Handle default-location.
9026 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9027 move files to trash.
9029 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9031 * international/mule-cmds.el (nonascii-insert-offset)
9032 (nonascii-translation-table): Add obsolescence information.
9034 * international/mule.el (make-translation-table-from-vector): Doc fix.
9036 2010-06-03 Glenn Morris <rgm@gnu.org>
9038 * desktop.el (desktop-clear-preserve-buffers):
9039 Add "*Warnings*" buffer. (Bug#6336)
9041 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9043 vc-log-incoming/vc-log-outgoing improvements for Git.
9044 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9046 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9048 Add bindings for vc-log-incoming and vc-log-outgoing.
9049 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9050 and vc-log-outgoing.
9051 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9052 and vc-log-outgoing.
9054 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9056 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9057 (rcirc-handler-366): Always sort nicknames.
9059 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9061 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9063 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9065 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9067 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9069 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9070 (rcirc-sort-nicknames-join): Avoid setq.
9072 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9074 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9075 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9076 (rcirc-handler-366): Use them.
9078 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9080 Split smie-indent-calculate into more manageable chunks.
9081 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9082 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9083 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9084 (smie-indent-exps): Extract from smie-indent-calculate.
9085 (smie-indent-functions): New var.
9086 (smie-indent-functions): Use them.
9088 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9090 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9091 (smie-indent-calculate): Simplify and cleanup.
9093 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9095 * net/tramp-gvfs.el (top): Require url-util.
9096 (tramp-gvfs-mount-point): Remove.
9097 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9099 (with-tramp-dbus-call-method): Format trace message.
9100 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9101 Implement backup call, when operation on local files fails.
9102 Use progress reporter. Flush properties of changed files.
9103 (tramp-gvfs-handle-make-directory): Make more traces.
9104 (tramp-gvfs-url-file-name): Hexify file name in url.
9105 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9106 into account for the resulting file name.
9107 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9108 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9109 (tramp-gvfs-handler-mounted-unmounted)
9110 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9111 attribute "default_location". Set "prefix" property.
9112 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9113 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9114 exists. Raise an error, if not (due to a corresponding answer
9115 "no" in interactive questions, for example).
9117 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9119 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9121 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9123 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9126 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9128 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9129 * vc-git.el (vc-git-compute-remote): New function.
9130 (vc-git-log-outgoing): Use it instead of hard coding a value.
9131 (vc-git-log-incoming): New function.
9133 Improve state updating for VC tag commands.
9134 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9135 to update the state of all buffers in the directory.
9137 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9139 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9141 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9142 `file-directory-p' to the filename part rather than to the whole text.
9144 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9146 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9148 2010-05-31 Drew Adams <drew.adams@oracle.com>
9150 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9152 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9154 * subr.el (momentary-string-display): Just use read-event to read
9155 the exit event (Bug#6238).
9157 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9159 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9161 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9163 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9164 Suggested by Eli Zaretskii <eliz@gnu.org>.
9166 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9168 * minibuffer.el (completion-file-name-table): Don't return a boundary
9169 past the end of `string' (bug#6299).
9170 (completion--file-name-table): Delegate to completion-file-name-table
9171 for the `boundaries' case.
9173 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9175 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9178 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9179 `path-separator', but maintain compatibility with Emacs 20.2.
9181 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9183 * server.el (server-process-filter): Receive parent-id argument
9185 (server-create-window-system-frame): New arg. Pass parent-id as
9188 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9190 Bidi-sensitive word movement with arrow keys.
9191 * subr.el (right-arrow-command, left-arrow-command): Move to
9194 * bindings.el (right-char, left-char): Move from subr.el and
9195 rename from right-arrow-command and left-arrow-command.
9196 (right-word, left-word): New functions.
9197 (global-map) <right>: Bind to right-char.
9198 (global-map) <left>: Bind to left-char.
9199 (global-map) <C-right>: Bind to right-word.
9200 (global-map) <C-left>: Bind to left-word.
9202 * ls-lisp.el (ls-lisp-classify-file): New function.
9203 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9204 (ls-lisp-classify): Call ls-lisp-classify-file.
9205 (insert-directory): Remove blanks from switches.
9207 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9209 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9210 (ansi-color-drop-regexp): New constant.
9211 (ansi-color-apply, ansi-color-filter-region)
9212 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9213 (ansi-color-apply): Build string list before calling concat.
9215 2010-05-28 Juri Linkov <juri@jurta.org>
9217 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9218 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9221 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9223 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9224 to ignored backtrace functions.
9225 (with-progress-reporter): Expand docstring.
9226 (tramp-handle-delete-file): Implement TRASH argument.
9227 (tramp-get-remote-trash): New defun.
9229 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9231 * net/tramp-compat.el (tramp-compat-delete-file):
9232 Use `symbol-value' for backward compatibility.
9234 * net/tramp.el (tramp-handle-make-symbolic-link)
9236 (tramp-do-copy-or-rename-file-via-buffer)
9237 (tramp-do-copy-or-rename-file-directly)
9238 (tramp-do-copy-or-rename-file-out-of-band)
9239 (tramp-handle-process-file, tramp-handle-call-process-region)
9240 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9241 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9242 (tramp-delete-temp-file-function): Use `delete-file' instead
9243 of `tramp-compat-delete-file'.
9245 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9246 (tramp-fish-handle-make-symbolic-link)
9247 (tramp-fish-handle-process-file): Use `delete-file' instead
9248 of `tramp-compat-delete-file'.
9250 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9251 Use `delete-file' instead of `tramp-compat-delete-file'.
9253 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9254 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9255 `tramp-compat-delete-file'.
9257 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9258 Use `delete-file' instead of `tramp-compat-delete-file'.
9260 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9261 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9262 (tramp-smb-handle-write-region): Use `delete-file' instead of
9263 `tramp-compat-delete-file'.
9264 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9266 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9268 * dired.el (dired-delete-file): New arg TRASH.
9269 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9270 (dired-do-flagged-delete, dired-do-delete): Use trash.
9272 * speedbar.el (speedbar-item-delete): Allow trashing.
9274 * files.el (delete-directory): New arg TRASH.
9276 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9277 (ange-ftp-rename-remote-to-remote)
9278 (ange-ftp-rename-local-to-remote)
9279 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9280 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9282 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9285 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9286 handle new TRASH arg of `delete-file'.
9288 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9289 (tramp-handle-make-symbolic-link, tramp-handle-load)
9290 (tramp-do-copy-or-rename-file-via-buffer)
9291 (tramp-do-copy-or-rename-file-directly)
9292 (tramp-do-copy-or-rename-file-out-of-band)
9293 (tramp-handle-process-file, tramp-handle-call-process-region)
9294 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9295 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9296 (tramp-delete-temp-file-function): Use null TRASH arg in
9297 tramp-compat-delete-file call.
9299 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9300 (tramp-fish-handle-delete-file)
9301 (tramp-fish-handle-make-symbolic-link)
9302 (tramp-fish-handle-process-file): Use null TRASH arg in
9303 `tramp-compat-delete-file' call.
9305 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9306 arg in `tramp-compat-delete-file' call.
9308 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9309 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9310 `tramp-compat-delete-file' call.
9312 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9313 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9314 `tramp-compat-delete-file' call.
9316 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9317 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9318 (tramp-smb-handle-write-region): Use null TRASH arg in
9319 tramp-compat-delete-file call.
9320 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9321 (tramp-smb-handle-delete-file): Rename arg.
9323 * diff.el (diff-sentinel):
9324 * epg.el (epg--make-temp-file, epg-decrypt-string)
9325 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9326 * jka-compr.el (jka-compr-partial-uncompress)
9327 (jka-compr-call-process, jka-compr-write-region):
9328 * server.el (server-sentinel): Remove optional arg from
9329 delete-file, reverting 2010-05-03 change.
9331 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9333 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9334 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9336 2010-05-27 Kenichi Handa <handa@m17n.org>
9338 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9339 element of GSTRING is nil.
9341 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9343 * emacs-lisp/smie.el (smie-forward-token-function)
9344 (smie-backward-token-function): New vars.
9345 (smie-backward-sexp, smie-forward-sexp)
9346 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9347 (smie-default-backward-token): Rename from smie-backward-token and
9349 (smie-default-forward-token): Rename from smie-forward-token and
9351 (smie-next-sexp): Handle nil results from next-token.
9352 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9354 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9356 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9357 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9359 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9361 * htmlfontify.el (hfy-face-resolve-face): New function.
9362 (hfy-face-to-style): Use it (Bug#6279).
9364 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9366 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9367 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9369 2010-05-26 Glenn Morris <rgm@gnu.org>
9371 * emulation/edt.el (edt-load-keys): Use locate-library.
9373 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9375 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9376 (log-edit-changelog-entries): Doc fix.
9377 (log-edit-changelog-insert-entries): Args changed.
9378 Rename relative filenames in ChangeLog entries. Delete tabs.
9379 (log-edit-insert-changelog-entries): Reorganize return value of
9380 `log-edit-changelog-entries' to pass filenames to
9381 log-edit-changelog-insert-entries.
9383 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9385 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9386 `image-dired-dired-insert-marked-thumbs' to
9387 `image-dired-dired-toggle-marked-thumbs'.
9389 * image-dired.el: Require cl when compiling.
9390 (image-dired-dired-toggle-marked-thumbs): Rename from
9391 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9392 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9393 to 'no-dir. Skip files whose names don't match
9394 `image-file-name-regexp'. When file has a thumbnail overlay,
9395 delete it. (Bug#5270)
9397 2010-05-25 Juri Linkov <juri@jurta.org>
9399 * image-mode.el (image-mode): Add image-after-revert-hook to
9401 (image-after-revert-hook): New function. (Bug#5669)
9403 2010-05-25 Juri Linkov <juri@jurta.org>
9405 * image.el (image-animated-p): When delay between animated images
9406 is 0, set it to 10 (0.1 sec). (Bug#6258)
9408 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9410 * net/tramp.el (tramp-handle-insert-directory): Don't use
9411 `forward-word', its default syntax could be changed.
9413 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9415 * net/tramp.el (tramp-progress-reporter-update): New defun.
9416 (with-progress-reporter): Use it.
9417 (tramp-process-actions):
9418 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9419 Preserve current message, in order to let progress reporter continue
9420 afterwards. (Bug#6257)
9422 2010-05-25 Glenn Morris <rgm@gnu.org>
9424 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9427 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9429 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9430 (rcirc-default-full-name): Change to "unknown".
9431 (rcirc-user-name-history): Add variable.
9433 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9434 Jonathan Rockway <jon@jrock.us>
9436 * net/rcirc.el (rcirc-server-alist): Add :pass.
9437 (rcirc): When prompting for connection parameters, also prompt for
9438 username and password.
9439 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9440 value to server when connecting.
9442 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9444 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9445 (smie-merge-prec2s): Pass the tables as separate args.
9446 (smie-bnf-precedence-table): Adjust call accordingly.
9447 (smie-prec2-levels): Set levels at the end.
9449 Replace Lisp calls to delete-backward-char by delete-char.
9450 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9451 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9452 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9453 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9454 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9455 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9456 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9457 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9458 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9459 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9460 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9461 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9462 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9463 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9464 delete-backward-char by calls to delete-char.
9466 2010-05-25 Kenichi Handa <handa@m17n.org>
9468 * language/hebrew.el (hebrew-shape-gstring): New function.
9469 Register it in composition-function-table for all Hebrew combining
9472 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9474 * epa.el (epa--select-keys): Don't explicitly delete the window since
9475 that can fail (e.g. sole window in frame). Use dedication instead.
9477 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9479 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9481 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9483 * image.el (image-refresh): Define as an alias for image-flush.
9485 * image-mode.el (image-toggle-display-image): Caller changed.
9487 2010-05-21 Juri Linkov <juri@jurta.org>
9489 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9490 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9491 whitespace, call wildcard-to-regexp on substrings and concat them
9492 with "\\|". (Bug#6114)
9494 2010-05-21 Alan Mackenzie <acm@muc.de>
9496 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9497 Replace parameter `here' with `here-' and `here-plus', which sandwich
9498 any pertinent CPP construct.
9499 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9500 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9501 CPP construct from taking part in the scanning.
9503 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9505 * net/tramp.el (tramp-do-copy-or-rename-file)
9506 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9507 Tune `with-progress-reporter' messages.
9508 (tramp-handle-vc-registered):
9509 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9510 (tramp-fish-handle-insert-file-contents)
9511 (tramp-fish-maybe-open-connection):
9512 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9513 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9514 (tramp-imap-handle-insert-file-contents)
9515 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9517 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9519 * add-log.el (change-log-font-lock-keywords):
9520 Highlight all authors in multi-author entries.
9522 * smerge-mode.el (smerge-refine-ignore-whitespace)
9523 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9524 Fix typos in docstrings.
9525 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9527 2010-05-21 Glenn Morris <rgm@gnu.org>
9529 * progmodes/fortran.el (fortran-mode):
9530 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9532 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9533 having a relative path in src/Makefile.in.
9535 2010-05-20 Kevin Ryde <user42@zip.com.au>
9537 * help-mode.el (help-make-xrefs): For Info node links turn
9538 newlines into spaces. Link node names with newlines are matched
9539 by help-xref-info-regexp and buttonized, this change ensures they
9540 can be followed successfully with RET. (Bug#6206)
9542 2010-05-20 Juri Linkov <juri@jurta.org>
9544 * locate.el (locate): Use pop-to-buffer instead of
9545 switch-to-buffer-other-window. (Bug#6204)
9547 2010-05-20 Juri Linkov <juri@jurta.org>
9549 * replace.el (replace-highlight): Fix lazy-highlighting
9550 for `M-s w str M-% str RET'.
9552 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9554 * isearch.el (isearch-yank-word-or-char): Pull next subword
9555 when `subword-mode' is activated. (Bug#6220)
9557 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9559 * isearch.el (isearch-update-post-hook): New hook.
9560 (isearch-update): Use the new hook. (Bug#6225)
9562 2010-05-20 Juri Linkov <juri@jurta.org>
9564 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9565 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9568 2010-05-20 Juri Linkov <juri@jurta.org>
9570 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9573 2010-05-20 Juri Linkov <juri@jurta.org>
9575 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9576 FILE-NAME to read from the minibuffer when called interactively
9577 with prefix argument instead of using buffer-file-name.
9578 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9580 * dired.el: Update autoloads.
9582 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9584 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9585 nxml-finish-element, for consistency with SGML mode.
9587 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9590 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9592 * composite.el: Require cl when compiling.
9593 (reference-point-alist, compose-gstring-for-graphic)
9594 (compose-gstring-for-terminal): Fix typos in docstrings.
9596 2010-05-19 Juri Linkov <juri@jurta.org>
9598 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9599 set-window-parameter.
9601 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9603 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9605 (tramp-maybe-open-connection): Use it.
9607 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9609 * simple.el (move-end-of-line): Make sure we are at line beginning
9610 before backing up to end of previous line.
9612 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9614 * password-cache.el (password-cache-remove): Fix docstring.
9616 * net/secrets.el: Autoload the widget functions.
9617 (secrets-search-items, secrets-create-item)
9618 (secrets-get-attributes, secrets-expand-item): Attributes will be
9619 stored on the password database without leading ":", as all other
9621 (secrets-mode): Fix docstring.
9622 (secrets-show-secrets): Provide it as autoloaded command only when
9623 D-Bus support is available. Check existence of Secret Service API.
9625 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9627 * indent.el (indent-region): Deactivate region (bug#6200).
9629 2010-05-19 Glenn Morris <rgm@gnu.org>
9631 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9633 2010-05-19 Kenichi Handa <handa@m17n.org>
9635 * composite.el: Register compose-gstring-for-graphic in
9636 composition-function-table only for combining characters (Mn, Mc, Me).
9638 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9640 * calc/calc-trail.el (calc-trail-isearch-forward)
9641 (calc-trail-isearch-backward): Ensure that the new window
9642 point is set correctly.
9644 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9646 * subr.el (read-quoted-char): Resolve modifiers after key
9647 remapping (bug#6212).
9649 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9651 Add visualization code for secrets.
9652 * net/secrets.el (secrets-mode): New major mode.
9653 (secrets-show-secrets, secrets-show-collections)
9654 (secrets-expand-collection, secrets-expand-item)
9655 (secrets-tree-widget-after-toggle-function)
9656 (secrets-tree-widget-show-password): New defuns.
9658 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9660 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9661 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9662 handled in smie-next-sexp.
9663 (smie-indent-calculate): Provide a starting indentation (so the
9664 recursion is well-founded ;-).
9666 Fix handling of non-associative equal levels.
9667 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9668 when it's not needed.
9669 (smie-op-left, smie-op-right): New functions.
9670 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9671 Better handle equal levels to distinguish the associative case from
9672 the "multi-keyword construct" case.
9673 (smie-backward-sexp, smie-forward-sexp): Use it.
9675 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9677 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9679 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9680 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9682 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9684 Provide a simple generic indentation engine and use it for Prolog.
9685 * emacs-lisp/smie.el: New file.
9686 * progmodes/prolog.el (prolog-smie-op-levels)
9687 (prolog-smie-indent-rules): New var.
9688 (prolog-mode-variables): Use them to configure SMIE.
9689 (prolog-indent-line, prolog-indent-level): Remove.
9691 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9693 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9694 order before computing the averages.
9696 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9698 * calc/calc-vec.el (calc-histogram):
9699 (calcFunc-histogram): Allow vectors as inputs.
9700 (math-vector-avg): New function.
9702 * calc/calc-ext.el (math-group-float): Have the number of digits
9703 being grouped depend on the radix (Bug#6189).
9705 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9707 * version.el (emacs-copyright, emacs-version): Don't define here,
9708 now that emacs.c defines it.
9710 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9712 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9713 "Describe Language Environment" menu item.
9715 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9717 Bidi-sensitive movement with arrow keys.
9718 * subr.el (right-arrow-command, left-arrow-command): New functions.
9720 * bindings.el (global-map): Bind them to right and left arrow keys.
9722 Don't override standard definition of convert-standard-filename.
9723 * files.el (convert-standard-filename):
9724 Call w32-convert-standard-filename and dos-convert-standard-filename on
9725 the corresponding systems.
9727 * w32-fns.el (w32-convert-standard-filename): Rename from
9728 convert-standard-filename. Doc fix.
9730 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9731 (convert-standard-filename): Don't defalias.
9732 (register-name-alist, make-register, register-value)
9733 (set-register-value, intdos): Obsolete aliases for the
9734 corresponding dos-* functions and variables.
9735 (dos-intdos): Add a doc string.
9737 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9739 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9740 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9741 (math-compose-tex-func):
9742 * calc/calccomp.el (math-compose-expr):
9743 * calc/calc-ext.el (math-format-flat-expr-fancy):
9744 * calc/calc-store.el (calc-read-var-name):
9745 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9747 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9748 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9749 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9750 (math-standard-units): Add units.
9752 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9754 * progmodes/asm-mode.el (asm-mode):
9755 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9757 * pcomplete.el (pcomplete-completions-at-point): New function,
9758 extracted from pcomplete-std-complete.
9759 (pcomplete-std-complete): Use it.
9761 2010-05-15 Glenn Morris <rgm@gnu.org>
9763 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9764 Remove references to CVS, RCS and Old directories.
9766 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9768 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9771 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9773 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9774 (sh-mode-syntax-table): Give it a default value instead.
9775 (sh-header-marker): Make buffer-local.
9776 (sh-mode): Move make-local-variable to the corresponding setq.
9777 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9778 Use complete-with-action.
9780 * simple.el (prog-mode): New (abstract) major mode.
9781 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9782 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9784 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9786 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9787 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9788 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9789 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9790 (sql-escape-newlines-filter, sql-input-sender)
9791 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9793 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9795 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9797 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9798 latex-open-block and C-c / to latex-close-block.
9800 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9801 and C-c C-e to sgml-close-tag.
9803 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9805 * net/tramp.el (with-progress-reporter): Create reporter object
9806 only when the message would be displayed. Handle nested calls.
9807 (tramp-handle-load, tramp-handle-file-local-copy)
9808 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9809 (tramp-maybe-send-script, tramp-find-shell):
9810 Use `with-progress-reporter'.
9811 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9814 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9815 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9816 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9817 Use `with-progress-reporter'.
9819 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9821 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9822 process everytime when spellchecking from the minibuffer (bug#6143).
9824 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9826 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9828 * dos-fns.el: Add "dos-" prefix for namespace control.
9829 (convert-standard-filename): Define as alias for
9830 dos-convert-standard-filename but only if applicable.
9832 2010-05-12 Alan Mackenzie <acm@muc.de>
9834 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9835 Push the mark at the start of these functions when appropriate.
9837 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9839 * minibuffer.el (completion-cycle-threshold): New custom var.
9840 (completion--do-completion): Use it.
9841 (minibuffer-complete): Use cycling if appropriate.
9843 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9845 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9846 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9848 2010-05-11 Juri Linkov <juri@jurta.org>
9850 * scroll-all.el (scroll-all-check-to-scroll):
9851 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9853 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9855 * iimage.el (iimage-mode-map): Move initialization into declaration.
9856 (iimage-mode-buffer): Use with-silent-modifications.
9857 Simplify calling convention. Adjust callers.
9858 (iimage-mode): Don't run hook redundantly.
9860 * minibuffer.el (completion-pcm--pattern->regex):
9861 Fix last change (bug#6160).
9863 2010-05-10 Juri Linkov <juri@jurta.org>
9865 Remove nodes visited during Isearch from the Info history.
9866 * info.el (Info-isearch-initial-history)
9867 (Info-isearch-initial-history-list): New variables.
9868 (Info-isearch-start): Record initial values of
9869 Info-isearch-initial-history and Info-isearch-initial-history-list.
9870 Add Info-isearch-end to isearch-mode-end-hook.
9871 (Info-isearch-end): New function.
9873 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9875 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9876 format string, in order to work around a bug in pdksh.
9877 Reported by Gilles Pion <gpion@lfdj.com>.
9878 (tramp-handle-verify-visited-file-modtime): Do not send a command
9879 when the connection is not established.
9880 (tramp-handle-set-file-times): Simplify the check for utc.
9882 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9884 Fix use of `filter-buffer-substring' (rework previous change).
9885 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9886 (cua-repeat-replace-region):
9887 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9888 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9889 (cua-cut-region-to-global-mark): Use it.
9891 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9893 * progmodes/sql.el: Version 2.1.
9894 (sql-product-alist): Redesign structure of product info.
9895 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9896 (sql-port, sql-port-history): New variables.
9897 (sql-interactive-product): New variable.
9898 (sql-send-terminator): New variable.
9899 (sql-imenu-generic-expression): Add "Types" imenu entry.
9900 (sql-oracle-login-params, sql-sqlite-login-params)
9901 (sql-mysql-login-params, sql-solid-login-params)
9902 (sql-sybase-login-params, sql-informix-login-params)
9903 (sql-ingres-login-params, sql-ms-login-params)
9904 (sql-postgres-login-params, sql-interbase-login-params)
9905 (sql-db2-login-params, sql-linter-login-params)
9906 (sql-oracle-scan-on): New variables.
9907 (sql-mode-map): Add C-c C-i to start interactive mode.
9908 (sql-mode-menu): Update existing menu entries.
9909 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9910 (sql-mode-oracle-font-lock-keywords)
9911 (sql-mode-postgres-font-lock-keywords)
9912 (sql-mode-ms-font-lock-keywords)
9913 (sql-mode-sybase-font-lock-keywords)
9914 (sql-mode-informix-font-lock-keywords)
9915 (sql-mode-interbase-font-lock-keywords)
9916 (sql-mode-ingres-font-lock-keywords)
9917 (sql-mode-solid-font-lock-keywords)
9918 (sql-mode-mysql-font-lock-keywords)
9919 (sql-mode-sqlite-font-lock-keywords)
9920 (sql-mode-db2-font-lock-keywords)
9921 (sql-mode-linter-font-lock-keywords): Update initialization to
9922 reduce run-time complexity.
9923 (sql-add-product, sql-del-product): New functions.
9924 (sql-set-product-feature, sql-get-product-feature): New functions.
9925 (sql-product-font-lock): Update product API.
9926 (sql-add-product-keywords): New function.
9927 (sql-highlight-product): Update product API.
9928 (sql-help-list-products): New function.
9929 (sql-help): Dynamically lists free and non-free products.
9930 (sql-get-login): Correct bug in handling history and added
9932 (sql-copy-column): Copy without properties.
9933 (sqli-input-sender): Apply filters to SQLi input.
9934 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9935 Implement as a filter.
9936 (sql-escape-newlines-filter): Implement as a filter.
9937 (sql-remove-tabs-filter): New function.
9938 (sql-send-magic-terminator): New function.
9939 (sql-send-string): Implement magic terminator.
9940 (sql-send-region): Use `sql-send-string'.
9941 (sql-interactive-mode): Use product API.
9942 (sql-product-interactive): Use product API.
9943 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9944 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9945 (sql-db2, sql-linter): Use `sql-product-interactive'.
9946 (sql-connect): New function.
9947 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9948 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9949 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9950 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9953 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9955 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9956 New custom variable.
9957 (completion-pcm--string->pattern): Use it.
9958 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9959 Make it handle any symbol as `any'.
9960 (completion-pcm--merge-completions): Extract common suffix for the new
9961 `prefix' symbol as well.
9962 (completion-substring--all-completions): Use the new `prefix' symbol.
9964 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9966 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9968 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9969 (tramp-compat-funcall): New defmacro.
9970 (tramp-compat-line-beginning-position)
9971 (tramp-compat-line-end-position)
9972 (tramp-compat-temporary-file-directory)
9973 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9974 (tramp-compat-copy-file, tramp-compat-copy-directory)
9975 (tramp-compat-delete-file, tramp-compat-delete-directory)
9976 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9977 * net/tramp.el (top, with-progress-reporter)
9978 (tramp-rfn-eshadow-setup-minibuffer)
9979 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9980 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9981 (tramp-completion-mode-p, tramp-check-for-regexp)
9982 (tramp-open-connection-setup-interactive-shell)
9983 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9984 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9985 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9986 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9987 (tramp-reporter-dump-variable, tramp-load-report-modules)
9988 (tramp-append-tramp-buffers)
9989 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9991 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9993 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9995 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9996 buffer-modtime. Adjust users.
9998 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10000 * international/mule.el (auto-coding-alist): Only purecopy
10001 car of each item, not the whole list (Bug#6083).
10003 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10005 * progmodes/js.el (js-mode): Make paragraph variables local before
10006 calling c-setup-paragraph-variables (Bug#6071).
10008 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10010 * composite.el (compose-region, reference-point-alist): Fix typos
10011 in the doc strings.
10013 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10015 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10016 gnuplot's "set" command.
10018 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10020 * abbrev.el (last-abbrev-text): Doc fix.
10021 (abbrev-prefix-mark): Don't escape parenthesis.
10023 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10025 * composite.el (find-composition): Doc fix.
10027 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10029 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10030 (sql-oracle-program, sql-sqlite-options)
10031 (sql-query-placeholders-and-send): Doc fixes.
10032 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10033 (sql-imenu-generic-expression, sql-buffer)
10034 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10035 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10036 (sql-mode-sybase-font-lock-keywords)
10037 (sql-mode-informix-font-lock-keywords)
10038 (sql-mode-interbase-font-lock-keywords)
10039 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10040 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10041 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10042 (sql-product-feature, sql-highlight-product)
10043 (comint-line-beginning-position, sql-rename-buffer)
10044 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10045 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10046 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10047 Fix typos in docstrings.
10049 2010-05-08 Juri Linkov <juri@jurta.org>
10051 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10052 property instead of `invisible' and `after-string' (bug#5998).
10054 2010-05-08 Juri Linkov <juri@jurta.org>
10056 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10058 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10060 * filecache.el (file-cache-add-directory-list)
10061 (file-cache-add-directory-recursively): Fix typos in docstrings.
10063 2010-05-08 Kenichi Handa <handa@m17n.org>
10065 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10066 (gujarati-composable-pattern): Fix typo.
10068 2010-05-08 Kenichi Handa <handa@m17n.org>
10070 * language/indian.el (oriya-composable-pattern)
10071 (tamil-composable-pattern, malayalam-composable-pattern):
10072 Add two-part vowels to "v" (vowel sign).
10074 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10076 * files.el (copy-directory): Handle symlinks (Bug#5982).
10078 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10080 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10081 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10084 2010-05-08 Glenn Morris <rgm@gnu.org>
10086 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10088 * minibuffer.el (completion-at-point): Doc fix.
10090 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10092 * electric.el (Electric-command-loop): Minor tweak.
10094 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10095 better with dedicated windows.
10097 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10099 * Version 23.2 released.
10101 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10102 Stefan Monnier <monnier@iro.umontreal.ca>
10104 Highlight vendor specific properties.
10105 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10106 (css-proprietary-property): New face.
10107 (css-font-lock-keywords): Use them.
10109 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10111 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10113 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10115 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10116 * files.el (auto-mode-alist): Remove redundant entries.
10118 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10119 * simple.el (auto-save-mode): Move from files.el.
10120 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10122 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10124 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10126 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10128 * mail/binhex.el (binhex-decode-region-internal)
10129 * mail/uudecode.el (uudecode-decode-region-internal)
10130 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10131 (dns-read-type, dns-query)
10132 * pgg-parse.el (pgg-parse-armor)
10133 * pgg.el (pgg-verify-region)
10134 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10137 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10139 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10141 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10143 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10144 * emulation/cua-base.el (cua-repeat-replace-region):
10145 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10146 (cua-cut-region-to-global-mark):
10147 Remove text properties with `set-text-properties'.
10149 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10151 * net/tramp.el (top, with-progress-reporter):
10152 Use `symbol-function' inside `funcall'.
10154 * net/tramp-compat.el (tramp-compat-file-attributes)
10155 (tramp-compat-delete-file, tramp-compat-delete-directory):
10156 Handle only `wrong-number-of-arguments' error.
10158 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10159 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10162 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10164 * minibuffer.el (completion--sreverse, completion--common-suffix):
10166 (completion-pcm--merge-completions): Extract common suffix when safe.
10168 * emacs-lisp/easy-mmode.el (define-minor-mode):
10169 Make :variable more flexible.
10170 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10172 2010-05-05 Juri Linkov <juri@jurta.org>
10174 Add `slow' and `history' tags to the desktop data.
10176 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10177 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10178 (Info-finder-find-node): Require `finder.el' to be able
10179 to restore node from the desktop.
10180 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10181 data `Info-history' and `slow' tag in the assoc list.
10182 (Info-restore-desktop-buffer): Don't restore nodes with the
10183 `slow' tag. Restore `Info-history'.
10185 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10187 Add FORCE argument to `delete-file'.
10189 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10190 forcing to delete the temporary file.
10191 (ange-ftp-delete-file): Add FORCE arg.
10192 (ange-ftp-rename-remote-to-remote)
10193 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10194 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10195 Force file deletion.
10197 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10199 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10200 (tramp-handle-make-symbolic-link, tramp-handle-load)
10201 (tramp-do-copy-or-rename-file-via-buffer)
10202 (tramp-do-copy-or-rename-file-directly)
10203 (tramp-do-copy-or-rename-file-out-of-band)
10204 (tramp-handle-process-file, tramp-handle-call-process-region)
10205 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10206 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10207 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10209 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10210 (tramp-fish-handle-make-symbolic-link)
10211 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10213 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10214 Use `tramp-compat-delete-file'.
10216 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10217 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10219 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10220 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10222 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10223 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10224 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10225 Use `tramp-compat-delete-file'.
10227 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10230 * subr.el (add-minor-mode): Use push.
10231 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10232 * emulation/edt.el (edt-select-mode): Simplify.
10234 Use define-minor-mode in more cases.
10235 * term/tvi970.el (tvi970-set-keypad-mode):
10236 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10237 (normal-erase-is-backspace-mode):
10238 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10239 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10240 (get-scroll-bar-mode): New function.
10241 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10243 Use define-minor-mode for less obvious cases.
10244 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10245 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10246 * international/iso-ascii.el (iso-ascii-mode):
10247 * frame.el (auto-raise-mode, auto-lower-mode):
10248 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10250 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10252 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10253 in order to see error messages for failed logins.
10255 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10257 * diff.el (diff-sentinel):
10259 * epg.el (epg--make-temp-file, epg-decrypt-string)
10260 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10262 * jka-compr.el (jka-compr-partial-uncompress)
10263 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10265 * server.el (server-sentinel): Use delete-file's new FORCE arg
10268 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10270 Use define-minor-mode where applicable.
10271 * view.el (view-mode):
10272 * type-break.el (type-break-query-mode)
10273 (type-break-mode-line-message-mode):
10274 * textmodes/reftex.el (reftex-mode):
10275 * term/vt100.el (vt100-wide-mode):
10276 * tar-mode.el (tar-subfile-mode):
10277 * savehist.el (savehist-mode):
10278 * ibuf-ext.el (ibuffer-auto-mode):
10279 * composite.el (auto-composition-mode):
10280 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10281 Use define-minor-mode.
10282 (vhdl-mode): Use static mode-line format.
10283 (vhdl-mode-line-update): Delete.
10284 (vhdl-create-mode-menu, vhdl-activate-customizations)
10285 (vhdl-hs-minor-mode): Don't bother calling it.
10287 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10289 * simple.el (with-wrapper-hook): Move.
10290 (buffer-substring-filters): Mark obsolete.
10291 (filter-buffer-substring-functions): New variable.
10292 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10294 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10295 Michael Albinus <michael.albinus@gmx.de>
10297 Implement compression for inline methods.
10299 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10300 (tramp-copy-size-limit): Allow also nil.
10301 (tramp-inline-compress-commands): New defconst.
10302 (tramp-find-inline-compress, tramp-get-inline-compress)
10303 (tramp-get-inline-coding): New defuns.
10304 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10305 replaced by `tramp-get-inline-coding'.
10306 (tramp-handle-file-local-copy, tramp-handle-write-region)
10307 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10309 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10311 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10312 Remove unused functions.
10314 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10315 Set find-tag-default-function as a variable rather than a property.
10317 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10318 * progmodes/etags.el (tags-completion-at-point-function):
10319 Remove left over interactive spec. Add autoloading stub.
10320 (complete-tag): Use tags-completion-at-point-function.
10322 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10324 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10326 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10328 * ido.el (ido-init-completion-maps): Remove C-v binding.
10329 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10331 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10333 * minibuffer.el (tags-completion-at-point-function): New function.
10334 (completion-at-point-functions): Use it.
10336 * progmodes/etags.el (complete-tag): Revert last change.
10338 2010-04-29 Alan Mackenzie <acm@muc.de>
10340 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10341 off-by-one error (in end of macro position).
10343 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10345 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10346 firefox is absent. Don't autoload.
10347 (browse-url-galeon-program): Don't autoload.
10349 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10351 * bindings.el (complete-symbol): Move into minibuffer.el.
10353 * minibuffer.el (complete-tag): Move from etags.el. If tags
10354 completion cannot be performed, return nil instead of signalling
10356 (completion-at-point): Make it an alias for complete-symbol.
10357 (complete-symbol): Move from bindings.el, and replace with the
10358 body of completion-at-point.
10360 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10362 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10364 * net/tramp.el (tramp-remote-selinux-p): New defun.
10365 (tramp-handle-file-selinux-context)
10366 (tramp-handle-set-file-selinux-context): Use it.
10368 2010-04-28 Sam Steingold <sds@gnu.org>
10370 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10371 `safe-local-variable' if the value is a string or a symbol with
10372 the property `bug-reference-url-format'.
10374 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10376 * progmodes/bug-reference.el (bug-reference-url-format):
10377 Revert 2010-04-27 change due to security risk.
10379 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10381 Make it possible to locally disable a globally enabled mode.
10382 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10383 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10384 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10385 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10386 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10387 that subsequent hooks get a chance to disable it.
10389 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10391 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10392 Avoid re-enabling a minor mode after the user turned the minor mode
10393 off if MODE-enable-in-buffers is run twice (typically once from
10394 fundamental-mode's after-change-major-mode-hook and a second time from
10395 run-mode-hook's own after-change-major-mode-hook).
10397 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10399 2010-04-27 Sam Steingold <sds@gnu.org>
10401 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10402 `safe-local-variable' if the value is a string or a function, as
10403 documented and implemented on 2010-04-02.
10405 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10407 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10408 when method is 'kill.
10410 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10412 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10413 condition in default directory check.
10414 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10415 Kill ispell process when killing its associated buffer.
10417 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10419 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10420 but we aren't using it.
10422 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10424 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10425 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10427 2010-04-24 Glenn Morris <rgm@gnu.org>
10429 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10430 Ignore VCS-ignore files, and deleted nextstep preferences files.
10431 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10432 (authors-ambiguous-files): New list.
10433 (authors-valid-file-names): Add some deleted files.
10434 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10435 (authors-disambiguate-file-name): New function. (Bug#5501)
10436 (authors-canonical-file-name): Doc fix.
10437 Don't warn about obsolete files.
10438 (authors-canonical-file-name, authors-scan-el):
10439 Use authors-disambiguate-file-name.
10441 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10442 Add autoload cookies.
10443 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10444 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10445 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10446 They have definitions / compiler macros in cl.el.
10447 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10448 Replace manual autoloads with generated ones.
10449 (htmlfontify-unload-rgb-file): Remove autoload.
10450 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10452 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10454 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10455 (byte-compile-setq-default): Optimize for the
10456 single-var case and don't call byte-compile-form in this case to avoid
10457 inf-loop with byte-compile-set-default.
10459 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10461 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10463 Implement SELINUX backends.
10465 * net/tramp.el (tramp-file-name-handler-alist):
10466 Add `file-selinux-context' and `set-file-selinux-context'.
10467 (tramp-handle-file-selinux-context)
10468 (tramp-handle-set-file-selinux-context): New defuns.
10469 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10470 Handle PRESERVE-SELINUX-CONTEXT.
10472 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10473 Add `file-selinux-context' and `set-file-selinux-context'.
10474 (tramp-gvfs-handle-file-selinux-context)
10475 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10476 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10478 * net/ange-ftp.el (ange-ftp-copy-file):
10479 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10480 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10481 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10482 Add PRESERVE-SELINUX-CONTEXT.
10484 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10486 Synchronize with Tramp repository.
10488 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10489 (tramp-action-process-alive, tramp-action-out-of-band)
10490 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10491 (tramp-exists-file-name-handler): Fix docstring.
10492 (with-progress-reporter): New defmacro.
10493 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10494 (tramp-maybe-open-connection): Use it.
10496 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10498 Detect ssh 'ControlMaster' argument automatically in some cases.
10500 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10501 (tramp-default-method): Use it.
10503 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10505 * net/tramp.el (tramp-handle-copy-file): Add new optional
10506 parameter `preserve-selinux-context'.
10507 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10509 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10511 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10512 Ensure, that non remote files are still checked. Oops.
10514 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10518 * icomplete.el (icomplete-completions): Use `non-essential'.
10520 * net/tramp.el (tramp-connectable-p): New defun.
10521 (tramp-handle-expand-file-name)
10522 (tramp-completion-handle-file-name-all-completions)
10523 (tramp-completion-handle-file-name-completion): Use it.
10525 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10527 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10529 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10531 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10533 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10535 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10538 * info.el (info-tool-bar-map): Add labels.
10540 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10542 * cus-edit.el (custom-commands): Add labels for tool bar.
10543 (custom-buffer-create-internal, Custom-mode): Adjust for
10544 labels in custom-commands.
10546 * dynamic-setting.el: Renamed from font-setting.el.
10548 2010-04-21 John Wiegley <jwiegley@gmail.com>
10550 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10551 toggles the use of virtual buffers.
10552 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10553 (ido-toggle-virtual-buffers): New function.
10555 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10557 Use `define-derived-mode'; fix window selection; doc fixes.
10558 * play/tetris.el (tetris, tetris-update-speed-function)
10559 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10560 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10561 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10562 (tetris-pause-game): Fix typos in docstrings.
10563 (tetris-mode-map, tetris-null-map):
10564 Move initialization into declaration.
10565 (tetris-mode): Define with `define-derived-mode';
10566 set show-trailing-whitespace to nil.
10567 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10569 2010-04-21 Karel Klíč <kklic@redhat.com>
10571 * files.el (backup-buffer): Handle SELinux context, and return it
10572 if a backup was made by renaming.
10573 (backup-buffer-copy): Set SELinux context to the target file.
10574 (basic-save-buffer): Set SELinux context of the newly written file.
10575 (basic-save-buffer-1): Now it also returns any SELinux context.
10576 (basic-save-buffer-2): Set SELinux context of the newly created file,
10578 * net/tramp.el (tramp-file-name-for-operation):
10579 Add file-selinux-context.
10581 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10583 Make the log-edit comments use RFC822 format throughout.
10585 * vc.el (vc-checkin, vc-modify-change-comment):
10586 Adjust to new vc-start/finish-logentry.
10587 (vc-find-conflicted-file): New command.
10588 (vc-transfer-file): Adjust to new vc-checkin.
10589 (vc-next-action): Improve scoping.
10591 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10592 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10594 * vc-git.el (vc-git-log-edit-mode): Remove.
10595 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10596 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10598 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10599 (vc-start-logentry): Remove argument `extra'.
10600 (vc-finish-logentry): Remove extra args.
10602 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10603 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10604 (vc-bzr-conflicted-files): New function.
10606 * log-edit.el (log-edit-extra-flags)
10607 (log-edit-before-checkin-process): Remove.
10608 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10609 (log-edit-headers-alist): New var.
10610 (log-edit-header-contents-regexp): New const.
10611 (log-edit-match-to-eoh): New function.
10612 (log-edit-font-lock-keywords): Use them.
10613 (log-edit): Insert a "Summary:" header as default.
10614 (log-edit-mode): Mark font-lock rules as case-insensitive.
10615 (log-edit-done): Cleanup headers.
10616 (log-view-process-buffer): Remove.
10617 (log-edit-extract-headers): New function to replace it.
10619 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10621 * subr.el (default-direction-reversed): Remove obsolescence info.
10623 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10625 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10628 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10629 I.e. include text after point in the completion region.
10630 Also, return nil when we're not after/in a symbol.
10632 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10633 default enable-multibyte-characters.
10635 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10637 * international/mule.el: Help the user choose a valid coding-system.
10638 (read-buffer-file-coding-system): New function.
10639 (set-buffer-file-coding-system): Use it. Prompt the user if the
10640 coding-system cannot encode all the chars.
10642 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10643 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10644 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10645 Don't use *vc-bzr-shelve*.
10647 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10649 Fix the version number for added files.
10650 * vc-hg.el (vc-hg-working-revision): Check if the file is
10651 registered after hg parent fails (Bug#5961).
10653 2010-04-19 Glenn Morris <rgm@gnu.org>
10655 * htmlfontify.el (htmlfontify-buffer)
10656 (htmlfontify-copy-and-link-dir): Autoload entry points.
10658 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10660 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10661 name relative to the project root (Bug#5960).
10663 2010-04-19 Glenn Morris <rgm@gnu.org>
10665 * vc-git.el (vc-git-print-log): Doc fix.
10667 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10669 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10671 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10673 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10674 default settings (Bug#5928).
10676 2010-04-19 Glenn Morris <rgm@gnu.org>
10678 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10680 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10682 2010-04-19 Kenichi Handa <handa@m17n.org>
10684 * language/indian.el (malayalam-composable-pattern): Fix previous
10685 change (add U+0D4D "SIGN VIRAMA").
10686 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10687 (tamil-composable-pattern): Fix typo in the regexp.
10688 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10689 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10690 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10692 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10694 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10695 paragraph-separate (Bug#5821).
10697 2010-04-19 Juri Linkov <juri@jurta.org>
10699 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10701 * info.el (Info-find-node-2): Comment out code that skips
10703 (Info-mouse-follow-link): New command.
10704 (Info-link-keymap): New keymap.
10705 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10706 Return a string with links instead of inserting breadcrumbs
10707 to the Info buffer.
10708 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10709 Instead of putting the `invisible' text property over the Info
10710 header, make an overlay over the Info header with the `invisible'
10711 property and `after-string' set to the string returned by
10712 `Info-breadcrumbs'.
10714 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10716 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10717 Reported by monkey@sandpframing.com.
10719 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10721 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10722 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10723 available in the "keyseq cache" any more.
10725 * custom.el (defcustom): Add edebug spec.
10727 2010-04-18 Juri Linkov <juri@jurta.org>
10729 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10731 * view.el (view-file, view-buffer): Move test for special mode-class
10732 from view-file to view-buffer.
10734 * tar-mode.el (tar-extract): Turn if's into one cond
10735 like in arc-mode.el.
10737 2010-04-18 Juri Linkov <juri@jurta.org>
10739 Add 7z archive format support (bug#5475).
10741 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10742 (archive-7z-extract): New defcustom.
10743 (archive-find-type): Add magic string for 7z.
10744 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10745 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10746 `buffer' arg of `call-process'.
10747 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10748 call the function `archive-7z-extract' with the variable
10749 `archive-7z-extract' let-bound to `archive-zip-extract'.
10750 (archive-7z-summarize, archive-7z-extract): New functions.
10752 * international/mule.el (auto-coding-alist):
10753 * files.el (auto-mode-alist): Add 7z file extension.
10755 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10757 * loadup.el: Setup hash-cons for pure data.
10759 Fix duplicate entries in cedet's loaddefs.el files.
10760 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10761 Should make most file-local generated-autoload-file unnecessary.
10762 (print-readably): Silence warnings.
10763 (autoload-find-destination): Take load-name as an arg to make sure
10764 it's the same as the one that will be in the file.
10765 (autoload-generate-file-autoloads): Adjust to above changes.
10766 Try to make the dataflow a bit simpler.
10768 * cvs-status.el (cvs-refontify): Remove unused.
10770 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10772 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10774 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10775 twos-complement mode.
10777 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10779 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10780 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10781 (calc-inverse): Add "Option" to message, as appropriate.
10782 (calc-hyperbolic): Add "Option" to message, as appropriate.
10783 (calc-option, calc-is-option): New functions.
10785 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10786 (calc-option-prefix-help): New function.
10788 * calc/calc-misc.el (calc-help): Add "Option" entry.
10790 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10791 (calc-option-flag): New variable.
10792 (calc-do): Set `calc-option-flag to nil.
10793 (calc-set-mode-line): Add "Opt " as appropriate.
10795 2010-04-16 Juri Linkov <juri@jurta.org>
10797 Move scrolling commands from simple.el to window.el
10798 because their primitives are implemented in window.c.
10800 * simple.el (scroll-error-top-bottom)
10801 (scroll-up-command, scroll-down-command, scroll-up-line)
10802 (scroll-down-line, scroll-other-window-down)
10803 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10804 * window.el (scroll-error-top-bottom)
10805 (scroll-up-command, scroll-down-command, scroll-up-line)
10806 (scroll-down-line, scroll-other-window-down)
10807 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10808 Move from simple.el to window.el because their primitives are
10809 implemented in window.c.
10811 2010-04-16 Juri Linkov <juri@jurta.org>
10813 * isearch.el (isearch-lookup-scroll-key): Check both
10814 `isearch-scroll' and `scroll-command' properties.
10815 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10817 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10819 * simple.el (scroll-up-command, scroll-down-command)
10820 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10822 2010-04-15 Juri Linkov <juri@jurta.org>
10824 * simple.el (scroll-up-command, scroll-down-command)
10825 (scroll-up-line, scroll-down-line): Put `scroll-command'
10826 property on the these symbols. Remove them from
10827 `scroll-preserve-screen-position-commands'.
10829 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10830 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10831 Remove it from `scroll-preserve-screen-position-commands'.
10833 * isearch.el (isearch-allow-scroll): Doc fix.
10835 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10837 * net/tramp.el (tramp-error-with-buffer): Don't show the
10838 connection buffer when we are in completion mode.
10839 (tramp-file-name-handler): Catch the error for some operations
10840 when we are in completion mode. This gives the user the chance to
10841 correct the file name in the minibuffer.
10843 2010-04-15 Glenn Morris <rgm@gnu.org>
10845 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10847 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10849 Simplify by using `define-derived-mode'.
10850 * info.el (Info-mode):
10851 * calendar/todo-mode.el (todo-mode):
10852 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10853 (gomoku-mode-map): Move initialization into declaration.
10855 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10858 * ido.el (ido-file-name-all-completions-1):
10859 * minibuffer.el (minibuffer-completion-help):
10860 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10862 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10864 * simple.el (non-essential): New var.
10866 Add a new field `location' to bookmarks for non-file bookmarks.
10867 * bookmark.el (bookmark-location): Use the new field, if present.
10868 (bookmark-insert-location): Undo last change, not needed any more.
10869 * man.el (Man-bookmark-make-record):
10870 * woman.el (woman-bookmark-make-record): Add `location' field.
10872 2010-04-14 Juri Linkov <juri@jurta.org>
10874 * simple.el (scroll-error-top-bottom): New defcustom.
10875 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10877 * emulation/pc-select.el (pc-select-override-scroll-error):
10878 Obsolete in favor of `scroll-error-top-bottom'.
10880 2010-04-14 Juri Linkov <juri@jurta.org>
10882 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10883 `scroll-up-command' and `M-v' to `scroll-down-command'.
10885 * emulation/cua-rect.el (cua--init-rectangles):
10886 * forms.el (forms--change-commands):
10887 * image-mode.el (image-mode-map):
10888 Remap scroll-down-command and scroll-up-command
10889 in addition to scroll-down and scroll-up.
10891 2010-04-14 Juri Linkov <juri@jurta.org>
10893 * mwheel.el (scroll-preserve-screen-position-commands):
10894 Add mwheel-scroll to this list of commands.
10896 * simple.el (scroll-preserve-screen-position-commands):
10897 Add scroll-up-command, scroll-down-command, scroll-up-line,
10898 scroll-down-line to this list of commands.
10900 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10902 * obsolete/complete.el: Move from lisp/complete.el.
10904 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10906 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10907 to the minor mode function now turns the mode ON unconditionally.
10909 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10911 * vc-dir.el (vc-dir-kill-line): New command.
10912 (vc-dir-mode-map): Bind it to C-k.
10914 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10916 * woman.el: Add bookmark declarations to silence the compiler.
10917 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10918 step to compatibility between man and woman bookmarks.
10919 Adjust for Man-default-bookmark-title renaming.
10920 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10922 * man.el: Add bookmark declarations to silence the compiler.
10923 (Man-name-local-regexp): Make it match NAME as well.
10924 (Man-getpage-in-background): Return the buffer.
10925 (Man-notify-when-ready): Use `case'.
10926 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10927 Don't hardcode "NAME". Simplify.
10928 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10929 Rename from Man-bookmark-make-record.
10930 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10931 we have the actual man-args. Use Man-getpage-in-background rather
10932 than `man' since the arg is already processed. Let bookmark.el do the
10933 window handling. Only wait for the relevant process.
10934 Don't forget to autoload.
10936 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10938 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10940 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10942 (woman-mode): Setup bookmark support.
10944 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10945 (man-bookmark-jump): New functions.
10946 (Man-mode): Setup bookmark support.
10948 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10950 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10951 recognize ssh-keygen prompt (Bug#2817).
10953 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10955 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10957 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10959 Synchronize with Tramp repository.
10961 * net/tramp.el (tramp-completion-function-alist)
10962 (tramp-file-name-regexp, tramp-chunksize)
10963 (tramp-local-coding-commands, tramp-remote-coding-commands):
10965 (tramp-remote-process-environment): Use `format' instead of `concat'.
10966 (tramp-handle-directory-files-and-attributes)
10967 (tramp-get-remote-path): Use `copy-tree'.
10968 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10969 compatibility: Use `completion-ignore-case' if
10970 `read-file-name-completion-ignore-case' does not exist.
10971 (tramp-do-copy-or-rename-file-directly): Do not use
10972 `tramp-handle-file-remote-p'.
10973 (tramp-do-copy-or-rename-file-out-of-band):
10974 Use `tramp-compat-delete-directory'.
10975 (tramp-do-copy-or-rename-file-out-of-band)
10976 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10977 Use `format-spec-make'.
10978 (tramp-find-foreign-file-name-handler)
10979 (tramp-advice-make-auto-save-file-name)
10980 (tramp-set-auto-save-file-modes): Remove superfluous check for
10981 `stringp'. This is done inside `tramp-tramp-file-p'.
10982 (tramp-debug-outline-regexp): New defconst.
10983 (tramp-get-debug-buffer): Use it.
10984 (tramp-check-for-regexp): Use (forward-line 1).
10985 (tramp-set-auto-save-file-modes): Adapt version check.
10987 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10988 Wrap call of `featurep' for 2nd argument.
10989 (tramp-compat-make-temp-file): Simplify fallback implementation.
10990 (tramp-compat-copy-tree): Remove function.
10991 (tramp-compat-delete-directory): Provide implementation for older
10994 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10995 Do not use `tramp-fish-handle-file-attributes.
10997 * net/trampver.el: Update release number.
10999 2010-04-10 Glenn Morris <rgm@gnu.org>
11001 * progmodes/compile.el (compilation-save-buffers-predicate):
11002 Add missing :version tag.
11004 2010-04-09 Sam Steingold <sds@gnu.org>
11006 * progmodes/compile.el (compilation-save-buffers-predicate):
11007 Remove the "autoload" cookie.
11009 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11010 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11011 and `bug-reference-prog-mode' can be used in hooks directly.
11013 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11015 Add --author support to git commit.
11016 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11017 (vc-git-log-edit-mode): New minor mode.
11018 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11021 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11023 * vc-hooks.el, vc-git.el: Improve documentation comments.
11025 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11027 Fix some of the problems in defsubst* (bug#5728).
11028 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11029 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11031 2010-04-07 Sam Steingold <sds@gnu.org>
11033 * progmodes/compile.el (compilation-save-buffers-predicate):
11034 New custom variable.
11035 (compile, recompile): Pass it to `save-some-buffers'.
11037 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11039 * wid-edit.el (widget-choose): Move cursor to the second line of
11040 the buffer (Bug#5695).
11042 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11044 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11045 * vc.el (vc-print-log-setup-buttons): New function split out from
11046 vc-print-log-internal.
11047 (vc-log-internal-common): New function, a parametrized version of
11048 vc-print-log-internal.
11049 (vc-print-log-internal): Just call vc-log-internal-common with the
11051 (vc-incoming-outgoing-internal):
11052 (vc-log-incoming, vc-log-outgoing): New functions.
11053 (vc-log-view-type): New permanent local variable.
11055 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11057 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11058 of the dynamic bound vc-short-log.
11059 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11061 * vc-git.el (vc-git-log-outgoing): New function.
11062 (vc-git-log-view-mode): Use vc-log-view-type instead
11063 of the dynamic bound vc-short-log.
11065 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11066 of the dynamic bound vc-short-log. Highlight the tag.
11067 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11068 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11069 (vc-hg-incoming-mode): Remove.
11070 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11072 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11074 Fix default-directory for vc-root-diff.
11075 * vc.el (vc-root-diff): Bind default-directory to the root
11076 directory for the diff command.
11078 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11080 * progmodes/verilog-mode.el (verilog-forward-sexp):
11081 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11082 word keywords, suggested by Steve Pearlmutter.
11083 (verilog-pretty-declarations): Support lineup of declarations in
11085 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11086 fix bug for /* / comments.
11087 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11088 Speed up and simplfy as this is never called with a bound.
11089 (verilog-pretty-declarations): Enhance to line up declarations
11090 inside a parameter list, suggested by Alan Morgan.
11091 (verilog-pretty-expr): Tune assignment regular expression match
11092 string for corner cases; also use markers instead of character
11093 number as indent changes the later.
11095 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11097 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11098 as missing keyword.
11099 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11100 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11101 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11102 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11104 (verilog-keywords):
11105 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11106 1800-2009 keywords, including "global.".
11108 2010-04-06 John Wiegley <jwiegley@gmail.com>
11110 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11111 appearing in buffer list (if a live buffer name matched a recentf
11112 file basename). Should use uniquify to offer a real solution.
11114 2010-04-06 John Wiegley <jwiegley@gmail.com>
11116 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11117 comment to code, and add a :version tag.
11118 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11120 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11122 Enable recentf-mode if using virtual buffers.
11123 * ido.el (recentf-list): Declare for byte-compiler.
11124 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11125 (ido-make-buffer-list): Simplify.
11126 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11128 2010-04-05 Juri Linkov <juri@jurta.org>
11130 Scrolling commands which scroll a line instead of full screen.
11131 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11133 * simple.el (scroll-up-line, scroll-down-line): New commands.
11134 Put property isearch-scroll=t on them.
11136 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11139 2010-04-05 Juri Linkov <juri@jurta.org>
11141 Scrolling commands which do not signal errors at top/bottom.
11142 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11144 * simple.el (scroll-up-command, scroll-down-command): New commands.
11145 Put property isearch-scroll=t on them.
11147 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11148 `scroll-down-command' and [next] from `scroll-up' to
11149 `scroll-up-command'.
11151 * emulation/cua-base.el: Put property CUA=move on
11152 `scroll-up-command' and `scroll-down-command'.
11153 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11154 and `scroll-down-command' to `cua-scroll-down'.
11156 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11158 * help.el (describe-mode): Return nil.
11160 2010-04-04 John Wiegley <jwiegley@gmail.com>
11162 * ido.el (ido-use-virtual-buffers): New variable to indicate
11163 whether "virtual buffer" support is enabled for IDO.
11164 (ido-virtual): Face used to indicate virtual buffers in the list.
11165 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11166 exists, but a virtual buffer of that name does (which would be why
11167 it was in the list), recreate the buffer by reopening the file.
11168 (ido-make-buffer-list): If virtual buffers are being used, call
11169 `ido-add-virtual-buffers-to-list' before the make list hook.
11170 (ido-virtual-buffers): New variable which contains a copy of the
11171 current contents of the `recentf-list', albeit pared down for the
11172 sake of speed, and with proper faces applied.
11173 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11174 create a list of "virtual buffers" to present to the user in
11175 addition to the currently open set. Note that this logic could
11176 get rather slow if that list is too large. With the default
11177 `recentf-max-saved-items' of 200, there is little speed penalty.
11179 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11181 * font-lock.el: Require CL when compiling.
11182 (font-lock-turn-on-thing-lock): Use `case'.
11184 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11186 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11189 2010-04-02 Juri Linkov <juri@jurta.org>
11191 * ehelp.el (electric-help-orig-major-mode):
11192 New buffer-local variable.
11193 (electric-help-mode): Set it to original major-mode. Doc fix.
11194 (with-electric-help): Use `electric-help-orig-major-mode' instead
11195 of (default-value 'major-mode). Doc fix.
11196 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11198 2010-04-02 Sam Steingold <sds@gnu.org>
11200 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11201 `vc-hg-command' with a list of flags.
11203 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11204 Also accept "patch" and "RFE".
11205 (bug-reference-fontify): `bug-reference-url-format' can also be a
11206 function to be able to handle the bug kind.
11207 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11209 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11211 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11212 value to fboundp, it may not be a symbol.
11214 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11216 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11218 2010-03-31 Juri Linkov <juri@jurta.org>
11220 * simple.el (next-line, previous-line): Re-throw a signal
11221 with `signal' instead of using `ding'.
11222 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11224 2010-03-31 Juri Linkov <juri@jurta.org>
11226 * simple.el (keyboard-escape-quit): Raise deselecting the active
11227 region higher than exiting the minibuffer.
11228 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11230 2010-03-31 Juri Linkov <juri@jurta.org>
11232 * image.el (image-animated-p): Use `image-metadata' instead of
11233 `image-extension-data'. Get GIF extenstion data from metadata
11234 property `extension-data'.
11236 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11238 * simple.el (append-to-buffer): Simplify.
11240 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11242 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11243 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11245 2010-03-31 Kenichi Handa <handa@m17n.org>
11247 * language/sinhala.el (composition-function-table): Fix regexp for
11248 the new Unicode specification.
11250 * language/indian.el (devanagari-composable-pattern)
11251 (tamil-composable-pattern, kannada-composable-pattern)
11252 (malayalam-composable-pattern): Adjust for the new Unicode
11254 (bengali-composable-pattern, gurmukhi-composable-pattern)
11255 (gujarati-composable-pattern, oriya-composable-pattern)
11256 (telugu-composable-pattern): New variables to cope with the new
11257 Unicode specification. Use them in composition-function-table.
11259 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11261 Make tmm-menubar work for the Buffers menu again (bug#5726).
11262 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11263 vectors rather than cons cells, as used in menu-bar-update-buffers.
11265 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11267 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11268 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11269 electric punctuation for "{}();,:" (Bug#5586).
11271 * mail/sendmail.el (mail-default-directory): Doc fix.
11273 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11275 * mail/sendmail.el (mail-default-directory): Doc fix.
11277 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11279 * subr.el (version-regexp-alist, version-to-list)
11280 (version-list-<, version-list-=, version-list-<=)
11281 (version-list-not-zero, version<, version<=, version=): Doc fix.
11284 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11286 * vc.el (vc-root-diff): Doc fix.
11288 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11290 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11292 * simple.el (append-to-buffer): Fix last change.
11294 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11296 * simple.el (append-to-buffer): Ensure that point is preserved if
11297 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11300 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11302 * files.el (auto-mode-case-fold): Change default to t.
11304 2010-03-30 Juri Linkov <juri@jurta.org>
11306 * dired-x.el (dired-omit-mode): Doc fix.
11308 2010-03-30 Juri Linkov <juri@jurta.org>
11310 * replace.el (occur-accumulate-lines): Move occur-engine related
11311 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11312 to be located after `occur-engine'.
11314 2010-03-30 Juri Linkov <juri@jurta.org>
11316 Make occur handle multi-line matches cleanly with context.
11317 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11319 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11320 (occur-engine): Add local variables `ret', `prev-after-lines',
11321 `prev-lines'. Use more arguments for `occur-context-lines'.
11322 Set first elem of its returned list to `data', and the second elem
11323 to `prev-after-lines'. Don't print the separator line.
11324 In the end, print remaining context after-lines.
11325 (occur-context-lines): Add new arguments `begpt', `endpt',
11326 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11327 after-lines of the previous match with before-lines of the
11328 current match and not overlap them. Return a list with two
11329 values: the output line and the list of context after-lines.
11331 2010-03-30 Juri Linkov <juri@jurta.org>
11333 * replace.el (occur-accumulate-lines): Fix a bug where the first
11334 context line at the beginning of the buffer was missing.
11336 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11338 * files.el: Make bidi-display-reordering safe variable for boolean
11341 2010-03-29 Phil Hagelberg <phil@evri.com>
11342 Chong Yidong <cyd@stupidchicken.com>
11344 * subr.el: Extend progress reporters to perform "spinning".
11345 (progress-reporter-update, progress-reporter-do-update):
11346 Handle non-numeric value arguments.
11347 (progress-reporter--pulse-characters): New var.
11349 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11351 * progmodes/compile.el (compilation-start): Fix regexp detection
11352 of initial cd command (Bug#5771).
11354 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11356 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11358 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11360 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11361 * progmodes/gdb-mi.el: Restore.
11362 * progmodes/gdb-ui.el: Remove.
11363 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11365 2010-03-25 Glenn Morris <rgm@gnu.org>
11367 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11368 all dired buffers, even tramp ones. (Bug#5755)
11370 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11372 Add "union tags" in mpc.el.
11373 * mpc.el: Remove backward compatibility code.
11374 (mpc-browser-tags): Change default.
11375 (mpc--find-memoize-union-tags): New var.
11376 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11377 (mpc-cmd-find): Handle the case where the playlist does not exist.
11379 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11380 (mpc-cmd-add): Use mpc-cmd-flush.
11381 (mpc-tagbrowser-tag-name): New fun.
11382 (mpc-tagbrowser-buf): Use it.
11383 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11385 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11388 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11389 Use replace-regexp-in-string.
11390 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11391 (makefile-imake-mode-syntax-table): Move init into defvar.
11392 (makefile-mode): Use define-derived-mode.
11394 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11395 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11396 not be present any more.
11398 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11400 * faces.el (set-face-attribute): Fix typo in docstring.
11401 (face-valid-attribute-values): Reflow docstring.
11403 2010-03-24 Glenn Morris <rgm@gnu.org>
11405 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11407 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11409 * indent.el (indent-for-tab-command): Doc fix.
11411 2010-03-24 Alan Mackenzie <acm@muc.de>
11413 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11414 Fix off-by-one error. Fixes bug #5747.
11416 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11418 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11419 (image-dired-read-comment): Doc fix.
11421 * json.el (json-object-type, json-array-type, json-key-type)
11422 (json-false, json-null, json-read-number):
11423 * minibuffer.el (completion-in-region-functions):
11424 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11425 (cal-tex-cursor-week):
11426 * emacs-lisp/trace.el (trace-function):
11427 * eshell/em-basic.el (eshell/printnl):
11428 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11429 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11430 * obsolete/levents.el (allocate-event, event-key, event-object)
11431 (event-point, event-process, event-timestamp, event-to-character)
11432 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11433 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11434 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11435 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11436 (reftex-highlight-selection): Fix typos in docstrings.
11438 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11440 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11442 2010-03-24 Glenn Morris <rgm@gnu.org>
11444 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11445 2008-02-13 without comment; mark it obsolete.
11446 (rmail-highlight-headers): Use rmail-highlight-face once more.
11448 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11450 * woman.el (woman2-process-escapes): Only consume the newline if
11451 the filler character is on a line by itself (Bug#5729).
11453 2010-03-24 Kenichi Handa <handa@m17n.org>
11455 * language/indian.el (devanagari-composable-pattern): Add more
11458 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11460 * net/trampver.el: Update release number.
11462 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11464 * net/tramp.el (tramp-find-executable):
11465 Use `tramp-get-connection-buffer'. Make the regexp for checking
11466 output of "wc -l" more robust.
11467 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11468 (tramp-open-connection-setup-interactive-shell): Remove workaround
11469 for OpenSolaris bug, it is not needed anymore.
11471 2010-03-24 Glenn Morris <rgm@gnu.org>
11473 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11475 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11477 * files.el (auto-mode-alist): Accept more verilog file patterns.
11479 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11481 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11483 2010-03-24 Glenn Morris <rgm@gnu.org>
11485 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11486 log-edit-before-checkin-process.
11488 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11490 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11492 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11493 (log-view-process-buffer, log-edit-extra-flags): Declare.
11495 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11497 2010-03-23 Sam Steingold <sds@gnu.org>
11499 Fix bug#5620: recalculate all markers on compilation buffer
11500 modifications, not on file modifications.
11501 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11502 variable: the buffer modification time, for buffers not associated with
11504 (compilation-mode): Create it.
11505 (compilation-filter): Update it.
11506 (compilation-next-error-function): Use it instead of
11507 `visited-file-modtime' for timestamp.
11509 2010-03-23 Juri Linkov <juri@jurta.org>
11511 Implement Occur multi-line matches.
11512 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11514 * replace.el (occur): Doc fix.
11515 (occur-engine): Set `begpt' to the beginning of the first line.
11516 Set `endpt' to the end of the last match line. At first, count
11517 line numbers between `origpt' and `begpt'. Split out code from
11518 `out-line' variable to new let-bindings `match-prefix' and
11519 `match-str'. In `out-line' add non-numeric prefix to all
11520 non-first lines of multi-line matches. Finally, count lines
11521 between `begpt' and `endpt' and add to `lines'.
11523 2010-03-23 Juri Linkov <juri@jurta.org>
11525 * replace.el (occur-accumulate-lines, occur-engine):
11526 Use `occur-engine-line' instead of duplicate code.
11527 (occur-engine-line): New function created from duplicate code
11528 in `occur-accumulate-lines' and `occur-engine'.
11530 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11531 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11533 2010-03-23 Juri Linkov <juri@jurta.org>
11535 * finder.el: Remove TODO tasks.
11537 * info.el (Info-finder-find-node): Add node "all"
11538 with all package info. Handle a list of multiple keywords
11539 separated by comma.
11540 (info-finder): In interactive use with a prefix argument,
11541 use `completing-read-multiple' to read a list of keywords
11542 separated by comma.
11544 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11546 Add a new completion style `substring'.
11547 * minibuffer.el (completion-basic--pattern): New function.
11548 (completion-basic-try-completion, completion-basic-all-completions):
11550 (completion-substring--all-completions)
11551 (completion-substring-try-completion)
11552 (completion-substring-all-completions): New functions.
11553 (completion-styles-alist): New style `substring'.
11555 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11557 Get rid of .elc files after removal of the corresponding .el.
11558 * Makefile.in (compile-clean): New target.
11559 (compile-main): Use it.
11561 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11563 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11564 don't do make there. When compiling with separate object dir, there
11565 is no Makefile there.
11567 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11569 Get rid of the ELCFILES abomination, again.
11570 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11571 (all, compile): Don't call compile-last.
11572 (compile-main): Build the "elcfiles" list dynamically.
11573 (compile-targets): New (internal) target.
11575 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11577 * Makefile.in (top_srcdir): Define.
11578 (abs_top_builddir): Define.
11579 (srcdir): Don't append `/..'.
11580 (EMACS): Use ${abs_top_builddir}.
11581 (all, compile, compile-always, compile-last): Don't set emacswd.
11582 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11584 (lisp): Use $(srcdir) instead of @srcdir@.
11586 2010-03-21 Juri Linkov <juri@jurta.org>
11588 Fix message of multi-line occur regexps and multi-buffer header lines.
11589 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11591 * replace.el (occur-1): Don't display regexp if it is longer
11592 than window-width. Use `query-replace-descr' to display regexp.
11593 (occur-engine): Don't display regexp in the buffer header for
11594 multi-buffer occur. Display a separate header line with total
11595 match count and regexp for multi-buffer occur.
11596 Use `query-replace-descr' to display regexp.
11598 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11600 * net/secrets.el: Fix parenthesis.
11601 (secrets-enabled): Fix parenthesis.
11603 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11605 Use more relative file and directory names.
11606 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11607 (setwins, setwins_almost, setwins_for_subdirs):
11608 Don't `cd'; output relative names.
11609 (all, compile, compile-always, compile-last): Set emacswd.
11610 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11611 Just cd to the lisp source dir so we can use relative file names.
11613 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11615 2010-03-20 Glenn Morris <rgm@gnu.org>
11617 * textmodes/rst.el: Use faces for font-lock customization, and make the
11618 old -face variables obsolete.
11619 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11620 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11621 (rst-block-face, rst-external-face, rst-definition-face)
11622 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11623 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11625 (rst-font-lock-keywords-function): Update for above changes.
11627 2010-03-20 Juri Linkov <juri@jurta.org>
11630 * obsolete/s-region.el: Move to obsolete.
11632 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11634 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11636 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11638 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11640 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11642 Add special markup processing for commit logs.
11643 * log-edit.el (log-edit-extra-flags): New variable.
11644 (log-edit): Add new argument MODE. Use that mode when non-nil
11645 instead of the log-view-mode.
11646 (log-view-process-buffer): New function.
11648 * vc.el: Document that the checkin method takes optional
11649 arguments. Document new backend specific method: log-view-mode.
11650 (vc-default-log-edit-mode): New function.
11651 (vc-checkin): Use a backend specific log-view-mode.
11652 Pass extra arguments to the checkin method.
11653 (vc-modify-change-comment): Pass a dummy extra argument.
11655 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11657 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11658 (vc-finish-logentry): Process the log buffer before passing it
11659 down. Pass log-edit-extra-flags.
11661 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11663 (log-edit-extra-flags, log-edit-before-checkin-process):
11666 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11668 (log-edit-extra-flags, log-edit-before-checkin-process):
11670 (vc-hg-log-edit-mode): New derived mode.
11672 * vc-arch.el (vc-arch-checkin):
11673 * vc-cvs.el (vc-cvs-checkin):
11674 * vc-git.el (vc-git-checkin):
11675 * vc-mtn.el (vc-mtn-checkin):
11676 * vc-rcs.el (vc-rcs-checkin):
11677 * vc-sccs.el (vc-sccs-checkin):
11678 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11680 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11682 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11685 2010-03-19 Glenn Morris <rgm@gnu.org>
11687 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11689 2010-03-18 Glenn Morris <rgm@gnu.org>
11691 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11693 * replace.el (query-replace-history): Give it a doc string.
11694 (map-query-replace-regexp): Use query-replace-from-history-variable
11695 and query-replace-to-history-variable.
11697 * mail/hashcash.el (declare-function): Remove duplicate definition.
11699 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11700 Make it an obsolete alias for report-emacs-bug-address.
11701 (message-strip-special-text-properties): Declare.
11702 (report-emacs-bug): Remove test for a pretest bug address.
11703 Combine message-mode-specific code.
11705 * mail/supercite.el: Don't require sendmail.
11706 (mh-in-header-p): Declare rather than using with-no-warnings.
11707 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11708 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11710 * calendar/cal-french.el: Convert to utf-8.
11712 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11715 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11717 * net/secrets.el (secrets-enabled): New variable. Use it instead
11720 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11722 * net/secrets.el (top): Register the D-Bus signals only when the
11723 service "org.freedesktop.secrets" can be pinged.
11724 Provide subfeature `enabled'.
11726 2010-03-14 Juri Linkov <juri@jurta.org>
11728 Add finder unknown keywords.
11730 * finder.el (finder-unknown-keywords): New function.
11732 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11733 to create a Finder node with unknown keywords.
11735 2010-03-14 Juri Linkov <juri@jurta.org>
11737 * finder.el (finder-compile-keywords): Replace `princ' with
11738 `prin1' on a list of symbols interned from keyword strings.
11740 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11741 a comma, then split keywords using a comma and optional whitespace.
11742 Otherwise, split by whitespace.
11750 * progmodes/mixal-mode.el: Fix keywords.
11752 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11754 * Makefile.in (ELCFILES): Add net/secrets.elc.
11756 * net/secrets.el: New file.
11758 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11760 * facemenu.el (list-colors-display, list-colors-print): New arg
11761 callback. Use it to allow selecting colors.
11763 * wid-edit.el (widget-image-insert): Insert image prop even if the
11764 current display is non-graphic.
11765 (widget-field-value-set): New fun.
11766 (editable-field): Use it.
11767 (widget-field-value-get): Clean up unused var.
11768 (widget-color-value-create, widget-color--choose-action):
11769 New funs. Allow using list-colors-display to choose color.
11771 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11773 * cus-edit.el: Resort topmost custom groups.
11774 (custom-buffer-sort-alphabetically): Default to t.
11775 (customize-apropos): Use apropos-parse-pattern.
11776 (custom-search-field): New var.
11777 (custom-buffer-create-internal): Add custom-apropos search field.
11778 (custom-add-parent-links): Don't display parent doc.
11779 (custom-group-value-create): Don't sort top-level custom group.
11780 (custom-magic-value-create): Show visibility button before option name.
11782 (custom-variable-state): New fun, from custom-variable-state-set.
11783 (custom-variable-state-set): Use it.
11784 (custom-group-value-create): Hide options with standard values
11785 using the :hidden-states property. Use progress reporter.
11787 (custom-show): Simplify.
11788 (custom-visibility): Disable images by default.
11789 (custom-variable): New property :hidden-states.
11790 (custom-variable-value-create): Enable images for
11791 custom-visibility widgets. Use :hidden-states property to
11792 determine initial visibility.
11794 * wid-edit.el (widget-image-find): Give images center ascent.
11795 (visibility): Add :on-image and :off-image properties.
11796 (widget-visibility-value-create): Use them.
11798 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11800 * cus-edit.el (processes): Remove from development group.
11801 (oop, hypermedia): Delete group.
11802 (comm): Promote to top-level group.
11804 * net/browse-url.el (browse-url):
11805 * net/xesam.el (xesam):
11806 * net/tramp.el (tramp):
11807 * net/goto-addr.el (goto-address):
11808 * net/ange-ftp.el (ange-ftp): Put in comm group.
11810 * view.el (view): Remove from editing group.
11812 * uniquify.el (uniquify): Put in files group.
11814 * net/browse-url.el (browse-url):
11815 * ps-print.el (postscript): Put in external group.
11817 * cus-edit.el (outlines):
11818 * textmodes/text-mode.el (text-mode-hook):
11819 * textmodes/table.el (table):
11820 * textmodes/picture.el (picture):
11821 * outline.el (outlines): Put in wp group.
11823 * nxml/nxml-mode.el (nxml): Remove from wp group.
11825 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11827 * mail/metamail.el (metamail): Remove from hypermedia group.
11829 * cus-edit.el (abbrev):
11830 * whitespace.el (whitespace):
11831 * vcursor.el (vcursor):
11832 * reveal.el (reveal):
11833 * hl-line.el (hl-line): Put in convenience group.
11835 * epg-config.el (epg): Put in data group.
11837 * emulation/pc-select.el (pc-select): Put in emulations group.
11839 * calculator.el (calculator): Put in applications group.
11841 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11843 Add .dir-locals.el support for file-less buffers.
11844 * files.el (hack-local-variables): Split out code to apply local
11845 variable settings ...
11846 (hack-local-variables-apply): ... here. New function.
11847 (hack-dir-local-variables): Use the default directory for when the
11848 buffer does not have an associated file.
11849 (hack-dir-local-variables-non-file-buffer): New function.
11850 * diff-mode.el (diff-mode):
11851 * vc-annotate.el (vc-annotate-mode):
11852 * vc-dir.el (vc-dir-mode):
11853 * log-edit.el (log-edit-mode):
11854 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11856 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11858 Add support for shelving snapshots and for showing shelves.
11859 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11860 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11862 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11863 (vc-bzr-extra-menu-map): Map them.
11865 2010-03-11 Glenn Morris <rgm@gnu.org>
11867 * cus-edit.el (customize-changed-options-previous-release):
11870 * image.el (image-animate-max-time): Fix :version tag.
11872 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11876 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11878 * vc-git.el (vc-git-revision-table): Include remote branches.
11880 2010-03-10 Kim F. Storm <storm@cua.dk>
11882 Animated image API.
11883 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11885 * image.el (image-animate-max-time): New defcustom.
11886 (image-animated-types): New defconst.
11887 (create-animated-image, image-animate-timer)
11888 (image-animate-start, image-animate-stop, image-animate-timeout)
11889 (image-animated-p): New functions.
11891 * image-mode.el (image-toggle-display-image):
11892 Replace `create-image' with `create-animated-image'.
11894 2010-03-09 Miles Bader <miles@gnu.org>
11896 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11897 instead of "format:"; this ensures that the output is
11898 newline-terminated.
11900 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11902 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11903 that all errors are caught, and that the return value is always a
11906 2010-03-08 Kenichi Handa <handa@m17n.org>
11908 * language/misc-lang.el (windows-1256): New coding system.
11909 (cp1256): New alias of windows-1256 (bug#5690).
11911 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11913 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11914 call to rfc822-bad-address. (Bug#5692)
11916 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11918 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11919 Use vc-git-root as default directory for revision path (Bug#5657).
11921 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11923 * calculator.el (calculator): Don't bind split-window-keep-point
11926 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11928 * vc-git.el: Re-flow to fit into 80 columns.
11929 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11930 Remove spurious `quote' element in each case alternative.
11931 (vc-git-show-log-entry): Use prog1.
11932 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11934 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11936 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11938 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11940 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11941 definition, not the name (Bug#5481).
11943 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11945 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11946 argument with a local variable. (Bug#5670)
11948 2010-03-02 Juri Linkov <juri@jurta.org>
11950 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11952 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11954 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11955 error when FILENAME and NEWNAME are existing remote directories.
11957 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11958 parameter DIR-FLAG.
11960 2010-03-02 Glenn Morris <rgm@gnu.org>
11962 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11963 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11965 2010-03-01 Kenichi Handa <handa@m17n.org>
11967 * language/burmese.el (burmese-composable-pattern): Rename from
11968 myanmar-composable-pattern.
11970 * international/characters.el (script-list):
11971 * international/fontset.el (script-representative-chars):
11972 Change myanmar to burmese.
11973 (otf-script-alist): Likewise.
11974 (setup-default-fontset): Likewise. Re-fix :otf spec.
11976 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11978 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11980 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11982 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11984 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11986 * net/tramp.el (tramp-handle-write-region): START can be a string.
11987 Take care in the checks. Reported by Dan Davison
11988 <davison@stats.ox.ac.uk>.
11990 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11992 * net/dbus.el (dbus-introspect, dbus-get-property)
11993 (dbus-set-property, dbus-get-all-properties):
11994 Use `dbus-call-method' when noninteractive. (Bug#5645)
11996 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11998 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11999 * emacs-lisp/elint.el (elint-add-required-env):
12000 * calendar/icalendar.el (icalendar--add-diary-entry):
12001 * calc/calcalg2.el (math-tracing-integral):
12002 * files.el (recover-session-finish): Use with-current-buffer
12003 instead of save-excursion.
12005 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12007 Fix in-buffer completion when after-change-functions modify the buffer.
12008 * minibuffer.el (completion--replace): New function.
12009 (completion--do-completion): Use it and use relative movement.
12011 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12013 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12015 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12017 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12018 Allow the characters _<> in the stack entry (Bug#5653).
12020 2010-02-26 Kenichi Handa <handa@m17n.org>
12022 * language/burmese.el: Fix entries in composition-function-table.
12023 (myanmar-composable-pattern): New variable.
12025 * international/fontset.el (setup-default-fontset): Add an entry
12028 * international/characters.el (script-list): Add Myanmar
12031 2010-02-26 Glenn Morris <rgm@gnu.org>
12033 * custom.el (custom-initialize-delay): Doc fix.
12035 * mail/sendmail.el (send-mail-function): Autoload the call
12036 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12038 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12040 * files.el (hack-local-variables-filter): For eval forms, also
12041 check safe-local-variable-p (Bug#5636).
12043 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12045 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12046 setting the modes by `ignore-errors'. It might fail, for example
12047 if the file is not owned by the user but the group.
12048 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12050 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12052 * files.el (directory-listing-before-filename-regexp):
12053 Use stricter matching for iso-style dates, to avoid false matches with
12054 date-like filenames (Bug#5597).
12056 * htmlfontify.el (htmlfontify): Doc fix.
12058 * eshell/eshell.el (eshell): Doc fix.
12060 * startup.el (fancy-about-screen): In mode-line, apply
12061 mode-line-buffer-id face only to the buffer name (Bug#5613).
12063 2010-02-20 Kevin Ryde <user42@zip.com.au>
12065 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12066 In `watcom' anchor regexp to start of line, to avoid slowness
12069 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12071 * subr.el (remove-yank-excluded-properties): Explain in a comment
12072 why `category' property is removed.
12074 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12076 * isearch.el (isearch-update-post-hook, isearch-update):
12077 Revert 2010-02-17 change.
12079 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12081 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12082 (icalendar--convert-weekly-to-ical)
12083 (icalendar--convert-yearly-to-ical)
12084 (icalendar--convert-block-to-ical)
12085 (icalendar--convert-cyclic-to-ical)
12086 (icalendar--convert-anniversary-to-ical): Take care of time
12087 specifications where hour has 1-digit only (Bug#5549).
12089 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12091 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12092 of disassemble output in GDB 7.1.
12094 2010-02-19 Glenn Morris <rgm@gnu.org>
12096 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12097 property. (Bug#5593)
12099 2010-02-18 Sam Steingold <sds@gnu.org>
12101 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12103 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12105 Use abbreviated file names in bookmarks (bug#5591).
12106 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12107 calls to expand-file-name.
12108 (bookmark-relocate): Use abbreviated file names in bookmarks.
12109 (bookmark-load): Use abbreviated file names in messages.
12111 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12113 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12114 expand "." and "..". Reported by Thierry Volpiatto
12115 <thierry.volpiatto@gmail.com>.
12117 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12119 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12120 permissions of the temporary file to "0600". In case the remote
12121 file has no read permissions for the owner, there might be
12122 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12124 22010-02-18 Glenn Morris <rgm@gnu.org>
12126 * emacs-lisp/authors.el (authors-renamed-files-alist):
12127 Add entries for INSTALL.CVS.
12129 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12131 * vc-bzr.el: Fix typo in Known Bugs section.
12133 * isearch.el (isearch-update-post-hook): New hook.
12134 (isearch-update): Use the new hook.
12136 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12138 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12139 Fix errors in copying directories.
12140 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12141 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12142 (tramp-handle-delete-file)
12143 (tramp-handle-dired-recursive-delete-directory)
12144 (tramp-handle-write-region): Flush also the cache for the upper
12147 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12149 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12151 * cus-edit.el (hardware): Doc fix.
12153 * man.el (man): Add to external custom group.
12155 * delim-col.el (columns): Move to wp custom group.
12157 * doc-view.el (doc-view): Add to data custom group.
12159 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12161 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12162 by ispell-parse-output (Bug#5575).
12164 2010-02-16 Kenichi Handa <handa@m17n.org>
12166 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12167 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12168 (skkdic-convert): Use `euc-japan' coding system for writing.
12170 2010-02-16 Glenn Morris <rgm@gnu.org>
12172 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12173 tex-main-file before using it. (Bug#5562)
12175 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12177 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12178 warnings, since it is annoying for the user to see them each time he
12181 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12183 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12184 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12185 instead of PROC for caching "first-password-request". Otherwise,
12186 new processes would not profit from passwords already entered.
12188 * net/tramp-cache.el (tramp-dump-connection-properties):
12189 Don't save "first-password-request" property.
12191 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12193 * outline.el (outline-head-from-level):
12194 * simple.el (with-wrapper-hook):
12195 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12196 (elint-defun, elint-buffer-env, elint-top-form-logged)
12197 (elint-unbound-variable):
12198 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12199 Fix typos in docstrings.
12201 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12203 * files.el (insert-directory): When WILDCARD-REGEXP and
12204 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12205 whole directory. (Bug#5551)
12207 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12208 dired's alignment sanity. (Bug#5516)
12210 2010-02-14 Juri Linkov <juri@jurta.org>
12212 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12213 Remove remaining ^H with their preceding chars. (Bug#5566)
12215 2010-02-13 Glenn Morris <rgm@gnu.org>
12217 * simple.el (transpose-subr): Give it a doc-string.
12219 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12222 2010-02-12 Juri Linkov <juri@jurta.org>
12224 * arc-mode.el (archive-unique-fname): Make directories for nested
12225 archives. (Bug#5540)
12227 2010-02-12 Juri Linkov <juri@jurta.org>
12229 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12231 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12233 * subr.el (copy-overlay): Handle deleted overlays.
12235 * man.el (Man-completion-table): Don't signal an error if we can't run
12236 manual-program (bug#4056).
12238 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12240 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12242 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12244 * info.el (Info-bookmark-jump): Simplify.
12246 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12247 (bookmark-default-handler): Accept new bookmark field `buffer'.
12249 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12251 * iswitchb.el (iswitchb-completions): Revert last change.
12253 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12255 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12256 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12257 This prevents file names like "~/" being listed literally.
12259 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12261 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12262 Remove dead code. (Bug#5546)
12264 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12266 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12267 correctly (Bug#5548).
12269 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12271 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12272 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12274 2010-02-08 Kenichi Handa <handa@m17n.org>
12276 * international/mule-util.el (with-coding-priority): Add autoload
12277 cookie for putting `lisp-indent-function'.
12279 2010-02-07 Glenn Morris <rgm@gnu.org>
12281 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12282 Move F2003 named interfaces from keywords-2 to keywords-1, and
12283 use function-name-face rather than constant-face.
12284 Simplify "abstract interface" regexp.
12286 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12288 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12289 ID-FORMAT. Pass it to `file-attributes'.
12291 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12293 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12295 * faces.el (set-face-attribute): Allow calling
12296 internal-set-lisp-face-attribute with 'unspecified family and
12297 foundry argument (Bug#5536).
12299 2010-02-07 Glenn Morris <rgm@gnu.org>
12301 * progmodes/f90.el (f90-font-lock-keywords-2)
12302 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12303 Handle F2003 named interfaces.
12305 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12307 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12308 beg and end before calling c-get-state-before-change-functions.
12310 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12312 * vc-bzr.el (vc-bzr-dir-extra-headers):
12313 Disable the pending merges header.
12315 2010-02-05 Juri Linkov <juri@jurta.org>
12317 * doc-view.el (doc-view-mode):
12318 * image-mode.el (image-mode): Put property mode-class=special.
12321 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12323 * vc-svn.el (vc-svn-revision-table): New function.
12325 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12327 * net/ange-ftp.el (ange-ftp-insert-directory):
12328 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12329 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12330 Handle also directories. (Bug#5478)
12332 2010-02-05 Glenn Morris <rgm@gnu.org>
12334 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12336 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12338 * startup.el (command-line-1): Convert options beginning with a
12339 single dash as well (Bug#5519).
12341 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12343 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12344 * minibuffer.el (completion-initials-expand): Only check the presence
12345 of delims *within* the boundaries, since otherwise the / delim is
12346 always found for files.
12348 Fix up various corner case problems.
12349 * doc-view.el (doc-view-last-page-number): New function.
12350 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12351 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12352 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12353 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12354 (doc-view-convert-current-doc): Don't create the resolution.el file
12356 (doc-view-pdf/ps->png): Do it here instead.
12357 (doc-view-already-converted-p): Check that resolution.el is present.
12358 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12359 windows that are not yet showing images.
12361 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12363 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12364 `dired-uncache' for every elemnt which is an absolute file name.
12366 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12367 directory, handle its directory component.
12368 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12369 function is called permanently and creates noise, otherwise.
12371 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12372 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12373 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12375 2010-02-04 David Burger <dburger@google.com> (tiny change)
12377 * macros.el (apply-macro-to-region-lines):
12378 Minor simplification. (Bug#5485)
12380 2010-02-04 Glenn Morris <rgm@gnu.org>
12382 * mail/rmail.el (rmail-show-message-1): Handle malformed
12383 quoted-printable text. (Bug#5441)
12385 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12387 * simple.el (visual-line-mode): Capitalize lighter.
12389 2010-02-03 John Wiegley <jwiegley@gmail.com>
12391 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12392 list of files considered for "virtual buffer" completions.
12394 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12396 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12397 also in case of (and (not full) (not wildcard)). This is needed
12398 when dired is called with a list of files, which are not in
12399 `default-directory'. (Bug#5478)
12401 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12403 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12405 2010-02-02 Juri Linkov <juri@jurta.org>
12407 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12408 from unidiff to allow function-line after @@.
12410 2010-02-02 Juri Linkov <juri@jurta.org>
12412 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12413 '(RCS SCCS) with inverted condition.
12415 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12417 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12420 2010-02-01 Juri Linkov <juri@jurta.org>
12422 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12423 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12424 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12425 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12427 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12429 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12430 (doc-view-revert-buffer): New command.
12431 (doc-view-mode-map): Use it.
12433 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12435 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12436 pending merge is detected.
12438 2010-01-31 Juri Linkov <juri@jurta.org>
12440 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12441 beginning of interactive spec like all other grep commands do.
12442 Put "all" in front of "gz". (Bug#5260)
12444 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12446 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12448 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12450 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12451 regexp is incorrect (Bug#5476).
12453 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12455 * net/tramp.el (tramp-handle-insert-directory): Handle also
12456 symlinks, when FILENAME is not in `default-directory'.
12458 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12460 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12461 FILE is not in `default-directory'. (Bug#5478)
12463 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12464 of SWITCHES. Handle the case, FILENAME is not in
12465 `default-directory'. (Bug#5478)
12466 (tramp-register-file-name-handlers): Add safe-magic property.
12468 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12470 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12473 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12475 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12476 (flymake-master-make-header-init): Add other C++ filename masks.
12477 (flymake-find-possible-master-files)
12478 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12480 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12482 Fix some busybox annoyances.
12484 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12485 not responding." string.
12486 (tramp-open-connection-setup-interactive-shell): Dump stty
12487 settings. Enable "neveropen" arg for all `tramp-send-command'
12488 calls. Handle "=" in variable values properly.
12489 (tramp-find-inline-encoding): Raise an error, when no encoding is
12491 (tramp-wait-for-output): Check, whether PROC buffer is available.
12492 Remove spurious " ^H" sequences, sent by busybox.
12493 (tramp-get-ls-command): Suppress coloring, if possible.
12495 2010-01-28 Glenn Morris <rgm@gnu.org>
12497 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12499 * log-edit.el (log-edit-strip-single-file-name): Add missing
12500 :safe, :group, and :version tags.
12502 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12504 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12505 buffers. (Bug#5477)
12507 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12509 * files.el (delete-directory): Handle moving to trash without
12510 first doing recursion (Bug#5436).
12512 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12514 * vc-hooks.el (vc-path): Mark as obsolete.
12516 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12518 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12521 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12523 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12525 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12527 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12529 * vc-bzr.el (vc-bzr-revision-table): New function.
12531 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12533 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12534 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12536 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12538 Remove support for adding --signoff on commit.
12539 Future support will use an incompatible generic mechanism.
12540 * vc-git.el (vc-git-add-signoff): Remove variable.
12541 (vc-git-toggle-signoff): Remove function.
12542 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12544 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12545 Rename from xterm-set-background-mode. Return t if the background mode
12547 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12548 earlier, call it again in case the background mode has changed.
12550 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12552 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12555 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12557 * emacs-lisp/assoc.el (aelement): Doc fix.
12558 (aput, adelete, amake): Use lexical-let (Bug#5450).
12560 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12562 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12563 is the same as subprogram call, not declaration. (Bug#5435).
12565 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12567 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12568 (tramp-smb-maybe-open-connection): Use it.
12570 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12572 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12574 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12576 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12577 just because we see "encoding: 8bit".
12578 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12580 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12582 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12584 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12586 * jka-compr.el (jka-compr-load): If load-file is not in
12587 load-history, try its file-truename version. (bug#5447)
12589 2010-01-21 Alan Mackenzie <acm@muc.de>
12591 Fix a situation where deletion of a cpp construct throws an error.
12592 * progmodes/cc-engine.el (c-invalidate-state-cache):
12593 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12594 special cpp construct is still in the buffer.
12595 (c-parse-state): Record the special cpp with markers, not numbers.
12597 2010-01-21 Kenichi Handa <handa@m17n.org>
12599 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12600 process last-command-event, as it is now decoded first (Bug#5380).
12602 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12604 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12606 2010-01-20 Glenn Morris <rgm@gnu.org>
12608 * indent.el (tab-always-indent): Fix custom-type.
12610 2010-01-19 Alan Mackenzie <acm@muc.de>
12612 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12613 buffer throws "args out of range".
12614 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12615 playing the role of delimiter.
12617 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12619 * progmodes/ada-mode.el: Fix bug#5400.
12620 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12621 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12622 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12623 Improve comments in "is" portion. Handle null procedure declaration.
12624 (ada-move-to-end): Improve doc string.
12626 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12628 * ido.el (ido-cur-list): Initialize to nil.
12629 Remove obsolete information from commentary.
12630 (ido-choice-list): Initialize to nil.
12631 (ido-get-bufname): Reject minibuffers.
12632 (ido-make-buffer-list): If "default" is a nonexistent
12633 buffer, ignore it, as per the function's comment.
12634 (ido-kill-buffer-internal): New function.
12635 (ido-kill-buffer-at-head): Use it.
12636 (ido-visit-buffer): Likewise.
12638 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12640 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12642 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12644 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12645 Fix typos in chart titles.
12647 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12648 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12649 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12650 (describe-class, eieio-describe-generic, describe-generic):
12651 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12652 (eieio-speedbar-expand):
12653 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12654 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12655 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12656 (viper-del-backward-char-in-replace, viper-backward-indent)
12657 (viper-brac-function, viper-register-to-point, viper-submit-report):
12658 * net/tramp.el (tramp-remote-coding-commands):
12659 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12660 Fix typos in docstrings.
12662 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12664 * mail/sendmail.el (mail-yank-original): Set the mark if the
12665 specified function for yanking does not do it.
12667 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12669 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12671 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12672 resyncing a directory.
12674 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12676 * progmodes/ada-mode.el: Fix bug#1920.
12677 (ada-ident-re): Delete ., allow multibyte characters.
12678 (ada-goto-label-re): New; matches goto labels.
12679 (ada-block-label-re): New; matches block labels.
12680 (ada-label-re): New; matches both.
12681 (ada-named-block-re): Deleted; callers changed to use
12682 `ada-block-label-re' instead.
12683 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12684 Use `ada-block-label-re'.
12685 (ada-indent-on-previous-lines): Improve handling of goto labels.
12686 (ada-get-indent-block-start): Special-case block label.
12687 (ada-get-indent-label): Split into `ada-indent-block-label' and
12688 `ada-indent-goto-label'.
12689 (ada-goto-stmt-start, ada-goto-next-non-ws):
12690 Optionally ignore goto labels.
12691 (ada-goto-next-word): Simplify.
12692 (ada-indent-newline-indent-conditional): Insert newline before
12693 trying to fix indentation; doc fix.
12695 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12697 * calc/calc.el (calc-command-flags): Give it an initial value.
12699 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12701 * files.el (minibuffer-with-setup-hook):
12702 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12703 (artist-key-draw-continously, artist-key-do-continously-continously)
12704 (artist-key-set-point-continously, artist-mouse-draw-continously):
12705 Fix typos in docstrings.
12707 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12709 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12710 Never return t (Bug#3898).
12712 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12714 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12715 can parse the output of the external commands (Bug#5279).
12717 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12719 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12721 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12723 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12725 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12727 * startup.el (command-line): Remove unused --icon-type arg.
12728 Handle --display arg, passing it to command-line-1 (Bug#5392).
12730 2010-01-16 Mario Lang <mlang@delysid.org>
12732 * emacs-lisp/chart.el (chart-translate-namezone):
12733 * textmodes/artist.el (artist-compute-popup-menu-table):
12734 Remove duplicated words in doc-strings.
12736 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12738 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12739 to mairix-search to suppress threading (Bug#5342).
12741 2010-01-15 Kenichi Handa <handa@m17n.org>
12743 * international/mule-cmds.el (canonicalize-coding-system-name):
12744 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12746 2010-01-15 Glenn Morris <rgm@gnu.org>
12748 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12750 * wid-edit.el (widget-keymap): Doc fix.
12752 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12753 former seems to be more widely accepted by various svn versions.
12755 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12757 * find-cmd.el (find-constituents):
12758 * vc-arch.el (vc-arch-root):
12759 * window.el (window-body-height, pop-up-frames):
12760 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12761 * progmodes/ada-stmt.el (ada-if):
12762 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12763 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12764 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12765 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12767 * progmodes/flymake.el (flymake-post-syntax-check):
12768 Fix typo in error message.
12770 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12772 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12773 which is always a string. (Bug#5313)
12775 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12777 * progmodes/ada-xref.el (ada-default-prj-properties):
12778 Simplify previous change.
12780 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12782 * progmodes/ada-xref.el (ada-default-prj-properties):
12783 Default ada_project_path to $ADA_PROJECT_PATH.
12785 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12787 * progmodes/ada-mode.el (ada-create-keymap):
12788 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12790 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12792 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12793 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12794 (ada-get-current-indent, ada-imenu-generic-expression)
12795 (ada-which-function): Check for it.
12797 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12799 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12800 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12802 2010-01-14 Glenn Morris <rgm@gnu.org>
12804 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12806 2010-01-14 Kenichi Handa <handa@m17n.org>
12808 * composite.el (auto-composition-mode): Make it a buffer local
12809 variable (permanent-local).
12810 (auto-composition-function): Set the default value to
12811 auto-compose-chars.
12812 (auto-composition-mode): Make it a simple function, not a minor mode.
12813 (global-auto-composition-mode): Likewise.
12814 (turn-on-auto-composition-if-enabled): Delete it.
12816 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12818 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12820 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12822 * files.el (copy-directory): Compute target for recursive
12823 directories with identical names. (Bug#5343)
12825 2010-01-12 Glenn Morris <rgm@gnu.org>
12827 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12828 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12830 2010-01-11 Sam Steingold <sds@gnu.org>
12832 * imenu.el (imenu-default-create-index-function): Detect infinite
12833 loops caused by imenu-prev-index-position-function.
12835 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12837 * htmlfontify.el (htmlfontify-load-rgb-file)
12838 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12839 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12840 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12841 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12842 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12843 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12844 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12845 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12846 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12847 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12848 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12849 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12850 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12851 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12852 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12853 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12854 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12855 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12856 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12857 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12858 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12859 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12860 backslash-quoting from parentheses, etc.
12862 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12864 * progmodes/js.el: Autoload javascript-mode alias.
12866 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12868 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12869 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12870 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12871 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12872 Fix typos in docstrings.
12873 (ffap-url-regexp): Doc fix.
12874 (ffap-at-mouse): Fix typo in message.
12876 2010-01-11 Glenn Morris <rgm@gnu.org>
12878 * version.el (emacs-copyright): Set copyright year to 2010.
12880 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * format.el (format-annotate-function): Only set
12883 write-region-post-annotation-function after running to-fn so as not to
12884 affect nested write-region calls (bug#5273).
12886 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12888 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12891 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12893 * man.el (Man-goto-section): Signal error if the section is not
12896 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12898 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12899 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12901 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12903 * progmodes/compile.el: Don't treat compile-command as safe if
12904 compilation-read-command might be nil (Bug#4218).
12906 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12908 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12911 2010-01-08 Kenichi Handa <handa@m17n.org>
12913 * international/fontset.el (build-default-fontset-data):
12914 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12916 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12918 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12919 to `create-file-buffer' as it expects, not just a buffer name.
12920 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12921 to help uniquify. (Bug#3224)
12923 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12925 * font-setting.el (font-setting-change-default-font): Use user-spec
12928 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12930 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12932 2010-01-05 Tom Tromey <tromey@redhat.com>
12934 * progmodes/python.el (python-font-lock-keywords):
12935 Handle qualified decorators (Bug#881).
12937 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12939 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12940 in a lightweight checkout.
12942 2010-01-05 Kenichi Handa <handa@m17n.org>
12944 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12946 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12948 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12950 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12952 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12953 checkouts. (Bug#618)
12954 (vc-bzr-log-view-mode): Also highlight the author.
12955 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12956 (vc-bzr-shelve-menu-map):
12957 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12958 (vc-bzr-shelve-apply): Make prompt more explicit.
12960 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12962 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12963 They are valid characters in URL paths (rfc3986), and at least
12964 Firefox does not understand the encoded version (Bug#3166).
12966 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12968 * progmodes/octave-mod.el (octave-end-keywords)
12969 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12970 Add "end" keyword (Bug#3061).
12971 (octave-end-as-array-index-p): New function.
12972 (calculate-octave-indent): Use it.
12974 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12976 * bookmark.el: Consistently put the text property on the bookmark name.
12977 (bookmark-bmenu-marks-width): Bump back to 2, to include
12979 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12980 property on the bookmark name, instead of not putting it at all.
12981 (bookmark-bmenu-list): Fix where we put the text property.
12983 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12985 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12986 for showing buffer modified state (as added in the previous change).
12988 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12990 * bookmark.el: Show modified state of bookmark buffer more accurately.
12991 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12992 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12993 (with-buffer-modified-unmodified): New macro.
12994 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12995 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12996 Use new macro to preserve the buffer modified state.
12998 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13000 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13001 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13002 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13003 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13004 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13005 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13006 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13008 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13010 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13011 Make the lines in the generated doc string shorter. (Bug#4668)
13013 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13015 * net/rcirc.el: Add follow-link binding (Bug#4738).
13017 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13019 * Makefile.in (bzr-update): Rename from cvs-update.
13020 (cvs-update): New target for backward compatibility.
13022 * makefile.w32-in (bzr-update): Rename from cvs-update.
13023 (cvs-update): New target for backward compatibility.
13025 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13027 * bookmark.el: Remove gratuitous gratitude.
13029 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13031 * bookmark.el (bookmark-bmenu-any-marks): New function.
13032 (bookmark-bmenu-save): Clear buffer modification if no marks.
13034 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13036 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13037 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13038 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13039 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13041 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13042 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13043 To: emacs-devel {_AT_} gnu.org
13044 Subject: bookmark.el bug report
13045 Date: Mon, 28 Dec 2009 14:19:16 +0800
13046 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13048 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13050 * bookmark.el: Improvements suggested by Drew Adams:
13051 (bookmark-bmenu-ensure-position): New name for
13052 `bookmark-bmenu-check-position'. Just ensure the position,
13053 don't return any meaningful value.
13054 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13057 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13059 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13060 (bookmark-yank-point, bookmark-bmenu-check-position):
13061 Fix typos in docstrings.
13062 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13063 (bookmark-name-from-full-record, bookmark-get-position)
13064 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13065 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13066 Remove useless quoting of parenthesis, etc. in docstrings.
13068 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13069 (ediff-append-custom-diff): Fix typo in error message.
13070 (ediff-meta-mark-equal-files): Fix typos in messages.
13072 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13074 * net/imap-hash.el (imap-hash-make): Doc fix.
13075 (imap-hash-test): Fix typo in error message; reflow docstring.
13076 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13077 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13078 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13079 Fix typos in docstrings.
13080 (imap-hash-open-connection): Fix typo in error message.
13082 * play/gomoku.el (gomoku): Fix typos in docstring.
13084 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13085 (gdb-jsonify-buffer): Fix typos in docstring.
13086 (gdb-goto-breakpoint): Fix typo in error message.
13087 ("Display Other Windows"): Fix typo in help message.
13088 (gdb-speedbar-expand-node): Fix typo in question.
13090 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13091 (idlwave-html-system-help-location, idlwave-html-help-location)
13092 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13093 (idlwave-help-browser-generic-args, idlwave-help-directory)
13094 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13095 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13096 (idlwave-online-help, idlwave-help-html-link)
13097 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13098 Fix typos in docstrings.
13099 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13101 (idlwave-help-assistant-start): Fix typo in error message.
13103 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13104 (octave-electric-space): Fix typos in docstrings.
13106 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13108 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13110 2010-01-01 Juri Linkov <juri@jurta.org>
13112 * comint.el (comint-input-ring-size): Make it a defcustom and
13113 increase the default to 500 (Bug#5148).
13115 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13117 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13118 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13119 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13121 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13123 Show working revision correctly for mercurial.
13124 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13125 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13127 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13129 Declare some functions for the byte-compiler.
13130 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13131 (speedbar-timer-fn, speedbar-change-expand-button-char)
13132 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13134 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13136 This changeset reverts GDB Graphical Interface to use annotations.
13137 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13139 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13141 Make vc-dir work on subdirectories of the bzr root.
13142 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13143 Return file names relative to it.
13144 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13145 relative directory to vc-bzr-after-dir-status.
13147 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13149 * font-lock.el (font-lock-refresh-defaults): New function, which
13150 can be used to let font-lock react to external changes in
13151 variables like font-lock-defaults and keywords.
13152 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13154 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13156 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13158 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13160 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13162 Supersede color.diff settings in git log (bug#5211).
13164 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13165 escape chars in its output when the user has color.diff set to `always'.
13166 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13168 2009-12-26 Kevin Ryde <user42@zip.com.au>
13170 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13171 node. Keep previous "Index" name to work with past coreutils too.
13173 * man.el (man): Revise docstring a bit to show -a and -l as
13174 examples. Add -k description since support for it has otherwise
13175 been a secret. (Further to bug#3717.)
13176 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13177 "no matches" rather than "Can't find manpage", as the latter reads
13178 like -k was interpreted as a page name, which is not so. (Bug#5431)
13180 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13182 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13183 switches. Check also for //SUBDIRED// line.
13185 2009-12-25 Kenichi Handa <handa@m17n.org>
13187 * language/indian.el (devanagari-composable-pattern): Fix to
13188 handle ZWNJ and ZWJ. Use it in composition-function-table for
13190 (malayalam-composable-pattern): Fix previous change.
13192 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13194 * ps-print.el (ps-face-attributes): It was not returning the
13195 attribute face for faces specified as string. Reported by harven
13196 <harven@free.fr>. (Bug#5254)
13197 (ps-print-version): New version 7.3.5.
13199 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13201 * calendar/icalendar.el (icalendar--convert-tz-offset):
13202 Fix timezone names.
13203 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13204 (icalendar--add-diary-entry): Remove the trailing blank that
13205 diary-make-entry inserts.
13207 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13209 Make `file-expand-wildcards' work for remote files.
13211 * files.el (file-expand-wildcards): In case of remote files, check
13212 only local file name part for wildcards. Provide feature 'files
13213 and subfeature 'remote-wildcards. (Bug#5198)
13215 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13216 if there is already an established connection.
13217 (tramp-advice-file-expand-wildcards): Remove it.
13219 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13220 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13221 Activate advice for older GNU Emacs versions. (Bug#5237)
13223 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13225 Some doc fixes (more needed).
13227 * find-cmd.el (find-constituents): Reflow docstring.
13228 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13229 (find-generic): Doc fix.
13231 2009-12-17 Juri Linkov <juri@jurta.org>
13233 Fix regression from 23.1 to allow multiple modes in Local Variables.
13235 * files.el (hack-local-variables-filter): While ignoring duplicates,
13236 don't take `mode' into account.
13237 (hack-local-variables-filter, hack-dir-local-variables):
13238 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13240 2009-12-17 Juri Linkov <juri@jurta.org>
13242 Make `dired-diff' safer. (Bug#5225)
13244 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13245 `current' or when `file' is a directory of the `current' file.
13247 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13249 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13250 unconditionally preloaded files.
13252 2009-12-16 Juri Linkov <juri@jurta.org>
13254 Revert to old 23.1 logic of using the file at the mark as default.
13255 * dired-aux.el (dired-diff): Use the file at the mark as default
13256 if it's not the same as the current file, and the target dir is
13257 the current dir or the mark is active. Add the current file
13258 as the arg of `dired-dwim-target-defaults'. Use the default file
13259 in the prompt. (Bug#5225)
13261 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13263 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13264 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13265 (tramp-check-for-regexp): Check also, when an echoing shell stops
13266 to echo sent commands.
13268 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13270 * Makefile.in: Revert last change (Bug#5191).
13272 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13274 * vc-hg.el (vc-hg-print-log): Fix argument order.
13275 (vc-hg-working-revision): Make sure the command is executed in a
13276 known environment so that we can parse the output. (Bug#4417)
13278 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13280 * progmodes/python.el (python-symbol-completions): Remove text
13281 properties from symbol string before calling python-send-receive.
13283 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13285 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13286 when there are values for both file and line. (Bug#5060)
13288 2009-12-14 Juri Linkov <juri@jurta.org>
13290 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13291 whitespace after the file name of the first line of unified format,
13292 because git-diff doesn't output whitespace and file modification time
13293 after the file name.
13295 2009-12-14 David Kastrup <dak@gnu.org>
13297 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13298 check if it already has the `display' property added by
13299 `Info-display-images-node', and not put the `invisible' property
13302 2009-12-13 Glenn Morris <rgm@gnu.org>
13304 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13305 (report-emacs-bug): In message-mode, sort manually before storing
13306 original report text. (Bug#5178)
13307 Remove superfluous save-excursion.
13309 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13311 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13312 when responding to "GetAll" properties.
13314 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13316 * simple.el (compose-mail): Remove mail-setup-with-from from
13317 customization checks.
13319 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13321 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13322 RAR archives created on Unix systems.
13324 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13326 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13327 the varalias that was accidentally removed by the 2009-11-19 change
13330 2009-12-12 Kenichi Handa <handa@m17n.org>
13332 * language/indian.el (indian-compose-regexp): New function.
13333 (malayalam-composable-pattern): Fix the pattern.
13334 (composition-function-table): Set malayalam-composable-pattern for
13335 Malayalam characters.
13337 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13339 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13340 rather than down-mouse-1, based on follow-link conventions.
13342 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13345 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13347 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13348 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13349 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13350 (verilog-leap-to-head, verilog-backward-token):
13351 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13353 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13355 * progmodes/verilog-mode.el (verilog-auto-lineup)
13356 (verilog-nameable-item-re): Cleanup user-visible spelling and
13357 documentation errors. One reported by Gary Delp.
13358 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13359 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13360 package, bug195. Reported by Pierre-David Pfister.
13362 2009-12-11 Glenn Morris <rgm@gnu.org>
13364 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13366 * mail/emacsbug.el: No longer require sendmail.
13367 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13368 (report-emacs-bug-orig-text): Doc fix.
13369 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13370 New local variables, to adapt to different mail-user-agents.
13371 (report-emacs-bug): Fix test for a gnu.org address.
13372 Use overlays for emphasis, since font-lock defeats 'face property.
13373 Pretest bugs also end up at the newsgroup these days.
13374 Stop message-mode stripping text properties.
13375 Set and use the new buffer-local variables.
13376 (report-emacs-bug-hook): Add doc-string.
13377 Remove some unnecessary save-excursions and simplify.
13378 Use the appropriate hook and send-command.
13380 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13381 capitalization of some menu entries.
13383 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13385 * whitespace.el (whitespace-display-char-on):
13386 Ensure `buffer-display-table' is unique when two or more windows are
13387 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13390 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13392 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13393 characters in the Attribute field.
13395 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13397 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13399 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13401 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13402 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13403 Disregard autoload-excludes.
13404 (update-directory-autoloads): Obey autoload-excludes here instead.
13405 But don't store its contents in no-autoloads and remove entries that
13406 refer to excludes files.
13408 2009-12-10 Glenn Morris <rgm@gnu.org>
13410 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13411 (expand-mail-aliases): Define for compiler.
13413 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13414 Define for compiler.
13416 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13417 appropriate for the mail-user-agent in use.
13419 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13421 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13423 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13425 Fix short log parsing and fontification.
13426 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13427 Fix fontification for the [merge] label.
13429 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13431 Drop some properties to avoid surprises (bug#5002).
13432 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13433 (hfy-fontify-buffer): Use it.
13435 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13438 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13439 Adjust all callers.
13440 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13441 args compulsory. Adjust callers.
13442 (ffap-gopher-at-point): Remove unused var `name'.
13444 Get rid of the ELCFILES abomination.
13445 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13446 (compile-elcfiles): New phony target.
13447 (compile-main): Compute ELCFILES dynamically.
13448 (compile-clean): New target to remove left-over elc files.
13449 (compile, all): Use it.
13451 2009-12-09 Kenichi Handa <handa@etlken>
13453 * international/mule-diag.el: Require help-mode instead of help-fns.
13455 2009-12-09 Kenichi Handa <handa@m17n.org>
13457 * international/mule-cmds.el (ucs-names): Supply sufficiently
13458 fine ranges instead of pre-calculating accurate ranges.
13459 Iterate with bigger gc-cons-threshold.
13461 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13463 Add support for stashing a snapshot of the current tree.
13464 * vc-git.el (vc-git-stash-snapshot): New function.
13465 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13467 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13469 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13470 instead of `(beginning|end)-of-line'.
13472 2009-12-08 Glenn Morris <rgm@gnu.org>
13474 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13476 * Makefile.in (ELCFILES): Regenerate.
13478 2009-12-07 Juri Linkov <juri@jurta.org>
13480 Don't lazy-highlight the comint output in history Isearch mode.
13482 * comint.el (comint-history-isearch-search): Instead of
13483 `comint-line-beginning-position', use `comint-after-pmark-p'
13484 to check if point if before the process mark, and go to
13485 `process-mark' in this case.
13487 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13489 * textmodes/tex-mode.el (latex-complete)
13490 (latex-indent-or-complete): Remove.
13491 (latex-mode): Set completion-at-point-functions instead.
13493 Provide a standard completion command and hook it into TAB.
13494 * minibuffer.el (completion-at-point-functions): New var.
13495 (completion-at-point): New command.
13496 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13497 * progmodes/python.el (python-mode-map): Use completion-at-point.
13498 (python-completion-at-point): Rename from python-partial-symbol and
13499 adjust for use in completion-at-point-functions.
13500 (python-mode): Setup completion-at-point for Python completion.
13501 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13502 extracted from lisp-complete-symbol.
13503 (lisp-complete-symbol): Use it.
13504 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13505 setup completion-at-point for Elisp completion.
13506 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13507 Use completion-at-point.
13508 * ielm.el (ielm-map): Use completion-at-point.
13509 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13510 * progmodes/sym-comp.el: Move to...
13511 * obsolete/sym-comp.el: Move from progmodes.
13513 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13515 Prevent save-buffer in Rmail buffers from using the coding-system
13516 of the current message, and from clobbering the encoding mnemonics
13517 in the mode line (Bug#4623).
13519 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13521 (rmail-message-encoding): New variable.
13522 (rmail-write-region-annotate): Record the encoding of the current
13523 message in rmail-message-encoding.
13524 (rmail-after-save-hook): New function, restores the encoding of
13525 the current message after the message collection is saved.
13527 2009-12-07 Juri Linkov <juri@jurta.org>
13529 * progmodes/grep.el (grep-read-files): Use `completing-read'
13530 instead of `read-string'. Set its `collection' arg to
13531 `read-file-name-internal'. (Bug#4301)
13533 2009-12-07 Juri Linkov <juri@jurta.org>
13535 Correctly restore original Isearch point. (Bug#4994)
13537 * isearch.el (isearch-mode): Move `isearch-push-state' after
13538 `(run-hooks 'isearch-mode-hook)'.
13539 (isearch-cancel): When `isearch-push-state-function' is defined,
13540 let-bind `isearch-cmds' to the first state (the last element of
13541 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13542 function and restores the original point). Otherwise, move point
13543 to `isearch-opoint'.
13545 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13547 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13548 chars that don't have names, so the table can be built much faster at
13551 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13553 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13554 change. Suggested by David Kastrup.
13556 * simple.el (compose-mail): Check for incompatibilities and warn.
13557 (compose-mail-user-agent-warnings): New option.
13559 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13561 Support showing a single log entry from vc-annotate.
13562 * vc.el (print-log): Add a new argument: START-REVISION.
13563 (vc-print-log-internal): Add a new optional argument and
13564 pass it to the backend.
13565 (vc-print-log, vc-print-root-log): Adjust callers.
13566 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13567 buffer already displays the requested log entry, use it.
13568 Otherwise display only the log entry in question.
13569 * vc-svn.el (vc-svn-print-log):
13570 * vc-mtn.el (vc-mtn-print-log):
13571 * vc-hg.el (vc-hg-state):
13572 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13573 (vc-git-show-log-entry): Return t on success.
13574 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13575 (vc-bzr-show-log-entry): Return t on success.
13576 * vc-rcs.el (vc-rcs-print-log):
13577 * vc-sccs.el (vc-sccs-print-log):
13578 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13580 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13582 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13583 Add menus to the meta mode. (Bug#5043)
13585 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13587 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13590 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13592 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13594 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13595 Berbain <raphael.berbain@gmail.com>.
13597 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13599 (tramp-initial-end-of-output): New defconst.
13600 (tramp-methods, tramp-find-shell)
13601 (tramp-open-connection-setup-interactive-shell)
13602 (tramp-maybe-open-connection): Use it.
13603 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13604 Handle existence of `#' and `$'.
13606 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13607 Use `tramp-initial-end-of-output'.
13609 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13611 Get the background mode from the terminal for xterm, and set
13613 * term/xterm.el (xterm-set-background-mode): New function.
13614 (terminal-init-xterm): Use it in case xterm supports background
13615 color queries. Recompute faces after getting the background
13618 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13620 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13621 number comment back on its own line, for easier parsing.
13623 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13625 Make it work for non-file buffers (bug#5102).
13626 * doc-view.el (doc-view-current-cache-dir):
13627 Use doc-view-buffer-file-name rather than buffer-file-name.
13628 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13630 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13632 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13633 author field is too short.
13635 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13637 * vc-git.el (vc-git-print-log): Handle a limit argument.
13638 Display the short log in graph form and with labels.
13639 (vc-git-log-view-mode): Handle labels.
13641 Make vc-revert change VC state from 'added to 'unregistered.
13642 * vc-git.el (vc-git-revert): Call git reset first.
13644 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13646 * net/newst-backend.el, net/newst-plainview.el:
13647 * net/newst-reader.el, net/newst-ticker.el:
13648 * net/newst-treeview.el, net/newsticker.el:
13649 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13651 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13653 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13655 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13656 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13657 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13658 Update annotation regexp.
13660 * simple.el (beginning-of-visual-line): Constrain to field
13661 boundaries (Bug#5106).
13663 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13665 * xml.el (xml-substitute-numeric-entities):
13666 Move newsticker--decode-numeric-entities in newst-backend.el to
13667 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13668 * net/newst-backend.el (newsticker--parse-generic-feed)
13669 (newsticker--parse-generic-items)
13670 (newsticker--decode-numeric-entities):
13671 Move newsticker--decode-numeric-entities in newst-backend.el to
13672 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13674 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13676 * progmodes/js.el (js--js-not): Add null to the list of values.
13678 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13680 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13682 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13684 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13685 delimiter if it is at the end of the current line.
13686 (bibtex-generate-url-list): Fix docstring.
13688 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13690 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13691 minibuffer's content with itself.
13692 Fold the confirm-after-completion case into the `confirm' case.
13693 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13695 2009-12-06 Kevin Ryde <user42@zip.com.au>
13697 * ffap.el (ffap-rfc-path): Make this a defcustom since
13698 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13700 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13701 manuals, similar to existing setup for help-mode. (Bug#3913.)
13703 2009-12-05 Juri Linkov <juri@jurta.org>
13705 Save and restore dired buffer's point positions too. (Bug#4880)
13707 * dired.el (dired-save-positions): Return in the first element
13708 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13710 (dired-restore-positions): First restore buffer's position.
13711 While restoring window's positions, check if window still displays
13712 the original buffer.
13714 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13716 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13719 * shell.el (shell): Require ansi-color (Bug#5113).
13721 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13723 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13725 2009-12-05 Alan Mackenzie <acm@muc.de>
13727 * progmodes/cc-mode.el (c-before-hack-hook)
13728 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13729 `c-file-style' to work again. This reversion restores the current
13730 software to its state in Emacs 23.1. (Bug#4146)
13732 2009-12-05 Kevin Ryde <user42@zip.com.au>
13734 * textmodes/sgml-mode.el (sgml-lexical-context):
13735 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13737 2009-12-05 Juri Linkov <juri@jurta.org>
13739 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13740 for virtual nodes. (Bug#4147)
13741 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13742 when moving from a virtual node.
13743 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13744 (Info-mode): Add `Info-virtual-index' to the docstring.
13746 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13748 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13749 track of the buffer position of the end of a BibTeX entry as this
13750 position may change during reformatting.
13751 (bibtex-format-entry): Remove whitespace before processing
13752 numerical fields so that we recognize the latter properly.
13753 (bibtex-reformat): Do not use push which changes the global value
13754 of bibtex-entry-format.
13755 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13756 (bibtex-field-re-init): Replace only space characters by regexp
13758 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13759 (bibtex-initialize): Also update bibtex-strings.
13760 (bibtex-kill-field): Preserve white space at end of entry.
13761 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13762 Update bibtex-reference-keys.
13764 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13766 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13767 point after a star, if that's the only place where modifications can
13770 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13772 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13775 2009-12-04 Juri Linkov <juri@jurta.org>
13777 * proced.el (proced): Call `(proced-update t)' to update process
13778 information instead of only running proced-post-display-hook.
13779 (proced-send-signal): Add a leading space to the buffer name
13780 " *Marked Processes*" to make this buffer ephemeral.
13782 2009-12-04 Juri Linkov <juri@jurta.org>
13784 * dired.el (dired-auto-revert-buffer): New defcustom.
13785 (dired-internal-noselect): Use it.
13787 2009-12-04 Juri Linkov <juri@jurta.org>
13789 Change roles of modes and functions in image-mode.el (Bug#5062).
13791 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13792 in `auto-mode-alist'.
13793 (image-mode-previous-major-mode): New variable.
13794 (image-minor-mode-map): Rename from `image-mode-text-map'.
13795 (image-mode): Move graceful error-handling code from
13796 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13797 (image-minor-mode): Remove all image-handling code.
13798 Replace `image-mode-text-map' with `image-minor-mode-map'.
13799 Check for `image-type' in mode-line format string.
13800 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13801 (image-mode-as-text): New function with most code from
13802 `image-mode-maybe'.
13803 (image-toggle-display-text): Move code that removes image
13804 properties from `image-toggle-display' to here.
13805 (image-toggle-display-image): New function with code that adds
13806 image properties copied from `image-toggle-display'.
13807 (image-toggle-display): Remove most code with leaving only code
13808 that toggles between `image-mode-as-text' and `image-mode'.
13810 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13812 * net/newst-treeview.el
13813 (newsticker--treeview-list-highlight-start): Restored call to
13814 save-excursion: Selected item was stuck.
13815 (newsticker--treeview-list-select): New.
13816 (newsticker--treeview-item-show-text)
13817 (newsticker--treeview-item-show)
13818 (newsticker--treeview-item-update): Use new
13819 newsticker-treeview-item-mode.
13820 (newsticker-treeview-update): Keep current item.
13821 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13822 (newsticker--treeview-first-feed): Doc change.
13823 (newsticker-treeview-list-menu)
13824 (newsticker-treeview-item-menu): Add menu entries.
13825 (newsticker-treeview-item-mode): New.
13827 * net/newst-backend.el (newsticker-customize): Delete other
13830 2009-12-04 Sam Steingold <sds@gnu.org>
13832 * log-view.el (log-view-mode-map): "q" calls quit-window,
13833 like in all the other non-self-insert buffers.
13835 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13838 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13839 key decoding rather than do it manually via last-input-event +
13841 (term-exec): Use delete-and-extract-region.
13842 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13843 (term-process-pager): Remove unused var `i'.
13844 (term-dynamic-simple-complete): Make obsolete.
13845 (serial-update-config-menu): Remove unused vars `y' and `str'.
13846 (term-update-mode-line): Remove unused var `temp'.
13848 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13850 Limit the number of log entries displayed by default.
13851 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13852 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13853 using a prefix argument.
13855 2009-12-03 Glenn Morris <rgm@gnu.org>
13857 * progmodes/idlwave.el (class): Restore still useful declaration.
13859 2009-12-03 Alan Mackenzie <acm@muc.de>
13861 Enhance `c-parse-state' to run efficiently in "brace deserts".
13863 * progmodes/cc-mode.el (c-basic-common-init):
13864 Call c-state-cache-init.
13865 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13866 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13867 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13869 * progmodes/cc-langs.el (c-before-font-lock-function):
13870 c-extend-and-neutralize-syntax-in-CPP has been renamed
13871 c-neutralize-syntax-in-and-mark-CPP.
13873 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13874 with `category' properties now, not `syntax-table' ones.
13876 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13877 enhanced (but slower) version of c-end-of-macro that won't land
13878 inside a literal or on another awkward character.
13879 (c-state-cache-too-far, c-state-cache-start)
13880 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13881 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13882 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13883 (c-state-min-scan-pos, c-state-brace-pair-desert)
13884 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13885 buffer local variables.
13886 (c-state-literal-at, c-state-lit-beg)
13887 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13888 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13889 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13890 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13891 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13892 (c-renarrow-state-cache)
13893 (c-append-lower-brace-pair-to-state-cache)
13894 (c-state-push-any-brace-pair, c-append-to-state-cache)
13895 (c-remove-stale-state-cache)
13896 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13897 (c-invalidate-state-cache-1, c-parse-state-1)
13898 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13899 (c-parse-state): Enhance and refactor.
13900 (c-debug-parse-state): Amend to deal with all the new variables.
13902 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13903 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13904 modify to use category text properties rather than syntax-table ones.
13905 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13906 to switch off/on the syntactic paren property of C++ template
13907 delimiters using the category property.
13908 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13909 template delims suppressed.
13910 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13911 New constant/macros which apply category properties to the start
13912 and end of preprocessor constructs.
13913 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13914 "comment out" the syntactic value of characters in preprocessor
13916 (c-with-cpps-commented-out)
13917 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13918 with characters in all or all but one preprocessor constructs
13921 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13923 * proced.el (proced-filter-alist): Use regexp-quote.
13925 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13928 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13929 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13930 arguments. Expand `default-directory'.
13932 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13933 the benefit of returning an expanded localname.
13934 (tramp-tramp-file-p): Handle the case NAME is not a string.
13936 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13938 Add support for bzr shelve/unshelve.
13939 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13940 (vc-bzr-extra-menu-map): New variables.
13941 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13942 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13943 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13944 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13945 (vc-bzr-dir-extra-headers): Display shelves.
13947 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13949 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13951 * textmodes/bibtex.el (bibtex-complete-internal):
13952 Use completion-in-region.
13953 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13955 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13957 Support applying stashes. Improve UI.
13958 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13959 (vc-git-stash-apply, vc-git-stash-pop)
13960 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13961 (vc-git-stash-menu): New functions.
13962 (vc-git-stash-menu-map): New variable.
13963 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13965 2009-12-03 Glenn Morris <rgm@gnu.org>
13967 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13968 (vc-print-log-internal): Fix previous change.
13969 (vc-revert): Correct pluralization.
13971 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13973 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13974 it to be an alist any more.
13975 (makefile-complete): Use completion-in-region.
13977 * progmodes/octave-mod.el (octave-complete-symbol):
13978 Use completion-in-region.
13981 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13982 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13983 (idlwave-complete-class): Don't quote lambda.
13984 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13985 (idlwave-mode-map): Move initialization into declaration.
13986 (idlwave-action-and-binding): Use backquotes.
13987 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13989 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13990 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13991 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13992 `parts', and `all-parts'.
13993 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13994 (idlwave-convert-xml-system-routine-info): Remove unused string
13996 (idlwave-display-user-catalog-widget): Use dolist.
13997 (idlwave-scanning-lib): Declare dynamically-scoped var.
13998 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13999 (completion-highlight-first-word-only): Declare to silence bytecomp.
14000 (idlwave-popup-select): Tighten scope of `resp'.
14001 (idlwave-find-struct-tag): Remove unused var `beg'.
14002 (idlwave-after-load-rinfo-hook): Declare.
14003 (idlwave-sintern-class-info): Remove unused var `taglist'.
14004 (idlwave-find-class-definition): Remove unused var `list'.
14005 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14006 (idlwave-what-module-find-class): Remove unused var `classes'.
14008 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14010 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14012 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14014 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14015 buffers visited. Remove redundant current-buffer-saving.
14017 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14019 Use completion-in-buffer and remove uses of dynamic scoping.
14020 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14021 (pascal-buffer-to-use, pascal-flag): Don't declare.
14022 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14023 (pascal-get-completion-decl, pascal-keyword-completion):
14024 Add `pascal-str' argument, save-excursion,
14025 return the found completions, and don't filter with pascal-pred.
14026 (pascal-completion-cache): New var.
14027 (pascal-completion): Don't switch buffer any more (it was never
14028 necessary). Don't save-excursion any more (it's done by the called
14029 subroutines). Use a cache to avoid redundant computations.
14030 Use complete-with-action rather than pascal-completion-response and
14031 let it apply the predicate as well.
14032 (pascal-complete-word): Use completion-in-buffer when
14033 pascal-toggle-completions is nil.
14034 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14036 (pascal-comp-defun): Don't change buffer any more.
14037 Use complete-with-action rather than pascal-completion-response and
14038 let it apply the predicate as well.
14039 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14042 2009-12-02 Kenichi Handa <handa@m17n.org>
14044 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14045 shape for all Indic scripts.
14047 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14049 Use completion-in-buffer.
14050 * wid-edit.el (widget-field-text-end): New function.
14051 (widget-field-value-get): Use it.
14052 (widget-string-complete, widget-file-complete)
14053 (widget-color-complete): Use it and completion-in-region.
14054 (widget-complete): Don't narrow the buffer.
14056 2009-12-02 Glenn Morris <rgm@gnu.org>
14058 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14059 (rmail-select-summary): Use rmail-pop-to-buffer.
14060 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14061 rmail-pop-to-buffer, to prevent horizontal splits.
14063 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14064 save-excursion with save-current-buffer.
14065 Widen before searching. (Bug#5093)
14066 (diary-list-sexp-entries): Remove superfluous save-excursion.
14068 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14070 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14073 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14075 * ido.el (ido-file-internal): Handle filenames at point that do
14076 not have a directory part. (Bug#5049)
14078 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14080 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14081 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14083 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14085 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14086 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14089 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14091 * comint.el (comint-insert-input): Ignore clicks to the right of
14092 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14094 * vc.el (vc-print-log-internal): Don't wait for the process to
14095 terminate before setting up the major mode.
14097 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14100 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14103 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14105 2009-12-01 Glenn Morris <rgm@gnu.org>
14107 * window.el (window--display-buffer-2): Fix previous changes.
14109 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14111 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14113 2009-12-01 Glenn Morris <rgm@gnu.org>
14115 * Makefile.in (ELCFILES): Add mpc.elc.
14117 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14119 * mpc.el: New file.
14121 2009-12-01 Glenn Morris <rgm@gnu.org>
14123 * window.el (window-to-use): Define for compiler.
14125 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14126 consistent with others (no final period).
14128 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14129 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14131 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14133 Make vc-print-log buttons work.
14134 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14136 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14138 * savehist.el (savehist-autosave-interval): Allow setting to nil
14139 through customize. (Bug#5056)
14141 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14143 Fix references to jit-lock properties.
14144 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14145 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14146 (perl-font-lock-special-syntactic-constructs):
14147 Quote jit-lock-defer-multiline property.
14149 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14151 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14153 2009-11-30 Juri Linkov <juri@jurta.org>
14155 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14156 value `buffer' of `multi-isearch-next-buffer-current-function'.
14157 Use `(current-buffer)' when `buffer' is nil.
14158 (multi-isearch-next-buffer-from-list): Don't fallback to
14159 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14161 2009-11-30 Juri Linkov <juri@jurta.org>
14163 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14164 of buffers with `get-buffer' to `multi-isearch-buffers'.
14165 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14166 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14167 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14168 FILES with `expand-file-name' converting relative file names
14169 to absolute. Doc fix. (Bug#4727)
14171 2009-11-30 Juri Linkov <juri@jurta.org>
14173 * misearch.el (multi-isearch-read-buffers)
14174 (multi-isearch-read-matching-buffers): New functions.
14175 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14176 Use them in the `interactive' spec. Doc fix.
14177 (multi-isearch-read-files, multi-isearch-read-matching-files):
14179 (multi-isearch-files, multi-isearch-files-regexp):
14180 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14182 2009-11-30 Juri Linkov <juri@jurta.org>
14184 * doc-view.el (doc-view-continuous):
14185 Rename from `doc-view-continuous-mode'.
14186 (doc-view-menu): Move "Toggle display" to the top.
14187 Add submenu "Continuous" with radio buttons "Off"/"On"
14188 and "Save as Default".
14189 (doc-view-scroll-up-or-next-page)
14190 (doc-view-scroll-down-or-previous-page)
14191 (doc-view-next-line-or-next-page)
14192 (doc-view-previous-line-or-previous-page):
14193 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14195 2009-11-30 Juri Linkov <juri@jurta.org>
14197 * comint.el (comint-mode-map): Rebind `M-r' from
14198 `comint-previous-matching-input' to
14199 `comint-history-isearch-backward-regexp'.
14200 Unbind `M-s' to allow global key binding `M-s'.
14201 Add menu items for `comint-history-isearch-backward' and
14202 `comint-history-isearch-backward-regexp'. (Bug#3746)
14204 2009-11-30 Juri Linkov <juri@jurta.org>
14206 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14207 For def=recenter, replace `recenter' with `recenter-top-bottom'
14208 that is called with `this-command' and `last-command' let-bound
14209 to `recenter-top-bottom'. When the last `def' was not `recenter',
14210 set `recenter-last-op' to nil. (Bug#4981)
14212 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14214 Minor cleanup and simplification.
14215 * filecache.el (file-cache-add-directory)
14216 (file-cache-add-directory-recursively)
14217 (file-cache-add-from-file-cache-buffer)
14218 (file-cache-delete-file-regexp, file-cache-delete-directory)
14219 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14220 (file-cache-temp-minibuffer-message): Delete function.
14221 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14223 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14224 Don't signal an error when bumping into EOB in tr, s, or y.
14226 2009-11-29 Juri Linkov <juri@jurta.org>
14228 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14231 * descr-text.el (describe-char-unidata-list): Use lowercase name
14232 for "Unicode name" like in other tags.
14234 2009-11-29 Juri Linkov <juri@jurta.org>
14236 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14237 New compatibility macro.
14238 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14240 2009-11-29 Juri Linkov <juri@jurta.org>
14242 Add defcustom to define the cycling order of `recenter-top-bottom'.
14245 * window.el (recenter-last-op): Doc fix.
14246 (recenter-positions): New defcustom.
14247 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14248 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14250 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14252 Improve integration of Tramp and ange-ftp in eshell.
14254 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14255 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14256 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14258 * eshell/esh-util.el (top): Require also Tramp when compiling.
14259 (eshell-directory-files-and-attributes): Check for FTP remote
14261 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14262 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14263 (eshell-file-attributes): Handle ".". Return `entry'.
14265 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14266 (ange-ftp-directory-files-and-attributes)
14267 (ange-ftp-real-directory-files-and-attributes): New defuns.
14269 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14270 shell with "exec" when possible. This prevents trailing prompts
14271 in `start-file-process'.
14273 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14275 Try and remove assumptions about point-min==1.
14276 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14277 (rng-compute-mode-line-string): Show the validation percentage in
14278 terms of the narrowed text, not the widened text.
14279 (rng-do-some-validation): Don't catch internal errors when debugging.
14280 (rng-first-error): Simplify.
14281 (rng-after-change-function): Remove work around. AFAIK the bug has
14282 been fixed a while ago.
14284 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14285 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14287 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14289 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14290 `cd' doesn't always do it for us (bug#5067).
14292 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14293 on 2009-10-25 as part of some other change (bug#5067).
14295 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14297 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14299 (byte-compile-warnings): Use byte-compile-warning-types.
14300 (byte-compile-save-excursion): Warn about use of set-buffer right
14301 after save-excursion.
14303 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14304 the excursion as well.
14306 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14308 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14309 providing a Tramp related implementation of "su" and "sudo".
14310 (eshell-unix-initialize): Add "su" and "sudo".
14312 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14314 * net/socks.el (socks-send-command): Convert binary request to
14315 unibyte before sending. This fixes mishandling of some port
14316 numbers such as 129.
14318 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14320 * help.el (describe-bindings-internal): Remove `interactive'.
14322 * man.el (Man-completion-table): Trim a terminating "(".
14323 Remove the space between name page a section.
14324 Add the command's description on the `help-echo' property.
14325 Remove `process-connection-type' binding since it's unused by
14327 Provide completion for the "<section> <name>" format as well.
14328 (Man-default-man-entry): Remove spurious var shadowing the argument.
14330 2009-11-26 Kevin Ryde <user42@zip.com.au>
14332 * log-view.el: Add "Keywords: tools", since its other keywords
14333 aren't in finder-known-keywords, and following vc.el.
14335 * sha1.el (sha1-string-external): default-directory "/" in case
14336 otherwise non-existent. process-connection-type pipe for touch of
14337 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14339 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14341 Misc coding convention cleanups.
14342 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14343 hfy-init-kludge-hooks.
14344 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14345 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14346 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14348 (hfy-slant, hfy-weight): Use tables rather than code.
14349 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14350 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14351 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14352 (hfy-face-to-css): Remove `nconc' with single arg.
14353 (hfy-p-to-face-lennart): Use `or'.
14354 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14355 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14356 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14357 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14358 (hfy-force-fontification): Use run-hooks.
14360 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14362 Various minor fixes.
14363 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14364 Javascript belongs in the header, not the body.
14365 (hfy-javascript): Remove.
14366 (hfy-fontify-buffer): Don't insert it any more.
14367 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14368 Fix bug in invis handling when there were no invis props in a chunk.
14370 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14372 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14374 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14376 * finder.el (finder-mode-map): Add a menu.
14378 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14380 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14381 "unsigned" structs.
14383 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14384 fork" statement better.
14386 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14388 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14389 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14390 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14391 Reported by Clay Douglass.
14393 (verilog-auto-inst, verilog-auto-star-safe)
14394 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14395 Fix removing "// Interfaces" when saving .* expansions.
14396 Reported by Pierre-David Pfister.
14398 2009-11-26 Glenn Morris <rgm@gnu.org>
14400 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14403 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14405 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14406 Really use previous revision.
14408 2009-11-25 Kevin Ryde <user42@zip.com.au>
14410 * man.el (Man-completion-table): default-directory "/" in case
14411 doesn't otherwise exist. process-environment COLUMNS=999 so as
14412 not to truncate long names. process-connection-type pipe to avoid
14413 any chance of hitting the pseudo-tty TIOCGWINSZ.
14414 (man): completion-ignore-case t for friendliness and since man
14415 itself is case-insensitive on the command line.
14416 Further to Bug#3717.
14418 * arc-mode.el: Add "Keywords: files", so the details in its
14419 commentary can be reached from finder-by-keyword.
14420 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14421 editing mode, but it's comms related and sgml-mode.el has "comm"
14423 * textmodes/bibtex-style.el: Add "Keywords: tex".
14424 * international/isearch-x.el, international/ja-dic-cnv.el:
14425 * international/ja-dic-utl.el, international/kkc.el:
14426 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14428 2009-11-25 Juri Linkov <juri@jurta.org>
14430 * man.el (Man-completion-table): Modify regexp to include
14431 section names to completion strings. (Bug#3717)
14433 2009-11-25 Juri Linkov <juri@jurta.org>
14435 Search recursively in gzipped files. (Bug#4982)
14437 * progmodes/grep.el (grep-highlight-matches): Add new options
14438 `always' and `auto'. Doc fix.
14439 (grep-process-setup): Check `grep-highlight-matches' for
14440 `auto-detect' to determine the need to compute grep defaults.
14441 Move Windows/DOS specific --colors settings handling
14442 to `grep-compute-defaults'. Check `grep-highlight-matches'
14443 to get the value of "--color=".
14444 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14445 has the value `auto-detect'. Move Windows/DOS specific settings
14446 from `grep-process-setup'.
14447 (zrgrep): New command with alias `rzgrep'.
14449 2009-11-25 Juri Linkov <juri@jurta.org>
14451 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14452 to nil instead of switching off view-mode. (Bug#4896)
14454 2009-11-25 Juri Linkov <juri@jurta.org>
14456 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14458 * mwheel.el (mwheel-scroll-up-function)
14459 (mwheel-scroll-down-function): New defvars.
14460 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14461 `scroll-up', and `mwheel-scroll-down-function' instead of
14464 * doc-view.el (doc-view-scroll-up-or-next-page)
14465 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14466 Use this ARG in the call to image-scroll-up/image-scroll-down.
14467 Change `interactive' spec to "P". Goto next/previous page only
14468 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14469 SPC/DEL case). Doc fix.
14470 (doc-view-next-line-or-next-page)
14471 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14473 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14474 `doc-view-scroll-up-or-next-page', and buffer-local
14475 `mwheel-scroll-down-function' to
14476 `doc-view-scroll-down-or-previous-page'.
14478 2009-11-25 Juri Linkov <juri@jurta.org>
14480 Provide additional default values (directories at other Dired
14481 windows) via M-n in the minibuffer of some Dired commands.
14483 * dired-aux.el (dired-diff, dired-compare-directories)
14484 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14485 `minibuffer-default' in `minibuffer-with-setup-hook'.
14486 (dired-dwim-target-directory): Find a window that displays Dired
14487 buffer instead of failing when the next window is not Dired.
14488 Use `get-window-with-predicate' to find for the next Dired window.
14489 (dired-dwim-target-defaults): New function.
14491 * ediff-util.el (ediff-read-file-name):
14492 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14493 in `minibuffer-with-setup-hook'.
14495 2009-11-25 Juri Linkov <juri@jurta.org>
14497 Provide additional default values (file name at point or at the
14498 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14500 * minibuffer.el (read-file-name-defaults): New function.
14501 (read-file-name): Reset `minibuffer-default' to nil when
14502 it duplicates initial input `insdef'.
14503 Bind `minibuffer-default-add-function' to lambda that
14504 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14505 (minibuffer-insert-file-name-at-point): New command.
14507 * files.el (file-name-at-point-functions): New defcustom.
14508 (find-file-default): Remove defvar.
14509 (find-file-read-args): Don't use `find-file-default'.
14510 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14511 to `read-file-name'.
14512 (find-file-literally): Use `read-file-name' with
14513 `confirm-nonexistent-file-or-buffer'.
14515 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14517 * dired.el (dired-read-dir-and-switches):
14518 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14519 to `read-file-name'.
14520 (dired-file-name-at-point): New function.
14521 (dired-mode): Add hook `dired-file-name-at-point' to
14522 `file-name-at-point-functions'.
14524 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14526 Really make the *Completions* window soft-dedicated (bug#5030).
14527 * window.el (window--display-buffer-2): Add `dedicated' argument.
14528 (display-buffer): Pass it when needed so the dedicated flag is set
14529 after calling set-window-buffer, which would otherwise reset it.
14531 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14533 * progmodes/meta-mode.el (meta-complete-symbol):
14534 * progmodes/etags.el (complete-tag):
14535 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14536 Use completion-in-region.
14538 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14539 (dabbrev-completion): Use completion-in-region.
14540 (dabbrev--abbrev-at-point): Simplify regexp.
14542 * abbrev.el (abbrev--before-point): Use word-motion functions
14543 if :regexp is not specified (bug#5031).
14545 * subr.el (string-prefix-p): New function.
14547 * man.el (Man-completion-cache): New var.
14548 (Man-completion-table): Use it.
14550 * vc.el (vc-print-log-internal): Make `limit' optional for better
14551 compatibility (e.g. with vc-annotate.el).
14553 2009-11-24 Kevin Ryde <user42@zip.com.au>
14555 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14556 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14558 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14559 when .el source file not found or other error.
14561 2009-11-24 Markus Triska <markus.triska@gmx.at>
14563 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14565 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14567 Handle the [back] button properly (bug#4979).
14568 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14569 Use help-setup-xref, help-buffer, and with-help-window.
14570 (describe-char): Add `buffer' argument.
14571 Pass proper command to help-setup-xref. Don't meddle with
14572 help-xref-stack-item directly.
14573 (describe-text-category): Use with-help-window and help-buffer.
14575 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14576 for the displayed buffer (bug#4887).
14578 * man.el (Man-completion-table): New function.
14581 2009-11-24 David Reitter <david.reitter@gmail.com>
14583 * vc-git.el (vc-git-registered): Use checkout directory (where
14584 .git is) rather than the file's directory and a relative path spec
14585 to work around a bug in git.
14587 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14589 Improve handling of processes on remote hosts.
14591 * eshell/esh-util.el (eshell-path-env): New defvar.
14592 (eshell-parse-colon-path): New defun.
14593 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14595 * eshell/esh-ext.el (eshell-search-path):
14596 Use `eshell-parse-colon-path'.
14597 (eshell-remote-command): Remove argument HANDLER.
14598 (eshell-external-command): Check for FTP remote connection.
14600 * eshell/esh-proc.el (eshell-gather-process-output):
14601 Use `file-truename', in order to start also symlinked files.
14602 Apply `start-file-process' instead of `start-process'.
14603 Shorten `command' to the local file name part.
14605 * eshell/em-cmpl.el (eshell-complete-commands-list):
14606 Use `eshell-parse-colon-path'.
14608 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14610 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14611 to `eshell-directory-change-hook'.
14613 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14615 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14616 because it could be enabled automatically if view-read-only is non-nil.
14618 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14620 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14621 made on 2009-11-22.
14623 2009-11-24 Glenn Morris <rgm@gnu.org>
14625 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14626 deleted variable bookmark-bmenu-bookmark-column.
14628 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14630 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14632 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14634 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14635 two slashes to the "file:" prefix.
14636 (browse-url-file-url): De-munge Cygwin filenames before passing
14637 them to Windows browser.
14638 (browse-url-default-windows-browser): Use call-process.
14640 2009-11-23 Juri Linkov <juri@jurta.org>
14642 Implement DocView Continuous mode. (Bug#4896)
14643 * doc-view.el (doc-view-continuous-mode): New defcustom.
14644 (doc-view-mode-map): Bind C-n/<down> to
14645 `doc-view-next-line-or-next-page', C-p/<up> to
14646 `doc-view-previous-line-or-previous-page'.
14647 (doc-view-next-line-or-next-page)
14648 (doc-view-previous-line-or-previous-page): New commands.
14650 2009-11-23 Juri Linkov <juri@jurta.org>
14652 Implement Isearch in comint input history. (Bug#3746)
14653 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14654 `isearch-mode-hook'.
14655 (comint-history-isearch): New defcustom.
14656 (comint-history-isearch-backward)
14657 (comint-history-isearch-backward-regexp): New commands.
14658 (comint-history-isearch-message-overlay): New buffer-local variable.
14659 (comint-history-isearch-setup, comint-history-isearch-end)
14660 (comint-goto-input, comint-history-isearch-search)
14661 (comint-history-isearch-message, comint-history-isearch-wrap)
14662 (comint-history-isearch-push-state)
14663 (comint-history-isearch-pop-state): New functions.
14665 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14667 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14669 (tramp-handle-make-symbolic-link)
14670 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14672 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14673 (tramp-handle-process-file): Use it.
14675 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14677 * window.el (move-to-window-line-last-op): Remove.
14678 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14680 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14682 Make M-r mirror the new cycling behavior of C-l.
14683 * window.el (move-to-window-line-last-op): New var.
14684 (move-to-window-line-top-bottom): New command.
14685 (global-map): Bind M-r move-to-window-line-top-bottom.
14687 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14689 * dired-x.el (dired-guess-shell-alist-default):
14690 Support xz format. (Bug#4953)
14692 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14694 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14695 last-command-char/last-command-event.
14696 (viper-prefix-arg-value): Do correct conversion of event-char for
14699 * emulation/viper-util.el, emulation/viper.el:
14700 Use viper-last-command-char instead of
14701 last-command-char/last-command-event.
14703 * ediff-init.el, ediff-mult.el, ediff-util.el:
14704 Replace last-command-char and last-command-event
14705 with (ediff-last-command-char) everywhere.
14707 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14708 created in fundamental mode.
14710 * ediff.el (ediff-version): Revert the change of interactive-p to
14711 called-interactively-p.
14713 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14715 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14716 generation from word-movement command names.
14718 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14720 * cus-start.el (all): Add native condition for font-use-system-font.
14722 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14724 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14725 Correct the patch from 2009-11-18. (Bug#3910)
14727 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14729 * progmodes/subword.el: Rename from lisp/subword.el.
14731 * subword.el: Rename to progmodes/subword.el.
14733 * Makefile.in (ELCFILES): Adapt to subword.el move.
14735 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14736 Stefan Monnier <monnier@iro.umontreal.ca>
14738 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14739 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14740 (bookmark-bmenu-show-filenames): Use push.
14741 (bookmark-bmenu-hide-filenames): Use local var instead of
14742 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14743 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14744 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14745 filenames now that the bookmark names are always available.
14747 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14749 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14750 (bookmark-search-pattern): Move and leave unbound.
14751 (bookmark-bmenu-mode-map): Change binding.
14752 (bookmark-read-search-input): Simplify.
14753 Don't use text-char-description. Don't error on non-char events.
14754 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14755 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14756 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14757 Use a local var for the timer.
14758 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14759 (i.e. bookmark-bmenu-search).
14761 2009-11-21 Glenn Morris <rgm@gnu.org>
14763 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14765 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14767 * net/browse-url.el (browse-url-default-windows-browser):
14768 Use cygstart for cygwin.
14770 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14772 * bookmark.el: Formatting and doc fixes only:
14773 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14774 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14775 Minor grammar and punctuation fixes in doc string.
14776 (bookmark-read-search-input): Adjust to fit within 80 columns.
14778 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14780 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14781 (c-backward-into-nomenclature): Adapt to subword renaming.
14783 * subword.el (subword-forward, subword-backward, subword-mark)
14784 (subword-kill, subword-backward-kill, subword-transpose)
14785 (subword-downcase, subword-upcase, subword-capitalize)
14786 (subword-forward-internal, subword-backward-internal):
14787 Rename from forward-subword, backward-subword, mark-subword,
14788 kill-subword, backward-kill-subword, transpose-subwords,
14789 downcase-subword, upcase-subword, capitalize-subword,
14790 forward-subword-internal, backward-subword-internal.
14792 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14794 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14796 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14798 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14799 (bookmark-bmenu-filter-alist-by-regexp)
14800 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14801 (bookmark-bmenu-search): New command.
14802 (bookmark-bmenu-mode-map): Bind it.
14804 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14806 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14807 backward-subword to quit the byte-compiler.
14809 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14811 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14813 * progmodes/cc-cmds.el (c-update-modeline)
14814 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14815 Refer to subword.el functions instead of cc-subword.el.
14817 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14818 subword.el functions instead of cc-subword.el.
14820 * progmodes/cc-subword.el: Rename to subword.el.
14821 * subword.el: Rename from progmodes/cc-subword.el.
14822 (subword-mode-map): Rename from c-subword-mode-map.
14823 (subword-mode): Rename from c-subword-mode.
14824 (global-subword-mode): New global minor mode.
14825 (forward-subword): Rename from c-forward-subword.
14826 (backward-subword): Rename from c-backward-subword.
14827 (mark-subword): Rename from c-mark-subword.
14828 (kill-subword): Rename from c-kill-subword.
14829 (backward-kill-subword): Rename from c-backward-kill-subword.
14830 (transpose-subwords): Rename from c-tranpose-subword.
14831 (downcase-subword): Rename from c-downcase-subword.
14832 (capitalize-subword): Rename from c-capitalize-subword.
14833 (forward-subword-internal): Rename from c-forward-subword-internal.
14834 (backward-subword-internal): Rename from c-backward-subword-internal.
14836 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14838 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14839 from a dired buffer.
14840 (vc-dired-deduce-fileset): New function.
14841 (vc-root-diff, vc-print-root-log): Use it.
14843 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14844 nil LIMIT argument to vc-print-log-internal.
14846 2009-11-20 Glenn Morris <rgm@gnu.org>
14848 * Makefile.in (ELCFILES): Regenerate.
14850 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14852 * calc/calc.el (calc-set-mode-line):
14853 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14854 (math-format-number): Rename `math-format-complement-signed' to
14855 `math-format-twos-complement'.
14857 * calc/calc-bin.el (math-format-twos-complement): Rename from
14858 math-format-complement-signed.
14859 (calc-radix): Rename `calc-complement-signed-mode' to
14860 `calc-twos-complement-mode'.
14861 (calc-octal-radix, calc-hex-radix): Add an argument for
14864 * calc/calc-embed.el (calc-embedded-mode-vars):
14865 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14867 * calc/calc-ext.el (calc-init-extensions):
14868 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14869 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14871 * calc/calc-units.el (math-build-units-table-buffer):
14872 Let `calc-twos-complement-mode' be nil.
14874 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14877 * calc/calc-vec.el (calcFunc-vunpack):
14878 * calc/calc-aent.el (calc-do-calc-eval):
14879 * calc/calc-forms.el (math-format-date):
14880 * calc/calc-graph.el (calc-graph-plot):
14881 * calc/calc-math.el (math-use-emacs-fn):
14882 * calc/calccomp.el (math-compose-expr):
14883 Let `calc-twos-complement-mode' be nil.
14885 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14887 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14888 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14889 * minibuffer.el (completion-in-region-functions): New hook.
14890 (completion-in-region): New function.
14891 * emacs-lisp/lisp.el (lisp-complete-symbol):
14892 * pcomplete.el (pcomplete-std-complete): Use it.
14894 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14896 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14897 (latex-complete-alist): New vars.
14898 (latex-string-prefix-p, latex-complete-bibtex-keys)
14899 (latex-complete-envnames, latex-complete-refkeys)
14900 (latex-complete-data): New functions.
14901 (latex-complete, latex-indent-or-complete): New commands.
14903 * window.el (display-buffer-mark-dedicated): New var.
14904 (display-buffer): Obey it.
14905 * minibuffer.el (minibuffer-completion-help): Use it.
14907 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14909 * filecache.el (file-cache-add-file): Use push and cons.
14910 (file-cache-delete-file-regexp): Use push.
14911 (file-cache-complete): Use completion-in-region.
14913 * simple.el (with-wrapper-hook): Fix thinko.
14915 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14916 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14917 Use with-current-buffer and string-to-number.
14918 (hfy-fallback-colour-values): Use assoc-string.
14919 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14920 (hfy-face-at): Remove unused var `found-face'.
14921 (hfy-compile-stylesheet): Remove unused var `css'.
14922 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14924 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14925 Use with-current-buffer.
14926 (hfy-text-p): Use expand-file-name and fewer setq.
14928 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14930 * htmlfontify.el, hfy-cmap.el: New files.
14932 2009-11-19 Juri Linkov <juri@jurta.org>
14934 * minibuffer.el (completions-format): New defcustom.
14935 (completion--insert-strings): Implement vertical format.
14937 * simple.el (switch-to-completions): Move point to the first
14938 completion when point was at the beginning of the buffer.
14940 2009-11-19 Juri Linkov <juri@jurta.org>
14942 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14944 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14946 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14948 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14949 (mail-signature): Change default to t.
14950 (mail-from-style): Deprecate `system-default' value.
14951 (mail-insert-from-field): For default value of mail-from-style,
14952 default to `angles' unless `angles' needs quoting and `parens'
14954 (mail-citation-prefix-regexp): Use citation regexp from
14957 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14959 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14960 Set variables for computing the prompt for reading password.
14962 2009-11-19 Glenn Morris <rgm@gnu.org>
14964 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14966 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14968 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14969 (newsticker-treeview-listwindow-height): Fix custom type.
14971 2009-11-19 Kenichi Handa <handa@m17n.org>
14973 * descr-text.el (describe-char-padded-string): Compose with TAB
14974 only if there's a font for CH.
14975 (describe-char): Fix the condition for detecting a trivial composition.
14977 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14979 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14980 more accurate version of the regexp. (Bug#3910)
14982 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14984 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14986 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14988 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14989 (font-setting-change-default-font): Fix typo in docstring.
14991 2009-11-18 Alan Mackenzie <acm@muc.de>
14993 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14995 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14997 * font-setting.el (font-use-system-font): Move ...
14999 * cus-start.el (all): ... to here.
15001 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15003 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15004 Don't set `ad-return-value' if `ad-do-it' doesn't.
15006 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15009 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15011 * menu-bar.el: Put "Use system font" in Option-menu.
15012 (menu-bar-options-save): Add font-use-system-font.
15014 * loadup.el: If feature system-font-setting or font-render-setting is
15015 there, load font-setting.
15017 * Makefile.in (ELCFILES): Add font-settings.el.
15018 * font-setting.el: New file.
15020 2009-11-17 Glenn Morris <rgm@gnu.org>
15022 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15024 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15025 Preserve point in the list buffer. (Bug#4939)
15027 (newsticker--treeview-list-update-highlight)
15028 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15030 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15032 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15035 * calc/calc-ext.el (calc-init-extensions): Remove references to
15038 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15040 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15041 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15044 2009-11-16 Kevin Ryde <user42@zip.com.au>
15046 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15047 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15049 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15050 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15051 Ignore trailing spaces by omit-nulls to split-string (fixing
15052 regression from Emacs 21 due to the incompatible split-string
15053 change). (Bug #4928.)
15055 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15057 * vc.el (vc-log-show-limit): Default to 2000.
15058 (vc-print-log-internal): Insert buttons to request more entries
15059 when limiting the output.
15061 * vc-sccs.el (vc-sccs-print-log):
15062 * vc-rcs.el (vc-rcs-print-log):
15063 * vc-cvs.el (vc-cvs-print-log):
15064 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15067 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15069 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15070 error when `tramp-gvfs-dbus-event-vector' is set.
15071 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15073 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15075 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15077 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15079 * net/dbus.el (dbus-unregister-service): New defun.
15080 (dbus-register-property): Register the handlers of
15081 "org.freedesktop.DBus.Properties" for SERVICE.
15082 (dbus-property-handler): Fix docstring.
15084 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15086 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15087 Quote doc string reference in defvaralias as it is not in special form.
15088 (byte-compile-output-docform): Doc fix.
15090 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15092 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15093 (calc-complement-signed-mode): New variables.
15094 (calc-set-mode-line): Add indicator for twos-complements.
15095 (math-format-number): Format twos-complement notation.
15097 * calc/calc-bin.el (calc-word-size): Reset the variables
15098 `math-2-word-size' and `math-half-2-word-size'.
15099 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15100 (calc-symclip): New functions.
15102 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15104 * calc/calc-embed.el (calc-embedded-mode-vars):
15105 Add `calc-complement-signed-mode' to the list of modes.
15107 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15108 (calc-b-oper-keys): Add `calc-symclip' to list.
15110 * calc/calc-ext.el (math-read-number-fancy): Read complement
15112 (calc-init-extensions): Add binding for `calc-symclip'.
15113 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15115 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15117 (calc-modes-menu): Add item for twos complement mode.
15119 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15121 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15123 * register.el (jump-to-register, insert-register): Handle Semantic
15124 tags. From commented-out advice in semantic/senator.el.
15126 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15128 * vc.el (vc-log-show-limit): New variable.
15129 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15130 when using a prefix argument.
15131 (vc-print-log-internal): Add new argument LIMIT.
15133 * vc-svn.el (vc-svn-print-log):
15134 * vc-mtn.el (vc-mtn-print-log):
15135 * vc-hg.el (vc-hg-print-log):
15136 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15137 pass it to the log command when set. Make the BUFFER argument
15140 * vc-sccs.el (vc-sccs-print-log):
15141 * vc-rcs.el (vc-rcs-print-log):
15142 * vc-git.el (vc-git-print-log):
15143 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15144 ignore it. Make the BUFFER argument non-optional
15146 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15148 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15150 * dired.el (dired-mode-map): Move encryption items to "Operate"
15153 * strokes.el (strokes-update-window-configuration): Make strokes
15154 buffer current before erasing (Bug#4906).
15156 2009-11-15 Juri Linkov <juri@jurta.org>
15158 * simple.el (set-mark-default-inactive): Add :type, :group
15159 and :version. (Bug#4876)
15161 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15163 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15164 (archive-unique-fname): ... here. (Bug#4929)
15166 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15168 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15171 * novice.el (disabled-command-function): Add useful args.
15172 Setup the help buffer so that [back] works.
15173 Remove redundant call to help-mode.
15174 (disabled-command-function): Use `case'.
15175 (en/disable-command): New function extracted from enable-command.
15176 (enable-command, disable-command): Use it.
15178 2009-11-14 Glenn Morris <rgm@gnu.org>
15180 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15181 constants. (Bug#4913)
15183 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15185 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15187 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15188 defined in C that have no doc-strings. (Bug#1063)
15190 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15192 * cus-edit.el (data, files):
15193 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15195 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15197 * simple.el (shell-command): Doc fix (Bug#4891).
15199 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15201 2009-11-14 Glenn Morris <rgm@gnu.org>
15203 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15204 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15205 If they are already loaded, eval-after-load will do the right thing.
15207 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15210 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15212 * simple.el (x-selection-owner-p): Declare.
15213 (read-mail-command): Use custom radio type rather than choice.
15214 (completion-no-auto-exit): Doc fix.
15216 * custom.el (defgroup):
15217 * epg-config.el (epg): Doc fixes.
15219 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15221 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15222 * international/ccl.el (define-ccl-program): Do not purecopy the
15223 docstring, defconst does it anyway.
15225 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15227 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15230 * x-dnd.el (x-dnd-maybe-call-test-function):
15231 * window.el (split-window-vertically):
15232 * whitespace.el (whitespace-help-on):
15233 * vc-rcs.el (vc-rcs-consult-headers):
15234 * userlock.el (ask-user-about-lock-help)
15235 (ask-user-about-supersession-help):
15236 * type-break.el (type-break-force-mode-line-update):
15237 * time-stamp.el (time-stamp-conv-warn):
15238 * terminal.el (te-set-output-log, te-more-break, te-filter)
15239 (te-sentinel, terminal-emulator):
15240 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15241 (term-write-input-ring, term-check-source, term-start-output-log):
15242 (term-display-buffer-line, term-dynamic-list-completions):
15243 (term-ansi-make-term, serial-term):
15244 * subr.el (selective-display):
15245 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15246 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15247 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15248 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15249 (speedbar-remove-localized-speedbar-support)
15250 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15251 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15252 (speedbar-buffers-line-directory):
15253 * simple.el (shell-command-on-region, append-to-buffer)
15254 (prepend-to-buffer):
15255 * shadowfile.el (shadow-save-todo-file):
15256 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15257 (scroll-bar-maybe-set-window-start):
15258 * sb-image.el (speedbar-image-dump):
15259 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15260 (load-save-place-alist-from-file):
15261 * ps-samp.el (ps-print-message-from-summary):
15262 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15263 (ps-background-image, ps-begin-job, ps-do-despool):
15264 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15265 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15266 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15267 (pr-call-process, pr-file-list, pr-interface-save):
15268 * novice.el (disabled-command-function)
15269 (enable-command, disable-command):
15270 * mouse.el (mouse-buffer-menu-alist):
15271 * mouse-copy.el (mouse-kill-preserving-secondary):
15272 * macros.el (kbd-macro-query):
15273 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15274 * informat.el (batch-info-validate):
15275 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15276 * hippie-exp.el (try-expand-dabbrev-visible):
15277 * help-mode.el (help-make-xrefs):
15278 * help-fns.el (describe-variable):
15279 * generic-x.el (bat-generic-mode-run-as-comint):
15280 * finder.el (finder-mouse-select):
15281 * find-dired.el (find-dired-sentinel):
15282 * filesets.el (filesets-file-close):
15283 * files.el (list-directory):
15284 * faces.el (list-faces-display, describe-face):
15285 * facemenu.el (list-colors-display):
15286 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15287 * epg.el (epg--process-filter, epg-cancel):
15288 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15289 (epa--read-signature-type):
15290 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15291 (emerge-file-names):
15292 * ehelp.el (electric-helpify):
15293 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15294 * ediff-vers.el (rcs-ediff-view-revision):
15295 * ediff-util.el (ediff-setup):
15296 * ediff-mult.el (ediff-append-custom-diff):
15297 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15299 * echistory.el (Electric-command-history-redo-expression):
15300 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15301 * disp-table.el (describe-display-table):
15302 * dired.el (dired-find-buffer-nocreate):
15303 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15304 * dabbrev.el (dabbrev--same-major-mode-p):
15305 * chistory.el (list-command-history):
15306 * apropos.el (apropos-documentation):
15307 * allout.el (allout-obtain-passphrase):
15308 (allout-copy-exposed-to-buffer):
15309 (allout-verify-passphrase): Use with-current-buffer.
15311 2009-11-13 Glenn Morris <rgm@gnu.org>
15313 * Makefile.in (ELCFILES): Regenerate.
15315 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15317 * net/dbus.el (dbus-registered-objects-table): Rename from
15318 `dbus-registered-functions-table', because it contains also properties.
15319 (dbus-unregister-object): Unregister also properties.
15320 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15321 Use a timeout of 500 msec, in order to not block.
15322 (dbus-register-property, dbus-property-handler): New defuns.
15324 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15326 * simple.el (minibuffer-default-add-completions): Drop deprecated
15329 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15331 * textmodes/artist.el (artist-mouse-choose-operation):
15332 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15333 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15334 (artist-compute-up-event-key): New function.
15335 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15337 2009-11-13 Kenichi Handa <handa@m17n.org>
15339 * language/japan-util.el: Make sure that the value of jisx0208
15340 property is jisx0208 character.
15342 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15344 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15345 car or each item, not the whole list.
15347 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15349 * minibuffer.el (minibuffer-completion-help):
15350 Use minibuffer-hide-completions.
15352 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15354 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15355 (dired-revert): Use them (bug#4880).
15357 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15359 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15361 2009-11-12 Juri Linkov <juri@jurta.org>
15363 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15365 (find-file-literally-at-point): Alias of `ffap-literally'.
15367 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15369 * textmodes/ispell.el (ispell-skip-region-alist):
15370 * textmodes/css-mode.el (auto-mode-alist):
15371 * progmodes/compile.el (auto-mode-alist):
15372 * international/mule.el (ctext-non-standard-encodings-alist)
15373 (ctext-non-standard-encodings-regexp):
15374 * simple.el (shell-command-switch, text-read-only):
15375 * replace.el (occur-mode-map):
15376 * paths.el (rmail-file-name):
15377 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15378 * find-file.el (ff-special-constructs):
15379 * files.el (file-name-handler-alist):
15380 * composite.el: Purecopy strings.
15382 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15384 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15386 * widget.el (define-widget): Purecopy the docstring.
15387 * international/mule-cmds.el (charset): Do not purecopy the
15388 docstring here, define-widget does it.
15390 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15391 * textmodes/bibtex-style.el (auto-mode-alist):
15392 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15393 * progmodes/compile.el (compile-command):
15394 * language/korea-util.el (default-korean-keyboard):
15395 * international/mule-conf.el (file-coding-system-alist):
15396 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15397 * tooltip.el (tooltip-frame-parameters):
15398 * newcomment.el (comment-end, comment-padding):
15399 * dired.el (dired-trivial-filenames):
15400 * comint.el (comint-file-name-prefix): Purecopy initial values.
15402 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15404 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15405 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15407 (tramp-advice-make-auto-save-file-name)
15408 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15409 after removing the advice.
15411 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15413 * progmodes/grep.el (grep-regexp-alist):
15414 * international/mule-cmds.el (iso-2022-control-alist):
15415 * emacs-lisp/timer.el (timer-duration-words):
15416 * subr.el (version-separator, version-regexp-alist):
15417 * minibuffer.el (completion-styles-alist):
15418 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15419 Change defvars to defconsts.
15421 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15422 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15423 * international/mule-conf.el: Allow to be byte compiled.
15425 * international/mule.el (define-charset): Purecopy props.
15426 (load-with-code-conversion): Purecopy doc string and file name.
15427 (put-charset-property): Purecopy strings.
15428 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15430 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15431 (define-char-code-property): Correctly purecopy the table.
15433 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15435 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15437 * subr.el (add-hook): Purecopy strings.
15438 (eval-after-load): Purecopy load-history-regexp and the form.
15440 * custom.el (custom-declare-group): Purecopy load-file-name.
15442 * subr.el (menu-bar-separator): New defconst.
15443 * net/eudc.el (eudc-tools-menu):
15444 * international/mule-cmds.el (set-coding-system-map)
15445 (mule-menu-keymap):
15446 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15447 * vc-hooks.el (vc-menu-map):
15448 * replace.el (occur-mode-map):
15449 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15450 (menu-bar-edit-menu, menu-bar-goto-menu)
15451 (menu-bar-custom-menu, menu-bar-showhide-menu)
15452 (menu-bar-options-menu, menu-bar-tools-menu)
15453 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15454 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15455 (menu-bar-help-menu):
15456 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15457 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15459 * term/x-win.el (x-gtk-stock-map):
15460 * progmodes/vera-mode.el (auto-mode-alist):
15461 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15462 (inferior-lisp-program, inferior-lisp-load-command):
15463 * progmodes/hideshow.el (hs-special-modes-alist):
15464 * progmodes/gud.el (same-window-regexps):
15465 * progmodes/grep.el (grep-program, find-program, xargs-program):
15466 * net/telnet.el (same-window-regexps):
15467 * net/rlogin.el (same-window-regexps):
15468 * language/ethiopic.el (font-ccl-encoder-alist):
15469 * vc-sccs.el (vc-sccs-master-templates):
15470 * vc-rcs.el (vc-rcs-master-templates):
15471 * subr.el (cl-assertion-failed):
15472 * simple.el (next-error-overlay-arrow-position):
15473 * lpr.el (lpr-command):
15474 * locate.el (locate-ls-subdir-switches):
15475 * info.el (same-window-regexps, info)
15476 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15477 * image-mode.el (image-mode, auto-mode-alist):
15478 * hippie-exp.el (hippie-expand-ignore-buffers):
15479 * format.el (format-alist):
15480 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15482 * facemenu.el (facemenu-keybindings):
15483 * dired.el (dired-listing-switches, dired-chown-program):
15484 * diff.el (diff-switches, diff-command):
15485 * cus-edit.el (same-window-regexps):
15486 * bindings.el (mode-line-mule-info)
15487 (mode-line-buffer-identification): Purecopy strings.
15489 2009-11-11 Juri Linkov <juri@jurta.org>
15491 * simple.el (dired-get-filename) <declare-function>:
15492 Tell the byte-compiler about dired-get-filename.
15493 (shell-command): In Dired mode, get filename from the current line
15494 as the default value.
15496 2009-11-10 Glenn Morris <rgm@gnu.org>
15498 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15499 * calendar/holidays.el, progmodes/cperl-mode.el:
15500 Update x-popup-menu declarations.
15502 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15503 (list-load-path-shadows): Use dolist.
15504 (list-load-path-shadows): Use with-current-buffer.
15506 2009-11-10 Juri Linkov <juri@jurta.org>
15508 * minibuffer.el (read-file-name): Support a list of default values
15509 in `default-filename'. Use the first file name where only one
15510 element is required. Doc fix.
15512 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15514 * net/dbus.el (dbus-unregister-object): Release service, if no
15515 other method is registered for it.
15517 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15519 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15520 bookmark-sort-flag is non-nil (Bug#4653).
15522 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15524 * emulation/cua-base.el: Add CUA property to some CC mode commands
15527 2009-11-08 Kevin Ryde <user42@zip.com.au>
15529 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15530 at end of sentence (Bug#4818).
15532 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15534 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15535 Handle "see declaration of" MSFT statements (Bug#4100).
15537 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15539 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15540 (tramp-advice-file-expand-wildcards): Unload via
15541 `ad-remove-advice'.
15543 * net/trampver.el: Update release number.
15545 2009-11-08 Kevin Ryde <user42@zip.com.au>
15547 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15550 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15552 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15553 in order to keep context in SELinux.
15555 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15557 * dired-aux.el (dired-query): Place cursor in echo area and allow
15560 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15561 menu item if not on a directory (Bug#4701).
15563 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15565 Sync with Tramp 2.1.17.
15567 * net/tramp.el (tramp-handle-copy-directory): Don't use
15568 `file-remote-p' (due to compatibility).
15570 * net/tramp-compat.el (tramp-compat-copy-directory)
15571 (tramp-compat-delete-directory): New defuns.
15573 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15574 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15575 Use `tramp-compat-delete-directory'.
15577 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15578 (tramp-smb-handle-delete-directory):
15579 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15581 * net/trampver.el: Update release number.
15583 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15585 * tar-mode.el (tar-copy): Call write-region on the right buffer
15588 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15589 by hand, if necessary (Bug#4878).
15591 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15593 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15594 align size column (Bug#4839).
15596 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15599 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15601 * progmodes/ld-script.el (auto-mode-alist):
15602 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15604 * cus-face.el (custom-declare-face): Purecopy face spec.
15606 2009-11-06 Kenichi Handa <handa@m17n.org>
15608 * international/uni-bidi.el: Re-generated.
15609 * international/uni-category.el: Re-generated.
15610 * international/uni-combining.el: Re-generated.
15611 * international/uni-mirrored.el: Re-generated.
15613 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15615 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15616 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15617 (tex-start-options, slitex-run-command, latex-run-command)
15618 (tex-run-command, tex-directory):
15619 * textmodes/ispell.el (ispell-html-skip-alists)
15620 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15621 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15622 (adaptive-fill-regexp):
15623 * textmodes/dns-mode.el (auto-mode-alist):
15624 * progmodes/python.el (interpreter-mode-alist):
15625 * progmodes/etags.el (tags-compression-info-list):
15626 * progmodes/etags.el (tags-file-name):
15627 * net/browse-url.el (browse-url-galeon-program)
15628 (browse-url-firefox-program):
15629 * mail/sendmail.el (mail-signature-file)
15630 (mail-citation-prefix-regexp):
15631 * international/mule-conf.el (eight-bit):
15632 * international/latexenc.el (latex-inputenc-coding-alist):
15633 * international/fontset.el (x-pixel-size-width-font-regexp):
15634 * emacs-lisp/warnings.el (warning-type-format):
15635 * emacs-lisp/trace.el (trace-buffer):
15636 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15637 (emacs-lisp-mode-map):
15638 * calendar/holidays.el (holiday-solar-holidays)
15639 (holiday-bahai-holidays, holiday-islamic-holidays)
15640 (holiday-christian-holidays, holiday-hebrew-holidays)
15641 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15642 (hebrew-holidays-1, holiday-oriental-holidays)
15643 (holiday-general-holidays):
15644 * x-dnd.el (x-dnd-known-types):
15645 * tool-bar.el (tool-bar):
15646 * startup.el (site-run-file):
15647 * shell.el (shell-dumb-shell-regexp):
15648 * rfn-eshadow.el (file-name-shadow-tty-properties)
15649 (file-name-shadow-properties):
15650 * paths.el (remote-shell-program, news-directory):
15651 * mouse.el ([C-down-mouse-3]):
15652 * menu-bar.el (menu-bar-tools-menu):
15653 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15654 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15655 (jka-compr-compression-info-list):
15656 * isearch.el (search-whitespace-regexp):
15657 * image-file.el (image-file-name-extensions):
15658 * find-dired.el (find-ls-option):
15659 * files.el (directory-listing-before-filename-regexp)
15660 (directory-free-space-args, insert-directory-program)
15661 (list-directory-brief-switches, magic-fallback-mode-alist)
15662 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15663 (automount-dir-prefix):
15664 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15665 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15666 (face-font-registry-alternatives, face-font-registry-alternatives)
15667 (face-font-family-alternatives):
15668 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15669 (facemenu-foreground-menu, facemenu-face-menu):
15670 * epa-hook.el (epa-file-name-regexp):
15671 * dnd.el (dnd-protocol-alist):
15672 * textmodes/rst.el (auto-mode-alist):
15673 * button.el (default-button): Purecopy strings.
15675 2009-11-06 Glenn Morris <rgm@gnu.org>
15677 * Makefile.in (ELCFILES): Update.
15679 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15681 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15682 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15684 * nxml/xsd-regexp.el (xsdre-gen-categories):
15685 * nxml/xmltok.el (xmltok-parse-entity):
15686 * nxml/rng-parse.el (rng-parse-validate-file):
15687 * nxml/rng-maint.el (rng-format-manual)
15688 (rng-manual-output-force-new-line):
15689 * nxml/rng-loc.el (rng-save-schema-location-1):
15690 * nxml/rng-cmpct.el (rng-c-parse-file):
15691 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15692 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15694 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15696 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15697 Remove extra save-excursions and make-variable-buffer-local's.
15698 Suggested by Stefan Monnier.
15700 (verilog-getopt-file, verilog-module-inside-filename-p)
15701 (verilog-set-define): Merge GNU 1.35 and repair changes from
15702 switching to using with-current-buffer.
15704 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15705 being treated as a number and confusing AUTORESET.
15706 Reported by Dan Dever.
15708 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15709 Add verilog-auto-ignore-concat to fix backward compatibility with
15710 older verilog-modes. Reported by Dan Katz.
15712 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15713 containing closing anchors "...$".
15715 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15716 Reported by Wade Smith.
15718 (verilog-batch-execute-func): Comment on function usage.
15720 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15722 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15725 (verilog-label-re, verilog-calc-1): Support proper indent of named
15728 (verilog-backward-token, verilog-basic-complete-re)
15729 (verilog-beg-of-statement, verilog-indent-re): Support proper
15730 indent of the assert statement at the beginning of a block of text.
15732 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15733 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15736 2009-11-05 Glenn Morris <rgm@gnu.org>
15738 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15739 Emacs 19. (Bug#1531)
15740 (byte-compile-fix-header): Update for the above change.
15741 Drop test for epoch::version.
15743 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15744 * cus-dep.el (custom-make-dependencies):
15745 * finder.el (finder-compile-keywords):
15746 Use autoload-rubric's feature argument.
15748 * calendar/diary-lib.el (top-level): Make load behave more like require.
15750 * vc-git.el (vc-git-stash-map): Move definition before use.
15752 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15754 * custom.el (custom-declare-group): Purecopy standard-value.
15755 (custom-declare-group): Purecopy custom-prefix.
15757 * international/mule.el (load-with-code-conversion):
15758 Call do-after-load-evaluation unconditionally.
15760 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15762 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15764 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15766 2009-11-04 Glenn Morris <rgm@gnu.org>
15768 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15769 (byte-compile-compatibility): Remove option.
15770 (byte-compile-close-variables, byte-compile-fix-header)
15771 (byte-compile-insert-header, byte-compile-output-docform)
15772 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15773 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15774 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15775 (byte-compile-insert, byte-compile-defun):
15776 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15777 (byte-defop-compiler19): Remove.
15778 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15779 used by anything. Replace all calls with byte-defop-compiler.
15781 2009-11-04 Juri Linkov <juri@jurta.org>
15783 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15784 (menu-bar-options-menu): Don't quote the `prop' arg of
15785 `menu-bar-make-mm-toggle'.
15787 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15789 * calendar/calendar.el (cal-loaddefs):
15790 * calendar/diary-lib.el (diary-loaddefs):
15791 * calendar/holidays.el (hol-loaddefs):
15792 * eshell/esh-module.el (esh-groups): Load rather than require.
15794 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15796 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15798 (todo-top-priorities): Only display-buffer when called interactively.
15799 (todo-item-start): Don't save excursion point.
15800 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15801 (todo-insert-item-here, todo-file-item, todo-remove-item):
15802 Adjust uses of todo-item-start and todo-item-end.
15804 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15805 (autoload-rubric): Don't use any more.
15807 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15808 and only put a prop if it is non-nil.
15810 2009-11-03 Juri Linkov <juri@jurta.org>
15812 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15813 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15815 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15816 and "Menu" to make top-level menu item visually one unit (like
15817 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15818 multi-word menu items). Fix :help string for quit-window.
15820 2009-11-03 Glenn Morris <rgm@gnu.org>
15822 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15823 (byte-compile-file-form-define-abbrev-table)
15824 (byte-compile-file-form-custom-declare-variable)
15825 (byte-compile-variable-ref, byte-compile-defvar):
15826 Whether or not a warning is enabled should only affect whether we issue
15827 the warning, not whether or not we collect the relevant data.
15828 Eg warnings can be turned on and off throughout the course of a file.
15830 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15831 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15833 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15835 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15836 * play/mpuz.el (mpuz-create-buffer):
15837 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15838 (lm-print-y,s,noise, lm-print-w0, lm-init):
15839 * play/gomoku.el (gomoku-prompt-for-move):
15840 * play/fortune.el (fortune-in-buffer):
15841 * play/dissociate.el (dissociated-press):
15842 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15843 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15844 * mail/supercite.el (sc-eref-show):
15845 * mail/smtpmail.el (smtpmail-send-it):
15846 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15847 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15848 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15849 (rmail-summary-goto-msg, rmail-summary-expunge)
15850 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15851 (rmail-summary-add-label, rmail-summary-output-menu)
15852 (rmail-summary-output-body):
15853 * mail/rfc822.el (rfc822-addresses):
15854 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15855 * mail/mailpost.el (post-mail-send-it):
15856 * mail/hashcash.el (hashcash-generate-payment):
15857 * mail/feedmail.el (feedmail-run-the-queue)
15858 (feedmail-queue-send-edit-prompt-help-first)
15859 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15860 (feedmail-deduce-address-list):
15861 * eshell/esh-ext.el (eshell-remote-command):
15862 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15863 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15864 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15865 (viper-save-string-in-file, viper-valid-marker):
15866 * emulation/viper-keym.el (viper-toggle-key):
15867 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15868 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15869 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15870 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15871 (viper-exec-form-in-emacs, viper-brac-function):
15872 * emulation/viper.el (viper-delocalize-var):
15873 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15874 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15875 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15876 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15877 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15878 * emulation/edt.el (edt-electric-helpify):
15879 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15880 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15881 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15882 (cua-indent-to-global-mark-column):
15883 * calendar/diary-lib.el (calendar-mark-1):
15884 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15885 Use with-current-buffer.
15886 * emulation/viper.el (viper-delocalize-var): Use dolist.
15888 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15890 * comint.el (comint-replace-by-expanded-history-before-point):
15891 Replace !! with the previous input string literally (Bug#1795).
15893 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15895 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15896 to be made up of whitespace.
15898 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15900 * minibuffer.el (read-file-name): Don't use file dialogs for
15901 remote directories (Bug#99).
15903 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15905 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15907 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15909 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15910 instead of deleting the window or frame.
15912 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15914 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15915 Support face colors.
15917 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15918 New function. Support face colors (Bug#1168).
15919 (tex-common-initialization): Use it.
15921 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15922 mode allows it (Bug#1168).
15924 2009-10-31 Juri Linkov <juri@jurta.org>
15926 * facemenu.el (list-colors-display): Don't mark buffer as
15927 modified (Bug#3948).
15929 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15931 * international/mule-diag.el (list-character-sets-1):
15932 Minor message fix (Bug#3526).
15934 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15935 Fix face property (Bug#4834).
15936 (etags-list-tags, etags-tags-apropos-additional)
15937 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15940 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15943 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15945 * textmodes/two-column.el (2C-split):
15946 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15947 * textmodes/tex-mode.el (tex-set-buffer-directory):
15948 * textmodes/spell.el (spell-region, spell-string):
15949 * textmodes/reftex.el (reftex-erase-buffer):
15950 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15951 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15952 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15953 (reftex-select-item):
15954 * textmodes/reftex-ref.el (reftex-label-info-update)
15955 (reftex-offer-label-menu):
15956 * textmodes/reftex-index.el (reftex-index-change-entry)
15957 (reftex-index-phrases-info):
15958 * textmodes/reftex-global.el (reftex-create-tags-file)
15959 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15960 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15961 (reftex-view-crossref-from-bibtex):
15962 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15963 (reftex-extract-bib-entries-from-thebibliography)
15964 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15965 * textmodes/refbib.el (r2b-capitalize-title):
15966 (r2b-convert-buffer, r2b-help):
15967 * textmodes/page-ext.el (pages-directory)
15968 (pages-directory-goto-with-mouse):
15969 * textmodes/bibtex.el (bibtex-validate-globally):
15970 * textmodes/bib-mode.el (bib-capitalize-title):
15971 * textmodes/artist.el (artist-clear-buffer, artist-system):
15972 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15973 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15974 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15975 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15976 (xscheme-send-control-g-interrupt, xscheme-start-process)
15977 (xscheme-process-sentinel, xscheme-cd):
15978 * progmodes/verilog-mode.el (verilog-read-always-signals)
15979 (verilog-set-define, verilog-getopt-file)
15980 (verilog-module-inside-filename-p):
15981 * progmodes/sh-script.el:
15982 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15983 (python-pdbtrack-grub-for-buffer, python-execute-file):
15984 * progmodes/octave-inf.el (inferior-octave):
15985 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15986 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15987 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15988 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15989 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15990 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15991 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15992 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15993 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15994 (idlwave-shell-examine-display, idlwave-shell-run-region)
15995 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15996 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15997 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15998 (idlwave-help-get-help-buffer):
15999 * progmodes/gud.el (gud-basic-call, gud-find-class)
16000 (gud-tooltip-activate-mouse-motions-if-enabled):
16001 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16002 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16003 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16004 (ebrowse-tags-next-file):
16005 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16006 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16007 (ebnf-eps-finish-and-write):
16008 * progmodes/cpp.el (cpp-edit-save):
16009 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16010 * progmodes/cc-defs.el (c-emacs-features):
16011 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16012 (antlr-directory-dependencies):
16013 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16014 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16015 (ada-find-any-references, ada-make-filename-from-adaname)
16016 (ada-make-body-gnatstub):
16017 * obsolete/rnews.el (news-list-news-groups):
16018 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16019 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16020 * net/rcirc.el (rcirc-debug):
16021 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16022 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16023 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16024 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16025 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16026 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16027 (newsticker--treeview-list-clear-highlight)
16028 (newsticker--treeview-list-update-highlight)
16029 (newsticker--treeview-list-highlight-start)
16030 (newsticker--treeview-tree-update-highlight)
16031 (newsticker--treeview-get-selected-item)
16032 (newsticker-treeview-mark-list-items-old)
16033 (newsticker--treeview-set-current-node):
16034 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16035 * net/newst-backend.el (newsticker--get-news-by-funcall)
16036 (newsticker--get-news-by-wget, newsticker--image-get)
16037 (newsticker--image-sentinel):
16038 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16039 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16040 (eudc-ph-close-session):
16041 * net/eudc.el (eudc-save-options):
16042 * language/thai-word.el (thai-update-word-table):
16043 * language/japan-util.el (japanese-string-conversion):
16044 * international/titdic-cnv.el (tsang-quick-converter)
16045 (ziranma-converter, ctlau-converter):
16046 * international/mule-cmds.el (describe-language-environment):
16047 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16048 (skkdic-convert-postfix, skkdic-convert-prefix):
16049 (skkdic-convert-okuri-nasi, skkdic-convert):
16050 * emacs-lisp/re-builder.el (reb-update-overlays):
16051 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16052 * emacs-lisp/gulp.el (gulp-send-requests):
16053 * emacs-lisp/find-gc.el (trace-call-tree):
16054 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16055 (eieio-describe-generic):
16056 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16057 * emacs-lisp/edebug.el (edebug-outside-excursion):
16058 * emacs-lisp/debug.el (debugger-make-xrefs):
16059 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16060 * emacs-lisp/chart.el (chart-new-buffer):
16061 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16062 Use with-current-buffer.
16063 * textmodes/artist.el (artist-system): Don't call
16064 copy-sequence on a fresh string.
16065 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16067 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16069 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16070 is no item to edit. (Bug#4820)
16071 (todo-top-priorities): Restore point and restore narrowing in Todo
16074 2009-10-31 Glenn Morris <rgm@gnu.org>
16076 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16077 (comint-last-output-start, comint-last-input-start)
16078 (comint-last-input-end): Don't defvar when compiling.
16079 (ange-ftp-process-file): Use bound-and-true-p.
16081 * pcmpl-rpm.el (top-level): Move provide statement to end.
16082 (pcmpl-rpm): Remove unused custom group.
16084 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16086 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16088 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16089 (byte-compile-warnings): Add `constants' as an option.
16090 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16091 (display-call-tree): Update for byte-compile-fdefinition possibly
16092 returning `(macro lambda ...)'. (Bug#4778)
16093 (byte-compile-variable-ref, byte-compile-setq-default):
16094 Respect `constants' member of byte-compile-warnings.
16096 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16098 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16099 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16102 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16104 * textmodes/ispell.el (ispell-skip-region-alist):
16105 * international/mule-conf.el (eight-bit):
16106 * international/fontset.el (font-encoding-alist):
16107 * startup.el (pure-space-overflow-message):
16108 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16109 * paths.el (gnus-nntp-service, rmail-spool-directory)
16110 (term-file-prefix):
16111 * files.el (save-some-buffers-action-alist):
16112 * cmuscheme.el (same-window-buffer-names):
16113 * ielm.el (same-window-buffer-names):
16114 * shell.el (same-window-buffer-names):
16115 * mail/sendmail.el (same-window-buffer-names):
16116 * progmodes/inf-lisp.el (same-window-buffer-names):
16117 * bindings.el (mode-line-client)
16118 (mode-line-column-line-number-mode-map):
16119 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16120 (tibetan-precomposed-regexp): Purecopy string arguments.
16122 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16124 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16125 (calcDigit-nondigit):
16126 * calc/calc-yank.el (calc-copy-to-buffer):
16127 * calc/calc-units.el (calc-invalidate-units-table):
16128 * calc/calc-trail.el (calc-trail-yank):
16129 * calc/calc-store.el (calc-insert-variables):
16130 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16131 * calc/calc-prog.el (calc-read-parse-table):
16132 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16133 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16134 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16135 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16136 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16137 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16138 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16139 * calc/calc-ext.el (calc-realign):
16140 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16141 (calc-embedded-finish-edit, calc-embedded-make-info)
16142 (calc-embedded-finish-command, calc-embedded-stack-change):
16143 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16145 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16146 shell-dynamic-complete-filename in preference to
16147 comint-dynamic-complete-filename.
16149 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16150 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16151 Don't consider whether the display supports colors.
16152 (bookmark-import-new-list): Use dolist.
16153 (bookmark-bmenu-mode-map): Move initialization into declaration.
16154 (bookmark-bmenu-list): Use dolist, simplify.
16155 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16156 (menu-bar-final-items): Use push.
16158 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16160 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16161 it works on remote files.
16162 (vc-hg-diff): Don't pass any `--cwd' argument.
16164 2009-10-27 Kevin Ryde <user42@zip.com.au>
16166 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16167 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16168 (Further to Bug#3921).
16170 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16172 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16173 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16174 calling `tramp-imap-put-file'. Add file size to the call.
16175 (tramp-imap-get-file-entries): Compute also user name, file size,
16177 (tramp-imap-handle-insert-directory): Insert uid and gid.
16178 (tramp-imap-handle-file-attributes): Transform uid and gid
16179 according to `id-format'.
16180 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16181 size in header X-Size.
16183 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16185 * simple.el (transpose-subr): Give clearer error when the mark
16186 is not set. (Bug#4807)
16188 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16190 * net/tramp.el (tramp-perl-file-truename): New defconst.
16191 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16192 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16193 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16194 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16196 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16197 Ignore `dired-call-process'.
16198 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16200 2009-10-26 Julian Scheid <julians37@gmail.com>
16202 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16203 (tramp-get-remote-readlink): New defun.
16204 (tramp-handle-file-truename): Use it.
16205 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16206 file exists if cache value present.
16207 (tramp-check-cached-permissions): New defun.
16208 (tramp-handle-file-readable-p): Use it.
16209 (tramp-handle-file-writable-p): Likewise.
16210 (tramp-handle-file-executable-p): Likewise.
16211 (tramp-handle-file-name-all-completions): Try using Perl to get
16212 partial completions. When perl not available, combine `cd' and
16213 `ls' into single remote operation and use shell expansion to get
16214 partial remote directory contents. Set `file-exists-p' cache for
16215 directory and any files returned by ls. Change cache handling to
16216 support partial directory contents. Use error message emitted by
16217 remote `cd' or Perl code for local tramp-error.
16218 (tramp-do-copy-or-rename-file-directly): Avoid separate
16219 tramp-send-command-and-check call.
16220 (tramp-handle-process-file): Merge three remote ops into one.
16221 Do not flush all caches when `process-file-side-effects' is set.
16222 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16223 file-attributes shows uid/gid to be set already.
16225 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16227 * textmodes/tex-mode.el (tex-dvi-view-command)
16228 (tex-show-queue-command, tex-open-quote):
16229 * progmodes/ruby-mode.el (auto-mode-alist)
16230 (interpreter-mode-alist): Purecopy strings.
16232 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16234 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16235 string for the hook, keymap and abbrev table.
16237 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16239 * x-dnd.el (x-dnd-xdnd-to-action):
16240 * startup.el (fancy-startup-text, fancy-about-text): Change to
16241 defconst from defvar.
16243 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16245 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16246 Purecopy initialization strings.
16248 * mail/sendmail.el (mail-header-separator)
16249 (mail-personal-alias-file):
16250 * mail/rmail.el (rmail-default-dont-reply-to-names)
16251 (rmail-ignored-headers, rmail-retry-ignored-headers)
16252 (rmail-highlighted-headers, rmail-secondary-file-directory)
16253 (rmail-secondary-file-regexp):
16254 * files.el (null-device, file-name-invalid-regexp)
16255 (locate-dominating-stop-dir-regexp)
16256 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16257 (interpreter-mode-alist): Use mapcar instead of mapc.
16259 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16261 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16262 (completion-ignored-extensions):
16263 (debug-ignored-errors): Purecopy strings.
16265 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16267 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16268 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16269 (pcomplete--here): Use push.
16271 * subr.el (all-completions): Declare the 4th arg obsolete.
16273 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16275 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16276 (pcomplete-unquote-argument): New function.
16277 (pcomplete--common-suffix): Always pay attention to case.
16278 (pcomplete--table-subvert): Quote and unquote the text.
16279 (pcomplete--common-quoted-suffix): New function.
16280 (pcomplete-std-complete): Use it and pcomplete-begin.
16282 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16283 we're inside a dedicated or minibuffer window.
16285 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16287 * bookmark.el: Update documentation, especially documentation
16288 of `bookmark-alist' and of the bookmark file format.
16289 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16291 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16293 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16294 keybindings apply to the mail buffer (Bug#4003). Shrink help
16297 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16298 (global-whitespace-mode, global-whitespace-newline-mode)
16299 (whitespace-toggle-options, global-whitespace-toggle-options):
16300 Doc fix (Bug#3660).
16302 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16303 of xmltok-start before the end tag was inserted (Bug#2840).
16305 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16306 patterns that are preceded by an open-paren (Bug#1320).
16308 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16310 * files.el (delete-directory): Delete symlinks to directories with
16311 delete-file (Bug#4739).
16313 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16315 * vc.el (vc-backend-for-registration): Rename from
16316 vc-get-backend-for-registration. Update callers.
16318 * international/mule-cmds.el (set-language-info-alist):
16320 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16321 (charset): Purecopy the name.
16322 (define-char-code-property): Purecopy string arguments.
16324 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16325 Purecopy string arguments.
16327 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16328 * ediff-hook.el (menu-bar-ediff-menu):
16329 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16330 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16332 2009-10-24 Glenn Morris <rgm@gnu.org>
16334 * comint.el (comint-dynamic-list-completions):
16335 * term.el (term-dynamic-list-completions): Use choose-completion rather
16336 than obsolete alias mouse-choose-completion.
16338 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16339 file-cache-choose-completion.
16340 (file-cache-choose-completion): Handle an optional event argument.
16341 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16343 * progmodes/octave-mod.el (octave-complete-symbol):
16344 Use choose-completion if mouse-choose-completion is ever removed.
16346 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16349 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16352 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16354 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16356 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16357 Ignore `pred' now that we receive one.
16358 Handle test-completion specially.
16360 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16362 * vc.el (vc-responsible-backend): Throw an error if not backend is
16363 found. Remove the REGISTER argument. Move the code dealing with
16365 (vc-get-backend-for-registration): ... here. New function.
16366 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16367 of vc-responsible-backend, pass the file name instead of the
16370 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16372 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16374 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16375 (pcomplete-comint-setup): Don't modify a global var via
16376 accidental side-effects.
16377 (pcomplete-shell-setup): Adjust call accordingly.
16378 (pcomplete-parse-comint-arguments): Use push.
16380 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16382 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16383 Allow uncapitalized info node names (Bug#3921).
16385 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16386 to the DEBUG file (Bug#3781).
16388 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16390 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16391 dictionary entry (Bug#4579).
16393 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16395 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16396 from `rfn-eshadow-update-overlay-hook' when unloading.
16397 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16398 "rsyncc". Adjust doc string.
16399 (tramp-temp-buffer-file-name): New buffer-local defvar.
16400 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16401 Keep temporary file when indicated by method ("rsync" and
16403 (tramp-handle-write-region): Handle APPEND.
16404 (tramp-delete-temp-file-function): New defun. Added to
16405 `kill-buffer-hook'.
16407 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16409 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16411 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16413 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16414 (color-name-rgb-alist, tty-standard-colors)
16415 (tty-color-mode-alist): Change to defconst.
16417 * simple.el (mark-inactive): Purecopy message.
16419 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16420 (global-map, yank-menu):
16421 * textmodes/ispell.el (ispell-menu-map):
16422 * net/eudc.el (eudc-tools-menu):
16423 * international/mule-cmds.el (describe-language-environment-map)
16424 (setup-language-environment-map, set-coding-system-map)
16425 (mule-menu-keymap):
16426 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16427 * replace.el (occur-mode-map):
16428 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16430 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16432 * calc/calc.el (math-read-number, math-read-number-simple):
16433 Use `save-match-data'.
16435 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16437 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16438 rather than fiddling with global-map bindings, since it should only
16439 affect per-terminal settings.
16440 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16442 * minibuffer.el (completion-table-with-terminator): Allow to specify
16443 the terminator-regexp.
16445 * simple.el (switch-to-completions): Look for *Completions* in other
16448 * pcomplete.el: Allow the use of completion-tables.
16449 (pcomplete-std-complete): New command.
16450 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16451 (pcomplete--here): Use a function for `form' rather than an expression,
16452 so it can be byte-compiled.
16453 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16454 Add edebug declaration.
16455 (pcomplete-show-completions): Remove unused var `curbuf'.
16456 (pcomplete-do-complete, pcomplete-stub):
16457 Don't assume `completions' is a list of strings any more.
16459 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16461 * find-dired.el (find-name-arg): Fix typo in docstring.
16463 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16465 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16466 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16468 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16471 * comint.el (comint-read-input-ring, comint-write-input-ring)
16472 (comint-substitute-in-file-name)
16473 (comint-dynamic-complete-as-filename)
16474 (comint-dynamic-simple-complete)
16475 (comint-dynamic-list-filename-completions)
16476 (comint-dynamic-list-completions)
16477 (comint-redirect-results-list-from-process): Minor simplifications.
16479 2009-10-21 Kevin Ryde <user42@zip.com.au>
16481 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16482 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16483 the first form. And insert a blank line after ";;; Code" since
16484 that's usual style. (Bug#4612)
16486 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16488 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16490 * minibuffer.el (completion-table-with-terminator): Properly implement
16491 boundaries, in case `terminator' appears in the suffix.
16492 (completion--embedded-envvar-table): Don't return boundaries if
16493 there's no valid completion. Simplify.
16494 (completion-file-name-table): New completion table extracted from
16495 completion--file-name-table.
16496 (completion--file-name-table): Use it.
16497 (read-file-name-predicate): Declare obsolete.
16498 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16499 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16500 completion-file-name-table, and use the `pred' argument.
16501 * files.el (locate-file-completion-table): Use the `pred' arg rather
16502 than read-file-name-predicate.
16503 (abbreviate-file-name): Use \` rather than ^ for BOS.
16505 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16507 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16508 vc-responsible-backend to register, it causes problems.
16510 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16512 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16514 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16516 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16517 (tramp-smb-handle-file-attributes): Use it.
16518 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16519 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16520 `mapcar'. Use `tramp-smb-get-stat-capability'.
16521 Add `dired-filename' text properties.
16522 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16523 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16526 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16528 * subr.el (read-key-delay): Reduce to 0.01.
16529 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16532 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16534 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16536 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16537 (Info-menu): Remove unused vars `last' and `completions'.
16538 (Info-index-nodes): Remove unused var `node'.
16540 * info.el (Info-complete-menu-item): Use complete-with-action.
16542 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16544 Make vc-annotate work through copies and renames.
16545 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16546 Return the file name too.
16547 (vc-annotate-revision-at-line)
16548 (vc-annotate-find-revision-at-line)
16549 (vc-annotate-revision-previous-to-line)
16550 (vc-annotate-show-log-revision-at-line): Update to get the file
16551 name from vc-annotate-extract-revision-at-line.
16552 (vc-annotate-show-diff-revision-at-line-internal): Change the
16553 argument to mean whether to show a file diff or not. Get the file
16554 name from vc-annotate-extract-revision-at-line.
16555 (vc-annotate-show-diff-revision-at-line):
16556 Update vc-annotate-show-diff-revision-at-line call.
16557 (vc-annotate-warp-revision): Add an optional file argument.
16559 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16560 (vc-git-annotate-extract-revision-at-line): Also return the file
16563 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16564 command. Remove unused code.
16565 (vc-hg-annotate-re): Update to match --follow output.
16566 (vc-hg-annotate-extract-revision-at-line): Also return the file
16569 * vc.el: Update annotate-extract-revision-at-line documentation.
16571 2009-10-18 Kevin Ryde <user42@zip.com.au>
16573 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16574 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16576 * net/browse-url.el (browse-url): Identify alist with "consp and
16577 not functionp" and let all other things go down the `apply' leg,
16578 as suggested by Stefan. (Further to bug#4531.)
16580 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16582 * minibuffer.el (read-file-name): Check for repeat before putting
16583 a default argument in file-name-history (Bug#4657).
16585 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16586 read syntax (Bug#4737).
16588 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16590 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16592 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16593 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16594 entries and make note of obsolete tags.
16596 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16598 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16600 2009-10-18 Glenn Morris <rgm@gnu.org>
16602 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16603 grep, so that binary files (eg international/uni-bidi.el) can match.
16604 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16605 now, and in any case the file header format has changed.
16607 2009-10-17 Glenn Morris <rgm@gnu.org>
16609 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16610 (flyspell-get-word, flyspell-large-region)
16611 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16613 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16615 * Makefile.in (ELCFILES): Add ede/shell.
16617 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16619 * term/common-win.el (x-colors): Purecopy it.
16621 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16623 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16624 permissive for when the buffer is empty.
16625 (tar-header-block-tokenize): Decode the username and groupname.
16626 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16628 2009-10-17 Eric Ludlam <zappo@gnu.org>
16630 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16631 contains multibyte characters, choose first applicable coding
16632 system automatically.
16634 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16636 * international/mule-cmds.el (select-safe-coding-system): If the file
16637 has a coding cookie, use it regardless of any other setting (bug#4712).
16639 2009-10-17 Glenn Morris <rgm@gnu.org>
16641 * foldout.el (foldout-mouse-swallow-events):
16642 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16644 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16645 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16646 (dired-keep-marker-symlink, dired-dwim-target)
16647 (dired-copy-preserve-time): Do not autoload these defcustoms.
16649 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16650 messages from messing up the file coding. (Bug#4623)
16652 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16654 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16655 if no match is found for the current dictionary. (Bug#4578)
16657 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16658 optional, since that is how it is documented, and this is often called
16659 with a nil argument. (Bug#4577)
16660 (flyspell-external-point-words, flyspell-auto-correct-word)
16661 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16662 (flyspell-word-search-backward): Remove nil argument in calls to
16663 flyspell-get-word, since it is not needed now.
16665 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16667 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16669 2009-10-16 Glenn Morris <rgm@gnu.org>
16671 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16673 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16675 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16676 (ange-ftp-file-size): New function.
16677 (ange-ftp-file-attributes): Use it.
16679 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16681 * net/tramp-smb.el (tramp-smb-version): New defvar.
16682 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16685 2009-10-16 Glenn Morris <rgm@gnu.org>
16687 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16688 Maybe copy some custom properties from old to new name. (Bug#4706)
16690 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16692 * subr.el (error, sit-for, start-process-shell-command)
16693 (start-file-process-shell-command): Set the calling convention
16694 after the function definition.
16696 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16698 * subr.el (error, sit-for, start-process-shell-command)
16699 (start-file-process-shell-command): Use the new
16700 set-advertised-calling-convention feature.
16702 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16704 * international/ucs-normalize.el (ucs-normalize-version):
16706 (check-range): Adjust for Unicode 5.2.
16708 2009-10-15 Juri Linkov <juri@jurta.org>
16710 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16711 to the `menu-item' format.
16713 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16715 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16716 if the environment variable does not exist.
16718 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16719 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16721 (tramp-smb-handle-add-name-to-file)
16722 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16723 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16724 (tramp-smb-handle-file-attributes)
16725 (tramp-smb-do-file-attributes-with-stat)
16726 (tramp-smb-handle-file-local-copy)
16727 (tramp-smb-handle-insert-directory)
16728 (tramp-smb-handle-make-directory)
16729 (tramp-smb-handle-make-directory-internal)
16730 (tramp-smb-handle-make-symbolic-link)
16731 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16732 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16733 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16734 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16735 Handle long file names.
16736 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16737 process is running.
16738 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16739 Read share names with "-g" option.
16741 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16743 * net/rcirc.el (rcirc-view-log-file): New command.
16744 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16745 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16748 2009-10-15 Glenn Morris <rgm@gnu.org>
16750 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16751 from the second command-line argument.
16752 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16753 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16754 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16755 w32-batch-update-autoloads.
16756 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16757 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16759 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16760 the headers cannot be located. Simplify, subtracting superflous
16763 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16765 Replace completion-base-size by completion-base-position to fix bugs
16766 such as (bug#4699).
16767 * simple.el (completion-base-position): New var.
16768 (completion-base-size): Mark as obsolete.
16769 (choose-completion): Make it work for mouse events as well.
16770 Pass the new base-position to choose-completion-string.
16771 (choose-completion-guess-base-position): New function, extracted from
16772 choose-completion-delete-max-match.
16773 (choose-completion-delete-max-match): Use it. Make obsolete.
16774 (choose-completion-string): Use the new base-position info.
16775 (completion-root-regexp): Delete.
16776 (completion-setup-function): Preserve completion-base-position.
16777 Eliminate obsolete base-size manipulation.
16778 * minibuffer.el (display-completion-list): Don't mess with base-size.
16779 (minibuffer-completion-help): Set completion-base-position instead.
16780 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16782 * textmodes/bibtex.el (bibtex-complete):
16783 * emacs-lisp/crm.el (crm--choose-completion-string):
16784 Adjust to new calling convention.
16785 * complete.el (partial-completion-mode): Use minibufferp to avoid
16786 bumping into incompatible change to choose-completion-string-functions.
16787 * ido.el (ido-choose-completion-string): Make its calling convention
16789 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16790 base-size manipulation.
16791 (comint-dynamic-list-input-ring): Use dotimes and push.
16792 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16793 fundamental-mode. Use `or'.
16795 2009-10-14 Juri Linkov <juri@jurta.org>
16797 * misearch.el (multi-isearch-next-buffer-from-list)
16798 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16800 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16802 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16805 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16806 string we return is all made up of text from the completions rather
16807 than part from the completions and part from the input (bug#4219).
16809 * ido.el (ido-everywhere): Use define-minor-mode.
16811 * buff-menu.el (list-buffers, ctl-x-map):
16812 Mark the entry points with ;;;###autoload cookies.
16814 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16816 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16817 correctly in the detached head case.
16818 (vc-git-print-log): Remove unused binding.
16820 * vc.el (vc-responsible-backend): When a directory is passed for
16821 for registration create a VC repository if no backend is
16822 responsible for the directory argument.
16823 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16825 * vc.el: Move comments about RCS and SCCS ...
16827 * vc-sccs.el: ... here, respectively.
16829 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16831 * minibuffer.el (completion--file-name-table): Return nil if there's
16832 no file completion, even if substitute-in-file-name changed
16833 the string (bug#4708).
16835 2009-10-13 Juri Linkov <juri@jurta.org>
16837 * files-x.el (read-file-local-variable-value): Don't filter out
16838 minor modes from mode name completion (bug#4664).
16840 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16842 * international/mule-cmds.el (ucs-names): Remove exclusion of
16843 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16845 2009-10-13 Kenichi Handa <handa@m17n.org>
16847 * international/uni-name.el: Regenerated.
16849 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16851 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16852 should be automatically buffer-local, but isn't.)
16854 2009-10-12 Sam Steingold <sds@gnu.org>
16856 * progmodes/compile.el (compilation-next-error-function): Fix the
16857 timestamps if the buffer has been visited before.
16858 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16859 non-anchored patterns, like the perl one (bug#3928).
16861 2009-10-12 Glenn Morris <rgm@gnu.org>
16863 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16866 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16868 * proced.el (proced-unload-function): New function.
16870 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16871 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16874 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16876 2009-10-11 Juri Linkov <juri@jurta.org>
16878 * files-x.el (read-file-local-variable-value):
16879 Provide default value only for bound variables (bug#4664).
16881 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16883 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16884 connection methods like smb.
16886 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16889 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16890 (tramp-smb-file-name-handler-alist): Add handlers for
16891 `add-name-to-file', `make-symbolic-link'.
16892 (tramp-smb-handle-add-name-to-file)
16893 (tramp-smb-do-file-attributes-with-stat)
16894 (tramp-smb-handle-make-symbolic-link)
16895 (tramp-smb-get-cifs-capabilities): New defuns.
16896 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16897 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16898 (tramp-smb-handle-file-local-copy)
16899 (tramp-smb-handle-make-directory-internal)
16900 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16901 The file name syntax depends on cifs capabilities.
16902 (tramp-smb-handle-file-attributes):
16903 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16904 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16905 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16907 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16909 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16910 (eieio-defclass): Apply deftype handler and setf-method properties
16912 (eieio-add-new-slot): Avoid union function from cl library.
16913 (eieio--typep): New function.
16914 (eieio-perform-slot-validation): Use it.
16916 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16918 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16919 Update documentation to refer to the variables documented in r1.135.
16922 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16924 * bookmark.el (Info-suffix-list): Remove this unused variable.
16925 (bookmark-current-point): Remove this obsolete variable.
16926 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16927 Adjust for removal of bookmark-current-point.
16929 (bookmarks-already-loaded, bookmark-current-buffer)
16930 (bookmark-yank-point): Document. (Bug#4188)
16932 2009-10-10 Glenn Morris <rgm@gnu.org>
16934 * frame.el (frame-height): Doc fix.
16936 * calendar/calendar.el (calendar-split-width-threshold): New option.
16937 (calendar-basic-setup): Use calendar-split-width-threshold.
16939 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16941 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16942 Ideographic Supplement" range (U+1F200..U+1F2FF).
16944 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16946 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16947 since the list will have been rebuilt anyway. (Bug#4349)
16949 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16951 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16952 (bookmark-bmenu-execute-deletions): Don't save here, as
16953 bookmark-delete will now do so if necessary.
16954 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16957 2009-10-09 Glenn Morris <rgm@gnu.org>
16959 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16961 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16963 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16964 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16965 argument now, so the two function's behaviors will match. (Bug#3645)
16967 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16969 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16970 (tramp-file-name-real-host, tramp-file-name-port):
16971 Apply `save-match-data'.
16973 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16974 case both directories are remote.
16975 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16976 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16978 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16980 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16982 2009-10-07 Glenn Morris <rgm@gnu.org>
16984 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16987 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16989 * files-x.el (read-file-local-variable): Include some
16990 non-user-variables in the completion table (bug#4664).
16992 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16994 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16997 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16998 (tramp-smb-file-name-handler-alist): Add handler for
16999 `copy-directory', `expand-file-name', `set-file-modes'.
17000 (tramp-smb-handle-copy-directory)
17001 (tramp-smb-handle-expand-file-name)
17002 (tramp-smb-handle-set-file-modes): New defuns.
17003 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17004 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17006 (tramp-smb-handle-insert-directory): Don't flush the cache.
17007 (tramp-smb-maybe-open-connection): Check for samba client and
17010 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17012 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17013 to not error out of search for "^lisp=" fails.
17015 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17017 * makefile.w32-in (WINS_UPDATES): New macro.
17018 (custom-deps, finder-data, autoloads): Use it.
17020 2009-10-07 Glenn Morris <rgm@gnu.org>
17022 * Makefile.in (autoloads): Revert previous change.
17023 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17024 the list of preloaded files passed on the command-line, get
17025 it from src/Makefile.
17027 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17028 show the original buffer rather than a random one.
17030 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17032 * help.el (describe-no-warranty): Place point in a slightly better
17033 position in the GPLv3 text.
17035 2009-10-06 Sam Steingold <sds@gnu.org>
17037 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17038 the comm attribute is present before calling regexp-quote.
17040 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17042 * play/animate.el (animate-string): For good effect, make sure
17043 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17045 * play/animate.el (animate-sequence, animate-birthday-present):
17046 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17048 2009-10-06 Glenn Morris <rgm@gnu.org>
17050 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17052 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17053 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17054 (batch-update-autoloads): Process a string value of autoload-excludes,
17055 set during the build process.
17056 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17058 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17059 inside with-parsed... macro so that `v' is defined.
17061 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17062 * progmodes/fortran.el (fortran-end-of-block)
17063 (fortran-beginning-of-block):
17064 Also push mark in the macro case.
17066 * emerge.el (emerge-show-file-name):
17067 * calc/calc.el (calc-quit):
17068 * calc/calc-misc.el (calc-big-or-small):
17069 * calc/calc-graph.el (calc-graph-view):
17070 * calc/calc-ext.el (calc-reset):
17071 * calendar/calendar.el (calendar-basic-setup):
17072 Use window-full-height-p.
17074 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17075 header we don't understand, don't insert another. (Bug#4624)
17076 If changing mime charset, insert the new one in the right place.
17078 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17080 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17081 (cal-tex-cursor-month): Correctly increment the end date for diary and
17082 holiday listing. (Bug#4626)
17084 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17086 * help-fns.el (describe-function-1): Don't burp if the function is not
17089 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17091 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17092 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17093 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17094 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17096 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17097 (eieio-default-superclass): Reflow docstrings.
17098 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17099 (eieio-unbind-method-implementations, defmethod)
17100 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17101 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17102 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17103 (eieio-slot-originating-class-p, eieio-slot-name-index)
17104 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17105 (constructor, initialize-instance, no-next-method, object-print)
17106 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17107 Fix typos in docstrings.
17108 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17109 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17110 (next-method-p): Doc fixes.
17111 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17112 Fix typos in error messages.
17113 (eieio-defmethod): Fix typo in description of generic method.
17115 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17116 (eieio-persistent-save-interactive, slot-missing):
17117 Fix typos in docstrings.
17118 (eieio-instance-inheritor-slot-boundp): Doc fix.
17120 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17121 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17123 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17124 (eieio-custom-object-apply-reset):
17125 Fix typos in docstrings and error messages.
17127 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17128 Fix typo in docstring.
17130 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17131 (eieio-browse-tree): Doc fix.
17132 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17133 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17134 Fix typos in docstrings.
17136 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17137 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17138 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17139 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17142 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17144 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17145 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17146 Set log-view-vc-backend so that diff can work.
17148 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17150 (vc-diff-internal): Autoload this instead of vc-version-diff.
17152 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17154 * simple.el (eval-expression): Doc fix.
17156 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17158 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17160 * files.el (directory-files-no-dot-files-regexp): New defconst.
17161 (delete-directory): Use it.
17162 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17164 * net/tramp.el (tramp-verbose): Fix docstring.
17165 (tramp-methods): Add recursive option to `tramp-copy-args'.
17166 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17167 "scp1_old", "scp2_old", "rsync", "rsyncc".
17168 (tramp-default-method): Check also for `auth-source-user-or-password'.
17169 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17170 Add handler for `copy-directory'.
17171 (tramp-handle-copy-directory): New defun.
17172 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17173 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17174 Optimize sent command.
17176 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17178 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17179 window if necessary.
17181 * calendar/calendar.el (calendar-basic-setup): Don't call
17182 switch-to-buffer in a dedicated window.
17184 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17186 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17187 don't do anything related to relocating, just return nil.
17188 (bookmark-error-no-filename): New error.
17189 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17190 bookmark has no file. Don't even attempt to handle things that
17191 are not files; the whole point of custom handlers is to keep that
17192 knowledge elsewhere anyway. Tighten some comments.
17193 (bookmark-file-or-variation-thereof): Remove now-unused function.
17194 (bookmark-location): Doc string fix.
17197 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17199 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17200 don't use a file dialog, because they usually don't know how to read
17201 a directory target from the user. (Bug#4230)
17202 Also, make sure the prompt can display directories as well as files.
17204 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17206 * bookmark.el (bookmark-set, bookmark-buffer-name):
17207 Improve doc strings. (Bug#1193)
17209 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17211 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17212 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17213 (bookmark-get-annotation, bookmark-set-annotation)
17214 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17215 (bookmark-set-position, bookmark-get-front-context-string)
17216 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17217 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17218 (bookmark-jump-other-window, bookmark-handle-bookmark)
17219 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17220 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17221 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17222 Improve doc strings to say whether bookmark can be a string or
17223 a record or both, and make other consistency and clarity fixes.
17224 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17225 (bookmark-default-annotation-text, bookmark-yank-word)
17226 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17227 (bookmark-import-new-list, bookmark-maybe-rename)
17228 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17229 (bookmark-bmenu-bookmark): Give these doc strings.
17230 (bookmark-bmenu-check-position): Give this a doc string, but also
17231 add a FIXME comment about how the function may be pointless.
17232 (bookmark-default-handler): Rework doc string and change a
17233 parameter name, to clarify that this takes a bookmark record
17234 not a bookmark name.
17235 (bookmark-set): Change a parameter name to indicate its meaning,
17236 and improve the doc string a bit.
17239 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17241 * bookmark.el (bookmark-alist): Document the new `handler' element
17242 in the param alist.
17243 (bookmark-make-record-function): Adjust documentation for above.
17246 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17248 * info.el (Info-bookmark-make-record): Document this function.
17249 (Info-bookmark-jump): Document with a doc string, not just a comment.
17252 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17254 * files.el (copy-directory): New defun.
17256 * dired-aux.el (dired-copy-file-recursive): Use it.
17258 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17260 * files-x.el (modify-dir-local-variable)
17261 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17264 * recentf.el (recentf-unload-function): New function.
17266 2009-10-04 Glenn Morris <rgm@gnu.org>
17268 * window.el (window-full-height-p): Add doc string.
17270 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17272 * window.el (window-full-height-p): New function. (Bug#4543)
17274 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17276 * vc.el: Remove commented out code.
17277 (vc-derived-from-dir-mode): Remove, unused.
17278 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17280 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17282 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17283 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17284 there could be recursive loading when `default-directory' is a
17285 remote file name. (Bug#4614)
17287 2009-10-03 Glenn Morris <rgm@gnu.org>
17289 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17291 (calendar-generate-window): Test for shrinkability rather than width.
17293 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17294 reusing existing buffers, in case we happen to visit two files with the
17295 same basename. (Bug#4593)
17297 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17299 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17300 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17301 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17302 subdirs of cedet as well.
17303 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17305 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17307 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17308 Obey advertised-signature-table.
17310 * help-fns.el (help-function-arglist): Don't check
17311 advertised-signature-table.
17312 (describe-function-1): Do it here instead so it also applies to subrs.
17314 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17316 * simple.el (start-file-process): Say in the doc-string, that file
17317 handlers might not support pty association, if PROGRAM is nil.
17319 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17320 HOST and USER are strings. They are nil, when there are
17321 incomplete entries in ~/.netrc, for example.
17322 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17323 root directory ("device busy" error otherwise).
17325 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17326 Flush file properties of created directory.
17328 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17330 * makefile.w32-in (WINS_BASIC): Remove cedet.
17331 (WINS_CEDET): Add cedet.
17332 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17334 2009-10-02 Kevin Ryde <user42@zip.com.au>
17336 * net/browse-url.el (browse-url): Pass any symbol in
17337 browse-url-browser-function to `apply', since if you've mistakenly put
17338 an unbound symbol then the error is clearer. (Bug#4531)
17340 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17342 * allout.el (allout-init, allout-back-to-current-heading)
17343 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17344 (allout-ascend, allout-up-current-level, allout-end-of-level)
17345 (allout-previous-visible-heading, allout-forward-current-level)
17346 (allout-backward-current-level, allout-show-children):
17347 * apropos.el (apropos-describe-plist):
17348 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17349 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17350 * completion.el (add-completion, add-permanent-completion):
17351 * descr-text.el (describe-text-category, describe-char):
17352 * desktop.el (desktop-lazy-abort):
17353 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17354 * dired.el (dired-build-subdir-alist):
17355 * ediff.el (ediff-version):
17356 * elide-head.el (elide-head, elide-head-show):
17357 * emerge.el (emerge-version):
17359 * face-remap.el (variable-pitch-mode):
17360 * faces.el (describe-face):
17361 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17363 * files.el (find-file-existing, auto-save-mode):
17364 * font-lock.el (font-lock-fontify-buffer):
17365 * help-fns.el (describe-function, describe-variable)
17366 (describe-syntax, describe-categories):
17367 * help.el (view-lossage, describe-bindings, describe-key)
17369 * hexl.el (hexl-current-address):
17370 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17371 * info.el (Info-goto-emacs-key-command-node):
17372 * log-edit.el (log-edit-insert-cvs-template)
17373 (log-edit-insert-cvs-rcstemplate):
17374 * menu-bar.el (menu-bar-mode):
17375 * mouse.el (mouse-appearance-menu):
17376 * newcomment.el (comment-indent-new-line):
17377 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17378 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17379 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17380 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17381 * recentf.el (recentf-mode):
17382 * savehist.el (savehist-mode, savehist-save):
17383 * shadowfile.el (shadow-copy-files):
17384 * simple.el (kill-ring-save, next-line, previous-line)
17385 (normal-erase-is-backspace-mode):
17386 * strokes.el (strokes-update-window-configuration)
17387 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17388 (strokes-xpm-for-stroke):
17389 * time.el (emacs-uptime, emacs-init-time):
17390 * tutorial.el (tutorial--describe-nonstandard-key)
17391 (tutorial--detailed-help):
17392 * type-break.el (type-break-mode)
17393 (type-break-mode-line-message-mode, type-break-query-mode)
17394 (type-break-guesstimate-keystroke-threshold):
17395 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17396 * version.el (emacs-version):
17397 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17398 * winner.el (winner-mode):
17399 * calendar/timeclock.el (timeclock-in, timeclock-out)
17400 (timeclock-status-string, timeclock-change)
17401 (timeclock-workday-remaining-string)
17402 (timeclock-workday-elapsed-string)
17403 (timeclock-when-to-leave-string):
17404 * calendar/todo-mode.el (todo-add-category):
17405 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17406 * emacs-lisp/autoload.el (update-file-autoloads):
17407 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17408 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17409 (checkdoc-message-text, checkdoc-defun):
17410 * emacs-lisp/debug.el (debugger-list-functions):
17411 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17412 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17413 (eieio-describe-generic):
17414 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17415 * emacs-lisp/shadow.el (list-load-path-shadows):
17416 * emulation/cua-base.el (cua-mode):
17417 * emulation/edt.el (edt-set-scroll-margins):
17418 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17419 (tpu-toggle-regexp, tpu-toggle-search-direction)
17420 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17421 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17422 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17423 (viper-set-parsing-style-toggling-macro)
17424 (viper-set-emacs-state-searchstyle-macros):
17425 * emulation/viper.el (viper-set-hooks):
17426 * eshell/esh-mode.el (eshell-truncate-buffer):
17427 * international/mule-cmds.el (prefer-coding-system)
17428 (describe-input-method, describe-language-environment):
17429 * international/mule-diag.el (list-character-sets)
17430 (describe-character-set, describe-coding-system)
17431 (describe-fontset, list-fontsets, list-input-methods):
17432 * mail/sendmail.el (mail-signature):
17433 * net/ange-ftp.el (ange-ftp-copy-file):
17434 * net/browse-url.el (browse-url):
17435 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17436 * net/quickurl.el (quickurl-add-url):
17437 * net/rcirc.el (names, topic):
17438 * net/xesam.el (xesam-mode):
17439 * play/5x5.el (5x5-new-game):
17440 * play/yow.el (apropos-zippy):
17441 * progmodes/ada-mode.el (ada-mode-version):
17442 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17444 (f90-beginning-of-block):
17445 * progmodes/fortran.el (fortran-end-of-block)
17446 (fortran-beginning-of-block):
17447 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17448 * progmodes/python.el (python-describe-symbol, python-shell):
17449 * term/ns-win.el (ns-print-buffer):
17450 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17451 * textmodes/flyspell.el (flyspell-mode-on):
17452 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17453 (pages-directory-for-addresses):
17454 * textmodes/table.el (table-recognize-cell)
17455 (table-query-dimension, table-generate-source)
17456 (table-insert-sequence, table--warn-incompatibility):
17457 * textmodes/tex-mode.el (tex-validate-buffer):
17458 * textmodes/texinfmt.el (texinfmt-version)
17459 (texinfo-format-buffer):
17460 Use `called-interactively-p' instead of `interactive-p'.
17462 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17464 * image-mode.el (image-toggle-display):
17465 * emacs-lisp/elp.el (elp-instrument-function):
17466 * emacs-lisp/advice.el (ad-make-advised-definition):
17467 * emacs-lisp/easy-mmode.el (define-minor-mode):
17468 * net/browse-url.el (browse-url-maybe-new-window):
17469 * progmodes/sh-script.el (sh-learn-buffer-indent):
17470 Pass new argument 'any to `called-interactively-p'.
17472 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17474 * international/uni-bidi.el:
17475 * international/uni-category.el:
17476 * international/uni-combining.el:
17477 * international/uni-comment.el:
17478 * international/uni-decimal.el:
17479 * international/uni-decomposition.el:
17480 * international/uni-digit.el:
17481 * international/uni-lowercase.el:
17482 * international/uni-mirrored.el:
17483 * international/uni-name.el:
17484 * international/uni-numeric.el:
17485 * international/uni-old-name.el:
17486 * international/uni-titlecase.el:
17487 * international/uni-uppercase.el:
17488 Regenerate from Unicode 5.2.0 data.
17490 2009-10-01 Glenn Morris <rgm@gnu.org>
17492 * Makefile.in (ELCFILES): Regenerate.
17494 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17496 * subr.el (interactive-p): Mark obsolete.
17497 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17498 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17499 advertised-signature-table for subroutines as well.
17501 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17502 (set-advertised-calling-convention): New function.
17503 (make-obsolete, define-obsolete-function-alias)
17504 (make-obsolete-variable, define-obsolete-variable-alias):
17505 Make the optional-ness of `when' obsolete.
17506 (define-obsolete-face-alias): Make `when' non-optional.
17507 * help-fns.el (help-function-arglist):
17508 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17509 Use advertised-signature-table.
17511 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17513 * files.el (delete-directory): New defun. The original function
17514 in fileio.c has been renamed to `delete-directory-internal'.
17516 * dired.el (dired-delete-file): Call `delete-directory' with
17517 RECURSIVE parameter.
17519 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17520 parameter RECURSIVE. Implementation is missing.
17522 * net/tramp.el (tramp-handle-make-directory): Flush upper
17523 directory's file properties.
17524 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17525 (tramp-handle-dired-recursive-delete-directory): Flush directory
17526 properties after the remove command only.
17528 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17529 Handle optional parameter RECURSIVE.
17531 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17532 Handle optional parameter RECURSIVE.
17534 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17535 connection timeout.
17536 (tramp-smb-handle-delete-directory): Handle optional parameter
17539 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17541 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17542 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17543 (byte-compile-defmacro): Use backquotes.
17545 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17547 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17548 has no associated file.
17549 (vc-resynch-buffer): Use vc-dir-buffers.
17551 2009-10-01 Glenn Morris <rgm@gnu.org>
17553 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17554 (chart-file-count):
17555 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17556 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17557 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17558 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17559 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17560 (eieio-copy-parents-into-subclass, make-instance, class-children)
17561 (eieio-generic-form):
17563 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17564 match-data. (Bug#4555).
17566 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17567 rather than parsing it as a regexp. This relaxes the layout
17568 requirements and makes errors easier to detect.
17569 (check-declare-verify): Check file is regular.
17570 (check-declare-directory): Doc fix.
17571 * subr.el (declare-function): Doc fix.
17573 * ibuffer.el (ibuffer-format-qualifier):
17574 * isearch.el (hi-lock-regexp-okay):
17575 * calc/calc.el (math-zerop):
17576 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17577 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17578 Remove unused declarations.
17580 2009-09-30 Eric Ludlam <zappo@gnu.org>
17582 * emacs-lisp/eieio.el (boolean-p): Delete.
17584 2009-09-30 Glenn Morris <rgm@gnu.org>
17586 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17588 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17589 filename is not a string.
17591 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17593 * files.el (safe-local-eval-forms): Fix typo.
17595 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17597 * vc-hooks.el (vc-dir-buffers): New var.
17598 (vc-state-refresh): New function.
17599 (vc-state): Use it.
17600 (vc-after-save): Always ask the backend to recompute the new state.
17601 Always call vc-dir if necessary, using vc-dir-buffers.
17602 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17603 Use vc-dir-buffers.
17604 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17605 (vc-dir-prepare-status-buffer, vc-dir-update)
17606 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17607 Don't call expand-file-name on default-directory.
17609 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17611 * speedbar.el (speedbar-item-delete):
17612 * calc/calc-prog.el (calc-kbd-if):
17613 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17615 * epa.el (epa-key-list-mode-map):
17616 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17618 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17619 (hs-show-hook): Fix typo in docstring.
17621 2009-09-29 Glenn Morris <rgm@gnu.org>
17623 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17624 file-name-nondirectory call preventing location of cedet files.
17625 (check-declare-verify): Use literal search rather than re-search.
17626 Add basic defmethod and defclass, and define-overloadable-function.
17628 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17629 Use tramp-compat-file-attributes rather than nonexistent
17630 tramp-compat-handle-file-attributes.
17632 * Makefile.in (lisptagsfiles4): New.
17633 (AUTOGENEL): Add cedet loaddefs files.
17634 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17635 (update-elclist, compile-always, backup-compiled-files)
17636 (bootstrap-clean): Add yet another directory level.
17637 (update-elclist): Use LC_COLLATE rather than COLLATE.
17638 (ELCFILES): Update, via `make update-elclist'.
17640 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17642 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17643 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17644 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17646 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17648 * Makefile.in (lisptagsfiles3): Define.
17649 (TAGS, TAGS-LISP): Use it.
17650 (update-elclist): Add third directory level to look for elc files.
17651 (compile-always): Likewise.
17652 (backup-compiled-files): Likewise.
17653 (bootstrap-clean): Likewise.
17654 (ELCFILES): Update.
17656 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17658 * Makefile.in (ELCFILES): Add CEDET files.
17660 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17662 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17664 * net/tramp.el (top): Require tramp-imap.
17666 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17667 Use `tramp-compat-handle-file-attributes'.
17669 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17671 * net/tramp-imap.el: New package.
17673 2009-09-28 Eric Ludlam <zappo@gnu.org>
17675 * emacs-lisp/chart.el:
17676 * emacs-lisp/eieio-base.el:
17677 * emacs-lisp/eieio-comp.el:
17678 * emacs-lisp/eieio-custom.el:
17679 * emacs-lisp/eieio-datadebug.el:
17680 * emacs-lisp/eieio-opt.el:
17681 * emacs-lisp/eieio-speedbar.el:
17682 * emacs-lisp/eieio.el: New files.
17684 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17686 * whitespace.el (whitespace-trailing-regexp)
17687 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17690 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17692 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17695 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17696 menu-bar-ediff-menu.
17698 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17699 define-overloadable-function.
17701 * progmodes/autoconf.el: Provide autoconf as well, so that this
17702 file can be `require'd.
17704 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17706 * emacs-lisp/autoload.el (generated-autoload-feature)
17707 (generated-autoload-load-name): New vars.
17708 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17709 (make-autoload): Recognize define-overloadable-function and
17710 defclass forms (for EIEIO).
17712 * Makefile.in (update-subdirs): Exclude cedet directory.
17714 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17716 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17718 * faces.el: Default light-background background for region face to
17719 ns_selection_color under NS.
17721 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17723 * net/imap-hash.el: New library, see NEWS.
17725 * Makefile.in (ELCFILES): Add imap-hash.el.
17727 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17729 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17730 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17731 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17732 definition where the docstring could be taken for the return value.
17734 2009-09-26 Glenn Morris <rgm@gnu.org>
17736 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17737 Add option to only show images below a certain size.
17738 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17739 save-excursion calls.
17741 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17743 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17744 subdirectories) and eieio.
17746 2009-09-26 Alan Mackenzie <acm@muc.de>
17748 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17749 Correct buggy bracketing. (Bug#4289)
17751 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17752 character constants (as case labels). (Bug#4289)
17754 2009-09-25 Juri Linkov <juri@jurta.org>
17756 * files.el (safe-local-eval-forms): Allow time-stamp in
17757 before-save-hook (Bug#4554).
17759 2009-09-25 Drew Adams <drew.adams@oracle.com>
17761 * menu-bar.el (list-buffers-directory): Doc fix.
17763 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17765 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17766 Try and avoid copying twice the same paragraph.
17767 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17768 Remove save-excursion.
17769 (log-edit-changelog-entry): Do it here instead.
17771 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17773 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17774 when available, instead of hardcoding mode names. Doc fix.
17776 * menu-bar.el (list-buffers-directory): Add docstring.
17777 Make automatically buffer-local.
17779 * dired.el (dired-mode):
17780 * files.el (cd-absolute):
17781 * pcvs.el (cvs-temp-buffer):
17782 * pcvs-util.el (cvs-get-buffer-create):
17783 * shell.el (shell-mode):
17784 * vc-dir.el (vc-dir-mode):
17785 Don't make `list-buffers-directory' buffer local.
17787 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17789 * comint.el (comint-exec, comint-run, make-comint):
17790 Doc fixes (Bug#4542).
17792 2009-09-25 Glenn Morris <rgm@gnu.org>
17794 * mail/rmailmm.el (rmail-mime): New custom group.
17795 Move all defcustoms in this file into this group.
17796 (rmail-mime-media-type-handlers-alist): Revert previous change.
17797 (rmail-mime-show-images): New option.
17798 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17799 references to it, since it wasn't actually used for anything.
17800 (rmail-mime-insert-image): New function.
17801 (rmail-mime-image): Use rmail-mime-insert-image.
17802 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17803 obey the value of `rmail-mime-show-images' option. Print the size of
17806 2009-09-25 David Engster <deng@randomsample.de>
17808 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17810 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17812 * whitespace.el: Does not highlight trailing spaces While point is
17813 at end of line. Does not highligt spaces at beginning of buffer
17814 while point is at beginning of buffer. Does not highlight spaces
17815 at end of buffer while point is at end of buffer. (Bug#4177)
17817 (whitespace-display-mappings): Adjust initialization.
17818 (whitespace-point, whitespace-font-lock-refontify): New vars.
17819 (whitespace-color-on, whitespace-color-off): Adjust code.
17820 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17821 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17822 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17824 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17826 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17828 * textmodes/sgml-mode.el: Remove xml-mode alias.
17830 * files.el (auto-mode-alist, conf-mode-maybe)
17831 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17833 2009-09-24 Alan Mackenzie <acm@muc.de>
17835 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17836 c-forward-conditionals, but it doesn't move point and doesn't set
17838 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17839 (c-down-conditional-with-else, c-backward-conditional)
17840 (c-forward-conditional): Refactor to use c-scan-conditionals.
17842 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17844 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17845 (help-default-arg-highlight): Remove.
17846 (help-highlight-arg): New function.
17847 (help-do-arg-highlight): Use it.
17848 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17850 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17852 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17853 Undo last change, which didn't fix the problem and introduced others.
17855 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17857 * progmodes/gdb-mi.el: Don't require speedbar.
17858 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17860 2009-09-24 Glenn Morris <rgm@gnu.org>
17862 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17864 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17866 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17867 there is no newline after the final mime boundary. (Bug#4539)
17868 Move markers on insertion so that any buttons inserted don't end up in
17869 the next part of a multipart message.
17870 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17871 (rmail-mime-bulk-handler): Optionally handle images.
17872 (rmail-mime-image): New button action.
17873 (rmail-mime-image-handler): New function.
17874 (rmail-mime-mode): New mode.
17875 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17877 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17879 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17880 than just dropping elements from it (bug#4504).
17882 * term.el (term-set-scroll-region): Don't move cursor any more.
17883 (term-handle-ansi-escape): Call term-goto here instead.
17884 Suggested by Ivan Kanis <apple@kanis.eu>.
17886 * term.el: Require CL.
17887 (term-ansi-reset): New function.
17888 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17889 (term-handle-colors-array): Simplify.
17891 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17893 * allout.el (allout-overlay-interior-modification-handler)
17894 (allout-obtain-passphrase):
17895 * epa-file.el (epa-file-write-region):
17896 * ps-print.el (ps-begin-job):
17897 * vc-hooks.el (vc-toggle-read-only):
17898 * vc-rcs.el (vc-rcs-rollback):
17899 * vc-sccs.el (vc-sccs-rollback):
17900 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17901 (vc-version-diff, vc-revert, vc-rollback):
17902 * wdired.el (wdired-check-kill-buffer):
17903 * emacs-lisp/authors.el (authors):
17904 * net/socks.el (socks-open-connection):
17905 * net/zeroconf.el (zeroconf-service-add-hook):
17906 * obsolete/vc-mcvs.el (vc-mcvs-register):
17907 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17908 (gdb-select-frame):
17909 * progmodes/grep.el (lgrep, rgrep):
17910 * progmodes/idlw-help.el (idlwave-help-check-locations)
17911 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17912 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17913 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17914 (reftex-toc-rename-label): Fix typos in error messages.
17916 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17917 (dired-copy-how-to-fn): Doc fix.
17918 (dired-files-attributes, dired-read-shell-command):
17919 Fix typos in docstrings.
17921 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17922 (dired-x-find-file-other-window): Reflow docstrings.
17923 (dired-omit-marker-char, dired-read-shell-command)
17924 (dired-x-submit-report): Fix typos in docstrings.
17926 * shell.el (shell-mode-hook):
17927 * view.el (View-scroll-line-forward):
17928 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17929 Fix typos in docstrings.
17931 * net/dig.el (dig-invoke): Fix typo in docstring.
17932 (query-dig): Reflow docstring.
17934 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17935 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17936 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17937 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17938 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17939 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17940 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17941 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17942 (idlwave-completion-map, idlwave-current-indent)
17943 (idlwave-custom-ampersand-surround, idlwave-customize)
17944 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17945 (idlwave-define-abbrev, idlwave-determine-class-special)
17946 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17947 (idlwave-end-block-reg, idlwave-end-of-statement)
17948 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17949 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17950 (idlwave-explicit-class-listed, idlwave-file-header)
17951 (idlwave-fill-paragraph, idlwave-find-class-definition)
17952 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17953 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17954 (idlwave-in-quote, idlwave-indent-action-table)
17955 (idlwave-indent-expand-table, idlwave-indent-line)
17956 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17957 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17958 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17959 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17960 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17961 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17962 (idlwave-outlawed-buffers, idlwave-popup-select)
17963 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17964 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17965 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17966 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17967 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17968 (idlwave-statement-type, idlwave-struct-skip)
17969 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17970 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17971 (idlwave-what-module-find-class): Fix typos in docstrings.
17972 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17973 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17974 (idlwave-find-module, idlwave-find-structure-definition)
17975 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17976 (idlwave-list-load-path-shadows, idlwave-next-statement)
17977 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17978 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17979 (idlwave-template): Reflow docstrings.
17981 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17982 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17983 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17984 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17985 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17986 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17987 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17988 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17989 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17990 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17991 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17992 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17993 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17994 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17995 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17996 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17997 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17998 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17999 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18000 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18001 Fix typos in docstrings.
18002 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18003 (idlwave-shell-hide-output, idlwave-shell-mode)
18004 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18007 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18009 2009-09-24 Ivan Kanis <apple@kanis.eu>
18011 * term.el (term-bold-attribute): New var.
18012 (term-handle-colors-array): Use it.
18014 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18016 * progmodes/gdb-mi.el (gdb-version): New variable.
18017 (gdb-non-stop-handler): Set gdb-version.
18018 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18019 Condition "--thread" option on gdb-version.
18020 (gdb-invalidate-threads): Remove unused argument.
18022 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18024 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18025 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18027 2009-09-23 Glenn Morris <rgm@gnu.org>
18029 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18030 replying to mail without References or Message-Id. (Bug#4525)
18032 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18034 * term/ns-win.el (ns-reg-to-script): New variable.
18036 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18038 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18040 2009-09-22 Sam Steingold <sds@gnu.org>
18042 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18043 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18044 to 1 because hg returns status 1 when nothing is found.
18045 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18047 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18049 * textmodes/fill.el: Convert to utf-8 encoding.
18050 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18053 * add-log.el (change-log-fill-forward-paragraph): New function.
18054 (change-log-mode): Use it so fill-region DTRT.
18055 Set fill-indent-according-to-mode here rather than in
18056 change-log-fill-paragraph.
18057 (change-log-fill-paragraph): Remove.
18059 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18061 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18062 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18064 2009-09-22 Glenn Morris <rgm@gnu.org>
18066 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18067 the scroll-bar scroll the calendar window rather than the buffer.
18069 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18070 commands that move point (as opposed to scrolling).
18072 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18074 * emacs-lisp/elint.el (elint): New custom group.
18075 (elint-log-buffer): Make it a defcustom.
18076 (elint-scan-preloaded, elint-ignored-warnings)
18077 (elint-directory-skip-re): New options.
18078 (elint-builtin-variables): Doc fix.
18079 (elint-preloaded-env): New variable.
18080 (elint-unknown-builtin-args): Add an entry for encode-time.
18081 (elint-extra-errors): Make it a variable rather than a constant.
18082 (elint-preloaded-skip-re): New constant.
18083 (elint-directory): Skip files matching elint-directory-skip-re.
18084 (elint-features): New variable, local to linted buffers.
18085 (elint-update-env): Initialize elint-features. Possibly add
18086 elint-preloaded-env to the buffer's environment.
18087 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18089 (elint-init-form): New function, extracted from elint-init-env.
18090 Make non-list forms a warning rather than an error.
18091 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18092 easy-menu-define, put that adds an error-condition, and provide.
18093 When requiring cl, also require cl-macs. Really require cl, to handle
18094 some cl macros. Store required libraries in the list elint-features,
18095 so as not to re-load them. Treat cc-require like require.
18096 (elint-init-env): Call elint-init-form to do the work.
18097 Handle eval-and-compile and such like.
18098 (elint-add-required-env): Do not clear messages.
18099 (elint-special-forms): Add handlers for function, defalias, if, when,
18101 (elint-form): Add optional argument to ignore elint-special-forms,
18102 useful to prevent recursive calls from handlers. Doc fix.
18103 Respect elint-ignored-warnings.
18104 (elint-form): Respect elint-ignored-warnings.
18105 (elint-bound-variable, elint-bound-function): New variables.
18106 (elint-unbound-variable): Respect elint-bound-variable.
18107 (elint-get-args): Respect elint-bound-function.
18108 (elint-check-cond-form): Add some simple handling for (f)boundp and
18110 (elint-check-defalias-form): New handler.
18111 (elint-check-let-form): Make an empty let a warning rather than an
18113 (elint-check-setq-form): Make an empty setq a warning rather than an
18114 error. Respect elint-ignored-warnings.
18115 (elint-check-defvar-form): Accept null doc-strings.
18116 (elint-check-conditional-form): New handler. Does some simple-minded
18117 checking of featurep and (f)boundp tests.
18118 (elint-put-function-args): New function.
18119 (elint-initialize): Use elint-scan-doc-file rather than
18120 elint-find-builtin-variables. Use elint-put-function-args.
18121 Possibly scan preloaded-file-list.
18122 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18123 extend to handle functions as well.
18125 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18127 * linum.el (linum-delete-overlays, linum-update-window):
18128 Do not modify the right margin. (Bug#3971)
18130 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18132 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18133 Use nxml-mode instead of xml-mode.
18135 2009-09-21 Kevin Ryde <user42@zip.com.au>
18137 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18139 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18141 * net/dig.el (dig-mode): Use define-derived-mode.
18143 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18145 * vc-dispatcher.el (vc-do-command): Return the process object in
18146 the asynchronous case. Use when instead of if. Do not run
18147 vc-exec-after to display a message if not enabled. (Bug#4463)
18149 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18150 properties to the stash strings.
18151 (vc-git-stash-list): Return a list of strings.
18152 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18153 (vc-git-stash-show-at-point): New functions.
18154 (vc-git-stash-map): New keymap.
18156 * register.el (ctl-x-r-map): Define the keys here instead of
18159 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18161 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18162 list, to workaround performance problem (bug#4485).
18164 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18166 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18168 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18170 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18171 Document that this option is not recommended to use.
18173 2009-09-19 Glenn Morris <rgm@gnu.org>
18175 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18178 * calc/calc-alg.el (var):
18179 * calc/calcalg2.el (var): Define for compiler.
18181 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18183 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18184 Doc fix (Bug#3932).
18186 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18188 * time-stamp.el (time-stamp-month-dd-yyyy)
18189 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18190 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18191 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18192 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18193 Remove functions that have been obsolete since 1995 (Bug#4436).
18195 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18196 indent buffer only if called interactively (Bug#4452).
18198 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18199 Eli Zaretskii <eliz@gnu.org>
18201 This fixes bug#4197 (merged to bug#865, though not identical).
18202 * server.el (server-auth-dir): Add docstring note about FAT32.
18203 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18204 but warn against using them.
18206 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18208 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18209 older GDB where there is no has_more field.
18211 2009-09-19 Glenn Morris <rgm@gnu.org>
18213 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18215 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18217 * files.el (auto-mode-alist): Change default for XML files to nXML
18220 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18222 * server.el (server-ensure-safe-dir): Pass 'integer
18223 to `file-attributes', as suggested.
18225 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18227 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18228 (dired-query): Use read-key.
18230 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18232 * cus-start.el (ns-use-qd-smoothing): Remove.
18234 2009-09-18 Glenn Morris <rgm@gnu.org>
18236 * allout.el (top-level): Remove unnecessary progn.
18238 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18240 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18241 definition of abbrev table.
18243 * speedbar.el (speedbar-track-mouse):
18244 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18245 * net/eudc.el (eudc-expand-inline):
18246 * net/newst-backend.el (newsticker--cache-read-feed):
18247 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18248 condition-case handlers.
18250 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18252 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18253 (gdb-var-list): Add an element for has_more field.
18254 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18255 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18256 (gdb-var-update-handler-1): Parse output of dynamic variable
18257 objects (STL containers).
18258 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18259 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18261 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18263 (gud-speedbar-buttons): Make node expandable if expression "has more"
18266 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18268 * startup.el (emacs-quick-startup): Remove variable and all uses.
18269 (command-line): Set `inhibit-x-resources' instead.
18270 (command-line-1): Use `inhibit-x-resources' instead.
18272 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18274 * subr.el: Fix last change to avoid using the `unless' macro,
18275 which breaks bootstrapping.
18277 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18279 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18280 extended definitions, in case we reload subr.el after having
18282 (eval-next-after-load): Mark as obsolete.
18284 2009-09-17 Juri Linkov <juri@jurta.org>
18286 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18287 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18288 (menu-bar-showhide-menu, menu-bar-tools-menu)
18289 (menu-bar-describe-menu, menu-bar-help-menu)
18290 (minibuffer-local-completion-map, minibuffer-local-map):
18293 2009-09-17 Glenn Morris <rgm@gnu.org>
18295 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18296 arguments, whether or not it has a handler.
18298 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18300 * simple.el (hard-newline): Give it a doc-string.
18302 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18303 (lisp-mode-syntax-table): Give them doc-strings.
18305 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18307 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18308 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18309 (menu-bar-options-menu, menu-bar-showhide-menu)
18310 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18311 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18312 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18313 (menu-bar-options-menu, menu-bar-tools-menu)
18314 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18315 (menu-bar-help-menu):
18316 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18319 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18320 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18321 calls for the menu names and :help.
18323 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18325 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18326 to :minor-mode-function (bug#4455).
18328 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18330 * startup.el (command-line): Initialize the window-system after
18331 processing the command-line.
18333 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18334 page-delimiter matches the empty string.
18336 2009-09-16 Glenn Morris <rgm@gnu.org>
18338 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18339 byte-compile-not-obsolete-var. It's a list now.
18340 (byte-compile-not-obsolete-funcs): New variable.
18341 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18342 byte-compile-not-obsolete-funcs.
18343 (byte-compile-variable-ref, byte-compile-defvar): Update for
18344 byte-compile-not-obsolete-vars name-change and list nature.
18345 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18346 and variables behind (f)boundp tests.
18347 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18349 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18351 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18353 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18355 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18356 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18359 2009-09-15 Stephen Eglen <stephen@gnu.org>
18361 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18362 the virtual-buffers, use the name of the buffer specified by
18363 find-file-noselect, as the match may be a symlink. (This was a
18364 problem if the target and the symlink had different names.)
18366 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18368 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18370 * desktop.el (desktop-path): Check user-emacs-directory.
18372 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18374 * loadup.el: Use after-load-functions to GC after loading each file.
18375 Remove the explicit GC calls that used to be sprinkled around.
18377 * subr.el (after-load-functions): New hook.
18378 (do-after-load-evaluation): Run it. Use string-match-p to detect
18379 `obsolete' packages, rather than painfully extracting the relevant
18382 2009-09-15 Glenn Morris <rgm@gnu.org>
18384 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18385 free variable `doc'.
18387 * dired.el (dired-mode-map): Add menu entry for async shell command.
18389 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18390 variables, also consider the .elc files, since the .el files are
18391 normally gzipped (subsequent code locates the .el.gz from the .elc).
18393 * calc/calc-prog.el (arglist): Define for compiler.
18395 * calendar/diary-lib.el (diary-display-function): Change the default to
18397 (body): Define for compiler.
18399 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18400 (byte-compile-file-form, byte-compile-lambda)
18401 (byte-compile-top-level-body, byte-compile-form)
18402 (byte-compile-variable-ref, byte-compile-setq)
18403 (byte-compile-setq-default, byte-compile-body)
18404 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18405 (batch-byte-compile): Give some more local variables with common names
18406 a "bytecomp-" prefix to avoid masking warnings about free variables.
18408 * startup.el (command-line-1): Give local variables with common names a
18409 distinguishing prefix, so as not to hide free variable warnings during
18412 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18413 clever and add a suffix to make a unique name, just let the user decide
18414 whether or not to overwrite it. If the input is a directory, write the
18415 default filename to that directory. (Bug#4388)
18416 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18417 is a filename-as-a-directory.
18419 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18421 * textmodes/page.el (what-page): Don't move to beginning of line.
18422 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18424 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18426 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18428 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18430 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18431 * help.el (help-for-help-internal): Add purecopy calls for text.
18433 * vc.el (top): print-log method now takes an optional SHORTLOG
18434 argument. Add a new method: root.
18435 (vc-root-diff, vc-print-root-log): New functions.
18436 (vc-log-short-style): New variable.
18437 (vc-print-log-internal): Add support for showing short logs.
18439 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18440 vc-print-root-log and vc-print-root-diff.
18442 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18443 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18444 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18447 * vc-cvs.el (vc-cvs-print-log):
18448 * vc-mtn.el (vc-mtn-print-log):
18449 * vc-rcs.el (vc-rcs-print-log):
18450 * vc-sccs.el (vc-sccs-print-log):
18451 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18452 that is ignored for now.
18454 * vc-mtn.el (vc-mtn-annotate-command):
18455 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18457 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18459 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18460 to function-key-map, and give them ascii-character property.
18461 * term/x-win.el (x-alternatives-map):
18462 * term/ns-win.el (ns-alternatives-map):
18463 * term/internal.el (msdos-key-remapping-map):
18464 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18466 2009-09-14 Glenn Morris <rgm@gnu.org>
18468 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18469 temp-buffers (2009-09-12).
18471 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18473 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18474 the new read-key function.
18476 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18478 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18479 is defined (Bug#4405).
18481 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18483 * recentf.el (recentf-cleanup): Use a hash table to find
18484 duplicates (Bug#4407).
18486 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18488 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18489 kp-0 to ascii equivalents (Bug#4325).
18491 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18493 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18495 * eshell/em-hist.el:
18496 * eshell/em-dirs.el (eshell-complete-user-reference):
18497 Declare pcomplete functions and variables to avoid compiler warnings.
18499 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18501 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18502 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18503 * eshell/em-alias.el (eshell-aliases-file):
18504 * eshell/em-hist.el (eshell-history-file-name):
18505 Use expand-file-name instead of concat to make file names (Bug#4308).
18507 2009-09-13 Glenn Morris <rgm@gnu.org>
18509 * ediff-merg.el (ediff-do-merge):
18510 * filesets.el (filesets-run-cmd):
18511 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18512 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18513 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18514 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18515 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18516 Replace empty `let's with `progn'.
18518 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18520 * mail/sendmail.el (send-mail-function):
18521 * tooltip.el (tooltip-mode):
18522 * simple.el (transient-mark-mode):
18523 * rfn-eshadow.el (file-name-shadow-mode):
18524 * frame.el (blink-cursor-mode):
18525 * font-core.el (global-font-lock-mode):
18526 * files.el (temporary-file-directory)
18527 (small-temporary-file-directory, auto-save-file-name-transforms):
18528 * epa-hook.el (auto-encryption-mode):
18529 * composite.el (global-auto-composition-mode):
18530 Use custom-initialize-delay.
18531 * startup.el (command-line): Don't explicitly call
18532 custom-reevaluate-setting for all the above vars.
18533 * custom.el (custom-initialize-safe-set)
18534 (custom-initialize-safe-default): Delete.
18536 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18538 * term/x-win.el (x-initialize-window-system):
18539 * term/w32-win.el (w32-initialize-window-system):
18540 * term/ns-win.el (ns-initialize-window-system): Don't call
18541 mouse-wheel-mode since it's enabled globally by default already.
18543 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18544 actually define the variable, but only silences the byte-compiler.
18545 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18546 before looking it up.
18547 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18550 2009-09-12 Glenn Morris <rgm@gnu.org>
18552 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18554 (elint-add-required-env): Don't beep on error.
18555 (elint-forms): In case of error, return ENV unchanged.
18556 (elint-init-env): Skip non-list forms.
18557 (elint-log): Handle unknown file positions.
18559 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18561 * epg.el (epg-make-context): Add autoload cookie.
18562 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18563 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18564 (epg-verify-string, epg-start-sign, epg-sign-file)
18565 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18566 (epg-encrypt-string, epg-start-export-keys)
18567 (epg-export-keys-to-file, epg-export-keys-to-string)
18568 (epg-start-import-keys, epg-import-keys-from-file)
18569 (epg-import-keys-from-string, epg-start-receive-keys)
18570 (epg-receive-keys, epg-import-keys-from-server)
18571 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18572 (epg-sign-keys, epg-start-generate-key)
18573 (epg-generate-key-from-file, epg-generate-key-from-string):
18574 Remove autoload cookie.
18576 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18578 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18579 reevaluation of trash-directory.
18581 * mwheel.el: Fix last change.
18582 (mouse-wheel-mode): New defvar.
18583 (mouse-wheel-mode): Remove autoload cookie.
18585 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18587 * mwheel.el (mwheel-installed-bindings): New var.
18588 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18589 the bindings we set last time. Use custom-initialize-delay.
18590 * loadup.el: Load mwheel after term/*-win.el.
18591 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18592 and mouse-wheel-up-event now that their first evaluation is done
18593 sufficiently late to be correct.
18595 * startup.el (tutorial-directory): Make it a defcustom.
18596 Use custom-initialize-delay rather than eval-at-startup to set it.
18597 * image.el (image-load-path): Make it a defcustom.
18598 Use custom-initialize-delay rather than eval-at-startup to set it.
18599 * subr.el (eval-at-startup): Remove.
18600 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18602 * subr.el (do-after-load-evaluation): Warn the user after loading an
18605 2009-09-12 Glenn Morris <rgm@gnu.org>
18607 * proced.el (proced-mark-alt): Remove alias.
18608 (proced-mode-map): Remove proced-mark-alt.
18610 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18611 Elint file and directory. Remove initialization entry.
18613 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18615 (elint-current-buffer): Set mode-line-process.
18616 (elint-init-env): Handle define-derived-mode.
18617 Fix declare-function with unspecified arglist. Guard against odd
18618 defalias statements (eg iso-insert's 8859-1-map).
18619 (elint-add-required-env): Use a temp buffer.
18620 (elint-form): Just print the function/macro name, not the whole form.
18621 Return env unchanged if we fail to parse a macro.
18622 (elint-forms): Guard against parse errors.
18623 (elint-output): New function, to handle batch mode.
18624 (elint-log-message): Add optional argument. Use elint-output.
18625 (elint-set-mode-line): New function.
18627 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18629 * emacs-lisp/elp.el (elp-not-profilable): Add more
18630 functions (Bug#4233).
18632 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18634 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18635 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18637 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18639 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18640 (gdb-var-list-children): Use json parsing.
18642 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18644 * progmodes/js.el (js--proper-indentation): Handle the case where
18645 char-before is null. Reported by Deniz Dogan.
18647 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18649 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18651 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18653 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18654 (epg-digest-algorithm-alist): Add SHA224.
18655 (epg-context-set-passphrase-callback)
18656 (epg-context-set-progress-callback): Add description about
18659 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18661 * custom.el (custom-delayed-init-variables): New var.
18662 (custom-initialize-delay): New function.
18663 * startup.el (command-line): "Re"evaluate all vars in
18664 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18665 explicitly any more.
18666 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18667 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18669 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18671 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18673 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18674 (gdb-var-update-handler): Use json parsing.
18676 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18678 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18679 decode annotated text, regardless of language environment. (Bug#2741)
18681 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18683 * Makefile.in (autoloads): Make rmail.el writable as well.
18685 2009-09-11 Glenn Morris <rgm@gnu.org>
18687 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18689 * dired.el: Regenerate with extracted autoloads.
18690 * Makefile.in (autoloads): Make dired.el writable.
18692 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18693 * ibuffer.el: Regenerate with extracted autoloads.
18694 * Makefile.in (autoloads): Make ibuffer.el writable.
18696 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18697 * version.el (emacs-copyright, emacs-major-version)
18698 (emacs-minor-version): Reformat doc-strings for make-docfile.
18700 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18701 functions and variables, since they must be stuff specific to some other
18703 (apropos-print): Make mouse-click message less specific about button.
18705 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18706 that records where a macro was defined.
18707 * help-fns.el (describe-function-1): Mention if a function has a
18709 * help-mode.el (help-function-cmacro): New button.
18711 * locate.el (top-level): Always require dired.
18712 (locate-mode-map): Initialize inside the defvar.
18714 * net/ange-ftp.el (dired-compress-file): Declare.
18715 (ange-ftp-dired-compress-file): Add doc string.
18717 * term/ns-win.el (x-display-name, x-setup-function-keys):
18718 Unify doc-strings with X versions.
18720 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18722 * emulation/crisp.el (crisp-mode-map): Move initialization
18724 (crisp-mode): Use define-minor-mode.
18726 * progmodes/xscheme.el (xscheme-evaluation-commands):
18727 Put a :advertised-binding property rather than using
18728 advertised-xscheme-send-previous-expression.
18729 (advertised-xscheme-send-previous-expression): Declare obsolete.
18730 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18732 (crisp-mode): Add corresponding bindings to
18733 undo's :advertised-binding instead.
18734 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18735 than using dired-advertised-find-file.
18736 (dired-advertised-find-file):
18737 * simple.el (advertised-undo):
18738 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18739 (widget-keymap): Put a :advertised-binding property rather
18740 than using advertised-widget-backward.
18741 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18742 than using advertised-undo.
18743 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18745 2009-09-10 Simon South <ssouth@slowcomputing.org>
18747 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18748 Mark mode is enabled and region is active; otherwise indent or
18749 insert TAB as usual.
18750 (delphi-mode): Update description of TAB-key binding.
18752 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18754 * subr.el (define-key-rebound-commands): Mark obsolete.
18755 * startup.el (precompute-menubar-bindings): Remove.
18756 (normal-top-level): Remove obsolete code that tried to precompute
18758 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18759 define-key-rebound-commands and precompute-menubar-bindings.
18761 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18763 * net/imap.el (imap-interactive-login): Better messages.
18764 (imap-open): Fix bug with renamed buffer on reconnect.
18765 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18766 for easier debugging and cleaner code. On successful (guessed based on
18767 server capabilities) secondary authentication, set imap-state
18769 (imap-last-authenticator): Define imap-last-authenticator as a variable
18772 2009-09-10 Glenn Morris <rgm@gnu.org>
18774 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18776 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18777 (byte-compile-file-form-autoload): Don't warn about unknown functions
18778 where the autoload statement comes after the use.
18779 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18780 that any handlers inside the body (eg require) are in turn respected.
18782 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18785 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18786 and syntax and abbrev tables basic docs, if they don't have any.
18788 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18790 * international/mule-cmds.el (top-level): Require cl when compiling.
18791 (view-hello-file): Use default-value rather than
18792 default-enable-multibyte-characters.
18794 * progmodes/fortran.el: Move all safe and risky properties into the
18797 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18798 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18799 * mail/undigest.el:
18800 Put autoloads in rmail.el rather than loaddefs.el.
18801 * mail/rmail.el: Regenerate with extracted autoloads.
18803 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18804 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18806 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18808 Reported in thread for Bug#4375.
18809 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18810 "-data-evaluate-expression" instead of print.
18811 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18812 (gdb-tooltip-print): Parse output from above MI command.
18813 (gdb): Revert 2009-08-11 change. User should detach inferior
18816 Remove the word "separate" from IO functions as inferior
18817 output is now never displayed in the GUD buffer.
18819 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18821 * startup.el (command-line-normalize-file-name): On Windows and
18822 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18824 2009-09-10 Juri Linkov <juri@jurta.org>
18826 * isearch.el (isearch-text-char-description): Propertize escape
18827 character sequences with the `escape-glyph' face. (Bug#4344)
18829 * simple.el (shell-command): Set asynchronous process filter to
18830 `comint-output-filter'. (Bug#4343)
18832 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18833 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18834 the list. Move "asm" to the bottom.
18835 (grep-find-ignored-directories): Add `choice' with nil value
18836 to empty the list easily.
18837 (grep-find-ignored-files): New option.
18838 (grep-files-history): Set to nil by default instead of '("ch" "el").
18839 (grep-compute-defaults): Add "<X>" to `grep-template'.
18840 (grep-read-files): Bind new local variables `default-alias' and
18841 `default-extension'. Use a list of default values for the file prompt.
18842 (lgrep): Add `--exclude=' command line options composed from
18843 `grep-find-ignored-files'.
18844 (rgrep): Add `-name' command line options composed from
18845 `grep-find-ignored-files'. (Bug#4301)
18847 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18849 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18852 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18854 * calendar/time-date.el (autoload):
18855 Expand define-obsolete-function-alias into defalias and make-obsolete
18856 for old Emacsen that Gnus supports.
18857 (with-no-warnings): Define it for old Emacsen.
18858 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18860 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18861 float-time is available; suppress compile warning for time-to-seconds.
18863 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18865 * net/imap.el (imap-message-map): Docstring fix.
18867 2009-09-09 Glenn Morris <rgm@gnu.org>
18869 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18870 line numbers too. (Bug#4374)
18872 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18874 * smerge-mode.el (smerge-remove-props, smerge-refine):
18875 Use with-silent-modifications (bug#4342).
18877 * subr.el (with-silent-modifications): New macro.
18879 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18881 * files.el (top-level): Require `cl' when compiling.
18883 2009-09-07 Glenn Morris <rgm@gnu.org>
18885 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18887 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18888 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18890 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18892 * vc-git.el (vc-git-annotate-command): Use separator to parse
18893 arguments correctly.
18895 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18897 * proced.el (proced-mode): Doc fix.
18899 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18901 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18903 (tramp-do-file-attributes-with-ls): Check for file existence at
18905 (tramp-do-file-attributes-with-stat): Likewise.
18906 (tramp-convert-file-attributes): Return nil when attr is nil.
18908 2009-09-05 Glenn Morris <rgm@gnu.org>
18910 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18911 properties to this button.
18912 (diary-fancy-display): Don't extend the button to the final newline.
18913 (diary-fancy-display-mode): Continue to define "q" as a local key.
18915 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18918 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18920 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18921 (byte-compile-dest-file-function): New option.
18922 (byte-compile-dest-file): Doc fix.
18923 Obey byte-compile-dest-file-function.
18924 (byte-compile-cl-file-p): New function.
18925 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18926 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18927 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18928 than for file being previously loaded.
18929 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18930 (byte-compile-file-form-require): Handle the case where requiring a file
18931 indirectly causes CL to be loaded.
18933 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18935 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18936 before killing the old buffer, since by the time `kill-buffer' is
18937 run so many buffer variables have been set to nil that it may not
18938 behave as expected. (Bug#4061)
18940 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18942 * files.el (find-alternate-file): If the old buffer is modified
18943 and visiting a file, behave similarly to `kill-buffer' when
18944 killing it, thus reverting to the pre-1.878 behavior; see
18945 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18946 for discussion. Also, consult `buffer-file-name' as a variable
18947 not as a function, for consistency with the rest of the code.
18949 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18951 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18952 also when adding a new directory.
18954 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18957 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18959 * files.el (locate-file-completion-table): Make it provide boundary
18960 information, so partial-completion works better.
18962 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18964 * mail/footnote.el (Footnote-text-under-cursor):
18965 Check footnote-text-marker-alist before using it (bug#4324).
18967 2009-09-04 Glenn Morris <rgm@gnu.org>
18969 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18970 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18971 * play/solitaire.el, play/tetris.el:
18972 Remove leading * from defcustom and defface docs.
18974 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18976 (diary-fancy-overriding-map): New variable.
18977 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18980 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18983 2009-09-03 Glenn Morris <rgm@gnu.org>
18985 * arc-mode.el (archive-mode):
18986 * dos-fns.el (set-default-process-coding-system):
18987 * man.el (Man-getpage-in-background):
18988 * menu-bar.el (menu-bar-describe-menu):
18989 * server.el (server-process-filter):
18990 * startup.el (command-line):
18991 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18992 * w32-fns.el (set-default-process-coding-system):
18993 * x-dnd.el (x-dnd-handle-file-name):
18994 * international/mule-cmds.el (mule-menu-keymap)
18995 (set-default-coding-systems, language-info-alist, set-language-info)
18996 (set-language-environment, standard-display-european-internal)
18997 (set-locale-environment):
18998 * international/mule-diag.el (mule-diag):
18999 * mail/emacsbug.el (report-emacs-bug):
19000 * mail/rmail.el (rmail-mode):
19001 * mail/sendmail.el (mail-setup):
19002 Use default-value rather than default-enable-multibyte-characters.
19004 * progmodes/f90.el: Move all safe properties into the defcustoms.
19005 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19007 * calendar/appt.el (appt-check):
19008 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19009 (diary-check-diary-file, diary-list-entries)
19010 (diary-include-other-diary-files, diary-simple-display)
19011 (diary-fancy-display, diary-print-entries)
19012 (diary-mark-included-diary-files, diary-make-entry):
19013 Don't call substitute-in-file-name on diary-file.
19015 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19016 Stefan Monnier <monnier@iro.umontreal.ca>
19018 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19019 (footnote-mode-map): Move initialization into the declaration.
19020 (footnote-minor-mode-map): Define it rather than changing global-map.
19021 (footnote-mode): Use define-minor-mode.
19023 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19025 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19026 (tramp-do-file-attributes-with-perl)
19027 (tramp-do-file-attributes-with-stat): Rename from
19028 `tramp-handle-file-attributes-with-*'.
19029 (tramp-handle-file-attributes): Use them.
19030 (tramp-do-directory-files-and-attributes-with-perl)
19031 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19032 `tramp-handle-directory-files-and-attributes-with-*'.
19033 (tramp-handle-directory-files-and-attributes): Use them.
19034 (tramp-method-out-of-band-p): Additional parameter SIZE.
19035 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19036 (tramp-handle-write-region): Use it.
19037 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19038 (tramp-handle-vc-registered): Check, whether the first run did
19039 return files to be tested.
19040 (tramp-advice-make-auto-save-file-name): Do not call directly
19041 `tramp-handle-make-auto-save-file-name', because this would bypass
19042 the locking mechanism.
19044 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19045 (file-remote-p, process-file, start-file-process, set-file-times)
19046 (tramp-compat-file-attributes): Compatibility functions shall not
19047 call directly `tramp-handle-*', because this would bypass the
19049 (tramp-compat-number-sequence): New defun.
19051 2009-09-02 Glenn Morris <rgm@gnu.org>
19053 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19054 alias for float-time.
19055 (time-to-number-of-days): In Emacs, use float-time.
19056 * net/newst-backend.el (time-add): Suppress warnings from compat
19058 * time.el (emacs-uptime, emacs-init-time):
19059 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19060 Use float-time rather than time-to-seconds.
19062 * minibuffer.el (completion-initials-expand): Fix typo.
19064 * faces.el (modeline, modeline-inactive, modeline-highlight)
19065 (modeline-buffer-id):
19066 * info.el (info-menu-5): Mark these face aliases as obsolete.
19068 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19070 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19072 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19073 no "--thread" option.
19074 (gdb-stopped): Don't print "Switched to thread" message when it is
19077 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19079 * minibuffer.el (completion-try-completion)
19080 (completion-all-completions): Remove ill-defined (and
19081 mistakenly installed and luckily never used nor documented)
19082 `completion-styles' property.
19083 (completion-initials-expand, completion-initials-all-completions)
19084 (completion-initials-try-completion): New functions.
19085 (completion-styles-alist): Add doc to each entry.
19086 Add new `initials' entry.
19088 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19090 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19091 MI command -var-evaluate-expression.
19092 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19093 and tweak for case of string child.
19094 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19096 2009-09-01 Glenn Morris <rgm@gnu.org>
19098 * add-log.el (change-log-date-face, change-log-name-face)
19099 (change-log-email-face, change-log-file-face, change-log-list-face)
19100 (change-log-conditionals-face, change-log-function-face)
19101 (change-log-acknowledgement-face):
19102 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19103 (custom-modified-face, custom-set-face, custom-changed-face)
19104 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19105 (custom-documentation-face, custom-state-face, custom-comment-face)
19106 (custom-comment-tag-face, custom-variable-tag-face)
19107 (custom-variable-button-face, custom-face-tag-face)
19108 (custom-group-tag-face-1, custom-group-tag-face):
19109 * diff-mode.el (diff-header-face, diff-file-header-face)
19110 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19111 (diff-added-face, diff-changed-face, diff-function-face)
19112 (diff-context-face, diff-nonexistent-face):
19113 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19114 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19115 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19116 (Info-title-4-face):
19117 * isearch.el (isearch-lazy-highlight-face):
19118 * log-view.el (log-view-file-face, log-view-message-face):
19119 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19120 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19121 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19123 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19124 (smerge-base-face, smerge-markers-face):
19125 * wid-edit.el (widget-documentation-face, widget-button-face)
19126 (widget-field-face, widget-single-line-field-face)
19127 (widget-inactive-face, widget-button-pressed-face):
19128 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19129 (woman-addition-face):
19130 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19131 (eshell-ls-executable-face, eshell-ls-readonly-face)
19132 (eshell-ls-unreadable-face, eshell-ls-special-face)
19133 (eshell-ls-missing-face, eshell-ls-archive-face)
19134 (eshell-ls-backup-face, eshell-ls-product-face)
19135 (eshell-ls-clutter-face):
19136 * eshell/em-prompt.el (eshell-prompt-face):
19137 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19138 * obsolete/old-whitespace.el (whitespace-highlight-face):
19139 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19140 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19141 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19142 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19143 (antlr-font-lock-literal-face):
19144 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19145 (ebrowse-root-class-face, ebrowse-file-name-face)
19146 (ebrowse-default-face, ebrowse-member-attribute-face)
19147 (ebrowse-member-class-face, ebrowse-progress-face):
19148 * progmodes/make-mode.el (makefile-space-face):
19149 * progmodes/sh-script.el (sh-heredoc-face):
19150 * textmodes/flyspell.el (flyspell-incorrect-face)
19151 (flyspell-duplicate-face):
19152 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19153 * textmodes/texinfo.el (texinfo-heading-face):
19154 Mark face aliases with "-face" suffix as obsolete.
19156 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19159 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19160 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19161 easy-menu-define wants to modify these.
19163 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19165 * net/browse-url.el (browse-url-file-url):
19166 * term/internal.el (dos-codepage-setup):
19167 Use default-value rather than default-enable-multibyte-characters.
19169 * progmodes/etags.el (etags-goto-tag-location):
19170 * progmodes/flymake.el (flymake-highlight-line)
19171 (flymake-goto-file-and-line, flymake-goto-line):
19172 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19173 (gdb-goto-breakpoint):
19174 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19175 * progmodes/python.el (python-find-function)
19176 (python-pdbtrack-track-stack-file):
19177 * progmodes/verilog-mode.el (verilog-surelint-off):
19178 * term/ns-win.el (ns-open-file-select-line):
19179 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19180 Use forward-line rather than goto-line.
19182 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19183 * textmodes/reftex-index.el (reftex-display-index):
19184 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19185 * textmodes/reftex-toc.el (reftex-toc):
19186 Remove unnecessary bindings of default-major-mode (all are followed by
19187 major-mode check and possible mode switch).
19189 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19191 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19192 Handle watchpoints (bug#4282).
19193 (def-gdb-thread-buffer-command): Enable thread to be selected by
19194 clicking without selecting threads buffer first.
19195 (gdb-current-context-command): Use selected frame so that "up",
19196 "down" etc work in the GUD buffer.
19197 (gdb-update): Find selected frame before rendering stack buffer.
19198 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19200 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19202 * progmodes/sym-comp.el (displayed-completions): Remove.
19203 (symbol-complete): Use minibuffer-complete.
19205 2009-08-31 Glenn Morris <rgm@gnu.org>
19207 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19209 * apropos.el (apropos-symbols-internal):
19210 Handle (obsolete) face aliases.
19212 * faces.el (describe-face): Adjust the output format to be more like
19213 describe-variable, and to mention (obsolete) face aliases.
19214 Adjust the whitespace so that help-setup-xref works.
19216 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19217 * calendar/diary-lib.el (diary-button-face):
19218 Mark these face aliases as obsolete.
19220 * calendar/calendar.el (calendar-today): Doc fix.
19222 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19224 * progmodes/gdb-mi.el (gdb-control-all-threads)
19225 (gdb-control-current-thread): Force tool bar update.
19226 (gdb-non-stop-handler): New function.
19227 (gdb-init-1): Use it to test if non-stop mode is supported.
19228 Remove unused gdbmi buffer type.
19230 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19232 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19233 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19235 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19237 * comint.el (comint-exec-1): Check command is non-null first.
19238 Part of gdb-mi.el change (2009-08-28).
19240 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19242 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19244 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19246 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19247 instead of `dolist' to avoid a recursive require when bootstrapping.
19249 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19251 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19253 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19255 * net/imap.el (imap-send-command): Simplify.
19256 (imap-wait-for-tag): point-max -> buffer-size.
19258 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19260 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19261 with constant argument.
19263 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19265 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19267 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19268 Change default, since most of our files don't have a history.
19269 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19272 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19275 * calc/calc.el: Improve commenting convention.
19276 (calc-digit-map, toplevel): Simplify.
19278 * comint.el (comint-insert-input): Be careful to only set point if we
19279 don't delegate to some other command.
19281 * proced.el (proced-signal-list): Make it an alist.
19282 (proced-grammar-alist): Capitalize names.
19283 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19284 Disable undo manually and make it read-only.
19285 Use completion-annotate-function.
19287 * minibuffer.el (minibuffer-message): If the current buffer is not
19288 a minibuffer, insert the message in the echo area rather than at the
19290 (completion-annotate-function): New variable.
19291 (minibuffer-completion-help): Use it.
19292 (completion--embedded-envvar-table): Environment vars are
19293 always case-sensitive.
19295 2009-08-30 Glenn Morris <rgm@gnu.org>
19297 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19298 from fortran-current-defun.
19299 (fortran-beginning-of-subprogram): Be more precise about finding the
19300 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19301 (fortran-end-of-subprogram): Simplify.
19302 (fortran-current-defun): Use fortran-start-prog-re.
19304 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19306 * subr.el (do-after-load-evaluation): Simplify.
19308 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19310 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19312 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19313 (vc-rcs-print-log): Use it.
19315 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19317 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19319 * paths.el (abbrev-file-name): Move to abbrev.el.
19320 * abbrev.el (abbrev-file-name): Move from paths.el.
19321 Obey user-emacs-directory.
19322 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19323 user-emacs-directory.
19324 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19325 abbrev-file-name and calc-settings-file any more.
19326 * startup.el (command-line): Recompute abbrev-file-name and
19327 abbreviated-home-dir.
19328 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19329 of the special code for when C-h bindings haven't been changed.
19330 (display-startup-echo-area-message): Use with-current-buffer.
19331 (command-line-1): Use a list of strings, rather than a list of lists
19332 of strings for longopts.
19334 * files.el (get-free-disk-space): Use / for default-directory.
19336 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19337 Use with-current-buffer.
19339 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19340 Recognize immutable variables like most-positive-fixnum.
19341 (byte-compile-setq-default): Check and warn if trying to assign
19342 to an immutable variable, or a non-variable.
19344 * progmodes/cc-vars.el (c-comment-continuation-stars):
19345 * progmodes/cc-engine.el (c-looking-at-bos):
19346 * progmodes/cc-cmds.el (c-toggle-auto-state)
19347 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19348 (c-comment-line-break-function): Add version of obsolescence.
19350 2009-08-28 Juri Linkov <juri@jurta.org>
19352 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19353 associated with `archive-mode'.
19355 * image.el (image-type-header-regexps): Use only JPEG magic number
19356 to determine JPEG images, and don't use `image-jpeg-p' because
19357 Emacs can display non-JFIF non-Exif JPEG images.
19359 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19361 * arc-mode.el (archive-mode):
19362 * emacs-lisp/re-builder.el (re-builder-unload-function):
19363 Protect against the default value of `major-mode' being nil.
19365 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19367 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19368 Fix typos in docstrings.
19370 * progmodes/js.el (js--macro-decl-re): Doc fix.
19371 (js--plain-method-re, js--split-name): Refloc docstring.
19372 (js--class-styles, js--make-merged-item, js--splice-into-items):
19373 Fix typos in docstrings; reflow docstrings.
19374 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19375 (js--variable-decl-matcher, js--inside-pitem-p)
19376 (js--parse-state-at-point, js--get-all-known-symbols)
19377 (js--symbol-history, js-find-symbol, js--js-references)
19378 (js--moz-interactor, js--js-encode-value, js--read-tab):
19379 Fix typos in docstrings.
19381 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19383 * textmodes/reftex.el (reftex-get-file-buffer-force):
19384 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19385 * emulation/viper.el (viper-go-away, viper-set-hooks):
19386 * emacs-lisp/re-builder.el (re-builder-unload-function):
19387 * emacs-lisp/bytecomp.el (byte-compile-file):
19388 * ses.el (ses-unload-function):
19389 * hexl.el (hexl-find-file):
19390 * files.el (normal-mode):
19391 * ehelp.el (with-electric-help):
19392 * autoinsert.el (auto-insert-alist):
19393 * arc-mode.el (archive-mode):
19394 Use (default-value 'major-mode) instead of default-major-mode.
19396 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19397 * international/mule.el (load-with-code-conversion):
19398 * emacs-lisp/debug.el (debug):
19399 * ediff-vers.el (ediff-rcs-get-output-buffer):
19400 * dired.el (dired-internal-noselect): Don't let-bind
19401 default-major-mode around code that doesn't use it.
19402 E.g. buffer creation via get-buffer-create doesn't use it.
19404 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19406 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19407 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19408 when writing the temp file. Otherwise, epa-file gets confused.
19409 (tramp-register-file-name-handlers): Make it a defun. Move also
19410 `epa-file-handler' to the front of `file-name-handler-alist'.
19412 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19414 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19415 start right after a ^M.
19416 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19417 (tramp-completion-file-name-regexp-separate)
19418 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19419 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19420 Don't modify last-coding-system-used by accident.
19421 (tramp-completion-file-name-handler): Apply the checks here,
19422 instead during registration.
19423 (tramp-register-file-name-handlers): Rename from
19424 `tramp-register-file-name-handler'. Register both
19425 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19426 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19428 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19430 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19431 Remove variable ...
19432 (gdb-init-1, gdb-display-separate-io-buffer)
19433 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19435 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19436 (gdb-inferior-filter): Use comint-output-filter to stop
19437 echoing and remove ^M characters.
19439 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19441 * emulation/viper-init.el (viper-restore-cursor-type):
19442 * emulation/cua-base.el (cua--update-indications):
19443 Replace default-cursor-type with (default-value 'cursor-type).
19445 * mail/sendmail.el (mail-recover-1):
19446 * international/mule-diag.el (describe-current-coding-system-briefly)
19447 (describe-current-coding-system):
19448 * international/mule-cmds.el (select-safe-coding-system)
19449 (select-message-coding-system)
19450 (set-language-environment-coding-systems, set-locale-environment):
19451 * hexl.el (hexl-insert-multibyte-char):
19452 * dos-w32.el (find-buffer-file-type-coding-system):
19453 * simple.el (what-cursor-position):
19454 Replace uses of default-buffer-file-coding-system
19455 with (default-value 'buffer-file-coding-system).
19457 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19458 Replace uses of default-cursor-in-non-selected-windows
19459 with (default-value 'cursor-in-non-selected-windows).
19460 Use with-current-buffer.
19462 * mail/feedmail.el: Use CL macros.
19463 (feedmail-run-the-queue, feedmail-send-it-immediately):
19464 * dos-w32.el (find-buffer-file-type): Replace uses of
19465 default-buffer-file-type with (default-value 'buffer-file-type).
19467 2009-08-28 Glenn Morris <rgm@gnu.org>
19469 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19470 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19471 Use default-value of major-mode rather than default-major-mode.
19473 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19475 * Makefile.in (update-elcfiles): Report left over elc files.
19477 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19478 expand-file-name and with-current-buffer.
19479 (mail-get-names, mail-directory): Use with-current-buffer.
19481 * vc.el (vc-read-revision): New function.
19482 (vc-version-diff, vc-merge): Use it.
19484 2009-08-27 Sam Steingold <sds@gnu.org>
19486 * simple.el (kill-do-not-save-duplicates): New user option.
19487 (kill-new): When it is non-nil, and the new string is the same as
19488 the latest kill, set replace to t to avoid duplicates in kill-ring.
19490 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19492 * net/tramp.el (tramp-handle-process-file): Do not flush all
19493 caches when `process-file-side-effects' is set.
19494 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19495 instead of `tramp-find-file-exists-command'.
19496 Unset `process-file-side-effects'.
19498 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19500 * net/tramp.el (tramp-methods): New method "rsyncc".
19501 (top): Add completion function for "rsyncc".
19502 (tramp-message-show-message): New defvar.
19503 (tramp-message, tramp-error): Use it.
19504 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19506 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19507 `tramp-methods' entry `copy-env' of "rsyncc".
19508 (tramp-vc-registered-read-file-names): New defconst.
19509 (tramp-vc-registered-file-names): New defvar.
19510 (tramp-handle-vc-registered): Implement optimization strategy.
19511 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19512 (tramp-vc-file-name-handler): New defun.
19513 (tramp-get-ls-command, tramp-get-test-command)
19514 (tramp-get-file-exists-command, tramp-get-remote-ln)
19515 (tramp-get-remote-perl, tramp-get-remote-stat)
19516 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19518 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19519 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19521 (tramp-get-file-property): Check for timestamps in
19522 `tramp-cache-inhibit-cache'.
19523 (tramp-set-file-property): Write timestamp.
19525 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19527 * language/japan-util.el (japanese-symbol-table): Add entries for
19530 * international/characters.el: Add category `j' to cp932-2-byte.
19532 2009-08-27 Kenichi Handa <handa@m17n.org>
19534 * international/fontset.el (build-default-fontset-data): New macro.
19535 (setup-default-fontset): Use build-default-fontset-data for CJK,
19536 tibetan, ethiopic, and ipa.
19538 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19540 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19541 (enable-multibyte-characters): Not customizable any more.
19543 * subr.el (default-mode-line-format, default-header-line-format)
19544 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19545 (default-direction-reversed, default-truncate-lines)
19546 (default-left-margin, default-tab-width, default-case-fold-search)
19547 (default-left-margin-width, default-right-margin-width)
19548 (default-left-fringe-width, default-right-fringe-width)
19549 (default-fringes-outside-margins, default-scroll-bar-width)
19550 (default-vertical-scroll-bar, default-indicate-empty-lines)
19551 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19552 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19553 (default-scroll-down-aggressively, default-fill-column)
19554 (default-cursor-type, default-buffer-file-type)
19555 (default-cursor-in-non-selected-windows)
19556 (default-buffer-file-coding-system, default-major-mode)
19557 (default-enable-multibyte-characters): Mark as obsolete.
19559 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19561 * vc-dir.el (vc-dir-update): Remove debug helper.
19563 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19565 2009-08-26 Sam Steingold <sds@gnu.org>
19567 * simple.el (save-interprogram-paste-before-kill): New user option.
19568 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19569 save the interprogram-paste into kill-ring before overriding it
19570 with the Emacs kill.
19572 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19574 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19575 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19576 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19577 and move to vc-rcs.el.
19578 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19580 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19581 (vc-rcs-update-changelog): Remove.
19582 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19583 and move to vc-rcs.el.
19585 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19586 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19588 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19589 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19590 vc.el, renamed to be RCS specific.
19592 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19594 (vc-cvs-update-changelog): Move here from vc.el.
19596 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19599 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19601 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19603 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19605 * vc-git.el (vc-git-register): Use "git add" for directories.
19606 (vc-git-stash, vc-git-stash-show): New functions.
19607 (vc-git-extra-menu-map): Bind them.
19609 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19610 directory correctly in case the item is a directory itself.
19612 * vc.el: Document the desired behavior for reverted files in the
19614 (vc-default-prettify-state-info): Remove function, unused.
19616 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19618 2009-08-26 Glenn Morris <rgm@gnu.org>
19620 * bindings.el (standard-mode-line-format): Reposition dashes in
19621 which-func entry. (Bug#4217)
19623 * files.el (enable-local-variables, enable-local-eval)
19624 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19626 (auto-mode-alist, ignored-local-variables)
19627 (save-some-buffers-action-alist): Move risky declarations to the
19629 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19630 (font-lock-defaults, format-alist, imenu--index-alist)
19631 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19632 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19633 (mode-line-modified, mode-line-mule-info, mode-line-position)
19634 (mode-line-process, mode-line-remote, outline-level)
19635 (parse-time-rules, rmail-output-file-alist)
19636 (special-display-buffer-names, vc-mode):
19637 Move risky declarations to the relevant files.
19638 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19639 (mode-line-modified, mode-line-process, mode-line-position)
19640 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19641 * font-core.el (font-lock-defaults):
19642 * format.el (format-alist):
19643 * vc-hooks.el (vc-mode):
19644 * window.el (special-display-buffer-names):
19645 * international/mule-cmds.el (input-method-alist):
19646 Define riskiness here (dumped file) rather than in files.el.
19647 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19648 * imenu.el (imenu-generic-expression, imenu--index-alist):
19649 * outline.el (outline-level):
19650 * time.el (display-time-string):
19651 * calendar/parse-time.el (parse-time-rules):
19652 * mail/rmailout.el (rmail-output-file-alist):
19653 Autoload riskiness here, rather than placing in files.el.
19655 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19657 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19659 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19661 * simple.el (process-file-side-effects): New defvar.
19663 * dired-aux.el (dired-show-file-type):
19664 * vc.el (vc-diff-internal):
19665 * vc-arch.el (vc-arch-diff):
19666 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19667 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19668 * vc-git.el (vc-git-registered, vc-git-working-revision)
19669 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19670 (vc-git--empty-db-p):
19671 * vc-hooks.el (vc-user-login-name):
19672 * vc-svn.el (vc-svn-registered, vc-svn-state)
19673 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19674 * progmodes/grep.el (grep-probe): Let-bind
19675 `process-file-side-effects' with nil.
19677 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19679 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19680 daemon. Replace ping by checking for running service for bluez
19681 and zeroconf. (Bug#4239)
19683 2009-08-25 Kevin Ryde <user42@zip.com.au>
19685 * net/dig.el (dig): Add autoload cookie.
19687 2009-08-25 Glenn Morris <rgm@gnu.org>
19689 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19690 load-history for absolute file-names.
19691 (byte-compile-file-form-require): Warn about use of the cl package.
19693 * format.el (format-alist): Doc fix.
19695 * play/bubbles.el (top-level): Don't require cl at run-time.
19697 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19700 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19702 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19704 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19706 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19708 * calc/calc-alg.el (math-trig-rewrite)
19709 (math-hyperbolic-trig-rewrite): New functions.
19710 (calc-simplify): Simplify trig functions when asked.
19712 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19714 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19716 2009-08-24 Kenichi Handa <handa@m17n.org>
19718 * language/ind-util.el (mapthread): Delete it.
19719 (combinatorial): New function.
19720 (indian--puthash-cv): Use combinatorial instead of mapthread.
19722 2009-08-22 Kevin Ryde <user42@zip.com.au>
19724 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19725 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19726 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19727 Clarify docstring that the value is strings not symbols.
19728 (checkdoc-list-of-strings-p): New function.
19730 2009-08-22 Glenn Morris <rgm@gnu.org>
19732 * files.el (auto-mode-alist):
19733 * hippie-exp.el (he-concat-directory-file-name):
19734 * lpr.el (lpr-windows-system, printer-name):
19735 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19736 * ps-print.el (ps-windows-system):
19737 * startup.el (command-line):
19738 * emulation/viper-ex.el (viper-glob-function):
19739 * international/mule-cmds.el (set-language-environment-coding-systems):
19740 * net/ange-ftp.el (ange-ftp-write-region):
19741 * obsolete/fast-lock.el (fast-lock-cache-name):
19742 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19743 unisoft-unix, vax-vms, win32, w32.
19745 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19746 given name if the pattern is not more specific.
19748 * calendar/lunar.el (lunar-phase-names): New option.
19749 (lunar-phase): Doc fix.
19750 (lunar-cycles-per-year): New constant.
19751 (lunar-index): New function.
19752 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19753 (lunar-phase-name): Use lunar-phase-names.
19754 (calendar-lunar-phases): Use format.
19755 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19757 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19758 Copy imenu-example--name-and-position function here for own use.
19759 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19761 * bs.el (bs--redisplay):
19762 * cus-edit.el (custom-redraw):
19763 * ibuffer.el (ibuffer-bury-buffer):
19764 * server.el (server-goto-line-column):
19765 * startup.el (command-line-1):
19766 * strokes.el (strokes-xpm-for-stroke):
19767 * term.el (term-display-buffer-line):
19768 * view.el (View-goto-line):
19769 * calc/calc.el (calc-do, calc-trail-buffer):
19770 * play/gamegrid.el (gamegrid-add-score-insecure):
19771 * progmodes/ada-mode.el (ada-compile-goto-error):
19772 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19773 (ebrowse-select-1st-to-9nth):
19774 * progmodes/cperl-mode.el (cperl-time-fontification):
19775 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19776 * progmodes/gud.el (gud-display-line):
19777 (idlwave-shell-display-line):
19778 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19779 * progmodes/make-mode.el (makefile-browser-toggle):
19780 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19781 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19782 * textmodes/picture.el (picture-draw-rectangle):
19783 * textmodes/reftex-index.el (reftex-index-goto-letter):
19784 (reftex-select-jump-to-previous):
19785 * textmodes/reftex-sel.el (reftex-find-start-point)
19786 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19787 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19788 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19789 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19790 * textmodes/two-column.el (2C-associated-buffer):
19791 Use forward-line rather than goto-line.
19793 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19796 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19797 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19798 (quick-check-list-to-regexp): Declare.
19800 * progmodes/make-mode.el (makefile-browser-insert-selection):
19801 Use goto-char rather than goto-line.
19803 * progmodes/prolog.el (compilation-error-regexp-alist)
19804 (compilation-forget-errors): Declare.
19806 2009-08-22 Juri Linkov <juri@jurta.org>
19808 * progmodes/grep.el (lgrep, rgrep): At the beginning
19809 set `dir' to `default-directory' unless `dir' is a non-nil
19810 readable directory. (Bug#4052)
19811 (lgrep, rgrep): Change a weird way to report an error
19812 from using `read-string' to using `error'.
19813 Instead of using interactive arguments in the function body,
19814 add new argument `confirm'.
19816 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19818 * textmodes/remember.el (remember-buffer):
19819 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19820 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19821 (icalendar-extract-ical-from-buffer):
19822 * net/newst-treeview.el (newsticker-groups-filename):
19823 * net/newst-backend.el (newsticker-cache-filename):
19824 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19825 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19826 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19827 (speedbar-buffers-line-path, speedbar-path-line)
19828 (speedbar-buffers-line-path):
19829 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19831 * epa.el (epa-display-verify-result):
19832 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19834 2009-08-21 Glenn Morris <rgm@gnu.org>
19836 * progmodes/js.el (inferior-moz-process): Fix declaration.
19838 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19840 * obsolete/rnewspost.el (news-mail-reply):
19841 Use goto-char rather than goto-line.
19843 * term/ns-win.el (ns-open-file-select-line):
19844 Use line-beginning-position rather than goto-line.
19846 * apropos.el (apropos-command):
19847 * ehelp.el (electric-helpify):
19848 * printing.el (pr-show-setup):
19849 * strokes.el (strokes-help):
19850 * tutorial.el (tutorial--describe-nonstandard-key)
19851 (tutorial--detailed-help):
19852 * woman.el (woman-mini-help, woman-display-extended-fonts):
19853 * calc/calc-help.el (calc-describe-key):
19854 * emulation/edt.el (edt-electric-helpify):
19855 * international/mule-diag.el (mule-diag):
19856 * play/yow.el (apropos-zippy):
19857 * progmodes/python.el (python-describe-symbol):
19858 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19859 * textmodes/table.el (*table--cell-describe-mode)
19860 (*table--cell-describe-bindings):
19861 Use help-print-return-message rather than the now obsolete alias.
19863 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19864 (calendar-cursor-to-visible-date):
19865 * play/5x5.el (5x5-position-cursor):
19866 * play/decipher.el (decipher):
19867 * play/gomoku.el (gomoku-goto-xy):
19868 * play/landmark.el (lm-goto-xy):
19869 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19870 (mpuz-paint-digit):
19871 Use forward-line, not goto-line.
19873 * mail/rmail.el (rmail-obsolete): Delete custom group.
19874 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19875 (rmail-remote-password, rmail-remote-password-required):
19876 Remove unneeded :set-after and :set properties.
19878 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19880 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19882 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19884 * loadup.el: Remove leftover macos code.
19886 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19887 Explicitly pass the date format to git blame so that user local
19888 so that the output format can be parsed.
19890 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19892 * net/dbus.el (top): Don't check for (getenv
19893 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19895 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19897 * log-edit.el (log-edit-strip-single-file-name): New var.
19898 (log-edit-insert-changelog): Use it. Bug#3571
19900 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19902 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19905 * help.el (help-print-return-message): Rename from
19906 print-help-return-message.
19908 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19909 cvs-mode-map parent hack.
19910 (log-view-mode): Derive from special-mode.
19912 * linum.el (linum-mode): window-size-change-functions is redundant.
19913 Adapt to new window-configuration-change-hook behavior.
19914 (linum-after-size, linum-after-config): Remove.
19916 * imenu.el (imenu-example--name-and-position)
19917 (imenu-example--lisp-extract-index-name)
19918 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19921 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19922 (inferior-prolog-mode): Use it.
19923 (inferior-prolog-load-file): Reset list of errors.
19925 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19927 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19929 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19931 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19933 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19934 is running already.
19936 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19938 * subr.el (listify-key-sequence-1): Use normal syntax since those
19939 integers are nowadays always represented by the same (positive) number
19941 (read-key-empty-map): New const.
19942 (read-key-delay): New var.
19943 (read-key): New function.
19944 (force-mode-line-update): Use with-current-buffer.
19945 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19946 (start-process-shell-command, start-file-process-shell-command):
19947 Discourage the use of command-args.
19949 2009-08-19 Glenn Morris <rgm@gnu.org>
19951 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19953 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19955 * simple.el (choose-completion-string): Don't rely on
19956 minibuffer-completing-file-name and ad-hoc checks to decide whether
19957 to continue completion or not.
19959 * minibuffer.el (minibuffer-hide-completions): New function.
19960 (completion--do-completion): Use it.
19961 (completions-annotations): New face.
19962 (completion--insert-strings): Use it.
19963 (completion-pcm--delim-wild-regex): Add docstring.
19964 (completion-pcm--string->pattern): Add support for 0-width delimiters
19965 in completion-pcm--delim-wild-regex.
19967 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19969 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19970 Remove unused var `buffer-modified-p'.
19972 * minibuffer.el (completion--do-completion): Move point for the #b001
19973 case as well (bug#4176).
19974 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19976 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19978 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19979 and :session buses.
19981 2009-08-18 Kenichi Handa <handa@m17n.org>
19983 * international/ucs-normalize.el (ucs-normalize-version):
19985 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19986 (utf-8-hfs): Make it perform normalization on encoding too.
19988 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19989 (sentence-end-without-space): Delete duplicated chars.
19990 (sentence-end-base): Likewise.
19992 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19993 (html-mode): Delete duplicated chars from sentence-end-base.
19995 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19996 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19998 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20000 * files.el (hack-one-local-variable): If the mode function is for
20001 a minor mode, pass it an argument (Bug#4148).
20003 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20005 * net/tramp.el (tramp-register-completion-file-name-handler):
20006 Check also for (member 'partial-completion completion-styles).
20008 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20010 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20013 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20015 * progmodes/cperl-mode.el: Merge upstream 6.2.
20016 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20017 (cperl-forward-re): Check cperl-brace-recursing.
20018 (cperl-highlight-charclass): New function.
20019 (cperl-find-pods-heres): Use it.
20020 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20021 (cperl-beautify-regexp-piece): Fix column calculation.
20022 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20023 (cperl-beautify-level): Don't process entire regexp.
20024 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20026 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20027 (cperl-init-faces): Build a list in the normal way.
20029 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20031 * calendar/parse-time.el (parse-time-string-chars): Save match
20034 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20036 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20037 (sql-product): Use it.
20038 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20039 (sql-set-product): Add completion.
20040 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20041 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20042 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20043 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20044 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20045 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20046 (sql-highlight-db2-keywords): Remove.
20047 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20048 (sql-highlight-product): Use derived-mode-p.
20049 (sql-set-sqli-buffer): Use with-current-buffer.
20050 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20053 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20055 * term.el: Fix commenting convention, turn comments into docstrings.
20057 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20059 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20061 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20063 * calendar/parse-time.el (parse-time-string-chars): Compute using
20064 character classes, to handle non-ascii characters (Bug#3190).
20066 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20068 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20069 another heredoc if the user adds another < (Bug#3226).
20071 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20072 Don't initialize based on window-system (Bug#4124).
20074 * facemenu.el (facemenu-read-color): Use a completion function
20075 that accepts any defined color, such as RGB triplets (Bug#3677).
20077 * files.el (get-free-disk-space): Change fallback default
20078 directory to /. Expand DIR argument before switching to fallback.
20079 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20081 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20083 * files.el (load-library): Doc fix.
20085 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20087 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20088 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20089 incremental search string.
20091 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20094 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20095 (ediff-merge-region-is-non-clash)
20096 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20097 Also check if the job is really a merge job.
20099 * ediff.el (ediff-current-file): New function.
20101 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20103 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20105 (js-insert-and-indent): Delete function.
20106 (js-mode-map): Don't bind keys to js-insert-and-indent.
20107 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20108 (js-end-of-defun): Rename from js--end-of-defun.
20109 (js-auto-indent-flag): Delete variable.
20111 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20113 * progmodes/js.el: Remove proclaim statement.
20114 Defvar which-func-imenu-joiner-function to silence compiler.
20116 * files.el (auto-mode-alist): Use js-mode for .js files.
20118 * progmodes/js2-mode.el: Remove file.
20120 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20122 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20124 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20126 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20127 Karl Landstrom <karl.landstrom@brgeight.se>
20129 * progmodes/js.el: New file.
20131 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20133 * timezone.el (timezone-parse-date): Add ability to understand ISO
20134 basic format (minimal separators) dates in addition to the
20135 already-supported extended format dates.
20137 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20139 * international/ucs-normalize.el: Add a `coding' file variable.
20141 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20143 2009-08-14 Sam Steingold <sds@gnu.org>
20145 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20147 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20149 * faces.el (help-argument-name): Define it here instead of
20150 help-fns.el, because in daemon mode help-fns.el may be loaded when
20151 faces are still uninitialized (Bug#1078).
20153 * help-fns.el (help-argument-name): Move defface to faces.el.
20155 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20157 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20158 create buffer with a pty but no process so that GDB can make the
20159 inferior the controlling process.
20161 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20163 * international/ucs-normalize.el: New file.
20165 2009-08-13 Richard Stallman <rms@gnu.org>
20167 * mail/rmail.el (rmail-get-attr-names):
20168 Accept an attribute header that is too short.
20170 * mail/rmail.el (rmail-forget-messages):
20171 Ignore nil elt in rmail-message-vector. Use dotimes.
20173 * progmodes/compile.el (compilation-goto-locus):
20174 Use next-error-move-function.
20176 * simple.el (next-error-move-function): New variable.
20178 2009-08-12 Juri Linkov <juri@jurta.org>
20180 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20181 always non-nil. (Bug#4052)
20183 * replace.el (read-regexp): Return empty string when
20184 `default-value' is nil.
20185 (keep-lines-read-args): Don't use empty string as the
20186 default value for `read-regexp'. (Bug#2495)
20188 2009-08-12 Juri Linkov <juri@jurta.org>
20190 * international/mule-cmds.el (ucs-insert): Change arguments
20191 from `arg' to `character', `count', `inherit' to be the same
20192 as in `insert-char'. Doc fix. (Bug#4039)
20194 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20196 2009-08-12 Juri Linkov <juri@jurta.org>
20198 * files-x.el: New file.
20200 * files.el: Move code that deals with adding/deleting
20201 file/directory-local variables to files-x.el.
20203 * Makefile.in (ELCFILES): Add files-x.elc.
20205 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20207 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20208 to use `goto-line'.
20209 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20211 (gdb-invalidate-disassembly): Do not refresh upon receiving
20212 'update signal. Instead, update all disassembly buffers only after
20214 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20215 (gdb-starting): Move -data-list-register-names...
20216 (gdb-stopped): ...here so it's sent when first thread stops.
20217 (gdb-registers-handler-custom): Do nothing if register names are
20220 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20221 from `gdb-mi.el' to avoid extra tangling.
20223 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20224 change which breaks `gud-def' definitions used in `gdb'.
20225 (gdb-update-gud-running): No extra fuss for updating frame number.
20227 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20229 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20230 (describe-language-environment-map, setup-language-environment-map)
20231 (set-coding-system-map): Move initialization into declaration.
20232 (set-language-info-alist): Last arg to define-key-after can be skipped.
20234 * international/quail.el (quail-completion-1): Simplify.
20235 (quail-define-rules): Use slightly more compact code.
20236 (quail-insert-decode-map): Propertize keys, compact columns.
20238 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20241 2009-08-10 Miles Bader <miles@gnu.org>
20243 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20244 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20245 (js2-instance-member, js2-private-member, js2-private-function-call)
20246 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20247 (js2-magic-paren, js2-external-variable):
20248 Remove "-face" suffix from face names.
20249 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20250 (js2-highlight-undeclared-vars, js2-peek-token)
20251 (js2-parse-function-params, js2-mode-show-errors)
20252 (js2-mode-show-warnings, js2-make-magic-delimiter)
20253 (js2-mode-highlight-magic-parens): Update to use new face names.
20255 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20257 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20258 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20260 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20262 * subr.el: Provide hashtable-print-readable.
20264 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20265 hs-c-like-adjust-block-beginning.
20266 (hs-hide-block-at-point): Stop hiding at the beginning of
20267 hs-block-end-regexp (Bug#700).
20269 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20271 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20273 (gdb-registers-handler-custom): Do not fail when register names
20276 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20278 * progmodes/gdb-mi.el (gdb-control-all-threads)
20279 (gdb-control-current-thread): Interactive setters for
20280 `gdb-gud-control-all-threads' to use in menu.
20281 (gdb-show-run-p): Show «Go» when process is not active.
20282 (gud-tool-bar-map): Add non-stop/A,T indicator.
20283 Uses gud/thread.xpm and gud/all.xpm.
20285 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20287 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20288 (nslookup-font-lock-keywords): Make it a variable.
20289 (net-utils-mode): New mode for viewing diagnostic network output.
20290 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20291 (net-utils-run-simple): New function.
20292 (ifconfig, iwconfig, netstat, arp, route): Use it.
20294 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20296 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20297 (gdb-memory-set-address, def-gdb-set-positive-number)
20298 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20299 after changing settings.
20300 (gdb-invalidate-disassembly): Update when first shown.
20301 (gdb-edit-locals-value): Fixed.
20302 (gdb-registers-handler-custom): Print registers in right order and
20303 allow changing register values (only for current thread yet).
20304 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20305 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20306 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20307 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20308 Thread info in mode name.
20309 (gdb-registers-mode-map): TAB to switch to locals.
20311 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20313 * mail/rmail.el (rmail-add-mbox-headers)
20314 (rmail-set-message-counters-counter): Search for
20315 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20317 2009-08-08 Glenn Morris <rgm@gnu.org>
20319 * Makefile.in (ELCFILES): Update.
20321 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20323 * mail/sendmail.el (mail-yank-original):
20324 Set buffer-file-coding-system from the one used by the message whose
20327 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20328 to "windows" when "pgnuplot" is used.
20329 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20330 Don't call accept-process-output if "pgnuplot" is used.
20331 (calc-graph-init): Don't send -display and -geometry to
20332 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20333 running "pgnuplot -V" with shell-command-to-string.
20335 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20338 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20340 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20343 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20345 * vc-dispatcher.el (vc-resynch-window): Update comment.
20347 * term.el (term-handle-ansi-escape): Add comments with the
20348 terminfo capabilities implemented.
20350 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20352 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20353 (gdb-var-create-handler): Rewritten using JSON parser.
20354 (gdb-propertize-header): Move earlier.
20355 (gdb-set-header): Remove to avoid duplication.
20356 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20357 Refresh disassembly buffers only after threads list have been
20359 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20362 2009-08-04 Juri Linkov <juri@jurta.org>
20364 * files.el: Commands to add/delete file/directory-local variables.
20365 (read-file-local-variable, read-file-local-variable-value)
20366 (read-file-local-variable-mode, modify-file-local-variable)
20367 (modify-file-local-variable-prop-line)
20368 (modify-dir-local-variable): New functions.
20369 (add-file-local-variable, delete-file-local-variable)
20370 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20371 (add-dir-local-variable, delete-dir-local-variable)
20372 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20373 (copy-dir-locals-to-file-locals-prop-line): New commands.
20375 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20377 * abbrev.el (insert-abbrev-table-description): Prettify output.
20378 Suggested by Karl Chen.
20380 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20382 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20383 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20384 (gdb-overlay-arrow-position, gdb-thread-position)
20385 (gdb-disassembly-position): Declare variables.
20386 (gdb-wait-for-pending): Function now.
20387 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20388 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20389 compilation goes smoothly.
20390 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20391 (gdb-non-stop-setting): New customization setting which replaces
20392 `gdb-non-stop' so changing it doesn't break active GDB session.
20393 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20394 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20395 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20396 (gdb-show-threads-by-default): New customization options.
20397 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20399 (gdb-get-buffer-create): Send buffers update signal when they are
20401 (gdb-invalidate-locals, gdb-invalidate-registers)
20402 (gdb-invalidate-breakpoints)
20403 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20404 (gdb-invalidate-memory): Accept update signal.
20405 (gdb-current-context-command): Use --frame option.
20406 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20407 Implement `gdb-frame-number' selection logic.
20408 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20409 whether to show GUD toolbar buttons.
20410 (gdb-thread-exited): Unselect current thread when it exits.
20411 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20412 (gdb-mark-line): Routine which sets overlay arrow or inverses
20413 video on fringeless displays.
20414 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20415 to build aligned columns of data in GDB buffers and set text
20416 properties line-by-line.
20417 (gdb-invalidate-breakpoints)
20418 (gdb-breakpoints-list-handler-custom)
20419 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20420 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20421 (gdb-registers-handler-custom): Align data columns.
20422 (gdb-locals-handler-custom): Now prints data like in variable
20424 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20425 Remove confusing buttons.
20426 (gdb-invalidate-threads): Append --frame.
20427 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20428 between breakpoints/threads buffers.
20429 (gdb-set-window-buffer): Now can ignore dedicated windows.
20430 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20431 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20432 (def-gdb-thread-buffer-gud-command): Replaces
20433 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20434 for fine thread control.
20435 (gdb-preempt-existing-or-display-buffer): New function used to
20436 display bound buffers without breaking window layout.
20437 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20438 (gdb-select-frame): New version of `gdb-frames-select' which now
20439 sets `gdb-frame-number' so commands may use --frame option instead
20440 of inner debugger state.
20441 (gdb-frame-handler): Do not set `gdb-frame-number'.
20442 (gdb-threads-mode-map): Select threads with mouse.
20444 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20445 avoid compilation warning.
20446 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20449 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20450 Argument `key' renamed to `buffer-type'.
20451 (gdb-current-context-buffer-name): Do not add thread info to
20452 buffer name when no thread is selected.
20453 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20454 command (bug 3794).
20455 (gdb-thread-selected): Handle `=thread-selected' notification.
20456 (gdb-wait-for-pending): New macro to deal with congestion problems.
20457 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20459 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20460 This fixes problem similar to one described in bug 3947.
20461 (gud-menu-map): More menu items.
20462 (gdb-init-1): Reset `gdb-thread-number' to nil.
20464 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20467 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20468 (gdb-current-context-command): Do not append --thread if
20469 `gdb-thread-number' is nil.
20470 (gdb-running-threads-count, gdb-stopped-threads-count):
20472 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20473 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20474 New customization options.
20475 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20477 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20478 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20479 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20480 set `gdb-thread-number' and update `gud-running' properly.
20481 (gdb-running): Update threads list when new threads appear.
20482 (gdb-stopped): Support non-stop operation and new thread switching
20484 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20485 (gdb-json-partial-output): New set of JSON routines.
20486 (def-gdb-auto-update-trigger): New `signal-list' optional
20488 (gdb-thread-list-handler-custom): Update `gud-running',
20489 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20490 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20491 (gdb-continue-thread, gdb-step-thread): New commands for fine
20492 thread execution control.
20493 (gud-menu-map): New menu items to switch non-stop options.
20494 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20495 (gdb-send): Mimic RET properly (bug 3794).
20497 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20498 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20500 (def-gdb-auto-update-handler): New nopreserve optional argument.
20501 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20503 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20504 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20505 (gdb-parent-mode): New mode to derive other GDB modes from.
20506 (gdb-display-disassembly-for-thread)
20507 (gdb-frame-disassembly-for-thread): New commands for threads
20510 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20511 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20512 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20513 (gdb-update): We now store all GDB buffers in a list so that they
20514 can be updated by traversing a list instead of calling invalidate
20515 triggers explicitly.
20516 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20517 pair for GDB buffer.
20518 (gdb-stack-buffer-name): Add thread information.
20519 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20520 handle pending triggers.
20521 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20522 (def-gdb-thread-buffer-simple-command)
20523 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20524 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20525 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20526 New commands which show buffers bound to thread.
20527 (gdb-stack-list-locals-regexp): Remove unused regexp.
20529 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20530 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20531 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20532 to (gud-comint-buffer) in *-buffer-name functions
20533 because (gdb-get-target-string) already does that.
20534 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20535 (gdb-changed-registers-handler): Rewritten without regexps.
20537 * progmodes/gdb-mi.el: Basic thread selection support.
20538 (gdb-thread-number): New variable.
20539 (gdb-current-context-command): New macro which adds --thread
20541 (gdb-threads-mode-map): Select thread with SPC.
20542 (gdb-thread-list-handler-custom): Mark current thread with overlay
20543 arrow. Synchronize GDB thread and Emacs thread.
20544 (gdb-select-thread): New command which selects current thread.
20545 (gdb-invalidate-frames, gdb-invalidate-locals)
20546 (gdb-invalidate-registers): Use --thread option.
20548 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20550 * net/tramp.el (top): Make check for tramp-gvfs loading more
20552 (tramp-handle-insert-file-contents): `unwind-protect' must be
20553 inside `with-parsed-tramp-file-name'.
20555 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20558 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20560 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20561 directory if CLASSPATH is not set.
20563 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20565 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20567 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20569 2009-08-02 Kevin Ryde <user42@zip.com.au>
20571 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20572 Update freshmeat link. Delete newsforge.com as it seems gone.
20574 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20576 * select.el (x-set-selection): Doc fix (Bug#4021).
20578 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20580 * help-fns.el (describe-variable): Treat list return values from
20581 dir-locals-find-file properly (Bug#4005).
20583 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20585 * net/tramp.el (tramp-debug-message): Print also microseconds.
20587 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20589 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20591 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20592 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20595 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20596 (tramp-get-file-property): Use it.
20598 * autorevert.el (auto-revert-handler):
20599 Allow `auto-revert-tail-mode' for remote files.
20601 2009-08-02 Jason Rumney <jasonr@gnu.org>
20603 * minibuffer.el (read-file-name): Treat confirm options to
20604 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20606 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20608 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20609 (font-lock-variable-name-face, font-lock-constant-face):
20610 Darken the colors for light backgrounds.
20612 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20614 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20615 month names. (Bug#3987)
20617 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20619 * simple.el (line-move-finish): Pass whole number to
20620 line-move-to-column.
20621 (line-move-visual): Perform hscroll to the recorded position.
20623 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20625 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20627 2009-07-29 Alan Mackenzie <acm@muc.de>
20629 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20631 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20633 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20634 (gdb-place-breakpoints): Use full path when setting breakpoints.
20636 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20638 * calc/calc.el (calc-mode-map): Add keybinding for
20639 `calc-transpose-lines'.
20641 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20643 * calc/calc-misc.el (calc-transpose-lines): New function.
20645 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20647 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20648 Simplify check for out-of-band methods.
20649 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20650 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20652 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20654 * vc-git.el (vc-git-checkin): Fix typo.
20656 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20658 * progmodes/js2-mode.el: New file.
20660 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20662 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20663 (gud-menu-map): Adjust tooltip accordingly.
20665 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20667 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20668 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20670 * add-log.el (change-log-mode-map): Add a menu.
20672 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20674 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20675 function returns nil.
20676 (dbus-handle-event): Handle special return value :ignore.
20677 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20679 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20681 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20684 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20688 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20690 * term/pc-win.el (x-display-name, x-colors)
20691 (x-select-enable-clipboard, x-select-text): Doc fix.
20693 * term/common-win.el (x-display-name, x-colors): Doc fix.
20695 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20696 (xw-defined-colors): Doc fix.
20698 * w32-fns.el (x-select-text, x-setup-function-keys)
20699 (x-get-selection, x-set-selection): Doc fix.
20701 * term/x-win.el (x-select-text, x-setup-function-keys)
20702 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20704 * select.el (x-set-selection): Doc fix.
20706 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20708 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20709 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20710 "IsNSSSupportAvailable" method is not available.
20711 Reported by Steve Youngs <steve@sxemacs.org>.
20713 2009-07-24 Kenichi Handa <handa@m17n.org>
20715 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20716 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20717 (build-unicode-category-table): Fix range checks.
20719 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20721 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20722 the buffer we try to sync is current when calling
20725 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20726 not show up to date files.
20728 2009-07-24 Glenn Morris <rgm@gnu.org>
20730 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20731 Add autoload cookies. If necessary, initialize.
20732 (elint-log): Handle non-file buffers.
20733 (elint-initialize): Add optional argument to reinitialize.
20734 (elint-find-builtin-variables): Save excursion.
20736 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20738 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20741 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20743 * vc.el (vc-print-log-internal): New function, split out from ...
20744 (vc-print-log): ... here.
20745 (vc-dir-move-to-goal-column): Declare.
20747 * vc-git.el (vc-git-add-signoff): New variable.
20748 (vc-git-checkin): Use it.
20749 (vc-git-toggle-signoff): New function.
20750 (vc-git-extra-menu-map): Bind it to menu.
20751 (vc-git--run-command-string): Accept a nil FILE argument.
20752 (vc-git-stash-list): New function.
20753 (vc-git-dir-extra-headers): Use it.
20755 2009-07-23 Glenn Morris <rgm@gnu.org>
20757 * help-fns.el (describe-variable): Describe ignored and risky local
20758 variables in a similar way to that in which we describe safe ones.
20760 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20761 (byte-compile-output-file-form, byte-compile-output-docform)
20762 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20763 Give some more local variables with common names a "bytecomp-" prefix,
20764 so as not to shadow things during compilation.
20765 * emacs-lisp/cl-macs.el (load-time-value)
20766 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20767 `outbuffer' to `bytecomp-outbuffer'.
20769 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20770 since the next two variables cover them automatically now.
20771 (elint-builtin-variables, elint-autoloaded-variables): New.
20772 (elint-unknown-builtin-args): Remove all members, since they can be
20773 parsed automatically now.
20774 (elint-extra-errors): New.
20775 (elint-env-add-env, elint-env-add-macro): Use cadr.
20776 (elint-current-buffer): Use or. Change final message.
20777 (elint-get-top-forms): Use line-end-position.
20778 (elint-init-env): Use cadr. Handle autoload, declare-function,
20780 (elint-add-required-env): Doc fix. Use or. Standardize error.
20781 (regexp-assoc): Remove unused function.
20782 (elint-top-form): Set elint-current-pos, to record the start of the
20783 top-level form, for compilation-mode.
20784 (elint-form): Trap errors in macro expansion. Use dolist.
20785 (elint-unbound-variable): Use elint-builtin-variables and
20786 elint-autoloaded-variables.
20787 (elint-get-args): Use cadr, or.
20788 (elint-check-cond-form): Use dolist, cadr.
20789 (elint-check-condition-case-form): Doc fix. Use cadr.
20790 Use elint-extra-errors.
20791 (elint-log): New function.
20792 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20793 Distinguish errors and warnings.
20794 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20795 Use a bytecomp-style format.
20796 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20797 (elint-get-log-buffer): Use compilation mode. Disable undo.
20798 Don't truncate lines.
20799 (elint-initialize): Set builtin and autoloaded variable lists.
20800 Only process elint-unknown-builtin-args if non-nil.
20801 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20803 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20805 2009-07-22 Kevin Ryde <user42@zip.com.au>
20807 * net/newst-backend.el (newsticker--parse-atom-1.0)
20808 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20809 (newsticker--parse-rss-1.0):
20810 * progmodes/idlwave.el (idlwave-mode):
20811 * progmodes/idlw-shell.el (idlwave-shell-mode):
20812 * progmodes/vera-mode.el (vera-mode):
20813 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20814 * progmodes/vhdl-mode.el (vhdl-mode):
20815 * textmodes/table.el (table-generate-source)
20816 (table--warn-incompatibility):
20817 Hyperlink urls in docstrings with URL `...'.
20819 2009-07-22 Glenn Morris <rgm@gnu.org>
20821 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20822 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20823 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20824 Remove leading * from defcustom docs.
20826 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20828 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20830 (list-load-path-shadows): Optionally, just return shadows as a string.
20832 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20834 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20836 * mail/rmailedit.el (rmail-edit-mode):
20837 Use auto-save-include-big-deletions.
20839 * mail/rmail.el (rmail-variables):
20840 Use auto-save-include-big-deletions.
20842 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20845 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20847 * calc/calc.el (calc-undo-length): New variable.
20848 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20850 2009-07-21 Richard Stallman <rms@gnu.org>
20852 * files.el (auto-save-mode): Handle buffer-save-size = -2
20855 2009-07-21 Glenn Morris <rgm@gnu.org>
20857 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20859 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20861 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20862 silence compiler. Instead...
20863 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20864 (ps-print-ensure-fontified): Update for above function name changes.
20866 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20867 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20868 silence compiler. Instead...
20869 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20870 (mh-show-buffer): Only define for compiler.
20871 (pr-mh-current-message): Update for above function name changes.
20873 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20875 (find-file-noselect, insert-file-1): Update for above change.
20877 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20879 * mail/mailclient.el (mailclient-send-it): Fix message.
20881 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20882 (edebug-eval): Check cl-debug-env is bound.
20883 (print-level, print-circle): Don't redefine built-in variables.
20885 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20886 (custom-print-vectors): Remove old comments from doc.
20888 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20889 (emerge-version): Make the variable an obsolete alias for the
20890 emacs-version variable. Make the function obsolete.
20891 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20892 Emerge options, rather than merging in into the main Options menu.
20893 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20894 and auto advance modes. Disable edit/fast items when not relevant.
20896 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20898 * term/vt420.el (terminal-init-vt420): Fix typo.
20900 2009-07-20 Sam Steingold <sds@gnu.org>
20902 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20903 variable (removed from compile.el on 2004-03-11).
20905 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20907 * files.el (hack-local-variables-filter): Fix last change.
20909 2009-07-19 Juri Linkov <juri@jurta.org>
20911 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20912 (dir-local-variables-alist): New buffer-local variable.
20913 (hack-local-variables-filter): If variable is not dir-local,
20914 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20915 because file-local overrides dir-local.
20916 (c-postprocess-file-styles) <declare-function>:
20917 Remove obsolete declaration.
20918 (hack-dir-local-variables): Add dir-local variable/value pair to
20919 `dir-local-variables-alist' and remove duplicates. Doc fix.
20921 * help-fns.el (describe-variable): Add information about
20922 file-local and dir-local variables.
20924 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20926 * files.el (hack-local-variables-filter): Rewrite.
20928 2009-07-19 Glenn Morris <rgm@gnu.org>
20930 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20931 Silence compiler by only defining on XEmacs.
20933 * international/mule.el (auto-coding-regexp-alist): Only match
20934 BABYL... at the start of buffer, not of lines. (Bug#3790)
20936 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20937 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20938 (cal-menu-context-mouse-menu): Doc fix.
20940 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20942 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20944 2009-07-18 Juri Linkov <juri@jurta.org>
20946 * info.el: Virtual Info keyword finder.
20947 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20948 (Info-finder-file): New variable.
20949 (Info-finder-find-file): New function.
20950 (finder-known-keywords, finder-package-info)
20951 (find-library-name, lm-commentary): Use defvar and
20952 declare-function to silence compiler warnings.
20953 (Info-finder-find-node): New function.
20954 (info-finder): New command.
20956 * subr.el (process-kill-buffer-query-function): New function.
20957 (add-hook)<kill-buffer-query-functions>: Add hook
20958 `process-kill-buffer-query-function'.
20960 2009-07-18 Alan Mackenzie <acm@muc.de>
20962 * progmodes/cc-mode.el (c-before-hack-hook)
20963 (c-postprocess-file-styles): Give invocation of `c-set-style'
20964 DONT-OVERRIDE parameter of t. Already set style variables will
20965 thus not be overridden by style settings given by `c-file-syle'.
20967 * files.el (hack-local-variables-filter): Remove entries with
20968 duplicate keys from `file-local-variables-alist'.
20970 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20972 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20973 x-set-selection if display-selections-p returns nil for the
20976 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20978 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20980 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20982 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20983 Accept nil in addition to a regexp.
20984 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20985 Accept nil in addition to a regexp.
20986 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20987 buffers that have an associated file. Handle nil values of
20988 desktop-buffers-not-to-save and desktop-files-not-to-save.
20991 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20992 (x-disown-selection-internal): New functions.
20994 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20996 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20998 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20999 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21001 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21003 * simple.el (set-mark): Revert last change.
21005 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21007 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21008 rendering of pngs is not possible instead of messaging a long
21011 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21013 * w32-fns.el (x-selection-owner-p): New function.
21015 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21016 (mouse-yank-at-click, mouse-yank-primary):
21017 If select-active-regions is non-nil, deactivate the mark before
21020 * simple.el (deactivate-mark, set-mark): Only save selection if we
21023 2009-07-17 Kenichi Handa <handa@m17n.org>
21025 * case-table.el (describe-buffer-case-table): Fix for the case
21026 that KEY is a cons.
21028 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21030 * vc-rcs.el (vc-rcs-find-file-hook):
21031 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21033 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21035 * net/tramp.el (tramp-wait-for-output): Handle the case when
21036 commands do not return a newline but a null byte before the shell
21039 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21041 * term/ns-win.el (ns-set-alpha): Don't declare.
21042 (ns-set-background-alpha): Remove function.
21044 2009-07-16 Kevin Ryde <user42@zip.com.au>
21046 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21047 y-or-n-p, for safety.
21049 2009-07-16 Richard Stallman <rms@gnu.org>
21051 * files.el (auto-save-mode): If buffer-saved-size is -2,
21054 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21055 (rmail-retry-ignored-headers): Add more uninteresting fields.
21057 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21059 * net/rcirc.el (rcirc): Use history variables.
21060 (rcirc-server-name-history, rcirc-nick-name-history)
21061 (rcirc-server-port-history): New variables.
21063 2009-07-15 Kenichi Handa <handa@m17n.org>
21065 * international/mule-cmds.el (set-language-environment-charset):
21066 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21069 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21070 Delete unibyte-display.
21072 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21074 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21076 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21078 * simple.el (deactivate-mark): Optional argument FORCE.
21079 (set-mark): Use deactivate-mark.
21081 * info.el (Info-search): No need to check transient-mark-mode
21082 before calling deactivate-mark.
21084 * select.el (x-set-selection): Doc fix.
21085 (x-valid-simple-selection-p): Allow buffer values.
21086 (xselect--selection-bounds): Handle buffer values.
21087 Suggested by David De La Harpe Golden.
21089 * mouse.el (mouse-set-region, mouse-drag-track):
21090 Call copy-region-as-kill before setting the mark, to let
21091 select-active-regions work.
21093 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21095 * simple.el (deactivate-mark): If select-active-regions is
21096 non-nil, copy the selection data into a string.
21097 (activate-mark): If select-active-regions is non-nil, set the
21098 selection to the current buffer.
21099 (set-mark): Update selection if select-active-regions is non-nil.
21101 * select.el (x-valid-simple-selection-p): Allow buffer values.
21103 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21105 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21106 and more featureful message-mode.
21108 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21110 * select.el (x-set-selection): Doc fix.
21111 (x-valid-simple-selection-p): Disallow selection data consisting
21112 of a list or cons of integers, since that is not used.
21113 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21114 (xselect-convert-to-string, xselect-convert-to-length)
21115 (xselect-convert-to-filename, xselect-convert-to-charpos)
21116 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21118 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21120 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21121 output in -break-info command (Emacs bug #3794).
21123 2009-07-14 Glenn Morris <rgm@gnu.org>
21125 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21126 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21127 (edebug-print-length, edebug-print-level, edebug-print-circle)
21128 (edebug-sit-for-seconds, edebug-view-outside)
21129 (edebug-bounce-point, edebug-set-global-break-condition)
21130 (edebug-Go-nonstop-mode, edebug-trace-mode)
21131 (edebug-Trace-fast-mode, edebug-continue-mode)
21132 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21133 (edebug-visit-eval-list): Doc fixes.
21135 * subr.el (def-edebug-spec): Doc fix.
21137 2009-07-14 Kenichi Handa <handa@m17n.org>
21139 * international/characters.el: Fix setting of category ?C.
21141 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21143 * term/ns-win.el (x-select-font): defalias x-select-font to
21144 ns-popup-font-panel instead of generate-fontset-menu.
21146 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21148 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21150 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21152 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21153 the PK\003\004 header (Bug#3770).
21155 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21157 * pcomplete.el (pcomplete-comint-setup): Check for
21158 shell-dynamic-complete-filename too.
21160 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21162 * simple.el (temporary-goal-column): Change the value for
21163 line-move-visual to a cons cell.
21164 (line-move-visual): Record or set the window hscroll, if
21165 necessary (Bug#3494).
21166 (line-move-1): Handle cons value of temporary-goal-column.
21168 2009-07-11 Kenichi Handa <handa@m17n.org>
21170 * international/mule-diag.el (describe-character-set): Don't show
21173 2009-07-10 Sam Steingold <sds@gnu.org>
21175 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21176 Omake sometimes indents the errors it prints, so allow all
21177 regexps to start with spaces.
21179 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21181 * cus-edit.el (customize-changed-options-previous-release):
21182 Bump value to 22.1. (Bug#3804)
21184 2009-07-08 Sam Steingold <sds@gnu.org>
21186 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21187 to be a cons cell (test . ignored-directory) to selectively ignore
21188 some directories depending on the location of the search.
21190 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21192 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21193 remote user is root, on the local host.
21194 (tramp-local-host-p): Either the local user or the remote user
21195 must be root. (Bug#3771)
21197 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21199 * progmodes/gdb-mi.el (gdb): Remove description of
21200 gdb-use-separate-io-buffer.
21201 (menu): Don't allow toggling of or enable
21202 gdb-use-separate-io-buffer from menubar.
21204 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21206 * mail/unrmail.el (unrmail): Make sure the message ends with two
21207 newlines (Bug#3769).
21209 2009-07-08 Glenn Morris <rgm@gnu.org>
21211 * calendar/calendar.el (calendar-current-date): Rework previous change.
21213 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21215 * calendar/calendar.el (calendar-current-date):
21216 Add an optional argument giving an offset from today.
21218 2009-07-08 Glenn Morris <rgm@gnu.org>
21220 * tutorial.el (tutorial--describe-nonstandard-key):
21221 Adjust the message for when a key has been unbound.
21222 (help-with-tutorial): Hide the arch-tag.
21224 2009-07-08 Kenichi Handa <handa@m17n.org>
21226 * international/fontset.el (setup-default-fontset): For each
21227 script, append (not set) font-specs.
21229 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21232 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21234 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21235 -data-list-register-names to ...
21236 (gdb-starting): ... here because GDB 7.0 requires execution to
21237 have started when using this MI command.
21238 (gdb-set-header): New function to distinguish select and
21239 unselected tabs in gdb buffers.
21240 (gdb-propertize-header): New macro that uses gdb-set-header.
21241 (gdb-breakpoints-header, gdb-locals-header): Use it.
21242 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21244 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21246 * Makefile.in (ELCFILES): Remove fadr.elc.
21248 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21250 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21251 may contain frame information, so `string-match' should be used.
21252 (gdb-update): Disassembly is invalidated through
21253 `gdb-get-selected-frame'.
21254 (gdb-pad-string): New function to pad string with spaces.
21255 (gdb-invalidate-disassembly): Invalidate only if the buffer
21257 (gdb-disassembly-handler-custom): Column alignment.
21258 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21260 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21262 (gdb-frame-handler): Match convention to for disassembly buffer
21264 (gdb-stack-list-frames-handler): Rewritten without regexps.
21265 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21266 not highlight breakpoints without line information.
21267 (gdb-input): Add trailing newline to command.
21269 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21271 (gdb-breakpoints-list-handler-custom): Replacement for
21272 `gdb-break-list-handler'. Using real parser instead of regexps
21274 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21275 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21276 to place breakpoints.
21277 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21279 (gdb-disassembly-handler-custom): Show overlay arrow.
21280 (gdb-disassembly-place-breakpoints): Show breakpoints in
21281 disassembly buffer.
21282 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21283 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21284 instead of parsing breakpoints buffer. Fixed old menu references
21289 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21290 (gdb-memory-address): New variable which holds top address of
21291 memory page shown in memory buffer.
21292 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21293 New customization variables.
21295 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21296 display the memory buffer.
21297 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21298 buffer display parameters.
21299 (def-gdb-memory-format, gdb-memory-format-binary)
21300 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21301 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21302 Functions for setting memory buffer format.
21303 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21304 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21305 unit size used in memory buffer.
21306 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21307 Switch to next/previous page of memory buffer.
21308 Now using (bindat-get-field) instead of fadr functions.
21310 2009-07-07 Sam Steingold <sds@gnu.org>
21312 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21313 non-top-level files.
21315 2009-07-07 Kenichi Handa <handa@m17n.org>
21317 * international/mule-cmds.el (reset-language-environment):
21318 Put the highset priority to the charset iso-8859-1.
21320 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21322 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21323 to the end of the line when locating the block (Bug#700).
21325 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21327 * net/tramp.el (tramp-handle-write-region): Flush file properties
21328 in case of short track.
21330 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21332 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21333 Coded custom representation of verilog error regular expressions
21334 to work with Emacs-22's new format.
21335 (verilog-error-regexp-xemacs-alist): Coded custom representation
21336 of verilog error regular expressions to work with XEmacs format.
21337 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21338 error recognition into XEmacs.
21339 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21340 error recognition into Emacs-22.
21342 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21344 * woman.el: Remove stand-alone closing parentheses.
21345 (woman-file-name, woman2-format-paragraphs)
21346 (woman-leave-blank-lines): Code cleanup.
21347 (woman-use-own-frame): Change default to nil.
21348 (woman-italic, woman-bold, woman-unknown, woman-addition):
21349 Change defaults to inherit from default faces.
21350 (woman2-process-escapes): Consume the newline after a stand-alone
21351 filler character (Bug#3651).
21353 2009-07-06 Glenn Morris <rgm@gnu.org>
21355 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21356 (top-level): Move provide to the end.
21357 (ffap): Remove defunct URL from custom group.
21359 * subr.el (eval-after-load): Doc fix.
21361 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21363 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21364 `calc-embedded-word' is called twice.
21366 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21368 * files.el (find-alternate-file-other-window, find-alternate-file):
21369 Obey confirm-nonexistent-file-or-buffer.
21371 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21373 * dired-aux.el (dired-show-file-type): Handle remote files.
21375 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21377 * desktop.el (desktop-globals-to-save):
21378 Add file-name-history (Bug#2750).
21380 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21382 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21384 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21386 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21387 property on entire argument since this is what eshell-lisp-command
21390 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21392 * net/tramp-gvfs.el (tramp-gvfs-methods)
21393 (tramp-gvfs-zeroconf-domain)
21394 (tramp-bluez-discover-devices-timeout): Add version flag.
21395 (tramp-gvfs-handler-mounted-unmounted)
21396 (tramp-gvfs-connection-mounted-p): Polish handling of
21397 incompatibilities between GVFS 0.2 and 1.0.
21399 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21401 * cus-start.el (all): Add make-pointer-invisible.
21403 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21405 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21406 formatted correctly.
21408 2009-07-02 Juri Linkov <juri@jurta.org>
21410 * info.el: Virtual Info files and nodes.
21411 (Info-virtual-files, Info-virtual-nodes): New variables.
21412 (Info-current-node-virtual): New variable.
21413 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21415 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21416 to check for a virtual file instead of checking a fixed list
21418 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21419 instead of ad-hoc processing of "dir" and (apropos history toc).
21420 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21421 instead of ad-hoc processing of "dir" and (apropos history toc).
21422 Reread a file when moving from a virtual node.
21423 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21424 (Info-directory-toc-nodes, Info-directory-find-file)
21425 (Info-directory-find-node): New functions.
21426 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21427 (Info-history): Move part of code to
21428 `Info-history-find-node'.
21429 (Info-history-toc-nodes, Info-history-find-file)
21430 (Info-history-find-node): New functions.
21431 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21432 (Info-toc): Move part of code to `Info-toc-find-node'.
21433 (Info-toc-find-node): New function.
21434 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21435 the current Info file name to references because now the node
21436 "*TOC*" belongs to the same Info manual.
21437 (Info-toc-build): Rename from `Info-build-toc'.
21438 (Info-toc-nodes): Rename input argument `file' to `filename'.
21439 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21440 instead of ad-hoc processing of ("dir" apropos history toc).
21441 (Info-index-nodes): Use Info-virtual-file-p
21442 to check for a virtual file instead of checking a fixed list
21444 (Info-index-node): Add check for `Info-current-node-virtual'.
21445 Raise `save-match-data' higher up the tree to contain
21446 `search-forward' too (bug fix).
21447 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21448 (Info-virtual-index-nodes): New variable.
21449 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21450 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21451 (Info-apropos-file, Info-apropos-nodes): New variables.
21452 (Info-apropos-toc-nodes, Info-apropos-find-file)
21453 (Info-apropos-find-node, Info-apropos-matches): New functions.
21454 (info-apropos): Move part of code to `Info-apropos-find-node' and
21455 `Info-apropos-matches'.
21456 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21457 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21458 for a virtual file instead of checking a fixed list of node names.
21460 * simple.el (async-shell-command): New command.
21462 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21464 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21465 instead of `mount-info'.
21467 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21469 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21470 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21472 2009-07-02 Kenichi Handa <handa@m17n.org>
21474 * international/mule.el (set-keyboard-coding-system): Force *-unix
21475 coding-system to avoid eol conversion.
21477 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21479 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21480 Add handler for `process-file', `shell-command' and
21481 `start-file-process'.
21482 (tramp-gvfs-handle-shell-command)
21483 (tramp-gvfs-handle-start-file-process)
21484 (tramp-gvfs-handle-process-file): New defuns.
21485 (tramp-synce-list-devices): Simplify check for existence of property.
21487 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21489 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21491 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21493 * language/korean.el (set-language-info-alist): Add korean-cp949,
21496 2009-07-01 Kenichi Handa <handa@m17n.org>
21498 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21500 * international/encoded-kb.el: Deleted.
21502 * international/mule.el (set-keyboard-coding-system): Perform the
21503 necessary setup here instead of calling encoded-kbd-setup-display.
21505 2009-07-01 Glenn Morris <rgm@gnu.org>
21507 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21509 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21511 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21513 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21515 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21516 Handle also the 'rename case, when setting file modes. (Bug#3712)
21517 (tramp-default-file-modes): Remove execute permissions.
21519 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21520 (top): Add a default for "synce" in `tramp-default-user-alist'.
21521 Add completion function for "synce" method.
21522 (tramp-hal-service, tramp-hal-path-manager)
21523 (tramp-hal-interface-manager, tramp-hal-interface-device):
21525 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21526 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21529 * net/trampver.el: Update release number.
21531 2009-06-30 Kenichi Handa <handa@m17n.org>
21533 * international/fontset.el (setup-default-fontset): Add CJK fonts
21534 for symbols and the other miscellaneous characters.
21536 * language/korea-util.el (setup-korean-environment-internal):
21537 Make char-width-table suitable for Korean environments.
21538 (exit-korean-environment): Cancel above.
21540 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21541 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21542 setup-function to make char-width-table suitable for respective
21543 environments, and an exit-function to cancel that.
21545 * language/japan-util.el (setup-japanese-environment-internal):
21546 Call use-cjk-char-width-table with arg `ja_JP'.
21548 * international/characters.el (cjk-char-width-table): Delete it.
21549 (cjk-char-width-table-list): New variable.
21550 (use-cjk-char-width-table): New arg local-name.
21551 (use-default-char-width-table): Fix for the case that Emacs is
21552 already using the default char-width-table.
21554 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21556 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21557 modes mandatory. (Bug#3712)
21559 2009-06-29 Alan Mackenzie <acm@muc.de>
21561 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21562 correction between the visible width of TABs and their number of bytes.
21564 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21566 * server.el (server-buffer-done): Prevent kill-buffer from
21567 prompting by clearing the buffer modification flag (Bug#3696).
21569 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21571 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21572 (verilog-endcomment-reason-re): Support unique case and priority case.
21573 (verilog-basic-complete-re): Support localparam lineup.
21574 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21575 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21577 (verilog-leap-to-case-head): Now support *nested* unique &
21578 priority case statements.
21579 (verilog-auto-lineup): Make just declarations the default (as it
21581 (verilog-leap-to-case-head): Support priority/unique case statements.
21582 (verilog-auto-lineup): Rework to give users radio buttons to
21583 select the various styles of automatic lineup.
21584 (verilog-error-regexp-alist): Rework to support the XEmacs style
21585 of error regular expressions from compilers, lint tools &
21586 simulators. Note that GNU Emacs has made it impossible for a mode
21587 to load such things.
21588 (electric-verilog-terminate-line, verilog-indent-declaration)
21589 (verilog-auto-wiure): Rework for radio button selection of
21590 auto-lineup selection of specification of auto lineup.
21591 (verilog-beg-of-statement-1): Redesign to support proper operation
21592 in additional code, based on testing with auto-lineup.
21593 (verilog-calculate-indent, assignments & declarations)
21594 (verilog-backward-token): Enhance to support auto-lineup of
21595 assignments & declarations.
21596 (verilog-in-directive-p, verilog-at-struct-p): New function for
21597 easy test of whether we are.
21598 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21599 to support safe execution at almost anyline.
21600 (verilog-calc-1): Properly support indenting deep inside generate
21602 (verilog-init-font): Remove definition & use of verilog-init-font,
21603 as it is redundant with font-lock-defaults.
21604 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21605 to avoid circular calls if syntax-ppss is a function (as is the
21606 case now in 22.x GNU Emacs) as that function would sometimes call
21607 itself, leading to (nearly) infinite recursion.
21608 (verilog-ovm-begin-re, verilog-ovm-end-re)
21609 (verilog-ovm-statement-re, verilog-leap-to-head)
21610 (verilog-backward-token): Add support for OVM macros. Some are
21611 complete statements, and others open and close scopes like begin
21613 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21614 (verilog-defun-level-generate-only-re): Really fix the defun-list
21616 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21617 coverpoint, constraint and cross statements.
21618 (verilog-defun-level-list, verilog-generate-defun-level-list)
21619 (verilog-all-defun-level-list): Redo these specifications - it is
21620 too hard to support eval-when compile aggregation of lists also
21621 built at when-compile time.
21622 (verilog-defun-level-list): Place defconsts of variables used in
21623 building regular expressions which are built in eval-when-compile
21624 bodies in the same eval-when-compile body to facilitate compile
21626 (verilog-beg-block-re-ordered): Support indenting
21627 virtual/protected tasks and functions.
21628 (verilog-defun-level-list, verilog-in-generate-region-p)
21629 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21630 indentation of some module items (generate items).
21631 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21632 across virtual/protected tasks and functions.
21634 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21636 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21637 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21638 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21639 in concatenations. Reported by Yishay Belkind.
21640 (verilog-auto-ascii-enum): Support one-hot state machines in
21641 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21642 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21643 modport in AUTOINST and add vl-modport for users.
21644 Reported by David Rogoff.
21645 (verilog-auto-inout-module, verilog-auto-inst)
21646 (verilog-decls-get-interfaces, verilog-insert-definition)
21647 (verilog-insert-one-definition, verilog-read-decls)
21648 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21649 (verilog-sig-modport, verilog-signals-combine-bus)
21650 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21651 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21652 Suggested by David Rogoff.
21653 (verilog-repair-open-comma): Fix non-insertion of comma when
21654 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21655 (verilog-make-width-expression): Simplify [A-1:0] expression
21656 widths to just {A{1'b0}}.
21657 (verilog-mode): Cleanup checkdoc warnings.
21658 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21659 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21660 inputs/outputs or data type. Suggested by Vasu Kandadi.
21661 (next-error-last-buffer): Fix byte-compiler warning.
21662 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21663 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21664 or shell command text during AUTO expansion. Suggested by Tad Truex.
21665 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21666 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21667 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21668 in AUTOINOUT. Reported by Matthew Lovell.
21669 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21670 causing use of <= assignments. Reported by Alex Reed.
21671 (verilog-read-decls): Fix triand, trior, wand, wor to be
21672 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21673 (verilog-extended-complete-re): Support import "DPI-C" functions.
21674 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21675 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21676 (verilog-insert-date, verilog-insert-year)
21677 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21678 Windows systems. Reported by Michael Potts.
21679 (verilog-read-module-name): Fix AUTOINST when the child module
21680 declaration's name is a tick define. Reported by Elliot Mednick.
21681 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21682 passed to next parameter's definition. Reported by Bruce T.
21683 (verilog-read-decls): Fix detecting "parameter int" when using
21684 AUTOINSTPARAM. Reported by Bruce T.
21685 (verilog-goto-defun): Fix goto not finding modules unless first
21686 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21687 (verilog-mode): Expand -f flag arguments on entry to mode so
21688 verilog-goto-defun will work. Reported by Lawrence Butcher.
21689 (verilog-getopt): Expand environment variables in -f file
21690 arguments. Suggested by Lawrence Butcher.
21691 (verilog-set-define): Fix "Symbol's value as variable is void"
21692 when reading enumerations.
21693 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21694 Suggested by Stephen Peltan.
21695 (verilog-read-defines): Fix reading of enumerations in include
21696 files. Reported by Steve Peltan.
21698 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21700 * files.el (trash-directory): Fix defcustom type.
21702 2009-06-28 Juri Linkov <juri@jurta.org>
21704 * help-fns.el (describe-function-1): Correctly locate adviced
21705 functions in hyperlink (Bug#2438).
21707 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21709 * files.el (trash-directory): Change default to nil.
21710 (move-file-to-trash): If trash-directory is nil and
21711 system-move-file-to-trash is unbound, perform freedesktop-style
21714 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21716 * files.el (move-file-to-trash): Add freedesktop trash
21719 2009-06-28 Glenn Morris <rgm@gnu.org>
21721 * autorevert.el (global-auto-revert-non-file-buffers)
21722 (global-auto-revert-mode): Doc fixes.
21724 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21726 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21728 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21730 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21731 opened an X connection before calling x-get-resource (Bug#3194).
21733 * play/doctor.el: Remove reference to obsolete website.
21734 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21736 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21738 Remove find-file-not-found-hook VC method. (Bug#2757)
21739 * vc-hooks.el (vc-file-not-found-hook)
21740 (vc-default-find-file-not-found-hook): Remove functions.
21741 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21742 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21745 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21747 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21749 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21750 compatibility function for `looking-back'.
21752 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21753 Use `ispell-looking-back'.
21755 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21757 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21758 rather than `filename'.
21760 2009-06-23 Miles Bader <miles@gnu.org>
21762 * face-remap.el (text-scale-set): New function.
21764 2009-06-23 Glenn Morris <rgm@gnu.org>
21766 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21768 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21770 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21772 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21774 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21775 Simplify Persian conditionals.
21777 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21778 variable `filename'.
21780 * comint.el (comint-insert-input): Doc fix.
21782 * Makefile.in (ELCFILES): Fix typo in previous change.
21784 2009-06-23 Miles Bader <miles@gnu.org>
21786 * cus-start.el: Add entry for `recenter-redisplay'.
21788 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21790 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21791 Add an optional argument for the backend, use it instead of
21792 calling vc-backend.
21793 (vc-mode-line): Add an optional argument for the backend.
21794 Pass the backend to vc-state and vc-working-revision. Move code for
21795 special handling for vc-state being a buffer to ...
21797 * vc-rcs.el (vc-rcs-find-file-hook):
21798 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21800 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21801 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21802 vc-stay-local-p and vc-mode-line calls.
21804 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21805 (vc-cvs-diff, vc-cvs-annotate-command)
21806 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21807 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21808 vc-mode-line calls.
21810 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21812 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21813 backend when calling vc-mode-line.
21814 (vc-register): Do not create a closure for calling the vc register
21815 function, call it directly.
21817 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21819 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21820 to make it obvious item can be clicked.
21822 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21824 2009-06-23 Kenichi Handa <handa@m17n.org>
21826 * language/korea-util.el (korean-key-bindings): Change the binding
21827 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21830 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21832 Sync with Tramp 2.1.16.
21834 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21836 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21837 when a loading of a package fails. Completion function for rsync
21838 is `tramp-completion-function-alist-ssh'.
21839 (all): Replace all calls of `split-string' and
21840 `tramp-split-string' by `tramp-compat-split-string'.
21841 (tramp-default-method): Use `tramp-compat-process-running-p'.
21842 (tramp-default-proxies-alist): Allow also Lisp forms.
21843 (tramp-remote-path): Add choice "Private Directories".
21844 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21845 (tramp-domain-regexp): Allow also "-", "_" and ".".
21846 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21847 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21848 (tramp-debug-message): Insert header line in debug buffer.
21849 (tramp-handle-directory-files-and-attributes-with-stat):
21850 Care about filenames with spaces, or starting with "-".
21851 (tramp-handle-dired-uncache): New defun.
21852 (tramp-handle-insert-directory): Don't flush the directory from
21853 cache, this is handled by `dired-uncache' now.
21854 (tramp-handle-insert-file-contents): Improve error handling.
21855 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21856 Quote `tramp-end-of-output'.
21857 (tramp-action-password): Improve trace message.
21858 (tramp-check-for-regexp): Both echoes must be present, before removing.
21859 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21860 (tramp-compute-multi-hops): Eval cons cells of
21861 `tramp-default-proxies-alist'.
21862 (tramp-maybe-open-connection): Use the same command pattern for
21863 first hop and further hops.
21864 (tramp-wait-for-output): Remove handling of newlines.
21865 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21866 (tramp-split-string): Remove function. It is handled in
21869 * net/tramp-cmds.el (tramp-bug):
21870 Recommend `tramp-cleanup-all-connections' in the bug mail.
21872 * net/tramp-compat.el (tramp-compat-split-string)
21873 (tramp-compat-process-running-p): New defuns.
21875 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21876 for `dired-uncache'.
21878 * net/tramp-gvfs.el: New package.
21880 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21881 Add handler for `dired-uncache'.
21882 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21884 * net/trampver.el: Update release number. Make version check fit
21887 2009-06-22 Jim Meyering <meyering@redhat.com>
21889 Automatically handle .xz suffix (XZ-compressed files), too.
21890 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21891 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21893 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21894 Nick Roberts <nickrob@snap.net.nz>
21896 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21897 repository (http://sphinx.net.ru/hg/gdb-mi/).
21899 2009-06-22 Glenn Morris <rgm@gnu.org>
21901 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21902 `mode' and `eval' entries. (Bug#3430)
21904 * Makefile.in (ELCFILES): Add fadr.elc.
21906 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21907 differing behavior of \n and ^ in strings. (Bug#3385)
21909 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21911 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21913 (lisp-indent-function): Make it a defcustom.
21915 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21917 * progmodes/gdb-ui.el: Replace with ...
21918 * progmodes/gdb-mi.el: ... this file.
21919 * progmodes/gud.el: Modify for gdb-mi.el.
21921 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21923 * fadr.el: New file.
21925 See ChangeLog.14 for earlier changes.
21927 ;; Local Variables:
21931 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21933 This file is part of GNU Emacs.
21935 GNU Emacs is free software: you can redistribute it and/or modify
21936 it under the terms of the GNU General Public License as published by
21937 the Free Software Foundation, either version 3 of the License, or
21938 (at your option) any later version.
21940 GNU Emacs is distributed in the hope that it will be useful,
21941 but WITHOUT ANY WARRANTY; without even the implied warranty of
21942 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21943 GNU General Public License for more details.
21945 You should have received a copy of the GNU General Public License
21946 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.