1 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
5 (smie-indent--parent): Extend to "parent of arg".
6 (smie-indent-inside-string): New function.
7 (smie-indent-functions): Use it.
9 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
10 bzr locking race condition.
12 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
13 still valid before using it.
15 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
16 `message' -> `compilation-message' rename (bug#8004).
18 Move keymap initialization into declaration.
19 * textmodes/enriched.el (enriched-mode-map):
20 * textmodes/bib-mode.el (bib-mode-map):
21 * term/lk201.el (lk201-function-map):
22 * tar-mode.el (tar-mode-map):
23 * replace.el (occur-mode-map):
24 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
25 * progmodes/idlw-help.el (idlwave-help-mode-map):
26 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
27 * play/solitaire.el (solitaire-mode-map):
28 * play/snake.el (snake-mode-map, snake-null-map):
29 * play/pong.el (pong-mode-map):
30 * play/handwrite.el (menu-bar-handwrite-map):
31 * play/gametree.el (gametree-mode-map):
32 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
33 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
34 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
35 (newsticker--url-keymap):
36 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
37 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
38 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
39 (menu-bar-edit-menu, menu-bar-custom-menu)
40 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
41 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
42 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
43 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
44 (menu-bar-tools-menu, menu-bar-describe-menu)
45 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
47 * mail/rmailsum.el (rmail-summary-mode-map):
48 * kmacro.el (kmacro-step-edit-map):
49 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
50 (ibuffer-mode-operate-map):
51 * hi-lock.el (hi-lock-menu, hi-lock-map):
52 * emulation/vip.el (vip-mode-map):
53 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
54 * bookmark.el (bookmark-bmenu-mode-map):
55 * help-mode.el (help-mode-map): Move initialization into declaration.
57 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
59 * net/rcirc.el: Add PRIVMSG and CTCP functions.
60 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
61 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
62 (rcirc-cmd-me, rcirc-authenticate): Use them.
64 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
66 * allout.el: Synopsis: Change allout user configuration so
67 auto-activation is controlled solely by customization
68 `allout-auto-activation'.
70 (allout-auto-activation-helper) (allout-setup): New autoloads
71 implement new custom set procedure for allout-auto-activation.
72 Also, explicitly invoke
73 (allout-setup) after allout-auto-activation is custom-defined, to
74 effect the settings in emacs sessions besides the few where
75 allout-auto-activation customization is donea.
76 (allout-auto-activation): Use allout-auto-activation-helper to
77 :set. Revise the docstring.
78 (allout-init): Reduce functionality to just customizing
79 allout-auto-activation, and mark obsolete.
80 (allout-mode): Respect string values for allout-auto-activation.
81 Run allout-after-copy-or-kill-hook without any args.
82 (allout-mode) (allout-layout) (allout-default-layout)
83 (outlineify-sticky): Adjust docstring for new scheme.
84 (allout-after-copy-or-kill-hook): No arguments - hook implementers
85 should concentrate on the kill ring.
87 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
89 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
90 of here-doc that immediately follows a comment.
92 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
94 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
96 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
98 (rcirc-ctcp-sender-PING): New function.
100 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
102 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
103 Remove the mark/nomark handling, and activate shift-select-mode instead.
105 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
107 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
109 * calc/calc-units.el (math-logunits-quant): Add support for
110 non-logarithmic units.
112 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
114 * allout.el (allout-after-copy-or-kill-hook): New hook for
115 extension-specific processing of killed text.
116 (allout-mode): Include new allout-after-copy-or-kill-hook among
118 (allout-kill-line) (allout-kill-topic): Ensure that processing
119 after kill happens even if barf-if-buffer-read-only is raised.
120 Include new allout-after-copy-or-kill-hook among that subsequent
122 (allout-deannotate-hidden): Actually remove the annotation text
125 * allout.el (allout-listify-exposed): Copy text sans text properties.
127 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
129 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
131 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
133 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
135 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
137 * calc/calc.el (calc-logunits-field-reference): Rename from
138 `calc-default-field-reference-level'.
139 (calc-logunits-power-reference): Rename from
140 `calc-default-power-reference-level'
142 * calc/calc-units.el (math-logunits-quant): Rename from
143 `math-logunits-level'
144 (math-logunits-plus): Rename from math-logcombine.
145 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
146 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
147 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
149 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
150 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
151 (calc-logunits-quantity): Rename from `calc-level'.
152 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
153 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
154 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
155 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
156 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
159 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
160 (calc-ul-prefix-help): Remove.
161 (calc-l-prefix-help): New function.
162 (calc-full-help): Add reference to `calc-l-prefix-help'.
164 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
166 * calc/README: Mention logarithmic units.
168 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
170 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
171 non-ASCII characters (Bug#7925).
173 2011-02-05 Glenn Morris <rgm@gnu.org>
175 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
177 * calendar/diary-lib.el (diary-font-lock-keywords):
178 Tweak diary-time-regexp match. (Bug#7891)
180 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
181 (f90-mode): Use it for mode's `find-tag-default-function' property.
183 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
185 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
187 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
189 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
192 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
194 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
195 font-lock-syntax-table remappings.
196 (sh-here-doc-markers, sh-here-doc-re): Remove.
197 (sh-font-lock-close-heredoc): Remove.
198 (sh-syntax-propertize-here-doc): New function.
199 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
200 instead of the sh-here-doc-re.
201 (sh-font-lock-paren): Don't do anything in comments or strings.
202 Handle line continuations. Accept a few more chars.
203 Don't rely on the font-lock-syntax-table remappings.
204 `esac' is not a valid pattern.
205 (sh-syntax-propertize-function): Handle here-docs differently, so we
206 don't bother syntax-propertizing the insides.
208 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
209 Handle new bashisms ";&" and ";;&" (bug#7947).
211 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
213 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
214 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
216 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
218 * net/tramp.el (tramp-postfix-method-format)
219 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
220 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
221 (tramp-postfix-user-regexp, tramp-prefix-port-format)
222 (tramp-prefix-port-regexp, tramp-postfix-host-format)
223 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
226 2011-02-04 Sam Steingold <sds@gnu.org>
228 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
230 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
232 * international/mule-util.el (with-coding-priority): Doc fix.
234 2011-02-04 Eli Zaretskii <eliz@gnu.org>
236 * arc-mode.el (archive-mode-map): Fix a typo in last change.
238 2011-02-03 Sam Steingold <sds@gnu.org>
240 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
241 Do not error out when `func' is nil.
243 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
245 * net/tramp-sh.el (tramp-remote-path): Add default settings for
246 `tramp-default-remote-path' to the docstring.
247 (tramp-get-remote-path): Suppress error message when `getconf
250 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
252 2011-02-03 Glenn Morris <rgm@gnu.org>
254 * vc/vc-hg.el (vc-hg-command): Doc fix.
256 * term/w32-win.el (libpng-version): Declare for compiler.
258 * msb.el: No need to load dired while compiling.
260 * emacs-lisp/elint.el (elint-standard-variables):
261 Remove a couple of built-ins that now have doc-strings.
263 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
264 `require' is automatically `eval-and-compile'd.
266 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
267 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
269 * strokes.el (strokes-fill-current-buffer-with-whitespace):
270 Move definition before use.
271 (strokes-report-bug): Make it obsolete.
273 2011-02-02 Sam Steingold <sds@gnu.org>
275 * apropos.el (apropos-print): Now that `apropos-mode' inherits
276 from `special-mode', entering it makes the buffer read-only, so
277 call it only when everything has been already inserted.
278 * emacs-lisp/ert.el (ert--setup-results-buffer)
279 (ert-results-pop-to-backtrace-for-test-at-point)
280 (ert-results-pop-to-messages-for-test-at-point)
281 (ert-results-pop-to-timings): Ditto.
282 * emacs-lisp/package.el (package--list-packages): Ditto.
283 * play/solitaire.el (solitaire): Ditto.
285 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
287 * progmodes/compile.el: Make all faces inherit.
288 (compilation-warning): Inherit from font-lock-variable-name-face.
289 (compilation-info): Inherit from font-lock-type-face.
290 (compilation-line-number): Reassign to font-lock-keyword-face.
291 (compilation-column-number): Reassign to font-lock-doc-face.
292 (compilation-leave-directory-face): Reassign to
293 font-lock-builtin-face.
295 2011-02-02 Eli Zaretskii <eliz@gnu.org>
297 * dired.el (dired-insert-directory): Don't invoke `ls' when
298 ls-lisp.el is used to emulate it.
300 2011-02-01 Julien Danjou <julien@danjou.info>
302 * color.el (color-gradient): Add a color-gradient function.
304 2011-02-01 Sam Steingold <sds@gnu.org>
306 * simple.el (special-mode-map): Bind "h" to `describe-mode';
307 bind "z" to `kill-this-buffer'.
308 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
309 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
310 (apropos-mode): Inherit from `special-mode'.
311 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
312 * bookmark.el (bookmark-bmenu-mode): Define using
313 `define-derived-mode' inheriting from `special-mode'.
314 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
315 * image-mode.el (image-mode-map): Ditto.
316 * replace.el (occur-mode): Define using
317 `define-derived-mode' inheriting from `special-mode'.
318 * tar-mode.el (tar-mode): Inherit from `special-mode'.
319 * calendar/diary-lib.el (diary-fancy-display-mode):
320 Inherit from `special-mode-map'.
321 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
322 Inherit from `special-mode'.
323 * emacs-lisp/package.el (package-menu-mode-map): Copy from
325 (package-menu-mode): Define using `define-derived-mode'
326 inheriting from `special-mode'.
327 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
328 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
329 (xesam-mode-map): Define separately.
330 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
331 * progmodes/compile.el (compilation-minor-mode-map)
332 (compilation-mode-map): Inherit from `special-mode-map'.
333 * vc/diff-mode.el (diff-mode-shared-map):
334 Inherit from `special-mode-map'.
335 * vc/log-view.el (log-view-mode-map): Add a comment.
337 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
339 * custom.el (load-theme): Define return value. Drop use of
340 unsafep; call custom-theme-load-confirm for non-known-safe themes.
341 (custom-theme-load-confirm): Scroll in the correct window.
342 (custom-enabled-themes): Add custom-safe-themes to :set-after.
344 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
345 checkbox if load-theme fails.
347 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
349 * progmodes/compile.el (compilation-next-error): Check there's
350 a message before using it (bug#7941).
352 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
354 * calc/calc-mtx.el (math-lud-pivot-check): New function.
355 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
358 2011-01-31 Alan Mackenzie <acm@muc.de>
360 * progmodes/cc-cmds.el (c-forward-over-illiterals):
361 Continue parsing if we encounter a naked # (Bug#7595).
362 (c-beginning-of-statement): Avoid loop in locating the beginning
365 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
367 * files.el (copy-directory): Fix arguments to recursive call.
369 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
371 * files.el (copy-directory): If destination is an existing
372 directory, copy into a subdirectory there.
374 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
376 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
379 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
381 * image-dired.el (image-dired-mouse-display-image): No-op if no
382 file is found (Bug#7817).
384 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
386 2011-01-31 Kenichi Handa <handa@m17n.org>
388 * international/quail.el (quail-keyboard-layout-alist):
389 Remove superfluous SPC for "pc105-uk" (bug#7927).
391 2011-01-31 Glenn Morris <rgm@gnu.org>
393 * msb.el (msb-menu-bar-update-buffers): Update for changed
394 argument handling of menu-bar-select-frame. (Bug#7902)
396 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
398 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
399 to the recursion depth (Bug#7722).
401 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
403 * term/ns-win.el (ns-find-file): Expand ns-input-file with
404 command-line-default-directory (Bug#7872).
406 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
408 * progmodes/compile.el (compilation--flush-directory-cache):
409 New function, extracted from compilation--remove-properties.
410 (compilation--remove-properties, compilation--parse-region): Use it.
411 (compilation--previous-directory): Handle one more case.
412 (compilation-enable-debug-messages): Remove.
413 (compilation-parse-errors, compilation--flush-parse): Just remove the
414 left over debug messages.
416 2011-01-31 Sam Steingold <sds@gnu.org>
418 * progmodes/compile.el (compilation-enable-debug-messages):
419 Add a variable to make the parsing messages introduced in
420 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
421 (compilation-parse-errors, compilation--flush-parse): Use it.
423 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
425 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
426 (rcirc-nick-completion-format): New defcustom.
427 (rcirc-complete): Use it.
429 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
431 * net/rcirc.el: Clean log filenames (Bug#7933).
432 (rcirc-log-write): Use convert-standard-filename.
433 (rcirc-log-filename-function): Documentation updates.
435 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
437 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
438 Check report-emacs-bug-can-use-osx-open and use that if t.
439 (report-emacs-bug-can-use-osx-open): New function.
440 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
441 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
443 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
445 * vc/vc-dispatcher.el (vc-set-async-update): New function for
446 updating Dired or VC-dir buffers after async command completes.
448 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
449 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
451 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
452 completions if it exists. Use vc-set-async-update.
453 (vc-git-pull): Use vc-set-async-update.
455 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
456 read-shell-command. Use vc-set-async-update.
457 (vc-hg-merge-branch): Use vc-set-async-update.
459 2011-01-29 Daiki Ueno <ueno@unixuser.org>
461 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
462 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
465 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
467 * progmodes/compile.el: Avoid an N² behavior in grep.
468 (compilation--previous-directory): New fun.
469 (compilation--previous-directory-cache): New var.
470 (compilation--remove-properties): Flush it.
471 (compilation-directory-properties, compilation-error-properties):
472 Use the new fun to speed up looking for the current directory.
474 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
476 * vc/vc-hg.el (vc-hg-history): New var.
477 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
478 (vc-hg-merge-branch): New function.
480 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
481 the other way around.
483 * vc/vc-git.el (vc-git-branches, vc-git-pull)
484 (vc-git-merge-branch): New functions.
485 (vc-git-history): New var.
487 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
489 * vc/vc-dispatcher.el (vc-do-async-command): New function.
491 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
494 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
497 2011-01-28 Leo <sdl.web@gmail.com>
499 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
500 highlighting to the "this function is advised" message.
502 * help-mode.el (help-mode-finish): Apply highlighting here, to
503 avoid clobbering by substitute-command-keys (Bug#6304).
505 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
507 * woman.el (woman0-roff-buffer): Process roff escape sequences
508 occurring prior to the first request (Bug#7843).
510 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
512 * progmodes/compile.el: Don't use font-lock any more.
513 (compilation-error-regexp-alist-alist): Change handling of makepp
514 so it preserves the warning/error distinction on subsequent files.
515 Simplify various rules.
516 (compilation-directory-properties): Use font-lock-face.
517 Add a compilation-message property.
518 (compilation-internal-error-properties): Use font-lock-face.
519 Don't set the compilation-debug property here.
520 (compilation--put-prop, compilation--remove-properties)
521 (compilation--parse-region, compilation--ensure-parse)
522 (compilation--ensure-parse): New functions.
523 (compilation-parse-errors): New function, largely inspired of
524 compilation-mode-font-lock-keywords. Set compilation-debug here.
525 (compilation--parsed): New var.
526 (compilation--flush-parse): Use compilation--ensure-parse.
527 (compilation-start): Don't call font-lock.
528 (compilation-turn-on-font-lock): Remove.
529 (compilation-setup): Don't set font-lock-extra-managed-props not change
530 other font-lock settings, other than keywords.
531 Don't activate font-lock-mode.
532 Set change-major-mode-hook and before-change-functions.
533 (compilation--unsetup): Remove properties and hooks.
534 (compilation-next-single-property-change): New function.
535 (compilation-next-error): Use it to parse when needed.
536 (compile-goto-error): Parse buffer as needed.
537 (compilation--compat-error-properties): Don't need a dummy `face'
540 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
542 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
543 (compilation-process-setup-function): Fix docstring's false promises.
544 (compilation-error-regexp-alist-alist): Catch omake's continuous
545 recompilation message and avoid reuse of old markers.
546 (compilation-parse-errors-function): Declare obsolete.
547 (compilation-buffer-modtime): Remove.
548 (compilation--make-cdrloc, compilation--loc->col)
549 (compilation--loc->line, compilation--loc->file-struct)
550 (compilation--loc->marker, compilation--loc->visited)
551 (compilation--make-file-struct, compilation--file-struct->file-spec)
552 (compilation--file-struct->formats)
553 (compilation--file-struct->loc-tree): New macros. Use them.
554 (compilation--message): New defstruct. Use them.
555 (compilation-next-error-function): Don't mess with timestamps to try
556 and guess when to reparse.
558 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
560 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
561 (tex-old-error-file-name): New function,
562 extracted from tex-compilation-parse-errors.
563 (tex-compilation-parse-errors): Remove.
564 (tex-error-regexp-alist): New var.
565 (tex-shell): Use it to avoid compilation-parse-errors-function.
567 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
568 (grep-mode-font-lock-keywords): Remove regexp that seems like
569 a left-over from before we used compile.el.
570 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
571 modifying the buffer within with-silent-modifications.
573 * progmodes/compile.el: Cleanup text-properties namespace by using
574 `compilation-message' instead of `message', `compilation-directory'
575 instead of `directory', and `compilation-debug' instead of `debug'.
576 (compilation-last-buffer, compilation-parsing-end)
577 (compilation-error-list, compilation-old-error-list): Move to the
578 compatibility part of the code.
579 (compilation-error-properties): If `file' is a function, let it return
581 (compilation-mode-font-lock-keywords): Be more conservative with the
582 omake "^ *" pattern prefix, to try and minimize the risk of
583 pathologically slow regexp matching.
584 (compilation-start): Use inhibit-read-only.
585 (compilation--unsetup): New function.
586 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
587 (compilation-filter): Minor tweaks.
588 (compilation-next-error-function): Try and avoid abusing variables.
589 (compilation--flush-file-structure): New fun.
590 (compilation-fake-loc): Use it to improve behavior when file is reused.
591 (debug-ignored-errors): Add "Moved past last ...".
592 (compilation--compat-error-properties)
593 (compilation--compat-parse-errors): Rename by doubling the "-".
595 Port features from the previous prolog.el to the new one.
596 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
597 (prolog-program-name, prolog-program-switches, prolog-consult-string)
598 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
599 variable and use a function to compute the value dynamically.
600 (prolog-prompt-regexp): Add regexp for GNU Prolog.
601 (prolog-continued-prompt-regexp): Remove, unused.
602 (prolog-find-value-by-system): Try and use the value of prolog-system
603 in the *prolog* buffer if it helps.
604 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
605 (prolog-zip-on): ..and check prolog-system and version here instead.
606 (prolog-inferior-self-insert-command): New command.
607 (prolog-inferior-mode-map): Use it.
608 (prolog-inferior-error-regexp-alist): New var.
609 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
610 (prolog-input-filter): Use derived-mode-p.
611 (prolog-inferior-guess-flavor): New function.
612 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
613 make-comint to avoid running comint-mode twice.
614 (prolog-inferior-buffer): New fun.
615 (prolog-old-process-region, prolog-old-process-file):
616 Don't call prolog-bsts here...
617 (prolog-build-prolog-command): ...do it here instead.
618 (prolog-old-process-region, prolog-old-process-file):
619 Use compilation-fake-loc and compilation-forget-errors.
620 (prolog-consult-compile-region): Use bolp.
622 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
624 * image-mode.el (image-display-size): Doc fix (Bug#7820).
626 2011-01-27 Sam Steingold <sds@gnu.org>
628 * midnight.el (clean-buffer-list-kill-never-buffer-names):
629 Remove "*server*" which is never created by emacs server.
631 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
633 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
634 there are some diff switches.
636 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
638 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
639 Copy change made to ruby-font-lock-syntactic-keywords.
641 * htmlfontify.el: Make it obey the font-lock-face text property.
642 Miscellaneous cleanup such as:
643 - Don't hide expressions after a closing paren.
644 - Move initial setq into let.
645 - Hoist common parts out of ifs.
646 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
647 (hfy-face-at): Use get-text-property instead.
648 (hfy-prop-invisible-p): Use invisible-p if available.
649 (htmlfontify-manual): Use \\[...].
650 (hfy-html-quote-regex): Use [...].
651 (hfy-combined-face-spec): Simplify.
652 (hfy-compile-face-map): Don't presume point-min==1.
653 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
655 (hfy-text-p): η-reduce.
656 (hfy-tags-for-file): Receive cache-hash directly.
657 (hfy-mark-tag-names): Adjust call.
659 2011-01-27 Glenn Morris <rgm@gnu.org>
661 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
662 (msb-after-load-hook): Remove eval-after-load wackiness.
664 2011-01-25 Sam Steingold <sds@gnu.org>
666 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
667 literal "diff" (important for windows-nt).
669 2011-01-25 Glenn Morris <rgm@gnu.org>
671 * emacs-lisp/copyright.el (copyright-at-end-flag)
672 (copyright-names-regexp): Add safety properties.
673 (copyright-year-ranges): New option.
674 (copyright-find-end): New function, split from copyright-update-year.
675 (copyright-update-year): Use copyright-find-end.
676 (copyright-fix-years): Optionally, convert years to ranges.
677 Handle years continued over comment lines.
678 Do not mess with the fill-prefix.
679 Do not call copyright-update.
680 (copyright-update-directory): Optionally, fix years rather than update.
681 Skip directories. Find files with only safe local vars.
683 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
685 * files.el (file-name-non-special): Only change buffer-file-name after
686 insert-file-contents if it's `visit'ing the file (bug#7854).
688 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
690 * dired.el (dired-revert): Doc fix (Bug#7758).
692 * simple.el (line-move-visual): Doc fix (Bug#7594).
694 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
696 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
697 here-doc which ends with an underscore.
698 (ruby-mode-set-encoding): Skip shebang line always.
699 (ruby-mode-map): Bind C-c C-c to comment-region.
700 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
701 (ruby-forward-sexp): Stop after literal hash key labels.
702 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
705 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
707 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
708 the correct buffer (Bug#7650).
710 2011-01-25 Glenn Morris <rgm@gnu.org>
712 * comint.el (comint-mode): Doc fix. (Bug#7897)
714 * simple.el (do-auto-fill): Give it a doc string.
716 * button.el (make-text-button): Doc fix. (See bug#7881)
718 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
720 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
721 Don't move backward, so as not to fall in an inf-loop (bug#7736).
723 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
724 Handle ?" and friends differently (e.g. don't use backrefs).
726 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
728 * calc/calc.el (calc-default-power-reference-level)
729 (calc-default-field-reference-level): New variables.
730 * calc/calc-units.el (math-standard-units): Add dB and Np.
731 (math-logunits): New variable.
732 (math-extract-logunits, math-logcombine, calcFunc-luplus)
733 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
734 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
736 (math-find-base-units-rec): Add entry for ln(10).
737 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
738 (calc-ul-prefix-help): New function.
739 * calc/calc-ext.el (calc-init-extensions): Autoload new units
740 functions. Add keybindings for new units functions.
742 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
744 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
745 rcirc buffers. (Bug#4940)
747 2011-01-22 Glenn Morris <rgm@gnu.org>
749 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
750 split out from copyright-update-year.
751 (copyright-update): Don't mess with the GPL version if we don't own the
752 copyright. Update license regexp, and remove no longer needed
754 (copyright-fix-years): Use copyright-find-copyright.
756 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
758 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
760 2011-01-22 Jari Aalto <jari.aalto@cante.net>
762 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
763 (lm): Rename to landmark.
764 (lm-test-run): Rename to landmark-test-run.
766 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
768 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
769 "Case sensitive" menu item.
771 2011-01-22 Roland McGrath <roland@frob.com>
773 * comint.el (comint-replace-by-expanded-history-before-point): Fix
774 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
776 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
778 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
780 2011-01-22 Jari Aalto <jari.aalto@cante.net>
782 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
783 Assume foo(bar) is a manpage reference rather than some unquoted
786 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
788 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
789 Suggested by Flo <sensorflo@gmail.com>.
791 2011-01-22 Glenn Morris <rgm@gnu.org>
793 * progmodes/compile.el (compilation-error-regexp-alist):
794 Fix custom type. (Bug#7812)
796 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
798 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
799 allout-number-siblings, in keeping with what obtained due to
800 (now-defunct) allout-keybindings-list. Ditch repeat binding to
802 (allout-before-change-handler): Better expose spots affected by
805 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
807 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
809 2011-01-22 Phil Hagelberg <phil@evri.com>
811 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
812 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
813 (pcmpl-ssh-config-hosts): New function.
814 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
815 pcmpl-ssh-known-hosts.
817 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
819 * calc/calc-undo.el (calc-undo): Autoload it.
820 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
821 and autoload for `calc-undo'.
822 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
824 * calc/calc-graph.el:
825 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
827 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
829 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
830 keybindings to `calc-undo'.
832 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
834 Don't mess with *temp*.
835 * obsolete/spell.el: Move from textmodes/spell.el.
837 * term.el (term-read-input-ring):
838 * startup.el (display-startup-echo-area-message):
839 * progmodes/antlr-mode.el (antlr-directory-dependencies):
840 * comint.el (comint-read-input-ring): Use with-temp-buffer.
841 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
844 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
846 * allout.el: (allout-institute-keymap): Use fset instead of
849 (allout-hotspot-key-handler): Check for non-control-modified
850 bindings for hotspot characters if there are no control-modified
853 * allout.el: Summary - migrate to defining allout mode using
854 define-minor-mode instead of defun. Significantly clean-up
855 internal keymap provisions, refactoring and, in the process,
856 removing a lot of accumulated cruft.
858 allout-mode-map is now a keymap by virtue of being a defalias to
859 allout-mode-map-value, which contains the actual keymap structure.
861 (allout-mode): Use define-minor-mode rather than defun.
862 Remove now-unnecessary minor-mode setup activities from the body.
863 Specify :keymap as allout-mode-map so the minor-mode-map-alist
864 entry will be '(allout-mode . allout-mode-map) - see
865 allout-mode-map-value, below. Adjust docstring to track changes.
866 (allout-minor-mode): Remove this defalias, now that we're using
868 (allout-mode-map): Set value to be 'allout-mode-map. The actual
869 keymap is allout-mode-map-value, via defalias.
870 (allout-mode-map-value): The variable holding the actual mode
871 keymap structure, by virtue of defalias from allout-mode-map.
872 (allout-compose-and-institute-keymap): Rename from
873 allout-bind-keys, and including the binding-composition
874 functionality of the former produce-allout-mode-map and
875 allout-setup-mode-map.
876 (allout-institute-keymap): Take over the "setup" part of the former
877 allout-setup-mode-map. Reassign allout-mode-map-value value and
879 (allout-command-prefix) (allout-prefixed-keybindings)
880 (allout-unprefixed-keybindings):
881 Use allout-compose-and-institute-keymap to process the bindings.
882 (allout-unprefixed-keybindings): Remove extraneous '?' question
884 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
885 user can customize if they want to use that binding.
886 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
887 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
888 elided that, previously, instead of the one for \C-h.)
889 (allout-hotspot-key-handler): Remove attempt to resolve the key
890 through the literal key-string lookup on allout-keybindings-list.
891 That probably hasn't worked for a Long Time, and removal of
892 allout-keybindings-list further simplifies the keybindings
894 (allout-pre-command-business): Use allout-mode-map-value instead
896 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
897 the bindings if they want to use a keybinding having a trailing
898 \C-h. No deprecation needed since this feature was never in a
900 (allout-keybindings-list): Remove. It's not been useful for a
901 while. (See allout-hotspot-key-handler changes, above.)
902 (produce-allout-mode-map): Remove. Consolidate into
903 allout-compose-and-institute-keymap.
904 (allout-mode-map-adjustments): Remove. No longer necessary with
905 removal of allout-preempt-trailing-ctrl-h.
906 (allout-setup-mode-map): Remove. Consolidate into
907 allout-compose-and-institute-keymap and allout-institute-keymap.
909 2011-01-20 Glenn Morris <rgm@gnu.org>
911 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
913 * simple.el (read-expression-history): Remove, it's in minibuf.c.
915 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
917 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
919 * files.el (find-alternate-file, basic-save-buffer)
920 (basic-save-buffer-2, revert-buffer, recover-file)
921 (kill-buffer-ask, abort-if-file-too-large)
922 (set-visited-file-name, write-file, backup-buffer)
923 (basic-save-buffer, save-some-buffers):
924 * dired-aux.el (dired-compress-file): Callers changed.
926 2011-01-19 Glenn Morris <rgm@gnu.org>
928 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
929 Also check the property status. (Bug#7861)
931 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
933 * net/tramp.el (tramp-debug-message): Extend function exclude
934 list. Use `regexp-opt'.
936 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
938 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
939 highlighting doesn't spill over subsequent lines.
941 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
942 keymap expression. Improve docstring.
944 * electric.el (electric-indent-post-self-insert-function):
945 Don't auto-indent for indent-to-left-margin, it's too often
948 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
950 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
951 spaces if the frame was resized, so that the full visible buffer
952 serves as canvas for strokes.
954 2011-01-16 Glenn Morris <rgm@gnu.org>
956 * info-xref.el (info-xref-docstrings): Replace cl function.
957 Also skip directories.
959 2011-01-16 Kevin Ryde <user42@zip.com.au>
961 * info-xref.el: Version 3.
962 (info-xref-check, info-xref-check-all): Move commentary details
963 into docstrings for better visibility.
964 Use compilation-mode for the results buffer.
965 (info-xref-output, info-xref-output-error, info-xref-with-output)
966 (info-xref-filename, info-xref-in-progress):
967 New internals for this.
968 (info-xref-check-list, info-xref-check-buffer)
969 (info-xref-check-all-custom): Use those.
970 (info-xref-output-buffer): Rename from info-xref-results-buffer.
971 (info-xref-output-heading): Rename from info-xref-filename-heading.
972 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
973 (info-xref-filename-heading): Move to output managing section.
974 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
975 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
976 (info-xref-subfile-p): Move to generic section with those two.
977 (info-xref-check-node): New function split from
978 info-xref-check-buffer, shared by info-xref-docstrings.
979 (info-xref-goto-node-p): Move to a checking section with that func.
980 (info-xref-unavail): New counter.
981 (info-xref-check-node): Use it.
982 (info-xref-with-output): Show count of unavailables at end of output.
983 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
984 symlinks. Exclude .texi files. Exclude Emacs backup files.
985 (info-xref-check-all-custom): Fix quietening viper-mode and
986 gnus-registry-install -- use setq not let so as not to unbind
989 2011-01-16 Juri Linkov <juri@jurta.org>
991 * isearch.el (isearch-abort): Don't quit if search has
992 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
994 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
996 * files.el (backup-buffer): Make last-resort backup file in
999 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1000 make it with permission 700.
1002 2011-01-15 Kenichi Handa <handa@m17n.org>
1004 * mail/rmailmm.el (rmail-mime-insert-header):
1005 Set rmail-mime-coding-system to a cons whose car is the last coding
1006 system used to decode the header.
1007 (rmail-mime-find-header-encoding): New function.
1008 (rmail-mime-insert-decoded-text):
1009 Override rmail-mime-coding-system if it is a cons.
1010 (rmail-show-mime): If only a header part was decoded, find the
1011 coding system while ignoring mm-charset-override-alist.
1013 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1015 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1017 2011-01-15 Kenichi Handa <handa@m17n.org>
1019 * mail/rmailmm.el (rmail-mime-next-item)
1020 (rmail-mime-previous-item): Delete them.
1021 (rmail-mime-shown-mode): Recursively call for children.
1022 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1024 (rmail-mime-raw-mode): Recursively call for children.
1025 (rmail-mode-map): Change mapping of tab and backtab to
1026 forward-button and backward-button respectively.
1027 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1029 (rmail-mime-update-tagline): New function.
1030 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1031 body display is changed.
1032 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1033 (rmail-mime-image): Delete this button type.
1034 (rmail-mime-toggle): New button type.
1035 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1036 body display is changed. Change the save button label to "Save".
1037 Don't process show/hide button here.
1038 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1039 the body display is changed. Unconditionally call
1040 rmail-mime-insert for children.
1041 (rmail-mime-handle): Update `display' vector of the just inserted
1043 (rmail-mime-process): If mail-header-parse-content-type returns
1044 nil, use "text/plain" as the fallback type.
1045 (rmail-mime-insert): For raw-mode, recursively call
1046 rmail-mim-insert for children.
1047 (rmail-mime): Handle the case that the current buffer is not rmail
1048 buffer (e.g. in summary buffer).
1050 2011-01-15 Kenichi Handa <handa@m17n.org>
1052 * mail/rmailmm.el (rmail-mime-next-item)
1053 (rmail-mime-previous-item): Skip the body of a non-multipart
1054 entity if a tagline is shown.
1056 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1058 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1059 (tmm-prompt): Simplify.
1060 (tmm-add-prompt): Remove unused var `win'.
1062 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1063 to minor mode which used nil accidentally to mean "turn off".
1065 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1067 * net/tramp-sh.el (tramp-find-inline-compress)
1068 (tramp-get-inline-coding): Quote command after pipe symbol for
1069 local calls under W32. (Bug#6784)
1071 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1073 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1074 only when running under W32.
1076 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1078 * progmodes/grep.el (grep-compute-defaults): Quote the program
1079 file name after the pipe symbol in Grep templates. (Bug#6784)
1080 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1082 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1084 * buff-menu.el (Buffer-menu-buffer-list): New var.
1085 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1086 restricted buffer list is not lost on revert (Bug#7749).
1088 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1090 * net/ldap.el (ldap-search-internal): Discard stderr output.
1092 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1094 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1096 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1098 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1100 2011-01-15 Kenichi Handa <handa@m17n.org>
1102 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1103 part as a plain text.
1104 (rmail-mime-process-multipart): Set the default content-type to
1105 nil for unknown multipart subtypes (bug#7651).
1107 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1109 * hexl.el (hexl-mode-old-*): Remove.
1110 (hexl-mode--old-var-vals): New var to replace them.
1111 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1112 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1113 Use them to set local vars (bug#7846).
1114 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1115 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1116 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1118 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1119 (smerge-resolve--normalize-re): New var.
1120 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1121 (smerge-resolve): Use them.
1122 * newcomment.el (comment-only-p): New function.
1123 (comment-or-uncomment-region): Use it.
1125 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1127 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1128 table, get the value before switching to the output buffer. (Bug#7733)
1130 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1132 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1134 2011-01-14 Kim F. Storm <storm@cua.dk>
1136 * emulation/cua-base.el (cua--init-keymaps):
1137 Remap exchange-point-and-mark in cua-global-keymap.
1139 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1141 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1144 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1146 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1148 (easy-menu-create-menu, easy-menu-convert-item-1):
1149 Use :label rather than nil for labels. Use `case'.
1150 Add :enable as alias for :active.
1151 (easy-menu-binding): Obey :label.
1153 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1155 Use run-mode-hooks for major mode hooks (bug#513).
1156 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1157 Rename from reftex-toc-map.
1158 (reftex-toc-mode): Use define-derived-mode.
1159 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1160 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1161 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1162 (reftex-select-label-mode, reftex-select-bib-mode):
1163 Use define-derived-mode.
1164 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1165 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1166 Move init into delcaration.
1167 (reftex-index-mode, reftex-index-phrases-mode):
1168 Use define-derived-mode.
1169 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1170 speedbar-syntax-table. Move init into declaration.
1171 (speedbar-mode-map): Rename from speedbar-key-map.
1172 Move init into declaration.
1173 (speedbar-file-key-map): Move init into declaration.
1174 (speedbar-mode): Use define-derived-mode.
1175 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1176 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1177 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1178 (chart-face-list): Move initialization into declaration.
1179 (chart-mode): Use define-derived-mode.
1180 * calculator.el (calculator-mode-map): Move init into declaration.
1181 (calculator-mode): Use define-derived-mode.
1183 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1184 work for nested comments.
1186 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1187 (prolog-use-prolog-tokenizer-flag): Change default when
1188 syntax-propertize can be used.
1189 (prolog-syntax-propertize-function): New var.
1190 (prolog-mode-variables): Move make-local-variable into `set'.
1191 Don't make comment-column local since we don't set it.
1192 Set comment-add (as it was in previous prolog.el). Use dolist.
1193 Set syntax-propertize-function.
1194 (prolog-mode, prolog-inferior-mode):
1195 Call prolog(-inferior)-menu directly, not through the mode-hook.
1196 (prolog-buffer-module, prolog-indent-level)
1197 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1198 (prolog-comment-limits, prolog-goto-comment-column):
1199 Use line-(end|beginning)-position.
1200 (prolog-build-prolog-command): Tighten up regexp.
1201 (prolog-consult-compile): Move make-local-variable into `set'.
1202 (prolog-consult-compile-filter, prolog-goto-next-paren)
1203 (prolog-help-on-predicate, prolog-clause-info)
1204 (prolog-mark-predicate): Don't let+setq.
1205 (prolog-indent-line): Use indent-line-to.
1206 Only call prolog-goto-comment-column if necessary.
1207 (prolog-indent-level): Use bobp.
1208 (prolog-first-pos-on-line): Remove, not used any more.
1209 (prolog-in-string-or-comment): Use syntax-ppss if available.
1210 (prolog-help-on-predicate): Use read-string.
1211 (prolog-goto-predicate-info): Simplify.
1212 (prolog-read-predicate): Use `default' rather than `initial'.
1213 (prolog-temporary-file): Use make-temp-file to close a security hole.
1214 (prolog-toggle-sicstus-sd): New command.
1215 (prolog-electric-underscore, prolog-variables-to-anonymous):
1216 Use dynamic-scoping as it was meant.
1217 (prolog-menu): Move menu definitions to top-level.
1218 Use a toggle-button for Sicstus's source debugger.
1219 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1221 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1222 Move other menu definition to top-level.
1224 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1226 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1227 name. Keep original document's directory as default-directory
1229 (doc-view-initiate-display): Fall back to normal mode when
1230 doc-view-mode cannot be enabled, also when extracting the document
1231 text into a separate buffer (bug#6446).
1233 * simple.el (shell-command): Don't error out if shell command
1234 buffer contains text with non-nil read-only property when erasing
1237 2011-01-13 Kim F. Storm <storm@cua.dk>
1239 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1240 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1241 items when cycling through the matches.
1243 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1245 * dired-x.el (dired-omit-verbose): New defcustom that allows
1246 disabling the omit messages.
1247 (dired-omit-expunge): Use it.
1249 2011-01-13 Christian Ohler <ohler@gnu.org>
1251 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1253 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1255 * font-lock.el (font-lock-verbose): Default to nil.
1257 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1259 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1260 (compose-mail): New arg RETURN-ACTION.
1261 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1263 * mail/sendmail.el (mail-return-action): New var.
1264 (mail-mode): Make it buffer-local.
1265 (mail-bury): Obey it. Move special Rmail window handling to
1267 (mail, mail-setup): New arg RETURN-ACTION.
1268 (sendmail-user-agent-compose): Move from simple.el.
1270 * mail/rmail.el (rmail-mail-return): New function.
1271 (rmail-start-mail): Pass it to compose-mail.
1273 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1275 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1276 menus. Add menu item for customize-themes.
1278 * cus-theme.el (customize-themes):
1279 * emacs-lisp/package.el (package--list-packages):
1280 Use switch-to-buffer.
1282 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1284 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1286 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1288 * progmodes/prolog.el: Fix up coding convention and such.
1289 (prolog-indent-width): Use the same default as in
1290 previous prolog.el rather than tab-width which depends on which buffer
1291 is current when the file is loaded.
1292 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1294 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1295 (prolog-known-systems): Remove.
1296 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1297 Move initialization into declaration.
1298 (prolog-mode-map): Move initialization into declaration.
1299 Remove system-specific mode-map vars, since they referred to the same
1301 (prolog-mode-variables): Obey the user's preference w.r.t
1302 adaptive-fill-mode. Prefer symbol-value to `eval'.
1303 (prolog-mode-keybindings-edit): Add compatibility bindings.
1304 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1305 (mercury-mode-map): New var.
1306 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1307 (prolog-ensure-process, prolog-process-insert-string)
1308 (prolog-consult-compile): Use with-current-buffer.
1309 (prolog-guess-fill-prefix): Simplify data flow.
1310 (prolog-replace-in-string): New function to use instead of
1312 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1313 (prolog-uncomment-region): Use `uncomment-region' when available.
1314 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1315 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1316 of int-to-char and char-to-int.
1317 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1319 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1321 * progmodes/prolog.el: Replace by a whole new file.
1323 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1325 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1326 (declare-function, undefined, insert-for-yank)
1327 (replace-regexp-in-string): Follow checkdoc's recommendations.
1329 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1332 refreshing the diary buffer.
1334 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1336 * allout.el: Add 2011 to the file copyright.
1337 (allout-encrypt-string): Prevent encryption from adding an extra
1338 newline at the end of the topic body.
1339 (allout-version): Increment to 2.3.
1341 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1343 * net/dbus.el (dbus-unregister-service): Complete doc.
1344 Fix call of dbus-error signal.
1345 (dbus-register-property): Use `dont-register' keyword.
1347 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1349 * net/dbus.el (dbus-unregister-service): Translate returned
1350 integer into a symbol.
1351 (dbus-register-property): Use `dbus-register-service' to do the
1354 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1356 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1357 Suggested by Joakim Verona.
1359 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1361 * wid-edit.el (visibility): Replace :on-image and :off-image
1362 widget properties with :on-glyph and :off-glyph, for consistency
1363 with the `visibility' widget.
1364 (widget-toggle-value-create, widget-visibility-value-create):
1365 Merge into a single function `widget-toggle-value-create'.
1367 * cus-edit.el (custom-variable-value-create, custom-visibility)
1368 (custom-face-edit-value-create, custom-face-value-create):
1369 Replace :on-image and :off-image widget properties with :on-glyph and
1370 :off-glyph, for consistency with the `visibility' widget.
1372 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1374 * net/ldap.el (ldap-search-internal): Don't use eval.
1376 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1378 * subr.el (read-char-choice): Use read-key.
1380 * custom.el (custom-safe-themes): Rename from
1381 custom-safe-theme-files. Add :risky tag.
1382 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1383 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1385 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1387 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1388 from Search and add a label to Undo.
1390 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1391 inappropriate buttons and adding :vert-only tags.
1393 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1394 removal of Help tool-bar button. Remove Undo button for space.
1396 * info.el (info-tool-bar-map): Add :vert-only tags.
1398 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1400 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1401 image backend support. Either of them is fine.
1403 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1405 * subr.el (y-or-n-p): Doc fix.
1407 * custom.el (custom-safe-theme-files): New defcustom.
1408 (custom-theme-load-confirm): New function.
1409 (load-theme): Load theme using `load', confirming with
1410 custom-theme-load-confirm if necessary.
1412 * subr.el (read-char-choice): New function, factored out from
1413 dired-query and hack-local-variables-confirm.
1415 * dired-aux.el (dired-query):
1416 * files.el (hack-local-variables-confirm): Use it.
1418 * dired-aux.el (dired-compress-file):
1419 * files.el (abort-if-file-too-large, find-alternate-file)
1420 (set-visited-file-name, write-file, backup-buffer)
1421 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1422 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1423 Use new format string args for y-or-n-p and yes-or-no-p.
1425 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1427 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1428 [gcc-include]: Tighten file name match, add match for column
1430 [gnu]: Remove unused group.
1432 2011-01-08 Glenn Morris <rgm@gnu.org>
1434 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1436 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1438 2011-01-07 Sam Steingold <sds@gnu.org>
1440 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1441 the `explicit-shell-file-name' because that is the
1442 non-interactive shell.
1444 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1446 * subr.el (y-or-n-p): Accept format string args.
1448 2011-01-07 Glenn Morris <rgm@gnu.org>
1450 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1452 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1454 * allout.el (allout-back-to-current-heading): Ensure return to
1455 the visible containing topic, rather than a collapsed one.
1456 (allout-view-change-hook): Remove hook that was deprecated long ago.
1457 (allout-exposure-change-hook): Remove documentation remarks
1458 concerning removed allout-view-change-hook.
1459 (allout-flag-region): Remove invocation of and documentation
1460 remarks concerning allout-view-change-hook.
1462 2011-01-06 Glenn Morris <rgm@gnu.org>
1464 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1465 (vc-bzr-annotate-extract-revision-at-line):
1466 Handle authors with embedded spaces. (Bug#7792)
1468 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1470 * doc-view.el (doc-view-image-width): New variable.
1471 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1472 backend for PNG images, and do dynamic rescaling instead of
1473 reconverting the whole doc.
1475 2011-01-05 Glenn Morris <rgm@gnu.org>
1477 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1479 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1481 * allout.el: Reconcile with changes in line movement behavior for
1482 long text lines that cross more than a single physical window
1483 line, ie when truncate-lines is nil.
1484 (allout-next-visible-heading): Provide for change in line-move
1485 behavior on long lines when truncate-lines is nil. In that case,
1486 line-move can wind up on the same textual line when it moves to
1487 the next window line, and moving to the bullet position after the
1488 move yields zero advancement. Add logic to detect and compensate
1489 for the lack of progress.
1490 (allout-current-topic-collapsed-p): move-end-of-line respect for
1491 field boundaries is different when operating with body lines
1492 shorter than window width versus ones greater than window width,
1493 which can yield false negatives in this function. Avoid
1494 difference by applying move-end-of-line while field-text-motion is
1497 2011-01-04 Glenn Morris <rgm@gnu.org>
1499 * textmodes/rst.el (rst-compile-toolsets):
1500 Add pdf and s5 to option alist.
1502 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1504 * net/dbus.el (dbus-register-property): Add optional parameter
1505 dont-register-service. Updated docstring accordingly.
1507 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1509 * textmodes/rst.el (rst-compile-pdf-preview)
1510 (rst-compile-slides-preview): Remove extra line.
1512 2011-01-04 Glenn Morris <rgm@gnu.org>
1514 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1515 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1516 default to `prog' without a .py extension.
1517 (rst-compile-pdf-preview, rst-compile-slides-preview):
1518 Use program names from rst-compile-toolsets, rather than hard-coding.
1519 (rst-portable-mark-active-p): Fix presumed typo.
1521 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1523 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1524 libpng versions both before and after 1.4.0. (Bug#7716)
1526 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1528 * time.el (display-time-mode): Mention display-time-interval in
1529 the doc string. (Bug#7713)
1531 2011-01-02 Kenichi Handa <handa@m17n.org>
1533 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1534 condition-case and return an error message string if something
1536 (rmail-show-mime): Adjust for the above change. Insert the
1537 header by rmail-mime-insert-header.
1539 2011-01-02 Kenichi Handa <handa@m17n.org>
1541 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1542 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1543 (rmail-mime-mbox-buffer)
1544 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1545 (rmail-mime-entity): Argument changed. All codes handling an
1546 entity object are changed.
1547 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1549 (rmail-mime-entity-children, rmail-mime-entity-handler)
1550 (rmail-mime-entity-tagline): New functions.
1551 (rmail-mime-message-p): New function.
1552 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1553 (rmail-mime-entity-segment, rmail-mime-next-item)
1554 (rmail-mime-previous-item, rmail-mime-shown-mode)
1555 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1556 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1557 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1559 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1560 (rmail-mime-insert-decoded-text): New function.
1561 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1562 (rmail-mime-insert-image): Argument changed. Caller changed.
1563 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1564 (rmail-mime-set-bulk-data): New funciton.
1565 (rmail-mime-insert-bulk): Argument changed.
1566 (rmail-mime-multipart-handler): Return t.
1567 (rmail-mime-process-multipart): Argument changed.
1568 Handle "multipart/alternative" here.
1569 (rmail-mime-process): Argument changed.
1570 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1571 (rmail-mime-insert): Argument changed. Handle raw display mode.
1572 (rmail-mime): Argument changed. Handle toggling of raw display
1574 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1575 rmail-mime-view-buffer.
1576 (rmail-insert-mime-forwarded-message): Likewise.
1577 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1579 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1580 non-nil, handle the header in rmail-show-mime-function.
1582 2011-01-02 Leo <sdl.web@gmail.com>
1584 * help-fns.el (describe-variable): Fix previous change.
1586 2011-01-02 Juri Linkov <juri@jurta.org>
1588 * isearch.el (isearch-lazy-highlight-error): New variable.
1589 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1590 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1591 to the current value of `isearch-error' (Bug#7468).
1593 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1595 * help-fns.el (describe-variable): Don't emit trailing whitespace
1598 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1600 * textmodes/rst.el (rst-compile-pdf-preview)
1601 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1603 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1605 * emulation/edt-mapper.el: Override mapping of function keys so
1606 that the later call to read-key-sequence works.
1608 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1610 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1611 Unix EOLs. (Bug#7589)
1613 2011-01-02 Leo <sdl.web@gmail.com>
1615 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1616 if point is not behind eshell-last-output-end (Bug#7585).
1618 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1620 * files.el (file-local-variables-alist):
1621 Make permanent-local (bug#7767).
1623 2011-01-02 Glenn Morris <rgm@gnu.org>
1625 * version.el (emacs-copyright): Set short copyright year to 2011.
1627 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1629 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1630 an existing temp buffer. (Bug#7746)
1632 2011-01-02 Glenn Morris <rgm@gnu.org>
1634 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1635 multiple addresses. (Bug#7760)
1637 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1639 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1640 do-auto-fill if everything points back to allout-auto-fill.
1641 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1642 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1644 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1646 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1649 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1651 * doc-view.el (doc-view-set-doc-type): New function refactored
1653 (doc-view-fallback-mode): New function.
1654 (doc-view-mode): Use it.
1655 (doc-view-mode-maybe): New function that checks if doc-view-mode
1656 can be used and falls back to the next best mode otherwise.
1658 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1659 DVI, OpenDocument, and MS Office files.
1661 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1663 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1665 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1667 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1668 on a copy of auto-mode-alist, because that deletes with side
1671 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1673 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1674 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1675 fallback instead of hard coding fundamental mode.
1677 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1679 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1680 Office) files also for searching.
1682 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1684 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1685 Office) files. Not yet enabled via auto-mode-list.
1686 (doc-view-unoconv-program): New custom variable.
1687 (doc-view-mode-p): Handle new odf document type.
1688 (doc-view-odf->pdf): New conversion function.
1689 (doc-view-convert-current-doc): Call it for odf files.
1690 (doc-view-mode): Recognize newly supported file extensions.
1692 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1694 * net/tramp.el (tramp-default-method-alist)
1695 (tramp-default-user-alist)
1696 (tramp-local-host-regexp, tramp-prefix-domain-format)
1697 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1700 * net/tramp-gvfs.el:
1702 * net/tramp-imap.el:
1704 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1705 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1707 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1709 * saveplace.el (save-place-alist-to-file): Save list sorted and
1710 pretty-printed, so that it is mergeable by line-based text merging,
1711 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1713 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1715 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1716 (allout-mode): Argument "toggle" => "force".
1717 Refine the docstring.
1718 Remove special provisions for reactivation, besides the 'force'
1720 Consolidate layout provisions coce directly into the activation
1721 condition branch, now that we've removed those provisions.
1722 (allout-unload-function): Explicitly activate the mode before
1723 deactivating, if it's initially deactivated.
1724 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1725 warnings for version of function used only where
1726 set-buffer-multibyte is unavailable.
1728 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1730 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1731 are handled by the menu-bar entries. As before, don't use
1732 :visibile to avoid changing the tool-bar.
1734 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1736 * net/secrets.el (secrets-delete-alias): New defun.
1738 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1740 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1741 methods, otherwise ~/.ssh/config would be ignored.
1743 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1745 * emacs-lisp/rx.el: Make it a superset of sregex.
1746 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1747 of args, add `regex' alias.
1748 (rx-info): Add arg to distinguish head and standalone forms.
1749 (rx-check, rx-form): Pass the corresponding arg.
1751 (rx-repeat): Make it work for any number of args.
1752 (rx-syntax): Make it accept syntax chars as is.
1753 * obsolete/sregex.el: Move from emacs-lisp/.
1754 * emacs-lisp/re-builder.el: Remove sregex support.
1755 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1757 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1759 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1760 PRIMARY first, then the clipboard. (Bug#7699)
1762 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1764 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1767 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1769 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1770 .emacs.elc (Bug#7530).
1772 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1773 image spec (Bug#7480).
1775 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1777 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1778 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1781 2010-12-20 Leo <sdl.web@gmail.com>
1783 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1784 always be performed (Bug#7680).
1786 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1788 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1789 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1792 * color.el: Move from gnus/.
1794 * vc/diff.el (diff-better-file-name): Function deleted.
1795 abbreviating file names causes problems with shell-quote-argument.
1796 (diff-no-select): Just use expand-file-name.
1798 * tool-bar.el (tool-bar--image-expression): New function.
1799 (tool-bar-local-item, tool-bar--image-exp): Use it.
1800 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1801 Use :enable instead of :visible to avoid changing the tool-bar
1802 configuration unnecessarily.
1804 * info.el (info-tool-bar-map): Add separators.
1806 2010-12-17 Ken Brown <kbrown@cornell.edu>
1808 * loadup.el: Use version numbers in Cygwin build.
1810 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1812 * ido.el (ido-file-internal): Ask for confirmation before
1813 overwriting an existing file (Bug#1238).
1815 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1817 * tool-bar.el (tool-bar-setup): Add separators.
1819 * menu-bar.el (featurep): Use menu-bar-separator.
1821 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1823 Migrate allout encryption provisions from pgg to epg.
1825 * allout.el (allout-toggle-current-subtree-encryption)
1826 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1827 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1828 for simpler universal argument interpretation.
1829 (allout-toggle-subtree-encryption): Adjust docstring to describe
1830 changed encryption provisions. Change fetch-pass to keymode-cue, for
1831 simpler universal argument interpretation. Remove provisions for
1832 handling key type and identity - they'll all be within
1833 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1834 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1835 for keypair recipients (universal argument > 1) and, in addition,
1836 associating the specified recipients with the outline (universal
1837 argument > 4) using a file local variable setting for
1838 'epa-file-encrypt-to'.
1839 Require epa, for recipients handling.
1840 Change how regexp filtering elements are named.
1841 Describe the problem with caching of incorrect symmetric-decryption
1843 Use the epa-passphrase-callback-function, in case the user is using
1845 Support saving of the selected keypair recipients when invoked with a
1847 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1849 Establish epg-context with armoring and default epg-protocol.
1850 Remove all passphrase cache, verification, and hinting code.
1851 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1852 No longer used, delete.
1853 (allout-mode): Adjust docstring to describe changed encryption
1854 provisions. Describe the problem with caching of incorrect
1855 symmetric-decryption keys.
1856 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1857 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1858 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1859 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1862 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1864 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1865 key selection prompt; make 'silent as default (Bug#7487).
1867 2010-12-16 Leo <sdl.web@gmail.com>
1869 * eshell/eshell.el (eshell-directory-name):
1870 Use locate-user-emacs-file (Bug#7578).
1872 2010-12-15 Glenn Morris <rgm@gnu.org>
1874 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1876 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1877 Scott Evans <gse@antisleep.com>
1879 * rect.el (rectange--default-line-number-format)
1880 (rectangle-number-line-callback): New functions.
1881 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1883 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1885 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1886 Delete unused variables.
1887 (move-to-column-force): Remove function obsolete since 21.2.
1889 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1891 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1892 (tramp-handle-insert-file-contents): Do not set permanent-local
1895 * net/tramp-cache.el (tramp-persistency-file-name):
1896 Use `locate-user-emacs-file' if fboundp.
1898 * net/tramp-sh.el (tramp-methods): Add "ksu".
1899 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1902 2010-12-14 Glenn Morris <rgm@gnu.org>
1904 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1905 (find-tag-marker-ring): Declare.
1906 (js-find-symbol): Require etags.
1908 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1910 (mail-alias-file): Don't autoload. Doc fix.
1911 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1912 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1913 Mark as obsolete, and risky.
1914 (mail-setup): Simplify.
1916 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1917 * mail/sendmail.el (build-mail-aliases): Update autoload.
1919 * dired.el (dired-trivial-filenames, dired-chown-program)
1920 (dired-auto-revert-buffer): Remove autoload cookies.
1921 * mail/sendmail.el (mail-recover-1): Require 'dired.
1923 * dired.el (dired-subdir-switches, dired-chown-program)
1924 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1925 Make into defcustoms.
1926 (dired-chown-program): Simplify initialization.
1928 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1930 2010-12-13 Romain Francoise <romain@orebokech.com>
1932 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1934 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1936 * net/netrc.el (netrc-point-at-eol): Remove the unused
1937 netrc-point-at-old and netrc-bound-and-true-p bindings.
1938 (netrc-parse): Cache the netrc contents.
1940 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1942 * subr.el (posn-col-row): Evaluate header-line-format in the
1943 context of the POSITION window's buffer.
1945 2010-12-13 Glenn Morris <rgm@gnu.org>
1947 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1948 (with-silent-modifications): Doc fixes.
1950 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1952 * net/tramp.el (tramp-action-password, tramp-process-actions):
1953 Revert previous from. Use `save-restriction'.
1955 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1957 * calendar/diary-lib.el (diary-list-sexp-entries):
1958 Handle case of no newline at end of file. (Bug#7536)
1960 2010-12-13 Glenn Morris <rgm@gnu.org>
1962 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1964 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1966 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1967 (tramp-process-actions): Do not widen.
1969 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1970 Protect buffer-modified value. (Bug#7557)
1972 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1974 * log-edit.el (log-edit-changelog-entries):
1975 Regexp quote filename. (Bug#7505)
1977 2010-12-13 Tom Breton <tehom@panix.com>
1979 * cus-edit.el (custom-save-all):
1980 Bind print-length and print-level to nil. (Bug#7581)
1982 2010-12-13 Glenn Morris <rgm@gnu.org>
1984 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1985 Run hooks to update menu contents. (Bug#7586)
1987 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1988 file names, for the sake of MS Windows. (Bug#7588)
1990 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1992 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1993 empty lines without a leading space.
1995 2010-12-13 Leo <sdl.web@gmail.com>
1997 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1998 while mapping over marks (Bug#6810).
2000 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2002 * image-dired.el (image-dired-db-file)
2003 (image-dired-temp-image-file, image-dired-gallery-dir)
2004 (image-dired-temp-rotate-image-file): Set default values relative
2005 to image-dired-dir (Bug#7518).
2007 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2009 * format.el (format-decode-run-method): Pass args FROM and TO, not
2010 point-min and point-max, to shell-command-on-region (Bug#7488).
2012 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2014 * frame.el (blink-cursor-mode): Make default t for ns.
2016 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2018 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2020 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2022 * comint.el (comint-dynamic-list-input-ring)
2023 (comint-dynamic-complete-filename)
2024 (comint-replace-by-expanded-filename)
2025 (comint-dynamic-simple-complete)
2026 (comint-dynamic-list-filename-completions)
2027 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2029 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2032 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2034 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2037 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2039 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2042 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2044 * files.el (file-relative-name): Handle UNC file names on
2045 DOS/Windows. (Bug#4674)
2047 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2049 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2050 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2051 (epg-context-set-passphrase-callback): Mention that the callback
2052 is not called when used with GnuPG 2.x.
2054 2010-12-13 Glenn Morris <rgm@gnu.org>
2056 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2057 Ensure ps-footer-font-size-internal is initialized.
2058 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2060 2010-12-13 Kenichi Handa <handa@m17n.org>
2062 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2063 within condition-case.
2064 (rmail-show-mime): Don't use condition-case.
2065 (rmail-search-mime-message): New function.
2066 (rmail-search-mime-message-function): Set to
2067 rmail-search-mime-message.
2069 2010-12-13 Leo <sdl.web@gmail.com>
2071 * ido.el (ido-common-initialization): New function. (bug#3274)
2073 (ido-completing-read): Call it.
2075 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2077 * bookmark.el (bookmark-name-from-full-record): Rename back to
2078 this original name from `bookmark-name-from-record' reverting part
2079 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2080 As Drew Adams pointed out, there was no reason to cause churn for
2081 third-party callers.
2083 2010-12-12 Alan Mackenzie <acm@muc.de>
2085 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2086 template arglist, check that the current language supports this.
2088 2010-12-11 Glenn Morris <rgm@gnu.org>
2090 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2091 state of the file matches. (Bug#7544)
2092 (vc-bzr-register, vc-bzr-checkin)
2093 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2094 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2096 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2098 2010-12-11 Karel Klíč <kklic@redhat.com>
2100 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2102 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2104 Derive from prog-mode, use derived-mode-p, and fix up various
2105 minor style issues in lisp/progmodes.
2107 * progmodes/vhdl-mode.el (vhdl-mode):
2108 * progmodes/verilog-mode.el (verilog-mode):
2109 * progmodes/vera-mode.el (vera-mode):
2110 * progmodes/sql.el (sql-mode):
2111 * progmodes/scheme.el (scheme-mode):
2112 * progmodes/perl-mode.el (perl-mode):
2113 * progmodes/octave-inf.el (inferior-octave-mode):
2114 * progmodes/autoconf.el (autoconf-mode):
2115 * progmodes/m4-mode.el (m4-mode):
2116 * progmodes/inf-lisp.el (inferior-lisp-mode):
2117 * progmodes/idlwave.el (idlwave-mode):
2118 * progmodes/icon.el (icon-mode):
2119 * progmodes/idlw-help.el (idlwave-help-mode):
2120 * progmodes/dcl-mode.el (dcl-mode):
2121 * progmodes/idlw-shell.el (idlwave-shell-mode):
2122 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2123 (ebrowse-member-mode, ebrowse-electric-position-mode):
2124 Use define-derived-mode.
2126 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2127 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2128 (xscheme-debugger-mode-p, xscheme-send-string-1):
2129 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2130 (tcl-load-file, tcl-restart-with-file):
2131 * progmodes/ps-mode.el (ps-run-running):
2132 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2133 * progmodes/js.el (js--get-all-known-symbols):
2134 * progmodes/inf-lisp.el (inferior-lisp-proc):
2135 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2136 (idlwave-template, idlwave-update-buffer-routine-info)
2137 (idlwave-update-current-buffer-info)
2138 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2139 (idlwave-scan-class-info, idlwave-fix-keywords)
2140 (idlwave-list-buffer-load-path-shadows):
2141 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2142 (idlwave-toolbar-remove):
2143 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2144 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2145 (idlwave-shell-menu-def):
2146 * progmodes/idlw-complete-structtag.el
2147 (idlwave-prepare-structure-tag-completion):
2148 * progmodes/gud.el (gud-set-buffer):
2149 * progmodes/f90.el (f90-backslash-not-special):
2150 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2152 * progmodes/xscheme.el (xscheme-start)
2153 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2154 * progmodes/which-func.el (which-function):
2155 * progmodes/vhdl-mode.el (vhdl-set-style):
2156 * progmodes/verilog-mode.el (verilog-set-compile-command)
2157 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2158 (verilog-set-define, verilog-auto-reeval-locals):
2159 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2160 * progmodes/simula.el (simula-mode):
2161 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2162 * progmodes/python.el (python-check, python-mode):
2163 * progmodes/prolog.el (prolog-mode-variables):
2164 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2165 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2166 * progmodes/delphi.el (delphi-mode):
2167 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2168 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2169 (c-font-lock-init): Move make-local-variable to their setq.
2171 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2172 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2174 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2175 (sh-set-shell): Don't set require-final-newline since it's already done
2177 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2178 since we never set it.
2179 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2180 Use read-string and standard prompt.
2181 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2182 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2183 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2184 (meta-common-mode-map): Rename from meta-mode-map.
2185 Remove C-m binding, which is a user preference, not mode specific.
2186 (meta-common-mode): New major mode; replace meta-common-initialization.
2187 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2188 around with font-lock.
2189 * progmodes/etags.el (select-tags-table-mode):
2190 Derive from special-mode.
2191 * progmodes/octave-mod.el (octave-mode):
2192 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2193 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2194 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2195 Let define-derived-mode do its job.
2196 * progmodes/cpp.el (cpp-edit-mode-map):
2197 Move initialization into declaration.
2198 (cpp-edit-mode): Use define-derived-mode.
2199 (cpp-edit-load): Use derived-mode-p.
2200 * progmodes/mixal-mode.el (mixal-mode):
2201 * progmodes/f90.el (f90-mode):
2202 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2203 require-final-newline since prog-mode does it already.
2204 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2205 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2206 * progmodes/antlr-mode.el: Require cc-mode upfront.
2207 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2209 (antlr-directory-dependencies, antlr-show-makefile-rules):
2211 (antlr-language-option): Don't assume point-min==1.
2212 (antlr-mode): Use define-derived-mode.
2213 * progmodes/ada-mode.el: Use derived-mode-p.
2214 (ada-mode): Use define-derived-mode.
2215 Use hack-local-variables-hook.
2217 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2219 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2220 (texinfo-mode): Don't disable adaptive-fill-mode.
2221 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2222 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2223 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2224 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2225 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2226 (texinfo-insert-@quotation, texinfo-insert-@samp)
2227 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2228 (texinfo-insert-@uref): Use define-skeleton.
2229 (texinfo-insert-@-with-arg): Delete.
2231 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2233 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2234 nil, do quote archive member names. (Bug#6144)
2236 2010-12-10 Glenn Morris <rgm@gnu.org>
2238 * files.el (diff-no-select): Declare.
2240 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2241 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2243 * comint.el (comint-input-ring-file-name): Doc fix.
2245 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2247 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2249 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2250 Use them instead of `nil' and `>', respectively.
2251 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2253 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2254 and menu-bar-positive-p instead of `nil' and `>', respectively.
2257 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2259 * whitespace.el (whitespace-newline-mode): Code fix.
2261 2010-12-09 Glenn Morris <rgm@gnu.org>
2263 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2264 Rename functions without commas, update callers.
2266 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2268 * whitespace.el (whitespace-cleanup-region):
2269 Clean up spaces before tabs. (Bug#7582)
2271 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2273 * bookmark.el: Adjust parameter names and doc strings to resolve
2274 confusion over whether "bookmark" meant a bookmark name or a
2275 bookmark record. Along the way, shorten one function's name for
2276 similar reasons. (Issue #7548)
2277 (bookmark-name-from-record): New name for
2278 `bookmark-name-from-full-record'. All callers changed.
2279 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2280 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2281 (bookmark-get-annotation, bookmark-set-annotation)
2282 (bookmark-get-filename, bookmark-set-filename)
2283 (bookmark-get-position, bookmark-set-position)
2284 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2285 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2286 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2287 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2288 Rename `bookmark' parameter to `bookmark-name-or-record', to
2289 clearly show its role, and shorten or adjust doc strings accordingly.
2290 (bookmark-set-name): Same, and pass the parameter directly to
2291 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2292 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2293 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2294 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2295 and in some cases shorten doc string accordingly.
2296 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2297 and `new-name', and adjust an internal variable to avoid confusion.
2298 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2299 parameter in doc string.
2301 2010-12-08 Glenn Morris <rgm@gnu.org>
2303 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2304 from gdb's history file. (Bug#7575)
2306 * mail/emacsbug.el (report-emacs-bug):
2307 Try to handle some other mail clients.
2309 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2311 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2312 Use string-prefix-p.
2313 (file-name-version-regexp): New var.
2314 (file-name-sans-versions):
2315 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2316 (jka-compr-get-compression-info): Use dolist.
2317 (jka-compr-compression-info-list): Don't bother specifying
2318 version/backup regexps.
2320 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2322 * simple.el (just-one-space): Make argument n default to 1 if
2325 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2327 * electric.el (electric-indent-post-self-insert-function):
2328 Delete trailing newlines even if we don't reindent.
2330 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2332 * minibuffer.el (completion-at-point): Remove the `arg'.
2333 * bindings.el (complete-symbol): Move back from minibuffer.el.
2335 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2337 * simple.el (just-one-space): Delete newlines for negative arg.
2339 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2341 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2342 (ansi-color-filter-apply): Simplify.
2343 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2345 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2347 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2349 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2351 * dired.el (dired-use-ls-dired): Set default to a special
2352 "unspecified" value.
2353 (dired-insert-directory): When called the first time, check
2354 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2356 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2358 * replace.el: Add "collect" feature to occur.
2359 (occur-collect-regexp-history): New var.
2360 (occur-read-primary-args): Return a replace string for nlines,
2362 (occur): Extend the meaning of nlines.
2364 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2366 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2367 (which-func-update-1): Distinguish symbols from strings.
2368 (which-function): Stay within 80 columns.
2370 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2372 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2374 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2376 (comment-style): Use comment-styles's docs to describe values.
2378 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2380 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2381 and ns-show-prefs (Bug#7535).
2383 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2384 bindings (Bug#7535).
2386 2010-12-03 Glenn Morris <rgm@gnu.org>
2388 * nxml/nxml-mode.el: Require rng-nxml.
2389 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2390 Remove declarations.
2392 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2393 * nxml/rng-nxml.el, nxml/rng-valid.el:
2394 Remove leading `*' from defcustom docs.
2396 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2397 (normal-top-level-add-to-load-path, tty-handle-args):
2398 Convert comments to basic doc-strings.
2400 * net/browse-url.el (browse-url-url-at-point)
2401 (browse-url-default-browser): Remove autoload cookies.
2403 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2404 Remove more undefined cl functions.
2406 * vc/diff.el (diff-sentinel): Make new arguments optional.
2407 * ibuf-ext.el (diff-sentinel): Update declaration.
2409 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2411 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2412 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2413 (epg-context-set-passphrase-callback): Mention that the callback
2414 is not called when used with GnuPG 2.x.
2416 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2418 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2419 (tramp-file-name-port): Check also for `tramp-default-port'.
2420 (tramp-get-connection-name): New defun.
2421 (tramp-get-connection-process): Use it.
2422 (tramp-debug-message): Extend function exclude list.
2423 (tramp-drop-volume-letter): Fix doc string.
2425 * net/tramp-cmds.el: Remove solved todo item.
2429 * net/tramp-gvfs.el:
2431 * net/tramp-imap.el:
2432 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2433 and `tramp-default-user-alist', respectively.
2435 * net/tramp-gw.el (tramp-gw-open-connection):
2436 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2438 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2439 `tramp-file-name-port'.
2441 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2442 and "psftp". Exchange "%k" marker with options.
2443 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2444 Compute size of link target.
2445 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2446 `tramp-current-*' up due to gateway methods. Optimze computing of
2447 copy arguments. Use `tramp-get-connection-name' and
2448 `tramp-get-connection-buffer'. Improve debug messages.
2449 (tramp-compute-multi-hops): Remove port determination.
2450 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2452 * net/trampver.el: Update release number.
2454 2010-12-02 Glenn Morris <rgm@gnu.org>
2456 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2457 Avoid infinite loop over windows. (Bug#7492)
2459 * progmodes/flymake.el (flymake-check-file-limit):
2460 Allow nil to mean "no limit".
2461 (flymake-check-patch-master-file-buffer): Update for above change.
2462 Allow a .tex file-name extension to be optional.
2463 (flymake-master-tex-init): Also match \include statements.
2465 2010-11-30 Sam Steingold <sds@gnu.org>
2467 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2468 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2469 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2470 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2471 define-derived-mode').
2472 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2473 users who want to call `nxml-parent-document-set'.
2475 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2477 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2478 stand-alone lines, since that is handled by log-edit-match-to-eoh
2481 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2483 * dired.el (dired-get-filename): Replace backslashes with slashes
2484 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2485 * locate.el (locate-default-make-command-line): Don't consider
2486 drive letter and root directory part of
2487 `directory-listing-before-filename-regexp'. (Bug#7308)
2488 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2490 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2492 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2493 of :smie-open/close-alist.
2494 (smie-next-sexp): Make it accept a "start token" as argument.
2495 (smie-indent-keyword): Be careful not to misidentify tokens that span
2496 more than one line, as empty lines. Add argument `token'.
2498 2010-11-27 Kenichi Handa <handa@m17n.org>
2500 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2501 multipart subtypes, insert all as usual.
2503 * mail/rmail.el: Require rfc2047.
2505 2010-11-27 Kenichi Handa <handa@m17n.org>
2507 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2508 (rmail-mime-entity-disposition)
2509 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2510 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2511 (rmail-mime-save): Handle the case that the button's `data' is a
2513 (rmail-mime-insert-text): New function.
2514 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2515 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2516 (rmail-mime-insert-bulk): New function mostly copied from the old
2517 rmail-mime-bulk-handler.
2518 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2519 (rmail-mime-process-multipart): New function mostly copied from
2520 the old rmail-mime-multipart-handler.
2521 (rmail-mime-show): Just call rmail-mime-process.
2522 (rmail-mime-process): New function mostly copied from the old
2524 (rmail-mime-insert-multipart, rmail-mime-parse)
2525 (rmail-mime-insert, rmail-show-mime)
2526 (rmail-insert-mime-forwarded-message)
2527 (rmail-insert-mime-resent-message): New functions.
2528 (rmail-insert-mime-forwarded-message-function): Set to
2529 rmail-insert-mime-forwarded-message.
2530 (rmail-insert-mime-resent-message-function): Set to
2531 rmail-insert-mime-resent-message.
2533 * mail/rmailsum.el: Require rfc2047.
2534 (rmail-header-summary): Handle multiline Subject: field.
2535 (rmail-summary-line-decoder): Change the default to
2536 rfc2047-decode-string.
2538 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2539 (rmail-mime-feature): Change the default to `rmailmm'.
2540 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2541 (rmail-display-labels): Likewise.
2542 (rmail-show-message-1): Check rmail-enable-mime, and use
2543 rmail-show-mime-function for a MIME message. Decode the headers
2544 according to RFC2047.
2546 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2548 * progmodes/which-func.el (which-func-imenu-joiner-function):
2549 Return a string, as expected.
2550 (which-function-mode): Make sure we stop any previous timer before
2553 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2555 * net/tramp.el (tramp-default-method-alist)
2556 (tramp-default-user-alist, tramp-default-proxies-alist):
2557 Adapt custom options type. (Bug#7445)
2559 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2561 * progmodes/python.el: Add Ipython support (Bug#5390).
2562 (python-shell-prompt-alist)
2563 (python-shell-continuation-prompt-alist): New options.
2564 (python--set-prompt-regexp): New function.
2565 (inferior-python-mode, run-python, python-shell):
2566 Require ansi-color. Use python--set-prompt-regexp to set the comint
2567 prompt based on the Python interpreter.
2568 (python--prompt-regexp): New var.
2569 (python-check-comint-prompt)
2570 (python-comint-output-filter-function): Use it.
2571 (run-python): Use a pipe (Bug#5694).
2573 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2575 * progmodes/python.el (run-python): Doc fix.
2576 (python-keep-current-directory-in-path): New var (Bug#7454).
2578 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2580 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2581 Prompt user before actually printing.
2583 2010-11-27 Glenn Morris <rgm@gnu.org>
2585 * startup.el (package-enable-at-startup, package-initialize):
2586 Remove unnecessary declarations.
2588 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2590 * international/characters.el (glyphless-char-display-control):
2591 Exclude newline and TAB from the c0-control group.
2593 2010-11-27 Glenn Morris <rgm@gnu.org>
2595 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2596 (expand-mail-aliases): Remove unnecessary autoload.
2598 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2600 * shell.el (shell-dir-cookie-re): Move definition before use.
2602 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2603 Replace undefined CL functions.
2605 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2607 * simple.el (prog-mode): Set bidi-paragraph-direction to
2610 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2612 2010-11-26 Glenn Morris <rgm@gnu.org>
2614 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2615 diary-outlook-formats can be sensitive to calendar-date-style.
2616 (diary-outlook-formats): Simplify the default setting.
2617 (diary-from-outlook-internal): Pass subject and body as arguments.
2618 Use dolist rather than dotimes. Don't save the diary buffer.
2619 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2620 Pass subject and body as explicit arguments to the -internal function.
2622 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2624 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2625 parsing them. This makes mailto:...?subject=foo\nbar work.
2627 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2629 * vc/diff.el (diff): Fix last change.
2631 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2633 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2634 (pcase--dontcare-upats): New var.
2635 (pcase-let, pcase-let*): Generate better code.
2636 Accept the same bodies as `let'.
2637 (pcase-dolist): New macro.
2638 (pcase--trivial-upat-p): New helper function.
2639 (pcase--expand): Strip leading "(let nil" if any.
2641 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2643 * mail/mailclient.el (browse-url): Require.
2644 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2645 use the external browser function to send the mail (bug#7469).
2647 * net/browse-url.el (browse-url-browser-function): Revert the
2648 default back to the previous value, since the new value broke
2650 (browse-url-mailto-function): New variable for mailto: URLs.
2651 (browse-url): Use the new variable for mailto: URLs.
2653 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2655 * eshell/esh-cmd.el (eshell-parse-command):
2656 * eshell/esh-arg.el (eshell-parse-arguments):
2657 * eshell/em-script.el (eshell-source-file):
2658 Use with-silent-modifications.
2660 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2662 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2663 for a merge location.
2665 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2666 (vc-bzr-merge-branch): Always prompt.
2667 (vc-bzr-async-command): Use the full branch filename.
2669 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2671 * shell.el (shell): Use current-buffer by default if it's already
2672 a shell mode buffer and its process is dead.
2673 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2675 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2677 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2678 Mention that the keywords should be comma separated.
2680 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2682 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2683 Accept optional prefix arg meaning to prompt for a command.
2684 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2685 prefix arg meaning to prompt for a command.
2686 (vc-pull): Alias for vc-update.
2688 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2689 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2690 (vc-bzr-merge-branch): New functions, implementing merge-branch
2691 and pull operations.
2693 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2695 * Makefile.in: Fix up last merge.
2697 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2698 (diff-sentinel): Get them as arguments instead.
2699 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2700 (diff-file-local-copy, diff-better-file-name): New funs.
2701 (diff-no-select): Rename from diff-into-buffer.
2702 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2703 Prefer closures to buffer-local variables.
2704 (diff): Adjust accordingly.
2705 (diff-buffer-with-file): Move from files.el.
2706 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2707 (diff-buffer-internal): Remove.
2708 (diff-buffer-buffer): Remove.
2709 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2710 the buffer name used, and so as not to mess up windows and frames.
2712 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2714 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2715 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2716 (diff-buffer-with-file): Use it.
2717 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2720 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2722 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2723 \ref's or \pageref's value as default instead of initial input.
2725 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2727 * files.el (backup-by-copying-when-mismatch): The default value is
2730 * startup.el (normal-top-level):
2731 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2732 `backup-by-copying-when-mismatch'.
2734 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2736 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2738 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2740 * progmodes/python.el (python-font-lock-keywords):
2741 Highlight top-level augmented assignments (Bug#6445).
2743 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2745 * term/ns-win.el (ns-right-control-modifier)
2746 (ns-right-command-modifier): Defvar them.
2748 * cus-start.el (all): Add ns-right-control-modifier and
2749 ns-right-command-modifier (Bug#7458).
2751 2010-11-20 Glenn Morris <rgm@gnu.org>
2753 * emacs-lisp/authors.el (authors-ignored-files)
2754 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2756 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2758 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2759 (report-emacs-bug-parse-query-results)
2760 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2761 keywords used for querying the bug database to show them in the
2762 existing bugs buffer.
2764 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2766 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2768 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2770 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2772 * international/characters.el (glyphless-char-display-control):
2773 Make it a defcustom, with update-glyphless-char-display as its
2775 (top level): Don't call update-glyphless-char-display.
2777 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2779 Sync with Tramp 2.2.0.
2781 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2782 `file-remote-p' (due to compatibility).
2784 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2785 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2787 * net/trampver.el: Update release number.
2789 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2791 * faces.el (glyphless-char): Define value for `pc'.
2793 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2795 Implemented a bug querying mechanism.
2796 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2797 (report-emacs-bug-create-existing-bugs-buffer)
2798 (report-emacs-bug-parse-query-results)
2799 (report-emacs-bug-query-existing-bugs): New functions.
2801 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2803 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2804 a \ref{} or \pageref{} macro, then use its value as initial input.
2806 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2808 * calc/calc-units.el (math-build-units-table-buffer):
2809 calc/README: Mention that the TeX specific units won't use the
2810 `tex' prefix in TeX mode.
2811 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2812 prefix for units in TeX mode.
2814 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2816 * simple.el (kill-new, kill-append, kill-region):
2817 * comint.el (comint-kill-region): Make the yank-handler argument
2820 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2822 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2823 that are both openers (resp. closers) and something else.
2824 (smie-grammar): Loosen definition of valid values.
2825 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2826 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2827 (smie-indent-after-keyword): Adjust users.
2828 (smie-indent-keyword): Don't indent empty lines.
2830 * vc-hg.el (vc-hg-program): New var.
2831 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2832 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2834 2010-11-18 Glenn Morris <rgm@gnu.org>
2836 * emacs-lisp/autoload.el (autoload-find-destination): The function
2837 coding-system-eol-type may return non-numeric values. (Bug#7414)
2839 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2841 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2843 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2845 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2847 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2849 * textmodes/picture.el (picture-mouse-set-point): Don't use
2850 posn-col-row; explicitly compute the motion based on the posn at
2851 the window-start (Bug#7390).
2853 2010-11-18 Glenn Morris <rgm@gnu.org>
2855 * novice.el (disabled-command-function):
2856 Fix 2009-11-15 change. (Bug#7384)
2858 2010-11-18 Glenn Morris <rgm@gnu.org>
2860 * calendar/calendar.el (diary-iso-date-forms): Make elements
2861 mutually exclusive. (Bug#7377)
2863 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2865 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2866 when filling the remaining "unconstrained" values.
2868 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2870 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2873 * files.el (safe-local-variable-p): Gracefully handle errors.
2875 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2876 Use smie-indent-virtual when indenting relative to an opener.
2877 (smie-rule-separator): Use smie-rule-parent.
2878 (smie-indent-keyword): Consult rules, even for openers at bol.
2879 (smie-indent-comment-close): Try to align closer's content.
2881 2010-11-18 Glenn Morris <rgm@gnu.org>
2883 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2885 2010-11-18 Glenn Morris <rgm@gnu.org>
2887 * printing.el (pr-menu-bind): Doc fix.
2889 * speedbar.el (speedbar-toggle-images): Doc fix.
2891 * progmodes/python.el (python-shell): Doc fix.
2893 * wid-edit.el (widget-field-use-before-change)
2894 (widget-use-overlay-change): Doc fixes.
2896 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2898 Minor cleanup to improve style.
2899 * textmodes/rst.el (rst-update-section): Use point-marker.
2900 (rst-get-decoration): Eliminate unneeded assignment.
2901 (rst-promote-region, rst-straighten-decorations)
2902 (rst-section-tree, rst-adjust): Use point-marker.
2903 (rst-toc-mode-mouse-goto): Avoid setq.
2904 (rst-shift-region-guts, rst-shift-region-left)
2905 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2906 (rst-convert-bullets-to-enumeration): Use copy-marker.
2908 * minibuffer.el (completion-fail-discreetly): New var.
2909 (completion--do-completion): Use it.
2911 * electric.el (electric-pair-pairs): New var.
2912 (electric-pair-post-self-insert-function): Use it.
2913 (electric-layout-post-self-insert-function): Don't insert a before
2914 newline unless it's actually needed.
2916 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2918 * progmodes/python.el (run-python): Explain why we remove the current
2919 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2921 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2923 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2925 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2926 (octave-mode-map): Don't bind ;, SPC, and LF.
2927 (octave-auto-indent, octave-auto-newline): Remove.
2928 (electric-layout-rules): Declare.
2929 (octave-mode): Set electric-layout-rules.
2930 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2931 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2932 (octave-electric-space): Remove.
2934 * electric.el (electric-layout-mode): New minor mode.
2935 (electric--after-char-pos): New function.
2936 (electric-indent-post-self-insert-function): Use it.
2937 (electric-layout-rules): New var.
2938 (electric-layout-post-self-insert-function): New function.
2939 (electric-indent-mode): Make them interact better.
2941 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2943 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2944 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2945 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2947 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2949 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2950 Make sure to check inside the word (Bug#6761).
2952 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2954 * startup.el (command-line): If the cursorColor resource is set,
2955 change the cursor face-spec (Bug#7392).
2957 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2959 The main features of the following allout.el changes are:
2960 - implement user customization for the allout key bindings
2961 - add a customization control by which the user can inhibit use of
2962 a trailing Ctrl-H, so by default it's reserved for use with
2963 describe-prefix-bindings
2964 - adapt to new version of called-interactively-p, while
2965 maintaining backwards compatibility with old version
2966 - fix hotspot navigation so i works properly with meta-modified keys
2968 * allout.el (allout-keybindings, allout-bind-keys)
2969 (allout-keybindings-binding, allout-prefixed-keybindings)
2970 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2971 (allout-keybindings-list, allout-mode-map-adjustments)
2972 (allout-setup-mode-map): Establish allout-mode keymaps as user
2973 customizable settings, and also establish a customizable setting which
2974 regulates whether or not a trailing control-h is reserved for use with
2975 describe-prefix-bindings - and inhibit it by default, so that control-h
2976 *is* reserved for describe-prefix-bindings unless the user changes it.
2978 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2979 and accurately between modified and unmodified events, and handle
2980 modified events more comprehensively.
2982 * allout.el (allout-substring-no-properties):
2983 Alias to use or provide version of `substring-no-properties'.
2984 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2986 * allout.el (allout-next-single-char-property-change):
2987 Alias to use or provide version of `next-single-char-property-change'.
2988 (allout-annotate-hidden, allout-hide-by-annotation):
2989 Use `allout-next-single-char-property-change'.
2991 * allout.el (allout-select-safe-coding-system):
2992 Alias to use or provide version of `select-safe-coding-system'.
2993 (allout-toggle-subtree-encryption):
2994 Use `allout-select-safe-coding-system'.
2996 * allout.el (allout-set-buffer-multibyte):
2997 Alias to use or provide version of `set-buffer-multibyte'.
2998 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3000 * allout.el (allout-called-interactively-p): Macro for using the
3001 different versions of called-interactively-p identically, depending on
3002 the subroutine's argument signature.
3003 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3004 Use `(interactive "p")' instead of `(called-interactively-p)'.
3006 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3007 (allout-previous-visible-heading, allout-forward-current-level)
3008 (allout-backward-current-level, allout-show-children):
3009 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3011 * allout.el (allout-before-change-handler):
3012 Exempt edits to the (overlaid) character after the allout outline
3013 bullet from edit confirmation prompt.
3015 * allout.el (allout-add-resumptions):
3016 Ensure that it respects correct buffer for keybindings.
3018 * allout.el (allout-beginning-of-line):
3019 Use `allout-previous-single-char-property-change' alias for the sake of
3020 diverse compatibility.
3022 * allout.el (allout-end-of-line):
3023 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3025 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3027 * frame.el (frame-notice-user-settings): Don't clobber other
3028 user-set parameters when calling face-set-after-frame-default in
3029 response to background-color parameter (Bug#7373).
3031 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3033 * international/characters.el (glyphless-char-display-control):
3034 Rename from glyphless-char-control; all users changed. Doc fix.
3035 Signal an error if display method is not one of the recognized
3038 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3040 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3041 (tramp-compat-line-end-position): Remove them.
3043 * net/tramp.el (tramp-parse-rhosts-group)
3044 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3045 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3046 (tramp-parse-netrc-group, tramp-parse-putty-group)
3047 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3048 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3049 (tramp-sh-handle-file-selinux-context)
3050 (tramp-sh-handle-file-name-all-completions)
3051 (tramp-sh-handle-insert-directory)
3052 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3053 (tramp-wait-for-output, tramp-send-command-and-read)
3054 * net/tramp-smb.el (tramp-smb-read-file-entry)
3055 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3057 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3059 (tramp-remote-coding-commands): Add an alternative using "base64
3060 -d -i". This is needed for older base64 versions from GNU
3061 coreutils. Reported by Klaus Reichl
3062 <Klaus.Reichl@thalesgroup.com>.
3064 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3066 * simple.el (count-words-region): New function.
3068 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3070 * shell.el (shell-dir-cookie-re): New custom variable.
3071 (shell-dir-cookie-watcher): New function.
3073 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3074 and compilation-mode (bug#7350).
3076 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3077 highlight when one of them is empty.
3079 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3081 (skeleton-newline): New function.
3082 (skeleton-internal-1): Use it.
3084 * simple.el (open-line): `newline' may strip trailing space.
3086 2010-11-12 Kevin Ryde <user42@zip.com.au>
3088 * international/mule-cmds.el (princ-list): Use mapc.
3090 2010-11-12 Glenn Morris <rgm@gnu.org>
3092 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3093 Use it to replace all instances of "*Compile-Log*"
3095 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3097 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3100 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3102 * progmodes/modula2.el: Use SMIE and skeleton.
3103 (m2-mode-syntax-table): (*..*) can be nested.
3104 Add //...\n. Fix paren syntax.
3105 (m2-mode-map): Remove LF and TAB bindings.
3106 (m2-indent): Add safety property.
3107 (m2-smie-grammar): New var.
3108 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3109 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3110 (m2-mode): Use define-derived-mode.
3111 (m2-newline, m2-tab): Remove.
3112 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3113 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3114 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3115 (m2-import): Use define-skeleton.
3117 2010-11-11 Glenn Morris <rgm@gnu.org>
3119 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3121 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3122 (ls-lisp-verbosity): Add custom :set-after property.
3123 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3124 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3125 (ls-lisp-insert-directory): Update caller.
3126 (ls-lisp-set-options): New function.
3127 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3130 * play/landmark.el (lm-prompt-for-move):
3131 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3133 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3135 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3136 (idlwave-study-twins): Prefix dynamic local variable `name'.
3137 (idlwave-routine-twin-compare): Update for above change.
3139 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3140 Prefix dynamic local variables `name', `kwd', and `link'.
3141 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3142 * progmodes/idlw-complete-structtag.el
3143 (idlwave-complete-structure-tag-help):
3144 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3145 (idlwave-complete-sysvar-tag-help)
3146 (idlwave-complete-class-structure-tag-help):
3147 Update for above name changes.
3149 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3151 * net/browse-url.el (browse-url-browser-function): Change the
3152 default to use `browse-url-mail' on mailto: URLs.
3154 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3156 * emacs-lisp/package.el (package-read-all-archive-contents):
3157 Reset package-archive-contents to nil before re-reading.
3159 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3161 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3162 already found as misspellings by (flyspell-large-region), just
3163 do highlighting (bug#7322).
3165 2010-11-10 Glenn Morris <rgm@gnu.org>
3167 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3169 * emulation/edt.el (edt-with-position): New macro.
3170 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3171 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3172 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3174 * emulation/tpu-extras.el (tpu-with-position): New macro.
3175 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3177 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3179 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3180 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3181 (texinfo-master-menu, texinfo-insert-node-lines)
3182 (texinfo-multiple-files-update):
3183 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3184 Use line-beginning-position.
3186 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3187 No recent Emacs supports system-type `emx'.
3189 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3190 (ada-command-separator, ada-default-prj-properties)
3191 (ada-find-any-references): Update for above name change.
3193 * dirtrack.el (dirtrack-directory-function)
3194 (dirtrack-canonicalize-function):
3195 * filecache.el (file-cache-completion-ignore-case)
3196 (file-cache-case-fold-search, file-cache-ignore-case):
3197 * term.el (serial-port-is-file-p): Cosmetic change.
3199 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3200 Remove non-existent `windows-95' system-type.
3201 * dired.el (dired-chown-program): Remove non-existent `linux'
3204 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3205 (ping-program-options): Remove non-existent `linux' system-type.
3207 * startup.el (package-initialize): Update declaration.
3209 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3210 (ls-lisp-handle-switches): Use time-less-p.
3211 (ls-lisp-format-time): Use float-time.
3213 * textmodes/remember.el (remember-time-to-seconds): Remove.
3214 (remember-store-in-mailbox): Use float-time.
3216 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3218 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3219 never a real function.
3220 (with-no-warnings): Remove compat stub, now unused.
3221 (time-less-p): Doc fix.
3222 (time-to-number-of-days): Simplify.
3224 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3226 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3227 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3228 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3229 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3230 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3232 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3233 (eshell-shuffle-files, eshell-shorthand-tar-command)
3234 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3235 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3236 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3237 Prefix dynamic local variable `matches'.
3239 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3240 Prefix dynamic local variable `skeleton'.
3242 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3244 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3245 in mail buffer; make yank-action always a command that yanks original
3248 2010-11-09 Glenn Morris <rgm@gnu.org>
3250 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3252 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3254 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3255 completion field (bug#7211).
3257 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3258 Fix handling of backslash escapes.
3259 (python-quote-syntax): Adjust accordingly.
3261 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3263 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3264 (vc-mtn-workfile-branch): Adjust to new output format.
3266 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3268 * international/mule-cmds.el (princ-list): Mark as obsolete.
3270 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3272 * emacs-lisp/smie.el: New package.
3274 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3276 * files.el (backup-by-copying-when-mismatch):
3277 Set `permanent-local' property.
3279 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3280 `permanent-local' property for `backup-by-copying-when-mismatch'.
3282 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3284 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3286 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3288 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3289 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3290 AUTOINOUT for SV style multidimensional arrays, bug294.
3291 Reported by Eric Mastromarchi.
3292 (verilog-preprocess): Use with-current-buffer and
3293 font-lock-fontify-buffer to cleanup style issues.
3295 2010-11-09 Glenn Morris <rgm@gnu.org>
3297 * locate.el (locate, locate-mode): Doc fixes.
3299 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3301 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3302 user for confirmation.
3303 (server-force-stop): Use it.
3304 (server-start): Use server-force-stop for kill-emacs-hook, to
3305 avoid user interaction while killing Emacs.
3307 2010-11-09 Glenn Morris <rgm@gnu.org>
3309 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3310 (meta-indent-line): Simplify.
3312 * vc/emerge.el (emerge-line-number-in-buf):
3313 * textmodes/ispell.el (ispell-region):
3314 * textmodes/fill.el (current-fill-column):
3315 * progmodes/xscheme.el (xscheme-send-current-line):
3316 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3317 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3318 * progmodes/sh-script.el (sh-handle-prev-do):
3319 * progmodes/meta-mode.el (meta-indent-line):
3320 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3322 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3323 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3324 * progmodes/fortran.el (fortran-looking-at-if-then):
3325 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3326 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3327 (cperl-find-pods-heres):
3328 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3329 * net/quickurl.el (quickurl-list-insert):
3330 * net/ldap.el (ldap-search-internal):
3331 * net/eudc.el (eudc-expand-inline):
3332 * mail/sendmail.el (sendmail-send-it):
3333 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3334 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3335 (viper-brac-function):
3336 * calc/calc-yank.el (calc-do-grab-region):
3337 * calc/calc-keypd.el (calc-keypad-press):
3338 * term.el (term-move-columns, term-insert-spaces):
3339 * speedbar.el (speedbar-highlight-one-tag-line):
3340 * simple.el (current-word):
3341 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3342 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3344 * hippie-exp.el (he-line-beg):
3345 * epa.el (epa--marked-keys):
3346 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3347 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3348 (dired-relist-entry):
3349 * buff-menu.el (Buffer-menu-buffer):
3350 * array.el (current-line):
3351 * allout.el (allout-resolve-xref)
3352 (allout-latex-verbatim-quote-curr-line):
3353 Replace yet more uses of end-of-line etc with line-end-position, etc.
3355 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3357 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3358 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3359 (checkdoc-syntax-table): Initialize in the declaration.
3360 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3361 the mode on unconditionally.
3363 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3364 (extent-end-position, extent-start-position): Remove setf method for
3365 non-existing functions (bug#7319).
3367 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3369 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3370 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3371 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3372 (smie-prec2->grammar): Rename from smie-prec2-levels.
3373 (smie-grammar): Rename from smie-op-levels.
3374 (smie-indent--hanging-p): Rename from smie-hanging-p.
3375 (smie-rule-hanging-p): New alias.
3376 (smie-indent--bolp): Rename from smie-bolp.
3377 (smie-indent--hanging-p): New alias.
3378 (smie--token): New dynamically bound variable.
3379 (smie-indent--parent): New function.
3380 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3381 (smie-rule-next-p): Rename from smie-next-p.
3382 (smie-rule-prev-p): Rename from smie-prev-p.
3383 (smie-rule-sibling-p, smie-rule-parent)
3384 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3385 (smie-rule-separator-outdent): New var.
3386 (smie-indent--rule): Merge with smie-indent--column.
3387 (smie-indent-forward-token, smie-indent-backward-token):
3388 Also recognize close parens.
3389 (smie-indent-keyword): Don't use smie-indent--column any more.
3390 (smie-indent-after-keyword): Ignore closers by default.
3391 (smie-indent-line): Use with-demoted-errors.
3392 * progmodes/octave-mod.el (octave-smie-grammar):
3393 Rename from octave-smie-op-levels.
3394 (octave-smie-rules): Adjust to new behavior.
3395 * progmodes/prolog.el (prolog-smie-grammar):
3396 Rename from prolog-smie-op-levels.
3398 2010-11-07 Glenn Morris <rgm@gnu.org>
3400 * eshell/esh-util.el (subst-char-in-string)
3401 (directory-files-and-attributes): These compatibility definitions are
3402 not needed on any version of Emacs since at least 21.4.
3404 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3405 (verilog-get-end-of-line): Remove.
3406 (verilog-within-string, verilog-re-search-forward-substr)
3407 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3408 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3409 Use point-at-bol, point-at-eol.
3410 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3412 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3413 (electric-pascal-terminate-line, pascal-set-auto-comments)
3414 (pascal-indent-paramlist, pascal-indent-declaration)
3415 (pascal-get-lineup-indent, pascal-func-completion)
3416 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3417 Use point-at-bol, point-at-eol.
3418 * progmodes/flymake.el (flymake-line-beginning-position)
3419 (flymake-line-end-position): Remove.
3420 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3421 * eshell/esh-util.el (line-end-position, line-beginning-position):
3422 Remove compat definitions.
3424 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3426 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3427 Use line-end-position.
3429 * emacs-lisp/chart.el (chart-zap-chars):
3430 * play/decipher.el (decipher-set-map):
3431 * progmodes/ada-mode.el (ada-get-current-indent)
3432 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3433 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3434 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3435 (ada-get-all-references):
3436 * progmodes/cperl-mode.el (cperl-electric-paren)
3437 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3438 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3439 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3440 (cperl-word-at-point-hard):
3441 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3442 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3443 (idlwave-shell-display-line):
3444 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3445 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3446 * progmodes/js.el (js--re-search-forward-inner)
3447 (js--re-search-backward-inner):
3448 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3449 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3450 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3451 * textmodes/flyspell.el (flyspell-process-localwords):
3452 * textmodes/ispell.el (ispell-buffer-local-parsing)
3453 (ispell-buffer-local-dict, ispell-buffer-local-words):
3454 Use point-at-bol and point-at-eol.
3456 * speedbar.el (speedbar-generic-item-info)
3457 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3458 (speedbar-add-indicator, speedbar-check-vc-this-line)
3459 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3460 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3461 Replace more uses of end-of-line etc with line-end-position.
3463 2010-11-06 Glenn Morris <rgm@gnu.org>
3465 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3466 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3467 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3468 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3469 (texinfo-multiple-files-update):
3470 * textmodes/table.el (table--probe-cell-left-up)
3471 (table--probe-cell-right-bottom):
3472 * textmodes/picture.el (picture-tab-search):
3473 * textmodes/page-ext.el (pages-copy-header-and-position)
3474 (pages-directory-for-addresses):
3475 * progmodes/vera-mode.el (vera-get-offset):
3476 * progmodes/simula.el (simula-calculate-indent):
3477 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3478 * progmodes/prolog.el (end-of-prolog-clause):
3479 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3480 * progmodes/icon.el (indent-icon-exp):
3481 * progmodes/etags.el (tag-re-match-p):
3482 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3483 * progmodes/ebnf2ps.el (ebnf-begin-file):
3484 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3485 (dcl-save-local-variable):
3486 * play/life.el (life-setup):
3487 * play/gametree.el (gametree-looking-at-ply):
3488 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3489 * mail/sendmail.el (mail-mode-auto-fill):
3490 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3491 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3492 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3493 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3494 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3495 * type-break.el (type-break-file-keystroke-count):
3496 * term.el (term-replace-by-expanded-history-before-point)
3497 (term-skip-prompt, term-extract-string):
3498 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3499 (speedbar-contract-line, speedbar-toggle-line-expansion)
3500 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3501 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3502 * sort.el (sort-skip-fields):
3503 * skeleton.el (skeleton-internal-list):
3504 * simple.el (line-move-finish, line-move-to-column):
3505 * shell.el (shell-forward-command):
3506 * misc.el (copy-from-above-command):
3507 * makesum.el (double-column):
3508 * ebuff-menu.el (electric-buffer-update-highlight):
3509 * dired.el (dired-move-to-end-of-filename):
3510 * dframe.el (dframe-popup-kludge):
3511 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3512 * arc-mode.el (archive-get-lineno):
3513 Use line-end-position and line-beginning-position.
3515 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3516 (idlwave-study-twins): Prefix dynamic local `class'.
3517 (idlwave-routine-twin-compare): Update for above name change.
3519 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3520 Use boundp tests to silence compiler. Update for changed name of
3521 bytecomp-filename variable.
3523 * emulation/viper-cmd.el (viper-read-string-with-history):
3524 Prefix dynamic local `initial'.
3525 (viper-minibuffer-standard-hook): Update for above name change.
3527 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3528 (elint-init-form): Update for above name change.
3530 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3531 local variables `cbeg' and `cend' a prefix.
3532 (mail-extr-voodoo): Update for above name change.
3534 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3535 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3536 (reftex-toc-promote-action): Doc fix.
3538 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3539 `prompt', `data' a prefix.
3540 (reftex-select-post-command-hook, reftex-select-callback)
3541 (reftex-select-mouse-accept, reftex-select-read-cite):
3542 Update for above name changes.
3544 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3545 `refstyle' to reftex-refstyle.
3546 (reftex-offer-label-menu): Update for above name change.
3547 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3548 `refstyle' name change.
3550 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3551 with with-current-buffer.
3552 (diff, template): Give dynamic local variables a prefix.
3553 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3554 (emerge-line-number-in-buf): Update for above name change.
3555 (emerge-combine-versions-internal): Rename local `template' to
3556 emerge-combine-template.
3557 (emerge-combine-versions-edit): Update for above name change.
3559 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3561 * textmodes/reftex-cite.el
3562 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3563 entries with whitespace after \bibitem.
3564 (reftex-create-bibtex-file): Match entries containing numbers and
3565 symbol constituents. Make sure that entries with whitespace at
3566 various places are found.
3568 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3570 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3572 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3574 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3576 2010-11-05 Glenn Morris <rgm@gnu.org>
3578 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3579 (woman2-roff-buffer): Give local variable `request' a prefix.
3580 (woman0-macro): Rename argument `request' in the same way.
3581 (woman-request): New name for `request' dynamic variable.
3582 (woman-unquote, woman-forward-arg): Update for above name change.
3583 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3584 (woman1-unquote): New name for `unquote' dynamic variable.
3585 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3586 (woman-translations): Rename from `translations'. No longer global.
3587 (woman2-tr, woman-translate): Update for above name change.
3588 (woman-translate): Check for bound variable.
3589 (woman2-roff-buffer): Give local variable `translations' a prefix.
3591 * play/doctor.el: Give all local variables a prefix. Update callers.
3592 (doc$, doctor-put-meaning): Use backquote.
3594 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3595 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3597 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3598 variables bytes, ptr, op a prefix.
3599 (disassemble-offset): Update for above change.
3601 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3603 * emacs-lisp/package.el (package-unpack): Remove no-op.
3604 (package--builtins, package--dir): Doc fix.
3605 (package-activate-1, package-activate, package-install)
3606 (package-compute-transaction): Fix error message.
3607 (package-delete): Use delete-directory. Omit system packages.
3608 (package-initialize): Set package-alist to nil first.
3609 (package-menu-mark-delete, package-menu-mark-install): Don't add
3610 symbols that are inconsistent with the package state.
3611 (package-menu-execute): Perform deletions and installations as
3612 single batch operations.
3614 2010-11-03 Glenn Morris <rgm@gnu.org>
3616 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3617 (props): Remove unnecessary declaration.
3619 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3620 set-process-query-on-exit-flag.
3622 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3623 (reftex-toc-do-promote): Remove unused local `mpos'.
3624 (reftex-toc-restore-region): Make `mpos' local to this function.
3626 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3628 * play/landmark.el (lm-losing-threshold): Correct spelling.
3629 (lm-human-plays): Use new name.
3631 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3632 (gomoku-human-plays): Use new name.
3634 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3635 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3636 (gomoku-score-trans-table, gomoku-winning-threshold)
3637 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3639 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3641 * emacs-lisp/package.el: Don't put built-in packages in
3642 package-alist, to avoid loading inefficiencies.
3643 (package-built-in-p): Make VERSION optional, and treat it as a
3644 minimum acceptable version.
3645 (package-activate): Search separately for built-in packages.
3646 Emit a warning if a dependency fails.
3647 (define-package): Handle most common case, where there is no
3648 obsolete package, first.
3649 (package-compute-transaction): Print required version in error.
3650 (package--initialized): New variable.
3651 (list-packages): Use it.
3652 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3653 built-in packages in packages-alist; keep it separate.
3654 Set package--initialized.
3655 (describe-package): Avoid activating packages as a side-effect.
3656 Search separately for built-in packages.
3657 (describe-package-1): Handle the case where an elpa package is
3658 simultaneously built-in and available/installed.
3659 (package-installed-p, package--generate-package-list):
3660 Search separately for built-in packages.
3661 (package-load-descriptor): Doc fix.
3663 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3665 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3666 Handle __DATA__ and __END__.
3668 2010-11-02 Noah Friedman <friedman@splode.com>
3670 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3671 nil, do not ask to recompile files that are not already compiled,
3672 and do not recompile them.
3674 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3676 * emacs-lisp/package.el (package-initialize): Ensure that
3677 obsoleted built-in packages are not in package-activated-list
3679 (describe-package-1): Make the "installed" status override
3682 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3684 * subr.el (version-separator, version-regexp-alist): Remove '*'
3686 (version-list-<=, version<=, version=): Doc fix.
3688 2010-11-01 Kenichi Handa <handa@m17n.org>
3690 * faces.el (glyphless-char): Inherit underline for tty.
3692 2010-11-01 Kenichi Handa <handa@m17n.org>
3694 Implement various display methods for glyphless characters.
3696 * international/characters.el (char-acronym-table): New variable.
3697 (glyphless-char-control): New variable.
3698 (update-glyphless-char-display): New funciton.
3700 * faces.el (glyphless-char): New face.
3702 2010-11-01 Glenn Morris <rgm@gnu.org>
3704 * calendar/holidays.el (general-holidays, oriental-holidays)
3705 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3706 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3707 the definitions of their targets.
3709 * emacs-lisp/smie.el (smie): New custom group.
3710 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3712 * faces.el (xw-defined-colors, x-setup-function-keys):
3713 * mouse-sel.el (x-select-text):
3714 * term/w32console.el (x-setup-function-keys): Update declarations.
3716 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3718 * textmodes/ispell.el (comment-add): Declare.
3720 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3723 * info.el (finder-keywords-hash, package-alist): Declare.
3725 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3727 * finder.el (finder-compile-keywords): Don't use intern-soft,
3728 since package names may not yet exist in the obarray.
3730 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3732 * vc/vc-arch.el (vc-arch-checkin):
3733 * vc/vc-cvs.el (vc-cvs-checkin):
3734 * vc/vc-mtn.el (vc-mtn-checkin):
3735 * vc/vc-rcs.el (vc-rcs-checkin):
3736 * vc/vc-sccs.el (vc-sccs-checkin):
3737 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3738 since 2010-04-21 commit by Stefan Monnier.
3740 2010-11-01 Glenn Morris <rgm@gnu.org>
3742 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3744 * startup.el (package-enable-at-startup, package-initialize):
3747 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3750 2010-10-31 Julien Danjou <julien@danjou.info>
3752 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3753 (byte-recompile-directory):
3754 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3755 Use `byte-recompile-file'.
3757 2010-10-31 Glenn Morris <rgm@gnu.org>
3759 * cus-start.el: Handle standard values via a keyword.
3760 Only set version property if specified.
3761 (cursor-in-non-selected-windows, menu-bar-mode)
3762 (tool-bar-mode, show-trailing-whitespace):
3763 Do not specify standard values.
3764 (transient-mark-mode, temporary-file-directory): Use :standard.
3766 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3768 * term/x-win.el (x-get-selection-value): New function that gets
3769 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3771 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3773 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3774 preserve owner and group when editing files. (Bug#7289)
3776 2010-10-31 Glenn Morris <rgm@gnu.org>
3778 * speedbar.el (speedbar-mode):
3779 * play/fortune.el (fortune-in-buffer, fortune):
3780 * play/gomoku.el (gomoku-mode):
3781 * play/landmark.el (lm-mode):
3782 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3783 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3785 * select.el (x-selection): Mark it as an obsolete alias.
3787 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3789 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3790 major-mode (bug#7284).
3792 2010-10-31 Glenn Morris <rgm@gnu.org>
3794 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3795 rather than just an unused variable that inherits from the real one.
3797 2010-10-31 Alan Mackenzie <acm@muc.de>
3799 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3800 This fixes bug #7185.
3802 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3804 * startup.el (command-line): Search for package directories, and
3805 don't load package.el if none are found.
3807 * emacs-lisp/package.el (describe-package, list-packages):
3808 Call package-initialize if it has not been called yet.
3810 2010-10-30 Alan Mackenzie <acm@muc.de>
3812 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3813 which fontifies the tail of an enum.
3814 (c-basic-matchers-after): Insert a call to the above new function.
3815 This fixes bug #7264.
3817 2010-10-30 Glenn Morris <rgm@gnu.org>
3819 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3820 tool-bar-mode, transient-mark-mode. (Bug#7306)
3821 Include the :set property in the dumped Emacs.
3823 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3825 SMIE: change indent rules format, improve smie-setup.
3826 * emacs-lisp/smie.el (smie-precs-precedence-table)
3827 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3828 Mark them pure so the tables gets built at compile time.
3829 (smie-bnf-precedence-table): Store the closer-alist in the table.
3830 (smie-prec2-levels): Preserve the closer-alist.
3831 (smie-blink-matching-open): Be more forgiving in case of indentation.
3832 (smie-hanging-p): Rename from smie-indent--hanging-p.
3833 (smie-bolp): Rename from smie-indent--bolp.
3834 (smie--parent, smie--after): New dynamic vars.
3835 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3836 (smie-indent-rules): Remove.
3837 (smie-indent--offset-rule): Remove fun.
3838 (smie-rules-function): New var.
3839 (smie-indent--rule): New fun.
3840 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3841 (smie-indent-exps): Use it.
3842 (smie-setup): Setup paren blinking; add keyword args for token
3843 functions; extract closer-alist from op-levels.
3844 (smie-indent-debug-log): Remove var.
3845 (smie-indent-debug): Remove fun.
3846 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3847 (prolog-smie-rules): New fun to replace it.
3848 (prolog-mode-variables): Simplify.
3849 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3850 it's setup automatically.
3851 (octave-smie-indent-rules): Remove.
3852 (octave-smie-rules): New fun to replace it.
3853 (octave-mode): Simplify.
3855 2010-10-29 Glenn Morris <rgm@gnu.org>
3857 * files.el (temporary-file-directory): Remove (already defined in C).
3858 * cus-start.el: Add temporary-file-directory.
3860 * abbrev.el (abbrev-mode):
3861 * composite.el (auto-composition-mode):
3862 * menu-bar.el (menu-bar-mode):
3863 * simple.el (transient-mark-mode):
3864 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3865 that they do not define the associated variables twice.
3866 * simple.el (transient-mark-mode): Remove defvar.
3867 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3868 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3869 Handle multiple groups, and also custom-delayed-init-variables.
3870 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3872 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3874 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3875 (pcase-if): Add one minor optimization.
3876 (pcase-split-equal): Rename from pcase-split-eq.
3877 (pcase-split-member): Rename from pcase-split-memq.
3878 (pcase-u1): Add strings to the member optimization.
3879 Add `guard' variant of predicates.
3880 (pcase-q1): Add string patterns.
3882 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3886 2010-10-28 Glenn Morris <rgm@gnu.org>
3888 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3889 Move menu-bar related settings to ../menu-bar.el.
3890 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3891 Move ns-specific settings here from term/ns-win.el.
3893 * simple.el (x-selection-owner-p): Remove unused declaration.
3895 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3897 * minibuffer.el (completion-cycling): New var (bug#7266).
3898 (minibuffer-complete, completion--do-completion):
3899 Use completion--flush-all-sorted-completions.
3900 (minibuffer-complete): Only cycle if completion-cycling is set.
3901 (completion--flush-all-sorted-completions): Unset completion-cycling.
3902 (minibuffer-force-complete): Set completion-cycling.
3903 (completion-all-sorted-completions): Move declaration before first use.
3905 2010-10-28 Leo <sdl.web@gmail.com>
3907 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3908 which changes the order of matches seen by users (bug#7231).
3910 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3912 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3913 Don't confuse -omega as "-o mega".
3915 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3917 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3918 (log-edit-author): New dynamic var.
3919 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3920 to return the author if different from committer.
3921 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3923 * play/landmark.el: Adjust commenting convention.
3924 (lm-nil-score): Rename from nil-score.
3925 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3926 (OOOOscore): Move into a let in lm-score-trans-table.
3927 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3929 * electric.el (electric-indent-chars): Autoload.
3930 * progmodes/octave-mod.el (octave-mode):
3931 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3932 (ruby-mode-abbrev-table): Merge initialization and declaration.
3934 2010-10-27 Glenn Morris <rgm@gnu.org>
3936 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3939 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3941 * term/ns-win.el: Restore require of cl when compiling.
3942 (menu-bar-final-items): Remove non-existent `windows' menu.
3943 (ns-handle-nxopen): Optionally handle the temp-case.
3944 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3945 (ns-insert-file, ns-find-file): Use `pop'.
3947 2010-10-26 Glenn Morris <rgm@gnu.org>
3949 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3951 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3953 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3955 * term/common-win.el (x-setup-function-keys): Remove most of the
3956 keymappings. Comment on the remaining ones.
3958 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3960 * server.el (server-port): New option. (Bug#854)
3961 (server-start): Use server-port.
3963 2010-10-26 Glenn Morris <rgm@gnu.org>
3965 * term/ns-win.el (ns-version-string): Remove unused declaration.
3966 (ns-invocation-args): Change to x-invocation-args.
3967 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3968 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3969 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3970 Use x-invocation-args instead of ns-invocation-args.
3971 (ns-initialize-window-system, handle-args-function-alist):
3972 Use x-handle-args instead of ns-handle-args.
3973 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3974 * startup.el (command-line-ns-option-alist): Replace
3975 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3976 ns-handle-iconic with the x- equivalents.
3978 * term/common-win.el (x-select-enable-clipboard):
3979 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3981 * term/ns-win.el: No need to require cl when compiling.
3982 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3983 (xw-defined-colors): Use the common-win definitions.
3984 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3985 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3986 * term/common-win.el (x-select-text, x-alternatives-map)
3987 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3988 * loadup.el [ns]: Load common-win.
3990 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3992 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3993 recipients; expand mail aliases (Bug#7280).
3995 2010-10-25 Glenn Morris <rgm@gnu.org>
3997 * term/common-win.el (x-handle-switch): Simplify with pop.
3998 Optionally handle numeric switches.
3999 (x-handle-numeric-switch): Just call x-handle-switch.
4000 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4001 (x-handle-name-switch, x-handle-display, x-handle-args):
4004 * term/ns-win.el: Do not require easymenu.
4005 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4006 <spell>: Move adjustments to menu-bar.el.
4007 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4008 <separator-undo, spell>: Move ns-win's adjustments here.
4009 * loadup.el [ns]: Do not load easymenu.
4011 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4013 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4016 * startup.el (fancy-startup-tail): Instead of using inline images,
4017 refer to image files from etc/.
4019 * wid-edit.el (checkbox): Likewise.
4020 (widget-image-find): Center image specs.
4022 2010-10-24 Glenn Morris <rgm@gnu.org>
4024 * term/ns-win.el (x-select-text): Doc fix.
4025 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4026 (x-select-text): Move to term/common-win.
4027 * term/w32-win.el (xw-defined-colors): Move to common-win.
4028 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4029 (x-setup-function-keys, x-select-text): Move to common-win.
4030 * term/common-win.el (x-select-text, x-alternatives-map)
4031 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4034 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4036 * net/mairix.el (mairix-searches-mode-map):
4037 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4039 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4041 * verilog-mode.el (verilog-directive-re): Make this variable
4042 auto-built for efficiency of execution and updating.
4043 (verilog-extended-complete-re): Support 'pure' fucntion & task
4044 declarations (these have no bodies).
4045 (verilog-beg-of-statement): General cleanup to enable support of
4046 'pure' fucntion & task declarations (these have no bodies).
4047 These efforts together fix Verilog bug210 from veripool; which was also
4048 noticed by Steve Pearlmutter.
4049 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4050 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4051 Support `elsif. Reported by Shankar Giri.
4052 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4053 attribute handling for lining up declarations and assignments.
4054 (verilog-beg-of-statement-1): Fix issue where continued declaration
4055 is indented differently if it is after a begin..end clock.
4056 (verilog-in-attribute-p, verilog-skip-backward-comments)
4057 (verilog-skip-forward-comment-p): Support proper treatment of
4058 attributes by indent code. Reported by Jeff Steele.
4059 (verilog-in-directive-p): Fix comment to correctly describe function.
4060 (verilog-backward-up-list, verilog-in-struct-region-p)
4061 (verilog-backward-token, verilog-in-struct-p)
4062 (verilog-in-coverage-p, verilog-do-indent)
4063 (verilog-pretty-declarations): Use verilog-backward-up-list as
4064 wrapper around backward-up-list inorder to properly skip comments.
4065 Reported by David Rogoff.
4066 (verilog-property-re, verilog-endcomment-reason-re)
4067 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4068 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4069 of if). Reported by Max Bjurling and
4070 (verilog-calc-1): Fix for clocking block in modport
4071 declaration. Reported by Brian Hunter.
4073 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4075 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4076 (verilog-gate-keywords, verilog-read-sub-decls)
4077 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4078 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4079 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4080 (verilog-read-decls): Fix spaces in V2K module parameters causing
4081 mis-identification as interfaces, bug287.
4082 (verilog-read-decls): Fix not treating "parameter string" as a
4083 parameter in AUTOINSTPARAM.
4084 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4085 treating `elsif similar to `endif inside AUTOSENSE.
4086 (verilog-do-indent): Implement correct automatic or static task or
4087 function end comment highlight. Reported by Steve Pearlmutter.
4088 (verilog-font-lock-keywords-2): Fix highlighting of single
4089 character pins, bug264. Reported by Michael Laajanen.
4090 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4091 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4092 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4093 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4094 (verilog-pretty-expr): Fix interactive arguments, bug272.
4095 Reported by Mark Johnson.
4096 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4097 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4098 bug269. Suggested by Gary Delp.
4099 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4100 (verilog-preprocessor, verilog-set-compile-command):
4101 Create verilog-preprocess and verilog-preprocessor to show
4102 preprocessed output.
4103 (verilog-get-beg-of-line, verilog-get-end-of-line)
4104 (verilog-modi-file-or-buffer, verilog-modi-name)
4105 (verilog-modi-point, verilog-within-string): Move defmacro's
4106 before first use to avoid warning. Reported by Steve Pearlmutter.
4107 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4108 (verilog-colorize-region, verilog-highlight-buffer)
4109 (verilog-highlight-includes, verilog-highlight-modules)
4110 (verilog-highlight-region, verilog-mode): Rename colorize to
4111 highlight to match other packages. Disable module highlighting,
4112 as received speed complaints, reenable for experimentation only
4113 using new verilog-highlight-modules.
4114 (verilog-read-decls): Fix regexp stack overflow in very large
4115 AUTO_TEMPLATEs, bug250.
4116 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4117 (verilog-scan): Create verilog-save-buffer-state to standardize
4118 making insignificant changes that shouldn't call hooks.
4119 (verilog-save-no-change-functions, verilog-save-scan-cache)
4120 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4121 Create verilog-save-no-change-functions to wrap verilog-scan
4122 preservation, and fix to work with nested preserved calls.
4123 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4124 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4125 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4126 (verilog-submit-bug-report): Update variable list to be complete.
4127 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4128 breaking on-the-fly font-locking.
4129 (verilog-colorize-buffer, verilog-colorize-include-files)
4130 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4131 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4132 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4133 AUTOINST cell instance name, middle mouse button now finds-file on
4134 it. Suggested by Brad Dobbie.
4135 (verilog-alw-get-temps, verilog-auto-reset)
4136 (verilog-auto-sense-sigs, verilog-read-always-signals)
4137 (verilog-read-always-signals-recurse): Fix loop indexes being
4138 AUTORESET. AUTORESET now assumes any variables in the
4139 initialization section of a for() should be ignored.
4140 Reported by Dan Dever.
4141 (verilog-error-font-lock-keywords)
4142 (verilog-error-regexp-emacs-alist)
4143 (verilog-error-regexp-xemacs-alist): Fix error detection of
4144 Cadence HAL, reported by David Asher. Repair drift between the
4145 three similar error variables.
4146 (verilog-modi-lookup, verilog-modi-lookup-cache)
4147 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4148 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4149 Fix slow verilog-auto expansion on very large files.
4150 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4151 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4152 "{1*2{...". Broke in last revision.
4153 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4154 submodule connections with replications "{#{a},#{b}}".
4156 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4158 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4159 Fix typo in docstring.
4161 2010-10-24 Kenichi Handa <handa@m17n.org>
4163 * face-remap.el (text-scale-adjust): Call read-event with a proper
4166 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4168 * emacs-lisp/unsafep.el: Don't mark functions that display
4169 messages as safe. Suggested by Johan Bockgård.
4171 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4173 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4174 Turn comments into docstrings.
4176 * minibuffer.el (completion--replace): Move point where it belongs
4177 when there's a common suffix (bug#7215).
4179 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4181 Merge read-color and facemenu-read-color (Bug#7242).
4183 * faces.el (read-color): Use the completion code from
4184 facemenu-read-color. Require match in completion. Doc fix.
4186 * facemenu.el (facemenu-read-color): Alias for read-color.
4187 (facemenu-set-foreground, facemenu-set-background):
4190 * frame.el (set-background-color, set-foreground-color)
4191 (set-cursor-color, set-mouse-color, set-border-color):
4194 2010-10-24 Leo <sdl.web@gmail.com>
4196 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4197 argument of delete-file and delete-directory (Bug#7011).
4199 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4201 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4204 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4206 * emacs-lisp/package.el (package--generate-package-list): Make the
4207 *Packages* buffer read-only.
4209 2010-10-24 Alan Mackenzie <acm@muc.de>
4211 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4212 result of `c-beginning-of-decl-1' between invocations of a lambda
4213 function (Bug #7265).
4215 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4217 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4218 executable is not available on the system (Bug#7268).
4220 2010-10-24 Glenn Morris <rgm@gnu.org>
4222 * select.el (selection-coding-system, next-selection-coding-system):
4223 Sync doc with C versions.
4225 * w32-vars.el (x-select-enable-clipboard):
4226 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4227 * term/common-win.el (x-select-enable-clipboard): Move here.
4229 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4230 definition of C variable.
4232 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4233 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4234 Don't redefine things that are defined in C.
4235 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4236 (show-trailing-whitespace, auto-hscroll-mode)
4237 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4238 Set up the appropriate custom properties.
4240 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4243 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4244 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4245 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4246 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4248 2010-10-23 Glenn Morris <rgm@gnu.org>
4250 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4253 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4254 Sync docs with C version.
4256 * term/ns-win.el (xw-defined-colors):
4257 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4259 * term/pc-win.el (x-select-enable-clipboard):
4260 * term/x-win.el (x-select-enable-clipboard):
4261 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4263 * comint.el (comint-password-prompt-regexp): Make it less vague.
4266 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4268 * help.el (finder-by-keyword): Remove unnecessary autoload.
4270 2010-10-22 Glenn Morris <rgm@gnu.org>
4272 * loadup.el: Unconditionally load float-sup.
4273 * paren.el (show-paren-delay):
4274 * emacs-lisp/float-sup.el:
4275 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4276 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4277 (lazy-lock-stealth-verbose): Assume float support.
4278 * ps-print.el: Assume float support on Emacs.
4279 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4280 Remove non-float branch.
4282 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4283 src/Makefile no longer being pre-processed.
4285 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4287 * emacs-lisp/find-func.el (find-library): Use test-completion.
4289 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4291 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4293 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4295 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4296 space in stat format string.
4297 (tramp-send-command): Unset $PS1 when using here documents, in
4298 order not to get several prompts.
4299 (tramp-get-inline-coding): Return `nil' in case of errors.
4301 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4303 * hexl.el (hexl-mode, hexl-mode-exit):
4304 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4305 (hexl-revert-buffer-function): New function.
4306 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4308 2010-10-19 Alan Mackenzie <acm@muc.de>
4310 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4311 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4312 that these keywords aren't wrongly matched as identifiers.
4314 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4315 setting of c-new-BEG and c-new-END from c-before-change to
4316 c-after-change. (Bug#7181)
4318 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4320 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4323 * custom.el (custom-theme-set-variables): Likewise.
4324 (load-theme): Add custom-theme-set-faces and
4325 custom-theme-set-variables to safe-functions while loading.
4326 (custom-enabled-themes): Mark as risky.
4328 2010-10-18 Julien Danjou <julien@danjou.info>
4330 * bindings.el: Remove end dashes in default mode-line-format.
4332 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4334 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4335 to delete-forward-char.
4337 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4338 deletechar, and hence delete-forward-char.
4340 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4342 * repeat.el (repeat): Use read-key (bug#6256).
4344 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4346 * emacs-lisp/unsafep.el: Don't mark functions that display
4347 messages as safe. Suggested by Johan Bockgård.
4349 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * minibuffer.el (completion--replace): Move point where it belongs
4352 when there's a common suffix (bug#7215).
4354 2010-10-19 Kenichi Handa <handa@m17n.org>
4356 * international/characters.el: Add category '|' (word breakable)
4357 to fullwidth characters.
4359 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4361 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4362 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4363 order to make stat results a float. Patch by Andreas Schwab
4364 <schwab@linux-m68k.org>.
4366 2010-10-18 Julien Danjou <julien@danjou.info>
4368 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4369 hidden by `make-pointer-invisible'.
4371 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4373 * files.el (locate-file-completion-table): Strip non-matching elements
4374 before checking length of list (bug#7238).
4376 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4378 * custom.el (custom-theme-set-variables): Mark as a safe function.
4379 (load-theme): Check forms using unsafep.
4381 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4383 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4385 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4386 Fix aspell data file searching (bug#7230).
4388 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4390 * cus-theme.el (custom-theme--migrate-settings): New var.
4391 (customize-create-theme): Allow editing the `user' theme.
4392 (custom-theme-add-variable, custom-theme-add-var-1)
4393 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4394 to the front of each variable or face widget.
4395 (custom-theme-write): Save theme settings in the correct order.
4396 Optionally, remove saved settings from user customizations.
4397 (custom-theme-write-variables, custom-theme-write-faces):
4398 Save only the checked widgets.
4399 (customize-themes): Add a link for migrating custom settings.
4401 * custom.el (custom-declare-theme, provide-theme):
4402 Use custom-theme-name-valid-p.
4403 (custom-theme-name-valid-p): Remove checks that are now
4404 unnecessary since themes no longer obey load-path.
4406 * cus-edit.el (custom-variable-value-create): For the simple
4407 style, hide documentation string when hidden.
4409 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4411 * cus-edit.el (custom-variable, custom-face): Combine the
4412 :inhibit-magic and :display-style properties into a single
4413 :custom-style property.
4414 (custom-toggle-hide-variable, custom-toggle-hide-face):
4415 New functions. If hiding an edited value, save it to :shown-value.
4416 (custom-variable-value-create, custom-face-value-create): Use them.
4417 (custom-magic-reset): Allow magic property to be unset.
4419 * custom.el: Custom themes no longer use load-path.
4420 (custom-theme-load-path): New option. Change built-in theme
4422 (custom-enabled-themes): Add custom-theme-load-path dependency.
4423 (custom-theme--load-path): New function.
4424 (load-theme, custom-available-themes): Use it.
4426 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4427 (customize-themes): Link to custom-theme-load-path variable.
4428 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4429 :custom-style property.
4431 * themes/*.el: Moved to etc/.
4433 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4435 * textmodes/reftex-cite.el
4436 (reftex-extract-bib-entries-from-thebibliography): Do not move
4437 point when searching for \bibitem entries. Match entries with
4438 spaces or tabs in front of arguments.
4440 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4442 * cus-theme.el (customize-create-theme): Delete overlays after
4443 erasing. If given a THEME arg, display only the faces of that arg
4444 instead of custom-theme--listed-faces.
4445 (custom-theme-variable-menu, custom-theme-variable-action)
4446 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4447 (custom-theme-add-variable, custom-theme-add-face): Apply value
4448 from the theme settings, instead of the current value.
4449 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4450 (custom-theme-visit-theme): Allow calling outside theme buffers.
4451 (custom-theme-merge-theme): Don't enable the theme when merging.
4452 (custom-theme-write-variables, custom-theme-write-faces): Use the
4453 :shown-value properties to save buffer values, not global ones.
4454 (customize-themes): Display a warning about user customizations.
4456 * cus-edit.el (custom-variable-value-create)
4457 (custom-face-value-create): Obey new special properties
4458 :shown-value and :inhibit-magic.
4460 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4462 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4463 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4466 2010-10-14 Kenichi Handa <handa@m17n.org>
4468 * mail/rmail.el (rmail-show-message-1): Catch an error of
4469 base64-decode-region and just show an error message (bug#7165).
4471 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4472 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4473 a font-spec (bug#7197).
4475 2010-10-14 Glenn Morris <rgm@gnu.org>
4477 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4479 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4481 * international/mule.el (define-coding-system):
4482 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4483 * composite.el (compose-region): Fix typo in docstring.
4485 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4487 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4488 only after checking the theme-face property.
4490 * faces.el (face-spec-reset-face): Reset all attributes in one
4491 single call to set-face-attribute.
4492 (face-spec-match-p): Make it a defsubst.
4493 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4494 (x-create-frame-with-faces, tty-create-frame-with-faces)
4495 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4496 frame-set-background-mode, since they are recomputed immediately
4497 afterwards in face-set-after-frame-default.
4498 (face-set-after-frame-default): Minor optimization.
4499 (cursor): Provide non-trivial defface spec.
4501 * custom.el (custom-theme-recalc-face): Simplify.
4503 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4505 * calc/calc-alg.el (math-var): Rename from `var'.
4506 (math-is-polynomial, math-is-poly-rec): Replace `var'
4509 * calc/calcalg2.el (math-var): Rename from `var'.
4510 (calcFunc-table, math-scan-for-limits): Replace `var'
4513 2010-10-13 Glenn Morris <rgm@gnu.org>
4515 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4517 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4519 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4521 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4523 * net/tls.el (tls-program): Remove spurious %s from openssl.
4524 (tls-starttls-switches): Remove starttls hack.
4525 (open-tls-stream): Ditto.
4526 (tls-find-starttls-argument): Ditto.
4528 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4530 * image.el (image-library-alist): Declare as obsolete alias.
4531 (image-type-available-p): Use `dynamic-library-alist'.
4533 * term/w32-win.el (dynamic-library-alist):
4534 Use instead of `image-library-alist'.
4536 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4538 * subr.el (last): Make it faster. (Bug#7174)
4540 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4542 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4544 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4546 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4547 (describe-theme-1): Extract doc from unloaded themes.
4549 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4551 * themes/tango-theme.el:
4552 * themes/tango-dark-theme.el:
4553 * themes/wheatgrass-theme.el: New files.
4555 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4557 * cus-theme.el (describe-theme, customize-themes)
4558 (custom-theme-save): New commands.
4559 (custom-new-theme-mode-map): Bind C-x C-s.
4560 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4561 (customize-create-theme): New optional arg THEME.
4562 (custom-theme-revert): Use it.
4563 (custom-theme-visit-theme): Remove dead code.
4564 (custom-theme-merge-theme): Use custom-available-themes.
4565 (custom-theme-write): Make interactive.
4566 (custom-theme-write): Use custom-theme-name-valid-p.
4567 (describe-theme-1, custom-theme-choose-revert)
4568 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4570 (custom-theme-allow-multiple-selections): New option.
4571 (custom-theme-choose-mode): New major mode.
4573 * custom.el (custom-theme-set-variables): Remove dead code.
4574 Obey custom--inhibit-theme-enable.
4575 (custom--inhibit-theme-enable): New var.
4576 (provide-theme): Obey it.
4577 (load-theme): Replace load with manual read/eval, in order to
4578 check for correctness. Use custom-theme-name-valid-p.
4579 (custom-theme-name-valid-p): New function.
4580 (custom-available-themes): Use it.
4582 * cus-edit.el (custom--initialize-widget-variables): New function.
4583 (Custom-mode): Use it.
4585 * cus-face.el (custom-theme-set-faces): Remove dead code.
4586 Obey custom--inhibit-theme-enable.
4588 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4590 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4592 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4594 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4596 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4597 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4598 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4600 * cus-start.el (all): ns-right-alternate-modifier is new.
4602 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4604 * emacs-lisp/lisp.el (lisp-completion-at-point):
4605 Use emacs-lisp-mode-syntax-table for the whole function.
4607 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4609 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4610 instead of font-lock-mode before adding keywords.
4611 Remove hi-lock-mode off code. Remove inhibit hack.
4612 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4613 non-nil; removed hook inhibit hack.
4615 2010-10-12 Glenn Morris <rgm@gnu.org>
4617 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4618 (load-path-shadows-find): ... to this.
4619 (list-load-path-shadows): Update for above change.
4621 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4623 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4625 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4626 Fix comment for declare-function.
4628 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4630 * custom.el (custom-fix-face-spec): New function; code moved from
4631 custom-face-edit-fix-value.
4632 (custom-push-theme): Use it when checking if a face has been
4633 changed outside customize.
4634 (custom-available-themes): New function.
4635 (load-theme): Use it.
4637 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4639 * custom.el (custom-push-theme): Cleanup (use cond).
4640 (disable-theme): Recompute the saved-face property.
4641 (custom-theme-recalc-face): Follow face alias before setting prop.
4643 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4644 New variables, containing checkbox images.
4646 * startup.el (fancy-startup-tail):
4647 * wid-edit.el (checkbox): Use them.
4649 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4651 * shell.el (shell-mode-map):
4652 * progmodes/modula2.el (m2-mode-map):
4653 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4654 * play/mpuz.el (mpuz-mode-map):
4655 * play/landmark.el (lm-mode-map):
4656 * play/decipher.el (decipher-mode-map):
4657 * play/5x5.el (5x5-mode-map):
4658 * net/telnet.el (telnet-mode-map):
4659 * net/quickurl.el (quickurl-list-mode-map):
4660 * net/mairix.el (mairix-searches-mode-map):
4661 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4662 * net/dig.el (dig-mode-map):
4663 * mail/mspools.el (mspools-mode-map):
4664 * hexl.el (hexl-mode-map):
4665 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4666 (wordstar-C-o-map, wordstar-C-q-map):
4667 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4668 * emacs-lisp/chart.el (chart-map):
4669 * edmacro.el (edmacro-mode-map):
4670 * erc/erc-list.el (erc-list-menu-mode-map):
4671 * array.el (array-mode-map): Declare and define in one step.
4673 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4675 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4677 * epa.el (epa-passphrase-callback-function): Display filename
4678 passed as the 3rd arg.
4679 * epa-file.el (epa-file-passphrase-callback-function):
4680 Pass filename to epa-passphrase-callback-function.
4682 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4684 * cus-edit.el (custom-face-widget-to-spec)
4685 (custom-face-get-current-spec, custom-face-state): New functions.
4686 (custom-face-set, custom-face-mark-to-save)
4687 (custom-face-value-create, custom-face-state-set): Use them.
4689 * cus-theme.el (custom-theme--listed-faces): New var.
4690 (customize-create-theme): Use *Custom Theme* as the buffer name.
4691 Set revert-buffer-function. Optional arg BUFFER. Insert all
4692 faces listed in custom-theme--listed-faces.
4693 (custom-theme-revert): New function.
4694 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4696 (custom-theme-write): Prompt for theme name if empty.
4697 (custom-theme-write-variables): Use dolist.
4698 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4700 2010-10-09 Alan Mackenzie <acm@muc.de>
4702 Enhance fontification of declarators to take account of the
4703 presence/absence of "typedef".
4705 * cc-engine.el (c-forward-type): New &optional param
4707 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4708 presence of either or both of a "struct"-like keyword and "typedef".
4710 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4711 fontification of declarators which follow a "}".
4712 (c-font-lock-declarations): Fontify declarators according to the
4713 presence/absence of "typedef".
4715 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4717 (c-typedef-decl-key): New lang variable built from
4718 c-typedef-decl-kwds.
4720 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4722 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4723 since that's too annoying. Move the filter groups commands to
4726 * epa.el (epa-passphrase-callback-function): Say what we're
4727 querying the password for.
4729 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4730 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4732 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4734 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4735 (custom-magic-value-create): Pad button tags with spaces.
4736 (custom-face-edit): New variable.
4737 (custom-face-value-create): Determine whether to use the usual
4738 face editor here, instead of using custom-face-selected.
4739 Pass face defaults to custom-face-edit widget.
4740 (custom-face-selected, custom-display-unselected): Delete widgets.
4741 (custom-display-unselected-match): Function removed.
4742 (custom-face-set, custom-face-mark-to-save):
4743 Accept custom-face-edit widgets as the direct widget child.
4745 * wid-edit.el (widget--completing-widget): New var.
4746 (widget-default-complete): Bind it when doing completion.
4747 (widget-string-complete, widget-file-complete): Use it.
4749 2010-10-09 Glenn Morris <rgm@gnu.org>
4751 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4752 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4753 (holiday-hebrew-misc): Small simplifications.
4755 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4757 * net/browse-url.el: Don't require thingatpt, term, dired,
4758 executable, or w3-auto when compiling.
4759 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4761 (browse-url-text-emacs): Require term.
4763 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4765 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4767 2010-10-08 Glenn Morris <rgm@gnu.org>
4769 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4771 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4772 (shadows-compare-text-p): Make it an obsolete alias for...
4773 (load-path-shadows-compare-text): ... new name.
4774 (find-emacs-lisp-shadows): Update for above name change.
4775 (load-path-shadows-same-file-or-nonexistent): New name for the old
4776 shadow-same-file-or-nonexistent.
4778 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4780 * minibuffer.el (completion--some, completion--do-completion)
4781 (minibuffer-complete-and-exit, minibuffer-completion-help)
4782 (completion-basic-try-completion)
4783 (completion-basic-all-completions)
4784 (completion-pcm--find-all-completions): Use lexical-let to
4785 avoid some false matches in variable completion (Bug#7056)
4787 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4789 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4791 2010-10-08 Leo <sdl.web@gmail.com>
4793 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4794 return non-nil if the file exists (Bug#7090).
4796 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4798 * minibuffer.el (completion--replace):
4799 Better preserve markers (bug#7138).
4801 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4803 * server.el (server-process-filter): Doc fix.
4805 2010-10-08 Drew Adams <drew.adams@oracle.com>
4807 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4809 2010-10-08 Glenn Morris <rgm@gnu.org>
4811 * vc/ediff-wind.el (ediff-setup-control-frame):
4812 * vc/ediff-ptch.el (ediff-default-backup-extension):
4813 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4814 (ediff-exec-process): Remove system-types emx, windows-95.
4816 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4818 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4820 * cus-edit.el (custom-variable, custom-face): Doc fix.
4821 (custom-face-edit): Add value-create attribute.
4822 (custom-face-edit-value-create)
4823 (custom-face-edit-value-visibility-action): New functions.
4824 Hide unused face attributes by default, and add a visibility toggle.
4825 (custom-face-edit-deactivate): Show empty values with shadow face.
4826 (custom-face-selected): Only use this for face specs with default
4828 (custom-face-value-create): Cleanup.
4830 * wid-edit.el (widget-checklist-value-create): Use dolist.
4831 (widget-checklist-match-find): Make second arg optional.
4833 2010-10-07 Glenn Morris <rgm@gnu.org>
4835 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4838 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4839 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4840 load-path-shadows-mode, update references.
4841 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4842 Rename variable and button.
4843 (list-load-path-shadows): Update button caller.
4845 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4847 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4848 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4849 (smie-merge-prec2s): Handle those new entries.
4850 (smie-prec2-levels): Only set precedence to nil for actual
4852 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4853 that is now unnecessary.
4855 2010-10-07 Miles Bader <miles@gnu.org>
4857 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4859 2010-10-07 Glenn Morris <rgm@gnu.org>
4861 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4862 (mail-position-on-field): Remove declarations.
4863 (mail-position-on-field): Autoload it.
4864 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4865 and mail-header-end. Don't require sendmail.
4867 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4868 (shadow-mode): New mode.
4869 (shadow-find-file): New button.
4870 (list-load-path-shadows): Use shadow-mode and buttons.
4872 * iimage.el (iimage-version): Remove.
4873 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4874 Turn into defcustoms.
4875 (iimage-mode-map): Give it a doc string.
4877 * calendar/appt.el (appt-activate): Give a warning rather than an error
4878 if there is no diary-file.
4880 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4882 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4883 Use `tramp-handle-find-backup-file-name'.
4885 2010-10-06 Glenn Morris <rgm@gnu.org>
4887 * font-core.el (font-lock-defaults-alist): Remove variable.
4888 (font-lock-mode): Doc fix.
4889 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4890 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4891 (font-lock-set-defaults): Doc fix.
4892 Do not consult font-lock-defaults-alist.
4894 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4896 * emacs-lisp/cl.el: No longer provide cl-19.
4898 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4900 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4901 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4902 New defuns, taken from tramp-smb.el.
4903 (tramp-coding-system-change-eol-conversion)
4904 (tramp-set-process-query-on-exit-flag): Remove.
4906 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4907 (tramp-compat-coding-system-change-eol-conversion)
4908 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4911 * net/tramp-gvfs.el:
4912 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4913 by `tramp-compat-set-process-query-on-exit-flag'.
4915 * net/tramp-imap.el (tramp-imap-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-imap-handle-file-exists-p)
4920 (tramp-imap-handle-file-executable-p)
4921 (tramp-imap-handle-file-readable-p)
4922 (tramp-imap-handle-directory-files-and-attributes)
4923 (tramp-imap-handle-file-newer-than-file-p): Remove.
4925 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4926 by `tramp-compat-set-process-query-on-exit-flag' and
4927 `tramp-coding-system-change-eol-conversion' by
4928 `tramp-compat-coding-system-change-eol-conversion'.
4930 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4931 Use `tramp-handle-directory-files-and-attributes',
4932 `tramp-handle-file-exists-p' and
4933 `tramp-handle-file-newer-than-file-p'.
4934 (tramp-smb-handle-directory-files-and-attributes)
4935 (tramp-smb-handle-file-exists-p)
4936 (tramp-smb-handle-file-newer-than-file-p): Remove.
4937 (tramp-smb-maybe-open-connection):
4938 Replace `tramp-set-process-query-on-exit-flag' by
4939 `tramp-compat-set-process-query-on-exit-flag'.
4941 2010-10-05 Glenn Morris <rgm@gnu.org>
4943 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4945 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4947 Continue reorganization of load dependencies. (Bug#7156)
4949 * net/tramp.el (tramp-handle-file-local-copy-hook)
4950 (tramp-delete-temp-file-function): Move down.
4951 (tramp-exists-file-name-handler): Move up.
4952 (tramp-register-file-name-handlers): Simplify autoload.
4953 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4954 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4955 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4956 (tramp-handle-file-name-completion)
4957 (tramp-handle-file-name-directory)
4958 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4959 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4960 (tramp-handle-find-backup-file-name)
4961 (tramp-handle-insert-file-contents, tramp-handle-load)
4962 (tramp-handle-substitute-in-file-name)
4963 (tramp-handle-unhandled-file-name-directory)
4964 (tramp-mode-string-to-int, tramp-local-host-p)
4965 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4967 * net/tramp-gvfs.el (top):
4968 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4970 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4971 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4973 2010-10-04 Glenn Morris <rgm@gnu.org>
4975 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4976 (appt-activate): Give status messages.
4978 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4980 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4981 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4982 `gnutls-negotiate' (formerly `starttls-negotiate').
4983 Remove trivial wrapper `starttls-open-stream'.
4985 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4987 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4988 log-outgoing commands.
4989 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4990 to create a buffer local revert-buffer-function variable.
4991 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4992 revert-buffer-function lambda.
4994 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4996 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4997 `gnutls-boot'. Make TYPE the only required parameter.
4998 Allow TRUSTFILES and KEYFILES to be lists.
4999 (open-ssl-stream): Use it.
5001 2010-10-03 Glenn Morris <rgm@gnu.org>
5003 * subr.el (directory-sep-char): Remove obsolete variable.
5004 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5007 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5008 * vc/vc.el (vc-static-header-alist): Doc fix.
5009 * vc/vc-cvs.el (vc-cvs-header):
5010 * vc/vc-rcs.el (vc-rcs-header):
5011 * vc/vc-sccs.el (vc-sccs-header):
5012 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5013 * obsolete/vc-mcvs.el (vc-mcvs-header):
5014 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5017 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5019 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5020 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5022 2010-10-03 Glenn Morris <rgm@gnu.org>
5024 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5026 * textmodes/rst.el (rst-font-lock-keywords-function):
5029 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5031 * printing.el: Drop Emacs 20 code.
5033 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5034 without having used appt.el already).
5036 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5037 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5038 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5040 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5041 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5043 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5044 (charset-width, find-charset-region, chars-in-region, forward-point)
5045 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5046 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5047 Remove compatibility cruft (none of these are used by ps*.el).
5049 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5051 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5053 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5055 * server.el (server-process-filter, server-return-error):
5056 Give emacsclient time to shut down after receiving an error string.
5058 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5060 * files.el (remote-file-name-inhibit-cache): New defcustom.
5062 * time.el (display-time-file-nonempty-p):
5063 Use `remote-file-name-inhibit-cache'.
5065 * net/tramp.el (tramp-completion-reread-directory-timeout):
5068 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5069 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5070 `remote-file-name-inhibit-cache'. Check also for an integer
5071 value. Add/increase counter when `tramp-verbose' >= 10.
5072 (tramp-set-file-property): Add/increase counter when
5073 `tramp-verbose' >= 10.
5075 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5076 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5077 (tramp-bug): Set tramp-autoload cookie. Report all interned
5078 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5079 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5080 characters only in strings.
5082 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5083 to backward compatibility.
5085 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5086 (tramp-handle-file-name-all-completions)
5087 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5088 (tramp-open-connection-setup-interactive-shell):
5089 Call `tramp-cleanup-connection' directly.
5091 2010-10-02 Glenn Morris <rgm@gnu.org>
5093 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5095 * subr.el (char-bytes): Remove obsolete function.
5097 * isearch.el (isearch-return-char): Remove obsolete function.
5099 * mouse.el: No longer provide mldrag.
5100 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5101 Remove obsolete aliases.
5103 * comint.el (comint-kill-output): Remove obsolete alias.
5105 * composite.el (decompose-composite-char): Remove obsolete function.
5106 * ps-def.el (decompose-composite-char): Remove unused function.
5108 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5110 * outline.el (outline-visible): Remove obsolete function.
5112 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5113 * faces.el (internal-find-face, internal-get-face)
5114 (frame-update-faces, frame-update-face-colors)
5115 (x-frob-font-weight, x-frob-font-slant)
5116 (internal-frob-font-weight, internal-frob-font-slant)
5117 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5118 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5119 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5121 * emulation/viper-util.el (viper-get-face):
5122 * obsolete/lucid.el (find-face, get-face): Use facep.
5123 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5124 Remove unused functions.
5125 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5127 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5128 delete tempfile if interrupted during compilation.
5130 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5132 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5134 (tls-program): Add --insecure to be consistent with the defaults from
5135 openssl s_client. Now all three commands are insecure.
5137 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5139 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5140 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5141 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5143 2010-10-01 Glenn Morris <rgm@gnu.org>
5145 * obsolete/sc.el: Remove file.
5147 * files.el (temporary-file-directory): On darwin, also try
5148 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5150 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5152 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5153 Let's not break compatibility gratuitously, shall we?
5155 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5157 * net/tls.el (tls-starttls-switches): New variable.
5158 (tls-find-starttls-argument): Use it.
5159 (open-tls-stream): Ditto.
5161 * net/netrc.el (netrc-credentials): Return the value of the "default"
5163 (netrc-machine): Ditto.
5165 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5167 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5169 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5171 * server.el (server-start): Don't write pid to the authentication file.
5172 (server-create-tty-frame): Don't send pid.
5173 (server-process-filter): Send pid at the start of every connection.
5175 2010-09-30 Glenn Morris <rgm@gnu.org>
5177 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5178 (show-all-diary-entries): Remove obsolete function aliases.
5180 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5181 Remove options, obsolete since 22.1.
5182 (appt-display-format, appt-display-message):
5183 Remove backwards-compatibility code.
5184 (appt-check): No longer check appt-issue-message.
5185 (appt-make-list): No longer autoload it. Doc fix. No longer
5186 activate the package.
5188 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5190 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5191 (starttls-negotiate): Just call boot, and let the handshake be
5192 triggered from the read loop.
5194 2010-09-29 Glenn Morris <rgm@gnu.org>
5196 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5197 not displaying the diary.
5198 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5199 * calendar/appt.el (appt-check): No longer need to kill diary.
5201 * calendar/diary-lib.el (diary-list-entries): Move the
5202 "Preparing..." message entirely here.
5203 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5204 messages to diary-list-entries.
5205 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5206 diary-display-function.
5208 * calendar/diary-lib.el (diary-include-other-diary-files):
5209 Trap some recursive includes.
5211 * calendar/appt.el (appt-activate): Check diary file.
5213 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5215 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5218 * calendar/time-date.el: No need to require cl for Emacs 21.
5220 2010-09-28 Glenn Morris <rgm@gnu.org>
5222 * calendar/appt.el (appt-check): Minor simplification.
5224 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5226 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5229 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5231 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5232 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5234 2010-09-27 Kenichi Handa <handa@m17n.org>
5236 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5239 2010-09-27 Kenichi Handa <handa@m17n.org>
5241 * international/mule.el (define-coding-system): Docstring fixed.
5243 * international/mule-diag.el (describe-character-set): Use princ
5244 with proper print-length and print-level instead of insert.
5246 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5248 * window.el (walk-windows): Doc fix (bug#7105).
5250 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5252 * emacs-lisp/float-sup.el (e): Remove.
5254 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5256 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5258 (starttls-negotiate): Use it.
5260 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5262 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5265 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5267 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5269 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5271 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5273 * net/netrc.el (netrc-store-data): New function.
5275 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5277 * net/gnutls.el: GnuTLS glue code to set up a connection.
5279 2010-09-25 Julien Danjou <julien@danjou.info>
5281 * notifications.el: Call dbus-register-signal only if it is bound.
5283 2010-09-25 Glenn Morris <rgm@gnu.org>
5285 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5286 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5287 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5288 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5289 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5290 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5291 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5292 * eshell/esh-util.el, eshell/esh-var.el:
5293 Remove leading `*' from docs of faces and defcustoms.
5295 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5297 * eshell/em-ls.el (eshell-ls-archive-regexp):
5298 * eshell/esh-util.el (eshell-tar-regexp):
5299 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5300 * info.el (Info-suffix-list):
5301 * international/mule.el (auto-coding-alist):
5302 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5303 * progmodes/etags.el (tags-compression-info-list):
5304 Support xz compression.
5306 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5308 * files.el (get-free-disk-space): Don't assume the "df" output
5309 columns line up (Bug#6995).
5311 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5313 * finder.el (finder-unknown-keywords):
5314 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5315 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5317 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5319 * server.el (server-start): Revert part of 2010-08-08 change. Using
5320 address 127.0.0.1 for local host is now done in Fmake_network_process.
5322 2010-09-24 Glenn Morris <rgm@gnu.org>
5324 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5325 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5326 * textmodes/css-mode.el, textmodes/dns-mode.el:
5327 Move autoloaded auto-mode-alist entries to files.el.
5328 * files.el (auto-mode-alist): Move entries here.
5330 2010-09-23 Glenn Morris <rgm@gnu.org>
5332 * isearch.el (isearch-lazy-highlight-cleanup)
5333 (isearch-lazy-highlight-initial-delay)
5334 (isearch-lazy-highlight-interval)
5335 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5336 * net/net-utils.el (ipconfig-program-options):
5337 Move aliases to options before the associated definitions.
5339 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5341 * newcomment.el (comment-normalize-vars): Better test validity of
5344 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5346 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5347 (float-e): New name for `e'.
5348 (degrees-to-radians, radians-to-degrees):
5349 * calendar/solar.el (solar-longitude):
5350 * calculator.el (calculator-registers, calculator-funcall):
5351 * textmodes/artist.el (artist-spray-random-points):
5352 * play/bubbles.el (bubbles--initialize-images): Use new names.
5354 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5356 Update to CEDET 1.0's version of EIEIO.
5358 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5360 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5361 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5362 (class-precedence-list): If class is nil, return nil.
5363 (eieio-generic-call): If class of first input arg is nil, don't
5364 look up static methods, and do check for primary methods.
5365 (initialize-instance): See if the default needs to be evaluated
5366 during the constructor.
5367 (eieio-perform-slot-validation-for-default): Don't do the check
5368 for values that will eventually be evaluated.
5369 (eieio-eval-default-p): New function.
5370 (eieio-default-eval-maybe): Use it.
5372 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5374 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5375 method-invocation-order.
5376 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5377 (eieio-class-precedence-dfs): Compute class precedence list using
5379 (eieio-class-precedence-bfs): Compute class precedence list using
5381 (eieio-class-precedence-c3): Compute class precedence list using
5383 (class-precedence-list): New function.
5384 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5385 (inconsistent-class-hierarchy): New error symbol.
5386 (call-next-method): Stow the replacement argument list for future
5387 call-next-method invocations.
5389 2010-09-23 Glenn Morris <rgm@gnu.org>
5391 * calendar/appt.el (appt-check): If not displaying the diary,
5392 use (diary 1) to only get the entries we need.
5393 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5394 that it is in day order. (Bug#7019)
5396 * calendar/appt.el (appt-check): Rather than showing the diary,
5397 just turn off invisible display, and only if needed.
5399 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5401 2010-09-23 Glenn Morris <rgm@gnu.org>
5403 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5404 (byte-compile-defvar, byte-compile-cl-warn):
5405 Start warnings with lower-case, like the majority.
5407 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5409 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5411 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5412 * files.el (auto-mode-alist): Move ld-script entries here, further down
5415 * vc/add-log.el: Don't require timezone when compiling.
5416 (timezone-make-date-sortable): Autoload it.
5417 (change-log-sortable-date-at): Don't require timezone.
5418 Use `ignore-errors'.
5420 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5421 Move alias before definition, so it does not need autoloading.
5423 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5424 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5425 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5426 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5427 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5428 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5429 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5430 * textmodes/tex-mode.el, textmodes/two-column.el:
5431 Remove leading `*' from docs of defcustoms etc.
5433 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5435 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5437 2010-09-22 Dan Christensen <jdc@uwo.ca>
5439 * calendar/time-date.el (date-to-time): Try using parse-time-string
5440 first before using the slower timezone-make-date-arpa-standard.
5442 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5444 * calendar/time-date.el (format-seconds): Comment fix.
5446 2010-09-22 Glenn Morris <rgm@gnu.org>
5448 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5449 is not automatically buffer-local.
5451 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5453 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5454 (smie-indent-comment): Be more careful with comment-start-skip.
5455 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5456 (smie-indent-functions): Use them.
5458 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5460 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5462 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5464 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5465 tool-bar-position. Don't modify frame parameters here.
5466 (menu-bar-options-save): Add tool-bar-position.
5468 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5470 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5472 * textmodes/reftex-parse.el (reftex-what-macro)
5473 (reftex-context-substring): Let-bind forward-sexp-function to nil
5474 since we don't need/want to treat \begin...\end as a block (bug#7053).
5476 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5478 * simple.el (blink-matching-open): Use syntax-class.
5480 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5481 Set invisibility spec for pascal's outline mode.
5482 (pascal-outline-change): Clean up calling convention.
5483 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5485 * progmodes/prolog.el (prolog-smie-forward-token)
5486 (prolog-smie-backward-token): New functions.
5487 (prolog-mode-variables): Use them to parse "!," correctly.
5488 Set up smie-blink-matching for ".".
5490 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5492 (ispell-region, ispell-process-line): Update users.
5494 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5497 * textmodes/ispell.el: Fix commenting convention.
5498 (ispell-parse-output): Simplify, use push.
5499 (ispell-region): Use match-string-no-properties.
5500 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5501 (ispell-minor-mode): Use define-minor-mode.
5502 (ispell-message): Remove unused var `skip-regexp'.
5503 (ispell-add-per-file-word-list): Use dynamic let-binding.
5504 Try and use the proper comment marker.
5506 * mail/sendmail.el: Fix commenting convention.
5507 (sendmail-send-it): Use line-beginning-position.
5509 * help-fns.el (describe-variable): Add original value, if applicable.
5511 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5513 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5515 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5517 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5519 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5520 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5521 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5522 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5523 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5524 something like "." can also be a closer.
5525 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5526 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5527 Rename internal functions to use "--". Update callers.
5529 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5531 * fringe.el (fringe-styles): New var.
5532 (fringe-mode, fringe-query-style): Use it.
5534 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5536 * progmodes/sql.el: Version 2.8
5537 (sql-login-params): Update widget structure; changes still needed.
5538 (sql-product-alist): Add :list-all and :list-table features for
5539 SQLite, Postgres and MySQL products.
5540 (sql-redirect): Handle default value.
5541 (sql-execute, sql-execute-feature): New functions.
5542 (sql-read-table-name): New function.
5543 (sql-list-all, sql-list-table): New functions. User API.
5544 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5545 for above functions.
5546 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5547 for above functions.
5548 (sql-postgres-login-params): Add user and database defaults.
5549 (sql-buffer-live-p): Bug fix.
5550 (sql-product-history): New variable.
5551 (sql-read-product): New function. Use it.
5552 (sql-set-product, sql-product-interactive): Use it.
5553 (sql-connection-history): New variable.
5554 (sql-read-connection): New function. Use it.
5555 (sql-connect): New function.
5556 (sql-for-each-login): Redesign function interface.
5557 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5558 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5559 (sql-comint): Check for program. Existing live buffer.
5560 (sql-comint-postgres): Add port parameter.
5562 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5564 * emacs-lisp/warnings.el: Fix commenting convention.
5565 (display-warning): Use special mode and make the buffer read-only.
5567 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5569 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5570 empty string when it follows a repeated or optional pattern.
5572 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5574 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5575 (indent-region): Use indent-according-to-mode.
5577 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5579 * fringe.el (fringe-mode): Doc fix.
5581 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5583 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5584 refreshing the preview buffer.
5586 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5588 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5589 (latex-syntax-propertize-rules): New consts; replace
5590 tex-font-lock-syntactic-keywords.
5591 (tex-env-mark, latex-env-before-change): New functions.
5592 (latex-electric-env-pair-mode): New minor mode.
5593 (tex-font-lock-verb): Change arguments; do move point.
5594 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5595 representation as a form of comment.
5596 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5597 (doctex-syntax-propertize-rules): New const; replaces
5598 doctex-font-lock-syntactic-keywords.
5599 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5601 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5602 (fortran-make-syntax-propertize-function): New function; replaces
5603 fortran-font-lock-syntactic-keywords.
5604 (fortran-mode): Use it.
5605 (fortran-line-length): Use it. Improve interactive spec.
5607 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5608 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5609 when adding surrounding \(..\).
5611 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5613 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5615 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5616 Use with-current-buffer.
5618 * isearch.el (isearch-face): Rename from `isearch'.
5619 (isearch-highlight): Use new name.
5621 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5623 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5624 5, for `half' width fringes. (Bug#6933)
5626 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5628 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5629 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5631 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5633 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5635 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5636 in calculating new frame position. Add more space between new and
5637 parent on the left (Bug#7048).
5639 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5641 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5644 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5646 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5648 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5649 obsolete alias for x-selection-value.
5651 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5653 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5655 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5658 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5660 * net/tramp-compat.el (tramp-compat-with-temp-message)
5661 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5662 (tramp-compat-process-put): New defuns.
5664 * net/tramp.el (top):
5665 * net/tramp-gvfs.el (top):
5666 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5668 * net/tramp.el (tramp-progress-reporter-update):
5669 Use `tramp-compat-funcall'.
5671 * net/tramp.el (tramp-process-actions):
5672 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5673 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5674 (tramp-get-remote-stat, tramp-get-remote-readlink):
5675 Use `tramp-compat-with-temp-message'.
5677 * net/tramp-sh.el (top): Require 'cl.
5678 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5679 (tramp-open-connection-setup-interactive-shell):
5680 Use `tramp-compat-process-put'.
5682 2010-09-15 Alan Mackenzie <acm@muc.de>
5684 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5686 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5688 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5690 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5691 `lexical' for warnings related to lexical scoping.
5692 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5693 global vars which don't have a prefix and could hence affect lexical
5694 scoping in unrelated files.
5696 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5698 * net/imap.el: Revert back to version
5699 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5702 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5704 * obsolete/old-whitespace.el (whitespace-unload-function):
5705 Explicitly pass `obarray' to `unintern' to avoid a warning.
5707 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5709 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5710 Add `when' argument. Update callers.
5712 * subr.el (unintern): Declare the obarray arg mandatory.
5714 2010-09-14 Glenn Morris <rgm@gnu.org>
5716 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5719 * calendar/diary-lib.el (diary-included-files): New variable.
5720 (diary-list-entries): Maybe initialize diary-included-files.
5721 (diary-include-other-diary-files): Append to diary-included-files.
5722 * calendar/appt.el (appt-update-list): Also check the members of
5723 diary-included-files. (Bug#6999)
5724 (appt-check): Doc fix.
5726 2010-09-14 David Reitter <david.reitter@gmail.com>
5728 * simple.el (line-move-visual): Do not truncate goal column to
5729 integer size. (Bug#7020)
5731 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5733 * repeat.el (repeat): Allow repeating when the last event is a click.
5734 Suggested by Drew Adams (bug#6256).
5736 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5738 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5739 Replace setting HGRCPATH to "" by some less invasive --config options.
5741 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5743 * font-lock.el (font-lock-beginning-of-syntax-function):
5746 2010-09-14 Glenn Morris <rgm@gnu.org>
5748 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5749 and tool-bar modes. (Bug#6211)
5750 (menu-bar-mode): Move setting of standard-value after the
5751 minor-mode definition, otherwise it seems to have no effect.
5753 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5755 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5756 Fix typo. (Bug#6976)
5758 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5760 * whitespace.el: Allow cleaning up blanks without blank
5761 visualization (Bug#6651). Adjust help window for
5762 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5763 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5764 (whitespace-style): Add new value 'face. Adjust docstring.
5765 (whitespace-space, whitespace-hspace, whitespace-tab):
5766 Adjust foreground property face.
5767 (whitespace-line-column): Adjust docstring and type declaration.
5768 (whitespace-style-value-list, whitespace-toggle-option-alist)
5769 (whitespace-help-text): Adjust const initialization.
5770 (whitespace-toggle-options, global-whitespace-toggle-options):
5772 (whitespace-display-window, whitespace-interactive-char)
5773 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5774 (whitespace-help-scroll): New fun.
5776 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5778 * calendar/time-date.el (format-seconds): Comment fix.
5780 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5782 * progmodes/sql.el: Version 2.7.
5783 (sql-buffer-live-p): Improve detection.
5784 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5785 (sql-set-sqli-buffer): Use it.
5786 (sql-product-interactive): Run `sql-set-sqli-hook'.
5787 (sql-rename-buffer): Code cleanup.
5788 (sql-redirect, sql-redirect-value): New functions. More to come.
5790 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5792 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.
5793 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5794 (TRAMP_SRC): New macro.
5795 ($(lisp)/net/tramp-loaddefs.el): New target.
5797 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5799 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5801 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5803 * net/tramp.el (top): Don't show loading message. Require just
5804 'tramp-compat, everything else is required there.
5805 Use `ignore-errors' where appropriate.
5806 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5807 (tramp-terminal-type, tramp-end-of-output)
5808 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5809 (tramp-completion-function-alist-ssh)
5810 (tramp-completion-function-alist-telnet)
5811 (tramp-completion-function-alist-su)
5812 (tramp-completion-function-alist-putty, tramp-remote-path)
5813 (tramp-remote-process-environment, tramp-sh-extra-args)
5814 (tramp-actions-before-shell, tramp-uudecode)
5815 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5816 (tramp-perl-file-attributes)
5817 (tramp-perl-directory-files-and-attributes)
5818 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5819 (tramp-perl-encode, tramp-perl-decode)
5820 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5821 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5822 (tramp-handle-make-symbolic-link, tramp-handle-load)
5823 (tramp-handle-file-name-as-directory)
5824 (tramp-handle-file-name-directory)
5825 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5826 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5827 (tramp-do-file-attributes-with-ls)
5828 (tramp-do-file-attributes-with-perl)
5829 (tramp-do-file-attributes-with-stat)
5830 (tramp-handle-set-visited-file-modtime)
5831 (tramp-handle-verify-visited-file-modtime)
5832 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5833 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5834 (tramp-handle-file-selinux-context)
5835 (tramp-handle-set-file-selinux-context)
5836 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5837 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5838 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5839 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5840 (tramp-handle-file-ownership-preserved-p)
5841 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5842 (tramp-handle-directory-files-and-attributes)
5843 (tramp-do-directory-files-and-attributes-with-perl)
5844 (tramp-do-directory-files-and-attributes-with-stat)
5845 (tramp-handle-file-name-all-completions)
5846 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5847 (tramp-handle-copy-file, tramp-handle-copy-directory)
5848 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5849 (tramp-do-copy-or-rename-file-via-buffer)
5850 (tramp-do-copy-or-rename-file-directly)
5851 (tramp-do-copy-or-rename-file-out-of-band)
5852 (tramp-handle-make-directory, tramp-handle-delete-directory)
5853 (tramp-handle-delete-file)
5854 (tramp-handle-dired-recursive-delete-directory)
5855 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5856 (tramp-handle-insert-directory)
5857 (tramp-handle-unhandled-file-name-directory)
5858 (tramp-handle-expand-file-name)
5859 (tramp-handle-substitute-in-file-name)
5860 (tramp-handle-executable-find, tramp-process-sentinel)
5861 (tramp-handle-start-file-process, tramp-handle-process-file)
5862 (tramp-handle-call-process-region, tramp-handle-shell-command)
5863 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5864 (tramp-handle-insert-file-contents)
5865 (tramp-handle-insert-file-contents-literally)
5866 (tramp-handle-find-backup-file-name)
5867 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5868 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5869 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5870 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5871 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5872 (tramp-find-file-exists-command, tramp-open-shell)
5873 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5874 (tramp-open-connection-setup-interactive-shell)
5875 (tramp-local-coding-commands, tramp-remote-coding-commands)
5876 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5877 (tramp-inline-compress-commands, tramp-find-inline-compress)
5878 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5879 (tramp-send-command, tramp-wait-for-output)
5880 (tramp-send-command-and-check, tramp-barf-unless-okay)
5881 (tramp-send-command-and-read, tramp-mode-string-to-int)
5882 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5883 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5884 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5885 (tramp-method-out-of-band-p, tramp-local-host-p)
5886 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5887 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5888 (tramp-get-test-command, tramp-get-test-nt-command)
5889 (tramp-get-file-exists-command, tramp-get-remote-ln)
5890 (tramp-get-remote-perl, tramp-get-remote-stat)
5891 (tramp-get-remote-readlink, tramp-get-remote-trash)
5892 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5893 (tramp-get-local-uid, tramp-get-local-gid)
5894 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5896 (tramp-methods, tramp-default-method-alist)
5897 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5898 Move initialization to tramp-sh.el.
5899 (tramp-temp-name-prefix): Make it a defconst.
5900 (tramp-dissect-file-name): Don't check anymore for multi-hop
5902 (tramp-debug-outline-regexp): Add a docstring.
5903 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5904 (tramp-get-debug-buffer): Use it.
5906 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5907 initialization forms.
5908 (tramp-set-connection-property): Don't protect `tramp-message'
5909 call, it isn't necessary any longer.
5910 (tramp-dump-connection-properties): Use `ignore-errors'.
5912 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5913 'password-cache and 'auth-source.
5915 * net/tramp-gvfs.el (top):
5916 * net/tramp-smb.el (top): Require 'tramp-sh.
5918 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5920 * net/tramp-sh.el: New file, derived from tramp.el.
5921 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5922 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5923 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5924 Use `ignore-errors' where appropriate.
5925 (tramp-sh-file-name-handler-alist): Rename from
5926 `tramp-file-name-handler-alist'.
5927 (tramp-send-command-and-check): Return t or nil. Remove all
5928 `zerop' checks, where called.
5929 (tramp-handle-set-file-modes)
5930 (tramp-do-copy-or-rename-file-directly)
5931 (tramp-handle-delete-directory, tramp-handle-delete-file)
5932 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5933 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5934 (tramp-get-remote-ln): Set tramp-autoload cookie.
5936 * net/tramp-fish.el: Remove file.
5938 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5940 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5941 buffer-file-name to avoid file-locking. (Bug#7026)
5943 2010-09-13 Julien Danjou <julien@danjou.info>
5945 * notifications.el (notifications-notify): Add support for
5946 image-path and sound-name.
5947 (notifications-specification-version): Add this variable.
5949 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5951 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5953 2010-09-12 Leo <sdl.web@gmail.com>
5955 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5956 (rcirc-completion-start): New variables.
5957 (rcirc-nick-completions): Rename to rcirc-completions.
5958 (rcirc-nick-completion-start-offset): Delete.
5959 (rcirc-completion-at-point): New function for constructing
5960 completion data for both nicks and irc commands. Add to
5961 completion-at-point-functions in rcirc mode.
5962 (rcirc-complete): Rename from rcirc-nick-complete; use
5963 rcirc-completion-at-point.
5964 (defun-rcirc-command): Update rcirc-client-commands.
5966 2010-09-11 Glenn Morris <rgm@gnu.org>
5968 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5969 atomically, to avoid parallel build errors. (Bug#4196)
5971 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5973 * progmodes/sql.el: Version 2.6
5974 (sql-dialect): Synonym for "sql-product".
5975 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5976 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5977 Set "sql-buffer" to buffer name not buffer object so multiple sql
5978 interactive buffers work properly. Reverts misguided changes in
5980 (sql-comint): Make sure different buffer name is used if "*SQL*"
5981 buffer is for a different product.
5982 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5984 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5985 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5986 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5987 Accept new buffer name or prompt for one.
5988 (sql-port): Default to zero.
5989 (sql-comint-mysql): Handle "sql-port" as a numeric.
5990 (sql-port-history): Delete unused variable.
5991 (sql-get-login): Default "sql-port" to a number.
5992 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5993 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5994 "sqlite3" executables.
5995 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5996 (sql-buffer-live-p): New function.
5997 (sql-mode-menu, sql-send-string): Use it.
5998 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6000 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6001 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6003 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6005 * net/netrc.el (netrc-credentials): New convenience function.
6007 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6009 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6010 to replace texinfo-font-lock-syntactic-keywords.
6011 (texinfo-mode): Use it.
6013 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6014 Use syntax-propertize-function.
6016 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6017 replace sgml-font-lock-syntactic-keywords.
6018 (sgml-mode): Use it.
6020 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6021 since we don't use it.
6023 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6025 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6027 (vhdl-fontify-buffer): Adjust.
6029 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6030 replace tcl-font-lock-syntactic-keywords.
6033 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6034 replace simula-font-lock-syntactic-keywords.
6035 (simula-mode): Use it.
6037 * progmodes/sh-script.el (sh-st-symbol): Remove.
6038 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6039 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6040 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6041 (sh-font-lock-paren): Set syntax-multiline.
6042 (sh-font-lock-syntactic-keywords): Remove.
6043 (sh-syntax-propertize-function): New function to replace it.
6046 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6047 Define while compiling.
6048 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6049 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6050 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6051 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6052 (ruby-here-doc-end-syntax): Only define when
6053 syntax-propertize is not available.
6054 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6056 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6057 (electric-indent-chars): Silence bytecompiler.
6058 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6059 electric-indent-chars.
6061 * progmodes/python.el (python-syntax-propertize-function): New var to
6062 replace python-font-lock-syntactic-keywords.
6063 (python-mode): Use it.
6064 (python-quote-syntax): Simplify and adjust to new use.
6066 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6067 replace perl-font-lock-syntactic-keywords.
6068 (perl-syntax-propertize-special-constructs): New fun to replace
6069 perl-font-lock-special-syntactic-constructs.
6070 (perl-font-lock-syntactic-face-function): New fun.
6071 (perl-mode): Use it.
6073 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6074 to replace octave-font-lock-close-quotes.
6075 (octave-syntax-propertize-function): New function to replace
6076 octave-font-lock-syntactic-keywords.
6077 (octave-mode): Use it.
6079 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6080 replaces mixal-font-lock-syntactic-keywords.
6081 (mixal-mode): Use it.
6083 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6084 New var; replaces makefile-font-lock-syntactic-keywords.
6085 (makefile-mode): Use it.
6086 (makefile-imake-mode): Adjust.
6088 * progmodes/js.el (js--regexp-literal): Define while compiling.
6089 (js-syntax-propertize-function): New var; replaces
6090 js-font-lock-syntactic-keywords.
6093 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6094 replaces gdb-script-font-lock-syntactic-keywords.
6095 (gdb-script-mode): Use it.
6097 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6098 (fortran--font-lock-syntactic-keywords): New var.
6099 (fortran-line-length): Update syntax-propertize-function and
6100 fortran--font-lock-syntactic-keywords.
6102 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6104 * progmodes/cfengine.el (cfengine-mode):
6105 Use syntax-propertize-function.
6106 (cfengine-font-lock-syntactic-keywords): Remove.
6108 * progmodes/autoconf.el (autoconf-mode):
6109 Use syntax-propertize-function.
6110 (autoconf-font-lock-syntactic-keywords): Remove.
6112 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6113 (ada-after-change-function, ada-initialize-syntax-table-properties)
6114 (ada-handle-syntax-table-properties): Only define when
6115 syntax-propertize is not available.
6116 (ada-mode): Use syntax-propertize-function.
6118 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6119 (font-lock-fontify-syntactic-keywords-region): Move handling of
6120 font-lock-syntactically-fontified to...
6121 (font-lock-default-fontify-region): ...here.
6122 Let syntax-propertize-function take precedence.
6123 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6125 * emacs-lisp/syntax.el (syntax-propertize-function)
6126 (syntax-propertize-chunk-size, syntax-propertize--done)
6127 (syntax-propertize-extend-region-functions): New vars.
6128 (syntax-propertize-wholelines, syntax-propertize-multiline)
6129 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6130 (syntax-propertize): New functions.
6131 (syntax-propertize-rules): New macro.
6132 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6133 (syntax-ppss): Call syntax-propertize.
6135 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6137 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6139 * textmodes/ispell.el (ispell-init-process): Improve comments.
6140 XEmacs compatibility changes regarding (add-hook) 'local option
6141 and (set-process-query-on-exit-flag).
6143 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6145 * net/tramp-cache.el (tramp-parse-connection-properties):
6146 Set tramp-autoload cookie.
6148 2010-09-09 Glenn Morris <rgm@gnu.org>
6150 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6151 (imagemagick-register-types): Doc fix.
6153 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6155 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6157 * progmodes/js.el (require): Require is already "eval-and-compile".
6158 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6159 (js--re-search-backward): Use js--re-search-forward.
6161 * progmodes/fortran.el (fortran-line-length): Don't recompute
6162 syntactic keywords redundantly a second time.
6164 * progmodes/ada-mode.el: Replace "(set '" with setq.
6165 (ada-mode): Simplify.
6166 (ada-create-case-exception, ada-adjust-case-interactive)
6167 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6168 (ada-search-ignore-string-comment, ada-move-to-start)
6169 (ada-move-to-end): Use with-syntax-table.
6171 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6172 (font-lock-unfontify-region, font-lock-default-fontify-region):
6173 Update usage correspondingly.
6174 (font-lock-fontify-syntactic-keywords-region):
6175 Set parse-sexp-lookup-properties buffer-locally here.
6176 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6178 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6180 2010-09-08 Glenn Morris <rgm@gnu.org>
6182 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6183 Error if not compiled with -DBYTE_CODE_METER.
6185 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6186 Ignore dir-locals-file.
6188 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6190 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6192 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6193 for the `gnu' messages.
6194 (compilation-set-skip-threshold): New command.
6195 (compilation-start): Use \' rather than $.
6196 (compilation-forget-errors): Use clrhash.
6198 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6200 * textmodes/ispell.el (ispell-valid-dictionary-list):
6203 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6205 Migrate to Tramp 2.2. Rearrange load dependencies.
6206 (Bug#1529, Bug#5448, Bug#5705)
6208 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6209 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6210 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6212 * net/tramp.el (top): Remove all other tramp-* loads except
6213 tramp-compat.el. Remove all changes to tramp-unload-hook for
6214 other tramp-* packages. Rearrange defun order. Change calls of
6215 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6216 `tramp-compat-octal-to-decimal' to new function names.
6217 (tramp-terminal-type, tramp-initial-end-of-output)
6218 (tramp-methods, tramp-foreign-file-name-handler-alist)
6219 (tramp-tramp-file-p, tramp-completion-mode-p)
6220 (tramp-send-command-and-check, tramp-get-remote-path)
6221 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6222 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6223 (with-file-property, with-connection-property): Move to
6225 (tramp-local-call-process, tramp-decimal-to-octal)
6226 (tramp-octal-to-decimal): Move to tramp-compat.el.
6227 (tramp-handle-shell-command): Do not require 'shell.
6228 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6230 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6232 * net/tramp-cache.el (top): Require 'tramp. Add to
6233 `tramp-unload-hook'.
6234 (tramp-cache-data, tramp-get-file-property)
6235 (tramp-set-file-property, tramp-flush-file-property)
6236 (tramp-flush-directory-property, tramp-get-connection-property)
6237 (tramp-set-connection-property, tramp-flush-connection-property)
6238 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6240 (with-file-property, with-connection-property): New defuns, moved
6242 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6245 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6246 (tramp-version): Set tramp-autoload cookie.
6248 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6249 changes to tramp-unload-hook for other tramp-* packages. Add to
6250 `tramp-unload-hook'.
6251 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6252 (tramp-compat-call-process): New defuns, moved from tramp.el.
6254 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6255 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6256 Add to `tramp-unload-hook'. Change call of
6257 `tramp-compat-decimal-to-octal' to new function name.
6258 (tramp-fish-method): Make it a defconst.
6259 (tramp-fish-file-name-p): Make it a defsubst.
6260 (tramp-fish-method, tramp-fish-file-name-handler)
6261 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6263 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6264 `tramp-foreign-file-name-handler-alist'. Add to
6265 `tramp-unload-hook'.
6266 (tramp-ftp-method): Make it a defconst.
6267 (tramp-ftp-file-name-p): Make it a defsubst.
6268 (tramp-ftp-method, tramp-ftp-file-name-handler)
6269 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6271 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6272 `tramp-foreign-file-name-handler-alist'. Add to
6273 `tramp-unload-hook'. Change checks, whether package can be
6275 (tramp-gvfs-file-name-p): Make it a defsubst.
6276 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6277 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6278 (tramp-gvfs-handle-file-directory-p): New defun.
6279 (tramp-gvfs-file-name-handler-alist): Use it.
6281 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6282 `tramp-foreign-file-name-handler-alist'. Add to
6283 `tramp-unload-hook'.
6284 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6285 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6287 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6288 (tramp-gw-open-connection): Set tramp-autoload cookie.
6290 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6291 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6292 Add to `tramp-unload-hook'. Change checks, whether package can be
6294 (tramp-imap-file-name-p): Make it a defsubst.
6295 (tramp-imap-method, tramp-imaps-method)
6296 (tramp-imap-file-name-handler)
6297 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6299 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6300 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6301 Add to `tramp-unload-hook'. Change checks, whether package can be
6302 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6304 (tramp-smb-tunnel-method): Make it a defconst.
6305 (tramp-smb-file-name-p): Make it a defsubst.
6306 (tramp-smb-method, tramp-smb-file-name-handler)
6307 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6309 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6310 (tramp-uuencode-region): Set tramp-autoload cookie.
6312 * net/trampver.el (top) Add to `tramp-unload-hook'.
6313 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6314 cookie. Update release number.
6316 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6318 * textmodes/ispell.el (ispell-start-process): Make sure original
6319 arg list is properly initialized (Bug#6993, Bug#6994).
6321 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6323 * files.el (directory-abbrev-alist): Use \` as default regexp.
6325 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6326 chars like - or ] (bug#6984).
6327 (rx-any-condense-range): Explode 2-char ranges.
6329 2010-09-06 Glenn Morris <rgm@gnu.org>
6331 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6333 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6335 * textmodes/bibtex.el:
6336 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6338 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6340 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6341 since no callers use it.
6342 (imap-message-get): Ditto.
6343 (imap-message-put): Ditto.
6344 (imap-mailbox-map): Ditto.
6345 (imap-mailbox-put): Ditto.
6346 (imap-mailbox-get): Ditto.
6347 (imap-mailbox-get): Revert last change for this function.
6349 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6351 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6352 callers to use `imap-fetch' instead. According to the comments, this
6353 should be safe, since all other IMAP clients use the 1:* syntax.
6354 (imap-enable-exchange-bug-workaround): Remove.
6355 (imap-debug): Remove -- doesn't seem very useful.
6357 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6359 * net/imap.el (imap-log): New convenience function used throughout
6360 instead of repeating the same code all over the place.
6362 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6364 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6365 when mouse-drag-copy-region is non-nil (Bug#6956).
6367 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6369 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6370 Improve regexps (Bug#6987).
6371 (dired-sort-toggle): Search more robustly for -t flag.
6373 * files.el (get-free-disk-space): Search more robustly for
6374 "available" column. Suggested by Ehud Karni
6375 <ehud@unix.mvs.co.il>.
6377 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6379 * international/uni-bidi.el:
6380 * international/uni-category.el:
6381 * international/uni-combining.el:
6382 * international/uni-decimal.el:
6383 * international/uni-mirrored.el:
6384 * international/uni-name.el: Regenerate.
6386 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6388 * electric.el (electric-indent-post-self-insert-function):
6389 Don't reindent with a sloppy indentation function.
6391 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6392 border case in change-log-mode.
6394 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6396 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6397 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6398 Recognize leading tab in gcc-include regexp. Ignore names with
6399 leading "from" or "in" in gnu regexp (Bug#6937).
6401 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6403 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6404 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6405 (ispell-start-process): Avoid setq and simplify logic.
6406 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6407 (kill-buffer-hook): Don't use it globally with code that uses
6408 expand-file-name since that may call kill-buffer via
6409 code_conversion_restore.
6411 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6413 * emacs-lisp/package.el (package-directory-list): Only call
6414 file-name-nondirectory on a string.
6416 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6418 * emacs-lisp/package.el (package--download-one-archive):
6419 Ensure that archive-contents is valid before saving it.
6420 (package-activate-1, package-mark-obsolete, define-package)
6421 (package-compute-transaction, package-list-maybe-add): Use push.
6423 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6425 Use SMIE's blink-paren for octave-mode.
6426 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6427 Backslashes do not escape single-quotes, single-quotes do.
6428 (octave-block-else-regexp, octave-block-end-regexp)
6429 (octave-block-match-alist): Remove.
6430 (octave-smie-bnf-table): New var, with old content.
6431 (octave-smie-op-levels): Use it.
6432 (octave-smie-closer-alist): New var.
6433 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6434 (octave-blink-matching-block-open): Remove.
6435 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6436 (octave-electric-space): Let self-insert-command run expand-abbrev and
6439 * electric.el (electricity): New group.
6440 (electric-indent-chars): New var.
6441 (electric-indent-post-self-insert-function): New fun.
6442 (electric-indent-mode): New minor mode.
6443 (electric-pair-skip-self): New custom.
6444 (electric-pair-post-self-insert-function): New function.
6445 (electric-pair-mode): New minor mode.
6447 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6448 calcAlg-blink-matching-open.
6449 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6450 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6451 Use the new blink-matching-check-function.
6453 Provide blink-matching support to SMIE.
6454 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6455 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6456 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6458 * simple.el (newline): Fix last change to properly remove itself from
6461 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6463 * simple.el (newline): Eliminate optimization.
6464 Use post-self-insert-hook to set hard-newline and things before
6465 running post-self-insert-hook.
6466 (blink-matching-check-mismatch): New function.
6467 (blink-matching-check-function): New variable.
6468 (blink-matching-open): Use them.
6469 Skip back forward over prefix chars skipped by forward-sexp.
6470 Don't check if the parens are backslash escaped.
6471 (blink-paren-post-self-insert-function): Check backslash escaping here.
6473 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6475 * emacs-lisp/package.el (package-menu-mode-map):
6476 Change package-menu-revert bindings to revert-buffer.
6477 (package-menu-mode): Set revert-buffer-function.
6478 (package-menu-revert): Doc fix.
6480 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6482 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6483 `default-directory' unless using Ispell per-directory personal
6484 dictionaries and not in a mini-buffer under XEmacs.
6485 (kill-buffer-hook): Do not kill ispell process on exit when
6486 `ispell-process-directory' is "~/". (Bug#6143)
6488 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6490 * simple.el (kill-new): Call interprogram-cut-function with only
6493 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6494 Remove cut buffer from error message.
6496 * term/x-win.el (x-select-text):
6497 * term/pc-win.el (x-selection-value):
6498 * term/ns-win.el (x-selection-value):
6499 * eshell/em-term.el:
6500 * w32-fns.el (x-get-selection-value):
6501 * mouse-sel.el (mouse-sel-set-selection-function):
6502 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6504 * term/x-win.el: Update documentation for x-last-selected-text-*.
6505 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6506 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6507 (x-select-text): Remove argument PUSH, update documentation.
6508 Remove cut-buffer code.
6509 (x-selection-value-internal): Was previously x-selection-value.
6510 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6511 Update documentation, remove cut-buffer code.
6512 Call x-selection-value-internal.
6513 (x-clipboard-yank): Call x-selection-value-internal.
6514 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6516 * term/pc-win.el (x-last-selected-text):
6517 x-cut-buffer-or-selection-value renamed to x-selection-value
6518 (x-select-text): Remove argument PUSH, update documentation.
6520 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6521 x-cut-buffer-or-selection-value renamed to x-selection-value
6522 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6523 (x-select-text): Remove argument PUSH, update documentation.
6525 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6527 * w32-fns.el (x-last-selected-text):
6528 x-cut-buffer-or-selection-value renamed to x-selection-value.
6529 (x-cut-buffer-max): Remove.
6530 (x-select-text): Remove argument PUSH, update documentation.
6532 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6534 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6536 * mouse-sel.el (mouse-sel-get-selection-function):
6537 x-cut-buffer-or-selection-value renamed to x-selection-value.
6538 (x-select-text): Remove optional push.
6540 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6542 * simple.el (blink-paren-function): Move from C to here.
6543 (blink-paren-post-self-insert-function): New function.
6544 (post-self-insert-hook): Use it.
6546 * emacs-lisp/pcase.el (pcase-split-memq):
6547 Fix overenthusiastic optimisation.
6548 (pcase-u1): Handle the case of a lambda pred.
6550 2010-08-31 Kenichi Handa <handa@m17n.org>
6552 * international/mule-cmds.el (standard-display-european-internal):
6553 Setup standard-display-table for 8-bit characters by storing 8-bit
6554 characters in the element vector.
6556 * disp-table.el (standard-display-8bit):
6557 Setup standard-display-table for 8-bit characters by storing 8-bit
6558 characters in the element vector.
6559 (standard-display-european): Likewise.
6561 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6563 * textmodes/nroff-mode.el (nroff-view): New command.
6564 (nroff-mode-map): Bind it to C-c C-c.
6566 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6568 * emacs-lisp/smie.el (smie-down-list): New command.
6570 Remove old indentation and navigation code on octave-mode.
6571 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6572 smie-down-list rather than add a binding for octave-down-block.
6573 (octave-mark-block, octave-blink-matching-block-open):
6574 Rely on forward-sexp-function.
6575 (octave-fill-paragraph): Don't narrow, so you can use
6576 indent-according-to-mode.
6577 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6578 (octave-in-block-p, octave-re-search-forward-kw)
6579 (octave-re-search-backward-kw, octave-indent-calculate)
6580 (octave-end-as-array-index-p, octave-block-end-offset)
6581 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6582 (octave-down-block, octave-backward-up-block, octave-up-block)
6583 (octave-before-magic-comment-p, octave-indent-line): Remove.
6585 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6587 * emacs-lisp/package.el (package--read-archive-file): Just use
6588 `read', to avoid copying an additional string.
6589 (package-menu-mode): Set header-line-format here.
6590 (package-menu-refresh, package-menu-revert): Signal an error if
6591 not in the Package Menu.
6592 (package-menu-package-list): New var.
6593 (package--generate-package-list): Operate on the current buffer;
6594 don't assume that it is *Packages*, since the user may rename it.
6595 Allow persistent package listings and sort keys using
6596 package-menu-package-list and package-menu-package-sort-key.
6597 (package-menu--version-predicate): Fix version calculation.
6598 (package-menu-sort-by-column): Don't select the window.
6599 (package--list-packages): Create the *Packages* buffer.
6600 Set package-menu-package-list-key.
6601 (list-packages): Sorting by status is now the default.
6602 (package-buffer-info): Use match-string-no-properties.
6603 (define-package): Add a &rest argument for future proofing, but
6605 (package-install-from-buffer, package-install-buffer-internal):
6606 Merge into a single function, package-install-from-buffer.
6607 (package-install-file): Change caller.
6609 * finder.el: Load finder-inf using `require'.
6610 (finder-list-matches): Sorting by status is now the default.
6611 (finder-compile-keywords): Simpify printing.
6613 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6615 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6616 (octave-mode-map): Remove special bindings for forward/backward-block
6617 and octave-backward-up-block. Use smie-close-block.
6618 (octave-continuation-marker-regexp): New var.
6619 (octave-continuation-regexp): Use it.
6620 (octave-operator-table, octave-smie-op-levels)
6621 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6622 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6623 (octave-mode): Use SMIE.
6624 (octave-close-block): Delete.
6626 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6628 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6629 CLIPBOARD, not in PRIMARY. (Bug#6944)
6631 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6633 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6635 (smie-indent-column): Allow indirection through variables.
6637 * composite.el (save-buffer-state): Delete, unused.
6638 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6639 (font-lock-default-fontify-region): Use with-syntax-table.
6640 * jit-lock.el (with-buffer-unmodified): Remove.
6641 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6643 Use `declare' in defmacros.
6644 * window.el (save-selected-window):
6645 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6646 * progmodes/python.el (def-python-skeleton):
6647 * net/dbus.el (dbus-ignore-errors):
6648 * jka-cmpr-hook.el (with-auto-compression-mode):
6649 * international/mule.el (with-category-table):
6650 * emacs-lisp/timer.el (with-timeout):
6651 * emacs-lisp/lisp-mnt.el (lm-with-file):
6652 * emacs-lisp/eieio.el (with-slots):
6653 * emacs-lisp/easymenu.el (easy-menu-define):
6654 * emacs-lisp/debug.el (debugger-env-macro):
6655 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6656 (Multiple-value-call, Multiple-value-prog1):
6657 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6658 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6659 edebug rule to definition.
6660 * emacs-lisp/lisp-mode.el (save-selected-window)
6661 (with-current-buffer, combine-after-change-calls)
6662 (with-output-to-string, with-temp-file, with-temp-buffer)
6663 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6664 (dolist, dotimes, when, unless):
6665 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6667 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6669 * finder.el: Require `package'.
6670 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6671 (finder-package-info): Var deleted.
6672 (finder-keywords-hash, finder--builtins-alist): New vars.
6673 (finder-compile-keywords): Compute package--builtins and
6674 finder-keywords-hash instead of finder-keywords-hash, respecting
6675 the "Package" header.
6676 (finder-unknown-keywords, finder-list-matches):
6677 Use finder-keywords-hash and package--list-packages.
6678 (finder-mode): Don't set font-lock-defaults.
6679 (finder-exit): We don't use "*Finder-package*" and "*Finder
6680 Category*" buffers anymore.
6682 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6683 (package--builtins): Set default value to nil.
6684 (package-initialize): Load precomputed value of package--builtins
6686 (package-alist, package-compute-transaction)
6687 (package-download-transaction): Improve docstring.
6688 (package-read-all-archive-contents): Do not change
6689 package--builtins here.
6690 (list-packages): Make package-list-packages an alias for this.
6691 Sort by status by default.
6692 (package--list-packages): Add optional PACKAGES arg.
6693 (describe-package-1): Use font-lock-face property. For built-in
6694 packages, insert file commentary.
6695 (package--generate-package-list): Rename from
6696 package-list-packages-internal; all callers changed. Add optional
6697 PACKAGES arg. Add alphabetical sort fallbacks.
6698 (package-menu--version-predicate, package-menu--status-predicate)
6699 (package-menu--description-predicate)
6700 (package-menu--name-predicate): New functions.
6702 * info.el (Info-finder-find-node): Search package-alist instead of
6703 finder-package-info.
6705 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6707 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6709 (version-to-list): Handle versions like "10.3d".
6711 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6713 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6714 (macroexp-accumulate): Use `declare'.
6716 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6718 * whitespace.el (whitespace-style): Adjust type declaration.
6720 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6722 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6723 empty argument to gvfs-copy.
6725 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6727 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6728 handle new TRASH arg of `delete-file'.
6730 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6732 * net/tramp.el (tramp-handle-insert-directory): Don't use
6733 `forward-word', its default syntax could be changed.
6735 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6736 Michael Albinus <michael.albinus@gmx.de>
6738 Implement compression for inline methods.
6740 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6741 (tramp-copy-size-limit): Allow also nil.
6742 (tramp-inline-compress-commands): New defconst.
6743 (tramp-find-inline-compress, tramp-get-inline-compress)
6744 (tramp-get-inline-coding): New defuns.
6745 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6746 replaced by `tramp-get-inline-coding'.
6747 (tramp-handle-file-local-copy, tramp-handle-write-region)
6748 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6750 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6752 Detect ssh 'ControlMaster' argument automatically in some cases.
6754 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6755 (tramp-default-method): Use it.
6757 2010-08-26 Karel Klíč <kklic@redhat.com>
6759 * net/tramp.el (tramp-file-name-for-operation):
6760 Add file-selinux-context.
6762 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6764 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6766 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6768 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6771 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6773 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6774 (js-paren-indent-offset, js-square-indent-offset)
6775 (js-curly-indent-offset): New options.
6776 (js--proper-indentation): Use them.
6778 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6780 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6781 instead of inspecting font-lock properties (Bug#6916).
6783 2010-08-26 David Reitter <david.reitter@gmail.com>
6785 * server.el (server-visit-files): Run pre-command-hook and
6786 post-command-hook for each buffer while it is current (Bug#6910).
6787 (server-execute): Do not run hooks here.
6789 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6791 Sync with Tramp 2.1.19.
6793 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6794 (tramp-reporter-dump-variable, tramp-load-report-modules)
6795 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6796 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6798 * net/tramp-compat.el (top): Do not autoload
6799 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6800 only when `start-file-process' is not bound.
6801 (byte-compile-not-obsolete-vars): Define if not bound.
6802 (tramp-compat-funcall): New defmacro.
6803 (tramp-compat-line-beginning-position)
6804 (tramp-compat-line-end-position)
6805 (tramp-compat-temporary-file-directory)
6806 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6807 (tramp-compat-copy-file, tramp-compat-copy-directory)
6808 (tramp-compat-delete-file, tramp-compat-delete-directory)
6809 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6811 (tramp-advice-file-expand-wildcards): Do not use
6812 `tramp-handle-file-remote-p'.
6813 (tramp-compat-make-temp-file): Simplify fallback implementation.
6814 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6815 (tramp-compat-copy-tree): Remove function.
6816 (tramp-compat-delete-file): New defun.
6817 (tramp-compat-delete-directory): Provide implementation for older
6819 (tramp-compat-file-attributes): Handle only
6820 `wrong-number-of-arguments' error.
6822 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6823 Add PRESERVE_SELINUX_CONTEXT.
6824 (tramp-fish-handle-delete-file): Add TRASH arg.
6825 (tramp-fish-handle-directory-files-and-attributes):
6826 Do not use `tramp-fish-handle-file-attributes.
6827 (tramp-fish-handle-file-local-copy)
6828 (tramp-fish-handle-insert-file-contents)
6829 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6831 * net/tramp-gvfs.el (top): Require url-util.
6832 (tramp-gvfs-mount-point): Remove.
6833 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6834 and `set-file-selinux-context'.
6835 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6836 (tramp-gvfs-handle-file-selinux-context)
6837 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6838 (with-tramp-dbus-call-method): Format trace message.
6839 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6840 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6841 Implement backup call, when operation on local files fails.
6842 Use progress reporter. Flush properties of changed files.
6843 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6844 Use `tramp-compat-delete-file'.
6845 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6846 (tramp-gvfs-handle-make-directory): Make more traces.
6847 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6848 (tramp-gvfs-url-file-name): Hexify file name in url.
6849 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6850 into account for the resulting file name.
6851 (tramp-gvfs-handler-askquestion): Preserve current message, in
6852 order to let progress reporter continue afterwards. (Bug#6257)
6853 Return dummy mountpoint, when the answer is "no".
6854 See `tramp-gvfs-maybe-open-connection'.
6855 (tramp-gvfs-handler-mounted-unmounted)
6856 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6857 attribute "default_location". Set "prefix" property.
6858 Handle default-location.
6859 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6860 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6861 exists. Raise an error, if not (due to a corresponding answer
6862 "no" in interactive questions, for example).
6863 Use `tramp-compat-funcall'.
6865 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6866 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6867 (tramp-imap-do-copy-or-rename-file)
6868 (tramp-imap-handle-insert-file-contents)
6869 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6870 (tramp-imap-handle-delete-file): Add TRASH arg.
6872 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6873 Add PRESERVE-SELINUX-CONTEXT.
6874 (tramp-smb-handle-copy-file)
6875 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6876 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6877 Use `with-progress-reporter'.
6878 (tramp-smb-handle-delete-file): Add TRASH arg.
6880 * net/tramp.el (tramp-methods): Move hostname to the end in all
6881 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6883 (tramp-verbose): Describe verbose level 9.
6884 (tramp-completion-function-alist)
6885 (tramp-file-name-regexp, tramp-chunksize)
6886 (tramp-local-coding-commands, tramp-remote-coding-commands)
6887 (with-connection-property, tramp-completion-mode-p)
6888 (tramp-action-process-alive, tramp-action-out-of-band)
6889 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6890 (tramp-exists-file-name-handler): Fix docstring.
6891 (tramp-remote-process-environment): Use `format' instead of
6892 `concat'. Protect version string by apostroph.
6893 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6895 (tramp-file-name-regexp-unified)
6896 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6897 not regard the volume letter as remote filename. (Bug#5447)
6898 (tramp-perl-file-attributes)
6899 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6900 (tramp-vc-registered-read-file-names): Read input as
6901 here-document, otherwise the command could exceed maximum length
6903 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6904 `set-file-selinux-context'.
6905 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6906 backtrace functions.
6907 (tramp-error-with-buffer): Don't show the connection buffer when
6908 we are in completion mode.
6909 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6910 (tramp-handle-file-selinux-context)
6911 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6912 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6914 (with-progress-reporter): New defmacro.
6915 (tramp-debug-outline-regexp): New defconst.
6916 (top, tramp-rfn-eshadow-setup-minibuffer)
6917 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6918 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6919 (tramp-completion-mode-p, tramp-check-for-regexp)
6920 (tramp-open-connection-setup-interactive-shell)
6921 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6922 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6923 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6924 Use `tramp-compat-funcall'.
6925 (tramp-handle-make-symbolic-link): Flush file properties.
6926 (tramp-handle-load, tramp-handle-file-local-copy)
6927 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6928 (tramp-handle-vc-registered, tramp-maybe-send-script)
6929 (tramp-find-shell): Use `with-progress-reporter'.
6930 (tramp-do-file-attributes-with-stat): Add space in format string,
6931 in order to work around a bug in pdksh. Reported by Gilles Pion
6933 (tramp-handle-verify-visited-file-modtime): Do not send a command
6934 when the connection is not established.
6935 (tramp-handle-set-file-times): Simplify the check for utc.
6936 (tramp-handle-directory-files-and-attributes)
6937 (tramp-get-remote-path): Use `copy-tree'.
6938 (tramp-completion-handle-file-name-all-completions): Ensure, that
6939 non remote files are still checked. Oops.
6940 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6941 Handle PRESERVE-SELINUX-CONTEXT.
6942 (tramp-do-copy-or-rename-file): Add progress reporter.
6943 (tramp-do-copy-or-rename-file-directly): Do not use
6944 `tramp-handle-file-remote-p'.
6945 (tramp-do-copy-or-rename-file-out-of-band):
6946 Use `tramp-compat-delete-directory'.
6947 (tramp-do-copy-or-rename-file-out-of-band)
6948 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6949 Use `format-spec-make'.
6950 (tramp-handle-delete-file): Add TRASH arg.
6951 (tramp-handle-dired-uncache): Flush directory cache, not only file
6953 (tramp-handle-expand-file-name)
6954 (tramp-completion-handle-file-name-all-completions)
6955 (tramp-completion-handle-file-name-completion):
6956 Use `tramp-connectable-p'.
6957 (tramp-handle-start-file-process): Set connection property "vec".
6958 Use it, in order to invalidate file caches. Check only for
6959 `remote-tty' process property.
6960 Implement tty setting. (Bug#4604, Bug#6360)
6961 (tramp-file-name-for-operation): Add `call-process-region' and
6962 `set-file-selinux-context'.
6963 (tramp-find-foreign-file-name-handler)
6964 (tramp-advice-make-auto-save-file-name)
6965 (tramp-set-auto-save-file-modes): Remove superfluous check for
6966 `stringp'. This is done inside `tramp-tramp-file-p'.
6967 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6968 operations when we are in completion mode. This gives the user
6969 the chance to correct the file name in the minibuffer.
6970 (tramp-completion-mode-p): Use `non-essential'.
6971 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6972 compatibility: Use `completion-ignore-case' if
6973 `read-file-name-completion-ignore-case' does not exist.
6974 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6975 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6977 (tramp-action-password): Hide password prompt before next run.
6978 (tramp-process-actions): Widen connection buffer for the trace.
6979 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6980 process property. Trace stty settings if `tramp-verbose' >= 9.
6981 Apply workaround for IRIX64 bug. Move argument of last
6982 `tramp-send-command' where it belongs to.
6983 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6984 front of `login-args'.
6985 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6986 on "/dev/null" instead of "/".
6987 (tramp-get-ls-command-with-dired): Make test for "--dired"
6989 (tramp-set-auto-save-file-modes): Adapt version check.
6990 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6991 (tramp-handle-process-file): Call the program in a subshell, in
6992 order to preserve working directory.
6993 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6994 `tramp-remote-sh' from `tramp-methods'.
6995 (tramp-get-ls-command): Make test for "--color=never" stronger.
6996 (tramp-check-for-regexp): Use (forward-line 1).
6998 * net/trampver.el: Update release number.
7000 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7002 * help.el (help-map): Bind `C-h P' to describe-package.
7004 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7006 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7007 when downloading archives.
7008 (describe-package-1): Add package commentary.
7009 (package-install-button-action): New function.
7010 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7011 (package-menu-view-commentary): Function removed.
7012 (package-list-packages-internal): Hide the `package' package too.
7014 2010-08-25 Kenichi Handa <handa@m17n.org>
7016 * language/misc-lang.el ("Arabic"): New language environment.
7017 Setup composition-function-table for Arabic characters.
7019 * international/fontset.el (setup-default-fontset): Fix typo for
7020 arabic OTF spec (fini->fina).
7022 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7024 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7027 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7029 * whitespace.el: Allow cleaning up blanks without blank
7030 visualization (Bug#6651). Adjust help window for
7031 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7032 instead of whitespace-line-column (from EmacsWiki). New version
7034 (whitespace-style): Add new value 'face. Adjust docstring.
7035 (whitespace-space, whitespace-hspace, whitespace-tab):
7036 Adjust foreground property face.
7037 (whitespace-line-column): Adjust docstring and type declaration.
7038 (whitespace-style-value-list, whitespace-toggle-option-alist)
7039 (whitespace-help-text): Adjust const initialization.
7040 (whitespace-toggle-options, global-whitespace-toggle-options):
7042 (whitespace-display-window, whitespace-interactive-char)
7043 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7044 (whitespace-help-scroll): New fun.
7046 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7048 * emacs-lisp/package.el (list-packages): Alias for
7049 package-list-packages.
7051 2010-08-24 Kevin Ryde <user42@zip.com.au>
7053 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7056 * progmodes/ruby-mode.el (ruby): Add defgroup.
7058 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7060 * progmodes/python.el: Add Ipython support (Bug#5390).
7061 (python-shell-prompt-alist)
7062 (python-shell-continuation-prompt-alist): New options.
7063 (python--set-prompt-regexp): New function.
7064 (inferior-python-mode, run-python, python-shell):
7065 Require ansi-color. Use python--set-prompt-regexp to set the comint
7066 prompt based on the Python interpreter.
7067 (python--prompt-regexp): New var.
7068 (python-check-comint-prompt)
7069 (python-comint-output-filter-function): Use it.
7070 (run-python): Use a pipe (Bug#5694).
7072 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7074 * progmodes/python.el (python-send-region): Send a different
7075 Python command if Ipython is in use.
7076 (python-check-version): Use a Python command to find the version.
7078 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7080 * mouse.el (mouse-yank-primary): Avoid setting primary when
7081 deactivating the mark (Bug#6872).
7083 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7085 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7086 with "else" (Bug#3991).
7088 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7090 * net/dbus.el: Accept UNIX domain sockets as bus address.
7091 (top): Don't initialize `dbus-registered-objects-table' anymore,
7092 this is done in dbusbind,c.
7093 (dbus-check-event): Adapt test for bus.
7094 (dbus-return-values-table, dbus-unregister-service)
7095 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7098 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7100 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7102 2010-08-22 Juri Linkov <juri@jurta.org>
7104 * simple.el (read-extended-command): New function with the logic
7105 for `completing-read' moved to Elisp from `execute-extended-command'.
7106 Use `function-called-at-point' in `minibuffer-default-add-function'
7107 to get a command name for M-n (bug#5364, bug#5214).
7109 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7111 * startup.el (command-line-1): Issue warning for ignored arguments
7112 --unibyte, etc (Bug#6886).
7114 2010-08-22 Leo <sdl.web@gmail.com>
7116 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7117 (ignore, bright, dim, keyword): Split list of nicknames before
7118 passing to rcirc-add-or-remove (Bug#6894).
7120 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7122 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7124 2010-08-22 Leo <sdl.web@gmail.com>
7126 Fix buffer-list rename&refresh after killing a buffer in ido.
7127 * ido.el: Revert Óscar's.
7128 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7129 Remember the buffers at head, rather than their name.
7130 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7132 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7133 Stefan Monnier <monnier@iro.umontreal.ca>
7135 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7136 extra backslash added to each line (bug#6890).
7138 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7140 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7142 2010-08-22 Glenn Morris <rgm@gnu.org>
7144 * menu-bar.el (menu-bar-games-menu): Add landmark.
7146 2010-08-22 Glenn Morris <rgm@gnu.org>
7148 * align.el (align-regexp): Make group and spacing arguments
7149 use the interactive defaults when non-interactive. (Bug#6698)
7151 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7152 expansion, so as not to need sendmail.
7153 (mail-text-start): Remove declaration.
7154 (rmail-retry-failure): Require sendmail.
7156 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7158 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7160 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7162 * progmodes/flymake.el (flymake-start-syntax-check-process):
7163 Use `start-file-process' in order to let it run also on remote hosts.
7165 2010-08-22 Kenichi Handa <handa@m17n.org>
7167 * files.el: Add `word-wrap' as safe local variable.
7169 2010-08-22 Glenn Morris <rgm@gnu.org>
7171 * woman.el (woman-translate): Case matters. (Bug#6849)
7173 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7175 * simple.el (kill-region): Doc fix (Bug#6787).
7177 2010-08-22 Glenn Morris <rgm@gnu.org>
7179 * calendar/diary-lib.el (diary-header-line-format):
7180 Fit it to the window, not the frame.
7182 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7184 * subr.el (ignore-errors): Add debug declaration.
7186 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7188 * whitespace.el (whitespace-color-off): Remove post-command-hook
7191 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7193 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7195 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7197 * cus-edit.el (custom-group-value-create): Add extra newline
7198 before end line (Bug#6876).
7200 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7202 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7203 when extending it. Before killing on the second click, check if
7204 the buffer is the correct one. Doc fix.
7205 (mouse-secondary-save-then-kill): Allow usage without first
7206 calling mouse-start-secondary, by defaulting to point. Don't save
7207 an empty secondary selection. Doc fix.
7209 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7211 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7212 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7214 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7215 Adjust initialization.
7216 (whitespace-bob-marker, whitespace-eob-marker)
7217 (whitespace-buffer-changed): New vars.
7218 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7219 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7220 (whitespace-post-command-hook, whitespace-display-char-on):
7222 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7223 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7225 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7227 * files.el (locate-file-completion-table): Only list the .el and .elc
7228 extensions if there's no other choice (bug#5955).
7230 * facemenu.el (facemenu-self-insert-data): New var.
7231 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7233 (facemenu-add-face): Use them.
7235 * simple.el (blink-matching-open): Obey forward-sexp-function.
7237 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7239 * simple.el (prog-mode-map): New var.
7240 (prog-indent-sexp): New command.
7242 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7244 * progmodes/prolog.el (smie): Require.
7246 * emacs-lisp/smie.el (smie-default-backward-token)
7247 (smie-default-forward-token): Strip properties.
7248 (smie-next-sexp): Be more careful with associative operators.
7249 (smie-forward-sexp-command): Generalize.
7250 (smie-backward-sexp-command): Simplify.
7251 (smie-closer-alist): New var.
7252 (smie-close-block): New command.
7253 (smie-indent-debug-log): New var.
7254 (smie-indent-offset-rule): Add a few more cases.
7255 (smie-indent-column): New function.
7256 (smie-indent-after-keyword): Use it.
7257 (smie-indent-keyword): Use it.
7258 Fix up the opener code's point position.
7259 (smie-indent-comment): Only applies at BOL.
7260 (smie-indent-debug): New command.
7262 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7263 declarations that are useful before running the macro.
7265 2010-08-18 Joakim Verona <joakim@verona.se>
7267 * image.el (imagemagick-types-inhibit): New variable.
7268 (imagemagick-register-types): New function.
7269 * image-mode.el (image-transform-properties): New function.
7270 (image-transform-set-scale, image-transform-fit-to-height)
7271 (image-transform-set-rotation, image-transform-set-resize)
7272 (image-transform-fit-to-width, image-transform-fit-to-height):
7274 (image-toggle-display-image): Support image transforms.
7276 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7278 * image.el (create-animated-image): Don't add heuristic mask to image
7281 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7283 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7284 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7286 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7288 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7290 Font-lock '...' strings, plus various simplifications and fixes.
7291 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7292 (octave-font-lock-close-quotes): New function.
7293 (octave-font-lock-syntactic-keywords): New var.
7294 (octave-mode): Use it. Set beginning-of-defun-function.
7295 (octave-mode-map): Don't override the <foo>-defun commands.
7296 (octave-mode-menu): Pass it directly to easy-menu-define;
7297 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7298 (octave-block-match-alist): Fix up last change so that
7299 octave-close-block uses the more specific keyword.
7300 (info-lookup-mode): Silence byte-compiler.
7301 (octave-beginning-of-defun): Not interactive any more.
7303 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7304 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7305 (octave-completion-at-point-function): Make sure point is within
7307 (octave-reindent-then-newline-and-indent):
7308 Use reindent-then-newline-and-indent.
7309 (octave-add-octave-menu): Remove.
7311 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7313 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7314 (report-emacs-bug-can-use-xdg-email): New functions.
7315 (report-emacs-bug): Set can-xdg-email to result of
7316 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7317 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7320 * net/browse-url.el (browse-url-default-browser): Add cond
7321 for browse-url-xdg-open.
7322 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7324 2010-08-17 Glenn Morris <rgm@gnu.org>
7326 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7327 (c-fontify-recorded-types-and-refs): Define for compiler.
7328 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7331 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7334 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7336 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7338 (tramp-handle-process-file): Call the program in a subshell, in
7339 order to preserve working directory.
7340 (tramp-action-password): Hide password prompt before next run.
7341 (tramp-process-actions): Widen connection buffer for the trace.
7343 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7345 * net/rcirc.el (rcirc-log-process-buffers): New option.
7346 (rcirc-print): Use it.
7347 (rcirc-generate-log-filename): New function.
7348 (rcirc-log-filename-function): Change default to
7349 rcirc-generate-log-filename (Bug#6828).
7351 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7353 * simple.el (deactivate-mark): If select-active-regions is `only',
7354 only set selection for temporarily active regions.
7356 * cus-start.el: Change defcustom for select-active-regions.
7358 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7360 * mouse.el (mouse--drag-set-mark-and-point): New function.
7361 (mouse-drag-track): Use LOCATION arg to push-mark.
7362 Use mouse--drag-set-mark-and-point to take click-count into
7363 consideration when updating point and mark (Bug#6840).
7365 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7367 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7368 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7370 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7372 * font-lock.el (lisp-font-lock-keywords-2):
7373 Add combine-after-change-calls, condition-case-no-debug,
7374 with-demoted-errors, and with-silent-modifications (Bug#6025).
7376 2010-08-14 Kevin Ryde <user42@zip.com.au>
7378 * emacs-lisp/copyright.el (copyright-update-year)
7379 (copyright-update): Temporary switch-to-buffer to ensure the
7380 buffer change being queried is visible (Bug#5394).
7382 2010-08-14 Tom Tromey <tromey@redhat.com>
7384 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7387 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7389 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7392 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7394 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7395 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7396 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7397 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7398 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7399 Call menu-bar-set-tool-bar-position.
7401 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7403 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7404 comment style (bug#6834).
7405 * progmodes/scheme.el (scheme-mode-syntax-table):
7406 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7407 "b" flag in "' 14b" syntax.
7409 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7410 for (un)commenting the region and performing completion.
7411 (octave-mode-menu): Use standard commands for help and completion.
7412 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7413 (octave-mode): Use define-derived-mode.
7414 Set completion-at-point-functions and don't set columns.
7415 Don't disable adaptive-fill-regexp.
7416 (octave-describe-major-mode, octave-comment-region)
7417 (octave-uncomment-region, octave-comment-indent)
7418 (octave-indent-for-comment): Remove.
7419 (octave-indent-calculate): Rename from calculate-octave-indent.
7420 (octave-indent-line, octave-fill-paragraph): Update caller.
7421 (octave-initialize-completions): No need to make an alist.
7422 (octave-completion-at-point-function): New function.
7423 (octave-complete-symbol): Use it.
7424 (octave-insert-defun): Use define-skeleton.
7426 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7427 (octave-mode-map): Use comment-dwim (bug#6829).
7429 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7431 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7432 indentation of inserted comment.
7434 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7436 * faces.el (region): Add type gtk that uses gtk colors.
7438 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7439 Handle theme-name change.
7441 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7443 * progmodes/sql.el: Version 2.5
7444 (sql-product-alist): Add :prompt-cont-regexp property for several
7446 (sql-prompt-cont-regexp): New variable.
7447 (sql-output-newline-count, sql-output-by-send):
7448 New variables. Record number of newlines in input text.
7449 (sql-send-string): Handle multiple filters and count newlines.
7450 (sql-send-magic-terminator): Count terminator newline.
7451 (sql-interactive-remove-continuation-prompt): Filters output to
7452 remove continuation prompts; one for each newline.
7453 (sql-interactive-mode): Set up new variables, prompt regexp and
7455 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7456 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7458 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7460 * emacs-lisp/pcase.el: New file.
7462 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7464 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7465 as here-document, otherwise the command could exceed maximum
7466 length of command line.
7467 (tramp-handle-vc-registered): Call script accordingly.
7468 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7470 2010-08-10 Kenichi Handa <handa@m17n.org>
7472 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7475 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7477 * emacs-lisp/package.el (package-version-split)
7478 (package--version-first-nonzero, package-version-compare):
7480 (package-directory-list, package-load-all-descriptors)
7481 (package--built-in, package-activate, define-package)
7482 (package-installed-p, package-compute-transaction)
7483 (package-read-all-archive-contents)
7484 (package--add-to-archive-contents, package-buffer-info)
7485 (package-tar-file-info, package-list-packages-internal):
7486 Use version-to-list and version-list-*.
7488 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7489 Use version-to-list.
7490 (package-upload-buffer-internal): Use version-list-<=.
7492 2010-08-09 Kenichi Handa <handa@m17n.org>
7494 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7497 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7499 * tutorial.el (tutorial--default-keys): C-d is now bound to
7500 delete-forward-char (Bug#6826).
7502 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7503 for `double' value of mouse-1-click-follows-link (Bug#6807).
7505 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7507 * replace.el (replace-highlight): Bind isearch-forward and
7508 isearch-error, ensuring that highlighting is updated if the user
7509 switches the search direction (Bug#6808).
7511 * isearch.el (isearch-lazy-highlight-forward): New var.
7512 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7513 (isearch-lazy-highlight-update): Use it.
7515 2010-08-08 Kenichi Handa <handa@m17n.org>
7517 * international/mule.el (define-charset): Store NAME as :base property.
7518 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7519 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7520 current priority. Force using the designation of the specific
7521 charset by adding `charset' text property. Improve the whole algorithm.
7523 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7525 * emulation/pc-select.el (pc-selection-mode-hook)
7526 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7527 (pc-selection-mode): Fix typos in docstrings.
7529 2010-08-08 Kenichi Handa <handa@m17n.org>
7531 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7532 ctext-non-standard-encodings-alist here.
7534 * international/mule.el (ctext-non-standard-encodings-alist):
7535 Add "koi8-r" and "microsoft-cp1251".
7536 (ctext-standard-encodings): New variable.
7537 (ctext-non-standard-encodings-table): List only elements for
7538 non-standard encodings.
7539 (ctext-pre-write-conversion): Adjust for the above change.
7540 Check ctext-standard-encodings.
7542 * international/mule-conf.el (compound-text): Doc fix.
7543 (ctext-no-compositions): Doc fix.
7544 (compound-text-with-extensions): Doc fix.
7546 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7548 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7550 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7552 * progmodes/which-func.el (which-func-format): Split help-echo text
7553 into lines, like other mode-line tooltips.
7555 * server.el (server-start): When using TCP sockets, force IPv4
7556 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7558 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7560 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7562 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7564 * term.el (term-delimiter-argument-list): Reflow docstring.
7565 (term-read-input-ring, term-write-input-ring, term-send-input)
7566 (term-bol, term-erase-in-display, serial-supported-or-barf):
7567 Fix typos in docstrings.
7569 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7571 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7573 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7575 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7577 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7579 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7580 Fix typo in docstring (bug#6747).
7582 2010-08-08 Leo <sdl.web@gmail.com>
7584 * eshell/esh-io.el (eshell-get-target): Better detection of
7585 read-only file (Bug#6762).
7587 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7589 * align.el (align-default-spacing): Doc fix.
7590 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7592 2010-08-08 Stephen Peters <speters@itasoftware.com>
7594 * calendar/icalendar.el
7595 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7596 (icalendar--get-weekday-numbers): New.
7597 (icalendar--convert-recurring-to-diary): Handle multiple byday
7598 values in weekly rules. (Bug#6766)
7600 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7602 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7603 (icalendar--create-uid, icalendar-export-region)
7604 (icalendar--parse-summary-and-rest): Code formatting.
7606 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7608 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7609 to italicize headers.
7610 (calc-highlight-selections-with-faces): New variable.
7611 (calc-selected-face, calc-nonselected-face): New faces.
7613 * calc/calccomp.el (math-comp-highlight-string): Use
7614 `calc-highlight-selections-with-faces' to determine how to highlight
7617 * calc/calc-sel.el (calc-show-selections): Change message to when
7618 using faces to highlight selections.
7620 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7622 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7623 Add SQLite 3 keywords, functions and datatypes.
7624 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7627 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7629 * simple.el (select-active-regions): Move to keyboard.c.
7630 (deactivate-mark): Used saved-region-selection.
7631 (select-active-region): Function removed.
7632 (activate-mark, set-mark, push-mark-command)
7633 (handle-shift-selection): Don't call it.
7634 (keyboard-quit): Avoid adding the region to the window selection.
7636 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7637 select-active-regions implementation.
7638 (mouse-yank-at-click): Doc fix.
7640 * cus-start.el: Add custom declaration for select-active-regions.
7642 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7644 * simple.el (delete-forward-char): Doc fix.
7646 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7647 after reading the tutorial.
7649 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7651 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7652 Fix for the case that a C style comment has its delimiters alone on
7653 their respective lines.
7655 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7657 * net/tramp.el (tramp-handle-start-file-process): Set connection
7659 (tramp-process-sentinel): Use it for flushing the cache.
7660 We cannot do it via the process buffer, the buffer could be deleted
7661 already when running the sentinel.
7663 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7665 * comint.el (comint-mode): Make directory tracking functions
7666 functional on remote files. (Bug#6764)
7668 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7670 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7672 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7674 * emacs-lisp/find-gc.el (find-gc-source-files):
7675 Rename unexec.c => unexcoff.c.
7677 * emacs-lisp/authors.el (authors-fixed-entries):
7678 Rename unexec.c => unexcoff.c.
7680 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7682 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7683 cache, not only file cache.
7684 (tramp-process-sentinel): New defun.
7685 (tramp-handle-start-file-process): Use it, in order to invalidate
7688 2010-08-03 Leo <sdl.web@gmail.com>
7690 * server.el (server-start): Simplify loop.
7692 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7694 * frame.el (screen-height, screen-width, set-screen-width)
7695 (set-screen-height): Remove ancient compatibility aliases.
7697 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7698 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7700 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7701 that change current buffer.
7703 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7705 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7706 beginning of the string. Use `string-match-p'. (Bug#6765)
7708 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7710 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7712 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7714 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7715 (package--builtins): Tweak descriptions.
7716 (package-print-package): Upcase descriptions if necessary.
7717 Show all built-in packages in font-lock-builtin-face.
7718 (package-list-packages-internal): Omit "emacs" package.
7719 Show status of built-in packages as "built-in".
7721 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7723 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7724 before killing to preserve the primary selection (Bug#6701).
7726 * term/x-win.el (x-select-text): Doc fix.
7728 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7730 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7731 (objc-font-lock-extra-types):
7732 * progmodes/cc-mode.el (c-basic-common-init):
7733 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7734 (c++-make-template-syntax-table)
7735 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7736 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7737 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7738 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7739 * progmodes/cc-fonts.el (c-make-inverse-face)
7740 (c-basic-matchers-after):
7741 * progmodes/cc-engine.el (c-forward-keyword-clause)
7742 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7743 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7744 (c-guess-continued-construct, c-guess-basic-syntax):
7745 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7746 The above functions were modified or created.
7748 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7750 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7752 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7754 * files.el (bidi-paragraph-direction): Define safe local values.
7756 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7757 language-info-alist. Remove outdated FIXME in a comment.
7759 2010-07-31 Alan Mackenzie <acm@muc.de>
7761 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7762 Auto-fill broken in C/C++ modes.
7764 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7766 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7767 (menu-bar-showhide-tool-bar-menu-customize-disable)
7768 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7769 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7770 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7771 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7772 make a menu for Options => toolbar that can move it.
7774 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7776 * emacs-lisp/package-x.el (package--make-rss-entry):
7777 (package-maint-add-news-item, package--update-news)
7778 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7780 * emacs-lisp/package.el (package-archive-url): Rename from
7782 (package-install): Doc fix.
7783 (package-download-single, package-download-tar, package-install)
7784 (package-menu-view-commentary): Callers changed.
7786 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7788 * net/tramp.el (tramp-handle-start-file-process): Check only for
7789 `remote-tty' process property.
7790 (tramp-open-shell): Don't check for tty.
7791 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7794 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7797 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7799 * emacs-lisp/package.el (package-load-list, package-archives)
7800 (package-archive-contents, package-user-dir)
7801 (package-directory-list, package--builtins, package-alist)
7802 (package-activated-list, package-obsolete-alist): Mark as risky.
7804 2010-07-28 Phil Hagelberg <phil@evri.com>
7806 Add support for non-default package repositories.
7807 * emacs-lisp/package.el (package-archive-base): Var deleted.
7808 (package-archives): New variable.
7809 (package-archive-contents): Doc fix.
7810 (package-load-descriptor): Do nothing if descriptor file is missing.
7811 (package--write-file-no-coding): New function.
7812 (package-unpack-single): Use it.
7813 (package-archive-id): New function.
7814 (package-download-single, package-download-tar)
7815 (package-menu-view-commentary): Use it.
7816 (package-installed-p): Make second argument optional.
7817 (package-read-all-archive-contents): New function.
7818 (package-initialize): Use it.
7819 (package-read-archive-contents): Add ARCHIVE argument.
7820 (package--add-to-archive-contents): New function.
7821 (package-install): Don't call package-read-archive-contents.
7822 (package--download-one-archive): Store archive file in a
7823 subdirectory of package-user-dir.
7824 (package-menu-execute): Remove spurious line movement.
7826 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7828 * cus-start.el (tool-bar-style): Add text-image-horiz.
7830 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7832 * progmodes/gud.el (gud-common-init): Check for remoteness of
7833 `file', and not of `default-directory'.
7835 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7837 * net/tramp.el (tramp-methods): Move hostname to the end in all
7838 ssh `tramp-login-args'.
7839 (tramp-verbose): Describe verbose level 9.
7840 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7841 (tramp-open-connection-setup-interactive-shell): Trace stty
7842 settings if `tramp-verbose' >= 9.
7843 (tramp-handle-start-file-process): Implement tty setting.
7844 (Bug#4604, Bug#6360)
7846 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7847 `tramp-verbose' to 9.
7849 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7851 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7852 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7853 Remove references to package `lisp-re' (bug#4369).
7855 2010-07-27 Tom Tromey <tromey@redhat.com>
7857 * progmodes/js.el (js-mode):
7858 * progmodes/make-mode.el (makefile-mode):
7859 * progmodes/simula.el (simula-mode):
7860 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7862 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7864 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7866 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7867 (display-time-world-buffer-name, display-time-world-mode-map):
7868 Fix typos in docstrings.
7870 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7872 * image-mode.el (image-display-size): New function.
7873 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7874 (image-mode-fit-frame): Use it (Bug#6639).
7876 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7878 * dired.el (dired-buffers-for-dir): Handle list values of
7879 dired-directory (Bug#6636).
7881 2010-07-26 Sam Steingold <sds@gnu.org>
7883 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7884 Do not call `x-get-selection' the second time, reuse the value.
7886 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7888 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7889 which consist of control chars only. Suggested by Richard Stallman.
7891 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7893 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7894 exists before passing an error to find-file-not-found-functions
7897 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7899 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7900 Remove leading nil element, adjust values.
7901 (tetris-shapes, tetris-shape-scores):
7902 Change representation of shapes and remove some redundancy.
7903 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7904 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7905 Adjust for working with new representation of shapes.
7906 (tetris-shape-rotations): New function.
7907 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7908 (tetris-rotate-prev, tetris-rotate-next):
7909 Adjust for working with the new version of tetris-test-shape.
7911 2010-07-23 Markus Triska <markus.triska@gmx.at>
7913 * progmodes/ps-mode.el: Use comint (bug#5954).
7914 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7915 (ps-mode-other-newline): Simplify.
7916 (ps-run-mode): Derive from comint-mode instead of
7917 fundamental-mode, yielding input history etc.
7918 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7919 (ps-run-send-string): Adapt for comint-mode.
7920 (ps-run-newline): Remove now unneeded function.
7922 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7924 * net/tramp.el (tramp-methods): Move hostname to the end in all
7925 plink `tramp-login-args'.
7927 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7929 * net/tramp.el (tramp-open-shell): New defun.
7930 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7933 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7935 * net/tramp.el (tramp-file-name-regexp-unified)
7936 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7937 not regard the volume letter as remote filename. (Bug#5447)
7939 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7941 * custom.el (custom-declare-variable): Give a clearer error message
7942 when the docstring is missing (bug#6476).
7944 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7946 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7947 (sql-login-params): New widget definition.
7948 (sql-oracle-login-params, sql-mysql-login-params)
7949 (sql-solid-login-params, sql-sybase-login-params)
7950 (sql-informix-login-params, sql-ingres-login-params)
7951 (sql-ms-login-params, sql-postgres-login-params)
7952 (sql-interbase-login-params, sql-db2-login-params)
7953 (sql-linter-login-params): Use it.
7954 (sql-sqlite-login-params): Use it; Define "database" parameter as
7956 (sql-sqlite-program): Change to "sqlite3".
7957 (sql-comint-sqlite): Make sure database name is complete.
7958 (sql-for-each-login): New function.
7959 (sql-connect, sql-save-connection): Use it.
7960 (sql-get-login-ext): New function.
7961 (sql-get-login): Use it.
7962 (sql-make-alternate-buffer-name): Handle :file parameters.
7964 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7966 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7967 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7969 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7971 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7973 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7975 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7977 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7979 * net/tramp.el (tramp-get-ls-command)
7980 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7983 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7985 * progmodes/sql.el: Version 2.3.
7986 (sql-connection-alist): Change keys from symbols to strings;
7987 enhanced the widget definition.
7988 (sql-mode-menu): Add submenu to select connections.
7989 (sql-interactive-mode-menu): Add "Save Connection" item.
7990 (sql-add-product): Fix menu item.
7991 (sql-get-product-feature): Improved error handling.
7992 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7993 (sql-make-alternate-buffer-name): Simplified.
7994 (sql-product-interactive): Handle missing product.
7995 (sql-connect): Support string keys, minor improvements.
7996 (sql-save-connection): New function.
7997 (sql-connection-menu-filter): New function.
7999 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8001 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8002 (tramp-open-connection-setup-interactive-shell):
8003 Apply workaround for IRIX64 bug. Move argument of last
8004 `tramp-send-command' where it belongs to.
8006 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8008 * net/tramp.el (tramp-perl-file-attributes)
8009 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8010 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8011 front of `login-args'.
8013 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8015 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8016 Set `show-trailing-whitespace' to nil.
8017 (display-time-world-display): Simplify.
8019 2010-07-18 Alan Mackenzie <acm@muc.de>
8021 Enhance `c-file-style' in file/directory local variables.
8022 * progmodes/cc-mode.el (c-count-cfss): New function.
8023 (c-before-hack-hook): Call `c-set-style' differently according to
8024 whether c-file-style was set in file or directory local
8027 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8029 * progmodes/sql.el: Version 2.2.
8030 (sql-product, sql-user, sql-database, sql-server, sql-port):
8031 Use defcustom :safe keyword rather than putting safe-local-variable
8033 (sql-password): Use defcustom :risky keyword rather than putting
8034 risky-local-variable property.
8035 (sql-oracle-login-params, sql-sqlite-login-params)
8036 (sql-solid-login-params, sql-sybase-login-params)
8037 (sql-informix-login-params, sql-ingres-login-params)
8038 (sql-ms-login-params, sql-postgres-login-params)
8039 (sql-interbase-login-params, sql-db2-login-params)
8040 (sql-linter-login-params): Add `port' option.
8041 (sql-get-product-feature): Add NO-INDIRECT parameter.
8042 (sql-comint-oracle, sql-comint-sybase)
8043 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8044 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8045 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8046 (sql-comint-linter): Rename sql-connect-* functions to
8048 (sql-product-alist, sql-mode-menu): Rename as above and
8049 :sqli-connect-func to :sqli-comint-func.
8050 (sql-connection): New variable.
8051 (sql-interactive-mode): Set it.
8052 (sql-connection-alist): New variable.
8053 (sql-connect): New function.
8054 (sql--alt-buffer-part, sql--alt-if-not-empty)
8055 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8057 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8059 * image-mode.el (image-bookmark-make-record): Do not set context
8060 in an image (Bug#6650).
8062 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8064 * simple.el (select-active-region): New function.
8065 (push-mark-command, set-mark, activate-mark)
8066 (handle-shift-selection): Use it.
8067 (deactivate-mark): Don't check for size of region.
8069 * mouse.el (mouse-drag-track): Use select-active-region.
8071 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8073 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8076 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8078 * term/x-win.el (x-select-enable-primary): Change default to nil.
8079 (x-select-enable-clipboard): Add :version keyword.
8081 * mouse.el (mouse-drag-copy-region):
8082 * simple.el (select-active-regions): Likewise.
8084 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8086 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8087 (vc-coding-system-for-diff): Use it to decide whether to inherit
8088 from the file the EOL format for reading the diffs of that file.
8091 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8093 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8094 unibyte, so compressed attachments are not compressed again.
8096 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8098 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8099 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8100 (tramp-find-shell): Simplify setting connection property.
8101 (tramp-get-ls-command): Make test for "--color=never" stronger.
8103 2010-07-15 Simon South <ssouth@member.fsf.org>
8105 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8106 blocks within record declarations (i.e. variant parts) correctly.
8108 2010-07-15 Simon South <ssouth@member.fsf.org>
8110 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8111 over literal tokens when parsing so newlines aren't "absorbed" by
8112 single-line comments. Corrects the indentation of case blocks
8113 that have a comment on the first line.
8115 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8117 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8118 by Drew Adams (Bug#5504).
8120 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8122 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8123 now that Unicode is used (Bug#6594).
8125 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8127 * term/x-win.el (x-select-enable-clipboard): Default to t.
8128 (x-initialize-window-system): Don't overwrite Paste menu item.
8130 * simple.el (select-active-regions): Default to t.
8131 (push-mark-command): Don't overwrite primary with empty string.
8133 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8134 (mouse-drag-copy-region): Default to nil.
8136 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8137 Cut/Copy/Paste menu bar items.
8139 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8141 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8142 Patch applied by Karl Fogel.
8144 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8145 and `bookmark-current-buffer' if they have been already set in
8146 another buffer (e.g gnus-art).
8148 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8149 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8151 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8153 * bookmark.el (bookmark-make-record-default): Allow unneeded
8154 information to be omitted from the record.
8156 Adjust declarations and calls:
8158 * info.el (bookmark-make-record-default): Adjust declaration.
8159 (Info-bookmark-make-record): Adjust call.
8161 * woman.el (bookmark-make-record-default): Adjust declaration.
8162 (woman-bookmark-make-record): Adjust call.
8164 * man.el (bookmark-make-record-default): Adjust declaration.
8165 (Man-bookmark-make-record): Adjust call.
8167 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8169 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8171 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8173 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8174 This is also from Thierry Volpiatto's patch in bug #6444. However,
8175 because it was extraneous to the functional change in that patch,
8176 and causes a re-indendation, I am committing it separately.
8178 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8180 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8181 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8182 Patch applied by Karl Fogel (Bug#6444).
8184 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8186 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8188 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8190 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8191 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8192 (ns-alternatives-map): Change S-tab binding to backtab
8195 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8198 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8200 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8203 * language/tv-util.el (tai-viet-re): Remove format.
8205 2010-07-12 Kenichi Handa <handa@m17n.org>
8207 * language/hebrew.el: Remove no-byte-compile declaration.
8208 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8209 composition-function-table for 3-character looking back.
8210 (hebrew-font-get-precomposed): New function.
8211 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8213 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8215 * mouse.el (mouse-drag-track): Handle select-active-regions
8218 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8220 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8221 empty argument to gvfs-copy.
8223 2010-07-10 Glenn Morris <rgm@gnu.org>
8225 * calendar/calendar.el (calendar-week-end-day): New function.
8226 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8227 Respect calendar-week-start-day. (Bug#6606)
8228 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8229 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8230 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8231 respect calendar-week-start-day.
8233 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8235 * simple.el (use-region-p): Doc fix (Bug#6607).
8237 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8239 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8240 Add regexps for cucumber and ruby.
8242 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8244 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8245 (epa-file-insert-file-contents): Hack to prevent
8246 find-file from opening empty buffer when decryption failed
8249 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8251 * textmodes/ispell.el (ispell-alternate-dictionary):
8252 Use file-readable-p.
8253 Return nil if no word-list is found at default locations.
8254 (ispell-complete-word-dict): Default to nil.
8255 (ispell-command-loop): Use 'word-list' when using lookup-words.
8256 (lookup-words): Use ispell-complete-word-dict or
8257 ispell-alternate-dictionary. Check for word-list availability
8258 and handle errors if needed with better messages (Bug#6539).
8259 (ispell-complete-word): Use ispell-complete-word-dict or
8260 ispell-alternate-dictionary.
8262 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8264 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8265 builtins (BufferError, BytesWarning, WindowsError; callables
8266 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8268 2010-07-07 Glenn Morris <rgm@gnu.org>
8270 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8271 (zone-shift-left): Ignore intangibility, and any errors from
8273 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8274 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8275 deleting, and copying text properties.
8276 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8277 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8278 to point-max is hard.
8279 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8280 (zone-fill-out-screen): Ignore intangibility.
8282 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8284 * menu-bar.el (menu-bar-mode):
8285 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8288 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8289 word/line selection (Bug#6565).
8291 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8293 * net/dbus.el (dbus-send-signal): Declare function.
8295 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8297 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8298 (dbus-register-property): New optional argument EMITS-SIGNAL.
8299 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8301 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8303 * mouse.el (mouse-drag-overlay): Variable deleted.
8304 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8305 (mouse--remap-link-click-p): New function.
8306 (mouse-drag-track): Handle dragging by using temporary Transient
8307 Mark mode, instead of a special overlay.
8308 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8311 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8314 2010-07-02 Juri Linkov <juri@jurta.org>
8316 * autoinsert.el (auto-insert-alist): Fix readability
8317 by using dotted pair notation for lambda.
8319 2010-07-02 Juri Linkov <juri@jurta.org>
8321 * faces.el (read-face-name): Rename arg `string-describing-default'
8322 to `default'. Doc fix. Display the default value in quotes
8323 in the prompt. With empty input, return the `default' arg,
8324 unless the default value is a string (in which case return nil).
8325 (describe-face): Replace the string `default' arg of `read-face-name'
8326 with the symbol `default'.
8328 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8330 * emulation/viper-cmd.el (viper-delete-backward-char)
8331 (viper-del-backward-char-in-insert)
8332 (viper-del-backward-char-in-replace, viper-change)
8333 (viper-backward-indent): Replace delete-backward-char with
8334 delete-char (Bug#6552).
8336 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8338 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8340 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8342 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8343 argument passed to frame-creation-function (Bug#5378).
8345 * faces.el (x-handle-named-frame-geometry)
8346 (x-handle-reverse-video, x-create-frame-with-faces)
8347 (face-set-after-frame-default, tty-create-frame-with-faces):
8348 Don't separately consult default-frame-alist. It is now passed as the
8351 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8353 * startup.el (command-line): Don't call tool-bar-setup in a
8356 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8358 * ruler-mode.el (ruler--save-header-line-format): New fun.
8359 (ruler-mode): Use it as a setter function, so as not to overwrite
8360 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8362 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8364 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8365 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8366 (vc-log-outgoing): Use it.
8367 (vc-diff-internal): Set diff-vc-backend.
8369 * vc/diff-mode.el (diff-vc-backend): New var.
8371 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8373 * dynamic-setting.el (font-setting-change-default-font):
8374 Remove call to message.
8376 2010-06-28 Kenichi Handa <handa@m17n.org>
8378 * international/quail.el (quail-insert-kbd-layout): Fix the
8379 showing of untranslated characters.
8381 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8383 * simple.el (delete-active-region): New option.
8384 (delete-backward-char): Implement in Lisp.
8385 (delete-forward-char): New command.
8387 * mouse.el (mouse-region-delete-keys): Deleted.
8388 (mouse-show-mark): Simplify.
8390 * bindings.el (global-map): Bind delete and DEL, the former to
8391 delete-forward-char.
8393 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8395 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8396 (ruby-mode): Bind indent-line-function (Bug#5119).
8398 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8400 * startup.el (command-line): Recognize "0" X resource value.
8402 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8404 * startup.el (command-line): Use X resources to set the value of
8405 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8407 * menu-bar.el (menu-bar-mode):
8408 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8409 Set init-value to t.
8411 * frame.el (frame-notice-user-settings): Don't change
8412 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8413 vice versa (Bug#2249).
8415 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8417 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8419 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8421 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8422 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8424 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8425 default directories are expanded (Bug#6143).
8427 2010-06-24 Juri Linkov <juri@jurta.org>
8429 * minibuffer.el (completions-format): Change default from nil to
8430 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8432 2010-06-24 Juri Linkov <juri@jurta.org>
8434 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8435 buffer-locally to lambda that re-runs the vc diff command.
8438 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8440 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8441 echo area is in use (Bug#3412).
8443 2010-06-22 Glenn Morris <rgm@gnu.org>
8445 * textmodes/texinfmt.el (texinfo-format-region)
8446 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8447 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8448 (texinfo-format-option, texinfo-noindent):
8449 Use line-beginning-position and line-end-position.
8451 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8452 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8453 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8456 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8458 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8459 forward-line fallout.
8461 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8463 * mouse.el (mouse-appearance-menu): Add docstring.
8465 * help.el (describe-key): Print up-event using key-description.
8467 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8469 * net/zeroconf.el (zeroconf-resolve-service)
8470 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8471 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8473 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8475 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8477 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8479 Avoid displaying files with a nil state in vc-dir.
8480 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8481 cases that cause insertion.
8482 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8485 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8487 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8489 2010-06-29 Leo <sdl.web@gmail.com>
8491 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8493 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8495 * generic-x.el (bat-generic-mode): Fix regexp for command line
8496 switches (Bug#5719).
8498 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8500 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8501 of nconc to avoid pure storage error (Bug#6239).
8503 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8505 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8506 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8507 bindings of bookmark-automatically-show-annotations (Bug#6515).
8509 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8511 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8512 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8514 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8516 * comint.el (make-comint, make-comint-in-buffer): Mention return
8517 value in the docstrings. (Bug#6498)
8519 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8521 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8522 since it is not present when using some non-default switches.
8524 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8526 * simple.el (compose-mail): Fix doc string to refer to
8527 `compose-mail-user-agent-warnings', instead of to the
8528 nonexistent `compose-mail-check-user-agent'.
8530 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8532 Fix an indentation bug:
8534 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8535 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8538 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8539 (c-clear->-pair-props-if-match-before): now return t when they've
8540 cleared properties, nil otherwise.
8541 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8542 by taking account of the existing value.
8544 * progmodes/cc-defs.el
8545 (c-clear-char-property-with-value-function): Fix this to clear the
8546 property rather than overwriting it with nil.
8548 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8550 * emacs-lisp/package.el (package-print-package): Add link to
8551 package description via describe-package.
8552 (describe-package-1): List package requirements. Add button to
8553 perform installation.
8554 (package-menu-describe-package): New command.
8556 * help-mode.el (help-package): New button type.
8558 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8560 * emacs-lisp/package.el: Move package-list-packages binding to
8562 (describe-package, describe-package-1, package--dir): New funs.
8563 (package-activate-1): Use package--dir.
8565 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8567 * help-mode.el (help-package-def): New button type.
8569 * menu-bar.el: Move package-list-packages binding here from
8572 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8574 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8576 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8578 * emacs-lisp/edebug.el (edebug-read-list):
8579 Phase out old-style backquotes.
8581 2010-06-17 Juri Linkov <juri@jurta.org>
8583 * help-mode.el (help-mode): Set buffer-local variable
8584 revert-buffer-function to help-mode-revert-buffer.
8585 (help-mode-revert-buffer): New function.
8587 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8588 before popping to "*info*" (like in other Info functions).
8589 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8590 old-history-forward. Pop to old-buffer-name or "*info*" to
8591 recreate the killed buffer. Set Info-history-forward from
8592 old-history-forward.
8593 (Info-breadcrumbs-depth): Add :group and :version.
8595 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8597 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8599 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8601 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8602 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8604 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8606 * emacs-lisp/package.el (package-menu-mode-map):
8607 Move initialization into declaration.
8609 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8611 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8613 * emacs-lisp/package.el (package-archive-base): Point to
8615 (package-enable, package-load-list): New defcustoms.
8616 (package-user-dir, package-directory-list): Turn into defcustoms.
8617 Don't include package-user-dir in package-directory-list.
8618 (package--builtins-base): Don't include Emacs as a "package".
8619 (package-subdirectory-regexp): New var.
8620 (package-load-all-descriptors, package-compute-transaction)
8621 (package-download-transaction): Obey package-load-list.
8622 (package-activate-1): Rename from package-do-activate.
8623 (package-list-packages-internal): Check package-load-list.
8624 (package-load-descriptor, package-generate-autoloads)
8625 (package-unpack, package-unpack-single)
8626 (package--read-archive-file, package-delete):
8627 Use expand-file-name.
8629 * emacs-lisp/package-x.el: New file. Package uploading
8630 functionality split out from package.el.
8632 * startup.el (command-line): Load packages after reading init file.
8634 2010-06-17 Tom Tromey <tromey@redhat.com>
8636 * emacs-lisp/package.el: New file.
8638 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8640 Fix vc-annotate for renamed files when using Git.
8641 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8642 ls-files. Doe not pass the object as a file name to cat-file, it
8644 (vc-git-annotate-command): Pass the file name using -- to avoid
8645 ambiguity with the revision.
8646 (vc-git-previous-revision): Pass a relative file name.
8648 2010-06-22 Glenn Morris <rgm@gnu.org>
8650 * progmodes/js.el (js-mode-map): Use standard capitalization and
8651 ellipses for menu entries.
8653 * wid-edit.el (widget-complete): Doc fix.
8655 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8657 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8659 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8661 Fix annotating other revisions for renamed files in vc-annotate.
8662 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8663 VC backend. Use it when non-nil.
8664 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8667 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8668 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8669 Do not pass the file name to the 'previous-revision call when we
8670 don't want a file diff. (Bug#6489)
8672 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8674 Fix finding revisions for renamed files in vc-annotate.
8675 * vc/vc.el (vc-find-revision): Add an optional argument for
8676 the VC backend. Use it when non-nil.
8677 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8678 backend to vc-find-revision. (Bug#6487)
8680 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8682 Fix reading file names in Git annotate buffers.
8683 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8684 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8686 2010-06-20 Alan Mackenzie <acm@muc.de>
8688 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8689 in file local variables, set it first.
8691 2010-06-19 Glenn Morris <rgm@gnu.org>
8693 * descr-text.el (describe-char-unicode-data): Insert separating
8694 space when needed. (Bug#6422)
8696 * progmodes/idlwave.el (idlwave-action-and-binding):
8697 Fix typo in 2009-12-03 change. (Bug#6450)
8699 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8701 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8702 handling for `lambda' (misunderstanding).
8704 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8706 * calc/calc-poly.el (math-accum-factors): Make sure that
8707 constants aren't distributed after they are factored out.
8709 2010-06-16 Juri Linkov <juri@jurta.org>
8711 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8712 `list-colors-print'. (Bug#6332)
8714 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8716 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8718 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8719 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8721 * font-lock.el (font-lock-major-mode): Rename from
8722 font-lock-mode-major-mode to distinguish it from
8723 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8724 (font-lock-set-defaults):
8725 * font-core.el (font-lock-default-function): Adjust users.
8726 (font-lock-mode): Don't set it at all.
8728 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8730 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8732 2010-06-16 Glenn Morris <rgm@gnu.org>
8734 * calendar/appt.el (appt-time-msg-list): Doc fix.
8735 (appt-check): Let-bind appt-warn-time.
8736 (appt-add): Make the 3rd argument optional.
8737 Simplify argument names. Doc fix. Check for integer WARNTIME.
8738 Only add WARNTIME to the output list if non-nil.
8740 2010-06-16 Ivan Kanis <apple@kanis.eu>
8742 * calendar/appt.el (appt-check): Let the 3rd element of
8743 appt-time-msg-list specify the warning time.
8744 (appt-add): Add new argument with the warning time. (Bug#5176)
8746 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8748 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8749 older than version 1.6. (Bug#6361)
8751 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8753 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8754 used by cl-do-arglist. (Bug#6408)
8756 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8758 * textmodes/ispell.el (ispell-dictionary-base-alist):
8759 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8760 Suggested by Rolando Pereira (bug#6434).
8762 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8764 * facemenu.el (list-colors-sort): Doc fix.
8766 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8768 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8770 2010-06-14 Juri Linkov <juri@jurta.org>
8772 Add sort option `list-colors-sort'. (Bug#6332)
8773 * facemenu.el (color-rgb-to-hsv): New function.
8774 (list-colors-sort): New defcustom.
8775 (list-colors-sort-key): New function.
8776 (list-colors-display): Doc fix. Sort list according to the option
8778 (list-colors-print): Add HSV values to `help-echo' property of
8781 2010-06-14 Juri Linkov <juri@jurta.org>
8783 * compare-w.el: Move to the "vc" subdirectory.
8785 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8787 * image-mode.el (image-mode-map): Remap left-char and right-char.
8789 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8791 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8793 * term/common-win.el (x-colors): Add all the color names defined
8794 in rgb.txt (Bug#6332).
8796 * facemenu.el (list-colors-print): Don't print extra names if it
8797 will overflow the window width.
8799 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8802 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8804 * files.el (make-directory): Doc fix (bug#6396).
8806 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8808 * net/tramp.el (tramp-remote-process-environment): Protect version
8809 string by apostroph.
8810 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8812 (tramp-file-name-for-operation): Add `call-process-region'.
8813 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8815 * net/tramp-compat.el (top): Do not autoload
8816 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8817 only when `start-file-process' is not bound.
8818 (tramp-advice-file-expand-wildcards): Do not use
8819 `tramp-handle-file-remote-p'.
8820 (tramp-compat-make-temp-file): Handle the case, that
8821 `make-temp-file' has no third argument EXTENSION.
8823 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8825 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8827 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8829 2010-06-11 Juri Linkov <juri@jurta.org>
8831 * finder.el (finder-known-keywords): Add keyword "vc"
8832 for version control.
8834 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8835 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8836 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8837 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8839 2010-06-11 Juri Linkov <juri@jurta.org>
8841 Move version control related files to the "vc" subdirectory.
8842 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8843 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8844 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8845 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8846 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8847 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8848 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8849 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8850 Move files to the "vc" subdirectory.
8852 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8854 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8857 2010-06-11 Stephen Eglen <stephen@gnu.org>
8859 * shell.el: Bind `shell-resync-dirs' to M-RET.
8861 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8863 * notifications.el: Move file from lisp/net, because it is
8864 supposed to talk locally to the user.
8866 2010-06-10 Julien Danjou <julien@danjou.info>
8868 * net/notifications.el (notifications-on-action-signal)
8869 (notifications-on-closed-signal): Pass notification id as first
8870 argument to the callback functions. Add docstrings.
8871 (notifications-notify): Fix docstring.
8873 2010-06-10 Glenn Morris <rgm@gnu.org>
8875 * emacs-lisp/authors.el (authors-ignored-files)
8876 (authors-valid-file-names): Add some files.
8878 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8880 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8881 merge conflict, giving preference to the emacs-23 version of the code.
8883 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8885 * emacs-lisp/advice.el (ad-compile-function):
8886 Define warning-suppress-types before we let-bind it (bug#6275).
8888 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8889 declare it, make it buffer-local and permanent-local (bug#6324).
8890 (vc-resynch-window): Adjust name.
8891 * vc-hooks.el (vc-find-file-hook): Adjust name.
8893 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8895 * net/notifications.el (notifications-notify): Fix docstring.
8897 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8899 Update to Unicode 6.0.0 beta.
8900 * international/charprop.el: Update copyright.
8901 * international/mule-cmds.el (ucs-names): Update character ranges.
8902 * international/uni-bidi.el:
8903 * international/uni-category.el:
8904 * international/uni-combining.el:
8905 * international/uni-comment.el:
8906 * international/uni-decimal.el:
8907 * international/uni-decomposition.el:
8908 * international/uni-digit.el:
8909 * international/uni-lowercase.el:
8910 * international/uni-mirrored.el:
8911 * international/uni-name.el:
8912 * international/uni-numeric.el:
8913 * international/uni-old-name.el:
8914 * international/uni-titlecase.el:
8915 * international/uni-uppercase.el: Regenerate.
8917 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8919 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8920 (smie-precs-precedence-table): Fix typo in docstring.
8922 * vc-mtn.el (log-edit-extract-headers): Declare function.
8924 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8926 * net/notifications.el (dbus-register-signal): Declare function.
8927 (notifications-notify): Fix typos and reflow docstring.
8929 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8931 Improve VC create/retrieve tag/branch.
8932 * vc.el (vc-create-tag): Do not read the directory name for VCs
8933 with repository revision granularity. Adjust the tag/branch
8934 prompt. Reset VC properties.
8935 (vc-retrieve-tag): Do not read the directory name for VCs
8936 with repository revision granularity. Reset VC properties.
8938 2010-06-09 Julien Danjou <julien@danjou.info>
8940 * net/notifications.el: New file.
8942 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8944 Add optional support for resetting VC properties.
8945 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8946 call vc-file-clearprops when true.
8947 (vc-resynch-buffer): Add new optional argument, pass it down.
8948 (vc-resynch-buffers-in-directory): Likewise.
8950 Improve support for special markup in the VC commit message.
8951 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8952 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8953 * vc-git.el (vc-git-checkin):
8954 * vc-bzr.el (vc-bzr-checkin): Likewise.
8956 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8958 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8959 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8961 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8963 * iimage.el: Remove images as soon as the underlying text is modified.
8964 (iimage-modification-hook): New function.
8965 (iimage-mode-buffer): Use it.
8967 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8969 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8970 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8971 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8972 (smie-indent-keyword): Add handling of open-paren keywords.
8973 (smie-indent-comment-continue): Don't assume comment-continue.
8975 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8977 * window.el (pop-to-buffer): Remove the conditional that
8978 compares new-window and old-window, so it will reselect
8979 the selected window unconditionally.
8980 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8982 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8984 * emacs-lisp/smie.el (smie-indent-offset-after)
8985 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8986 (smie-indent-after-keyword): Use them.
8987 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8988 (smie-indent-keyword): Tweak the black magic.
8989 (smie-indent-comment-continue): Strip comment-continue before use.
8990 (smie-indent-functions): Indent comments before keywords.
8992 2010-06-06 Juri Linkov <juri@jurta.org>
8994 * isearch.el (isearch-lazy-highlight-search): Fix looping
8995 by checking for empty match. This syncs this loop with the
8996 similar loop in `isearch-search'. (Bug#6362)
8998 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9000 * net/dbus.el (dbus-register-method): Declare function.
9001 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9002 (dbus-introspect): Doc fix.
9003 (dbus-event-bus-name, dbus-introspect-get-interface)
9004 (dbus-introspect-get-argument): Reflow docstrings.
9006 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9008 vc-log-incoming/vc-log-outgoing fixes for Git.
9009 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9010 incoming/outgoing logs.
9011 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9012 instead of vc-git-compute-remote.
9013 (vc-git-compute-remote): Remove.
9015 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9017 * term/common-win.el (x-colors): Add "dark green" and "dark
9018 turquoise" (Bug#6332).
9020 2010-06-04 Juri Linkov <juri@jurta.org>
9022 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9023 Instead of setting `replace' to t and replacing the same string
9024 with itself, don't do certain actions when
9025 kill-do-not-save-duplicates is non-nil and string is equal to car
9026 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9027 interprogram-paste strings to kill-ring, and don't push the input
9028 argument `string' to kill-ring.
9029 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9031 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9033 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9035 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9037 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9038 (tramp-gvfs-handler-mounted-unmounted)
9039 (tramp-gvfs-connection-mounted-p): Handle default-location.
9041 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9042 move files to trash.
9044 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9046 * international/mule-cmds.el (nonascii-insert-offset)
9047 (nonascii-translation-table): Add obsolescence information.
9049 * international/mule.el (make-translation-table-from-vector): Doc fix.
9051 2010-06-03 Glenn Morris <rgm@gnu.org>
9053 * desktop.el (desktop-clear-preserve-buffers):
9054 Add "*Warnings*" buffer. (Bug#6336)
9056 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9058 vc-log-incoming/vc-log-outgoing improvements for Git.
9059 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9061 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9063 Add bindings for vc-log-incoming and vc-log-outgoing.
9064 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9065 and vc-log-outgoing.
9066 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9067 and vc-log-outgoing.
9069 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9071 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9072 (rcirc-handler-366): Always sort nicknames.
9074 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9076 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9078 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9080 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9082 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9084 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9085 (rcirc-sort-nicknames-join): Avoid setq.
9087 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9089 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9090 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9091 (rcirc-handler-366): Use them.
9093 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9095 Split smie-indent-calculate into more manageable chunks.
9096 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9097 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9098 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9099 (smie-indent-exps): Extract from smie-indent-calculate.
9100 (smie-indent-functions): New var.
9101 (smie-indent-functions): Use them.
9103 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9105 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9106 (smie-indent-calculate): Simplify and cleanup.
9108 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9110 * net/tramp-gvfs.el (top): Require url-util.
9111 (tramp-gvfs-mount-point): Remove.
9112 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9114 (with-tramp-dbus-call-method): Format trace message.
9115 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9116 Implement backup call, when operation on local files fails.
9117 Use progress reporter. Flush properties of changed files.
9118 (tramp-gvfs-handle-make-directory): Make more traces.
9119 (tramp-gvfs-url-file-name): Hexify file name in url.
9120 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9121 into account for the resulting file name.
9122 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9123 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9124 (tramp-gvfs-handler-mounted-unmounted)
9125 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9126 attribute "default_location". Set "prefix" property.
9127 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9128 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9129 exists. Raise an error, if not (due to a corresponding answer
9130 "no" in interactive questions, for example).
9132 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9134 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9136 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9138 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9141 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9143 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9144 * vc-git.el (vc-git-compute-remote): New function.
9145 (vc-git-log-outgoing): Use it instead of hard coding a value.
9146 (vc-git-log-incoming): New function.
9148 Improve state updating for VC tag commands.
9149 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9150 to update the state of all buffers in the directory.
9152 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9154 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9156 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9157 `file-directory-p' to the filename part rather than to the whole text.
9159 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9161 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9163 2010-05-31 Drew Adams <drew.adams@oracle.com>
9165 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9167 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9169 * subr.el (momentary-string-display): Just use read-event to read
9170 the exit event (Bug#6238).
9172 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9174 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9176 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9178 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9179 Suggested by Eli Zaretskii <eliz@gnu.org>.
9181 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9183 * minibuffer.el (completion-file-name-table): Don't return a boundary
9184 past the end of `string' (bug#6299).
9185 (completion--file-name-table): Delegate to completion-file-name-table
9186 for the `boundaries' case.
9188 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9190 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9193 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9194 `path-separator', but maintain compatibility with Emacs 20.2.
9196 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9198 * server.el (server-process-filter): Receive parent-id argument
9200 (server-create-window-system-frame): New arg. Pass parent-id as
9203 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9205 Bidi-sensitive word movement with arrow keys.
9206 * subr.el (right-arrow-command, left-arrow-command): Move to
9209 * bindings.el (right-char, left-char): Move from subr.el and
9210 rename from right-arrow-command and left-arrow-command.
9211 (right-word, left-word): New functions.
9212 (global-map) <right>: Bind to right-char.
9213 (global-map) <left>: Bind to left-char.
9214 (global-map) <C-right>: Bind to right-word.
9215 (global-map) <C-left>: Bind to left-word.
9217 * ls-lisp.el (ls-lisp-classify-file): New function.
9218 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9219 (ls-lisp-classify): Call ls-lisp-classify-file.
9220 (insert-directory): Remove blanks from switches.
9222 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9224 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9225 (ansi-color-drop-regexp): New constant.
9226 (ansi-color-apply, ansi-color-filter-region)
9227 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9228 (ansi-color-apply): Build string list before calling concat.
9230 2010-05-28 Juri Linkov <juri@jurta.org>
9232 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9233 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9236 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9238 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9239 to ignored backtrace functions.
9240 (with-progress-reporter): Expand docstring.
9241 (tramp-handle-delete-file): Implement TRASH argument.
9242 (tramp-get-remote-trash): New defun.
9244 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9246 * net/tramp-compat.el (tramp-compat-delete-file):
9247 Use `symbol-value' for backward compatibility.
9249 * net/tramp.el (tramp-handle-make-symbolic-link)
9251 (tramp-do-copy-or-rename-file-via-buffer)
9252 (tramp-do-copy-or-rename-file-directly)
9253 (tramp-do-copy-or-rename-file-out-of-band)
9254 (tramp-handle-process-file, tramp-handle-call-process-region)
9255 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9256 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9257 (tramp-delete-temp-file-function): Use `delete-file' instead
9258 of `tramp-compat-delete-file'.
9260 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9261 (tramp-fish-handle-make-symbolic-link)
9262 (tramp-fish-handle-process-file): Use `delete-file' instead
9263 of `tramp-compat-delete-file'.
9265 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9266 Use `delete-file' instead of `tramp-compat-delete-file'.
9268 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9269 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9270 `tramp-compat-delete-file'.
9272 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9273 Use `delete-file' instead of `tramp-compat-delete-file'.
9275 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9276 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9277 (tramp-smb-handle-write-region): Use `delete-file' instead of
9278 `tramp-compat-delete-file'.
9279 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9281 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9283 * dired.el (dired-delete-file): New arg TRASH.
9284 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9285 (dired-do-flagged-delete, dired-do-delete): Use trash.
9287 * speedbar.el (speedbar-item-delete): Allow trashing.
9289 * files.el (delete-directory): New arg TRASH.
9291 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9292 (ange-ftp-rename-remote-to-remote)
9293 (ange-ftp-rename-local-to-remote)
9294 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9295 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9297 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9300 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9301 handle new TRASH arg of `delete-file'.
9303 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9304 (tramp-handle-make-symbolic-link, tramp-handle-load)
9305 (tramp-do-copy-or-rename-file-via-buffer)
9306 (tramp-do-copy-or-rename-file-directly)
9307 (tramp-do-copy-or-rename-file-out-of-band)
9308 (tramp-handle-process-file, tramp-handle-call-process-region)
9309 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9310 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9311 (tramp-delete-temp-file-function): Use null TRASH arg in
9312 tramp-compat-delete-file call.
9314 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9315 (tramp-fish-handle-delete-file)
9316 (tramp-fish-handle-make-symbolic-link)
9317 (tramp-fish-handle-process-file): Use null TRASH arg in
9318 `tramp-compat-delete-file' call.
9320 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9321 arg in `tramp-compat-delete-file' call.
9323 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9324 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9325 `tramp-compat-delete-file' call.
9327 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9328 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9329 `tramp-compat-delete-file' call.
9331 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9332 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9333 (tramp-smb-handle-write-region): Use null TRASH arg in
9334 tramp-compat-delete-file call.
9335 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9336 (tramp-smb-handle-delete-file): Rename arg.
9338 * diff.el (diff-sentinel):
9339 * epg.el (epg--make-temp-file, epg-decrypt-string)
9340 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9341 * jka-compr.el (jka-compr-partial-uncompress)
9342 (jka-compr-call-process, jka-compr-write-region):
9343 * server.el (server-sentinel): Remove optional arg from
9344 delete-file, reverting 2010-05-03 change.
9346 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9348 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9349 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9351 2010-05-27 Kenichi Handa <handa@m17n.org>
9353 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9354 element of GSTRING is nil.
9356 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9358 * emacs-lisp/smie.el (smie-forward-token-function)
9359 (smie-backward-token-function): New vars.
9360 (smie-backward-sexp, smie-forward-sexp)
9361 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9362 (smie-default-backward-token): Rename from smie-backward-token and
9364 (smie-default-forward-token): Rename from smie-forward-token and
9366 (smie-next-sexp): Handle nil results from next-token.
9367 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9369 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9371 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9372 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9374 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9376 * htmlfontify.el (hfy-face-resolve-face): New function.
9377 (hfy-face-to-style): Use it (Bug#6279).
9379 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9381 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9382 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9384 2010-05-26 Glenn Morris <rgm@gnu.org>
9386 * emulation/edt.el (edt-load-keys): Use locate-library.
9388 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9390 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9391 (log-edit-changelog-entries): Doc fix.
9392 (log-edit-changelog-insert-entries): Args changed.
9393 Rename relative filenames in ChangeLog entries. Delete tabs.
9394 (log-edit-insert-changelog-entries): Reorganize return value of
9395 `log-edit-changelog-entries' to pass filenames to
9396 log-edit-changelog-insert-entries.
9398 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9400 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9401 `image-dired-dired-insert-marked-thumbs' to
9402 `image-dired-dired-toggle-marked-thumbs'.
9404 * image-dired.el: Require cl when compiling.
9405 (image-dired-dired-toggle-marked-thumbs): Rename from
9406 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9407 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9408 to 'no-dir. Skip files whose names don't match
9409 `image-file-name-regexp'. When file has a thumbnail overlay,
9410 delete it. (Bug#5270)
9412 2010-05-25 Juri Linkov <juri@jurta.org>
9414 * image-mode.el (image-mode): Add image-after-revert-hook to
9416 (image-after-revert-hook): New function. (Bug#5669)
9418 2010-05-25 Juri Linkov <juri@jurta.org>
9420 * image.el (image-animated-p): When delay between animated images
9421 is 0, set it to 10 (0.1 sec). (Bug#6258)
9423 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9425 * net/tramp.el (tramp-handle-insert-directory): Don't use
9426 `forward-word', its default syntax could be changed.
9428 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9430 * net/tramp.el (tramp-progress-reporter-update): New defun.
9431 (with-progress-reporter): Use it.
9432 (tramp-process-actions):
9433 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9434 Preserve current message, in order to let progress reporter continue
9435 afterwards. (Bug#6257)
9437 2010-05-25 Glenn Morris <rgm@gnu.org>
9439 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9442 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9444 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9445 (rcirc-default-full-name): Change to "unknown".
9446 (rcirc-user-name-history): Add variable.
9448 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9449 Jonathan Rockway <jon@jrock.us>
9451 * net/rcirc.el (rcirc-server-alist): Add :pass.
9452 (rcirc): When prompting for connection parameters, also prompt for
9453 username and password.
9454 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9455 value to server when connecting.
9457 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9459 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9460 (smie-merge-prec2s): Pass the tables as separate args.
9461 (smie-bnf-precedence-table): Adjust call accordingly.
9462 (smie-prec2-levels): Set levels at the end.
9464 Replace Lisp calls to delete-backward-char by delete-char.
9465 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9466 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9467 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9468 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9469 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9470 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9471 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9472 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9473 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9474 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9475 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9476 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9477 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9478 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9479 delete-backward-char by calls to delete-char.
9481 2010-05-25 Kenichi Handa <handa@m17n.org>
9483 * language/hebrew.el (hebrew-shape-gstring): New function.
9484 Register it in composition-function-table for all Hebrew combining
9487 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9489 * epa.el (epa--select-keys): Don't explicitly delete the window since
9490 that can fail (e.g. sole window in frame). Use dedication instead.
9492 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9494 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9496 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9498 * image.el (image-refresh): Define as an alias for image-flush.
9500 * image-mode.el (image-toggle-display-image): Caller changed.
9502 2010-05-21 Juri Linkov <juri@jurta.org>
9504 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9505 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9506 whitespace, call wildcard-to-regexp on substrings and concat them
9507 with "\\|". (Bug#6114)
9509 2010-05-21 Alan Mackenzie <acm@muc.de>
9511 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9512 Replace parameter `here' with `here-' and `here-plus', which sandwich
9513 any pertinent CPP construct.
9514 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9515 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9516 CPP construct from taking part in the scanning.
9518 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9520 * net/tramp.el (tramp-do-copy-or-rename-file)
9521 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9522 Tune `with-progress-reporter' messages.
9523 (tramp-handle-vc-registered):
9524 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9525 (tramp-fish-handle-insert-file-contents)
9526 (tramp-fish-maybe-open-connection):
9527 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9528 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9529 (tramp-imap-handle-insert-file-contents)
9530 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9532 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9534 * add-log.el (change-log-font-lock-keywords):
9535 Highlight all authors in multi-author entries.
9537 * smerge-mode.el (smerge-refine-ignore-whitespace)
9538 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9539 Fix typos in docstrings.
9540 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9542 2010-05-21 Glenn Morris <rgm@gnu.org>
9544 * progmodes/fortran.el (fortran-mode):
9545 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9547 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9548 having a relative path in src/Makefile.in.
9550 2010-05-20 Kevin Ryde <user42@zip.com.au>
9552 * help-mode.el (help-make-xrefs): For Info node links turn
9553 newlines into spaces. Link node names with newlines are matched
9554 by help-xref-info-regexp and buttonized, this change ensures they
9555 can be followed successfully with RET. (Bug#6206)
9557 2010-05-20 Juri Linkov <juri@jurta.org>
9559 * locate.el (locate): Use pop-to-buffer instead of
9560 switch-to-buffer-other-window. (Bug#6204)
9562 2010-05-20 Juri Linkov <juri@jurta.org>
9564 * replace.el (replace-highlight): Fix lazy-highlighting
9565 for `M-s w str M-% str RET'.
9567 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9569 * isearch.el (isearch-yank-word-or-char): Pull next subword
9570 when `subword-mode' is activated. (Bug#6220)
9572 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9574 * isearch.el (isearch-update-post-hook): New hook.
9575 (isearch-update): Use the new hook. (Bug#6225)
9577 2010-05-20 Juri Linkov <juri@jurta.org>
9579 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9580 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9583 2010-05-20 Juri Linkov <juri@jurta.org>
9585 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9588 2010-05-20 Juri Linkov <juri@jurta.org>
9590 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9591 FILE-NAME to read from the minibuffer when called interactively
9592 with prefix argument instead of using buffer-file-name.
9593 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9595 * dired.el: Update autoloads.
9597 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9599 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9600 nxml-finish-element, for consistency with SGML mode.
9602 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9605 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9607 * composite.el: Require cl when compiling.
9608 (reference-point-alist, compose-gstring-for-graphic)
9609 (compose-gstring-for-terminal): Fix typos in docstrings.
9611 2010-05-19 Juri Linkov <juri@jurta.org>
9613 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9614 set-window-parameter.
9616 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9618 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9620 (tramp-maybe-open-connection): Use it.
9622 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9624 * simple.el (move-end-of-line): Make sure we are at line beginning
9625 before backing up to end of previous line.
9627 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9629 * password-cache.el (password-cache-remove): Fix docstring.
9631 * net/secrets.el: Autoload the widget functions.
9632 (secrets-search-items, secrets-create-item)
9633 (secrets-get-attributes, secrets-expand-item): Attributes will be
9634 stored on the password database without leading ":", as all other
9636 (secrets-mode): Fix docstring.
9637 (secrets-show-secrets): Provide it as autoloaded command only when
9638 D-Bus support is available. Check existence of Secret Service API.
9640 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9642 * indent.el (indent-region): Deactivate region (bug#6200).
9644 2010-05-19 Glenn Morris <rgm@gnu.org>
9646 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9648 2010-05-19 Kenichi Handa <handa@m17n.org>
9650 * composite.el: Register compose-gstring-for-graphic in
9651 composition-function-table only for combining characters (Mn, Mc, Me).
9653 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9655 * calc/calc-trail.el (calc-trail-isearch-forward)
9656 (calc-trail-isearch-backward): Ensure that the new window
9657 point is set correctly.
9659 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9661 * subr.el (read-quoted-char): Resolve modifiers after key
9662 remapping (bug#6212).
9664 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9666 Add visualization code for secrets.
9667 * net/secrets.el (secrets-mode): New major mode.
9668 (secrets-show-secrets, secrets-show-collections)
9669 (secrets-expand-collection, secrets-expand-item)
9670 (secrets-tree-widget-after-toggle-function)
9671 (secrets-tree-widget-show-password): New defuns.
9673 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9675 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9676 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9677 handled in smie-next-sexp.
9678 (smie-indent-calculate): Provide a starting indentation (so the
9679 recursion is well-founded ;-).
9681 Fix handling of non-associative equal levels.
9682 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9683 when it's not needed.
9684 (smie-op-left, smie-op-right): New functions.
9685 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9686 Better handle equal levels to distinguish the associative case from
9687 the "multi-keyword construct" case.
9688 (smie-backward-sexp, smie-forward-sexp): Use it.
9690 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9692 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9694 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9695 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9697 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9699 Provide a simple generic indentation engine and use it for Prolog.
9700 * emacs-lisp/smie.el: New file.
9701 * progmodes/prolog.el (prolog-smie-op-levels)
9702 (prolog-smie-indent-rules): New var.
9703 (prolog-mode-variables): Use them to configure SMIE.
9704 (prolog-indent-line, prolog-indent-level): Remove.
9706 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9708 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9709 order before computing the averages.
9711 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9713 * calc/calc-vec.el (calc-histogram):
9714 (calcFunc-histogram): Allow vectors as inputs.
9715 (math-vector-avg): New function.
9717 * calc/calc-ext.el (math-group-float): Have the number of digits
9718 being grouped depend on the radix (Bug#6189).
9720 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9722 * version.el (emacs-copyright, emacs-version): Don't define here,
9723 now that emacs.c defines it.
9725 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9727 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9728 "Describe Language Environment" menu item.
9730 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9732 Bidi-sensitive movement with arrow keys.
9733 * subr.el (right-arrow-command, left-arrow-command): New functions.
9735 * bindings.el (global-map): Bind them to right and left arrow keys.
9737 Don't override standard definition of convert-standard-filename.
9738 * files.el (convert-standard-filename):
9739 Call w32-convert-standard-filename and dos-convert-standard-filename on
9740 the corresponding systems.
9742 * w32-fns.el (w32-convert-standard-filename): Rename from
9743 convert-standard-filename. Doc fix.
9745 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9746 (convert-standard-filename): Don't defalias.
9747 (register-name-alist, make-register, register-value)
9748 (set-register-value, intdos): Obsolete aliases for the
9749 corresponding dos-* functions and variables.
9750 (dos-intdos): Add a doc string.
9752 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9754 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9755 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9756 (math-compose-tex-func):
9757 * calc/calccomp.el (math-compose-expr):
9758 * calc/calc-ext.el (math-format-flat-expr-fancy):
9759 * calc/calc-store.el (calc-read-var-name):
9760 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9762 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9763 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9764 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9765 (math-standard-units): Add units.
9767 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9769 * progmodes/asm-mode.el (asm-mode):
9770 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9772 * pcomplete.el (pcomplete-completions-at-point): New function,
9773 extracted from pcomplete-std-complete.
9774 (pcomplete-std-complete): Use it.
9776 2010-05-15 Glenn Morris <rgm@gnu.org>
9778 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9779 Remove references to CVS, RCS and Old directories.
9781 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9783 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9786 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9788 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9789 (sh-mode-syntax-table): Give it a default value instead.
9790 (sh-header-marker): Make buffer-local.
9791 (sh-mode): Move make-local-variable to the corresponding setq.
9792 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9793 Use complete-with-action.
9795 * simple.el (prog-mode): New (abstract) major mode.
9796 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9797 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9799 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9801 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9802 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9803 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9804 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9805 (sql-escape-newlines-filter, sql-input-sender)
9806 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9808 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9810 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9812 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9813 latex-open-block and C-c / to latex-close-block.
9815 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9816 and C-c C-e to sgml-close-tag.
9818 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9820 * net/tramp.el (with-progress-reporter): Create reporter object
9821 only when the message would be displayed. Handle nested calls.
9822 (tramp-handle-load, tramp-handle-file-local-copy)
9823 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9824 (tramp-maybe-send-script, tramp-find-shell):
9825 Use `with-progress-reporter'.
9826 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9829 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9830 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9831 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9832 Use `with-progress-reporter'.
9834 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9836 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9837 process everytime when spellchecking from the minibuffer (bug#6143).
9839 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9841 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9843 * dos-fns.el: Add "dos-" prefix for namespace control.
9844 (convert-standard-filename): Define as alias for
9845 dos-convert-standard-filename but only if applicable.
9847 2010-05-12 Alan Mackenzie <acm@muc.de>
9849 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9850 Push the mark at the start of these functions when appropriate.
9852 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9854 * minibuffer.el (completion-cycle-threshold): New custom var.
9855 (completion--do-completion): Use it.
9856 (minibuffer-complete): Use cycling if appropriate.
9858 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9860 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9861 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9863 2010-05-11 Juri Linkov <juri@jurta.org>
9865 * scroll-all.el (scroll-all-check-to-scroll):
9866 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9868 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9870 * iimage.el (iimage-mode-map): Move initialization into declaration.
9871 (iimage-mode-buffer): Use with-silent-modifications.
9872 Simplify calling convention. Adjust callers.
9873 (iimage-mode): Don't run hook redundantly.
9875 * minibuffer.el (completion-pcm--pattern->regex):
9876 Fix last change (bug#6160).
9878 2010-05-10 Juri Linkov <juri@jurta.org>
9880 Remove nodes visited during Isearch from the Info history.
9881 * info.el (Info-isearch-initial-history)
9882 (Info-isearch-initial-history-list): New variables.
9883 (Info-isearch-start): Record initial values of
9884 Info-isearch-initial-history and Info-isearch-initial-history-list.
9885 Add Info-isearch-end to isearch-mode-end-hook.
9886 (Info-isearch-end): New function.
9888 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9890 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9891 format string, in order to work around a bug in pdksh.
9892 Reported by Gilles Pion <gpion@lfdj.com>.
9893 (tramp-handle-verify-visited-file-modtime): Do not send a command
9894 when the connection is not established.
9895 (tramp-handle-set-file-times): Simplify the check for utc.
9897 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9899 Fix use of `filter-buffer-substring' (rework previous change).
9900 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9901 (cua-repeat-replace-region):
9902 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9903 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9904 (cua-cut-region-to-global-mark): Use it.
9906 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9908 * progmodes/sql.el: Version 2.1.
9909 (sql-product-alist): Redesign structure of product info.
9910 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9911 (sql-port, sql-port-history): New variables.
9912 (sql-interactive-product): New variable.
9913 (sql-send-terminator): New variable.
9914 (sql-imenu-generic-expression): Add "Types" imenu entry.
9915 (sql-oracle-login-params, sql-sqlite-login-params)
9916 (sql-mysql-login-params, sql-solid-login-params)
9917 (sql-sybase-login-params, sql-informix-login-params)
9918 (sql-ingres-login-params, sql-ms-login-params)
9919 (sql-postgres-login-params, sql-interbase-login-params)
9920 (sql-db2-login-params, sql-linter-login-params)
9921 (sql-oracle-scan-on): New variables.
9922 (sql-mode-map): Add C-c C-i to start interactive mode.
9923 (sql-mode-menu): Update existing menu entries.
9924 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9925 (sql-mode-oracle-font-lock-keywords)
9926 (sql-mode-postgres-font-lock-keywords)
9927 (sql-mode-ms-font-lock-keywords)
9928 (sql-mode-sybase-font-lock-keywords)
9929 (sql-mode-informix-font-lock-keywords)
9930 (sql-mode-interbase-font-lock-keywords)
9931 (sql-mode-ingres-font-lock-keywords)
9932 (sql-mode-solid-font-lock-keywords)
9933 (sql-mode-mysql-font-lock-keywords)
9934 (sql-mode-sqlite-font-lock-keywords)
9935 (sql-mode-db2-font-lock-keywords)
9936 (sql-mode-linter-font-lock-keywords): Update initialization to
9937 reduce run-time complexity.
9938 (sql-add-product, sql-del-product): New functions.
9939 (sql-set-product-feature, sql-get-product-feature): New functions.
9940 (sql-product-font-lock): Update product API.
9941 (sql-add-product-keywords): New function.
9942 (sql-highlight-product): Update product API.
9943 (sql-help-list-products): New function.
9944 (sql-help): Dynamically lists free and non-free products.
9945 (sql-get-login): Correct bug in handling history and added
9947 (sql-copy-column): Copy without properties.
9948 (sqli-input-sender): Apply filters to SQLi input.
9949 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9950 Implement as a filter.
9951 (sql-escape-newlines-filter): Implement as a filter.
9952 (sql-remove-tabs-filter): New function.
9953 (sql-send-magic-terminator): New function.
9954 (sql-send-string): Implement magic terminator.
9955 (sql-send-region): Use `sql-send-string'.
9956 (sql-interactive-mode): Use product API.
9957 (sql-product-interactive): Use product API.
9958 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9959 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9960 (sql-db2, sql-linter): Use `sql-product-interactive'.
9961 (sql-connect): New function.
9962 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9963 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9964 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9965 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9968 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9971 New custom variable.
9972 (completion-pcm--string->pattern): Use it.
9973 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9974 Make it handle any symbol as `any'.
9975 (completion-pcm--merge-completions): Extract common suffix for the new
9976 `prefix' symbol as well.
9977 (completion-substring--all-completions): Use the new `prefix' symbol.
9979 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9981 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9983 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9984 (tramp-compat-funcall): New defmacro.
9985 (tramp-compat-line-beginning-position)
9986 (tramp-compat-line-end-position)
9987 (tramp-compat-temporary-file-directory)
9988 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9989 (tramp-compat-copy-file, tramp-compat-copy-directory)
9990 (tramp-compat-delete-file, tramp-compat-delete-directory)
9991 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9992 * net/tramp.el (top, with-progress-reporter)
9993 (tramp-rfn-eshadow-setup-minibuffer)
9994 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9995 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9996 (tramp-completion-mode-p, tramp-check-for-regexp)
9997 (tramp-open-connection-setup-interactive-shell)
9998 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9999 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10000 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10001 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10002 (tramp-reporter-dump-variable, tramp-load-report-modules)
10003 (tramp-append-tramp-buffers)
10004 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10006 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10008 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10010 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10011 buffer-modtime. Adjust users.
10013 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10015 * international/mule.el (auto-coding-alist): Only purecopy
10016 car of each item, not the whole list (Bug#6083).
10018 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10020 * progmodes/js.el (js-mode): Make paragraph variables local before
10021 calling c-setup-paragraph-variables (Bug#6071).
10023 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10025 * composite.el (compose-region, reference-point-alist): Fix typos
10026 in the doc strings.
10028 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10030 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10031 gnuplot's "set" command.
10033 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10035 * abbrev.el (last-abbrev-text): Doc fix.
10036 (abbrev-prefix-mark): Don't escape parenthesis.
10038 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10040 * composite.el (find-composition): Doc fix.
10042 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10044 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10045 (sql-oracle-program, sql-sqlite-options)
10046 (sql-query-placeholders-and-send): Doc fixes.
10047 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10048 (sql-imenu-generic-expression, sql-buffer)
10049 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10050 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10051 (sql-mode-sybase-font-lock-keywords)
10052 (sql-mode-informix-font-lock-keywords)
10053 (sql-mode-interbase-font-lock-keywords)
10054 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10055 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10056 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10057 (sql-product-feature, sql-highlight-product)
10058 (comint-line-beginning-position, sql-rename-buffer)
10059 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10060 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10061 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10062 Fix typos in docstrings.
10064 2010-05-08 Juri Linkov <juri@jurta.org>
10066 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10067 property instead of `invisible' and `after-string' (bug#5998).
10069 2010-05-08 Juri Linkov <juri@jurta.org>
10071 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10073 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10075 * filecache.el (file-cache-add-directory-list)
10076 (file-cache-add-directory-recursively): Fix typos in docstrings.
10078 2010-05-08 Kenichi Handa <handa@m17n.org>
10080 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10081 (gujarati-composable-pattern): Fix typo.
10083 2010-05-08 Kenichi Handa <handa@m17n.org>
10085 * language/indian.el (oriya-composable-pattern)
10086 (tamil-composable-pattern, malayalam-composable-pattern):
10087 Add two-part vowels to "v" (vowel sign).
10089 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10091 * files.el (copy-directory): Handle symlinks (Bug#5982).
10093 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10095 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10096 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10099 2010-05-08 Glenn Morris <rgm@gnu.org>
10101 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10103 * minibuffer.el (completion-at-point): Doc fix.
10105 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10107 * electric.el (Electric-command-loop): Minor tweak.
10109 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10110 better with dedicated windows.
10112 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10114 * Version 23.2 released.
10116 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10117 Stefan Monnier <monnier@iro.umontreal.ca>
10119 Highlight vendor specific properties.
10120 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10121 (css-proprietary-property): New face.
10122 (css-font-lock-keywords): Use them.
10124 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10126 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10128 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10130 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10131 * files.el (auto-mode-alist): Remove redundant entries.
10133 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10134 * simple.el (auto-save-mode): Move from files.el.
10135 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10137 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10139 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10141 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10143 * mail/binhex.el (binhex-decode-region-internal)
10144 * mail/uudecode.el (uudecode-decode-region-internal)
10145 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10146 (dns-read-type, dns-query)
10147 * pgg-parse.el (pgg-parse-armor)
10148 * pgg.el (pgg-verify-region)
10149 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10152 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10154 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10156 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10158 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10159 * emulation/cua-base.el (cua-repeat-replace-region):
10160 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10161 (cua-cut-region-to-global-mark):
10162 Remove text properties with `set-text-properties'.
10164 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10166 * net/tramp.el (top, with-progress-reporter):
10167 Use `symbol-function' inside `funcall'.
10169 * net/tramp-compat.el (tramp-compat-file-attributes)
10170 (tramp-compat-delete-file, tramp-compat-delete-directory):
10171 Handle only `wrong-number-of-arguments' error.
10173 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10174 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10177 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10179 * minibuffer.el (completion--sreverse, completion--common-suffix):
10181 (completion-pcm--merge-completions): Extract common suffix when safe.
10183 * emacs-lisp/easy-mmode.el (define-minor-mode):
10184 Make :variable more flexible.
10185 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10187 2010-05-05 Juri Linkov <juri@jurta.org>
10189 Add `slow' and `history' tags to the desktop data.
10191 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10192 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10193 (Info-finder-find-node): Require `finder.el' to be able
10194 to restore node from the desktop.
10195 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10196 data `Info-history' and `slow' tag in the assoc list.
10197 (Info-restore-desktop-buffer): Don't restore nodes with the
10198 `slow' tag. Restore `Info-history'.
10200 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10202 Add FORCE argument to `delete-file'.
10204 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10205 forcing to delete the temporary file.
10206 (ange-ftp-delete-file): Add FORCE arg.
10207 (ange-ftp-rename-remote-to-remote)
10208 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10209 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10210 Force file deletion.
10212 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10214 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10215 (tramp-handle-make-symbolic-link, tramp-handle-load)
10216 (tramp-do-copy-or-rename-file-via-buffer)
10217 (tramp-do-copy-or-rename-file-directly)
10218 (tramp-do-copy-or-rename-file-out-of-band)
10219 (tramp-handle-process-file, tramp-handle-call-process-region)
10220 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10221 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10222 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10224 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10225 (tramp-fish-handle-make-symbolic-link)
10226 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10228 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10229 Use `tramp-compat-delete-file'.
10231 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10232 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10234 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10235 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10237 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10238 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10239 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10240 Use `tramp-compat-delete-file'.
10242 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10245 * subr.el (add-minor-mode): Use push.
10246 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10247 * emulation/edt.el (edt-select-mode): Simplify.
10249 Use define-minor-mode in more cases.
10250 * term/tvi970.el (tvi970-set-keypad-mode):
10251 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10252 (normal-erase-is-backspace-mode):
10253 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10254 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10255 (get-scroll-bar-mode): New function.
10256 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10258 Use define-minor-mode for less obvious cases.
10259 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10260 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10261 * international/iso-ascii.el (iso-ascii-mode):
10262 * frame.el (auto-raise-mode, auto-lower-mode):
10263 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10265 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10267 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10268 in order to see error messages for failed logins.
10270 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10272 * diff.el (diff-sentinel):
10274 * epg.el (epg--make-temp-file, epg-decrypt-string)
10275 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10277 * jka-compr.el (jka-compr-partial-uncompress)
10278 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10280 * server.el (server-sentinel): Use delete-file's new FORCE arg
10283 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10285 Use define-minor-mode where applicable.
10286 * view.el (view-mode):
10287 * type-break.el (type-break-query-mode)
10288 (type-break-mode-line-message-mode):
10289 * textmodes/reftex.el (reftex-mode):
10290 * term/vt100.el (vt100-wide-mode):
10291 * tar-mode.el (tar-subfile-mode):
10292 * savehist.el (savehist-mode):
10293 * ibuf-ext.el (ibuffer-auto-mode):
10294 * composite.el (auto-composition-mode):
10295 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10296 Use define-minor-mode.
10297 (vhdl-mode): Use static mode-line format.
10298 (vhdl-mode-line-update): Delete.
10299 (vhdl-create-mode-menu, vhdl-activate-customizations)
10300 (vhdl-hs-minor-mode): Don't bother calling it.
10302 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * simple.el (with-wrapper-hook): Move.
10305 (buffer-substring-filters): Mark obsolete.
10306 (filter-buffer-substring-functions): New variable.
10307 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10309 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10310 Michael Albinus <michael.albinus@gmx.de>
10312 Implement compression for inline methods.
10314 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10315 (tramp-copy-size-limit): Allow also nil.
10316 (tramp-inline-compress-commands): New defconst.
10317 (tramp-find-inline-compress, tramp-get-inline-compress)
10318 (tramp-get-inline-coding): New defuns.
10319 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10320 replaced by `tramp-get-inline-coding'.
10321 (tramp-handle-file-local-copy, tramp-handle-write-region)
10322 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10324 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10326 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10327 Remove unused functions.
10329 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10330 Set find-tag-default-function as a variable rather than a property.
10332 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10333 * progmodes/etags.el (tags-completion-at-point-function):
10334 Remove left over interactive spec. Add autoloading stub.
10335 (complete-tag): Use tags-completion-at-point-function.
10337 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10339 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10341 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10343 * ido.el (ido-init-completion-maps): Remove C-v binding.
10344 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10346 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10348 * minibuffer.el (tags-completion-at-point-function): New function.
10349 (completion-at-point-functions): Use it.
10351 * progmodes/etags.el (complete-tag): Revert last change.
10353 2010-04-29 Alan Mackenzie <acm@muc.de>
10355 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10356 off-by-one error (in end of macro position).
10358 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10360 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10361 firefox is absent. Don't autoload.
10362 (browse-url-galeon-program): Don't autoload.
10364 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10366 * bindings.el (complete-symbol): Move into minibuffer.el.
10368 * minibuffer.el (complete-tag): Move from etags.el. If tags
10369 completion cannot be performed, return nil instead of signalling
10371 (completion-at-point): Make it an alias for complete-symbol.
10372 (complete-symbol): Move from bindings.el, and replace with the
10373 body of completion-at-point.
10375 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10377 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10379 * net/tramp.el (tramp-remote-selinux-p): New defun.
10380 (tramp-handle-file-selinux-context)
10381 (tramp-handle-set-file-selinux-context): Use it.
10383 2010-04-28 Sam Steingold <sds@gnu.org>
10385 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10386 `safe-local-variable' if the value is a string or a symbol with
10387 the property `bug-reference-url-format'.
10389 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10391 * progmodes/bug-reference.el (bug-reference-url-format):
10392 Revert 2010-04-27 change due to security risk.
10394 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10396 Make it possible to locally disable a globally enabled mode.
10397 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10398 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10399 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10400 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10401 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10402 that subsequent hooks get a chance to disable it.
10404 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10406 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10407 Avoid re-enabling a minor mode after the user turned the minor mode
10408 off if MODE-enable-in-buffers is run twice (typically once from
10409 fundamental-mode's after-change-major-mode-hook and a second time from
10410 run-mode-hook's own after-change-major-mode-hook).
10412 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10414 2010-04-27 Sam Steingold <sds@gnu.org>
10416 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10417 `safe-local-variable' if the value is a string or a function, as
10418 documented and implemented on 2010-04-02.
10420 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10422 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10423 when method is 'kill.
10425 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10427 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10428 condition in default directory check.
10429 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10430 Kill ispell process when killing its associated buffer.
10432 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10434 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10435 but we aren't using it.
10437 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10439 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10440 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10442 2010-04-24 Glenn Morris <rgm@gnu.org>
10444 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10445 Ignore VCS-ignore files, and deleted nextstep preferences files.
10446 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10447 (authors-ambiguous-files): New list.
10448 (authors-valid-file-names): Add some deleted files.
10449 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10450 (authors-disambiguate-file-name): New function. (Bug#5501)
10451 (authors-canonical-file-name): Doc fix.
10452 Don't warn about obsolete files.
10453 (authors-canonical-file-name, authors-scan-el):
10454 Use authors-disambiguate-file-name.
10456 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10457 Add autoload cookies.
10458 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10459 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10460 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10461 They have definitions / compiler macros in cl.el.
10462 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10463 Replace manual autoloads with generated ones.
10464 (htmlfontify-unload-rgb-file): Remove autoload.
10465 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10467 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10469 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10470 (byte-compile-setq-default): Optimize for the
10471 single-var case and don't call byte-compile-form in this case to avoid
10472 inf-loop with byte-compile-set-default.
10474 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10476 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10478 Implement SELINUX backends.
10480 * net/tramp.el (tramp-file-name-handler-alist):
10481 Add `file-selinux-context' and `set-file-selinux-context'.
10482 (tramp-handle-file-selinux-context)
10483 (tramp-handle-set-file-selinux-context): New defuns.
10484 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10485 Handle PRESERVE-SELINUX-CONTEXT.
10487 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10488 Add `file-selinux-context' and `set-file-selinux-context'.
10489 (tramp-gvfs-handle-file-selinux-context)
10490 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10491 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10493 * net/ange-ftp.el (ange-ftp-copy-file):
10494 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10495 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10496 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10497 Add PRESERVE-SELINUX-CONTEXT.
10499 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10501 Synchronize with Tramp repository.
10503 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10504 (tramp-action-process-alive, tramp-action-out-of-band)
10505 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10506 (tramp-exists-file-name-handler): Fix docstring.
10507 (with-progress-reporter): New defmacro.
10508 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10509 (tramp-maybe-open-connection): Use it.
10511 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10513 Detect ssh 'ControlMaster' argument automatically in some cases.
10515 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10516 (tramp-default-method): Use it.
10518 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10520 * net/tramp.el (tramp-handle-copy-file): Add new optional
10521 parameter `preserve-selinux-context'.
10522 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10524 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10526 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10527 Ensure, that non remote files are still checked. Oops.
10529 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10533 * icomplete.el (icomplete-completions): Use `non-essential'.
10535 * net/tramp.el (tramp-connectable-p): New defun.
10536 (tramp-handle-expand-file-name)
10537 (tramp-completion-handle-file-name-all-completions)
10538 (tramp-completion-handle-file-name-completion): Use it.
10540 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10542 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10544 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10546 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10548 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10550 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10553 * info.el (info-tool-bar-map): Add labels.
10555 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10557 * cus-edit.el (custom-commands): Add labels for tool bar.
10558 (custom-buffer-create-internal, Custom-mode): Adjust for
10559 labels in custom-commands.
10561 * dynamic-setting.el: Renamed from font-setting.el.
10563 2010-04-21 John Wiegley <jwiegley@gmail.com>
10565 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10566 toggles the use of virtual buffers.
10567 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10568 (ido-toggle-virtual-buffers): New function.
10570 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10572 Use `define-derived-mode'; fix window selection; doc fixes.
10573 * play/tetris.el (tetris, tetris-update-speed-function)
10574 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10575 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10576 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10577 (tetris-pause-game): Fix typos in docstrings.
10578 (tetris-mode-map, tetris-null-map):
10579 Move initialization into declaration.
10580 (tetris-mode): Define with `define-derived-mode';
10581 set show-trailing-whitespace to nil.
10582 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10584 2010-04-21 Karel Klíč <kklic@redhat.com>
10586 * files.el (backup-buffer): Handle SELinux context, and return it
10587 if a backup was made by renaming.
10588 (backup-buffer-copy): Set SELinux context to the target file.
10589 (basic-save-buffer): Set SELinux context of the newly written file.
10590 (basic-save-buffer-1): Now it also returns any SELinux context.
10591 (basic-save-buffer-2): Set SELinux context of the newly created file,
10593 * net/tramp.el (tramp-file-name-for-operation):
10594 Add file-selinux-context.
10596 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10598 Make the log-edit comments use RFC822 format throughout.
10600 * vc.el (vc-checkin, vc-modify-change-comment):
10601 Adjust to new vc-start/finish-logentry.
10602 (vc-find-conflicted-file): New command.
10603 (vc-transfer-file): Adjust to new vc-checkin.
10604 (vc-next-action): Improve scoping.
10606 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10607 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10609 * vc-git.el (vc-git-log-edit-mode): Remove.
10610 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10611 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10613 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10614 (vc-start-logentry): Remove argument `extra'.
10615 (vc-finish-logentry): Remove extra args.
10617 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10618 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10619 (vc-bzr-conflicted-files): New function.
10621 * log-edit.el (log-edit-extra-flags)
10622 (log-edit-before-checkin-process): Remove.
10623 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10624 (log-edit-headers-alist): New var.
10625 (log-edit-header-contents-regexp): New const.
10626 (log-edit-match-to-eoh): New function.
10627 (log-edit-font-lock-keywords): Use them.
10628 (log-edit): Insert a "Summary:" header as default.
10629 (log-edit-mode): Mark font-lock rules as case-insensitive.
10630 (log-edit-done): Cleanup headers.
10631 (log-view-process-buffer): Remove.
10632 (log-edit-extract-headers): New function to replace it.
10634 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10636 * subr.el (default-direction-reversed): Remove obsolescence info.
10638 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10640 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10643 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10644 I.e. include text after point in the completion region.
10645 Also, return nil when we're not after/in a symbol.
10647 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10648 default enable-multibyte-characters.
10650 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10652 * international/mule.el: Help the user choose a valid coding-system.
10653 (read-buffer-file-coding-system): New function.
10654 (set-buffer-file-coding-system): Use it. Prompt the user if the
10655 coding-system cannot encode all the chars.
10657 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10658 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10659 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10660 Don't use *vc-bzr-shelve*.
10662 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10664 Fix the version number for added files.
10665 * vc-hg.el (vc-hg-working-revision): Check if the file is
10666 registered after hg parent fails (Bug#5961).
10668 2010-04-19 Glenn Morris <rgm@gnu.org>
10670 * htmlfontify.el (htmlfontify-buffer)
10671 (htmlfontify-copy-and-link-dir): Autoload entry points.
10673 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10675 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10676 name relative to the project root (Bug#5960).
10678 2010-04-19 Glenn Morris <rgm@gnu.org>
10680 * vc-git.el (vc-git-print-log): Doc fix.
10682 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10684 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10686 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10688 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10689 default settings (Bug#5928).
10691 2010-04-19 Glenn Morris <rgm@gnu.org>
10693 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10695 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10697 2010-04-19 Kenichi Handa <handa@m17n.org>
10699 * language/indian.el (malayalam-composable-pattern): Fix previous
10700 change (add U+0D4D "SIGN VIRAMA").
10701 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10702 (tamil-composable-pattern): Fix typo in the regexp.
10703 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10704 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10705 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10707 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10709 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10710 paragraph-separate (Bug#5821).
10712 2010-04-19 Juri Linkov <juri@jurta.org>
10714 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10716 * info.el (Info-find-node-2): Comment out code that skips
10718 (Info-mouse-follow-link): New command.
10719 (Info-link-keymap): New keymap.
10720 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10721 Return a string with links instead of inserting breadcrumbs
10722 to the Info buffer.
10723 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10724 Instead of putting the `invisible' text property over the Info
10725 header, make an overlay over the Info header with the `invisible'
10726 property and `after-string' set to the string returned by
10727 `Info-breadcrumbs'.
10729 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10731 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10732 Reported by monkey@sandpframing.com.
10734 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10736 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10737 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10738 available in the "keyseq cache" any more.
10740 * custom.el (defcustom): Add edebug spec.
10742 2010-04-18 Juri Linkov <juri@jurta.org>
10744 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10746 * view.el (view-file, view-buffer): Move test for special mode-class
10747 from view-file to view-buffer.
10749 * tar-mode.el (tar-extract): Turn if's into one cond
10750 like in arc-mode.el.
10752 2010-04-18 Juri Linkov <juri@jurta.org>
10754 Add 7z archive format support (bug#5475).
10756 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10757 (archive-7z-extract): New defcustom.
10758 (archive-find-type): Add magic string for 7z.
10759 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10760 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10761 `buffer' arg of `call-process'.
10762 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10763 call the function `archive-7z-extract' with the variable
10764 `archive-7z-extract' let-bound to `archive-zip-extract'.
10765 (archive-7z-summarize, archive-7z-extract): New functions.
10767 * international/mule.el (auto-coding-alist):
10768 * files.el (auto-mode-alist): Add 7z file extension.
10770 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10772 * loadup.el: Setup hash-cons for pure data.
10774 Fix duplicate entries in cedet's loaddefs.el files.
10775 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10776 Should make most file-local generated-autoload-file unnecessary.
10777 (print-readably): Silence warnings.
10778 (autoload-find-destination): Take load-name as an arg to make sure
10779 it's the same as the one that will be in the file.
10780 (autoload-generate-file-autoloads): Adjust to above changes.
10781 Try to make the dataflow a bit simpler.
10783 * cvs-status.el (cvs-refontify): Remove unused.
10785 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10787 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10789 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10790 twos-complement mode.
10792 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10794 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10795 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10796 (calc-inverse): Add "Option" to message, as appropriate.
10797 (calc-hyperbolic): Add "Option" to message, as appropriate.
10798 (calc-option, calc-is-option): New functions.
10800 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10801 (calc-option-prefix-help): New function.
10803 * calc/calc-misc.el (calc-help): Add "Option" entry.
10805 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10806 (calc-option-flag): New variable.
10807 (calc-do): Set `calc-option-flag to nil.
10808 (calc-set-mode-line): Add "Opt " as appropriate.
10810 2010-04-16 Juri Linkov <juri@jurta.org>
10812 Move scrolling commands from simple.el to window.el
10813 because their primitives are implemented in window.c.
10815 * simple.el (scroll-error-top-bottom)
10816 (scroll-up-command, scroll-down-command, scroll-up-line)
10817 (scroll-down-line, scroll-other-window-down)
10818 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10819 * window.el (scroll-error-top-bottom)
10820 (scroll-up-command, scroll-down-command, scroll-up-line)
10821 (scroll-down-line, scroll-other-window-down)
10822 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10823 Move from simple.el to window.el because their primitives are
10824 implemented in window.c.
10826 2010-04-16 Juri Linkov <juri@jurta.org>
10828 * isearch.el (isearch-lookup-scroll-key): Check both
10829 `isearch-scroll' and `scroll-command' properties.
10830 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10832 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10834 * simple.el (scroll-up-command, scroll-down-command)
10835 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10837 2010-04-15 Juri Linkov <juri@jurta.org>
10839 * simple.el (scroll-up-command, scroll-down-command)
10840 (scroll-up-line, scroll-down-line): Put `scroll-command'
10841 property on the these symbols. Remove them from
10842 `scroll-preserve-screen-position-commands'.
10844 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10845 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10846 Remove it from `scroll-preserve-screen-position-commands'.
10848 * isearch.el (isearch-allow-scroll): Doc fix.
10850 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10852 * net/tramp.el (tramp-error-with-buffer): Don't show the
10853 connection buffer when we are in completion mode.
10854 (tramp-file-name-handler): Catch the error for some operations
10855 when we are in completion mode. This gives the user the chance to
10856 correct the file name in the minibuffer.
10858 2010-04-15 Glenn Morris <rgm@gnu.org>
10860 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10862 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10864 Simplify by using `define-derived-mode'.
10865 * info.el (Info-mode):
10866 * calendar/todo-mode.el (todo-mode):
10867 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10868 (gomoku-mode-map): Move initialization into declaration.
10870 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10873 * ido.el (ido-file-name-all-completions-1):
10874 * minibuffer.el (minibuffer-completion-help):
10875 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10877 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10879 * simple.el (non-essential): New var.
10881 Add a new field `location' to bookmarks for non-file bookmarks.
10882 * bookmark.el (bookmark-location): Use the new field, if present.
10883 (bookmark-insert-location): Undo last change, not needed any more.
10884 * man.el (Man-bookmark-make-record):
10885 * woman.el (woman-bookmark-make-record): Add `location' field.
10887 2010-04-14 Juri Linkov <juri@jurta.org>
10889 * simple.el (scroll-error-top-bottom): New defcustom.
10890 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10892 * emulation/pc-select.el (pc-select-override-scroll-error):
10893 Obsolete in favor of `scroll-error-top-bottom'.
10895 2010-04-14 Juri Linkov <juri@jurta.org>
10897 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10898 `scroll-up-command' and `M-v' to `scroll-down-command'.
10900 * emulation/cua-rect.el (cua--init-rectangles):
10901 * forms.el (forms--change-commands):
10902 * image-mode.el (image-mode-map):
10903 Remap scroll-down-command and scroll-up-command
10904 in addition to scroll-down and scroll-up.
10906 2010-04-14 Juri Linkov <juri@jurta.org>
10908 * mwheel.el (scroll-preserve-screen-position-commands):
10909 Add mwheel-scroll to this list of commands.
10911 * simple.el (scroll-preserve-screen-position-commands):
10912 Add scroll-up-command, scroll-down-command, scroll-up-line,
10913 scroll-down-line to this list of commands.
10915 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10917 * obsolete/complete.el: Move from lisp/complete.el.
10919 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10921 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10922 to the minor mode function now turns the mode ON unconditionally.
10924 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10926 * vc-dir.el (vc-dir-kill-line): New command.
10927 (vc-dir-mode-map): Bind it to C-k.
10929 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10931 * woman.el: Add bookmark declarations to silence the compiler.
10932 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10933 step to compatibility between man and woman bookmarks.
10934 Adjust for Man-default-bookmark-title renaming.
10935 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10937 * man.el: Add bookmark declarations to silence the compiler.
10938 (Man-name-local-regexp): Make it match NAME as well.
10939 (Man-getpage-in-background): Return the buffer.
10940 (Man-notify-when-ready): Use `case'.
10941 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10942 Don't hardcode "NAME". Simplify.
10943 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10944 Rename from Man-bookmark-make-record.
10945 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10946 we have the actual man-args. Use Man-getpage-in-background rather
10947 than `man' since the arg is already processed. Let bookmark.el do the
10948 window handling. Only wait for the relevant process.
10949 Don't forget to autoload.
10951 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10953 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10955 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10957 (woman-mode): Setup bookmark support.
10959 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10960 (man-bookmark-jump): New functions.
10961 (Man-mode): Setup bookmark support.
10963 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10965 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10966 recognize ssh-keygen prompt (Bug#2817).
10968 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10970 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10972 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10974 Synchronize with Tramp repository.
10976 * net/tramp.el (tramp-completion-function-alist)
10977 (tramp-file-name-regexp, tramp-chunksize)
10978 (tramp-local-coding-commands, tramp-remote-coding-commands):
10980 (tramp-remote-process-environment): Use `format' instead of `concat'.
10981 (tramp-handle-directory-files-and-attributes)
10982 (tramp-get-remote-path): Use `copy-tree'.
10983 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10984 compatibility: Use `completion-ignore-case' if
10985 `read-file-name-completion-ignore-case' does not exist.
10986 (tramp-do-copy-or-rename-file-directly): Do not use
10987 `tramp-handle-file-remote-p'.
10988 (tramp-do-copy-or-rename-file-out-of-band):
10989 Use `tramp-compat-delete-directory'.
10990 (tramp-do-copy-or-rename-file-out-of-band)
10991 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10992 Use `format-spec-make'.
10993 (tramp-find-foreign-file-name-handler)
10994 (tramp-advice-make-auto-save-file-name)
10995 (tramp-set-auto-save-file-modes): Remove superfluous check for
10996 `stringp'. This is done inside `tramp-tramp-file-p'.
10997 (tramp-debug-outline-regexp): New defconst.
10998 (tramp-get-debug-buffer): Use it.
10999 (tramp-check-for-regexp): Use (forward-line 1).
11000 (tramp-set-auto-save-file-modes): Adapt version check.
11002 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11003 Wrap call of `featurep' for 2nd argument.
11004 (tramp-compat-make-temp-file): Simplify fallback implementation.
11005 (tramp-compat-copy-tree): Remove function.
11006 (tramp-compat-delete-directory): Provide implementation for older
11009 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11010 Do not use `tramp-fish-handle-file-attributes.
11012 * net/trampver.el: Update release number.
11014 2010-04-10 Glenn Morris <rgm@gnu.org>
11016 * progmodes/compile.el (compilation-save-buffers-predicate):
11017 Add missing :version tag.
11019 2010-04-09 Sam Steingold <sds@gnu.org>
11021 * progmodes/compile.el (compilation-save-buffers-predicate):
11022 Remove the "autoload" cookie.
11024 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11025 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11026 and `bug-reference-prog-mode' can be used in hooks directly.
11028 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11030 Add --author support to git commit.
11031 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11032 (vc-git-log-edit-mode): New minor mode.
11033 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11036 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11038 * vc-hooks.el, vc-git.el: Improve documentation comments.
11040 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11042 Fix some of the problems in defsubst* (bug#5728).
11043 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11044 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11046 2010-04-07 Sam Steingold <sds@gnu.org>
11048 * progmodes/compile.el (compilation-save-buffers-predicate):
11049 New custom variable.
11050 (compile, recompile): Pass it to `save-some-buffers'.
11052 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11054 * wid-edit.el (widget-choose): Move cursor to the second line of
11055 the buffer (Bug#5695).
11057 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11059 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11060 * vc.el (vc-print-log-setup-buttons): New function split out from
11061 vc-print-log-internal.
11062 (vc-log-internal-common): New function, a parametrized version of
11063 vc-print-log-internal.
11064 (vc-print-log-internal): Just call vc-log-internal-common with the
11066 (vc-incoming-outgoing-internal):
11067 (vc-log-incoming, vc-log-outgoing): New functions.
11068 (vc-log-view-type): New permanent local variable.
11070 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11072 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11073 of the dynamic bound vc-short-log.
11074 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11076 * vc-git.el (vc-git-log-outgoing): New function.
11077 (vc-git-log-view-mode): Use vc-log-view-type instead
11078 of the dynamic bound vc-short-log.
11080 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11081 of the dynamic bound vc-short-log. Highlight the tag.
11082 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11083 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11084 (vc-hg-incoming-mode): Remove.
11085 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11087 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11089 Fix default-directory for vc-root-diff.
11090 * vc.el (vc-root-diff): Bind default-directory to the root
11091 directory for the diff command.
11093 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11095 * progmodes/verilog-mode.el (verilog-forward-sexp):
11096 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11097 word keywords, suggested by Steve Pearlmutter.
11098 (verilog-pretty-declarations): Support lineup of declarations in
11100 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11101 fix bug for /* / comments.
11102 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11103 Speed up and simplfy as this is never called with a bound.
11104 (verilog-pretty-declarations): Enhance to line up declarations
11105 inside a parameter list, suggested by Alan Morgan.
11106 (verilog-pretty-expr): Tune assignment regular expression match
11107 string for corner cases; also use markers instead of character
11108 number as indent changes the later.
11110 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11112 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11113 as missing keyword.
11114 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11115 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11116 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11117 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11119 (verilog-keywords):
11120 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11121 1800-2009 keywords, including "global.".
11123 2010-04-06 John Wiegley <jwiegley@gmail.com>
11125 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11126 appearing in buffer list (if a live buffer name matched a recentf
11127 file basename). Should use uniquify to offer a real solution.
11129 2010-04-06 John Wiegley <jwiegley@gmail.com>
11131 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11132 comment to code, and add a :version tag.
11133 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11135 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11137 Enable recentf-mode if using virtual buffers.
11138 * ido.el (recentf-list): Declare for byte-compiler.
11139 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11140 (ido-make-buffer-list): Simplify.
11141 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11143 2010-04-05 Juri Linkov <juri@jurta.org>
11145 Scrolling commands which scroll a line instead of full screen.
11146 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11148 * simple.el (scroll-up-line, scroll-down-line): New commands.
11149 Put property isearch-scroll=t on them.
11151 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11154 2010-04-05 Juri Linkov <juri@jurta.org>
11156 Scrolling commands which do not signal errors at top/bottom.
11157 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11159 * simple.el (scroll-up-command, scroll-down-command): New commands.
11160 Put property isearch-scroll=t on them.
11162 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11163 `scroll-down-command' and [next] from `scroll-up' to
11164 `scroll-up-command'.
11166 * emulation/cua-base.el: Put property CUA=move on
11167 `scroll-up-command' and `scroll-down-command'.
11168 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11169 and `scroll-down-command' to `cua-scroll-down'.
11171 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11173 * help.el (describe-mode): Return nil.
11175 2010-04-04 John Wiegley <jwiegley@gmail.com>
11177 * ido.el (ido-use-virtual-buffers): New variable to indicate
11178 whether "virtual buffer" support is enabled for IDO.
11179 (ido-virtual): Face used to indicate virtual buffers in the list.
11180 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11181 exists, but a virtual buffer of that name does (which would be why
11182 it was in the list), recreate the buffer by reopening the file.
11183 (ido-make-buffer-list): If virtual buffers are being used, call
11184 `ido-add-virtual-buffers-to-list' before the make list hook.
11185 (ido-virtual-buffers): New variable which contains a copy of the
11186 current contents of the `recentf-list', albeit pared down for the
11187 sake of speed, and with proper faces applied.
11188 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11189 create a list of "virtual buffers" to present to the user in
11190 addition to the currently open set. Note that this logic could
11191 get rather slow if that list is too large. With the default
11192 `recentf-max-saved-items' of 200, there is little speed penalty.
11194 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11196 * font-lock.el: Require CL when compiling.
11197 (font-lock-turn-on-thing-lock): Use `case'.
11199 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11201 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11204 2010-04-02 Juri Linkov <juri@jurta.org>
11206 * ehelp.el (electric-help-orig-major-mode):
11207 New buffer-local variable.
11208 (electric-help-mode): Set it to original major-mode. Doc fix.
11209 (with-electric-help): Use `electric-help-orig-major-mode' instead
11210 of (default-value 'major-mode). Doc fix.
11211 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11213 2010-04-02 Sam Steingold <sds@gnu.org>
11215 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11216 `vc-hg-command' with a list of flags.
11218 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11219 Also accept "patch" and "RFE".
11220 (bug-reference-fontify): `bug-reference-url-format' can also be a
11221 function to be able to handle the bug kind.
11222 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11224 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11226 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11227 value to fboundp, it may not be a symbol.
11229 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11231 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11233 2010-03-31 Juri Linkov <juri@jurta.org>
11235 * simple.el (next-line, previous-line): Re-throw a signal
11236 with `signal' instead of using `ding'.
11237 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11239 2010-03-31 Juri Linkov <juri@jurta.org>
11241 * simple.el (keyboard-escape-quit): Raise deselecting the active
11242 region higher than exiting the minibuffer.
11243 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11245 2010-03-31 Juri Linkov <juri@jurta.org>
11247 * image.el (image-animated-p): Use `image-metadata' instead of
11248 `image-extension-data'. Get GIF extenstion data from metadata
11249 property `extension-data'.
11251 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11253 * simple.el (append-to-buffer): Simplify.
11255 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11257 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11258 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11260 2010-03-31 Kenichi Handa <handa@m17n.org>
11262 * language/sinhala.el (composition-function-table): Fix regexp for
11263 the new Unicode specification.
11265 * language/indian.el (devanagari-composable-pattern)
11266 (tamil-composable-pattern, kannada-composable-pattern)
11267 (malayalam-composable-pattern): Adjust for the new Unicode
11269 (bengali-composable-pattern, gurmukhi-composable-pattern)
11270 (gujarati-composable-pattern, oriya-composable-pattern)
11271 (telugu-composable-pattern): New variables to cope with the new
11272 Unicode specification. Use them in composition-function-table.
11274 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11276 Make tmm-menubar work for the Buffers menu again (bug#5726).
11277 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11278 vectors rather than cons cells, as used in menu-bar-update-buffers.
11280 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11282 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11283 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11284 electric punctuation for "{}();,:" (Bug#5586).
11286 * mail/sendmail.el (mail-default-directory): Doc fix.
11288 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11290 * mail/sendmail.el (mail-default-directory): Doc fix.
11292 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11294 * subr.el (version-regexp-alist, version-to-list)
11295 (version-list-<, version-list-=, version-list-<=)
11296 (version-list-not-zero, version<, version<=, version=): Doc fix.
11299 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11301 * vc.el (vc-root-diff): Doc fix.
11303 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11305 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11307 * simple.el (append-to-buffer): Fix last change.
11309 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11311 * simple.el (append-to-buffer): Ensure that point is preserved if
11312 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11315 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11317 * files.el (auto-mode-case-fold): Change default to t.
11319 2010-03-30 Juri Linkov <juri@jurta.org>
11321 * dired-x.el (dired-omit-mode): Doc fix.
11323 2010-03-30 Juri Linkov <juri@jurta.org>
11325 * replace.el (occur-accumulate-lines): Move occur-engine related
11326 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11327 to be located after `occur-engine'.
11329 2010-03-30 Juri Linkov <juri@jurta.org>
11331 Make occur handle multi-line matches cleanly with context.
11332 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11334 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11335 (occur-engine): Add local variables `ret', `prev-after-lines',
11336 `prev-lines'. Use more arguments for `occur-context-lines'.
11337 Set first elem of its returned list to `data', and the second elem
11338 to `prev-after-lines'. Don't print the separator line.
11339 In the end, print remaining context after-lines.
11340 (occur-context-lines): Add new arguments `begpt', `endpt',
11341 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11342 after-lines of the previous match with before-lines of the
11343 current match and not overlap them. Return a list with two
11344 values: the output line and the list of context after-lines.
11346 2010-03-30 Juri Linkov <juri@jurta.org>
11348 * replace.el (occur-accumulate-lines): Fix a bug where the first
11349 context line at the beginning of the buffer was missing.
11351 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11353 * files.el: Make bidi-display-reordering safe variable for boolean
11356 2010-03-29 Phil Hagelberg <phil@evri.com>
11357 Chong Yidong <cyd@stupidchicken.com>
11359 * subr.el: Extend progress reporters to perform "spinning".
11360 (progress-reporter-update, progress-reporter-do-update):
11361 Handle non-numeric value arguments.
11362 (progress-reporter--pulse-characters): New var.
11364 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11366 * progmodes/compile.el (compilation-start): Fix regexp detection
11367 of initial cd command (Bug#5771).
11369 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11371 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11373 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11375 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11376 * progmodes/gdb-mi.el: Restore.
11377 * progmodes/gdb-ui.el: Remove.
11378 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11380 2010-03-25 Glenn Morris <rgm@gnu.org>
11382 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11383 all dired buffers, even tramp ones. (Bug#5755)
11385 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11387 Add "union tags" in mpc.el.
11388 * mpc.el: Remove backward compatibility code.
11389 (mpc-browser-tags): Change default.
11390 (mpc--find-memoize-union-tags): New var.
11391 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11392 (mpc-cmd-find): Handle the case where the playlist does not exist.
11394 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11395 (mpc-cmd-add): Use mpc-cmd-flush.
11396 (mpc-tagbrowser-tag-name): New fun.
11397 (mpc-tagbrowser-buf): Use it.
11398 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11400 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11403 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11404 Use replace-regexp-in-string.
11405 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11406 (makefile-imake-mode-syntax-table): Move init into defvar.
11407 (makefile-mode): Use define-derived-mode.
11409 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11410 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11411 not be present any more.
11413 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11415 * faces.el (set-face-attribute): Fix typo in docstring.
11416 (face-valid-attribute-values): Reflow docstring.
11418 2010-03-24 Glenn Morris <rgm@gnu.org>
11420 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11422 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11424 * indent.el (indent-for-tab-command): Doc fix.
11426 2010-03-24 Alan Mackenzie <acm@muc.de>
11428 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11429 Fix off-by-one error. Fixes bug #5747.
11431 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11433 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11434 (image-dired-read-comment): Doc fix.
11436 * json.el (json-object-type, json-array-type, json-key-type)
11437 (json-false, json-null, json-read-number):
11438 * minibuffer.el (completion-in-region-functions):
11439 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11440 (cal-tex-cursor-week):
11441 * emacs-lisp/trace.el (trace-function):
11442 * eshell/em-basic.el (eshell/printnl):
11443 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11444 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11445 * obsolete/levents.el (allocate-event, event-key, event-object)
11446 (event-point, event-process, event-timestamp, event-to-character)
11447 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11448 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11449 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11450 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11451 (reftex-highlight-selection): Fix typos in docstrings.
11453 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11455 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11457 2010-03-24 Glenn Morris <rgm@gnu.org>
11459 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11460 2008-02-13 without comment; mark it obsolete.
11461 (rmail-highlight-headers): Use rmail-highlight-face once more.
11463 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11465 * woman.el (woman2-process-escapes): Only consume the newline if
11466 the filler character is on a line by itself (Bug#5729).
11468 2010-03-24 Kenichi Handa <handa@m17n.org>
11470 * language/indian.el (devanagari-composable-pattern): Add more
11473 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11475 * net/trampver.el: Update release number.
11477 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11479 * net/tramp.el (tramp-find-executable):
11480 Use `tramp-get-connection-buffer'. Make the regexp for checking
11481 output of "wc -l" more robust.
11482 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11483 (tramp-open-connection-setup-interactive-shell): Remove workaround
11484 for OpenSolaris bug, it is not needed anymore.
11486 2010-03-24 Glenn Morris <rgm@gnu.org>
11488 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11490 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11492 * files.el (auto-mode-alist): Accept more verilog file patterns.
11494 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11496 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11498 2010-03-24 Glenn Morris <rgm@gnu.org>
11500 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11501 log-edit-before-checkin-process.
11503 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11505 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11507 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11508 (log-view-process-buffer, log-edit-extra-flags): Declare.
11510 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11512 2010-03-23 Sam Steingold <sds@gnu.org>
11514 Fix bug#5620: recalculate all markers on compilation buffer
11515 modifications, not on file modifications.
11516 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11517 variable: the buffer modification time, for buffers not associated with
11519 (compilation-mode): Create it.
11520 (compilation-filter): Update it.
11521 (compilation-next-error-function): Use it instead of
11522 `visited-file-modtime' for timestamp.
11524 2010-03-23 Juri Linkov <juri@jurta.org>
11526 Implement Occur multi-line matches.
11527 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11529 * replace.el (occur): Doc fix.
11530 (occur-engine): Set `begpt' to the beginning of the first line.
11531 Set `endpt' to the end of the last match line. At first, count
11532 line numbers between `origpt' and `begpt'. Split out code from
11533 `out-line' variable to new let-bindings `match-prefix' and
11534 `match-str'. In `out-line' add non-numeric prefix to all
11535 non-first lines of multi-line matches. Finally, count lines
11536 between `begpt' and `endpt' and add to `lines'.
11538 2010-03-23 Juri Linkov <juri@jurta.org>
11540 * replace.el (occur-accumulate-lines, occur-engine):
11541 Use `occur-engine-line' instead of duplicate code.
11542 (occur-engine-line): New function created from duplicate code
11543 in `occur-accumulate-lines' and `occur-engine'.
11545 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11546 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11548 2010-03-23 Juri Linkov <juri@jurta.org>
11550 * finder.el: Remove TODO tasks.
11552 * info.el (Info-finder-find-node): Add node "all"
11553 with all package info. Handle a list of multiple keywords
11554 separated by comma.
11555 (info-finder): In interactive use with a prefix argument,
11556 use `completing-read-multiple' to read a list of keywords
11557 separated by comma.
11559 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11561 Add a new completion style `substring'.
11562 * minibuffer.el (completion-basic--pattern): New function.
11563 (completion-basic-try-completion, completion-basic-all-completions):
11565 (completion-substring--all-completions)
11566 (completion-substring-try-completion)
11567 (completion-substring-all-completions): New functions.
11568 (completion-styles-alist): New style `substring'.
11570 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11572 Get rid of .elc files after removal of the corresponding .el.
11573 * Makefile.in (compile-clean): New target.
11574 (compile-main): Use it.
11576 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11578 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11579 don't do make there. When compiling with separate object dir, there
11580 is no Makefile there.
11582 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11584 Get rid of the ELCFILES abomination, again.
11585 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11586 (all, compile): Don't call compile-last.
11587 (compile-main): Build the "elcfiles" list dynamically.
11588 (compile-targets): New (internal) target.
11590 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11592 * Makefile.in (top_srcdir): Define.
11593 (abs_top_builddir): Define.
11594 (srcdir): Don't append `/..'.
11595 (EMACS): Use ${abs_top_builddir}.
11596 (all, compile, compile-always, compile-last): Don't set emacswd.
11597 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11599 (lisp): Use $(srcdir) instead of @srcdir@.
11601 2010-03-21 Juri Linkov <juri@jurta.org>
11603 Fix message of multi-line occur regexps and multi-buffer header lines.
11604 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11606 * replace.el (occur-1): Don't display regexp if it is longer
11607 than window-width. Use `query-replace-descr' to display regexp.
11608 (occur-engine): Don't display regexp in the buffer header for
11609 multi-buffer occur. Display a separate header line with total
11610 match count and regexp for multi-buffer occur.
11611 Use `query-replace-descr' to display regexp.
11613 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11615 * net/secrets.el: Fix parenthesis.
11616 (secrets-enabled): Fix parenthesis.
11618 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11620 Use more relative file and directory names.
11621 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11622 (setwins, setwins_almost, setwins_for_subdirs):
11623 Don't `cd'; output relative names.
11624 (all, compile, compile-always, compile-last): Set emacswd.
11625 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11626 Just cd to the lisp source dir so we can use relative file names.
11628 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11630 2010-03-20 Glenn Morris <rgm@gnu.org>
11632 * textmodes/rst.el: Use faces for font-lock customization, and make the
11633 old -face variables obsolete.
11634 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11635 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11636 (rst-block-face, rst-external-face, rst-definition-face)
11637 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11638 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11640 (rst-font-lock-keywords-function): Update for above changes.
11642 2010-03-20 Juri Linkov <juri@jurta.org>
11645 * obsolete/s-region.el: Move to obsolete.
11647 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11649 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11651 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11653 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11655 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11657 Add special markup processing for commit logs.
11658 * log-edit.el (log-edit-extra-flags): New variable.
11659 (log-edit): Add new argument MODE. Use that mode when non-nil
11660 instead of the log-view-mode.
11661 (log-view-process-buffer): New function.
11663 * vc.el: Document that the checkin method takes optional
11664 arguments. Document new backend specific method: log-view-mode.
11665 (vc-default-log-edit-mode): New function.
11666 (vc-checkin): Use a backend specific log-view-mode.
11667 Pass extra arguments to the checkin method.
11668 (vc-modify-change-comment): Pass a dummy extra argument.
11670 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11672 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11673 (vc-finish-logentry): Process the log buffer before passing it
11674 down. Pass log-edit-extra-flags.
11676 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11678 (log-edit-extra-flags, log-edit-before-checkin-process):
11681 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11683 (log-edit-extra-flags, log-edit-before-checkin-process):
11685 (vc-hg-log-edit-mode): New derived mode.
11687 * vc-arch.el (vc-arch-checkin):
11688 * vc-cvs.el (vc-cvs-checkin):
11689 * vc-git.el (vc-git-checkin):
11690 * vc-mtn.el (vc-mtn-checkin):
11691 * vc-rcs.el (vc-rcs-checkin):
11692 * vc-sccs.el (vc-sccs-checkin):
11693 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11695 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11697 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11700 2010-03-19 Glenn Morris <rgm@gnu.org>
11702 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11704 2010-03-18 Glenn Morris <rgm@gnu.org>
11706 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11708 * replace.el (query-replace-history): Give it a doc string.
11709 (map-query-replace-regexp): Use query-replace-from-history-variable
11710 and query-replace-to-history-variable.
11712 * mail/hashcash.el (declare-function): Remove duplicate definition.
11714 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11715 Make it an obsolete alias for report-emacs-bug-address.
11716 (message-strip-special-text-properties): Declare.
11717 (report-emacs-bug): Remove test for a pretest bug address.
11718 Combine message-mode-specific code.
11720 * mail/supercite.el: Don't require sendmail.
11721 (mh-in-header-p): Declare rather than using with-no-warnings.
11722 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11723 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11725 * calendar/cal-french.el: Convert to utf-8.
11727 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11730 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11732 * net/secrets.el (secrets-enabled): New variable. Use it instead
11735 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11737 * net/secrets.el (top): Register the D-Bus signals only when the
11738 service "org.freedesktop.secrets" can be pinged.
11739 Provide subfeature `enabled'.
11741 2010-03-14 Juri Linkov <juri@jurta.org>
11743 Add finder unknown keywords.
11745 * finder.el (finder-unknown-keywords): New function.
11747 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11748 to create a Finder node with unknown keywords.
11750 2010-03-14 Juri Linkov <juri@jurta.org>
11752 * finder.el (finder-compile-keywords): Replace `princ' with
11753 `prin1' on a list of symbols interned from keyword strings.
11755 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11756 a comma, then split keywords using a comma and optional whitespace.
11757 Otherwise, split by whitespace.
11765 * progmodes/mixal-mode.el: Fix keywords.
11767 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11769 * Makefile.in (ELCFILES): Add net/secrets.elc.
11771 * net/secrets.el: New file.
11773 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11775 * facemenu.el (list-colors-display, list-colors-print): New arg
11776 callback. Use it to allow selecting colors.
11778 * wid-edit.el (widget-image-insert): Insert image prop even if the
11779 current display is non-graphic.
11780 (widget-field-value-set): New fun.
11781 (editable-field): Use it.
11782 (widget-field-value-get): Clean up unused var.
11783 (widget-color-value-create, widget-color--choose-action):
11784 New funs. Allow using list-colors-display to choose color.
11786 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11788 * cus-edit.el: Resort topmost custom groups.
11789 (custom-buffer-sort-alphabetically): Default to t.
11790 (customize-apropos): Use apropos-parse-pattern.
11791 (custom-search-field): New var.
11792 (custom-buffer-create-internal): Add custom-apropos search field.
11793 (custom-add-parent-links): Don't display parent doc.
11794 (custom-group-value-create): Don't sort top-level custom group.
11795 (custom-magic-value-create): Show visibility button before option name.
11797 (custom-variable-state): New fun, from custom-variable-state-set.
11798 (custom-variable-state-set): Use it.
11799 (custom-group-value-create): Hide options with standard values
11800 using the :hidden-states property. Use progress reporter.
11802 (custom-show): Simplify.
11803 (custom-visibility): Disable images by default.
11804 (custom-variable): New property :hidden-states.
11805 (custom-variable-value-create): Enable images for
11806 custom-visibility widgets. Use :hidden-states property to
11807 determine initial visibility.
11809 * wid-edit.el (widget-image-find): Give images center ascent.
11810 (visibility): Add :on-image and :off-image properties.
11811 (widget-visibility-value-create): Use them.
11813 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11815 * cus-edit.el (processes): Remove from development group.
11816 (oop, hypermedia): Delete group.
11817 (comm): Promote to top-level group.
11819 * net/browse-url.el (browse-url):
11820 * net/xesam.el (xesam):
11821 * net/tramp.el (tramp):
11822 * net/goto-addr.el (goto-address):
11823 * net/ange-ftp.el (ange-ftp): Put in comm group.
11825 * view.el (view): Remove from editing group.
11827 * uniquify.el (uniquify): Put in files group.
11829 * net/browse-url.el (browse-url):
11830 * ps-print.el (postscript): Put in external group.
11832 * cus-edit.el (outlines):
11833 * textmodes/text-mode.el (text-mode-hook):
11834 * textmodes/table.el (table):
11835 * textmodes/picture.el (picture):
11836 * outline.el (outlines): Put in wp group.
11838 * nxml/nxml-mode.el (nxml): Remove from wp group.
11840 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11842 * mail/metamail.el (metamail): Remove from hypermedia group.
11844 * cus-edit.el (abbrev):
11845 * whitespace.el (whitespace):
11846 * vcursor.el (vcursor):
11847 * reveal.el (reveal):
11848 * hl-line.el (hl-line): Put in convenience group.
11850 * epg-config.el (epg): Put in data group.
11852 * emulation/pc-select.el (pc-select): Put in emulations group.
11854 * calculator.el (calculator): Put in applications group.
11856 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11858 Add .dir-locals.el support for file-less buffers.
11859 * files.el (hack-local-variables): Split out code to apply local
11860 variable settings ...
11861 (hack-local-variables-apply): ... here. New function.
11862 (hack-dir-local-variables): Use the default directory for when the
11863 buffer does not have an associated file.
11864 (hack-dir-local-variables-non-file-buffer): New function.
11865 * diff-mode.el (diff-mode):
11866 * vc-annotate.el (vc-annotate-mode):
11867 * vc-dir.el (vc-dir-mode):
11868 * log-edit.el (log-edit-mode):
11869 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11871 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11873 Add support for shelving snapshots and for showing shelves.
11874 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11875 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11877 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11878 (vc-bzr-extra-menu-map): Map them.
11880 2010-03-11 Glenn Morris <rgm@gnu.org>
11882 * cus-edit.el (customize-changed-options-previous-release):
11885 * image.el (image-animate-max-time): Fix :version tag.
11887 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11891 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11893 * vc-git.el (vc-git-revision-table): Include remote branches.
11895 2010-03-10 Kim F. Storm <storm@cua.dk>
11897 Animated image API.
11898 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11900 * image.el (image-animate-max-time): New defcustom.
11901 (image-animated-types): New defconst.
11902 (create-animated-image, image-animate-timer)
11903 (image-animate-start, image-animate-stop, image-animate-timeout)
11904 (image-animated-p): New functions.
11906 * image-mode.el (image-toggle-display-image):
11907 Replace `create-image' with `create-animated-image'.
11909 2010-03-09 Miles Bader <miles@gnu.org>
11911 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11912 instead of "format:"; this ensures that the output is
11913 newline-terminated.
11915 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11917 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11918 that all errors are caught, and that the return value is always a
11921 2010-03-08 Kenichi Handa <handa@m17n.org>
11923 * language/misc-lang.el (windows-1256): New coding system.
11924 (cp1256): New alias of windows-1256 (bug#5690).
11926 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11928 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11929 call to rfc822-bad-address. (Bug#5692)
11931 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11933 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11934 Use vc-git-root as default directory for revision path (Bug#5657).
11936 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11938 * calculator.el (calculator): Don't bind split-window-keep-point
11941 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11943 * vc-git.el: Re-flow to fit into 80 columns.
11944 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11945 Remove spurious `quote' element in each case alternative.
11946 (vc-git-show-log-entry): Use prog1.
11947 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11949 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11951 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11953 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11955 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11956 definition, not the name (Bug#5481).
11958 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11960 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11961 argument with a local variable. (Bug#5670)
11963 2010-03-02 Juri Linkov <juri@jurta.org>
11965 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11967 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11969 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11970 error when FILENAME and NEWNAME are existing remote directories.
11972 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11973 parameter DIR-FLAG.
11975 2010-03-02 Glenn Morris <rgm@gnu.org>
11977 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11978 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11980 2010-03-01 Kenichi Handa <handa@m17n.org>
11982 * language/burmese.el (burmese-composable-pattern): Rename from
11983 myanmar-composable-pattern.
11985 * international/characters.el (script-list):
11986 * international/fontset.el (script-representative-chars):
11987 Change myanmar to burmese.
11988 (otf-script-alist): Likewise.
11989 (setup-default-fontset): Likewise. Re-fix :otf spec.
11991 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11993 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11995 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11997 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11999 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12001 * net/tramp.el (tramp-handle-write-region): START can be a string.
12002 Take care in the checks. Reported by Dan Davison
12003 <davison@stats.ox.ac.uk>.
12005 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12007 * net/dbus.el (dbus-introspect, dbus-get-property)
12008 (dbus-set-property, dbus-get-all-properties):
12009 Use `dbus-call-method' when noninteractive. (Bug#5645)
12011 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12013 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12014 * emacs-lisp/elint.el (elint-add-required-env):
12015 * calendar/icalendar.el (icalendar--add-diary-entry):
12016 * calc/calcalg2.el (math-tracing-integral):
12017 * files.el (recover-session-finish): Use with-current-buffer
12018 instead of save-excursion.
12020 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12022 Fix in-buffer completion when after-change-functions modify the buffer.
12023 * minibuffer.el (completion--replace): New function.
12024 (completion--do-completion): Use it and use relative movement.
12026 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12028 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12030 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12032 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12033 Allow the characters _<> in the stack entry (Bug#5653).
12035 2010-02-26 Kenichi Handa <handa@m17n.org>
12037 * language/burmese.el: Fix entries in composition-function-table.
12038 (myanmar-composable-pattern): New variable.
12040 * international/fontset.el (setup-default-fontset): Add an entry
12043 * international/characters.el (script-list): Add Myanmar
12046 2010-02-26 Glenn Morris <rgm@gnu.org>
12048 * custom.el (custom-initialize-delay): Doc fix.
12050 * mail/sendmail.el (send-mail-function): Autoload the call
12051 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12053 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12055 * files.el (hack-local-variables-filter): For eval forms, also
12056 check safe-local-variable-p (Bug#5636).
12058 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12060 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12061 setting the modes by `ignore-errors'. It might fail, for example
12062 if the file is not owned by the user but the group.
12063 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12065 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12067 * files.el (directory-listing-before-filename-regexp):
12068 Use stricter matching for iso-style dates, to avoid false matches with
12069 date-like filenames (Bug#5597).
12071 * htmlfontify.el (htmlfontify): Doc fix.
12073 * eshell/eshell.el (eshell): Doc fix.
12075 * startup.el (fancy-about-screen): In mode-line, apply
12076 mode-line-buffer-id face only to the buffer name (Bug#5613).
12078 2010-02-20 Kevin Ryde <user42@zip.com.au>
12080 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12081 In `watcom' anchor regexp to start of line, to avoid slowness
12084 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12086 * subr.el (remove-yank-excluded-properties): Explain in a comment
12087 why `category' property is removed.
12089 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12091 * isearch.el (isearch-update-post-hook, isearch-update):
12092 Revert 2010-02-17 change.
12094 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12096 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12097 (icalendar--convert-weekly-to-ical)
12098 (icalendar--convert-yearly-to-ical)
12099 (icalendar--convert-block-to-ical)
12100 (icalendar--convert-cyclic-to-ical)
12101 (icalendar--convert-anniversary-to-ical): Take care of time
12102 specifications where hour has 1-digit only (Bug#5549).
12104 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12106 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12107 of disassemble output in GDB 7.1.
12109 2010-02-19 Glenn Morris <rgm@gnu.org>
12111 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12112 property. (Bug#5593)
12114 2010-02-18 Sam Steingold <sds@gnu.org>
12116 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12118 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12120 Use abbreviated file names in bookmarks (bug#5591).
12121 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12122 calls to expand-file-name.
12123 (bookmark-relocate): Use abbreviated file names in bookmarks.
12124 (bookmark-load): Use abbreviated file names in messages.
12126 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12128 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12129 expand "." and "..". Reported by Thierry Volpiatto
12130 <thierry.volpiatto@gmail.com>.
12132 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12134 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12135 permissions of the temporary file to "0600". In case the remote
12136 file has no read permissions for the owner, there might be
12137 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12139 22010-02-18 Glenn Morris <rgm@gnu.org>
12141 * emacs-lisp/authors.el (authors-renamed-files-alist):
12142 Add entries for INSTALL.CVS.
12144 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12146 * vc-bzr.el: Fix typo in Known Bugs section.
12148 * isearch.el (isearch-update-post-hook): New hook.
12149 (isearch-update): Use the new hook.
12151 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12153 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12154 Fix errors in copying directories.
12155 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12156 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12157 (tramp-handle-delete-file)
12158 (tramp-handle-dired-recursive-delete-directory)
12159 (tramp-handle-write-region): Flush also the cache for the upper
12162 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12164 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12166 * cus-edit.el (hardware): Doc fix.
12168 * man.el (man): Add to external custom group.
12170 * delim-col.el (columns): Move to wp custom group.
12172 * doc-view.el (doc-view): Add to data custom group.
12174 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12176 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12177 by ispell-parse-output (Bug#5575).
12179 2010-02-16 Kenichi Handa <handa@m17n.org>
12181 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12182 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12183 (skkdic-convert): Use `euc-japan' coding system for writing.
12185 2010-02-16 Glenn Morris <rgm@gnu.org>
12187 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12188 tex-main-file before using it. (Bug#5562)
12190 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12192 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12193 warnings, since it is annoying for the user to see them each time he
12196 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12198 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12199 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12200 instead of PROC for caching "first-password-request". Otherwise,
12201 new processes would not profit from passwords already entered.
12203 * net/tramp-cache.el (tramp-dump-connection-properties):
12204 Don't save "first-password-request" property.
12206 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12208 * outline.el (outline-head-from-level):
12209 * simple.el (with-wrapper-hook):
12210 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12211 (elint-defun, elint-buffer-env, elint-top-form-logged)
12212 (elint-unbound-variable):
12213 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12214 Fix typos in docstrings.
12216 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12218 * files.el (insert-directory): When WILDCARD-REGEXP and
12219 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12220 whole directory. (Bug#5551)
12222 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12223 dired's alignment sanity. (Bug#5516)
12225 2010-02-14 Juri Linkov <juri@jurta.org>
12227 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12228 Remove remaining ^H with their preceding chars. (Bug#5566)
12230 2010-02-13 Glenn Morris <rgm@gnu.org>
12232 * simple.el (transpose-subr): Give it a doc-string.
12234 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12237 2010-02-12 Juri Linkov <juri@jurta.org>
12239 * arc-mode.el (archive-unique-fname): Make directories for nested
12240 archives. (Bug#5540)
12242 2010-02-12 Juri Linkov <juri@jurta.org>
12244 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12246 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12248 * subr.el (copy-overlay): Handle deleted overlays.
12250 * man.el (Man-completion-table): Don't signal an error if we can't run
12251 manual-program (bug#4056).
12253 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12255 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12257 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12259 * info.el (Info-bookmark-jump): Simplify.
12261 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12262 (bookmark-default-handler): Accept new bookmark field `buffer'.
12264 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12266 * iswitchb.el (iswitchb-completions): Revert last change.
12268 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12270 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12271 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12272 This prevents file names like "~/" being listed literally.
12274 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12276 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12277 Remove dead code. (Bug#5546)
12279 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12281 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12282 correctly (Bug#5548).
12284 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12286 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12287 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12289 2010-02-08 Kenichi Handa <handa@m17n.org>
12291 * international/mule-util.el (with-coding-priority): Add autoload
12292 cookie for putting `lisp-indent-function'.
12294 2010-02-07 Glenn Morris <rgm@gnu.org>
12296 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12297 Move F2003 named interfaces from keywords-2 to keywords-1, and
12298 use function-name-face rather than constant-face.
12299 Simplify "abstract interface" regexp.
12301 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12303 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12304 ID-FORMAT. Pass it to `file-attributes'.
12306 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12308 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12310 * faces.el (set-face-attribute): Allow calling
12311 internal-set-lisp-face-attribute with 'unspecified family and
12312 foundry argument (Bug#5536).
12314 2010-02-07 Glenn Morris <rgm@gnu.org>
12316 * progmodes/f90.el (f90-font-lock-keywords-2)
12317 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12318 Handle F2003 named interfaces.
12320 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12322 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12323 beg and end before calling c-get-state-before-change-functions.
12325 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12327 * vc-bzr.el (vc-bzr-dir-extra-headers):
12328 Disable the pending merges header.
12330 2010-02-05 Juri Linkov <juri@jurta.org>
12332 * doc-view.el (doc-view-mode):
12333 * image-mode.el (image-mode): Put property mode-class=special.
12336 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12338 * vc-svn.el (vc-svn-revision-table): New function.
12340 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12342 * net/ange-ftp.el (ange-ftp-insert-directory):
12343 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12344 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12345 Handle also directories. (Bug#5478)
12347 2010-02-05 Glenn Morris <rgm@gnu.org>
12349 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12351 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12353 * startup.el (command-line-1): Convert options beginning with a
12354 single dash as well (Bug#5519).
12356 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12358 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12359 * minibuffer.el (completion-initials-expand): Only check the presence
12360 of delims *within* the boundaries, since otherwise the / delim is
12361 always found for files.
12363 Fix up various corner case problems.
12364 * doc-view.el (doc-view-last-page-number): New function.
12365 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12366 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12367 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12368 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12369 (doc-view-convert-current-doc): Don't create the resolution.el file
12371 (doc-view-pdf/ps->png): Do it here instead.
12372 (doc-view-already-converted-p): Check that resolution.el is present.
12373 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12374 windows that are not yet showing images.
12376 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12378 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12379 `dired-uncache' for every elemnt which is an absolute file name.
12381 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12382 directory, handle its directory component.
12383 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12384 function is called permanently and creates noise, otherwise.
12386 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12387 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12388 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12390 2010-02-04 David Burger <dburger@google.com> (tiny change)
12392 * macros.el (apply-macro-to-region-lines):
12393 Minor simplification. (Bug#5485)
12395 2010-02-04 Glenn Morris <rgm@gnu.org>
12397 * mail/rmail.el (rmail-show-message-1): Handle malformed
12398 quoted-printable text. (Bug#5441)
12400 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12402 * simple.el (visual-line-mode): Capitalize lighter.
12404 2010-02-03 John Wiegley <jwiegley@gmail.com>
12406 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12407 list of files considered for "virtual buffer" completions.
12409 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12411 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12412 also in case of (and (not full) (not wildcard)). This is needed
12413 when dired is called with a list of files, which are not in
12414 `default-directory'. (Bug#5478)
12416 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12418 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12420 2010-02-02 Juri Linkov <juri@jurta.org>
12422 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12423 from unidiff to allow function-line after @@.
12425 2010-02-02 Juri Linkov <juri@jurta.org>
12427 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12428 '(RCS SCCS) with inverted condition.
12430 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12432 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12435 2010-02-01 Juri Linkov <juri@jurta.org>
12437 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12438 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12439 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12440 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12442 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12444 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12445 (doc-view-revert-buffer): New command.
12446 (doc-view-mode-map): Use it.
12448 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12450 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12451 pending merge is detected.
12453 2010-01-31 Juri Linkov <juri@jurta.org>
12455 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12456 beginning of interactive spec like all other grep commands do.
12457 Put "all" in front of "gz". (Bug#5260)
12459 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12461 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12463 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12465 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12466 regexp is incorrect (Bug#5476).
12468 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12470 * net/tramp.el (tramp-handle-insert-directory): Handle also
12471 symlinks, when FILENAME is not in `default-directory'.
12473 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12475 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12476 FILE is not in `default-directory'. (Bug#5478)
12478 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12479 of SWITCHES. Handle the case, FILENAME is not in
12480 `default-directory'. (Bug#5478)
12481 (tramp-register-file-name-handlers): Add safe-magic property.
12483 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12485 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12488 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12490 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12491 (flymake-master-make-header-init): Add other C++ filename masks.
12492 (flymake-find-possible-master-files)
12493 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12495 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12497 Fix some busybox annoyances.
12499 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12500 not responding." string.
12501 (tramp-open-connection-setup-interactive-shell): Dump stty
12502 settings. Enable "neveropen" arg for all `tramp-send-command'
12503 calls. Handle "=" in variable values properly.
12504 (tramp-find-inline-encoding): Raise an error, when no encoding is
12506 (tramp-wait-for-output): Check, whether PROC buffer is available.
12507 Remove spurious " ^H" sequences, sent by busybox.
12508 (tramp-get-ls-command): Suppress coloring, if possible.
12510 2010-01-28 Glenn Morris <rgm@gnu.org>
12512 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12514 * log-edit.el (log-edit-strip-single-file-name): Add missing
12515 :safe, :group, and :version tags.
12517 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12519 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12520 buffers. (Bug#5477)
12522 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12524 * files.el (delete-directory): Handle moving to trash without
12525 first doing recursion (Bug#5436).
12527 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12529 * vc-hooks.el (vc-path): Mark as obsolete.
12531 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12533 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12536 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12538 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12540 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12542 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12544 * vc-bzr.el (vc-bzr-revision-table): New function.
12546 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12548 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12549 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12551 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12553 Remove support for adding --signoff on commit.
12554 Future support will use an incompatible generic mechanism.
12555 * vc-git.el (vc-git-add-signoff): Remove variable.
12556 (vc-git-toggle-signoff): Remove function.
12557 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12559 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12560 Rename from xterm-set-background-mode. Return t if the background mode
12562 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12563 earlier, call it again in case the background mode has changed.
12565 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12567 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12570 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12572 * emacs-lisp/assoc.el (aelement): Doc fix.
12573 (aput, adelete, amake): Use lexical-let (Bug#5450).
12575 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12577 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12578 is the same as subprogram call, not declaration. (Bug#5435).
12580 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12582 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12583 (tramp-smb-maybe-open-connection): Use it.
12585 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12587 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12589 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12591 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12592 just because we see "encoding: 8bit".
12593 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12595 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12597 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12599 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12601 * jka-compr.el (jka-compr-load): If load-file is not in
12602 load-history, try its file-truename version. (bug#5447)
12604 2010-01-21 Alan Mackenzie <acm@muc.de>
12606 Fix a situation where deletion of a cpp construct throws an error.
12607 * progmodes/cc-engine.el (c-invalidate-state-cache):
12608 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12609 special cpp construct is still in the buffer.
12610 (c-parse-state): Record the special cpp with markers, not numbers.
12612 2010-01-21 Kenichi Handa <handa@m17n.org>
12614 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12615 process last-command-event, as it is now decoded first (Bug#5380).
12617 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12619 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12621 2010-01-20 Glenn Morris <rgm@gnu.org>
12623 * indent.el (tab-always-indent): Fix custom-type.
12625 2010-01-19 Alan Mackenzie <acm@muc.de>
12627 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12628 buffer throws "args out of range".
12629 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12630 playing the role of delimiter.
12632 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12634 * progmodes/ada-mode.el: Fix bug#5400.
12635 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12636 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12637 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12638 Improve comments in "is" portion. Handle null procedure declaration.
12639 (ada-move-to-end): Improve doc string.
12641 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12643 * ido.el (ido-cur-list): Initialize to nil.
12644 Remove obsolete information from commentary.
12645 (ido-choice-list): Initialize to nil.
12646 (ido-get-bufname): Reject minibuffers.
12647 (ido-make-buffer-list): If "default" is a nonexistent
12648 buffer, ignore it, as per the function's comment.
12649 (ido-kill-buffer-internal): New function.
12650 (ido-kill-buffer-at-head): Use it.
12651 (ido-visit-buffer): Likewise.
12653 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12655 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12657 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12659 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12660 Fix typos in chart titles.
12662 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12663 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12664 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12665 (describe-class, eieio-describe-generic, describe-generic):
12666 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12667 (eieio-speedbar-expand):
12668 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12669 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12670 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12671 (viper-del-backward-char-in-replace, viper-backward-indent)
12672 (viper-brac-function, viper-register-to-point, viper-submit-report):
12673 * net/tramp.el (tramp-remote-coding-commands):
12674 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12675 Fix typos in docstrings.
12677 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12679 * mail/sendmail.el (mail-yank-original): Set the mark if the
12680 specified function for yanking does not do it.
12682 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12684 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12686 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12687 resyncing a directory.
12689 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12691 * progmodes/ada-mode.el: Fix bug#1920.
12692 (ada-ident-re): Delete ., allow multibyte characters.
12693 (ada-goto-label-re): New; matches goto labels.
12694 (ada-block-label-re): New; matches block labels.
12695 (ada-label-re): New; matches both.
12696 (ada-named-block-re): Deleted; callers changed to use
12697 `ada-block-label-re' instead.
12698 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12699 Use `ada-block-label-re'.
12700 (ada-indent-on-previous-lines): Improve handling of goto labels.
12701 (ada-get-indent-block-start): Special-case block label.
12702 (ada-get-indent-label): Split into `ada-indent-block-label' and
12703 `ada-indent-goto-label'.
12704 (ada-goto-stmt-start, ada-goto-next-non-ws):
12705 Optionally ignore goto labels.
12706 (ada-goto-next-word): Simplify.
12707 (ada-indent-newline-indent-conditional): Insert newline before
12708 trying to fix indentation; doc fix.
12710 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12712 * calc/calc.el (calc-command-flags): Give it an initial value.
12714 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12716 * files.el (minibuffer-with-setup-hook):
12717 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12718 (artist-key-draw-continously, artist-key-do-continously-continously)
12719 (artist-key-set-point-continously, artist-mouse-draw-continously):
12720 Fix typos in docstrings.
12722 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12724 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12725 Never return t (Bug#3898).
12727 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12729 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12730 can parse the output of the external commands (Bug#5279).
12732 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12734 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12736 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12738 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12740 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12742 * startup.el (command-line): Remove unused --icon-type arg.
12743 Handle --display arg, passing it to command-line-1 (Bug#5392).
12745 2010-01-16 Mario Lang <mlang@delysid.org>
12747 * emacs-lisp/chart.el (chart-translate-namezone):
12748 * textmodes/artist.el (artist-compute-popup-menu-table):
12749 Remove duplicated words in doc-strings.
12751 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12753 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12754 to mairix-search to suppress threading (Bug#5342).
12756 2010-01-15 Kenichi Handa <handa@m17n.org>
12758 * international/mule-cmds.el (canonicalize-coding-system-name):
12759 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12761 2010-01-15 Glenn Morris <rgm@gnu.org>
12763 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12765 * wid-edit.el (widget-keymap): Doc fix.
12767 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12768 former seems to be more widely accepted by various svn versions.
12770 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12772 * find-cmd.el (find-constituents):
12773 * vc-arch.el (vc-arch-root):
12774 * window.el (window-body-height, pop-up-frames):
12775 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12776 * progmodes/ada-stmt.el (ada-if):
12777 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12778 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12779 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12780 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12782 * progmodes/flymake.el (flymake-post-syntax-check):
12783 Fix typo in error message.
12785 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12787 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12788 which is always a string. (Bug#5313)
12790 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12792 * progmodes/ada-xref.el (ada-default-prj-properties):
12793 Simplify previous change.
12795 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12797 * progmodes/ada-xref.el (ada-default-prj-properties):
12798 Default ada_project_path to $ADA_PROJECT_PATH.
12800 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12802 * progmodes/ada-mode.el (ada-create-keymap):
12803 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12805 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12807 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12808 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12809 (ada-get-current-indent, ada-imenu-generic-expression)
12810 (ada-which-function): Check for it.
12812 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12814 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12815 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12817 2010-01-14 Glenn Morris <rgm@gnu.org>
12819 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12821 2010-01-14 Kenichi Handa <handa@m17n.org>
12823 * composite.el (auto-composition-mode): Make it a buffer local
12824 variable (permanent-local).
12825 (auto-composition-function): Set the default value to
12826 auto-compose-chars.
12827 (auto-composition-mode): Make it a simple function, not a minor mode.
12828 (global-auto-composition-mode): Likewise.
12829 (turn-on-auto-composition-if-enabled): Delete it.
12831 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12833 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12835 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12837 * files.el (copy-directory): Compute target for recursive
12838 directories with identical names. (Bug#5343)
12840 2010-01-12 Glenn Morris <rgm@gnu.org>
12842 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12843 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12845 2010-01-11 Sam Steingold <sds@gnu.org>
12847 * imenu.el (imenu-default-create-index-function): Detect infinite
12848 loops caused by imenu-prev-index-position-function.
12850 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12852 * htmlfontify.el (htmlfontify-load-rgb-file)
12853 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12854 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12855 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12856 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12857 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12858 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12859 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12860 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12861 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12862 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12863 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12864 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12865 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12866 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12867 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12868 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12869 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12870 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12871 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12872 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12873 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12874 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12875 backslash-quoting from parentheses, etc.
12877 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12879 * progmodes/js.el: Autoload javascript-mode alias.
12881 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12883 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12884 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12885 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12886 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12887 Fix typos in docstrings.
12888 (ffap-url-regexp): Doc fix.
12889 (ffap-at-mouse): Fix typo in message.
12891 2010-01-11 Glenn Morris <rgm@gnu.org>
12893 * version.el (emacs-copyright): Set copyright year to 2010.
12895 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12897 * format.el (format-annotate-function): Only set
12898 write-region-post-annotation-function after running to-fn so as not to
12899 affect nested write-region calls (bug#5273).
12901 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12903 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12906 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12908 * man.el (Man-goto-section): Signal error if the section is not
12911 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12913 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12914 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12916 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12918 * progmodes/compile.el: Don't treat compile-command as safe if
12919 compilation-read-command might be nil (Bug#4218).
12921 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12923 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12926 2010-01-08 Kenichi Handa <handa@m17n.org>
12928 * international/fontset.el (build-default-fontset-data):
12929 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12931 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12933 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12934 to `create-file-buffer' as it expects, not just a buffer name.
12935 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12936 to help uniquify. (Bug#3224)
12938 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12940 * font-setting.el (font-setting-change-default-font): Use user-spec
12943 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12945 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12947 2010-01-05 Tom Tromey <tromey@redhat.com>
12949 * progmodes/python.el (python-font-lock-keywords):
12950 Handle qualified decorators (Bug#881).
12952 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12954 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12955 in a lightweight checkout.
12957 2010-01-05 Kenichi Handa <handa@m17n.org>
12959 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12961 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12963 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12965 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12967 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12968 checkouts. (Bug#618)
12969 (vc-bzr-log-view-mode): Also highlight the author.
12970 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12971 (vc-bzr-shelve-menu-map):
12972 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12973 (vc-bzr-shelve-apply): Make prompt more explicit.
12975 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12977 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12978 They are valid characters in URL paths (rfc3986), and at least
12979 Firefox does not understand the encoded version (Bug#3166).
12981 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12983 * progmodes/octave-mod.el (octave-end-keywords)
12984 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12985 Add "end" keyword (Bug#3061).
12986 (octave-end-as-array-index-p): New function.
12987 (calculate-octave-indent): Use it.
12989 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12991 * bookmark.el: Consistently put the text property on the bookmark name.
12992 (bookmark-bmenu-marks-width): Bump back to 2, to include
12994 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12995 property on the bookmark name, instead of not putting it at all.
12996 (bookmark-bmenu-list): Fix where we put the text property.
12998 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13000 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13001 for showing buffer modified state (as added in the previous change).
13003 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13005 * bookmark.el: Show modified state of bookmark buffer more accurately.
13006 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13007 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13008 (with-buffer-modified-unmodified): New macro.
13009 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13010 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13011 Use new macro to preserve the buffer modified state.
13013 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13015 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13016 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13017 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13018 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13019 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13020 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13021 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13023 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13025 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13026 Make the lines in the generated doc string shorter. (Bug#4668)
13028 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13030 * net/rcirc.el: Add follow-link binding (Bug#4738).
13032 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13034 * Makefile.in (bzr-update): Rename from cvs-update.
13035 (cvs-update): New target for backward compatibility.
13037 * makefile.w32-in (bzr-update): Rename from cvs-update.
13038 (cvs-update): New target for backward compatibility.
13040 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13042 * bookmark.el: Remove gratuitous gratitude.
13044 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13046 * bookmark.el (bookmark-bmenu-any-marks): New function.
13047 (bookmark-bmenu-save): Clear buffer modification if no marks.
13049 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13051 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13052 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13053 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13054 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13056 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13057 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13058 To: emacs-devel {_AT_} gnu.org
13059 Subject: bookmark.el bug report
13060 Date: Mon, 28 Dec 2009 14:19:16 +0800
13061 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13063 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13065 * bookmark.el: Improvements suggested by Drew Adams:
13066 (bookmark-bmenu-ensure-position): New name for
13067 `bookmark-bmenu-check-position'. Just ensure the position,
13068 don't return any meaningful value.
13069 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13072 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13074 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13075 (bookmark-yank-point, bookmark-bmenu-check-position):
13076 Fix typos in docstrings.
13077 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13078 (bookmark-name-from-full-record, bookmark-get-position)
13079 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13080 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13081 Remove useless quoting of parenthesis, etc. in docstrings.
13083 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13084 (ediff-append-custom-diff): Fix typo in error message.
13085 (ediff-meta-mark-equal-files): Fix typos in messages.
13087 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13089 * net/imap-hash.el (imap-hash-make): Doc fix.
13090 (imap-hash-test): Fix typo in error message; reflow docstring.
13091 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13092 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13093 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13094 Fix typos in docstrings.
13095 (imap-hash-open-connection): Fix typo in error message.
13097 * play/gomoku.el (gomoku): Fix typos in docstring.
13099 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13100 (gdb-jsonify-buffer): Fix typos in docstring.
13101 (gdb-goto-breakpoint): Fix typo in error message.
13102 ("Display Other Windows"): Fix typo in help message.
13103 (gdb-speedbar-expand-node): Fix typo in question.
13105 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13106 (idlwave-html-system-help-location, idlwave-html-help-location)
13107 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13108 (idlwave-help-browser-generic-args, idlwave-help-directory)
13109 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13110 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13111 (idlwave-online-help, idlwave-help-html-link)
13112 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13113 Fix typos in docstrings.
13114 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13116 (idlwave-help-assistant-start): Fix typo in error message.
13118 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13119 (octave-electric-space): Fix typos in docstrings.
13121 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13123 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13125 2010-01-01 Juri Linkov <juri@jurta.org>
13127 * comint.el (comint-input-ring-size): Make it a defcustom and
13128 increase the default to 500 (Bug#5148).
13130 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13132 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13133 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13134 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13136 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13138 Show working revision correctly for mercurial.
13139 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13140 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13142 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13144 Declare some functions for the byte-compiler.
13145 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13146 (speedbar-timer-fn, speedbar-change-expand-button-char)
13147 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13149 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13151 This changeset reverts GDB Graphical Interface to use annotations.
13152 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13154 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13156 Make vc-dir work on subdirectories of the bzr root.
13157 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13158 Return file names relative to it.
13159 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13160 relative directory to vc-bzr-after-dir-status.
13162 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13164 * font-lock.el (font-lock-refresh-defaults): New function, which
13165 can be used to let font-lock react to external changes in
13166 variables like font-lock-defaults and keywords.
13167 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13169 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13171 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13173 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13175 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13177 Supersede color.diff settings in git log (bug#5211).
13179 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13180 escape chars in its output when the user has color.diff set to `always'.
13181 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13183 2009-12-26 Kevin Ryde <user42@zip.com.au>
13185 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13186 node. Keep previous "Index" name to work with past coreutils too.
13188 * man.el (man): Revise docstring a bit to show -a and -l as
13189 examples. Add -k description since support for it has otherwise
13190 been a secret. (Further to bug#3717.)
13191 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13192 "no matches" rather than "Can't find manpage", as the latter reads
13193 like -k was interpreted as a page name, which is not so. (Bug#5431)
13195 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13197 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13198 switches. Check also for //SUBDIRED// line.
13200 2009-12-25 Kenichi Handa <handa@m17n.org>
13202 * language/indian.el (devanagari-composable-pattern): Fix to
13203 handle ZWNJ and ZWJ. Use it in composition-function-table for
13205 (malayalam-composable-pattern): Fix previous change.
13207 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13209 * ps-print.el (ps-face-attributes): It was not returning the
13210 attribute face for faces specified as string. Reported by harven
13211 <harven@free.fr>. (Bug#5254)
13212 (ps-print-version): New version 7.3.5.
13214 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13216 * calendar/icalendar.el (icalendar--convert-tz-offset):
13217 Fix timezone names.
13218 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13219 (icalendar--add-diary-entry): Remove the trailing blank that
13220 diary-make-entry inserts.
13222 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13224 Make `file-expand-wildcards' work for remote files.
13226 * files.el (file-expand-wildcards): In case of remote files, check
13227 only local file name part for wildcards. Provide feature 'files
13228 and subfeature 'remote-wildcards. (Bug#5198)
13230 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13231 if there is already an established connection.
13232 (tramp-advice-file-expand-wildcards): Remove it.
13234 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13235 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13236 Activate advice for older GNU Emacs versions. (Bug#5237)
13238 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13240 Some doc fixes (more needed).
13242 * find-cmd.el (find-constituents): Reflow docstring.
13243 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13244 (find-generic): Doc fix.
13246 2009-12-17 Juri Linkov <juri@jurta.org>
13248 Fix regression from 23.1 to allow multiple modes in Local Variables.
13250 * files.el (hack-local-variables-filter): While ignoring duplicates,
13251 don't take `mode' into account.
13252 (hack-local-variables-filter, hack-dir-local-variables):
13253 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13255 2009-12-17 Juri Linkov <juri@jurta.org>
13257 Make `dired-diff' safer. (Bug#5225)
13259 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13260 `current' or when `file' is a directory of the `current' file.
13262 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13264 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13265 unconditionally preloaded files.
13267 2009-12-16 Juri Linkov <juri@jurta.org>
13269 Revert to old 23.1 logic of using the file at the mark as default.
13270 * dired-aux.el (dired-diff): Use the file at the mark as default
13271 if it's not the same as the current file, and the target dir is
13272 the current dir or the mark is active. Add the current file
13273 as the arg of `dired-dwim-target-defaults'. Use the default file
13274 in the prompt. (Bug#5225)
13276 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13278 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13279 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13280 (tramp-check-for-regexp): Check also, when an echoing shell stops
13281 to echo sent commands.
13283 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13285 * Makefile.in: Revert last change (Bug#5191).
13287 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13289 * vc-hg.el (vc-hg-print-log): Fix argument order.
13290 (vc-hg-working-revision): Make sure the command is executed in a
13291 known environment so that we can parse the output. (Bug#4417)
13293 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13295 * progmodes/python.el (python-symbol-completions): Remove text
13296 properties from symbol string before calling python-send-receive.
13298 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13300 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13301 when there are values for both file and line. (Bug#5060)
13303 2009-12-14 Juri Linkov <juri@jurta.org>
13305 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13306 whitespace after the file name of the first line of unified format,
13307 because git-diff doesn't output whitespace and file modification time
13308 after the file name.
13310 2009-12-14 David Kastrup <dak@gnu.org>
13312 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13313 check if it already has the `display' property added by
13314 `Info-display-images-node', and not put the `invisible' property
13317 2009-12-13 Glenn Morris <rgm@gnu.org>
13319 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13320 (report-emacs-bug): In message-mode, sort manually before storing
13321 original report text. (Bug#5178)
13322 Remove superfluous save-excursion.
13324 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13326 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13327 when responding to "GetAll" properties.
13329 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13331 * simple.el (compose-mail): Remove mail-setup-with-from from
13332 customization checks.
13334 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13336 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13337 RAR archives created on Unix systems.
13339 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13341 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13342 the varalias that was accidentally removed by the 2009-11-19 change
13345 2009-12-12 Kenichi Handa <handa@m17n.org>
13347 * language/indian.el (indian-compose-regexp): New function.
13348 (malayalam-composable-pattern): Fix the pattern.
13349 (composition-function-table): Set malayalam-composable-pattern for
13350 Malayalam characters.
13352 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13354 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13355 rather than down-mouse-1, based on follow-link conventions.
13357 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13360 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13362 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13363 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13364 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13365 (verilog-leap-to-head, verilog-backward-token):
13366 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13368 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13370 * progmodes/verilog-mode.el (verilog-auto-lineup)
13371 (verilog-nameable-item-re): Cleanup user-visible spelling and
13372 documentation errors. One reported by Gary Delp.
13373 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13374 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13375 package, bug195. Reported by Pierre-David Pfister.
13377 2009-12-11 Glenn Morris <rgm@gnu.org>
13379 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13381 * mail/emacsbug.el: No longer require sendmail.
13382 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13383 (report-emacs-bug-orig-text): Doc fix.
13384 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13385 New local variables, to adapt to different mail-user-agents.
13386 (report-emacs-bug): Fix test for a gnu.org address.
13387 Use overlays for emphasis, since font-lock defeats 'face property.
13388 Pretest bugs also end up at the newsgroup these days.
13389 Stop message-mode stripping text properties.
13390 Set and use the new buffer-local variables.
13391 (report-emacs-bug-hook): Add doc-string.
13392 Remove some unnecessary save-excursions and simplify.
13393 Use the appropriate hook and send-command.
13395 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13396 capitalization of some menu entries.
13398 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13400 * whitespace.el (whitespace-display-char-on):
13401 Ensure `buffer-display-table' is unique when two or more windows are
13402 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13405 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13407 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13408 characters in the Attribute field.
13410 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13412 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13414 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13416 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13417 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13418 Disregard autoload-excludes.
13419 (update-directory-autoloads): Obey autoload-excludes here instead.
13420 But don't store its contents in no-autoloads and remove entries that
13421 refer to excludes files.
13423 2009-12-10 Glenn Morris <rgm@gnu.org>
13425 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13426 (expand-mail-aliases): Define for compiler.
13428 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13429 Define for compiler.
13431 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13432 appropriate for the mail-user-agent in use.
13434 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13436 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13438 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13440 Fix short log parsing and fontification.
13441 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13442 Fix fontification for the [merge] label.
13444 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13446 Drop some properties to avoid surprises (bug#5002).
13447 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13448 (hfy-fontify-buffer): Use it.
13450 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13453 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13454 Adjust all callers.
13455 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13456 args compulsory. Adjust callers.
13457 (ffap-gopher-at-point): Remove unused var `name'.
13459 Get rid of the ELCFILES abomination.
13460 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13461 (compile-elcfiles): New phony target.
13462 (compile-main): Compute ELCFILES dynamically.
13463 (compile-clean): New target to remove left-over elc files.
13464 (compile, all): Use it.
13466 2009-12-09 Kenichi Handa <handa@etlken>
13468 * international/mule-diag.el: Require help-mode instead of help-fns.
13470 2009-12-09 Kenichi Handa <handa@m17n.org>
13472 * international/mule-cmds.el (ucs-names): Supply sufficiently
13473 fine ranges instead of pre-calculating accurate ranges.
13474 Iterate with bigger gc-cons-threshold.
13476 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13478 Add support for stashing a snapshot of the current tree.
13479 * vc-git.el (vc-git-stash-snapshot): New function.
13480 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13482 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13484 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13485 instead of `(beginning|end)-of-line'.
13487 2009-12-08 Glenn Morris <rgm@gnu.org>
13489 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13491 * Makefile.in (ELCFILES): Regenerate.
13493 2009-12-07 Juri Linkov <juri@jurta.org>
13495 Don't lazy-highlight the comint output in history Isearch mode.
13497 * comint.el (comint-history-isearch-search): Instead of
13498 `comint-line-beginning-position', use `comint-after-pmark-p'
13499 to check if point if before the process mark, and go to
13500 `process-mark' in this case.
13502 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13504 * textmodes/tex-mode.el (latex-complete)
13505 (latex-indent-or-complete): Remove.
13506 (latex-mode): Set completion-at-point-functions instead.
13508 Provide a standard completion command and hook it into TAB.
13509 * minibuffer.el (completion-at-point-functions): New var.
13510 (completion-at-point): New command.
13511 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13512 * progmodes/python.el (python-mode-map): Use completion-at-point.
13513 (python-completion-at-point): Rename from python-partial-symbol and
13514 adjust for use in completion-at-point-functions.
13515 (python-mode): Setup completion-at-point for Python completion.
13516 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13517 extracted from lisp-complete-symbol.
13518 (lisp-complete-symbol): Use it.
13519 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13520 setup completion-at-point for Elisp completion.
13521 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13522 Use completion-at-point.
13523 * ielm.el (ielm-map): Use completion-at-point.
13524 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13525 * progmodes/sym-comp.el: Move to...
13526 * obsolete/sym-comp.el: Move from progmodes.
13528 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13530 Prevent save-buffer in Rmail buffers from using the coding-system
13531 of the current message, and from clobbering the encoding mnemonics
13532 in the mode line (Bug#4623).
13534 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13536 (rmail-message-encoding): New variable.
13537 (rmail-write-region-annotate): Record the encoding of the current
13538 message in rmail-message-encoding.
13539 (rmail-after-save-hook): New function, restores the encoding of
13540 the current message after the message collection is saved.
13542 2009-12-07 Juri Linkov <juri@jurta.org>
13544 * progmodes/grep.el (grep-read-files): Use `completing-read'
13545 instead of `read-string'. Set its `collection' arg to
13546 `read-file-name-internal'. (Bug#4301)
13548 2009-12-07 Juri Linkov <juri@jurta.org>
13550 Correctly restore original Isearch point. (Bug#4994)
13552 * isearch.el (isearch-mode): Move `isearch-push-state' after
13553 `(run-hooks 'isearch-mode-hook)'.
13554 (isearch-cancel): When `isearch-push-state-function' is defined,
13555 let-bind `isearch-cmds' to the first state (the last element of
13556 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13557 function and restores the original point). Otherwise, move point
13558 to `isearch-opoint'.
13560 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13562 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13563 chars that don't have names, so the table can be built much faster at
13566 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13568 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13569 change. Suggested by David Kastrup.
13571 * simple.el (compose-mail): Check for incompatibilities and warn.
13572 (compose-mail-user-agent-warnings): New option.
13574 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13576 Support showing a single log entry from vc-annotate.
13577 * vc.el (print-log): Add a new argument: START-REVISION.
13578 (vc-print-log-internal): Add a new optional argument and
13579 pass it to the backend.
13580 (vc-print-log, vc-print-root-log): Adjust callers.
13581 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13582 buffer already displays the requested log entry, use it.
13583 Otherwise display only the log entry in question.
13584 * vc-svn.el (vc-svn-print-log):
13585 * vc-mtn.el (vc-mtn-print-log):
13586 * vc-hg.el (vc-hg-state):
13587 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13588 (vc-git-show-log-entry): Return t on success.
13589 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13590 (vc-bzr-show-log-entry): Return t on success.
13591 * vc-rcs.el (vc-rcs-print-log):
13592 * vc-sccs.el (vc-sccs-print-log):
13593 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13595 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13597 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13598 Add menus to the meta mode. (Bug#5043)
13600 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13602 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13605 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13607 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13609 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13610 Berbain <raphael.berbain@gmail.com>.
13612 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13614 (tramp-initial-end-of-output): New defconst.
13615 (tramp-methods, tramp-find-shell)
13616 (tramp-open-connection-setup-interactive-shell)
13617 (tramp-maybe-open-connection): Use it.
13618 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13619 Handle existence of `#' and `$'.
13621 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13622 Use `tramp-initial-end-of-output'.
13624 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13626 Get the background mode from the terminal for xterm, and set
13628 * term/xterm.el (xterm-set-background-mode): New function.
13629 (terminal-init-xterm): Use it in case xterm supports background
13630 color queries. Recompute faces after getting the background
13633 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13635 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13636 number comment back on its own line, for easier parsing.
13638 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13640 Make it work for non-file buffers (bug#5102).
13641 * doc-view.el (doc-view-current-cache-dir):
13642 Use doc-view-buffer-file-name rather than buffer-file-name.
13643 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13645 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13647 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13648 author field is too short.
13650 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13652 * vc-git.el (vc-git-print-log): Handle a limit argument.
13653 Display the short log in graph form and with labels.
13654 (vc-git-log-view-mode): Handle labels.
13656 Make vc-revert change VC state from 'added to 'unregistered.
13657 * vc-git.el (vc-git-revert): Call git reset first.
13659 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13661 * net/newst-backend.el, net/newst-plainview.el:
13662 * net/newst-reader.el, net/newst-ticker.el:
13663 * net/newst-treeview.el, net/newsticker.el:
13664 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13666 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13668 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13670 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13671 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13672 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13673 Update annotation regexp.
13675 * simple.el (beginning-of-visual-line): Constrain to field
13676 boundaries (Bug#5106).
13678 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13680 * xml.el (xml-substitute-numeric-entities):
13681 Move newsticker--decode-numeric-entities in newst-backend.el to
13682 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13683 * net/newst-backend.el (newsticker--parse-generic-feed)
13684 (newsticker--parse-generic-items)
13685 (newsticker--decode-numeric-entities):
13686 Move newsticker--decode-numeric-entities in newst-backend.el to
13687 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13689 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13691 * progmodes/js.el (js--js-not): Add null to the list of values.
13693 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13695 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13697 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13699 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13700 delimiter if it is at the end of the current line.
13701 (bibtex-generate-url-list): Fix docstring.
13703 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13705 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13706 minibuffer's content with itself.
13707 Fold the confirm-after-completion case into the `confirm' case.
13708 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13710 2009-12-06 Kevin Ryde <user42@zip.com.au>
13712 * ffap.el (ffap-rfc-path): Make this a defcustom since
13713 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13715 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13716 manuals, similar to existing setup for help-mode. (Bug#3913.)
13718 2009-12-05 Juri Linkov <juri@jurta.org>
13720 Save and restore dired buffer's point positions too. (Bug#4880)
13722 * dired.el (dired-save-positions): Return in the first element
13723 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13725 (dired-restore-positions): First restore buffer's position.
13726 While restoring window's positions, check if window still displays
13727 the original buffer.
13729 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13731 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13734 * shell.el (shell): Require ansi-color (Bug#5113).
13736 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13738 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13740 2009-12-05 Alan Mackenzie <acm@muc.de>
13742 * progmodes/cc-mode.el (c-before-hack-hook)
13743 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13744 `c-file-style' to work again. This reversion restores the current
13745 software to its state in Emacs 23.1. (Bug#4146)
13747 2009-12-05 Kevin Ryde <user42@zip.com.au>
13749 * textmodes/sgml-mode.el (sgml-lexical-context):
13750 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13752 2009-12-05 Juri Linkov <juri@jurta.org>
13754 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13755 for virtual nodes. (Bug#4147)
13756 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13757 when moving from a virtual node.
13758 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13759 (Info-mode): Add `Info-virtual-index' to the docstring.
13761 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13763 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13764 track of the buffer position of the end of a BibTeX entry as this
13765 position may change during reformatting.
13766 (bibtex-format-entry): Remove whitespace before processing
13767 numerical fields so that we recognize the latter properly.
13768 (bibtex-reformat): Do not use push which changes the global value
13769 of bibtex-entry-format.
13770 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13771 (bibtex-field-re-init): Replace only space characters by regexp
13773 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13774 (bibtex-initialize): Also update bibtex-strings.
13775 (bibtex-kill-field): Preserve white space at end of entry.
13776 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13777 Update bibtex-reference-keys.
13779 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13781 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13782 point after a star, if that's the only place where modifications can
13785 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13787 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13790 2009-12-04 Juri Linkov <juri@jurta.org>
13792 * proced.el (proced): Call `(proced-update t)' to update process
13793 information instead of only running proced-post-display-hook.
13794 (proced-send-signal): Add a leading space to the buffer name
13795 " *Marked Processes*" to make this buffer ephemeral.
13797 2009-12-04 Juri Linkov <juri@jurta.org>
13799 * dired.el (dired-auto-revert-buffer): New defcustom.
13800 (dired-internal-noselect): Use it.
13802 2009-12-04 Juri Linkov <juri@jurta.org>
13804 Change roles of modes and functions in image-mode.el (Bug#5062).
13806 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13807 in `auto-mode-alist'.
13808 (image-mode-previous-major-mode): New variable.
13809 (image-minor-mode-map): Rename from `image-mode-text-map'.
13810 (image-mode): Move graceful error-handling code from
13811 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13812 (image-minor-mode): Remove all image-handling code.
13813 Replace `image-mode-text-map' with `image-minor-mode-map'.
13814 Check for `image-type' in mode-line format string.
13815 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13816 (image-mode-as-text): New function with most code from
13817 `image-mode-maybe'.
13818 (image-toggle-display-text): Move code that removes image
13819 properties from `image-toggle-display' to here.
13820 (image-toggle-display-image): New function with code that adds
13821 image properties copied from `image-toggle-display'.
13822 (image-toggle-display): Remove most code with leaving only code
13823 that toggles between `image-mode-as-text' and `image-mode'.
13825 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13827 * net/newst-treeview.el
13828 (newsticker--treeview-list-highlight-start): Restored call to
13829 save-excursion: Selected item was stuck.
13830 (newsticker--treeview-list-select): New.
13831 (newsticker--treeview-item-show-text)
13832 (newsticker--treeview-item-show)
13833 (newsticker--treeview-item-update): Use new
13834 newsticker-treeview-item-mode.
13835 (newsticker-treeview-update): Keep current item.
13836 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13837 (newsticker--treeview-first-feed): Doc change.
13838 (newsticker-treeview-list-menu)
13839 (newsticker-treeview-item-menu): Add menu entries.
13840 (newsticker-treeview-item-mode): New.
13842 * net/newst-backend.el (newsticker-customize): Delete other
13845 2009-12-04 Sam Steingold <sds@gnu.org>
13847 * log-view.el (log-view-mode-map): "q" calls quit-window,
13848 like in all the other non-self-insert buffers.
13850 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13853 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13854 key decoding rather than do it manually via last-input-event +
13856 (term-exec): Use delete-and-extract-region.
13857 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13858 (term-process-pager): Remove unused var `i'.
13859 (term-dynamic-simple-complete): Make obsolete.
13860 (serial-update-config-menu): Remove unused vars `y' and `str'.
13861 (term-update-mode-line): Remove unused var `temp'.
13863 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13865 Limit the number of log entries displayed by default.
13866 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13867 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13868 using a prefix argument.
13870 2009-12-03 Glenn Morris <rgm@gnu.org>
13872 * progmodes/idlwave.el (class): Restore still useful declaration.
13874 2009-12-03 Alan Mackenzie <acm@muc.de>
13876 Enhance `c-parse-state' to run efficiently in "brace deserts".
13878 * progmodes/cc-mode.el (c-basic-common-init):
13879 Call c-state-cache-init.
13880 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13881 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13882 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13884 * progmodes/cc-langs.el (c-before-font-lock-function):
13885 c-extend-and-neutralize-syntax-in-CPP has been renamed
13886 c-neutralize-syntax-in-and-mark-CPP.
13888 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13889 with `category' properties now, not `syntax-table' ones.
13891 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13892 enhanced (but slower) version of c-end-of-macro that won't land
13893 inside a literal or on another awkward character.
13894 (c-state-cache-too-far, c-state-cache-start)
13895 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13896 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13897 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13898 (c-state-min-scan-pos, c-state-brace-pair-desert)
13899 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13900 buffer local variables.
13901 (c-state-literal-at, c-state-lit-beg)
13902 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13903 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13904 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13905 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13906 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13907 (c-renarrow-state-cache)
13908 (c-append-lower-brace-pair-to-state-cache)
13909 (c-state-push-any-brace-pair, c-append-to-state-cache)
13910 (c-remove-stale-state-cache)
13911 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13912 (c-invalidate-state-cache-1, c-parse-state-1)
13913 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13914 (c-parse-state): Enhance and refactor.
13915 (c-debug-parse-state): Amend to deal with all the new variables.
13917 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13918 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13919 modify to use category text properties rather than syntax-table ones.
13920 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13921 to switch off/on the syntactic paren property of C++ template
13922 delimiters using the category property.
13923 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13924 template delims suppressed.
13925 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13926 New constant/macros which apply category properties to the start
13927 and end of preprocessor constructs.
13928 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13929 "comment out" the syntactic value of characters in preprocessor
13931 (c-with-cpps-commented-out)
13932 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13933 with characters in all or all but one preprocessor constructs
13936 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13938 * proced.el (proced-filter-alist): Use regexp-quote.
13940 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13943 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13944 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13945 arguments. Expand `default-directory'.
13947 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13948 the benefit of returning an expanded localname.
13949 (tramp-tramp-file-p): Handle the case NAME is not a string.
13951 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13953 Add support for bzr shelve/unshelve.
13954 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13955 (vc-bzr-extra-menu-map): New variables.
13956 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13957 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13958 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13959 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13960 (vc-bzr-dir-extra-headers): Display shelves.
13962 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13964 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13966 * textmodes/bibtex.el (bibtex-complete-internal):
13967 Use completion-in-region.
13968 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13970 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13972 Support applying stashes. Improve UI.
13973 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13974 (vc-git-stash-apply, vc-git-stash-pop)
13975 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13976 (vc-git-stash-menu): New functions.
13977 (vc-git-stash-menu-map): New variable.
13978 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13980 2009-12-03 Glenn Morris <rgm@gnu.org>
13982 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13983 (vc-print-log-internal): Fix previous change.
13984 (vc-revert): Correct pluralization.
13986 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13988 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13989 it to be an alist any more.
13990 (makefile-complete): Use completion-in-region.
13992 * progmodes/octave-mod.el (octave-complete-symbol):
13993 Use completion-in-region.
13996 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13997 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13998 (idlwave-complete-class): Don't quote lambda.
13999 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14000 (idlwave-mode-map): Move initialization into declaration.
14001 (idlwave-action-and-binding): Use backquotes.
14002 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14004 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14005 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14006 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14007 `parts', and `all-parts'.
14008 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14009 (idlwave-convert-xml-system-routine-info): Remove unused string
14011 (idlwave-display-user-catalog-widget): Use dolist.
14012 (idlwave-scanning-lib): Declare dynamically-scoped var.
14013 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14014 (completion-highlight-first-word-only): Declare to silence bytecomp.
14015 (idlwave-popup-select): Tighten scope of `resp'.
14016 (idlwave-find-struct-tag): Remove unused var `beg'.
14017 (idlwave-after-load-rinfo-hook): Declare.
14018 (idlwave-sintern-class-info): Remove unused var `taglist'.
14019 (idlwave-find-class-definition): Remove unused var `list'.
14020 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14021 (idlwave-what-module-find-class): Remove unused var `classes'.
14023 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14025 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14027 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14029 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14030 buffers visited. Remove redundant current-buffer-saving.
14032 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14034 Use completion-in-buffer and remove uses of dynamic scoping.
14035 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14036 (pascal-buffer-to-use, pascal-flag): Don't declare.
14037 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14038 (pascal-get-completion-decl, pascal-keyword-completion):
14039 Add `pascal-str' argument, save-excursion,
14040 return the found completions, and don't filter with pascal-pred.
14041 (pascal-completion-cache): New var.
14042 (pascal-completion): Don't switch buffer any more (it was never
14043 necessary). Don't save-excursion any more (it's done by the called
14044 subroutines). Use a cache to avoid redundant computations.
14045 Use complete-with-action rather than pascal-completion-response and
14046 let it apply the predicate as well.
14047 (pascal-complete-word): Use completion-in-buffer when
14048 pascal-toggle-completions is nil.
14049 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14051 (pascal-comp-defun): Don't change buffer any more.
14052 Use complete-with-action rather than pascal-completion-response and
14053 let it apply the predicate as well.
14054 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14057 2009-12-02 Kenichi Handa <handa@m17n.org>
14059 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14060 shape for all Indic scripts.
14062 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14064 Use completion-in-buffer.
14065 * wid-edit.el (widget-field-text-end): New function.
14066 (widget-field-value-get): Use it.
14067 (widget-string-complete, widget-file-complete)
14068 (widget-color-complete): Use it and completion-in-region.
14069 (widget-complete): Don't narrow the buffer.
14071 2009-12-02 Glenn Morris <rgm@gnu.org>
14073 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14074 (rmail-select-summary): Use rmail-pop-to-buffer.
14075 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14076 rmail-pop-to-buffer, to prevent horizontal splits.
14078 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14079 save-excursion with save-current-buffer.
14080 Widen before searching. (Bug#5093)
14081 (diary-list-sexp-entries): Remove superfluous save-excursion.
14083 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14085 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14088 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14090 * ido.el (ido-file-internal): Handle filenames at point that do
14091 not have a directory part. (Bug#5049)
14093 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14095 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14096 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14098 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14100 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14101 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14104 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14106 * comint.el (comint-insert-input): Ignore clicks to the right of
14107 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14109 * vc.el (vc-print-log-internal): Don't wait for the process to
14110 terminate before setting up the major mode.
14112 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14115 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14118 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14120 2009-12-01 Glenn Morris <rgm@gnu.org>
14122 * window.el (window--display-buffer-2): Fix previous changes.
14124 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14126 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14128 2009-12-01 Glenn Morris <rgm@gnu.org>
14130 * Makefile.in (ELCFILES): Add mpc.elc.
14132 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14134 * mpc.el: New file.
14136 2009-12-01 Glenn Morris <rgm@gnu.org>
14138 * window.el (window-to-use): Define for compiler.
14140 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14141 consistent with others (no final period).
14143 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14144 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14146 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14148 Make vc-print-log buttons work.
14149 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14151 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14153 * savehist.el (savehist-autosave-interval): Allow setting to nil
14154 through customize. (Bug#5056)
14156 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14158 Fix references to jit-lock properties.
14159 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14160 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14161 (perl-font-lock-special-syntactic-constructs):
14162 Quote jit-lock-defer-multiline property.
14164 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14166 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14168 2009-11-30 Juri Linkov <juri@jurta.org>
14170 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14171 value `buffer' of `multi-isearch-next-buffer-current-function'.
14172 Use `(current-buffer)' when `buffer' is nil.
14173 (multi-isearch-next-buffer-from-list): Don't fallback to
14174 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14176 2009-11-30 Juri Linkov <juri@jurta.org>
14178 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14179 of buffers with `get-buffer' to `multi-isearch-buffers'.
14180 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14181 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14182 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14183 FILES with `expand-file-name' converting relative file names
14184 to absolute. Doc fix. (Bug#4727)
14186 2009-11-30 Juri Linkov <juri@jurta.org>
14188 * misearch.el (multi-isearch-read-buffers)
14189 (multi-isearch-read-matching-buffers): New functions.
14190 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14191 Use them in the `interactive' spec. Doc fix.
14192 (multi-isearch-read-files, multi-isearch-read-matching-files):
14194 (multi-isearch-files, multi-isearch-files-regexp):
14195 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14197 2009-11-30 Juri Linkov <juri@jurta.org>
14199 * doc-view.el (doc-view-continuous):
14200 Rename from `doc-view-continuous-mode'.
14201 (doc-view-menu): Move "Toggle display" to the top.
14202 Add submenu "Continuous" with radio buttons "Off"/"On"
14203 and "Save as Default".
14204 (doc-view-scroll-up-or-next-page)
14205 (doc-view-scroll-down-or-previous-page)
14206 (doc-view-next-line-or-next-page)
14207 (doc-view-previous-line-or-previous-page):
14208 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14210 2009-11-30 Juri Linkov <juri@jurta.org>
14212 * comint.el (comint-mode-map): Rebind `M-r' from
14213 `comint-previous-matching-input' to
14214 `comint-history-isearch-backward-regexp'.
14215 Unbind `M-s' to allow global key binding `M-s'.
14216 Add menu items for `comint-history-isearch-backward' and
14217 `comint-history-isearch-backward-regexp'. (Bug#3746)
14219 2009-11-30 Juri Linkov <juri@jurta.org>
14221 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14222 For def=recenter, replace `recenter' with `recenter-top-bottom'
14223 that is called with `this-command' and `last-command' let-bound
14224 to `recenter-top-bottom'. When the last `def' was not `recenter',
14225 set `recenter-last-op' to nil. (Bug#4981)
14227 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14229 Minor cleanup and simplification.
14230 * filecache.el (file-cache-add-directory)
14231 (file-cache-add-directory-recursively)
14232 (file-cache-add-from-file-cache-buffer)
14233 (file-cache-delete-file-regexp, file-cache-delete-directory)
14234 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14235 (file-cache-temp-minibuffer-message): Delete function.
14236 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14238 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14239 Don't signal an error when bumping into EOB in tr, s, or y.
14241 2009-11-29 Juri Linkov <juri@jurta.org>
14243 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14246 * descr-text.el (describe-char-unidata-list): Use lowercase name
14247 for "Unicode name" like in other tags.
14249 2009-11-29 Juri Linkov <juri@jurta.org>
14251 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14252 New compatibility macro.
14253 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14255 2009-11-29 Juri Linkov <juri@jurta.org>
14257 Add defcustom to define the cycling order of `recenter-top-bottom'.
14260 * window.el (recenter-last-op): Doc fix.
14261 (recenter-positions): New defcustom.
14262 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14263 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14265 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14267 Improve integration of Tramp and ange-ftp in eshell.
14269 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14270 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14271 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14273 * eshell/esh-util.el (top): Require also Tramp when compiling.
14274 (eshell-directory-files-and-attributes): Check for FTP remote
14276 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14277 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14278 (eshell-file-attributes): Handle ".". Return `entry'.
14280 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14281 (ange-ftp-directory-files-and-attributes)
14282 (ange-ftp-real-directory-files-and-attributes): New defuns.
14284 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14285 shell with "exec" when possible. This prevents trailing prompts
14286 in `start-file-process'.
14288 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14290 Try and remove assumptions about point-min==1.
14291 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14292 (rng-compute-mode-line-string): Show the validation percentage in
14293 terms of the narrowed text, not the widened text.
14294 (rng-do-some-validation): Don't catch internal errors when debugging.
14295 (rng-first-error): Simplify.
14296 (rng-after-change-function): Remove work around. AFAIK the bug has
14297 been fixed a while ago.
14299 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14300 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14302 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14304 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14305 `cd' doesn't always do it for us (bug#5067).
14307 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14308 on 2009-10-25 as part of some other change (bug#5067).
14310 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14312 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14314 (byte-compile-warnings): Use byte-compile-warning-types.
14315 (byte-compile-save-excursion): Warn about use of set-buffer right
14316 after save-excursion.
14318 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14319 the excursion as well.
14321 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14323 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14324 providing a Tramp related implementation of "su" and "sudo".
14325 (eshell-unix-initialize): Add "su" and "sudo".
14327 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14329 * net/socks.el (socks-send-command): Convert binary request to
14330 unibyte before sending. This fixes mishandling of some port
14331 numbers such as 129.
14333 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14335 * help.el (describe-bindings-internal): Remove `interactive'.
14337 * man.el (Man-completion-table): Trim a terminating "(".
14338 Remove the space between name page a section.
14339 Add the command's description on the `help-echo' property.
14340 Remove `process-connection-type' binding since it's unused by
14342 Provide completion for the "<section> <name>" format as well.
14343 (Man-default-man-entry): Remove spurious var shadowing the argument.
14345 2009-11-26 Kevin Ryde <user42@zip.com.au>
14347 * log-view.el: Add "Keywords: tools", since its other keywords
14348 aren't in finder-known-keywords, and following vc.el.
14350 * sha1.el (sha1-string-external): default-directory "/" in case
14351 otherwise non-existent. process-connection-type pipe for touch of
14352 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14354 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14356 Misc coding convention cleanups.
14357 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14358 hfy-init-kludge-hooks.
14359 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14360 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14361 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14363 (hfy-slant, hfy-weight): Use tables rather than code.
14364 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14365 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14366 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14367 (hfy-face-to-css): Remove `nconc' with single arg.
14368 (hfy-p-to-face-lennart): Use `or'.
14369 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14370 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14371 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14372 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14373 (hfy-force-fontification): Use run-hooks.
14375 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14377 Various minor fixes.
14378 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14379 Javascript belongs in the header, not the body.
14380 (hfy-javascript): Remove.
14381 (hfy-fontify-buffer): Don't insert it any more.
14382 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14383 Fix bug in invis handling when there were no invis props in a chunk.
14385 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14387 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14389 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14391 * finder.el (finder-mode-map): Add a menu.
14393 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14395 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14396 "unsigned" structs.
14398 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14399 fork" statement better.
14401 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14403 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14404 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14405 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14406 Reported by Clay Douglass.
14408 (verilog-auto-inst, verilog-auto-star-safe)
14409 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14410 Fix removing "// Interfaces" when saving .* expansions.
14411 Reported by Pierre-David Pfister.
14413 2009-11-26 Glenn Morris <rgm@gnu.org>
14415 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14418 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14420 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14421 Really use previous revision.
14423 2009-11-25 Kevin Ryde <user42@zip.com.au>
14425 * man.el (Man-completion-table): default-directory "/" in case
14426 doesn't otherwise exist. process-environment COLUMNS=999 so as
14427 not to truncate long names. process-connection-type pipe to avoid
14428 any chance of hitting the pseudo-tty TIOCGWINSZ.
14429 (man): completion-ignore-case t for friendliness and since man
14430 itself is case-insensitive on the command line.
14431 Further to Bug#3717.
14433 * arc-mode.el: Add "Keywords: files", so the details in its
14434 commentary can be reached from finder-by-keyword.
14435 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14436 editing mode, but it's comms related and sgml-mode.el has "comm"
14438 * textmodes/bibtex-style.el: Add "Keywords: tex".
14439 * international/isearch-x.el, international/ja-dic-cnv.el:
14440 * international/ja-dic-utl.el, international/kkc.el:
14441 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14443 2009-11-25 Juri Linkov <juri@jurta.org>
14445 * man.el (Man-completion-table): Modify regexp to include
14446 section names to completion strings. (Bug#3717)
14448 2009-11-25 Juri Linkov <juri@jurta.org>
14450 Search recursively in gzipped files. (Bug#4982)
14452 * progmodes/grep.el (grep-highlight-matches): Add new options
14453 `always' and `auto'. Doc fix.
14454 (grep-process-setup): Check `grep-highlight-matches' for
14455 `auto-detect' to determine the need to compute grep defaults.
14456 Move Windows/DOS specific --colors settings handling
14457 to `grep-compute-defaults'. Check `grep-highlight-matches'
14458 to get the value of "--color=".
14459 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14460 has the value `auto-detect'. Move Windows/DOS specific settings
14461 from `grep-process-setup'.
14462 (zrgrep): New command with alias `rzgrep'.
14464 2009-11-25 Juri Linkov <juri@jurta.org>
14466 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14467 to nil instead of switching off view-mode. (Bug#4896)
14469 2009-11-25 Juri Linkov <juri@jurta.org>
14471 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14473 * mwheel.el (mwheel-scroll-up-function)
14474 (mwheel-scroll-down-function): New defvars.
14475 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14476 `scroll-up', and `mwheel-scroll-down-function' instead of
14479 * doc-view.el (doc-view-scroll-up-or-next-page)
14480 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14481 Use this ARG in the call to image-scroll-up/image-scroll-down.
14482 Change `interactive' spec to "P". Goto next/previous page only
14483 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14484 SPC/DEL case). Doc fix.
14485 (doc-view-next-line-or-next-page)
14486 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14488 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14489 `doc-view-scroll-up-or-next-page', and buffer-local
14490 `mwheel-scroll-down-function' to
14491 `doc-view-scroll-down-or-previous-page'.
14493 2009-11-25 Juri Linkov <juri@jurta.org>
14495 Provide additional default values (directories at other Dired
14496 windows) via M-n in the minibuffer of some Dired commands.
14498 * dired-aux.el (dired-diff, dired-compare-directories)
14499 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14500 `minibuffer-default' in `minibuffer-with-setup-hook'.
14501 (dired-dwim-target-directory): Find a window that displays Dired
14502 buffer instead of failing when the next window is not Dired.
14503 Use `get-window-with-predicate' to find for the next Dired window.
14504 (dired-dwim-target-defaults): New function.
14506 * ediff-util.el (ediff-read-file-name):
14507 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14508 in `minibuffer-with-setup-hook'.
14510 2009-11-25 Juri Linkov <juri@jurta.org>
14512 Provide additional default values (file name at point or at the
14513 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14515 * minibuffer.el (read-file-name-defaults): New function.
14516 (read-file-name): Reset `minibuffer-default' to nil when
14517 it duplicates initial input `insdef'.
14518 Bind `minibuffer-default-add-function' to lambda that
14519 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14520 (minibuffer-insert-file-name-at-point): New command.
14522 * files.el (file-name-at-point-functions): New defcustom.
14523 (find-file-default): Remove defvar.
14524 (find-file-read-args): Don't use `find-file-default'.
14525 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14526 to `read-file-name'.
14527 (find-file-literally): Use `read-file-name' with
14528 `confirm-nonexistent-file-or-buffer'.
14530 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14532 * dired.el (dired-read-dir-and-switches):
14533 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14534 to `read-file-name'.
14535 (dired-file-name-at-point): New function.
14536 (dired-mode): Add hook `dired-file-name-at-point' to
14537 `file-name-at-point-functions'.
14539 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14541 Really make the *Completions* window soft-dedicated (bug#5030).
14542 * window.el (window--display-buffer-2): Add `dedicated' argument.
14543 (display-buffer): Pass it when needed so the dedicated flag is set
14544 after calling set-window-buffer, which would otherwise reset it.
14546 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14548 * progmodes/meta-mode.el (meta-complete-symbol):
14549 * progmodes/etags.el (complete-tag):
14550 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14551 Use completion-in-region.
14553 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14554 (dabbrev-completion): Use completion-in-region.
14555 (dabbrev--abbrev-at-point): Simplify regexp.
14557 * abbrev.el (abbrev--before-point): Use word-motion functions
14558 if :regexp is not specified (bug#5031).
14560 * subr.el (string-prefix-p): New function.
14562 * man.el (Man-completion-cache): New var.
14563 (Man-completion-table): Use it.
14565 * vc.el (vc-print-log-internal): Make `limit' optional for better
14566 compatibility (e.g. with vc-annotate.el).
14568 2009-11-24 Kevin Ryde <user42@zip.com.au>
14570 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14571 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14573 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14574 when .el source file not found or other error.
14576 2009-11-24 Markus Triska <markus.triska@gmx.at>
14578 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14580 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14582 Handle the [back] button properly (bug#4979).
14583 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14584 Use help-setup-xref, help-buffer, and with-help-window.
14585 (describe-char): Add `buffer' argument.
14586 Pass proper command to help-setup-xref. Don't meddle with
14587 help-xref-stack-item directly.
14588 (describe-text-category): Use with-help-window and help-buffer.
14590 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14591 for the displayed buffer (bug#4887).
14593 * man.el (Man-completion-table): New function.
14596 2009-11-24 David Reitter <david.reitter@gmail.com>
14598 * vc-git.el (vc-git-registered): Use checkout directory (where
14599 .git is) rather than the file's directory and a relative path spec
14600 to work around a bug in git.
14602 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14604 Improve handling of processes on remote hosts.
14606 * eshell/esh-util.el (eshell-path-env): New defvar.
14607 (eshell-parse-colon-path): New defun.
14608 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14610 * eshell/esh-ext.el (eshell-search-path):
14611 Use `eshell-parse-colon-path'.
14612 (eshell-remote-command): Remove argument HANDLER.
14613 (eshell-external-command): Check for FTP remote connection.
14615 * eshell/esh-proc.el (eshell-gather-process-output):
14616 Use `file-truename', in order to start also symlinked files.
14617 Apply `start-file-process' instead of `start-process'.
14618 Shorten `command' to the local file name part.
14620 * eshell/em-cmpl.el (eshell-complete-commands-list):
14621 Use `eshell-parse-colon-path'.
14623 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14625 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14626 to `eshell-directory-change-hook'.
14628 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14630 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14631 because it could be enabled automatically if view-read-only is non-nil.
14633 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14635 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14636 made on 2009-11-22.
14638 2009-11-24 Glenn Morris <rgm@gnu.org>
14640 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14641 deleted variable bookmark-bmenu-bookmark-column.
14643 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14645 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14647 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14649 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14650 two slashes to the "file:" prefix.
14651 (browse-url-file-url): De-munge Cygwin filenames before passing
14652 them to Windows browser.
14653 (browse-url-default-windows-browser): Use call-process.
14655 2009-11-23 Juri Linkov <juri@jurta.org>
14657 Implement DocView Continuous mode. (Bug#4896)
14658 * doc-view.el (doc-view-continuous-mode): New defcustom.
14659 (doc-view-mode-map): Bind C-n/<down> to
14660 `doc-view-next-line-or-next-page', C-p/<up> to
14661 `doc-view-previous-line-or-previous-page'.
14662 (doc-view-next-line-or-next-page)
14663 (doc-view-previous-line-or-previous-page): New commands.
14665 2009-11-23 Juri Linkov <juri@jurta.org>
14667 Implement Isearch in comint input history. (Bug#3746)
14668 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14669 `isearch-mode-hook'.
14670 (comint-history-isearch): New defcustom.
14671 (comint-history-isearch-backward)
14672 (comint-history-isearch-backward-regexp): New commands.
14673 (comint-history-isearch-message-overlay): New buffer-local variable.
14674 (comint-history-isearch-setup, comint-history-isearch-end)
14675 (comint-goto-input, comint-history-isearch-search)
14676 (comint-history-isearch-message, comint-history-isearch-wrap)
14677 (comint-history-isearch-push-state)
14678 (comint-history-isearch-pop-state): New functions.
14680 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14682 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14684 (tramp-handle-make-symbolic-link)
14685 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14687 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14688 (tramp-handle-process-file): Use it.
14690 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14692 * window.el (move-to-window-line-last-op): Remove.
14693 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14695 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14697 Make M-r mirror the new cycling behavior of C-l.
14698 * window.el (move-to-window-line-last-op): New var.
14699 (move-to-window-line-top-bottom): New command.
14700 (global-map): Bind M-r move-to-window-line-top-bottom.
14702 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14704 * dired-x.el (dired-guess-shell-alist-default):
14705 Support xz format. (Bug#4953)
14707 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14709 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14710 last-command-char/last-command-event.
14711 (viper-prefix-arg-value): Do correct conversion of event-char for
14714 * emulation/viper-util.el, emulation/viper.el:
14715 Use viper-last-command-char instead of
14716 last-command-char/last-command-event.
14718 * ediff-init.el, ediff-mult.el, ediff-util.el:
14719 Replace last-command-char and last-command-event
14720 with (ediff-last-command-char) everywhere.
14722 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14723 created in fundamental mode.
14725 * ediff.el (ediff-version): Revert the change of interactive-p to
14726 called-interactively-p.
14728 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14730 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14731 generation from word-movement command names.
14733 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14735 * cus-start.el (all): Add native condition for font-use-system-font.
14737 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14739 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14740 Correct the patch from 2009-11-18. (Bug#3910)
14742 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14744 * progmodes/subword.el: Rename from lisp/subword.el.
14746 * subword.el: Rename to progmodes/subword.el.
14748 * Makefile.in (ELCFILES): Adapt to subword.el move.
14750 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14751 Stefan Monnier <monnier@iro.umontreal.ca>
14753 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14754 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14755 (bookmark-bmenu-show-filenames): Use push.
14756 (bookmark-bmenu-hide-filenames): Use local var instead of
14757 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14758 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14759 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14760 filenames now that the bookmark names are always available.
14762 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14764 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14765 (bookmark-search-pattern): Move and leave unbound.
14766 (bookmark-bmenu-mode-map): Change binding.
14767 (bookmark-read-search-input): Simplify.
14768 Don't use text-char-description. Don't error on non-char events.
14769 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14770 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14771 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14772 Use a local var for the timer.
14773 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14774 (i.e. bookmark-bmenu-search).
14776 2009-11-21 Glenn Morris <rgm@gnu.org>
14778 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14780 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14782 * net/browse-url.el (browse-url-default-windows-browser):
14783 Use cygstart for cygwin.
14785 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14787 * bookmark.el: Formatting and doc fixes only:
14788 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14789 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14790 Minor grammar and punctuation fixes in doc string.
14791 (bookmark-read-search-input): Adjust to fit within 80 columns.
14793 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14795 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14796 (c-backward-into-nomenclature): Adapt to subword renaming.
14798 * subword.el (subword-forward, subword-backward, subword-mark)
14799 (subword-kill, subword-backward-kill, subword-transpose)
14800 (subword-downcase, subword-upcase, subword-capitalize)
14801 (subword-forward-internal, subword-backward-internal):
14802 Rename from forward-subword, backward-subword, mark-subword,
14803 kill-subword, backward-kill-subword, transpose-subwords,
14804 downcase-subword, upcase-subword, capitalize-subword,
14805 forward-subword-internal, backward-subword-internal.
14807 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14809 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14811 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14813 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14814 (bookmark-bmenu-filter-alist-by-regexp)
14815 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14816 (bookmark-bmenu-search): New command.
14817 (bookmark-bmenu-mode-map): Bind it.
14819 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14821 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14822 backward-subword to quit the byte-compiler.
14824 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14826 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14828 * progmodes/cc-cmds.el (c-update-modeline)
14829 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14830 Refer to subword.el functions instead of cc-subword.el.
14832 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14833 subword.el functions instead of cc-subword.el.
14835 * progmodes/cc-subword.el: Rename to subword.el.
14836 * subword.el: Rename from progmodes/cc-subword.el.
14837 (subword-mode-map): Rename from c-subword-mode-map.
14838 (subword-mode): Rename from c-subword-mode.
14839 (global-subword-mode): New global minor mode.
14840 (forward-subword): Rename from c-forward-subword.
14841 (backward-subword): Rename from c-backward-subword.
14842 (mark-subword): Rename from c-mark-subword.
14843 (kill-subword): Rename from c-kill-subword.
14844 (backward-kill-subword): Rename from c-backward-kill-subword.
14845 (transpose-subwords): Rename from c-tranpose-subword.
14846 (downcase-subword): Rename from c-downcase-subword.
14847 (capitalize-subword): Rename from c-capitalize-subword.
14848 (forward-subword-internal): Rename from c-forward-subword-internal.
14849 (backward-subword-internal): Rename from c-backward-subword-internal.
14851 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14853 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14854 from a dired buffer.
14855 (vc-dired-deduce-fileset): New function.
14856 (vc-root-diff, vc-print-root-log): Use it.
14858 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14859 nil LIMIT argument to vc-print-log-internal.
14861 2009-11-20 Glenn Morris <rgm@gnu.org>
14863 * Makefile.in (ELCFILES): Regenerate.
14865 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14867 * calc/calc.el (calc-set-mode-line):
14868 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14869 (math-format-number): Rename `math-format-complement-signed' to
14870 `math-format-twos-complement'.
14872 * calc/calc-bin.el (math-format-twos-complement): Rename from
14873 math-format-complement-signed.
14874 (calc-radix): Rename `calc-complement-signed-mode' to
14875 `calc-twos-complement-mode'.
14876 (calc-octal-radix, calc-hex-radix): Add an argument for
14879 * calc/calc-embed.el (calc-embedded-mode-vars):
14880 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14882 * calc/calc-ext.el (calc-init-extensions):
14883 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14884 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14886 * calc/calc-units.el (math-build-units-table-buffer):
14887 Let `calc-twos-complement-mode' be nil.
14889 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14892 * calc/calc-vec.el (calcFunc-vunpack):
14893 * calc/calc-aent.el (calc-do-calc-eval):
14894 * calc/calc-forms.el (math-format-date):
14895 * calc/calc-graph.el (calc-graph-plot):
14896 * calc/calc-math.el (math-use-emacs-fn):
14897 * calc/calccomp.el (math-compose-expr):
14898 Let `calc-twos-complement-mode' be nil.
14900 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14902 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14903 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14904 * minibuffer.el (completion-in-region-functions): New hook.
14905 (completion-in-region): New function.
14906 * emacs-lisp/lisp.el (lisp-complete-symbol):
14907 * pcomplete.el (pcomplete-std-complete): Use it.
14909 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14911 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14912 (latex-complete-alist): New vars.
14913 (latex-string-prefix-p, latex-complete-bibtex-keys)
14914 (latex-complete-envnames, latex-complete-refkeys)
14915 (latex-complete-data): New functions.
14916 (latex-complete, latex-indent-or-complete): New commands.
14918 * window.el (display-buffer-mark-dedicated): New var.
14919 (display-buffer): Obey it.
14920 * minibuffer.el (minibuffer-completion-help): Use it.
14922 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14924 * filecache.el (file-cache-add-file): Use push and cons.
14925 (file-cache-delete-file-regexp): Use push.
14926 (file-cache-complete): Use completion-in-region.
14928 * simple.el (with-wrapper-hook): Fix thinko.
14930 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14931 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14932 Use with-current-buffer and string-to-number.
14933 (hfy-fallback-colour-values): Use assoc-string.
14934 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14935 (hfy-face-at): Remove unused var `found-face'.
14936 (hfy-compile-stylesheet): Remove unused var `css'.
14937 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14939 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14940 Use with-current-buffer.
14941 (hfy-text-p): Use expand-file-name and fewer setq.
14943 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14945 * htmlfontify.el, hfy-cmap.el: New files.
14947 2009-11-19 Juri Linkov <juri@jurta.org>
14949 * minibuffer.el (completions-format): New defcustom.
14950 (completion--insert-strings): Implement vertical format.
14952 * simple.el (switch-to-completions): Move point to the first
14953 completion when point was at the beginning of the buffer.
14955 2009-11-19 Juri Linkov <juri@jurta.org>
14957 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14959 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14961 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14963 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14964 (mail-signature): Change default to t.
14965 (mail-from-style): Deprecate `system-default' value.
14966 (mail-insert-from-field): For default value of mail-from-style,
14967 default to `angles' unless `angles' needs quoting and `parens'
14969 (mail-citation-prefix-regexp): Use citation regexp from
14972 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14974 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14975 Set variables for computing the prompt for reading password.
14977 2009-11-19 Glenn Morris <rgm@gnu.org>
14979 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14981 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14983 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14984 (newsticker-treeview-listwindow-height): Fix custom type.
14986 2009-11-19 Kenichi Handa <handa@m17n.org>
14988 * descr-text.el (describe-char-padded-string): Compose with TAB
14989 only if there's a font for CH.
14990 (describe-char): Fix the condition for detecting a trivial composition.
14992 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14994 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14995 more accurate version of the regexp. (Bug#3910)
14997 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14999 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15001 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15003 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15004 (font-setting-change-default-font): Fix typo in docstring.
15006 2009-11-18 Alan Mackenzie <acm@muc.de>
15008 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15010 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15012 * font-setting.el (font-use-system-font): Move ...
15014 * cus-start.el (all): ... to here.
15016 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15018 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15019 Don't set `ad-return-value' if `ad-do-it' doesn't.
15021 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15024 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15026 * menu-bar.el: Put "Use system font" in Option-menu.
15027 (menu-bar-options-save): Add font-use-system-font.
15029 * loadup.el: If feature system-font-setting or font-render-setting is
15030 there, load font-setting.
15032 * Makefile.in (ELCFILES): Add font-settings.el.
15033 * font-setting.el: New file.
15035 2009-11-17 Glenn Morris <rgm@gnu.org>
15037 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15039 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15040 Preserve point in the list buffer. (Bug#4939)
15042 (newsticker--treeview-list-update-highlight)
15043 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15045 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15047 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15050 * calc/calc-ext.el (calc-init-extensions): Remove references to
15053 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15055 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15056 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15059 2009-11-16 Kevin Ryde <user42@zip.com.au>
15061 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15062 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15064 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15065 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15066 Ignore trailing spaces by omit-nulls to split-string (fixing
15067 regression from Emacs 21 due to the incompatible split-string
15068 change). (Bug #4928.)
15070 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15072 * vc.el (vc-log-show-limit): Default to 2000.
15073 (vc-print-log-internal): Insert buttons to request more entries
15074 when limiting the output.
15076 * vc-sccs.el (vc-sccs-print-log):
15077 * vc-rcs.el (vc-rcs-print-log):
15078 * vc-cvs.el (vc-cvs-print-log):
15079 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15082 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15084 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15085 error when `tramp-gvfs-dbus-event-vector' is set.
15086 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15088 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15090 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15092 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15094 * net/dbus.el (dbus-unregister-service): New defun.
15095 (dbus-register-property): Register the handlers of
15096 "org.freedesktop.DBus.Properties" for SERVICE.
15097 (dbus-property-handler): Fix docstring.
15099 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15101 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15102 Quote doc string reference in defvaralias as it is not in special form.
15103 (byte-compile-output-docform): Doc fix.
15105 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15107 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15108 (calc-complement-signed-mode): New variables.
15109 (calc-set-mode-line): Add indicator for twos-complements.
15110 (math-format-number): Format twos-complement notation.
15112 * calc/calc-bin.el (calc-word-size): Reset the variables
15113 `math-2-word-size' and `math-half-2-word-size'.
15114 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15115 (calc-symclip): New functions.
15117 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15119 * calc/calc-embed.el (calc-embedded-mode-vars):
15120 Add `calc-complement-signed-mode' to the list of modes.
15122 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15123 (calc-b-oper-keys): Add `calc-symclip' to list.
15125 * calc/calc-ext.el (math-read-number-fancy): Read complement
15127 (calc-init-extensions): Add binding for `calc-symclip'.
15128 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15130 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15132 (calc-modes-menu): Add item for twos complement mode.
15134 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15136 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15138 * register.el (jump-to-register, insert-register): Handle Semantic
15139 tags. From commented-out advice in semantic/senator.el.
15141 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15143 * vc.el (vc-log-show-limit): New variable.
15144 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15145 when using a prefix argument.
15146 (vc-print-log-internal): Add new argument LIMIT.
15148 * vc-svn.el (vc-svn-print-log):
15149 * vc-mtn.el (vc-mtn-print-log):
15150 * vc-hg.el (vc-hg-print-log):
15151 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15152 pass it to the log command when set. Make the BUFFER argument
15155 * vc-sccs.el (vc-sccs-print-log):
15156 * vc-rcs.el (vc-rcs-print-log):
15157 * vc-git.el (vc-git-print-log):
15158 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15159 ignore it. Make the BUFFER argument non-optional
15161 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15163 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15165 * dired.el (dired-mode-map): Move encryption items to "Operate"
15168 * strokes.el (strokes-update-window-configuration): Make strokes
15169 buffer current before erasing (Bug#4906).
15171 2009-11-15 Juri Linkov <juri@jurta.org>
15173 * simple.el (set-mark-default-inactive): Add :type, :group
15174 and :version. (Bug#4876)
15176 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15178 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15179 (archive-unique-fname): ... here. (Bug#4929)
15181 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15183 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15186 * novice.el (disabled-command-function): Add useful args.
15187 Setup the help buffer so that [back] works.
15188 Remove redundant call to help-mode.
15189 (disabled-command-function): Use `case'.
15190 (en/disable-command): New function extracted from enable-command.
15191 (enable-command, disable-command): Use it.
15193 2009-11-14 Glenn Morris <rgm@gnu.org>
15195 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15196 constants. (Bug#4913)
15198 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15200 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15202 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15203 defined in C that have no doc-strings. (Bug#1063)
15205 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15207 * cus-edit.el (data, files):
15208 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15210 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15212 * simple.el (shell-command): Doc fix (Bug#4891).
15214 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15216 2009-11-14 Glenn Morris <rgm@gnu.org>
15218 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15219 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15220 If they are already loaded, eval-after-load will do the right thing.
15222 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15225 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15227 * simple.el (x-selection-owner-p): Declare.
15228 (read-mail-command): Use custom radio type rather than choice.
15229 (completion-no-auto-exit): Doc fix.
15231 * custom.el (defgroup):
15232 * epg-config.el (epg): Doc fixes.
15234 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15236 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15237 * international/ccl.el (define-ccl-program): Do not purecopy the
15238 docstring, defconst does it anyway.
15240 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15242 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15245 * x-dnd.el (x-dnd-maybe-call-test-function):
15246 * window.el (split-window-vertically):
15247 * whitespace.el (whitespace-help-on):
15248 * vc-rcs.el (vc-rcs-consult-headers):
15249 * userlock.el (ask-user-about-lock-help)
15250 (ask-user-about-supersession-help):
15251 * type-break.el (type-break-force-mode-line-update):
15252 * time-stamp.el (time-stamp-conv-warn):
15253 * terminal.el (te-set-output-log, te-more-break, te-filter)
15254 (te-sentinel, terminal-emulator):
15255 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15256 (term-write-input-ring, term-check-source, term-start-output-log):
15257 (term-display-buffer-line, term-dynamic-list-completions):
15258 (term-ansi-make-term, serial-term):
15259 * subr.el (selective-display):
15260 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15261 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15262 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15263 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15264 (speedbar-remove-localized-speedbar-support)
15265 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15266 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15267 (speedbar-buffers-line-directory):
15268 * simple.el (shell-command-on-region, append-to-buffer)
15269 (prepend-to-buffer):
15270 * shadowfile.el (shadow-save-todo-file):
15271 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15272 (scroll-bar-maybe-set-window-start):
15273 * sb-image.el (speedbar-image-dump):
15274 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15275 (load-save-place-alist-from-file):
15276 * ps-samp.el (ps-print-message-from-summary):
15277 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15278 (ps-background-image, ps-begin-job, ps-do-despool):
15279 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15280 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15281 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15282 (pr-call-process, pr-file-list, pr-interface-save):
15283 * novice.el (disabled-command-function)
15284 (enable-command, disable-command):
15285 * mouse.el (mouse-buffer-menu-alist):
15286 * mouse-copy.el (mouse-kill-preserving-secondary):
15287 * macros.el (kbd-macro-query):
15288 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15289 * informat.el (batch-info-validate):
15290 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15291 * hippie-exp.el (try-expand-dabbrev-visible):
15292 * help-mode.el (help-make-xrefs):
15293 * help-fns.el (describe-variable):
15294 * generic-x.el (bat-generic-mode-run-as-comint):
15295 * finder.el (finder-mouse-select):
15296 * find-dired.el (find-dired-sentinel):
15297 * filesets.el (filesets-file-close):
15298 * files.el (list-directory):
15299 * faces.el (list-faces-display, describe-face):
15300 * facemenu.el (list-colors-display):
15301 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15302 * epg.el (epg--process-filter, epg-cancel):
15303 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15304 (epa--read-signature-type):
15305 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15306 (emerge-file-names):
15307 * ehelp.el (electric-helpify):
15308 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15309 * ediff-vers.el (rcs-ediff-view-revision):
15310 * ediff-util.el (ediff-setup):
15311 * ediff-mult.el (ediff-append-custom-diff):
15312 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15314 * echistory.el (Electric-command-history-redo-expression):
15315 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15316 * disp-table.el (describe-display-table):
15317 * dired.el (dired-find-buffer-nocreate):
15318 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15319 * dabbrev.el (dabbrev--same-major-mode-p):
15320 * chistory.el (list-command-history):
15321 * apropos.el (apropos-documentation):
15322 * allout.el (allout-obtain-passphrase):
15323 (allout-copy-exposed-to-buffer):
15324 (allout-verify-passphrase): Use with-current-buffer.
15326 2009-11-13 Glenn Morris <rgm@gnu.org>
15328 * Makefile.in (ELCFILES): Regenerate.
15330 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15332 * net/dbus.el (dbus-registered-objects-table): Rename from
15333 `dbus-registered-functions-table', because it contains also properties.
15334 (dbus-unregister-object): Unregister also properties.
15335 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15336 Use a timeout of 500 msec, in order to not block.
15337 (dbus-register-property, dbus-property-handler): New defuns.
15339 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15341 * simple.el (minibuffer-default-add-completions): Drop deprecated
15344 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15346 * textmodes/artist.el (artist-mouse-choose-operation):
15347 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15348 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15349 (artist-compute-up-event-key): New function.
15350 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15352 2009-11-13 Kenichi Handa <handa@m17n.org>
15354 * language/japan-util.el: Make sure that the value of jisx0208
15355 property is jisx0208 character.
15357 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15359 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15360 car or each item, not the whole list.
15362 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15364 * minibuffer.el (minibuffer-completion-help):
15365 Use minibuffer-hide-completions.
15367 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15369 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15370 (dired-revert): Use them (bug#4880).
15372 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15374 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15376 2009-11-12 Juri Linkov <juri@jurta.org>
15378 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15380 (find-file-literally-at-point): Alias of `ffap-literally'.
15382 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15384 * textmodes/ispell.el (ispell-skip-region-alist):
15385 * textmodes/css-mode.el (auto-mode-alist):
15386 * progmodes/compile.el (auto-mode-alist):
15387 * international/mule.el (ctext-non-standard-encodings-alist)
15388 (ctext-non-standard-encodings-regexp):
15389 * simple.el (shell-command-switch, text-read-only):
15390 * replace.el (occur-mode-map):
15391 * paths.el (rmail-file-name):
15392 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15393 * find-file.el (ff-special-constructs):
15394 * files.el (file-name-handler-alist):
15395 * composite.el: Purecopy strings.
15397 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15399 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15401 * widget.el (define-widget): Purecopy the docstring.
15402 * international/mule-cmds.el (charset): Do not purecopy the
15403 docstring here, define-widget does it.
15405 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15406 * textmodes/bibtex-style.el (auto-mode-alist):
15407 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15408 * progmodes/compile.el (compile-command):
15409 * language/korea-util.el (default-korean-keyboard):
15410 * international/mule-conf.el (file-coding-system-alist):
15411 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15412 * tooltip.el (tooltip-frame-parameters):
15413 * newcomment.el (comment-end, comment-padding):
15414 * dired.el (dired-trivial-filenames):
15415 * comint.el (comint-file-name-prefix): Purecopy initial values.
15417 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15419 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15420 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15422 (tramp-advice-make-auto-save-file-name)
15423 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15424 after removing the advice.
15426 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15428 * progmodes/grep.el (grep-regexp-alist):
15429 * international/mule-cmds.el (iso-2022-control-alist):
15430 * emacs-lisp/timer.el (timer-duration-words):
15431 * subr.el (version-separator, version-regexp-alist):
15432 * minibuffer.el (completion-styles-alist):
15433 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15434 Change defvars to defconsts.
15436 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15437 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15438 * international/mule-conf.el: Allow to be byte compiled.
15440 * international/mule.el (define-charset): Purecopy props.
15441 (load-with-code-conversion): Purecopy doc string and file name.
15442 (put-charset-property): Purecopy strings.
15443 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15445 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15446 (define-char-code-property): Correctly purecopy the table.
15448 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15450 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15452 * subr.el (add-hook): Purecopy strings.
15453 (eval-after-load): Purecopy load-history-regexp and the form.
15455 * custom.el (custom-declare-group): Purecopy load-file-name.
15457 * subr.el (menu-bar-separator): New defconst.
15458 * net/eudc.el (eudc-tools-menu):
15459 * international/mule-cmds.el (set-coding-system-map)
15460 (mule-menu-keymap):
15461 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15462 * vc-hooks.el (vc-menu-map):
15463 * replace.el (occur-mode-map):
15464 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15465 (menu-bar-edit-menu, menu-bar-goto-menu)
15466 (menu-bar-custom-menu, menu-bar-showhide-menu)
15467 (menu-bar-options-menu, menu-bar-tools-menu)
15468 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15469 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15470 (menu-bar-help-menu):
15471 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15472 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15474 * term/x-win.el (x-gtk-stock-map):
15475 * progmodes/vera-mode.el (auto-mode-alist):
15476 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15477 (inferior-lisp-program, inferior-lisp-load-command):
15478 * progmodes/hideshow.el (hs-special-modes-alist):
15479 * progmodes/gud.el (same-window-regexps):
15480 * progmodes/grep.el (grep-program, find-program, xargs-program):
15481 * net/telnet.el (same-window-regexps):
15482 * net/rlogin.el (same-window-regexps):
15483 * language/ethiopic.el (font-ccl-encoder-alist):
15484 * vc-sccs.el (vc-sccs-master-templates):
15485 * vc-rcs.el (vc-rcs-master-templates):
15486 * subr.el (cl-assertion-failed):
15487 * simple.el (next-error-overlay-arrow-position):
15488 * lpr.el (lpr-command):
15489 * locate.el (locate-ls-subdir-switches):
15490 * info.el (same-window-regexps, info)
15491 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15492 * image-mode.el (image-mode, auto-mode-alist):
15493 * hippie-exp.el (hippie-expand-ignore-buffers):
15494 * format.el (format-alist):
15495 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15497 * facemenu.el (facemenu-keybindings):
15498 * dired.el (dired-listing-switches, dired-chown-program):
15499 * diff.el (diff-switches, diff-command):
15500 * cus-edit.el (same-window-regexps):
15501 * bindings.el (mode-line-mule-info)
15502 (mode-line-buffer-identification): Purecopy strings.
15504 2009-11-11 Juri Linkov <juri@jurta.org>
15506 * simple.el (dired-get-filename) <declare-function>:
15507 Tell the byte-compiler about dired-get-filename.
15508 (shell-command): In Dired mode, get filename from the current line
15509 as the default value.
15511 2009-11-10 Glenn Morris <rgm@gnu.org>
15513 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15514 * calendar/holidays.el, progmodes/cperl-mode.el:
15515 Update x-popup-menu declarations.
15517 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15518 (list-load-path-shadows): Use dolist.
15519 (list-load-path-shadows): Use with-current-buffer.
15521 2009-11-10 Juri Linkov <juri@jurta.org>
15523 * minibuffer.el (read-file-name): Support a list of default values
15524 in `default-filename'. Use the first file name where only one
15525 element is required. Doc fix.
15527 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15529 * net/dbus.el (dbus-unregister-object): Release service, if no
15530 other method is registered for it.
15532 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15534 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15535 bookmark-sort-flag is non-nil (Bug#4653).
15537 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15539 * emulation/cua-base.el: Add CUA property to some CC mode commands
15542 2009-11-08 Kevin Ryde <user42@zip.com.au>
15544 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15545 at end of sentence (Bug#4818).
15547 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15549 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15550 Handle "see declaration of" MSFT statements (Bug#4100).
15552 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15554 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15555 (tramp-advice-file-expand-wildcards): Unload via
15556 `ad-remove-advice'.
15558 * net/trampver.el: Update release number.
15560 2009-11-08 Kevin Ryde <user42@zip.com.au>
15562 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15565 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15567 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15568 in order to keep context in SELinux.
15570 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15572 * dired-aux.el (dired-query): Place cursor in echo area and allow
15575 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15576 menu item if not on a directory (Bug#4701).
15578 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15580 Sync with Tramp 2.1.17.
15582 * net/tramp.el (tramp-handle-copy-directory): Don't use
15583 `file-remote-p' (due to compatibility).
15585 * net/tramp-compat.el (tramp-compat-copy-directory)
15586 (tramp-compat-delete-directory): New defuns.
15588 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15589 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15590 Use `tramp-compat-delete-directory'.
15592 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15593 (tramp-smb-handle-delete-directory):
15594 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15596 * net/trampver.el: Update release number.
15598 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15600 * tar-mode.el (tar-copy): Call write-region on the right buffer
15603 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15604 by hand, if necessary (Bug#4878).
15606 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15608 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15609 align size column (Bug#4839).
15611 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15614 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15616 * progmodes/ld-script.el (auto-mode-alist):
15617 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15619 * cus-face.el (custom-declare-face): Purecopy face spec.
15621 2009-11-06 Kenichi Handa <handa@m17n.org>
15623 * international/uni-bidi.el: Re-generated.
15624 * international/uni-category.el: Re-generated.
15625 * international/uni-combining.el: Re-generated.
15626 * international/uni-mirrored.el: Re-generated.
15628 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15630 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15631 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15632 (tex-start-options, slitex-run-command, latex-run-command)
15633 (tex-run-command, tex-directory):
15634 * textmodes/ispell.el (ispell-html-skip-alists)
15635 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15636 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15637 (adaptive-fill-regexp):
15638 * textmodes/dns-mode.el (auto-mode-alist):
15639 * progmodes/python.el (interpreter-mode-alist):
15640 * progmodes/etags.el (tags-compression-info-list):
15641 * progmodes/etags.el (tags-file-name):
15642 * net/browse-url.el (browse-url-galeon-program)
15643 (browse-url-firefox-program):
15644 * mail/sendmail.el (mail-signature-file)
15645 (mail-citation-prefix-regexp):
15646 * international/mule-conf.el (eight-bit):
15647 * international/latexenc.el (latex-inputenc-coding-alist):
15648 * international/fontset.el (x-pixel-size-width-font-regexp):
15649 * emacs-lisp/warnings.el (warning-type-format):
15650 * emacs-lisp/trace.el (trace-buffer):
15651 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15652 (emacs-lisp-mode-map):
15653 * calendar/holidays.el (holiday-solar-holidays)
15654 (holiday-bahai-holidays, holiday-islamic-holidays)
15655 (holiday-christian-holidays, holiday-hebrew-holidays)
15656 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15657 (hebrew-holidays-1, holiday-oriental-holidays)
15658 (holiday-general-holidays):
15659 * x-dnd.el (x-dnd-known-types):
15660 * tool-bar.el (tool-bar):
15661 * startup.el (site-run-file):
15662 * shell.el (shell-dumb-shell-regexp):
15663 * rfn-eshadow.el (file-name-shadow-tty-properties)
15664 (file-name-shadow-properties):
15665 * paths.el (remote-shell-program, news-directory):
15666 * mouse.el ([C-down-mouse-3]):
15667 * menu-bar.el (menu-bar-tools-menu):
15668 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15669 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15670 (jka-compr-compression-info-list):
15671 * isearch.el (search-whitespace-regexp):
15672 * image-file.el (image-file-name-extensions):
15673 * find-dired.el (find-ls-option):
15674 * files.el (directory-listing-before-filename-regexp)
15675 (directory-free-space-args, insert-directory-program)
15676 (list-directory-brief-switches, magic-fallback-mode-alist)
15677 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15678 (automount-dir-prefix):
15679 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15680 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15681 (face-font-registry-alternatives, face-font-registry-alternatives)
15682 (face-font-family-alternatives):
15683 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15684 (facemenu-foreground-menu, facemenu-face-menu):
15685 * epa-hook.el (epa-file-name-regexp):
15686 * dnd.el (dnd-protocol-alist):
15687 * textmodes/rst.el (auto-mode-alist):
15688 * button.el (default-button): Purecopy strings.
15690 2009-11-06 Glenn Morris <rgm@gnu.org>
15692 * Makefile.in (ELCFILES): Update.
15694 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15696 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15697 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15699 * nxml/xsd-regexp.el (xsdre-gen-categories):
15700 * nxml/xmltok.el (xmltok-parse-entity):
15701 * nxml/rng-parse.el (rng-parse-validate-file):
15702 * nxml/rng-maint.el (rng-format-manual)
15703 (rng-manual-output-force-new-line):
15704 * nxml/rng-loc.el (rng-save-schema-location-1):
15705 * nxml/rng-cmpct.el (rng-c-parse-file):
15706 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15707 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15709 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15711 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15712 Remove extra save-excursions and make-variable-buffer-local's.
15713 Suggested by Stefan Monnier.
15715 (verilog-getopt-file, verilog-module-inside-filename-p)
15716 (verilog-set-define): Merge GNU 1.35 and repair changes from
15717 switching to using with-current-buffer.
15719 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15720 being treated as a number and confusing AUTORESET.
15721 Reported by Dan Dever.
15723 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15724 Add verilog-auto-ignore-concat to fix backward compatibility with
15725 older verilog-modes. Reported by Dan Katz.
15727 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15728 containing closing anchors "...$".
15730 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15731 Reported by Wade Smith.
15733 (verilog-batch-execute-func): Comment on function usage.
15735 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15737 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15740 (verilog-label-re, verilog-calc-1): Support proper indent of named
15743 (verilog-backward-token, verilog-basic-complete-re)
15744 (verilog-beg-of-statement, verilog-indent-re): Support proper
15745 indent of the assert statement at the beginning of a block of text.
15747 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15748 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15751 2009-11-05 Glenn Morris <rgm@gnu.org>
15753 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15754 Emacs 19. (Bug#1531)
15755 (byte-compile-fix-header): Update for the above change.
15756 Drop test for epoch::version.
15758 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15759 * cus-dep.el (custom-make-dependencies):
15760 * finder.el (finder-compile-keywords):
15761 Use autoload-rubric's feature argument.
15763 * calendar/diary-lib.el (top-level): Make load behave more like require.
15765 * vc-git.el (vc-git-stash-map): Move definition before use.
15767 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15769 * custom.el (custom-declare-group): Purecopy standard-value.
15770 (custom-declare-group): Purecopy custom-prefix.
15772 * international/mule.el (load-with-code-conversion):
15773 Call do-after-load-evaluation unconditionally.
15775 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15777 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15779 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15781 2009-11-04 Glenn Morris <rgm@gnu.org>
15783 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15784 (byte-compile-compatibility): Remove option.
15785 (byte-compile-close-variables, byte-compile-fix-header)
15786 (byte-compile-insert-header, byte-compile-output-docform)
15787 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15788 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15789 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15790 (byte-compile-insert, byte-compile-defun):
15791 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15792 (byte-defop-compiler19): Remove.
15793 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15794 used by anything. Replace all calls with byte-defop-compiler.
15796 2009-11-04 Juri Linkov <juri@jurta.org>
15798 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15799 (menu-bar-options-menu): Don't quote the `prop' arg of
15800 `menu-bar-make-mm-toggle'.
15802 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15804 * calendar/calendar.el (cal-loaddefs):
15805 * calendar/diary-lib.el (diary-loaddefs):
15806 * calendar/holidays.el (hol-loaddefs):
15807 * eshell/esh-module.el (esh-groups): Load rather than require.
15809 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15811 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15813 (todo-top-priorities): Only display-buffer when called interactively.
15814 (todo-item-start): Don't save excursion point.
15815 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15816 (todo-insert-item-here, todo-file-item, todo-remove-item):
15817 Adjust uses of todo-item-start and todo-item-end.
15819 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15820 (autoload-rubric): Don't use any more.
15822 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15823 and only put a prop if it is non-nil.
15825 2009-11-03 Juri Linkov <juri@jurta.org>
15827 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15828 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15830 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15831 and "Menu" to make top-level menu item visually one unit (like
15832 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15833 multi-word menu items). Fix :help string for quit-window.
15835 2009-11-03 Glenn Morris <rgm@gnu.org>
15837 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15838 (byte-compile-file-form-define-abbrev-table)
15839 (byte-compile-file-form-custom-declare-variable)
15840 (byte-compile-variable-ref, byte-compile-defvar):
15841 Whether or not a warning is enabled should only affect whether we issue
15842 the warning, not whether or not we collect the relevant data.
15843 Eg warnings can be turned on and off throughout the course of a file.
15845 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15846 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15848 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15850 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15851 * play/mpuz.el (mpuz-create-buffer):
15852 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15853 (lm-print-y,s,noise, lm-print-w0, lm-init):
15854 * play/gomoku.el (gomoku-prompt-for-move):
15855 * play/fortune.el (fortune-in-buffer):
15856 * play/dissociate.el (dissociated-press):
15857 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15858 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15859 * mail/supercite.el (sc-eref-show):
15860 * mail/smtpmail.el (smtpmail-send-it):
15861 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15862 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15863 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15864 (rmail-summary-goto-msg, rmail-summary-expunge)
15865 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15866 (rmail-summary-add-label, rmail-summary-output-menu)
15867 (rmail-summary-output-body):
15868 * mail/rfc822.el (rfc822-addresses):
15869 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15870 * mail/mailpost.el (post-mail-send-it):
15871 * mail/hashcash.el (hashcash-generate-payment):
15872 * mail/feedmail.el (feedmail-run-the-queue)
15873 (feedmail-queue-send-edit-prompt-help-first)
15874 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15875 (feedmail-deduce-address-list):
15876 * eshell/esh-ext.el (eshell-remote-command):
15877 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15878 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15879 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15880 (viper-save-string-in-file, viper-valid-marker):
15881 * emulation/viper-keym.el (viper-toggle-key):
15882 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15883 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15884 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15885 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15886 (viper-exec-form-in-emacs, viper-brac-function):
15887 * emulation/viper.el (viper-delocalize-var):
15888 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15889 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15890 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15891 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15892 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15893 * emulation/edt.el (edt-electric-helpify):
15894 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15895 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15896 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15897 (cua-indent-to-global-mark-column):
15898 * calendar/diary-lib.el (calendar-mark-1):
15899 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15900 Use with-current-buffer.
15901 * emulation/viper.el (viper-delocalize-var): Use dolist.
15903 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15905 * comint.el (comint-replace-by-expanded-history-before-point):
15906 Replace !! with the previous input string literally (Bug#1795).
15908 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15910 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15911 to be made up of whitespace.
15913 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15915 * minibuffer.el (read-file-name): Don't use file dialogs for
15916 remote directories (Bug#99).
15918 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15920 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15922 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15924 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15925 instead of deleting the window or frame.
15927 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15929 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15930 Support face colors.
15932 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15933 New function. Support face colors (Bug#1168).
15934 (tex-common-initialization): Use it.
15936 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15937 mode allows it (Bug#1168).
15939 2009-10-31 Juri Linkov <juri@jurta.org>
15941 * facemenu.el (list-colors-display): Don't mark buffer as
15942 modified (Bug#3948).
15944 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15946 * international/mule-diag.el (list-character-sets-1):
15947 Minor message fix (Bug#3526).
15949 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15950 Fix face property (Bug#4834).
15951 (etags-list-tags, etags-tags-apropos-additional)
15952 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15955 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15958 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15960 * textmodes/two-column.el (2C-split):
15961 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15962 * textmodes/tex-mode.el (tex-set-buffer-directory):
15963 * textmodes/spell.el (spell-region, spell-string):
15964 * textmodes/reftex.el (reftex-erase-buffer):
15965 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15966 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15967 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15968 (reftex-select-item):
15969 * textmodes/reftex-ref.el (reftex-label-info-update)
15970 (reftex-offer-label-menu):
15971 * textmodes/reftex-index.el (reftex-index-change-entry)
15972 (reftex-index-phrases-info):
15973 * textmodes/reftex-global.el (reftex-create-tags-file)
15974 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15975 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15976 (reftex-view-crossref-from-bibtex):
15977 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15978 (reftex-extract-bib-entries-from-thebibliography)
15979 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15980 * textmodes/refbib.el (r2b-capitalize-title):
15981 (r2b-convert-buffer, r2b-help):
15982 * textmodes/page-ext.el (pages-directory)
15983 (pages-directory-goto-with-mouse):
15984 * textmodes/bibtex.el (bibtex-validate-globally):
15985 * textmodes/bib-mode.el (bib-capitalize-title):
15986 * textmodes/artist.el (artist-clear-buffer, artist-system):
15987 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15988 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15989 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15990 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15991 (xscheme-send-control-g-interrupt, xscheme-start-process)
15992 (xscheme-process-sentinel, xscheme-cd):
15993 * progmodes/verilog-mode.el (verilog-read-always-signals)
15994 (verilog-set-define, verilog-getopt-file)
15995 (verilog-module-inside-filename-p):
15996 * progmodes/sh-script.el:
15997 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15998 (python-pdbtrack-grub-for-buffer, python-execute-file):
15999 * progmodes/octave-inf.el (inferior-octave):
16000 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16001 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16002 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16003 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16004 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16005 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16006 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16007 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16008 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16009 (idlwave-shell-examine-display, idlwave-shell-run-region)
16010 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16011 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16012 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16013 (idlwave-help-get-help-buffer):
16014 * progmodes/gud.el (gud-basic-call, gud-find-class)
16015 (gud-tooltip-activate-mouse-motions-if-enabled):
16016 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16017 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16018 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16019 (ebrowse-tags-next-file):
16020 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16021 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16022 (ebnf-eps-finish-and-write):
16023 * progmodes/cpp.el (cpp-edit-save):
16024 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16025 * progmodes/cc-defs.el (c-emacs-features):
16026 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16027 (antlr-directory-dependencies):
16028 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16029 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16030 (ada-find-any-references, ada-make-filename-from-adaname)
16031 (ada-make-body-gnatstub):
16032 * obsolete/rnews.el (news-list-news-groups):
16033 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16034 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16035 * net/rcirc.el (rcirc-debug):
16036 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16037 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16038 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16039 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16040 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16041 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16042 (newsticker--treeview-list-clear-highlight)
16043 (newsticker--treeview-list-update-highlight)
16044 (newsticker--treeview-list-highlight-start)
16045 (newsticker--treeview-tree-update-highlight)
16046 (newsticker--treeview-get-selected-item)
16047 (newsticker-treeview-mark-list-items-old)
16048 (newsticker--treeview-set-current-node):
16049 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16050 * net/newst-backend.el (newsticker--get-news-by-funcall)
16051 (newsticker--get-news-by-wget, newsticker--image-get)
16052 (newsticker--image-sentinel):
16053 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16054 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16055 (eudc-ph-close-session):
16056 * net/eudc.el (eudc-save-options):
16057 * language/thai-word.el (thai-update-word-table):
16058 * language/japan-util.el (japanese-string-conversion):
16059 * international/titdic-cnv.el (tsang-quick-converter)
16060 (ziranma-converter, ctlau-converter):
16061 * international/mule-cmds.el (describe-language-environment):
16062 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16063 (skkdic-convert-postfix, skkdic-convert-prefix):
16064 (skkdic-convert-okuri-nasi, skkdic-convert):
16065 * emacs-lisp/re-builder.el (reb-update-overlays):
16066 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16067 * emacs-lisp/gulp.el (gulp-send-requests):
16068 * emacs-lisp/find-gc.el (trace-call-tree):
16069 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16070 (eieio-describe-generic):
16071 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16072 * emacs-lisp/edebug.el (edebug-outside-excursion):
16073 * emacs-lisp/debug.el (debugger-make-xrefs):
16074 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16075 * emacs-lisp/chart.el (chart-new-buffer):
16076 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16077 Use with-current-buffer.
16078 * textmodes/artist.el (artist-system): Don't call
16079 copy-sequence on a fresh string.
16080 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16082 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16084 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16085 is no item to edit. (Bug#4820)
16086 (todo-top-priorities): Restore point and restore narrowing in Todo
16089 2009-10-31 Glenn Morris <rgm@gnu.org>
16091 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16092 (comint-last-output-start, comint-last-input-start)
16093 (comint-last-input-end): Don't defvar when compiling.
16094 (ange-ftp-process-file): Use bound-and-true-p.
16096 * pcmpl-rpm.el (top-level): Move provide statement to end.
16097 (pcmpl-rpm): Remove unused custom group.
16099 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16101 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16103 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16104 (byte-compile-warnings): Add `constants' as an option.
16105 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16106 (display-call-tree): Update for byte-compile-fdefinition possibly
16107 returning `(macro lambda ...)'. (Bug#4778)
16108 (byte-compile-variable-ref, byte-compile-setq-default):
16109 Respect `constants' member of byte-compile-warnings.
16111 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16113 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16114 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16117 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16119 * textmodes/ispell.el (ispell-skip-region-alist):
16120 * international/mule-conf.el (eight-bit):
16121 * international/fontset.el (font-encoding-alist):
16122 * startup.el (pure-space-overflow-message):
16123 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16124 * paths.el (gnus-nntp-service, rmail-spool-directory)
16125 (term-file-prefix):
16126 * files.el (save-some-buffers-action-alist):
16127 * cmuscheme.el (same-window-buffer-names):
16128 * ielm.el (same-window-buffer-names):
16129 * shell.el (same-window-buffer-names):
16130 * mail/sendmail.el (same-window-buffer-names):
16131 * progmodes/inf-lisp.el (same-window-buffer-names):
16132 * bindings.el (mode-line-client)
16133 (mode-line-column-line-number-mode-map):
16134 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16135 (tibetan-precomposed-regexp): Purecopy string arguments.
16137 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16139 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16140 (calcDigit-nondigit):
16141 * calc/calc-yank.el (calc-copy-to-buffer):
16142 * calc/calc-units.el (calc-invalidate-units-table):
16143 * calc/calc-trail.el (calc-trail-yank):
16144 * calc/calc-store.el (calc-insert-variables):
16145 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16146 * calc/calc-prog.el (calc-read-parse-table):
16147 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16148 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16149 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16150 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16151 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16152 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16153 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16154 * calc/calc-ext.el (calc-realign):
16155 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16156 (calc-embedded-finish-edit, calc-embedded-make-info)
16157 (calc-embedded-finish-command, calc-embedded-stack-change):
16158 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16160 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16161 shell-dynamic-complete-filename in preference to
16162 comint-dynamic-complete-filename.
16164 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16165 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16166 Don't consider whether the display supports colors.
16167 (bookmark-import-new-list): Use dolist.
16168 (bookmark-bmenu-mode-map): Move initialization into declaration.
16169 (bookmark-bmenu-list): Use dolist, simplify.
16170 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16171 (menu-bar-final-items): Use push.
16173 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16175 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16176 it works on remote files.
16177 (vc-hg-diff): Don't pass any `--cwd' argument.
16179 2009-10-27 Kevin Ryde <user42@zip.com.au>
16181 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16182 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16183 (Further to Bug#3921).
16185 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16187 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16188 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16189 calling `tramp-imap-put-file'. Add file size to the call.
16190 (tramp-imap-get-file-entries): Compute also user name, file size,
16192 (tramp-imap-handle-insert-directory): Insert uid and gid.
16193 (tramp-imap-handle-file-attributes): Transform uid and gid
16194 according to `id-format'.
16195 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16196 size in header X-Size.
16198 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16200 * simple.el (transpose-subr): Give clearer error when the mark
16201 is not set. (Bug#4807)
16203 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16205 * net/tramp.el (tramp-perl-file-truename): New defconst.
16206 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16207 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16208 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16209 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16211 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16212 Ignore `dired-call-process'.
16213 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16215 2009-10-26 Julian Scheid <julians37@gmail.com>
16217 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16218 (tramp-get-remote-readlink): New defun.
16219 (tramp-handle-file-truename): Use it.
16220 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16221 file exists if cache value present.
16222 (tramp-check-cached-permissions): New defun.
16223 (tramp-handle-file-readable-p): Use it.
16224 (tramp-handle-file-writable-p): Likewise.
16225 (tramp-handle-file-executable-p): Likewise.
16226 (tramp-handle-file-name-all-completions): Try using Perl to get
16227 partial completions. When perl not available, combine `cd' and
16228 `ls' into single remote operation and use shell expansion to get
16229 partial remote directory contents. Set `file-exists-p' cache for
16230 directory and any files returned by ls. Change cache handling to
16231 support partial directory contents. Use error message emitted by
16232 remote `cd' or Perl code for local tramp-error.
16233 (tramp-do-copy-or-rename-file-directly): Avoid separate
16234 tramp-send-command-and-check call.
16235 (tramp-handle-process-file): Merge three remote ops into one.
16236 Do not flush all caches when `process-file-side-effects' is set.
16237 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16238 file-attributes shows uid/gid to be set already.
16240 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16242 * textmodes/tex-mode.el (tex-dvi-view-command)
16243 (tex-show-queue-command, tex-open-quote):
16244 * progmodes/ruby-mode.el (auto-mode-alist)
16245 (interpreter-mode-alist): Purecopy strings.
16247 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16249 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16250 string for the hook, keymap and abbrev table.
16252 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16254 * x-dnd.el (x-dnd-xdnd-to-action):
16255 * startup.el (fancy-startup-text, fancy-about-text): Change to
16256 defconst from defvar.
16258 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16260 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16261 Purecopy initialization strings.
16263 * mail/sendmail.el (mail-header-separator)
16264 (mail-personal-alias-file):
16265 * mail/rmail.el (rmail-default-dont-reply-to-names)
16266 (rmail-ignored-headers, rmail-retry-ignored-headers)
16267 (rmail-highlighted-headers, rmail-secondary-file-directory)
16268 (rmail-secondary-file-regexp):
16269 * files.el (null-device, file-name-invalid-regexp)
16270 (locate-dominating-stop-dir-regexp)
16271 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16272 (interpreter-mode-alist): Use mapcar instead of mapc.
16274 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16276 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16277 (completion-ignored-extensions):
16278 (debug-ignored-errors): Purecopy strings.
16280 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16282 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16283 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16284 (pcomplete--here): Use push.
16286 * subr.el (all-completions): Declare the 4th arg obsolete.
16288 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16290 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16291 (pcomplete-unquote-argument): New function.
16292 (pcomplete--common-suffix): Always pay attention to case.
16293 (pcomplete--table-subvert): Quote and unquote the text.
16294 (pcomplete--common-quoted-suffix): New function.
16295 (pcomplete-std-complete): Use it and pcomplete-begin.
16297 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16298 we're inside a dedicated or minibuffer window.
16300 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16302 * bookmark.el: Update documentation, especially documentation
16303 of `bookmark-alist' and of the bookmark file format.
16304 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16306 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16308 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16309 keybindings apply to the mail buffer (Bug#4003). Shrink help
16312 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16313 (global-whitespace-mode, global-whitespace-newline-mode)
16314 (whitespace-toggle-options, global-whitespace-toggle-options):
16315 Doc fix (Bug#3660).
16317 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16318 of xmltok-start before the end tag was inserted (Bug#2840).
16320 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16321 patterns that are preceded by an open-paren (Bug#1320).
16323 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16325 * files.el (delete-directory): Delete symlinks to directories with
16326 delete-file (Bug#4739).
16328 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16330 * vc.el (vc-backend-for-registration): Rename from
16331 vc-get-backend-for-registration. Update callers.
16333 * international/mule-cmds.el (set-language-info-alist):
16335 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16336 (charset): Purecopy the name.
16337 (define-char-code-property): Purecopy string arguments.
16339 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16340 Purecopy string arguments.
16342 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16343 * ediff-hook.el (menu-bar-ediff-menu):
16344 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16345 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16347 2009-10-24 Glenn Morris <rgm@gnu.org>
16349 * comint.el (comint-dynamic-list-completions):
16350 * term.el (term-dynamic-list-completions): Use choose-completion rather
16351 than obsolete alias mouse-choose-completion.
16353 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16354 file-cache-choose-completion.
16355 (file-cache-choose-completion): Handle an optional event argument.
16356 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16358 * progmodes/octave-mod.el (octave-complete-symbol):
16359 Use choose-completion if mouse-choose-completion is ever removed.
16361 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16364 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16367 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16369 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16371 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16372 Ignore `pred' now that we receive one.
16373 Handle test-completion specially.
16375 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16377 * vc.el (vc-responsible-backend): Throw an error if not backend is
16378 found. Remove the REGISTER argument. Move the code dealing with
16380 (vc-get-backend-for-registration): ... here. New function.
16381 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16382 of vc-responsible-backend, pass the file name instead of the
16385 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16387 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16389 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16390 (pcomplete-comint-setup): Don't modify a global var via
16391 accidental side-effects.
16392 (pcomplete-shell-setup): Adjust call accordingly.
16393 (pcomplete-parse-comint-arguments): Use push.
16395 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16397 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16398 Allow uncapitalized info node names (Bug#3921).
16400 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16401 to the DEBUG file (Bug#3781).
16403 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16405 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16406 dictionary entry (Bug#4579).
16408 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16410 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16411 from `rfn-eshadow-update-overlay-hook' when unloading.
16412 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16413 "rsyncc". Adjust doc string.
16414 (tramp-temp-buffer-file-name): New buffer-local defvar.
16415 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16416 Keep temporary file when indicated by method ("rsync" and
16418 (tramp-handle-write-region): Handle APPEND.
16419 (tramp-delete-temp-file-function): New defun. Added to
16420 `kill-buffer-hook'.
16422 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16424 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16426 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16428 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16429 (color-name-rgb-alist, tty-standard-colors)
16430 (tty-color-mode-alist): Change to defconst.
16432 * simple.el (mark-inactive): Purecopy message.
16434 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16435 (global-map, yank-menu):
16436 * textmodes/ispell.el (ispell-menu-map):
16437 * net/eudc.el (eudc-tools-menu):
16438 * international/mule-cmds.el (describe-language-environment-map)
16439 (setup-language-environment-map, set-coding-system-map)
16440 (mule-menu-keymap):
16441 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16442 * replace.el (occur-mode-map):
16443 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16445 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16447 * calc/calc.el (math-read-number, math-read-number-simple):
16448 Use `save-match-data'.
16450 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16452 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16453 rather than fiddling with global-map bindings, since it should only
16454 affect per-terminal settings.
16455 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16457 * minibuffer.el (completion-table-with-terminator): Allow to specify
16458 the terminator-regexp.
16460 * simple.el (switch-to-completions): Look for *Completions* in other
16463 * pcomplete.el: Allow the use of completion-tables.
16464 (pcomplete-std-complete): New command.
16465 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16466 (pcomplete--here): Use a function for `form' rather than an expression,
16467 so it can be byte-compiled.
16468 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16469 Add edebug declaration.
16470 (pcomplete-show-completions): Remove unused var `curbuf'.
16471 (pcomplete-do-complete, pcomplete-stub):
16472 Don't assume `completions' is a list of strings any more.
16474 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16476 * find-dired.el (find-name-arg): Fix typo in docstring.
16478 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16480 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16481 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16483 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16486 * comint.el (comint-read-input-ring, comint-write-input-ring)
16487 (comint-substitute-in-file-name)
16488 (comint-dynamic-complete-as-filename)
16489 (comint-dynamic-simple-complete)
16490 (comint-dynamic-list-filename-completions)
16491 (comint-dynamic-list-completions)
16492 (comint-redirect-results-list-from-process): Minor simplifications.
16494 2009-10-21 Kevin Ryde <user42@zip.com.au>
16496 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16497 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16498 the first form. And insert a blank line after ";;; Code" since
16499 that's usual style. (Bug#4612)
16501 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16503 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16505 * minibuffer.el (completion-table-with-terminator): Properly implement
16506 boundaries, in case `terminator' appears in the suffix.
16507 (completion--embedded-envvar-table): Don't return boundaries if
16508 there's no valid completion. Simplify.
16509 (completion-file-name-table): New completion table extracted from
16510 completion--file-name-table.
16511 (completion--file-name-table): Use it.
16512 (read-file-name-predicate): Declare obsolete.
16513 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16514 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16515 completion-file-name-table, and use the `pred' argument.
16516 * files.el (locate-file-completion-table): Use the `pred' arg rather
16517 than read-file-name-predicate.
16518 (abbreviate-file-name): Use \` rather than ^ for BOS.
16520 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16522 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16523 vc-responsible-backend to register, it causes problems.
16525 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16527 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16529 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16531 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16532 (tramp-smb-handle-file-attributes): Use it.
16533 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16534 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16535 `mapcar'. Use `tramp-smb-get-stat-capability'.
16536 Add `dired-filename' text properties.
16537 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16538 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16541 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16543 * subr.el (read-key-delay): Reduce to 0.01.
16544 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16547 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16549 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16551 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16552 (Info-menu): Remove unused vars `last' and `completions'.
16553 (Info-index-nodes): Remove unused var `node'.
16555 * info.el (Info-complete-menu-item): Use complete-with-action.
16557 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16559 Make vc-annotate work through copies and renames.
16560 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16561 Return the file name too.
16562 (vc-annotate-revision-at-line)
16563 (vc-annotate-find-revision-at-line)
16564 (vc-annotate-revision-previous-to-line)
16565 (vc-annotate-show-log-revision-at-line): Update to get the file
16566 name from vc-annotate-extract-revision-at-line.
16567 (vc-annotate-show-diff-revision-at-line-internal): Change the
16568 argument to mean whether to show a file diff or not. Get the file
16569 name from vc-annotate-extract-revision-at-line.
16570 (vc-annotate-show-diff-revision-at-line):
16571 Update vc-annotate-show-diff-revision-at-line call.
16572 (vc-annotate-warp-revision): Add an optional file argument.
16574 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16575 (vc-git-annotate-extract-revision-at-line): Also return the file
16578 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16579 command. Remove unused code.
16580 (vc-hg-annotate-re): Update to match --follow output.
16581 (vc-hg-annotate-extract-revision-at-line): Also return the file
16584 * vc.el: Update annotate-extract-revision-at-line documentation.
16586 2009-10-18 Kevin Ryde <user42@zip.com.au>
16588 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16589 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16591 * net/browse-url.el (browse-url): Identify alist with "consp and
16592 not functionp" and let all other things go down the `apply' leg,
16593 as suggested by Stefan. (Further to bug#4531.)
16595 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16597 * minibuffer.el (read-file-name): Check for repeat before putting
16598 a default argument in file-name-history (Bug#4657).
16600 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16601 read syntax (Bug#4737).
16603 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16605 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16607 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16608 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16609 entries and make note of obsolete tags.
16611 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16613 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16615 2009-10-18 Glenn Morris <rgm@gnu.org>
16617 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16618 grep, so that binary files (eg international/uni-bidi.el) can match.
16619 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16620 now, and in any case the file header format has changed.
16622 2009-10-17 Glenn Morris <rgm@gnu.org>
16624 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16625 (flyspell-get-word, flyspell-large-region)
16626 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16628 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16630 * Makefile.in (ELCFILES): Add ede/shell.
16632 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16634 * term/common-win.el (x-colors): Purecopy it.
16636 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16638 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16639 permissive for when the buffer is empty.
16640 (tar-header-block-tokenize): Decode the username and groupname.
16641 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16643 2009-10-17 Eric Ludlam <zappo@gnu.org>
16645 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16646 contains multibyte characters, choose first applicable coding
16647 system automatically.
16649 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16651 * international/mule-cmds.el (select-safe-coding-system): If the file
16652 has a coding cookie, use it regardless of any other setting (bug#4712).
16654 2009-10-17 Glenn Morris <rgm@gnu.org>
16656 * foldout.el (foldout-mouse-swallow-events):
16657 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16659 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16660 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16661 (dired-keep-marker-symlink, dired-dwim-target)
16662 (dired-copy-preserve-time): Do not autoload these defcustoms.
16664 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16665 messages from messing up the file coding. (Bug#4623)
16667 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16669 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16670 if no match is found for the current dictionary. (Bug#4578)
16672 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16673 optional, since that is how it is documented, and this is often called
16674 with a nil argument. (Bug#4577)
16675 (flyspell-external-point-words, flyspell-auto-correct-word)
16676 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16677 (flyspell-word-search-backward): Remove nil argument in calls to
16678 flyspell-get-word, since it is not needed now.
16680 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16682 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16684 2009-10-16 Glenn Morris <rgm@gnu.org>
16686 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16688 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16690 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16691 (ange-ftp-file-size): New function.
16692 (ange-ftp-file-attributes): Use it.
16694 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16696 * net/tramp-smb.el (tramp-smb-version): New defvar.
16697 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16700 2009-10-16 Glenn Morris <rgm@gnu.org>
16702 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16703 Maybe copy some custom properties from old to new name. (Bug#4706)
16705 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16707 * subr.el (error, sit-for, start-process-shell-command)
16708 (start-file-process-shell-command): Set the calling convention
16709 after the function definition.
16711 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16713 * subr.el (error, sit-for, start-process-shell-command)
16714 (start-file-process-shell-command): Use the new
16715 set-advertised-calling-convention feature.
16717 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16719 * international/ucs-normalize.el (ucs-normalize-version):
16721 (check-range): Adjust for Unicode 5.2.
16723 2009-10-15 Juri Linkov <juri@jurta.org>
16725 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16726 to the `menu-item' format.
16728 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16730 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16731 if the environment variable does not exist.
16733 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16734 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16736 (tramp-smb-handle-add-name-to-file)
16737 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16738 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16739 (tramp-smb-handle-file-attributes)
16740 (tramp-smb-do-file-attributes-with-stat)
16741 (tramp-smb-handle-file-local-copy)
16742 (tramp-smb-handle-insert-directory)
16743 (tramp-smb-handle-make-directory)
16744 (tramp-smb-handle-make-directory-internal)
16745 (tramp-smb-handle-make-symbolic-link)
16746 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16747 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16748 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16749 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16750 Handle long file names.
16751 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16752 process is running.
16753 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16754 Read share names with "-g" option.
16756 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16758 * net/rcirc.el (rcirc-view-log-file): New command.
16759 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16760 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16763 2009-10-15 Glenn Morris <rgm@gnu.org>
16765 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16766 from the second command-line argument.
16767 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16768 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16769 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16770 w32-batch-update-autoloads.
16771 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16772 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16774 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16775 the headers cannot be located. Simplify, subtracting superflous
16778 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16780 Replace completion-base-size by completion-base-position to fix bugs
16781 such as (bug#4699).
16782 * simple.el (completion-base-position): New var.
16783 (completion-base-size): Mark as obsolete.
16784 (choose-completion): Make it work for mouse events as well.
16785 Pass the new base-position to choose-completion-string.
16786 (choose-completion-guess-base-position): New function, extracted from
16787 choose-completion-delete-max-match.
16788 (choose-completion-delete-max-match): Use it. Make obsolete.
16789 (choose-completion-string): Use the new base-position info.
16790 (completion-root-regexp): Delete.
16791 (completion-setup-function): Preserve completion-base-position.
16792 Eliminate obsolete base-size manipulation.
16793 * minibuffer.el (display-completion-list): Don't mess with base-size.
16794 (minibuffer-completion-help): Set completion-base-position instead.
16795 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16797 * textmodes/bibtex.el (bibtex-complete):
16798 * emacs-lisp/crm.el (crm--choose-completion-string):
16799 Adjust to new calling convention.
16800 * complete.el (partial-completion-mode): Use minibufferp to avoid
16801 bumping into incompatible change to choose-completion-string-functions.
16802 * ido.el (ido-choose-completion-string): Make its calling convention
16804 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16805 base-size manipulation.
16806 (comint-dynamic-list-input-ring): Use dotimes and push.
16807 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16808 fundamental-mode. Use `or'.
16810 2009-10-14 Juri Linkov <juri@jurta.org>
16812 * misearch.el (multi-isearch-next-buffer-from-list)
16813 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16815 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16817 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16820 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16821 string we return is all made up of text from the completions rather
16822 than part from the completions and part from the input (bug#4219).
16824 * ido.el (ido-everywhere): Use define-minor-mode.
16826 * buff-menu.el (list-buffers, ctl-x-map):
16827 Mark the entry points with ;;;###autoload cookies.
16829 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16831 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16832 correctly in the detached head case.
16833 (vc-git-print-log): Remove unused binding.
16835 * vc.el (vc-responsible-backend): When a directory is passed for
16836 for registration create a VC repository if no backend is
16837 responsible for the directory argument.
16838 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16840 * vc.el: Move comments about RCS and SCCS ...
16842 * vc-sccs.el: ... here, respectively.
16844 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16846 * minibuffer.el (completion--file-name-table): Return nil if there's
16847 no file completion, even if substitute-in-file-name changed
16848 the string (bug#4708).
16850 2009-10-13 Juri Linkov <juri@jurta.org>
16852 * files-x.el (read-file-local-variable-value): Don't filter out
16853 minor modes from mode name completion (bug#4664).
16855 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16857 * international/mule-cmds.el (ucs-names): Remove exclusion of
16858 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16860 2009-10-13 Kenichi Handa <handa@m17n.org>
16862 * international/uni-name.el: Regenerated.
16864 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16866 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16867 should be automatically buffer-local, but isn't.)
16869 2009-10-12 Sam Steingold <sds@gnu.org>
16871 * progmodes/compile.el (compilation-next-error-function): Fix the
16872 timestamps if the buffer has been visited before.
16873 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16874 non-anchored patterns, like the perl one (bug#3928).
16876 2009-10-12 Glenn Morris <rgm@gnu.org>
16878 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16881 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16883 * proced.el (proced-unload-function): New function.
16885 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16886 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16889 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16891 2009-10-11 Juri Linkov <juri@jurta.org>
16893 * files-x.el (read-file-local-variable-value):
16894 Provide default value only for bound variables (bug#4664).
16896 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16898 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16899 connection methods like smb.
16901 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16904 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16905 (tramp-smb-file-name-handler-alist): Add handlers for
16906 `add-name-to-file', `make-symbolic-link'.
16907 (tramp-smb-handle-add-name-to-file)
16908 (tramp-smb-do-file-attributes-with-stat)
16909 (tramp-smb-handle-make-symbolic-link)
16910 (tramp-smb-get-cifs-capabilities): New defuns.
16911 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16912 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16913 (tramp-smb-handle-file-local-copy)
16914 (tramp-smb-handle-make-directory-internal)
16915 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16916 The file name syntax depends on cifs capabilities.
16917 (tramp-smb-handle-file-attributes):
16918 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16919 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16920 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16922 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16924 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16925 (eieio-defclass): Apply deftype handler and setf-method properties
16927 (eieio-add-new-slot): Avoid union function from cl library.
16928 (eieio--typep): New function.
16929 (eieio-perform-slot-validation): Use it.
16931 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16933 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16934 Update documentation to refer to the variables documented in r1.135.
16937 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16939 * bookmark.el (Info-suffix-list): Remove this unused variable.
16940 (bookmark-current-point): Remove this obsolete variable.
16941 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16942 Adjust for removal of bookmark-current-point.
16944 (bookmarks-already-loaded, bookmark-current-buffer)
16945 (bookmark-yank-point): Document. (Bug#4188)
16947 2009-10-10 Glenn Morris <rgm@gnu.org>
16949 * frame.el (frame-height): Doc fix.
16951 * calendar/calendar.el (calendar-split-width-threshold): New option.
16952 (calendar-basic-setup): Use calendar-split-width-threshold.
16954 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16956 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16957 Ideographic Supplement" range (U+1F200..U+1F2FF).
16959 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16961 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16962 since the list will have been rebuilt anyway. (Bug#4349)
16964 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16966 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16967 (bookmark-bmenu-execute-deletions): Don't save here, as
16968 bookmark-delete will now do so if necessary.
16969 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16972 2009-10-09 Glenn Morris <rgm@gnu.org>
16974 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16976 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16978 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16979 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16980 argument now, so the two function's behaviors will match. (Bug#3645)
16982 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16984 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16985 (tramp-file-name-real-host, tramp-file-name-port):
16986 Apply `save-match-data'.
16988 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16989 case both directories are remote.
16990 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16991 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16993 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16995 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16997 2009-10-07 Glenn Morris <rgm@gnu.org>
16999 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17002 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17004 * files-x.el (read-file-local-variable): Include some
17005 non-user-variables in the completion table (bug#4664).
17007 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17009 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17012 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17013 (tramp-smb-file-name-handler-alist): Add handler for
17014 `copy-directory', `expand-file-name', `set-file-modes'.
17015 (tramp-smb-handle-copy-directory)
17016 (tramp-smb-handle-expand-file-name)
17017 (tramp-smb-handle-set-file-modes): New defuns.
17018 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17019 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17021 (tramp-smb-handle-insert-directory): Don't flush the cache.
17022 (tramp-smb-maybe-open-connection): Check for samba client and
17025 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17027 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17028 to not error out of search for "^lisp=" fails.
17030 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17032 * makefile.w32-in (WINS_UPDATES): New macro.
17033 (custom-deps, finder-data, autoloads): Use it.
17035 2009-10-07 Glenn Morris <rgm@gnu.org>
17037 * Makefile.in (autoloads): Revert previous change.
17038 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17039 the list of preloaded files passed on the command-line, get
17040 it from src/Makefile.
17042 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17043 show the original buffer rather than a random one.
17045 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17047 * help.el (describe-no-warranty): Place point in a slightly better
17048 position in the GPLv3 text.
17050 2009-10-06 Sam Steingold <sds@gnu.org>
17052 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17053 the comm attribute is present before calling regexp-quote.
17055 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17057 * play/animate.el (animate-string): For good effect, make sure
17058 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17060 * play/animate.el (animate-sequence, animate-birthday-present):
17061 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17063 2009-10-06 Glenn Morris <rgm@gnu.org>
17065 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17067 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17068 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17069 (batch-update-autoloads): Process a string value of autoload-excludes,
17070 set during the build process.
17071 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17073 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17074 inside with-parsed... macro so that `v' is defined.
17076 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17077 * progmodes/fortran.el (fortran-end-of-block)
17078 (fortran-beginning-of-block):
17079 Also push mark in the macro case.
17081 * emerge.el (emerge-show-file-name):
17082 * calc/calc.el (calc-quit):
17083 * calc/calc-misc.el (calc-big-or-small):
17084 * calc/calc-graph.el (calc-graph-view):
17085 * calc/calc-ext.el (calc-reset):
17086 * calendar/calendar.el (calendar-basic-setup):
17087 Use window-full-height-p.
17089 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17090 header we don't understand, don't insert another. (Bug#4624)
17091 If changing mime charset, insert the new one in the right place.
17093 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17095 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17096 (cal-tex-cursor-month): Correctly increment the end date for diary and
17097 holiday listing. (Bug#4626)
17099 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17101 * help-fns.el (describe-function-1): Don't burp if the function is not
17104 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17106 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17107 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17108 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17109 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17111 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17112 (eieio-default-superclass): Reflow docstrings.
17113 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17114 (eieio-unbind-method-implementations, defmethod)
17115 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17116 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17117 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17118 (eieio-slot-originating-class-p, eieio-slot-name-index)
17119 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17120 (constructor, initialize-instance, no-next-method, object-print)
17121 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17122 Fix typos in docstrings.
17123 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17124 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17125 (next-method-p): Doc fixes.
17126 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17127 Fix typos in error messages.
17128 (eieio-defmethod): Fix typo in description of generic method.
17130 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17131 (eieio-persistent-save-interactive, slot-missing):
17132 Fix typos in docstrings.
17133 (eieio-instance-inheritor-slot-boundp): Doc fix.
17135 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17136 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17138 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17139 (eieio-custom-object-apply-reset):
17140 Fix typos in docstrings and error messages.
17142 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17143 Fix typo in docstring.
17145 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17146 (eieio-browse-tree): Doc fix.
17147 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17148 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17149 Fix typos in docstrings.
17151 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17152 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17153 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17154 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17157 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17159 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17160 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17161 Set log-view-vc-backend so that diff can work.
17163 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17165 (vc-diff-internal): Autoload this instead of vc-version-diff.
17167 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17169 * simple.el (eval-expression): Doc fix.
17171 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17173 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17175 * files.el (directory-files-no-dot-files-regexp): New defconst.
17176 (delete-directory): Use it.
17177 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17179 * net/tramp.el (tramp-verbose): Fix docstring.
17180 (tramp-methods): Add recursive option to `tramp-copy-args'.
17181 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17182 "scp1_old", "scp2_old", "rsync", "rsyncc".
17183 (tramp-default-method): Check also for `auth-source-user-or-password'.
17184 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17185 Add handler for `copy-directory'.
17186 (tramp-handle-copy-directory): New defun.
17187 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17188 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17189 Optimize sent command.
17191 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17193 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17194 window if necessary.
17196 * calendar/calendar.el (calendar-basic-setup): Don't call
17197 switch-to-buffer in a dedicated window.
17199 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17201 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17202 don't do anything related to relocating, just return nil.
17203 (bookmark-error-no-filename): New error.
17204 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17205 bookmark has no file. Don't even attempt to handle things that
17206 are not files; the whole point of custom handlers is to keep that
17207 knowledge elsewhere anyway. Tighten some comments.
17208 (bookmark-file-or-variation-thereof): Remove now-unused function.
17209 (bookmark-location): Doc string fix.
17212 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17214 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17215 don't use a file dialog, because they usually don't know how to read
17216 a directory target from the user. (Bug#4230)
17217 Also, make sure the prompt can display directories as well as files.
17219 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17221 * bookmark.el (bookmark-set, bookmark-buffer-name):
17222 Improve doc strings. (Bug#1193)
17224 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17226 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17227 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17228 (bookmark-get-annotation, bookmark-set-annotation)
17229 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17230 (bookmark-set-position, bookmark-get-front-context-string)
17231 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17232 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17233 (bookmark-jump-other-window, bookmark-handle-bookmark)
17234 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17235 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17236 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17237 Improve doc strings to say whether bookmark can be a string or
17238 a record or both, and make other consistency and clarity fixes.
17239 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17240 (bookmark-default-annotation-text, bookmark-yank-word)
17241 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17242 (bookmark-import-new-list, bookmark-maybe-rename)
17243 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17244 (bookmark-bmenu-bookmark): Give these doc strings.
17245 (bookmark-bmenu-check-position): Give this a doc string, but also
17246 add a FIXME comment about how the function may be pointless.
17247 (bookmark-default-handler): Rework doc string and change a
17248 parameter name, to clarify that this takes a bookmark record
17249 not a bookmark name.
17250 (bookmark-set): Change a parameter name to indicate its meaning,
17251 and improve the doc string a bit.
17254 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17256 * bookmark.el (bookmark-alist): Document the new `handler' element
17257 in the param alist.
17258 (bookmark-make-record-function): Adjust documentation for above.
17261 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17263 * info.el (Info-bookmark-make-record): Document this function.
17264 (Info-bookmark-jump): Document with a doc string, not just a comment.
17267 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17269 * files.el (copy-directory): New defun.
17271 * dired-aux.el (dired-copy-file-recursive): Use it.
17273 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17275 * files-x.el (modify-dir-local-variable)
17276 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17279 * recentf.el (recentf-unload-function): New function.
17281 2009-10-04 Glenn Morris <rgm@gnu.org>
17283 * window.el (window-full-height-p): Add doc string.
17285 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17287 * window.el (window-full-height-p): New function. (Bug#4543)
17289 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17291 * vc.el: Remove commented out code.
17292 (vc-derived-from-dir-mode): Remove, unused.
17293 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17295 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17297 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17298 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17299 there could be recursive loading when `default-directory' is a
17300 remote file name. (Bug#4614)
17302 2009-10-03 Glenn Morris <rgm@gnu.org>
17304 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17306 (calendar-generate-window): Test for shrinkability rather than width.
17308 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17309 reusing existing buffers, in case we happen to visit two files with the
17310 same basename. (Bug#4593)
17312 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17314 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17315 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17316 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17317 subdirs of cedet as well.
17318 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17320 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17322 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17323 Obey advertised-signature-table.
17325 * help-fns.el (help-function-arglist): Don't check
17326 advertised-signature-table.
17327 (describe-function-1): Do it here instead so it also applies to subrs.
17329 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17331 * simple.el (start-file-process): Say in the doc-string, that file
17332 handlers might not support pty association, if PROGRAM is nil.
17334 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17335 HOST and USER are strings. They are nil, when there are
17336 incomplete entries in ~/.netrc, for example.
17337 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17338 root directory ("device busy" error otherwise).
17340 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17341 Flush file properties of created directory.
17343 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17345 * makefile.w32-in (WINS_BASIC): Remove cedet.
17346 (WINS_CEDET): Add cedet.
17347 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17349 2009-10-02 Kevin Ryde <user42@zip.com.au>
17351 * net/browse-url.el (browse-url): Pass any symbol in
17352 browse-url-browser-function to `apply', since if you've mistakenly put
17353 an unbound symbol then the error is clearer. (Bug#4531)
17355 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17357 * allout.el (allout-init, allout-back-to-current-heading)
17358 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17359 (allout-ascend, allout-up-current-level, allout-end-of-level)
17360 (allout-previous-visible-heading, allout-forward-current-level)
17361 (allout-backward-current-level, allout-show-children):
17362 * apropos.el (apropos-describe-plist):
17363 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17364 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17365 * completion.el (add-completion, add-permanent-completion):
17366 * descr-text.el (describe-text-category, describe-char):
17367 * desktop.el (desktop-lazy-abort):
17368 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17369 * dired.el (dired-build-subdir-alist):
17370 * ediff.el (ediff-version):
17371 * elide-head.el (elide-head, elide-head-show):
17372 * emerge.el (emerge-version):
17374 * face-remap.el (variable-pitch-mode):
17375 * faces.el (describe-face):
17376 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17378 * files.el (find-file-existing, auto-save-mode):
17379 * font-lock.el (font-lock-fontify-buffer):
17380 * help-fns.el (describe-function, describe-variable)
17381 (describe-syntax, describe-categories):
17382 * help.el (view-lossage, describe-bindings, describe-key)
17384 * hexl.el (hexl-current-address):
17385 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17386 * info.el (Info-goto-emacs-key-command-node):
17387 * log-edit.el (log-edit-insert-cvs-template)
17388 (log-edit-insert-cvs-rcstemplate):
17389 * menu-bar.el (menu-bar-mode):
17390 * mouse.el (mouse-appearance-menu):
17391 * newcomment.el (comment-indent-new-line):
17392 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17393 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17394 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17395 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17396 * recentf.el (recentf-mode):
17397 * savehist.el (savehist-mode, savehist-save):
17398 * shadowfile.el (shadow-copy-files):
17399 * simple.el (kill-ring-save, next-line, previous-line)
17400 (normal-erase-is-backspace-mode):
17401 * strokes.el (strokes-update-window-configuration)
17402 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17403 (strokes-xpm-for-stroke):
17404 * time.el (emacs-uptime, emacs-init-time):
17405 * tutorial.el (tutorial--describe-nonstandard-key)
17406 (tutorial--detailed-help):
17407 * type-break.el (type-break-mode)
17408 (type-break-mode-line-message-mode, type-break-query-mode)
17409 (type-break-guesstimate-keystroke-threshold):
17410 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17411 * version.el (emacs-version):
17412 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17413 * winner.el (winner-mode):
17414 * calendar/timeclock.el (timeclock-in, timeclock-out)
17415 (timeclock-status-string, timeclock-change)
17416 (timeclock-workday-remaining-string)
17417 (timeclock-workday-elapsed-string)
17418 (timeclock-when-to-leave-string):
17419 * calendar/todo-mode.el (todo-add-category):
17420 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17421 * emacs-lisp/autoload.el (update-file-autoloads):
17422 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17423 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17424 (checkdoc-message-text, checkdoc-defun):
17425 * emacs-lisp/debug.el (debugger-list-functions):
17426 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17427 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17428 (eieio-describe-generic):
17429 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17430 * emacs-lisp/shadow.el (list-load-path-shadows):
17431 * emulation/cua-base.el (cua-mode):
17432 * emulation/edt.el (edt-set-scroll-margins):
17433 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17434 (tpu-toggle-regexp, tpu-toggle-search-direction)
17435 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17436 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17437 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17438 (viper-set-parsing-style-toggling-macro)
17439 (viper-set-emacs-state-searchstyle-macros):
17440 * emulation/viper.el (viper-set-hooks):
17441 * eshell/esh-mode.el (eshell-truncate-buffer):
17442 * international/mule-cmds.el (prefer-coding-system)
17443 (describe-input-method, describe-language-environment):
17444 * international/mule-diag.el (list-character-sets)
17445 (describe-character-set, describe-coding-system)
17446 (describe-fontset, list-fontsets, list-input-methods):
17447 * mail/sendmail.el (mail-signature):
17448 * net/ange-ftp.el (ange-ftp-copy-file):
17449 * net/browse-url.el (browse-url):
17450 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17451 * net/quickurl.el (quickurl-add-url):
17452 * net/rcirc.el (names, topic):
17453 * net/xesam.el (xesam-mode):
17454 * play/5x5.el (5x5-new-game):
17455 * play/yow.el (apropos-zippy):
17456 * progmodes/ada-mode.el (ada-mode-version):
17457 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17459 (f90-beginning-of-block):
17460 * progmodes/fortran.el (fortran-end-of-block)
17461 (fortran-beginning-of-block):
17462 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17463 * progmodes/python.el (python-describe-symbol, python-shell):
17464 * term/ns-win.el (ns-print-buffer):
17465 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17466 * textmodes/flyspell.el (flyspell-mode-on):
17467 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17468 (pages-directory-for-addresses):
17469 * textmodes/table.el (table-recognize-cell)
17470 (table-query-dimension, table-generate-source)
17471 (table-insert-sequence, table--warn-incompatibility):
17472 * textmodes/tex-mode.el (tex-validate-buffer):
17473 * textmodes/texinfmt.el (texinfmt-version)
17474 (texinfo-format-buffer):
17475 Use `called-interactively-p' instead of `interactive-p'.
17477 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17479 * image-mode.el (image-toggle-display):
17480 * emacs-lisp/elp.el (elp-instrument-function):
17481 * emacs-lisp/advice.el (ad-make-advised-definition):
17482 * emacs-lisp/easy-mmode.el (define-minor-mode):
17483 * net/browse-url.el (browse-url-maybe-new-window):
17484 * progmodes/sh-script.el (sh-learn-buffer-indent):
17485 Pass new argument 'any to `called-interactively-p'.
17487 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17489 * international/uni-bidi.el:
17490 * international/uni-category.el:
17491 * international/uni-combining.el:
17492 * international/uni-comment.el:
17493 * international/uni-decimal.el:
17494 * international/uni-decomposition.el:
17495 * international/uni-digit.el:
17496 * international/uni-lowercase.el:
17497 * international/uni-mirrored.el:
17498 * international/uni-name.el:
17499 * international/uni-numeric.el:
17500 * international/uni-old-name.el:
17501 * international/uni-titlecase.el:
17502 * international/uni-uppercase.el:
17503 Regenerate from Unicode 5.2.0 data.
17505 2009-10-01 Glenn Morris <rgm@gnu.org>
17507 * Makefile.in (ELCFILES): Regenerate.
17509 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17511 * subr.el (interactive-p): Mark obsolete.
17512 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17513 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17514 advertised-signature-table for subroutines as well.
17516 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17517 (set-advertised-calling-convention): New function.
17518 (make-obsolete, define-obsolete-function-alias)
17519 (make-obsolete-variable, define-obsolete-variable-alias):
17520 Make the optional-ness of `when' obsolete.
17521 (define-obsolete-face-alias): Make `when' non-optional.
17522 * help-fns.el (help-function-arglist):
17523 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17524 Use advertised-signature-table.
17526 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17528 * files.el (delete-directory): New defun. The original function
17529 in fileio.c has been renamed to `delete-directory-internal'.
17531 * dired.el (dired-delete-file): Call `delete-directory' with
17532 RECURSIVE parameter.
17534 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17535 parameter RECURSIVE. Implementation is missing.
17537 * net/tramp.el (tramp-handle-make-directory): Flush upper
17538 directory's file properties.
17539 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17540 (tramp-handle-dired-recursive-delete-directory): Flush directory
17541 properties after the remove command only.
17543 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17544 Handle optional parameter RECURSIVE.
17546 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17547 Handle optional parameter RECURSIVE.
17549 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17550 connection timeout.
17551 (tramp-smb-handle-delete-directory): Handle optional parameter
17554 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17556 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17557 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17558 (byte-compile-defmacro): Use backquotes.
17560 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17562 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17563 has no associated file.
17564 (vc-resynch-buffer): Use vc-dir-buffers.
17566 2009-10-01 Glenn Morris <rgm@gnu.org>
17568 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17569 (chart-file-count):
17570 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17571 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17572 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17573 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17574 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17575 (eieio-copy-parents-into-subclass, make-instance, class-children)
17576 (eieio-generic-form):
17578 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17579 match-data. (Bug#4555).
17581 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17582 rather than parsing it as a regexp. This relaxes the layout
17583 requirements and makes errors easier to detect.
17584 (check-declare-verify): Check file is regular.
17585 (check-declare-directory): Doc fix.
17586 * subr.el (declare-function): Doc fix.
17588 * ibuffer.el (ibuffer-format-qualifier):
17589 * isearch.el (hi-lock-regexp-okay):
17590 * calc/calc.el (math-zerop):
17591 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17592 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17593 Remove unused declarations.
17595 2009-09-30 Eric Ludlam <zappo@gnu.org>
17597 * emacs-lisp/eieio.el (boolean-p): Delete.
17599 2009-09-30 Glenn Morris <rgm@gnu.org>
17601 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17603 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17604 filename is not a string.
17606 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17608 * files.el (safe-local-eval-forms): Fix typo.
17610 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17612 * vc-hooks.el (vc-dir-buffers): New var.
17613 (vc-state-refresh): New function.
17614 (vc-state): Use it.
17615 (vc-after-save): Always ask the backend to recompute the new state.
17616 Always call vc-dir if necessary, using vc-dir-buffers.
17617 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17618 Use vc-dir-buffers.
17619 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17620 (vc-dir-prepare-status-buffer, vc-dir-update)
17621 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17622 Don't call expand-file-name on default-directory.
17624 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17626 * speedbar.el (speedbar-item-delete):
17627 * calc/calc-prog.el (calc-kbd-if):
17628 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17630 * epa.el (epa-key-list-mode-map):
17631 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17633 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17634 (hs-show-hook): Fix typo in docstring.
17636 2009-09-29 Glenn Morris <rgm@gnu.org>
17638 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17639 file-name-nondirectory call preventing location of cedet files.
17640 (check-declare-verify): Use literal search rather than re-search.
17641 Add basic defmethod and defclass, and define-overloadable-function.
17643 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17644 Use tramp-compat-file-attributes rather than nonexistent
17645 tramp-compat-handle-file-attributes.
17647 * Makefile.in (lisptagsfiles4): New.
17648 (AUTOGENEL): Add cedet loaddefs files.
17649 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17650 (update-elclist, compile-always, backup-compiled-files)
17651 (bootstrap-clean): Add yet another directory level.
17652 (update-elclist): Use LC_COLLATE rather than COLLATE.
17653 (ELCFILES): Update, via `make update-elclist'.
17655 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17657 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17658 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17659 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17661 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17663 * Makefile.in (lisptagsfiles3): Define.
17664 (TAGS, TAGS-LISP): Use it.
17665 (update-elclist): Add third directory level to look for elc files.
17666 (compile-always): Likewise.
17667 (backup-compiled-files): Likewise.
17668 (bootstrap-clean): Likewise.
17669 (ELCFILES): Update.
17671 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17673 * Makefile.in (ELCFILES): Add CEDET files.
17675 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17677 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17679 * net/tramp.el (top): Require tramp-imap.
17681 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17682 Use `tramp-compat-handle-file-attributes'.
17684 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17686 * net/tramp-imap.el: New package.
17688 2009-09-28 Eric Ludlam <zappo@gnu.org>
17690 * emacs-lisp/chart.el:
17691 * emacs-lisp/eieio-base.el:
17692 * emacs-lisp/eieio-comp.el:
17693 * emacs-lisp/eieio-custom.el:
17694 * emacs-lisp/eieio-datadebug.el:
17695 * emacs-lisp/eieio-opt.el:
17696 * emacs-lisp/eieio-speedbar.el:
17697 * emacs-lisp/eieio.el: New files.
17699 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17701 * whitespace.el (whitespace-trailing-regexp)
17702 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17705 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17707 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17710 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17711 menu-bar-ediff-menu.
17713 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17714 define-overloadable-function.
17716 * progmodes/autoconf.el: Provide autoconf as well, so that this
17717 file can be `require'd.
17719 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17721 * emacs-lisp/autoload.el (generated-autoload-feature)
17722 (generated-autoload-load-name): New vars.
17723 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17724 (make-autoload): Recognize define-overloadable-function and
17725 defclass forms (for EIEIO).
17727 * Makefile.in (update-subdirs): Exclude cedet directory.
17729 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17731 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17733 * faces.el: Default light-background background for region face to
17734 ns_selection_color under NS.
17736 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17738 * net/imap-hash.el: New library, see NEWS.
17740 * Makefile.in (ELCFILES): Add imap-hash.el.
17742 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17744 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17745 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17746 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17747 definition where the docstring could be taken for the return value.
17749 2009-09-26 Glenn Morris <rgm@gnu.org>
17751 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17752 Add option to only show images below a certain size.
17753 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17754 save-excursion calls.
17756 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17758 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17759 subdirectories) and eieio.
17761 2009-09-26 Alan Mackenzie <acm@muc.de>
17763 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17764 Correct buggy bracketing. (Bug#4289)
17766 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17767 character constants (as case labels). (Bug#4289)
17769 2009-09-25 Juri Linkov <juri@jurta.org>
17771 * files.el (safe-local-eval-forms): Allow time-stamp in
17772 before-save-hook (Bug#4554).
17774 2009-09-25 Drew Adams <drew.adams@oracle.com>
17776 * menu-bar.el (list-buffers-directory): Doc fix.
17778 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17780 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17781 Try and avoid copying twice the same paragraph.
17782 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17783 Remove save-excursion.
17784 (log-edit-changelog-entry): Do it here instead.
17786 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17788 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17789 when available, instead of hardcoding mode names. Doc fix.
17791 * menu-bar.el (list-buffers-directory): Add docstring.
17792 Make automatically buffer-local.
17794 * dired.el (dired-mode):
17795 * files.el (cd-absolute):
17796 * pcvs.el (cvs-temp-buffer):
17797 * pcvs-util.el (cvs-get-buffer-create):
17798 * shell.el (shell-mode):
17799 * vc-dir.el (vc-dir-mode):
17800 Don't make `list-buffers-directory' buffer local.
17802 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17804 * comint.el (comint-exec, comint-run, make-comint):
17805 Doc fixes (Bug#4542).
17807 2009-09-25 Glenn Morris <rgm@gnu.org>
17809 * mail/rmailmm.el (rmail-mime): New custom group.
17810 Move all defcustoms in this file into this group.
17811 (rmail-mime-media-type-handlers-alist): Revert previous change.
17812 (rmail-mime-show-images): New option.
17813 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17814 references to it, since it wasn't actually used for anything.
17815 (rmail-mime-insert-image): New function.
17816 (rmail-mime-image): Use rmail-mime-insert-image.
17817 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17818 obey the value of `rmail-mime-show-images' option. Print the size of
17821 2009-09-25 David Engster <deng@randomsample.de>
17823 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17825 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17827 * whitespace.el: Does not highlight trailing spaces While point is
17828 at end of line. Does not highligt spaces at beginning of buffer
17829 while point is at beginning of buffer. Does not highlight spaces
17830 at end of buffer while point is at end of buffer. (Bug#4177)
17832 (whitespace-display-mappings): Adjust initialization.
17833 (whitespace-point, whitespace-font-lock-refontify): New vars.
17834 (whitespace-color-on, whitespace-color-off): Adjust code.
17835 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17836 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17837 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17839 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17841 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17843 * textmodes/sgml-mode.el: Remove xml-mode alias.
17845 * files.el (auto-mode-alist, conf-mode-maybe)
17846 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17848 2009-09-24 Alan Mackenzie <acm@muc.de>
17850 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17851 c-forward-conditionals, but it doesn't move point and doesn't set
17853 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17854 (c-down-conditional-with-else, c-backward-conditional)
17855 (c-forward-conditional): Refactor to use c-scan-conditionals.
17857 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17859 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17860 (help-default-arg-highlight): Remove.
17861 (help-highlight-arg): New function.
17862 (help-do-arg-highlight): Use it.
17863 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17865 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17867 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17868 Undo last change, which didn't fix the problem and introduced others.
17870 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17872 * progmodes/gdb-mi.el: Don't require speedbar.
17873 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17875 2009-09-24 Glenn Morris <rgm@gnu.org>
17877 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17879 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17881 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17882 there is no newline after the final mime boundary. (Bug#4539)
17883 Move markers on insertion so that any buttons inserted don't end up in
17884 the next part of a multipart message.
17885 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17886 (rmail-mime-bulk-handler): Optionally handle images.
17887 (rmail-mime-image): New button action.
17888 (rmail-mime-image-handler): New function.
17889 (rmail-mime-mode): New mode.
17890 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17892 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17894 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17895 than just dropping elements from it (bug#4504).
17897 * term.el (term-set-scroll-region): Don't move cursor any more.
17898 (term-handle-ansi-escape): Call term-goto here instead.
17899 Suggested by Ivan Kanis <apple@kanis.eu>.
17901 * term.el: Require CL.
17902 (term-ansi-reset): New function.
17903 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17904 (term-handle-colors-array): Simplify.
17906 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17908 * allout.el (allout-overlay-interior-modification-handler)
17909 (allout-obtain-passphrase):
17910 * epa-file.el (epa-file-write-region):
17911 * ps-print.el (ps-begin-job):
17912 * vc-hooks.el (vc-toggle-read-only):
17913 * vc-rcs.el (vc-rcs-rollback):
17914 * vc-sccs.el (vc-sccs-rollback):
17915 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17916 (vc-version-diff, vc-revert, vc-rollback):
17917 * wdired.el (wdired-check-kill-buffer):
17918 * emacs-lisp/authors.el (authors):
17919 * net/socks.el (socks-open-connection):
17920 * net/zeroconf.el (zeroconf-service-add-hook):
17921 * obsolete/vc-mcvs.el (vc-mcvs-register):
17922 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17923 (gdb-select-frame):
17924 * progmodes/grep.el (lgrep, rgrep):
17925 * progmodes/idlw-help.el (idlwave-help-check-locations)
17926 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17927 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17928 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17929 (reftex-toc-rename-label): Fix typos in error messages.
17931 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17932 (dired-copy-how-to-fn): Doc fix.
17933 (dired-files-attributes, dired-read-shell-command):
17934 Fix typos in docstrings.
17936 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17937 (dired-x-find-file-other-window): Reflow docstrings.
17938 (dired-omit-marker-char, dired-read-shell-command)
17939 (dired-x-submit-report): Fix typos in docstrings.
17941 * shell.el (shell-mode-hook):
17942 * view.el (View-scroll-line-forward):
17943 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17944 Fix typos in docstrings.
17946 * net/dig.el (dig-invoke): Fix typo in docstring.
17947 (query-dig): Reflow docstring.
17949 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17950 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17951 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17952 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17953 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17954 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17955 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17956 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17957 (idlwave-completion-map, idlwave-current-indent)
17958 (idlwave-custom-ampersand-surround, idlwave-customize)
17959 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17960 (idlwave-define-abbrev, idlwave-determine-class-special)
17961 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17962 (idlwave-end-block-reg, idlwave-end-of-statement)
17963 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17964 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17965 (idlwave-explicit-class-listed, idlwave-file-header)
17966 (idlwave-fill-paragraph, idlwave-find-class-definition)
17967 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17968 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17969 (idlwave-in-quote, idlwave-indent-action-table)
17970 (idlwave-indent-expand-table, idlwave-indent-line)
17971 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17972 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17973 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17974 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17975 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17976 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17977 (idlwave-outlawed-buffers, idlwave-popup-select)
17978 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17979 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17980 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17981 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17982 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17983 (idlwave-statement-type, idlwave-struct-skip)
17984 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17985 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17986 (idlwave-what-module-find-class): Fix typos in docstrings.
17987 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17988 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17989 (idlwave-find-module, idlwave-find-structure-definition)
17990 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17991 (idlwave-list-load-path-shadows, idlwave-next-statement)
17992 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17993 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17994 (idlwave-template): Reflow docstrings.
17996 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17997 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17998 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17999 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18000 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18001 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18002 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18003 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18004 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18005 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18006 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18007 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18008 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18009 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18010 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18011 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18012 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18013 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18014 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18015 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18016 Fix typos in docstrings.
18017 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18018 (idlwave-shell-hide-output, idlwave-shell-mode)
18019 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18022 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18024 2009-09-24 Ivan Kanis <apple@kanis.eu>
18026 * term.el (term-bold-attribute): New var.
18027 (term-handle-colors-array): Use it.
18029 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18031 * progmodes/gdb-mi.el (gdb-version): New variable.
18032 (gdb-non-stop-handler): Set gdb-version.
18033 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18034 Condition "--thread" option on gdb-version.
18035 (gdb-invalidate-threads): Remove unused argument.
18037 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18039 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18040 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18042 2009-09-23 Glenn Morris <rgm@gnu.org>
18044 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18045 replying to mail without References or Message-Id. (Bug#4525)
18047 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18049 * term/ns-win.el (ns-reg-to-script): New variable.
18051 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18053 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18055 2009-09-22 Sam Steingold <sds@gnu.org>
18057 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18058 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18059 to 1 because hg returns status 1 when nothing is found.
18060 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18062 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18064 * textmodes/fill.el: Convert to utf-8 encoding.
18065 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18068 * add-log.el (change-log-fill-forward-paragraph): New function.
18069 (change-log-mode): Use it so fill-region DTRT.
18070 Set fill-indent-according-to-mode here rather than in
18071 change-log-fill-paragraph.
18072 (change-log-fill-paragraph): Remove.
18074 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18076 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18077 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18079 2009-09-22 Glenn Morris <rgm@gnu.org>
18081 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18082 the scroll-bar scroll the calendar window rather than the buffer.
18084 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18085 commands that move point (as opposed to scrolling).
18087 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18089 * emacs-lisp/elint.el (elint): New custom group.
18090 (elint-log-buffer): Make it a defcustom.
18091 (elint-scan-preloaded, elint-ignored-warnings)
18092 (elint-directory-skip-re): New options.
18093 (elint-builtin-variables): Doc fix.
18094 (elint-preloaded-env): New variable.
18095 (elint-unknown-builtin-args): Add an entry for encode-time.
18096 (elint-extra-errors): Make it a variable rather than a constant.
18097 (elint-preloaded-skip-re): New constant.
18098 (elint-directory): Skip files matching elint-directory-skip-re.
18099 (elint-features): New variable, local to linted buffers.
18100 (elint-update-env): Initialize elint-features. Possibly add
18101 elint-preloaded-env to the buffer's environment.
18102 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18104 (elint-init-form): New function, extracted from elint-init-env.
18105 Make non-list forms a warning rather than an error.
18106 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18107 easy-menu-define, put that adds an error-condition, and provide.
18108 When requiring cl, also require cl-macs. Really require cl, to handle
18109 some cl macros. Store required libraries in the list elint-features,
18110 so as not to re-load them. Treat cc-require like require.
18111 (elint-init-env): Call elint-init-form to do the work.
18112 Handle eval-and-compile and such like.
18113 (elint-add-required-env): Do not clear messages.
18114 (elint-special-forms): Add handlers for function, defalias, if, when,
18116 (elint-form): Add optional argument to ignore elint-special-forms,
18117 useful to prevent recursive calls from handlers. Doc fix.
18118 Respect elint-ignored-warnings.
18119 (elint-form): Respect elint-ignored-warnings.
18120 (elint-bound-variable, elint-bound-function): New variables.
18121 (elint-unbound-variable): Respect elint-bound-variable.
18122 (elint-get-args): Respect elint-bound-function.
18123 (elint-check-cond-form): Add some simple handling for (f)boundp and
18125 (elint-check-defalias-form): New handler.
18126 (elint-check-let-form): Make an empty let a warning rather than an
18128 (elint-check-setq-form): Make an empty setq a warning rather than an
18129 error. Respect elint-ignored-warnings.
18130 (elint-check-defvar-form): Accept null doc-strings.
18131 (elint-check-conditional-form): New handler. Does some simple-minded
18132 checking of featurep and (f)boundp tests.
18133 (elint-put-function-args): New function.
18134 (elint-initialize): Use elint-scan-doc-file rather than
18135 elint-find-builtin-variables. Use elint-put-function-args.
18136 Possibly scan preloaded-file-list.
18137 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18138 extend to handle functions as well.
18140 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18142 * linum.el (linum-delete-overlays, linum-update-window):
18143 Do not modify the right margin. (Bug#3971)
18145 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18147 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18148 Use nxml-mode instead of xml-mode.
18150 2009-09-21 Kevin Ryde <user42@zip.com.au>
18152 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18154 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18156 * net/dig.el (dig-mode): Use define-derived-mode.
18158 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18160 * vc-dispatcher.el (vc-do-command): Return the process object in
18161 the asynchronous case. Use when instead of if. Do not run
18162 vc-exec-after to display a message if not enabled. (Bug#4463)
18164 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18165 properties to the stash strings.
18166 (vc-git-stash-list): Return a list of strings.
18167 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18168 (vc-git-stash-show-at-point): New functions.
18169 (vc-git-stash-map): New keymap.
18171 * register.el (ctl-x-r-map): Define the keys here instead of
18174 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18176 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18177 list, to workaround performance problem (bug#4485).
18179 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18181 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18183 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18185 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18186 Document that this option is not recommended to use.
18188 2009-09-19 Glenn Morris <rgm@gnu.org>
18190 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18193 * calc/calc-alg.el (var):
18194 * calc/calcalg2.el (var): Define for compiler.
18196 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18198 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18199 Doc fix (Bug#3932).
18201 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18203 * time-stamp.el (time-stamp-month-dd-yyyy)
18204 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18205 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18206 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18207 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18208 Remove functions that have been obsolete since 1995 (Bug#4436).
18210 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18211 indent buffer only if called interactively (Bug#4452).
18213 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18214 Eli Zaretskii <eliz@gnu.org>
18216 This fixes bug#4197 (merged to bug#865, though not identical).
18217 * server.el (server-auth-dir): Add docstring note about FAT32.
18218 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18219 but warn against using them.
18221 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18223 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18224 older GDB where there is no has_more field.
18226 2009-09-19 Glenn Morris <rgm@gnu.org>
18228 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18230 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18232 * files.el (auto-mode-alist): Change default for XML files to nXML
18235 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18237 * server.el (server-ensure-safe-dir): Pass 'integer
18238 to `file-attributes', as suggested.
18240 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18242 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18243 (dired-query): Use read-key.
18245 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18247 * cus-start.el (ns-use-qd-smoothing): Remove.
18249 2009-09-18 Glenn Morris <rgm@gnu.org>
18251 * allout.el (top-level): Remove unnecessary progn.
18253 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18255 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18256 definition of abbrev table.
18258 * speedbar.el (speedbar-track-mouse):
18259 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18260 * net/eudc.el (eudc-expand-inline):
18261 * net/newst-backend.el (newsticker--cache-read-feed):
18262 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18263 condition-case handlers.
18265 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18267 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18268 (gdb-var-list): Add an element for has_more field.
18269 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18270 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18271 (gdb-var-update-handler-1): Parse output of dynamic variable
18272 objects (STL containers).
18273 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18274 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18276 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18278 (gud-speedbar-buttons): Make node expandable if expression "has more"
18281 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18283 * startup.el (emacs-quick-startup): Remove variable and all uses.
18284 (command-line): Set `inhibit-x-resources' instead.
18285 (command-line-1): Use `inhibit-x-resources' instead.
18287 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18289 * subr.el: Fix last change to avoid using the `unless' macro,
18290 which breaks bootstrapping.
18292 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18294 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18295 extended definitions, in case we reload subr.el after having
18297 (eval-next-after-load): Mark as obsolete.
18299 2009-09-17 Juri Linkov <juri@jurta.org>
18301 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18302 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18303 (menu-bar-showhide-menu, menu-bar-tools-menu)
18304 (menu-bar-describe-menu, menu-bar-help-menu)
18305 (minibuffer-local-completion-map, minibuffer-local-map):
18308 2009-09-17 Glenn Morris <rgm@gnu.org>
18310 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18311 arguments, whether or not it has a handler.
18313 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18315 * simple.el (hard-newline): Give it a doc-string.
18317 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18318 (lisp-mode-syntax-table): Give them doc-strings.
18320 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18322 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18323 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18324 (menu-bar-options-menu, menu-bar-showhide-menu)
18325 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18326 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18327 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18328 (menu-bar-options-menu, menu-bar-tools-menu)
18329 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18330 (menu-bar-help-menu):
18331 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18334 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18335 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18336 calls for the menu names and :help.
18338 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18340 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18341 to :minor-mode-function (bug#4455).
18343 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18345 * startup.el (command-line): Initialize the window-system after
18346 processing the command-line.
18348 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18349 page-delimiter matches the empty string.
18351 2009-09-16 Glenn Morris <rgm@gnu.org>
18353 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18354 byte-compile-not-obsolete-var. It's a list now.
18355 (byte-compile-not-obsolete-funcs): New variable.
18356 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18357 byte-compile-not-obsolete-funcs.
18358 (byte-compile-variable-ref, byte-compile-defvar): Update for
18359 byte-compile-not-obsolete-vars name-change and list nature.
18360 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18361 and variables behind (f)boundp tests.
18362 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18364 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18366 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18368 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18370 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18371 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18374 2009-09-15 Stephen Eglen <stephen@gnu.org>
18376 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18377 the virtual-buffers, use the name of the buffer specified by
18378 find-file-noselect, as the match may be a symlink. (This was a
18379 problem if the target and the symlink had different names.)
18381 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18383 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18385 * desktop.el (desktop-path): Check user-emacs-directory.
18387 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18389 * loadup.el: Use after-load-functions to GC after loading each file.
18390 Remove the explicit GC calls that used to be sprinkled around.
18392 * subr.el (after-load-functions): New hook.
18393 (do-after-load-evaluation): Run it. Use string-match-p to detect
18394 `obsolete' packages, rather than painfully extracting the relevant
18397 2009-09-15 Glenn Morris <rgm@gnu.org>
18399 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18400 free variable `doc'.
18402 * dired.el (dired-mode-map): Add menu entry for async shell command.
18404 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18405 variables, also consider the .elc files, since the .el files are
18406 normally gzipped (subsequent code locates the .el.gz from the .elc).
18408 * calc/calc-prog.el (arglist): Define for compiler.
18410 * calendar/diary-lib.el (diary-display-function): Change the default to
18412 (body): Define for compiler.
18414 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18415 (byte-compile-file-form, byte-compile-lambda)
18416 (byte-compile-top-level-body, byte-compile-form)
18417 (byte-compile-variable-ref, byte-compile-setq)
18418 (byte-compile-setq-default, byte-compile-body)
18419 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18420 (batch-byte-compile): Give some more local variables with common names
18421 a "bytecomp-" prefix to avoid masking warnings about free variables.
18423 * startup.el (command-line-1): Give local variables with common names a
18424 distinguishing prefix, so as not to hide free variable warnings during
18427 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18428 clever and add a suffix to make a unique name, just let the user decide
18429 whether or not to overwrite it. If the input is a directory, write the
18430 default filename to that directory. (Bug#4388)
18431 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18432 is a filename-as-a-directory.
18434 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18436 * textmodes/page.el (what-page): Don't move to beginning of line.
18437 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18439 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18441 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18443 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18445 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18446 * help.el (help-for-help-internal): Add purecopy calls for text.
18448 * vc.el (top): print-log method now takes an optional SHORTLOG
18449 argument. Add a new method: root.
18450 (vc-root-diff, vc-print-root-log): New functions.
18451 (vc-log-short-style): New variable.
18452 (vc-print-log-internal): Add support for showing short logs.
18454 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18455 vc-print-root-log and vc-print-root-diff.
18457 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18458 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18459 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18462 * vc-cvs.el (vc-cvs-print-log):
18463 * vc-mtn.el (vc-mtn-print-log):
18464 * vc-rcs.el (vc-rcs-print-log):
18465 * vc-sccs.el (vc-sccs-print-log):
18466 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18467 that is ignored for now.
18469 * vc-mtn.el (vc-mtn-annotate-command):
18470 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18472 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18474 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18475 to function-key-map, and give them ascii-character property.
18476 * term/x-win.el (x-alternatives-map):
18477 * term/ns-win.el (ns-alternatives-map):
18478 * term/internal.el (msdos-key-remapping-map):
18479 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18481 2009-09-14 Glenn Morris <rgm@gnu.org>
18483 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18484 temp-buffers (2009-09-12).
18486 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18488 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18489 the new read-key function.
18491 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18493 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18494 is defined (Bug#4405).
18496 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18498 * recentf.el (recentf-cleanup): Use a hash table to find
18499 duplicates (Bug#4407).
18501 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18503 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18504 kp-0 to ascii equivalents (Bug#4325).
18506 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18508 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18510 * eshell/em-hist.el:
18511 * eshell/em-dirs.el (eshell-complete-user-reference):
18512 Declare pcomplete functions and variables to avoid compiler warnings.
18514 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18516 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18517 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18518 * eshell/em-alias.el (eshell-aliases-file):
18519 * eshell/em-hist.el (eshell-history-file-name):
18520 Use expand-file-name instead of concat to make file names (Bug#4308).
18522 2009-09-13 Glenn Morris <rgm@gnu.org>
18524 * ediff-merg.el (ediff-do-merge):
18525 * filesets.el (filesets-run-cmd):
18526 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18527 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18528 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18529 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18530 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18531 Replace empty `let's with `progn'.
18533 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18535 * mail/sendmail.el (send-mail-function):
18536 * tooltip.el (tooltip-mode):
18537 * simple.el (transient-mark-mode):
18538 * rfn-eshadow.el (file-name-shadow-mode):
18539 * frame.el (blink-cursor-mode):
18540 * font-core.el (global-font-lock-mode):
18541 * files.el (temporary-file-directory)
18542 (small-temporary-file-directory, auto-save-file-name-transforms):
18543 * epa-hook.el (auto-encryption-mode):
18544 * composite.el (global-auto-composition-mode):
18545 Use custom-initialize-delay.
18546 * startup.el (command-line): Don't explicitly call
18547 custom-reevaluate-setting for all the above vars.
18548 * custom.el (custom-initialize-safe-set)
18549 (custom-initialize-safe-default): Delete.
18551 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18553 * term/x-win.el (x-initialize-window-system):
18554 * term/w32-win.el (w32-initialize-window-system):
18555 * term/ns-win.el (ns-initialize-window-system): Don't call
18556 mouse-wheel-mode since it's enabled globally by default already.
18558 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18559 actually define the variable, but only silences the byte-compiler.
18560 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18561 before looking it up.
18562 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18565 2009-09-12 Glenn Morris <rgm@gnu.org>
18567 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18569 (elint-add-required-env): Don't beep on error.
18570 (elint-forms): In case of error, return ENV unchanged.
18571 (elint-init-env): Skip non-list forms.
18572 (elint-log): Handle unknown file positions.
18574 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18576 * epg.el (epg-make-context): Add autoload cookie.
18577 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18578 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18579 (epg-verify-string, epg-start-sign, epg-sign-file)
18580 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18581 (epg-encrypt-string, epg-start-export-keys)
18582 (epg-export-keys-to-file, epg-export-keys-to-string)
18583 (epg-start-import-keys, epg-import-keys-from-file)
18584 (epg-import-keys-from-string, epg-start-receive-keys)
18585 (epg-receive-keys, epg-import-keys-from-server)
18586 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18587 (epg-sign-keys, epg-start-generate-key)
18588 (epg-generate-key-from-file, epg-generate-key-from-string):
18589 Remove autoload cookie.
18591 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18593 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18594 reevaluation of trash-directory.
18596 * mwheel.el: Fix last change.
18597 (mouse-wheel-mode): New defvar.
18598 (mouse-wheel-mode): Remove autoload cookie.
18600 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18602 * mwheel.el (mwheel-installed-bindings): New var.
18603 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18604 the bindings we set last time. Use custom-initialize-delay.
18605 * loadup.el: Load mwheel after term/*-win.el.
18606 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18607 and mouse-wheel-up-event now that their first evaluation is done
18608 sufficiently late to be correct.
18610 * startup.el (tutorial-directory): Make it a defcustom.
18611 Use custom-initialize-delay rather than eval-at-startup to set it.
18612 * image.el (image-load-path): Make it a defcustom.
18613 Use custom-initialize-delay rather than eval-at-startup to set it.
18614 * subr.el (eval-at-startup): Remove.
18615 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18617 * subr.el (do-after-load-evaluation): Warn the user after loading an
18620 2009-09-12 Glenn Morris <rgm@gnu.org>
18622 * proced.el (proced-mark-alt): Remove alias.
18623 (proced-mode-map): Remove proced-mark-alt.
18625 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18626 Elint file and directory. Remove initialization entry.
18628 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18630 (elint-current-buffer): Set mode-line-process.
18631 (elint-init-env): Handle define-derived-mode.
18632 Fix declare-function with unspecified arglist. Guard against odd
18633 defalias statements (eg iso-insert's 8859-1-map).
18634 (elint-add-required-env): Use a temp buffer.
18635 (elint-form): Just print the function/macro name, not the whole form.
18636 Return env unchanged if we fail to parse a macro.
18637 (elint-forms): Guard against parse errors.
18638 (elint-output): New function, to handle batch mode.
18639 (elint-log-message): Add optional argument. Use elint-output.
18640 (elint-set-mode-line): New function.
18642 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18644 * emacs-lisp/elp.el (elp-not-profilable): Add more
18645 functions (Bug#4233).
18647 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18649 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18650 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18652 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18654 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18655 (gdb-var-list-children): Use json parsing.
18657 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18659 * progmodes/js.el (js--proper-indentation): Handle the case where
18660 char-before is null. Reported by Deniz Dogan.
18662 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18664 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18666 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18668 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18669 (epg-digest-algorithm-alist): Add SHA224.
18670 (epg-context-set-passphrase-callback)
18671 (epg-context-set-progress-callback): Add description about
18674 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18676 * custom.el (custom-delayed-init-variables): New var.
18677 (custom-initialize-delay): New function.
18678 * startup.el (command-line): "Re"evaluate all vars in
18679 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18680 explicitly any more.
18681 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18682 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18684 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18686 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18688 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18689 (gdb-var-update-handler): Use json parsing.
18691 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18693 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18694 decode annotated text, regardless of language environment. (Bug#2741)
18696 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18698 * Makefile.in (autoloads): Make rmail.el writable as well.
18700 2009-09-11 Glenn Morris <rgm@gnu.org>
18702 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18704 * dired.el: Regenerate with extracted autoloads.
18705 * Makefile.in (autoloads): Make dired.el writable.
18707 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18708 * ibuffer.el: Regenerate with extracted autoloads.
18709 * Makefile.in (autoloads): Make ibuffer.el writable.
18711 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18712 * version.el (emacs-copyright, emacs-major-version)
18713 (emacs-minor-version): Reformat doc-strings for make-docfile.
18715 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18716 functions and variables, since they must be stuff specific to some other
18718 (apropos-print): Make mouse-click message less specific about button.
18720 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18721 that records where a macro was defined.
18722 * help-fns.el (describe-function-1): Mention if a function has a
18724 * help-mode.el (help-function-cmacro): New button.
18726 * locate.el (top-level): Always require dired.
18727 (locate-mode-map): Initialize inside the defvar.
18729 * net/ange-ftp.el (dired-compress-file): Declare.
18730 (ange-ftp-dired-compress-file): Add doc string.
18732 * term/ns-win.el (x-display-name, x-setup-function-keys):
18733 Unify doc-strings with X versions.
18735 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18737 * emulation/crisp.el (crisp-mode-map): Move initialization
18739 (crisp-mode): Use define-minor-mode.
18741 * progmodes/xscheme.el (xscheme-evaluation-commands):
18742 Put a :advertised-binding property rather than using
18743 advertised-xscheme-send-previous-expression.
18744 (advertised-xscheme-send-previous-expression): Declare obsolete.
18745 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18747 (crisp-mode): Add corresponding bindings to
18748 undo's :advertised-binding instead.
18749 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18750 than using dired-advertised-find-file.
18751 (dired-advertised-find-file):
18752 * simple.el (advertised-undo):
18753 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18754 (widget-keymap): Put a :advertised-binding property rather
18755 than using advertised-widget-backward.
18756 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18757 than using advertised-undo.
18758 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18760 2009-09-10 Simon South <ssouth@slowcomputing.org>
18762 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18763 Mark mode is enabled and region is active; otherwise indent or
18764 insert TAB as usual.
18765 (delphi-mode): Update description of TAB-key binding.
18767 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18769 * subr.el (define-key-rebound-commands): Mark obsolete.
18770 * startup.el (precompute-menubar-bindings): Remove.
18771 (normal-top-level): Remove obsolete code that tried to precompute
18773 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18774 define-key-rebound-commands and precompute-menubar-bindings.
18776 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18778 * net/imap.el (imap-interactive-login): Better messages.
18779 (imap-open): Fix bug with renamed buffer on reconnect.
18780 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18781 for easier debugging and cleaner code. On successful (guessed based on
18782 server capabilities) secondary authentication, set imap-state
18784 (imap-last-authenticator): Define imap-last-authenticator as a variable
18787 2009-09-10 Glenn Morris <rgm@gnu.org>
18789 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18791 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18792 (byte-compile-file-form-autoload): Don't warn about unknown functions
18793 where the autoload statement comes after the use.
18794 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18795 that any handlers inside the body (eg require) are in turn respected.
18797 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18800 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18801 and syntax and abbrev tables basic docs, if they don't have any.
18803 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18805 * international/mule-cmds.el (top-level): Require cl when compiling.
18806 (view-hello-file): Use default-value rather than
18807 default-enable-multibyte-characters.
18809 * progmodes/fortran.el: Move all safe and risky properties into the
18812 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18813 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18814 * mail/undigest.el:
18815 Put autoloads in rmail.el rather than loaddefs.el.
18816 * mail/rmail.el: Regenerate with extracted autoloads.
18818 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18819 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18821 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18823 Reported in thread for Bug#4375.
18824 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18825 "-data-evaluate-expression" instead of print.
18826 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18827 (gdb-tooltip-print): Parse output from above MI command.
18828 (gdb): Revert 2009-08-11 change. User should detach inferior
18831 Remove the word "separate" from IO functions as inferior
18832 output is now never displayed in the GUD buffer.
18834 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18836 * startup.el (command-line-normalize-file-name): On Windows and
18837 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18839 2009-09-10 Juri Linkov <juri@jurta.org>
18841 * isearch.el (isearch-text-char-description): Propertize escape
18842 character sequences with the `escape-glyph' face. (Bug#4344)
18844 * simple.el (shell-command): Set asynchronous process filter to
18845 `comint-output-filter'. (Bug#4343)
18847 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18848 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18849 the list. Move "asm" to the bottom.
18850 (grep-find-ignored-directories): Add `choice' with nil value
18851 to empty the list easily.
18852 (grep-find-ignored-files): New option.
18853 (grep-files-history): Set to nil by default instead of '("ch" "el").
18854 (grep-compute-defaults): Add "<X>" to `grep-template'.
18855 (grep-read-files): Bind new local variables `default-alias' and
18856 `default-extension'. Use a list of default values for the file prompt.
18857 (lgrep): Add `--exclude=' command line options composed from
18858 `grep-find-ignored-files'.
18859 (rgrep): Add `-name' command line options composed from
18860 `grep-find-ignored-files'. (Bug#4301)
18862 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18864 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18867 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18869 * calendar/time-date.el (autoload):
18870 Expand define-obsolete-function-alias into defalias and make-obsolete
18871 for old Emacsen that Gnus supports.
18872 (with-no-warnings): Define it for old Emacsen.
18873 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18875 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18876 float-time is available; suppress compile warning for time-to-seconds.
18878 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18880 * net/imap.el (imap-message-map): Docstring fix.
18882 2009-09-09 Glenn Morris <rgm@gnu.org>
18884 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18885 line numbers too. (Bug#4374)
18887 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18889 * smerge-mode.el (smerge-remove-props, smerge-refine):
18890 Use with-silent-modifications (bug#4342).
18892 * subr.el (with-silent-modifications): New macro.
18894 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18896 * files.el (top-level): Require `cl' when compiling.
18898 2009-09-07 Glenn Morris <rgm@gnu.org>
18900 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18902 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18903 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18905 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18907 * vc-git.el (vc-git-annotate-command): Use separator to parse
18908 arguments correctly.
18910 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18912 * proced.el (proced-mode): Doc fix.
18914 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18916 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18918 (tramp-do-file-attributes-with-ls): Check for file existence at
18920 (tramp-do-file-attributes-with-stat): Likewise.
18921 (tramp-convert-file-attributes): Return nil when attr is nil.
18923 2009-09-05 Glenn Morris <rgm@gnu.org>
18925 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18926 properties to this button.
18927 (diary-fancy-display): Don't extend the button to the final newline.
18928 (diary-fancy-display-mode): Continue to define "q" as a local key.
18930 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18933 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18935 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18936 (byte-compile-dest-file-function): New option.
18937 (byte-compile-dest-file): Doc fix.
18938 Obey byte-compile-dest-file-function.
18939 (byte-compile-cl-file-p): New function.
18940 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18941 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18942 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18943 than for file being previously loaded.
18944 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18945 (byte-compile-file-form-require): Handle the case where requiring a file
18946 indirectly causes CL to be loaded.
18948 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18950 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18951 before killing the old buffer, since by the time `kill-buffer' is
18952 run so many buffer variables have been set to nil that it may not
18953 behave as expected. (Bug#4061)
18955 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18957 * files.el (find-alternate-file): If the old buffer is modified
18958 and visiting a file, behave similarly to `kill-buffer' when
18959 killing it, thus reverting to the pre-1.878 behavior; see
18960 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18961 for discussion. Also, consult `buffer-file-name' as a variable
18962 not as a function, for consistency with the rest of the code.
18964 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18966 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18967 also when adding a new directory.
18969 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18972 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18974 * files.el (locate-file-completion-table): Make it provide boundary
18975 information, so partial-completion works better.
18977 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18979 * mail/footnote.el (Footnote-text-under-cursor):
18980 Check footnote-text-marker-alist before using it (bug#4324).
18982 2009-09-04 Glenn Morris <rgm@gnu.org>
18984 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18985 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18986 * play/solitaire.el, play/tetris.el:
18987 Remove leading * from defcustom and defface docs.
18989 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18991 (diary-fancy-overriding-map): New variable.
18992 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18995 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18998 2009-09-03 Glenn Morris <rgm@gnu.org>
19000 * arc-mode.el (archive-mode):
19001 * dos-fns.el (set-default-process-coding-system):
19002 * man.el (Man-getpage-in-background):
19003 * menu-bar.el (menu-bar-describe-menu):
19004 * server.el (server-process-filter):
19005 * startup.el (command-line):
19006 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19007 * w32-fns.el (set-default-process-coding-system):
19008 * x-dnd.el (x-dnd-handle-file-name):
19009 * international/mule-cmds.el (mule-menu-keymap)
19010 (set-default-coding-systems, language-info-alist, set-language-info)
19011 (set-language-environment, standard-display-european-internal)
19012 (set-locale-environment):
19013 * international/mule-diag.el (mule-diag):
19014 * mail/emacsbug.el (report-emacs-bug):
19015 * mail/rmail.el (rmail-mode):
19016 * mail/sendmail.el (mail-setup):
19017 Use default-value rather than default-enable-multibyte-characters.
19019 * progmodes/f90.el: Move all safe properties into the defcustoms.
19020 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19022 * calendar/appt.el (appt-check):
19023 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19024 (diary-check-diary-file, diary-list-entries)
19025 (diary-include-other-diary-files, diary-simple-display)
19026 (diary-fancy-display, diary-print-entries)
19027 (diary-mark-included-diary-files, diary-make-entry):
19028 Don't call substitute-in-file-name on diary-file.
19030 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19031 Stefan Monnier <monnier@iro.umontreal.ca>
19033 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19034 (footnote-mode-map): Move initialization into the declaration.
19035 (footnote-minor-mode-map): Define it rather than changing global-map.
19036 (footnote-mode): Use define-minor-mode.
19038 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19040 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19041 (tramp-do-file-attributes-with-perl)
19042 (tramp-do-file-attributes-with-stat): Rename from
19043 `tramp-handle-file-attributes-with-*'.
19044 (tramp-handle-file-attributes): Use them.
19045 (tramp-do-directory-files-and-attributes-with-perl)
19046 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19047 `tramp-handle-directory-files-and-attributes-with-*'.
19048 (tramp-handle-directory-files-and-attributes): Use them.
19049 (tramp-method-out-of-band-p): Additional parameter SIZE.
19050 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19051 (tramp-handle-write-region): Use it.
19052 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19053 (tramp-handle-vc-registered): Check, whether the first run did
19054 return files to be tested.
19055 (tramp-advice-make-auto-save-file-name): Do not call directly
19056 `tramp-handle-make-auto-save-file-name', because this would bypass
19057 the locking mechanism.
19059 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19060 (file-remote-p, process-file, start-file-process, set-file-times)
19061 (tramp-compat-file-attributes): Compatibility functions shall not
19062 call directly `tramp-handle-*', because this would bypass the
19064 (tramp-compat-number-sequence): New defun.
19066 2009-09-02 Glenn Morris <rgm@gnu.org>
19068 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19069 alias for float-time.
19070 (time-to-number-of-days): In Emacs, use float-time.
19071 * net/newst-backend.el (time-add): Suppress warnings from compat
19073 * time.el (emacs-uptime, emacs-init-time):
19074 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19075 Use float-time rather than time-to-seconds.
19077 * minibuffer.el (completion-initials-expand): Fix typo.
19079 * faces.el (modeline, modeline-inactive, modeline-highlight)
19080 (modeline-buffer-id):
19081 * info.el (info-menu-5): Mark these face aliases as obsolete.
19083 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19085 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19087 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19088 no "--thread" option.
19089 (gdb-stopped): Don't print "Switched to thread" message when it is
19092 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19094 * minibuffer.el (completion-try-completion)
19095 (completion-all-completions): Remove ill-defined (and
19096 mistakenly installed and luckily never used nor documented)
19097 `completion-styles' property.
19098 (completion-initials-expand, completion-initials-all-completions)
19099 (completion-initials-try-completion): New functions.
19100 (completion-styles-alist): Add doc to each entry.
19101 Add new `initials' entry.
19103 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19105 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19106 MI command -var-evaluate-expression.
19107 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19108 and tweak for case of string child.
19109 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19111 2009-09-01 Glenn Morris <rgm@gnu.org>
19113 * add-log.el (change-log-date-face, change-log-name-face)
19114 (change-log-email-face, change-log-file-face, change-log-list-face)
19115 (change-log-conditionals-face, change-log-function-face)
19116 (change-log-acknowledgement-face):
19117 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19118 (custom-modified-face, custom-set-face, custom-changed-face)
19119 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19120 (custom-documentation-face, custom-state-face, custom-comment-face)
19121 (custom-comment-tag-face, custom-variable-tag-face)
19122 (custom-variable-button-face, custom-face-tag-face)
19123 (custom-group-tag-face-1, custom-group-tag-face):
19124 * diff-mode.el (diff-header-face, diff-file-header-face)
19125 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19126 (diff-added-face, diff-changed-face, diff-function-face)
19127 (diff-context-face, diff-nonexistent-face):
19128 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19129 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19130 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19131 (Info-title-4-face):
19132 * isearch.el (isearch-lazy-highlight-face):
19133 * log-view.el (log-view-file-face, log-view-message-face):
19134 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19135 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19136 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19138 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19139 (smerge-base-face, smerge-markers-face):
19140 * wid-edit.el (widget-documentation-face, widget-button-face)
19141 (widget-field-face, widget-single-line-field-face)
19142 (widget-inactive-face, widget-button-pressed-face):
19143 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19144 (woman-addition-face):
19145 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19146 (eshell-ls-executable-face, eshell-ls-readonly-face)
19147 (eshell-ls-unreadable-face, eshell-ls-special-face)
19148 (eshell-ls-missing-face, eshell-ls-archive-face)
19149 (eshell-ls-backup-face, eshell-ls-product-face)
19150 (eshell-ls-clutter-face):
19151 * eshell/em-prompt.el (eshell-prompt-face):
19152 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19153 * obsolete/old-whitespace.el (whitespace-highlight-face):
19154 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19155 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19156 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19157 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19158 (antlr-font-lock-literal-face):
19159 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19160 (ebrowse-root-class-face, ebrowse-file-name-face)
19161 (ebrowse-default-face, ebrowse-member-attribute-face)
19162 (ebrowse-member-class-face, ebrowse-progress-face):
19163 * progmodes/make-mode.el (makefile-space-face):
19164 * progmodes/sh-script.el (sh-heredoc-face):
19165 * textmodes/flyspell.el (flyspell-incorrect-face)
19166 (flyspell-duplicate-face):
19167 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19168 * textmodes/texinfo.el (texinfo-heading-face):
19169 Mark face aliases with "-face" suffix as obsolete.
19171 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19174 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19175 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19176 easy-menu-define wants to modify these.
19178 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19180 * net/browse-url.el (browse-url-file-url):
19181 * term/internal.el (dos-codepage-setup):
19182 Use default-value rather than default-enable-multibyte-characters.
19184 * progmodes/etags.el (etags-goto-tag-location):
19185 * progmodes/flymake.el (flymake-highlight-line)
19186 (flymake-goto-file-and-line, flymake-goto-line):
19187 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19188 (gdb-goto-breakpoint):
19189 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19190 * progmodes/python.el (python-find-function)
19191 (python-pdbtrack-track-stack-file):
19192 * progmodes/verilog-mode.el (verilog-surelint-off):
19193 * term/ns-win.el (ns-open-file-select-line):
19194 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19195 Use forward-line rather than goto-line.
19197 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19198 * textmodes/reftex-index.el (reftex-display-index):
19199 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19200 * textmodes/reftex-toc.el (reftex-toc):
19201 Remove unnecessary bindings of default-major-mode (all are followed by
19202 major-mode check and possible mode switch).
19204 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19206 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19207 Handle watchpoints (bug#4282).
19208 (def-gdb-thread-buffer-command): Enable thread to be selected by
19209 clicking without selecting threads buffer first.
19210 (gdb-current-context-command): Use selected frame so that "up",
19211 "down" etc work in the GUD buffer.
19212 (gdb-update): Find selected frame before rendering stack buffer.
19213 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19215 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19217 * progmodes/sym-comp.el (displayed-completions): Remove.
19218 (symbol-complete): Use minibuffer-complete.
19220 2009-08-31 Glenn Morris <rgm@gnu.org>
19222 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19224 * apropos.el (apropos-symbols-internal):
19225 Handle (obsolete) face aliases.
19227 * faces.el (describe-face): Adjust the output format to be more like
19228 describe-variable, and to mention (obsolete) face aliases.
19229 Adjust the whitespace so that help-setup-xref works.
19231 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19232 * calendar/diary-lib.el (diary-button-face):
19233 Mark these face aliases as obsolete.
19235 * calendar/calendar.el (calendar-today): Doc fix.
19237 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19239 * progmodes/gdb-mi.el (gdb-control-all-threads)
19240 (gdb-control-current-thread): Force tool bar update.
19241 (gdb-non-stop-handler): New function.
19242 (gdb-init-1): Use it to test if non-stop mode is supported.
19243 Remove unused gdbmi buffer type.
19245 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19247 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19248 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19250 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19252 * comint.el (comint-exec-1): Check command is non-null first.
19253 Part of gdb-mi.el change (2009-08-28).
19255 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19257 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19259 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19261 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19262 instead of `dolist' to avoid a recursive require when bootstrapping.
19264 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19266 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19268 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19270 * net/imap.el (imap-send-command): Simplify.
19271 (imap-wait-for-tag): point-max -> buffer-size.
19273 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19275 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19276 with constant argument.
19278 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19280 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19282 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19283 Change default, since most of our files don't have a history.
19284 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19287 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19290 * calc/calc.el: Improve commenting convention.
19291 (calc-digit-map, toplevel): Simplify.
19293 * comint.el (comint-insert-input): Be careful to only set point if we
19294 don't delegate to some other command.
19296 * proced.el (proced-signal-list): Make it an alist.
19297 (proced-grammar-alist): Capitalize names.
19298 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19299 Disable undo manually and make it read-only.
19300 Use completion-annotate-function.
19302 * minibuffer.el (minibuffer-message): If the current buffer is not
19303 a minibuffer, insert the message in the echo area rather than at the
19305 (completion-annotate-function): New variable.
19306 (minibuffer-completion-help): Use it.
19307 (completion--embedded-envvar-table): Environment vars are
19308 always case-sensitive.
19310 2009-08-30 Glenn Morris <rgm@gnu.org>
19312 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19313 from fortran-current-defun.
19314 (fortran-beginning-of-subprogram): Be more precise about finding the
19315 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19316 (fortran-end-of-subprogram): Simplify.
19317 (fortran-current-defun): Use fortran-start-prog-re.
19319 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19321 * subr.el (do-after-load-evaluation): Simplify.
19323 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19325 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19327 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19328 (vc-rcs-print-log): Use it.
19330 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19332 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19334 * paths.el (abbrev-file-name): Move to abbrev.el.
19335 * abbrev.el (abbrev-file-name): Move from paths.el.
19336 Obey user-emacs-directory.
19337 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19338 user-emacs-directory.
19339 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19340 abbrev-file-name and calc-settings-file any more.
19341 * startup.el (command-line): Recompute abbrev-file-name and
19342 abbreviated-home-dir.
19343 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19344 of the special code for when C-h bindings haven't been changed.
19345 (display-startup-echo-area-message): Use with-current-buffer.
19346 (command-line-1): Use a list of strings, rather than a list of lists
19347 of strings for longopts.
19349 * files.el (get-free-disk-space): Use / for default-directory.
19351 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19352 Use with-current-buffer.
19354 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19355 Recognize immutable variables like most-positive-fixnum.
19356 (byte-compile-setq-default): Check and warn if trying to assign
19357 to an immutable variable, or a non-variable.
19359 * progmodes/cc-vars.el (c-comment-continuation-stars):
19360 * progmodes/cc-engine.el (c-looking-at-bos):
19361 * progmodes/cc-cmds.el (c-toggle-auto-state)
19362 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19363 (c-comment-line-break-function): Add version of obsolescence.
19365 2009-08-28 Juri Linkov <juri@jurta.org>
19367 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19368 associated with `archive-mode'.
19370 * image.el (image-type-header-regexps): Use only JPEG magic number
19371 to determine JPEG images, and don't use `image-jpeg-p' because
19372 Emacs can display non-JFIF non-Exif JPEG images.
19374 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19376 * arc-mode.el (archive-mode):
19377 * emacs-lisp/re-builder.el (re-builder-unload-function):
19378 Protect against the default value of `major-mode' being nil.
19380 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19382 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19383 Fix typos in docstrings.
19385 * progmodes/js.el (js--macro-decl-re): Doc fix.
19386 (js--plain-method-re, js--split-name): Refloc docstring.
19387 (js--class-styles, js--make-merged-item, js--splice-into-items):
19388 Fix typos in docstrings; reflow docstrings.
19389 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19390 (js--variable-decl-matcher, js--inside-pitem-p)
19391 (js--parse-state-at-point, js--get-all-known-symbols)
19392 (js--symbol-history, js-find-symbol, js--js-references)
19393 (js--moz-interactor, js--js-encode-value, js--read-tab):
19394 Fix typos in docstrings.
19396 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19398 * textmodes/reftex.el (reftex-get-file-buffer-force):
19399 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19400 * emulation/viper.el (viper-go-away, viper-set-hooks):
19401 * emacs-lisp/re-builder.el (re-builder-unload-function):
19402 * emacs-lisp/bytecomp.el (byte-compile-file):
19403 * ses.el (ses-unload-function):
19404 * hexl.el (hexl-find-file):
19405 * files.el (normal-mode):
19406 * ehelp.el (with-electric-help):
19407 * autoinsert.el (auto-insert-alist):
19408 * arc-mode.el (archive-mode):
19409 Use (default-value 'major-mode) instead of default-major-mode.
19411 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19412 * international/mule.el (load-with-code-conversion):
19413 * emacs-lisp/debug.el (debug):
19414 * ediff-vers.el (ediff-rcs-get-output-buffer):
19415 * dired.el (dired-internal-noselect): Don't let-bind
19416 default-major-mode around code that doesn't use it.
19417 E.g. buffer creation via get-buffer-create doesn't use it.
19419 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19421 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19422 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19423 when writing the temp file. Otherwise, epa-file gets confused.
19424 (tramp-register-file-name-handlers): Make it a defun. Move also
19425 `epa-file-handler' to the front of `file-name-handler-alist'.
19427 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19429 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19430 start right after a ^M.
19431 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19432 (tramp-completion-file-name-regexp-separate)
19433 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19434 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19435 Don't modify last-coding-system-used by accident.
19436 (tramp-completion-file-name-handler): Apply the checks here,
19437 instead during registration.
19438 (tramp-register-file-name-handlers): Rename from
19439 `tramp-register-file-name-handler'. Register both
19440 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19441 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19443 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19445 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19446 Remove variable ...
19447 (gdb-init-1, gdb-display-separate-io-buffer)
19448 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19450 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19451 (gdb-inferior-filter): Use comint-output-filter to stop
19452 echoing and remove ^M characters.
19454 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19456 * emulation/viper-init.el (viper-restore-cursor-type):
19457 * emulation/cua-base.el (cua--update-indications):
19458 Replace default-cursor-type with (default-value 'cursor-type).
19460 * mail/sendmail.el (mail-recover-1):
19461 * international/mule-diag.el (describe-current-coding-system-briefly)
19462 (describe-current-coding-system):
19463 * international/mule-cmds.el (select-safe-coding-system)
19464 (select-message-coding-system)
19465 (set-language-environment-coding-systems, set-locale-environment):
19466 * hexl.el (hexl-insert-multibyte-char):
19467 * dos-w32.el (find-buffer-file-type-coding-system):
19468 * simple.el (what-cursor-position):
19469 Replace uses of default-buffer-file-coding-system
19470 with (default-value 'buffer-file-coding-system).
19472 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19473 Replace uses of default-cursor-in-non-selected-windows
19474 with (default-value 'cursor-in-non-selected-windows).
19475 Use with-current-buffer.
19477 * mail/feedmail.el: Use CL macros.
19478 (feedmail-run-the-queue, feedmail-send-it-immediately):
19479 * dos-w32.el (find-buffer-file-type): Replace uses of
19480 default-buffer-file-type with (default-value 'buffer-file-type).
19482 2009-08-28 Glenn Morris <rgm@gnu.org>
19484 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19485 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19486 Use default-value of major-mode rather than default-major-mode.
19488 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19490 * Makefile.in (update-elcfiles): Report left over elc files.
19492 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19493 expand-file-name and with-current-buffer.
19494 (mail-get-names, mail-directory): Use with-current-buffer.
19496 * vc.el (vc-read-revision): New function.
19497 (vc-version-diff, vc-merge): Use it.
19499 2009-08-27 Sam Steingold <sds@gnu.org>
19501 * simple.el (kill-do-not-save-duplicates): New user option.
19502 (kill-new): When it is non-nil, and the new string is the same as
19503 the latest kill, set replace to t to avoid duplicates in kill-ring.
19505 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19507 * net/tramp.el (tramp-handle-process-file): Do not flush all
19508 caches when `process-file-side-effects' is set.
19509 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19510 instead of `tramp-find-file-exists-command'.
19511 Unset `process-file-side-effects'.
19513 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19515 * net/tramp.el (tramp-methods): New method "rsyncc".
19516 (top): Add completion function for "rsyncc".
19517 (tramp-message-show-message): New defvar.
19518 (tramp-message, tramp-error): Use it.
19519 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19521 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19522 `tramp-methods' entry `copy-env' of "rsyncc".
19523 (tramp-vc-registered-read-file-names): New defconst.
19524 (tramp-vc-registered-file-names): New defvar.
19525 (tramp-handle-vc-registered): Implement optimization strategy.
19526 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19527 (tramp-vc-file-name-handler): New defun.
19528 (tramp-get-ls-command, tramp-get-test-command)
19529 (tramp-get-file-exists-command, tramp-get-remote-ln)
19530 (tramp-get-remote-perl, tramp-get-remote-stat)
19531 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19533 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19534 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19536 (tramp-get-file-property): Check for timestamps in
19537 `tramp-cache-inhibit-cache'.
19538 (tramp-set-file-property): Write timestamp.
19540 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19542 * language/japan-util.el (japanese-symbol-table): Add entries for
19545 * international/characters.el: Add category `j' to cp932-2-byte.
19547 2009-08-27 Kenichi Handa <handa@m17n.org>
19549 * international/fontset.el (build-default-fontset-data): New macro.
19550 (setup-default-fontset): Use build-default-fontset-data for CJK,
19551 tibetan, ethiopic, and ipa.
19553 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19555 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19556 (enable-multibyte-characters): Not customizable any more.
19558 * subr.el (default-mode-line-format, default-header-line-format)
19559 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19560 (default-direction-reversed, default-truncate-lines)
19561 (default-left-margin, default-tab-width, default-case-fold-search)
19562 (default-left-margin-width, default-right-margin-width)
19563 (default-left-fringe-width, default-right-fringe-width)
19564 (default-fringes-outside-margins, default-scroll-bar-width)
19565 (default-vertical-scroll-bar, default-indicate-empty-lines)
19566 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19567 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19568 (default-scroll-down-aggressively, default-fill-column)
19569 (default-cursor-type, default-buffer-file-type)
19570 (default-cursor-in-non-selected-windows)
19571 (default-buffer-file-coding-system, default-major-mode)
19572 (default-enable-multibyte-characters): Mark as obsolete.
19574 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19576 * vc-dir.el (vc-dir-update): Remove debug helper.
19578 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19580 2009-08-26 Sam Steingold <sds@gnu.org>
19582 * simple.el (save-interprogram-paste-before-kill): New user option.
19583 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19584 save the interprogram-paste into kill-ring before overriding it
19585 with the Emacs kill.
19587 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19589 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19590 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19591 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19592 and move to vc-rcs.el.
19593 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19595 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19596 (vc-rcs-update-changelog): Remove.
19597 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19598 and move to vc-rcs.el.
19600 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19601 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19603 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19604 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19605 vc.el, renamed to be RCS specific.
19607 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19609 (vc-cvs-update-changelog): Move here from vc.el.
19611 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19614 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19616 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19618 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19620 * vc-git.el (vc-git-register): Use "git add" for directories.
19621 (vc-git-stash, vc-git-stash-show): New functions.
19622 (vc-git-extra-menu-map): Bind them.
19624 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19625 directory correctly in case the item is a directory itself.
19627 * vc.el: Document the desired behavior for reverted files in the
19629 (vc-default-prettify-state-info): Remove function, unused.
19631 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19633 2009-08-26 Glenn Morris <rgm@gnu.org>
19635 * bindings.el (standard-mode-line-format): Reposition dashes in
19636 which-func entry. (Bug#4217)
19638 * files.el (enable-local-variables, enable-local-eval)
19639 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19641 (auto-mode-alist, ignored-local-variables)
19642 (save-some-buffers-action-alist): Move risky declarations to the
19644 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19645 (font-lock-defaults, format-alist, imenu--index-alist)
19646 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19647 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19648 (mode-line-modified, mode-line-mule-info, mode-line-position)
19649 (mode-line-process, mode-line-remote, outline-level)
19650 (parse-time-rules, rmail-output-file-alist)
19651 (special-display-buffer-names, vc-mode):
19652 Move risky declarations to the relevant files.
19653 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19654 (mode-line-modified, mode-line-process, mode-line-position)
19655 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19656 * font-core.el (font-lock-defaults):
19657 * format.el (format-alist):
19658 * vc-hooks.el (vc-mode):
19659 * window.el (special-display-buffer-names):
19660 * international/mule-cmds.el (input-method-alist):
19661 Define riskiness here (dumped file) rather than in files.el.
19662 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19663 * imenu.el (imenu-generic-expression, imenu--index-alist):
19664 * outline.el (outline-level):
19665 * time.el (display-time-string):
19666 * calendar/parse-time.el (parse-time-rules):
19667 * mail/rmailout.el (rmail-output-file-alist):
19668 Autoload riskiness here, rather than placing in files.el.
19670 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19672 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19674 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19676 * simple.el (process-file-side-effects): New defvar.
19678 * dired-aux.el (dired-show-file-type):
19679 * vc.el (vc-diff-internal):
19680 * vc-arch.el (vc-arch-diff):
19681 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19682 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19683 * vc-git.el (vc-git-registered, vc-git-working-revision)
19684 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19685 (vc-git--empty-db-p):
19686 * vc-hooks.el (vc-user-login-name):
19687 * vc-svn.el (vc-svn-registered, vc-svn-state)
19688 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19689 * progmodes/grep.el (grep-probe): Let-bind
19690 `process-file-side-effects' with nil.
19692 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19694 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19695 daemon. Replace ping by checking for running service for bluez
19696 and zeroconf. (Bug#4239)
19698 2009-08-25 Kevin Ryde <user42@zip.com.au>
19700 * net/dig.el (dig): Add autoload cookie.
19702 2009-08-25 Glenn Morris <rgm@gnu.org>
19704 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19705 load-history for absolute file-names.
19706 (byte-compile-file-form-require): Warn about use of the cl package.
19708 * format.el (format-alist): Doc fix.
19710 * play/bubbles.el (top-level): Don't require cl at run-time.
19712 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19715 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19717 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19719 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19721 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19723 * calc/calc-alg.el (math-trig-rewrite)
19724 (math-hyperbolic-trig-rewrite): New functions.
19725 (calc-simplify): Simplify trig functions when asked.
19727 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19729 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19731 2009-08-24 Kenichi Handa <handa@m17n.org>
19733 * language/ind-util.el (mapthread): Delete it.
19734 (combinatorial): New function.
19735 (indian--puthash-cv): Use combinatorial instead of mapthread.
19737 2009-08-22 Kevin Ryde <user42@zip.com.au>
19739 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19740 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19741 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19742 Clarify docstring that the value is strings not symbols.
19743 (checkdoc-list-of-strings-p): New function.
19745 2009-08-22 Glenn Morris <rgm@gnu.org>
19747 * files.el (auto-mode-alist):
19748 * hippie-exp.el (he-concat-directory-file-name):
19749 * lpr.el (lpr-windows-system, printer-name):
19750 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19751 * ps-print.el (ps-windows-system):
19752 * startup.el (command-line):
19753 * emulation/viper-ex.el (viper-glob-function):
19754 * international/mule-cmds.el (set-language-environment-coding-systems):
19755 * net/ange-ftp.el (ange-ftp-write-region):
19756 * obsolete/fast-lock.el (fast-lock-cache-name):
19757 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19758 unisoft-unix, vax-vms, win32, w32.
19760 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19761 given name if the pattern is not more specific.
19763 * calendar/lunar.el (lunar-phase-names): New option.
19764 (lunar-phase): Doc fix.
19765 (lunar-cycles-per-year): New constant.
19766 (lunar-index): New function.
19767 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19768 (lunar-phase-name): Use lunar-phase-names.
19769 (calendar-lunar-phases): Use format.
19770 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19772 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19773 Copy imenu-example--name-and-position function here for own use.
19774 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19776 * bs.el (bs--redisplay):
19777 * cus-edit.el (custom-redraw):
19778 * ibuffer.el (ibuffer-bury-buffer):
19779 * server.el (server-goto-line-column):
19780 * startup.el (command-line-1):
19781 * strokes.el (strokes-xpm-for-stroke):
19782 * term.el (term-display-buffer-line):
19783 * view.el (View-goto-line):
19784 * calc/calc.el (calc-do, calc-trail-buffer):
19785 * play/gamegrid.el (gamegrid-add-score-insecure):
19786 * progmodes/ada-mode.el (ada-compile-goto-error):
19787 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19788 (ebrowse-select-1st-to-9nth):
19789 * progmodes/cperl-mode.el (cperl-time-fontification):
19790 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19791 * progmodes/gud.el (gud-display-line):
19792 (idlwave-shell-display-line):
19793 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19794 * progmodes/make-mode.el (makefile-browser-toggle):
19795 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19796 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19797 * textmodes/picture.el (picture-draw-rectangle):
19798 * textmodes/reftex-index.el (reftex-index-goto-letter):
19799 (reftex-select-jump-to-previous):
19800 * textmodes/reftex-sel.el (reftex-find-start-point)
19801 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19802 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19803 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19804 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19805 * textmodes/two-column.el (2C-associated-buffer):
19806 Use forward-line rather than goto-line.
19808 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19811 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19812 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19813 (quick-check-list-to-regexp): Declare.
19815 * progmodes/make-mode.el (makefile-browser-insert-selection):
19816 Use goto-char rather than goto-line.
19818 * progmodes/prolog.el (compilation-error-regexp-alist)
19819 (compilation-forget-errors): Declare.
19821 2009-08-22 Juri Linkov <juri@jurta.org>
19823 * progmodes/grep.el (lgrep, rgrep): At the beginning
19824 set `dir' to `default-directory' unless `dir' is a non-nil
19825 readable directory. (Bug#4052)
19826 (lgrep, rgrep): Change a weird way to report an error
19827 from using `read-string' to using `error'.
19828 Instead of using interactive arguments in the function body,
19829 add new argument `confirm'.
19831 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19833 * textmodes/remember.el (remember-buffer):
19834 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19835 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19836 (icalendar-extract-ical-from-buffer):
19837 * net/newst-treeview.el (newsticker-groups-filename):
19838 * net/newst-backend.el (newsticker-cache-filename):
19839 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19840 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19841 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19842 (speedbar-buffers-line-path, speedbar-path-line)
19843 (speedbar-buffers-line-path):
19844 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19846 * epa.el (epa-display-verify-result):
19847 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19849 2009-08-21 Glenn Morris <rgm@gnu.org>
19851 * progmodes/js.el (inferior-moz-process): Fix declaration.
19853 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19855 * obsolete/rnewspost.el (news-mail-reply):
19856 Use goto-char rather than goto-line.
19858 * term/ns-win.el (ns-open-file-select-line):
19859 Use line-beginning-position rather than goto-line.
19861 * apropos.el (apropos-command):
19862 * ehelp.el (electric-helpify):
19863 * printing.el (pr-show-setup):
19864 * strokes.el (strokes-help):
19865 * tutorial.el (tutorial--describe-nonstandard-key)
19866 (tutorial--detailed-help):
19867 * woman.el (woman-mini-help, woman-display-extended-fonts):
19868 * calc/calc-help.el (calc-describe-key):
19869 * emulation/edt.el (edt-electric-helpify):
19870 * international/mule-diag.el (mule-diag):
19871 * play/yow.el (apropos-zippy):
19872 * progmodes/python.el (python-describe-symbol):
19873 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19874 * textmodes/table.el (*table--cell-describe-mode)
19875 (*table--cell-describe-bindings):
19876 Use help-print-return-message rather than the now obsolete alias.
19878 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19879 (calendar-cursor-to-visible-date):
19880 * play/5x5.el (5x5-position-cursor):
19881 * play/decipher.el (decipher):
19882 * play/gomoku.el (gomoku-goto-xy):
19883 * play/landmark.el (lm-goto-xy):
19884 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19885 (mpuz-paint-digit):
19886 Use forward-line, not goto-line.
19888 * mail/rmail.el (rmail-obsolete): Delete custom group.
19889 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19890 (rmail-remote-password, rmail-remote-password-required):
19891 Remove unneeded :set-after and :set properties.
19893 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19895 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19897 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19899 * loadup.el: Remove leftover macos code.
19901 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19902 Explicitly pass the date format to git blame so that user local
19903 so that the output format can be parsed.
19905 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19907 * net/dbus.el (top): Don't check for (getenv
19908 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19910 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19912 * log-edit.el (log-edit-strip-single-file-name): New var.
19913 (log-edit-insert-changelog): Use it. Bug#3571
19915 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19917 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19920 * help.el (help-print-return-message): Rename from
19921 print-help-return-message.
19923 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19924 cvs-mode-map parent hack.
19925 (log-view-mode): Derive from special-mode.
19927 * linum.el (linum-mode): window-size-change-functions is redundant.
19928 Adapt to new window-configuration-change-hook behavior.
19929 (linum-after-size, linum-after-config): Remove.
19931 * imenu.el (imenu-example--name-and-position)
19932 (imenu-example--lisp-extract-index-name)
19933 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19936 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19937 (inferior-prolog-mode): Use it.
19938 (inferior-prolog-load-file): Reset list of errors.
19940 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19942 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19944 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19946 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19948 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19949 is running already.
19951 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19953 * subr.el (listify-key-sequence-1): Use normal syntax since those
19954 integers are nowadays always represented by the same (positive) number
19956 (read-key-empty-map): New const.
19957 (read-key-delay): New var.
19958 (read-key): New function.
19959 (force-mode-line-update): Use with-current-buffer.
19960 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19961 (start-process-shell-command, start-file-process-shell-command):
19962 Discourage the use of command-args.
19964 2009-08-19 Glenn Morris <rgm@gnu.org>
19966 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19968 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19970 * simple.el (choose-completion-string): Don't rely on
19971 minibuffer-completing-file-name and ad-hoc checks to decide whether
19972 to continue completion or not.
19974 * minibuffer.el (minibuffer-hide-completions): New function.
19975 (completion--do-completion): Use it.
19976 (completions-annotations): New face.
19977 (completion--insert-strings): Use it.
19978 (completion-pcm--delim-wild-regex): Add docstring.
19979 (completion-pcm--string->pattern): Add support for 0-width delimiters
19980 in completion-pcm--delim-wild-regex.
19982 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19984 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19985 Remove unused var `buffer-modified-p'.
19987 * minibuffer.el (completion--do-completion): Move point for the #b001
19988 case as well (bug#4176).
19989 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19991 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19993 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19994 and :session buses.
19996 2009-08-18 Kenichi Handa <handa@m17n.org>
19998 * international/ucs-normalize.el (ucs-normalize-version):
20000 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20001 (utf-8-hfs): Make it perform normalization on encoding too.
20003 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20004 (sentence-end-without-space): Delete duplicated chars.
20005 (sentence-end-base): Likewise.
20007 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20008 (html-mode): Delete duplicated chars from sentence-end-base.
20010 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20011 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20013 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20015 * files.el (hack-one-local-variable): If the mode function is for
20016 a minor mode, pass it an argument (Bug#4148).
20018 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20020 * net/tramp.el (tramp-register-completion-file-name-handler):
20021 Check also for (member 'partial-completion completion-styles).
20023 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20025 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20028 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20030 * progmodes/cperl-mode.el: Merge upstream 6.2.
20031 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20032 (cperl-forward-re): Check cperl-brace-recursing.
20033 (cperl-highlight-charclass): New function.
20034 (cperl-find-pods-heres): Use it.
20035 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20036 (cperl-beautify-regexp-piece): Fix column calculation.
20037 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20038 (cperl-beautify-level): Don't process entire regexp.
20039 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20041 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20042 (cperl-init-faces): Build a list in the normal way.
20044 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20046 * calendar/parse-time.el (parse-time-string-chars): Save match
20049 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20051 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20052 (sql-product): Use it.
20053 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20054 (sql-set-product): Add completion.
20055 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20056 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20057 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20058 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20059 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20060 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20061 (sql-highlight-db2-keywords): Remove.
20062 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20063 (sql-highlight-product): Use derived-mode-p.
20064 (sql-set-sqli-buffer): Use with-current-buffer.
20065 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20068 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20070 * term.el: Fix commenting convention, turn comments into docstrings.
20072 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20074 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20076 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20078 * calendar/parse-time.el (parse-time-string-chars): Compute using
20079 character classes, to handle non-ascii characters (Bug#3190).
20081 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20083 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20084 another heredoc if the user adds another < (Bug#3226).
20086 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20087 Don't initialize based on window-system (Bug#4124).
20089 * facemenu.el (facemenu-read-color): Use a completion function
20090 that accepts any defined color, such as RGB triplets (Bug#3677).
20092 * files.el (get-free-disk-space): Change fallback default
20093 directory to /. Expand DIR argument before switching to fallback.
20094 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20096 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20098 * files.el (load-library): Doc fix.
20100 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20102 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20103 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20104 incremental search string.
20106 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20109 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20110 (ediff-merge-region-is-non-clash)
20111 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20112 Also check if the job is really a merge job.
20114 * ediff.el (ediff-current-file): New function.
20116 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20118 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20120 (js-insert-and-indent): Delete function.
20121 (js-mode-map): Don't bind keys to js-insert-and-indent.
20122 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20123 (js-end-of-defun): Rename from js--end-of-defun.
20124 (js-auto-indent-flag): Delete variable.
20126 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20128 * progmodes/js.el: Remove proclaim statement.
20129 Defvar which-func-imenu-joiner-function to silence compiler.
20131 * files.el (auto-mode-alist): Use js-mode for .js files.
20133 * progmodes/js2-mode.el: Remove file.
20135 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20137 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20139 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20141 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20142 Karl Landstrom <karl.landstrom@brgeight.se>
20144 * progmodes/js.el: New file.
20146 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20148 * timezone.el (timezone-parse-date): Add ability to understand ISO
20149 basic format (minimal separators) dates in addition to the
20150 already-supported extended format dates.
20152 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20154 * international/ucs-normalize.el: Add a `coding' file variable.
20156 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20158 2009-08-14 Sam Steingold <sds@gnu.org>
20160 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20162 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20164 * faces.el (help-argument-name): Define it here instead of
20165 help-fns.el, because in daemon mode help-fns.el may be loaded when
20166 faces are still uninitialized (Bug#1078).
20168 * help-fns.el (help-argument-name): Move defface to faces.el.
20170 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20172 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20173 create buffer with a pty but no process so that GDB can make the
20174 inferior the controlling process.
20176 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20178 * international/ucs-normalize.el: New file.
20180 2009-08-13 Richard Stallman <rms@gnu.org>
20182 * mail/rmail.el (rmail-get-attr-names):
20183 Accept an attribute header that is too short.
20185 * mail/rmail.el (rmail-forget-messages):
20186 Ignore nil elt in rmail-message-vector. Use dotimes.
20188 * progmodes/compile.el (compilation-goto-locus):
20189 Use next-error-move-function.
20191 * simple.el (next-error-move-function): New variable.
20193 2009-08-12 Juri Linkov <juri@jurta.org>
20195 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20196 always non-nil. (Bug#4052)
20198 * replace.el (read-regexp): Return empty string when
20199 `default-value' is nil.
20200 (keep-lines-read-args): Don't use empty string as the
20201 default value for `read-regexp'. (Bug#2495)
20203 2009-08-12 Juri Linkov <juri@jurta.org>
20205 * international/mule-cmds.el (ucs-insert): Change arguments
20206 from `arg' to `character', `count', `inherit' to be the same
20207 as in `insert-char'. Doc fix. (Bug#4039)
20209 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20211 2009-08-12 Juri Linkov <juri@jurta.org>
20213 * files-x.el: New file.
20215 * files.el: Move code that deals with adding/deleting
20216 file/directory-local variables to files-x.el.
20218 * Makefile.in (ELCFILES): Add files-x.elc.
20220 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20222 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20223 to use `goto-line'.
20224 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20226 (gdb-invalidate-disassembly): Do not refresh upon receiving
20227 'update signal. Instead, update all disassembly buffers only after
20229 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20230 (gdb-starting): Move -data-list-register-names...
20231 (gdb-stopped): ...here so it's sent when first thread stops.
20232 (gdb-registers-handler-custom): Do nothing if register names are
20235 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20236 from `gdb-mi.el' to avoid extra tangling.
20238 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20239 change which breaks `gud-def' definitions used in `gdb'.
20240 (gdb-update-gud-running): No extra fuss for updating frame number.
20242 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20244 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20245 (describe-language-environment-map, setup-language-environment-map)
20246 (set-coding-system-map): Move initialization into declaration.
20247 (set-language-info-alist): Last arg to define-key-after can be skipped.
20249 * international/quail.el (quail-completion-1): Simplify.
20250 (quail-define-rules): Use slightly more compact code.
20251 (quail-insert-decode-map): Propertize keys, compact columns.
20253 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20256 2009-08-10 Miles Bader <miles@gnu.org>
20258 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20259 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20260 (js2-instance-member, js2-private-member, js2-private-function-call)
20261 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20262 (js2-magic-paren, js2-external-variable):
20263 Remove "-face" suffix from face names.
20264 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20265 (js2-highlight-undeclared-vars, js2-peek-token)
20266 (js2-parse-function-params, js2-mode-show-errors)
20267 (js2-mode-show-warnings, js2-make-magic-delimiter)
20268 (js2-mode-highlight-magic-parens): Update to use new face names.
20270 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20272 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20273 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20275 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20277 * subr.el: Provide hashtable-print-readable.
20279 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20280 hs-c-like-adjust-block-beginning.
20281 (hs-hide-block-at-point): Stop hiding at the beginning of
20282 hs-block-end-regexp (Bug#700).
20284 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20286 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20288 (gdb-registers-handler-custom): Do not fail when register names
20291 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20293 * progmodes/gdb-mi.el (gdb-control-all-threads)
20294 (gdb-control-current-thread): Interactive setters for
20295 `gdb-gud-control-all-threads' to use in menu.
20296 (gdb-show-run-p): Show «Go» when process is not active.
20297 (gud-tool-bar-map): Add non-stop/A,T indicator.
20298 Uses gud/thread.xpm and gud/all.xpm.
20300 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20302 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20303 (nslookup-font-lock-keywords): Make it a variable.
20304 (net-utils-mode): New mode for viewing diagnostic network output.
20305 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20306 (net-utils-run-simple): New function.
20307 (ifconfig, iwconfig, netstat, arp, route): Use it.
20309 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20311 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20312 (gdb-memory-set-address, def-gdb-set-positive-number)
20313 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20314 after changing settings.
20315 (gdb-invalidate-disassembly): Update when first shown.
20316 (gdb-edit-locals-value): Fixed.
20317 (gdb-registers-handler-custom): Print registers in right order and
20318 allow changing register values (only for current thread yet).
20319 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20320 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20321 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20322 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20323 Thread info in mode name.
20324 (gdb-registers-mode-map): TAB to switch to locals.
20326 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20328 * mail/rmail.el (rmail-add-mbox-headers)
20329 (rmail-set-message-counters-counter): Search for
20330 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20332 2009-08-08 Glenn Morris <rgm@gnu.org>
20334 * Makefile.in (ELCFILES): Update.
20336 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20338 * mail/sendmail.el (mail-yank-original):
20339 Set buffer-file-coding-system from the one used by the message whose
20342 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20343 to "windows" when "pgnuplot" is used.
20344 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20345 Don't call accept-process-output if "pgnuplot" is used.
20346 (calc-graph-init): Don't send -display and -geometry to
20347 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20348 running "pgnuplot -V" with shell-command-to-string.
20350 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20353 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20355 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20358 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20360 * vc-dispatcher.el (vc-resynch-window): Update comment.
20362 * term.el (term-handle-ansi-escape): Add comments with the
20363 terminfo capabilities implemented.
20365 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20367 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20368 (gdb-var-create-handler): Rewritten using JSON parser.
20369 (gdb-propertize-header): Move earlier.
20370 (gdb-set-header): Remove to avoid duplication.
20371 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20372 Refresh disassembly buffers only after threads list have been
20374 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20377 2009-08-04 Juri Linkov <juri@jurta.org>
20379 * files.el: Commands to add/delete file/directory-local variables.
20380 (read-file-local-variable, read-file-local-variable-value)
20381 (read-file-local-variable-mode, modify-file-local-variable)
20382 (modify-file-local-variable-prop-line)
20383 (modify-dir-local-variable): New functions.
20384 (add-file-local-variable, delete-file-local-variable)
20385 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20386 (add-dir-local-variable, delete-dir-local-variable)
20387 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20388 (copy-dir-locals-to-file-locals-prop-line): New commands.
20390 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20392 * abbrev.el (insert-abbrev-table-description): Prettify output.
20393 Suggested by Karl Chen.
20395 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20397 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20398 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20399 (gdb-overlay-arrow-position, gdb-thread-position)
20400 (gdb-disassembly-position): Declare variables.
20401 (gdb-wait-for-pending): Function now.
20402 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20403 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20404 compilation goes smoothly.
20405 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20406 (gdb-non-stop-setting): New customization setting which replaces
20407 `gdb-non-stop' so changing it doesn't break active GDB session.
20408 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20409 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20410 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20411 (gdb-show-threads-by-default): New customization options.
20412 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20414 (gdb-get-buffer-create): Send buffers update signal when they are
20416 (gdb-invalidate-locals, gdb-invalidate-registers)
20417 (gdb-invalidate-breakpoints)
20418 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20419 (gdb-invalidate-memory): Accept update signal.
20420 (gdb-current-context-command): Use --frame option.
20421 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20422 Implement `gdb-frame-number' selection logic.
20423 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20424 whether to show GUD toolbar buttons.
20425 (gdb-thread-exited): Unselect current thread when it exits.
20426 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20427 (gdb-mark-line): Routine which sets overlay arrow or inverses
20428 video on fringeless displays.
20429 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20430 to build aligned columns of data in GDB buffers and set text
20431 properties line-by-line.
20432 (gdb-invalidate-breakpoints)
20433 (gdb-breakpoints-list-handler-custom)
20434 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20435 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20436 (gdb-registers-handler-custom): Align data columns.
20437 (gdb-locals-handler-custom): Now prints data like in variable
20439 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20440 Remove confusing buttons.
20441 (gdb-invalidate-threads): Append --frame.
20442 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20443 between breakpoints/threads buffers.
20444 (gdb-set-window-buffer): Now can ignore dedicated windows.
20445 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20446 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20447 (def-gdb-thread-buffer-gud-command): Replaces
20448 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20449 for fine thread control.
20450 (gdb-preempt-existing-or-display-buffer): New function used to
20451 display bound buffers without breaking window layout.
20452 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20453 (gdb-select-frame): New version of `gdb-frames-select' which now
20454 sets `gdb-frame-number' so commands may use --frame option instead
20455 of inner debugger state.
20456 (gdb-frame-handler): Do not set `gdb-frame-number'.
20457 (gdb-threads-mode-map): Select threads with mouse.
20459 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20460 avoid compilation warning.
20461 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20464 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20465 Argument `key' renamed to `buffer-type'.
20466 (gdb-current-context-buffer-name): Do not add thread info to
20467 buffer name when no thread is selected.
20468 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20469 command (bug 3794).
20470 (gdb-thread-selected): Handle `=thread-selected' notification.
20471 (gdb-wait-for-pending): New macro to deal with congestion problems.
20472 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20474 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20475 This fixes problem similar to one described in bug 3947.
20476 (gud-menu-map): More menu items.
20477 (gdb-init-1): Reset `gdb-thread-number' to nil.
20479 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20482 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20483 (gdb-current-context-command): Do not append --thread if
20484 `gdb-thread-number' is nil.
20485 (gdb-running-threads-count, gdb-stopped-threads-count):
20487 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20488 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20489 New customization options.
20490 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20492 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20493 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20494 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20495 set `gdb-thread-number' and update `gud-running' properly.
20496 (gdb-running): Update threads list when new threads appear.
20497 (gdb-stopped): Support non-stop operation and new thread switching
20499 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20500 (gdb-json-partial-output): New set of JSON routines.
20501 (def-gdb-auto-update-trigger): New `signal-list' optional
20503 (gdb-thread-list-handler-custom): Update `gud-running',
20504 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20505 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20506 (gdb-continue-thread, gdb-step-thread): New commands for fine
20507 thread execution control.
20508 (gud-menu-map): New menu items to switch non-stop options.
20509 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20510 (gdb-send): Mimic RET properly (bug 3794).
20512 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20513 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20515 (def-gdb-auto-update-handler): New nopreserve optional argument.
20516 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20518 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20519 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20520 (gdb-parent-mode): New mode to derive other GDB modes from.
20521 (gdb-display-disassembly-for-thread)
20522 (gdb-frame-disassembly-for-thread): New commands for threads
20525 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20526 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20527 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20528 (gdb-update): We now store all GDB buffers in a list so that they
20529 can be updated by traversing a list instead of calling invalidate
20530 triggers explicitly.
20531 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20532 pair for GDB buffer.
20533 (gdb-stack-buffer-name): Add thread information.
20534 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20535 handle pending triggers.
20536 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20537 (def-gdb-thread-buffer-simple-command)
20538 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20539 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20540 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20541 New commands which show buffers bound to thread.
20542 (gdb-stack-list-locals-regexp): Remove unused regexp.
20544 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20545 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20546 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20547 to (gud-comint-buffer) in *-buffer-name functions
20548 because (gdb-get-target-string) already does that.
20549 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20550 (gdb-changed-registers-handler): Rewritten without regexps.
20552 * progmodes/gdb-mi.el: Basic thread selection support.
20553 (gdb-thread-number): New variable.
20554 (gdb-current-context-command): New macro which adds --thread
20556 (gdb-threads-mode-map): Select thread with SPC.
20557 (gdb-thread-list-handler-custom): Mark current thread with overlay
20558 arrow. Synchronize GDB thread and Emacs thread.
20559 (gdb-select-thread): New command which selects current thread.
20560 (gdb-invalidate-frames, gdb-invalidate-locals)
20561 (gdb-invalidate-registers): Use --thread option.
20563 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20565 * net/tramp.el (top): Make check for tramp-gvfs loading more
20567 (tramp-handle-insert-file-contents): `unwind-protect' must be
20568 inside `with-parsed-tramp-file-name'.
20570 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20573 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20575 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20576 directory if CLASSPATH is not set.
20578 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20580 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20582 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20584 2009-08-02 Kevin Ryde <user42@zip.com.au>
20586 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20587 Update freshmeat link. Delete newsforge.com as it seems gone.
20589 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20591 * select.el (x-set-selection): Doc fix (Bug#4021).
20593 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20595 * help-fns.el (describe-variable): Treat list return values from
20596 dir-locals-find-file properly (Bug#4005).
20598 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20600 * net/tramp.el (tramp-debug-message): Print also microseconds.
20602 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20604 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20606 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20607 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20610 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20611 (tramp-get-file-property): Use it.
20613 * autorevert.el (auto-revert-handler):
20614 Allow `auto-revert-tail-mode' for remote files.
20616 2009-08-02 Jason Rumney <jasonr@gnu.org>
20618 * minibuffer.el (read-file-name): Treat confirm options to
20619 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20621 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20623 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20624 (font-lock-variable-name-face, font-lock-constant-face):
20625 Darken the colors for light backgrounds.
20627 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20629 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20630 month names. (Bug#3987)
20632 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20634 * simple.el (line-move-finish): Pass whole number to
20635 line-move-to-column.
20636 (line-move-visual): Perform hscroll to the recorded position.
20638 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20640 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20642 2009-07-29 Alan Mackenzie <acm@muc.de>
20644 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20646 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20648 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20649 (gdb-place-breakpoints): Use full path when setting breakpoints.
20651 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20653 * calc/calc.el (calc-mode-map): Add keybinding for
20654 `calc-transpose-lines'.
20656 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20658 * calc/calc-misc.el (calc-transpose-lines): New function.
20660 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20662 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20663 Simplify check for out-of-band methods.
20664 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20665 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20667 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20669 * vc-git.el (vc-git-checkin): Fix typo.
20671 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20673 * progmodes/js2-mode.el: New file.
20675 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20677 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20678 (gud-menu-map): Adjust tooltip accordingly.
20680 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20682 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20683 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20685 * add-log.el (change-log-mode-map): Add a menu.
20687 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20689 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20690 function returns nil.
20691 (dbus-handle-event): Handle special return value :ignore.
20692 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20694 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20696 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20699 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20703 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20705 * term/pc-win.el (x-display-name, x-colors)
20706 (x-select-enable-clipboard, x-select-text): Doc fix.
20708 * term/common-win.el (x-display-name, x-colors): Doc fix.
20710 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20711 (xw-defined-colors): Doc fix.
20713 * w32-fns.el (x-select-text, x-setup-function-keys)
20714 (x-get-selection, x-set-selection): Doc fix.
20716 * term/x-win.el (x-select-text, x-setup-function-keys)
20717 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20719 * select.el (x-set-selection): Doc fix.
20721 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20723 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20724 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20725 "IsNSSSupportAvailable" method is not available.
20726 Reported by Steve Youngs <steve@sxemacs.org>.
20728 2009-07-24 Kenichi Handa <handa@m17n.org>
20730 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20731 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20732 (build-unicode-category-table): Fix range checks.
20734 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20736 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20737 the buffer we try to sync is current when calling
20740 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20741 not show up to date files.
20743 2009-07-24 Glenn Morris <rgm@gnu.org>
20745 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20746 Add autoload cookies. If necessary, initialize.
20747 (elint-log): Handle non-file buffers.
20748 (elint-initialize): Add optional argument to reinitialize.
20749 (elint-find-builtin-variables): Save excursion.
20751 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20753 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20756 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20758 * vc.el (vc-print-log-internal): New function, split out from ...
20759 (vc-print-log): ... here.
20760 (vc-dir-move-to-goal-column): Declare.
20762 * vc-git.el (vc-git-add-signoff): New variable.
20763 (vc-git-checkin): Use it.
20764 (vc-git-toggle-signoff): New function.
20765 (vc-git-extra-menu-map): Bind it to menu.
20766 (vc-git--run-command-string): Accept a nil FILE argument.
20767 (vc-git-stash-list): New function.
20768 (vc-git-dir-extra-headers): Use it.
20770 2009-07-23 Glenn Morris <rgm@gnu.org>
20772 * help-fns.el (describe-variable): Describe ignored and risky local
20773 variables in a similar way to that in which we describe safe ones.
20775 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20776 (byte-compile-output-file-form, byte-compile-output-docform)
20777 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20778 Give some more local variables with common names a "bytecomp-" prefix,
20779 so as not to shadow things during compilation.
20780 * emacs-lisp/cl-macs.el (load-time-value)
20781 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20782 `outbuffer' to `bytecomp-outbuffer'.
20784 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20785 since the next two variables cover them automatically now.
20786 (elint-builtin-variables, elint-autoloaded-variables): New.
20787 (elint-unknown-builtin-args): Remove all members, since they can be
20788 parsed automatically now.
20789 (elint-extra-errors): New.
20790 (elint-env-add-env, elint-env-add-macro): Use cadr.
20791 (elint-current-buffer): Use or. Change final message.
20792 (elint-get-top-forms): Use line-end-position.
20793 (elint-init-env): Use cadr. Handle autoload, declare-function,
20795 (elint-add-required-env): Doc fix. Use or. Standardize error.
20796 (regexp-assoc): Remove unused function.
20797 (elint-top-form): Set elint-current-pos, to record the start of the
20798 top-level form, for compilation-mode.
20799 (elint-form): Trap errors in macro expansion. Use dolist.
20800 (elint-unbound-variable): Use elint-builtin-variables and
20801 elint-autoloaded-variables.
20802 (elint-get-args): Use cadr, or.
20803 (elint-check-cond-form): Use dolist, cadr.
20804 (elint-check-condition-case-form): Doc fix. Use cadr.
20805 Use elint-extra-errors.
20806 (elint-log): New function.
20807 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20808 Distinguish errors and warnings.
20809 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20810 Use a bytecomp-style format.
20811 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20812 (elint-get-log-buffer): Use compilation mode. Disable undo.
20813 Don't truncate lines.
20814 (elint-initialize): Set builtin and autoloaded variable lists.
20815 Only process elint-unknown-builtin-args if non-nil.
20816 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20818 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20820 2009-07-22 Kevin Ryde <user42@zip.com.au>
20822 * net/newst-backend.el (newsticker--parse-atom-1.0)
20823 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20824 (newsticker--parse-rss-1.0):
20825 * progmodes/idlwave.el (idlwave-mode):
20826 * progmodes/idlw-shell.el (idlwave-shell-mode):
20827 * progmodes/vera-mode.el (vera-mode):
20828 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20829 * progmodes/vhdl-mode.el (vhdl-mode):
20830 * textmodes/table.el (table-generate-source)
20831 (table--warn-incompatibility):
20832 Hyperlink urls in docstrings with URL `...'.
20834 2009-07-22 Glenn Morris <rgm@gnu.org>
20836 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20837 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20838 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20839 Remove leading * from defcustom docs.
20841 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20843 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20845 (list-load-path-shadows): Optionally, just return shadows as a string.
20847 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20849 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20851 * mail/rmailedit.el (rmail-edit-mode):
20852 Use auto-save-include-big-deletions.
20854 * mail/rmail.el (rmail-variables):
20855 Use auto-save-include-big-deletions.
20857 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20860 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20862 * calc/calc.el (calc-undo-length): New variable.
20863 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20865 2009-07-21 Richard Stallman <rms@gnu.org>
20867 * files.el (auto-save-mode): Handle buffer-save-size = -2
20870 2009-07-21 Glenn Morris <rgm@gnu.org>
20872 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20874 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20876 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20877 silence compiler. Instead...
20878 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20879 (ps-print-ensure-fontified): Update for above function name changes.
20881 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20882 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20883 silence compiler. Instead...
20884 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20885 (mh-show-buffer): Only define for compiler.
20886 (pr-mh-current-message): Update for above function name changes.
20888 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20890 (find-file-noselect, insert-file-1): Update for above change.
20892 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20894 * mail/mailclient.el (mailclient-send-it): Fix message.
20896 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20897 (edebug-eval): Check cl-debug-env is bound.
20898 (print-level, print-circle): Don't redefine built-in variables.
20900 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20901 (custom-print-vectors): Remove old comments from doc.
20903 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20904 (emerge-version): Make the variable an obsolete alias for the
20905 emacs-version variable. Make the function obsolete.
20906 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20907 Emerge options, rather than merging in into the main Options menu.
20908 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20909 and auto advance modes. Disable edit/fast items when not relevant.
20911 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20913 * term/vt420.el (terminal-init-vt420): Fix typo.
20915 2009-07-20 Sam Steingold <sds@gnu.org>
20917 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20918 variable (removed from compile.el on 2004-03-11).
20920 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20922 * files.el (hack-local-variables-filter): Fix last change.
20924 2009-07-19 Juri Linkov <juri@jurta.org>
20926 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20927 (dir-local-variables-alist): New buffer-local variable.
20928 (hack-local-variables-filter): If variable is not dir-local,
20929 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20930 because file-local overrides dir-local.
20931 (c-postprocess-file-styles) <declare-function>:
20932 Remove obsolete declaration.
20933 (hack-dir-local-variables): Add dir-local variable/value pair to
20934 `dir-local-variables-alist' and remove duplicates. Doc fix.
20936 * help-fns.el (describe-variable): Add information about
20937 file-local and dir-local variables.
20939 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20941 * files.el (hack-local-variables-filter): Rewrite.
20943 2009-07-19 Glenn Morris <rgm@gnu.org>
20945 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20946 Silence compiler by only defining on XEmacs.
20948 * international/mule.el (auto-coding-regexp-alist): Only match
20949 BABYL... at the start of buffer, not of lines. (Bug#3790)
20951 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20952 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20953 (cal-menu-context-mouse-menu): Doc fix.
20955 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20957 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20959 2009-07-18 Juri Linkov <juri@jurta.org>
20961 * info.el: Virtual Info keyword finder.
20962 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20963 (Info-finder-file): New variable.
20964 (Info-finder-find-file): New function.
20965 (finder-known-keywords, finder-package-info)
20966 (find-library-name, lm-commentary): Use defvar and
20967 declare-function to silence compiler warnings.
20968 (Info-finder-find-node): New function.
20969 (info-finder): New command.
20971 * subr.el (process-kill-buffer-query-function): New function.
20972 (add-hook)<kill-buffer-query-functions>: Add hook
20973 `process-kill-buffer-query-function'.
20975 2009-07-18 Alan Mackenzie <acm@muc.de>
20977 * progmodes/cc-mode.el (c-before-hack-hook)
20978 (c-postprocess-file-styles): Give invocation of `c-set-style'
20979 DONT-OVERRIDE parameter of t. Already set style variables will
20980 thus not be overridden by style settings given by `c-file-syle'.
20982 * files.el (hack-local-variables-filter): Remove entries with
20983 duplicate keys from `file-local-variables-alist'.
20985 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20987 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20988 x-set-selection if display-selections-p returns nil for the
20991 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20993 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20995 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20997 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20998 Accept nil in addition to a regexp.
20999 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21000 Accept nil in addition to a regexp.
21001 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21002 buffers that have an associated file. Handle nil values of
21003 desktop-buffers-not-to-save and desktop-files-not-to-save.
21006 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21007 (x-disown-selection-internal): New functions.
21009 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21011 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21013 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21014 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21016 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21018 * simple.el (set-mark): Revert last change.
21020 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21022 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21023 rendering of pngs is not possible instead of messaging a long
21026 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21028 * w32-fns.el (x-selection-owner-p): New function.
21030 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21031 (mouse-yank-at-click, mouse-yank-primary):
21032 If select-active-regions is non-nil, deactivate the mark before
21035 * simple.el (deactivate-mark, set-mark): Only save selection if we
21038 2009-07-17 Kenichi Handa <handa@m17n.org>
21040 * case-table.el (describe-buffer-case-table): Fix for the case
21041 that KEY is a cons.
21043 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21045 * vc-rcs.el (vc-rcs-find-file-hook):
21046 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21048 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21050 * net/tramp.el (tramp-wait-for-output): Handle the case when
21051 commands do not return a newline but a null byte before the shell
21054 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21056 * term/ns-win.el (ns-set-alpha): Don't declare.
21057 (ns-set-background-alpha): Remove function.
21059 2009-07-16 Kevin Ryde <user42@zip.com.au>
21061 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21062 y-or-n-p, for safety.
21064 2009-07-16 Richard Stallman <rms@gnu.org>
21066 * files.el (auto-save-mode): If buffer-saved-size is -2,
21069 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21070 (rmail-retry-ignored-headers): Add more uninteresting fields.
21072 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21074 * net/rcirc.el (rcirc): Use history variables.
21075 (rcirc-server-name-history, rcirc-nick-name-history)
21076 (rcirc-server-port-history): New variables.
21078 2009-07-15 Kenichi Handa <handa@m17n.org>
21080 * international/mule-cmds.el (set-language-environment-charset):
21081 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21084 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21085 Delete unibyte-display.
21087 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21089 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21091 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21093 * simple.el (deactivate-mark): Optional argument FORCE.
21094 (set-mark): Use deactivate-mark.
21096 * info.el (Info-search): No need to check transient-mark-mode
21097 before calling deactivate-mark.
21099 * select.el (x-set-selection): Doc fix.
21100 (x-valid-simple-selection-p): Allow buffer values.
21101 (xselect--selection-bounds): Handle buffer values.
21102 Suggested by David De La Harpe Golden.
21104 * mouse.el (mouse-set-region, mouse-drag-track):
21105 Call copy-region-as-kill before setting the mark, to let
21106 select-active-regions work.
21108 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21110 * simple.el (deactivate-mark): If select-active-regions is
21111 non-nil, copy the selection data into a string.
21112 (activate-mark): If select-active-regions is non-nil, set the
21113 selection to the current buffer.
21114 (set-mark): Update selection if select-active-regions is non-nil.
21116 * select.el (x-valid-simple-selection-p): Allow buffer values.
21118 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21120 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21121 and more featureful message-mode.
21123 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21125 * select.el (x-set-selection): Doc fix.
21126 (x-valid-simple-selection-p): Disallow selection data consisting
21127 of a list or cons of integers, since that is not used.
21128 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21129 (xselect-convert-to-string, xselect-convert-to-length)
21130 (xselect-convert-to-filename, xselect-convert-to-charpos)
21131 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21133 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21135 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21136 output in -break-info command (Emacs bug #3794).
21138 2009-07-14 Glenn Morris <rgm@gnu.org>
21140 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21141 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21142 (edebug-print-length, edebug-print-level, edebug-print-circle)
21143 (edebug-sit-for-seconds, edebug-view-outside)
21144 (edebug-bounce-point, edebug-set-global-break-condition)
21145 (edebug-Go-nonstop-mode, edebug-trace-mode)
21146 (edebug-Trace-fast-mode, edebug-continue-mode)
21147 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21148 (edebug-visit-eval-list): Doc fixes.
21150 * subr.el (def-edebug-spec): Doc fix.
21152 2009-07-14 Kenichi Handa <handa@m17n.org>
21154 * international/characters.el: Fix setting of category ?C.
21156 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21158 * term/ns-win.el (x-select-font): defalias x-select-font to
21159 ns-popup-font-panel instead of generate-fontset-menu.
21161 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21163 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21165 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21167 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21168 the PK\003\004 header (Bug#3770).
21170 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21172 * pcomplete.el (pcomplete-comint-setup): Check for
21173 shell-dynamic-complete-filename too.
21175 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21177 * simple.el (temporary-goal-column): Change the value for
21178 line-move-visual to a cons cell.
21179 (line-move-visual): Record or set the window hscroll, if
21180 necessary (Bug#3494).
21181 (line-move-1): Handle cons value of temporary-goal-column.
21183 2009-07-11 Kenichi Handa <handa@m17n.org>
21185 * international/mule-diag.el (describe-character-set): Don't show
21188 2009-07-10 Sam Steingold <sds@gnu.org>
21190 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21191 Omake sometimes indents the errors it prints, so allow all
21192 regexps to start with spaces.
21194 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21196 * cus-edit.el (customize-changed-options-previous-release):
21197 Bump value to 22.1. (Bug#3804)
21199 2009-07-08 Sam Steingold <sds@gnu.org>
21201 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21202 to be a cons cell (test . ignored-directory) to selectively ignore
21203 some directories depending on the location of the search.
21205 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21207 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21208 remote user is root, on the local host.
21209 (tramp-local-host-p): Either the local user or the remote user
21210 must be root. (Bug#3771)
21212 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21214 * progmodes/gdb-mi.el (gdb): Remove description of
21215 gdb-use-separate-io-buffer.
21216 (menu): Don't allow toggling of or enable
21217 gdb-use-separate-io-buffer from menubar.
21219 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21221 * mail/unrmail.el (unrmail): Make sure the message ends with two
21222 newlines (Bug#3769).
21224 2009-07-08 Glenn Morris <rgm@gnu.org>
21226 * calendar/calendar.el (calendar-current-date): Rework previous change.
21228 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21230 * calendar/calendar.el (calendar-current-date):
21231 Add an optional argument giving an offset from today.
21233 2009-07-08 Glenn Morris <rgm@gnu.org>
21235 * tutorial.el (tutorial--describe-nonstandard-key):
21236 Adjust the message for when a key has been unbound.
21237 (help-with-tutorial): Hide the arch-tag.
21239 2009-07-08 Kenichi Handa <handa@m17n.org>
21241 * international/fontset.el (setup-default-fontset): For each
21242 script, append (not set) font-specs.
21244 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21247 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21249 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21250 -data-list-register-names to ...
21251 (gdb-starting): ... here because GDB 7.0 requires execution to
21252 have started when using this MI command.
21253 (gdb-set-header): New function to distinguish select and
21254 unselected tabs in gdb buffers.
21255 (gdb-propertize-header): New macro that uses gdb-set-header.
21256 (gdb-breakpoints-header, gdb-locals-header): Use it.
21257 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21259 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21261 * Makefile.in (ELCFILES): Remove fadr.elc.
21263 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21265 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21266 may contain frame information, so `string-match' should be used.
21267 (gdb-update): Disassembly is invalidated through
21268 `gdb-get-selected-frame'.
21269 (gdb-pad-string): New function to pad string with spaces.
21270 (gdb-invalidate-disassembly): Invalidate only if the buffer
21272 (gdb-disassembly-handler-custom): Column alignment.
21273 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21275 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21277 (gdb-frame-handler): Match convention to for disassembly buffer
21279 (gdb-stack-list-frames-handler): Rewritten without regexps.
21280 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21281 not highlight breakpoints without line information.
21282 (gdb-input): Add trailing newline to command.
21284 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21286 (gdb-breakpoints-list-handler-custom): Replacement for
21287 `gdb-break-list-handler'. Using real parser instead of regexps
21289 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21290 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21291 to place breakpoints.
21292 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21294 (gdb-disassembly-handler-custom): Show overlay arrow.
21295 (gdb-disassembly-place-breakpoints): Show breakpoints in
21296 disassembly buffer.
21297 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21298 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21299 instead of parsing breakpoints buffer. Fixed old menu references
21304 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21305 (gdb-memory-address): New variable which holds top address of
21306 memory page shown in memory buffer.
21307 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21308 New customization variables.
21310 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21311 display the memory buffer.
21312 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21313 buffer display parameters.
21314 (def-gdb-memory-format, gdb-memory-format-binary)
21315 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21316 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21317 Functions for setting memory buffer format.
21318 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21319 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21320 unit size used in memory buffer.
21321 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21322 Switch to next/previous page of memory buffer.
21323 Now using (bindat-get-field) instead of fadr functions.
21325 2009-07-07 Sam Steingold <sds@gnu.org>
21327 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21328 non-top-level files.
21330 2009-07-07 Kenichi Handa <handa@m17n.org>
21332 * international/mule-cmds.el (reset-language-environment):
21333 Put the highset priority to the charset iso-8859-1.
21335 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21337 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21338 to the end of the line when locating the block (Bug#700).
21340 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21342 * net/tramp.el (tramp-handle-write-region): Flush file properties
21343 in case of short track.
21345 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21347 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21348 Coded custom representation of verilog error regular expressions
21349 to work with Emacs-22's new format.
21350 (verilog-error-regexp-xemacs-alist): Coded custom representation
21351 of verilog error regular expressions to work with XEmacs format.
21352 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21353 error recognition into XEmacs.
21354 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21355 error recognition into Emacs-22.
21357 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21359 * woman.el: Remove stand-alone closing parentheses.
21360 (woman-file-name, woman2-format-paragraphs)
21361 (woman-leave-blank-lines): Code cleanup.
21362 (woman-use-own-frame): Change default to nil.
21363 (woman-italic, woman-bold, woman-unknown, woman-addition):
21364 Change defaults to inherit from default faces.
21365 (woman2-process-escapes): Consume the newline after a stand-alone
21366 filler character (Bug#3651).
21368 2009-07-06 Glenn Morris <rgm@gnu.org>
21370 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21371 (top-level): Move provide to the end.
21372 (ffap): Remove defunct URL from custom group.
21374 * subr.el (eval-after-load): Doc fix.
21376 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21378 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21379 `calc-embedded-word' is called twice.
21381 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21383 * files.el (find-alternate-file-other-window, find-alternate-file):
21384 Obey confirm-nonexistent-file-or-buffer.
21386 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21388 * dired-aux.el (dired-show-file-type): Handle remote files.
21390 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21392 * desktop.el (desktop-globals-to-save):
21393 Add file-name-history (Bug#2750).
21395 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21397 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21399 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21401 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21402 property on entire argument since this is what eshell-lisp-command
21405 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21407 * net/tramp-gvfs.el (tramp-gvfs-methods)
21408 (tramp-gvfs-zeroconf-domain)
21409 (tramp-bluez-discover-devices-timeout): Add version flag.
21410 (tramp-gvfs-handler-mounted-unmounted)
21411 (tramp-gvfs-connection-mounted-p): Polish handling of
21412 incompatibilities between GVFS 0.2 and 1.0.
21414 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21416 * cus-start.el (all): Add make-pointer-invisible.
21418 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21420 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21421 formatted correctly.
21423 2009-07-02 Juri Linkov <juri@jurta.org>
21425 * info.el: Virtual Info files and nodes.
21426 (Info-virtual-files, Info-virtual-nodes): New variables.
21427 (Info-current-node-virtual): New variable.
21428 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21430 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21431 to check for a virtual file instead of checking a fixed list
21433 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21434 instead of ad-hoc processing of "dir" and (apropos history toc).
21435 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21436 instead of ad-hoc processing of "dir" and (apropos history toc).
21437 Reread a file when moving from a virtual node.
21438 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21439 (Info-directory-toc-nodes, Info-directory-find-file)
21440 (Info-directory-find-node): New functions.
21441 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21442 (Info-history): Move part of code to
21443 `Info-history-find-node'.
21444 (Info-history-toc-nodes, Info-history-find-file)
21445 (Info-history-find-node): New functions.
21446 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21447 (Info-toc): Move part of code to `Info-toc-find-node'.
21448 (Info-toc-find-node): New function.
21449 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21450 the current Info file name to references because now the node
21451 "*TOC*" belongs to the same Info manual.
21452 (Info-toc-build): Rename from `Info-build-toc'.
21453 (Info-toc-nodes): Rename input argument `file' to `filename'.
21454 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21455 instead of ad-hoc processing of ("dir" apropos history toc).
21456 (Info-index-nodes): Use Info-virtual-file-p
21457 to check for a virtual file instead of checking a fixed list
21459 (Info-index-node): Add check for `Info-current-node-virtual'.
21460 Raise `save-match-data' higher up the tree to contain
21461 `search-forward' too (bug fix).
21462 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21463 (Info-virtual-index-nodes): New variable.
21464 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21465 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21466 (Info-apropos-file, Info-apropos-nodes): New variables.
21467 (Info-apropos-toc-nodes, Info-apropos-find-file)
21468 (Info-apropos-find-node, Info-apropos-matches): New functions.
21469 (info-apropos): Move part of code to `Info-apropos-find-node' and
21470 `Info-apropos-matches'.
21471 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21472 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21473 for a virtual file instead of checking a fixed list of node names.
21475 * simple.el (async-shell-command): New command.
21477 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21479 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21480 instead of `mount-info'.
21482 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21484 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21485 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21487 2009-07-02 Kenichi Handa <handa@m17n.org>
21489 * international/mule.el (set-keyboard-coding-system): Force *-unix
21490 coding-system to avoid eol conversion.
21492 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21494 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21495 Add handler for `process-file', `shell-command' and
21496 `start-file-process'.
21497 (tramp-gvfs-handle-shell-command)
21498 (tramp-gvfs-handle-start-file-process)
21499 (tramp-gvfs-handle-process-file): New defuns.
21500 (tramp-synce-list-devices): Simplify check for existence of property.
21502 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21504 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21506 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21508 * language/korean.el (set-language-info-alist): Add korean-cp949,
21511 2009-07-01 Kenichi Handa <handa@m17n.org>
21513 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21515 * international/encoded-kb.el: Deleted.
21517 * international/mule.el (set-keyboard-coding-system): Perform the
21518 necessary setup here instead of calling encoded-kbd-setup-display.
21520 2009-07-01 Glenn Morris <rgm@gnu.org>
21522 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21524 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21526 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21528 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21530 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21531 Handle also the 'rename case, when setting file modes. (Bug#3712)
21532 (tramp-default-file-modes): Remove execute permissions.
21534 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21535 (top): Add a default for "synce" in `tramp-default-user-alist'.
21536 Add completion function for "synce" method.
21537 (tramp-hal-service, tramp-hal-path-manager)
21538 (tramp-hal-interface-manager, tramp-hal-interface-device):
21540 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21541 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21544 * net/trampver.el: Update release number.
21546 2009-06-30 Kenichi Handa <handa@m17n.org>
21548 * international/fontset.el (setup-default-fontset): Add CJK fonts
21549 for symbols and the other miscellaneous characters.
21551 * language/korea-util.el (setup-korean-environment-internal):
21552 Make char-width-table suitable for Korean environments.
21553 (exit-korean-environment): Cancel above.
21555 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21556 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21557 setup-function to make char-width-table suitable for respective
21558 environments, and an exit-function to cancel that.
21560 * language/japan-util.el (setup-japanese-environment-internal):
21561 Call use-cjk-char-width-table with arg `ja_JP'.
21563 * international/characters.el (cjk-char-width-table): Delete it.
21564 (cjk-char-width-table-list): New variable.
21565 (use-cjk-char-width-table): New arg local-name.
21566 (use-default-char-width-table): Fix for the case that Emacs is
21567 already using the default char-width-table.
21569 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21571 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21572 modes mandatory. (Bug#3712)
21574 2009-06-29 Alan Mackenzie <acm@muc.de>
21576 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21577 correction between the visible width of TABs and their number of bytes.
21579 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21581 * server.el (server-buffer-done): Prevent kill-buffer from
21582 prompting by clearing the buffer modification flag (Bug#3696).
21584 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21586 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21587 (verilog-endcomment-reason-re): Support unique case and priority case.
21588 (verilog-basic-complete-re): Support localparam lineup.
21589 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21590 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21592 (verilog-leap-to-case-head): Now support *nested* unique &
21593 priority case statements.
21594 (verilog-auto-lineup): Make just declarations the default (as it
21596 (verilog-leap-to-case-head): Support priority/unique case statements.
21597 (verilog-auto-lineup): Rework to give users radio buttons to
21598 select the various styles of automatic lineup.
21599 (verilog-error-regexp-alist): Rework to support the XEmacs style
21600 of error regular expressions from compilers, lint tools &
21601 simulators. Note that GNU Emacs has made it impossible for a mode
21602 to load such things.
21603 (electric-verilog-terminate-line, verilog-indent-declaration)
21604 (verilog-auto-wiure): Rework for radio button selection of
21605 auto-lineup selection of specification of auto lineup.
21606 (verilog-beg-of-statement-1): Redesign to support proper operation
21607 in additional code, based on testing with auto-lineup.
21608 (verilog-calculate-indent, assignments & declarations)
21609 (verilog-backward-token): Enhance to support auto-lineup of
21610 assignments & declarations.
21611 (verilog-in-directive-p, verilog-at-struct-p): New function for
21612 easy test of whether we are.
21613 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21614 to support safe execution at almost anyline.
21615 (verilog-calc-1): Properly support indenting deep inside generate
21617 (verilog-init-font): Remove definition & use of verilog-init-font,
21618 as it is redundant with font-lock-defaults.
21619 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21620 to avoid circular calls if syntax-ppss is a function (as is the
21621 case now in 22.x GNU Emacs) as that function would sometimes call
21622 itself, leading to (nearly) infinite recursion.
21623 (verilog-ovm-begin-re, verilog-ovm-end-re)
21624 (verilog-ovm-statement-re, verilog-leap-to-head)
21625 (verilog-backward-token): Add support for OVM macros. Some are
21626 complete statements, and others open and close scopes like begin
21628 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21629 (verilog-defun-level-generate-only-re): Really fix the defun-list
21631 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21632 coverpoint, constraint and cross statements.
21633 (verilog-defun-level-list, verilog-generate-defun-level-list)
21634 (verilog-all-defun-level-list): Redo these specifications - it is
21635 too hard to support eval-when compile aggregation of lists also
21636 built at when-compile time.
21637 (verilog-defun-level-list): Place defconsts of variables used in
21638 building regular expressions which are built in eval-when-compile
21639 bodies in the same eval-when-compile body to facilitate compile
21641 (verilog-beg-block-re-ordered): Support indenting
21642 virtual/protected tasks and functions.
21643 (verilog-defun-level-list, verilog-in-generate-region-p)
21644 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21645 indentation of some module items (generate items).
21646 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21647 across virtual/protected tasks and functions.
21649 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21651 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21652 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21653 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21654 in concatenations. Reported by Yishay Belkind.
21655 (verilog-auto-ascii-enum): Support one-hot state machines in
21656 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21657 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21658 modport in AUTOINST and add vl-modport for users.
21659 Reported by David Rogoff.
21660 (verilog-auto-inout-module, verilog-auto-inst)
21661 (verilog-decls-get-interfaces, verilog-insert-definition)
21662 (verilog-insert-one-definition, verilog-read-decls)
21663 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21664 (verilog-sig-modport, verilog-signals-combine-bus)
21665 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21666 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21667 Suggested by David Rogoff.
21668 (verilog-repair-open-comma): Fix non-insertion of comma when
21669 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21670 (verilog-make-width-expression): Simplify [A-1:0] expression
21671 widths to just {A{1'b0}}.
21672 (verilog-mode): Cleanup checkdoc warnings.
21673 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21674 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21675 inputs/outputs or data type. Suggested by Vasu Kandadi.
21676 (next-error-last-buffer): Fix byte-compiler warning.
21677 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21678 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21679 or shell command text during AUTO expansion. Suggested by Tad Truex.
21680 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21681 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21682 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21683 in AUTOINOUT. Reported by Matthew Lovell.
21684 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21685 causing use of <= assignments. Reported by Alex Reed.
21686 (verilog-read-decls): Fix triand, trior, wand, wor to be
21687 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21688 (verilog-extended-complete-re): Support import "DPI-C" functions.
21689 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21690 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21691 (verilog-insert-date, verilog-insert-year)
21692 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21693 Windows systems. Reported by Michael Potts.
21694 (verilog-read-module-name): Fix AUTOINST when the child module
21695 declaration's name is a tick define. Reported by Elliot Mednick.
21696 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21697 passed to next parameter's definition. Reported by Bruce T.
21698 (verilog-read-decls): Fix detecting "parameter int" when using
21699 AUTOINSTPARAM. Reported by Bruce T.
21700 (verilog-goto-defun): Fix goto not finding modules unless first
21701 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21702 (verilog-mode): Expand -f flag arguments on entry to mode so
21703 verilog-goto-defun will work. Reported by Lawrence Butcher.
21704 (verilog-getopt): Expand environment variables in -f file
21705 arguments. Suggested by Lawrence Butcher.
21706 (verilog-set-define): Fix "Symbol's value as variable is void"
21707 when reading enumerations.
21708 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21709 Suggested by Stephen Peltan.
21710 (verilog-read-defines): Fix reading of enumerations in include
21711 files. Reported by Steve Peltan.
21713 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21715 * files.el (trash-directory): Fix defcustom type.
21717 2009-06-28 Juri Linkov <juri@jurta.org>
21719 * help-fns.el (describe-function-1): Correctly locate adviced
21720 functions in hyperlink (Bug#2438).
21722 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21724 * files.el (trash-directory): Change default to nil.
21725 (move-file-to-trash): If trash-directory is nil and
21726 system-move-file-to-trash is unbound, perform freedesktop-style
21729 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21731 * files.el (move-file-to-trash): Add freedesktop trash
21734 2009-06-28 Glenn Morris <rgm@gnu.org>
21736 * autorevert.el (global-auto-revert-non-file-buffers)
21737 (global-auto-revert-mode): Doc fixes.
21739 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21741 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21743 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21745 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21746 opened an X connection before calling x-get-resource (Bug#3194).
21748 * play/doctor.el: Remove reference to obsolete website.
21749 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21751 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21753 Remove find-file-not-found-hook VC method. (Bug#2757)
21754 * vc-hooks.el (vc-file-not-found-hook)
21755 (vc-default-find-file-not-found-hook): Remove functions.
21756 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21757 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21760 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21762 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21764 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21765 compatibility function for `looking-back'.
21767 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21768 Use `ispell-looking-back'.
21770 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21772 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21773 rather than `filename'.
21775 2009-06-23 Miles Bader <miles@gnu.org>
21777 * face-remap.el (text-scale-set): New function.
21779 2009-06-23 Glenn Morris <rgm@gnu.org>
21781 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21783 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21785 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21787 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21789 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21790 Simplify Persian conditionals.
21792 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21793 variable `filename'.
21795 * comint.el (comint-insert-input): Doc fix.
21797 * Makefile.in (ELCFILES): Fix typo in previous change.
21799 2009-06-23 Miles Bader <miles@gnu.org>
21801 * cus-start.el: Add entry for `recenter-redisplay'.
21803 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21805 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21806 Add an optional argument for the backend, use it instead of
21807 calling vc-backend.
21808 (vc-mode-line): Add an optional argument for the backend.
21809 Pass the backend to vc-state and vc-working-revision. Move code for
21810 special handling for vc-state being a buffer to ...
21812 * vc-rcs.el (vc-rcs-find-file-hook):
21813 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21815 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21816 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21817 vc-stay-local-p and vc-mode-line calls.
21819 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21820 (vc-cvs-diff, vc-cvs-annotate-command)
21821 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21822 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21823 vc-mode-line calls.
21825 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21827 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21828 backend when calling vc-mode-line.
21829 (vc-register): Do not create a closure for calling the vc register
21830 function, call it directly.
21832 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21834 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21835 to make it obvious item can be clicked.
21837 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21839 2009-06-23 Kenichi Handa <handa@m17n.org>
21841 * language/korea-util.el (korean-key-bindings): Change the binding
21842 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21845 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21847 Sync with Tramp 2.1.16.
21849 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21851 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21852 when a loading of a package fails. Completion function for rsync
21853 is `tramp-completion-function-alist-ssh'.
21854 (all): Replace all calls of `split-string' and
21855 `tramp-split-string' by `tramp-compat-split-string'.
21856 (tramp-default-method): Use `tramp-compat-process-running-p'.
21857 (tramp-default-proxies-alist): Allow also Lisp forms.
21858 (tramp-remote-path): Add choice "Private Directories".
21859 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21860 (tramp-domain-regexp): Allow also "-", "_" and ".".
21861 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21862 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21863 (tramp-debug-message): Insert header line in debug buffer.
21864 (tramp-handle-directory-files-and-attributes-with-stat):
21865 Care about filenames with spaces, or starting with "-".
21866 (tramp-handle-dired-uncache): New defun.
21867 (tramp-handle-insert-directory): Don't flush the directory from
21868 cache, this is handled by `dired-uncache' now.
21869 (tramp-handle-insert-file-contents): Improve error handling.
21870 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21871 Quote `tramp-end-of-output'.
21872 (tramp-action-password): Improve trace message.
21873 (tramp-check-for-regexp): Both echoes must be present, before removing.
21874 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21875 (tramp-compute-multi-hops): Eval cons cells of
21876 `tramp-default-proxies-alist'.
21877 (tramp-maybe-open-connection): Use the same command pattern for
21878 first hop and further hops.
21879 (tramp-wait-for-output): Remove handling of newlines.
21880 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21881 (tramp-split-string): Remove function. It is handled in
21884 * net/tramp-cmds.el (tramp-bug):
21885 Recommend `tramp-cleanup-all-connections' in the bug mail.
21887 * net/tramp-compat.el (tramp-compat-split-string)
21888 (tramp-compat-process-running-p): New defuns.
21890 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21891 for `dired-uncache'.
21893 * net/tramp-gvfs.el: New package.
21895 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21896 Add handler for `dired-uncache'.
21897 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21899 * net/trampver.el: Update release number. Make version check fit
21902 2009-06-22 Jim Meyering <meyering@redhat.com>
21904 Automatically handle .xz suffix (XZ-compressed files), too.
21905 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21906 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21908 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21909 Nick Roberts <nickrob@snap.net.nz>
21911 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21912 repository (http://sphinx.net.ru/hg/gdb-mi/).
21914 2009-06-22 Glenn Morris <rgm@gnu.org>
21916 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21917 `mode' and `eval' entries. (Bug#3430)
21919 * Makefile.in (ELCFILES): Add fadr.elc.
21921 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21922 differing behavior of \n and ^ in strings. (Bug#3385)
21924 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21926 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21928 (lisp-indent-function): Make it a defcustom.
21930 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21932 * progmodes/gdb-ui.el: Replace with ...
21933 * progmodes/gdb-mi.el: ... this file.
21934 * progmodes/gud.el: Modify for gdb-mi.el.
21936 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21938 * fadr.el: New file.
21940 See ChangeLog.14 for earlier changes.
21942 ;; Local Variables:
21946 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21948 This file is part of GNU Emacs.
21950 GNU Emacs is free software: you can redistribute it and/or modify
21951 it under the terms of the GNU General Public License as published by
21952 the Free Software Foundation, either version 3 of the License, or
21953 (at your option) any later version.
21955 GNU Emacs is distributed in the hope that it will be useful,
21956 but WITHOUT ANY WARRANTY; without even the implied warranty of
21957 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21958 GNU General Public License for more details.
21960 You should have received a copy of the GNU General Public License
21961 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.