1 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
3 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
5 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
7 * server.el (server-process-filter): Use pcase.
9 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
11 (smie-indent--parent): Extend to "parent of arg".
12 (smie-indent-inside-string): New function.
13 (smie-indent-functions): Use it.
15 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
16 bzr locking race condition.
18 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
19 still valid before using it.
21 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
22 `message' -> `compilation-message' rename (bug#8004).
24 Move keymap initialization into declaration.
25 * textmodes/enriched.el (enriched-mode-map):
26 * textmodes/bib-mode.el (bib-mode-map):
27 * term/lk201.el (lk201-function-map):
28 * tar-mode.el (tar-mode-map):
29 * replace.el (occur-mode-map):
30 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
31 * progmodes/idlw-help.el (idlwave-help-mode-map):
32 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
33 * play/solitaire.el (solitaire-mode-map):
34 * play/snake.el (snake-mode-map, snake-null-map):
35 * play/pong.el (pong-mode-map):
36 * play/handwrite.el (menu-bar-handwrite-map):
37 * play/gametree.el (gametree-mode-map):
38 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
39 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
40 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
41 (newsticker--url-keymap):
42 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
43 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
44 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
45 (menu-bar-edit-menu, menu-bar-custom-menu)
46 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
47 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
48 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
49 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
50 (menu-bar-tools-menu, menu-bar-describe-menu)
51 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
53 * mail/rmailsum.el (rmail-summary-mode-map):
54 * kmacro.el (kmacro-step-edit-map):
55 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
56 (ibuffer-mode-operate-map):
57 * hi-lock.el (hi-lock-menu, hi-lock-map):
58 * emulation/vip.el (vip-mode-map):
59 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
60 * bookmark.el (bookmark-bmenu-mode-map):
61 * help-mode.el (help-mode-map): Move initialization into declaration.
63 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
65 * net/rcirc.el: Add PRIVMSG and CTCP functions.
66 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
67 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
68 (rcirc-cmd-me, rcirc-authenticate): Use them.
70 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
72 * allout.el: Synopsis: Change allout user configuration so
73 auto-activation is controlled solely by customization
74 `allout-auto-activation'.
76 (allout-auto-activation-helper) (allout-setup): New autoloads
77 implement new custom set procedure for allout-auto-activation.
78 Also, explicitly invoke
79 (allout-setup) after allout-auto-activation is custom-defined, to
80 effect the settings in emacs sessions besides the few where
81 allout-auto-activation customization is donea.
82 (allout-auto-activation): Use allout-auto-activation-helper to
83 :set. Revise the docstring.
84 (allout-init): Reduce functionality to just customizing
85 allout-auto-activation, and mark obsolete.
86 (allout-mode): Respect string values for allout-auto-activation.
87 Run allout-after-copy-or-kill-hook without any args.
88 (allout-mode) (allout-layout) (allout-default-layout)
89 (outlineify-sticky): Adjust docstring for new scheme.
90 (allout-after-copy-or-kill-hook): No arguments - hook implementers
91 should concentrate on the kill ring.
93 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
95 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
96 of here-doc that immediately follows a comment.
98 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
100 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
102 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
104 (rcirc-ctcp-sender-PING): New function.
106 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
108 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
109 Remove the mark/nomark handling, and activate shift-select-mode instead.
111 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
113 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
115 * calc/calc-units.el (math-logunits-quant): Add support for
116 non-logarithmic units.
118 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
120 * allout.el (allout-after-copy-or-kill-hook): New hook for
121 extension-specific processing of killed text.
122 (allout-mode): Include new allout-after-copy-or-kill-hook among
124 (allout-kill-line) (allout-kill-topic): Ensure that processing
125 after kill happens even if barf-if-buffer-read-only is raised.
126 Include new allout-after-copy-or-kill-hook among that subsequent
128 (allout-deannotate-hidden): Actually remove the annotation text
131 * allout.el (allout-listify-exposed): Copy text sans text properties.
133 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
135 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
137 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
139 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
141 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
143 * calc/calc.el (calc-logunits-field-reference): Rename from
144 `calc-default-field-reference-level'.
145 (calc-logunits-power-reference): Rename from
146 `calc-default-power-reference-level'
148 * calc/calc-units.el (math-logunits-quant): Rename from
149 `math-logunits-level'
150 (math-logunits-plus): Rename from math-logcombine.
151 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
152 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
153 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
155 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
156 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
157 (calc-logunits-quantity): Rename from `calc-level'.
158 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
159 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
160 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
161 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
162 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
165 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
166 (calc-ul-prefix-help): Remove.
167 (calc-l-prefix-help): New function.
168 (calc-full-help): Add reference to `calc-l-prefix-help'.
170 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
172 * calc/README: Mention logarithmic units.
174 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
176 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
177 non-ASCII characters (Bug#7925).
179 2011-02-05 Glenn Morris <rgm@gnu.org>
181 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
183 * calendar/diary-lib.el (diary-font-lock-keywords):
184 Tweak diary-time-regexp match. (Bug#7891)
186 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
187 (f90-mode): Use it for mode's `find-tag-default-function' property.
189 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
191 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
193 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
195 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
198 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
200 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
201 font-lock-syntax-table remappings.
202 (sh-here-doc-markers, sh-here-doc-re): Remove.
203 (sh-font-lock-close-heredoc): Remove.
204 (sh-syntax-propertize-here-doc): New function.
205 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
206 instead of the sh-here-doc-re.
207 (sh-font-lock-paren): Don't do anything in comments or strings.
208 Handle line continuations. Accept a few more chars.
209 Don't rely on the font-lock-syntax-table remappings.
210 `esac' is not a valid pattern.
211 (sh-syntax-propertize-function): Handle here-docs differently, so we
212 don't bother syntax-propertizing the insides.
214 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
215 Handle new bashisms ";&" and ";;&" (bug#7947).
217 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
219 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
220 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
222 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
224 * net/tramp.el (tramp-postfix-method-format)
225 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
226 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
227 (tramp-postfix-user-regexp, tramp-prefix-port-format)
228 (tramp-prefix-port-regexp, tramp-postfix-host-format)
229 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
232 2011-02-04 Sam Steingold <sds@gnu.org>
234 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
236 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
238 * international/mule-util.el (with-coding-priority): Doc fix.
240 2011-02-04 Eli Zaretskii <eliz@gnu.org>
242 * arc-mode.el (archive-mode-map): Fix a typo in last change.
244 2011-02-03 Sam Steingold <sds@gnu.org>
246 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
247 Do not error out when `func' is nil.
249 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
251 * net/tramp-sh.el (tramp-remote-path): Add default settings for
252 `tramp-default-remote-path' to the docstring.
253 (tramp-get-remote-path): Suppress error message when `getconf
256 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
258 2011-02-03 Glenn Morris <rgm@gnu.org>
260 * vc/vc-hg.el (vc-hg-command): Doc fix.
262 * term/w32-win.el (libpng-version): Declare for compiler.
264 * msb.el: No need to load dired while compiling.
266 * emacs-lisp/elint.el (elint-standard-variables):
267 Remove a couple of built-ins that now have doc-strings.
269 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
270 `require' is automatically `eval-and-compile'd.
272 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
273 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
275 * strokes.el (strokes-fill-current-buffer-with-whitespace):
276 Move definition before use.
277 (strokes-report-bug): Make it obsolete.
279 2011-02-02 Sam Steingold <sds@gnu.org>
281 * apropos.el (apropos-print): Now that `apropos-mode' inherits
282 from `special-mode', entering it makes the buffer read-only, so
283 call it only when everything has been already inserted.
284 * emacs-lisp/ert.el (ert--setup-results-buffer)
285 (ert-results-pop-to-backtrace-for-test-at-point)
286 (ert-results-pop-to-messages-for-test-at-point)
287 (ert-results-pop-to-timings): Ditto.
288 * emacs-lisp/package.el (package--list-packages): Ditto.
289 * play/solitaire.el (solitaire): Ditto.
291 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
293 * progmodes/compile.el: Make all faces inherit.
294 (compilation-warning): Inherit from font-lock-variable-name-face.
295 (compilation-info): Inherit from font-lock-type-face.
296 (compilation-line-number): Reassign to font-lock-keyword-face.
297 (compilation-column-number): Reassign to font-lock-doc-face.
298 (compilation-leave-directory-face): Reassign to
299 font-lock-builtin-face.
301 2011-02-02 Eli Zaretskii <eliz@gnu.org>
303 * dired.el (dired-insert-directory): Don't invoke `ls' when
304 ls-lisp.el is used to emulate it.
306 2011-02-01 Julien Danjou <julien@danjou.info>
308 * color.el (color-gradient): Add a color-gradient function.
310 2011-02-01 Sam Steingold <sds@gnu.org>
312 * simple.el (special-mode-map): Bind "h" to `describe-mode';
313 bind "z" to `kill-this-buffer'.
314 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
315 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
316 (apropos-mode): Inherit from `special-mode'.
317 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
318 * bookmark.el (bookmark-bmenu-mode): Define using
319 `define-derived-mode' inheriting from `special-mode'.
320 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
321 * image-mode.el (image-mode-map): Ditto.
322 * replace.el (occur-mode): Define using
323 `define-derived-mode' inheriting from `special-mode'.
324 * tar-mode.el (tar-mode): Inherit from `special-mode'.
325 * calendar/diary-lib.el (diary-fancy-display-mode):
326 Inherit from `special-mode-map'.
327 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
328 Inherit from `special-mode'.
329 * emacs-lisp/package.el (package-menu-mode-map): Copy from
331 (package-menu-mode): Define using `define-derived-mode'
332 inheriting from `special-mode'.
333 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
334 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
335 (xesam-mode-map): Define separately.
336 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
337 * progmodes/compile.el (compilation-minor-mode-map)
338 (compilation-mode-map): Inherit from `special-mode-map'.
339 * vc/diff-mode.el (diff-mode-shared-map):
340 Inherit from `special-mode-map'.
341 * vc/log-view.el (log-view-mode-map): Add a comment.
343 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
345 * custom.el (load-theme): Define return value. Drop use of
346 unsafep; call custom-theme-load-confirm for non-known-safe themes.
347 (custom-theme-load-confirm): Scroll in the correct window.
348 (custom-enabled-themes): Add custom-safe-themes to :set-after.
350 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
351 checkbox if load-theme fails.
353 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
355 * progmodes/compile.el (compilation-next-error): Check there's
356 a message before using it (bug#7941).
358 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
360 * calc/calc-mtx.el (math-lud-pivot-check): New function.
361 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
364 2011-01-31 Alan Mackenzie <acm@muc.de>
366 * progmodes/cc-cmds.el (c-forward-over-illiterals):
367 Continue parsing if we encounter a naked # (Bug#7595).
368 (c-beginning-of-statement): Avoid loop in locating the beginning
371 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
373 * files.el (copy-directory): Fix arguments to recursive call.
375 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
377 * files.el (copy-directory): If destination is an existing
378 directory, copy into a subdirectory there.
380 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
382 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
385 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
387 * image-dired.el (image-dired-mouse-display-image): No-op if no
388 file is found (Bug#7817).
390 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
392 2011-01-31 Kenichi Handa <handa@m17n.org>
394 * international/quail.el (quail-keyboard-layout-alist):
395 Remove superfluous SPC for "pc105-uk" (bug#7927).
397 2011-01-31 Glenn Morris <rgm@gnu.org>
399 * msb.el (msb-menu-bar-update-buffers): Update for changed
400 argument handling of menu-bar-select-frame. (Bug#7902)
402 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
404 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
405 to the recursion depth (Bug#7722).
407 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
409 * term/ns-win.el (ns-find-file): Expand ns-input-file with
410 command-line-default-directory (Bug#7872).
412 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
414 * progmodes/compile.el (compilation--flush-directory-cache):
415 New function, extracted from compilation--remove-properties.
416 (compilation--remove-properties, compilation--parse-region): Use it.
417 (compilation--previous-directory): Handle one more case.
418 (compilation-enable-debug-messages): Remove.
419 (compilation-parse-errors, compilation--flush-parse): Just remove the
420 left over debug messages.
422 2011-01-31 Sam Steingold <sds@gnu.org>
424 * progmodes/compile.el (compilation-enable-debug-messages):
425 Add a variable to make the parsing messages introduced in
426 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
427 (compilation-parse-errors, compilation--flush-parse): Use it.
429 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
431 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
432 (rcirc-nick-completion-format): New defcustom.
433 (rcirc-complete): Use it.
435 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
437 * net/rcirc.el: Clean log filenames (Bug#7933).
438 (rcirc-log-write): Use convert-standard-filename.
439 (rcirc-log-filename-function): Documentation updates.
441 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
443 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
444 Check report-emacs-bug-can-use-osx-open and use that if t.
445 (report-emacs-bug-can-use-osx-open): New function.
446 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
447 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
449 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
451 * vc/vc-dispatcher.el (vc-set-async-update): New function for
452 updating Dired or VC-dir buffers after async command completes.
454 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
455 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
457 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
458 completions if it exists. Use vc-set-async-update.
459 (vc-git-pull): Use vc-set-async-update.
461 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
462 read-shell-command. Use vc-set-async-update.
463 (vc-hg-merge-branch): Use vc-set-async-update.
465 2011-01-29 Daiki Ueno <ueno@unixuser.org>
467 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
468 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
471 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
473 * progmodes/compile.el: Avoid an N² behavior in grep.
474 (compilation--previous-directory): New fun.
475 (compilation--previous-directory-cache): New var.
476 (compilation--remove-properties): Flush it.
477 (compilation-directory-properties, compilation-error-properties):
478 Use the new fun to speed up looking for the current directory.
480 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
482 * vc/vc-hg.el (vc-hg-history): New var.
483 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
484 (vc-hg-merge-branch): New function.
486 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
487 the other way around.
489 * vc/vc-git.el (vc-git-branches, vc-git-pull)
490 (vc-git-merge-branch): New functions.
491 (vc-git-history): New var.
493 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
495 * vc/vc-dispatcher.el (vc-do-async-command): New function.
497 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
500 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
503 2011-01-28 Leo <sdl.web@gmail.com>
505 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
506 highlighting to the "this function is advised" message.
508 * help-mode.el (help-mode-finish): Apply highlighting here, to
509 avoid clobbering by substitute-command-keys (Bug#6304).
511 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
513 * woman.el (woman0-roff-buffer): Process roff escape sequences
514 occurring prior to the first request (Bug#7843).
516 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
518 * progmodes/compile.el: Don't use font-lock any more.
519 (compilation-error-regexp-alist-alist): Change handling of makepp
520 so it preserves the warning/error distinction on subsequent files.
521 Simplify various rules.
522 (compilation-directory-properties): Use font-lock-face.
523 Add a compilation-message property.
524 (compilation-internal-error-properties): Use font-lock-face.
525 Don't set the compilation-debug property here.
526 (compilation--put-prop, compilation--remove-properties)
527 (compilation--parse-region, compilation--ensure-parse)
528 (compilation--ensure-parse): New functions.
529 (compilation-parse-errors): New function, largely inspired of
530 compilation-mode-font-lock-keywords. Set compilation-debug here.
531 (compilation--parsed): New var.
532 (compilation--flush-parse): Use compilation--ensure-parse.
533 (compilation-start): Don't call font-lock.
534 (compilation-turn-on-font-lock): Remove.
535 (compilation-setup): Don't set font-lock-extra-managed-props not change
536 other font-lock settings, other than keywords.
537 Don't activate font-lock-mode.
538 Set change-major-mode-hook and before-change-functions.
539 (compilation--unsetup): Remove properties and hooks.
540 (compilation-next-single-property-change): New function.
541 (compilation-next-error): Use it to parse when needed.
542 (compile-goto-error): Parse buffer as needed.
543 (compilation--compat-error-properties): Don't need a dummy `face'
546 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
548 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
549 (compilation-process-setup-function): Fix docstring's false promises.
550 (compilation-error-regexp-alist-alist): Catch omake's continuous
551 recompilation message and avoid reuse of old markers.
552 (compilation-parse-errors-function): Declare obsolete.
553 (compilation-buffer-modtime): Remove.
554 (compilation--make-cdrloc, compilation--loc->col)
555 (compilation--loc->line, compilation--loc->file-struct)
556 (compilation--loc->marker, compilation--loc->visited)
557 (compilation--make-file-struct, compilation--file-struct->file-spec)
558 (compilation--file-struct->formats)
559 (compilation--file-struct->loc-tree): New macros. Use them.
560 (compilation--message): New defstruct. Use them.
561 (compilation-next-error-function): Don't mess with timestamps to try
562 and guess when to reparse.
564 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
566 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
567 (tex-old-error-file-name): New function,
568 extracted from tex-compilation-parse-errors.
569 (tex-compilation-parse-errors): Remove.
570 (tex-error-regexp-alist): New var.
571 (tex-shell): Use it to avoid compilation-parse-errors-function.
573 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
574 (grep-mode-font-lock-keywords): Remove regexp that seems like
575 a left-over from before we used compile.el.
576 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
577 modifying the buffer within with-silent-modifications.
579 * progmodes/compile.el: Cleanup text-properties namespace by using
580 `compilation-message' instead of `message', `compilation-directory'
581 instead of `directory', and `compilation-debug' instead of `debug'.
582 (compilation-last-buffer, compilation-parsing-end)
583 (compilation-error-list, compilation-old-error-list): Move to the
584 compatibility part of the code.
585 (compilation-error-properties): If `file' is a function, let it return
587 (compilation-mode-font-lock-keywords): Be more conservative with the
588 omake "^ *" pattern prefix, to try and minimize the risk of
589 pathologically slow regexp matching.
590 (compilation-start): Use inhibit-read-only.
591 (compilation--unsetup): New function.
592 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
593 (compilation-filter): Minor tweaks.
594 (compilation-next-error-function): Try and avoid abusing variables.
595 (compilation--flush-file-structure): New fun.
596 (compilation-fake-loc): Use it to improve behavior when file is reused.
597 (debug-ignored-errors): Add "Moved past last ...".
598 (compilation--compat-error-properties)
599 (compilation--compat-parse-errors): Rename by doubling the "-".
601 Port features from the previous prolog.el to the new one.
602 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
603 (prolog-program-name, prolog-program-switches, prolog-consult-string)
604 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
605 variable and use a function to compute the value dynamically.
606 (prolog-prompt-regexp): Add regexp for GNU Prolog.
607 (prolog-continued-prompt-regexp): Remove, unused.
608 (prolog-find-value-by-system): Try and use the value of prolog-system
609 in the *prolog* buffer if it helps.
610 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
611 (prolog-zip-on): ..and check prolog-system and version here instead.
612 (prolog-inferior-self-insert-command): New command.
613 (prolog-inferior-mode-map): Use it.
614 (prolog-inferior-error-regexp-alist): New var.
615 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
616 (prolog-input-filter): Use derived-mode-p.
617 (prolog-inferior-guess-flavor): New function.
618 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
619 make-comint to avoid running comint-mode twice.
620 (prolog-inferior-buffer): New fun.
621 (prolog-old-process-region, prolog-old-process-file):
622 Don't call prolog-bsts here...
623 (prolog-build-prolog-command): ...do it here instead.
624 (prolog-old-process-region, prolog-old-process-file):
625 Use compilation-fake-loc and compilation-forget-errors.
626 (prolog-consult-compile-region): Use bolp.
628 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
630 * image-mode.el (image-display-size): Doc fix (Bug#7820).
632 2011-01-27 Sam Steingold <sds@gnu.org>
634 * midnight.el (clean-buffer-list-kill-never-buffer-names):
635 Remove "*server*" which is never created by emacs server.
637 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
639 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
640 there are some diff switches.
642 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
644 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
645 Copy change made to ruby-font-lock-syntactic-keywords.
647 * htmlfontify.el: Make it obey the font-lock-face text property.
648 Miscellaneous cleanup such as:
649 - Don't hide expressions after a closing paren.
650 - Move initial setq into let.
651 - Hoist common parts out of ifs.
652 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
653 (hfy-face-at): Use get-text-property instead.
654 (hfy-prop-invisible-p): Use invisible-p if available.
655 (htmlfontify-manual): Use \\[...].
656 (hfy-html-quote-regex): Use [...].
657 (hfy-combined-face-spec): Simplify.
658 (hfy-compile-face-map): Don't presume point-min==1.
659 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
661 (hfy-text-p): η-reduce.
662 (hfy-tags-for-file): Receive cache-hash directly.
663 (hfy-mark-tag-names): Adjust call.
665 2011-01-27 Glenn Morris <rgm@gnu.org>
667 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
668 (msb-after-load-hook): Remove eval-after-load wackiness.
670 2011-01-25 Sam Steingold <sds@gnu.org>
672 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
673 literal "diff" (important for windows-nt).
675 2011-01-25 Glenn Morris <rgm@gnu.org>
677 * emacs-lisp/copyright.el (copyright-at-end-flag)
678 (copyright-names-regexp): Add safety properties.
679 (copyright-year-ranges): New option.
680 (copyright-find-end): New function, split from copyright-update-year.
681 (copyright-update-year): Use copyright-find-end.
682 (copyright-fix-years): Optionally, convert years to ranges.
683 Handle years continued over comment lines.
684 Do not mess with the fill-prefix.
685 Do not call copyright-update.
686 (copyright-update-directory): Optionally, fix years rather than update.
687 Skip directories. Find files with only safe local vars.
689 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
691 * files.el (file-name-non-special): Only change buffer-file-name after
692 insert-file-contents if it's `visit'ing the file (bug#7854).
694 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
696 * dired.el (dired-revert): Doc fix (Bug#7758).
698 * simple.el (line-move-visual): Doc fix (Bug#7594).
700 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
702 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
703 here-doc which ends with an underscore.
704 (ruby-mode-set-encoding): Skip shebang line always.
705 (ruby-mode-map): Bind C-c C-c to comment-region.
706 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
707 (ruby-forward-sexp): Stop after literal hash key labels.
708 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
711 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
713 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
714 the correct buffer (Bug#7650).
716 2011-01-25 Glenn Morris <rgm@gnu.org>
718 * comint.el (comint-mode): Doc fix. (Bug#7897)
720 * simple.el (do-auto-fill): Give it a doc string.
722 * button.el (make-text-button): Doc fix. (See bug#7881)
724 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
726 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
727 Don't move backward, so as not to fall in an inf-loop (bug#7736).
729 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
730 Handle ?" and friends differently (e.g. don't use backrefs).
732 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
734 * calc/calc.el (calc-default-power-reference-level)
735 (calc-default-field-reference-level): New variables.
736 * calc/calc-units.el (math-standard-units): Add dB and Np.
737 (math-logunits): New variable.
738 (math-extract-logunits, math-logcombine, calcFunc-luplus)
739 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
740 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
742 (math-find-base-units-rec): Add entry for ln(10).
743 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
744 (calc-ul-prefix-help): New function.
745 * calc/calc-ext.el (calc-init-extensions): Autoload new units
746 functions. Add keybindings for new units functions.
748 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
750 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
751 rcirc buffers. (Bug#4940)
753 2011-01-22 Glenn Morris <rgm@gnu.org>
755 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
756 split out from copyright-update-year.
757 (copyright-update): Don't mess with the GPL version if we don't own the
758 copyright. Update license regexp, and remove no longer needed
760 (copyright-fix-years): Use copyright-find-copyright.
762 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
764 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
766 2011-01-22 Jari Aalto <jari.aalto@cante.net>
768 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
769 (lm): Rename to landmark.
770 (lm-test-run): Rename to landmark-test-run.
772 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
774 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
775 "Case sensitive" menu item.
777 2011-01-22 Roland McGrath <roland@frob.com>
779 * comint.el (comint-replace-by-expanded-history-before-point): Fix
780 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
782 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
784 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
786 2011-01-22 Jari Aalto <jari.aalto@cante.net>
788 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
789 Assume foo(bar) is a manpage reference rather than some unquoted
792 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
794 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
795 Suggested by Flo <sensorflo@gmail.com>.
797 2011-01-22 Glenn Morris <rgm@gnu.org>
799 * progmodes/compile.el (compilation-error-regexp-alist):
800 Fix custom type. (Bug#7812)
802 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
804 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
805 allout-number-siblings, in keeping with what obtained due to
806 (now-defunct) allout-keybindings-list. Ditch repeat binding to
808 (allout-before-change-handler): Better expose spots affected by
811 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
813 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
815 2011-01-22 Phil Hagelberg <phil@evri.com>
817 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
818 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
819 (pcmpl-ssh-config-hosts): New function.
820 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
821 pcmpl-ssh-known-hosts.
823 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
825 * calc/calc-undo.el (calc-undo): Autoload it.
826 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
827 and autoload for `calc-undo'.
828 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
830 * calc/calc-graph.el:
831 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
833 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
835 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
836 keybindings to `calc-undo'.
838 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
840 Don't mess with *temp*.
841 * obsolete/spell.el: Move from textmodes/spell.el.
843 * term.el (term-read-input-ring):
844 * startup.el (display-startup-echo-area-message):
845 * progmodes/antlr-mode.el (antlr-directory-dependencies):
846 * comint.el (comint-read-input-ring): Use with-temp-buffer.
847 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
850 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
852 * allout.el: (allout-institute-keymap): Use fset instead of
855 (allout-hotspot-key-handler): Check for non-control-modified
856 bindings for hotspot characters if there are no control-modified
859 * allout.el: Summary - migrate to defining allout mode using
860 define-minor-mode instead of defun. Significantly clean-up
861 internal keymap provisions, refactoring and, in the process,
862 removing a lot of accumulated cruft.
864 allout-mode-map is now a keymap by virtue of being a defalias to
865 allout-mode-map-value, which contains the actual keymap structure.
867 (allout-mode): Use define-minor-mode rather than defun.
868 Remove now-unnecessary minor-mode setup activities from the body.
869 Specify :keymap as allout-mode-map so the minor-mode-map-alist
870 entry will be '(allout-mode . allout-mode-map) - see
871 allout-mode-map-value, below. Adjust docstring to track changes.
872 (allout-minor-mode): Remove this defalias, now that we're using
874 (allout-mode-map): Set value to be 'allout-mode-map. The actual
875 keymap is allout-mode-map-value, via defalias.
876 (allout-mode-map-value): The variable holding the actual mode
877 keymap structure, by virtue of defalias from allout-mode-map.
878 (allout-compose-and-institute-keymap): Rename from
879 allout-bind-keys, and including the binding-composition
880 functionality of the former produce-allout-mode-map and
881 allout-setup-mode-map.
882 (allout-institute-keymap): Take over the "setup" part of the former
883 allout-setup-mode-map. Reassign allout-mode-map-value value and
885 (allout-command-prefix) (allout-prefixed-keybindings)
886 (allout-unprefixed-keybindings):
887 Use allout-compose-and-institute-keymap to process the bindings.
888 (allout-unprefixed-keybindings): Remove extraneous '?' question
890 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
891 user can customize if they want to use that binding.
892 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
893 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
894 elided that, previously, instead of the one for \C-h.)
895 (allout-hotspot-key-handler): Remove attempt to resolve the key
896 through the literal key-string lookup on allout-keybindings-list.
897 That probably hasn't worked for a Long Time, and removal of
898 allout-keybindings-list further simplifies the keybindings
900 (allout-pre-command-business): Use allout-mode-map-value instead
902 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
903 the bindings if they want to use a keybinding having a trailing
904 \C-h. No deprecation needed since this feature was never in a
906 (allout-keybindings-list): Remove. It's not been useful for a
907 while. (See allout-hotspot-key-handler changes, above.)
908 (produce-allout-mode-map): Remove. Consolidate into
909 allout-compose-and-institute-keymap.
910 (allout-mode-map-adjustments): Remove. No longer necessary with
911 removal of allout-preempt-trailing-ctrl-h.
912 (allout-setup-mode-map): Remove. Consolidate into
913 allout-compose-and-institute-keymap and allout-institute-keymap.
915 2011-01-20 Glenn Morris <rgm@gnu.org>
917 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
919 * simple.el (read-expression-history): Remove, it's in minibuf.c.
921 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
923 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
925 * files.el (find-alternate-file, basic-save-buffer)
926 (basic-save-buffer-2, revert-buffer, recover-file)
927 (kill-buffer-ask, abort-if-file-too-large)
928 (set-visited-file-name, write-file, backup-buffer)
929 (basic-save-buffer, save-some-buffers):
930 * dired-aux.el (dired-compress-file): Callers changed.
932 2011-01-19 Glenn Morris <rgm@gnu.org>
934 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
935 Also check the property status. (Bug#7861)
937 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
939 * net/tramp.el (tramp-debug-message): Extend function exclude
940 list. Use `regexp-opt'.
942 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
944 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
945 highlighting doesn't spill over subsequent lines.
947 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
948 keymap expression. Improve docstring.
950 * electric.el (electric-indent-post-self-insert-function):
951 Don't auto-indent for indent-to-left-margin, it's too often
954 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
956 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
957 spaces if the frame was resized, so that the full visible buffer
958 serves as canvas for strokes.
960 2011-01-16 Glenn Morris <rgm@gnu.org>
962 * info-xref.el (info-xref-docstrings): Replace cl function.
963 Also skip directories.
965 2011-01-16 Kevin Ryde <user42@zip.com.au>
967 * info-xref.el: Version 3.
968 (info-xref-check, info-xref-check-all): Move commentary details
969 into docstrings for better visibility.
970 Use compilation-mode for the results buffer.
971 (info-xref-output, info-xref-output-error, info-xref-with-output)
972 (info-xref-filename, info-xref-in-progress):
973 New internals for this.
974 (info-xref-check-list, info-xref-check-buffer)
975 (info-xref-check-all-custom): Use those.
976 (info-xref-output-buffer): Rename from info-xref-results-buffer.
977 (info-xref-output-heading): Rename from info-xref-filename-heading.
978 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
979 (info-xref-filename-heading): Move to output managing section.
980 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
981 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
982 (info-xref-subfile-p): Move to generic section with those two.
983 (info-xref-check-node): New function split from
984 info-xref-check-buffer, shared by info-xref-docstrings.
985 (info-xref-goto-node-p): Move to a checking section with that func.
986 (info-xref-unavail): New counter.
987 (info-xref-check-node): Use it.
988 (info-xref-with-output): Show count of unavailables at end of output.
989 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
990 symlinks. Exclude .texi files. Exclude Emacs backup files.
991 (info-xref-check-all-custom): Fix quietening viper-mode and
992 gnus-registry-install -- use setq not let so as not to unbind
995 2011-01-16 Juri Linkov <juri@jurta.org>
997 * isearch.el (isearch-abort): Don't quit if search has
998 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
1000 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
1002 * files.el (backup-buffer): Make last-resort backup file in
1003 .emacs.d (Bug#6953).
1005 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1006 make it with permission 700.
1008 2011-01-15 Kenichi Handa <handa@m17n.org>
1010 * mail/rmailmm.el (rmail-mime-insert-header):
1011 Set rmail-mime-coding-system to a cons whose car is the last coding
1012 system used to decode the header.
1013 (rmail-mime-find-header-encoding): New function.
1014 (rmail-mime-insert-decoded-text):
1015 Override rmail-mime-coding-system if it is a cons.
1016 (rmail-show-mime): If only a header part was decoded, find the
1017 coding system while ignoring mm-charset-override-alist.
1019 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
1021 * subr.el (event-start, event-end): Doc fix (Bug#7826).
1023 2011-01-15 Kenichi Handa <handa@m17n.org>
1025 * mail/rmailmm.el (rmail-mime-next-item)
1026 (rmail-mime-previous-item): Delete them.
1027 (rmail-mime-shown-mode): Recursively call for children.
1028 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1030 (rmail-mime-raw-mode): Recursively call for children.
1031 (rmail-mode-map): Change mapping of tab and backtab to
1032 forward-button and backward-button respectively.
1033 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1035 (rmail-mime-update-tagline): New function.
1036 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1037 body display is changed.
1038 (rmail-mime-toggle-button): Rename from rmail-mime-image.
1039 (rmail-mime-image): Delete this button type.
1040 (rmail-mime-toggle): New button type.
1041 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1042 body display is changed. Change the save button label to "Save".
1043 Don't process show/hide button here.
1044 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1045 the body display is changed. Unconditionally call
1046 rmail-mime-insert for children.
1047 (rmail-mime-handle): Update `display' vector of the just inserted
1049 (rmail-mime-process): If mail-header-parse-content-type returns
1050 nil, use "text/plain" as the fallback type.
1051 (rmail-mime-insert): For raw-mode, recursively call
1052 rmail-mim-insert for children.
1053 (rmail-mime): Handle the case that the current buffer is not rmail
1054 buffer (e.g. in summary buffer).
1056 2011-01-15 Kenichi Handa <handa@m17n.org>
1058 * mail/rmailmm.el (rmail-mime-next-item)
1059 (rmail-mime-previous-item): Skip the body of a non-multipart
1060 entity if a tagline is shown.
1062 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1064 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1065 (tmm-prompt): Simplify.
1066 (tmm-add-prompt): Remove unused var `win'.
1068 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1069 to minor mode which used nil accidentally to mean "turn off".
1071 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1073 * net/tramp-sh.el (tramp-find-inline-compress)
1074 (tramp-get-inline-coding): Quote command after pipe symbol for
1075 local calls under W32. (Bug#6784)
1077 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1079 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1080 only when running under W32.
1082 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1084 * progmodes/grep.el (grep-compute-defaults): Quote the program
1085 file name after the pipe symbol in Grep templates. (Bug#6784)
1086 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1088 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1090 * buff-menu.el (Buffer-menu-buffer-list): New var.
1091 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1092 restricted buffer list is not lost on revert (Bug#7749).
1094 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1096 * net/ldap.el (ldap-search-internal): Discard stderr output.
1098 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1100 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1102 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1104 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1106 2011-01-15 Kenichi Handa <handa@m17n.org>
1108 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1109 part as a plain text.
1110 (rmail-mime-process-multipart): Set the default content-type to
1111 nil for unknown multipart subtypes (bug#7651).
1113 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1115 * hexl.el (hexl-mode-old-*): Remove.
1116 (hexl-mode--old-var-vals): New var to replace them.
1117 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1118 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1119 Use them to set local vars (bug#7846).
1120 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1121 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1122 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1124 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1125 (smerge-resolve--normalize-re): New var.
1126 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1127 (smerge-resolve): Use them.
1128 * newcomment.el (comment-only-p): New function.
1129 (comment-or-uncomment-region): Use it.
1131 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1133 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1134 table, get the value before switching to the output buffer. (Bug#7733)
1136 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1138 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1140 2011-01-14 Kim F. Storm <storm@cua.dk>
1142 * emulation/cua-base.el (cua--init-keymaps):
1143 Remap exchange-point-and-mark in cua-global-keymap.
1145 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1147 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1150 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1152 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1154 (easy-menu-create-menu, easy-menu-convert-item-1):
1155 Use :label rather than nil for labels. Use `case'.
1156 Add :enable as alias for :active.
1157 (easy-menu-binding): Obey :label.
1159 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1161 Use run-mode-hooks for major mode hooks (bug#513).
1162 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1163 Rename from reftex-toc-map.
1164 (reftex-toc-mode): Use define-derived-mode.
1165 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1166 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1167 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1168 (reftex-select-label-mode, reftex-select-bib-mode):
1169 Use define-derived-mode.
1170 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1171 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1172 Move init into delcaration.
1173 (reftex-index-mode, reftex-index-phrases-mode):
1174 Use define-derived-mode.
1175 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1176 speedbar-syntax-table. Move init into declaration.
1177 (speedbar-mode-map): Rename from speedbar-key-map.
1178 Move init into declaration.
1179 (speedbar-file-key-map): Move init into declaration.
1180 (speedbar-mode): Use define-derived-mode.
1181 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1182 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1183 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1184 (chart-face-list): Move initialization into declaration.
1185 (chart-mode): Use define-derived-mode.
1186 * calculator.el (calculator-mode-map): Move init into declaration.
1187 (calculator-mode): Use define-derived-mode.
1189 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1190 work for nested comments.
1192 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1193 (prolog-use-prolog-tokenizer-flag): Change default when
1194 syntax-propertize can be used.
1195 (prolog-syntax-propertize-function): New var.
1196 (prolog-mode-variables): Move make-local-variable into `set'.
1197 Don't make comment-column local since we don't set it.
1198 Set comment-add (as it was in previous prolog.el). Use dolist.
1199 Set syntax-propertize-function.
1200 (prolog-mode, prolog-inferior-mode):
1201 Call prolog(-inferior)-menu directly, not through the mode-hook.
1202 (prolog-buffer-module, prolog-indent-level)
1203 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1204 (prolog-comment-limits, prolog-goto-comment-column):
1205 Use line-(end|beginning)-position.
1206 (prolog-build-prolog-command): Tighten up regexp.
1207 (prolog-consult-compile): Move make-local-variable into `set'.
1208 (prolog-consult-compile-filter, prolog-goto-next-paren)
1209 (prolog-help-on-predicate, prolog-clause-info)
1210 (prolog-mark-predicate): Don't let+setq.
1211 (prolog-indent-line): Use indent-line-to.
1212 Only call prolog-goto-comment-column if necessary.
1213 (prolog-indent-level): Use bobp.
1214 (prolog-first-pos-on-line): Remove, not used any more.
1215 (prolog-in-string-or-comment): Use syntax-ppss if available.
1216 (prolog-help-on-predicate): Use read-string.
1217 (prolog-goto-predicate-info): Simplify.
1218 (prolog-read-predicate): Use `default' rather than `initial'.
1219 (prolog-temporary-file): Use make-temp-file to close a security hole.
1220 (prolog-toggle-sicstus-sd): New command.
1221 (prolog-electric-underscore, prolog-variables-to-anonymous):
1222 Use dynamic-scoping as it was meant.
1223 (prolog-menu): Move menu definitions to top-level.
1224 Use a toggle-button for Sicstus's source debugger.
1225 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1227 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1228 Move other menu definition to top-level.
1230 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1232 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1233 name. Keep original document's directory as default-directory
1235 (doc-view-initiate-display): Fall back to normal mode when
1236 doc-view-mode cannot be enabled, also when extracting the document
1237 text into a separate buffer (bug#6446).
1239 * simple.el (shell-command): Don't error out if shell command
1240 buffer contains text with non-nil read-only property when erasing
1243 2011-01-13 Kim F. Storm <storm@cua.dk>
1245 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1246 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1247 items when cycling through the matches.
1249 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1251 * dired-x.el (dired-omit-verbose): New defcustom that allows
1252 disabling the omit messages.
1253 (dired-omit-expunge): Use it.
1255 2011-01-13 Christian Ohler <ohler@gnu.org>
1257 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1259 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1261 * font-lock.el (font-lock-verbose): Default to nil.
1263 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1265 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1266 (compose-mail): New arg RETURN-ACTION.
1267 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1269 * mail/sendmail.el (mail-return-action): New var.
1270 (mail-mode): Make it buffer-local.
1271 (mail-bury): Obey it. Move special Rmail window handling to
1273 (mail, mail-setup): New arg RETURN-ACTION.
1274 (sendmail-user-agent-compose): Move from simple.el.
1276 * mail/rmail.el (rmail-mail-return): New function.
1277 (rmail-start-mail): Pass it to compose-mail.
1279 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1281 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1282 menus. Add menu item for customize-themes.
1284 * cus-theme.el (customize-themes):
1285 * emacs-lisp/package.el (package--list-packages):
1286 Use switch-to-buffer.
1288 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1290 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1292 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1294 * progmodes/prolog.el: Fix up coding convention and such.
1295 (prolog-indent-width): Use the same default as in
1296 previous prolog.el rather than tab-width which depends on which buffer
1297 is current when the file is loaded.
1298 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1300 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1301 (prolog-known-systems): Remove.
1302 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1303 Move initialization into declaration.
1304 (prolog-mode-map): Move initialization into declaration.
1305 Remove system-specific mode-map vars, since they referred to the same
1307 (prolog-mode-variables): Obey the user's preference w.r.t
1308 adaptive-fill-mode. Prefer symbol-value to `eval'.
1309 (prolog-mode-keybindings-edit): Add compatibility bindings.
1310 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1311 (mercury-mode-map): New var.
1312 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1313 (prolog-ensure-process, prolog-process-insert-string)
1314 (prolog-consult-compile): Use with-current-buffer.
1315 (prolog-guess-fill-prefix): Simplify data flow.
1316 (prolog-replace-in-string): New function to use instead of
1318 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1319 (prolog-uncomment-region): Use `uncomment-region' when available.
1320 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1321 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1322 of int-to-char and char-to-int.
1323 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1325 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1327 * progmodes/prolog.el: Replace by a whole new file.
1329 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1332 (declare-function, undefined, insert-for-yank)
1333 (replace-regexp-in-string): Follow checkdoc's recommendations.
1335 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1337 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1338 refreshing the diary buffer.
1340 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1342 * allout.el: Add 2011 to the file copyright.
1343 (allout-encrypt-string): Prevent encryption from adding an extra
1344 newline at the end of the topic body.
1345 (allout-version): Increment to 2.3.
1347 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1349 * net/dbus.el (dbus-unregister-service): Complete doc.
1350 Fix call of dbus-error signal.
1351 (dbus-register-property): Use `dont-register' keyword.
1353 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1355 * net/dbus.el (dbus-unregister-service): Translate returned
1356 integer into a symbol.
1357 (dbus-register-property): Use `dbus-register-service' to do the
1360 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1362 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1363 Suggested by Joakim Verona.
1365 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1367 * wid-edit.el (visibility): Replace :on-image and :off-image
1368 widget properties with :on-glyph and :off-glyph, for consistency
1369 with the `visibility' widget.
1370 (widget-toggle-value-create, widget-visibility-value-create):
1371 Merge into a single function `widget-toggle-value-create'.
1373 * cus-edit.el (custom-variable-value-create, custom-visibility)
1374 (custom-face-edit-value-create, custom-face-value-create):
1375 Replace :on-image and :off-image widget properties with :on-glyph and
1376 :off-glyph, for consistency with the `visibility' widget.
1378 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1380 * net/ldap.el (ldap-search-internal): Don't use eval.
1382 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1384 * subr.el (read-char-choice): Use read-key.
1386 * custom.el (custom-safe-themes): Rename from
1387 custom-safe-theme-files. Add :risky tag.
1388 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1389 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1391 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1393 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1394 from Search and add a label to Undo.
1396 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1397 inappropriate buttons and adding :vert-only tags.
1399 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1400 removal of Help tool-bar button. Remove Undo button for space.
1402 * info.el (info-tool-bar-map): Add :vert-only tags.
1404 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1406 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1407 image backend support. Either of them is fine.
1409 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1411 * subr.el (y-or-n-p): Doc fix.
1413 * custom.el (custom-safe-theme-files): New defcustom.
1414 (custom-theme-load-confirm): New function.
1415 (load-theme): Load theme using `load', confirming with
1416 custom-theme-load-confirm if necessary.
1418 * subr.el (read-char-choice): New function, factored out from
1419 dired-query and hack-local-variables-confirm.
1421 * dired-aux.el (dired-query):
1422 * files.el (hack-local-variables-confirm): Use it.
1424 * dired-aux.el (dired-compress-file):
1425 * files.el (abort-if-file-too-large, find-alternate-file)
1426 (set-visited-file-name, write-file, backup-buffer)
1427 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1428 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1429 Use new format string args for y-or-n-p and yes-or-no-p.
1431 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1433 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1434 [gcc-include]: Tighten file name match, add match for column
1436 [gnu]: Remove unused group.
1438 2011-01-08 Glenn Morris <rgm@gnu.org>
1440 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1442 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1444 2011-01-07 Sam Steingold <sds@gnu.org>
1446 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1447 the `explicit-shell-file-name' because that is the
1448 non-interactive shell.
1450 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1452 * subr.el (y-or-n-p): Accept format string args.
1454 2011-01-07 Glenn Morris <rgm@gnu.org>
1456 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1458 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1460 * allout.el (allout-back-to-current-heading): Ensure return to
1461 the visible containing topic, rather than a collapsed one.
1462 (allout-view-change-hook): Remove hook that was deprecated long ago.
1463 (allout-exposure-change-hook): Remove documentation remarks
1464 concerning removed allout-view-change-hook.
1465 (allout-flag-region): Remove invocation of and documentation
1466 remarks concerning allout-view-change-hook.
1468 2011-01-06 Glenn Morris <rgm@gnu.org>
1470 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1471 (vc-bzr-annotate-extract-revision-at-line):
1472 Handle authors with embedded spaces. (Bug#7792)
1474 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1476 * doc-view.el (doc-view-image-width): New variable.
1477 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1478 backend for PNG images, and do dynamic rescaling instead of
1479 reconverting the whole doc.
1481 2011-01-05 Glenn Morris <rgm@gnu.org>
1483 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1485 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1487 * allout.el: Reconcile with changes in line movement behavior for
1488 long text lines that cross more than a single physical window
1489 line, ie when truncate-lines is nil.
1490 (allout-next-visible-heading): Provide for change in line-move
1491 behavior on long lines when truncate-lines is nil. In that case,
1492 line-move can wind up on the same textual line when it moves to
1493 the next window line, and moving to the bullet position after the
1494 move yields zero advancement. Add logic to detect and compensate
1495 for the lack of progress.
1496 (allout-current-topic-collapsed-p): move-end-of-line respect for
1497 field boundaries is different when operating with body lines
1498 shorter than window width versus ones greater than window width,
1499 which can yield false negatives in this function. Avoid
1500 difference by applying move-end-of-line while field-text-motion is
1503 2011-01-04 Glenn Morris <rgm@gnu.org>
1505 * textmodes/rst.el (rst-compile-toolsets):
1506 Add pdf and s5 to option alist.
1508 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1510 * net/dbus.el (dbus-register-property): Add optional parameter
1511 dont-register-service. Updated docstring accordingly.
1513 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1515 * textmodes/rst.el (rst-compile-pdf-preview)
1516 (rst-compile-slides-preview): Remove extra line.
1518 2011-01-04 Glenn Morris <rgm@gnu.org>
1520 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1521 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1522 default to `prog' without a .py extension.
1523 (rst-compile-pdf-preview, rst-compile-slides-preview):
1524 Use program names from rst-compile-toolsets, rather than hard-coding.
1525 (rst-portable-mark-active-p): Fix presumed typo.
1527 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1529 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1530 libpng versions both before and after 1.4.0. (Bug#7716)
1532 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1534 * time.el (display-time-mode): Mention display-time-interval in
1535 the doc string. (Bug#7713)
1537 2011-01-02 Kenichi Handa <handa@m17n.org>
1539 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1540 condition-case and return an error message string if something
1542 (rmail-show-mime): Adjust for the above change. Insert the
1543 header by rmail-mime-insert-header.
1545 2011-01-02 Kenichi Handa <handa@m17n.org>
1547 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1548 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1549 (rmail-mime-mbox-buffer)
1550 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1551 (rmail-mime-entity): Argument changed. All codes handling an
1552 entity object are changed.
1553 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1555 (rmail-mime-entity-children, rmail-mime-entity-handler)
1556 (rmail-mime-entity-tagline): New functions.
1557 (rmail-mime-message-p): New function.
1558 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1559 (rmail-mime-entity-segment, rmail-mime-next-item)
1560 (rmail-mime-previous-item, rmail-mime-shown-mode)
1561 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1562 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1563 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1565 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1566 (rmail-mime-insert-decoded-text): New function.
1567 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1568 (rmail-mime-insert-image): Argument changed. Caller changed.
1569 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1570 (rmail-mime-set-bulk-data): New funciton.
1571 (rmail-mime-insert-bulk): Argument changed.
1572 (rmail-mime-multipart-handler): Return t.
1573 (rmail-mime-process-multipart): Argument changed.
1574 Handle "multipart/alternative" here.
1575 (rmail-mime-process): Argument changed.
1576 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1577 (rmail-mime-insert): Argument changed. Handle raw display mode.
1578 (rmail-mime): Argument changed. Handle toggling of raw display
1580 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1581 rmail-mime-view-buffer.
1582 (rmail-insert-mime-forwarded-message): Likewise.
1583 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1585 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1586 non-nil, handle the header in rmail-show-mime-function.
1588 2011-01-02 Leo <sdl.web@gmail.com>
1590 * help-fns.el (describe-variable): Fix previous change.
1592 2011-01-02 Juri Linkov <juri@jurta.org>
1594 * isearch.el (isearch-lazy-highlight-error): New variable.
1595 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1596 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1597 to the current value of `isearch-error' (Bug#7468).
1599 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1601 * help-fns.el (describe-variable): Don't emit trailing whitespace
1604 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1606 * textmodes/rst.el (rst-compile-pdf-preview)
1607 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1609 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1611 * emulation/edt-mapper.el: Override mapping of function keys so
1612 that the later call to read-key-sequence works.
1614 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1616 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1617 Unix EOLs. (Bug#7589)
1619 2011-01-02 Leo <sdl.web@gmail.com>
1621 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1622 if point is not behind eshell-last-output-end (Bug#7585).
1624 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1626 * files.el (file-local-variables-alist):
1627 Make permanent-local (bug#7767).
1629 2011-01-02 Glenn Morris <rgm@gnu.org>
1631 * version.el (emacs-copyright): Set short copyright year to 2011.
1633 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1635 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1636 an existing temp buffer. (Bug#7746)
1638 2011-01-02 Glenn Morris <rgm@gnu.org>
1640 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1641 multiple addresses. (Bug#7760)
1643 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1645 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1646 do-auto-fill if everything points back to allout-auto-fill.
1647 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1648 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1650 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1652 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1655 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1657 * doc-view.el (doc-view-set-doc-type): New function refactored
1659 (doc-view-fallback-mode): New function.
1660 (doc-view-mode): Use it.
1661 (doc-view-mode-maybe): New function that checks if doc-view-mode
1662 can be used and falls back to the next best mode otherwise.
1664 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1665 DVI, OpenDocument, and MS Office files.
1667 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1669 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1671 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1673 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1674 on a copy of auto-mode-alist, because that deletes with side
1677 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1679 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1680 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1681 fallback instead of hard coding fundamental mode.
1683 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1685 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1686 Office) files also for searching.
1688 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1690 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1691 Office) files. Not yet enabled via auto-mode-list.
1692 (doc-view-unoconv-program): New custom variable.
1693 (doc-view-mode-p): Handle new odf document type.
1694 (doc-view-odf->pdf): New conversion function.
1695 (doc-view-convert-current-doc): Call it for odf files.
1696 (doc-view-mode): Recognize newly supported file extensions.
1698 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1700 * net/tramp.el (tramp-default-method-alist)
1701 (tramp-default-user-alist)
1702 (tramp-local-host-regexp, tramp-prefix-domain-format)
1703 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1706 * net/tramp-gvfs.el:
1708 * net/tramp-imap.el:
1710 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1711 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1713 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1715 * saveplace.el (save-place-alist-to-file): Save list sorted and
1716 pretty-printed, so that it is mergeable by line-based text merging,
1717 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1719 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1721 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1722 (allout-mode): Argument "toggle" => "force".
1723 Refine the docstring.
1724 Remove special provisions for reactivation, besides the 'force'
1726 Consolidate layout provisions coce directly into the activation
1727 condition branch, now that we've removed those provisions.
1728 (allout-unload-function): Explicitly activate the mode before
1729 deactivating, if it's initially deactivated.
1730 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1731 warnings for version of function used only where
1732 set-buffer-multibyte is unavailable.
1734 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1736 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1737 are handled by the menu-bar entries. As before, don't use
1738 :visibile to avoid changing the tool-bar.
1740 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1742 * net/secrets.el (secrets-delete-alias): New defun.
1744 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1746 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1747 methods, otherwise ~/.ssh/config would be ignored.
1749 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1751 * emacs-lisp/rx.el: Make it a superset of sregex.
1752 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1753 of args, add `regex' alias.
1754 (rx-info): Add arg to distinguish head and standalone forms.
1755 (rx-check, rx-form): Pass the corresponding arg.
1757 (rx-repeat): Make it work for any number of args.
1758 (rx-syntax): Make it accept syntax chars as is.
1759 * obsolete/sregex.el: Move from emacs-lisp/.
1760 * emacs-lisp/re-builder.el: Remove sregex support.
1761 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1763 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1765 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1766 PRIMARY first, then the clipboard. (Bug#7699)
1768 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1770 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1773 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1775 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1776 .emacs.elc (Bug#7530).
1778 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1779 image spec (Bug#7480).
1781 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1783 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1784 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1787 2010-12-20 Leo <sdl.web@gmail.com>
1789 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1790 always be performed (Bug#7680).
1792 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1794 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1795 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1798 * color.el: Move from gnus/.
1800 * vc/diff.el (diff-better-file-name): Function deleted.
1801 abbreviating file names causes problems with shell-quote-argument.
1802 (diff-no-select): Just use expand-file-name.
1804 * tool-bar.el (tool-bar--image-expression): New function.
1805 (tool-bar-local-item, tool-bar--image-exp): Use it.
1806 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1807 Use :enable instead of :visible to avoid changing the tool-bar
1808 configuration unnecessarily.
1810 * info.el (info-tool-bar-map): Add separators.
1812 2010-12-17 Ken Brown <kbrown@cornell.edu>
1814 * loadup.el: Use version numbers in Cygwin build.
1816 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1818 * ido.el (ido-file-internal): Ask for confirmation before
1819 overwriting an existing file (Bug#1238).
1821 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1823 * tool-bar.el (tool-bar-setup): Add separators.
1825 * menu-bar.el (featurep): Use menu-bar-separator.
1827 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1829 Migrate allout encryption provisions from pgg to epg.
1831 * allout.el (allout-toggle-current-subtree-encryption)
1832 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1833 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1834 for simpler universal argument interpretation.
1835 (allout-toggle-subtree-encryption): Adjust docstring to describe
1836 changed encryption provisions. Change fetch-pass to keymode-cue, for
1837 simpler universal argument interpretation. Remove provisions for
1838 handling key type and identity - they'll all be within
1839 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1840 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1841 for keypair recipients (universal argument > 1) and, in addition,
1842 associating the specified recipients with the outline (universal
1843 argument > 4) using a file local variable setting for
1844 'epa-file-encrypt-to'.
1845 Require epa, for recipients handling.
1846 Change how regexp filtering elements are named.
1847 Describe the problem with caching of incorrect symmetric-decryption
1849 Use the epa-passphrase-callback-function, in case the user is using
1851 Support saving of the selected keypair recipients when invoked with a
1853 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1855 Establish epg-context with armoring and default epg-protocol.
1856 Remove all passphrase cache, verification, and hinting code.
1857 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1858 No longer used, delete.
1859 (allout-mode): Adjust docstring to describe changed encryption
1860 provisions. Describe the problem with caching of incorrect
1861 symmetric-decryption keys.
1862 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1863 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1864 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1865 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1868 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1870 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1871 key selection prompt; make 'silent as default (Bug#7487).
1873 2010-12-16 Leo <sdl.web@gmail.com>
1875 * eshell/eshell.el (eshell-directory-name):
1876 Use locate-user-emacs-file (Bug#7578).
1878 2010-12-15 Glenn Morris <rgm@gnu.org>
1880 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1882 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1883 Scott Evans <gse@antisleep.com>
1885 * rect.el (rectange--default-line-number-format)
1886 (rectangle-number-line-callback): New functions.
1887 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1889 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1891 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1892 Delete unused variables.
1893 (move-to-column-force): Remove function obsolete since 21.2.
1895 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1897 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1898 (tramp-handle-insert-file-contents): Do not set permanent-local
1901 * net/tramp-cache.el (tramp-persistency-file-name):
1902 Use `locate-user-emacs-file' if fboundp.
1904 * net/tramp-sh.el (tramp-methods): Add "ksu".
1905 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1908 2010-12-14 Glenn Morris <rgm@gnu.org>
1910 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1911 (find-tag-marker-ring): Declare.
1912 (js-find-symbol): Require etags.
1914 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1916 (mail-alias-file): Don't autoload. Doc fix.
1917 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1918 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1919 Mark as obsolete, and risky.
1920 (mail-setup): Simplify.
1922 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1923 * mail/sendmail.el (build-mail-aliases): Update autoload.
1925 * dired.el (dired-trivial-filenames, dired-chown-program)
1926 (dired-auto-revert-buffer): Remove autoload cookies.
1927 * mail/sendmail.el (mail-recover-1): Require 'dired.
1929 * dired.el (dired-subdir-switches, dired-chown-program)
1930 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1931 Make into defcustoms.
1932 (dired-chown-program): Simplify initialization.
1934 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1936 2010-12-13 Romain Francoise <romain@orebokech.com>
1938 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1940 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1942 * net/netrc.el (netrc-point-at-eol): Remove the unused
1943 netrc-point-at-old and netrc-bound-and-true-p bindings.
1944 (netrc-parse): Cache the netrc contents.
1946 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1948 * subr.el (posn-col-row): Evaluate header-line-format in the
1949 context of the POSITION window's buffer.
1951 2010-12-13 Glenn Morris <rgm@gnu.org>
1953 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1954 (with-silent-modifications): Doc fixes.
1956 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1958 * net/tramp.el (tramp-action-password, tramp-process-actions):
1959 Revert previous from. Use `save-restriction'.
1961 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1963 * calendar/diary-lib.el (diary-list-sexp-entries):
1964 Handle case of no newline at end of file. (Bug#7536)
1966 2010-12-13 Glenn Morris <rgm@gnu.org>
1968 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1970 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1972 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1973 (tramp-process-actions): Do not widen.
1975 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1976 Protect buffer-modified value. (Bug#7557)
1978 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1980 * log-edit.el (log-edit-changelog-entries):
1981 Regexp quote filename. (Bug#7505)
1983 2010-12-13 Tom Breton <tehom@panix.com>
1985 * cus-edit.el (custom-save-all):
1986 Bind print-length and print-level to nil. (Bug#7581)
1988 2010-12-13 Glenn Morris <rgm@gnu.org>
1990 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1991 Run hooks to update menu contents. (Bug#7586)
1993 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1994 file names, for the sake of MS Windows. (Bug#7588)
1996 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1998 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1999 empty lines without a leading space.
2001 2010-12-13 Leo <sdl.web@gmail.com>
2003 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2004 while mapping over marks (Bug#6810).
2006 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2008 * image-dired.el (image-dired-db-file)
2009 (image-dired-temp-image-file, image-dired-gallery-dir)
2010 (image-dired-temp-rotate-image-file): Set default values relative
2011 to image-dired-dir (Bug#7518).
2013 2010-12-13 Lawrence Mitchell <wence@gmx.li>
2015 * format.el (format-decode-run-method): Pass args FROM and TO, not
2016 point-min and point-max, to shell-command-on-region (Bug#7488).
2018 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
2020 * frame.el (blink-cursor-mode): Make default t for ns.
2022 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2024 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2026 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
2028 * comint.el (comint-dynamic-list-input-ring)
2029 (comint-dynamic-complete-filename)
2030 (comint-replace-by-expanded-filename)
2031 (comint-dynamic-simple-complete)
2032 (comint-dynamic-list-filename-completions)
2033 (comint-dynamic-list-completions): Doc fix (Bug#7499).
2035 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2038 2010-12-13 Martin Rudalics <rudalics@gmx.at>
2040 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2043 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
2045 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2048 2010-12-13 Eli Zaretskii <eliz@gnu.org>
2050 * files.el (file-relative-name): Handle UNC file names on
2051 DOS/Windows. (Bug#4674)
2053 2010-12-13 Daiki Ueno <ueno@unixuser.org>
2055 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2056 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2057 (epg-context-set-passphrase-callback): Mention that the callback
2058 is not called when used with GnuPG 2.x.
2060 2010-12-13 Glenn Morris <rgm@gnu.org>
2062 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2063 Ensure ps-footer-font-size-internal is initialized.
2064 Call ps-get-page-dimensions before trying to use ps-font-for-text.
2066 2010-12-13 Kenichi Handa <handa@m17n.org>
2068 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2069 within condition-case.
2070 (rmail-show-mime): Don't use condition-case.
2071 (rmail-search-mime-message): New function.
2072 (rmail-search-mime-message-function): Set to
2073 rmail-search-mime-message.
2075 2010-12-13 Leo <sdl.web@gmail.com>
2077 * ido.el (ido-common-initialization): New function. (bug#3274)
2079 (ido-completing-read): Call it.
2081 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2083 * bookmark.el (bookmark-name-from-full-record): Rename back to
2084 this original name from `bookmark-name-from-record' reverting part
2085 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2086 As Drew Adams pointed out, there was no reason to cause churn for
2087 third-party callers.
2089 2010-12-12 Alan Mackenzie <acm@muc.de>
2091 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2092 template arglist, check that the current language supports this.
2094 2010-12-11 Glenn Morris <rgm@gnu.org>
2096 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2097 state of the file matches. (Bug#7544)
2098 (vc-bzr-register, vc-bzr-checkin)
2099 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2100 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2102 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2104 2010-12-11 Karel Klíč <kklic@redhat.com>
2106 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2108 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2110 Derive from prog-mode, use derived-mode-p, and fix up various
2111 minor style issues in lisp/progmodes.
2113 * progmodes/vhdl-mode.el (vhdl-mode):
2114 * progmodes/verilog-mode.el (verilog-mode):
2115 * progmodes/vera-mode.el (vera-mode):
2116 * progmodes/sql.el (sql-mode):
2117 * progmodes/scheme.el (scheme-mode):
2118 * progmodes/perl-mode.el (perl-mode):
2119 * progmodes/octave-inf.el (inferior-octave-mode):
2120 * progmodes/autoconf.el (autoconf-mode):
2121 * progmodes/m4-mode.el (m4-mode):
2122 * progmodes/inf-lisp.el (inferior-lisp-mode):
2123 * progmodes/idlwave.el (idlwave-mode):
2124 * progmodes/icon.el (icon-mode):
2125 * progmodes/idlw-help.el (idlwave-help-mode):
2126 * progmodes/dcl-mode.el (dcl-mode):
2127 * progmodes/idlw-shell.el (idlwave-shell-mode):
2128 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2129 (ebrowse-member-mode, ebrowse-electric-position-mode):
2130 Use define-derived-mode.
2132 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2133 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2134 (xscheme-debugger-mode-p, xscheme-send-string-1):
2135 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2136 (tcl-load-file, tcl-restart-with-file):
2137 * progmodes/ps-mode.el (ps-run-running):
2138 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2139 * progmodes/js.el (js--get-all-known-symbols):
2140 * progmodes/inf-lisp.el (inferior-lisp-proc):
2141 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2142 (idlwave-template, idlwave-update-buffer-routine-info)
2143 (idlwave-update-current-buffer-info)
2144 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2145 (idlwave-scan-class-info, idlwave-fix-keywords)
2146 (idlwave-list-buffer-load-path-shadows):
2147 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2148 (idlwave-toolbar-remove):
2149 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2150 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2151 (idlwave-shell-menu-def):
2152 * progmodes/idlw-complete-structtag.el
2153 (idlwave-prepare-structure-tag-completion):
2154 * progmodes/gud.el (gud-set-buffer):
2155 * progmodes/f90.el (f90-backslash-not-special):
2156 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2158 * progmodes/xscheme.el (xscheme-start)
2159 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2160 * progmodes/which-func.el (which-function):
2161 * progmodes/vhdl-mode.el (vhdl-set-style):
2162 * progmodes/verilog-mode.el (verilog-set-compile-command)
2163 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2164 (verilog-set-define, verilog-auto-reeval-locals):
2165 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2166 * progmodes/simula.el (simula-mode):
2167 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2168 * progmodes/python.el (python-check, python-mode):
2169 * progmodes/prolog.el (prolog-mode-variables):
2170 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2171 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2172 * progmodes/delphi.el (delphi-mode):
2173 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2174 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2175 (c-font-lock-init): Move make-local-variable to their setq.
2177 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2178 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2180 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2181 (sh-set-shell): Don't set require-final-newline since it's already done
2183 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2184 since we never set it.
2185 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2186 Use read-string and standard prompt.
2187 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2188 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2189 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2190 (meta-common-mode-map): Rename from meta-mode-map.
2191 Remove C-m binding, which is a user preference, not mode specific.
2192 (meta-common-mode): New major mode; replace meta-common-initialization.
2193 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2194 around with font-lock.
2195 * progmodes/etags.el (select-tags-table-mode):
2196 Derive from special-mode.
2197 * progmodes/octave-mod.el (octave-mode):
2198 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2199 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2200 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2201 Let define-derived-mode do its job.
2202 * progmodes/cpp.el (cpp-edit-mode-map):
2203 Move initialization into declaration.
2204 (cpp-edit-mode): Use define-derived-mode.
2205 (cpp-edit-load): Use derived-mode-p.
2206 * progmodes/mixal-mode.el (mixal-mode):
2207 * progmodes/f90.el (f90-mode):
2208 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2209 require-final-newline since prog-mode does it already.
2210 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2211 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2212 * progmodes/antlr-mode.el: Require cc-mode upfront.
2213 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2215 (antlr-directory-dependencies, antlr-show-makefile-rules):
2217 (antlr-language-option): Don't assume point-min==1.
2218 (antlr-mode): Use define-derived-mode.
2219 * progmodes/ada-mode.el: Use derived-mode-p.
2220 (ada-mode): Use define-derived-mode.
2221 Use hack-local-variables-hook.
2223 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2225 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2226 (texinfo-mode): Don't disable adaptive-fill-mode.
2227 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2228 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2229 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2230 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2231 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2232 (texinfo-insert-@quotation, texinfo-insert-@samp)
2233 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2234 (texinfo-insert-@uref): Use define-skeleton.
2235 (texinfo-insert-@-with-arg): Delete.
2237 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2239 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2240 nil, do quote archive member names. (Bug#6144)
2242 2010-12-10 Glenn Morris <rgm@gnu.org>
2244 * files.el (diff-no-select): Declare.
2246 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2247 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2249 * comint.el (comint-input-ring-file-name): Doc fix.
2251 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2253 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2255 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2256 Use them instead of `nil' and `>', respectively.
2257 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2259 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2260 and menu-bar-positive-p instead of `nil' and `>', respectively.
2263 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2265 * whitespace.el (whitespace-newline-mode): Code fix.
2267 2010-12-09 Glenn Morris <rgm@gnu.org>
2269 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2270 Rename functions without commas, update callers.
2272 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2274 * whitespace.el (whitespace-cleanup-region):
2275 Clean up spaces before tabs. (Bug#7582)
2277 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2279 * bookmark.el: Adjust parameter names and doc strings to resolve
2280 confusion over whether "bookmark" meant a bookmark name or a
2281 bookmark record. Along the way, shorten one function's name for
2282 similar reasons. (Issue #7548)
2283 (bookmark-name-from-record): New name for
2284 `bookmark-name-from-full-record'. All callers changed.
2285 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2286 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2287 (bookmark-get-annotation, bookmark-set-annotation)
2288 (bookmark-get-filename, bookmark-set-filename)
2289 (bookmark-get-position, bookmark-set-position)
2290 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2291 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2292 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2293 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2294 Rename `bookmark' parameter to `bookmark-name-or-record', to
2295 clearly show its role, and shorten or adjust doc strings accordingly.
2296 (bookmark-set-name): Same, and pass the parameter directly to
2297 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2298 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2299 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2300 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2301 and in some cases shorten doc string accordingly.
2302 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2303 and `new-name', and adjust an internal variable to avoid confusion.
2304 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2305 parameter in doc string.
2307 2010-12-08 Glenn Morris <rgm@gnu.org>
2309 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2310 from gdb's history file. (Bug#7575)
2312 * mail/emacsbug.el (report-emacs-bug):
2313 Try to handle some other mail clients.
2315 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2317 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2318 Use string-prefix-p.
2319 (file-name-version-regexp): New var.
2320 (file-name-sans-versions):
2321 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2322 (jka-compr-get-compression-info): Use dolist.
2323 (jka-compr-compression-info-list): Don't bother specifying
2324 version/backup regexps.
2326 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2328 * simple.el (just-one-space): Make argument n default to 1 if
2331 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2333 * electric.el (electric-indent-post-self-insert-function):
2334 Delete trailing newlines even if we don't reindent.
2336 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2338 * minibuffer.el (completion-at-point): Remove the `arg'.
2339 * bindings.el (complete-symbol): Move back from minibuffer.el.
2341 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2343 * simple.el (just-one-space): Delete newlines for negative arg.
2345 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2347 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2348 (ansi-color-filter-apply): Simplify.
2349 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2351 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2353 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2355 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2357 * dired.el (dired-use-ls-dired): Set default to a special
2358 "unspecified" value.
2359 (dired-insert-directory): When called the first time, check
2360 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2362 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2364 * replace.el: Add "collect" feature to occur.
2365 (occur-collect-regexp-history): New var.
2366 (occur-read-primary-args): Return a replace string for nlines,
2368 (occur): Extend the meaning of nlines.
2370 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2372 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2373 (which-func-update-1): Distinguish symbols from strings.
2374 (which-function): Stay within 80 columns.
2376 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2378 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2380 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2382 (comment-style): Use comment-styles's docs to describe values.
2384 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2386 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2387 and ns-show-prefs (Bug#7535).
2389 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2390 bindings (Bug#7535).
2392 2010-12-03 Glenn Morris <rgm@gnu.org>
2394 * nxml/nxml-mode.el: Require rng-nxml.
2395 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2396 Remove declarations.
2398 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2399 * nxml/rng-nxml.el, nxml/rng-valid.el:
2400 Remove leading `*' from defcustom docs.
2402 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2403 (normal-top-level-add-to-load-path, tty-handle-args):
2404 Convert comments to basic doc-strings.
2406 * net/browse-url.el (browse-url-url-at-point)
2407 (browse-url-default-browser): Remove autoload cookies.
2409 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2410 Remove more undefined cl functions.
2412 * vc/diff.el (diff-sentinel): Make new arguments optional.
2413 * ibuf-ext.el (diff-sentinel): Update declaration.
2415 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2417 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2418 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2419 (epg-context-set-passphrase-callback): Mention that the callback
2420 is not called when used with GnuPG 2.x.
2422 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2424 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2425 (tramp-file-name-port): Check also for `tramp-default-port'.
2426 (tramp-get-connection-name): New defun.
2427 (tramp-get-connection-process): Use it.
2428 (tramp-debug-message): Extend function exclude list.
2429 (tramp-drop-volume-letter): Fix doc string.
2431 * net/tramp-cmds.el: Remove solved todo item.
2435 * net/tramp-gvfs.el:
2437 * net/tramp-imap.el:
2438 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2439 and `tramp-default-user-alist', respectively.
2441 * net/tramp-gw.el (tramp-gw-open-connection):
2442 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2444 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2445 `tramp-file-name-port'.
2447 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2448 and "psftp". Exchange "%k" marker with options.
2449 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2450 Compute size of link target.
2451 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2452 `tramp-current-*' up due to gateway methods. Optimze computing of
2453 copy arguments. Use `tramp-get-connection-name' and
2454 `tramp-get-connection-buffer'. Improve debug messages.
2455 (tramp-compute-multi-hops): Remove port determination.
2456 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2458 * net/trampver.el: Update release number.
2460 2010-12-02 Glenn Morris <rgm@gnu.org>
2462 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2463 Avoid infinite loop over windows. (Bug#7492)
2465 * progmodes/flymake.el (flymake-check-file-limit):
2466 Allow nil to mean "no limit".
2467 (flymake-check-patch-master-file-buffer): Update for above change.
2468 Allow a .tex file-name extension to be optional.
2469 (flymake-master-tex-init): Also match \include statements.
2471 2010-11-30 Sam Steingold <sds@gnu.org>
2473 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2474 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2475 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2476 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2477 define-derived-mode').
2478 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2479 users who want to call `nxml-parent-document-set'.
2481 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2483 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2484 stand-alone lines, since that is handled by log-edit-match-to-eoh
2487 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2489 * dired.el (dired-get-filename): Replace backslashes with slashes
2490 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2491 * locate.el (locate-default-make-command-line): Don't consider
2492 drive letter and root directory part of
2493 `directory-listing-before-filename-regexp'. (Bug#7308)
2494 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2496 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2498 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2499 of :smie-open/close-alist.
2500 (smie-next-sexp): Make it accept a "start token" as argument.
2501 (smie-indent-keyword): Be careful not to misidentify tokens that span
2502 more than one line, as empty lines. Add argument `token'.
2504 2010-11-27 Kenichi Handa <handa@m17n.org>
2506 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2507 multipart subtypes, insert all as usual.
2509 * mail/rmail.el: Require rfc2047.
2511 2010-11-27 Kenichi Handa <handa@m17n.org>
2513 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2514 (rmail-mime-entity-disposition)
2515 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2516 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2517 (rmail-mime-save): Handle the case that the button's `data' is a
2519 (rmail-mime-insert-text): New function.
2520 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2521 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2522 (rmail-mime-insert-bulk): New function mostly copied from the old
2523 rmail-mime-bulk-handler.
2524 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2525 (rmail-mime-process-multipart): New function mostly copied from
2526 the old rmail-mime-multipart-handler.
2527 (rmail-mime-show): Just call rmail-mime-process.
2528 (rmail-mime-process): New function mostly copied from the old
2530 (rmail-mime-insert-multipart, rmail-mime-parse)
2531 (rmail-mime-insert, rmail-show-mime)
2532 (rmail-insert-mime-forwarded-message)
2533 (rmail-insert-mime-resent-message): New functions.
2534 (rmail-insert-mime-forwarded-message-function): Set to
2535 rmail-insert-mime-forwarded-message.
2536 (rmail-insert-mime-resent-message-function): Set to
2537 rmail-insert-mime-resent-message.
2539 * mail/rmailsum.el: Require rfc2047.
2540 (rmail-header-summary): Handle multiline Subject: field.
2541 (rmail-summary-line-decoder): Change the default to
2542 rfc2047-decode-string.
2544 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2545 (rmail-mime-feature): Change the default to `rmailmm'.
2546 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2547 (rmail-display-labels): Likewise.
2548 (rmail-show-message-1): Check rmail-enable-mime, and use
2549 rmail-show-mime-function for a MIME message. Decode the headers
2550 according to RFC2047.
2552 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2554 * progmodes/which-func.el (which-func-imenu-joiner-function):
2555 Return a string, as expected.
2556 (which-function-mode): Make sure we stop any previous timer before
2559 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2561 * net/tramp.el (tramp-default-method-alist)
2562 (tramp-default-user-alist, tramp-default-proxies-alist):
2563 Adapt custom options type. (Bug#7445)
2565 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2567 * progmodes/python.el: Add Ipython support (Bug#5390).
2568 (python-shell-prompt-alist)
2569 (python-shell-continuation-prompt-alist): New options.
2570 (python--set-prompt-regexp): New function.
2571 (inferior-python-mode, run-python, python-shell):
2572 Require ansi-color. Use python--set-prompt-regexp to set the comint
2573 prompt based on the Python interpreter.
2574 (python--prompt-regexp): New var.
2575 (python-check-comint-prompt)
2576 (python-comint-output-filter-function): Use it.
2577 (run-python): Use a pipe (Bug#5694).
2579 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2581 * progmodes/python.el (run-python): Doc fix.
2582 (python-keep-current-directory-in-path): New var (Bug#7454).
2584 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2586 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2587 Prompt user before actually printing.
2589 2010-11-27 Glenn Morris <rgm@gnu.org>
2591 * startup.el (package-enable-at-startup, package-initialize):
2592 Remove unnecessary declarations.
2594 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2596 * international/characters.el (glyphless-char-display-control):
2597 Exclude newline and TAB from the c0-control group.
2599 2010-11-27 Glenn Morris <rgm@gnu.org>
2601 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2602 (expand-mail-aliases): Remove unnecessary autoload.
2604 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2606 * shell.el (shell-dir-cookie-re): Move definition before use.
2608 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2609 Replace undefined CL functions.
2611 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2613 * simple.el (prog-mode): Set bidi-paragraph-direction to
2616 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2618 2010-11-26 Glenn Morris <rgm@gnu.org>
2620 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2621 diary-outlook-formats can be sensitive to calendar-date-style.
2622 (diary-outlook-formats): Simplify the default setting.
2623 (diary-from-outlook-internal): Pass subject and body as arguments.
2624 Use dolist rather than dotimes. Don't save the diary buffer.
2625 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2626 Pass subject and body as explicit arguments to the -internal function.
2628 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2630 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2631 parsing them. This makes mailto:...?subject=foo\nbar work.
2633 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2635 * vc/diff.el (diff): Fix last change.
2637 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2639 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2640 (pcase--dontcare-upats): New var.
2641 (pcase-let, pcase-let*): Generate better code.
2642 Accept the same bodies as `let'.
2643 (pcase-dolist): New macro.
2644 (pcase--trivial-upat-p): New helper function.
2645 (pcase--expand): Strip leading "(let nil" if any.
2647 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2649 * mail/mailclient.el (browse-url): Require.
2650 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2651 use the external browser function to send the mail (bug#7469).
2653 * net/browse-url.el (browse-url-browser-function): Revert the
2654 default back to the previous value, since the new value broke
2656 (browse-url-mailto-function): New variable for mailto: URLs.
2657 (browse-url): Use the new variable for mailto: URLs.
2659 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2661 * eshell/esh-cmd.el (eshell-parse-command):
2662 * eshell/esh-arg.el (eshell-parse-arguments):
2663 * eshell/em-script.el (eshell-source-file):
2664 Use with-silent-modifications.
2666 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2668 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2669 for a merge location.
2671 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2672 (vc-bzr-merge-branch): Always prompt.
2673 (vc-bzr-async-command): Use the full branch filename.
2675 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2677 * shell.el (shell): Use current-buffer by default if it's already
2678 a shell mode buffer and its process is dead.
2679 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2681 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2683 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2684 Mention that the keywords should be comma separated.
2686 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2688 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2689 Accept optional prefix arg meaning to prompt for a command.
2690 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2691 prefix arg meaning to prompt for a command.
2692 (vc-pull): Alias for vc-update.
2694 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2695 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2696 (vc-bzr-merge-branch): New functions, implementing merge-branch
2697 and pull operations.
2699 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2701 * Makefile.in: Fix up last merge.
2703 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2704 (diff-sentinel): Get them as arguments instead.
2705 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2706 (diff-file-local-copy, diff-better-file-name): New funs.
2707 (diff-no-select): Rename from diff-into-buffer.
2708 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2709 Prefer closures to buffer-local variables.
2710 (diff): Adjust accordingly.
2711 (diff-buffer-with-file): Move from files.el.
2712 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2713 (diff-buffer-internal): Remove.
2714 (diff-buffer-buffer): Remove.
2715 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2716 the buffer name used, and so as not to mess up windows and frames.
2718 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2720 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2721 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2722 (diff-buffer-with-file): Use it.
2723 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2726 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2728 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2729 \ref's or \pageref's value as default instead of initial input.
2731 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2733 * files.el (backup-by-copying-when-mismatch): The default value is
2736 * startup.el (normal-top-level):
2737 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2738 `backup-by-copying-when-mismatch'.
2740 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2742 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2744 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2746 * progmodes/python.el (python-font-lock-keywords):
2747 Highlight top-level augmented assignments (Bug#6445).
2749 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2751 * term/ns-win.el (ns-right-control-modifier)
2752 (ns-right-command-modifier): Defvar them.
2754 * cus-start.el (all): Add ns-right-control-modifier and
2755 ns-right-command-modifier (Bug#7458).
2757 2010-11-20 Glenn Morris <rgm@gnu.org>
2759 * emacs-lisp/authors.el (authors-ignored-files)
2760 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2762 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2764 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2765 (report-emacs-bug-parse-query-results)
2766 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2767 keywords used for querying the bug database to show them in the
2768 existing bugs buffer.
2770 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2772 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2774 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2776 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2778 * international/characters.el (glyphless-char-display-control):
2779 Make it a defcustom, with update-glyphless-char-display as its
2781 (top level): Don't call update-glyphless-char-display.
2783 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2785 Sync with Tramp 2.2.0.
2787 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2788 `file-remote-p' (due to compatibility).
2790 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2791 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2793 * net/trampver.el: Update release number.
2795 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2797 * faces.el (glyphless-char): Define value for `pc'.
2799 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2801 Implemented a bug querying mechanism.
2802 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2803 (report-emacs-bug-create-existing-bugs-buffer)
2804 (report-emacs-bug-parse-query-results)
2805 (report-emacs-bug-query-existing-bugs): New functions.
2807 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2809 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2810 a \ref{} or \pageref{} macro, then use its value as initial input.
2812 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2814 * calc/calc-units.el (math-build-units-table-buffer):
2815 calc/README: Mention that the TeX specific units won't use the
2816 `tex' prefix in TeX mode.
2817 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2818 prefix for units in TeX mode.
2820 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2822 * simple.el (kill-new, kill-append, kill-region):
2823 * comint.el (comint-kill-region): Make the yank-handler argument
2826 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2828 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2829 that are both openers (resp. closers) and something else.
2830 (smie-grammar): Loosen definition of valid values.
2831 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2832 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2833 (smie-indent-after-keyword): Adjust users.
2834 (smie-indent-keyword): Don't indent empty lines.
2836 * vc-hg.el (vc-hg-program): New var.
2837 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2838 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2840 2010-11-18 Glenn Morris <rgm@gnu.org>
2842 * emacs-lisp/autoload.el (autoload-find-destination): The function
2843 coding-system-eol-type may return non-numeric values. (Bug#7414)
2845 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2847 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2849 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2851 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2853 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2855 * textmodes/picture.el (picture-mouse-set-point): Don't use
2856 posn-col-row; explicitly compute the motion based on the posn at
2857 the window-start (Bug#7390).
2859 2010-11-18 Glenn Morris <rgm@gnu.org>
2861 * novice.el (disabled-command-function):
2862 Fix 2009-11-15 change. (Bug#7384)
2864 2010-11-18 Glenn Morris <rgm@gnu.org>
2866 * calendar/calendar.el (diary-iso-date-forms): Make elements
2867 mutually exclusive. (Bug#7377)
2869 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2871 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2872 when filling the remaining "unconstrained" values.
2874 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2876 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2879 * files.el (safe-local-variable-p): Gracefully handle errors.
2881 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2882 Use smie-indent-virtual when indenting relative to an opener.
2883 (smie-rule-separator): Use smie-rule-parent.
2884 (smie-indent-keyword): Consult rules, even for openers at bol.
2885 (smie-indent-comment-close): Try to align closer's content.
2887 2010-11-18 Glenn Morris <rgm@gnu.org>
2889 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2891 2010-11-18 Glenn Morris <rgm@gnu.org>
2893 * printing.el (pr-menu-bind): Doc fix.
2895 * speedbar.el (speedbar-toggle-images): Doc fix.
2897 * progmodes/python.el (python-shell): Doc fix.
2899 * wid-edit.el (widget-field-use-before-change)
2900 (widget-use-overlay-change): Doc fixes.
2902 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2904 Minor cleanup to improve style.
2905 * textmodes/rst.el (rst-update-section): Use point-marker.
2906 (rst-get-decoration): Eliminate unneeded assignment.
2907 (rst-promote-region, rst-straighten-decorations)
2908 (rst-section-tree, rst-adjust): Use point-marker.
2909 (rst-toc-mode-mouse-goto): Avoid setq.
2910 (rst-shift-region-guts, rst-shift-region-left)
2911 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2912 (rst-convert-bullets-to-enumeration): Use copy-marker.
2914 * minibuffer.el (completion-fail-discreetly): New var.
2915 (completion--do-completion): Use it.
2917 * electric.el (electric-pair-pairs): New var.
2918 (electric-pair-post-self-insert-function): Use it.
2919 (electric-layout-post-self-insert-function): Don't insert a before
2920 newline unless it's actually needed.
2922 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2924 * progmodes/python.el (run-python): Explain why we remove the current
2925 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2927 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2929 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2931 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2932 (octave-mode-map): Don't bind ;, SPC, and LF.
2933 (octave-auto-indent, octave-auto-newline): Remove.
2934 (electric-layout-rules): Declare.
2935 (octave-mode): Set electric-layout-rules.
2936 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2937 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2938 (octave-electric-space): Remove.
2940 * electric.el (electric-layout-mode): New minor mode.
2941 (electric--after-char-pos): New function.
2942 (electric-indent-post-self-insert-function): Use it.
2943 (electric-layout-rules): New var.
2944 (electric-layout-post-self-insert-function): New function.
2945 (electric-indent-mode): Make them interact better.
2947 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2949 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2950 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2951 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2953 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2955 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2956 Make sure to check inside the word (Bug#6761).
2958 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2960 * startup.el (command-line): If the cursorColor resource is set,
2961 change the cursor face-spec (Bug#7392).
2963 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2965 The main features of the following allout.el changes are:
2966 - implement user customization for the allout key bindings
2967 - add a customization control by which the user can inhibit use of
2968 a trailing Ctrl-H, so by default it's reserved for use with
2969 describe-prefix-bindings
2970 - adapt to new version of called-interactively-p, while
2971 maintaining backwards compatibility with old version
2972 - fix hotspot navigation so i works properly with meta-modified keys
2974 * allout.el (allout-keybindings, allout-bind-keys)
2975 (allout-keybindings-binding, allout-prefixed-keybindings)
2976 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2977 (allout-keybindings-list, allout-mode-map-adjustments)
2978 (allout-setup-mode-map): Establish allout-mode keymaps as user
2979 customizable settings, and also establish a customizable setting which
2980 regulates whether or not a trailing control-h is reserved for use with
2981 describe-prefix-bindings - and inhibit it by default, so that control-h
2982 *is* reserved for describe-prefix-bindings unless the user changes it.
2984 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2985 and accurately between modified and unmodified events, and handle
2986 modified events more comprehensively.
2988 * allout.el (allout-substring-no-properties):
2989 Alias to use or provide version of `substring-no-properties'.
2990 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2992 * allout.el (allout-next-single-char-property-change):
2993 Alias to use or provide version of `next-single-char-property-change'.
2994 (allout-annotate-hidden, allout-hide-by-annotation):
2995 Use `allout-next-single-char-property-change'.
2997 * allout.el (allout-select-safe-coding-system):
2998 Alias to use or provide version of `select-safe-coding-system'.
2999 (allout-toggle-subtree-encryption):
3000 Use `allout-select-safe-coding-system'.
3002 * allout.el (allout-set-buffer-multibyte):
3003 Alias to use or provide version of `set-buffer-multibyte'.
3004 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3006 * allout.el (allout-called-interactively-p): Macro for using the
3007 different versions of called-interactively-p identically, depending on
3008 the subroutine's argument signature.
3009 (allout-back-to-current-heading, allout-beginning-of-current-entry):
3010 Use `(interactive "p")' instead of `(called-interactively-p)'.
3012 * allout.el (allout-init, allout-ascend, allout-end-of-level)
3013 (allout-previous-visible-heading, allout-forward-current-level)
3014 (allout-backward-current-level, allout-show-children):
3015 Use `allout-called-interactively-p' instead of `called-interactively-p'.
3017 * allout.el (allout-before-change-handler):
3018 Exempt edits to the (overlaid) character after the allout outline
3019 bullet from edit confirmation prompt.
3021 * allout.el (allout-add-resumptions):
3022 Ensure that it respects correct buffer for keybindings.
3024 * allout.el (allout-beginning-of-line):
3025 Use `allout-previous-single-char-property-change' alias for the sake of
3026 diverse compatibility.
3028 * allout.el (allout-end-of-line):
3029 Use `allout-mark-active-p' to encapsulate respect for mark activity.
3031 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
3033 * frame.el (frame-notice-user-settings): Don't clobber other
3034 user-set parameters when calling face-set-after-frame-default in
3035 response to background-color parameter (Bug#7373).
3037 2010-11-13 Eli Zaretskii <eliz@gnu.org>
3039 * international/characters.el (glyphless-char-display-control):
3040 Rename from glyphless-char-control; all users changed. Doc fix.
3041 Signal an error if display method is not one of the recognized
3044 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
3046 * net/tramp-compat.el (tramp-compat-line-beginning-position)
3047 (tramp-compat-line-end-position): Remove them.
3049 * net/tramp.el (tramp-parse-rhosts-group)
3050 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3051 (tramp-parse-hosts-group, tramp-parse-passwd-group)
3052 (tramp-parse-netrc-group, tramp-parse-putty-group)
3053 * net/tramp-cmds.el (tramp-append-tramp-buffers)
3054 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3055 (tramp-sh-handle-file-selinux-context)
3056 (tramp-sh-handle-file-name-all-completions)
3057 (tramp-sh-handle-insert-directory)
3058 (tramp-sh-handle-expand-file-name, tramp-find-executable)
3059 (tramp-wait-for-output, tramp-send-command-and-read)
3060 * net/tramp-smb.el (tramp-smb-read-file-entry)
3061 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3063 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3065 (tramp-remote-coding-commands): Add an alternative using "base64
3066 -d -i". This is needed for older base64 versions from GNU
3067 coreutils. Reported by Klaus Reichl
3068 <Klaus.Reichl@thalesgroup.com>.
3070 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3072 * simple.el (count-words-region): New function.
3074 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3076 * shell.el (shell-dir-cookie-re): New custom variable.
3077 (shell-dir-cookie-watcher): New function.
3079 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3080 and compilation-mode (bug#7350).
3082 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3083 highlight when one of them is empty.
3085 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3087 (skeleton-newline): New function.
3088 (skeleton-internal-1): Use it.
3090 * simple.el (open-line): `newline' may strip trailing space.
3092 2010-11-12 Kevin Ryde <user42@zip.com.au>
3094 * international/mule-cmds.el (princ-list): Use mapc.
3096 2010-11-12 Glenn Morris <rgm@gnu.org>
3098 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3099 Use it to replace all instances of "*Compile-Log*"
3101 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3103 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3106 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3108 * progmodes/modula2.el: Use SMIE and skeleton.
3109 (m2-mode-syntax-table): (*..*) can be nested.
3110 Add //...\n. Fix paren syntax.
3111 (m2-mode-map): Remove LF and TAB bindings.
3112 (m2-indent): Add safety property.
3113 (m2-smie-grammar): New var.
3114 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3115 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3116 (m2-mode): Use define-derived-mode.
3117 (m2-newline, m2-tab): Remove.
3118 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3119 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3120 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3121 (m2-import): Use define-skeleton.
3123 2010-11-11 Glenn Morris <rgm@gnu.org>
3125 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3127 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3128 (ls-lisp-verbosity): Add custom :set-after property.
3129 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3130 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3131 (ls-lisp-insert-directory): Update caller.
3132 (ls-lisp-set-options): New function.
3133 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3136 * play/landmark.el (lm-prompt-for-move):
3137 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3139 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3141 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3142 (idlwave-study-twins): Prefix dynamic local variable `name'.
3143 (idlwave-routine-twin-compare): Update for above change.
3145 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3146 Prefix dynamic local variables `name', `kwd', and `link'.
3147 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3148 * progmodes/idlw-complete-structtag.el
3149 (idlwave-complete-structure-tag-help):
3150 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3151 (idlwave-complete-sysvar-tag-help)
3152 (idlwave-complete-class-structure-tag-help):
3153 Update for above name changes.
3155 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3157 * net/browse-url.el (browse-url-browser-function): Change the
3158 default to use `browse-url-mail' on mailto: URLs.
3160 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3162 * emacs-lisp/package.el (package-read-all-archive-contents):
3163 Reset package-archive-contents to nil before re-reading.
3165 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3167 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3168 already found as misspellings by (flyspell-large-region), just
3169 do highlighting (bug#7322).
3171 2010-11-10 Glenn Morris <rgm@gnu.org>
3173 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3175 * emulation/edt.el (edt-with-position): New macro.
3176 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3177 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3178 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3180 * emulation/tpu-extras.el (tpu-with-position): New macro.
3181 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3183 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3185 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3186 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3187 (texinfo-master-menu, texinfo-insert-node-lines)
3188 (texinfo-multiple-files-update):
3189 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3190 Use line-beginning-position.
3192 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3193 No recent Emacs supports system-type `emx'.
3195 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3196 (ada-command-separator, ada-default-prj-properties)
3197 (ada-find-any-references): Update for above name change.
3199 * dirtrack.el (dirtrack-directory-function)
3200 (dirtrack-canonicalize-function):
3201 * filecache.el (file-cache-completion-ignore-case)
3202 (file-cache-case-fold-search, file-cache-ignore-case):
3203 * term.el (serial-port-is-file-p): Cosmetic change.
3205 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3206 Remove non-existent `windows-95' system-type.
3207 * dired.el (dired-chown-program): Remove non-existent `linux'
3210 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3211 (ping-program-options): Remove non-existent `linux' system-type.
3213 * startup.el (package-initialize): Update declaration.
3215 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3216 (ls-lisp-handle-switches): Use time-less-p.
3217 (ls-lisp-format-time): Use float-time.
3219 * textmodes/remember.el (remember-time-to-seconds): Remove.
3220 (remember-store-in-mailbox): Use float-time.
3222 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3224 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3225 never a real function.
3226 (with-no-warnings): Remove compat stub, now unused.
3227 (time-less-p): Doc fix.
3228 (time-to-number-of-days): Simplify.
3230 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3232 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3233 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3234 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3235 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3236 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3238 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3239 (eshell-shuffle-files, eshell-shorthand-tar-command)
3240 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3241 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3242 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3243 Prefix dynamic local variable `matches'.
3245 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3246 Prefix dynamic local variable `skeleton'.
3248 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3250 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3251 in mail buffer; make yank-action always a command that yanks original
3254 2010-11-09 Glenn Morris <rgm@gnu.org>
3256 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3258 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3260 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3261 completion field (bug#7211).
3263 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3264 Fix handling of backslash escapes.
3265 (python-quote-syntax): Adjust accordingly.
3267 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3269 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3270 (vc-mtn-workfile-branch): Adjust to new output format.
3272 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3274 * international/mule-cmds.el (princ-list): Mark as obsolete.
3276 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3278 * emacs-lisp/smie.el: New package.
3280 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3282 * files.el (backup-by-copying-when-mismatch):
3283 Set `permanent-local' property.
3285 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3286 `permanent-local' property for `backup-by-copying-when-mismatch'.
3288 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3290 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3292 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3294 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3295 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3296 AUTOINOUT for SV style multidimensional arrays, bug294.
3297 Reported by Eric Mastromarchi.
3298 (verilog-preprocess): Use with-current-buffer and
3299 font-lock-fontify-buffer to cleanup style issues.
3301 2010-11-09 Glenn Morris <rgm@gnu.org>
3303 * locate.el (locate, locate-mode): Doc fixes.
3305 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3307 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3308 user for confirmation.
3309 (server-force-stop): Use it.
3310 (server-start): Use server-force-stop for kill-emacs-hook, to
3311 avoid user interaction while killing Emacs.
3313 2010-11-09 Glenn Morris <rgm@gnu.org>
3315 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3316 (meta-indent-line): Simplify.
3318 * vc/emerge.el (emerge-line-number-in-buf):
3319 * textmodes/ispell.el (ispell-region):
3320 * textmodes/fill.el (current-fill-column):
3321 * progmodes/xscheme.el (xscheme-send-current-line):
3322 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3323 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3324 * progmodes/sh-script.el (sh-handle-prev-do):
3325 * progmodes/meta-mode.el (meta-indent-line):
3326 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3328 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3329 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3330 * progmodes/fortran.el (fortran-looking-at-if-then):
3331 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3332 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3333 (cperl-find-pods-heres):
3334 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3335 * net/quickurl.el (quickurl-list-insert):
3336 * net/ldap.el (ldap-search-internal):
3337 * net/eudc.el (eudc-expand-inline):
3338 * mail/sendmail.el (sendmail-send-it):
3339 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3340 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3341 (viper-brac-function):
3342 * calc/calc-yank.el (calc-do-grab-region):
3343 * calc/calc-keypd.el (calc-keypad-press):
3344 * term.el (term-move-columns, term-insert-spaces):
3345 * speedbar.el (speedbar-highlight-one-tag-line):
3346 * simple.el (current-word):
3347 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3348 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3350 * hippie-exp.el (he-line-beg):
3351 * epa.el (epa--marked-keys):
3352 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3353 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3354 (dired-relist-entry):
3355 * buff-menu.el (Buffer-menu-buffer):
3356 * array.el (current-line):
3357 * allout.el (allout-resolve-xref)
3358 (allout-latex-verbatim-quote-curr-line):
3359 Replace yet more uses of end-of-line etc with line-end-position, etc.
3361 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3363 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3364 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3365 (checkdoc-syntax-table): Initialize in the declaration.
3366 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3367 the mode on unconditionally.
3369 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3370 (extent-end-position, extent-start-position): Remove setf method for
3371 non-existing functions (bug#7319).
3373 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3375 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3376 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3377 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3378 (smie-prec2->grammar): Rename from smie-prec2-levels.
3379 (smie-grammar): Rename from smie-op-levels.
3380 (smie-indent--hanging-p): Rename from smie-hanging-p.
3381 (smie-rule-hanging-p): New alias.
3382 (smie-indent--bolp): Rename from smie-bolp.
3383 (smie-indent--hanging-p): New alias.
3384 (smie--token): New dynamically bound variable.
3385 (smie-indent--parent): New function.
3386 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3387 (smie-rule-next-p): Rename from smie-next-p.
3388 (smie-rule-prev-p): Rename from smie-prev-p.
3389 (smie-rule-sibling-p, smie-rule-parent)
3390 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3391 (smie-rule-separator-outdent): New var.
3392 (smie-indent--rule): Merge with smie-indent--column.
3393 (smie-indent-forward-token, smie-indent-backward-token):
3394 Also recognize close parens.
3395 (smie-indent-keyword): Don't use smie-indent--column any more.
3396 (smie-indent-after-keyword): Ignore closers by default.
3397 (smie-indent-line): Use with-demoted-errors.
3398 * progmodes/octave-mod.el (octave-smie-grammar):
3399 Rename from octave-smie-op-levels.
3400 (octave-smie-rules): Adjust to new behavior.
3401 * progmodes/prolog.el (prolog-smie-grammar):
3402 Rename from prolog-smie-op-levels.
3404 2010-11-07 Glenn Morris <rgm@gnu.org>
3406 * eshell/esh-util.el (subst-char-in-string)
3407 (directory-files-and-attributes): These compatibility definitions are
3408 not needed on any version of Emacs since at least 21.4.
3410 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3411 (verilog-get-end-of-line): Remove.
3412 (verilog-within-string, verilog-re-search-forward-substr)
3413 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3414 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3415 Use point-at-bol, point-at-eol.
3416 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3418 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3419 (electric-pascal-terminate-line, pascal-set-auto-comments)
3420 (pascal-indent-paramlist, pascal-indent-declaration)
3421 (pascal-get-lineup-indent, pascal-func-completion)
3422 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3423 Use point-at-bol, point-at-eol.
3424 * progmodes/flymake.el (flymake-line-beginning-position)
3425 (flymake-line-end-position): Remove.
3426 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3427 * eshell/esh-util.el (line-end-position, line-beginning-position):
3428 Remove compat definitions.
3430 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3432 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3433 Use line-end-position.
3435 * emacs-lisp/chart.el (chart-zap-chars):
3436 * play/decipher.el (decipher-set-map):
3437 * progmodes/ada-mode.el (ada-get-current-indent)
3438 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3439 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3440 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3441 (ada-get-all-references):
3442 * progmodes/cperl-mode.el (cperl-electric-paren)
3443 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3444 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3445 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3446 (cperl-word-at-point-hard):
3447 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3448 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3449 (idlwave-shell-display-line):
3450 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3451 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3452 * progmodes/js.el (js--re-search-forward-inner)
3453 (js--re-search-backward-inner):
3454 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3455 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3456 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3457 * textmodes/flyspell.el (flyspell-process-localwords):
3458 * textmodes/ispell.el (ispell-buffer-local-parsing)
3459 (ispell-buffer-local-dict, ispell-buffer-local-words):
3460 Use point-at-bol and point-at-eol.
3462 * speedbar.el (speedbar-generic-item-info)
3463 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3464 (speedbar-add-indicator, speedbar-check-vc-this-line)
3465 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3466 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3467 Replace more uses of end-of-line etc with line-end-position.
3469 2010-11-06 Glenn Morris <rgm@gnu.org>
3471 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3472 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3473 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3474 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3475 (texinfo-multiple-files-update):
3476 * textmodes/table.el (table--probe-cell-left-up)
3477 (table--probe-cell-right-bottom):
3478 * textmodes/picture.el (picture-tab-search):
3479 * textmodes/page-ext.el (pages-copy-header-and-position)
3480 (pages-directory-for-addresses):
3481 * progmodes/vera-mode.el (vera-get-offset):
3482 * progmodes/simula.el (simula-calculate-indent):
3483 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3484 * progmodes/prolog.el (end-of-prolog-clause):
3485 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3486 * progmodes/icon.el (indent-icon-exp):
3487 * progmodes/etags.el (tag-re-match-p):
3488 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3489 * progmodes/ebnf2ps.el (ebnf-begin-file):
3490 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3491 (dcl-save-local-variable):
3492 * play/life.el (life-setup):
3493 * play/gametree.el (gametree-looking-at-ply):
3494 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3495 * mail/sendmail.el (mail-mode-auto-fill):
3496 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3497 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3498 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3499 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3500 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3501 * type-break.el (type-break-file-keystroke-count):
3502 * term.el (term-replace-by-expanded-history-before-point)
3503 (term-skip-prompt, term-extract-string):
3504 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3505 (speedbar-contract-line, speedbar-toggle-line-expansion)
3506 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3507 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3508 * sort.el (sort-skip-fields):
3509 * skeleton.el (skeleton-internal-list):
3510 * simple.el (line-move-finish, line-move-to-column):
3511 * shell.el (shell-forward-command):
3512 * misc.el (copy-from-above-command):
3513 * makesum.el (double-column):
3514 * ebuff-menu.el (electric-buffer-update-highlight):
3515 * dired.el (dired-move-to-end-of-filename):
3516 * dframe.el (dframe-popup-kludge):
3517 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3518 * arc-mode.el (archive-get-lineno):
3519 Use line-end-position and line-beginning-position.
3521 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3522 (idlwave-study-twins): Prefix dynamic local `class'.
3523 (idlwave-routine-twin-compare): Update for above name change.
3525 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3526 Use boundp tests to silence compiler. Update for changed name of
3527 bytecomp-filename variable.
3529 * emulation/viper-cmd.el (viper-read-string-with-history):
3530 Prefix dynamic local `initial'.
3531 (viper-minibuffer-standard-hook): Update for above name change.
3533 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3534 (elint-init-form): Update for above name change.
3536 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3537 local variables `cbeg' and `cend' a prefix.
3538 (mail-extr-voodoo): Update for above name change.
3540 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3541 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3542 (reftex-toc-promote-action): Doc fix.
3544 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3545 `prompt', `data' a prefix.
3546 (reftex-select-post-command-hook, reftex-select-callback)
3547 (reftex-select-mouse-accept, reftex-select-read-cite):
3548 Update for above name changes.
3550 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3551 `refstyle' to reftex-refstyle.
3552 (reftex-offer-label-menu): Update for above name change.
3553 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3554 `refstyle' name change.
3556 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3557 with with-current-buffer.
3558 (diff, template): Give dynamic local variables a prefix.
3559 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3560 (emerge-line-number-in-buf): Update for above name change.
3561 (emerge-combine-versions-internal): Rename local `template' to
3562 emerge-combine-template.
3563 (emerge-combine-versions-edit): Update for above name change.
3565 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3567 * textmodes/reftex-cite.el
3568 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3569 entries with whitespace after \bibitem.
3570 (reftex-create-bibtex-file): Match entries containing numbers and
3571 symbol constituents. Make sure that entries with whitespace at
3572 various places are found.
3574 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3576 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3578 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3580 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3582 2010-11-05 Glenn Morris <rgm@gnu.org>
3584 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3585 (woman2-roff-buffer): Give local variable `request' a prefix.
3586 (woman0-macro): Rename argument `request' in the same way.
3587 (woman-request): New name for `request' dynamic variable.
3588 (woman-unquote, woman-forward-arg): Update for above name change.
3589 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3590 (woman1-unquote): New name for `unquote' dynamic variable.
3591 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3592 (woman-translations): Rename from `translations'. No longer global.
3593 (woman2-tr, woman-translate): Update for above name change.
3594 (woman-translate): Check for bound variable.
3595 (woman2-roff-buffer): Give local variable `translations' a prefix.
3597 * play/doctor.el: Give all local variables a prefix. Update callers.
3598 (doc$, doctor-put-meaning): Use backquote.
3600 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3601 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3603 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3604 variables bytes, ptr, op a prefix.
3605 (disassemble-offset): Update for above change.
3607 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3609 * emacs-lisp/package.el (package-unpack): Remove no-op.
3610 (package--builtins, package--dir): Doc fix.
3611 (package-activate-1, package-activate, package-install)
3612 (package-compute-transaction): Fix error message.
3613 (package-delete): Use delete-directory. Omit system packages.
3614 (package-initialize): Set package-alist to nil first.
3615 (package-menu-mark-delete, package-menu-mark-install): Don't add
3616 symbols that are inconsistent with the package state.
3617 (package-menu-execute): Perform deletions and installations as
3618 single batch operations.
3620 2010-11-03 Glenn Morris <rgm@gnu.org>
3622 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3623 (props): Remove unnecessary declaration.
3625 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3626 set-process-query-on-exit-flag.
3628 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3629 (reftex-toc-do-promote): Remove unused local `mpos'.
3630 (reftex-toc-restore-region): Make `mpos' local to this function.
3632 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3634 * play/landmark.el (lm-losing-threshold): Correct spelling.
3635 (lm-human-plays): Use new name.
3637 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3638 (gomoku-human-plays): Use new name.
3640 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3641 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3642 (gomoku-score-trans-table, gomoku-winning-threshold)
3643 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3645 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3647 * emacs-lisp/package.el: Don't put built-in packages in
3648 package-alist, to avoid loading inefficiencies.
3649 (package-built-in-p): Make VERSION optional, and treat it as a
3650 minimum acceptable version.
3651 (package-activate): Search separately for built-in packages.
3652 Emit a warning if a dependency fails.
3653 (define-package): Handle most common case, where there is no
3654 obsolete package, first.
3655 (package-compute-transaction): Print required version in error.
3656 (package--initialized): New variable.
3657 (list-packages): Use it.
3658 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3659 built-in packages in packages-alist; keep it separate.
3660 Set package--initialized.
3661 (describe-package): Avoid activating packages as a side-effect.
3662 Search separately for built-in packages.
3663 (describe-package-1): Handle the case where an elpa package is
3664 simultaneously built-in and available/installed.
3665 (package-installed-p, package--generate-package-list):
3666 Search separately for built-in packages.
3667 (package-load-descriptor): Doc fix.
3669 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3671 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3672 Handle __DATA__ and __END__.
3674 2010-11-02 Noah Friedman <friedman@splode.com>
3676 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3677 nil, do not ask to recompile files that are not already compiled,
3678 and do not recompile them.
3680 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3682 * emacs-lisp/package.el (package-initialize): Ensure that
3683 obsoleted built-in packages are not in package-activated-list
3685 (describe-package-1): Make the "installed" status override
3688 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3690 * subr.el (version-separator, version-regexp-alist): Remove '*'
3692 (version-list-<=, version<=, version=): Doc fix.
3694 2010-11-01 Kenichi Handa <handa@m17n.org>
3696 * faces.el (glyphless-char): Inherit underline for tty.
3698 2010-11-01 Kenichi Handa <handa@m17n.org>
3700 Implement various display methods for glyphless characters.
3702 * international/characters.el (char-acronym-table): New variable.
3703 (glyphless-char-control): New variable.
3704 (update-glyphless-char-display): New funciton.
3706 * faces.el (glyphless-char): New face.
3708 2010-11-01 Glenn Morris <rgm@gnu.org>
3710 * calendar/holidays.el (general-holidays, oriental-holidays)
3711 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3712 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3713 the definitions of their targets.
3715 * emacs-lisp/smie.el (smie): New custom group.
3716 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3718 * faces.el (xw-defined-colors, x-setup-function-keys):
3719 * mouse-sel.el (x-select-text):
3720 * term/w32console.el (x-setup-function-keys): Update declarations.
3722 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3724 * textmodes/ispell.el (comment-add): Declare.
3726 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3729 * info.el (finder-keywords-hash, package-alist): Declare.
3731 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3733 * finder.el (finder-compile-keywords): Don't use intern-soft,
3734 since package names may not yet exist in the obarray.
3736 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3738 * vc/vc-arch.el (vc-arch-checkin):
3739 * vc/vc-cvs.el (vc-cvs-checkin):
3740 * vc/vc-mtn.el (vc-mtn-checkin):
3741 * vc/vc-rcs.el (vc-rcs-checkin):
3742 * vc/vc-sccs.el (vc-sccs-checkin):
3743 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3744 since 2010-04-21 commit by Stefan Monnier.
3746 2010-11-01 Glenn Morris <rgm@gnu.org>
3748 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3750 * startup.el (package-enable-at-startup, package-initialize):
3753 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3756 2010-10-31 Julien Danjou <julien@danjou.info>
3758 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3759 (byte-recompile-directory):
3760 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3761 Use `byte-recompile-file'.
3763 2010-10-31 Glenn Morris <rgm@gnu.org>
3765 * cus-start.el: Handle standard values via a keyword.
3766 Only set version property if specified.
3767 (cursor-in-non-selected-windows, menu-bar-mode)
3768 (tool-bar-mode, show-trailing-whitespace):
3769 Do not specify standard values.
3770 (transient-mark-mode, temporary-file-directory): Use :standard.
3772 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3774 * term/x-win.el (x-get-selection-value): New function that gets
3775 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3777 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3779 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3780 preserve owner and group when editing files. (Bug#7289)
3782 2010-10-31 Glenn Morris <rgm@gnu.org>
3784 * speedbar.el (speedbar-mode):
3785 * play/fortune.el (fortune-in-buffer, fortune):
3786 * play/gomoku.el (gomoku-mode):
3787 * play/landmark.el (lm-mode):
3788 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3789 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3791 * select.el (x-selection): Mark it as an obsolete alias.
3793 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3795 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3796 major-mode (bug#7284).
3798 2010-10-31 Glenn Morris <rgm@gnu.org>
3800 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3801 rather than just an unused variable that inherits from the real one.
3803 2010-10-31 Alan Mackenzie <acm@muc.de>
3805 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3806 This fixes bug #7185.
3808 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3810 * startup.el (command-line): Search for package directories, and
3811 don't load package.el if none are found.
3813 * emacs-lisp/package.el (describe-package, list-packages):
3814 Call package-initialize if it has not been called yet.
3816 2010-10-30 Alan Mackenzie <acm@muc.de>
3818 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3819 which fontifies the tail of an enum.
3820 (c-basic-matchers-after): Insert a call to the above new function.
3821 This fixes bug #7264.
3823 2010-10-30 Glenn Morris <rgm@gnu.org>
3825 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3826 tool-bar-mode, transient-mark-mode. (Bug#7306)
3827 Include the :set property in the dumped Emacs.
3829 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3831 SMIE: change indent rules format, improve smie-setup.
3832 * emacs-lisp/smie.el (smie-precs-precedence-table)
3833 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3834 Mark them pure so the tables gets built at compile time.
3835 (smie-bnf-precedence-table): Store the closer-alist in the table.
3836 (smie-prec2-levels): Preserve the closer-alist.
3837 (smie-blink-matching-open): Be more forgiving in case of indentation.
3838 (smie-hanging-p): Rename from smie-indent--hanging-p.
3839 (smie-bolp): Rename from smie-indent--bolp.
3840 (smie--parent, smie--after): New dynamic vars.
3841 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3842 (smie-indent-rules): Remove.
3843 (smie-indent--offset-rule): Remove fun.
3844 (smie-rules-function): New var.
3845 (smie-indent--rule): New fun.
3846 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3847 (smie-indent-exps): Use it.
3848 (smie-setup): Setup paren blinking; add keyword args for token
3849 functions; extract closer-alist from op-levels.
3850 (smie-indent-debug-log): Remove var.
3851 (smie-indent-debug): Remove fun.
3852 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3853 (prolog-smie-rules): New fun to replace it.
3854 (prolog-mode-variables): Simplify.
3855 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3856 it's setup automatically.
3857 (octave-smie-indent-rules): Remove.
3858 (octave-smie-rules): New fun to replace it.
3859 (octave-mode): Simplify.
3861 2010-10-29 Glenn Morris <rgm@gnu.org>
3863 * files.el (temporary-file-directory): Remove (already defined in C).
3864 * cus-start.el: Add temporary-file-directory.
3866 * abbrev.el (abbrev-mode):
3867 * composite.el (auto-composition-mode):
3868 * menu-bar.el (menu-bar-mode):
3869 * simple.el (transient-mark-mode):
3870 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3871 that they do not define the associated variables twice.
3872 * simple.el (transient-mark-mode): Remove defvar.
3873 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3874 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3875 Handle multiple groups, and also custom-delayed-init-variables.
3876 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3878 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3881 (pcase-if): Add one minor optimization.
3882 (pcase-split-equal): Rename from pcase-split-eq.
3883 (pcase-split-member): Rename from pcase-split-memq.
3884 (pcase-u1): Add strings to the member optimization.
3885 Add `guard' variant of predicates.
3886 (pcase-q1): Add string patterns.
3888 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3890 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3892 2010-10-28 Glenn Morris <rgm@gnu.org>
3894 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3895 Move menu-bar related settings to ../menu-bar.el.
3896 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3897 Move ns-specific settings here from term/ns-win.el.
3899 * simple.el (x-selection-owner-p): Remove unused declaration.
3901 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3903 * minibuffer.el (completion-cycling): New var (bug#7266).
3904 (minibuffer-complete, completion--do-completion):
3905 Use completion--flush-all-sorted-completions.
3906 (minibuffer-complete): Only cycle if completion-cycling is set.
3907 (completion--flush-all-sorted-completions): Unset completion-cycling.
3908 (minibuffer-force-complete): Set completion-cycling.
3909 (completion-all-sorted-completions): Move declaration before first use.
3911 2010-10-28 Leo <sdl.web@gmail.com>
3913 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3914 which changes the order of matches seen by users (bug#7231).
3916 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3918 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3919 Don't confuse -omega as "-o mega".
3921 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3923 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3924 (log-edit-author): New dynamic var.
3925 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3926 to return the author if different from committer.
3927 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3929 * play/landmark.el: Adjust commenting convention.
3930 (lm-nil-score): Rename from nil-score.
3931 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3932 (OOOOscore): Move into a let in lm-score-trans-table.
3933 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3935 * electric.el (electric-indent-chars): Autoload.
3936 * progmodes/octave-mod.el (octave-mode):
3937 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3938 (ruby-mode-abbrev-table): Merge initialization and declaration.
3940 2010-10-27 Glenn Morris <rgm@gnu.org>
3942 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3945 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3947 * term/ns-win.el: Restore require of cl when compiling.
3948 (menu-bar-final-items): Remove non-existent `windows' menu.
3949 (ns-handle-nxopen): Optionally handle the temp-case.
3950 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3951 (ns-insert-file, ns-find-file): Use `pop'.
3953 2010-10-26 Glenn Morris <rgm@gnu.org>
3955 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3957 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3959 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3961 * term/common-win.el (x-setup-function-keys): Remove most of the
3962 keymappings. Comment on the remaining ones.
3964 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3966 * server.el (server-port): New option. (Bug#854)
3967 (server-start): Use server-port.
3969 2010-10-26 Glenn Morris <rgm@gnu.org>
3971 * term/ns-win.el (ns-version-string): Remove unused declaration.
3972 (ns-invocation-args): Change to x-invocation-args.
3973 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3974 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3975 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3976 Use x-invocation-args instead of ns-invocation-args.
3977 (ns-initialize-window-system, handle-args-function-alist):
3978 Use x-handle-args instead of ns-handle-args.
3979 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3980 * startup.el (command-line-ns-option-alist): Replace
3981 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3982 ns-handle-iconic with the x- equivalents.
3984 * term/common-win.el (x-select-enable-clipboard):
3985 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3987 * term/ns-win.el: No need to require cl when compiling.
3988 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3989 (xw-defined-colors): Use the common-win definitions.
3990 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3991 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3992 * term/common-win.el (x-select-text, x-alternatives-map)
3993 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3994 * loadup.el [ns]: Load common-win.
3996 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3998 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3999 recipients; expand mail aliases (Bug#7280).
4001 2010-10-25 Glenn Morris <rgm@gnu.org>
4003 * term/common-win.el (x-handle-switch): Simplify with pop.
4004 Optionally handle numeric switches.
4005 (x-handle-numeric-switch): Just call x-handle-switch.
4006 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4007 (x-handle-name-switch, x-handle-display, x-handle-args):
4010 * term/ns-win.el: Do not require easymenu.
4011 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4012 <spell>: Move adjustments to menu-bar.el.
4013 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4014 <separator-undo, spell>: Move ns-win's adjustments here.
4015 * loadup.el [ns]: Do not load easymenu.
4017 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4019 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4022 * startup.el (fancy-startup-tail): Instead of using inline images,
4023 refer to image files from etc/.
4025 * wid-edit.el (checkbox): Likewise.
4026 (widget-image-find): Center image specs.
4028 2010-10-24 Glenn Morris <rgm@gnu.org>
4030 * term/ns-win.el (x-select-text): Doc fix.
4031 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4032 (x-select-text): Move to term/common-win.
4033 * term/w32-win.el (xw-defined-colors): Move to common-win.
4034 * term/x-win.el (xw-defined-colors, x-alternatives-map)
4035 (x-setup-function-keys, x-select-text): Move to common-win.
4036 * term/common-win.el (x-select-text, x-alternatives-map)
4037 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4040 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
4042 * net/mairix.el (mairix-searches-mode-map):
4043 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4045 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
4047 * verilog-mode.el (verilog-directive-re): Make this variable
4048 auto-built for efficiency of execution and updating.
4049 (verilog-extended-complete-re): Support 'pure' fucntion & task
4050 declarations (these have no bodies).
4051 (verilog-beg-of-statement): General cleanup to enable support of
4052 'pure' fucntion & task declarations (these have no bodies).
4053 These efforts together fix Verilog bug210 from veripool; which was also
4054 noticed by Steve Pearlmutter.
4055 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4056 (verilog-directive-nest-re, verilog-set-auto-endcomments):
4057 Support `elsif. Reported by Shankar Giri.
4058 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4059 attribute handling for lining up declarations and assignments.
4060 (verilog-beg-of-statement-1): Fix issue where continued declaration
4061 is indented differently if it is after a begin..end clock.
4062 (verilog-in-attribute-p, verilog-skip-backward-comments)
4063 (verilog-skip-forward-comment-p): Support proper treatment of
4064 attributes by indent code. Reported by Jeff Steele.
4065 (verilog-in-directive-p): Fix comment to correctly describe function.
4066 (verilog-backward-up-list, verilog-in-struct-region-p)
4067 (verilog-backward-token, verilog-in-struct-p)
4068 (verilog-in-coverage-p, verilog-do-indent)
4069 (verilog-pretty-declarations): Use verilog-backward-up-list as
4070 wrapper around backward-up-list inorder to properly skip comments.
4071 Reported by David Rogoff.
4072 (verilog-property-re, verilog-endcomment-reason-re)
4073 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4074 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4075 of if). Reported by Max Bjurling and
4076 (verilog-calc-1): Fix for clocking block in modport
4077 declaration. Reported by Brian Hunter.
4079 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4081 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4082 (verilog-gate-keywords, verilog-read-sub-decls)
4083 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4084 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4085 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4086 (verilog-read-decls): Fix spaces in V2K module parameters causing
4087 mis-identification as interfaces, bug287.
4088 (verilog-read-decls): Fix not treating "parameter string" as a
4089 parameter in AUTOINSTPARAM.
4090 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4091 treating `elsif similar to `endif inside AUTOSENSE.
4092 (verilog-do-indent): Implement correct automatic or static task or
4093 function end comment highlight. Reported by Steve Pearlmutter.
4094 (verilog-font-lock-keywords-2): Fix highlighting of single
4095 character pins, bug264. Reported by Michael Laajanen.
4096 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4097 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4098 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4099 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4100 (verilog-pretty-expr): Fix interactive arguments, bug272.
4101 Reported by Mark Johnson.
4102 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4103 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4104 bug269. Suggested by Gary Delp.
4105 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4106 (verilog-preprocessor, verilog-set-compile-command):
4107 Create verilog-preprocess and verilog-preprocessor to show
4108 preprocessed output.
4109 (verilog-get-beg-of-line, verilog-get-end-of-line)
4110 (verilog-modi-file-or-buffer, verilog-modi-name)
4111 (verilog-modi-point, verilog-within-string): Move defmacro's
4112 before first use to avoid warning. Reported by Steve Pearlmutter.
4113 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4114 (verilog-colorize-region, verilog-highlight-buffer)
4115 (verilog-highlight-includes, verilog-highlight-modules)
4116 (verilog-highlight-region, verilog-mode): Rename colorize to
4117 highlight to match other packages. Disable module highlighting,
4118 as received speed complaints, reenable for experimentation only
4119 using new verilog-highlight-modules.
4120 (verilog-read-decls): Fix regexp stack overflow in very large
4121 AUTO_TEMPLATEs, bug250.
4122 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4123 (verilog-scan): Create verilog-save-buffer-state to standardize
4124 making insignificant changes that shouldn't call hooks.
4125 (verilog-save-no-change-functions, verilog-save-scan-cache)
4126 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4127 Create verilog-save-no-change-functions to wrap verilog-scan
4128 preservation, and fix to work with nested preserved calls.
4129 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4130 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4131 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4132 (verilog-submit-bug-report): Update variable list to be complete.
4133 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4134 breaking on-the-fly font-locking.
4135 (verilog-colorize-buffer, verilog-colorize-include-files)
4136 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4137 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4138 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4139 AUTOINST cell instance name, middle mouse button now finds-file on
4140 it. Suggested by Brad Dobbie.
4141 (verilog-alw-get-temps, verilog-auto-reset)
4142 (verilog-auto-sense-sigs, verilog-read-always-signals)
4143 (verilog-read-always-signals-recurse): Fix loop indexes being
4144 AUTORESET. AUTORESET now assumes any variables in the
4145 initialization section of a for() should be ignored.
4146 Reported by Dan Dever.
4147 (verilog-error-font-lock-keywords)
4148 (verilog-error-regexp-emacs-alist)
4149 (verilog-error-regexp-xemacs-alist): Fix error detection of
4150 Cadence HAL, reported by David Asher. Repair drift between the
4151 three similar error variables.
4152 (verilog-modi-lookup, verilog-modi-lookup-cache)
4153 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4154 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4155 Fix slow verilog-auto expansion on very large files.
4156 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4157 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4158 "{1*2{...". Broke in last revision.
4159 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4160 submodule connections with replications "{#{a},#{b}}".
4162 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4164 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4165 Fix typo in docstring.
4167 2010-10-24 Kenichi Handa <handa@m17n.org>
4169 * face-remap.el (text-scale-adjust): Call read-event with a proper
4172 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4174 * emacs-lisp/unsafep.el: Don't mark functions that display
4175 messages as safe. Suggested by Johan Bockgård.
4177 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4179 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4180 Turn comments into docstrings.
4182 * minibuffer.el (completion--replace): Move point where it belongs
4183 when there's a common suffix (bug#7215).
4185 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4187 Merge read-color and facemenu-read-color (Bug#7242).
4189 * faces.el (read-color): Use the completion code from
4190 facemenu-read-color. Require match in completion. Doc fix.
4192 * facemenu.el (facemenu-read-color): Alias for read-color.
4193 (facemenu-set-foreground, facemenu-set-background):
4196 * frame.el (set-background-color, set-foreground-color)
4197 (set-cursor-color, set-mouse-color, set-border-color):
4200 2010-10-24 Leo <sdl.web@gmail.com>
4202 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4203 argument of delete-file and delete-directory (Bug#7011).
4205 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4207 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4210 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4212 * emacs-lisp/package.el (package--generate-package-list): Make the
4213 *Packages* buffer read-only.
4215 2010-10-24 Alan Mackenzie <acm@muc.de>
4217 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4218 result of `c-beginning-of-decl-1' between invocations of a lambda
4219 function (Bug #7265).
4221 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4223 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4224 executable is not available on the system (Bug#7268).
4226 2010-10-24 Glenn Morris <rgm@gnu.org>
4228 * select.el (selection-coding-system, next-selection-coding-system):
4229 Sync doc with C versions.
4231 * w32-vars.el (x-select-enable-clipboard):
4232 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4233 * term/common-win.el (x-select-enable-clipboard): Move here.
4235 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4236 definition of C variable.
4238 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4239 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4240 Don't redefine things that are defined in C.
4241 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4242 (show-trailing-whitespace, auto-hscroll-mode)
4243 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4244 Set up the appropriate custom properties.
4246 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4249 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4250 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4251 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4252 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4254 2010-10-23 Glenn Morris <rgm@gnu.org>
4256 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4259 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4260 Sync docs with C version.
4262 * term/ns-win.el (xw-defined-colors):
4263 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4265 * term/pc-win.el (x-select-enable-clipboard):
4266 * term/x-win.el (x-select-enable-clipboard):
4267 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4269 * comint.el (comint-password-prompt-regexp): Make it less vague.
4272 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4274 * help.el (finder-by-keyword): Remove unnecessary autoload.
4276 2010-10-22 Glenn Morris <rgm@gnu.org>
4278 * loadup.el: Unconditionally load float-sup.
4279 * paren.el (show-paren-delay):
4280 * emacs-lisp/float-sup.el:
4281 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4282 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4283 (lazy-lock-stealth-verbose): Assume float support.
4284 * ps-print.el: Assume float support on Emacs.
4285 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4286 Remove non-float branch.
4288 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4289 src/Makefile no longer being pre-processed.
4291 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4293 * emacs-lisp/find-func.el (find-library): Use test-completion.
4295 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4297 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4299 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4301 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4302 space in stat format string.
4303 (tramp-send-command): Unset $PS1 when using here documents, in
4304 order not to get several prompts.
4305 (tramp-get-inline-coding): Return `nil' in case of errors.
4307 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4309 * hexl.el (hexl-mode, hexl-mode-exit):
4310 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4311 (hexl-revert-buffer-function): New function.
4312 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4314 2010-10-19 Alan Mackenzie <acm@muc.de>
4316 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4317 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4318 that these keywords aren't wrongly matched as identifiers.
4320 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4321 setting of c-new-BEG and c-new-END from c-before-change to
4322 c-after-change. (Bug#7181)
4324 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4326 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4329 * custom.el (custom-theme-set-variables): Likewise.
4330 (load-theme): Add custom-theme-set-faces and
4331 custom-theme-set-variables to safe-functions while loading.
4332 (custom-enabled-themes): Mark as risky.
4334 2010-10-18 Julien Danjou <julien@danjou.info>
4336 * bindings.el: Remove end dashes in default mode-line-format.
4338 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4340 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4341 to delete-forward-char.
4343 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4344 deletechar, and hence delete-forward-char.
4346 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4348 * repeat.el (repeat): Use read-key (bug#6256).
4350 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4352 * emacs-lisp/unsafep.el: Don't mark functions that display
4353 messages as safe. Suggested by Johan Bockgård.
4355 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4357 * minibuffer.el (completion--replace): Move point where it belongs
4358 when there's a common suffix (bug#7215).
4360 2010-10-19 Kenichi Handa <handa@m17n.org>
4362 * international/characters.el: Add category '|' (word breakable)
4363 to fullwidth characters.
4365 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4367 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4368 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4369 order to make stat results a float. Patch by Andreas Schwab
4370 <schwab@linux-m68k.org>.
4372 2010-10-18 Julien Danjou <julien@danjou.info>
4374 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4375 hidden by `make-pointer-invisible'.
4377 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4379 * files.el (locate-file-completion-table): Strip non-matching elements
4380 before checking length of list (bug#7238).
4382 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4384 * custom.el (custom-theme-set-variables): Mark as a safe function.
4385 (load-theme): Check forms using unsafep.
4387 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4389 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4391 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4392 Fix aspell data file searching (bug#7230).
4394 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4396 * cus-theme.el (custom-theme--migrate-settings): New var.
4397 (customize-create-theme): Allow editing the `user' theme.
4398 (custom-theme-add-variable, custom-theme-add-var-1)
4399 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4400 to the front of each variable or face widget.
4401 (custom-theme-write): Save theme settings in the correct order.
4402 Optionally, remove saved settings from user customizations.
4403 (custom-theme-write-variables, custom-theme-write-faces):
4404 Save only the checked widgets.
4405 (customize-themes): Add a link for migrating custom settings.
4407 * custom.el (custom-declare-theme, provide-theme):
4408 Use custom-theme-name-valid-p.
4409 (custom-theme-name-valid-p): Remove checks that are now
4410 unnecessary since themes no longer obey load-path.
4412 * cus-edit.el (custom-variable-value-create): For the simple
4413 style, hide documentation string when hidden.
4415 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4417 * cus-edit.el (custom-variable, custom-face): Combine the
4418 :inhibit-magic and :display-style properties into a single
4419 :custom-style property.
4420 (custom-toggle-hide-variable, custom-toggle-hide-face):
4421 New functions. If hiding an edited value, save it to :shown-value.
4422 (custom-variable-value-create, custom-face-value-create): Use them.
4423 (custom-magic-reset): Allow magic property to be unset.
4425 * custom.el: Custom themes no longer use load-path.
4426 (custom-theme-load-path): New option. Change built-in theme
4428 (custom-enabled-themes): Add custom-theme-load-path dependency.
4429 (custom-theme--load-path): New function.
4430 (load-theme, custom-available-themes): Use it.
4432 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4433 (customize-themes): Link to custom-theme-load-path variable.
4434 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4435 :custom-style property.
4437 * themes/*.el: Moved to etc/.
4439 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4441 * textmodes/reftex-cite.el
4442 (reftex-extract-bib-entries-from-thebibliography): Do not move
4443 point when searching for \bibitem entries. Match entries with
4444 spaces or tabs in front of arguments.
4446 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4448 * cus-theme.el (customize-create-theme): Delete overlays after
4449 erasing. If given a THEME arg, display only the faces of that arg
4450 instead of custom-theme--listed-faces.
4451 (custom-theme-variable-menu, custom-theme-variable-action)
4452 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4453 (custom-theme-add-variable, custom-theme-add-face): Apply value
4454 from the theme settings, instead of the current value.
4455 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4456 (custom-theme-visit-theme): Allow calling outside theme buffers.
4457 (custom-theme-merge-theme): Don't enable the theme when merging.
4458 (custom-theme-write-variables, custom-theme-write-faces): Use the
4459 :shown-value properties to save buffer values, not global ones.
4460 (customize-themes): Display a warning about user customizations.
4462 * cus-edit.el (custom-variable-value-create)
4463 (custom-face-value-create): Obey new special properties
4464 :shown-value and :inhibit-magic.
4466 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4468 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4469 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4472 2010-10-14 Kenichi Handa <handa@m17n.org>
4474 * mail/rmail.el (rmail-show-message-1): Catch an error of
4475 base64-decode-region and just show an error message (bug#7165).
4477 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4478 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4479 a font-spec (bug#7197).
4481 2010-10-14 Glenn Morris <rgm@gnu.org>
4483 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4485 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4487 * international/mule.el (define-coding-system):
4488 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4489 * composite.el (compose-region): Fix typo in docstring.
4491 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4493 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4494 only after checking the theme-face property.
4496 * faces.el (face-spec-reset-face): Reset all attributes in one
4497 single call to set-face-attribute.
4498 (face-spec-match-p): Make it a defsubst.
4499 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4500 (x-create-frame-with-faces, tty-create-frame-with-faces)
4501 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4502 frame-set-background-mode, since they are recomputed immediately
4503 afterwards in face-set-after-frame-default.
4504 (face-set-after-frame-default): Minor optimization.
4505 (cursor): Provide non-trivial defface spec.
4507 * custom.el (custom-theme-recalc-face): Simplify.
4509 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4511 * calc/calc-alg.el (math-var): Rename from `var'.
4512 (math-is-polynomial, math-is-poly-rec): Replace `var'
4515 * calc/calcalg2.el (math-var): Rename from `var'.
4516 (calcFunc-table, math-scan-for-limits): Replace `var'
4519 2010-10-13 Glenn Morris <rgm@gnu.org>
4521 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4523 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4525 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4527 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4529 * net/tls.el (tls-program): Remove spurious %s from openssl.
4530 (tls-starttls-switches): Remove starttls hack.
4531 (open-tls-stream): Ditto.
4532 (tls-find-starttls-argument): Ditto.
4534 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4536 * image.el (image-library-alist): Declare as obsolete alias.
4537 (image-type-available-p): Use `dynamic-library-alist'.
4539 * term/w32-win.el (dynamic-library-alist):
4540 Use instead of `image-library-alist'.
4542 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4544 * subr.el (last): Make it faster. (Bug#7174)
4546 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4548 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4550 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4552 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4553 (describe-theme-1): Extract doc from unloaded themes.
4555 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4557 * themes/tango-theme.el:
4558 * themes/tango-dark-theme.el:
4559 * themes/wheatgrass-theme.el: New files.
4561 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4563 * cus-theme.el (describe-theme, customize-themes)
4564 (custom-theme-save): New commands.
4565 (custom-new-theme-mode-map): Bind C-x C-s.
4566 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4567 (customize-create-theme): New optional arg THEME.
4568 (custom-theme-revert): Use it.
4569 (custom-theme-visit-theme): Remove dead code.
4570 (custom-theme-merge-theme): Use custom-available-themes.
4571 (custom-theme-write): Make interactive.
4572 (custom-theme-write): Use custom-theme-name-valid-p.
4573 (describe-theme-1, custom-theme-choose-revert)
4574 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4576 (custom-theme-allow-multiple-selections): New option.
4577 (custom-theme-choose-mode): New major mode.
4579 * custom.el (custom-theme-set-variables): Remove dead code.
4580 Obey custom--inhibit-theme-enable.
4581 (custom--inhibit-theme-enable): New var.
4582 (provide-theme): Obey it.
4583 (load-theme): Replace load with manual read/eval, in order to
4584 check for correctness. Use custom-theme-name-valid-p.
4585 (custom-theme-name-valid-p): New function.
4586 (custom-available-themes): Use it.
4588 * cus-edit.el (custom--initialize-widget-variables): New function.
4589 (Custom-mode): Use it.
4591 * cus-face.el (custom-theme-set-faces): Remove dead code.
4592 Obey custom--inhibit-theme-enable.
4594 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4596 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4598 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4600 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4602 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4603 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4604 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4606 * cus-start.el (all): ns-right-alternate-modifier is new.
4608 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4610 * emacs-lisp/lisp.el (lisp-completion-at-point):
4611 Use emacs-lisp-mode-syntax-table for the whole function.
4613 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4615 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4616 instead of font-lock-mode before adding keywords.
4617 Remove hi-lock-mode off code. Remove inhibit hack.
4618 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4619 non-nil; removed hook inhibit hack.
4621 2010-10-12 Glenn Morris <rgm@gnu.org>
4623 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4624 (load-path-shadows-find): ... to this.
4625 (list-load-path-shadows): Update for above change.
4627 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4629 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4631 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4632 Fix comment for declare-function.
4634 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4636 * custom.el (custom-fix-face-spec): New function; code moved from
4637 custom-face-edit-fix-value.
4638 (custom-push-theme): Use it when checking if a face has been
4639 changed outside customize.
4640 (custom-available-themes): New function.
4641 (load-theme): Use it.
4643 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4645 * custom.el (custom-push-theme): Cleanup (use cond).
4646 (disable-theme): Recompute the saved-face property.
4647 (custom-theme-recalc-face): Follow face alias before setting prop.
4649 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4650 New variables, containing checkbox images.
4652 * startup.el (fancy-startup-tail):
4653 * wid-edit.el (checkbox): Use them.
4655 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4657 * shell.el (shell-mode-map):
4658 * progmodes/modula2.el (m2-mode-map):
4659 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4660 * play/mpuz.el (mpuz-mode-map):
4661 * play/landmark.el (lm-mode-map):
4662 * play/decipher.el (decipher-mode-map):
4663 * play/5x5.el (5x5-mode-map):
4664 * net/telnet.el (telnet-mode-map):
4665 * net/quickurl.el (quickurl-list-mode-map):
4666 * net/mairix.el (mairix-searches-mode-map):
4667 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4668 * net/dig.el (dig-mode-map):
4669 * mail/mspools.el (mspools-mode-map):
4670 * hexl.el (hexl-mode-map):
4671 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4672 (wordstar-C-o-map, wordstar-C-q-map):
4673 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4674 * emacs-lisp/chart.el (chart-map):
4675 * edmacro.el (edmacro-mode-map):
4676 * erc/erc-list.el (erc-list-menu-mode-map):
4677 * array.el (array-mode-map): Declare and define in one step.
4679 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4681 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4683 * epa.el (epa-passphrase-callback-function): Display filename
4684 passed as the 3rd arg.
4685 * epa-file.el (epa-file-passphrase-callback-function):
4686 Pass filename to epa-passphrase-callback-function.
4688 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4690 * cus-edit.el (custom-face-widget-to-spec)
4691 (custom-face-get-current-spec, custom-face-state): New functions.
4692 (custom-face-set, custom-face-mark-to-save)
4693 (custom-face-value-create, custom-face-state-set): Use them.
4695 * cus-theme.el (custom-theme--listed-faces): New var.
4696 (customize-create-theme): Use *Custom Theme* as the buffer name.
4697 Set revert-buffer-function. Optional arg BUFFER. Insert all
4698 faces listed in custom-theme--listed-faces.
4699 (custom-theme-revert): New function.
4700 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4702 (custom-theme-write): Prompt for theme name if empty.
4703 (custom-theme-write-variables): Use dolist.
4704 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4706 2010-10-09 Alan Mackenzie <acm@muc.de>
4708 Enhance fontification of declarators to take account of the
4709 presence/absence of "typedef".
4711 * cc-engine.el (c-forward-type): New &optional param
4713 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4714 presence of either or both of a "struct"-like keyword and "typedef".
4716 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4717 fontification of declarators which follow a "}".
4718 (c-font-lock-declarations): Fontify declarators according to the
4719 presence/absence of "typedef".
4721 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4723 (c-typedef-decl-key): New lang variable built from
4724 c-typedef-decl-kwds.
4726 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4728 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4729 since that's too annoying. Move the filter groups commands to
4732 * epa.el (epa-passphrase-callback-function): Say what we're
4733 querying the password for.
4735 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4736 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4738 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4740 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4741 (custom-magic-value-create): Pad button tags with spaces.
4742 (custom-face-edit): New variable.
4743 (custom-face-value-create): Determine whether to use the usual
4744 face editor here, instead of using custom-face-selected.
4745 Pass face defaults to custom-face-edit widget.
4746 (custom-face-selected, custom-display-unselected): Delete widgets.
4747 (custom-display-unselected-match): Function removed.
4748 (custom-face-set, custom-face-mark-to-save):
4749 Accept custom-face-edit widgets as the direct widget child.
4751 * wid-edit.el (widget--completing-widget): New var.
4752 (widget-default-complete): Bind it when doing completion.
4753 (widget-string-complete, widget-file-complete): Use it.
4755 2010-10-09 Glenn Morris <rgm@gnu.org>
4757 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4758 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4759 (holiday-hebrew-misc): Small simplifications.
4761 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4763 * net/browse-url.el: Don't require thingatpt, term, dired,
4764 executable, or w3-auto when compiling.
4765 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4767 (browse-url-text-emacs): Require term.
4769 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4771 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4773 2010-10-08 Glenn Morris <rgm@gnu.org>
4775 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4777 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4778 (shadows-compare-text-p): Make it an obsolete alias for...
4779 (load-path-shadows-compare-text): ... new name.
4780 (find-emacs-lisp-shadows): Update for above name change.
4781 (load-path-shadows-same-file-or-nonexistent): New name for the old
4782 shadow-same-file-or-nonexistent.
4784 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4786 * minibuffer.el (completion--some, completion--do-completion)
4787 (minibuffer-complete-and-exit, minibuffer-completion-help)
4788 (completion-basic-try-completion)
4789 (completion-basic-all-completions)
4790 (completion-pcm--find-all-completions): Use lexical-let to
4791 avoid some false matches in variable completion (Bug#7056)
4793 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4795 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4797 2010-10-08 Leo <sdl.web@gmail.com>
4799 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4800 return non-nil if the file exists (Bug#7090).
4802 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4804 * minibuffer.el (completion--replace):
4805 Better preserve markers (bug#7138).
4807 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4809 * server.el (server-process-filter): Doc fix.
4811 2010-10-08 Drew Adams <drew.adams@oracle.com>
4813 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4815 2010-10-08 Glenn Morris <rgm@gnu.org>
4817 * vc/ediff-wind.el (ediff-setup-control-frame):
4818 * vc/ediff-ptch.el (ediff-default-backup-extension):
4819 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4820 (ediff-exec-process): Remove system-types emx, windows-95.
4822 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4824 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4826 * cus-edit.el (custom-variable, custom-face): Doc fix.
4827 (custom-face-edit): Add value-create attribute.
4828 (custom-face-edit-value-create)
4829 (custom-face-edit-value-visibility-action): New functions.
4830 Hide unused face attributes by default, and add a visibility toggle.
4831 (custom-face-edit-deactivate): Show empty values with shadow face.
4832 (custom-face-selected): Only use this for face specs with default
4834 (custom-face-value-create): Cleanup.
4836 * wid-edit.el (widget-checklist-value-create): Use dolist.
4837 (widget-checklist-match-find): Make second arg optional.
4839 2010-10-07 Glenn Morris <rgm@gnu.org>
4841 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4844 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4845 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4846 load-path-shadows-mode, update references.
4847 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4848 Rename variable and button.
4849 (list-load-path-shadows): Update button caller.
4851 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4853 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4854 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4855 (smie-merge-prec2s): Handle those new entries.
4856 (smie-prec2-levels): Only set precedence to nil for actual
4858 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4859 that is now unnecessary.
4861 2010-10-07 Miles Bader <miles@gnu.org>
4863 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4865 2010-10-07 Glenn Morris <rgm@gnu.org>
4867 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4868 (mail-position-on-field): Remove declarations.
4869 (mail-position-on-field): Autoload it.
4870 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4871 and mail-header-end. Don't require sendmail.
4873 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4874 (shadow-mode): New mode.
4875 (shadow-find-file): New button.
4876 (list-load-path-shadows): Use shadow-mode and buttons.
4878 * iimage.el (iimage-version): Remove.
4879 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4880 Turn into defcustoms.
4881 (iimage-mode-map): Give it a doc string.
4883 * calendar/appt.el (appt-activate): Give a warning rather than an error
4884 if there is no diary-file.
4886 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4888 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4889 Use `tramp-handle-find-backup-file-name'.
4891 2010-10-06 Glenn Morris <rgm@gnu.org>
4893 * font-core.el (font-lock-defaults-alist): Remove variable.
4894 (font-lock-mode): Doc fix.
4895 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4896 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4897 (font-lock-set-defaults): Doc fix.
4898 Do not consult font-lock-defaults-alist.
4900 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4902 * emacs-lisp/cl.el: No longer provide cl-19.
4904 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4906 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4907 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4908 New defuns, taken from tramp-smb.el.
4909 (tramp-coding-system-change-eol-conversion)
4910 (tramp-set-process-query-on-exit-flag): Remove.
4912 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4913 (tramp-compat-coding-system-change-eol-conversion)
4914 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4917 * net/tramp-gvfs.el:
4918 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4919 by `tramp-compat-set-process-query-on-exit-flag'.
4921 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4922 Use `tramp-handle-directory-files-and-attributes',
4923 `tramp-handle-file-exists-p' and
4924 `tramp-handle-file-newer-than-file-p'.
4925 (tramp-imap-handle-file-exists-p)
4926 (tramp-imap-handle-file-executable-p)
4927 (tramp-imap-handle-file-readable-p)
4928 (tramp-imap-handle-directory-files-and-attributes)
4929 (tramp-imap-handle-file-newer-than-file-p): Remove.
4931 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4932 by `tramp-compat-set-process-query-on-exit-flag' and
4933 `tramp-coding-system-change-eol-conversion' by
4934 `tramp-compat-coding-system-change-eol-conversion'.
4936 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4937 Use `tramp-handle-directory-files-and-attributes',
4938 `tramp-handle-file-exists-p' and
4939 `tramp-handle-file-newer-than-file-p'.
4940 (tramp-smb-handle-directory-files-and-attributes)
4941 (tramp-smb-handle-file-exists-p)
4942 (tramp-smb-handle-file-newer-than-file-p): Remove.
4943 (tramp-smb-maybe-open-connection):
4944 Replace `tramp-set-process-query-on-exit-flag' by
4945 `tramp-compat-set-process-query-on-exit-flag'.
4947 2010-10-05 Glenn Morris <rgm@gnu.org>
4949 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4951 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4953 Continue reorganization of load dependencies. (Bug#7156)
4955 * net/tramp.el (tramp-handle-file-local-copy-hook)
4956 (tramp-delete-temp-file-function): Move down.
4957 (tramp-exists-file-name-handler): Move up.
4958 (tramp-register-file-name-handlers): Simplify autoload.
4959 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4960 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4961 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4962 (tramp-handle-file-name-completion)
4963 (tramp-handle-file-name-directory)
4964 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4965 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4966 (tramp-handle-find-backup-file-name)
4967 (tramp-handle-insert-file-contents, tramp-handle-load)
4968 (tramp-handle-substitute-in-file-name)
4969 (tramp-handle-unhandled-file-name-directory)
4970 (tramp-mode-string-to-int, tramp-local-host-p)
4971 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4973 * net/tramp-gvfs.el (top):
4974 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4976 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4977 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4979 2010-10-04 Glenn Morris <rgm@gnu.org>
4981 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4982 (appt-activate): Give status messages.
4984 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4986 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4987 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4988 `gnutls-negotiate' (formerly `starttls-negotiate').
4989 Remove trivial wrapper `starttls-open-stream'.
4991 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4993 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4994 log-outgoing commands.
4995 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4996 to create a buffer local revert-buffer-function variable.
4997 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4998 revert-buffer-function lambda.
5000 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
5002 * net/gnutls.el (starttls-negotiate): Use the plist interface to
5003 `gnutls-boot'. Make TYPE the only required parameter.
5004 Allow TRUSTFILES and KEYFILES to be lists.
5005 (open-ssl-stream): Use it.
5007 2010-10-03 Glenn Morris <rgm@gnu.org>
5009 * subr.el (directory-sep-char): Remove obsolete variable.
5010 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5013 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5014 * vc/vc.el (vc-static-header-alist): Doc fix.
5015 * vc/vc-cvs.el (vc-cvs-header):
5016 * vc/vc-rcs.el (vc-rcs-header):
5017 * vc/vc-sccs.el (vc-sccs-header):
5018 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5019 * obsolete/vc-mcvs.el (vc-mcvs-header):
5020 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5023 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5025 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5026 Remove obsolete use of binary-overwrite-mode (Bug#7001).
5028 2010-10-03 Glenn Morris <rgm@gnu.org>
5030 * obsolete/x-menu.el: Remove file, obsolete since 21.1
5032 * textmodes/rst.el (rst-font-lock-keywords-function):
5035 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5037 * printing.el: Drop Emacs 20 code.
5039 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5040 without having used appt.el already).
5042 * subr.el (make-local-hook): Remove function obsolete since 21.1.
5043 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5044 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5046 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5047 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5049 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5050 (charset-width, find-charset-region, chars-in-region, forward-point)
5051 (encode-coding-string, coding-system-p, ccl-execute-on-string)
5052 (define-ccl-program, multibyte-string-p, string-make-multibyte):
5053 Remove compatibility cruft (none of these are used by ps*.el).
5055 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5057 * subr.el (booleanp): Return t instead of a list (Bug#7086).
5059 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
5061 * server.el (server-process-filter, server-return-error):
5062 Give emacsclient time to shut down after receiving an error string.
5064 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
5066 * files.el (remote-file-name-inhibit-cache): New defcustom.
5068 * time.el (display-time-file-nonempty-p):
5069 Use `remote-file-name-inhibit-cache'.
5071 * net/tramp.el (tramp-completion-reread-directory-timeout):
5074 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5075 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5076 `remote-file-name-inhibit-cache'. Check also for an integer
5077 value. Add/increase counter when `tramp-verbose' >= 10.
5078 (tramp-set-file-property): Add/increase counter when
5079 `tramp-verbose' >= 10.
5081 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5082 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5083 (tramp-bug): Set tramp-autoload cookie. Report all interned
5084 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5085 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5086 characters only in strings.
5088 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5089 to backward compatibility.
5091 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5092 (tramp-handle-file-name-all-completions)
5093 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5094 (tramp-open-connection-setup-interactive-shell):
5095 Call `tramp-cleanup-connection' directly.
5097 2010-10-02 Glenn Morris <rgm@gnu.org>
5099 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5101 * subr.el (char-bytes): Remove obsolete function.
5103 * isearch.el (isearch-return-char): Remove obsolete function.
5105 * mouse.el: No longer provide mldrag.
5106 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5107 Remove obsolete aliases.
5109 * comint.el (comint-kill-output): Remove obsolete alias.
5111 * composite.el (decompose-composite-char): Remove obsolete function.
5112 * ps-def.el (decompose-composite-char): Remove unused function.
5114 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5116 * outline.el (outline-visible): Remove obsolete function.
5118 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5119 * faces.el (internal-find-face, internal-get-face)
5120 (frame-update-faces, frame-update-face-colors)
5121 (x-frob-font-weight, x-frob-font-slant)
5122 (internal-frob-font-weight, internal-frob-font-slant)
5123 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5124 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5125 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5127 * emulation/viper-util.el (viper-get-face):
5128 * obsolete/lucid.el (find-face, get-face): Use facep.
5129 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5130 Remove unused functions.
5131 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5133 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5134 delete tempfile if interrupted during compilation.
5136 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5138 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5140 (tls-program): Add --insecure to be consistent with the defaults from
5141 openssl s_client. Now all three commands are insecure.
5143 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5145 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5146 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5147 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5149 2010-10-01 Glenn Morris <rgm@gnu.org>
5151 * obsolete/sc.el: Remove file.
5153 * files.el (temporary-file-directory): On darwin, also try
5154 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5156 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5158 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5159 Let's not break compatibility gratuitously, shall we?
5161 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5163 * net/tls.el (tls-starttls-switches): New variable.
5164 (tls-find-starttls-argument): Use it.
5165 (open-tls-stream): Ditto.
5167 * net/netrc.el (netrc-credentials): Return the value of the "default"
5169 (netrc-machine): Ditto.
5171 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5173 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5175 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5177 * server.el (server-start): Don't write pid to the authentication file.
5178 (server-create-tty-frame): Don't send pid.
5179 (server-process-filter): Send pid at the start of every connection.
5181 2010-09-30 Glenn Morris <rgm@gnu.org>
5183 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5184 (show-all-diary-entries): Remove obsolete function aliases.
5186 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5187 Remove options, obsolete since 22.1.
5188 (appt-display-format, appt-display-message):
5189 Remove backwards-compatibility code.
5190 (appt-check): No longer check appt-issue-message.
5191 (appt-make-list): No longer autoload it. Doc fix. No longer
5192 activate the package.
5194 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5196 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5197 (starttls-negotiate): Just call boot, and let the handshake be
5198 triggered from the read loop.
5200 2010-09-29 Glenn Morris <rgm@gnu.org>
5202 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5203 not displaying the diary.
5204 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5205 * calendar/appt.el (appt-check): No longer need to kill diary.
5207 * calendar/diary-lib.el (diary-list-entries): Move the
5208 "Preparing..." message entirely here.
5209 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5210 messages to diary-list-entries.
5211 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5212 diary-display-function.
5214 * calendar/diary-lib.el (diary-include-other-diary-files):
5215 Trap some recursive includes.
5217 * calendar/appt.el (appt-activate): Check diary file.
5219 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5221 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5224 * calendar/time-date.el: No need to require cl for Emacs 21.
5226 2010-09-28 Glenn Morris <rgm@gnu.org>
5228 * calendar/appt.el (appt-check): Minor simplification.
5230 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5232 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5235 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5237 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5238 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5240 2010-09-27 Kenichi Handa <handa@m17n.org>
5242 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5245 2010-09-27 Kenichi Handa <handa@m17n.org>
5247 * international/mule.el (define-coding-system): Docstring fixed.
5249 * international/mule-diag.el (describe-character-set): Use princ
5250 with proper print-length and print-level instead of insert.
5252 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5254 * window.el (walk-windows): Doc fix (bug#7105).
5256 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5258 * emacs-lisp/float-sup.el (e): Remove.
5260 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5262 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5264 (starttls-negotiate): Use it.
5266 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5268 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5271 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5273 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5275 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5277 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5279 * net/netrc.el (netrc-store-data): New function.
5281 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5283 * net/gnutls.el: GnuTLS glue code to set up a connection.
5285 2010-09-25 Julien Danjou <julien@danjou.info>
5287 * notifications.el: Call dbus-register-signal only if it is bound.
5289 2010-09-25 Glenn Morris <rgm@gnu.org>
5291 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5292 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5293 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5294 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5295 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5296 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5297 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5298 * eshell/esh-util.el, eshell/esh-var.el:
5299 Remove leading `*' from docs of faces and defcustoms.
5301 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5303 * eshell/em-ls.el (eshell-ls-archive-regexp):
5304 * eshell/esh-util.el (eshell-tar-regexp):
5305 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5306 * info.el (Info-suffix-list):
5307 * international/mule.el (auto-coding-alist):
5308 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5309 * progmodes/etags.el (tags-compression-info-list):
5310 Support xz compression.
5312 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5314 * files.el (get-free-disk-space): Don't assume the "df" output
5315 columns line up (Bug#6995).
5317 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5319 * finder.el (finder-unknown-keywords):
5320 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5321 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5323 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5325 * server.el (server-start): Revert part of 2010-08-08 change. Using
5326 address 127.0.0.1 for local host is now done in Fmake_network_process.
5328 2010-09-24 Glenn Morris <rgm@gnu.org>
5330 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5331 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5332 * textmodes/css-mode.el, textmodes/dns-mode.el:
5333 Move autoloaded auto-mode-alist entries to files.el.
5334 * files.el (auto-mode-alist): Move entries here.
5336 2010-09-23 Glenn Morris <rgm@gnu.org>
5338 * isearch.el (isearch-lazy-highlight-cleanup)
5339 (isearch-lazy-highlight-initial-delay)
5340 (isearch-lazy-highlight-interval)
5341 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5342 * net/net-utils.el (ipconfig-program-options):
5343 Move aliases to options before the associated definitions.
5345 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5347 * newcomment.el (comment-normalize-vars): Better test validity of
5350 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5352 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5353 (float-e): New name for `e'.
5354 (degrees-to-radians, radians-to-degrees):
5355 * calendar/solar.el (solar-longitude):
5356 * calculator.el (calculator-registers, calculator-funcall):
5357 * textmodes/artist.el (artist-spray-random-points):
5358 * play/bubbles.el (bubbles--initialize-images): Use new names.
5360 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5362 Update to CEDET 1.0's version of EIEIO.
5364 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5366 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5367 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5368 (class-precedence-list): If class is nil, return nil.
5369 (eieio-generic-call): If class of first input arg is nil, don't
5370 look up static methods, and do check for primary methods.
5371 (initialize-instance): See if the default needs to be evaluated
5372 during the constructor.
5373 (eieio-perform-slot-validation-for-default): Don't do the check
5374 for values that will eventually be evaluated.
5375 (eieio-eval-default-p): New function.
5376 (eieio-default-eval-maybe): Use it.
5378 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5380 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5381 method-invocation-order.
5382 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5383 (eieio-class-precedence-dfs): Compute class precedence list using
5385 (eieio-class-precedence-bfs): Compute class precedence list using
5387 (eieio-class-precedence-c3): Compute class precedence list using
5389 (class-precedence-list): New function.
5390 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5391 (inconsistent-class-hierarchy): New error symbol.
5392 (call-next-method): Stow the replacement argument list for future
5393 call-next-method invocations.
5395 2010-09-23 Glenn Morris <rgm@gnu.org>
5397 * calendar/appt.el (appt-check): If not displaying the diary,
5398 use (diary 1) to only get the entries we need.
5399 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5400 that it is in day order. (Bug#7019)
5402 * calendar/appt.el (appt-check): Rather than showing the diary,
5403 just turn off invisible display, and only if needed.
5405 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5407 2010-09-23 Glenn Morris <rgm@gnu.org>
5409 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5410 (byte-compile-defvar, byte-compile-cl-warn):
5411 Start warnings with lower-case, like the majority.
5413 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5415 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5417 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5418 * files.el (auto-mode-alist): Move ld-script entries here, further down
5421 * vc/add-log.el: Don't require timezone when compiling.
5422 (timezone-make-date-sortable): Autoload it.
5423 (change-log-sortable-date-at): Don't require timezone.
5424 Use `ignore-errors'.
5426 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5427 Move alias before definition, so it does not need autoloading.
5429 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5430 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5431 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5432 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5433 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5434 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5435 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5436 * textmodes/tex-mode.el, textmodes/two-column.el:
5437 Remove leading `*' from docs of defcustoms etc.
5439 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5441 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5443 2010-09-22 Dan Christensen <jdc@uwo.ca>
5445 * calendar/time-date.el (date-to-time): Try using parse-time-string
5446 first before using the slower timezone-make-date-arpa-standard.
5448 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5450 * calendar/time-date.el (format-seconds): Comment fix.
5452 2010-09-22 Glenn Morris <rgm@gnu.org>
5454 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5455 is not automatically buffer-local.
5457 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5459 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5460 (smie-indent-comment): Be more careful with comment-start-skip.
5461 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5462 (smie-indent-functions): Use them.
5464 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5466 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5468 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5470 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5471 tool-bar-position. Don't modify frame parameters here.
5472 (menu-bar-options-save): Add tool-bar-position.
5474 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5476 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5478 * textmodes/reftex-parse.el (reftex-what-macro)
5479 (reftex-context-substring): Let-bind forward-sexp-function to nil
5480 since we don't need/want to treat \begin...\end as a block (bug#7053).
5482 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5484 * simple.el (blink-matching-open): Use syntax-class.
5486 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5487 Set invisibility spec for pascal's outline mode.
5488 (pascal-outline-change): Clean up calling convention.
5489 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5491 * progmodes/prolog.el (prolog-smie-forward-token)
5492 (prolog-smie-backward-token): New functions.
5493 (prolog-mode-variables): Use them to parse "!," correctly.
5494 Set up smie-blink-matching for ".".
5496 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5498 (ispell-region, ispell-process-line): Update users.
5500 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5503 * textmodes/ispell.el: Fix commenting convention.
5504 (ispell-parse-output): Simplify, use push.
5505 (ispell-region): Use match-string-no-properties.
5506 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5507 (ispell-minor-mode): Use define-minor-mode.
5508 (ispell-message): Remove unused var `skip-regexp'.
5509 (ispell-add-per-file-word-list): Use dynamic let-binding.
5510 Try and use the proper comment marker.
5512 * mail/sendmail.el: Fix commenting convention.
5513 (sendmail-send-it): Use line-beginning-position.
5515 * help-fns.el (describe-variable): Add original value, if applicable.
5517 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5519 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5521 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5523 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5525 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5526 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5527 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5528 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5529 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5530 something like "." can also be a closer.
5531 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5532 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5533 Rename internal functions to use "--". Update callers.
5535 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5537 * fringe.el (fringe-styles): New var.
5538 (fringe-mode, fringe-query-style): Use it.
5540 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5542 * progmodes/sql.el: Version 2.8
5543 (sql-login-params): Update widget structure; changes still needed.
5544 (sql-product-alist): Add :list-all and :list-table features for
5545 SQLite, Postgres and MySQL products.
5546 (sql-redirect): Handle default value.
5547 (sql-execute, sql-execute-feature): New functions.
5548 (sql-read-table-name): New function.
5549 (sql-list-all, sql-list-table): New functions. User API.
5550 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5551 for above functions.
5552 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5553 for above functions.
5554 (sql-postgres-login-params): Add user and database defaults.
5555 (sql-buffer-live-p): Bug fix.
5556 (sql-product-history): New variable.
5557 (sql-read-product): New function. Use it.
5558 (sql-set-product, sql-product-interactive): Use it.
5559 (sql-connection-history): New variable.
5560 (sql-read-connection): New function. Use it.
5561 (sql-connect): New function.
5562 (sql-for-each-login): Redesign function interface.
5563 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5564 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5565 (sql-comint): Check for program. Existing live buffer.
5566 (sql-comint-postgres): Add port parameter.
5568 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5570 * emacs-lisp/warnings.el: Fix commenting convention.
5571 (display-warning): Use special mode and make the buffer read-only.
5573 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5575 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5576 empty string when it follows a repeated or optional pattern.
5578 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5580 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5581 (indent-region): Use indent-according-to-mode.
5583 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5585 * fringe.el (fringe-mode): Doc fix.
5587 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5589 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5590 refreshing the preview buffer.
5592 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5594 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5595 (latex-syntax-propertize-rules): New consts; replace
5596 tex-font-lock-syntactic-keywords.
5597 (tex-env-mark, latex-env-before-change): New functions.
5598 (latex-electric-env-pair-mode): New minor mode.
5599 (tex-font-lock-verb): Change arguments; do move point.
5600 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5601 representation as a form of comment.
5602 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5603 (doctex-syntax-propertize-rules): New const; replaces
5604 doctex-font-lock-syntactic-keywords.
5605 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5607 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5608 (fortran-make-syntax-propertize-function): New function; replaces
5609 fortran-font-lock-syntactic-keywords.
5610 (fortran-mode): Use it.
5611 (fortran-line-length): Use it. Improve interactive spec.
5613 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5614 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5615 when adding surrounding \(..\).
5617 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5619 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5621 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5622 Use with-current-buffer.
5624 * isearch.el (isearch-face): Rename from `isearch'.
5625 (isearch-highlight): Use new name.
5627 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5629 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5630 5, for `half' width fringes. (Bug#6933)
5632 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5634 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5635 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5637 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5639 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5641 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5642 in calculating new frame position. Add more space between new and
5643 parent on the left (Bug#7048).
5645 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5647 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5650 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5652 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5654 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5655 obsolete alias for x-selection-value.
5657 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5659 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5661 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5664 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5666 * net/tramp-compat.el (tramp-compat-with-temp-message)
5667 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5668 (tramp-compat-process-put): New defuns.
5670 * net/tramp.el (top):
5671 * net/tramp-gvfs.el (top):
5672 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5674 * net/tramp.el (tramp-progress-reporter-update):
5675 Use `tramp-compat-funcall'.
5677 * net/tramp.el (tramp-process-actions):
5678 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5679 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5680 (tramp-get-remote-stat, tramp-get-remote-readlink):
5681 Use `tramp-compat-with-temp-message'.
5683 * net/tramp-sh.el (top): Require 'cl.
5684 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5685 (tramp-open-connection-setup-interactive-shell):
5686 Use `tramp-compat-process-put'.
5688 2010-09-15 Alan Mackenzie <acm@muc.de>
5690 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5692 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5694 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5696 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5697 `lexical' for warnings related to lexical scoping.
5698 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5699 global vars which don't have a prefix and could hence affect lexical
5700 scoping in unrelated files.
5702 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5704 * net/imap.el: Revert back to version
5705 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5708 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5710 * obsolete/old-whitespace.el (whitespace-unload-function):
5711 Explicitly pass `obarray' to `unintern' to avoid a warning.
5713 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5715 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5716 Add `when' argument. Update callers.
5718 * subr.el (unintern): Declare the obarray arg mandatory.
5720 2010-09-14 Glenn Morris <rgm@gnu.org>
5722 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5725 * calendar/diary-lib.el (diary-included-files): New variable.
5726 (diary-list-entries): Maybe initialize diary-included-files.
5727 (diary-include-other-diary-files): Append to diary-included-files.
5728 * calendar/appt.el (appt-update-list): Also check the members of
5729 diary-included-files. (Bug#6999)
5730 (appt-check): Doc fix.
5732 2010-09-14 David Reitter <david.reitter@gmail.com>
5734 * simple.el (line-move-visual): Do not truncate goal column to
5735 integer size. (Bug#7020)
5737 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5739 * repeat.el (repeat): Allow repeating when the last event is a click.
5740 Suggested by Drew Adams (bug#6256).
5742 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5744 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5745 Replace setting HGRCPATH to "" by some less invasive --config options.
5747 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5749 * font-lock.el (font-lock-beginning-of-syntax-function):
5752 2010-09-14 Glenn Morris <rgm@gnu.org>
5754 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5755 and tool-bar modes. (Bug#6211)
5756 (menu-bar-mode): Move setting of standard-value after the
5757 minor-mode definition, otherwise it seems to have no effect.
5759 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5761 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5762 Fix typo. (Bug#6976)
5764 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5766 * whitespace.el: Allow cleaning up blanks without blank
5767 visualization (Bug#6651). Adjust help window for
5768 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5769 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5770 (whitespace-style): Add new value 'face. Adjust docstring.
5771 (whitespace-space, whitespace-hspace, whitespace-tab):
5772 Adjust foreground property face.
5773 (whitespace-line-column): Adjust docstring and type declaration.
5774 (whitespace-style-value-list, whitespace-toggle-option-alist)
5775 (whitespace-help-text): Adjust const initialization.
5776 (whitespace-toggle-options, global-whitespace-toggle-options):
5778 (whitespace-display-window, whitespace-interactive-char)
5779 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5780 (whitespace-help-scroll): New fun.
5782 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5784 * calendar/time-date.el (format-seconds): Comment fix.
5786 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5788 * progmodes/sql.el: Version 2.7.
5789 (sql-buffer-live-p): Improve detection.
5790 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5791 (sql-set-sqli-buffer): Use it.
5792 (sql-product-interactive): Run `sql-set-sqli-hook'.
5793 (sql-rename-buffer): Code cleanup.
5794 (sql-redirect, sql-redirect-value): New functions. More to come.
5796 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5798 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.
5799 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5800 (TRAMP_SRC): New macro.
5801 ($(lisp)/net/tramp-loaddefs.el): New target.
5803 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5805 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5807 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5809 * net/tramp.el (top): Don't show loading message. Require just
5810 'tramp-compat, everything else is required there.
5811 Use `ignore-errors' where appropriate.
5812 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5813 (tramp-terminal-type, tramp-end-of-output)
5814 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5815 (tramp-completion-function-alist-ssh)
5816 (tramp-completion-function-alist-telnet)
5817 (tramp-completion-function-alist-su)
5818 (tramp-completion-function-alist-putty, tramp-remote-path)
5819 (tramp-remote-process-environment, tramp-sh-extra-args)
5820 (tramp-actions-before-shell, tramp-uudecode)
5821 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5822 (tramp-perl-file-attributes)
5823 (tramp-perl-directory-files-and-attributes)
5824 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5825 (tramp-perl-encode, tramp-perl-decode)
5826 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5827 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5828 (tramp-handle-make-symbolic-link, tramp-handle-load)
5829 (tramp-handle-file-name-as-directory)
5830 (tramp-handle-file-name-directory)
5831 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5832 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5833 (tramp-do-file-attributes-with-ls)
5834 (tramp-do-file-attributes-with-perl)
5835 (tramp-do-file-attributes-with-stat)
5836 (tramp-handle-set-visited-file-modtime)
5837 (tramp-handle-verify-visited-file-modtime)
5838 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5839 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5840 (tramp-handle-file-selinux-context)
5841 (tramp-handle-set-file-selinux-context)
5842 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5843 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5844 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5845 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5846 (tramp-handle-file-ownership-preserved-p)
5847 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5848 (tramp-handle-directory-files-and-attributes)
5849 (tramp-do-directory-files-and-attributes-with-perl)
5850 (tramp-do-directory-files-and-attributes-with-stat)
5851 (tramp-handle-file-name-all-completions)
5852 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5853 (tramp-handle-copy-file, tramp-handle-copy-directory)
5854 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5855 (tramp-do-copy-or-rename-file-via-buffer)
5856 (tramp-do-copy-or-rename-file-directly)
5857 (tramp-do-copy-or-rename-file-out-of-band)
5858 (tramp-handle-make-directory, tramp-handle-delete-directory)
5859 (tramp-handle-delete-file)
5860 (tramp-handle-dired-recursive-delete-directory)
5861 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5862 (tramp-handle-insert-directory)
5863 (tramp-handle-unhandled-file-name-directory)
5864 (tramp-handle-expand-file-name)
5865 (tramp-handle-substitute-in-file-name)
5866 (tramp-handle-executable-find, tramp-process-sentinel)
5867 (tramp-handle-start-file-process, tramp-handle-process-file)
5868 (tramp-handle-call-process-region, tramp-handle-shell-command)
5869 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5870 (tramp-handle-insert-file-contents)
5871 (tramp-handle-insert-file-contents-literally)
5872 (tramp-handle-find-backup-file-name)
5873 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5874 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5875 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5876 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5877 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5878 (tramp-find-file-exists-command, tramp-open-shell)
5879 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5880 (tramp-open-connection-setup-interactive-shell)
5881 (tramp-local-coding-commands, tramp-remote-coding-commands)
5882 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5883 (tramp-inline-compress-commands, tramp-find-inline-compress)
5884 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5885 (tramp-send-command, tramp-wait-for-output)
5886 (tramp-send-command-and-check, tramp-barf-unless-okay)
5887 (tramp-send-command-and-read, tramp-mode-string-to-int)
5888 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5889 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5890 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5891 (tramp-method-out-of-band-p, tramp-local-host-p)
5892 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5893 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5894 (tramp-get-test-command, tramp-get-test-nt-command)
5895 (tramp-get-file-exists-command, tramp-get-remote-ln)
5896 (tramp-get-remote-perl, tramp-get-remote-stat)
5897 (tramp-get-remote-readlink, tramp-get-remote-trash)
5898 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5899 (tramp-get-local-uid, tramp-get-local-gid)
5900 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5902 (tramp-methods, tramp-default-method-alist)
5903 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5904 Move initialization to tramp-sh.el.
5905 (tramp-temp-name-prefix): Make it a defconst.
5906 (tramp-dissect-file-name): Don't check anymore for multi-hop
5908 (tramp-debug-outline-regexp): Add a docstring.
5909 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5910 (tramp-get-debug-buffer): Use it.
5912 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5913 initialization forms.
5914 (tramp-set-connection-property): Don't protect `tramp-message'
5915 call, it isn't necessary any longer.
5916 (tramp-dump-connection-properties): Use `ignore-errors'.
5918 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5919 'password-cache and 'auth-source.
5921 * net/tramp-gvfs.el (top):
5922 * net/tramp-smb.el (top): Require 'tramp-sh.
5924 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5926 * net/tramp-sh.el: New file, derived from tramp.el.
5927 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5928 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5929 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5930 Use `ignore-errors' where appropriate.
5931 (tramp-sh-file-name-handler-alist): Rename from
5932 `tramp-file-name-handler-alist'.
5933 (tramp-send-command-and-check): Return t or nil. Remove all
5934 `zerop' checks, where called.
5935 (tramp-handle-set-file-modes)
5936 (tramp-do-copy-or-rename-file-directly)
5937 (tramp-handle-delete-directory, tramp-handle-delete-file)
5938 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5939 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5940 (tramp-get-remote-ln): Set tramp-autoload cookie.
5942 * net/tramp-fish.el: Remove file.
5944 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5946 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5947 buffer-file-name to avoid file-locking. (Bug#7026)
5949 2010-09-13 Julien Danjou <julien@danjou.info>
5951 * notifications.el (notifications-notify): Add support for
5952 image-path and sound-name.
5953 (notifications-specification-version): Add this variable.
5955 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5957 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5959 2010-09-12 Leo <sdl.web@gmail.com>
5961 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5962 (rcirc-completion-start): New variables.
5963 (rcirc-nick-completions): Rename to rcirc-completions.
5964 (rcirc-nick-completion-start-offset): Delete.
5965 (rcirc-completion-at-point): New function for constructing
5966 completion data for both nicks and irc commands. Add to
5967 completion-at-point-functions in rcirc mode.
5968 (rcirc-complete): Rename from rcirc-nick-complete; use
5969 rcirc-completion-at-point.
5970 (defun-rcirc-command): Update rcirc-client-commands.
5972 2010-09-11 Glenn Morris <rgm@gnu.org>
5974 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5975 atomically, to avoid parallel build errors. (Bug#4196)
5977 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5979 * progmodes/sql.el: Version 2.6
5980 (sql-dialect): Synonym for "sql-product".
5981 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5982 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5983 Set "sql-buffer" to buffer name not buffer object so multiple sql
5984 interactive buffers work properly. Reverts misguided changes in
5986 (sql-comint): Make sure different buffer name is used if "*SQL*"
5987 buffer is for a different product.
5988 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5990 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5991 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5992 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5993 Accept new buffer name or prompt for one.
5994 (sql-port): Default to zero.
5995 (sql-comint-mysql): Handle "sql-port" as a numeric.
5996 (sql-port-history): Delete unused variable.
5997 (sql-get-login): Default "sql-port" to a number.
5998 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5999 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6000 "sqlite3" executables.
6001 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6002 (sql-buffer-live-p): New function.
6003 (sql-mode-menu, sql-send-string): Use it.
6004 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6006 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6007 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6009 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6011 * net/netrc.el (netrc-credentials): New convenience function.
6013 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6015 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6016 to replace texinfo-font-lock-syntactic-keywords.
6017 (texinfo-mode): Use it.
6019 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6020 Use syntax-propertize-function.
6022 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6023 replace sgml-font-lock-syntactic-keywords.
6024 (sgml-mode): Use it.
6026 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6027 since we don't use it.
6029 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6031 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6033 (vhdl-fontify-buffer): Adjust.
6035 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6036 replace tcl-font-lock-syntactic-keywords.
6039 * progmodes/simula.el (simula-syntax-propertize-function): New var to
6040 replace simula-font-lock-syntactic-keywords.
6041 (simula-mode): Use it.
6043 * progmodes/sh-script.el (sh-st-symbol): Remove.
6044 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6045 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6046 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6047 (sh-font-lock-paren): Set syntax-multiline.
6048 (sh-font-lock-syntactic-keywords): Remove.
6049 (sh-syntax-propertize-function): New function to replace it.
6052 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6053 Define while compiling.
6054 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6055 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6056 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6057 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6058 (ruby-here-doc-end-syntax): Only define when
6059 syntax-propertize is not available.
6060 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6062 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6063 (electric-indent-chars): Silence bytecompiler.
6064 (ruby-mode): Use prog-mode, syntax-propertize-function, and
6065 electric-indent-chars.
6067 * progmodes/python.el (python-syntax-propertize-function): New var to
6068 replace python-font-lock-syntactic-keywords.
6069 (python-mode): Use it.
6070 (python-quote-syntax): Simplify and adjust to new use.
6072 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6073 replace perl-font-lock-syntactic-keywords.
6074 (perl-syntax-propertize-special-constructs): New fun to replace
6075 perl-font-lock-special-syntactic-constructs.
6076 (perl-font-lock-syntactic-face-function): New fun.
6077 (perl-mode): Use it.
6079 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6080 to replace octave-font-lock-close-quotes.
6081 (octave-syntax-propertize-function): New function to replace
6082 octave-font-lock-syntactic-keywords.
6083 (octave-mode): Use it.
6085 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6086 replaces mixal-font-lock-syntactic-keywords.
6087 (mixal-mode): Use it.
6089 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6090 New var; replaces makefile-font-lock-syntactic-keywords.
6091 (makefile-mode): Use it.
6092 (makefile-imake-mode): Adjust.
6094 * progmodes/js.el (js--regexp-literal): Define while compiling.
6095 (js-syntax-propertize-function): New var; replaces
6096 js-font-lock-syntactic-keywords.
6099 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6100 replaces gdb-script-font-lock-syntactic-keywords.
6101 (gdb-script-mode): Use it.
6103 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6104 (fortran--font-lock-syntactic-keywords): New var.
6105 (fortran-line-length): Update syntax-propertize-function and
6106 fortran--font-lock-syntactic-keywords.
6108 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6110 * progmodes/cfengine.el (cfengine-mode):
6111 Use syntax-propertize-function.
6112 (cfengine-font-lock-syntactic-keywords): Remove.
6114 * progmodes/autoconf.el (autoconf-mode):
6115 Use syntax-propertize-function.
6116 (autoconf-font-lock-syntactic-keywords): Remove.
6118 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6119 (ada-after-change-function, ada-initialize-syntax-table-properties)
6120 (ada-handle-syntax-table-properties): Only define when
6121 syntax-propertize is not available.
6122 (ada-mode): Use syntax-propertize-function.
6124 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6125 (font-lock-fontify-syntactic-keywords-region): Move handling of
6126 font-lock-syntactically-fontified to...
6127 (font-lock-default-fontify-region): ...here.
6128 Let syntax-propertize-function take precedence.
6129 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6131 * emacs-lisp/syntax.el (syntax-propertize-function)
6132 (syntax-propertize-chunk-size, syntax-propertize--done)
6133 (syntax-propertize-extend-region-functions): New vars.
6134 (syntax-propertize-wholelines, syntax-propertize-multiline)
6135 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6136 (syntax-propertize): New functions.
6137 (syntax-propertize-rules): New macro.
6138 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6139 (syntax-ppss): Call syntax-propertize.
6141 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6143 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6145 * textmodes/ispell.el (ispell-init-process): Improve comments.
6146 XEmacs compatibility changes regarding (add-hook) 'local option
6147 and (set-process-query-on-exit-flag).
6149 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6151 * net/tramp-cache.el (tramp-parse-connection-properties):
6152 Set tramp-autoload cookie.
6154 2010-09-09 Glenn Morris <rgm@gnu.org>
6156 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6157 (imagemagick-register-types): Doc fix.
6159 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6161 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6163 * progmodes/js.el (require): Require is already "eval-and-compile".
6164 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6165 (js--re-search-backward): Use js--re-search-forward.
6167 * progmodes/fortran.el (fortran-line-length): Don't recompute
6168 syntactic keywords redundantly a second time.
6170 * progmodes/ada-mode.el: Replace "(set '" with setq.
6171 (ada-mode): Simplify.
6172 (ada-create-case-exception, ada-adjust-case-interactive)
6173 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6174 (ada-search-ignore-string-comment, ada-move-to-start)
6175 (ada-move-to-end): Use with-syntax-table.
6177 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6178 (font-lock-unfontify-region, font-lock-default-fontify-region):
6179 Update usage correspondingly.
6180 (font-lock-fontify-syntactic-keywords-region):
6181 Set parse-sexp-lookup-properties buffer-locally here.
6182 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6184 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6186 2010-09-08 Glenn Morris <rgm@gnu.org>
6188 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6189 Error if not compiled with -DBYTE_CODE_METER.
6191 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6192 Ignore dir-locals-file.
6194 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6196 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6198 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6199 for the `gnu' messages.
6200 (compilation-set-skip-threshold): New command.
6201 (compilation-start): Use \' rather than $.
6202 (compilation-forget-errors): Use clrhash.
6204 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6206 * textmodes/ispell.el (ispell-valid-dictionary-list):
6209 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6211 Migrate to Tramp 2.2. Rearrange load dependencies.
6212 (Bug#1529, Bug#5448, Bug#5705)
6214 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6215 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6216 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6218 * net/tramp.el (top): Remove all other tramp-* loads except
6219 tramp-compat.el. Remove all changes to tramp-unload-hook for
6220 other tramp-* packages. Rearrange defun order. Change calls of
6221 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6222 `tramp-compat-octal-to-decimal' to new function names.
6223 (tramp-terminal-type, tramp-initial-end-of-output)
6224 (tramp-methods, tramp-foreign-file-name-handler-alist)
6225 (tramp-tramp-file-p, tramp-completion-mode-p)
6226 (tramp-send-command-and-check, tramp-get-remote-path)
6227 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6228 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6229 (with-file-property, with-connection-property): Move to
6231 (tramp-local-call-process, tramp-decimal-to-octal)
6232 (tramp-octal-to-decimal): Move to tramp-compat.el.
6233 (tramp-handle-shell-command): Do not require 'shell.
6234 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6236 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6238 * net/tramp-cache.el (top): Require 'tramp. Add to
6239 `tramp-unload-hook'.
6240 (tramp-cache-data, tramp-get-file-property)
6241 (tramp-set-file-property, tramp-flush-file-property)
6242 (tramp-flush-directory-property, tramp-get-connection-property)
6243 (tramp-set-connection-property, tramp-flush-connection-property)
6244 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6246 (with-file-property, with-connection-property): New defuns, moved
6248 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6251 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6252 (tramp-version): Set tramp-autoload cookie.
6254 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6255 changes to tramp-unload-hook for other tramp-* packages. Add to
6256 `tramp-unload-hook'.
6257 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6258 (tramp-compat-call-process): New defuns, moved from tramp.el.
6260 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6261 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6262 Add to `tramp-unload-hook'. Change call of
6263 `tramp-compat-decimal-to-octal' to new function name.
6264 (tramp-fish-method): Make it a defconst.
6265 (tramp-fish-file-name-p): Make it a defsubst.
6266 (tramp-fish-method, tramp-fish-file-name-handler)
6267 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6269 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6270 `tramp-foreign-file-name-handler-alist'. Add to
6271 `tramp-unload-hook'.
6272 (tramp-ftp-method): Make it a defconst.
6273 (tramp-ftp-file-name-p): Make it a defsubst.
6274 (tramp-ftp-method, tramp-ftp-file-name-handler)
6275 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6277 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6278 `tramp-foreign-file-name-handler-alist'. Add to
6279 `tramp-unload-hook'. Change checks, whether package can be
6281 (tramp-gvfs-file-name-p): Make it a defsubst.
6282 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6283 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6284 (tramp-gvfs-handle-file-directory-p): New defun.
6285 (tramp-gvfs-file-name-handler-alist): Use it.
6287 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6288 `tramp-foreign-file-name-handler-alist'. Add to
6289 `tramp-unload-hook'.
6290 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6291 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6293 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6294 (tramp-gw-open-connection): Set tramp-autoload cookie.
6296 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6297 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6298 Add to `tramp-unload-hook'. Change checks, whether package can be
6300 (tramp-imap-file-name-p): Make it a defsubst.
6301 (tramp-imap-method, tramp-imaps-method)
6302 (tramp-imap-file-name-handler)
6303 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6305 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6306 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6307 Add to `tramp-unload-hook'. Change checks, whether package can be
6308 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6310 (tramp-smb-tunnel-method): Make it a defconst.
6311 (tramp-smb-file-name-p): Make it a defsubst.
6312 (tramp-smb-method, tramp-smb-file-name-handler)
6313 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6315 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6316 (tramp-uuencode-region): Set tramp-autoload cookie.
6318 * net/trampver.el (top) Add to `tramp-unload-hook'.
6319 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6320 cookie. Update release number.
6322 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6324 * textmodes/ispell.el (ispell-start-process): Make sure original
6325 arg list is properly initialized (Bug#6993, Bug#6994).
6327 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6329 * files.el (directory-abbrev-alist): Use \` as default regexp.
6331 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6332 chars like - or ] (bug#6984).
6333 (rx-any-condense-range): Explode 2-char ranges.
6335 2010-09-06 Glenn Morris <rgm@gnu.org>
6337 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6339 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * textmodes/bibtex.el:
6342 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6344 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6346 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6347 since no callers use it.
6348 (imap-message-get): Ditto.
6349 (imap-message-put): Ditto.
6350 (imap-mailbox-map): Ditto.
6351 (imap-mailbox-put): Ditto.
6352 (imap-mailbox-get): Ditto.
6353 (imap-mailbox-get): Revert last change for this function.
6355 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6357 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6358 callers to use `imap-fetch' instead. According to the comments, this
6359 should be safe, since all other IMAP clients use the 1:* syntax.
6360 (imap-enable-exchange-bug-workaround): Remove.
6361 (imap-debug): Remove -- doesn't seem very useful.
6363 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6365 * net/imap.el (imap-log): New convenience function used throughout
6366 instead of repeating the same code all over the place.
6368 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6370 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6371 when mouse-drag-copy-region is non-nil (Bug#6956).
6373 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6375 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6376 Improve regexps (Bug#6987).
6377 (dired-sort-toggle): Search more robustly for -t flag.
6379 * files.el (get-free-disk-space): Search more robustly for
6380 "available" column. Suggested by Ehud Karni
6381 <ehud@unix.mvs.co.il>.
6383 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6385 * international/uni-bidi.el:
6386 * international/uni-category.el:
6387 * international/uni-combining.el:
6388 * international/uni-decimal.el:
6389 * international/uni-mirrored.el:
6390 * international/uni-name.el: Regenerate.
6392 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6394 * electric.el (electric-indent-post-self-insert-function):
6395 Don't reindent with a sloppy indentation function.
6397 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6398 border case in change-log-mode.
6400 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6402 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6403 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6404 Recognize leading tab in gcc-include regexp. Ignore names with
6405 leading "from" or "in" in gnu regexp (Bug#6937).
6407 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6409 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6410 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6411 (ispell-start-process): Avoid setq and simplify logic.
6412 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6413 (kill-buffer-hook): Don't use it globally with code that uses
6414 expand-file-name since that may call kill-buffer via
6415 code_conversion_restore.
6417 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6419 * emacs-lisp/package.el (package-directory-list): Only call
6420 file-name-nondirectory on a string.
6422 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6424 * emacs-lisp/package.el (package--download-one-archive):
6425 Ensure that archive-contents is valid before saving it.
6426 (package-activate-1, package-mark-obsolete, define-package)
6427 (package-compute-transaction, package-list-maybe-add): Use push.
6429 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6431 Use SMIE's blink-paren for octave-mode.
6432 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6433 Backslashes do not escape single-quotes, single-quotes do.
6434 (octave-block-else-regexp, octave-block-end-regexp)
6435 (octave-block-match-alist): Remove.
6436 (octave-smie-bnf-table): New var, with old content.
6437 (octave-smie-op-levels): Use it.
6438 (octave-smie-closer-alist): New var.
6439 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6440 (octave-blink-matching-block-open): Remove.
6441 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6442 (octave-electric-space): Let self-insert-command run expand-abbrev and
6445 * electric.el (electricity): New group.
6446 (electric-indent-chars): New var.
6447 (electric-indent-post-self-insert-function): New fun.
6448 (electric-indent-mode): New minor mode.
6449 (electric-pair-skip-self): New custom.
6450 (electric-pair-post-self-insert-function): New function.
6451 (electric-pair-mode): New minor mode.
6453 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6454 calcAlg-blink-matching-open.
6455 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6456 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6457 Use the new blink-matching-check-function.
6459 Provide blink-matching support to SMIE.
6460 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6461 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6462 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6464 * simple.el (newline): Fix last change to properly remove itself from
6467 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6469 * simple.el (newline): Eliminate optimization.
6470 Use post-self-insert-hook to set hard-newline and things before
6471 running post-self-insert-hook.
6472 (blink-matching-check-mismatch): New function.
6473 (blink-matching-check-function): New variable.
6474 (blink-matching-open): Use them.
6475 Skip back forward over prefix chars skipped by forward-sexp.
6476 Don't check if the parens are backslash escaped.
6477 (blink-paren-post-self-insert-function): Check backslash escaping here.
6479 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6481 * emacs-lisp/package.el (package-menu-mode-map):
6482 Change package-menu-revert bindings to revert-buffer.
6483 (package-menu-mode): Set revert-buffer-function.
6484 (package-menu-revert): Doc fix.
6486 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6488 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6489 `default-directory' unless using Ispell per-directory personal
6490 dictionaries and not in a mini-buffer under XEmacs.
6491 (kill-buffer-hook): Do not kill ispell process on exit when
6492 `ispell-process-directory' is "~/". (Bug#6143)
6494 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6496 * simple.el (kill-new): Call interprogram-cut-function with only
6499 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6500 Remove cut buffer from error message.
6502 * term/x-win.el (x-select-text):
6503 * term/pc-win.el (x-selection-value):
6504 * term/ns-win.el (x-selection-value):
6505 * eshell/em-term.el:
6506 * w32-fns.el (x-get-selection-value):
6507 * mouse-sel.el (mouse-sel-set-selection-function):
6508 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6510 * term/x-win.el: Update documentation for x-last-selected-text-*.
6511 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6512 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6513 (x-select-text): Remove argument PUSH, update documentation.
6514 Remove cut-buffer code.
6515 (x-selection-value-internal): Was previously x-selection-value.
6516 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6517 Update documentation, remove cut-buffer code.
6518 Call x-selection-value-internal.
6519 (x-clipboard-yank): Call x-selection-value-internal.
6520 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6522 * term/pc-win.el (x-last-selected-text):
6523 x-cut-buffer-or-selection-value renamed to x-selection-value
6524 (x-select-text): Remove argument PUSH, update documentation.
6526 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6527 x-cut-buffer-or-selection-value renamed to x-selection-value
6528 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6529 (x-select-text): Remove argument PUSH, update documentation.
6531 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6533 * w32-fns.el (x-last-selected-text):
6534 x-cut-buffer-or-selection-value renamed to x-selection-value.
6535 (x-cut-buffer-max): Remove.
6536 (x-select-text): Remove argument PUSH, update documentation.
6538 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6540 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6542 * mouse-sel.el (mouse-sel-get-selection-function):
6543 x-cut-buffer-or-selection-value renamed to x-selection-value.
6544 (x-select-text): Remove optional push.
6546 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6548 * simple.el (blink-paren-function): Move from C to here.
6549 (blink-paren-post-self-insert-function): New function.
6550 (post-self-insert-hook): Use it.
6552 * emacs-lisp/pcase.el (pcase-split-memq):
6553 Fix overenthusiastic optimisation.
6554 (pcase-u1): Handle the case of a lambda pred.
6556 2010-08-31 Kenichi Handa <handa@m17n.org>
6558 * international/mule-cmds.el (standard-display-european-internal):
6559 Setup standard-display-table for 8-bit characters by storing 8-bit
6560 characters in the element vector.
6562 * disp-table.el (standard-display-8bit):
6563 Setup standard-display-table for 8-bit characters by storing 8-bit
6564 characters in the element vector.
6565 (standard-display-european): Likewise.
6567 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6569 * textmodes/nroff-mode.el (nroff-view): New command.
6570 (nroff-mode-map): Bind it to C-c C-c.
6572 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6574 * emacs-lisp/smie.el (smie-down-list): New command.
6576 Remove old indentation and navigation code on octave-mode.
6577 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6578 smie-down-list rather than add a binding for octave-down-block.
6579 (octave-mark-block, octave-blink-matching-block-open):
6580 Rely on forward-sexp-function.
6581 (octave-fill-paragraph): Don't narrow, so you can use
6582 indent-according-to-mode.
6583 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6584 (octave-in-block-p, octave-re-search-forward-kw)
6585 (octave-re-search-backward-kw, octave-indent-calculate)
6586 (octave-end-as-array-index-p, octave-block-end-offset)
6587 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6588 (octave-down-block, octave-backward-up-block, octave-up-block)
6589 (octave-before-magic-comment-p, octave-indent-line): Remove.
6591 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6593 * emacs-lisp/package.el (package--read-archive-file): Just use
6594 `read', to avoid copying an additional string.
6595 (package-menu-mode): Set header-line-format here.
6596 (package-menu-refresh, package-menu-revert): Signal an error if
6597 not in the Package Menu.
6598 (package-menu-package-list): New var.
6599 (package--generate-package-list): Operate on the current buffer;
6600 don't assume that it is *Packages*, since the user may rename it.
6601 Allow persistent package listings and sort keys using
6602 package-menu-package-list and package-menu-package-sort-key.
6603 (package-menu--version-predicate): Fix version calculation.
6604 (package-menu-sort-by-column): Don't select the window.
6605 (package--list-packages): Create the *Packages* buffer.
6606 Set package-menu-package-list-key.
6607 (list-packages): Sorting by status is now the default.
6608 (package-buffer-info): Use match-string-no-properties.
6609 (define-package): Add a &rest argument for future proofing, but
6611 (package-install-from-buffer, package-install-buffer-internal):
6612 Merge into a single function, package-install-from-buffer.
6613 (package-install-file): Change caller.
6615 * finder.el: Load finder-inf using `require'.
6616 (finder-list-matches): Sorting by status is now the default.
6617 (finder-compile-keywords): Simpify printing.
6619 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6622 (octave-mode-map): Remove special bindings for forward/backward-block
6623 and octave-backward-up-block. Use smie-close-block.
6624 (octave-continuation-marker-regexp): New var.
6625 (octave-continuation-regexp): Use it.
6626 (octave-operator-table, octave-smie-op-levels)
6627 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6628 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6629 (octave-mode): Use SMIE.
6630 (octave-close-block): Delete.
6632 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6634 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6635 CLIPBOARD, not in PRIMARY. (Bug#6944)
6637 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6639 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6641 (smie-indent-column): Allow indirection through variables.
6643 * composite.el (save-buffer-state): Delete, unused.
6644 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6645 (font-lock-default-fontify-region): Use with-syntax-table.
6646 * jit-lock.el (with-buffer-unmodified): Remove.
6647 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6649 Use `declare' in defmacros.
6650 * window.el (save-selected-window):
6651 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6652 * progmodes/python.el (def-python-skeleton):
6653 * net/dbus.el (dbus-ignore-errors):
6654 * jka-cmpr-hook.el (with-auto-compression-mode):
6655 * international/mule.el (with-category-table):
6656 * emacs-lisp/timer.el (with-timeout):
6657 * emacs-lisp/lisp-mnt.el (lm-with-file):
6658 * emacs-lisp/eieio.el (with-slots):
6659 * emacs-lisp/easymenu.el (easy-menu-define):
6660 * emacs-lisp/debug.el (debugger-env-macro):
6661 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6662 (Multiple-value-call, Multiple-value-prog1):
6663 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6664 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6665 edebug rule to definition.
6666 * emacs-lisp/lisp-mode.el (save-selected-window)
6667 (with-current-buffer, combine-after-change-calls)
6668 (with-output-to-string, with-temp-file, with-temp-buffer)
6669 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6670 (dolist, dotimes, when, unless):
6671 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6673 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6675 * finder.el: Require `package'.
6676 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6677 (finder-package-info): Var deleted.
6678 (finder-keywords-hash, finder--builtins-alist): New vars.
6679 (finder-compile-keywords): Compute package--builtins and
6680 finder-keywords-hash instead of finder-keywords-hash, respecting
6681 the "Package" header.
6682 (finder-unknown-keywords, finder-list-matches):
6683 Use finder-keywords-hash and package--list-packages.
6684 (finder-mode): Don't set font-lock-defaults.
6685 (finder-exit): We don't use "*Finder-package*" and "*Finder
6686 Category*" buffers anymore.
6688 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6689 (package--builtins): Set default value to nil.
6690 (package-initialize): Load precomputed value of package--builtins
6692 (package-alist, package-compute-transaction)
6693 (package-download-transaction): Improve docstring.
6694 (package-read-all-archive-contents): Do not change
6695 package--builtins here.
6696 (list-packages): Make package-list-packages an alias for this.
6697 Sort by status by default.
6698 (package--list-packages): Add optional PACKAGES arg.
6699 (describe-package-1): Use font-lock-face property. For built-in
6700 packages, insert file commentary.
6701 (package--generate-package-list): Rename from
6702 package-list-packages-internal; all callers changed. Add optional
6703 PACKAGES arg. Add alphabetical sort fallbacks.
6704 (package-menu--version-predicate, package-menu--status-predicate)
6705 (package-menu--description-predicate)
6706 (package-menu--name-predicate): New functions.
6708 * info.el (Info-finder-find-node): Search package-alist instead of
6709 finder-package-info.
6711 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6713 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6715 (version-to-list): Handle versions like "10.3d".
6717 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6719 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6720 (macroexp-accumulate): Use `declare'.
6722 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6724 * whitespace.el (whitespace-style): Adjust type declaration.
6726 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6728 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6729 empty argument to gvfs-copy.
6731 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6733 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6734 handle new TRASH arg of `delete-file'.
6736 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6738 * net/tramp.el (tramp-handle-insert-directory): Don't use
6739 `forward-word', its default syntax could be changed.
6741 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6742 Michael Albinus <michael.albinus@gmx.de>
6744 Implement compression for inline methods.
6746 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6747 (tramp-copy-size-limit): Allow also nil.
6748 (tramp-inline-compress-commands): New defconst.
6749 (tramp-find-inline-compress, tramp-get-inline-compress)
6750 (tramp-get-inline-coding): New defuns.
6751 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6752 replaced by `tramp-get-inline-coding'.
6753 (tramp-handle-file-local-copy, tramp-handle-write-region)
6754 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6756 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6758 Detect ssh 'ControlMaster' argument automatically in some cases.
6760 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6761 (tramp-default-method): Use it.
6763 2010-08-26 Karel Klíč <kklic@redhat.com>
6765 * net/tramp.el (tramp-file-name-for-operation):
6766 Add file-selinux-context.
6768 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6770 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6772 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6774 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6777 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6779 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6780 (js-paren-indent-offset, js-square-indent-offset)
6781 (js-curly-indent-offset): New options.
6782 (js--proper-indentation): Use them.
6784 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6786 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6787 instead of inspecting font-lock properties (Bug#6916).
6789 2010-08-26 David Reitter <david.reitter@gmail.com>
6791 * server.el (server-visit-files): Run pre-command-hook and
6792 post-command-hook for each buffer while it is current (Bug#6910).
6793 (server-execute): Do not run hooks here.
6795 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6797 Sync with Tramp 2.1.19.
6799 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6800 (tramp-reporter-dump-variable, tramp-load-report-modules)
6801 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6802 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6804 * net/tramp-compat.el (top): Do not autoload
6805 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6806 only when `start-file-process' is not bound.
6807 (byte-compile-not-obsolete-vars): Define if not bound.
6808 (tramp-compat-funcall): New defmacro.
6809 (tramp-compat-line-beginning-position)
6810 (tramp-compat-line-end-position)
6811 (tramp-compat-temporary-file-directory)
6812 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6813 (tramp-compat-copy-file, tramp-compat-copy-directory)
6814 (tramp-compat-delete-file, tramp-compat-delete-directory)
6815 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6817 (tramp-advice-file-expand-wildcards): Do not use
6818 `tramp-handle-file-remote-p'.
6819 (tramp-compat-make-temp-file): Simplify fallback implementation.
6820 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6821 (tramp-compat-copy-tree): Remove function.
6822 (tramp-compat-delete-file): New defun.
6823 (tramp-compat-delete-directory): Provide implementation for older
6825 (tramp-compat-file-attributes): Handle only
6826 `wrong-number-of-arguments' error.
6828 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6829 Add PRESERVE_SELINUX_CONTEXT.
6830 (tramp-fish-handle-delete-file): Add TRASH arg.
6831 (tramp-fish-handle-directory-files-and-attributes):
6832 Do not use `tramp-fish-handle-file-attributes.
6833 (tramp-fish-handle-file-local-copy)
6834 (tramp-fish-handle-insert-file-contents)
6835 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6837 * net/tramp-gvfs.el (top): Require url-util.
6838 (tramp-gvfs-mount-point): Remove.
6839 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6840 and `set-file-selinux-context'.
6841 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6842 (tramp-gvfs-handle-file-selinux-context)
6843 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6844 (with-tramp-dbus-call-method): Format trace message.
6845 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6846 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6847 Implement backup call, when operation on local files fails.
6848 Use progress reporter. Flush properties of changed files.
6849 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6850 Use `tramp-compat-delete-file'.
6851 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6852 (tramp-gvfs-handle-make-directory): Make more traces.
6853 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6854 (tramp-gvfs-url-file-name): Hexify file name in url.
6855 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6856 into account for the resulting file name.
6857 (tramp-gvfs-handler-askquestion): Preserve current message, in
6858 order to let progress reporter continue afterwards. (Bug#6257)
6859 Return dummy mountpoint, when the answer is "no".
6860 See `tramp-gvfs-maybe-open-connection'.
6861 (tramp-gvfs-handler-mounted-unmounted)
6862 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6863 attribute "default_location". Set "prefix" property.
6864 Handle default-location.
6865 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6866 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6867 exists. Raise an error, if not (due to a corresponding answer
6868 "no" in interactive questions, for example).
6869 Use `tramp-compat-funcall'.
6871 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6872 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6873 (tramp-imap-do-copy-or-rename-file)
6874 (tramp-imap-handle-insert-file-contents)
6875 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6876 (tramp-imap-handle-delete-file): Add TRASH arg.
6878 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6879 Add PRESERVE-SELINUX-CONTEXT.
6880 (tramp-smb-handle-copy-file)
6881 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6882 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6883 Use `with-progress-reporter'.
6884 (tramp-smb-handle-delete-file): Add TRASH arg.
6886 * net/tramp.el (tramp-methods): Move hostname to the end in all
6887 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6889 (tramp-verbose): Describe verbose level 9.
6890 (tramp-completion-function-alist)
6891 (tramp-file-name-regexp, tramp-chunksize)
6892 (tramp-local-coding-commands, tramp-remote-coding-commands)
6893 (with-connection-property, tramp-completion-mode-p)
6894 (tramp-action-process-alive, tramp-action-out-of-band)
6895 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6896 (tramp-exists-file-name-handler): Fix docstring.
6897 (tramp-remote-process-environment): Use `format' instead of
6898 `concat'. Protect version string by apostroph.
6899 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6901 (tramp-file-name-regexp-unified)
6902 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6903 not regard the volume letter as remote filename. (Bug#5447)
6904 (tramp-perl-file-attributes)
6905 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6906 (tramp-vc-registered-read-file-names): Read input as
6907 here-document, otherwise the command could exceed maximum length
6909 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6910 `set-file-selinux-context'.
6911 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6912 backtrace functions.
6913 (tramp-error-with-buffer): Don't show the connection buffer when
6914 we are in completion mode.
6915 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6916 (tramp-handle-file-selinux-context)
6917 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6918 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6920 (with-progress-reporter): New defmacro.
6921 (tramp-debug-outline-regexp): New defconst.
6922 (top, tramp-rfn-eshadow-setup-minibuffer)
6923 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6924 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6925 (tramp-completion-mode-p, tramp-check-for-regexp)
6926 (tramp-open-connection-setup-interactive-shell)
6927 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6928 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6929 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6930 Use `tramp-compat-funcall'.
6931 (tramp-handle-make-symbolic-link): Flush file properties.
6932 (tramp-handle-load, tramp-handle-file-local-copy)
6933 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6934 (tramp-handle-vc-registered, tramp-maybe-send-script)
6935 (tramp-find-shell): Use `with-progress-reporter'.
6936 (tramp-do-file-attributes-with-stat): Add space in format string,
6937 in order to work around a bug in pdksh. Reported by Gilles Pion
6939 (tramp-handle-verify-visited-file-modtime): Do not send a command
6940 when the connection is not established.
6941 (tramp-handle-set-file-times): Simplify the check for utc.
6942 (tramp-handle-directory-files-and-attributes)
6943 (tramp-get-remote-path): Use `copy-tree'.
6944 (tramp-completion-handle-file-name-all-completions): Ensure, that
6945 non remote files are still checked. Oops.
6946 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6947 Handle PRESERVE-SELINUX-CONTEXT.
6948 (tramp-do-copy-or-rename-file): Add progress reporter.
6949 (tramp-do-copy-or-rename-file-directly): Do not use
6950 `tramp-handle-file-remote-p'.
6951 (tramp-do-copy-or-rename-file-out-of-band):
6952 Use `tramp-compat-delete-directory'.
6953 (tramp-do-copy-or-rename-file-out-of-band)
6954 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6955 Use `format-spec-make'.
6956 (tramp-handle-delete-file): Add TRASH arg.
6957 (tramp-handle-dired-uncache): Flush directory cache, not only file
6959 (tramp-handle-expand-file-name)
6960 (tramp-completion-handle-file-name-all-completions)
6961 (tramp-completion-handle-file-name-completion):
6962 Use `tramp-connectable-p'.
6963 (tramp-handle-start-file-process): Set connection property "vec".
6964 Use it, in order to invalidate file caches. Check only for
6965 `remote-tty' process property.
6966 Implement tty setting. (Bug#4604, Bug#6360)
6967 (tramp-file-name-for-operation): Add `call-process-region' and
6968 `set-file-selinux-context'.
6969 (tramp-find-foreign-file-name-handler)
6970 (tramp-advice-make-auto-save-file-name)
6971 (tramp-set-auto-save-file-modes): Remove superfluous check for
6972 `stringp'. This is done inside `tramp-tramp-file-p'.
6973 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6974 operations when we are in completion mode. This gives the user
6975 the chance to correct the file name in the minibuffer.
6976 (tramp-completion-mode-p): Use `non-essential'.
6977 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6978 compatibility: Use `completion-ignore-case' if
6979 `read-file-name-completion-ignore-case' does not exist.
6980 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6981 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6983 (tramp-action-password): Hide password prompt before next run.
6984 (tramp-process-actions): Widen connection buffer for the trace.
6985 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6986 process property. Trace stty settings if `tramp-verbose' >= 9.
6987 Apply workaround for IRIX64 bug. Move argument of last
6988 `tramp-send-command' where it belongs to.
6989 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6990 front of `login-args'.
6991 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6992 on "/dev/null" instead of "/".
6993 (tramp-get-ls-command-with-dired): Make test for "--dired"
6995 (tramp-set-auto-save-file-modes): Adapt version check.
6996 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6997 (tramp-handle-process-file): Call the program in a subshell, in
6998 order to preserve working directory.
6999 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7000 `tramp-remote-sh' from `tramp-methods'.
7001 (tramp-get-ls-command): Make test for "--color=never" stronger.
7002 (tramp-check-for-regexp): Use (forward-line 1).
7004 * net/trampver.el: Update release number.
7006 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7008 * help.el (help-map): Bind `C-h P' to describe-package.
7010 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7012 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7013 when downloading archives.
7014 (describe-package-1): Add package commentary.
7015 (package-install-button-action): New function.
7016 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7017 (package-menu-view-commentary): Function removed.
7018 (package-list-packages-internal): Hide the `package' package too.
7020 2010-08-25 Kenichi Handa <handa@m17n.org>
7022 * language/misc-lang.el ("Arabic"): New language environment.
7023 Setup composition-function-table for Arabic characters.
7025 * international/fontset.el (setup-default-fontset): Fix typo for
7026 arabic OTF spec (fini->fina).
7028 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7030 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7033 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7035 * whitespace.el: Allow cleaning up blanks without blank
7036 visualization (Bug#6651). Adjust help window for
7037 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7038 instead of whitespace-line-column (from EmacsWiki). New version
7040 (whitespace-style): Add new value 'face. Adjust docstring.
7041 (whitespace-space, whitespace-hspace, whitespace-tab):
7042 Adjust foreground property face.
7043 (whitespace-line-column): Adjust docstring and type declaration.
7044 (whitespace-style-value-list, whitespace-toggle-option-alist)
7045 (whitespace-help-text): Adjust const initialization.
7046 (whitespace-toggle-options, global-whitespace-toggle-options):
7048 (whitespace-display-window, whitespace-interactive-char)
7049 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7050 (whitespace-help-scroll): New fun.
7052 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7054 * emacs-lisp/package.el (list-packages): Alias for
7055 package-list-packages.
7057 2010-08-24 Kevin Ryde <user42@zip.com.au>
7059 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7062 * progmodes/ruby-mode.el (ruby): Add defgroup.
7064 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7066 * progmodes/python.el: Add Ipython support (Bug#5390).
7067 (python-shell-prompt-alist)
7068 (python-shell-continuation-prompt-alist): New options.
7069 (python--set-prompt-regexp): New function.
7070 (inferior-python-mode, run-python, python-shell):
7071 Require ansi-color. Use python--set-prompt-regexp to set the comint
7072 prompt based on the Python interpreter.
7073 (python--prompt-regexp): New var.
7074 (python-check-comint-prompt)
7075 (python-comint-output-filter-function): Use it.
7076 (run-python): Use a pipe (Bug#5694).
7078 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7080 * progmodes/python.el (python-send-region): Send a different
7081 Python command if Ipython is in use.
7082 (python-check-version): Use a Python command to find the version.
7084 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7086 * mouse.el (mouse-yank-primary): Avoid setting primary when
7087 deactivating the mark (Bug#6872).
7089 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7091 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7092 with "else" (Bug#3991).
7094 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7096 * net/dbus.el: Accept UNIX domain sockets as bus address.
7097 (top): Don't initialize `dbus-registered-objects-table' anymore,
7098 this is done in dbusbind,c.
7099 (dbus-check-event): Adapt test for bus.
7100 (dbus-return-values-table, dbus-unregister-service)
7101 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7104 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7106 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7108 2010-08-22 Juri Linkov <juri@jurta.org>
7110 * simple.el (read-extended-command): New function with the logic
7111 for `completing-read' moved to Elisp from `execute-extended-command'.
7112 Use `function-called-at-point' in `minibuffer-default-add-function'
7113 to get a command name for M-n (bug#5364, bug#5214).
7115 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7117 * startup.el (command-line-1): Issue warning for ignored arguments
7118 --unibyte, etc (Bug#6886).
7120 2010-08-22 Leo <sdl.web@gmail.com>
7122 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7123 (ignore, bright, dim, keyword): Split list of nicknames before
7124 passing to rcirc-add-or-remove (Bug#6894).
7126 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7128 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7130 2010-08-22 Leo <sdl.web@gmail.com>
7132 Fix buffer-list rename&refresh after killing a buffer in ido.
7133 * ido.el: Revert Óscar's.
7134 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7135 Remember the buffers at head, rather than their name.
7136 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7138 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7139 Stefan Monnier <monnier@iro.umontreal.ca>
7141 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7142 extra backslash added to each line (bug#6890).
7144 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7146 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7148 2010-08-22 Glenn Morris <rgm@gnu.org>
7150 * menu-bar.el (menu-bar-games-menu): Add landmark.
7152 2010-08-22 Glenn Morris <rgm@gnu.org>
7154 * align.el (align-regexp): Make group and spacing arguments
7155 use the interactive defaults when non-interactive. (Bug#6698)
7157 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7158 expansion, so as not to need sendmail.
7159 (mail-text-start): Remove declaration.
7160 (rmail-retry-failure): Require sendmail.
7162 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7164 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7166 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7168 * progmodes/flymake.el (flymake-start-syntax-check-process):
7169 Use `start-file-process' in order to let it run also on remote hosts.
7171 2010-08-22 Kenichi Handa <handa@m17n.org>
7173 * files.el: Add `word-wrap' as safe local variable.
7175 2010-08-22 Glenn Morris <rgm@gnu.org>
7177 * woman.el (woman-translate): Case matters. (Bug#6849)
7179 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7181 * simple.el (kill-region): Doc fix (Bug#6787).
7183 2010-08-22 Glenn Morris <rgm@gnu.org>
7185 * calendar/diary-lib.el (diary-header-line-format):
7186 Fit it to the window, not the frame.
7188 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7190 * subr.el (ignore-errors): Add debug declaration.
7192 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7194 * whitespace.el (whitespace-color-off): Remove post-command-hook
7197 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7199 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7201 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7203 * cus-edit.el (custom-group-value-create): Add extra newline
7204 before end line (Bug#6876).
7206 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7208 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7209 when extending it. Before killing on the second click, check if
7210 the buffer is the correct one. Doc fix.
7211 (mouse-secondary-save-then-kill): Allow usage without first
7212 calling mouse-start-secondary, by defaulting to point. Don't save
7213 an empty secondary selection. Doc fix.
7215 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7217 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7218 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7220 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7221 Adjust initialization.
7222 (whitespace-bob-marker, whitespace-eob-marker)
7223 (whitespace-buffer-changed): New vars.
7224 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7225 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7226 (whitespace-post-command-hook, whitespace-display-char-on):
7228 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7229 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7231 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7233 * files.el (locate-file-completion-table): Only list the .el and .elc
7234 extensions if there's no other choice (bug#5955).
7236 * facemenu.el (facemenu-self-insert-data): New var.
7237 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7239 (facemenu-add-face): Use them.
7241 * simple.el (blink-matching-open): Obey forward-sexp-function.
7243 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7245 * simple.el (prog-mode-map): New var.
7246 (prog-indent-sexp): New command.
7248 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7250 * progmodes/prolog.el (smie): Require.
7252 * emacs-lisp/smie.el (smie-default-backward-token)
7253 (smie-default-forward-token): Strip properties.
7254 (smie-next-sexp): Be more careful with associative operators.
7255 (smie-forward-sexp-command): Generalize.
7256 (smie-backward-sexp-command): Simplify.
7257 (smie-closer-alist): New var.
7258 (smie-close-block): New command.
7259 (smie-indent-debug-log): New var.
7260 (smie-indent-offset-rule): Add a few more cases.
7261 (smie-indent-column): New function.
7262 (smie-indent-after-keyword): Use it.
7263 (smie-indent-keyword): Use it.
7264 Fix up the opener code's point position.
7265 (smie-indent-comment): Only applies at BOL.
7266 (smie-indent-debug): New command.
7268 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7269 declarations that are useful before running the macro.
7271 2010-08-18 Joakim Verona <joakim@verona.se>
7273 * image.el (imagemagick-types-inhibit): New variable.
7274 (imagemagick-register-types): New function.
7275 * image-mode.el (image-transform-properties): New function.
7276 (image-transform-set-scale, image-transform-fit-to-height)
7277 (image-transform-set-rotation, image-transform-set-resize)
7278 (image-transform-fit-to-width, image-transform-fit-to-height):
7280 (image-toggle-display-image): Support image transforms.
7282 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7284 * image.el (create-animated-image): Don't add heuristic mask to image
7287 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7289 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7290 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7292 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7294 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7296 Font-lock '...' strings, plus various simplifications and fixes.
7297 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7298 (octave-font-lock-close-quotes): New function.
7299 (octave-font-lock-syntactic-keywords): New var.
7300 (octave-mode): Use it. Set beginning-of-defun-function.
7301 (octave-mode-map): Don't override the <foo>-defun commands.
7302 (octave-mode-menu): Pass it directly to easy-menu-define;
7303 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7304 (octave-block-match-alist): Fix up last change so that
7305 octave-close-block uses the more specific keyword.
7306 (info-lookup-mode): Silence byte-compiler.
7307 (octave-beginning-of-defun): Not interactive any more.
7309 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7310 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7311 (octave-completion-at-point-function): Make sure point is within
7313 (octave-reindent-then-newline-and-indent):
7314 Use reindent-then-newline-and-indent.
7315 (octave-add-octave-menu): Remove.
7317 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7319 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7320 (report-emacs-bug-can-use-xdg-email): New functions.
7321 (report-emacs-bug): Set can-xdg-email to result of
7322 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7323 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7326 * net/browse-url.el (browse-url-default-browser): Add cond
7327 for browse-url-xdg-open.
7328 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7330 2010-08-17 Glenn Morris <rgm@gnu.org>
7332 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7333 (c-fontify-recorded-types-and-refs): Define for compiler.
7334 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7337 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7340 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7342 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7344 (tramp-handle-process-file): Call the program in a subshell, in
7345 order to preserve working directory.
7346 (tramp-action-password): Hide password prompt before next run.
7347 (tramp-process-actions): Widen connection buffer for the trace.
7349 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7351 * net/rcirc.el (rcirc-log-process-buffers): New option.
7352 (rcirc-print): Use it.
7353 (rcirc-generate-log-filename): New function.
7354 (rcirc-log-filename-function): Change default to
7355 rcirc-generate-log-filename (Bug#6828).
7357 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7359 * simple.el (deactivate-mark): If select-active-regions is `only',
7360 only set selection for temporarily active regions.
7362 * cus-start.el: Change defcustom for select-active-regions.
7364 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7366 * mouse.el (mouse--drag-set-mark-and-point): New function.
7367 (mouse-drag-track): Use LOCATION arg to push-mark.
7368 Use mouse--drag-set-mark-and-point to take click-count into
7369 consideration when updating point and mark (Bug#6840).
7371 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7373 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7374 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7376 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7378 * font-lock.el (lisp-font-lock-keywords-2):
7379 Add combine-after-change-calls, condition-case-no-debug,
7380 with-demoted-errors, and with-silent-modifications (Bug#6025).
7382 2010-08-14 Kevin Ryde <user42@zip.com.au>
7384 * emacs-lisp/copyright.el (copyright-update-year)
7385 (copyright-update): Temporary switch-to-buffer to ensure the
7386 buffer change being queried is visible (Bug#5394).
7388 2010-08-14 Tom Tromey <tromey@redhat.com>
7390 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7393 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7395 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7398 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7400 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7401 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7402 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7403 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7404 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7405 Call menu-bar-set-tool-bar-position.
7407 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7409 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7410 comment style (bug#6834).
7411 * progmodes/scheme.el (scheme-mode-syntax-table):
7412 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7413 "b" flag in "' 14b" syntax.
7415 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7416 for (un)commenting the region and performing completion.
7417 (octave-mode-menu): Use standard commands for help and completion.
7418 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7419 (octave-mode): Use define-derived-mode.
7420 Set completion-at-point-functions and don't set columns.
7421 Don't disable adaptive-fill-regexp.
7422 (octave-describe-major-mode, octave-comment-region)
7423 (octave-uncomment-region, octave-comment-indent)
7424 (octave-indent-for-comment): Remove.
7425 (octave-indent-calculate): Rename from calculate-octave-indent.
7426 (octave-indent-line, octave-fill-paragraph): Update caller.
7427 (octave-initialize-completions): No need to make an alist.
7428 (octave-completion-at-point-function): New function.
7429 (octave-complete-symbol): Use it.
7430 (octave-insert-defun): Use define-skeleton.
7432 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7433 (octave-mode-map): Use comment-dwim (bug#6829).
7435 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7437 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7438 indentation of inserted comment.
7440 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7442 * faces.el (region): Add type gtk that uses gtk colors.
7444 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7445 Handle theme-name change.
7447 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7449 * progmodes/sql.el: Version 2.5
7450 (sql-product-alist): Add :prompt-cont-regexp property for several
7452 (sql-prompt-cont-regexp): New variable.
7453 (sql-output-newline-count, sql-output-by-send):
7454 New variables. Record number of newlines in input text.
7455 (sql-send-string): Handle multiple filters and count newlines.
7456 (sql-send-magic-terminator): Count terminator newline.
7457 (sql-interactive-remove-continuation-prompt): Filters output to
7458 remove continuation prompts; one for each newline.
7459 (sql-interactive-mode): Set up new variables, prompt regexp and
7461 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7462 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7464 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7466 * emacs-lisp/pcase.el: New file.
7468 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7470 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7471 as here-document, otherwise the command could exceed maximum
7472 length of command line.
7473 (tramp-handle-vc-registered): Call script accordingly.
7474 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7476 2010-08-10 Kenichi Handa <handa@m17n.org>
7478 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7481 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7483 * emacs-lisp/package.el (package-version-split)
7484 (package--version-first-nonzero, package-version-compare):
7486 (package-directory-list, package-load-all-descriptors)
7487 (package--built-in, package-activate, define-package)
7488 (package-installed-p, package-compute-transaction)
7489 (package-read-all-archive-contents)
7490 (package--add-to-archive-contents, package-buffer-info)
7491 (package-tar-file-info, package-list-packages-internal):
7492 Use version-to-list and version-list-*.
7494 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7495 Use version-to-list.
7496 (package-upload-buffer-internal): Use version-list-<=.
7498 2010-08-09 Kenichi Handa <handa@m17n.org>
7500 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7503 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7505 * tutorial.el (tutorial--default-keys): C-d is now bound to
7506 delete-forward-char (Bug#6826).
7508 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7509 for `double' value of mouse-1-click-follows-link (Bug#6807).
7511 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7513 * replace.el (replace-highlight): Bind isearch-forward and
7514 isearch-error, ensuring that highlighting is updated if the user
7515 switches the search direction (Bug#6808).
7517 * isearch.el (isearch-lazy-highlight-forward): New var.
7518 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7519 (isearch-lazy-highlight-update): Use it.
7521 2010-08-08 Kenichi Handa <handa@m17n.org>
7523 * international/mule.el (define-charset): Store NAME as :base property.
7524 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7525 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7526 current priority. Force using the designation of the specific
7527 charset by adding `charset' text property. Improve the whole algorithm.
7529 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7531 * emulation/pc-select.el (pc-selection-mode-hook)
7532 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7533 (pc-selection-mode): Fix typos in docstrings.
7535 2010-08-08 Kenichi Handa <handa@m17n.org>
7537 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7538 ctext-non-standard-encodings-alist here.
7540 * international/mule.el (ctext-non-standard-encodings-alist):
7541 Add "koi8-r" and "microsoft-cp1251".
7542 (ctext-standard-encodings): New variable.
7543 (ctext-non-standard-encodings-table): List only elements for
7544 non-standard encodings.
7545 (ctext-pre-write-conversion): Adjust for the above change.
7546 Check ctext-standard-encodings.
7548 * international/mule-conf.el (compound-text): Doc fix.
7549 (ctext-no-compositions): Doc fix.
7550 (compound-text-with-extensions): Doc fix.
7552 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7554 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7556 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7558 * progmodes/which-func.el (which-func-format): Split help-echo text
7559 into lines, like other mode-line tooltips.
7561 * server.el (server-start): When using TCP sockets, force IPv4
7562 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7564 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7566 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7568 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7570 * term.el (term-delimiter-argument-list): Reflow docstring.
7571 (term-read-input-ring, term-write-input-ring, term-send-input)
7572 (term-bol, term-erase-in-display, serial-supported-or-barf):
7573 Fix typos in docstrings.
7575 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7577 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7579 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7581 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7583 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7585 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7586 Fix typo in docstring (bug#6747).
7588 2010-08-08 Leo <sdl.web@gmail.com>
7590 * eshell/esh-io.el (eshell-get-target): Better detection of
7591 read-only file (Bug#6762).
7593 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7595 * align.el (align-default-spacing): Doc fix.
7596 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7598 2010-08-08 Stephen Peters <speters@itasoftware.com>
7600 * calendar/icalendar.el
7601 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7602 (icalendar--get-weekday-numbers): New.
7603 (icalendar--convert-recurring-to-diary): Handle multiple byday
7604 values in weekly rules. (Bug#6766)
7606 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7608 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7609 (icalendar--create-uid, icalendar-export-region)
7610 (icalendar--parse-summary-and-rest): Code formatting.
7612 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7614 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7615 to italicize headers.
7616 (calc-highlight-selections-with-faces): New variable.
7617 (calc-selected-face, calc-nonselected-face): New faces.
7619 * calc/calccomp.el (math-comp-highlight-string): Use
7620 `calc-highlight-selections-with-faces' to determine how to highlight
7623 * calc/calc-sel.el (calc-show-selections): Change message to when
7624 using faces to highlight selections.
7626 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7628 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7629 Add SQLite 3 keywords, functions and datatypes.
7630 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7633 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7635 * simple.el (select-active-regions): Move to keyboard.c.
7636 (deactivate-mark): Used saved-region-selection.
7637 (select-active-region): Function removed.
7638 (activate-mark, set-mark, push-mark-command)
7639 (handle-shift-selection): Don't call it.
7640 (keyboard-quit): Avoid adding the region to the window selection.
7642 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7643 select-active-regions implementation.
7644 (mouse-yank-at-click): Doc fix.
7646 * cus-start.el: Add custom declaration for select-active-regions.
7648 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7650 * simple.el (delete-forward-char): Doc fix.
7652 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7653 after reading the tutorial.
7655 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7657 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7658 Fix for the case that a C style comment has its delimiters alone on
7659 their respective lines.
7661 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7663 * net/tramp.el (tramp-handle-start-file-process): Set connection
7665 (tramp-process-sentinel): Use it for flushing the cache.
7666 We cannot do it via the process buffer, the buffer could be deleted
7667 already when running the sentinel.
7669 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7671 * comint.el (comint-mode): Make directory tracking functions
7672 functional on remote files. (Bug#6764)
7674 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7676 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7678 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7680 * emacs-lisp/find-gc.el (find-gc-source-files):
7681 Rename unexec.c => unexcoff.c.
7683 * emacs-lisp/authors.el (authors-fixed-entries):
7684 Rename unexec.c => unexcoff.c.
7686 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7688 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7689 cache, not only file cache.
7690 (tramp-process-sentinel): New defun.
7691 (tramp-handle-start-file-process): Use it, in order to invalidate
7694 2010-08-03 Leo <sdl.web@gmail.com>
7696 * server.el (server-start): Simplify loop.
7698 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * frame.el (screen-height, screen-width, set-screen-width)
7701 (set-screen-height): Remove ancient compatibility aliases.
7703 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7704 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7706 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7707 that change current buffer.
7709 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7711 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7712 beginning of the string. Use `string-match-p'. (Bug#6765)
7714 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7716 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7718 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7720 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7721 (package--builtins): Tweak descriptions.
7722 (package-print-package): Upcase descriptions if necessary.
7723 Show all built-in packages in font-lock-builtin-face.
7724 (package-list-packages-internal): Omit "emacs" package.
7725 Show status of built-in packages as "built-in".
7727 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7729 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7730 before killing to preserve the primary selection (Bug#6701).
7732 * term/x-win.el (x-select-text): Doc fix.
7734 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7736 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7737 (objc-font-lock-extra-types):
7738 * progmodes/cc-mode.el (c-basic-common-init):
7739 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7740 (c++-make-template-syntax-table)
7741 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7742 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7743 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7744 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7745 * progmodes/cc-fonts.el (c-make-inverse-face)
7746 (c-basic-matchers-after):
7747 * progmodes/cc-engine.el (c-forward-keyword-clause)
7748 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7749 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7750 (c-guess-continued-construct, c-guess-basic-syntax):
7751 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7752 The above functions were modified or created.
7754 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7756 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7758 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7760 * files.el (bidi-paragraph-direction): Define safe local values.
7762 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7763 language-info-alist. Remove outdated FIXME in a comment.
7765 2010-07-31 Alan Mackenzie <acm@muc.de>
7767 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7768 Auto-fill broken in C/C++ modes.
7770 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7772 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7773 (menu-bar-showhide-tool-bar-menu-customize-disable)
7774 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7775 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7776 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7777 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7778 make a menu for Options => toolbar that can move it.
7780 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7782 * emacs-lisp/package-x.el (package--make-rss-entry):
7783 (package-maint-add-news-item, package--update-news)
7784 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7786 * emacs-lisp/package.el (package-archive-url): Rename from
7788 (package-install): Doc fix.
7789 (package-download-single, package-download-tar, package-install)
7790 (package-menu-view-commentary): Callers changed.
7792 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7794 * net/tramp.el (tramp-handle-start-file-process): Check only for
7795 `remote-tty' process property.
7796 (tramp-open-shell): Don't check for tty.
7797 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7800 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7803 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7805 * emacs-lisp/package.el (package-load-list, package-archives)
7806 (package-archive-contents, package-user-dir)
7807 (package-directory-list, package--builtins, package-alist)
7808 (package-activated-list, package-obsolete-alist): Mark as risky.
7810 2010-07-28 Phil Hagelberg <phil@evri.com>
7812 Add support for non-default package repositories.
7813 * emacs-lisp/package.el (package-archive-base): Var deleted.
7814 (package-archives): New variable.
7815 (package-archive-contents): Doc fix.
7816 (package-load-descriptor): Do nothing if descriptor file is missing.
7817 (package--write-file-no-coding): New function.
7818 (package-unpack-single): Use it.
7819 (package-archive-id): New function.
7820 (package-download-single, package-download-tar)
7821 (package-menu-view-commentary): Use it.
7822 (package-installed-p): Make second argument optional.
7823 (package-read-all-archive-contents): New function.
7824 (package-initialize): Use it.
7825 (package-read-archive-contents): Add ARCHIVE argument.
7826 (package--add-to-archive-contents): New function.
7827 (package-install): Don't call package-read-archive-contents.
7828 (package--download-one-archive): Store archive file in a
7829 subdirectory of package-user-dir.
7830 (package-menu-execute): Remove spurious line movement.
7832 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7834 * cus-start.el (tool-bar-style): Add text-image-horiz.
7836 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7838 * progmodes/gud.el (gud-common-init): Check for remoteness of
7839 `file', and not of `default-directory'.
7841 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7843 * net/tramp.el (tramp-methods): Move hostname to the end in all
7844 ssh `tramp-login-args'.
7845 (tramp-verbose): Describe verbose level 9.
7846 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7847 (tramp-open-connection-setup-interactive-shell): Trace stty
7848 settings if `tramp-verbose' >= 9.
7849 (tramp-handle-start-file-process): Implement tty setting.
7850 (Bug#4604, Bug#6360)
7852 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7853 `tramp-verbose' to 9.
7855 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7857 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7858 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7859 Remove references to package `lisp-re' (bug#4369).
7861 2010-07-27 Tom Tromey <tromey@redhat.com>
7863 * progmodes/js.el (js-mode):
7864 * progmodes/make-mode.el (makefile-mode):
7865 * progmodes/simula.el (simula-mode):
7866 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7868 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7870 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7872 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7873 (display-time-world-buffer-name, display-time-world-mode-map):
7874 Fix typos in docstrings.
7876 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7878 * image-mode.el (image-display-size): New function.
7879 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7880 (image-mode-fit-frame): Use it (Bug#6639).
7882 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7884 * dired.el (dired-buffers-for-dir): Handle list values of
7885 dired-directory (Bug#6636).
7887 2010-07-26 Sam Steingold <sds@gnu.org>
7889 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7890 Do not call `x-get-selection' the second time, reuse the value.
7892 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7894 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7895 which consist of control chars only. Suggested by Richard Stallman.
7897 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7899 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7900 exists before passing an error to find-file-not-found-functions
7903 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7905 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7906 Remove leading nil element, adjust values.
7907 (tetris-shapes, tetris-shape-scores):
7908 Change representation of shapes and remove some redundancy.
7909 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7910 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7911 Adjust for working with new representation of shapes.
7912 (tetris-shape-rotations): New function.
7913 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7914 (tetris-rotate-prev, tetris-rotate-next):
7915 Adjust for working with the new version of tetris-test-shape.
7917 2010-07-23 Markus Triska <markus.triska@gmx.at>
7919 * progmodes/ps-mode.el: Use comint (bug#5954).
7920 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7921 (ps-mode-other-newline): Simplify.
7922 (ps-run-mode): Derive from comint-mode instead of
7923 fundamental-mode, yielding input history etc.
7924 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7925 (ps-run-send-string): Adapt for comint-mode.
7926 (ps-run-newline): Remove now unneeded function.
7928 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7930 * net/tramp.el (tramp-methods): Move hostname to the end in all
7931 plink `tramp-login-args'.
7933 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7935 * net/tramp.el (tramp-open-shell): New defun.
7936 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7939 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7941 * net/tramp.el (tramp-file-name-regexp-unified)
7942 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7943 not regard the volume letter as remote filename. (Bug#5447)
7945 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7947 * custom.el (custom-declare-variable): Give a clearer error message
7948 when the docstring is missing (bug#6476).
7950 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7952 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7953 (sql-login-params): New widget definition.
7954 (sql-oracle-login-params, sql-mysql-login-params)
7955 (sql-solid-login-params, sql-sybase-login-params)
7956 (sql-informix-login-params, sql-ingres-login-params)
7957 (sql-ms-login-params, sql-postgres-login-params)
7958 (sql-interbase-login-params, sql-db2-login-params)
7959 (sql-linter-login-params): Use it.
7960 (sql-sqlite-login-params): Use it; Define "database" parameter as
7962 (sql-sqlite-program): Change to "sqlite3".
7963 (sql-comint-sqlite): Make sure database name is complete.
7964 (sql-for-each-login): New function.
7965 (sql-connect, sql-save-connection): Use it.
7966 (sql-get-login-ext): New function.
7967 (sql-get-login): Use it.
7968 (sql-make-alternate-buffer-name): Handle :file parameters.
7970 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7972 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7973 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7975 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7977 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7979 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7981 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7983 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7985 * net/tramp.el (tramp-get-ls-command)
7986 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7989 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7991 * progmodes/sql.el: Version 2.3.
7992 (sql-connection-alist): Change keys from symbols to strings;
7993 enhanced the widget definition.
7994 (sql-mode-menu): Add submenu to select connections.
7995 (sql-interactive-mode-menu): Add "Save Connection" item.
7996 (sql-add-product): Fix menu item.
7997 (sql-get-product-feature): Improved error handling.
7998 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7999 (sql-make-alternate-buffer-name): Simplified.
8000 (sql-product-interactive): Handle missing product.
8001 (sql-connect): Support string keys, minor improvements.
8002 (sql-save-connection): New function.
8003 (sql-connection-menu-filter): New function.
8005 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8007 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8008 (tramp-open-connection-setup-interactive-shell):
8009 Apply workaround for IRIX64 bug. Move argument of last
8010 `tramp-send-command' where it belongs to.
8012 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8014 * net/tramp.el (tramp-perl-file-attributes)
8015 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8016 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8017 front of `login-args'.
8019 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8021 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8022 Set `show-trailing-whitespace' to nil.
8023 (display-time-world-display): Simplify.
8025 2010-07-18 Alan Mackenzie <acm@muc.de>
8027 Enhance `c-file-style' in file/directory local variables.
8028 * progmodes/cc-mode.el (c-count-cfss): New function.
8029 (c-before-hack-hook): Call `c-set-style' differently according to
8030 whether c-file-style was set in file or directory local
8033 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8035 * progmodes/sql.el: Version 2.2.
8036 (sql-product, sql-user, sql-database, sql-server, sql-port):
8037 Use defcustom :safe keyword rather than putting safe-local-variable
8039 (sql-password): Use defcustom :risky keyword rather than putting
8040 risky-local-variable property.
8041 (sql-oracle-login-params, sql-sqlite-login-params)
8042 (sql-solid-login-params, sql-sybase-login-params)
8043 (sql-informix-login-params, sql-ingres-login-params)
8044 (sql-ms-login-params, sql-postgres-login-params)
8045 (sql-interbase-login-params, sql-db2-login-params)
8046 (sql-linter-login-params): Add `port' option.
8047 (sql-get-product-feature): Add NO-INDIRECT parameter.
8048 (sql-comint-oracle, sql-comint-sybase)
8049 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8050 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8051 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8052 (sql-comint-linter): Rename sql-connect-* functions to
8054 (sql-product-alist, sql-mode-menu): Rename as above and
8055 :sqli-connect-func to :sqli-comint-func.
8056 (sql-connection): New variable.
8057 (sql-interactive-mode): Set it.
8058 (sql-connection-alist): New variable.
8059 (sql-connect): New function.
8060 (sql--alt-buffer-part, sql--alt-if-not-empty)
8061 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8063 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8065 * image-mode.el (image-bookmark-make-record): Do not set context
8066 in an image (Bug#6650).
8068 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8070 * simple.el (select-active-region): New function.
8071 (push-mark-command, set-mark, activate-mark)
8072 (handle-shift-selection): Use it.
8073 (deactivate-mark): Don't check for size of region.
8075 * mouse.el (mouse-drag-track): Use select-active-region.
8077 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8079 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8082 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8084 * term/x-win.el (x-select-enable-primary): Change default to nil.
8085 (x-select-enable-clipboard): Add :version keyword.
8087 * mouse.el (mouse-drag-copy-region):
8088 * simple.el (select-active-regions): Likewise.
8090 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8092 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8093 (vc-coding-system-for-diff): Use it to decide whether to inherit
8094 from the file the EOL format for reading the diffs of that file.
8097 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8099 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8100 unibyte, so compressed attachments are not compressed again.
8102 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8104 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8105 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8106 (tramp-find-shell): Simplify setting connection property.
8107 (tramp-get-ls-command): Make test for "--color=never" stronger.
8109 2010-07-15 Simon South <ssouth@member.fsf.org>
8111 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8112 blocks within record declarations (i.e. variant parts) correctly.
8114 2010-07-15 Simon South <ssouth@member.fsf.org>
8116 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8117 over literal tokens when parsing so newlines aren't "absorbed" by
8118 single-line comments. Corrects the indentation of case blocks
8119 that have a comment on the first line.
8121 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8123 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8124 by Drew Adams (Bug#5504).
8126 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8128 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8129 now that Unicode is used (Bug#6594).
8131 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8133 * term/x-win.el (x-select-enable-clipboard): Default to t.
8134 (x-initialize-window-system): Don't overwrite Paste menu item.
8136 * simple.el (select-active-regions): Default to t.
8137 (push-mark-command): Don't overwrite primary with empty string.
8139 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8140 (mouse-drag-copy-region): Default to nil.
8142 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8143 Cut/Copy/Paste menu bar items.
8145 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8147 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8148 Patch applied by Karl Fogel.
8150 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8151 and `bookmark-current-buffer' if they have been already set in
8152 another buffer (e.g gnus-art).
8154 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8155 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8157 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8159 * bookmark.el (bookmark-make-record-default): Allow unneeded
8160 information to be omitted from the record.
8162 Adjust declarations and calls:
8164 * info.el (bookmark-make-record-default): Adjust declaration.
8165 (Info-bookmark-make-record): Adjust call.
8167 * woman.el (bookmark-make-record-default): Adjust declaration.
8168 (woman-bookmark-make-record): Adjust call.
8170 * man.el (bookmark-make-record-default): Adjust declaration.
8171 (Man-bookmark-make-record): Adjust call.
8173 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8175 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8177 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8179 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8180 This is also from Thierry Volpiatto's patch in bug #6444. However,
8181 because it was extraneous to the functional change in that patch,
8182 and causes a re-indendation, I am committing it separately.
8184 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8186 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8187 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8188 Patch applied by Karl Fogel (Bug#6444).
8190 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8192 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8194 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8196 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8197 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8198 (ns-alternatives-map): Change S-tab binding to backtab
8201 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8204 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8206 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8209 * language/tv-util.el (tai-viet-re): Remove format.
8211 2010-07-12 Kenichi Handa <handa@m17n.org>
8213 * language/hebrew.el: Remove no-byte-compile declaration.
8214 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8215 composition-function-table for 3-character looking back.
8216 (hebrew-font-get-precomposed): New function.
8217 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8219 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8221 * mouse.el (mouse-drag-track): Handle select-active-regions
8224 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8226 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8227 empty argument to gvfs-copy.
8229 2010-07-10 Glenn Morris <rgm@gnu.org>
8231 * calendar/calendar.el (calendar-week-end-day): New function.
8232 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8233 Respect calendar-week-start-day. (Bug#6606)
8234 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8235 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8236 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8237 respect calendar-week-start-day.
8239 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8241 * simple.el (use-region-p): Doc fix (Bug#6607).
8243 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8245 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8246 Add regexps for cucumber and ruby.
8248 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8250 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8251 (epa-file-insert-file-contents): Hack to prevent
8252 find-file from opening empty buffer when decryption failed
8255 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8257 * textmodes/ispell.el (ispell-alternate-dictionary):
8258 Use file-readable-p.
8259 Return nil if no word-list is found at default locations.
8260 (ispell-complete-word-dict): Default to nil.
8261 (ispell-command-loop): Use 'word-list' when using lookup-words.
8262 (lookup-words): Use ispell-complete-word-dict or
8263 ispell-alternate-dictionary. Check for word-list availability
8264 and handle errors if needed with better messages (Bug#6539).
8265 (ispell-complete-word): Use ispell-complete-word-dict or
8266 ispell-alternate-dictionary.
8268 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8270 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8271 builtins (BufferError, BytesWarning, WindowsError; callables
8272 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8274 2010-07-07 Glenn Morris <rgm@gnu.org>
8276 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8277 (zone-shift-left): Ignore intangibility, and any errors from
8279 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8280 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8281 deleting, and copying text properties.
8282 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8283 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8284 to point-max is hard.
8285 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8286 (zone-fill-out-screen): Ignore intangibility.
8288 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8290 * menu-bar.el (menu-bar-mode):
8291 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8294 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8295 word/line selection (Bug#6565).
8297 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8299 * net/dbus.el (dbus-send-signal): Declare function.
8301 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8303 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8304 (dbus-register-property): New optional argument EMITS-SIGNAL.
8305 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8307 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8309 * mouse.el (mouse-drag-overlay): Variable deleted.
8310 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8311 (mouse--remap-link-click-p): New function.
8312 (mouse-drag-track): Handle dragging by using temporary Transient
8313 Mark mode, instead of a special overlay.
8314 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8317 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8320 2010-07-02 Juri Linkov <juri@jurta.org>
8322 * autoinsert.el (auto-insert-alist): Fix readability
8323 by using dotted pair notation for lambda.
8325 2010-07-02 Juri Linkov <juri@jurta.org>
8327 * faces.el (read-face-name): Rename arg `string-describing-default'
8328 to `default'. Doc fix. Display the default value in quotes
8329 in the prompt. With empty input, return the `default' arg,
8330 unless the default value is a string (in which case return nil).
8331 (describe-face): Replace the string `default' arg of `read-face-name'
8332 with the symbol `default'.
8334 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8336 * emulation/viper-cmd.el (viper-delete-backward-char)
8337 (viper-del-backward-char-in-insert)
8338 (viper-del-backward-char-in-replace, viper-change)
8339 (viper-backward-indent): Replace delete-backward-char with
8340 delete-char (Bug#6552).
8342 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8344 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8346 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8348 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8349 argument passed to frame-creation-function (Bug#5378).
8351 * faces.el (x-handle-named-frame-geometry)
8352 (x-handle-reverse-video, x-create-frame-with-faces)
8353 (face-set-after-frame-default, tty-create-frame-with-faces):
8354 Don't separately consult default-frame-alist. It is now passed as the
8357 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8359 * startup.el (command-line): Don't call tool-bar-setup in a
8362 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8364 * ruler-mode.el (ruler--save-header-line-format): New fun.
8365 (ruler-mode): Use it as a setter function, so as not to overwrite
8366 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8368 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8370 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8371 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8372 (vc-log-outgoing): Use it.
8373 (vc-diff-internal): Set diff-vc-backend.
8375 * vc/diff-mode.el (diff-vc-backend): New var.
8377 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8379 * dynamic-setting.el (font-setting-change-default-font):
8380 Remove call to message.
8382 2010-06-28 Kenichi Handa <handa@m17n.org>
8384 * international/quail.el (quail-insert-kbd-layout): Fix the
8385 showing of untranslated characters.
8387 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8389 * simple.el (delete-active-region): New option.
8390 (delete-backward-char): Implement in Lisp.
8391 (delete-forward-char): New command.
8393 * mouse.el (mouse-region-delete-keys): Deleted.
8394 (mouse-show-mark): Simplify.
8396 * bindings.el (global-map): Bind delete and DEL, the former to
8397 delete-forward-char.
8399 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8401 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8402 (ruby-mode): Bind indent-line-function (Bug#5119).
8404 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8406 * startup.el (command-line): Recognize "0" X resource value.
8408 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8410 * startup.el (command-line): Use X resources to set the value of
8411 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8413 * menu-bar.el (menu-bar-mode):
8414 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8415 Set init-value to t.
8417 * frame.el (frame-notice-user-settings): Don't change
8418 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8419 vice versa (Bug#2249).
8421 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8423 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8425 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8427 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8428 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8430 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8431 default directories are expanded (Bug#6143).
8433 2010-06-24 Juri Linkov <juri@jurta.org>
8435 * minibuffer.el (completions-format): Change default from nil to
8436 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8438 2010-06-24 Juri Linkov <juri@jurta.org>
8440 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8441 buffer-locally to lambda that re-runs the vc diff command.
8444 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8446 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8447 echo area is in use (Bug#3412).
8449 2010-06-22 Glenn Morris <rgm@gnu.org>
8451 * textmodes/texinfmt.el (texinfo-format-region)
8452 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8453 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8454 (texinfo-format-option, texinfo-noindent):
8455 Use line-beginning-position and line-end-position.
8457 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8458 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8459 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8462 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8464 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8465 forward-line fallout.
8467 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8469 * mouse.el (mouse-appearance-menu): Add docstring.
8471 * help.el (describe-key): Print up-event using key-description.
8473 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8475 * net/zeroconf.el (zeroconf-resolve-service)
8476 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8477 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8479 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8481 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8483 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8485 Avoid displaying files with a nil state in vc-dir.
8486 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8487 cases that cause insertion.
8488 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8491 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8493 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8495 2010-06-29 Leo <sdl.web@gmail.com>
8497 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8499 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8501 * generic-x.el (bat-generic-mode): Fix regexp for command line
8502 switches (Bug#5719).
8504 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8506 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8507 of nconc to avoid pure storage error (Bug#6239).
8509 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8511 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8512 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8513 bindings of bookmark-automatically-show-annotations (Bug#6515).
8515 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8517 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8518 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8520 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8522 * comint.el (make-comint, make-comint-in-buffer): Mention return
8523 value in the docstrings. (Bug#6498)
8525 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8527 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8528 since it is not present when using some non-default switches.
8530 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8532 * simple.el (compose-mail): Fix doc string to refer to
8533 `compose-mail-user-agent-warnings', instead of to the
8534 nonexistent `compose-mail-check-user-agent'.
8536 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8538 Fix an indentation bug:
8540 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8541 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8544 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8545 (c-clear->-pair-props-if-match-before): now return t when they've
8546 cleared properties, nil otherwise.
8547 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8548 by taking account of the existing value.
8550 * progmodes/cc-defs.el
8551 (c-clear-char-property-with-value-function): Fix this to clear the
8552 property rather than overwriting it with nil.
8554 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8556 * emacs-lisp/package.el (package-print-package): Add link to
8557 package description via describe-package.
8558 (describe-package-1): List package requirements. Add button to
8559 perform installation.
8560 (package-menu-describe-package): New command.
8562 * help-mode.el (help-package): New button type.
8564 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8566 * emacs-lisp/package.el: Move package-list-packages binding to
8568 (describe-package, describe-package-1, package--dir): New funs.
8569 (package-activate-1): Use package--dir.
8571 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8573 * help-mode.el (help-package-def): New button type.
8575 * menu-bar.el: Move package-list-packages binding here from
8578 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8580 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8582 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8584 * emacs-lisp/edebug.el (edebug-read-list):
8585 Phase out old-style backquotes.
8587 2010-06-17 Juri Linkov <juri@jurta.org>
8589 * help-mode.el (help-mode): Set buffer-local variable
8590 revert-buffer-function to help-mode-revert-buffer.
8591 (help-mode-revert-buffer): New function.
8593 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8594 before popping to "*info*" (like in other Info functions).
8595 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8596 old-history-forward. Pop to old-buffer-name or "*info*" to
8597 recreate the killed buffer. Set Info-history-forward from
8598 old-history-forward.
8599 (Info-breadcrumbs-depth): Add :group and :version.
8601 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8603 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8605 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8607 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8608 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8610 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8612 * emacs-lisp/package.el (package-menu-mode-map):
8613 Move initialization into declaration.
8615 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8617 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8619 * emacs-lisp/package.el (package-archive-base): Point to
8621 (package-enable, package-load-list): New defcustoms.
8622 (package-user-dir, package-directory-list): Turn into defcustoms.
8623 Don't include package-user-dir in package-directory-list.
8624 (package--builtins-base): Don't include Emacs as a "package".
8625 (package-subdirectory-regexp): New var.
8626 (package-load-all-descriptors, package-compute-transaction)
8627 (package-download-transaction): Obey package-load-list.
8628 (package-activate-1): Rename from package-do-activate.
8629 (package-list-packages-internal): Check package-load-list.
8630 (package-load-descriptor, package-generate-autoloads)
8631 (package-unpack, package-unpack-single)
8632 (package--read-archive-file, package-delete):
8633 Use expand-file-name.
8635 * emacs-lisp/package-x.el: New file. Package uploading
8636 functionality split out from package.el.
8638 * startup.el (command-line): Load packages after reading init file.
8640 2010-06-17 Tom Tromey <tromey@redhat.com>
8642 * emacs-lisp/package.el: New file.
8644 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8646 Fix vc-annotate for renamed files when using Git.
8647 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8648 ls-files. Doe not pass the object as a file name to cat-file, it
8650 (vc-git-annotate-command): Pass the file name using -- to avoid
8651 ambiguity with the revision.
8652 (vc-git-previous-revision): Pass a relative file name.
8654 2010-06-22 Glenn Morris <rgm@gnu.org>
8656 * progmodes/js.el (js-mode-map): Use standard capitalization and
8657 ellipses for menu entries.
8659 * wid-edit.el (widget-complete): Doc fix.
8661 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8663 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8665 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8667 Fix annotating other revisions for renamed files in vc-annotate.
8668 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8669 VC backend. Use it when non-nil.
8670 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8673 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8674 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8675 Do not pass the file name to the 'previous-revision call when we
8676 don't want a file diff. (Bug#6489)
8678 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8680 Fix finding revisions for renamed files in vc-annotate.
8681 * vc/vc.el (vc-find-revision): Add an optional argument for
8682 the VC backend. Use it when non-nil.
8683 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8684 backend to vc-find-revision. (Bug#6487)
8686 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8688 Fix reading file names in Git annotate buffers.
8689 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8690 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8692 2010-06-20 Alan Mackenzie <acm@muc.de>
8694 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8695 in file local variables, set it first.
8697 2010-06-19 Glenn Morris <rgm@gnu.org>
8699 * descr-text.el (describe-char-unicode-data): Insert separating
8700 space when needed. (Bug#6422)
8702 * progmodes/idlwave.el (idlwave-action-and-binding):
8703 Fix typo in 2009-12-03 change. (Bug#6450)
8705 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8707 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8708 handling for `lambda' (misunderstanding).
8710 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8712 * calc/calc-poly.el (math-accum-factors): Make sure that
8713 constants aren't distributed after they are factored out.
8715 2010-06-16 Juri Linkov <juri@jurta.org>
8717 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8718 `list-colors-print'. (Bug#6332)
8720 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8722 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8724 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8725 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8727 * font-lock.el (font-lock-major-mode): Rename from
8728 font-lock-mode-major-mode to distinguish it from
8729 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8730 (font-lock-set-defaults):
8731 * font-core.el (font-lock-default-function): Adjust users.
8732 (font-lock-mode): Don't set it at all.
8734 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8736 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8738 2010-06-16 Glenn Morris <rgm@gnu.org>
8740 * calendar/appt.el (appt-time-msg-list): Doc fix.
8741 (appt-check): Let-bind appt-warn-time.
8742 (appt-add): Make the 3rd argument optional.
8743 Simplify argument names. Doc fix. Check for integer WARNTIME.
8744 Only add WARNTIME to the output list if non-nil.
8746 2010-06-16 Ivan Kanis <apple@kanis.eu>
8748 * calendar/appt.el (appt-check): Let the 3rd element of
8749 appt-time-msg-list specify the warning time.
8750 (appt-add): Add new argument with the warning time. (Bug#5176)
8752 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8754 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8755 older than version 1.6. (Bug#6361)
8757 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8759 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8760 used by cl-do-arglist. (Bug#6408)
8762 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8764 * textmodes/ispell.el (ispell-dictionary-base-alist):
8765 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8766 Suggested by Rolando Pereira (bug#6434).
8768 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8770 * facemenu.el (list-colors-sort): Doc fix.
8772 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8774 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8776 2010-06-14 Juri Linkov <juri@jurta.org>
8778 Add sort option `list-colors-sort'. (Bug#6332)
8779 * facemenu.el (color-rgb-to-hsv): New function.
8780 (list-colors-sort): New defcustom.
8781 (list-colors-sort-key): New function.
8782 (list-colors-display): Doc fix. Sort list according to the option
8784 (list-colors-print): Add HSV values to `help-echo' property of
8787 2010-06-14 Juri Linkov <juri@jurta.org>
8789 * compare-w.el: Move to the "vc" subdirectory.
8791 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8793 * image-mode.el (image-mode-map): Remap left-char and right-char.
8795 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8797 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8799 * term/common-win.el (x-colors): Add all the color names defined
8800 in rgb.txt (Bug#6332).
8802 * facemenu.el (list-colors-print): Don't print extra names if it
8803 will overflow the window width.
8805 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8808 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8810 * files.el (make-directory): Doc fix (bug#6396).
8812 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8814 * net/tramp.el (tramp-remote-process-environment): Protect version
8815 string by apostroph.
8816 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8818 (tramp-file-name-for-operation): Add `call-process-region'.
8819 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8821 * net/tramp-compat.el (top): Do not autoload
8822 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8823 only when `start-file-process' is not bound.
8824 (tramp-advice-file-expand-wildcards): Do not use
8825 `tramp-handle-file-remote-p'.
8826 (tramp-compat-make-temp-file): Handle the case, that
8827 `make-temp-file' has no third argument EXTENSION.
8829 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8831 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8833 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8835 2010-06-11 Juri Linkov <juri@jurta.org>
8837 * finder.el (finder-known-keywords): Add keyword "vc"
8838 for version control.
8840 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8841 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8842 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8843 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8845 2010-06-11 Juri Linkov <juri@jurta.org>
8847 Move version control related files to the "vc" subdirectory.
8848 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8849 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8850 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8851 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8852 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8853 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8854 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8855 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8856 Move files to the "vc" subdirectory.
8858 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8860 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8863 2010-06-11 Stephen Eglen <stephen@gnu.org>
8865 * shell.el: Bind `shell-resync-dirs' to M-RET.
8867 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8869 * notifications.el: Move file from lisp/net, because it is
8870 supposed to talk locally to the user.
8872 2010-06-10 Julien Danjou <julien@danjou.info>
8874 * net/notifications.el (notifications-on-action-signal)
8875 (notifications-on-closed-signal): Pass notification id as first
8876 argument to the callback functions. Add docstrings.
8877 (notifications-notify): Fix docstring.
8879 2010-06-10 Glenn Morris <rgm@gnu.org>
8881 * emacs-lisp/authors.el (authors-ignored-files)
8882 (authors-valid-file-names): Add some files.
8884 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8886 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8887 merge conflict, giving preference to the emacs-23 version of the code.
8889 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8891 * emacs-lisp/advice.el (ad-compile-function):
8892 Define warning-suppress-types before we let-bind it (bug#6275).
8894 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8895 declare it, make it buffer-local and permanent-local (bug#6324).
8896 (vc-resynch-window): Adjust name.
8897 * vc-hooks.el (vc-find-file-hook): Adjust name.
8899 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8901 * net/notifications.el (notifications-notify): Fix docstring.
8903 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8905 Update to Unicode 6.0.0 beta.
8906 * international/charprop.el: Update copyright.
8907 * international/mule-cmds.el (ucs-names): Update character ranges.
8908 * international/uni-bidi.el:
8909 * international/uni-category.el:
8910 * international/uni-combining.el:
8911 * international/uni-comment.el:
8912 * international/uni-decimal.el:
8913 * international/uni-decomposition.el:
8914 * international/uni-digit.el:
8915 * international/uni-lowercase.el:
8916 * international/uni-mirrored.el:
8917 * international/uni-name.el:
8918 * international/uni-numeric.el:
8919 * international/uni-old-name.el:
8920 * international/uni-titlecase.el:
8921 * international/uni-uppercase.el: Regenerate.
8923 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8925 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8926 (smie-precs-precedence-table): Fix typo in docstring.
8928 * vc-mtn.el (log-edit-extract-headers): Declare function.
8930 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8932 * net/notifications.el (dbus-register-signal): Declare function.
8933 (notifications-notify): Fix typos and reflow docstring.
8935 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8937 Improve VC create/retrieve tag/branch.
8938 * vc.el (vc-create-tag): Do not read the directory name for VCs
8939 with repository revision granularity. Adjust the tag/branch
8940 prompt. Reset VC properties.
8941 (vc-retrieve-tag): Do not read the directory name for VCs
8942 with repository revision granularity. Reset VC properties.
8944 2010-06-09 Julien Danjou <julien@danjou.info>
8946 * net/notifications.el: New file.
8948 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8950 Add optional support for resetting VC properties.
8951 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8952 call vc-file-clearprops when true.
8953 (vc-resynch-buffer): Add new optional argument, pass it down.
8954 (vc-resynch-buffers-in-directory): Likewise.
8956 Improve support for special markup in the VC commit message.
8957 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8958 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8959 * vc-git.el (vc-git-checkin):
8960 * vc-bzr.el (vc-bzr-checkin): Likewise.
8962 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8964 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8965 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8967 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8969 * iimage.el: Remove images as soon as the underlying text is modified.
8970 (iimage-modification-hook): New function.
8971 (iimage-mode-buffer): Use it.
8973 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8975 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8976 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8977 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8978 (smie-indent-keyword): Add handling of open-paren keywords.
8979 (smie-indent-comment-continue): Don't assume comment-continue.
8981 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8983 * window.el (pop-to-buffer): Remove the conditional that
8984 compares new-window and old-window, so it will reselect
8985 the selected window unconditionally.
8986 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8988 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8990 * emacs-lisp/smie.el (smie-indent-offset-after)
8991 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8992 (smie-indent-after-keyword): Use them.
8993 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8994 (smie-indent-keyword): Tweak the black magic.
8995 (smie-indent-comment-continue): Strip comment-continue before use.
8996 (smie-indent-functions): Indent comments before keywords.
8998 2010-06-06 Juri Linkov <juri@jurta.org>
9000 * isearch.el (isearch-lazy-highlight-search): Fix looping
9001 by checking for empty match. This syncs this loop with the
9002 similar loop in `isearch-search'. (Bug#6362)
9004 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9006 * net/dbus.el (dbus-register-method): Declare function.
9007 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9008 (dbus-introspect): Doc fix.
9009 (dbus-event-bus-name, dbus-introspect-get-interface)
9010 (dbus-introspect-get-argument): Reflow docstrings.
9012 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9014 vc-log-incoming/vc-log-outgoing fixes for Git.
9015 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9016 incoming/outgoing logs.
9017 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9018 instead of vc-git-compute-remote.
9019 (vc-git-compute-remote): Remove.
9021 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9023 * term/common-win.el (x-colors): Add "dark green" and "dark
9024 turquoise" (Bug#6332).
9026 2010-06-04 Juri Linkov <juri@jurta.org>
9028 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9029 Instead of setting `replace' to t and replacing the same string
9030 with itself, don't do certain actions when
9031 kill-do-not-save-duplicates is non-nil and string is equal to car
9032 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9033 interprogram-paste strings to kill-ring, and don't push the input
9034 argument `string' to kill-ring.
9035 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9037 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9039 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9041 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9043 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9044 (tramp-gvfs-handler-mounted-unmounted)
9045 (tramp-gvfs-connection-mounted-p): Handle default-location.
9047 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9048 move files to trash.
9050 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9052 * international/mule-cmds.el (nonascii-insert-offset)
9053 (nonascii-translation-table): Add obsolescence information.
9055 * international/mule.el (make-translation-table-from-vector): Doc fix.
9057 2010-06-03 Glenn Morris <rgm@gnu.org>
9059 * desktop.el (desktop-clear-preserve-buffers):
9060 Add "*Warnings*" buffer. (Bug#6336)
9062 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9064 vc-log-incoming/vc-log-outgoing improvements for Git.
9065 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9067 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9069 Add bindings for vc-log-incoming and vc-log-outgoing.
9070 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9071 and vc-log-outgoing.
9072 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9073 and vc-log-outgoing.
9075 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9077 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9078 (rcirc-handler-366): Always sort nicknames.
9080 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9082 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9084 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9086 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9088 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9090 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9091 (rcirc-sort-nicknames-join): Avoid setq.
9093 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9095 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9096 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9097 (rcirc-handler-366): Use them.
9099 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9101 Split smie-indent-calculate into more manageable chunks.
9102 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9103 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9104 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9105 (smie-indent-exps): Extract from smie-indent-calculate.
9106 (smie-indent-functions): New var.
9107 (smie-indent-functions): Use them.
9109 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9111 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9112 (smie-indent-calculate): Simplify and cleanup.
9114 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9116 * net/tramp-gvfs.el (top): Require url-util.
9117 (tramp-gvfs-mount-point): Remove.
9118 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9120 (with-tramp-dbus-call-method): Format trace message.
9121 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9122 Implement backup call, when operation on local files fails.
9123 Use progress reporter. Flush properties of changed files.
9124 (tramp-gvfs-handle-make-directory): Make more traces.
9125 (tramp-gvfs-url-file-name): Hexify file name in url.
9126 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9127 into account for the resulting file name.
9128 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9129 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9130 (tramp-gvfs-handler-mounted-unmounted)
9131 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9132 attribute "default_location". Set "prefix" property.
9133 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9134 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9135 exists. Raise an error, if not (due to a corresponding answer
9136 "no" in interactive questions, for example).
9138 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9140 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9142 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9144 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9147 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9149 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9150 * vc-git.el (vc-git-compute-remote): New function.
9151 (vc-git-log-outgoing): Use it instead of hard coding a value.
9152 (vc-git-log-incoming): New function.
9154 Improve state updating for VC tag commands.
9155 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9156 to update the state of all buffers in the directory.
9158 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9160 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9162 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9163 `file-directory-p' to the filename part rather than to the whole text.
9165 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9167 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9169 2010-05-31 Drew Adams <drew.adams@oracle.com>
9171 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9173 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9175 * subr.el (momentary-string-display): Just use read-event to read
9176 the exit event (Bug#6238).
9178 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9180 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9182 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9184 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9185 Suggested by Eli Zaretskii <eliz@gnu.org>.
9187 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9189 * minibuffer.el (completion-file-name-table): Don't return a boundary
9190 past the end of `string' (bug#6299).
9191 (completion--file-name-table): Delegate to completion-file-name-table
9192 for the `boundaries' case.
9194 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9196 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9199 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9200 `path-separator', but maintain compatibility with Emacs 20.2.
9202 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9204 * server.el (server-process-filter): Receive parent-id argument
9206 (server-create-window-system-frame): New arg. Pass parent-id as
9209 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9211 Bidi-sensitive word movement with arrow keys.
9212 * subr.el (right-arrow-command, left-arrow-command): Move to
9215 * bindings.el (right-char, left-char): Move from subr.el and
9216 rename from right-arrow-command and left-arrow-command.
9217 (right-word, left-word): New functions.
9218 (global-map) <right>: Bind to right-char.
9219 (global-map) <left>: Bind to left-char.
9220 (global-map) <C-right>: Bind to right-word.
9221 (global-map) <C-left>: Bind to left-word.
9223 * ls-lisp.el (ls-lisp-classify-file): New function.
9224 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9225 (ls-lisp-classify): Call ls-lisp-classify-file.
9226 (insert-directory): Remove blanks from switches.
9228 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9230 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9231 (ansi-color-drop-regexp): New constant.
9232 (ansi-color-apply, ansi-color-filter-region)
9233 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9234 (ansi-color-apply): Build string list before calling concat.
9236 2010-05-28 Juri Linkov <juri@jurta.org>
9238 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9239 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9242 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9244 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9245 to ignored backtrace functions.
9246 (with-progress-reporter): Expand docstring.
9247 (tramp-handle-delete-file): Implement TRASH argument.
9248 (tramp-get-remote-trash): New defun.
9250 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9252 * net/tramp-compat.el (tramp-compat-delete-file):
9253 Use `symbol-value' for backward compatibility.
9255 * net/tramp.el (tramp-handle-make-symbolic-link)
9257 (tramp-do-copy-or-rename-file-via-buffer)
9258 (tramp-do-copy-or-rename-file-directly)
9259 (tramp-do-copy-or-rename-file-out-of-band)
9260 (tramp-handle-process-file, tramp-handle-call-process-region)
9261 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9262 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9263 (tramp-delete-temp-file-function): Use `delete-file' instead
9264 of `tramp-compat-delete-file'.
9266 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9267 (tramp-fish-handle-make-symbolic-link)
9268 (tramp-fish-handle-process-file): Use `delete-file' instead
9269 of `tramp-compat-delete-file'.
9271 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9272 Use `delete-file' instead of `tramp-compat-delete-file'.
9274 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9275 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9276 `tramp-compat-delete-file'.
9278 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9279 Use `delete-file' instead of `tramp-compat-delete-file'.
9281 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9282 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9283 (tramp-smb-handle-write-region): Use `delete-file' instead of
9284 `tramp-compat-delete-file'.
9285 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9287 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9289 * dired.el (dired-delete-file): New arg TRASH.
9290 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9291 (dired-do-flagged-delete, dired-do-delete): Use trash.
9293 * speedbar.el (speedbar-item-delete): Allow trashing.
9295 * files.el (delete-directory): New arg TRASH.
9297 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9298 (ange-ftp-rename-remote-to-remote)
9299 (ange-ftp-rename-local-to-remote)
9300 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9301 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9303 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9306 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9307 handle new TRASH arg of `delete-file'.
9309 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9310 (tramp-handle-make-symbolic-link, tramp-handle-load)
9311 (tramp-do-copy-or-rename-file-via-buffer)
9312 (tramp-do-copy-or-rename-file-directly)
9313 (tramp-do-copy-or-rename-file-out-of-band)
9314 (tramp-handle-process-file, tramp-handle-call-process-region)
9315 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9316 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9317 (tramp-delete-temp-file-function): Use null TRASH arg in
9318 tramp-compat-delete-file call.
9320 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9321 (tramp-fish-handle-delete-file)
9322 (tramp-fish-handle-make-symbolic-link)
9323 (tramp-fish-handle-process-file): Use null TRASH arg in
9324 `tramp-compat-delete-file' call.
9326 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9327 arg in `tramp-compat-delete-file' call.
9329 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9330 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9331 `tramp-compat-delete-file' call.
9333 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9334 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9335 `tramp-compat-delete-file' call.
9337 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9338 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9339 (tramp-smb-handle-write-region): Use null TRASH arg in
9340 tramp-compat-delete-file call.
9341 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9342 (tramp-smb-handle-delete-file): Rename arg.
9344 * diff.el (diff-sentinel):
9345 * epg.el (epg--make-temp-file, epg-decrypt-string)
9346 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9347 * jka-compr.el (jka-compr-partial-uncompress)
9348 (jka-compr-call-process, jka-compr-write-region):
9349 * server.el (server-sentinel): Remove optional arg from
9350 delete-file, reverting 2010-05-03 change.
9352 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9354 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9355 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9357 2010-05-27 Kenichi Handa <handa@m17n.org>
9359 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9360 element of GSTRING is nil.
9362 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9364 * emacs-lisp/smie.el (smie-forward-token-function)
9365 (smie-backward-token-function): New vars.
9366 (smie-backward-sexp, smie-forward-sexp)
9367 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9368 (smie-default-backward-token): Rename from smie-backward-token and
9370 (smie-default-forward-token): Rename from smie-forward-token and
9372 (smie-next-sexp): Handle nil results from next-token.
9373 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9375 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9377 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9378 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9380 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9382 * htmlfontify.el (hfy-face-resolve-face): New function.
9383 (hfy-face-to-style): Use it (Bug#6279).
9385 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9387 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9388 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9390 2010-05-26 Glenn Morris <rgm@gnu.org>
9392 * emulation/edt.el (edt-load-keys): Use locate-library.
9394 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9396 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9397 (log-edit-changelog-entries): Doc fix.
9398 (log-edit-changelog-insert-entries): Args changed.
9399 Rename relative filenames in ChangeLog entries. Delete tabs.
9400 (log-edit-insert-changelog-entries): Reorganize return value of
9401 `log-edit-changelog-entries' to pass filenames to
9402 log-edit-changelog-insert-entries.
9404 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9406 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9407 `image-dired-dired-insert-marked-thumbs' to
9408 `image-dired-dired-toggle-marked-thumbs'.
9410 * image-dired.el: Require cl when compiling.
9411 (image-dired-dired-toggle-marked-thumbs): Rename from
9412 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9413 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9414 to 'no-dir. Skip files whose names don't match
9415 `image-file-name-regexp'. When file has a thumbnail overlay,
9416 delete it. (Bug#5270)
9418 2010-05-25 Juri Linkov <juri@jurta.org>
9420 * image-mode.el (image-mode): Add image-after-revert-hook to
9422 (image-after-revert-hook): New function. (Bug#5669)
9424 2010-05-25 Juri Linkov <juri@jurta.org>
9426 * image.el (image-animated-p): When delay between animated images
9427 is 0, set it to 10 (0.1 sec). (Bug#6258)
9429 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9431 * net/tramp.el (tramp-handle-insert-directory): Don't use
9432 `forward-word', its default syntax could be changed.
9434 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9436 * net/tramp.el (tramp-progress-reporter-update): New defun.
9437 (with-progress-reporter): Use it.
9438 (tramp-process-actions):
9439 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9440 Preserve current message, in order to let progress reporter continue
9441 afterwards. (Bug#6257)
9443 2010-05-25 Glenn Morris <rgm@gnu.org>
9445 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9448 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9450 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9451 (rcirc-default-full-name): Change to "unknown".
9452 (rcirc-user-name-history): Add variable.
9454 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9455 Jonathan Rockway <jon@jrock.us>
9457 * net/rcirc.el (rcirc-server-alist): Add :pass.
9458 (rcirc): When prompting for connection parameters, also prompt for
9459 username and password.
9460 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9461 value to server when connecting.
9463 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9465 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9466 (smie-merge-prec2s): Pass the tables as separate args.
9467 (smie-bnf-precedence-table): Adjust call accordingly.
9468 (smie-prec2-levels): Set levels at the end.
9470 Replace Lisp calls to delete-backward-char by delete-char.
9471 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9472 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9473 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9474 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9475 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9476 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9477 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9478 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9479 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9480 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9481 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9482 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9483 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9484 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9485 delete-backward-char by calls to delete-char.
9487 2010-05-25 Kenichi Handa <handa@m17n.org>
9489 * language/hebrew.el (hebrew-shape-gstring): New function.
9490 Register it in composition-function-table for all Hebrew combining
9493 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9495 * epa.el (epa--select-keys): Don't explicitly delete the window since
9496 that can fail (e.g. sole window in frame). Use dedication instead.
9498 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9500 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9502 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9504 * image.el (image-refresh): Define as an alias for image-flush.
9506 * image-mode.el (image-toggle-display-image): Caller changed.
9508 2010-05-21 Juri Linkov <juri@jurta.org>
9510 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9511 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9512 whitespace, call wildcard-to-regexp on substrings and concat them
9513 with "\\|". (Bug#6114)
9515 2010-05-21 Alan Mackenzie <acm@muc.de>
9517 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9518 Replace parameter `here' with `here-' and `here-plus', which sandwich
9519 any pertinent CPP construct.
9520 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9521 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9522 CPP construct from taking part in the scanning.
9524 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9526 * net/tramp.el (tramp-do-copy-or-rename-file)
9527 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9528 Tune `with-progress-reporter' messages.
9529 (tramp-handle-vc-registered):
9530 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9531 (tramp-fish-handle-insert-file-contents)
9532 (tramp-fish-maybe-open-connection):
9533 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9534 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9535 (tramp-imap-handle-insert-file-contents)
9536 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9538 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9540 * add-log.el (change-log-font-lock-keywords):
9541 Highlight all authors in multi-author entries.
9543 * smerge-mode.el (smerge-refine-ignore-whitespace)
9544 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9545 Fix typos in docstrings.
9546 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9548 2010-05-21 Glenn Morris <rgm@gnu.org>
9550 * progmodes/fortran.el (fortran-mode):
9551 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9553 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9554 having a relative path in src/Makefile.in.
9556 2010-05-20 Kevin Ryde <user42@zip.com.au>
9558 * help-mode.el (help-make-xrefs): For Info node links turn
9559 newlines into spaces. Link node names with newlines are matched
9560 by help-xref-info-regexp and buttonized, this change ensures they
9561 can be followed successfully with RET. (Bug#6206)
9563 2010-05-20 Juri Linkov <juri@jurta.org>
9565 * locate.el (locate): Use pop-to-buffer instead of
9566 switch-to-buffer-other-window. (Bug#6204)
9568 2010-05-20 Juri Linkov <juri@jurta.org>
9570 * replace.el (replace-highlight): Fix lazy-highlighting
9571 for `M-s w str M-% str RET'.
9573 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9575 * isearch.el (isearch-yank-word-or-char): Pull next subword
9576 when `subword-mode' is activated. (Bug#6220)
9578 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9580 * isearch.el (isearch-update-post-hook): New hook.
9581 (isearch-update): Use the new hook. (Bug#6225)
9583 2010-05-20 Juri Linkov <juri@jurta.org>
9585 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9586 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9589 2010-05-20 Juri Linkov <juri@jurta.org>
9591 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9594 2010-05-20 Juri Linkov <juri@jurta.org>
9596 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9597 FILE-NAME to read from the minibuffer when called interactively
9598 with prefix argument instead of using buffer-file-name.
9599 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9601 * dired.el: Update autoloads.
9603 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9605 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9606 nxml-finish-element, for consistency with SGML mode.
9608 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9611 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9613 * composite.el: Require cl when compiling.
9614 (reference-point-alist, compose-gstring-for-graphic)
9615 (compose-gstring-for-terminal): Fix typos in docstrings.
9617 2010-05-19 Juri Linkov <juri@jurta.org>
9619 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9620 set-window-parameter.
9622 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9624 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9626 (tramp-maybe-open-connection): Use it.
9628 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9630 * simple.el (move-end-of-line): Make sure we are at line beginning
9631 before backing up to end of previous line.
9633 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9635 * password-cache.el (password-cache-remove): Fix docstring.
9637 * net/secrets.el: Autoload the widget functions.
9638 (secrets-search-items, secrets-create-item)
9639 (secrets-get-attributes, secrets-expand-item): Attributes will be
9640 stored on the password database without leading ":", as all other
9642 (secrets-mode): Fix docstring.
9643 (secrets-show-secrets): Provide it as autoloaded command only when
9644 D-Bus support is available. Check existence of Secret Service API.
9646 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9648 * indent.el (indent-region): Deactivate region (bug#6200).
9650 2010-05-19 Glenn Morris <rgm@gnu.org>
9652 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9654 2010-05-19 Kenichi Handa <handa@m17n.org>
9656 * composite.el: Register compose-gstring-for-graphic in
9657 composition-function-table only for combining characters (Mn, Mc, Me).
9659 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9661 * calc/calc-trail.el (calc-trail-isearch-forward)
9662 (calc-trail-isearch-backward): Ensure that the new window
9663 point is set correctly.
9665 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9667 * subr.el (read-quoted-char): Resolve modifiers after key
9668 remapping (bug#6212).
9670 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9672 Add visualization code for secrets.
9673 * net/secrets.el (secrets-mode): New major mode.
9674 (secrets-show-secrets, secrets-show-collections)
9675 (secrets-expand-collection, secrets-expand-item)
9676 (secrets-tree-widget-after-toggle-function)
9677 (secrets-tree-widget-show-password): New defuns.
9679 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9681 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9682 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9683 handled in smie-next-sexp.
9684 (smie-indent-calculate): Provide a starting indentation (so the
9685 recursion is well-founded ;-).
9687 Fix handling of non-associative equal levels.
9688 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9689 when it's not needed.
9690 (smie-op-left, smie-op-right): New functions.
9691 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9692 Better handle equal levels to distinguish the associative case from
9693 the "multi-keyword construct" case.
9694 (smie-backward-sexp, smie-forward-sexp): Use it.
9696 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9698 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9700 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9701 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9703 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9705 Provide a simple generic indentation engine and use it for Prolog.
9706 * emacs-lisp/smie.el: New file.
9707 * progmodes/prolog.el (prolog-smie-op-levels)
9708 (prolog-smie-indent-rules): New var.
9709 (prolog-mode-variables): Use them to configure SMIE.
9710 (prolog-indent-line, prolog-indent-level): Remove.
9712 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9714 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9715 order before computing the averages.
9717 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9719 * calc/calc-vec.el (calc-histogram):
9720 (calcFunc-histogram): Allow vectors as inputs.
9721 (math-vector-avg): New function.
9723 * calc/calc-ext.el (math-group-float): Have the number of digits
9724 being grouped depend on the radix (Bug#6189).
9726 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9728 * version.el (emacs-copyright, emacs-version): Don't define here,
9729 now that emacs.c defines it.
9731 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9733 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9734 "Describe Language Environment" menu item.
9736 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9738 Bidi-sensitive movement with arrow keys.
9739 * subr.el (right-arrow-command, left-arrow-command): New functions.
9741 * bindings.el (global-map): Bind them to right and left arrow keys.
9743 Don't override standard definition of convert-standard-filename.
9744 * files.el (convert-standard-filename):
9745 Call w32-convert-standard-filename and dos-convert-standard-filename on
9746 the corresponding systems.
9748 * w32-fns.el (w32-convert-standard-filename): Rename from
9749 convert-standard-filename. Doc fix.
9751 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9752 (convert-standard-filename): Don't defalias.
9753 (register-name-alist, make-register, register-value)
9754 (set-register-value, intdos): Obsolete aliases for the
9755 corresponding dos-* functions and variables.
9756 (dos-intdos): Add a doc string.
9758 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9760 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9761 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9762 (math-compose-tex-func):
9763 * calc/calccomp.el (math-compose-expr):
9764 * calc/calc-ext.el (math-format-flat-expr-fancy):
9765 * calc/calc-store.el (calc-read-var-name):
9766 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9768 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9769 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9770 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9771 (math-standard-units): Add units.
9773 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9775 * progmodes/asm-mode.el (asm-mode):
9776 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9778 * pcomplete.el (pcomplete-completions-at-point): New function,
9779 extracted from pcomplete-std-complete.
9780 (pcomplete-std-complete): Use it.
9782 2010-05-15 Glenn Morris <rgm@gnu.org>
9784 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9785 Remove references to CVS, RCS and Old directories.
9787 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9789 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9792 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9794 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9795 (sh-mode-syntax-table): Give it a default value instead.
9796 (sh-header-marker): Make buffer-local.
9797 (sh-mode): Move make-local-variable to the corresponding setq.
9798 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9799 Use complete-with-action.
9801 * simple.el (prog-mode): New (abstract) major mode.
9802 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9803 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9805 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9807 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9808 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9809 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9810 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9811 (sql-escape-newlines-filter, sql-input-sender)
9812 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9814 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9816 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9818 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9819 latex-open-block and C-c / to latex-close-block.
9821 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9822 and C-c C-e to sgml-close-tag.
9824 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9826 * net/tramp.el (with-progress-reporter): Create reporter object
9827 only when the message would be displayed. Handle nested calls.
9828 (tramp-handle-load, tramp-handle-file-local-copy)
9829 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9830 (tramp-maybe-send-script, tramp-find-shell):
9831 Use `with-progress-reporter'.
9832 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9835 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9836 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9837 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9838 Use `with-progress-reporter'.
9840 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9842 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9843 process everytime when spellchecking from the minibuffer (bug#6143).
9845 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9847 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9849 * dos-fns.el: Add "dos-" prefix for namespace control.
9850 (convert-standard-filename): Define as alias for
9851 dos-convert-standard-filename but only if applicable.
9853 2010-05-12 Alan Mackenzie <acm@muc.de>
9855 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9856 Push the mark at the start of these functions when appropriate.
9858 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9860 * minibuffer.el (completion-cycle-threshold): New custom var.
9861 (completion--do-completion): Use it.
9862 (minibuffer-complete): Use cycling if appropriate.
9864 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9866 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9867 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9869 2010-05-11 Juri Linkov <juri@jurta.org>
9871 * scroll-all.el (scroll-all-check-to-scroll):
9872 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9874 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9876 * iimage.el (iimage-mode-map): Move initialization into declaration.
9877 (iimage-mode-buffer): Use with-silent-modifications.
9878 Simplify calling convention. Adjust callers.
9879 (iimage-mode): Don't run hook redundantly.
9881 * minibuffer.el (completion-pcm--pattern->regex):
9882 Fix last change (bug#6160).
9884 2010-05-10 Juri Linkov <juri@jurta.org>
9886 Remove nodes visited during Isearch from the Info history.
9887 * info.el (Info-isearch-initial-history)
9888 (Info-isearch-initial-history-list): New variables.
9889 (Info-isearch-start): Record initial values of
9890 Info-isearch-initial-history and Info-isearch-initial-history-list.
9891 Add Info-isearch-end to isearch-mode-end-hook.
9892 (Info-isearch-end): New function.
9894 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9896 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9897 format string, in order to work around a bug in pdksh.
9898 Reported by Gilles Pion <gpion@lfdj.com>.
9899 (tramp-handle-verify-visited-file-modtime): Do not send a command
9900 when the connection is not established.
9901 (tramp-handle-set-file-times): Simplify the check for utc.
9903 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9905 Fix use of `filter-buffer-substring' (rework previous change).
9906 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9907 (cua-repeat-replace-region):
9908 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9909 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9910 (cua-cut-region-to-global-mark): Use it.
9912 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9914 * progmodes/sql.el: Version 2.1.
9915 (sql-product-alist): Redesign structure of product info.
9916 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9917 (sql-port, sql-port-history): New variables.
9918 (sql-interactive-product): New variable.
9919 (sql-send-terminator): New variable.
9920 (sql-imenu-generic-expression): Add "Types" imenu entry.
9921 (sql-oracle-login-params, sql-sqlite-login-params)
9922 (sql-mysql-login-params, sql-solid-login-params)
9923 (sql-sybase-login-params, sql-informix-login-params)
9924 (sql-ingres-login-params, sql-ms-login-params)
9925 (sql-postgres-login-params, sql-interbase-login-params)
9926 (sql-db2-login-params, sql-linter-login-params)
9927 (sql-oracle-scan-on): New variables.
9928 (sql-mode-map): Add C-c C-i to start interactive mode.
9929 (sql-mode-menu): Update existing menu entries.
9930 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9931 (sql-mode-oracle-font-lock-keywords)
9932 (sql-mode-postgres-font-lock-keywords)
9933 (sql-mode-ms-font-lock-keywords)
9934 (sql-mode-sybase-font-lock-keywords)
9935 (sql-mode-informix-font-lock-keywords)
9936 (sql-mode-interbase-font-lock-keywords)
9937 (sql-mode-ingres-font-lock-keywords)
9938 (sql-mode-solid-font-lock-keywords)
9939 (sql-mode-mysql-font-lock-keywords)
9940 (sql-mode-sqlite-font-lock-keywords)
9941 (sql-mode-db2-font-lock-keywords)
9942 (sql-mode-linter-font-lock-keywords): Update initialization to
9943 reduce run-time complexity.
9944 (sql-add-product, sql-del-product): New functions.
9945 (sql-set-product-feature, sql-get-product-feature): New functions.
9946 (sql-product-font-lock): Update product API.
9947 (sql-add-product-keywords): New function.
9948 (sql-highlight-product): Update product API.
9949 (sql-help-list-products): New function.
9950 (sql-help): Dynamically lists free and non-free products.
9951 (sql-get-login): Correct bug in handling history and added
9953 (sql-copy-column): Copy without properties.
9954 (sqli-input-sender): Apply filters to SQLi input.
9955 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9956 Implement as a filter.
9957 (sql-escape-newlines-filter): Implement as a filter.
9958 (sql-remove-tabs-filter): New function.
9959 (sql-send-magic-terminator): New function.
9960 (sql-send-string): Implement magic terminator.
9961 (sql-send-region): Use `sql-send-string'.
9962 (sql-interactive-mode): Use product API.
9963 (sql-product-interactive): Use product API.
9964 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9965 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9966 (sql-db2, sql-linter): Use `sql-product-interactive'.
9967 (sql-connect): New function.
9968 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9969 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9970 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9971 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9974 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9976 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9977 New custom variable.
9978 (completion-pcm--string->pattern): Use it.
9979 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9980 Make it handle any symbol as `any'.
9981 (completion-pcm--merge-completions): Extract common suffix for the new
9982 `prefix' symbol as well.
9983 (completion-substring--all-completions): Use the new `prefix' symbol.
9985 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9987 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9989 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9990 (tramp-compat-funcall): New defmacro.
9991 (tramp-compat-line-beginning-position)
9992 (tramp-compat-line-end-position)
9993 (tramp-compat-temporary-file-directory)
9994 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9995 (tramp-compat-copy-file, tramp-compat-copy-directory)
9996 (tramp-compat-delete-file, tramp-compat-delete-directory)
9997 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9998 * net/tramp.el (top, with-progress-reporter)
9999 (tramp-rfn-eshadow-setup-minibuffer)
10000 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10001 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10002 (tramp-completion-mode-p, tramp-check-for-regexp)
10003 (tramp-open-connection-setup-interactive-shell)
10004 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10005 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10006 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10007 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10008 (tramp-reporter-dump-variable, tramp-load-report-modules)
10009 (tramp-append-tramp-buffers)
10010 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10012 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10014 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10016 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10017 buffer-modtime. Adjust users.
10019 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10021 * international/mule.el (auto-coding-alist): Only purecopy
10022 car of each item, not the whole list (Bug#6083).
10024 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10026 * progmodes/js.el (js-mode): Make paragraph variables local before
10027 calling c-setup-paragraph-variables (Bug#6071).
10029 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10031 * composite.el (compose-region, reference-point-alist): Fix typos
10032 in the doc strings.
10034 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10036 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10037 gnuplot's "set" command.
10039 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10041 * abbrev.el (last-abbrev-text): Doc fix.
10042 (abbrev-prefix-mark): Don't escape parenthesis.
10044 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10046 * composite.el (find-composition): Doc fix.
10048 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10050 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10051 (sql-oracle-program, sql-sqlite-options)
10052 (sql-query-placeholders-and-send): Doc fixes.
10053 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10054 (sql-imenu-generic-expression, sql-buffer)
10055 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10056 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10057 (sql-mode-sybase-font-lock-keywords)
10058 (sql-mode-informix-font-lock-keywords)
10059 (sql-mode-interbase-font-lock-keywords)
10060 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10061 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10062 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10063 (sql-product-feature, sql-highlight-product)
10064 (comint-line-beginning-position, sql-rename-buffer)
10065 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10066 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10067 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10068 Fix typos in docstrings.
10070 2010-05-08 Juri Linkov <juri@jurta.org>
10072 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10073 property instead of `invisible' and `after-string' (bug#5998).
10075 2010-05-08 Juri Linkov <juri@jurta.org>
10077 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10079 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10081 * filecache.el (file-cache-add-directory-list)
10082 (file-cache-add-directory-recursively): Fix typos in docstrings.
10084 2010-05-08 Kenichi Handa <handa@m17n.org>
10086 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10087 (gujarati-composable-pattern): Fix typo.
10089 2010-05-08 Kenichi Handa <handa@m17n.org>
10091 * language/indian.el (oriya-composable-pattern)
10092 (tamil-composable-pattern, malayalam-composable-pattern):
10093 Add two-part vowels to "v" (vowel sign).
10095 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10097 * files.el (copy-directory): Handle symlinks (Bug#5982).
10099 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10101 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10102 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10105 2010-05-08 Glenn Morris <rgm@gnu.org>
10107 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10109 * minibuffer.el (completion-at-point): Doc fix.
10111 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10113 * electric.el (Electric-command-loop): Minor tweak.
10115 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10116 better with dedicated windows.
10118 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10120 * Version 23.2 released.
10122 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10123 Stefan Monnier <monnier@iro.umontreal.ca>
10125 Highlight vendor specific properties.
10126 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10127 (css-proprietary-property): New face.
10128 (css-font-lock-keywords): Use them.
10130 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10132 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10134 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10136 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10137 * files.el (auto-mode-alist): Remove redundant entries.
10139 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10140 * simple.el (auto-save-mode): Move from files.el.
10141 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10143 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10145 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10147 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10149 * mail/binhex.el (binhex-decode-region-internal)
10150 * mail/uudecode.el (uudecode-decode-region-internal)
10151 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10152 (dns-read-type, dns-query)
10153 * pgg-parse.el (pgg-parse-armor)
10154 * pgg.el (pgg-verify-region)
10155 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10158 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10160 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10162 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10164 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10165 * emulation/cua-base.el (cua-repeat-replace-region):
10166 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10167 (cua-cut-region-to-global-mark):
10168 Remove text properties with `set-text-properties'.
10170 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10172 * net/tramp.el (top, with-progress-reporter):
10173 Use `symbol-function' inside `funcall'.
10175 * net/tramp-compat.el (tramp-compat-file-attributes)
10176 (tramp-compat-delete-file, tramp-compat-delete-directory):
10177 Handle only `wrong-number-of-arguments' error.
10179 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10180 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10183 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10185 * minibuffer.el (completion--sreverse, completion--common-suffix):
10187 (completion-pcm--merge-completions): Extract common suffix when safe.
10189 * emacs-lisp/easy-mmode.el (define-minor-mode):
10190 Make :variable more flexible.
10191 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10193 2010-05-05 Juri Linkov <juri@jurta.org>
10195 Add `slow' and `history' tags to the desktop data.
10197 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10198 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10199 (Info-finder-find-node): Require `finder.el' to be able
10200 to restore node from the desktop.
10201 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10202 data `Info-history' and `slow' tag in the assoc list.
10203 (Info-restore-desktop-buffer): Don't restore nodes with the
10204 `slow' tag. Restore `Info-history'.
10206 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10208 Add FORCE argument to `delete-file'.
10210 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10211 forcing to delete the temporary file.
10212 (ange-ftp-delete-file): Add FORCE arg.
10213 (ange-ftp-rename-remote-to-remote)
10214 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10215 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10216 Force file deletion.
10218 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10220 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10221 (tramp-handle-make-symbolic-link, tramp-handle-load)
10222 (tramp-do-copy-or-rename-file-via-buffer)
10223 (tramp-do-copy-or-rename-file-directly)
10224 (tramp-do-copy-or-rename-file-out-of-band)
10225 (tramp-handle-process-file, tramp-handle-call-process-region)
10226 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10227 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10228 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10230 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10231 (tramp-fish-handle-make-symbolic-link)
10232 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10234 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10235 Use `tramp-compat-delete-file'.
10237 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10238 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10240 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10241 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10243 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10244 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10245 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10246 Use `tramp-compat-delete-file'.
10248 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10251 * subr.el (add-minor-mode): Use push.
10252 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10253 * emulation/edt.el (edt-select-mode): Simplify.
10255 Use define-minor-mode in more cases.
10256 * term/tvi970.el (tvi970-set-keypad-mode):
10257 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10258 (normal-erase-is-backspace-mode):
10259 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10260 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10261 (get-scroll-bar-mode): New function.
10262 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10264 Use define-minor-mode for less obvious cases.
10265 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10266 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10267 * international/iso-ascii.el (iso-ascii-mode):
10268 * frame.el (auto-raise-mode, auto-lower-mode):
10269 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10271 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10273 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10274 in order to see error messages for failed logins.
10276 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10278 * diff.el (diff-sentinel):
10280 * epg.el (epg--make-temp-file, epg-decrypt-string)
10281 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10283 * jka-compr.el (jka-compr-partial-uncompress)
10284 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10286 * server.el (server-sentinel): Use delete-file's new FORCE arg
10289 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10291 Use define-minor-mode where applicable.
10292 * view.el (view-mode):
10293 * type-break.el (type-break-query-mode)
10294 (type-break-mode-line-message-mode):
10295 * textmodes/reftex.el (reftex-mode):
10296 * term/vt100.el (vt100-wide-mode):
10297 * tar-mode.el (tar-subfile-mode):
10298 * savehist.el (savehist-mode):
10299 * ibuf-ext.el (ibuffer-auto-mode):
10300 * composite.el (auto-composition-mode):
10301 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10302 Use define-minor-mode.
10303 (vhdl-mode): Use static mode-line format.
10304 (vhdl-mode-line-update): Delete.
10305 (vhdl-create-mode-menu, vhdl-activate-customizations)
10306 (vhdl-hs-minor-mode): Don't bother calling it.
10308 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10310 * simple.el (with-wrapper-hook): Move.
10311 (buffer-substring-filters): Mark obsolete.
10312 (filter-buffer-substring-functions): New variable.
10313 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10315 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10316 Michael Albinus <michael.albinus@gmx.de>
10318 Implement compression for inline methods.
10320 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10321 (tramp-copy-size-limit): Allow also nil.
10322 (tramp-inline-compress-commands): New defconst.
10323 (tramp-find-inline-compress, tramp-get-inline-compress)
10324 (tramp-get-inline-coding): New defuns.
10325 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10326 replaced by `tramp-get-inline-coding'.
10327 (tramp-handle-file-local-copy, tramp-handle-write-region)
10328 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10330 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10332 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10333 Remove unused functions.
10335 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10336 Set find-tag-default-function as a variable rather than a property.
10338 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10339 * progmodes/etags.el (tags-completion-at-point-function):
10340 Remove left over interactive spec. Add autoloading stub.
10341 (complete-tag): Use tags-completion-at-point-function.
10343 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10345 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10347 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10349 * ido.el (ido-init-completion-maps): Remove C-v binding.
10350 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10352 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10354 * minibuffer.el (tags-completion-at-point-function): New function.
10355 (completion-at-point-functions): Use it.
10357 * progmodes/etags.el (complete-tag): Revert last change.
10359 2010-04-29 Alan Mackenzie <acm@muc.de>
10361 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10362 off-by-one error (in end of macro position).
10364 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10366 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10367 firefox is absent. Don't autoload.
10368 (browse-url-galeon-program): Don't autoload.
10370 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10372 * bindings.el (complete-symbol): Move into minibuffer.el.
10374 * minibuffer.el (complete-tag): Move from etags.el. If tags
10375 completion cannot be performed, return nil instead of signalling
10377 (completion-at-point): Make it an alias for complete-symbol.
10378 (complete-symbol): Move from bindings.el, and replace with the
10379 body of completion-at-point.
10381 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10383 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10385 * net/tramp.el (tramp-remote-selinux-p): New defun.
10386 (tramp-handle-file-selinux-context)
10387 (tramp-handle-set-file-selinux-context): Use it.
10389 2010-04-28 Sam Steingold <sds@gnu.org>
10391 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10392 `safe-local-variable' if the value is a string or a symbol with
10393 the property `bug-reference-url-format'.
10395 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10397 * progmodes/bug-reference.el (bug-reference-url-format):
10398 Revert 2010-04-27 change due to security risk.
10400 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10402 Make it possible to locally disable a globally enabled mode.
10403 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10404 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10405 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10406 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10407 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10408 that subsequent hooks get a chance to disable it.
10410 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10412 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10413 Avoid re-enabling a minor mode after the user turned the minor mode
10414 off if MODE-enable-in-buffers is run twice (typically once from
10415 fundamental-mode's after-change-major-mode-hook and a second time from
10416 run-mode-hook's own after-change-major-mode-hook).
10418 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10420 2010-04-27 Sam Steingold <sds@gnu.org>
10422 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10423 `safe-local-variable' if the value is a string or a function, as
10424 documented and implemented on 2010-04-02.
10426 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10428 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10429 when method is 'kill.
10431 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10433 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10434 condition in default directory check.
10435 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10436 Kill ispell process when killing its associated buffer.
10438 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10440 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10441 but we aren't using it.
10443 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10445 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10446 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10448 2010-04-24 Glenn Morris <rgm@gnu.org>
10450 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10451 Ignore VCS-ignore files, and deleted nextstep preferences files.
10452 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10453 (authors-ambiguous-files): New list.
10454 (authors-valid-file-names): Add some deleted files.
10455 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10456 (authors-disambiguate-file-name): New function. (Bug#5501)
10457 (authors-canonical-file-name): Doc fix.
10458 Don't warn about obsolete files.
10459 (authors-canonical-file-name, authors-scan-el):
10460 Use authors-disambiguate-file-name.
10462 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10463 Add autoload cookies.
10464 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10465 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10466 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10467 They have definitions / compiler macros in cl.el.
10468 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10469 Replace manual autoloads with generated ones.
10470 (htmlfontify-unload-rgb-file): Remove autoload.
10471 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10473 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10475 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10476 (byte-compile-setq-default): Optimize for the
10477 single-var case and don't call byte-compile-form in this case to avoid
10478 inf-loop with byte-compile-set-default.
10480 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10482 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10484 Implement SELINUX backends.
10486 * net/tramp.el (tramp-file-name-handler-alist):
10487 Add `file-selinux-context' and `set-file-selinux-context'.
10488 (tramp-handle-file-selinux-context)
10489 (tramp-handle-set-file-selinux-context): New defuns.
10490 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10491 Handle PRESERVE-SELINUX-CONTEXT.
10493 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10494 Add `file-selinux-context' and `set-file-selinux-context'.
10495 (tramp-gvfs-handle-file-selinux-context)
10496 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10497 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10499 * net/ange-ftp.el (ange-ftp-copy-file):
10500 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10501 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10502 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10503 Add PRESERVE-SELINUX-CONTEXT.
10505 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10507 Synchronize with Tramp repository.
10509 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10510 (tramp-action-process-alive, tramp-action-out-of-band)
10511 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10512 (tramp-exists-file-name-handler): Fix docstring.
10513 (with-progress-reporter): New defmacro.
10514 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10515 (tramp-maybe-open-connection): Use it.
10517 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10519 Detect ssh 'ControlMaster' argument automatically in some cases.
10521 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10522 (tramp-default-method): Use it.
10524 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10526 * net/tramp.el (tramp-handle-copy-file): Add new optional
10527 parameter `preserve-selinux-context'.
10528 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10530 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10532 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10533 Ensure, that non remote files are still checked. Oops.
10535 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10539 * icomplete.el (icomplete-completions): Use `non-essential'.
10541 * net/tramp.el (tramp-connectable-p): New defun.
10542 (tramp-handle-expand-file-name)
10543 (tramp-completion-handle-file-name-all-completions)
10544 (tramp-completion-handle-file-name-completion): Use it.
10546 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10548 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10550 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10552 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10554 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10556 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10559 * info.el (info-tool-bar-map): Add labels.
10561 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10563 * cus-edit.el (custom-commands): Add labels for tool bar.
10564 (custom-buffer-create-internal, Custom-mode): Adjust for
10565 labels in custom-commands.
10567 * dynamic-setting.el: Renamed from font-setting.el.
10569 2010-04-21 John Wiegley <jwiegley@gmail.com>
10571 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10572 toggles the use of virtual buffers.
10573 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10574 (ido-toggle-virtual-buffers): New function.
10576 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10578 Use `define-derived-mode'; fix window selection; doc fixes.
10579 * play/tetris.el (tetris, tetris-update-speed-function)
10580 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10581 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10582 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10583 (tetris-pause-game): Fix typos in docstrings.
10584 (tetris-mode-map, tetris-null-map):
10585 Move initialization into declaration.
10586 (tetris-mode): Define with `define-derived-mode';
10587 set show-trailing-whitespace to nil.
10588 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10590 2010-04-21 Karel Klíč <kklic@redhat.com>
10592 * files.el (backup-buffer): Handle SELinux context, and return it
10593 if a backup was made by renaming.
10594 (backup-buffer-copy): Set SELinux context to the target file.
10595 (basic-save-buffer): Set SELinux context of the newly written file.
10596 (basic-save-buffer-1): Now it also returns any SELinux context.
10597 (basic-save-buffer-2): Set SELinux context of the newly created file,
10599 * net/tramp.el (tramp-file-name-for-operation):
10600 Add file-selinux-context.
10602 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10604 Make the log-edit comments use RFC822 format throughout.
10606 * vc.el (vc-checkin, vc-modify-change-comment):
10607 Adjust to new vc-start/finish-logentry.
10608 (vc-find-conflicted-file): New command.
10609 (vc-transfer-file): Adjust to new vc-checkin.
10610 (vc-next-action): Improve scoping.
10612 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10613 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10615 * vc-git.el (vc-git-log-edit-mode): Remove.
10616 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10617 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10619 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10620 (vc-start-logentry): Remove argument `extra'.
10621 (vc-finish-logentry): Remove extra args.
10623 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10624 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10625 (vc-bzr-conflicted-files): New function.
10627 * log-edit.el (log-edit-extra-flags)
10628 (log-edit-before-checkin-process): Remove.
10629 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10630 (log-edit-headers-alist): New var.
10631 (log-edit-header-contents-regexp): New const.
10632 (log-edit-match-to-eoh): New function.
10633 (log-edit-font-lock-keywords): Use them.
10634 (log-edit): Insert a "Summary:" header as default.
10635 (log-edit-mode): Mark font-lock rules as case-insensitive.
10636 (log-edit-done): Cleanup headers.
10637 (log-view-process-buffer): Remove.
10638 (log-edit-extract-headers): New function to replace it.
10640 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10642 * subr.el (default-direction-reversed): Remove obsolescence info.
10644 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10646 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10649 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10650 I.e. include text after point in the completion region.
10651 Also, return nil when we're not after/in a symbol.
10653 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10654 default enable-multibyte-characters.
10656 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10658 * international/mule.el: Help the user choose a valid coding-system.
10659 (read-buffer-file-coding-system): New function.
10660 (set-buffer-file-coding-system): Use it. Prompt the user if the
10661 coding-system cannot encode all the chars.
10663 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10664 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10665 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10666 Don't use *vc-bzr-shelve*.
10668 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10670 Fix the version number for added files.
10671 * vc-hg.el (vc-hg-working-revision): Check if the file is
10672 registered after hg parent fails (Bug#5961).
10674 2010-04-19 Glenn Morris <rgm@gnu.org>
10676 * htmlfontify.el (htmlfontify-buffer)
10677 (htmlfontify-copy-and-link-dir): Autoload entry points.
10679 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10681 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10682 name relative to the project root (Bug#5960).
10684 2010-04-19 Glenn Morris <rgm@gnu.org>
10686 * vc-git.el (vc-git-print-log): Doc fix.
10688 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10690 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10692 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10694 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10695 default settings (Bug#5928).
10697 2010-04-19 Glenn Morris <rgm@gnu.org>
10699 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10701 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10703 2010-04-19 Kenichi Handa <handa@m17n.org>
10705 * language/indian.el (malayalam-composable-pattern): Fix previous
10706 change (add U+0D4D "SIGN VIRAMA").
10707 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10708 (tamil-composable-pattern): Fix typo in the regexp.
10709 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10710 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10711 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10713 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10715 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10716 paragraph-separate (Bug#5821).
10718 2010-04-19 Juri Linkov <juri@jurta.org>
10720 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10722 * info.el (Info-find-node-2): Comment out code that skips
10724 (Info-mouse-follow-link): New command.
10725 (Info-link-keymap): New keymap.
10726 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10727 Return a string with links instead of inserting breadcrumbs
10728 to the Info buffer.
10729 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10730 Instead of putting the `invisible' text property over the Info
10731 header, make an overlay over the Info header with the `invisible'
10732 property and `after-string' set to the string returned by
10733 `Info-breadcrumbs'.
10735 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10737 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10738 Reported by monkey@sandpframing.com.
10740 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10742 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10743 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10744 available in the "keyseq cache" any more.
10746 * custom.el (defcustom): Add edebug spec.
10748 2010-04-18 Juri Linkov <juri@jurta.org>
10750 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10752 * view.el (view-file, view-buffer): Move test for special mode-class
10753 from view-file to view-buffer.
10755 * tar-mode.el (tar-extract): Turn if's into one cond
10756 like in arc-mode.el.
10758 2010-04-18 Juri Linkov <juri@jurta.org>
10760 Add 7z archive format support (bug#5475).
10762 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10763 (archive-7z-extract): New defcustom.
10764 (archive-find-type): Add magic string for 7z.
10765 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10766 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10767 `buffer' arg of `call-process'.
10768 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10769 call the function `archive-7z-extract' with the variable
10770 `archive-7z-extract' let-bound to `archive-zip-extract'.
10771 (archive-7z-summarize, archive-7z-extract): New functions.
10773 * international/mule.el (auto-coding-alist):
10774 * files.el (auto-mode-alist): Add 7z file extension.
10776 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10778 * loadup.el: Setup hash-cons for pure data.
10780 Fix duplicate entries in cedet's loaddefs.el files.
10781 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10782 Should make most file-local generated-autoload-file unnecessary.
10783 (print-readably): Silence warnings.
10784 (autoload-find-destination): Take load-name as an arg to make sure
10785 it's the same as the one that will be in the file.
10786 (autoload-generate-file-autoloads): Adjust to above changes.
10787 Try to make the dataflow a bit simpler.
10789 * cvs-status.el (cvs-refontify): Remove unused.
10791 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10793 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10795 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10796 twos-complement mode.
10798 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10800 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10801 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10802 (calc-inverse): Add "Option" to message, as appropriate.
10803 (calc-hyperbolic): Add "Option" to message, as appropriate.
10804 (calc-option, calc-is-option): New functions.
10806 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10807 (calc-option-prefix-help): New function.
10809 * calc/calc-misc.el (calc-help): Add "Option" entry.
10811 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10812 (calc-option-flag): New variable.
10813 (calc-do): Set `calc-option-flag to nil.
10814 (calc-set-mode-line): Add "Opt " as appropriate.
10816 2010-04-16 Juri Linkov <juri@jurta.org>
10818 Move scrolling commands from simple.el to window.el
10819 because their primitives are implemented in window.c.
10821 * simple.el (scroll-error-top-bottom)
10822 (scroll-up-command, scroll-down-command, scroll-up-line)
10823 (scroll-down-line, scroll-other-window-down)
10824 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10825 * window.el (scroll-error-top-bottom)
10826 (scroll-up-command, scroll-down-command, scroll-up-line)
10827 (scroll-down-line, scroll-other-window-down)
10828 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10829 Move from simple.el to window.el because their primitives are
10830 implemented in window.c.
10832 2010-04-16 Juri Linkov <juri@jurta.org>
10834 * isearch.el (isearch-lookup-scroll-key): Check both
10835 `isearch-scroll' and `scroll-command' properties.
10836 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10838 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10840 * simple.el (scroll-up-command, scroll-down-command)
10841 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10843 2010-04-15 Juri Linkov <juri@jurta.org>
10845 * simple.el (scroll-up-command, scroll-down-command)
10846 (scroll-up-line, scroll-down-line): Put `scroll-command'
10847 property on the these symbols. Remove them from
10848 `scroll-preserve-screen-position-commands'.
10850 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10851 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10852 Remove it from `scroll-preserve-screen-position-commands'.
10854 * isearch.el (isearch-allow-scroll): Doc fix.
10856 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10858 * net/tramp.el (tramp-error-with-buffer): Don't show the
10859 connection buffer when we are in completion mode.
10860 (tramp-file-name-handler): Catch the error for some operations
10861 when we are in completion mode. This gives the user the chance to
10862 correct the file name in the minibuffer.
10864 2010-04-15 Glenn Morris <rgm@gnu.org>
10866 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10868 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10870 Simplify by using `define-derived-mode'.
10871 * info.el (Info-mode):
10872 * calendar/todo-mode.el (todo-mode):
10873 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10874 (gomoku-mode-map): Move initialization into declaration.
10876 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10879 * ido.el (ido-file-name-all-completions-1):
10880 * minibuffer.el (minibuffer-completion-help):
10881 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10883 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10885 * simple.el (non-essential): New var.
10887 Add a new field `location' to bookmarks for non-file bookmarks.
10888 * bookmark.el (bookmark-location): Use the new field, if present.
10889 (bookmark-insert-location): Undo last change, not needed any more.
10890 * man.el (Man-bookmark-make-record):
10891 * woman.el (woman-bookmark-make-record): Add `location' field.
10893 2010-04-14 Juri Linkov <juri@jurta.org>
10895 * simple.el (scroll-error-top-bottom): New defcustom.
10896 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10898 * emulation/pc-select.el (pc-select-override-scroll-error):
10899 Obsolete in favor of `scroll-error-top-bottom'.
10901 2010-04-14 Juri Linkov <juri@jurta.org>
10903 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10904 `scroll-up-command' and `M-v' to `scroll-down-command'.
10906 * emulation/cua-rect.el (cua--init-rectangles):
10907 * forms.el (forms--change-commands):
10908 * image-mode.el (image-mode-map):
10909 Remap scroll-down-command and scroll-up-command
10910 in addition to scroll-down and scroll-up.
10912 2010-04-14 Juri Linkov <juri@jurta.org>
10914 * mwheel.el (scroll-preserve-screen-position-commands):
10915 Add mwheel-scroll to this list of commands.
10917 * simple.el (scroll-preserve-screen-position-commands):
10918 Add scroll-up-command, scroll-down-command, scroll-up-line,
10919 scroll-down-line to this list of commands.
10921 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10923 * obsolete/complete.el: Move from lisp/complete.el.
10925 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10927 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10928 to the minor mode function now turns the mode ON unconditionally.
10930 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10932 * vc-dir.el (vc-dir-kill-line): New command.
10933 (vc-dir-mode-map): Bind it to C-k.
10935 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10937 * woman.el: Add bookmark declarations to silence the compiler.
10938 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10939 step to compatibility between man and woman bookmarks.
10940 Adjust for Man-default-bookmark-title renaming.
10941 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10943 * man.el: Add bookmark declarations to silence the compiler.
10944 (Man-name-local-regexp): Make it match NAME as well.
10945 (Man-getpage-in-background): Return the buffer.
10946 (Man-notify-when-ready): Use `case'.
10947 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10948 Don't hardcode "NAME". Simplify.
10949 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10950 Rename from Man-bookmark-make-record.
10951 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10952 we have the actual man-args. Use Man-getpage-in-background rather
10953 than `man' since the arg is already processed. Let bookmark.el do the
10954 window handling. Only wait for the relevant process.
10955 Don't forget to autoload.
10957 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10959 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10961 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10963 (woman-mode): Setup bookmark support.
10965 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10966 (man-bookmark-jump): New functions.
10967 (Man-mode): Setup bookmark support.
10969 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10971 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10972 recognize ssh-keygen prompt (Bug#2817).
10974 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10976 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10978 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10980 Synchronize with Tramp repository.
10982 * net/tramp.el (tramp-completion-function-alist)
10983 (tramp-file-name-regexp, tramp-chunksize)
10984 (tramp-local-coding-commands, tramp-remote-coding-commands):
10986 (tramp-remote-process-environment): Use `format' instead of `concat'.
10987 (tramp-handle-directory-files-and-attributes)
10988 (tramp-get-remote-path): Use `copy-tree'.
10989 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10990 compatibility: Use `completion-ignore-case' if
10991 `read-file-name-completion-ignore-case' does not exist.
10992 (tramp-do-copy-or-rename-file-directly): Do not use
10993 `tramp-handle-file-remote-p'.
10994 (tramp-do-copy-or-rename-file-out-of-band):
10995 Use `tramp-compat-delete-directory'.
10996 (tramp-do-copy-or-rename-file-out-of-band)
10997 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10998 Use `format-spec-make'.
10999 (tramp-find-foreign-file-name-handler)
11000 (tramp-advice-make-auto-save-file-name)
11001 (tramp-set-auto-save-file-modes): Remove superfluous check for
11002 `stringp'. This is done inside `tramp-tramp-file-p'.
11003 (tramp-debug-outline-regexp): New defconst.
11004 (tramp-get-debug-buffer): Use it.
11005 (tramp-check-for-regexp): Use (forward-line 1).
11006 (tramp-set-auto-save-file-modes): Adapt version check.
11008 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11009 Wrap call of `featurep' for 2nd argument.
11010 (tramp-compat-make-temp-file): Simplify fallback implementation.
11011 (tramp-compat-copy-tree): Remove function.
11012 (tramp-compat-delete-directory): Provide implementation for older
11015 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11016 Do not use `tramp-fish-handle-file-attributes.
11018 * net/trampver.el: Update release number.
11020 2010-04-10 Glenn Morris <rgm@gnu.org>
11022 * progmodes/compile.el (compilation-save-buffers-predicate):
11023 Add missing :version tag.
11025 2010-04-09 Sam Steingold <sds@gnu.org>
11027 * progmodes/compile.el (compilation-save-buffers-predicate):
11028 Remove the "autoload" cookie.
11030 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11031 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11032 and `bug-reference-prog-mode' can be used in hooks directly.
11034 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11036 Add --author support to git commit.
11037 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11038 (vc-git-log-edit-mode): New minor mode.
11039 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11042 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11044 * vc-hooks.el, vc-git.el: Improve documentation comments.
11046 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11048 Fix some of the problems in defsubst* (bug#5728).
11049 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11050 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11052 2010-04-07 Sam Steingold <sds@gnu.org>
11054 * progmodes/compile.el (compilation-save-buffers-predicate):
11055 New custom variable.
11056 (compile, recompile): Pass it to `save-some-buffers'.
11058 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11060 * wid-edit.el (widget-choose): Move cursor to the second line of
11061 the buffer (Bug#5695).
11063 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11065 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11066 * vc.el (vc-print-log-setup-buttons): New function split out from
11067 vc-print-log-internal.
11068 (vc-log-internal-common): New function, a parametrized version of
11069 vc-print-log-internal.
11070 (vc-print-log-internal): Just call vc-log-internal-common with the
11072 (vc-incoming-outgoing-internal):
11073 (vc-log-incoming, vc-log-outgoing): New functions.
11074 (vc-log-view-type): New permanent local variable.
11076 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11078 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11079 of the dynamic bound vc-short-log.
11080 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11082 * vc-git.el (vc-git-log-outgoing): New function.
11083 (vc-git-log-view-mode): Use vc-log-view-type instead
11084 of the dynamic bound vc-short-log.
11086 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11087 of the dynamic bound vc-short-log. Highlight the tag.
11088 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11089 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11090 (vc-hg-incoming-mode): Remove.
11091 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11093 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11095 Fix default-directory for vc-root-diff.
11096 * vc.el (vc-root-diff): Bind default-directory to the root
11097 directory for the diff command.
11099 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11101 * progmodes/verilog-mode.el (verilog-forward-sexp):
11102 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11103 word keywords, suggested by Steve Pearlmutter.
11104 (verilog-pretty-declarations): Support lineup of declarations in
11106 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11107 fix bug for /* / comments.
11108 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11109 Speed up and simplfy as this is never called with a bound.
11110 (verilog-pretty-declarations): Enhance to line up declarations
11111 inside a parameter list, suggested by Alan Morgan.
11112 (verilog-pretty-expr): Tune assignment regular expression match
11113 string for corner cases; also use markers instead of character
11114 number as indent changes the later.
11116 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11118 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11119 as missing keyword.
11120 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11121 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11122 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11123 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11125 (verilog-keywords):
11126 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11127 1800-2009 keywords, including "global.".
11129 2010-04-06 John Wiegley <jwiegley@gmail.com>
11131 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11132 appearing in buffer list (if a live buffer name matched a recentf
11133 file basename). Should use uniquify to offer a real solution.
11135 2010-04-06 John Wiegley <jwiegley@gmail.com>
11137 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11138 comment to code, and add a :version tag.
11139 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11141 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11143 Enable recentf-mode if using virtual buffers.
11144 * ido.el (recentf-list): Declare for byte-compiler.
11145 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11146 (ido-make-buffer-list): Simplify.
11147 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11149 2010-04-05 Juri Linkov <juri@jurta.org>
11151 Scrolling commands which scroll a line instead of full screen.
11152 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11154 * simple.el (scroll-up-line, scroll-down-line): New commands.
11155 Put property isearch-scroll=t on them.
11157 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11160 2010-04-05 Juri Linkov <juri@jurta.org>
11162 Scrolling commands which do not signal errors at top/bottom.
11163 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11165 * simple.el (scroll-up-command, scroll-down-command): New commands.
11166 Put property isearch-scroll=t on them.
11168 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11169 `scroll-down-command' and [next] from `scroll-up' to
11170 `scroll-up-command'.
11172 * emulation/cua-base.el: Put property CUA=move on
11173 `scroll-up-command' and `scroll-down-command'.
11174 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11175 and `scroll-down-command' to `cua-scroll-down'.
11177 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11179 * help.el (describe-mode): Return nil.
11181 2010-04-04 John Wiegley <jwiegley@gmail.com>
11183 * ido.el (ido-use-virtual-buffers): New variable to indicate
11184 whether "virtual buffer" support is enabled for IDO.
11185 (ido-virtual): Face used to indicate virtual buffers in the list.
11186 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11187 exists, but a virtual buffer of that name does (which would be why
11188 it was in the list), recreate the buffer by reopening the file.
11189 (ido-make-buffer-list): If virtual buffers are being used, call
11190 `ido-add-virtual-buffers-to-list' before the make list hook.
11191 (ido-virtual-buffers): New variable which contains a copy of the
11192 current contents of the `recentf-list', albeit pared down for the
11193 sake of speed, and with proper faces applied.
11194 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11195 create a list of "virtual buffers" to present to the user in
11196 addition to the currently open set. Note that this logic could
11197 get rather slow if that list is too large. With the default
11198 `recentf-max-saved-items' of 200, there is little speed penalty.
11200 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11202 * font-lock.el: Require CL when compiling.
11203 (font-lock-turn-on-thing-lock): Use `case'.
11205 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11207 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11210 2010-04-02 Juri Linkov <juri@jurta.org>
11212 * ehelp.el (electric-help-orig-major-mode):
11213 New buffer-local variable.
11214 (electric-help-mode): Set it to original major-mode. Doc fix.
11215 (with-electric-help): Use `electric-help-orig-major-mode' instead
11216 of (default-value 'major-mode). Doc fix.
11217 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11219 2010-04-02 Sam Steingold <sds@gnu.org>
11221 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11222 `vc-hg-command' with a list of flags.
11224 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11225 Also accept "patch" and "RFE".
11226 (bug-reference-fontify): `bug-reference-url-format' can also be a
11227 function to be able to handle the bug kind.
11228 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11230 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11232 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11233 value to fboundp, it may not be a symbol.
11235 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11237 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11239 2010-03-31 Juri Linkov <juri@jurta.org>
11241 * simple.el (next-line, previous-line): Re-throw a signal
11242 with `signal' instead of using `ding'.
11243 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11245 2010-03-31 Juri Linkov <juri@jurta.org>
11247 * simple.el (keyboard-escape-quit): Raise deselecting the active
11248 region higher than exiting the minibuffer.
11249 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11251 2010-03-31 Juri Linkov <juri@jurta.org>
11253 * image.el (image-animated-p): Use `image-metadata' instead of
11254 `image-extension-data'. Get GIF extenstion data from metadata
11255 property `extension-data'.
11257 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11259 * simple.el (append-to-buffer): Simplify.
11261 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11263 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11264 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11266 2010-03-31 Kenichi Handa <handa@m17n.org>
11268 * language/sinhala.el (composition-function-table): Fix regexp for
11269 the new Unicode specification.
11271 * language/indian.el (devanagari-composable-pattern)
11272 (tamil-composable-pattern, kannada-composable-pattern)
11273 (malayalam-composable-pattern): Adjust for the new Unicode
11275 (bengali-composable-pattern, gurmukhi-composable-pattern)
11276 (gujarati-composable-pattern, oriya-composable-pattern)
11277 (telugu-composable-pattern): New variables to cope with the new
11278 Unicode specification. Use them in composition-function-table.
11280 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11282 Make tmm-menubar work for the Buffers menu again (bug#5726).
11283 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11284 vectors rather than cons cells, as used in menu-bar-update-buffers.
11286 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11288 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11289 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11290 electric punctuation for "{}();,:" (Bug#5586).
11292 * mail/sendmail.el (mail-default-directory): Doc fix.
11294 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11296 * mail/sendmail.el (mail-default-directory): Doc fix.
11298 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11300 * subr.el (version-regexp-alist, version-to-list)
11301 (version-list-<, version-list-=, version-list-<=)
11302 (version-list-not-zero, version<, version<=, version=): Doc fix.
11305 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11307 * vc.el (vc-root-diff): Doc fix.
11309 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11311 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11313 * simple.el (append-to-buffer): Fix last change.
11315 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11317 * simple.el (append-to-buffer): Ensure that point is preserved if
11318 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11321 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11323 * files.el (auto-mode-case-fold): Change default to t.
11325 2010-03-30 Juri Linkov <juri@jurta.org>
11327 * dired-x.el (dired-omit-mode): Doc fix.
11329 2010-03-30 Juri Linkov <juri@jurta.org>
11331 * replace.el (occur-accumulate-lines): Move occur-engine related
11332 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11333 to be located after `occur-engine'.
11335 2010-03-30 Juri Linkov <juri@jurta.org>
11337 Make occur handle multi-line matches cleanly with context.
11338 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11340 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11341 (occur-engine): Add local variables `ret', `prev-after-lines',
11342 `prev-lines'. Use more arguments for `occur-context-lines'.
11343 Set first elem of its returned list to `data', and the second elem
11344 to `prev-after-lines'. Don't print the separator line.
11345 In the end, print remaining context after-lines.
11346 (occur-context-lines): Add new arguments `begpt', `endpt',
11347 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11348 after-lines of the previous match with before-lines of the
11349 current match and not overlap them. Return a list with two
11350 values: the output line and the list of context after-lines.
11352 2010-03-30 Juri Linkov <juri@jurta.org>
11354 * replace.el (occur-accumulate-lines): Fix a bug where the first
11355 context line at the beginning of the buffer was missing.
11357 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11359 * files.el: Make bidi-display-reordering safe variable for boolean
11362 2010-03-29 Phil Hagelberg <phil@evri.com>
11363 Chong Yidong <cyd@stupidchicken.com>
11365 * subr.el: Extend progress reporters to perform "spinning".
11366 (progress-reporter-update, progress-reporter-do-update):
11367 Handle non-numeric value arguments.
11368 (progress-reporter--pulse-characters): New var.
11370 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11372 * progmodes/compile.el (compilation-start): Fix regexp detection
11373 of initial cd command (Bug#5771).
11375 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11377 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11379 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11381 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11382 * progmodes/gdb-mi.el: Restore.
11383 * progmodes/gdb-ui.el: Remove.
11384 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11386 2010-03-25 Glenn Morris <rgm@gnu.org>
11388 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11389 all dired buffers, even tramp ones. (Bug#5755)
11391 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11393 Add "union tags" in mpc.el.
11394 * mpc.el: Remove backward compatibility code.
11395 (mpc-browser-tags): Change default.
11396 (mpc--find-memoize-union-tags): New var.
11397 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11398 (mpc-cmd-find): Handle the case where the playlist does not exist.
11400 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11401 (mpc-cmd-add): Use mpc-cmd-flush.
11402 (mpc-tagbrowser-tag-name): New fun.
11403 (mpc-tagbrowser-buf): Use it.
11404 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11406 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11409 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11410 Use replace-regexp-in-string.
11411 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11412 (makefile-imake-mode-syntax-table): Move init into defvar.
11413 (makefile-mode): Use define-derived-mode.
11415 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11416 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11417 not be present any more.
11419 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11421 * faces.el (set-face-attribute): Fix typo in docstring.
11422 (face-valid-attribute-values): Reflow docstring.
11424 2010-03-24 Glenn Morris <rgm@gnu.org>
11426 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11428 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11430 * indent.el (indent-for-tab-command): Doc fix.
11432 2010-03-24 Alan Mackenzie <acm@muc.de>
11434 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11435 Fix off-by-one error. Fixes bug #5747.
11437 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11439 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11440 (image-dired-read-comment): Doc fix.
11442 * json.el (json-object-type, json-array-type, json-key-type)
11443 (json-false, json-null, json-read-number):
11444 * minibuffer.el (completion-in-region-functions):
11445 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11446 (cal-tex-cursor-week):
11447 * emacs-lisp/trace.el (trace-function):
11448 * eshell/em-basic.el (eshell/printnl):
11449 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11450 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11451 * obsolete/levents.el (allocate-event, event-key, event-object)
11452 (event-point, event-process, event-timestamp, event-to-character)
11453 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11454 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11455 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11456 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11457 (reftex-highlight-selection): Fix typos in docstrings.
11459 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11461 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11463 2010-03-24 Glenn Morris <rgm@gnu.org>
11465 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11466 2008-02-13 without comment; mark it obsolete.
11467 (rmail-highlight-headers): Use rmail-highlight-face once more.
11469 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11471 * woman.el (woman2-process-escapes): Only consume the newline if
11472 the filler character is on a line by itself (Bug#5729).
11474 2010-03-24 Kenichi Handa <handa@m17n.org>
11476 * language/indian.el (devanagari-composable-pattern): Add more
11479 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11481 * net/trampver.el: Update release number.
11483 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11485 * net/tramp.el (tramp-find-executable):
11486 Use `tramp-get-connection-buffer'. Make the regexp for checking
11487 output of "wc -l" more robust.
11488 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11489 (tramp-open-connection-setup-interactive-shell): Remove workaround
11490 for OpenSolaris bug, it is not needed anymore.
11492 2010-03-24 Glenn Morris <rgm@gnu.org>
11494 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11496 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11498 * files.el (auto-mode-alist): Accept more verilog file patterns.
11500 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11502 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11504 2010-03-24 Glenn Morris <rgm@gnu.org>
11506 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11507 log-edit-before-checkin-process.
11509 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11511 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11513 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11514 (log-view-process-buffer, log-edit-extra-flags): Declare.
11516 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11518 2010-03-23 Sam Steingold <sds@gnu.org>
11520 Fix bug#5620: recalculate all markers on compilation buffer
11521 modifications, not on file modifications.
11522 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11523 variable: the buffer modification time, for buffers not associated with
11525 (compilation-mode): Create it.
11526 (compilation-filter): Update it.
11527 (compilation-next-error-function): Use it instead of
11528 `visited-file-modtime' for timestamp.
11530 2010-03-23 Juri Linkov <juri@jurta.org>
11532 Implement Occur multi-line matches.
11533 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11535 * replace.el (occur): Doc fix.
11536 (occur-engine): Set `begpt' to the beginning of the first line.
11537 Set `endpt' to the end of the last match line. At first, count
11538 line numbers between `origpt' and `begpt'. Split out code from
11539 `out-line' variable to new let-bindings `match-prefix' and
11540 `match-str'. In `out-line' add non-numeric prefix to all
11541 non-first lines of multi-line matches. Finally, count lines
11542 between `begpt' and `endpt' and add to `lines'.
11544 2010-03-23 Juri Linkov <juri@jurta.org>
11546 * replace.el (occur-accumulate-lines, occur-engine):
11547 Use `occur-engine-line' instead of duplicate code.
11548 (occur-engine-line): New function created from duplicate code
11549 in `occur-accumulate-lines' and `occur-engine'.
11551 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11552 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11554 2010-03-23 Juri Linkov <juri@jurta.org>
11556 * finder.el: Remove TODO tasks.
11558 * info.el (Info-finder-find-node): Add node "all"
11559 with all package info. Handle a list of multiple keywords
11560 separated by comma.
11561 (info-finder): In interactive use with a prefix argument,
11562 use `completing-read-multiple' to read a list of keywords
11563 separated by comma.
11565 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11567 Add a new completion style `substring'.
11568 * minibuffer.el (completion-basic--pattern): New function.
11569 (completion-basic-try-completion, completion-basic-all-completions):
11571 (completion-substring--all-completions)
11572 (completion-substring-try-completion)
11573 (completion-substring-all-completions): New functions.
11574 (completion-styles-alist): New style `substring'.
11576 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11578 Get rid of .elc files after removal of the corresponding .el.
11579 * Makefile.in (compile-clean): New target.
11580 (compile-main): Use it.
11582 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11584 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11585 don't do make there. When compiling with separate object dir, there
11586 is no Makefile there.
11588 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11590 Get rid of the ELCFILES abomination, again.
11591 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11592 (all, compile): Don't call compile-last.
11593 (compile-main): Build the "elcfiles" list dynamically.
11594 (compile-targets): New (internal) target.
11596 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11598 * Makefile.in (top_srcdir): Define.
11599 (abs_top_builddir): Define.
11600 (srcdir): Don't append `/..'.
11601 (EMACS): Use ${abs_top_builddir}.
11602 (all, compile, compile-always, compile-last): Don't set emacswd.
11603 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11605 (lisp): Use $(srcdir) instead of @srcdir@.
11607 2010-03-21 Juri Linkov <juri@jurta.org>
11609 Fix message of multi-line occur regexps and multi-buffer header lines.
11610 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11612 * replace.el (occur-1): Don't display regexp if it is longer
11613 than window-width. Use `query-replace-descr' to display regexp.
11614 (occur-engine): Don't display regexp in the buffer header for
11615 multi-buffer occur. Display a separate header line with total
11616 match count and regexp for multi-buffer occur.
11617 Use `query-replace-descr' to display regexp.
11619 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11621 * net/secrets.el: Fix parenthesis.
11622 (secrets-enabled): Fix parenthesis.
11624 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11626 Use more relative file and directory names.
11627 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11628 (setwins, setwins_almost, setwins_for_subdirs):
11629 Don't `cd'; output relative names.
11630 (all, compile, compile-always, compile-last): Set emacswd.
11631 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11632 Just cd to the lisp source dir so we can use relative file names.
11634 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11636 2010-03-20 Glenn Morris <rgm@gnu.org>
11638 * textmodes/rst.el: Use faces for font-lock customization, and make the
11639 old -face variables obsolete.
11640 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11641 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11642 (rst-block-face, rst-external-face, rst-definition-face)
11643 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11644 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11646 (rst-font-lock-keywords-function): Update for above changes.
11648 2010-03-20 Juri Linkov <juri@jurta.org>
11651 * obsolete/s-region.el: Move to obsolete.
11653 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11655 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11657 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11659 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11661 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11663 Add special markup processing for commit logs.
11664 * log-edit.el (log-edit-extra-flags): New variable.
11665 (log-edit): Add new argument MODE. Use that mode when non-nil
11666 instead of the log-view-mode.
11667 (log-view-process-buffer): New function.
11669 * vc.el: Document that the checkin method takes optional
11670 arguments. Document new backend specific method: log-view-mode.
11671 (vc-default-log-edit-mode): New function.
11672 (vc-checkin): Use a backend specific log-view-mode.
11673 Pass extra arguments to the checkin method.
11674 (vc-modify-change-comment): Pass a dummy extra argument.
11676 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11678 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11679 (vc-finish-logentry): Process the log buffer before passing it
11680 down. Pass log-edit-extra-flags.
11682 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11684 (log-edit-extra-flags, log-edit-before-checkin-process):
11687 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11689 (log-edit-extra-flags, log-edit-before-checkin-process):
11691 (vc-hg-log-edit-mode): New derived mode.
11693 * vc-arch.el (vc-arch-checkin):
11694 * vc-cvs.el (vc-cvs-checkin):
11695 * vc-git.el (vc-git-checkin):
11696 * vc-mtn.el (vc-mtn-checkin):
11697 * vc-rcs.el (vc-rcs-checkin):
11698 * vc-sccs.el (vc-sccs-checkin):
11699 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11701 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11703 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11706 2010-03-19 Glenn Morris <rgm@gnu.org>
11708 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11710 2010-03-18 Glenn Morris <rgm@gnu.org>
11712 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11714 * replace.el (query-replace-history): Give it a doc string.
11715 (map-query-replace-regexp): Use query-replace-from-history-variable
11716 and query-replace-to-history-variable.
11718 * mail/hashcash.el (declare-function): Remove duplicate definition.
11720 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11721 Make it an obsolete alias for report-emacs-bug-address.
11722 (message-strip-special-text-properties): Declare.
11723 (report-emacs-bug): Remove test for a pretest bug address.
11724 Combine message-mode-specific code.
11726 * mail/supercite.el: Don't require sendmail.
11727 (mh-in-header-p): Declare rather than using with-no-warnings.
11728 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11729 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11731 * calendar/cal-french.el: Convert to utf-8.
11733 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11736 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11738 * net/secrets.el (secrets-enabled): New variable. Use it instead
11741 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11743 * net/secrets.el (top): Register the D-Bus signals only when the
11744 service "org.freedesktop.secrets" can be pinged.
11745 Provide subfeature `enabled'.
11747 2010-03-14 Juri Linkov <juri@jurta.org>
11749 Add finder unknown keywords.
11751 * finder.el (finder-unknown-keywords): New function.
11753 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11754 to create a Finder node with unknown keywords.
11756 2010-03-14 Juri Linkov <juri@jurta.org>
11758 * finder.el (finder-compile-keywords): Replace `princ' with
11759 `prin1' on a list of symbols interned from keyword strings.
11761 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11762 a comma, then split keywords using a comma and optional whitespace.
11763 Otherwise, split by whitespace.
11771 * progmodes/mixal-mode.el: Fix keywords.
11773 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11775 * Makefile.in (ELCFILES): Add net/secrets.elc.
11777 * net/secrets.el: New file.
11779 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11781 * facemenu.el (list-colors-display, list-colors-print): New arg
11782 callback. Use it to allow selecting colors.
11784 * wid-edit.el (widget-image-insert): Insert image prop even if the
11785 current display is non-graphic.
11786 (widget-field-value-set): New fun.
11787 (editable-field): Use it.
11788 (widget-field-value-get): Clean up unused var.
11789 (widget-color-value-create, widget-color--choose-action):
11790 New funs. Allow using list-colors-display to choose color.
11792 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11794 * cus-edit.el: Resort topmost custom groups.
11795 (custom-buffer-sort-alphabetically): Default to t.
11796 (customize-apropos): Use apropos-parse-pattern.
11797 (custom-search-field): New var.
11798 (custom-buffer-create-internal): Add custom-apropos search field.
11799 (custom-add-parent-links): Don't display parent doc.
11800 (custom-group-value-create): Don't sort top-level custom group.
11801 (custom-magic-value-create): Show visibility button before option name.
11803 (custom-variable-state): New fun, from custom-variable-state-set.
11804 (custom-variable-state-set): Use it.
11805 (custom-group-value-create): Hide options with standard values
11806 using the :hidden-states property. Use progress reporter.
11808 (custom-show): Simplify.
11809 (custom-visibility): Disable images by default.
11810 (custom-variable): New property :hidden-states.
11811 (custom-variable-value-create): Enable images for
11812 custom-visibility widgets. Use :hidden-states property to
11813 determine initial visibility.
11815 * wid-edit.el (widget-image-find): Give images center ascent.
11816 (visibility): Add :on-image and :off-image properties.
11817 (widget-visibility-value-create): Use them.
11819 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11821 * cus-edit.el (processes): Remove from development group.
11822 (oop, hypermedia): Delete group.
11823 (comm): Promote to top-level group.
11825 * net/browse-url.el (browse-url):
11826 * net/xesam.el (xesam):
11827 * net/tramp.el (tramp):
11828 * net/goto-addr.el (goto-address):
11829 * net/ange-ftp.el (ange-ftp): Put in comm group.
11831 * view.el (view): Remove from editing group.
11833 * uniquify.el (uniquify): Put in files group.
11835 * net/browse-url.el (browse-url):
11836 * ps-print.el (postscript): Put in external group.
11838 * cus-edit.el (outlines):
11839 * textmodes/text-mode.el (text-mode-hook):
11840 * textmodes/table.el (table):
11841 * textmodes/picture.el (picture):
11842 * outline.el (outlines): Put in wp group.
11844 * nxml/nxml-mode.el (nxml): Remove from wp group.
11846 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11848 * mail/metamail.el (metamail): Remove from hypermedia group.
11850 * cus-edit.el (abbrev):
11851 * whitespace.el (whitespace):
11852 * vcursor.el (vcursor):
11853 * reveal.el (reveal):
11854 * hl-line.el (hl-line): Put in convenience group.
11856 * epg-config.el (epg): Put in data group.
11858 * emulation/pc-select.el (pc-select): Put in emulations group.
11860 * calculator.el (calculator): Put in applications group.
11862 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11864 Add .dir-locals.el support for file-less buffers.
11865 * files.el (hack-local-variables): Split out code to apply local
11866 variable settings ...
11867 (hack-local-variables-apply): ... here. New function.
11868 (hack-dir-local-variables): Use the default directory for when the
11869 buffer does not have an associated file.
11870 (hack-dir-local-variables-non-file-buffer): New function.
11871 * diff-mode.el (diff-mode):
11872 * vc-annotate.el (vc-annotate-mode):
11873 * vc-dir.el (vc-dir-mode):
11874 * log-edit.el (log-edit-mode):
11875 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11877 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11879 Add support for shelving snapshots and for showing shelves.
11880 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11881 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11883 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11884 (vc-bzr-extra-menu-map): Map them.
11886 2010-03-11 Glenn Morris <rgm@gnu.org>
11888 * cus-edit.el (customize-changed-options-previous-release):
11891 * image.el (image-animate-max-time): Fix :version tag.
11893 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11897 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11899 * vc-git.el (vc-git-revision-table): Include remote branches.
11901 2010-03-10 Kim F. Storm <storm@cua.dk>
11903 Animated image API.
11904 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11906 * image.el (image-animate-max-time): New defcustom.
11907 (image-animated-types): New defconst.
11908 (create-animated-image, image-animate-timer)
11909 (image-animate-start, image-animate-stop, image-animate-timeout)
11910 (image-animated-p): New functions.
11912 * image-mode.el (image-toggle-display-image):
11913 Replace `create-image' with `create-animated-image'.
11915 2010-03-09 Miles Bader <miles@gnu.org>
11917 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11918 instead of "format:"; this ensures that the output is
11919 newline-terminated.
11921 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11923 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11924 that all errors are caught, and that the return value is always a
11927 2010-03-08 Kenichi Handa <handa@m17n.org>
11929 * language/misc-lang.el (windows-1256): New coding system.
11930 (cp1256): New alias of windows-1256 (bug#5690).
11932 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11934 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11935 call to rfc822-bad-address. (Bug#5692)
11937 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11939 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11940 Use vc-git-root as default directory for revision path (Bug#5657).
11942 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11944 * calculator.el (calculator): Don't bind split-window-keep-point
11947 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11949 * vc-git.el: Re-flow to fit into 80 columns.
11950 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11951 Remove spurious `quote' element in each case alternative.
11952 (vc-git-show-log-entry): Use prog1.
11953 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11955 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11957 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11959 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11961 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11962 definition, not the name (Bug#5481).
11964 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11966 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11967 argument with a local variable. (Bug#5670)
11969 2010-03-02 Juri Linkov <juri@jurta.org>
11971 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11973 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11975 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11976 error when FILENAME and NEWNAME are existing remote directories.
11978 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11979 parameter DIR-FLAG.
11981 2010-03-02 Glenn Morris <rgm@gnu.org>
11983 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11984 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11986 2010-03-01 Kenichi Handa <handa@m17n.org>
11988 * language/burmese.el (burmese-composable-pattern): Rename from
11989 myanmar-composable-pattern.
11991 * international/characters.el (script-list):
11992 * international/fontset.el (script-representative-chars):
11993 Change myanmar to burmese.
11994 (otf-script-alist): Likewise.
11995 (setup-default-fontset): Likewise. Re-fix :otf spec.
11997 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11999 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12001 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12003 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12005 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12007 * net/tramp.el (tramp-handle-write-region): START can be a string.
12008 Take care in the checks. Reported by Dan Davison
12009 <davison@stats.ox.ac.uk>.
12011 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12013 * net/dbus.el (dbus-introspect, dbus-get-property)
12014 (dbus-set-property, dbus-get-all-properties):
12015 Use `dbus-call-method' when noninteractive. (Bug#5645)
12017 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12019 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12020 * emacs-lisp/elint.el (elint-add-required-env):
12021 * calendar/icalendar.el (icalendar--add-diary-entry):
12022 * calc/calcalg2.el (math-tracing-integral):
12023 * files.el (recover-session-finish): Use with-current-buffer
12024 instead of save-excursion.
12026 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12028 Fix in-buffer completion when after-change-functions modify the buffer.
12029 * minibuffer.el (completion--replace): New function.
12030 (completion--do-completion): Use it and use relative movement.
12032 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12034 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12036 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12038 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12039 Allow the characters _<> in the stack entry (Bug#5653).
12041 2010-02-26 Kenichi Handa <handa@m17n.org>
12043 * language/burmese.el: Fix entries in composition-function-table.
12044 (myanmar-composable-pattern): New variable.
12046 * international/fontset.el (setup-default-fontset): Add an entry
12049 * international/characters.el (script-list): Add Myanmar
12052 2010-02-26 Glenn Morris <rgm@gnu.org>
12054 * custom.el (custom-initialize-delay): Doc fix.
12056 * mail/sendmail.el (send-mail-function): Autoload the call
12057 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12059 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12061 * files.el (hack-local-variables-filter): For eval forms, also
12062 check safe-local-variable-p (Bug#5636).
12064 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12066 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12067 setting the modes by `ignore-errors'. It might fail, for example
12068 if the file is not owned by the user but the group.
12069 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12071 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12073 * files.el (directory-listing-before-filename-regexp):
12074 Use stricter matching for iso-style dates, to avoid false matches with
12075 date-like filenames (Bug#5597).
12077 * htmlfontify.el (htmlfontify): Doc fix.
12079 * eshell/eshell.el (eshell): Doc fix.
12081 * startup.el (fancy-about-screen): In mode-line, apply
12082 mode-line-buffer-id face only to the buffer name (Bug#5613).
12084 2010-02-20 Kevin Ryde <user42@zip.com.au>
12086 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12087 In `watcom' anchor regexp to start of line, to avoid slowness
12090 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12092 * subr.el (remove-yank-excluded-properties): Explain in a comment
12093 why `category' property is removed.
12095 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12097 * isearch.el (isearch-update-post-hook, isearch-update):
12098 Revert 2010-02-17 change.
12100 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12102 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12103 (icalendar--convert-weekly-to-ical)
12104 (icalendar--convert-yearly-to-ical)
12105 (icalendar--convert-block-to-ical)
12106 (icalendar--convert-cyclic-to-ical)
12107 (icalendar--convert-anniversary-to-ical): Take care of time
12108 specifications where hour has 1-digit only (Bug#5549).
12110 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12112 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12113 of disassemble output in GDB 7.1.
12115 2010-02-19 Glenn Morris <rgm@gnu.org>
12117 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12118 property. (Bug#5593)
12120 2010-02-18 Sam Steingold <sds@gnu.org>
12122 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12124 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12126 Use abbreviated file names in bookmarks (bug#5591).
12127 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12128 calls to expand-file-name.
12129 (bookmark-relocate): Use abbreviated file names in bookmarks.
12130 (bookmark-load): Use abbreviated file names in messages.
12132 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12134 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12135 expand "." and "..". Reported by Thierry Volpiatto
12136 <thierry.volpiatto@gmail.com>.
12138 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12140 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12141 permissions of the temporary file to "0600". In case the remote
12142 file has no read permissions for the owner, there might be
12143 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12145 22010-02-18 Glenn Morris <rgm@gnu.org>
12147 * emacs-lisp/authors.el (authors-renamed-files-alist):
12148 Add entries for INSTALL.CVS.
12150 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12152 * vc-bzr.el: Fix typo in Known Bugs section.
12154 * isearch.el (isearch-update-post-hook): New hook.
12155 (isearch-update): Use the new hook.
12157 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12159 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12160 Fix errors in copying directories.
12161 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12162 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12163 (tramp-handle-delete-file)
12164 (tramp-handle-dired-recursive-delete-directory)
12165 (tramp-handle-write-region): Flush also the cache for the upper
12168 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12170 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12172 * cus-edit.el (hardware): Doc fix.
12174 * man.el (man): Add to external custom group.
12176 * delim-col.el (columns): Move to wp custom group.
12178 * doc-view.el (doc-view): Add to data custom group.
12180 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12182 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12183 by ispell-parse-output (Bug#5575).
12185 2010-02-16 Kenichi Handa <handa@m17n.org>
12187 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12188 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12189 (skkdic-convert): Use `euc-japan' coding system for writing.
12191 2010-02-16 Glenn Morris <rgm@gnu.org>
12193 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12194 tex-main-file before using it. (Bug#5562)
12196 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12198 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12199 warnings, since it is annoying for the user to see them each time he
12202 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12204 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12205 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12206 instead of PROC for caching "first-password-request". Otherwise,
12207 new processes would not profit from passwords already entered.
12209 * net/tramp-cache.el (tramp-dump-connection-properties):
12210 Don't save "first-password-request" property.
12212 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12214 * outline.el (outline-head-from-level):
12215 * simple.el (with-wrapper-hook):
12216 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12217 (elint-defun, elint-buffer-env, elint-top-form-logged)
12218 (elint-unbound-variable):
12219 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12220 Fix typos in docstrings.
12222 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12224 * files.el (insert-directory): When WILDCARD-REGEXP and
12225 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12226 whole directory. (Bug#5551)
12228 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12229 dired's alignment sanity. (Bug#5516)
12231 2010-02-14 Juri Linkov <juri@jurta.org>
12233 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12234 Remove remaining ^H with their preceding chars. (Bug#5566)
12236 2010-02-13 Glenn Morris <rgm@gnu.org>
12238 * simple.el (transpose-subr): Give it a doc-string.
12240 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12243 2010-02-12 Juri Linkov <juri@jurta.org>
12245 * arc-mode.el (archive-unique-fname): Make directories for nested
12246 archives. (Bug#5540)
12248 2010-02-12 Juri Linkov <juri@jurta.org>
12250 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12252 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12254 * subr.el (copy-overlay): Handle deleted overlays.
12256 * man.el (Man-completion-table): Don't signal an error if we can't run
12257 manual-program (bug#4056).
12259 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12261 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12263 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12265 * info.el (Info-bookmark-jump): Simplify.
12267 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12268 (bookmark-default-handler): Accept new bookmark field `buffer'.
12270 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12272 * iswitchb.el (iswitchb-completions): Revert last change.
12274 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12276 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12277 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12278 This prevents file names like "~/" being listed literally.
12280 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12282 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12283 Remove dead code. (Bug#5546)
12285 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12287 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12288 correctly (Bug#5548).
12290 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12292 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12293 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12295 2010-02-08 Kenichi Handa <handa@m17n.org>
12297 * international/mule-util.el (with-coding-priority): Add autoload
12298 cookie for putting `lisp-indent-function'.
12300 2010-02-07 Glenn Morris <rgm@gnu.org>
12302 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12303 Move F2003 named interfaces from keywords-2 to keywords-1, and
12304 use function-name-face rather than constant-face.
12305 Simplify "abstract interface" regexp.
12307 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12309 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12310 ID-FORMAT. Pass it to `file-attributes'.
12312 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12314 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12316 * faces.el (set-face-attribute): Allow calling
12317 internal-set-lisp-face-attribute with 'unspecified family and
12318 foundry argument (Bug#5536).
12320 2010-02-07 Glenn Morris <rgm@gnu.org>
12322 * progmodes/f90.el (f90-font-lock-keywords-2)
12323 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12324 Handle F2003 named interfaces.
12326 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12328 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12329 beg and end before calling c-get-state-before-change-functions.
12331 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12333 * vc-bzr.el (vc-bzr-dir-extra-headers):
12334 Disable the pending merges header.
12336 2010-02-05 Juri Linkov <juri@jurta.org>
12338 * doc-view.el (doc-view-mode):
12339 * image-mode.el (image-mode): Put property mode-class=special.
12342 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12344 * vc-svn.el (vc-svn-revision-table): New function.
12346 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12348 * net/ange-ftp.el (ange-ftp-insert-directory):
12349 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12350 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12351 Handle also directories. (Bug#5478)
12353 2010-02-05 Glenn Morris <rgm@gnu.org>
12355 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12357 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12359 * startup.el (command-line-1): Convert options beginning with a
12360 single dash as well (Bug#5519).
12362 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12364 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12365 * minibuffer.el (completion-initials-expand): Only check the presence
12366 of delims *within* the boundaries, since otherwise the / delim is
12367 always found for files.
12369 Fix up various corner case problems.
12370 * doc-view.el (doc-view-last-page-number): New function.
12371 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12372 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12373 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12374 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12375 (doc-view-convert-current-doc): Don't create the resolution.el file
12377 (doc-view-pdf/ps->png): Do it here instead.
12378 (doc-view-already-converted-p): Check that resolution.el is present.
12379 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12380 windows that are not yet showing images.
12382 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12384 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12385 `dired-uncache' for every elemnt which is an absolute file name.
12387 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12388 directory, handle its directory component.
12389 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12390 function is called permanently and creates noise, otherwise.
12392 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12393 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12394 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12396 2010-02-04 David Burger <dburger@google.com> (tiny change)
12398 * macros.el (apply-macro-to-region-lines):
12399 Minor simplification. (Bug#5485)
12401 2010-02-04 Glenn Morris <rgm@gnu.org>
12403 * mail/rmail.el (rmail-show-message-1): Handle malformed
12404 quoted-printable text. (Bug#5441)
12406 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12408 * simple.el (visual-line-mode): Capitalize lighter.
12410 2010-02-03 John Wiegley <jwiegley@gmail.com>
12412 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12413 list of files considered for "virtual buffer" completions.
12415 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12417 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12418 also in case of (and (not full) (not wildcard)). This is needed
12419 when dired is called with a list of files, which are not in
12420 `default-directory'. (Bug#5478)
12422 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12424 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12426 2010-02-02 Juri Linkov <juri@jurta.org>
12428 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12429 from unidiff to allow function-line after @@.
12431 2010-02-02 Juri Linkov <juri@jurta.org>
12433 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12434 '(RCS SCCS) with inverted condition.
12436 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12438 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12441 2010-02-01 Juri Linkov <juri@jurta.org>
12443 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12444 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12445 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12446 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12448 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12450 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12451 (doc-view-revert-buffer): New command.
12452 (doc-view-mode-map): Use it.
12454 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12456 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12457 pending merge is detected.
12459 2010-01-31 Juri Linkov <juri@jurta.org>
12461 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12462 beginning of interactive spec like all other grep commands do.
12463 Put "all" in front of "gz". (Bug#5260)
12465 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12467 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12469 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12471 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12472 regexp is incorrect (Bug#5476).
12474 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12476 * net/tramp.el (tramp-handle-insert-directory): Handle also
12477 symlinks, when FILENAME is not in `default-directory'.
12479 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12481 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12482 FILE is not in `default-directory'. (Bug#5478)
12484 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12485 of SWITCHES. Handle the case, FILENAME is not in
12486 `default-directory'. (Bug#5478)
12487 (tramp-register-file-name-handlers): Add safe-magic property.
12489 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12491 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12494 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12496 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12497 (flymake-master-make-header-init): Add other C++ filename masks.
12498 (flymake-find-possible-master-files)
12499 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12501 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12503 Fix some busybox annoyances.
12505 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12506 not responding." string.
12507 (tramp-open-connection-setup-interactive-shell): Dump stty
12508 settings. Enable "neveropen" arg for all `tramp-send-command'
12509 calls. Handle "=" in variable values properly.
12510 (tramp-find-inline-encoding): Raise an error, when no encoding is
12512 (tramp-wait-for-output): Check, whether PROC buffer is available.
12513 Remove spurious " ^H" sequences, sent by busybox.
12514 (tramp-get-ls-command): Suppress coloring, if possible.
12516 2010-01-28 Glenn Morris <rgm@gnu.org>
12518 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12520 * log-edit.el (log-edit-strip-single-file-name): Add missing
12521 :safe, :group, and :version tags.
12523 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12525 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12526 buffers. (Bug#5477)
12528 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12530 * files.el (delete-directory): Handle moving to trash without
12531 first doing recursion (Bug#5436).
12533 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12535 * vc-hooks.el (vc-path): Mark as obsolete.
12537 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12539 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12542 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12544 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12546 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12548 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12550 * vc-bzr.el (vc-bzr-revision-table): New function.
12552 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12554 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12555 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12557 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12559 Remove support for adding --signoff on commit.
12560 Future support will use an incompatible generic mechanism.
12561 * vc-git.el (vc-git-add-signoff): Remove variable.
12562 (vc-git-toggle-signoff): Remove function.
12563 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12565 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12566 Rename from xterm-set-background-mode. Return t if the background mode
12568 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12569 earlier, call it again in case the background mode has changed.
12571 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12573 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12576 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12578 * emacs-lisp/assoc.el (aelement): Doc fix.
12579 (aput, adelete, amake): Use lexical-let (Bug#5450).
12581 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12583 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12584 is the same as subprogram call, not declaration. (Bug#5435).
12586 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12588 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12589 (tramp-smb-maybe-open-connection): Use it.
12591 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12593 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12595 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12597 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12598 just because we see "encoding: 8bit".
12599 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12601 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12603 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12605 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12607 * jka-compr.el (jka-compr-load): If load-file is not in
12608 load-history, try its file-truename version. (bug#5447)
12610 2010-01-21 Alan Mackenzie <acm@muc.de>
12612 Fix a situation where deletion of a cpp construct throws an error.
12613 * progmodes/cc-engine.el (c-invalidate-state-cache):
12614 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12615 special cpp construct is still in the buffer.
12616 (c-parse-state): Record the special cpp with markers, not numbers.
12618 2010-01-21 Kenichi Handa <handa@m17n.org>
12620 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12621 process last-command-event, as it is now decoded first (Bug#5380).
12623 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12625 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12627 2010-01-20 Glenn Morris <rgm@gnu.org>
12629 * indent.el (tab-always-indent): Fix custom-type.
12631 2010-01-19 Alan Mackenzie <acm@muc.de>
12633 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12634 buffer throws "args out of range".
12635 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12636 playing the role of delimiter.
12638 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12640 * progmodes/ada-mode.el: Fix bug#5400.
12641 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12642 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12643 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12644 Improve comments in "is" portion. Handle null procedure declaration.
12645 (ada-move-to-end): Improve doc string.
12647 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12649 * ido.el (ido-cur-list): Initialize to nil.
12650 Remove obsolete information from commentary.
12651 (ido-choice-list): Initialize to nil.
12652 (ido-get-bufname): Reject minibuffers.
12653 (ido-make-buffer-list): If "default" is a nonexistent
12654 buffer, ignore it, as per the function's comment.
12655 (ido-kill-buffer-internal): New function.
12656 (ido-kill-buffer-at-head): Use it.
12657 (ido-visit-buffer): Likewise.
12659 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12661 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12663 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12665 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12666 Fix typos in chart titles.
12668 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12669 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12670 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12671 (describe-class, eieio-describe-generic, describe-generic):
12672 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12673 (eieio-speedbar-expand):
12674 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12675 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12676 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12677 (viper-del-backward-char-in-replace, viper-backward-indent)
12678 (viper-brac-function, viper-register-to-point, viper-submit-report):
12679 * net/tramp.el (tramp-remote-coding-commands):
12680 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12681 Fix typos in docstrings.
12683 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12685 * mail/sendmail.el (mail-yank-original): Set the mark if the
12686 specified function for yanking does not do it.
12688 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12690 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12692 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12693 resyncing a directory.
12695 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12697 * progmodes/ada-mode.el: Fix bug#1920.
12698 (ada-ident-re): Delete ., allow multibyte characters.
12699 (ada-goto-label-re): New; matches goto labels.
12700 (ada-block-label-re): New; matches block labels.
12701 (ada-label-re): New; matches both.
12702 (ada-named-block-re): Deleted; callers changed to use
12703 `ada-block-label-re' instead.
12704 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12705 Use `ada-block-label-re'.
12706 (ada-indent-on-previous-lines): Improve handling of goto labels.
12707 (ada-get-indent-block-start): Special-case block label.
12708 (ada-get-indent-label): Split into `ada-indent-block-label' and
12709 `ada-indent-goto-label'.
12710 (ada-goto-stmt-start, ada-goto-next-non-ws):
12711 Optionally ignore goto labels.
12712 (ada-goto-next-word): Simplify.
12713 (ada-indent-newline-indent-conditional): Insert newline before
12714 trying to fix indentation; doc fix.
12716 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12718 * calc/calc.el (calc-command-flags): Give it an initial value.
12720 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12722 * files.el (minibuffer-with-setup-hook):
12723 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12724 (artist-key-draw-continously, artist-key-do-continously-continously)
12725 (artist-key-set-point-continously, artist-mouse-draw-continously):
12726 Fix typos in docstrings.
12728 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12730 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12731 Never return t (Bug#3898).
12733 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12735 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12736 can parse the output of the external commands (Bug#5279).
12738 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12740 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12742 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12744 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12746 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12748 * startup.el (command-line): Remove unused --icon-type arg.
12749 Handle --display arg, passing it to command-line-1 (Bug#5392).
12751 2010-01-16 Mario Lang <mlang@delysid.org>
12753 * emacs-lisp/chart.el (chart-translate-namezone):
12754 * textmodes/artist.el (artist-compute-popup-menu-table):
12755 Remove duplicated words in doc-strings.
12757 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12759 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12760 to mairix-search to suppress threading (Bug#5342).
12762 2010-01-15 Kenichi Handa <handa@m17n.org>
12764 * international/mule-cmds.el (canonicalize-coding-system-name):
12765 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12767 2010-01-15 Glenn Morris <rgm@gnu.org>
12769 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12771 * wid-edit.el (widget-keymap): Doc fix.
12773 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12774 former seems to be more widely accepted by various svn versions.
12776 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12778 * find-cmd.el (find-constituents):
12779 * vc-arch.el (vc-arch-root):
12780 * window.el (window-body-height, pop-up-frames):
12781 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12782 * progmodes/ada-stmt.el (ada-if):
12783 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12784 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12785 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12786 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12788 * progmodes/flymake.el (flymake-post-syntax-check):
12789 Fix typo in error message.
12791 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12793 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12794 which is always a string. (Bug#5313)
12796 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12798 * progmodes/ada-xref.el (ada-default-prj-properties):
12799 Simplify previous change.
12801 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12803 * progmodes/ada-xref.el (ada-default-prj-properties):
12804 Default ada_project_path to $ADA_PROJECT_PATH.
12806 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12808 * progmodes/ada-mode.el (ada-create-keymap):
12809 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12811 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12813 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12814 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12815 (ada-get-current-indent, ada-imenu-generic-expression)
12816 (ada-which-function): Check for it.
12818 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12820 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12821 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12823 2010-01-14 Glenn Morris <rgm@gnu.org>
12825 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12827 2010-01-14 Kenichi Handa <handa@m17n.org>
12829 * composite.el (auto-composition-mode): Make it a buffer local
12830 variable (permanent-local).
12831 (auto-composition-function): Set the default value to
12832 auto-compose-chars.
12833 (auto-composition-mode): Make it a simple function, not a minor mode.
12834 (global-auto-composition-mode): Likewise.
12835 (turn-on-auto-composition-if-enabled): Delete it.
12837 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12839 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12841 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12843 * files.el (copy-directory): Compute target for recursive
12844 directories with identical names. (Bug#5343)
12846 2010-01-12 Glenn Morris <rgm@gnu.org>
12848 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12849 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12851 2010-01-11 Sam Steingold <sds@gnu.org>
12853 * imenu.el (imenu-default-create-index-function): Detect infinite
12854 loops caused by imenu-prev-index-position-function.
12856 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12858 * htmlfontify.el (htmlfontify-load-rgb-file)
12859 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12860 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12861 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12862 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12863 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12864 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12865 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12866 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12867 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12868 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12869 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12870 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12871 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12872 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12873 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12874 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12875 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12876 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12877 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12878 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12879 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12880 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12881 backslash-quoting from parentheses, etc.
12883 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12885 * progmodes/js.el: Autoload javascript-mode alias.
12887 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12889 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12890 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12891 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12892 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12893 Fix typos in docstrings.
12894 (ffap-url-regexp): Doc fix.
12895 (ffap-at-mouse): Fix typo in message.
12897 2010-01-11 Glenn Morris <rgm@gnu.org>
12899 * version.el (emacs-copyright): Set copyright year to 2010.
12901 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12903 * format.el (format-annotate-function): Only set
12904 write-region-post-annotation-function after running to-fn so as not to
12905 affect nested write-region calls (bug#5273).
12907 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12909 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12912 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12914 * man.el (Man-goto-section): Signal error if the section is not
12917 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12919 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12920 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12922 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12924 * progmodes/compile.el: Don't treat compile-command as safe if
12925 compilation-read-command might be nil (Bug#4218).
12927 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12929 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12932 2010-01-08 Kenichi Handa <handa@m17n.org>
12934 * international/fontset.el (build-default-fontset-data):
12935 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12937 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12939 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12940 to `create-file-buffer' as it expects, not just a buffer name.
12941 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12942 to help uniquify. (Bug#3224)
12944 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12946 * font-setting.el (font-setting-change-default-font): Use user-spec
12949 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12951 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12953 2010-01-05 Tom Tromey <tromey@redhat.com>
12955 * progmodes/python.el (python-font-lock-keywords):
12956 Handle qualified decorators (Bug#881).
12958 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12960 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12961 in a lightweight checkout.
12963 2010-01-05 Kenichi Handa <handa@m17n.org>
12965 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12967 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12969 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12971 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12973 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12974 checkouts. (Bug#618)
12975 (vc-bzr-log-view-mode): Also highlight the author.
12976 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12977 (vc-bzr-shelve-menu-map):
12978 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12979 (vc-bzr-shelve-apply): Make prompt more explicit.
12981 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12983 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12984 They are valid characters in URL paths (rfc3986), and at least
12985 Firefox does not understand the encoded version (Bug#3166).
12987 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12989 * progmodes/octave-mod.el (octave-end-keywords)
12990 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12991 Add "end" keyword (Bug#3061).
12992 (octave-end-as-array-index-p): New function.
12993 (calculate-octave-indent): Use it.
12995 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12997 * bookmark.el: Consistently put the text property on the bookmark name.
12998 (bookmark-bmenu-marks-width): Bump back to 2, to include
13000 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13001 property on the bookmark name, instead of not putting it at all.
13002 (bookmark-bmenu-list): Fix where we put the text property.
13004 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13006 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13007 for showing buffer modified state (as added in the previous change).
13009 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13011 * bookmark.el: Show modified state of bookmark buffer more accurately.
13012 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13013 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13014 (with-buffer-modified-unmodified): New macro.
13015 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13016 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13017 Use new macro to preserve the buffer modified state.
13019 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13021 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13022 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13023 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13024 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13025 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13026 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13027 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13029 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13031 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13032 Make the lines in the generated doc string shorter. (Bug#4668)
13034 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13036 * net/rcirc.el: Add follow-link binding (Bug#4738).
13038 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13040 * Makefile.in (bzr-update): Rename from cvs-update.
13041 (cvs-update): New target for backward compatibility.
13043 * makefile.w32-in (bzr-update): Rename from cvs-update.
13044 (cvs-update): New target for backward compatibility.
13046 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13048 * bookmark.el: Remove gratuitous gratitude.
13050 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13052 * bookmark.el (bookmark-bmenu-any-marks): New function.
13053 (bookmark-bmenu-save): Clear buffer modification if no marks.
13055 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13057 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13058 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13059 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13060 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13062 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13063 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13064 To: emacs-devel {_AT_} gnu.org
13065 Subject: bookmark.el bug report
13066 Date: Mon, 28 Dec 2009 14:19:16 +0800
13067 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13069 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13071 * bookmark.el: Improvements suggested by Drew Adams:
13072 (bookmark-bmenu-ensure-position): New name for
13073 `bookmark-bmenu-check-position'. Just ensure the position,
13074 don't return any meaningful value.
13075 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13078 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13080 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13081 (bookmark-yank-point, bookmark-bmenu-check-position):
13082 Fix typos in docstrings.
13083 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13084 (bookmark-name-from-full-record, bookmark-get-position)
13085 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13086 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13087 Remove useless quoting of parenthesis, etc. in docstrings.
13089 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13090 (ediff-append-custom-diff): Fix typo in error message.
13091 (ediff-meta-mark-equal-files): Fix typos in messages.
13093 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13095 * net/imap-hash.el (imap-hash-make): Doc fix.
13096 (imap-hash-test): Fix typo in error message; reflow docstring.
13097 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13098 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13099 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13100 Fix typos in docstrings.
13101 (imap-hash-open-connection): Fix typo in error message.
13103 * play/gomoku.el (gomoku): Fix typos in docstring.
13105 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13106 (gdb-jsonify-buffer): Fix typos in docstring.
13107 (gdb-goto-breakpoint): Fix typo in error message.
13108 ("Display Other Windows"): Fix typo in help message.
13109 (gdb-speedbar-expand-node): Fix typo in question.
13111 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13112 (idlwave-html-system-help-location, idlwave-html-help-location)
13113 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13114 (idlwave-help-browser-generic-args, idlwave-help-directory)
13115 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13116 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13117 (idlwave-online-help, idlwave-help-html-link)
13118 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13119 Fix typos in docstrings.
13120 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13122 (idlwave-help-assistant-start): Fix typo in error message.
13124 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13125 (octave-electric-space): Fix typos in docstrings.
13127 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13129 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13131 2010-01-01 Juri Linkov <juri@jurta.org>
13133 * comint.el (comint-input-ring-size): Make it a defcustom and
13134 increase the default to 500 (Bug#5148).
13136 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13138 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13139 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13140 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13142 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13144 Show working revision correctly for mercurial.
13145 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13146 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13148 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13150 Declare some functions for the byte-compiler.
13151 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13152 (speedbar-timer-fn, speedbar-change-expand-button-char)
13153 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13155 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13157 This changeset reverts GDB Graphical Interface to use annotations.
13158 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13160 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13162 Make vc-dir work on subdirectories of the bzr root.
13163 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13164 Return file names relative to it.
13165 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13166 relative directory to vc-bzr-after-dir-status.
13168 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13170 * font-lock.el (font-lock-refresh-defaults): New function, which
13171 can be used to let font-lock react to external changes in
13172 variables like font-lock-defaults and keywords.
13173 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13175 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13177 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13179 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13181 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13183 Supersede color.diff settings in git log (bug#5211).
13185 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13186 escape chars in its output when the user has color.diff set to `always'.
13187 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13189 2009-12-26 Kevin Ryde <user42@zip.com.au>
13191 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13192 node. Keep previous "Index" name to work with past coreutils too.
13194 * man.el (man): Revise docstring a bit to show -a and -l as
13195 examples. Add -k description since support for it has otherwise
13196 been a secret. (Further to bug#3717.)
13197 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13198 "no matches" rather than "Can't find manpage", as the latter reads
13199 like -k was interpreted as a page name, which is not so. (Bug#5431)
13201 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13203 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13204 switches. Check also for //SUBDIRED// line.
13206 2009-12-25 Kenichi Handa <handa@m17n.org>
13208 * language/indian.el (devanagari-composable-pattern): Fix to
13209 handle ZWNJ and ZWJ. Use it in composition-function-table for
13211 (malayalam-composable-pattern): Fix previous change.
13213 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13215 * ps-print.el (ps-face-attributes): It was not returning the
13216 attribute face for faces specified as string. Reported by harven
13217 <harven@free.fr>. (Bug#5254)
13218 (ps-print-version): New version 7.3.5.
13220 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13222 * calendar/icalendar.el (icalendar--convert-tz-offset):
13223 Fix timezone names.
13224 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13225 (icalendar--add-diary-entry): Remove the trailing blank that
13226 diary-make-entry inserts.
13228 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13230 Make `file-expand-wildcards' work for remote files.
13232 * files.el (file-expand-wildcards): In case of remote files, check
13233 only local file name part for wildcards. Provide feature 'files
13234 and subfeature 'remote-wildcards. (Bug#5198)
13236 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13237 if there is already an established connection.
13238 (tramp-advice-file-expand-wildcards): Remove it.
13240 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13241 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13242 Activate advice for older GNU Emacs versions. (Bug#5237)
13244 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13246 Some doc fixes (more needed).
13248 * find-cmd.el (find-constituents): Reflow docstring.
13249 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13250 (find-generic): Doc fix.
13252 2009-12-17 Juri Linkov <juri@jurta.org>
13254 Fix regression from 23.1 to allow multiple modes in Local Variables.
13256 * files.el (hack-local-variables-filter): While ignoring duplicates,
13257 don't take `mode' into account.
13258 (hack-local-variables-filter, hack-dir-local-variables):
13259 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13261 2009-12-17 Juri Linkov <juri@jurta.org>
13263 Make `dired-diff' safer. (Bug#5225)
13265 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13266 `current' or when `file' is a directory of the `current' file.
13268 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13270 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13271 unconditionally preloaded files.
13273 2009-12-16 Juri Linkov <juri@jurta.org>
13275 Revert to old 23.1 logic of using the file at the mark as default.
13276 * dired-aux.el (dired-diff): Use the file at the mark as default
13277 if it's not the same as the current file, and the target dir is
13278 the current dir or the mark is active. Add the current file
13279 as the arg of `dired-dwim-target-defaults'. Use the default file
13280 in the prompt. (Bug#5225)
13282 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13284 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13285 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13286 (tramp-check-for-regexp): Check also, when an echoing shell stops
13287 to echo sent commands.
13289 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13291 * Makefile.in: Revert last change (Bug#5191).
13293 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13295 * vc-hg.el (vc-hg-print-log): Fix argument order.
13296 (vc-hg-working-revision): Make sure the command is executed in a
13297 known environment so that we can parse the output. (Bug#4417)
13299 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13301 * progmodes/python.el (python-symbol-completions): Remove text
13302 properties from symbol string before calling python-send-receive.
13304 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13306 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13307 when there are values for both file and line. (Bug#5060)
13309 2009-12-14 Juri Linkov <juri@jurta.org>
13311 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13312 whitespace after the file name of the first line of unified format,
13313 because git-diff doesn't output whitespace and file modification time
13314 after the file name.
13316 2009-12-14 David Kastrup <dak@gnu.org>
13318 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13319 check if it already has the `display' property added by
13320 `Info-display-images-node', and not put the `invisible' property
13323 2009-12-13 Glenn Morris <rgm@gnu.org>
13325 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13326 (report-emacs-bug): In message-mode, sort manually before storing
13327 original report text. (Bug#5178)
13328 Remove superfluous save-excursion.
13330 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13332 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13333 when responding to "GetAll" properties.
13335 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13337 * simple.el (compose-mail): Remove mail-setup-with-from from
13338 customization checks.
13340 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13342 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13343 RAR archives created on Unix systems.
13345 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13347 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13348 the varalias that was accidentally removed by the 2009-11-19 change
13351 2009-12-12 Kenichi Handa <handa@m17n.org>
13353 * language/indian.el (indian-compose-regexp): New function.
13354 (malayalam-composable-pattern): Fix the pattern.
13355 (composition-function-table): Set malayalam-composable-pattern for
13356 Malayalam characters.
13358 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13360 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13361 rather than down-mouse-1, based on follow-link conventions.
13363 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13366 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13368 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13369 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13370 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13371 (verilog-leap-to-head, verilog-backward-token):
13372 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13374 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13376 * progmodes/verilog-mode.el (verilog-auto-lineup)
13377 (verilog-nameable-item-re): Cleanup user-visible spelling and
13378 documentation errors. One reported by Gary Delp.
13379 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13380 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13381 package, bug195. Reported by Pierre-David Pfister.
13383 2009-12-11 Glenn Morris <rgm@gnu.org>
13385 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13387 * mail/emacsbug.el: No longer require sendmail.
13388 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13389 (report-emacs-bug-orig-text): Doc fix.
13390 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13391 New local variables, to adapt to different mail-user-agents.
13392 (report-emacs-bug): Fix test for a gnu.org address.
13393 Use overlays for emphasis, since font-lock defeats 'face property.
13394 Pretest bugs also end up at the newsgroup these days.
13395 Stop message-mode stripping text properties.
13396 Set and use the new buffer-local variables.
13397 (report-emacs-bug-hook): Add doc-string.
13398 Remove some unnecessary save-excursions and simplify.
13399 Use the appropriate hook and send-command.
13401 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13402 capitalization of some menu entries.
13404 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13406 * whitespace.el (whitespace-display-char-on):
13407 Ensure `buffer-display-table' is unique when two or more windows are
13408 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13411 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13413 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13414 characters in the Attribute field.
13416 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13418 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13420 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13422 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13423 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13424 Disregard autoload-excludes.
13425 (update-directory-autoloads): Obey autoload-excludes here instead.
13426 But don't store its contents in no-autoloads and remove entries that
13427 refer to excludes files.
13429 2009-12-10 Glenn Morris <rgm@gnu.org>
13431 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13432 (expand-mail-aliases): Define for compiler.
13434 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13435 Define for compiler.
13437 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13438 appropriate for the mail-user-agent in use.
13440 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13442 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13444 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13446 Fix short log parsing and fontification.
13447 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13448 Fix fontification for the [merge] label.
13450 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13452 Drop some properties to avoid surprises (bug#5002).
13453 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13454 (hfy-fontify-buffer): Use it.
13456 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13459 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13460 Adjust all callers.
13461 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13462 args compulsory. Adjust callers.
13463 (ffap-gopher-at-point): Remove unused var `name'.
13465 Get rid of the ELCFILES abomination.
13466 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13467 (compile-elcfiles): New phony target.
13468 (compile-main): Compute ELCFILES dynamically.
13469 (compile-clean): New target to remove left-over elc files.
13470 (compile, all): Use it.
13472 2009-12-09 Kenichi Handa <handa@etlken>
13474 * international/mule-diag.el: Require help-mode instead of help-fns.
13476 2009-12-09 Kenichi Handa <handa@m17n.org>
13478 * international/mule-cmds.el (ucs-names): Supply sufficiently
13479 fine ranges instead of pre-calculating accurate ranges.
13480 Iterate with bigger gc-cons-threshold.
13482 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13484 Add support for stashing a snapshot of the current tree.
13485 * vc-git.el (vc-git-stash-snapshot): New function.
13486 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13488 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13490 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13491 instead of `(beginning|end)-of-line'.
13493 2009-12-08 Glenn Morris <rgm@gnu.org>
13495 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13497 * Makefile.in (ELCFILES): Regenerate.
13499 2009-12-07 Juri Linkov <juri@jurta.org>
13501 Don't lazy-highlight the comint output in history Isearch mode.
13503 * comint.el (comint-history-isearch-search): Instead of
13504 `comint-line-beginning-position', use `comint-after-pmark-p'
13505 to check if point if before the process mark, and go to
13506 `process-mark' in this case.
13508 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13510 * textmodes/tex-mode.el (latex-complete)
13511 (latex-indent-or-complete): Remove.
13512 (latex-mode): Set completion-at-point-functions instead.
13514 Provide a standard completion command and hook it into TAB.
13515 * minibuffer.el (completion-at-point-functions): New var.
13516 (completion-at-point): New command.
13517 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13518 * progmodes/python.el (python-mode-map): Use completion-at-point.
13519 (python-completion-at-point): Rename from python-partial-symbol and
13520 adjust for use in completion-at-point-functions.
13521 (python-mode): Setup completion-at-point for Python completion.
13522 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13523 extracted from lisp-complete-symbol.
13524 (lisp-complete-symbol): Use it.
13525 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13526 setup completion-at-point for Elisp completion.
13527 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13528 Use completion-at-point.
13529 * ielm.el (ielm-map): Use completion-at-point.
13530 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13531 * progmodes/sym-comp.el: Move to...
13532 * obsolete/sym-comp.el: Move from progmodes.
13534 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13536 Prevent save-buffer in Rmail buffers from using the coding-system
13537 of the current message, and from clobbering the encoding mnemonics
13538 in the mode line (Bug#4623).
13540 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13542 (rmail-message-encoding): New variable.
13543 (rmail-write-region-annotate): Record the encoding of the current
13544 message in rmail-message-encoding.
13545 (rmail-after-save-hook): New function, restores the encoding of
13546 the current message after the message collection is saved.
13548 2009-12-07 Juri Linkov <juri@jurta.org>
13550 * progmodes/grep.el (grep-read-files): Use `completing-read'
13551 instead of `read-string'. Set its `collection' arg to
13552 `read-file-name-internal'. (Bug#4301)
13554 2009-12-07 Juri Linkov <juri@jurta.org>
13556 Correctly restore original Isearch point. (Bug#4994)
13558 * isearch.el (isearch-mode): Move `isearch-push-state' after
13559 `(run-hooks 'isearch-mode-hook)'.
13560 (isearch-cancel): When `isearch-push-state-function' is defined,
13561 let-bind `isearch-cmds' to the first state (the last element of
13562 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13563 function and restores the original point). Otherwise, move point
13564 to `isearch-opoint'.
13566 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13568 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13569 chars that don't have names, so the table can be built much faster at
13572 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13574 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13575 change. Suggested by David Kastrup.
13577 * simple.el (compose-mail): Check for incompatibilities and warn.
13578 (compose-mail-user-agent-warnings): New option.
13580 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13582 Support showing a single log entry from vc-annotate.
13583 * vc.el (print-log): Add a new argument: START-REVISION.
13584 (vc-print-log-internal): Add a new optional argument and
13585 pass it to the backend.
13586 (vc-print-log, vc-print-root-log): Adjust callers.
13587 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13588 buffer already displays the requested log entry, use it.
13589 Otherwise display only the log entry in question.
13590 * vc-svn.el (vc-svn-print-log):
13591 * vc-mtn.el (vc-mtn-print-log):
13592 * vc-hg.el (vc-hg-state):
13593 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13594 (vc-git-show-log-entry): Return t on success.
13595 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13596 (vc-bzr-show-log-entry): Return t on success.
13597 * vc-rcs.el (vc-rcs-print-log):
13598 * vc-sccs.el (vc-sccs-print-log):
13599 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13601 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13603 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13604 Add menus to the meta mode. (Bug#5043)
13606 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13608 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13611 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13613 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13615 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13616 Berbain <raphael.berbain@gmail.com>.
13618 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13620 (tramp-initial-end-of-output): New defconst.
13621 (tramp-methods, tramp-find-shell)
13622 (tramp-open-connection-setup-interactive-shell)
13623 (tramp-maybe-open-connection): Use it.
13624 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13625 Handle existence of `#' and `$'.
13627 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13628 Use `tramp-initial-end-of-output'.
13630 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13632 Get the background mode from the terminal for xterm, and set
13634 * term/xterm.el (xterm-set-background-mode): New function.
13635 (terminal-init-xterm): Use it in case xterm supports background
13636 color queries. Recompute faces after getting the background
13639 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13641 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13642 number comment back on its own line, for easier parsing.
13644 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13646 Make it work for non-file buffers (bug#5102).
13647 * doc-view.el (doc-view-current-cache-dir):
13648 Use doc-view-buffer-file-name rather than buffer-file-name.
13649 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13651 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13653 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13654 author field is too short.
13656 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13658 * vc-git.el (vc-git-print-log): Handle a limit argument.
13659 Display the short log in graph form and with labels.
13660 (vc-git-log-view-mode): Handle labels.
13662 Make vc-revert change VC state from 'added to 'unregistered.
13663 * vc-git.el (vc-git-revert): Call git reset first.
13665 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13667 * net/newst-backend.el, net/newst-plainview.el:
13668 * net/newst-reader.el, net/newst-ticker.el:
13669 * net/newst-treeview.el, net/newsticker.el:
13670 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13672 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13674 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13676 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13677 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13678 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13679 Update annotation regexp.
13681 * simple.el (beginning-of-visual-line): Constrain to field
13682 boundaries (Bug#5106).
13684 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13686 * xml.el (xml-substitute-numeric-entities):
13687 Move newsticker--decode-numeric-entities in newst-backend.el to
13688 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13689 * net/newst-backend.el (newsticker--parse-generic-feed)
13690 (newsticker--parse-generic-items)
13691 (newsticker--decode-numeric-entities):
13692 Move newsticker--decode-numeric-entities in newst-backend.el to
13693 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13695 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13697 * progmodes/js.el (js--js-not): Add null to the list of values.
13699 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13701 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13703 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13705 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13706 delimiter if it is at the end of the current line.
13707 (bibtex-generate-url-list): Fix docstring.
13709 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13711 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13712 minibuffer's content with itself.
13713 Fold the confirm-after-completion case into the `confirm' case.
13714 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13716 2009-12-06 Kevin Ryde <user42@zip.com.au>
13718 * ffap.el (ffap-rfc-path): Make this a defcustom since
13719 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13721 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13722 manuals, similar to existing setup for help-mode. (Bug#3913.)
13724 2009-12-05 Juri Linkov <juri@jurta.org>
13726 Save and restore dired buffer's point positions too. (Bug#4880)
13728 * dired.el (dired-save-positions): Return in the first element
13729 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13731 (dired-restore-positions): First restore buffer's position.
13732 While restoring window's positions, check if window still displays
13733 the original buffer.
13735 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13737 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13740 * shell.el (shell): Require ansi-color (Bug#5113).
13742 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13744 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13746 2009-12-05 Alan Mackenzie <acm@muc.de>
13748 * progmodes/cc-mode.el (c-before-hack-hook)
13749 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13750 `c-file-style' to work again. This reversion restores the current
13751 software to its state in Emacs 23.1. (Bug#4146)
13753 2009-12-05 Kevin Ryde <user42@zip.com.au>
13755 * textmodes/sgml-mode.el (sgml-lexical-context):
13756 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13758 2009-12-05 Juri Linkov <juri@jurta.org>
13760 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13761 for virtual nodes. (Bug#4147)
13762 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13763 when moving from a virtual node.
13764 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13765 (Info-mode): Add `Info-virtual-index' to the docstring.
13767 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13769 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13770 track of the buffer position of the end of a BibTeX entry as this
13771 position may change during reformatting.
13772 (bibtex-format-entry): Remove whitespace before processing
13773 numerical fields so that we recognize the latter properly.
13774 (bibtex-reformat): Do not use push which changes the global value
13775 of bibtex-entry-format.
13776 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13777 (bibtex-field-re-init): Replace only space characters by regexp
13779 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13780 (bibtex-initialize): Also update bibtex-strings.
13781 (bibtex-kill-field): Preserve white space at end of entry.
13782 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13783 Update bibtex-reference-keys.
13785 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13787 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13788 point after a star, if that's the only place where modifications can
13791 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13793 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13796 2009-12-04 Juri Linkov <juri@jurta.org>
13798 * proced.el (proced): Call `(proced-update t)' to update process
13799 information instead of only running proced-post-display-hook.
13800 (proced-send-signal): Add a leading space to the buffer name
13801 " *Marked Processes*" to make this buffer ephemeral.
13803 2009-12-04 Juri Linkov <juri@jurta.org>
13805 * dired.el (dired-auto-revert-buffer): New defcustom.
13806 (dired-internal-noselect): Use it.
13808 2009-12-04 Juri Linkov <juri@jurta.org>
13810 Change roles of modes and functions in image-mode.el (Bug#5062).
13812 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13813 in `auto-mode-alist'.
13814 (image-mode-previous-major-mode): New variable.
13815 (image-minor-mode-map): Rename from `image-mode-text-map'.
13816 (image-mode): Move graceful error-handling code from
13817 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13818 (image-minor-mode): Remove all image-handling code.
13819 Replace `image-mode-text-map' with `image-minor-mode-map'.
13820 Check for `image-type' in mode-line format string.
13821 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13822 (image-mode-as-text): New function with most code from
13823 `image-mode-maybe'.
13824 (image-toggle-display-text): Move code that removes image
13825 properties from `image-toggle-display' to here.
13826 (image-toggle-display-image): New function with code that adds
13827 image properties copied from `image-toggle-display'.
13828 (image-toggle-display): Remove most code with leaving only code
13829 that toggles between `image-mode-as-text' and `image-mode'.
13831 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13833 * net/newst-treeview.el
13834 (newsticker--treeview-list-highlight-start): Restored call to
13835 save-excursion: Selected item was stuck.
13836 (newsticker--treeview-list-select): New.
13837 (newsticker--treeview-item-show-text)
13838 (newsticker--treeview-item-show)
13839 (newsticker--treeview-item-update): Use new
13840 newsticker-treeview-item-mode.
13841 (newsticker-treeview-update): Keep current item.
13842 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13843 (newsticker--treeview-first-feed): Doc change.
13844 (newsticker-treeview-list-menu)
13845 (newsticker-treeview-item-menu): Add menu entries.
13846 (newsticker-treeview-item-mode): New.
13848 * net/newst-backend.el (newsticker-customize): Delete other
13851 2009-12-04 Sam Steingold <sds@gnu.org>
13853 * log-view.el (log-view-mode-map): "q" calls quit-window,
13854 like in all the other non-self-insert buffers.
13856 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13859 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13860 key decoding rather than do it manually via last-input-event +
13862 (term-exec): Use delete-and-extract-region.
13863 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13864 (term-process-pager): Remove unused var `i'.
13865 (term-dynamic-simple-complete): Make obsolete.
13866 (serial-update-config-menu): Remove unused vars `y' and `str'.
13867 (term-update-mode-line): Remove unused var `temp'.
13869 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13871 Limit the number of log entries displayed by default.
13872 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13873 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13874 using a prefix argument.
13876 2009-12-03 Glenn Morris <rgm@gnu.org>
13878 * progmodes/idlwave.el (class): Restore still useful declaration.
13880 2009-12-03 Alan Mackenzie <acm@muc.de>
13882 Enhance `c-parse-state' to run efficiently in "brace deserts".
13884 * progmodes/cc-mode.el (c-basic-common-init):
13885 Call c-state-cache-init.
13886 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13887 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13888 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13890 * progmodes/cc-langs.el (c-before-font-lock-function):
13891 c-extend-and-neutralize-syntax-in-CPP has been renamed
13892 c-neutralize-syntax-in-and-mark-CPP.
13894 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13895 with `category' properties now, not `syntax-table' ones.
13897 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13898 enhanced (but slower) version of c-end-of-macro that won't land
13899 inside a literal or on another awkward character.
13900 (c-state-cache-too-far, c-state-cache-start)
13901 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13902 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13903 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13904 (c-state-min-scan-pos, c-state-brace-pair-desert)
13905 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13906 buffer local variables.
13907 (c-state-literal-at, c-state-lit-beg)
13908 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13909 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13910 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13911 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13912 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13913 (c-renarrow-state-cache)
13914 (c-append-lower-brace-pair-to-state-cache)
13915 (c-state-push-any-brace-pair, c-append-to-state-cache)
13916 (c-remove-stale-state-cache)
13917 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13918 (c-invalidate-state-cache-1, c-parse-state-1)
13919 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13920 (c-parse-state): Enhance and refactor.
13921 (c-debug-parse-state): Amend to deal with all the new variables.
13923 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13924 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13925 modify to use category text properties rather than syntax-table ones.
13926 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13927 to switch off/on the syntactic paren property of C++ template
13928 delimiters using the category property.
13929 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13930 template delims suppressed.
13931 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13932 New constant/macros which apply category properties to the start
13933 and end of preprocessor constructs.
13934 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13935 "comment out" the syntactic value of characters in preprocessor
13937 (c-with-cpps-commented-out)
13938 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13939 with characters in all or all but one preprocessor constructs
13942 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13944 * proced.el (proced-filter-alist): Use regexp-quote.
13946 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13949 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13950 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13951 arguments. Expand `default-directory'.
13953 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13954 the benefit of returning an expanded localname.
13955 (tramp-tramp-file-p): Handle the case NAME is not a string.
13957 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13959 Add support for bzr shelve/unshelve.
13960 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13961 (vc-bzr-extra-menu-map): New variables.
13962 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13963 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13964 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13965 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13966 (vc-bzr-dir-extra-headers): Display shelves.
13968 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13970 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13972 * textmodes/bibtex.el (bibtex-complete-internal):
13973 Use completion-in-region.
13974 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13976 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13978 Support applying stashes. Improve UI.
13979 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13980 (vc-git-stash-apply, vc-git-stash-pop)
13981 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13982 (vc-git-stash-menu): New functions.
13983 (vc-git-stash-menu-map): New variable.
13984 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13986 2009-12-03 Glenn Morris <rgm@gnu.org>
13988 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13989 (vc-print-log-internal): Fix previous change.
13990 (vc-revert): Correct pluralization.
13992 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13994 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13995 it to be an alist any more.
13996 (makefile-complete): Use completion-in-region.
13998 * progmodes/octave-mod.el (octave-complete-symbol):
13999 Use completion-in-region.
14002 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14003 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14004 (idlwave-complete-class): Don't quote lambda.
14005 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14006 (idlwave-mode-map): Move initialization into declaration.
14007 (idlwave-action-and-binding): Use backquotes.
14008 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14010 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14011 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14012 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14013 `parts', and `all-parts'.
14014 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14015 (idlwave-convert-xml-system-routine-info): Remove unused string
14017 (idlwave-display-user-catalog-widget): Use dolist.
14018 (idlwave-scanning-lib): Declare dynamically-scoped var.
14019 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14020 (completion-highlight-first-word-only): Declare to silence bytecomp.
14021 (idlwave-popup-select): Tighten scope of `resp'.
14022 (idlwave-find-struct-tag): Remove unused var `beg'.
14023 (idlwave-after-load-rinfo-hook): Declare.
14024 (idlwave-sintern-class-info): Remove unused var `taglist'.
14025 (idlwave-find-class-definition): Remove unused var `list'.
14026 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14027 (idlwave-what-module-find-class): Remove unused var `classes'.
14029 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14031 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14033 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14035 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14036 buffers visited. Remove redundant current-buffer-saving.
14038 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14040 Use completion-in-buffer and remove uses of dynamic scoping.
14041 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14042 (pascal-buffer-to-use, pascal-flag): Don't declare.
14043 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14044 (pascal-get-completion-decl, pascal-keyword-completion):
14045 Add `pascal-str' argument, save-excursion,
14046 return the found completions, and don't filter with pascal-pred.
14047 (pascal-completion-cache): New var.
14048 (pascal-completion): Don't switch buffer any more (it was never
14049 necessary). Don't save-excursion any more (it's done by the called
14050 subroutines). Use a cache to avoid redundant computations.
14051 Use complete-with-action rather than pascal-completion-response and
14052 let it apply the predicate as well.
14053 (pascal-complete-word): Use completion-in-buffer when
14054 pascal-toggle-completions is nil.
14055 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14057 (pascal-comp-defun): Don't change buffer any more.
14058 Use complete-with-action rather than pascal-completion-response and
14059 let it apply the predicate as well.
14060 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14063 2009-12-02 Kenichi Handa <handa@m17n.org>
14065 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14066 shape for all Indic scripts.
14068 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14070 Use completion-in-buffer.
14071 * wid-edit.el (widget-field-text-end): New function.
14072 (widget-field-value-get): Use it.
14073 (widget-string-complete, widget-file-complete)
14074 (widget-color-complete): Use it and completion-in-region.
14075 (widget-complete): Don't narrow the buffer.
14077 2009-12-02 Glenn Morris <rgm@gnu.org>
14079 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14080 (rmail-select-summary): Use rmail-pop-to-buffer.
14081 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14082 rmail-pop-to-buffer, to prevent horizontal splits.
14084 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14085 save-excursion with save-current-buffer.
14086 Widen before searching. (Bug#5093)
14087 (diary-list-sexp-entries): Remove superfluous save-excursion.
14089 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14091 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14094 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14096 * ido.el (ido-file-internal): Handle filenames at point that do
14097 not have a directory part. (Bug#5049)
14099 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14101 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14102 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14104 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14106 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14107 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14110 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14112 * comint.el (comint-insert-input): Ignore clicks to the right of
14113 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14115 * vc.el (vc-print-log-internal): Don't wait for the process to
14116 terminate before setting up the major mode.
14118 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14121 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14124 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14126 2009-12-01 Glenn Morris <rgm@gnu.org>
14128 * window.el (window--display-buffer-2): Fix previous changes.
14130 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14132 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14134 2009-12-01 Glenn Morris <rgm@gnu.org>
14136 * Makefile.in (ELCFILES): Add mpc.elc.
14138 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14140 * mpc.el: New file.
14142 2009-12-01 Glenn Morris <rgm@gnu.org>
14144 * window.el (window-to-use): Define for compiler.
14146 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14147 consistent with others (no final period).
14149 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14150 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14152 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14154 Make vc-print-log buttons work.
14155 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14157 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14159 * savehist.el (savehist-autosave-interval): Allow setting to nil
14160 through customize. (Bug#5056)
14162 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14164 Fix references to jit-lock properties.
14165 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14166 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14167 (perl-font-lock-special-syntactic-constructs):
14168 Quote jit-lock-defer-multiline property.
14170 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14172 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14174 2009-11-30 Juri Linkov <juri@jurta.org>
14176 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14177 value `buffer' of `multi-isearch-next-buffer-current-function'.
14178 Use `(current-buffer)' when `buffer' is nil.
14179 (multi-isearch-next-buffer-from-list): Don't fallback to
14180 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14182 2009-11-30 Juri Linkov <juri@jurta.org>
14184 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14185 of buffers with `get-buffer' to `multi-isearch-buffers'.
14186 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14187 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14188 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14189 FILES with `expand-file-name' converting relative file names
14190 to absolute. Doc fix. (Bug#4727)
14192 2009-11-30 Juri Linkov <juri@jurta.org>
14194 * misearch.el (multi-isearch-read-buffers)
14195 (multi-isearch-read-matching-buffers): New functions.
14196 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14197 Use them in the `interactive' spec. Doc fix.
14198 (multi-isearch-read-files, multi-isearch-read-matching-files):
14200 (multi-isearch-files, multi-isearch-files-regexp):
14201 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14203 2009-11-30 Juri Linkov <juri@jurta.org>
14205 * doc-view.el (doc-view-continuous):
14206 Rename from `doc-view-continuous-mode'.
14207 (doc-view-menu): Move "Toggle display" to the top.
14208 Add submenu "Continuous" with radio buttons "Off"/"On"
14209 and "Save as Default".
14210 (doc-view-scroll-up-or-next-page)
14211 (doc-view-scroll-down-or-previous-page)
14212 (doc-view-next-line-or-next-page)
14213 (doc-view-previous-line-or-previous-page):
14214 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14216 2009-11-30 Juri Linkov <juri@jurta.org>
14218 * comint.el (comint-mode-map): Rebind `M-r' from
14219 `comint-previous-matching-input' to
14220 `comint-history-isearch-backward-regexp'.
14221 Unbind `M-s' to allow global key binding `M-s'.
14222 Add menu items for `comint-history-isearch-backward' and
14223 `comint-history-isearch-backward-regexp'. (Bug#3746)
14225 2009-11-30 Juri Linkov <juri@jurta.org>
14227 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14228 For def=recenter, replace `recenter' with `recenter-top-bottom'
14229 that is called with `this-command' and `last-command' let-bound
14230 to `recenter-top-bottom'. When the last `def' was not `recenter',
14231 set `recenter-last-op' to nil. (Bug#4981)
14233 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14235 Minor cleanup and simplification.
14236 * filecache.el (file-cache-add-directory)
14237 (file-cache-add-directory-recursively)
14238 (file-cache-add-from-file-cache-buffer)
14239 (file-cache-delete-file-regexp, file-cache-delete-directory)
14240 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14241 (file-cache-temp-minibuffer-message): Delete function.
14242 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14244 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14245 Don't signal an error when bumping into EOB in tr, s, or y.
14247 2009-11-29 Juri Linkov <juri@jurta.org>
14249 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14252 * descr-text.el (describe-char-unidata-list): Use lowercase name
14253 for "Unicode name" like in other tags.
14255 2009-11-29 Juri Linkov <juri@jurta.org>
14257 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14258 New compatibility macro.
14259 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14261 2009-11-29 Juri Linkov <juri@jurta.org>
14263 Add defcustom to define the cycling order of `recenter-top-bottom'.
14266 * window.el (recenter-last-op): Doc fix.
14267 (recenter-positions): New defcustom.
14268 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14269 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14271 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14273 Improve integration of Tramp and ange-ftp in eshell.
14275 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14276 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14277 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14279 * eshell/esh-util.el (top): Require also Tramp when compiling.
14280 (eshell-directory-files-and-attributes): Check for FTP remote
14282 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14283 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14284 (eshell-file-attributes): Handle ".". Return `entry'.
14286 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14287 (ange-ftp-directory-files-and-attributes)
14288 (ange-ftp-real-directory-files-and-attributes): New defuns.
14290 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14291 shell with "exec" when possible. This prevents trailing prompts
14292 in `start-file-process'.
14294 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14296 Try and remove assumptions about point-min==1.
14297 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14298 (rng-compute-mode-line-string): Show the validation percentage in
14299 terms of the narrowed text, not the widened text.
14300 (rng-do-some-validation): Don't catch internal errors when debugging.
14301 (rng-first-error): Simplify.
14302 (rng-after-change-function): Remove work around. AFAIK the bug has
14303 been fixed a while ago.
14305 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14306 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14308 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14310 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14311 `cd' doesn't always do it for us (bug#5067).
14313 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14314 on 2009-10-25 as part of some other change (bug#5067).
14316 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14318 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14320 (byte-compile-warnings): Use byte-compile-warning-types.
14321 (byte-compile-save-excursion): Warn about use of set-buffer right
14322 after save-excursion.
14324 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14325 the excursion as well.
14327 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14329 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14330 providing a Tramp related implementation of "su" and "sudo".
14331 (eshell-unix-initialize): Add "su" and "sudo".
14333 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14335 * net/socks.el (socks-send-command): Convert binary request to
14336 unibyte before sending. This fixes mishandling of some port
14337 numbers such as 129.
14339 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14341 * help.el (describe-bindings-internal): Remove `interactive'.
14343 * man.el (Man-completion-table): Trim a terminating "(".
14344 Remove the space between name page a section.
14345 Add the command's description on the `help-echo' property.
14346 Remove `process-connection-type' binding since it's unused by
14348 Provide completion for the "<section> <name>" format as well.
14349 (Man-default-man-entry): Remove spurious var shadowing the argument.
14351 2009-11-26 Kevin Ryde <user42@zip.com.au>
14353 * log-view.el: Add "Keywords: tools", since its other keywords
14354 aren't in finder-known-keywords, and following vc.el.
14356 * sha1.el (sha1-string-external): default-directory "/" in case
14357 otherwise non-existent. process-connection-type pipe for touch of
14358 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14360 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14362 Misc coding convention cleanups.
14363 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14364 hfy-init-kludge-hooks.
14365 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14366 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14367 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14369 (hfy-slant, hfy-weight): Use tables rather than code.
14370 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14371 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14372 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14373 (hfy-face-to-css): Remove `nconc' with single arg.
14374 (hfy-p-to-face-lennart): Use `or'.
14375 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14376 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14377 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14378 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14379 (hfy-force-fontification): Use run-hooks.
14381 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14383 Various minor fixes.
14384 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14385 Javascript belongs in the header, not the body.
14386 (hfy-javascript): Remove.
14387 (hfy-fontify-buffer): Don't insert it any more.
14388 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14389 Fix bug in invis handling when there were no invis props in a chunk.
14391 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14393 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14395 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14397 * finder.el (finder-mode-map): Add a menu.
14399 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14401 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14402 "unsigned" structs.
14404 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14405 fork" statement better.
14407 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14409 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14410 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14411 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14412 Reported by Clay Douglass.
14414 (verilog-auto-inst, verilog-auto-star-safe)
14415 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14416 Fix removing "// Interfaces" when saving .* expansions.
14417 Reported by Pierre-David Pfister.
14419 2009-11-26 Glenn Morris <rgm@gnu.org>
14421 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14424 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14426 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14427 Really use previous revision.
14429 2009-11-25 Kevin Ryde <user42@zip.com.au>
14431 * man.el (Man-completion-table): default-directory "/" in case
14432 doesn't otherwise exist. process-environment COLUMNS=999 so as
14433 not to truncate long names. process-connection-type pipe to avoid
14434 any chance of hitting the pseudo-tty TIOCGWINSZ.
14435 (man): completion-ignore-case t for friendliness and since man
14436 itself is case-insensitive on the command line.
14437 Further to Bug#3717.
14439 * arc-mode.el: Add "Keywords: files", so the details in its
14440 commentary can be reached from finder-by-keyword.
14441 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14442 editing mode, but it's comms related and sgml-mode.el has "comm"
14444 * textmodes/bibtex-style.el: Add "Keywords: tex".
14445 * international/isearch-x.el, international/ja-dic-cnv.el:
14446 * international/ja-dic-utl.el, international/kkc.el:
14447 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14449 2009-11-25 Juri Linkov <juri@jurta.org>
14451 * man.el (Man-completion-table): Modify regexp to include
14452 section names to completion strings. (Bug#3717)
14454 2009-11-25 Juri Linkov <juri@jurta.org>
14456 Search recursively in gzipped files. (Bug#4982)
14458 * progmodes/grep.el (grep-highlight-matches): Add new options
14459 `always' and `auto'. Doc fix.
14460 (grep-process-setup): Check `grep-highlight-matches' for
14461 `auto-detect' to determine the need to compute grep defaults.
14462 Move Windows/DOS specific --colors settings handling
14463 to `grep-compute-defaults'. Check `grep-highlight-matches'
14464 to get the value of "--color=".
14465 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14466 has the value `auto-detect'. Move Windows/DOS specific settings
14467 from `grep-process-setup'.
14468 (zrgrep): New command with alias `rzgrep'.
14470 2009-11-25 Juri Linkov <juri@jurta.org>
14472 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14473 to nil instead of switching off view-mode. (Bug#4896)
14475 2009-11-25 Juri Linkov <juri@jurta.org>
14477 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14479 * mwheel.el (mwheel-scroll-up-function)
14480 (mwheel-scroll-down-function): New defvars.
14481 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14482 `scroll-up', and `mwheel-scroll-down-function' instead of
14485 * doc-view.el (doc-view-scroll-up-or-next-page)
14486 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14487 Use this ARG in the call to image-scroll-up/image-scroll-down.
14488 Change `interactive' spec to "P". Goto next/previous page only
14489 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14490 SPC/DEL case). Doc fix.
14491 (doc-view-next-line-or-next-page)
14492 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14494 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14495 `doc-view-scroll-up-or-next-page', and buffer-local
14496 `mwheel-scroll-down-function' to
14497 `doc-view-scroll-down-or-previous-page'.
14499 2009-11-25 Juri Linkov <juri@jurta.org>
14501 Provide additional default values (directories at other Dired
14502 windows) via M-n in the minibuffer of some Dired commands.
14504 * dired-aux.el (dired-diff, dired-compare-directories)
14505 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14506 `minibuffer-default' in `minibuffer-with-setup-hook'.
14507 (dired-dwim-target-directory): Find a window that displays Dired
14508 buffer instead of failing when the next window is not Dired.
14509 Use `get-window-with-predicate' to find for the next Dired window.
14510 (dired-dwim-target-defaults): New function.
14512 * ediff-util.el (ediff-read-file-name):
14513 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14514 in `minibuffer-with-setup-hook'.
14516 2009-11-25 Juri Linkov <juri@jurta.org>
14518 Provide additional default values (file name at point or at the
14519 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14521 * minibuffer.el (read-file-name-defaults): New function.
14522 (read-file-name): Reset `minibuffer-default' to nil when
14523 it duplicates initial input `insdef'.
14524 Bind `minibuffer-default-add-function' to lambda that
14525 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14526 (minibuffer-insert-file-name-at-point): New command.
14528 * files.el (file-name-at-point-functions): New defcustom.
14529 (find-file-default): Remove defvar.
14530 (find-file-read-args): Don't use `find-file-default'.
14531 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14532 to `read-file-name'.
14533 (find-file-literally): Use `read-file-name' with
14534 `confirm-nonexistent-file-or-buffer'.
14536 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14538 * dired.el (dired-read-dir-and-switches):
14539 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14540 to `read-file-name'.
14541 (dired-file-name-at-point): New function.
14542 (dired-mode): Add hook `dired-file-name-at-point' to
14543 `file-name-at-point-functions'.
14545 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14547 Really make the *Completions* window soft-dedicated (bug#5030).
14548 * window.el (window--display-buffer-2): Add `dedicated' argument.
14549 (display-buffer): Pass it when needed so the dedicated flag is set
14550 after calling set-window-buffer, which would otherwise reset it.
14552 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14554 * progmodes/meta-mode.el (meta-complete-symbol):
14555 * progmodes/etags.el (complete-tag):
14556 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14557 Use completion-in-region.
14559 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14560 (dabbrev-completion): Use completion-in-region.
14561 (dabbrev--abbrev-at-point): Simplify regexp.
14563 * abbrev.el (abbrev--before-point): Use word-motion functions
14564 if :regexp is not specified (bug#5031).
14566 * subr.el (string-prefix-p): New function.
14568 * man.el (Man-completion-cache): New var.
14569 (Man-completion-table): Use it.
14571 * vc.el (vc-print-log-internal): Make `limit' optional for better
14572 compatibility (e.g. with vc-annotate.el).
14574 2009-11-24 Kevin Ryde <user42@zip.com.au>
14576 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14577 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14579 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14580 when .el source file not found or other error.
14582 2009-11-24 Markus Triska <markus.triska@gmx.at>
14584 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14586 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14588 Handle the [back] button properly (bug#4979).
14589 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14590 Use help-setup-xref, help-buffer, and with-help-window.
14591 (describe-char): Add `buffer' argument.
14592 Pass proper command to help-setup-xref. Don't meddle with
14593 help-xref-stack-item directly.
14594 (describe-text-category): Use with-help-window and help-buffer.
14596 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14597 for the displayed buffer (bug#4887).
14599 * man.el (Man-completion-table): New function.
14602 2009-11-24 David Reitter <david.reitter@gmail.com>
14604 * vc-git.el (vc-git-registered): Use checkout directory (where
14605 .git is) rather than the file's directory and a relative path spec
14606 to work around a bug in git.
14608 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14610 Improve handling of processes on remote hosts.
14612 * eshell/esh-util.el (eshell-path-env): New defvar.
14613 (eshell-parse-colon-path): New defun.
14614 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14616 * eshell/esh-ext.el (eshell-search-path):
14617 Use `eshell-parse-colon-path'.
14618 (eshell-remote-command): Remove argument HANDLER.
14619 (eshell-external-command): Check for FTP remote connection.
14621 * eshell/esh-proc.el (eshell-gather-process-output):
14622 Use `file-truename', in order to start also symlinked files.
14623 Apply `start-file-process' instead of `start-process'.
14624 Shorten `command' to the local file name part.
14626 * eshell/em-cmpl.el (eshell-complete-commands-list):
14627 Use `eshell-parse-colon-path'.
14629 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14631 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14632 to `eshell-directory-change-hook'.
14634 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14636 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14637 because it could be enabled automatically if view-read-only is non-nil.
14639 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14641 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14642 made on 2009-11-22.
14644 2009-11-24 Glenn Morris <rgm@gnu.org>
14646 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14647 deleted variable bookmark-bmenu-bookmark-column.
14649 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14651 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14653 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14655 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14656 two slashes to the "file:" prefix.
14657 (browse-url-file-url): De-munge Cygwin filenames before passing
14658 them to Windows browser.
14659 (browse-url-default-windows-browser): Use call-process.
14661 2009-11-23 Juri Linkov <juri@jurta.org>
14663 Implement DocView Continuous mode. (Bug#4896)
14664 * doc-view.el (doc-view-continuous-mode): New defcustom.
14665 (doc-view-mode-map): Bind C-n/<down> to
14666 `doc-view-next-line-or-next-page', C-p/<up> to
14667 `doc-view-previous-line-or-previous-page'.
14668 (doc-view-next-line-or-next-page)
14669 (doc-view-previous-line-or-previous-page): New commands.
14671 2009-11-23 Juri Linkov <juri@jurta.org>
14673 Implement Isearch in comint input history. (Bug#3746)
14674 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14675 `isearch-mode-hook'.
14676 (comint-history-isearch): New defcustom.
14677 (comint-history-isearch-backward)
14678 (comint-history-isearch-backward-regexp): New commands.
14679 (comint-history-isearch-message-overlay): New buffer-local variable.
14680 (comint-history-isearch-setup, comint-history-isearch-end)
14681 (comint-goto-input, comint-history-isearch-search)
14682 (comint-history-isearch-message, comint-history-isearch-wrap)
14683 (comint-history-isearch-push-state)
14684 (comint-history-isearch-pop-state): New functions.
14686 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14688 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14690 (tramp-handle-make-symbolic-link)
14691 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14693 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14694 (tramp-handle-process-file): Use it.
14696 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14698 * window.el (move-to-window-line-last-op): Remove.
14699 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14701 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14703 Make M-r mirror the new cycling behavior of C-l.
14704 * window.el (move-to-window-line-last-op): New var.
14705 (move-to-window-line-top-bottom): New command.
14706 (global-map): Bind M-r move-to-window-line-top-bottom.
14708 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14710 * dired-x.el (dired-guess-shell-alist-default):
14711 Support xz format. (Bug#4953)
14713 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14715 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14716 last-command-char/last-command-event.
14717 (viper-prefix-arg-value): Do correct conversion of event-char for
14720 * emulation/viper-util.el, emulation/viper.el:
14721 Use viper-last-command-char instead of
14722 last-command-char/last-command-event.
14724 * ediff-init.el, ediff-mult.el, ediff-util.el:
14725 Replace last-command-char and last-command-event
14726 with (ediff-last-command-char) everywhere.
14728 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14729 created in fundamental mode.
14731 * ediff.el (ediff-version): Revert the change of interactive-p to
14732 called-interactively-p.
14734 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14736 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14737 generation from word-movement command names.
14739 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14741 * cus-start.el (all): Add native condition for font-use-system-font.
14743 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14745 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14746 Correct the patch from 2009-11-18. (Bug#3910)
14748 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14750 * progmodes/subword.el: Rename from lisp/subword.el.
14752 * subword.el: Rename to progmodes/subword.el.
14754 * Makefile.in (ELCFILES): Adapt to subword.el move.
14756 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14757 Stefan Monnier <monnier@iro.umontreal.ca>
14759 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14760 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14761 (bookmark-bmenu-show-filenames): Use push.
14762 (bookmark-bmenu-hide-filenames): Use local var instead of
14763 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14764 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14765 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14766 filenames now that the bookmark names are always available.
14768 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14770 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14771 (bookmark-search-pattern): Move and leave unbound.
14772 (bookmark-bmenu-mode-map): Change binding.
14773 (bookmark-read-search-input): Simplify.
14774 Don't use text-char-description. Don't error on non-char events.
14775 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14776 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14777 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14778 Use a local var for the timer.
14779 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14780 (i.e. bookmark-bmenu-search).
14782 2009-11-21 Glenn Morris <rgm@gnu.org>
14784 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14786 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14788 * net/browse-url.el (browse-url-default-windows-browser):
14789 Use cygstart for cygwin.
14791 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14793 * bookmark.el: Formatting and doc fixes only:
14794 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14795 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14796 Minor grammar and punctuation fixes in doc string.
14797 (bookmark-read-search-input): Adjust to fit within 80 columns.
14799 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14801 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14802 (c-backward-into-nomenclature): Adapt to subword renaming.
14804 * subword.el (subword-forward, subword-backward, subword-mark)
14805 (subword-kill, subword-backward-kill, subword-transpose)
14806 (subword-downcase, subword-upcase, subword-capitalize)
14807 (subword-forward-internal, subword-backward-internal):
14808 Rename from forward-subword, backward-subword, mark-subword,
14809 kill-subword, backward-kill-subword, transpose-subwords,
14810 downcase-subword, upcase-subword, capitalize-subword,
14811 forward-subword-internal, backward-subword-internal.
14813 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14815 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14817 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14819 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14820 (bookmark-bmenu-filter-alist-by-regexp)
14821 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14822 (bookmark-bmenu-search): New command.
14823 (bookmark-bmenu-mode-map): Bind it.
14825 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14827 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14828 backward-subword to quit the byte-compiler.
14830 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14832 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14834 * progmodes/cc-cmds.el (c-update-modeline)
14835 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14836 Refer to subword.el functions instead of cc-subword.el.
14838 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14839 subword.el functions instead of cc-subword.el.
14841 * progmodes/cc-subword.el: Rename to subword.el.
14842 * subword.el: Rename from progmodes/cc-subword.el.
14843 (subword-mode-map): Rename from c-subword-mode-map.
14844 (subword-mode): Rename from c-subword-mode.
14845 (global-subword-mode): New global minor mode.
14846 (forward-subword): Rename from c-forward-subword.
14847 (backward-subword): Rename from c-backward-subword.
14848 (mark-subword): Rename from c-mark-subword.
14849 (kill-subword): Rename from c-kill-subword.
14850 (backward-kill-subword): Rename from c-backward-kill-subword.
14851 (transpose-subwords): Rename from c-tranpose-subword.
14852 (downcase-subword): Rename from c-downcase-subword.
14853 (capitalize-subword): Rename from c-capitalize-subword.
14854 (forward-subword-internal): Rename from c-forward-subword-internal.
14855 (backward-subword-internal): Rename from c-backward-subword-internal.
14857 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14859 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14860 from a dired buffer.
14861 (vc-dired-deduce-fileset): New function.
14862 (vc-root-diff, vc-print-root-log): Use it.
14864 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14865 nil LIMIT argument to vc-print-log-internal.
14867 2009-11-20 Glenn Morris <rgm@gnu.org>
14869 * Makefile.in (ELCFILES): Regenerate.
14871 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14873 * calc/calc.el (calc-set-mode-line):
14874 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14875 (math-format-number): Rename `math-format-complement-signed' to
14876 `math-format-twos-complement'.
14878 * calc/calc-bin.el (math-format-twos-complement): Rename from
14879 math-format-complement-signed.
14880 (calc-radix): Rename `calc-complement-signed-mode' to
14881 `calc-twos-complement-mode'.
14882 (calc-octal-radix, calc-hex-radix): Add an argument for
14885 * calc/calc-embed.el (calc-embedded-mode-vars):
14886 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14888 * calc/calc-ext.el (calc-init-extensions):
14889 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14890 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14892 * calc/calc-units.el (math-build-units-table-buffer):
14893 Let `calc-twos-complement-mode' be nil.
14895 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14898 * calc/calc-vec.el (calcFunc-vunpack):
14899 * calc/calc-aent.el (calc-do-calc-eval):
14900 * calc/calc-forms.el (math-format-date):
14901 * calc/calc-graph.el (calc-graph-plot):
14902 * calc/calc-math.el (math-use-emacs-fn):
14903 * calc/calccomp.el (math-compose-expr):
14904 Let `calc-twos-complement-mode' be nil.
14906 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14908 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14909 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14910 * minibuffer.el (completion-in-region-functions): New hook.
14911 (completion-in-region): New function.
14912 * emacs-lisp/lisp.el (lisp-complete-symbol):
14913 * pcomplete.el (pcomplete-std-complete): Use it.
14915 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14917 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14918 (latex-complete-alist): New vars.
14919 (latex-string-prefix-p, latex-complete-bibtex-keys)
14920 (latex-complete-envnames, latex-complete-refkeys)
14921 (latex-complete-data): New functions.
14922 (latex-complete, latex-indent-or-complete): New commands.
14924 * window.el (display-buffer-mark-dedicated): New var.
14925 (display-buffer): Obey it.
14926 * minibuffer.el (minibuffer-completion-help): Use it.
14928 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14930 * filecache.el (file-cache-add-file): Use push and cons.
14931 (file-cache-delete-file-regexp): Use push.
14932 (file-cache-complete): Use completion-in-region.
14934 * simple.el (with-wrapper-hook): Fix thinko.
14936 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14937 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14938 Use with-current-buffer and string-to-number.
14939 (hfy-fallback-colour-values): Use assoc-string.
14940 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14941 (hfy-face-at): Remove unused var `found-face'.
14942 (hfy-compile-stylesheet): Remove unused var `css'.
14943 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14945 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14946 Use with-current-buffer.
14947 (hfy-text-p): Use expand-file-name and fewer setq.
14949 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14951 * htmlfontify.el, hfy-cmap.el: New files.
14953 2009-11-19 Juri Linkov <juri@jurta.org>
14955 * minibuffer.el (completions-format): New defcustom.
14956 (completion--insert-strings): Implement vertical format.
14958 * simple.el (switch-to-completions): Move point to the first
14959 completion when point was at the beginning of the buffer.
14961 2009-11-19 Juri Linkov <juri@jurta.org>
14963 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14965 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14967 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14969 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14970 (mail-signature): Change default to t.
14971 (mail-from-style): Deprecate `system-default' value.
14972 (mail-insert-from-field): For default value of mail-from-style,
14973 default to `angles' unless `angles' needs quoting and `parens'
14975 (mail-citation-prefix-regexp): Use citation regexp from
14978 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14980 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14981 Set variables for computing the prompt for reading password.
14983 2009-11-19 Glenn Morris <rgm@gnu.org>
14985 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14987 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14989 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14990 (newsticker-treeview-listwindow-height): Fix custom type.
14992 2009-11-19 Kenichi Handa <handa@m17n.org>
14994 * descr-text.el (describe-char-padded-string): Compose with TAB
14995 only if there's a font for CH.
14996 (describe-char): Fix the condition for detecting a trivial composition.
14998 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15000 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15001 more accurate version of the regexp. (Bug#3910)
15003 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15005 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15007 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15009 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15010 (font-setting-change-default-font): Fix typo in docstring.
15012 2009-11-18 Alan Mackenzie <acm@muc.de>
15014 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15016 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15018 * font-setting.el (font-use-system-font): Move ...
15020 * cus-start.el (all): ... to here.
15022 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15024 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15025 Don't set `ad-return-value' if `ad-do-it' doesn't.
15027 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15030 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15032 * menu-bar.el: Put "Use system font" in Option-menu.
15033 (menu-bar-options-save): Add font-use-system-font.
15035 * loadup.el: If feature system-font-setting or font-render-setting is
15036 there, load font-setting.
15038 * Makefile.in (ELCFILES): Add font-settings.el.
15039 * font-setting.el: New file.
15041 2009-11-17 Glenn Morris <rgm@gnu.org>
15043 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15045 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15046 Preserve point in the list buffer. (Bug#4939)
15048 (newsticker--treeview-list-update-highlight)
15049 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15051 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15053 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15056 * calc/calc-ext.el (calc-init-extensions): Remove references to
15059 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15061 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15062 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15065 2009-11-16 Kevin Ryde <user42@zip.com.au>
15067 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15068 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15070 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15071 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15072 Ignore trailing spaces by omit-nulls to split-string (fixing
15073 regression from Emacs 21 due to the incompatible split-string
15074 change). (Bug #4928.)
15076 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15078 * vc.el (vc-log-show-limit): Default to 2000.
15079 (vc-print-log-internal): Insert buttons to request more entries
15080 when limiting the output.
15082 * vc-sccs.el (vc-sccs-print-log):
15083 * vc-rcs.el (vc-rcs-print-log):
15084 * vc-cvs.el (vc-cvs-print-log):
15085 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15088 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15090 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15091 error when `tramp-gvfs-dbus-event-vector' is set.
15092 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15094 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15096 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15098 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15100 * net/dbus.el (dbus-unregister-service): New defun.
15101 (dbus-register-property): Register the handlers of
15102 "org.freedesktop.DBus.Properties" for SERVICE.
15103 (dbus-property-handler): Fix docstring.
15105 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15107 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15108 Quote doc string reference in defvaralias as it is not in special form.
15109 (byte-compile-output-docform): Doc fix.
15111 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15113 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15114 (calc-complement-signed-mode): New variables.
15115 (calc-set-mode-line): Add indicator for twos-complements.
15116 (math-format-number): Format twos-complement notation.
15118 * calc/calc-bin.el (calc-word-size): Reset the variables
15119 `math-2-word-size' and `math-half-2-word-size'.
15120 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15121 (calc-symclip): New functions.
15123 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15125 * calc/calc-embed.el (calc-embedded-mode-vars):
15126 Add `calc-complement-signed-mode' to the list of modes.
15128 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15129 (calc-b-oper-keys): Add `calc-symclip' to list.
15131 * calc/calc-ext.el (math-read-number-fancy): Read complement
15133 (calc-init-extensions): Add binding for `calc-symclip'.
15134 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15136 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15138 (calc-modes-menu): Add item for twos complement mode.
15140 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15142 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15144 * register.el (jump-to-register, insert-register): Handle Semantic
15145 tags. From commented-out advice in semantic/senator.el.
15147 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15149 * vc.el (vc-log-show-limit): New variable.
15150 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15151 when using a prefix argument.
15152 (vc-print-log-internal): Add new argument LIMIT.
15154 * vc-svn.el (vc-svn-print-log):
15155 * vc-mtn.el (vc-mtn-print-log):
15156 * vc-hg.el (vc-hg-print-log):
15157 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15158 pass it to the log command when set. Make the BUFFER argument
15161 * vc-sccs.el (vc-sccs-print-log):
15162 * vc-rcs.el (vc-rcs-print-log):
15163 * vc-git.el (vc-git-print-log):
15164 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15165 ignore it. Make the BUFFER argument non-optional
15167 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15169 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15171 * dired.el (dired-mode-map): Move encryption items to "Operate"
15174 * strokes.el (strokes-update-window-configuration): Make strokes
15175 buffer current before erasing (Bug#4906).
15177 2009-11-15 Juri Linkov <juri@jurta.org>
15179 * simple.el (set-mark-default-inactive): Add :type, :group
15180 and :version. (Bug#4876)
15182 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15184 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15185 (archive-unique-fname): ... here. (Bug#4929)
15187 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15189 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15192 * novice.el (disabled-command-function): Add useful args.
15193 Setup the help buffer so that [back] works.
15194 Remove redundant call to help-mode.
15195 (disabled-command-function): Use `case'.
15196 (en/disable-command): New function extracted from enable-command.
15197 (enable-command, disable-command): Use it.
15199 2009-11-14 Glenn Morris <rgm@gnu.org>
15201 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15202 constants. (Bug#4913)
15204 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15206 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15208 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15209 defined in C that have no doc-strings. (Bug#1063)
15211 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15213 * cus-edit.el (data, files):
15214 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15216 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15218 * simple.el (shell-command): Doc fix (Bug#4891).
15220 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15222 2009-11-14 Glenn Morris <rgm@gnu.org>
15224 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15225 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15226 If they are already loaded, eval-after-load will do the right thing.
15228 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15231 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15233 * simple.el (x-selection-owner-p): Declare.
15234 (read-mail-command): Use custom radio type rather than choice.
15235 (completion-no-auto-exit): Doc fix.
15237 * custom.el (defgroup):
15238 * epg-config.el (epg): Doc fixes.
15240 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15242 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15243 * international/ccl.el (define-ccl-program): Do not purecopy the
15244 docstring, defconst does it anyway.
15246 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15248 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15251 * x-dnd.el (x-dnd-maybe-call-test-function):
15252 * window.el (split-window-vertically):
15253 * whitespace.el (whitespace-help-on):
15254 * vc-rcs.el (vc-rcs-consult-headers):
15255 * userlock.el (ask-user-about-lock-help)
15256 (ask-user-about-supersession-help):
15257 * type-break.el (type-break-force-mode-line-update):
15258 * time-stamp.el (time-stamp-conv-warn):
15259 * terminal.el (te-set-output-log, te-more-break, te-filter)
15260 (te-sentinel, terminal-emulator):
15261 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15262 (term-write-input-ring, term-check-source, term-start-output-log):
15263 (term-display-buffer-line, term-dynamic-list-completions):
15264 (term-ansi-make-term, serial-term):
15265 * subr.el (selective-display):
15266 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15267 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15268 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15269 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15270 (speedbar-remove-localized-speedbar-support)
15271 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15272 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15273 (speedbar-buffers-line-directory):
15274 * simple.el (shell-command-on-region, append-to-buffer)
15275 (prepend-to-buffer):
15276 * shadowfile.el (shadow-save-todo-file):
15277 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15278 (scroll-bar-maybe-set-window-start):
15279 * sb-image.el (speedbar-image-dump):
15280 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15281 (load-save-place-alist-from-file):
15282 * ps-samp.el (ps-print-message-from-summary):
15283 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15284 (ps-background-image, ps-begin-job, ps-do-despool):
15285 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15286 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15287 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15288 (pr-call-process, pr-file-list, pr-interface-save):
15289 * novice.el (disabled-command-function)
15290 (enable-command, disable-command):
15291 * mouse.el (mouse-buffer-menu-alist):
15292 * mouse-copy.el (mouse-kill-preserving-secondary):
15293 * macros.el (kbd-macro-query):
15294 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15295 * informat.el (batch-info-validate):
15296 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15297 * hippie-exp.el (try-expand-dabbrev-visible):
15298 * help-mode.el (help-make-xrefs):
15299 * help-fns.el (describe-variable):
15300 * generic-x.el (bat-generic-mode-run-as-comint):
15301 * finder.el (finder-mouse-select):
15302 * find-dired.el (find-dired-sentinel):
15303 * filesets.el (filesets-file-close):
15304 * files.el (list-directory):
15305 * faces.el (list-faces-display, describe-face):
15306 * facemenu.el (list-colors-display):
15307 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15308 * epg.el (epg--process-filter, epg-cancel):
15309 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15310 (epa--read-signature-type):
15311 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15312 (emerge-file-names):
15313 * ehelp.el (electric-helpify):
15314 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15315 * ediff-vers.el (rcs-ediff-view-revision):
15316 * ediff-util.el (ediff-setup):
15317 * ediff-mult.el (ediff-append-custom-diff):
15318 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15320 * echistory.el (Electric-command-history-redo-expression):
15321 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15322 * disp-table.el (describe-display-table):
15323 * dired.el (dired-find-buffer-nocreate):
15324 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15325 * dabbrev.el (dabbrev--same-major-mode-p):
15326 * chistory.el (list-command-history):
15327 * apropos.el (apropos-documentation):
15328 * allout.el (allout-obtain-passphrase):
15329 (allout-copy-exposed-to-buffer):
15330 (allout-verify-passphrase): Use with-current-buffer.
15332 2009-11-13 Glenn Morris <rgm@gnu.org>
15334 * Makefile.in (ELCFILES): Regenerate.
15336 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15338 * net/dbus.el (dbus-registered-objects-table): Rename from
15339 `dbus-registered-functions-table', because it contains also properties.
15340 (dbus-unregister-object): Unregister also properties.
15341 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15342 Use a timeout of 500 msec, in order to not block.
15343 (dbus-register-property, dbus-property-handler): New defuns.
15345 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15347 * simple.el (minibuffer-default-add-completions): Drop deprecated
15350 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15352 * textmodes/artist.el (artist-mouse-choose-operation):
15353 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15354 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15355 (artist-compute-up-event-key): New function.
15356 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15358 2009-11-13 Kenichi Handa <handa@m17n.org>
15360 * language/japan-util.el: Make sure that the value of jisx0208
15361 property is jisx0208 character.
15363 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15365 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15366 car or each item, not the whole list.
15368 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15370 * minibuffer.el (minibuffer-completion-help):
15371 Use minibuffer-hide-completions.
15373 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15375 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15376 (dired-revert): Use them (bug#4880).
15378 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15380 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15382 2009-11-12 Juri Linkov <juri@jurta.org>
15384 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15386 (find-file-literally-at-point): Alias of `ffap-literally'.
15388 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15390 * textmodes/ispell.el (ispell-skip-region-alist):
15391 * textmodes/css-mode.el (auto-mode-alist):
15392 * progmodes/compile.el (auto-mode-alist):
15393 * international/mule.el (ctext-non-standard-encodings-alist)
15394 (ctext-non-standard-encodings-regexp):
15395 * simple.el (shell-command-switch, text-read-only):
15396 * replace.el (occur-mode-map):
15397 * paths.el (rmail-file-name):
15398 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15399 * find-file.el (ff-special-constructs):
15400 * files.el (file-name-handler-alist):
15401 * composite.el: Purecopy strings.
15403 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15405 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15407 * widget.el (define-widget): Purecopy the docstring.
15408 * international/mule-cmds.el (charset): Do not purecopy the
15409 docstring here, define-widget does it.
15411 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15412 * textmodes/bibtex-style.el (auto-mode-alist):
15413 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15414 * progmodes/compile.el (compile-command):
15415 * language/korea-util.el (default-korean-keyboard):
15416 * international/mule-conf.el (file-coding-system-alist):
15417 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15418 * tooltip.el (tooltip-frame-parameters):
15419 * newcomment.el (comment-end, comment-padding):
15420 * dired.el (dired-trivial-filenames):
15421 * comint.el (comint-file-name-prefix): Purecopy initial values.
15423 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15425 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15426 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15428 (tramp-advice-make-auto-save-file-name)
15429 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15430 after removing the advice.
15432 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15434 * progmodes/grep.el (grep-regexp-alist):
15435 * international/mule-cmds.el (iso-2022-control-alist):
15436 * emacs-lisp/timer.el (timer-duration-words):
15437 * subr.el (version-separator, version-regexp-alist):
15438 * minibuffer.el (completion-styles-alist):
15439 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15440 Change defvars to defconsts.
15442 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15443 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15444 * international/mule-conf.el: Allow to be byte compiled.
15446 * international/mule.el (define-charset): Purecopy props.
15447 (load-with-code-conversion): Purecopy doc string and file name.
15448 (put-charset-property): Purecopy strings.
15449 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15451 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15452 (define-char-code-property): Correctly purecopy the table.
15454 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15456 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15458 * subr.el (add-hook): Purecopy strings.
15459 (eval-after-load): Purecopy load-history-regexp and the form.
15461 * custom.el (custom-declare-group): Purecopy load-file-name.
15463 * subr.el (menu-bar-separator): New defconst.
15464 * net/eudc.el (eudc-tools-menu):
15465 * international/mule-cmds.el (set-coding-system-map)
15466 (mule-menu-keymap):
15467 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15468 * vc-hooks.el (vc-menu-map):
15469 * replace.el (occur-mode-map):
15470 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15471 (menu-bar-edit-menu, menu-bar-goto-menu)
15472 (menu-bar-custom-menu, menu-bar-showhide-menu)
15473 (menu-bar-options-menu, menu-bar-tools-menu)
15474 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15475 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15476 (menu-bar-help-menu):
15477 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15478 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15480 * term/x-win.el (x-gtk-stock-map):
15481 * progmodes/vera-mode.el (auto-mode-alist):
15482 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15483 (inferior-lisp-program, inferior-lisp-load-command):
15484 * progmodes/hideshow.el (hs-special-modes-alist):
15485 * progmodes/gud.el (same-window-regexps):
15486 * progmodes/grep.el (grep-program, find-program, xargs-program):
15487 * net/telnet.el (same-window-regexps):
15488 * net/rlogin.el (same-window-regexps):
15489 * language/ethiopic.el (font-ccl-encoder-alist):
15490 * vc-sccs.el (vc-sccs-master-templates):
15491 * vc-rcs.el (vc-rcs-master-templates):
15492 * subr.el (cl-assertion-failed):
15493 * simple.el (next-error-overlay-arrow-position):
15494 * lpr.el (lpr-command):
15495 * locate.el (locate-ls-subdir-switches):
15496 * info.el (same-window-regexps, info)
15497 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15498 * image-mode.el (image-mode, auto-mode-alist):
15499 * hippie-exp.el (hippie-expand-ignore-buffers):
15500 * format.el (format-alist):
15501 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15503 * facemenu.el (facemenu-keybindings):
15504 * dired.el (dired-listing-switches, dired-chown-program):
15505 * diff.el (diff-switches, diff-command):
15506 * cus-edit.el (same-window-regexps):
15507 * bindings.el (mode-line-mule-info)
15508 (mode-line-buffer-identification): Purecopy strings.
15510 2009-11-11 Juri Linkov <juri@jurta.org>
15512 * simple.el (dired-get-filename) <declare-function>:
15513 Tell the byte-compiler about dired-get-filename.
15514 (shell-command): In Dired mode, get filename from the current line
15515 as the default value.
15517 2009-11-10 Glenn Morris <rgm@gnu.org>
15519 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15520 * calendar/holidays.el, progmodes/cperl-mode.el:
15521 Update x-popup-menu declarations.
15523 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15524 (list-load-path-shadows): Use dolist.
15525 (list-load-path-shadows): Use with-current-buffer.
15527 2009-11-10 Juri Linkov <juri@jurta.org>
15529 * minibuffer.el (read-file-name): Support a list of default values
15530 in `default-filename'. Use the first file name where only one
15531 element is required. Doc fix.
15533 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15535 * net/dbus.el (dbus-unregister-object): Release service, if no
15536 other method is registered for it.
15538 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15540 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15541 bookmark-sort-flag is non-nil (Bug#4653).
15543 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15545 * emulation/cua-base.el: Add CUA property to some CC mode commands
15548 2009-11-08 Kevin Ryde <user42@zip.com.au>
15550 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15551 at end of sentence (Bug#4818).
15553 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15555 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15556 Handle "see declaration of" MSFT statements (Bug#4100).
15558 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15560 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15561 (tramp-advice-file-expand-wildcards): Unload via
15562 `ad-remove-advice'.
15564 * net/trampver.el: Update release number.
15566 2009-11-08 Kevin Ryde <user42@zip.com.au>
15568 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15571 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15573 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15574 in order to keep context in SELinux.
15576 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15578 * dired-aux.el (dired-query): Place cursor in echo area and allow
15581 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15582 menu item if not on a directory (Bug#4701).
15584 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15586 Sync with Tramp 2.1.17.
15588 * net/tramp.el (tramp-handle-copy-directory): Don't use
15589 `file-remote-p' (due to compatibility).
15591 * net/tramp-compat.el (tramp-compat-copy-directory)
15592 (tramp-compat-delete-directory): New defuns.
15594 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15595 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15596 Use `tramp-compat-delete-directory'.
15598 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15599 (tramp-smb-handle-delete-directory):
15600 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15602 * net/trampver.el: Update release number.
15604 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15606 * tar-mode.el (tar-copy): Call write-region on the right buffer
15609 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15610 by hand, if necessary (Bug#4878).
15612 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15614 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15615 align size column (Bug#4839).
15617 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15620 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15622 * progmodes/ld-script.el (auto-mode-alist):
15623 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15625 * cus-face.el (custom-declare-face): Purecopy face spec.
15627 2009-11-06 Kenichi Handa <handa@m17n.org>
15629 * international/uni-bidi.el: Re-generated.
15630 * international/uni-category.el: Re-generated.
15631 * international/uni-combining.el: Re-generated.
15632 * international/uni-mirrored.el: Re-generated.
15634 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15636 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15637 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15638 (tex-start-options, slitex-run-command, latex-run-command)
15639 (tex-run-command, tex-directory):
15640 * textmodes/ispell.el (ispell-html-skip-alists)
15641 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15642 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15643 (adaptive-fill-regexp):
15644 * textmodes/dns-mode.el (auto-mode-alist):
15645 * progmodes/python.el (interpreter-mode-alist):
15646 * progmodes/etags.el (tags-compression-info-list):
15647 * progmodes/etags.el (tags-file-name):
15648 * net/browse-url.el (browse-url-galeon-program)
15649 (browse-url-firefox-program):
15650 * mail/sendmail.el (mail-signature-file)
15651 (mail-citation-prefix-regexp):
15652 * international/mule-conf.el (eight-bit):
15653 * international/latexenc.el (latex-inputenc-coding-alist):
15654 * international/fontset.el (x-pixel-size-width-font-regexp):
15655 * emacs-lisp/warnings.el (warning-type-format):
15656 * emacs-lisp/trace.el (trace-buffer):
15657 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15658 (emacs-lisp-mode-map):
15659 * calendar/holidays.el (holiday-solar-holidays)
15660 (holiday-bahai-holidays, holiday-islamic-holidays)
15661 (holiday-christian-holidays, holiday-hebrew-holidays)
15662 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15663 (hebrew-holidays-1, holiday-oriental-holidays)
15664 (holiday-general-holidays):
15665 * x-dnd.el (x-dnd-known-types):
15666 * tool-bar.el (tool-bar):
15667 * startup.el (site-run-file):
15668 * shell.el (shell-dumb-shell-regexp):
15669 * rfn-eshadow.el (file-name-shadow-tty-properties)
15670 (file-name-shadow-properties):
15671 * paths.el (remote-shell-program, news-directory):
15672 * mouse.el ([C-down-mouse-3]):
15673 * menu-bar.el (menu-bar-tools-menu):
15674 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15675 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15676 (jka-compr-compression-info-list):
15677 * isearch.el (search-whitespace-regexp):
15678 * image-file.el (image-file-name-extensions):
15679 * find-dired.el (find-ls-option):
15680 * files.el (directory-listing-before-filename-regexp)
15681 (directory-free-space-args, insert-directory-program)
15682 (list-directory-brief-switches, magic-fallback-mode-alist)
15683 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15684 (automount-dir-prefix):
15685 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15686 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15687 (face-font-registry-alternatives, face-font-registry-alternatives)
15688 (face-font-family-alternatives):
15689 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15690 (facemenu-foreground-menu, facemenu-face-menu):
15691 * epa-hook.el (epa-file-name-regexp):
15692 * dnd.el (dnd-protocol-alist):
15693 * textmodes/rst.el (auto-mode-alist):
15694 * button.el (default-button): Purecopy strings.
15696 2009-11-06 Glenn Morris <rgm@gnu.org>
15698 * Makefile.in (ELCFILES): Update.
15700 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15702 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15703 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15705 * nxml/xsd-regexp.el (xsdre-gen-categories):
15706 * nxml/xmltok.el (xmltok-parse-entity):
15707 * nxml/rng-parse.el (rng-parse-validate-file):
15708 * nxml/rng-maint.el (rng-format-manual)
15709 (rng-manual-output-force-new-line):
15710 * nxml/rng-loc.el (rng-save-schema-location-1):
15711 * nxml/rng-cmpct.el (rng-c-parse-file):
15712 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15713 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15715 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15717 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15718 Remove extra save-excursions and make-variable-buffer-local's.
15719 Suggested by Stefan Monnier.
15721 (verilog-getopt-file, verilog-module-inside-filename-p)
15722 (verilog-set-define): Merge GNU 1.35 and repair changes from
15723 switching to using with-current-buffer.
15725 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15726 being treated as a number and confusing AUTORESET.
15727 Reported by Dan Dever.
15729 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15730 Add verilog-auto-ignore-concat to fix backward compatibility with
15731 older verilog-modes. Reported by Dan Katz.
15733 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15734 containing closing anchors "...$".
15736 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15737 Reported by Wade Smith.
15739 (verilog-batch-execute-func): Comment on function usage.
15741 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15743 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15746 (verilog-label-re, verilog-calc-1): Support proper indent of named
15749 (verilog-backward-token, verilog-basic-complete-re)
15750 (verilog-beg-of-statement, verilog-indent-re): Support proper
15751 indent of the assert statement at the beginning of a block of text.
15753 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15754 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15757 2009-11-05 Glenn Morris <rgm@gnu.org>
15759 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15760 Emacs 19. (Bug#1531)
15761 (byte-compile-fix-header): Update for the above change.
15762 Drop test for epoch::version.
15764 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15765 * cus-dep.el (custom-make-dependencies):
15766 * finder.el (finder-compile-keywords):
15767 Use autoload-rubric's feature argument.
15769 * calendar/diary-lib.el (top-level): Make load behave more like require.
15771 * vc-git.el (vc-git-stash-map): Move definition before use.
15773 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15775 * custom.el (custom-declare-group): Purecopy standard-value.
15776 (custom-declare-group): Purecopy custom-prefix.
15778 * international/mule.el (load-with-code-conversion):
15779 Call do-after-load-evaluation unconditionally.
15781 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15783 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15785 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15787 2009-11-04 Glenn Morris <rgm@gnu.org>
15789 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15790 (byte-compile-compatibility): Remove option.
15791 (byte-compile-close-variables, byte-compile-fix-header)
15792 (byte-compile-insert-header, byte-compile-output-docform)
15793 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15794 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15795 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15796 (byte-compile-insert, byte-compile-defun):
15797 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15798 (byte-defop-compiler19): Remove.
15799 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15800 used by anything. Replace all calls with byte-defop-compiler.
15802 2009-11-04 Juri Linkov <juri@jurta.org>
15804 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15805 (menu-bar-options-menu): Don't quote the `prop' arg of
15806 `menu-bar-make-mm-toggle'.
15808 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15810 * calendar/calendar.el (cal-loaddefs):
15811 * calendar/diary-lib.el (diary-loaddefs):
15812 * calendar/holidays.el (hol-loaddefs):
15813 * eshell/esh-module.el (esh-groups): Load rather than require.
15815 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15817 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15819 (todo-top-priorities): Only display-buffer when called interactively.
15820 (todo-item-start): Don't save excursion point.
15821 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15822 (todo-insert-item-here, todo-file-item, todo-remove-item):
15823 Adjust uses of todo-item-start and todo-item-end.
15825 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15826 (autoload-rubric): Don't use any more.
15828 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15829 and only put a prop if it is non-nil.
15831 2009-11-03 Juri Linkov <juri@jurta.org>
15833 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15834 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15836 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15837 and "Menu" to make top-level menu item visually one unit (like
15838 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15839 multi-word menu items). Fix :help string for quit-window.
15841 2009-11-03 Glenn Morris <rgm@gnu.org>
15843 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15844 (byte-compile-file-form-define-abbrev-table)
15845 (byte-compile-file-form-custom-declare-variable)
15846 (byte-compile-variable-ref, byte-compile-defvar):
15847 Whether or not a warning is enabled should only affect whether we issue
15848 the warning, not whether or not we collect the relevant data.
15849 Eg warnings can be turned on and off throughout the course of a file.
15851 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15852 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15854 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15856 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15857 * play/mpuz.el (mpuz-create-buffer):
15858 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15859 (lm-print-y,s,noise, lm-print-w0, lm-init):
15860 * play/gomoku.el (gomoku-prompt-for-move):
15861 * play/fortune.el (fortune-in-buffer):
15862 * play/dissociate.el (dissociated-press):
15863 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15864 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15865 * mail/supercite.el (sc-eref-show):
15866 * mail/smtpmail.el (smtpmail-send-it):
15867 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15868 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15869 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15870 (rmail-summary-goto-msg, rmail-summary-expunge)
15871 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15872 (rmail-summary-add-label, rmail-summary-output-menu)
15873 (rmail-summary-output-body):
15874 * mail/rfc822.el (rfc822-addresses):
15875 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15876 * mail/mailpost.el (post-mail-send-it):
15877 * mail/hashcash.el (hashcash-generate-payment):
15878 * mail/feedmail.el (feedmail-run-the-queue)
15879 (feedmail-queue-send-edit-prompt-help-first)
15880 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15881 (feedmail-deduce-address-list):
15882 * eshell/esh-ext.el (eshell-remote-command):
15883 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15884 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15885 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15886 (viper-save-string-in-file, viper-valid-marker):
15887 * emulation/viper-keym.el (viper-toggle-key):
15888 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15889 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15890 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15891 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15892 (viper-exec-form-in-emacs, viper-brac-function):
15893 * emulation/viper.el (viper-delocalize-var):
15894 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15895 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15896 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15897 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15898 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15899 * emulation/edt.el (edt-electric-helpify):
15900 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15901 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15902 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15903 (cua-indent-to-global-mark-column):
15904 * calendar/diary-lib.el (calendar-mark-1):
15905 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15906 Use with-current-buffer.
15907 * emulation/viper.el (viper-delocalize-var): Use dolist.
15909 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15911 * comint.el (comint-replace-by-expanded-history-before-point):
15912 Replace !! with the previous input string literally (Bug#1795).
15914 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15916 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15917 to be made up of whitespace.
15919 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15921 * minibuffer.el (read-file-name): Don't use file dialogs for
15922 remote directories (Bug#99).
15924 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15926 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15928 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15930 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15931 instead of deleting the window or frame.
15933 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15935 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15936 Support face colors.
15938 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15939 New function. Support face colors (Bug#1168).
15940 (tex-common-initialization): Use it.
15942 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15943 mode allows it (Bug#1168).
15945 2009-10-31 Juri Linkov <juri@jurta.org>
15947 * facemenu.el (list-colors-display): Don't mark buffer as
15948 modified (Bug#3948).
15950 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15952 * international/mule-diag.el (list-character-sets-1):
15953 Minor message fix (Bug#3526).
15955 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15956 Fix face property (Bug#4834).
15957 (etags-list-tags, etags-tags-apropos-additional)
15958 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15961 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15964 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15966 * textmodes/two-column.el (2C-split):
15967 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15968 * textmodes/tex-mode.el (tex-set-buffer-directory):
15969 * textmodes/spell.el (spell-region, spell-string):
15970 * textmodes/reftex.el (reftex-erase-buffer):
15971 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15972 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15973 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15974 (reftex-select-item):
15975 * textmodes/reftex-ref.el (reftex-label-info-update)
15976 (reftex-offer-label-menu):
15977 * textmodes/reftex-index.el (reftex-index-change-entry)
15978 (reftex-index-phrases-info):
15979 * textmodes/reftex-global.el (reftex-create-tags-file)
15980 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15981 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15982 (reftex-view-crossref-from-bibtex):
15983 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15984 (reftex-extract-bib-entries-from-thebibliography)
15985 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15986 * textmodes/refbib.el (r2b-capitalize-title):
15987 (r2b-convert-buffer, r2b-help):
15988 * textmodes/page-ext.el (pages-directory)
15989 (pages-directory-goto-with-mouse):
15990 * textmodes/bibtex.el (bibtex-validate-globally):
15991 * textmodes/bib-mode.el (bib-capitalize-title):
15992 * textmodes/artist.el (artist-clear-buffer, artist-system):
15993 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15994 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15995 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15996 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15997 (xscheme-send-control-g-interrupt, xscheme-start-process)
15998 (xscheme-process-sentinel, xscheme-cd):
15999 * progmodes/verilog-mode.el (verilog-read-always-signals)
16000 (verilog-set-define, verilog-getopt-file)
16001 (verilog-module-inside-filename-p):
16002 * progmodes/sh-script.el:
16003 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16004 (python-pdbtrack-grub-for-buffer, python-execute-file):
16005 * progmodes/octave-inf.el (inferior-octave):
16006 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16007 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16008 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16009 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16010 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16011 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16012 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16013 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16014 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16015 (idlwave-shell-examine-display, idlwave-shell-run-region)
16016 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16017 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16018 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16019 (idlwave-help-get-help-buffer):
16020 * progmodes/gud.el (gud-basic-call, gud-find-class)
16021 (gud-tooltip-activate-mouse-motions-if-enabled):
16022 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16023 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16024 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16025 (ebrowse-tags-next-file):
16026 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16027 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16028 (ebnf-eps-finish-and-write):
16029 * progmodes/cpp.el (cpp-edit-save):
16030 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16031 * progmodes/cc-defs.el (c-emacs-features):
16032 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16033 (antlr-directory-dependencies):
16034 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16035 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16036 (ada-find-any-references, ada-make-filename-from-adaname)
16037 (ada-make-body-gnatstub):
16038 * obsolete/rnews.el (news-list-news-groups):
16039 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16040 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16041 * net/rcirc.el (rcirc-debug):
16042 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16043 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16044 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16045 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16046 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16047 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16048 (newsticker--treeview-list-clear-highlight)
16049 (newsticker--treeview-list-update-highlight)
16050 (newsticker--treeview-list-highlight-start)
16051 (newsticker--treeview-tree-update-highlight)
16052 (newsticker--treeview-get-selected-item)
16053 (newsticker-treeview-mark-list-items-old)
16054 (newsticker--treeview-set-current-node):
16055 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16056 * net/newst-backend.el (newsticker--get-news-by-funcall)
16057 (newsticker--get-news-by-wget, newsticker--image-get)
16058 (newsticker--image-sentinel):
16059 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16060 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16061 (eudc-ph-close-session):
16062 * net/eudc.el (eudc-save-options):
16063 * language/thai-word.el (thai-update-word-table):
16064 * language/japan-util.el (japanese-string-conversion):
16065 * international/titdic-cnv.el (tsang-quick-converter)
16066 (ziranma-converter, ctlau-converter):
16067 * international/mule-cmds.el (describe-language-environment):
16068 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16069 (skkdic-convert-postfix, skkdic-convert-prefix):
16070 (skkdic-convert-okuri-nasi, skkdic-convert):
16071 * emacs-lisp/re-builder.el (reb-update-overlays):
16072 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16073 * emacs-lisp/gulp.el (gulp-send-requests):
16074 * emacs-lisp/find-gc.el (trace-call-tree):
16075 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16076 (eieio-describe-generic):
16077 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16078 * emacs-lisp/edebug.el (edebug-outside-excursion):
16079 * emacs-lisp/debug.el (debugger-make-xrefs):
16080 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16081 * emacs-lisp/chart.el (chart-new-buffer):
16082 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16083 Use with-current-buffer.
16084 * textmodes/artist.el (artist-system): Don't call
16085 copy-sequence on a fresh string.
16086 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16088 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16090 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16091 is no item to edit. (Bug#4820)
16092 (todo-top-priorities): Restore point and restore narrowing in Todo
16095 2009-10-31 Glenn Morris <rgm@gnu.org>
16097 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16098 (comint-last-output-start, comint-last-input-start)
16099 (comint-last-input-end): Don't defvar when compiling.
16100 (ange-ftp-process-file): Use bound-and-true-p.
16102 * pcmpl-rpm.el (top-level): Move provide statement to end.
16103 (pcmpl-rpm): Remove unused custom group.
16105 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16107 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16109 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16110 (byte-compile-warnings): Add `constants' as an option.
16111 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16112 (display-call-tree): Update for byte-compile-fdefinition possibly
16113 returning `(macro lambda ...)'. (Bug#4778)
16114 (byte-compile-variable-ref, byte-compile-setq-default):
16115 Respect `constants' member of byte-compile-warnings.
16117 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16119 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16120 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16123 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16125 * textmodes/ispell.el (ispell-skip-region-alist):
16126 * international/mule-conf.el (eight-bit):
16127 * international/fontset.el (font-encoding-alist):
16128 * startup.el (pure-space-overflow-message):
16129 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16130 * paths.el (gnus-nntp-service, rmail-spool-directory)
16131 (term-file-prefix):
16132 * files.el (save-some-buffers-action-alist):
16133 * cmuscheme.el (same-window-buffer-names):
16134 * ielm.el (same-window-buffer-names):
16135 * shell.el (same-window-buffer-names):
16136 * mail/sendmail.el (same-window-buffer-names):
16137 * progmodes/inf-lisp.el (same-window-buffer-names):
16138 * bindings.el (mode-line-client)
16139 (mode-line-column-line-number-mode-map):
16140 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16141 (tibetan-precomposed-regexp): Purecopy string arguments.
16143 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16145 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16146 (calcDigit-nondigit):
16147 * calc/calc-yank.el (calc-copy-to-buffer):
16148 * calc/calc-units.el (calc-invalidate-units-table):
16149 * calc/calc-trail.el (calc-trail-yank):
16150 * calc/calc-store.el (calc-insert-variables):
16151 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16152 * calc/calc-prog.el (calc-read-parse-table):
16153 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16154 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16155 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16156 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16157 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16158 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16159 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16160 * calc/calc-ext.el (calc-realign):
16161 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16162 (calc-embedded-finish-edit, calc-embedded-make-info)
16163 (calc-embedded-finish-command, calc-embedded-stack-change):
16164 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16166 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16167 shell-dynamic-complete-filename in preference to
16168 comint-dynamic-complete-filename.
16170 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16171 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16172 Don't consider whether the display supports colors.
16173 (bookmark-import-new-list): Use dolist.
16174 (bookmark-bmenu-mode-map): Move initialization into declaration.
16175 (bookmark-bmenu-list): Use dolist, simplify.
16176 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16177 (menu-bar-final-items): Use push.
16179 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16181 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16182 it works on remote files.
16183 (vc-hg-diff): Don't pass any `--cwd' argument.
16185 2009-10-27 Kevin Ryde <user42@zip.com.au>
16187 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16188 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16189 (Further to Bug#3921).
16191 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16193 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16194 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16195 calling `tramp-imap-put-file'. Add file size to the call.
16196 (tramp-imap-get-file-entries): Compute also user name, file size,
16198 (tramp-imap-handle-insert-directory): Insert uid and gid.
16199 (tramp-imap-handle-file-attributes): Transform uid and gid
16200 according to `id-format'.
16201 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16202 size in header X-Size.
16204 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16206 * simple.el (transpose-subr): Give clearer error when the mark
16207 is not set. (Bug#4807)
16209 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16211 * net/tramp.el (tramp-perl-file-truename): New defconst.
16212 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16213 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16214 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16215 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16217 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16218 Ignore `dired-call-process'.
16219 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16221 2009-10-26 Julian Scheid <julians37@gmail.com>
16223 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16224 (tramp-get-remote-readlink): New defun.
16225 (tramp-handle-file-truename): Use it.
16226 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16227 file exists if cache value present.
16228 (tramp-check-cached-permissions): New defun.
16229 (tramp-handle-file-readable-p): Use it.
16230 (tramp-handle-file-writable-p): Likewise.
16231 (tramp-handle-file-executable-p): Likewise.
16232 (tramp-handle-file-name-all-completions): Try using Perl to get
16233 partial completions. When perl not available, combine `cd' and
16234 `ls' into single remote operation and use shell expansion to get
16235 partial remote directory contents. Set `file-exists-p' cache for
16236 directory and any files returned by ls. Change cache handling to
16237 support partial directory contents. Use error message emitted by
16238 remote `cd' or Perl code for local tramp-error.
16239 (tramp-do-copy-or-rename-file-directly): Avoid separate
16240 tramp-send-command-and-check call.
16241 (tramp-handle-process-file): Merge three remote ops into one.
16242 Do not flush all caches when `process-file-side-effects' is set.
16243 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16244 file-attributes shows uid/gid to be set already.
16246 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16248 * textmodes/tex-mode.el (tex-dvi-view-command)
16249 (tex-show-queue-command, tex-open-quote):
16250 * progmodes/ruby-mode.el (auto-mode-alist)
16251 (interpreter-mode-alist): Purecopy strings.
16253 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16255 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16256 string for the hook, keymap and abbrev table.
16258 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16260 * x-dnd.el (x-dnd-xdnd-to-action):
16261 * startup.el (fancy-startup-text, fancy-about-text): Change to
16262 defconst from defvar.
16264 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16266 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16267 Purecopy initialization strings.
16269 * mail/sendmail.el (mail-header-separator)
16270 (mail-personal-alias-file):
16271 * mail/rmail.el (rmail-default-dont-reply-to-names)
16272 (rmail-ignored-headers, rmail-retry-ignored-headers)
16273 (rmail-highlighted-headers, rmail-secondary-file-directory)
16274 (rmail-secondary-file-regexp):
16275 * files.el (null-device, file-name-invalid-regexp)
16276 (locate-dominating-stop-dir-regexp)
16277 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16278 (interpreter-mode-alist): Use mapcar instead of mapc.
16280 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16282 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16283 (completion-ignored-extensions):
16284 (debug-ignored-errors): Purecopy strings.
16286 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16288 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16289 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16290 (pcomplete--here): Use push.
16292 * subr.el (all-completions): Declare the 4th arg obsolete.
16294 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16296 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16297 (pcomplete-unquote-argument): New function.
16298 (pcomplete--common-suffix): Always pay attention to case.
16299 (pcomplete--table-subvert): Quote and unquote the text.
16300 (pcomplete--common-quoted-suffix): New function.
16301 (pcomplete-std-complete): Use it and pcomplete-begin.
16303 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16304 we're inside a dedicated or minibuffer window.
16306 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16308 * bookmark.el: Update documentation, especially documentation
16309 of `bookmark-alist' and of the bookmark file format.
16310 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16312 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16314 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16315 keybindings apply to the mail buffer (Bug#4003). Shrink help
16318 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16319 (global-whitespace-mode, global-whitespace-newline-mode)
16320 (whitespace-toggle-options, global-whitespace-toggle-options):
16321 Doc fix (Bug#3660).
16323 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16324 of xmltok-start before the end tag was inserted (Bug#2840).
16326 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16327 patterns that are preceded by an open-paren (Bug#1320).
16329 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16331 * files.el (delete-directory): Delete symlinks to directories with
16332 delete-file (Bug#4739).
16334 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16336 * vc.el (vc-backend-for-registration): Rename from
16337 vc-get-backend-for-registration. Update callers.
16339 * international/mule-cmds.el (set-language-info-alist):
16341 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16342 (charset): Purecopy the name.
16343 (define-char-code-property): Purecopy string arguments.
16345 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16346 Purecopy string arguments.
16348 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16349 * ediff-hook.el (menu-bar-ediff-menu):
16350 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16351 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16353 2009-10-24 Glenn Morris <rgm@gnu.org>
16355 * comint.el (comint-dynamic-list-completions):
16356 * term.el (term-dynamic-list-completions): Use choose-completion rather
16357 than obsolete alias mouse-choose-completion.
16359 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16360 file-cache-choose-completion.
16361 (file-cache-choose-completion): Handle an optional event argument.
16362 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16364 * progmodes/octave-mod.el (octave-complete-symbol):
16365 Use choose-completion if mouse-choose-completion is ever removed.
16367 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16370 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16373 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16375 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16377 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16378 Ignore `pred' now that we receive one.
16379 Handle test-completion specially.
16381 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16383 * vc.el (vc-responsible-backend): Throw an error if not backend is
16384 found. Remove the REGISTER argument. Move the code dealing with
16386 (vc-get-backend-for-registration): ... here. New function.
16387 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16388 of vc-responsible-backend, pass the file name instead of the
16391 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16393 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16395 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16396 (pcomplete-comint-setup): Don't modify a global var via
16397 accidental side-effects.
16398 (pcomplete-shell-setup): Adjust call accordingly.
16399 (pcomplete-parse-comint-arguments): Use push.
16401 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16403 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16404 Allow uncapitalized info node names (Bug#3921).
16406 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16407 to the DEBUG file (Bug#3781).
16409 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16411 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16412 dictionary entry (Bug#4579).
16414 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16416 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16417 from `rfn-eshadow-update-overlay-hook' when unloading.
16418 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16419 "rsyncc". Adjust doc string.
16420 (tramp-temp-buffer-file-name): New buffer-local defvar.
16421 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16422 Keep temporary file when indicated by method ("rsync" and
16424 (tramp-handle-write-region): Handle APPEND.
16425 (tramp-delete-temp-file-function): New defun. Added to
16426 `kill-buffer-hook'.
16428 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16430 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16432 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16434 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16435 (color-name-rgb-alist, tty-standard-colors)
16436 (tty-color-mode-alist): Change to defconst.
16438 * simple.el (mark-inactive): Purecopy message.
16440 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16441 (global-map, yank-menu):
16442 * textmodes/ispell.el (ispell-menu-map):
16443 * net/eudc.el (eudc-tools-menu):
16444 * international/mule-cmds.el (describe-language-environment-map)
16445 (setup-language-environment-map, set-coding-system-map)
16446 (mule-menu-keymap):
16447 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16448 * replace.el (occur-mode-map):
16449 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16451 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16453 * calc/calc.el (math-read-number, math-read-number-simple):
16454 Use `save-match-data'.
16456 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16458 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16459 rather than fiddling with global-map bindings, since it should only
16460 affect per-terminal settings.
16461 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16463 * minibuffer.el (completion-table-with-terminator): Allow to specify
16464 the terminator-regexp.
16466 * simple.el (switch-to-completions): Look for *Completions* in other
16469 * pcomplete.el: Allow the use of completion-tables.
16470 (pcomplete-std-complete): New command.
16471 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16472 (pcomplete--here): Use a function for `form' rather than an expression,
16473 so it can be byte-compiled.
16474 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16475 Add edebug declaration.
16476 (pcomplete-show-completions): Remove unused var `curbuf'.
16477 (pcomplete-do-complete, pcomplete-stub):
16478 Don't assume `completions' is a list of strings any more.
16480 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16482 * find-dired.el (find-name-arg): Fix typo in docstring.
16484 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16486 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16487 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16489 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16492 * comint.el (comint-read-input-ring, comint-write-input-ring)
16493 (comint-substitute-in-file-name)
16494 (comint-dynamic-complete-as-filename)
16495 (comint-dynamic-simple-complete)
16496 (comint-dynamic-list-filename-completions)
16497 (comint-dynamic-list-completions)
16498 (comint-redirect-results-list-from-process): Minor simplifications.
16500 2009-10-21 Kevin Ryde <user42@zip.com.au>
16502 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16503 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16504 the first form. And insert a blank line after ";;; Code" since
16505 that's usual style. (Bug#4612)
16507 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16509 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16511 * minibuffer.el (completion-table-with-terminator): Properly implement
16512 boundaries, in case `terminator' appears in the suffix.
16513 (completion--embedded-envvar-table): Don't return boundaries if
16514 there's no valid completion. Simplify.
16515 (completion-file-name-table): New completion table extracted from
16516 completion--file-name-table.
16517 (completion--file-name-table): Use it.
16518 (read-file-name-predicate): Declare obsolete.
16519 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16520 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16521 completion-file-name-table, and use the `pred' argument.
16522 * files.el (locate-file-completion-table): Use the `pred' arg rather
16523 than read-file-name-predicate.
16524 (abbreviate-file-name): Use \` rather than ^ for BOS.
16526 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16528 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16529 vc-responsible-backend to register, it causes problems.
16531 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16533 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16535 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16537 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16538 (tramp-smb-handle-file-attributes): Use it.
16539 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16540 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16541 `mapcar'. Use `tramp-smb-get-stat-capability'.
16542 Add `dired-filename' text properties.
16543 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16544 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16547 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16549 * subr.el (read-key-delay): Reduce to 0.01.
16550 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16553 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16555 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16557 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16558 (Info-menu): Remove unused vars `last' and `completions'.
16559 (Info-index-nodes): Remove unused var `node'.
16561 * info.el (Info-complete-menu-item): Use complete-with-action.
16563 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16565 Make vc-annotate work through copies and renames.
16566 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16567 Return the file name too.
16568 (vc-annotate-revision-at-line)
16569 (vc-annotate-find-revision-at-line)
16570 (vc-annotate-revision-previous-to-line)
16571 (vc-annotate-show-log-revision-at-line): Update to get the file
16572 name from vc-annotate-extract-revision-at-line.
16573 (vc-annotate-show-diff-revision-at-line-internal): Change the
16574 argument to mean whether to show a file diff or not. Get the file
16575 name from vc-annotate-extract-revision-at-line.
16576 (vc-annotate-show-diff-revision-at-line):
16577 Update vc-annotate-show-diff-revision-at-line call.
16578 (vc-annotate-warp-revision): Add an optional file argument.
16580 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16581 (vc-git-annotate-extract-revision-at-line): Also return the file
16584 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16585 command. Remove unused code.
16586 (vc-hg-annotate-re): Update to match --follow output.
16587 (vc-hg-annotate-extract-revision-at-line): Also return the file
16590 * vc.el: Update annotate-extract-revision-at-line documentation.
16592 2009-10-18 Kevin Ryde <user42@zip.com.au>
16594 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16595 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16597 * net/browse-url.el (browse-url): Identify alist with "consp and
16598 not functionp" and let all other things go down the `apply' leg,
16599 as suggested by Stefan. (Further to bug#4531.)
16601 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16603 * minibuffer.el (read-file-name): Check for repeat before putting
16604 a default argument in file-name-history (Bug#4657).
16606 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16607 read syntax (Bug#4737).
16609 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16611 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16613 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16614 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16615 entries and make note of obsolete tags.
16617 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16619 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16621 2009-10-18 Glenn Morris <rgm@gnu.org>
16623 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16624 grep, so that binary files (eg international/uni-bidi.el) can match.
16625 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16626 now, and in any case the file header format has changed.
16628 2009-10-17 Glenn Morris <rgm@gnu.org>
16630 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16631 (flyspell-get-word, flyspell-large-region)
16632 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16634 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16636 * Makefile.in (ELCFILES): Add ede/shell.
16638 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16640 * term/common-win.el (x-colors): Purecopy it.
16642 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16644 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16645 permissive for when the buffer is empty.
16646 (tar-header-block-tokenize): Decode the username and groupname.
16647 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16649 2009-10-17 Eric Ludlam <zappo@gnu.org>
16651 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16652 contains multibyte characters, choose first applicable coding
16653 system automatically.
16655 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16657 * international/mule-cmds.el (select-safe-coding-system): If the file
16658 has a coding cookie, use it regardless of any other setting (bug#4712).
16660 2009-10-17 Glenn Morris <rgm@gnu.org>
16662 * foldout.el (foldout-mouse-swallow-events):
16663 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16665 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16666 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16667 (dired-keep-marker-symlink, dired-dwim-target)
16668 (dired-copy-preserve-time): Do not autoload these defcustoms.
16670 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16671 messages from messing up the file coding. (Bug#4623)
16673 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16675 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16676 if no match is found for the current dictionary. (Bug#4578)
16678 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16679 optional, since that is how it is documented, and this is often called
16680 with a nil argument. (Bug#4577)
16681 (flyspell-external-point-words, flyspell-auto-correct-word)
16682 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16683 (flyspell-word-search-backward): Remove nil argument in calls to
16684 flyspell-get-word, since it is not needed now.
16686 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16688 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16690 2009-10-16 Glenn Morris <rgm@gnu.org>
16692 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16694 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16696 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16697 (ange-ftp-file-size): New function.
16698 (ange-ftp-file-attributes): Use it.
16700 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16702 * net/tramp-smb.el (tramp-smb-version): New defvar.
16703 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16706 2009-10-16 Glenn Morris <rgm@gnu.org>
16708 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16709 Maybe copy some custom properties from old to new name. (Bug#4706)
16711 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16713 * subr.el (error, sit-for, start-process-shell-command)
16714 (start-file-process-shell-command): Set the calling convention
16715 after the function definition.
16717 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16719 * subr.el (error, sit-for, start-process-shell-command)
16720 (start-file-process-shell-command): Use the new
16721 set-advertised-calling-convention feature.
16723 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16725 * international/ucs-normalize.el (ucs-normalize-version):
16727 (check-range): Adjust for Unicode 5.2.
16729 2009-10-15 Juri Linkov <juri@jurta.org>
16731 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16732 to the `menu-item' format.
16734 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16736 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16737 if the environment variable does not exist.
16739 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16740 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16742 (tramp-smb-handle-add-name-to-file)
16743 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16744 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16745 (tramp-smb-handle-file-attributes)
16746 (tramp-smb-do-file-attributes-with-stat)
16747 (tramp-smb-handle-file-local-copy)
16748 (tramp-smb-handle-insert-directory)
16749 (tramp-smb-handle-make-directory)
16750 (tramp-smb-handle-make-directory-internal)
16751 (tramp-smb-handle-make-symbolic-link)
16752 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16753 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16754 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16755 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16756 Handle long file names.
16757 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16758 process is running.
16759 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16760 Read share names with "-g" option.
16762 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16764 * net/rcirc.el (rcirc-view-log-file): New command.
16765 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16766 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16769 2009-10-15 Glenn Morris <rgm@gnu.org>
16771 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16772 from the second command-line argument.
16773 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16774 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16775 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16776 w32-batch-update-autoloads.
16777 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16778 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16780 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16781 the headers cannot be located. Simplify, subtracting superflous
16784 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16786 Replace completion-base-size by completion-base-position to fix bugs
16787 such as (bug#4699).
16788 * simple.el (completion-base-position): New var.
16789 (completion-base-size): Mark as obsolete.
16790 (choose-completion): Make it work for mouse events as well.
16791 Pass the new base-position to choose-completion-string.
16792 (choose-completion-guess-base-position): New function, extracted from
16793 choose-completion-delete-max-match.
16794 (choose-completion-delete-max-match): Use it. Make obsolete.
16795 (choose-completion-string): Use the new base-position info.
16796 (completion-root-regexp): Delete.
16797 (completion-setup-function): Preserve completion-base-position.
16798 Eliminate obsolete base-size manipulation.
16799 * minibuffer.el (display-completion-list): Don't mess with base-size.
16800 (minibuffer-completion-help): Set completion-base-position instead.
16801 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16803 * textmodes/bibtex.el (bibtex-complete):
16804 * emacs-lisp/crm.el (crm--choose-completion-string):
16805 Adjust to new calling convention.
16806 * complete.el (partial-completion-mode): Use minibufferp to avoid
16807 bumping into incompatible change to choose-completion-string-functions.
16808 * ido.el (ido-choose-completion-string): Make its calling convention
16810 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16811 base-size manipulation.
16812 (comint-dynamic-list-input-ring): Use dotimes and push.
16813 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16814 fundamental-mode. Use `or'.
16816 2009-10-14 Juri Linkov <juri@jurta.org>
16818 * misearch.el (multi-isearch-next-buffer-from-list)
16819 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16821 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16823 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16826 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16827 string we return is all made up of text from the completions rather
16828 than part from the completions and part from the input (bug#4219).
16830 * ido.el (ido-everywhere): Use define-minor-mode.
16832 * buff-menu.el (list-buffers, ctl-x-map):
16833 Mark the entry points with ;;;###autoload cookies.
16835 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16837 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16838 correctly in the detached head case.
16839 (vc-git-print-log): Remove unused binding.
16841 * vc.el (vc-responsible-backend): When a directory is passed for
16842 for registration create a VC repository if no backend is
16843 responsible for the directory argument.
16844 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16846 * vc.el: Move comments about RCS and SCCS ...
16848 * vc-sccs.el: ... here, respectively.
16850 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16852 * minibuffer.el (completion--file-name-table): Return nil if there's
16853 no file completion, even if substitute-in-file-name changed
16854 the string (bug#4708).
16856 2009-10-13 Juri Linkov <juri@jurta.org>
16858 * files-x.el (read-file-local-variable-value): Don't filter out
16859 minor modes from mode name completion (bug#4664).
16861 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16863 * international/mule-cmds.el (ucs-names): Remove exclusion of
16864 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16866 2009-10-13 Kenichi Handa <handa@m17n.org>
16868 * international/uni-name.el: Regenerated.
16870 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16872 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16873 should be automatically buffer-local, but isn't.)
16875 2009-10-12 Sam Steingold <sds@gnu.org>
16877 * progmodes/compile.el (compilation-next-error-function): Fix the
16878 timestamps if the buffer has been visited before.
16879 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16880 non-anchored patterns, like the perl one (bug#3928).
16882 2009-10-12 Glenn Morris <rgm@gnu.org>
16884 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16887 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16889 * proced.el (proced-unload-function): New function.
16891 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16892 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16895 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16897 2009-10-11 Juri Linkov <juri@jurta.org>
16899 * files-x.el (read-file-local-variable-value):
16900 Provide default value only for bound variables (bug#4664).
16902 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16904 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16905 connection methods like smb.
16907 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16910 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16911 (tramp-smb-file-name-handler-alist): Add handlers for
16912 `add-name-to-file', `make-symbolic-link'.
16913 (tramp-smb-handle-add-name-to-file)
16914 (tramp-smb-do-file-attributes-with-stat)
16915 (tramp-smb-handle-make-symbolic-link)
16916 (tramp-smb-get-cifs-capabilities): New defuns.
16917 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16918 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16919 (tramp-smb-handle-file-local-copy)
16920 (tramp-smb-handle-make-directory-internal)
16921 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16922 The file name syntax depends on cifs capabilities.
16923 (tramp-smb-handle-file-attributes):
16924 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16925 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16926 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16928 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16930 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16931 (eieio-defclass): Apply deftype handler and setf-method properties
16933 (eieio-add-new-slot): Avoid union function from cl library.
16934 (eieio--typep): New function.
16935 (eieio-perform-slot-validation): Use it.
16937 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16939 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16940 Update documentation to refer to the variables documented in r1.135.
16943 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16945 * bookmark.el (Info-suffix-list): Remove this unused variable.
16946 (bookmark-current-point): Remove this obsolete variable.
16947 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16948 Adjust for removal of bookmark-current-point.
16950 (bookmarks-already-loaded, bookmark-current-buffer)
16951 (bookmark-yank-point): Document. (Bug#4188)
16953 2009-10-10 Glenn Morris <rgm@gnu.org>
16955 * frame.el (frame-height): Doc fix.
16957 * calendar/calendar.el (calendar-split-width-threshold): New option.
16958 (calendar-basic-setup): Use calendar-split-width-threshold.
16960 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16962 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16963 Ideographic Supplement" range (U+1F200..U+1F2FF).
16965 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16967 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16968 since the list will have been rebuilt anyway. (Bug#4349)
16970 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16972 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16973 (bookmark-bmenu-execute-deletions): Don't save here, as
16974 bookmark-delete will now do so if necessary.
16975 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16978 2009-10-09 Glenn Morris <rgm@gnu.org>
16980 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16982 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16984 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16985 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16986 argument now, so the two function's behaviors will match. (Bug#3645)
16988 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16990 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16991 (tramp-file-name-real-host, tramp-file-name-port):
16992 Apply `save-match-data'.
16994 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16995 case both directories are remote.
16996 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16997 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16999 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17001 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17003 2009-10-07 Glenn Morris <rgm@gnu.org>
17005 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17008 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17010 * files-x.el (read-file-local-variable): Include some
17011 non-user-variables in the completion table (bug#4664).
17013 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17015 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17018 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17019 (tramp-smb-file-name-handler-alist): Add handler for
17020 `copy-directory', `expand-file-name', `set-file-modes'.
17021 (tramp-smb-handle-copy-directory)
17022 (tramp-smb-handle-expand-file-name)
17023 (tramp-smb-handle-set-file-modes): New defuns.
17024 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17025 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17027 (tramp-smb-handle-insert-directory): Don't flush the cache.
17028 (tramp-smb-maybe-open-connection): Check for samba client and
17031 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17033 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17034 to not error out of search for "^lisp=" fails.
17036 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17038 * makefile.w32-in (WINS_UPDATES): New macro.
17039 (custom-deps, finder-data, autoloads): Use it.
17041 2009-10-07 Glenn Morris <rgm@gnu.org>
17043 * Makefile.in (autoloads): Revert previous change.
17044 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17045 the list of preloaded files passed on the command-line, get
17046 it from src/Makefile.
17048 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17049 show the original buffer rather than a random one.
17051 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17053 * help.el (describe-no-warranty): Place point in a slightly better
17054 position in the GPLv3 text.
17056 2009-10-06 Sam Steingold <sds@gnu.org>
17058 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17059 the comm attribute is present before calling regexp-quote.
17061 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17063 * play/animate.el (animate-string): For good effect, make sure
17064 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17066 * play/animate.el (animate-sequence, animate-birthday-present):
17067 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17069 2009-10-06 Glenn Morris <rgm@gnu.org>
17071 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17073 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17074 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17075 (batch-update-autoloads): Process a string value of autoload-excludes,
17076 set during the build process.
17077 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17079 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17080 inside with-parsed... macro so that `v' is defined.
17082 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17083 * progmodes/fortran.el (fortran-end-of-block)
17084 (fortran-beginning-of-block):
17085 Also push mark in the macro case.
17087 * emerge.el (emerge-show-file-name):
17088 * calc/calc.el (calc-quit):
17089 * calc/calc-misc.el (calc-big-or-small):
17090 * calc/calc-graph.el (calc-graph-view):
17091 * calc/calc-ext.el (calc-reset):
17092 * calendar/calendar.el (calendar-basic-setup):
17093 Use window-full-height-p.
17095 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17096 header we don't understand, don't insert another. (Bug#4624)
17097 If changing mime charset, insert the new one in the right place.
17099 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17101 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17102 (cal-tex-cursor-month): Correctly increment the end date for diary and
17103 holiday listing. (Bug#4626)
17105 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17107 * help-fns.el (describe-function-1): Don't burp if the function is not
17110 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17112 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17113 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17114 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17115 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17117 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17118 (eieio-default-superclass): Reflow docstrings.
17119 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17120 (eieio-unbind-method-implementations, defmethod)
17121 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17122 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17123 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17124 (eieio-slot-originating-class-p, eieio-slot-name-index)
17125 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17126 (constructor, initialize-instance, no-next-method, object-print)
17127 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17128 Fix typos in docstrings.
17129 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17130 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17131 (next-method-p): Doc fixes.
17132 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17133 Fix typos in error messages.
17134 (eieio-defmethod): Fix typo in description of generic method.
17136 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17137 (eieio-persistent-save-interactive, slot-missing):
17138 Fix typos in docstrings.
17139 (eieio-instance-inheritor-slot-boundp): Doc fix.
17141 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17142 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17144 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17145 (eieio-custom-object-apply-reset):
17146 Fix typos in docstrings and error messages.
17148 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17149 Fix typo in docstring.
17151 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17152 (eieio-browse-tree): Doc fix.
17153 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17154 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17155 Fix typos in docstrings.
17157 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17158 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17159 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17160 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17163 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17165 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17166 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17167 Set log-view-vc-backend so that diff can work.
17169 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17171 (vc-diff-internal): Autoload this instead of vc-version-diff.
17173 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17175 * simple.el (eval-expression): Doc fix.
17177 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17179 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17181 * files.el (directory-files-no-dot-files-regexp): New defconst.
17182 (delete-directory): Use it.
17183 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17185 * net/tramp.el (tramp-verbose): Fix docstring.
17186 (tramp-methods): Add recursive option to `tramp-copy-args'.
17187 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17188 "scp1_old", "scp2_old", "rsync", "rsyncc".
17189 (tramp-default-method): Check also for `auth-source-user-or-password'.
17190 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17191 Add handler for `copy-directory'.
17192 (tramp-handle-copy-directory): New defun.
17193 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17194 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17195 Optimize sent command.
17197 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17199 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17200 window if necessary.
17202 * calendar/calendar.el (calendar-basic-setup): Don't call
17203 switch-to-buffer in a dedicated window.
17205 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17207 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17208 don't do anything related to relocating, just return nil.
17209 (bookmark-error-no-filename): New error.
17210 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17211 bookmark has no file. Don't even attempt to handle things that
17212 are not files; the whole point of custom handlers is to keep that
17213 knowledge elsewhere anyway. Tighten some comments.
17214 (bookmark-file-or-variation-thereof): Remove now-unused function.
17215 (bookmark-location): Doc string fix.
17218 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17220 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17221 don't use a file dialog, because they usually don't know how to read
17222 a directory target from the user. (Bug#4230)
17223 Also, make sure the prompt can display directories as well as files.
17225 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17227 * bookmark.el (bookmark-set, bookmark-buffer-name):
17228 Improve doc strings. (Bug#1193)
17230 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17232 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17233 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17234 (bookmark-get-annotation, bookmark-set-annotation)
17235 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17236 (bookmark-set-position, bookmark-get-front-context-string)
17237 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17238 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17239 (bookmark-jump-other-window, bookmark-handle-bookmark)
17240 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17241 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17242 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17243 Improve doc strings to say whether bookmark can be a string or
17244 a record or both, and make other consistency and clarity fixes.
17245 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17246 (bookmark-default-annotation-text, bookmark-yank-word)
17247 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17248 (bookmark-import-new-list, bookmark-maybe-rename)
17249 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17250 (bookmark-bmenu-bookmark): Give these doc strings.
17251 (bookmark-bmenu-check-position): Give this a doc string, but also
17252 add a FIXME comment about how the function may be pointless.
17253 (bookmark-default-handler): Rework doc string and change a
17254 parameter name, to clarify that this takes a bookmark record
17255 not a bookmark name.
17256 (bookmark-set): Change a parameter name to indicate its meaning,
17257 and improve the doc string a bit.
17260 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17262 * bookmark.el (bookmark-alist): Document the new `handler' element
17263 in the param alist.
17264 (bookmark-make-record-function): Adjust documentation for above.
17267 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17269 * info.el (Info-bookmark-make-record): Document this function.
17270 (Info-bookmark-jump): Document with a doc string, not just a comment.
17273 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17275 * files.el (copy-directory): New defun.
17277 * dired-aux.el (dired-copy-file-recursive): Use it.
17279 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17281 * files-x.el (modify-dir-local-variable)
17282 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17285 * recentf.el (recentf-unload-function): New function.
17287 2009-10-04 Glenn Morris <rgm@gnu.org>
17289 * window.el (window-full-height-p): Add doc string.
17291 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17293 * window.el (window-full-height-p): New function. (Bug#4543)
17295 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17297 * vc.el: Remove commented out code.
17298 (vc-derived-from-dir-mode): Remove, unused.
17299 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17301 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17303 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17304 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17305 there could be recursive loading when `default-directory' is a
17306 remote file name. (Bug#4614)
17308 2009-10-03 Glenn Morris <rgm@gnu.org>
17310 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17312 (calendar-generate-window): Test for shrinkability rather than width.
17314 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17315 reusing existing buffers, in case we happen to visit two files with the
17316 same basename. (Bug#4593)
17318 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17320 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17321 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17322 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17323 subdirs of cedet as well.
17324 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17326 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17328 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17329 Obey advertised-signature-table.
17331 * help-fns.el (help-function-arglist): Don't check
17332 advertised-signature-table.
17333 (describe-function-1): Do it here instead so it also applies to subrs.
17335 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17337 * simple.el (start-file-process): Say in the doc-string, that file
17338 handlers might not support pty association, if PROGRAM is nil.
17340 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17341 HOST and USER are strings. They are nil, when there are
17342 incomplete entries in ~/.netrc, for example.
17343 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17344 root directory ("device busy" error otherwise).
17346 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17347 Flush file properties of created directory.
17349 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17351 * makefile.w32-in (WINS_BASIC): Remove cedet.
17352 (WINS_CEDET): Add cedet.
17353 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17355 2009-10-02 Kevin Ryde <user42@zip.com.au>
17357 * net/browse-url.el (browse-url): Pass any symbol in
17358 browse-url-browser-function to `apply', since if you've mistakenly put
17359 an unbound symbol then the error is clearer. (Bug#4531)
17361 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17363 * allout.el (allout-init, allout-back-to-current-heading)
17364 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17365 (allout-ascend, allout-up-current-level, allout-end-of-level)
17366 (allout-previous-visible-heading, allout-forward-current-level)
17367 (allout-backward-current-level, allout-show-children):
17368 * apropos.el (apropos-describe-plist):
17369 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17370 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17371 * completion.el (add-completion, add-permanent-completion):
17372 * descr-text.el (describe-text-category, describe-char):
17373 * desktop.el (desktop-lazy-abort):
17374 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17375 * dired.el (dired-build-subdir-alist):
17376 * ediff.el (ediff-version):
17377 * elide-head.el (elide-head, elide-head-show):
17378 * emerge.el (emerge-version):
17380 * face-remap.el (variable-pitch-mode):
17381 * faces.el (describe-face):
17382 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17384 * files.el (find-file-existing, auto-save-mode):
17385 * font-lock.el (font-lock-fontify-buffer):
17386 * help-fns.el (describe-function, describe-variable)
17387 (describe-syntax, describe-categories):
17388 * help.el (view-lossage, describe-bindings, describe-key)
17390 * hexl.el (hexl-current-address):
17391 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17392 * info.el (Info-goto-emacs-key-command-node):
17393 * log-edit.el (log-edit-insert-cvs-template)
17394 (log-edit-insert-cvs-rcstemplate):
17395 * menu-bar.el (menu-bar-mode):
17396 * mouse.el (mouse-appearance-menu):
17397 * newcomment.el (comment-indent-new-line):
17398 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17399 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17400 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17401 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17402 * recentf.el (recentf-mode):
17403 * savehist.el (savehist-mode, savehist-save):
17404 * shadowfile.el (shadow-copy-files):
17405 * simple.el (kill-ring-save, next-line, previous-line)
17406 (normal-erase-is-backspace-mode):
17407 * strokes.el (strokes-update-window-configuration)
17408 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17409 (strokes-xpm-for-stroke):
17410 * time.el (emacs-uptime, emacs-init-time):
17411 * tutorial.el (tutorial--describe-nonstandard-key)
17412 (tutorial--detailed-help):
17413 * type-break.el (type-break-mode)
17414 (type-break-mode-line-message-mode, type-break-query-mode)
17415 (type-break-guesstimate-keystroke-threshold):
17416 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17417 * version.el (emacs-version):
17418 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17419 * winner.el (winner-mode):
17420 * calendar/timeclock.el (timeclock-in, timeclock-out)
17421 (timeclock-status-string, timeclock-change)
17422 (timeclock-workday-remaining-string)
17423 (timeclock-workday-elapsed-string)
17424 (timeclock-when-to-leave-string):
17425 * calendar/todo-mode.el (todo-add-category):
17426 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17427 * emacs-lisp/autoload.el (update-file-autoloads):
17428 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17429 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17430 (checkdoc-message-text, checkdoc-defun):
17431 * emacs-lisp/debug.el (debugger-list-functions):
17432 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17433 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17434 (eieio-describe-generic):
17435 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17436 * emacs-lisp/shadow.el (list-load-path-shadows):
17437 * emulation/cua-base.el (cua-mode):
17438 * emulation/edt.el (edt-set-scroll-margins):
17439 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17440 (tpu-toggle-regexp, tpu-toggle-search-direction)
17441 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17442 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17443 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17444 (viper-set-parsing-style-toggling-macro)
17445 (viper-set-emacs-state-searchstyle-macros):
17446 * emulation/viper.el (viper-set-hooks):
17447 * eshell/esh-mode.el (eshell-truncate-buffer):
17448 * international/mule-cmds.el (prefer-coding-system)
17449 (describe-input-method, describe-language-environment):
17450 * international/mule-diag.el (list-character-sets)
17451 (describe-character-set, describe-coding-system)
17452 (describe-fontset, list-fontsets, list-input-methods):
17453 * mail/sendmail.el (mail-signature):
17454 * net/ange-ftp.el (ange-ftp-copy-file):
17455 * net/browse-url.el (browse-url):
17456 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17457 * net/quickurl.el (quickurl-add-url):
17458 * net/rcirc.el (names, topic):
17459 * net/xesam.el (xesam-mode):
17460 * play/5x5.el (5x5-new-game):
17461 * play/yow.el (apropos-zippy):
17462 * progmodes/ada-mode.el (ada-mode-version):
17463 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17465 (f90-beginning-of-block):
17466 * progmodes/fortran.el (fortran-end-of-block)
17467 (fortran-beginning-of-block):
17468 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17469 * progmodes/python.el (python-describe-symbol, python-shell):
17470 * term/ns-win.el (ns-print-buffer):
17471 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17472 * textmodes/flyspell.el (flyspell-mode-on):
17473 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17474 (pages-directory-for-addresses):
17475 * textmodes/table.el (table-recognize-cell)
17476 (table-query-dimension, table-generate-source)
17477 (table-insert-sequence, table--warn-incompatibility):
17478 * textmodes/tex-mode.el (tex-validate-buffer):
17479 * textmodes/texinfmt.el (texinfmt-version)
17480 (texinfo-format-buffer):
17481 Use `called-interactively-p' instead of `interactive-p'.
17483 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17485 * image-mode.el (image-toggle-display):
17486 * emacs-lisp/elp.el (elp-instrument-function):
17487 * emacs-lisp/advice.el (ad-make-advised-definition):
17488 * emacs-lisp/easy-mmode.el (define-minor-mode):
17489 * net/browse-url.el (browse-url-maybe-new-window):
17490 * progmodes/sh-script.el (sh-learn-buffer-indent):
17491 Pass new argument 'any to `called-interactively-p'.
17493 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17495 * international/uni-bidi.el:
17496 * international/uni-category.el:
17497 * international/uni-combining.el:
17498 * international/uni-comment.el:
17499 * international/uni-decimal.el:
17500 * international/uni-decomposition.el:
17501 * international/uni-digit.el:
17502 * international/uni-lowercase.el:
17503 * international/uni-mirrored.el:
17504 * international/uni-name.el:
17505 * international/uni-numeric.el:
17506 * international/uni-old-name.el:
17507 * international/uni-titlecase.el:
17508 * international/uni-uppercase.el:
17509 Regenerate from Unicode 5.2.0 data.
17511 2009-10-01 Glenn Morris <rgm@gnu.org>
17513 * Makefile.in (ELCFILES): Regenerate.
17515 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17517 * subr.el (interactive-p): Mark obsolete.
17518 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17519 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17520 advertised-signature-table for subroutines as well.
17522 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17523 (set-advertised-calling-convention): New function.
17524 (make-obsolete, define-obsolete-function-alias)
17525 (make-obsolete-variable, define-obsolete-variable-alias):
17526 Make the optional-ness of `when' obsolete.
17527 (define-obsolete-face-alias): Make `when' non-optional.
17528 * help-fns.el (help-function-arglist):
17529 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17530 Use advertised-signature-table.
17532 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17534 * files.el (delete-directory): New defun. The original function
17535 in fileio.c has been renamed to `delete-directory-internal'.
17537 * dired.el (dired-delete-file): Call `delete-directory' with
17538 RECURSIVE parameter.
17540 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17541 parameter RECURSIVE. Implementation is missing.
17543 * net/tramp.el (tramp-handle-make-directory): Flush upper
17544 directory's file properties.
17545 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17546 (tramp-handle-dired-recursive-delete-directory): Flush directory
17547 properties after the remove command only.
17549 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17550 Handle optional parameter RECURSIVE.
17552 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17553 Handle optional parameter RECURSIVE.
17555 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17556 connection timeout.
17557 (tramp-smb-handle-delete-directory): Handle optional parameter
17560 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17562 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17563 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17564 (byte-compile-defmacro): Use backquotes.
17566 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17568 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17569 has no associated file.
17570 (vc-resynch-buffer): Use vc-dir-buffers.
17572 2009-10-01 Glenn Morris <rgm@gnu.org>
17574 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17575 (chart-file-count):
17576 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17577 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17578 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17579 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17580 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17581 (eieio-copy-parents-into-subclass, make-instance, class-children)
17582 (eieio-generic-form):
17584 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17585 match-data. (Bug#4555).
17587 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17588 rather than parsing it as a regexp. This relaxes the layout
17589 requirements and makes errors easier to detect.
17590 (check-declare-verify): Check file is regular.
17591 (check-declare-directory): Doc fix.
17592 * subr.el (declare-function): Doc fix.
17594 * ibuffer.el (ibuffer-format-qualifier):
17595 * isearch.el (hi-lock-regexp-okay):
17596 * calc/calc.el (math-zerop):
17597 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17598 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17599 Remove unused declarations.
17601 2009-09-30 Eric Ludlam <zappo@gnu.org>
17603 * emacs-lisp/eieio.el (boolean-p): Delete.
17605 2009-09-30 Glenn Morris <rgm@gnu.org>
17607 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17609 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17610 filename is not a string.
17612 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17614 * files.el (safe-local-eval-forms): Fix typo.
17616 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17618 * vc-hooks.el (vc-dir-buffers): New var.
17619 (vc-state-refresh): New function.
17620 (vc-state): Use it.
17621 (vc-after-save): Always ask the backend to recompute the new state.
17622 Always call vc-dir if necessary, using vc-dir-buffers.
17623 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17624 Use vc-dir-buffers.
17625 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17626 (vc-dir-prepare-status-buffer, vc-dir-update)
17627 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17628 Don't call expand-file-name on default-directory.
17630 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17632 * speedbar.el (speedbar-item-delete):
17633 * calc/calc-prog.el (calc-kbd-if):
17634 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17636 * epa.el (epa-key-list-mode-map):
17637 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17639 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17640 (hs-show-hook): Fix typo in docstring.
17642 2009-09-29 Glenn Morris <rgm@gnu.org>
17644 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17645 file-name-nondirectory call preventing location of cedet files.
17646 (check-declare-verify): Use literal search rather than re-search.
17647 Add basic defmethod and defclass, and define-overloadable-function.
17649 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17650 Use tramp-compat-file-attributes rather than nonexistent
17651 tramp-compat-handle-file-attributes.
17653 * Makefile.in (lisptagsfiles4): New.
17654 (AUTOGENEL): Add cedet loaddefs files.
17655 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17656 (update-elclist, compile-always, backup-compiled-files)
17657 (bootstrap-clean): Add yet another directory level.
17658 (update-elclist): Use LC_COLLATE rather than COLLATE.
17659 (ELCFILES): Update, via `make update-elclist'.
17661 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17663 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17664 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17665 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17667 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17669 * Makefile.in (lisptagsfiles3): Define.
17670 (TAGS, TAGS-LISP): Use it.
17671 (update-elclist): Add third directory level to look for elc files.
17672 (compile-always): Likewise.
17673 (backup-compiled-files): Likewise.
17674 (bootstrap-clean): Likewise.
17675 (ELCFILES): Update.
17677 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17679 * Makefile.in (ELCFILES): Add CEDET files.
17681 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17683 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17685 * net/tramp.el (top): Require tramp-imap.
17687 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17688 Use `tramp-compat-handle-file-attributes'.
17690 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17692 * net/tramp-imap.el: New package.
17694 2009-09-28 Eric Ludlam <zappo@gnu.org>
17696 * emacs-lisp/chart.el:
17697 * emacs-lisp/eieio-base.el:
17698 * emacs-lisp/eieio-comp.el:
17699 * emacs-lisp/eieio-custom.el:
17700 * emacs-lisp/eieio-datadebug.el:
17701 * emacs-lisp/eieio-opt.el:
17702 * emacs-lisp/eieio-speedbar.el:
17703 * emacs-lisp/eieio.el: New files.
17705 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17707 * whitespace.el (whitespace-trailing-regexp)
17708 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17711 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17713 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17716 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17717 menu-bar-ediff-menu.
17719 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17720 define-overloadable-function.
17722 * progmodes/autoconf.el: Provide autoconf as well, so that this
17723 file can be `require'd.
17725 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17727 * emacs-lisp/autoload.el (generated-autoload-feature)
17728 (generated-autoload-load-name): New vars.
17729 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17730 (make-autoload): Recognize define-overloadable-function and
17731 defclass forms (for EIEIO).
17733 * Makefile.in (update-subdirs): Exclude cedet directory.
17735 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17737 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17739 * faces.el: Default light-background background for region face to
17740 ns_selection_color under NS.
17742 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17744 * net/imap-hash.el: New library, see NEWS.
17746 * Makefile.in (ELCFILES): Add imap-hash.el.
17748 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17750 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17751 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17752 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17753 definition where the docstring could be taken for the return value.
17755 2009-09-26 Glenn Morris <rgm@gnu.org>
17757 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17758 Add option to only show images below a certain size.
17759 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17760 save-excursion calls.
17762 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17764 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17765 subdirectories) and eieio.
17767 2009-09-26 Alan Mackenzie <acm@muc.de>
17769 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17770 Correct buggy bracketing. (Bug#4289)
17772 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17773 character constants (as case labels). (Bug#4289)
17775 2009-09-25 Juri Linkov <juri@jurta.org>
17777 * files.el (safe-local-eval-forms): Allow time-stamp in
17778 before-save-hook (Bug#4554).
17780 2009-09-25 Drew Adams <drew.adams@oracle.com>
17782 * menu-bar.el (list-buffers-directory): Doc fix.
17784 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17786 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17787 Try and avoid copying twice the same paragraph.
17788 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17789 Remove save-excursion.
17790 (log-edit-changelog-entry): Do it here instead.
17792 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17794 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17795 when available, instead of hardcoding mode names. Doc fix.
17797 * menu-bar.el (list-buffers-directory): Add docstring.
17798 Make automatically buffer-local.
17800 * dired.el (dired-mode):
17801 * files.el (cd-absolute):
17802 * pcvs.el (cvs-temp-buffer):
17803 * pcvs-util.el (cvs-get-buffer-create):
17804 * shell.el (shell-mode):
17805 * vc-dir.el (vc-dir-mode):
17806 Don't make `list-buffers-directory' buffer local.
17808 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17810 * comint.el (comint-exec, comint-run, make-comint):
17811 Doc fixes (Bug#4542).
17813 2009-09-25 Glenn Morris <rgm@gnu.org>
17815 * mail/rmailmm.el (rmail-mime): New custom group.
17816 Move all defcustoms in this file into this group.
17817 (rmail-mime-media-type-handlers-alist): Revert previous change.
17818 (rmail-mime-show-images): New option.
17819 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17820 references to it, since it wasn't actually used for anything.
17821 (rmail-mime-insert-image): New function.
17822 (rmail-mime-image): Use rmail-mime-insert-image.
17823 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17824 obey the value of `rmail-mime-show-images' option. Print the size of
17827 2009-09-25 David Engster <deng@randomsample.de>
17829 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17831 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17833 * whitespace.el: Does not highlight trailing spaces While point is
17834 at end of line. Does not highligt spaces at beginning of buffer
17835 while point is at beginning of buffer. Does not highlight spaces
17836 at end of buffer while point is at end of buffer. (Bug#4177)
17838 (whitespace-display-mappings): Adjust initialization.
17839 (whitespace-point, whitespace-font-lock-refontify): New vars.
17840 (whitespace-color-on, whitespace-color-off): Adjust code.
17841 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17842 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17843 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17845 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17847 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17849 * textmodes/sgml-mode.el: Remove xml-mode alias.
17851 * files.el (auto-mode-alist, conf-mode-maybe)
17852 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17854 2009-09-24 Alan Mackenzie <acm@muc.de>
17856 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17857 c-forward-conditionals, but it doesn't move point and doesn't set
17859 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17860 (c-down-conditional-with-else, c-backward-conditional)
17861 (c-forward-conditional): Refactor to use c-scan-conditionals.
17863 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17865 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17866 (help-default-arg-highlight): Remove.
17867 (help-highlight-arg): New function.
17868 (help-do-arg-highlight): Use it.
17869 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17871 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17873 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17874 Undo last change, which didn't fix the problem and introduced others.
17876 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17878 * progmodes/gdb-mi.el: Don't require speedbar.
17879 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17881 2009-09-24 Glenn Morris <rgm@gnu.org>
17883 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17885 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17887 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17888 there is no newline after the final mime boundary. (Bug#4539)
17889 Move markers on insertion so that any buttons inserted don't end up in
17890 the next part of a multipart message.
17891 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17892 (rmail-mime-bulk-handler): Optionally handle images.
17893 (rmail-mime-image): New button action.
17894 (rmail-mime-image-handler): New function.
17895 (rmail-mime-mode): New mode.
17896 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17898 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17900 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17901 than just dropping elements from it (bug#4504).
17903 * term.el (term-set-scroll-region): Don't move cursor any more.
17904 (term-handle-ansi-escape): Call term-goto here instead.
17905 Suggested by Ivan Kanis <apple@kanis.eu>.
17907 * term.el: Require CL.
17908 (term-ansi-reset): New function.
17909 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17910 (term-handle-colors-array): Simplify.
17912 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17914 * allout.el (allout-overlay-interior-modification-handler)
17915 (allout-obtain-passphrase):
17916 * epa-file.el (epa-file-write-region):
17917 * ps-print.el (ps-begin-job):
17918 * vc-hooks.el (vc-toggle-read-only):
17919 * vc-rcs.el (vc-rcs-rollback):
17920 * vc-sccs.el (vc-sccs-rollback):
17921 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17922 (vc-version-diff, vc-revert, vc-rollback):
17923 * wdired.el (wdired-check-kill-buffer):
17924 * emacs-lisp/authors.el (authors):
17925 * net/socks.el (socks-open-connection):
17926 * net/zeroconf.el (zeroconf-service-add-hook):
17927 * obsolete/vc-mcvs.el (vc-mcvs-register):
17928 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17929 (gdb-select-frame):
17930 * progmodes/grep.el (lgrep, rgrep):
17931 * progmodes/idlw-help.el (idlwave-help-check-locations)
17932 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17933 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17934 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17935 (reftex-toc-rename-label): Fix typos in error messages.
17937 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17938 (dired-copy-how-to-fn): Doc fix.
17939 (dired-files-attributes, dired-read-shell-command):
17940 Fix typos in docstrings.
17942 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17943 (dired-x-find-file-other-window): Reflow docstrings.
17944 (dired-omit-marker-char, dired-read-shell-command)
17945 (dired-x-submit-report): Fix typos in docstrings.
17947 * shell.el (shell-mode-hook):
17948 * view.el (View-scroll-line-forward):
17949 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17950 Fix typos in docstrings.
17952 * net/dig.el (dig-invoke): Fix typo in docstring.
17953 (query-dig): Reflow docstring.
17955 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17956 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17957 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17958 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17959 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17960 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17961 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17962 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17963 (idlwave-completion-map, idlwave-current-indent)
17964 (idlwave-custom-ampersand-surround, idlwave-customize)
17965 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17966 (idlwave-define-abbrev, idlwave-determine-class-special)
17967 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17968 (idlwave-end-block-reg, idlwave-end-of-statement)
17969 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17970 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17971 (idlwave-explicit-class-listed, idlwave-file-header)
17972 (idlwave-fill-paragraph, idlwave-find-class-definition)
17973 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17974 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17975 (idlwave-in-quote, idlwave-indent-action-table)
17976 (idlwave-indent-expand-table, idlwave-indent-line)
17977 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17978 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17979 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17980 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17981 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17982 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17983 (idlwave-outlawed-buffers, idlwave-popup-select)
17984 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17985 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17986 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17987 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17988 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17989 (idlwave-statement-type, idlwave-struct-skip)
17990 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17991 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17992 (idlwave-what-module-find-class): Fix typos in docstrings.
17993 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17994 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17995 (idlwave-find-module, idlwave-find-structure-definition)
17996 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17997 (idlwave-list-load-path-shadows, idlwave-next-statement)
17998 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17999 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18000 (idlwave-template): Reflow docstrings.
18002 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18003 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18004 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18005 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18006 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18007 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18008 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18009 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18010 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18011 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18012 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18013 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18014 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18015 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18016 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18017 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18018 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18019 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18020 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18021 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18022 Fix typos in docstrings.
18023 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18024 (idlwave-shell-hide-output, idlwave-shell-mode)
18025 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18028 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18030 2009-09-24 Ivan Kanis <apple@kanis.eu>
18032 * term.el (term-bold-attribute): New var.
18033 (term-handle-colors-array): Use it.
18035 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18037 * progmodes/gdb-mi.el (gdb-version): New variable.
18038 (gdb-non-stop-handler): Set gdb-version.
18039 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18040 Condition "--thread" option on gdb-version.
18041 (gdb-invalidate-threads): Remove unused argument.
18043 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18045 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18046 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18048 2009-09-23 Glenn Morris <rgm@gnu.org>
18050 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18051 replying to mail without References or Message-Id. (Bug#4525)
18053 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18055 * term/ns-win.el (ns-reg-to-script): New variable.
18057 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18059 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18061 2009-09-22 Sam Steingold <sds@gnu.org>
18063 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18064 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18065 to 1 because hg returns status 1 when nothing is found.
18066 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18068 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18070 * textmodes/fill.el: Convert to utf-8 encoding.
18071 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18074 * add-log.el (change-log-fill-forward-paragraph): New function.
18075 (change-log-mode): Use it so fill-region DTRT.
18076 Set fill-indent-according-to-mode here rather than in
18077 change-log-fill-paragraph.
18078 (change-log-fill-paragraph): Remove.
18080 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18082 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18083 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18085 2009-09-22 Glenn Morris <rgm@gnu.org>
18087 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18088 the scroll-bar scroll the calendar window rather than the buffer.
18090 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18091 commands that move point (as opposed to scrolling).
18093 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18095 * emacs-lisp/elint.el (elint): New custom group.
18096 (elint-log-buffer): Make it a defcustom.
18097 (elint-scan-preloaded, elint-ignored-warnings)
18098 (elint-directory-skip-re): New options.
18099 (elint-builtin-variables): Doc fix.
18100 (elint-preloaded-env): New variable.
18101 (elint-unknown-builtin-args): Add an entry for encode-time.
18102 (elint-extra-errors): Make it a variable rather than a constant.
18103 (elint-preloaded-skip-re): New constant.
18104 (elint-directory): Skip files matching elint-directory-skip-re.
18105 (elint-features): New variable, local to linted buffers.
18106 (elint-update-env): Initialize elint-features. Possibly add
18107 elint-preloaded-env to the buffer's environment.
18108 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18110 (elint-init-form): New function, extracted from elint-init-env.
18111 Make non-list forms a warning rather than an error.
18112 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18113 easy-menu-define, put that adds an error-condition, and provide.
18114 When requiring cl, also require cl-macs. Really require cl, to handle
18115 some cl macros. Store required libraries in the list elint-features,
18116 so as not to re-load them. Treat cc-require like require.
18117 (elint-init-env): Call elint-init-form to do the work.
18118 Handle eval-and-compile and such like.
18119 (elint-add-required-env): Do not clear messages.
18120 (elint-special-forms): Add handlers for function, defalias, if, when,
18122 (elint-form): Add optional argument to ignore elint-special-forms,
18123 useful to prevent recursive calls from handlers. Doc fix.
18124 Respect elint-ignored-warnings.
18125 (elint-form): Respect elint-ignored-warnings.
18126 (elint-bound-variable, elint-bound-function): New variables.
18127 (elint-unbound-variable): Respect elint-bound-variable.
18128 (elint-get-args): Respect elint-bound-function.
18129 (elint-check-cond-form): Add some simple handling for (f)boundp and
18131 (elint-check-defalias-form): New handler.
18132 (elint-check-let-form): Make an empty let a warning rather than an
18134 (elint-check-setq-form): Make an empty setq a warning rather than an
18135 error. Respect elint-ignored-warnings.
18136 (elint-check-defvar-form): Accept null doc-strings.
18137 (elint-check-conditional-form): New handler. Does some simple-minded
18138 checking of featurep and (f)boundp tests.
18139 (elint-put-function-args): New function.
18140 (elint-initialize): Use elint-scan-doc-file rather than
18141 elint-find-builtin-variables. Use elint-put-function-args.
18142 Possibly scan preloaded-file-list.
18143 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18144 extend to handle functions as well.
18146 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18148 * linum.el (linum-delete-overlays, linum-update-window):
18149 Do not modify the right margin. (Bug#3971)
18151 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18153 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18154 Use nxml-mode instead of xml-mode.
18156 2009-09-21 Kevin Ryde <user42@zip.com.au>
18158 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18160 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18162 * net/dig.el (dig-mode): Use define-derived-mode.
18164 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18166 * vc-dispatcher.el (vc-do-command): Return the process object in
18167 the asynchronous case. Use when instead of if. Do not run
18168 vc-exec-after to display a message if not enabled. (Bug#4463)
18170 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18171 properties to the stash strings.
18172 (vc-git-stash-list): Return a list of strings.
18173 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18174 (vc-git-stash-show-at-point): New functions.
18175 (vc-git-stash-map): New keymap.
18177 * register.el (ctl-x-r-map): Define the keys here instead of
18180 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18182 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18183 list, to workaround performance problem (bug#4485).
18185 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18187 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18189 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18191 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18192 Document that this option is not recommended to use.
18194 2009-09-19 Glenn Morris <rgm@gnu.org>
18196 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18199 * calc/calc-alg.el (var):
18200 * calc/calcalg2.el (var): Define for compiler.
18202 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18204 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18205 Doc fix (Bug#3932).
18207 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18209 * time-stamp.el (time-stamp-month-dd-yyyy)
18210 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18211 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18212 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18213 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18214 Remove functions that have been obsolete since 1995 (Bug#4436).
18216 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18217 indent buffer only if called interactively (Bug#4452).
18219 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18220 Eli Zaretskii <eliz@gnu.org>
18222 This fixes bug#4197 (merged to bug#865, though not identical).
18223 * server.el (server-auth-dir): Add docstring note about FAT32.
18224 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18225 but warn against using them.
18227 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18229 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18230 older GDB where there is no has_more field.
18232 2009-09-19 Glenn Morris <rgm@gnu.org>
18234 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18236 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18238 * files.el (auto-mode-alist): Change default for XML files to nXML
18241 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18243 * server.el (server-ensure-safe-dir): Pass 'integer
18244 to `file-attributes', as suggested.
18246 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18248 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18249 (dired-query): Use read-key.
18251 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18253 * cus-start.el (ns-use-qd-smoothing): Remove.
18255 2009-09-18 Glenn Morris <rgm@gnu.org>
18257 * allout.el (top-level): Remove unnecessary progn.
18259 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18261 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18262 definition of abbrev table.
18264 * speedbar.el (speedbar-track-mouse):
18265 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18266 * net/eudc.el (eudc-expand-inline):
18267 * net/newst-backend.el (newsticker--cache-read-feed):
18268 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18269 condition-case handlers.
18271 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18273 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18274 (gdb-var-list): Add an element for has_more field.
18275 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18276 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18277 (gdb-var-update-handler-1): Parse output of dynamic variable
18278 objects (STL containers).
18279 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18280 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18282 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18284 (gud-speedbar-buttons): Make node expandable if expression "has more"
18287 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18289 * startup.el (emacs-quick-startup): Remove variable and all uses.
18290 (command-line): Set `inhibit-x-resources' instead.
18291 (command-line-1): Use `inhibit-x-resources' instead.
18293 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18295 * subr.el: Fix last change to avoid using the `unless' macro,
18296 which breaks bootstrapping.
18298 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18300 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18301 extended definitions, in case we reload subr.el after having
18303 (eval-next-after-load): Mark as obsolete.
18305 2009-09-17 Juri Linkov <juri@jurta.org>
18307 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18308 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18309 (menu-bar-showhide-menu, menu-bar-tools-menu)
18310 (menu-bar-describe-menu, menu-bar-help-menu)
18311 (minibuffer-local-completion-map, minibuffer-local-map):
18314 2009-09-17 Glenn Morris <rgm@gnu.org>
18316 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18317 arguments, whether or not it has a handler.
18319 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18321 * simple.el (hard-newline): Give it a doc-string.
18323 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18324 (lisp-mode-syntax-table): Give them doc-strings.
18326 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18328 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18329 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18330 (menu-bar-options-menu, menu-bar-showhide-menu)
18331 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18332 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18333 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18334 (menu-bar-options-menu, menu-bar-tools-menu)
18335 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18336 (menu-bar-help-menu):
18337 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18340 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18341 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18342 calls for the menu names and :help.
18344 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18346 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18347 to :minor-mode-function (bug#4455).
18349 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18351 * startup.el (command-line): Initialize the window-system after
18352 processing the command-line.
18354 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18355 page-delimiter matches the empty string.
18357 2009-09-16 Glenn Morris <rgm@gnu.org>
18359 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18360 byte-compile-not-obsolete-var. It's a list now.
18361 (byte-compile-not-obsolete-funcs): New variable.
18362 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18363 byte-compile-not-obsolete-funcs.
18364 (byte-compile-variable-ref, byte-compile-defvar): Update for
18365 byte-compile-not-obsolete-vars name-change and list nature.
18366 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18367 and variables behind (f)boundp tests.
18368 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18370 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18372 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18374 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18376 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18377 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18380 2009-09-15 Stephen Eglen <stephen@gnu.org>
18382 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18383 the virtual-buffers, use the name of the buffer specified by
18384 find-file-noselect, as the match may be a symlink. (This was a
18385 problem if the target and the symlink had different names.)
18387 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18389 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18391 * desktop.el (desktop-path): Check user-emacs-directory.
18393 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18395 * loadup.el: Use after-load-functions to GC after loading each file.
18396 Remove the explicit GC calls that used to be sprinkled around.
18398 * subr.el (after-load-functions): New hook.
18399 (do-after-load-evaluation): Run it. Use string-match-p to detect
18400 `obsolete' packages, rather than painfully extracting the relevant
18403 2009-09-15 Glenn Morris <rgm@gnu.org>
18405 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18406 free variable `doc'.
18408 * dired.el (dired-mode-map): Add menu entry for async shell command.
18410 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18411 variables, also consider the .elc files, since the .el files are
18412 normally gzipped (subsequent code locates the .el.gz from the .elc).
18414 * calc/calc-prog.el (arglist): Define for compiler.
18416 * calendar/diary-lib.el (diary-display-function): Change the default to
18418 (body): Define for compiler.
18420 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18421 (byte-compile-file-form, byte-compile-lambda)
18422 (byte-compile-top-level-body, byte-compile-form)
18423 (byte-compile-variable-ref, byte-compile-setq)
18424 (byte-compile-setq-default, byte-compile-body)
18425 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18426 (batch-byte-compile): Give some more local variables with common names
18427 a "bytecomp-" prefix to avoid masking warnings about free variables.
18429 * startup.el (command-line-1): Give local variables with common names a
18430 distinguishing prefix, so as not to hide free variable warnings during
18433 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18434 clever and add a suffix to make a unique name, just let the user decide
18435 whether or not to overwrite it. If the input is a directory, write the
18436 default filename to that directory. (Bug#4388)
18437 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18438 is a filename-as-a-directory.
18440 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18442 * textmodes/page.el (what-page): Don't move to beginning of line.
18443 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18445 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18447 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18449 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18451 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18452 * help.el (help-for-help-internal): Add purecopy calls for text.
18454 * vc.el (top): print-log method now takes an optional SHORTLOG
18455 argument. Add a new method: root.
18456 (vc-root-diff, vc-print-root-log): New functions.
18457 (vc-log-short-style): New variable.
18458 (vc-print-log-internal): Add support for showing short logs.
18460 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18461 vc-print-root-log and vc-print-root-diff.
18463 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18464 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18465 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18468 * vc-cvs.el (vc-cvs-print-log):
18469 * vc-mtn.el (vc-mtn-print-log):
18470 * vc-rcs.el (vc-rcs-print-log):
18471 * vc-sccs.el (vc-sccs-print-log):
18472 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18473 that is ignored for now.
18475 * vc-mtn.el (vc-mtn-annotate-command):
18476 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18478 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18480 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18481 to function-key-map, and give them ascii-character property.
18482 * term/x-win.el (x-alternatives-map):
18483 * term/ns-win.el (ns-alternatives-map):
18484 * term/internal.el (msdos-key-remapping-map):
18485 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18487 2009-09-14 Glenn Morris <rgm@gnu.org>
18489 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18490 temp-buffers (2009-09-12).
18492 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18494 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18495 the new read-key function.
18497 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18499 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18500 is defined (Bug#4405).
18502 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18504 * recentf.el (recentf-cleanup): Use a hash table to find
18505 duplicates (Bug#4407).
18507 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18509 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18510 kp-0 to ascii equivalents (Bug#4325).
18512 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18514 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18516 * eshell/em-hist.el:
18517 * eshell/em-dirs.el (eshell-complete-user-reference):
18518 Declare pcomplete functions and variables to avoid compiler warnings.
18520 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18522 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18523 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18524 * eshell/em-alias.el (eshell-aliases-file):
18525 * eshell/em-hist.el (eshell-history-file-name):
18526 Use expand-file-name instead of concat to make file names (Bug#4308).
18528 2009-09-13 Glenn Morris <rgm@gnu.org>
18530 * ediff-merg.el (ediff-do-merge):
18531 * filesets.el (filesets-run-cmd):
18532 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18533 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18534 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18535 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18536 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18537 Replace empty `let's with `progn'.
18539 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18541 * mail/sendmail.el (send-mail-function):
18542 * tooltip.el (tooltip-mode):
18543 * simple.el (transient-mark-mode):
18544 * rfn-eshadow.el (file-name-shadow-mode):
18545 * frame.el (blink-cursor-mode):
18546 * font-core.el (global-font-lock-mode):
18547 * files.el (temporary-file-directory)
18548 (small-temporary-file-directory, auto-save-file-name-transforms):
18549 * epa-hook.el (auto-encryption-mode):
18550 * composite.el (global-auto-composition-mode):
18551 Use custom-initialize-delay.
18552 * startup.el (command-line): Don't explicitly call
18553 custom-reevaluate-setting for all the above vars.
18554 * custom.el (custom-initialize-safe-set)
18555 (custom-initialize-safe-default): Delete.
18557 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18559 * term/x-win.el (x-initialize-window-system):
18560 * term/w32-win.el (w32-initialize-window-system):
18561 * term/ns-win.el (ns-initialize-window-system): Don't call
18562 mouse-wheel-mode since it's enabled globally by default already.
18564 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18565 actually define the variable, but only silences the byte-compiler.
18566 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18567 before looking it up.
18568 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18571 2009-09-12 Glenn Morris <rgm@gnu.org>
18573 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18575 (elint-add-required-env): Don't beep on error.
18576 (elint-forms): In case of error, return ENV unchanged.
18577 (elint-init-env): Skip non-list forms.
18578 (elint-log): Handle unknown file positions.
18580 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18582 * epg.el (epg-make-context): Add autoload cookie.
18583 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18584 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18585 (epg-verify-string, epg-start-sign, epg-sign-file)
18586 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18587 (epg-encrypt-string, epg-start-export-keys)
18588 (epg-export-keys-to-file, epg-export-keys-to-string)
18589 (epg-start-import-keys, epg-import-keys-from-file)
18590 (epg-import-keys-from-string, epg-start-receive-keys)
18591 (epg-receive-keys, epg-import-keys-from-server)
18592 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18593 (epg-sign-keys, epg-start-generate-key)
18594 (epg-generate-key-from-file, epg-generate-key-from-string):
18595 Remove autoload cookie.
18597 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18599 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18600 reevaluation of trash-directory.
18602 * mwheel.el: Fix last change.
18603 (mouse-wheel-mode): New defvar.
18604 (mouse-wheel-mode): Remove autoload cookie.
18606 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18608 * mwheel.el (mwheel-installed-bindings): New var.
18609 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18610 the bindings we set last time. Use custom-initialize-delay.
18611 * loadup.el: Load mwheel after term/*-win.el.
18612 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18613 and mouse-wheel-up-event now that their first evaluation is done
18614 sufficiently late to be correct.
18616 * startup.el (tutorial-directory): Make it a defcustom.
18617 Use custom-initialize-delay rather than eval-at-startup to set it.
18618 * image.el (image-load-path): Make it a defcustom.
18619 Use custom-initialize-delay rather than eval-at-startup to set it.
18620 * subr.el (eval-at-startup): Remove.
18621 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18623 * subr.el (do-after-load-evaluation): Warn the user after loading an
18626 2009-09-12 Glenn Morris <rgm@gnu.org>
18628 * proced.el (proced-mark-alt): Remove alias.
18629 (proced-mode-map): Remove proced-mark-alt.
18631 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18632 Elint file and directory. Remove initialization entry.
18634 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18636 (elint-current-buffer): Set mode-line-process.
18637 (elint-init-env): Handle define-derived-mode.
18638 Fix declare-function with unspecified arglist. Guard against odd
18639 defalias statements (eg iso-insert's 8859-1-map).
18640 (elint-add-required-env): Use a temp buffer.
18641 (elint-form): Just print the function/macro name, not the whole form.
18642 Return env unchanged if we fail to parse a macro.
18643 (elint-forms): Guard against parse errors.
18644 (elint-output): New function, to handle batch mode.
18645 (elint-log-message): Add optional argument. Use elint-output.
18646 (elint-set-mode-line): New function.
18648 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18650 * emacs-lisp/elp.el (elp-not-profilable): Add more
18651 functions (Bug#4233).
18653 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18655 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18656 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18658 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18660 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18661 (gdb-var-list-children): Use json parsing.
18663 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18665 * progmodes/js.el (js--proper-indentation): Handle the case where
18666 char-before is null. Reported by Deniz Dogan.
18668 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18670 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18672 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18674 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18675 (epg-digest-algorithm-alist): Add SHA224.
18676 (epg-context-set-passphrase-callback)
18677 (epg-context-set-progress-callback): Add description about
18680 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18682 * custom.el (custom-delayed-init-variables): New var.
18683 (custom-initialize-delay): New function.
18684 * startup.el (command-line): "Re"evaluate all vars in
18685 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18686 explicitly any more.
18687 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18688 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18690 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18692 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18694 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18695 (gdb-var-update-handler): Use json parsing.
18697 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18699 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18700 decode annotated text, regardless of language environment. (Bug#2741)
18702 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18704 * Makefile.in (autoloads): Make rmail.el writable as well.
18706 2009-09-11 Glenn Morris <rgm@gnu.org>
18708 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18710 * dired.el: Regenerate with extracted autoloads.
18711 * Makefile.in (autoloads): Make dired.el writable.
18713 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18714 * ibuffer.el: Regenerate with extracted autoloads.
18715 * Makefile.in (autoloads): Make ibuffer.el writable.
18717 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18718 * version.el (emacs-copyright, emacs-major-version)
18719 (emacs-minor-version): Reformat doc-strings for make-docfile.
18721 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18722 functions and variables, since they must be stuff specific to some other
18724 (apropos-print): Make mouse-click message less specific about button.
18726 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18727 that records where a macro was defined.
18728 * help-fns.el (describe-function-1): Mention if a function has a
18730 * help-mode.el (help-function-cmacro): New button.
18732 * locate.el (top-level): Always require dired.
18733 (locate-mode-map): Initialize inside the defvar.
18735 * net/ange-ftp.el (dired-compress-file): Declare.
18736 (ange-ftp-dired-compress-file): Add doc string.
18738 * term/ns-win.el (x-display-name, x-setup-function-keys):
18739 Unify doc-strings with X versions.
18741 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18743 * emulation/crisp.el (crisp-mode-map): Move initialization
18745 (crisp-mode): Use define-minor-mode.
18747 * progmodes/xscheme.el (xscheme-evaluation-commands):
18748 Put a :advertised-binding property rather than using
18749 advertised-xscheme-send-previous-expression.
18750 (advertised-xscheme-send-previous-expression): Declare obsolete.
18751 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18753 (crisp-mode): Add corresponding bindings to
18754 undo's :advertised-binding instead.
18755 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18756 than using dired-advertised-find-file.
18757 (dired-advertised-find-file):
18758 * simple.el (advertised-undo):
18759 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18760 (widget-keymap): Put a :advertised-binding property rather
18761 than using advertised-widget-backward.
18762 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18763 than using advertised-undo.
18764 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18766 2009-09-10 Simon South <ssouth@slowcomputing.org>
18768 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18769 Mark mode is enabled and region is active; otherwise indent or
18770 insert TAB as usual.
18771 (delphi-mode): Update description of TAB-key binding.
18773 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18775 * subr.el (define-key-rebound-commands): Mark obsolete.
18776 * startup.el (precompute-menubar-bindings): Remove.
18777 (normal-top-level): Remove obsolete code that tried to precompute
18779 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18780 define-key-rebound-commands and precompute-menubar-bindings.
18782 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18784 * net/imap.el (imap-interactive-login): Better messages.
18785 (imap-open): Fix bug with renamed buffer on reconnect.
18786 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18787 for easier debugging and cleaner code. On successful (guessed based on
18788 server capabilities) secondary authentication, set imap-state
18790 (imap-last-authenticator): Define imap-last-authenticator as a variable
18793 2009-09-10 Glenn Morris <rgm@gnu.org>
18795 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18797 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18798 (byte-compile-file-form-autoload): Don't warn about unknown functions
18799 where the autoload statement comes after the use.
18800 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18801 that any handlers inside the body (eg require) are in turn respected.
18803 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18806 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18807 and syntax and abbrev tables basic docs, if they don't have any.
18809 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18811 * international/mule-cmds.el (top-level): Require cl when compiling.
18812 (view-hello-file): Use default-value rather than
18813 default-enable-multibyte-characters.
18815 * progmodes/fortran.el: Move all safe and risky properties into the
18818 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18819 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18820 * mail/undigest.el:
18821 Put autoloads in rmail.el rather than loaddefs.el.
18822 * mail/rmail.el: Regenerate with extracted autoloads.
18824 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18825 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18827 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18829 Reported in thread for Bug#4375.
18830 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18831 "-data-evaluate-expression" instead of print.
18832 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18833 (gdb-tooltip-print): Parse output from above MI command.
18834 (gdb): Revert 2009-08-11 change. User should detach inferior
18837 Remove the word "separate" from IO functions as inferior
18838 output is now never displayed in the GUD buffer.
18840 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18842 * startup.el (command-line-normalize-file-name): On Windows and
18843 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18845 2009-09-10 Juri Linkov <juri@jurta.org>
18847 * isearch.el (isearch-text-char-description): Propertize escape
18848 character sequences with the `escape-glyph' face. (Bug#4344)
18850 * simple.el (shell-command): Set asynchronous process filter to
18851 `comint-output-filter'. (Bug#4343)
18853 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18854 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18855 the list. Move "asm" to the bottom.
18856 (grep-find-ignored-directories): Add `choice' with nil value
18857 to empty the list easily.
18858 (grep-find-ignored-files): New option.
18859 (grep-files-history): Set to nil by default instead of '("ch" "el").
18860 (grep-compute-defaults): Add "<X>" to `grep-template'.
18861 (grep-read-files): Bind new local variables `default-alias' and
18862 `default-extension'. Use a list of default values for the file prompt.
18863 (lgrep): Add `--exclude=' command line options composed from
18864 `grep-find-ignored-files'.
18865 (rgrep): Add `-name' command line options composed from
18866 `grep-find-ignored-files'. (Bug#4301)
18868 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18870 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18873 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18875 * calendar/time-date.el (autoload):
18876 Expand define-obsolete-function-alias into defalias and make-obsolete
18877 for old Emacsen that Gnus supports.
18878 (with-no-warnings): Define it for old Emacsen.
18879 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18881 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18882 float-time is available; suppress compile warning for time-to-seconds.
18884 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18886 * net/imap.el (imap-message-map): Docstring fix.
18888 2009-09-09 Glenn Morris <rgm@gnu.org>
18890 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18891 line numbers too. (Bug#4374)
18893 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18895 * smerge-mode.el (smerge-remove-props, smerge-refine):
18896 Use with-silent-modifications (bug#4342).
18898 * subr.el (with-silent-modifications): New macro.
18900 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18902 * files.el (top-level): Require `cl' when compiling.
18904 2009-09-07 Glenn Morris <rgm@gnu.org>
18906 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18908 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18909 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18911 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18913 * vc-git.el (vc-git-annotate-command): Use separator to parse
18914 arguments correctly.
18916 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18918 * proced.el (proced-mode): Doc fix.
18920 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18922 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18924 (tramp-do-file-attributes-with-ls): Check for file existence at
18926 (tramp-do-file-attributes-with-stat): Likewise.
18927 (tramp-convert-file-attributes): Return nil when attr is nil.
18929 2009-09-05 Glenn Morris <rgm@gnu.org>
18931 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18932 properties to this button.
18933 (diary-fancy-display): Don't extend the button to the final newline.
18934 (diary-fancy-display-mode): Continue to define "q" as a local key.
18936 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18939 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18941 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18942 (byte-compile-dest-file-function): New option.
18943 (byte-compile-dest-file): Doc fix.
18944 Obey byte-compile-dest-file-function.
18945 (byte-compile-cl-file-p): New function.
18946 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18947 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18948 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18949 than for file being previously loaded.
18950 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18951 (byte-compile-file-form-require): Handle the case where requiring a file
18952 indirectly causes CL to be loaded.
18954 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18956 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18957 before killing the old buffer, since by the time `kill-buffer' is
18958 run so many buffer variables have been set to nil that it may not
18959 behave as expected. (Bug#4061)
18961 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18963 * files.el (find-alternate-file): If the old buffer is modified
18964 and visiting a file, behave similarly to `kill-buffer' when
18965 killing it, thus reverting to the pre-1.878 behavior; see
18966 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18967 for discussion. Also, consult `buffer-file-name' as a variable
18968 not as a function, for consistency with the rest of the code.
18970 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18972 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18973 also when adding a new directory.
18975 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18978 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18980 * files.el (locate-file-completion-table): Make it provide boundary
18981 information, so partial-completion works better.
18983 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18985 * mail/footnote.el (Footnote-text-under-cursor):
18986 Check footnote-text-marker-alist before using it (bug#4324).
18988 2009-09-04 Glenn Morris <rgm@gnu.org>
18990 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18991 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18992 * play/solitaire.el, play/tetris.el:
18993 Remove leading * from defcustom and defface docs.
18995 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18997 (diary-fancy-overriding-map): New variable.
18998 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19001 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19004 2009-09-03 Glenn Morris <rgm@gnu.org>
19006 * arc-mode.el (archive-mode):
19007 * dos-fns.el (set-default-process-coding-system):
19008 * man.el (Man-getpage-in-background):
19009 * menu-bar.el (menu-bar-describe-menu):
19010 * server.el (server-process-filter):
19011 * startup.el (command-line):
19012 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19013 * w32-fns.el (set-default-process-coding-system):
19014 * x-dnd.el (x-dnd-handle-file-name):
19015 * international/mule-cmds.el (mule-menu-keymap)
19016 (set-default-coding-systems, language-info-alist, set-language-info)
19017 (set-language-environment, standard-display-european-internal)
19018 (set-locale-environment):
19019 * international/mule-diag.el (mule-diag):
19020 * mail/emacsbug.el (report-emacs-bug):
19021 * mail/rmail.el (rmail-mode):
19022 * mail/sendmail.el (mail-setup):
19023 Use default-value rather than default-enable-multibyte-characters.
19025 * progmodes/f90.el: Move all safe properties into the defcustoms.
19026 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19028 * calendar/appt.el (appt-check):
19029 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19030 (diary-check-diary-file, diary-list-entries)
19031 (diary-include-other-diary-files, diary-simple-display)
19032 (diary-fancy-display, diary-print-entries)
19033 (diary-mark-included-diary-files, diary-make-entry):
19034 Don't call substitute-in-file-name on diary-file.
19036 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19037 Stefan Monnier <monnier@iro.umontreal.ca>
19039 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19040 (footnote-mode-map): Move initialization into the declaration.
19041 (footnote-minor-mode-map): Define it rather than changing global-map.
19042 (footnote-mode): Use define-minor-mode.
19044 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19046 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19047 (tramp-do-file-attributes-with-perl)
19048 (tramp-do-file-attributes-with-stat): Rename from
19049 `tramp-handle-file-attributes-with-*'.
19050 (tramp-handle-file-attributes): Use them.
19051 (tramp-do-directory-files-and-attributes-with-perl)
19052 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19053 `tramp-handle-directory-files-and-attributes-with-*'.
19054 (tramp-handle-directory-files-and-attributes): Use them.
19055 (tramp-method-out-of-band-p): Additional parameter SIZE.
19056 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19057 (tramp-handle-write-region): Use it.
19058 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19059 (tramp-handle-vc-registered): Check, whether the first run did
19060 return files to be tested.
19061 (tramp-advice-make-auto-save-file-name): Do not call directly
19062 `tramp-handle-make-auto-save-file-name', because this would bypass
19063 the locking mechanism.
19065 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19066 (file-remote-p, process-file, start-file-process, set-file-times)
19067 (tramp-compat-file-attributes): Compatibility functions shall not
19068 call directly `tramp-handle-*', because this would bypass the
19070 (tramp-compat-number-sequence): New defun.
19072 2009-09-02 Glenn Morris <rgm@gnu.org>
19074 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19075 alias for float-time.
19076 (time-to-number-of-days): In Emacs, use float-time.
19077 * net/newst-backend.el (time-add): Suppress warnings from compat
19079 * time.el (emacs-uptime, emacs-init-time):
19080 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19081 Use float-time rather than time-to-seconds.
19083 * minibuffer.el (completion-initials-expand): Fix typo.
19085 * faces.el (modeline, modeline-inactive, modeline-highlight)
19086 (modeline-buffer-id):
19087 * info.el (info-menu-5): Mark these face aliases as obsolete.
19089 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19091 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19093 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19094 no "--thread" option.
19095 (gdb-stopped): Don't print "Switched to thread" message when it is
19098 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19100 * minibuffer.el (completion-try-completion)
19101 (completion-all-completions): Remove ill-defined (and
19102 mistakenly installed and luckily never used nor documented)
19103 `completion-styles' property.
19104 (completion-initials-expand, completion-initials-all-completions)
19105 (completion-initials-try-completion): New functions.
19106 (completion-styles-alist): Add doc to each entry.
19107 Add new `initials' entry.
19109 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19111 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19112 MI command -var-evaluate-expression.
19113 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19114 and tweak for case of string child.
19115 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19117 2009-09-01 Glenn Morris <rgm@gnu.org>
19119 * add-log.el (change-log-date-face, change-log-name-face)
19120 (change-log-email-face, change-log-file-face, change-log-list-face)
19121 (change-log-conditionals-face, change-log-function-face)
19122 (change-log-acknowledgement-face):
19123 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19124 (custom-modified-face, custom-set-face, custom-changed-face)
19125 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19126 (custom-documentation-face, custom-state-face, custom-comment-face)
19127 (custom-comment-tag-face, custom-variable-tag-face)
19128 (custom-variable-button-face, custom-face-tag-face)
19129 (custom-group-tag-face-1, custom-group-tag-face):
19130 * diff-mode.el (diff-header-face, diff-file-header-face)
19131 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19132 (diff-added-face, diff-changed-face, diff-function-face)
19133 (diff-context-face, diff-nonexistent-face):
19134 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19135 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19136 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19137 (Info-title-4-face):
19138 * isearch.el (isearch-lazy-highlight-face):
19139 * log-view.el (log-view-file-face, log-view-message-face):
19140 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19141 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19142 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19144 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19145 (smerge-base-face, smerge-markers-face):
19146 * wid-edit.el (widget-documentation-face, widget-button-face)
19147 (widget-field-face, widget-single-line-field-face)
19148 (widget-inactive-face, widget-button-pressed-face):
19149 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19150 (woman-addition-face):
19151 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19152 (eshell-ls-executable-face, eshell-ls-readonly-face)
19153 (eshell-ls-unreadable-face, eshell-ls-special-face)
19154 (eshell-ls-missing-face, eshell-ls-archive-face)
19155 (eshell-ls-backup-face, eshell-ls-product-face)
19156 (eshell-ls-clutter-face):
19157 * eshell/em-prompt.el (eshell-prompt-face):
19158 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19159 * obsolete/old-whitespace.el (whitespace-highlight-face):
19160 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19161 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19162 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19163 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19164 (antlr-font-lock-literal-face):
19165 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19166 (ebrowse-root-class-face, ebrowse-file-name-face)
19167 (ebrowse-default-face, ebrowse-member-attribute-face)
19168 (ebrowse-member-class-face, ebrowse-progress-face):
19169 * progmodes/make-mode.el (makefile-space-face):
19170 * progmodes/sh-script.el (sh-heredoc-face):
19171 * textmodes/flyspell.el (flyspell-incorrect-face)
19172 (flyspell-duplicate-face):
19173 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19174 * textmodes/texinfo.el (texinfo-heading-face):
19175 Mark face aliases with "-face" suffix as obsolete.
19177 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19180 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19181 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19182 easy-menu-define wants to modify these.
19184 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19186 * net/browse-url.el (browse-url-file-url):
19187 * term/internal.el (dos-codepage-setup):
19188 Use default-value rather than default-enable-multibyte-characters.
19190 * progmodes/etags.el (etags-goto-tag-location):
19191 * progmodes/flymake.el (flymake-highlight-line)
19192 (flymake-goto-file-and-line, flymake-goto-line):
19193 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19194 (gdb-goto-breakpoint):
19195 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19196 * progmodes/python.el (python-find-function)
19197 (python-pdbtrack-track-stack-file):
19198 * progmodes/verilog-mode.el (verilog-surelint-off):
19199 * term/ns-win.el (ns-open-file-select-line):
19200 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19201 Use forward-line rather than goto-line.
19203 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19204 * textmodes/reftex-index.el (reftex-display-index):
19205 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19206 * textmodes/reftex-toc.el (reftex-toc):
19207 Remove unnecessary bindings of default-major-mode (all are followed by
19208 major-mode check and possible mode switch).
19210 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19212 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19213 Handle watchpoints (bug#4282).
19214 (def-gdb-thread-buffer-command): Enable thread to be selected by
19215 clicking without selecting threads buffer first.
19216 (gdb-current-context-command): Use selected frame so that "up",
19217 "down" etc work in the GUD buffer.
19218 (gdb-update): Find selected frame before rendering stack buffer.
19219 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19221 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19223 * progmodes/sym-comp.el (displayed-completions): Remove.
19224 (symbol-complete): Use minibuffer-complete.
19226 2009-08-31 Glenn Morris <rgm@gnu.org>
19228 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19230 * apropos.el (apropos-symbols-internal):
19231 Handle (obsolete) face aliases.
19233 * faces.el (describe-face): Adjust the output format to be more like
19234 describe-variable, and to mention (obsolete) face aliases.
19235 Adjust the whitespace so that help-setup-xref works.
19237 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19238 * calendar/diary-lib.el (diary-button-face):
19239 Mark these face aliases as obsolete.
19241 * calendar/calendar.el (calendar-today): Doc fix.
19243 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19245 * progmodes/gdb-mi.el (gdb-control-all-threads)
19246 (gdb-control-current-thread): Force tool bar update.
19247 (gdb-non-stop-handler): New function.
19248 (gdb-init-1): Use it to test if non-stop mode is supported.
19249 Remove unused gdbmi buffer type.
19251 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19253 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19254 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19256 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19258 * comint.el (comint-exec-1): Check command is non-null first.
19259 Part of gdb-mi.el change (2009-08-28).
19261 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19263 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19265 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19267 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19268 instead of `dolist' to avoid a recursive require when bootstrapping.
19270 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19272 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19274 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19276 * net/imap.el (imap-send-command): Simplify.
19277 (imap-wait-for-tag): point-max -> buffer-size.
19279 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19281 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19282 with constant argument.
19284 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19286 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19288 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19289 Change default, since most of our files don't have a history.
19290 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19293 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19296 * calc/calc.el: Improve commenting convention.
19297 (calc-digit-map, toplevel): Simplify.
19299 * comint.el (comint-insert-input): Be careful to only set point if we
19300 don't delegate to some other command.
19302 * proced.el (proced-signal-list): Make it an alist.
19303 (proced-grammar-alist): Capitalize names.
19304 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19305 Disable undo manually and make it read-only.
19306 Use completion-annotate-function.
19308 * minibuffer.el (minibuffer-message): If the current buffer is not
19309 a minibuffer, insert the message in the echo area rather than at the
19311 (completion-annotate-function): New variable.
19312 (minibuffer-completion-help): Use it.
19313 (completion--embedded-envvar-table): Environment vars are
19314 always case-sensitive.
19316 2009-08-30 Glenn Morris <rgm@gnu.org>
19318 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19319 from fortran-current-defun.
19320 (fortran-beginning-of-subprogram): Be more precise about finding the
19321 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19322 (fortran-end-of-subprogram): Simplify.
19323 (fortran-current-defun): Use fortran-start-prog-re.
19325 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19327 * subr.el (do-after-load-evaluation): Simplify.
19329 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19331 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19333 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19334 (vc-rcs-print-log): Use it.
19336 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19338 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19340 * paths.el (abbrev-file-name): Move to abbrev.el.
19341 * abbrev.el (abbrev-file-name): Move from paths.el.
19342 Obey user-emacs-directory.
19343 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19344 user-emacs-directory.
19345 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19346 abbrev-file-name and calc-settings-file any more.
19347 * startup.el (command-line): Recompute abbrev-file-name and
19348 abbreviated-home-dir.
19349 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19350 of the special code for when C-h bindings haven't been changed.
19351 (display-startup-echo-area-message): Use with-current-buffer.
19352 (command-line-1): Use a list of strings, rather than a list of lists
19353 of strings for longopts.
19355 * files.el (get-free-disk-space): Use / for default-directory.
19357 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19358 Use with-current-buffer.
19360 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19361 Recognize immutable variables like most-positive-fixnum.
19362 (byte-compile-setq-default): Check and warn if trying to assign
19363 to an immutable variable, or a non-variable.
19365 * progmodes/cc-vars.el (c-comment-continuation-stars):
19366 * progmodes/cc-engine.el (c-looking-at-bos):
19367 * progmodes/cc-cmds.el (c-toggle-auto-state)
19368 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19369 (c-comment-line-break-function): Add version of obsolescence.
19371 2009-08-28 Juri Linkov <juri@jurta.org>
19373 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19374 associated with `archive-mode'.
19376 * image.el (image-type-header-regexps): Use only JPEG magic number
19377 to determine JPEG images, and don't use `image-jpeg-p' because
19378 Emacs can display non-JFIF non-Exif JPEG images.
19380 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19382 * arc-mode.el (archive-mode):
19383 * emacs-lisp/re-builder.el (re-builder-unload-function):
19384 Protect against the default value of `major-mode' being nil.
19386 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19388 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19389 Fix typos in docstrings.
19391 * progmodes/js.el (js--macro-decl-re): Doc fix.
19392 (js--plain-method-re, js--split-name): Refloc docstring.
19393 (js--class-styles, js--make-merged-item, js--splice-into-items):
19394 Fix typos in docstrings; reflow docstrings.
19395 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19396 (js--variable-decl-matcher, js--inside-pitem-p)
19397 (js--parse-state-at-point, js--get-all-known-symbols)
19398 (js--symbol-history, js-find-symbol, js--js-references)
19399 (js--moz-interactor, js--js-encode-value, js--read-tab):
19400 Fix typos in docstrings.
19402 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19404 * textmodes/reftex.el (reftex-get-file-buffer-force):
19405 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19406 * emulation/viper.el (viper-go-away, viper-set-hooks):
19407 * emacs-lisp/re-builder.el (re-builder-unload-function):
19408 * emacs-lisp/bytecomp.el (byte-compile-file):
19409 * ses.el (ses-unload-function):
19410 * hexl.el (hexl-find-file):
19411 * files.el (normal-mode):
19412 * ehelp.el (with-electric-help):
19413 * autoinsert.el (auto-insert-alist):
19414 * arc-mode.el (archive-mode):
19415 Use (default-value 'major-mode) instead of default-major-mode.
19417 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19418 * international/mule.el (load-with-code-conversion):
19419 * emacs-lisp/debug.el (debug):
19420 * ediff-vers.el (ediff-rcs-get-output-buffer):
19421 * dired.el (dired-internal-noselect): Don't let-bind
19422 default-major-mode around code that doesn't use it.
19423 E.g. buffer creation via get-buffer-create doesn't use it.
19425 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19427 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19428 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19429 when writing the temp file. Otherwise, epa-file gets confused.
19430 (tramp-register-file-name-handlers): Make it a defun. Move also
19431 `epa-file-handler' to the front of `file-name-handler-alist'.
19433 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19435 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19436 start right after a ^M.
19437 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19438 (tramp-completion-file-name-regexp-separate)
19439 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19440 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19441 Don't modify last-coding-system-used by accident.
19442 (tramp-completion-file-name-handler): Apply the checks here,
19443 instead during registration.
19444 (tramp-register-file-name-handlers): Rename from
19445 `tramp-register-file-name-handler'. Register both
19446 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19447 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19449 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19451 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19452 Remove variable ...
19453 (gdb-init-1, gdb-display-separate-io-buffer)
19454 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19456 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19457 (gdb-inferior-filter): Use comint-output-filter to stop
19458 echoing and remove ^M characters.
19460 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19462 * emulation/viper-init.el (viper-restore-cursor-type):
19463 * emulation/cua-base.el (cua--update-indications):
19464 Replace default-cursor-type with (default-value 'cursor-type).
19466 * mail/sendmail.el (mail-recover-1):
19467 * international/mule-diag.el (describe-current-coding-system-briefly)
19468 (describe-current-coding-system):
19469 * international/mule-cmds.el (select-safe-coding-system)
19470 (select-message-coding-system)
19471 (set-language-environment-coding-systems, set-locale-environment):
19472 * hexl.el (hexl-insert-multibyte-char):
19473 * dos-w32.el (find-buffer-file-type-coding-system):
19474 * simple.el (what-cursor-position):
19475 Replace uses of default-buffer-file-coding-system
19476 with (default-value 'buffer-file-coding-system).
19478 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19479 Replace uses of default-cursor-in-non-selected-windows
19480 with (default-value 'cursor-in-non-selected-windows).
19481 Use with-current-buffer.
19483 * mail/feedmail.el: Use CL macros.
19484 (feedmail-run-the-queue, feedmail-send-it-immediately):
19485 * dos-w32.el (find-buffer-file-type): Replace uses of
19486 default-buffer-file-type with (default-value 'buffer-file-type).
19488 2009-08-28 Glenn Morris <rgm@gnu.org>
19490 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19491 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19492 Use default-value of major-mode rather than default-major-mode.
19494 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19496 * Makefile.in (update-elcfiles): Report left over elc files.
19498 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19499 expand-file-name and with-current-buffer.
19500 (mail-get-names, mail-directory): Use with-current-buffer.
19502 * vc.el (vc-read-revision): New function.
19503 (vc-version-diff, vc-merge): Use it.
19505 2009-08-27 Sam Steingold <sds@gnu.org>
19507 * simple.el (kill-do-not-save-duplicates): New user option.
19508 (kill-new): When it is non-nil, and the new string is the same as
19509 the latest kill, set replace to t to avoid duplicates in kill-ring.
19511 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19513 * net/tramp.el (tramp-handle-process-file): Do not flush all
19514 caches when `process-file-side-effects' is set.
19515 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19516 instead of `tramp-find-file-exists-command'.
19517 Unset `process-file-side-effects'.
19519 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19521 * net/tramp.el (tramp-methods): New method "rsyncc".
19522 (top): Add completion function for "rsyncc".
19523 (tramp-message-show-message): New defvar.
19524 (tramp-message, tramp-error): Use it.
19525 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19527 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19528 `tramp-methods' entry `copy-env' of "rsyncc".
19529 (tramp-vc-registered-read-file-names): New defconst.
19530 (tramp-vc-registered-file-names): New defvar.
19531 (tramp-handle-vc-registered): Implement optimization strategy.
19532 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19533 (tramp-vc-file-name-handler): New defun.
19534 (tramp-get-ls-command, tramp-get-test-command)
19535 (tramp-get-file-exists-command, tramp-get-remote-ln)
19536 (tramp-get-remote-perl, tramp-get-remote-stat)
19537 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19539 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19540 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19542 (tramp-get-file-property): Check for timestamps in
19543 `tramp-cache-inhibit-cache'.
19544 (tramp-set-file-property): Write timestamp.
19546 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19548 * language/japan-util.el (japanese-symbol-table): Add entries for
19551 * international/characters.el: Add category `j' to cp932-2-byte.
19553 2009-08-27 Kenichi Handa <handa@m17n.org>
19555 * international/fontset.el (build-default-fontset-data): New macro.
19556 (setup-default-fontset): Use build-default-fontset-data for CJK,
19557 tibetan, ethiopic, and ipa.
19559 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19561 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19562 (enable-multibyte-characters): Not customizable any more.
19564 * subr.el (default-mode-line-format, default-header-line-format)
19565 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19566 (default-direction-reversed, default-truncate-lines)
19567 (default-left-margin, default-tab-width, default-case-fold-search)
19568 (default-left-margin-width, default-right-margin-width)
19569 (default-left-fringe-width, default-right-fringe-width)
19570 (default-fringes-outside-margins, default-scroll-bar-width)
19571 (default-vertical-scroll-bar, default-indicate-empty-lines)
19572 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19573 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19574 (default-scroll-down-aggressively, default-fill-column)
19575 (default-cursor-type, default-buffer-file-type)
19576 (default-cursor-in-non-selected-windows)
19577 (default-buffer-file-coding-system, default-major-mode)
19578 (default-enable-multibyte-characters): Mark as obsolete.
19580 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19582 * vc-dir.el (vc-dir-update): Remove debug helper.
19584 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19586 2009-08-26 Sam Steingold <sds@gnu.org>
19588 * simple.el (save-interprogram-paste-before-kill): New user option.
19589 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19590 save the interprogram-paste into kill-ring before overriding it
19591 with the Emacs kill.
19593 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19595 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19596 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19597 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19598 and move to vc-rcs.el.
19599 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19601 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19602 (vc-rcs-update-changelog): Remove.
19603 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19604 and move to vc-rcs.el.
19606 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19607 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19609 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19610 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19611 vc.el, renamed to be RCS specific.
19613 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19615 (vc-cvs-update-changelog): Move here from vc.el.
19617 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19620 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19622 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19624 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19626 * vc-git.el (vc-git-register): Use "git add" for directories.
19627 (vc-git-stash, vc-git-stash-show): New functions.
19628 (vc-git-extra-menu-map): Bind them.
19630 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19631 directory correctly in case the item is a directory itself.
19633 * vc.el: Document the desired behavior for reverted files in the
19635 (vc-default-prettify-state-info): Remove function, unused.
19637 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19639 2009-08-26 Glenn Morris <rgm@gnu.org>
19641 * bindings.el (standard-mode-line-format): Reposition dashes in
19642 which-func entry. (Bug#4217)
19644 * files.el (enable-local-variables, enable-local-eval)
19645 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19647 (auto-mode-alist, ignored-local-variables)
19648 (save-some-buffers-action-alist): Move risky declarations to the
19650 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19651 (font-lock-defaults, format-alist, imenu--index-alist)
19652 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19653 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19654 (mode-line-modified, mode-line-mule-info, mode-line-position)
19655 (mode-line-process, mode-line-remote, outline-level)
19656 (parse-time-rules, rmail-output-file-alist)
19657 (special-display-buffer-names, vc-mode):
19658 Move risky declarations to the relevant files.
19659 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19660 (mode-line-modified, mode-line-process, mode-line-position)
19661 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19662 * font-core.el (font-lock-defaults):
19663 * format.el (format-alist):
19664 * vc-hooks.el (vc-mode):
19665 * window.el (special-display-buffer-names):
19666 * international/mule-cmds.el (input-method-alist):
19667 Define riskiness here (dumped file) rather than in files.el.
19668 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19669 * imenu.el (imenu-generic-expression, imenu--index-alist):
19670 * outline.el (outline-level):
19671 * time.el (display-time-string):
19672 * calendar/parse-time.el (parse-time-rules):
19673 * mail/rmailout.el (rmail-output-file-alist):
19674 Autoload riskiness here, rather than placing in files.el.
19676 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19678 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19680 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19682 * simple.el (process-file-side-effects): New defvar.
19684 * dired-aux.el (dired-show-file-type):
19685 * vc.el (vc-diff-internal):
19686 * vc-arch.el (vc-arch-diff):
19687 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19688 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19689 * vc-git.el (vc-git-registered, vc-git-working-revision)
19690 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19691 (vc-git--empty-db-p):
19692 * vc-hooks.el (vc-user-login-name):
19693 * vc-svn.el (vc-svn-registered, vc-svn-state)
19694 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19695 * progmodes/grep.el (grep-probe): Let-bind
19696 `process-file-side-effects' with nil.
19698 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19700 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19701 daemon. Replace ping by checking for running service for bluez
19702 and zeroconf. (Bug#4239)
19704 2009-08-25 Kevin Ryde <user42@zip.com.au>
19706 * net/dig.el (dig): Add autoload cookie.
19708 2009-08-25 Glenn Morris <rgm@gnu.org>
19710 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19711 load-history for absolute file-names.
19712 (byte-compile-file-form-require): Warn about use of the cl package.
19714 * format.el (format-alist): Doc fix.
19716 * play/bubbles.el (top-level): Don't require cl at run-time.
19718 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19721 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19723 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19725 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19727 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19729 * calc/calc-alg.el (math-trig-rewrite)
19730 (math-hyperbolic-trig-rewrite): New functions.
19731 (calc-simplify): Simplify trig functions when asked.
19733 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19735 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19737 2009-08-24 Kenichi Handa <handa@m17n.org>
19739 * language/ind-util.el (mapthread): Delete it.
19740 (combinatorial): New function.
19741 (indian--puthash-cv): Use combinatorial instead of mapthread.
19743 2009-08-22 Kevin Ryde <user42@zip.com.au>
19745 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19746 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19747 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19748 Clarify docstring that the value is strings not symbols.
19749 (checkdoc-list-of-strings-p): New function.
19751 2009-08-22 Glenn Morris <rgm@gnu.org>
19753 * files.el (auto-mode-alist):
19754 * hippie-exp.el (he-concat-directory-file-name):
19755 * lpr.el (lpr-windows-system, printer-name):
19756 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19757 * ps-print.el (ps-windows-system):
19758 * startup.el (command-line):
19759 * emulation/viper-ex.el (viper-glob-function):
19760 * international/mule-cmds.el (set-language-environment-coding-systems):
19761 * net/ange-ftp.el (ange-ftp-write-region):
19762 * obsolete/fast-lock.el (fast-lock-cache-name):
19763 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19764 unisoft-unix, vax-vms, win32, w32.
19766 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19767 given name if the pattern is not more specific.
19769 * calendar/lunar.el (lunar-phase-names): New option.
19770 (lunar-phase): Doc fix.
19771 (lunar-cycles-per-year): New constant.
19772 (lunar-index): New function.
19773 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19774 (lunar-phase-name): Use lunar-phase-names.
19775 (calendar-lunar-phases): Use format.
19776 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19778 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19779 Copy imenu-example--name-and-position function here for own use.
19780 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19782 * bs.el (bs--redisplay):
19783 * cus-edit.el (custom-redraw):
19784 * ibuffer.el (ibuffer-bury-buffer):
19785 * server.el (server-goto-line-column):
19786 * startup.el (command-line-1):
19787 * strokes.el (strokes-xpm-for-stroke):
19788 * term.el (term-display-buffer-line):
19789 * view.el (View-goto-line):
19790 * calc/calc.el (calc-do, calc-trail-buffer):
19791 * play/gamegrid.el (gamegrid-add-score-insecure):
19792 * progmodes/ada-mode.el (ada-compile-goto-error):
19793 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19794 (ebrowse-select-1st-to-9nth):
19795 * progmodes/cperl-mode.el (cperl-time-fontification):
19796 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19797 * progmodes/gud.el (gud-display-line):
19798 (idlwave-shell-display-line):
19799 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19800 * progmodes/make-mode.el (makefile-browser-toggle):
19801 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19802 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19803 * textmodes/picture.el (picture-draw-rectangle):
19804 * textmodes/reftex-index.el (reftex-index-goto-letter):
19805 (reftex-select-jump-to-previous):
19806 * textmodes/reftex-sel.el (reftex-find-start-point)
19807 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19808 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19809 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19810 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19811 * textmodes/two-column.el (2C-associated-buffer):
19812 Use forward-line rather than goto-line.
19814 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19817 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19818 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19819 (quick-check-list-to-regexp): Declare.
19821 * progmodes/make-mode.el (makefile-browser-insert-selection):
19822 Use goto-char rather than goto-line.
19824 * progmodes/prolog.el (compilation-error-regexp-alist)
19825 (compilation-forget-errors): Declare.
19827 2009-08-22 Juri Linkov <juri@jurta.org>
19829 * progmodes/grep.el (lgrep, rgrep): At the beginning
19830 set `dir' to `default-directory' unless `dir' is a non-nil
19831 readable directory. (Bug#4052)
19832 (lgrep, rgrep): Change a weird way to report an error
19833 from using `read-string' to using `error'.
19834 Instead of using interactive arguments in the function body,
19835 add new argument `confirm'.
19837 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19839 * textmodes/remember.el (remember-buffer):
19840 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19841 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19842 (icalendar-extract-ical-from-buffer):
19843 * net/newst-treeview.el (newsticker-groups-filename):
19844 * net/newst-backend.el (newsticker-cache-filename):
19845 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19846 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19847 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19848 (speedbar-buffers-line-path, speedbar-path-line)
19849 (speedbar-buffers-line-path):
19850 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19852 * epa.el (epa-display-verify-result):
19853 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19855 2009-08-21 Glenn Morris <rgm@gnu.org>
19857 * progmodes/js.el (inferior-moz-process): Fix declaration.
19859 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19861 * obsolete/rnewspost.el (news-mail-reply):
19862 Use goto-char rather than goto-line.
19864 * term/ns-win.el (ns-open-file-select-line):
19865 Use line-beginning-position rather than goto-line.
19867 * apropos.el (apropos-command):
19868 * ehelp.el (electric-helpify):
19869 * printing.el (pr-show-setup):
19870 * strokes.el (strokes-help):
19871 * tutorial.el (tutorial--describe-nonstandard-key)
19872 (tutorial--detailed-help):
19873 * woman.el (woman-mini-help, woman-display-extended-fonts):
19874 * calc/calc-help.el (calc-describe-key):
19875 * emulation/edt.el (edt-electric-helpify):
19876 * international/mule-diag.el (mule-diag):
19877 * play/yow.el (apropos-zippy):
19878 * progmodes/python.el (python-describe-symbol):
19879 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19880 * textmodes/table.el (*table--cell-describe-mode)
19881 (*table--cell-describe-bindings):
19882 Use help-print-return-message rather than the now obsolete alias.
19884 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19885 (calendar-cursor-to-visible-date):
19886 * play/5x5.el (5x5-position-cursor):
19887 * play/decipher.el (decipher):
19888 * play/gomoku.el (gomoku-goto-xy):
19889 * play/landmark.el (lm-goto-xy):
19890 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19891 (mpuz-paint-digit):
19892 Use forward-line, not goto-line.
19894 * mail/rmail.el (rmail-obsolete): Delete custom group.
19895 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19896 (rmail-remote-password, rmail-remote-password-required):
19897 Remove unneeded :set-after and :set properties.
19899 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19901 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19903 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19905 * loadup.el: Remove leftover macos code.
19907 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19908 Explicitly pass the date format to git blame so that user local
19909 so that the output format can be parsed.
19911 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19913 * net/dbus.el (top): Don't check for (getenv
19914 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19916 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19918 * log-edit.el (log-edit-strip-single-file-name): New var.
19919 (log-edit-insert-changelog): Use it. Bug#3571
19921 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19923 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19926 * help.el (help-print-return-message): Rename from
19927 print-help-return-message.
19929 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19930 cvs-mode-map parent hack.
19931 (log-view-mode): Derive from special-mode.
19933 * linum.el (linum-mode): window-size-change-functions is redundant.
19934 Adapt to new window-configuration-change-hook behavior.
19935 (linum-after-size, linum-after-config): Remove.
19937 * imenu.el (imenu-example--name-and-position)
19938 (imenu-example--lisp-extract-index-name)
19939 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19942 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19943 (inferior-prolog-mode): Use it.
19944 (inferior-prolog-load-file): Reset list of errors.
19946 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19948 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19950 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19952 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19954 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19955 is running already.
19957 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19959 * subr.el (listify-key-sequence-1): Use normal syntax since those
19960 integers are nowadays always represented by the same (positive) number
19962 (read-key-empty-map): New const.
19963 (read-key-delay): New var.
19964 (read-key): New function.
19965 (force-mode-line-update): Use with-current-buffer.
19966 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19967 (start-process-shell-command, start-file-process-shell-command):
19968 Discourage the use of command-args.
19970 2009-08-19 Glenn Morris <rgm@gnu.org>
19972 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19974 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19976 * simple.el (choose-completion-string): Don't rely on
19977 minibuffer-completing-file-name and ad-hoc checks to decide whether
19978 to continue completion or not.
19980 * minibuffer.el (minibuffer-hide-completions): New function.
19981 (completion--do-completion): Use it.
19982 (completions-annotations): New face.
19983 (completion--insert-strings): Use it.
19984 (completion-pcm--delim-wild-regex): Add docstring.
19985 (completion-pcm--string->pattern): Add support for 0-width delimiters
19986 in completion-pcm--delim-wild-regex.
19988 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19990 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19991 Remove unused var `buffer-modified-p'.
19993 * minibuffer.el (completion--do-completion): Move point for the #b001
19994 case as well (bug#4176).
19995 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19997 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19999 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20000 and :session buses.
20002 2009-08-18 Kenichi Handa <handa@m17n.org>
20004 * international/ucs-normalize.el (ucs-normalize-version):
20006 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20007 (utf-8-hfs): Make it perform normalization on encoding too.
20009 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20010 (sentence-end-without-space): Delete duplicated chars.
20011 (sentence-end-base): Likewise.
20013 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20014 (html-mode): Delete duplicated chars from sentence-end-base.
20016 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20017 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20019 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20021 * files.el (hack-one-local-variable): If the mode function is for
20022 a minor mode, pass it an argument (Bug#4148).
20024 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20026 * net/tramp.el (tramp-register-completion-file-name-handler):
20027 Check also for (member 'partial-completion completion-styles).
20029 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20031 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20034 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20036 * progmodes/cperl-mode.el: Merge upstream 6.2.
20037 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20038 (cperl-forward-re): Check cperl-brace-recursing.
20039 (cperl-highlight-charclass): New function.
20040 (cperl-find-pods-heres): Use it.
20041 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20042 (cperl-beautify-regexp-piece): Fix column calculation.
20043 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20044 (cperl-beautify-level): Don't process entire regexp.
20045 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20047 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20048 (cperl-init-faces): Build a list in the normal way.
20050 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20052 * calendar/parse-time.el (parse-time-string-chars): Save match
20055 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20057 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20058 (sql-product): Use it.
20059 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20060 (sql-set-product): Add completion.
20061 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20062 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20063 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20064 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20065 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20066 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20067 (sql-highlight-db2-keywords): Remove.
20068 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20069 (sql-highlight-product): Use derived-mode-p.
20070 (sql-set-sqli-buffer): Use with-current-buffer.
20071 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20074 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20076 * term.el: Fix commenting convention, turn comments into docstrings.
20078 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20080 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20082 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20084 * calendar/parse-time.el (parse-time-string-chars): Compute using
20085 character classes, to handle non-ascii characters (Bug#3190).
20087 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20089 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20090 another heredoc if the user adds another < (Bug#3226).
20092 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20093 Don't initialize based on window-system (Bug#4124).
20095 * facemenu.el (facemenu-read-color): Use a completion function
20096 that accepts any defined color, such as RGB triplets (Bug#3677).
20098 * files.el (get-free-disk-space): Change fallback default
20099 directory to /. Expand DIR argument before switching to fallback.
20100 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20102 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20104 * files.el (load-library): Doc fix.
20106 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20108 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20109 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20110 incremental search string.
20112 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20115 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20116 (ediff-merge-region-is-non-clash)
20117 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20118 Also check if the job is really a merge job.
20120 * ediff.el (ediff-current-file): New function.
20122 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20124 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20126 (js-insert-and-indent): Delete function.
20127 (js-mode-map): Don't bind keys to js-insert-and-indent.
20128 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20129 (js-end-of-defun): Rename from js--end-of-defun.
20130 (js-auto-indent-flag): Delete variable.
20132 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20134 * progmodes/js.el: Remove proclaim statement.
20135 Defvar which-func-imenu-joiner-function to silence compiler.
20137 * files.el (auto-mode-alist): Use js-mode for .js files.
20139 * progmodes/js2-mode.el: Remove file.
20141 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20143 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20145 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20147 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20148 Karl Landstrom <karl.landstrom@brgeight.se>
20150 * progmodes/js.el: New file.
20152 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20154 * timezone.el (timezone-parse-date): Add ability to understand ISO
20155 basic format (minimal separators) dates in addition to the
20156 already-supported extended format dates.
20158 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20160 * international/ucs-normalize.el: Add a `coding' file variable.
20162 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20164 2009-08-14 Sam Steingold <sds@gnu.org>
20166 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20168 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20170 * faces.el (help-argument-name): Define it here instead of
20171 help-fns.el, because in daemon mode help-fns.el may be loaded when
20172 faces are still uninitialized (Bug#1078).
20174 * help-fns.el (help-argument-name): Move defface to faces.el.
20176 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20178 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20179 create buffer with a pty but no process so that GDB can make the
20180 inferior the controlling process.
20182 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20184 * international/ucs-normalize.el: New file.
20186 2009-08-13 Richard Stallman <rms@gnu.org>
20188 * mail/rmail.el (rmail-get-attr-names):
20189 Accept an attribute header that is too short.
20191 * mail/rmail.el (rmail-forget-messages):
20192 Ignore nil elt in rmail-message-vector. Use dotimes.
20194 * progmodes/compile.el (compilation-goto-locus):
20195 Use next-error-move-function.
20197 * simple.el (next-error-move-function): New variable.
20199 2009-08-12 Juri Linkov <juri@jurta.org>
20201 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20202 always non-nil. (Bug#4052)
20204 * replace.el (read-regexp): Return empty string when
20205 `default-value' is nil.
20206 (keep-lines-read-args): Don't use empty string as the
20207 default value for `read-regexp'. (Bug#2495)
20209 2009-08-12 Juri Linkov <juri@jurta.org>
20211 * international/mule-cmds.el (ucs-insert): Change arguments
20212 from `arg' to `character', `count', `inherit' to be the same
20213 as in `insert-char'. Doc fix. (Bug#4039)
20215 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20217 2009-08-12 Juri Linkov <juri@jurta.org>
20219 * files-x.el: New file.
20221 * files.el: Move code that deals with adding/deleting
20222 file/directory-local variables to files-x.el.
20224 * Makefile.in (ELCFILES): Add files-x.elc.
20226 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20228 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20229 to use `goto-line'.
20230 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20232 (gdb-invalidate-disassembly): Do not refresh upon receiving
20233 'update signal. Instead, update all disassembly buffers only after
20235 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20236 (gdb-starting): Move -data-list-register-names...
20237 (gdb-stopped): ...here so it's sent when first thread stops.
20238 (gdb-registers-handler-custom): Do nothing if register names are
20241 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20242 from `gdb-mi.el' to avoid extra tangling.
20244 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20245 change which breaks `gud-def' definitions used in `gdb'.
20246 (gdb-update-gud-running): No extra fuss for updating frame number.
20248 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20250 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20251 (describe-language-environment-map, setup-language-environment-map)
20252 (set-coding-system-map): Move initialization into declaration.
20253 (set-language-info-alist): Last arg to define-key-after can be skipped.
20255 * international/quail.el (quail-completion-1): Simplify.
20256 (quail-define-rules): Use slightly more compact code.
20257 (quail-insert-decode-map): Propertize keys, compact columns.
20259 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20262 2009-08-10 Miles Bader <miles@gnu.org>
20264 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20265 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20266 (js2-instance-member, js2-private-member, js2-private-function-call)
20267 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20268 (js2-magic-paren, js2-external-variable):
20269 Remove "-face" suffix from face names.
20270 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20271 (js2-highlight-undeclared-vars, js2-peek-token)
20272 (js2-parse-function-params, js2-mode-show-errors)
20273 (js2-mode-show-warnings, js2-make-magic-delimiter)
20274 (js2-mode-highlight-magic-parens): Update to use new face names.
20276 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20278 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20279 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20281 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20283 * subr.el: Provide hashtable-print-readable.
20285 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20286 hs-c-like-adjust-block-beginning.
20287 (hs-hide-block-at-point): Stop hiding at the beginning of
20288 hs-block-end-regexp (Bug#700).
20290 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20292 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20294 (gdb-registers-handler-custom): Do not fail when register names
20297 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20299 * progmodes/gdb-mi.el (gdb-control-all-threads)
20300 (gdb-control-current-thread): Interactive setters for
20301 `gdb-gud-control-all-threads' to use in menu.
20302 (gdb-show-run-p): Show «Go» when process is not active.
20303 (gud-tool-bar-map): Add non-stop/A,T indicator.
20304 Uses gud/thread.xpm and gud/all.xpm.
20306 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20308 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20309 (nslookup-font-lock-keywords): Make it a variable.
20310 (net-utils-mode): New mode for viewing diagnostic network output.
20311 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20312 (net-utils-run-simple): New function.
20313 (ifconfig, iwconfig, netstat, arp, route): Use it.
20315 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20317 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20318 (gdb-memory-set-address, def-gdb-set-positive-number)
20319 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20320 after changing settings.
20321 (gdb-invalidate-disassembly): Update when first shown.
20322 (gdb-edit-locals-value): Fixed.
20323 (gdb-registers-handler-custom): Print registers in right order and
20324 allow changing register values (only for current thread yet).
20325 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20326 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20327 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20328 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20329 Thread info in mode name.
20330 (gdb-registers-mode-map): TAB to switch to locals.
20332 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20334 * mail/rmail.el (rmail-add-mbox-headers)
20335 (rmail-set-message-counters-counter): Search for
20336 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20338 2009-08-08 Glenn Morris <rgm@gnu.org>
20340 * Makefile.in (ELCFILES): Update.
20342 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20344 * mail/sendmail.el (mail-yank-original):
20345 Set buffer-file-coding-system from the one used by the message whose
20348 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20349 to "windows" when "pgnuplot" is used.
20350 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20351 Don't call accept-process-output if "pgnuplot" is used.
20352 (calc-graph-init): Don't send -display and -geometry to
20353 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20354 running "pgnuplot -V" with shell-command-to-string.
20356 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20359 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20361 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20364 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20366 * vc-dispatcher.el (vc-resynch-window): Update comment.
20368 * term.el (term-handle-ansi-escape): Add comments with the
20369 terminfo capabilities implemented.
20371 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20373 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20374 (gdb-var-create-handler): Rewritten using JSON parser.
20375 (gdb-propertize-header): Move earlier.
20376 (gdb-set-header): Remove to avoid duplication.
20377 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20378 Refresh disassembly buffers only after threads list have been
20380 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20383 2009-08-04 Juri Linkov <juri@jurta.org>
20385 * files.el: Commands to add/delete file/directory-local variables.
20386 (read-file-local-variable, read-file-local-variable-value)
20387 (read-file-local-variable-mode, modify-file-local-variable)
20388 (modify-file-local-variable-prop-line)
20389 (modify-dir-local-variable): New functions.
20390 (add-file-local-variable, delete-file-local-variable)
20391 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20392 (add-dir-local-variable, delete-dir-local-variable)
20393 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20394 (copy-dir-locals-to-file-locals-prop-line): New commands.
20396 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20398 * abbrev.el (insert-abbrev-table-description): Prettify output.
20399 Suggested by Karl Chen.
20401 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20403 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20404 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20405 (gdb-overlay-arrow-position, gdb-thread-position)
20406 (gdb-disassembly-position): Declare variables.
20407 (gdb-wait-for-pending): Function now.
20408 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20409 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20410 compilation goes smoothly.
20411 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20412 (gdb-non-stop-setting): New customization setting which replaces
20413 `gdb-non-stop' so changing it doesn't break active GDB session.
20414 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20415 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20416 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20417 (gdb-show-threads-by-default): New customization options.
20418 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20420 (gdb-get-buffer-create): Send buffers update signal when they are
20422 (gdb-invalidate-locals, gdb-invalidate-registers)
20423 (gdb-invalidate-breakpoints)
20424 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20425 (gdb-invalidate-memory): Accept update signal.
20426 (gdb-current-context-command): Use --frame option.
20427 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20428 Implement `gdb-frame-number' selection logic.
20429 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20430 whether to show GUD toolbar buttons.
20431 (gdb-thread-exited): Unselect current thread when it exits.
20432 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20433 (gdb-mark-line): Routine which sets overlay arrow or inverses
20434 video on fringeless displays.
20435 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20436 to build aligned columns of data in GDB buffers and set text
20437 properties line-by-line.
20438 (gdb-invalidate-breakpoints)
20439 (gdb-breakpoints-list-handler-custom)
20440 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20441 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20442 (gdb-registers-handler-custom): Align data columns.
20443 (gdb-locals-handler-custom): Now prints data like in variable
20445 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20446 Remove confusing buttons.
20447 (gdb-invalidate-threads): Append --frame.
20448 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20449 between breakpoints/threads buffers.
20450 (gdb-set-window-buffer): Now can ignore dedicated windows.
20451 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20452 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20453 (def-gdb-thread-buffer-gud-command): Replaces
20454 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20455 for fine thread control.
20456 (gdb-preempt-existing-or-display-buffer): New function used to
20457 display bound buffers without breaking window layout.
20458 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20459 (gdb-select-frame): New version of `gdb-frames-select' which now
20460 sets `gdb-frame-number' so commands may use --frame option instead
20461 of inner debugger state.
20462 (gdb-frame-handler): Do not set `gdb-frame-number'.
20463 (gdb-threads-mode-map): Select threads with mouse.
20465 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20466 avoid compilation warning.
20467 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20470 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20471 Argument `key' renamed to `buffer-type'.
20472 (gdb-current-context-buffer-name): Do not add thread info to
20473 buffer name when no thread is selected.
20474 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20475 command (bug 3794).
20476 (gdb-thread-selected): Handle `=thread-selected' notification.
20477 (gdb-wait-for-pending): New macro to deal with congestion problems.
20478 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20480 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20481 This fixes problem similar to one described in bug 3947.
20482 (gud-menu-map): More menu items.
20483 (gdb-init-1): Reset `gdb-thread-number' to nil.
20485 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20488 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20489 (gdb-current-context-command): Do not append --thread if
20490 `gdb-thread-number' is nil.
20491 (gdb-running-threads-count, gdb-stopped-threads-count):
20493 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20494 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20495 New customization options.
20496 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20498 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20499 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20500 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20501 set `gdb-thread-number' and update `gud-running' properly.
20502 (gdb-running): Update threads list when new threads appear.
20503 (gdb-stopped): Support non-stop operation and new thread switching
20505 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20506 (gdb-json-partial-output): New set of JSON routines.
20507 (def-gdb-auto-update-trigger): New `signal-list' optional
20509 (gdb-thread-list-handler-custom): Update `gud-running',
20510 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20511 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20512 (gdb-continue-thread, gdb-step-thread): New commands for fine
20513 thread execution control.
20514 (gud-menu-map): New menu items to switch non-stop options.
20515 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20516 (gdb-send): Mimic RET properly (bug 3794).
20518 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20519 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20521 (def-gdb-auto-update-handler): New nopreserve optional argument.
20522 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20524 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20525 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20526 (gdb-parent-mode): New mode to derive other GDB modes from.
20527 (gdb-display-disassembly-for-thread)
20528 (gdb-frame-disassembly-for-thread): New commands for threads
20531 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20532 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20533 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20534 (gdb-update): We now store all GDB buffers in a list so that they
20535 can be updated by traversing a list instead of calling invalidate
20536 triggers explicitly.
20537 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20538 pair for GDB buffer.
20539 (gdb-stack-buffer-name): Add thread information.
20540 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20541 handle pending triggers.
20542 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20543 (def-gdb-thread-buffer-simple-command)
20544 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20545 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20546 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20547 New commands which show buffers bound to thread.
20548 (gdb-stack-list-locals-regexp): Remove unused regexp.
20550 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20551 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20552 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20553 to (gud-comint-buffer) in *-buffer-name functions
20554 because (gdb-get-target-string) already does that.
20555 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20556 (gdb-changed-registers-handler): Rewritten without regexps.
20558 * progmodes/gdb-mi.el: Basic thread selection support.
20559 (gdb-thread-number): New variable.
20560 (gdb-current-context-command): New macro which adds --thread
20562 (gdb-threads-mode-map): Select thread with SPC.
20563 (gdb-thread-list-handler-custom): Mark current thread with overlay
20564 arrow. Synchronize GDB thread and Emacs thread.
20565 (gdb-select-thread): New command which selects current thread.
20566 (gdb-invalidate-frames, gdb-invalidate-locals)
20567 (gdb-invalidate-registers): Use --thread option.
20569 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20571 * net/tramp.el (top): Make check for tramp-gvfs loading more
20573 (tramp-handle-insert-file-contents): `unwind-protect' must be
20574 inside `with-parsed-tramp-file-name'.
20576 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20579 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20581 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20582 directory if CLASSPATH is not set.
20584 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20586 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20588 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20590 2009-08-02 Kevin Ryde <user42@zip.com.au>
20592 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20593 Update freshmeat link. Delete newsforge.com as it seems gone.
20595 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20597 * select.el (x-set-selection): Doc fix (Bug#4021).
20599 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20601 * help-fns.el (describe-variable): Treat list return values from
20602 dir-locals-find-file properly (Bug#4005).
20604 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20606 * net/tramp.el (tramp-debug-message): Print also microseconds.
20608 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20610 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20612 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20613 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20616 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20617 (tramp-get-file-property): Use it.
20619 * autorevert.el (auto-revert-handler):
20620 Allow `auto-revert-tail-mode' for remote files.
20622 2009-08-02 Jason Rumney <jasonr@gnu.org>
20624 * minibuffer.el (read-file-name): Treat confirm options to
20625 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20627 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20629 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20630 (font-lock-variable-name-face, font-lock-constant-face):
20631 Darken the colors for light backgrounds.
20633 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20635 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20636 month names. (Bug#3987)
20638 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20640 * simple.el (line-move-finish): Pass whole number to
20641 line-move-to-column.
20642 (line-move-visual): Perform hscroll to the recorded position.
20644 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20646 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20648 2009-07-29 Alan Mackenzie <acm@muc.de>
20650 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20652 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20654 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20655 (gdb-place-breakpoints): Use full path when setting breakpoints.
20657 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20659 * calc/calc.el (calc-mode-map): Add keybinding for
20660 `calc-transpose-lines'.
20662 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20664 * calc/calc-misc.el (calc-transpose-lines): New function.
20666 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20668 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20669 Simplify check for out-of-band methods.
20670 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20671 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20673 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20675 * vc-git.el (vc-git-checkin): Fix typo.
20677 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20679 * progmodes/js2-mode.el: New file.
20681 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20683 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20684 (gud-menu-map): Adjust tooltip accordingly.
20686 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20688 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20689 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20691 * add-log.el (change-log-mode-map): Add a menu.
20693 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20695 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20696 function returns nil.
20697 (dbus-handle-event): Handle special return value :ignore.
20698 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20700 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20702 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20705 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20709 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20711 * term/pc-win.el (x-display-name, x-colors)
20712 (x-select-enable-clipboard, x-select-text): Doc fix.
20714 * term/common-win.el (x-display-name, x-colors): Doc fix.
20716 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20717 (xw-defined-colors): Doc fix.
20719 * w32-fns.el (x-select-text, x-setup-function-keys)
20720 (x-get-selection, x-set-selection): Doc fix.
20722 * term/x-win.el (x-select-text, x-setup-function-keys)
20723 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20725 * select.el (x-set-selection): Doc fix.
20727 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20729 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20730 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20731 "IsNSSSupportAvailable" method is not available.
20732 Reported by Steve Youngs <steve@sxemacs.org>.
20734 2009-07-24 Kenichi Handa <handa@m17n.org>
20736 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20737 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20738 (build-unicode-category-table): Fix range checks.
20740 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20742 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20743 the buffer we try to sync is current when calling
20746 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20747 not show up to date files.
20749 2009-07-24 Glenn Morris <rgm@gnu.org>
20751 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20752 Add autoload cookies. If necessary, initialize.
20753 (elint-log): Handle non-file buffers.
20754 (elint-initialize): Add optional argument to reinitialize.
20755 (elint-find-builtin-variables): Save excursion.
20757 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20759 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20762 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20764 * vc.el (vc-print-log-internal): New function, split out from ...
20765 (vc-print-log): ... here.
20766 (vc-dir-move-to-goal-column): Declare.
20768 * vc-git.el (vc-git-add-signoff): New variable.
20769 (vc-git-checkin): Use it.
20770 (vc-git-toggle-signoff): New function.
20771 (vc-git-extra-menu-map): Bind it to menu.
20772 (vc-git--run-command-string): Accept a nil FILE argument.
20773 (vc-git-stash-list): New function.
20774 (vc-git-dir-extra-headers): Use it.
20776 2009-07-23 Glenn Morris <rgm@gnu.org>
20778 * help-fns.el (describe-variable): Describe ignored and risky local
20779 variables in a similar way to that in which we describe safe ones.
20781 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20782 (byte-compile-output-file-form, byte-compile-output-docform)
20783 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20784 Give some more local variables with common names a "bytecomp-" prefix,
20785 so as not to shadow things during compilation.
20786 * emacs-lisp/cl-macs.el (load-time-value)
20787 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20788 `outbuffer' to `bytecomp-outbuffer'.
20790 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20791 since the next two variables cover them automatically now.
20792 (elint-builtin-variables, elint-autoloaded-variables): New.
20793 (elint-unknown-builtin-args): Remove all members, since they can be
20794 parsed automatically now.
20795 (elint-extra-errors): New.
20796 (elint-env-add-env, elint-env-add-macro): Use cadr.
20797 (elint-current-buffer): Use or. Change final message.
20798 (elint-get-top-forms): Use line-end-position.
20799 (elint-init-env): Use cadr. Handle autoload, declare-function,
20801 (elint-add-required-env): Doc fix. Use or. Standardize error.
20802 (regexp-assoc): Remove unused function.
20803 (elint-top-form): Set elint-current-pos, to record the start of the
20804 top-level form, for compilation-mode.
20805 (elint-form): Trap errors in macro expansion. Use dolist.
20806 (elint-unbound-variable): Use elint-builtin-variables and
20807 elint-autoloaded-variables.
20808 (elint-get-args): Use cadr, or.
20809 (elint-check-cond-form): Use dolist, cadr.
20810 (elint-check-condition-case-form): Doc fix. Use cadr.
20811 Use elint-extra-errors.
20812 (elint-log): New function.
20813 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20814 Distinguish errors and warnings.
20815 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20816 Use a bytecomp-style format.
20817 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20818 (elint-get-log-buffer): Use compilation mode. Disable undo.
20819 Don't truncate lines.
20820 (elint-initialize): Set builtin and autoloaded variable lists.
20821 Only process elint-unknown-builtin-args if non-nil.
20822 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20824 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20826 2009-07-22 Kevin Ryde <user42@zip.com.au>
20828 * net/newst-backend.el (newsticker--parse-atom-1.0)
20829 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20830 (newsticker--parse-rss-1.0):
20831 * progmodes/idlwave.el (idlwave-mode):
20832 * progmodes/idlw-shell.el (idlwave-shell-mode):
20833 * progmodes/vera-mode.el (vera-mode):
20834 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20835 * progmodes/vhdl-mode.el (vhdl-mode):
20836 * textmodes/table.el (table-generate-source)
20837 (table--warn-incompatibility):
20838 Hyperlink urls in docstrings with URL `...'.
20840 2009-07-22 Glenn Morris <rgm@gnu.org>
20842 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20843 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20844 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20845 Remove leading * from defcustom docs.
20847 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20849 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20851 (list-load-path-shadows): Optionally, just return shadows as a string.
20853 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20855 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20857 * mail/rmailedit.el (rmail-edit-mode):
20858 Use auto-save-include-big-deletions.
20860 * mail/rmail.el (rmail-variables):
20861 Use auto-save-include-big-deletions.
20863 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20866 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20868 * calc/calc.el (calc-undo-length): New variable.
20869 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20871 2009-07-21 Richard Stallman <rms@gnu.org>
20873 * files.el (auto-save-mode): Handle buffer-save-size = -2
20876 2009-07-21 Glenn Morris <rgm@gnu.org>
20878 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20880 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20882 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20883 silence compiler. Instead...
20884 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20885 (ps-print-ensure-fontified): Update for above function name changes.
20887 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20888 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20889 silence compiler. Instead...
20890 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20891 (mh-show-buffer): Only define for compiler.
20892 (pr-mh-current-message): Update for above function name changes.
20894 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20896 (find-file-noselect, insert-file-1): Update for above change.
20898 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20900 * mail/mailclient.el (mailclient-send-it): Fix message.
20902 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20903 (edebug-eval): Check cl-debug-env is bound.
20904 (print-level, print-circle): Don't redefine built-in variables.
20906 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20907 (custom-print-vectors): Remove old comments from doc.
20909 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20910 (emerge-version): Make the variable an obsolete alias for the
20911 emacs-version variable. Make the function obsolete.
20912 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20913 Emerge options, rather than merging in into the main Options menu.
20914 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20915 and auto advance modes. Disable edit/fast items when not relevant.
20917 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20919 * term/vt420.el (terminal-init-vt420): Fix typo.
20921 2009-07-20 Sam Steingold <sds@gnu.org>
20923 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20924 variable (removed from compile.el on 2004-03-11).
20926 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20928 * files.el (hack-local-variables-filter): Fix last change.
20930 2009-07-19 Juri Linkov <juri@jurta.org>
20932 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20933 (dir-local-variables-alist): New buffer-local variable.
20934 (hack-local-variables-filter): If variable is not dir-local,
20935 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20936 because file-local overrides dir-local.
20937 (c-postprocess-file-styles) <declare-function>:
20938 Remove obsolete declaration.
20939 (hack-dir-local-variables): Add dir-local variable/value pair to
20940 `dir-local-variables-alist' and remove duplicates. Doc fix.
20942 * help-fns.el (describe-variable): Add information about
20943 file-local and dir-local variables.
20945 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20947 * files.el (hack-local-variables-filter): Rewrite.
20949 2009-07-19 Glenn Morris <rgm@gnu.org>
20951 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20952 Silence compiler by only defining on XEmacs.
20954 * international/mule.el (auto-coding-regexp-alist): Only match
20955 BABYL... at the start of buffer, not of lines. (Bug#3790)
20957 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20958 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20959 (cal-menu-context-mouse-menu): Doc fix.
20961 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20963 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20965 2009-07-18 Juri Linkov <juri@jurta.org>
20967 * info.el: Virtual Info keyword finder.
20968 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20969 (Info-finder-file): New variable.
20970 (Info-finder-find-file): New function.
20971 (finder-known-keywords, finder-package-info)
20972 (find-library-name, lm-commentary): Use defvar and
20973 declare-function to silence compiler warnings.
20974 (Info-finder-find-node): New function.
20975 (info-finder): New command.
20977 * subr.el (process-kill-buffer-query-function): New function.
20978 (add-hook)<kill-buffer-query-functions>: Add hook
20979 `process-kill-buffer-query-function'.
20981 2009-07-18 Alan Mackenzie <acm@muc.de>
20983 * progmodes/cc-mode.el (c-before-hack-hook)
20984 (c-postprocess-file-styles): Give invocation of `c-set-style'
20985 DONT-OVERRIDE parameter of t. Already set style variables will
20986 thus not be overridden by style settings given by `c-file-syle'.
20988 * files.el (hack-local-variables-filter): Remove entries with
20989 duplicate keys from `file-local-variables-alist'.
20991 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20993 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20994 x-set-selection if display-selections-p returns nil for the
20997 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20999 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21001 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21003 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21004 Accept nil in addition to a regexp.
21005 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21006 Accept nil in addition to a regexp.
21007 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21008 buffers that have an associated file. Handle nil values of
21009 desktop-buffers-not-to-save and desktop-files-not-to-save.
21012 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21013 (x-disown-selection-internal): New functions.
21015 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21017 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21019 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21020 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21022 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21024 * simple.el (set-mark): Revert last change.
21026 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21028 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21029 rendering of pngs is not possible instead of messaging a long
21032 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21034 * w32-fns.el (x-selection-owner-p): New function.
21036 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21037 (mouse-yank-at-click, mouse-yank-primary):
21038 If select-active-regions is non-nil, deactivate the mark before
21041 * simple.el (deactivate-mark, set-mark): Only save selection if we
21044 2009-07-17 Kenichi Handa <handa@m17n.org>
21046 * case-table.el (describe-buffer-case-table): Fix for the case
21047 that KEY is a cons.
21049 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21051 * vc-rcs.el (vc-rcs-find-file-hook):
21052 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21054 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21056 * net/tramp.el (tramp-wait-for-output): Handle the case when
21057 commands do not return a newline but a null byte before the shell
21060 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21062 * term/ns-win.el (ns-set-alpha): Don't declare.
21063 (ns-set-background-alpha): Remove function.
21065 2009-07-16 Kevin Ryde <user42@zip.com.au>
21067 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21068 y-or-n-p, for safety.
21070 2009-07-16 Richard Stallman <rms@gnu.org>
21072 * files.el (auto-save-mode): If buffer-saved-size is -2,
21075 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21076 (rmail-retry-ignored-headers): Add more uninteresting fields.
21078 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21080 * net/rcirc.el (rcirc): Use history variables.
21081 (rcirc-server-name-history, rcirc-nick-name-history)
21082 (rcirc-server-port-history): New variables.
21084 2009-07-15 Kenichi Handa <handa@m17n.org>
21086 * international/mule-cmds.el (set-language-environment-charset):
21087 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21090 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21091 Delete unibyte-display.
21093 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21095 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21097 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21099 * simple.el (deactivate-mark): Optional argument FORCE.
21100 (set-mark): Use deactivate-mark.
21102 * info.el (Info-search): No need to check transient-mark-mode
21103 before calling deactivate-mark.
21105 * select.el (x-set-selection): Doc fix.
21106 (x-valid-simple-selection-p): Allow buffer values.
21107 (xselect--selection-bounds): Handle buffer values.
21108 Suggested by David De La Harpe Golden.
21110 * mouse.el (mouse-set-region, mouse-drag-track):
21111 Call copy-region-as-kill before setting the mark, to let
21112 select-active-regions work.
21114 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21116 * simple.el (deactivate-mark): If select-active-regions is
21117 non-nil, copy the selection data into a string.
21118 (activate-mark): If select-active-regions is non-nil, set the
21119 selection to the current buffer.
21120 (set-mark): Update selection if select-active-regions is non-nil.
21122 * select.el (x-valid-simple-selection-p): Allow buffer values.
21124 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21126 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21127 and more featureful message-mode.
21129 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21131 * select.el (x-set-selection): Doc fix.
21132 (x-valid-simple-selection-p): Disallow selection data consisting
21133 of a list or cons of integers, since that is not used.
21134 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21135 (xselect-convert-to-string, xselect-convert-to-length)
21136 (xselect-convert-to-filename, xselect-convert-to-charpos)
21137 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21139 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21141 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21142 output in -break-info command (Emacs bug #3794).
21144 2009-07-14 Glenn Morris <rgm@gnu.org>
21146 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21147 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21148 (edebug-print-length, edebug-print-level, edebug-print-circle)
21149 (edebug-sit-for-seconds, edebug-view-outside)
21150 (edebug-bounce-point, edebug-set-global-break-condition)
21151 (edebug-Go-nonstop-mode, edebug-trace-mode)
21152 (edebug-Trace-fast-mode, edebug-continue-mode)
21153 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21154 (edebug-visit-eval-list): Doc fixes.
21156 * subr.el (def-edebug-spec): Doc fix.
21158 2009-07-14 Kenichi Handa <handa@m17n.org>
21160 * international/characters.el: Fix setting of category ?C.
21162 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21164 * term/ns-win.el (x-select-font): defalias x-select-font to
21165 ns-popup-font-panel instead of generate-fontset-menu.
21167 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21169 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21171 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21173 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21174 the PK\003\004 header (Bug#3770).
21176 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21178 * pcomplete.el (pcomplete-comint-setup): Check for
21179 shell-dynamic-complete-filename too.
21181 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21183 * simple.el (temporary-goal-column): Change the value for
21184 line-move-visual to a cons cell.
21185 (line-move-visual): Record or set the window hscroll, if
21186 necessary (Bug#3494).
21187 (line-move-1): Handle cons value of temporary-goal-column.
21189 2009-07-11 Kenichi Handa <handa@m17n.org>
21191 * international/mule-diag.el (describe-character-set): Don't show
21194 2009-07-10 Sam Steingold <sds@gnu.org>
21196 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21197 Omake sometimes indents the errors it prints, so allow all
21198 regexps to start with spaces.
21200 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21202 * cus-edit.el (customize-changed-options-previous-release):
21203 Bump value to 22.1. (Bug#3804)
21205 2009-07-08 Sam Steingold <sds@gnu.org>
21207 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21208 to be a cons cell (test . ignored-directory) to selectively ignore
21209 some directories depending on the location of the search.
21211 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21213 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21214 remote user is root, on the local host.
21215 (tramp-local-host-p): Either the local user or the remote user
21216 must be root. (Bug#3771)
21218 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21220 * progmodes/gdb-mi.el (gdb): Remove description of
21221 gdb-use-separate-io-buffer.
21222 (menu): Don't allow toggling of or enable
21223 gdb-use-separate-io-buffer from menubar.
21225 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21227 * mail/unrmail.el (unrmail): Make sure the message ends with two
21228 newlines (Bug#3769).
21230 2009-07-08 Glenn Morris <rgm@gnu.org>
21232 * calendar/calendar.el (calendar-current-date): Rework previous change.
21234 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21236 * calendar/calendar.el (calendar-current-date):
21237 Add an optional argument giving an offset from today.
21239 2009-07-08 Glenn Morris <rgm@gnu.org>
21241 * tutorial.el (tutorial--describe-nonstandard-key):
21242 Adjust the message for when a key has been unbound.
21243 (help-with-tutorial): Hide the arch-tag.
21245 2009-07-08 Kenichi Handa <handa@m17n.org>
21247 * international/fontset.el (setup-default-fontset): For each
21248 script, append (not set) font-specs.
21250 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21253 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21255 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21256 -data-list-register-names to ...
21257 (gdb-starting): ... here because GDB 7.0 requires execution to
21258 have started when using this MI command.
21259 (gdb-set-header): New function to distinguish select and
21260 unselected tabs in gdb buffers.
21261 (gdb-propertize-header): New macro that uses gdb-set-header.
21262 (gdb-breakpoints-header, gdb-locals-header): Use it.
21263 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21265 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21267 * Makefile.in (ELCFILES): Remove fadr.elc.
21269 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21271 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21272 may contain frame information, so `string-match' should be used.
21273 (gdb-update): Disassembly is invalidated through
21274 `gdb-get-selected-frame'.
21275 (gdb-pad-string): New function to pad string with spaces.
21276 (gdb-invalidate-disassembly): Invalidate only if the buffer
21278 (gdb-disassembly-handler-custom): Column alignment.
21279 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21281 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21283 (gdb-frame-handler): Match convention to for disassembly buffer
21285 (gdb-stack-list-frames-handler): Rewritten without regexps.
21286 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21287 not highlight breakpoints without line information.
21288 (gdb-input): Add trailing newline to command.
21290 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21292 (gdb-breakpoints-list-handler-custom): Replacement for
21293 `gdb-break-list-handler'. Using real parser instead of regexps
21295 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21296 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21297 to place breakpoints.
21298 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21300 (gdb-disassembly-handler-custom): Show overlay arrow.
21301 (gdb-disassembly-place-breakpoints): Show breakpoints in
21302 disassembly buffer.
21303 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21304 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21305 instead of parsing breakpoints buffer. Fixed old menu references
21310 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21311 (gdb-memory-address): New variable which holds top address of
21312 memory page shown in memory buffer.
21313 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21314 New customization variables.
21316 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21317 display the memory buffer.
21318 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21319 buffer display parameters.
21320 (def-gdb-memory-format, gdb-memory-format-binary)
21321 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21322 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21323 Functions for setting memory buffer format.
21324 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21325 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21326 unit size used in memory buffer.
21327 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21328 Switch to next/previous page of memory buffer.
21329 Now using (bindat-get-field) instead of fadr functions.
21331 2009-07-07 Sam Steingold <sds@gnu.org>
21333 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21334 non-top-level files.
21336 2009-07-07 Kenichi Handa <handa@m17n.org>
21338 * international/mule-cmds.el (reset-language-environment):
21339 Put the highset priority to the charset iso-8859-1.
21341 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21343 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21344 to the end of the line when locating the block (Bug#700).
21346 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21348 * net/tramp.el (tramp-handle-write-region): Flush file properties
21349 in case of short track.
21351 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21353 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21354 Coded custom representation of verilog error regular expressions
21355 to work with Emacs-22's new format.
21356 (verilog-error-regexp-xemacs-alist): Coded custom representation
21357 of verilog error regular expressions to work with XEmacs format.
21358 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21359 error recognition into XEmacs.
21360 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21361 error recognition into Emacs-22.
21363 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21365 * woman.el: Remove stand-alone closing parentheses.
21366 (woman-file-name, woman2-format-paragraphs)
21367 (woman-leave-blank-lines): Code cleanup.
21368 (woman-use-own-frame): Change default to nil.
21369 (woman-italic, woman-bold, woman-unknown, woman-addition):
21370 Change defaults to inherit from default faces.
21371 (woman2-process-escapes): Consume the newline after a stand-alone
21372 filler character (Bug#3651).
21374 2009-07-06 Glenn Morris <rgm@gnu.org>
21376 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21377 (top-level): Move provide to the end.
21378 (ffap): Remove defunct URL from custom group.
21380 * subr.el (eval-after-load): Doc fix.
21382 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21384 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21385 `calc-embedded-word' is called twice.
21387 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21389 * files.el (find-alternate-file-other-window, find-alternate-file):
21390 Obey confirm-nonexistent-file-or-buffer.
21392 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21394 * dired-aux.el (dired-show-file-type): Handle remote files.
21396 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21398 * desktop.el (desktop-globals-to-save):
21399 Add file-name-history (Bug#2750).
21401 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21403 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21405 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21407 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21408 property on entire argument since this is what eshell-lisp-command
21411 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21413 * net/tramp-gvfs.el (tramp-gvfs-methods)
21414 (tramp-gvfs-zeroconf-domain)
21415 (tramp-bluez-discover-devices-timeout): Add version flag.
21416 (tramp-gvfs-handler-mounted-unmounted)
21417 (tramp-gvfs-connection-mounted-p): Polish handling of
21418 incompatibilities between GVFS 0.2 and 1.0.
21420 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21422 * cus-start.el (all): Add make-pointer-invisible.
21424 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21426 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21427 formatted correctly.
21429 2009-07-02 Juri Linkov <juri@jurta.org>
21431 * info.el: Virtual Info files and nodes.
21432 (Info-virtual-files, Info-virtual-nodes): New variables.
21433 (Info-current-node-virtual): New variable.
21434 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21436 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21437 to check for a virtual file instead of checking a fixed list
21439 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21440 instead of ad-hoc processing of "dir" and (apropos history toc).
21441 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21442 instead of ad-hoc processing of "dir" and (apropos history toc).
21443 Reread a file when moving from a virtual node.
21444 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21445 (Info-directory-toc-nodes, Info-directory-find-file)
21446 (Info-directory-find-node): New functions.
21447 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21448 (Info-history): Move part of code to
21449 `Info-history-find-node'.
21450 (Info-history-toc-nodes, Info-history-find-file)
21451 (Info-history-find-node): New functions.
21452 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21453 (Info-toc): Move part of code to `Info-toc-find-node'.
21454 (Info-toc-find-node): New function.
21455 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21456 the current Info file name to references because now the node
21457 "*TOC*" belongs to the same Info manual.
21458 (Info-toc-build): Rename from `Info-build-toc'.
21459 (Info-toc-nodes): Rename input argument `file' to `filename'.
21460 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21461 instead of ad-hoc processing of ("dir" apropos history toc).
21462 (Info-index-nodes): Use Info-virtual-file-p
21463 to check for a virtual file instead of checking a fixed list
21465 (Info-index-node): Add check for `Info-current-node-virtual'.
21466 Raise `save-match-data' higher up the tree to contain
21467 `search-forward' too (bug fix).
21468 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21469 (Info-virtual-index-nodes): New variable.
21470 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21471 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21472 (Info-apropos-file, Info-apropos-nodes): New variables.
21473 (Info-apropos-toc-nodes, Info-apropos-find-file)
21474 (Info-apropos-find-node, Info-apropos-matches): New functions.
21475 (info-apropos): Move part of code to `Info-apropos-find-node' and
21476 `Info-apropos-matches'.
21477 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21478 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21479 for a virtual file instead of checking a fixed list of node names.
21481 * simple.el (async-shell-command): New command.
21483 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21485 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21486 instead of `mount-info'.
21488 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21490 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21491 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21493 2009-07-02 Kenichi Handa <handa@m17n.org>
21495 * international/mule.el (set-keyboard-coding-system): Force *-unix
21496 coding-system to avoid eol conversion.
21498 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21500 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21501 Add handler for `process-file', `shell-command' and
21502 `start-file-process'.
21503 (tramp-gvfs-handle-shell-command)
21504 (tramp-gvfs-handle-start-file-process)
21505 (tramp-gvfs-handle-process-file): New defuns.
21506 (tramp-synce-list-devices): Simplify check for existence of property.
21508 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21510 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21512 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21514 * language/korean.el (set-language-info-alist): Add korean-cp949,
21517 2009-07-01 Kenichi Handa <handa@m17n.org>
21519 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21521 * international/encoded-kb.el: Deleted.
21523 * international/mule.el (set-keyboard-coding-system): Perform the
21524 necessary setup here instead of calling encoded-kbd-setup-display.
21526 2009-07-01 Glenn Morris <rgm@gnu.org>
21528 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21530 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21532 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21534 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21536 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21537 Handle also the 'rename case, when setting file modes. (Bug#3712)
21538 (tramp-default-file-modes): Remove execute permissions.
21540 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21541 (top): Add a default for "synce" in `tramp-default-user-alist'.
21542 Add completion function for "synce" method.
21543 (tramp-hal-service, tramp-hal-path-manager)
21544 (tramp-hal-interface-manager, tramp-hal-interface-device):
21546 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21547 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21550 * net/trampver.el: Update release number.
21552 2009-06-30 Kenichi Handa <handa@m17n.org>
21554 * international/fontset.el (setup-default-fontset): Add CJK fonts
21555 for symbols and the other miscellaneous characters.
21557 * language/korea-util.el (setup-korean-environment-internal):
21558 Make char-width-table suitable for Korean environments.
21559 (exit-korean-environment): Cancel above.
21561 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21562 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21563 setup-function to make char-width-table suitable for respective
21564 environments, and an exit-function to cancel that.
21566 * language/japan-util.el (setup-japanese-environment-internal):
21567 Call use-cjk-char-width-table with arg `ja_JP'.
21569 * international/characters.el (cjk-char-width-table): Delete it.
21570 (cjk-char-width-table-list): New variable.
21571 (use-cjk-char-width-table): New arg local-name.
21572 (use-default-char-width-table): Fix for the case that Emacs is
21573 already using the default char-width-table.
21575 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21577 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21578 modes mandatory. (Bug#3712)
21580 2009-06-29 Alan Mackenzie <acm@muc.de>
21582 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21583 correction between the visible width of TABs and their number of bytes.
21585 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21587 * server.el (server-buffer-done): Prevent kill-buffer from
21588 prompting by clearing the buffer modification flag (Bug#3696).
21590 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21592 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21593 (verilog-endcomment-reason-re): Support unique case and priority case.
21594 (verilog-basic-complete-re): Support localparam lineup.
21595 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21596 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21598 (verilog-leap-to-case-head): Now support *nested* unique &
21599 priority case statements.
21600 (verilog-auto-lineup): Make just declarations the default (as it
21602 (verilog-leap-to-case-head): Support priority/unique case statements.
21603 (verilog-auto-lineup): Rework to give users radio buttons to
21604 select the various styles of automatic lineup.
21605 (verilog-error-regexp-alist): Rework to support the XEmacs style
21606 of error regular expressions from compilers, lint tools &
21607 simulators. Note that GNU Emacs has made it impossible for a mode
21608 to load such things.
21609 (electric-verilog-terminate-line, verilog-indent-declaration)
21610 (verilog-auto-wiure): Rework for radio button selection of
21611 auto-lineup selection of specification of auto lineup.
21612 (verilog-beg-of-statement-1): Redesign to support proper operation
21613 in additional code, based on testing with auto-lineup.
21614 (verilog-calculate-indent, assignments & declarations)
21615 (verilog-backward-token): Enhance to support auto-lineup of
21616 assignments & declarations.
21617 (verilog-in-directive-p, verilog-at-struct-p): New function for
21618 easy test of whether we are.
21619 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21620 to support safe execution at almost anyline.
21621 (verilog-calc-1): Properly support indenting deep inside generate
21623 (verilog-init-font): Remove definition & use of verilog-init-font,
21624 as it is redundant with font-lock-defaults.
21625 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21626 to avoid circular calls if syntax-ppss is a function (as is the
21627 case now in 22.x GNU Emacs) as that function would sometimes call
21628 itself, leading to (nearly) infinite recursion.
21629 (verilog-ovm-begin-re, verilog-ovm-end-re)
21630 (verilog-ovm-statement-re, verilog-leap-to-head)
21631 (verilog-backward-token): Add support for OVM macros. Some are
21632 complete statements, and others open and close scopes like begin
21634 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21635 (verilog-defun-level-generate-only-re): Really fix the defun-list
21637 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21638 coverpoint, constraint and cross statements.
21639 (verilog-defun-level-list, verilog-generate-defun-level-list)
21640 (verilog-all-defun-level-list): Redo these specifications - it is
21641 too hard to support eval-when compile aggregation of lists also
21642 built at when-compile time.
21643 (verilog-defun-level-list): Place defconsts of variables used in
21644 building regular expressions which are built in eval-when-compile
21645 bodies in the same eval-when-compile body to facilitate compile
21647 (verilog-beg-block-re-ordered): Support indenting
21648 virtual/protected tasks and functions.
21649 (verilog-defun-level-list, verilog-in-generate-region-p)
21650 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21651 indentation of some module items (generate items).
21652 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21653 across virtual/protected tasks and functions.
21655 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21657 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21658 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21659 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21660 in concatenations. Reported by Yishay Belkind.
21661 (verilog-auto-ascii-enum): Support one-hot state machines in
21662 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21663 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21664 modport in AUTOINST and add vl-modport for users.
21665 Reported by David Rogoff.
21666 (verilog-auto-inout-module, verilog-auto-inst)
21667 (verilog-decls-get-interfaces, verilog-insert-definition)
21668 (verilog-insert-one-definition, verilog-read-decls)
21669 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21670 (verilog-sig-modport, verilog-signals-combine-bus)
21671 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21672 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21673 Suggested by David Rogoff.
21674 (verilog-repair-open-comma): Fix non-insertion of comma when
21675 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21676 (verilog-make-width-expression): Simplify [A-1:0] expression
21677 widths to just {A{1'b0}}.
21678 (verilog-mode): Cleanup checkdoc warnings.
21679 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21680 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21681 inputs/outputs or data type. Suggested by Vasu Kandadi.
21682 (next-error-last-buffer): Fix byte-compiler warning.
21683 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21684 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21685 or shell command text during AUTO expansion. Suggested by Tad Truex.
21686 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21687 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21688 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21689 in AUTOINOUT. Reported by Matthew Lovell.
21690 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21691 causing use of <= assignments. Reported by Alex Reed.
21692 (verilog-read-decls): Fix triand, trior, wand, wor to be
21693 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21694 (verilog-extended-complete-re): Support import "DPI-C" functions.
21695 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21696 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21697 (verilog-insert-date, verilog-insert-year)
21698 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21699 Windows systems. Reported by Michael Potts.
21700 (verilog-read-module-name): Fix AUTOINST when the child module
21701 declaration's name is a tick define. Reported by Elliot Mednick.
21702 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21703 passed to next parameter's definition. Reported by Bruce T.
21704 (verilog-read-decls): Fix detecting "parameter int" when using
21705 AUTOINSTPARAM. Reported by Bruce T.
21706 (verilog-goto-defun): Fix goto not finding modules unless first
21707 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21708 (verilog-mode): Expand -f flag arguments on entry to mode so
21709 verilog-goto-defun will work. Reported by Lawrence Butcher.
21710 (verilog-getopt): Expand environment variables in -f file
21711 arguments. Suggested by Lawrence Butcher.
21712 (verilog-set-define): Fix "Symbol's value as variable is void"
21713 when reading enumerations.
21714 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21715 Suggested by Stephen Peltan.
21716 (verilog-read-defines): Fix reading of enumerations in include
21717 files. Reported by Steve Peltan.
21719 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21721 * files.el (trash-directory): Fix defcustom type.
21723 2009-06-28 Juri Linkov <juri@jurta.org>
21725 * help-fns.el (describe-function-1): Correctly locate adviced
21726 functions in hyperlink (Bug#2438).
21728 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21730 * files.el (trash-directory): Change default to nil.
21731 (move-file-to-trash): If trash-directory is nil and
21732 system-move-file-to-trash is unbound, perform freedesktop-style
21735 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21737 * files.el (move-file-to-trash): Add freedesktop trash
21740 2009-06-28 Glenn Morris <rgm@gnu.org>
21742 * autorevert.el (global-auto-revert-non-file-buffers)
21743 (global-auto-revert-mode): Doc fixes.
21745 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21747 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21749 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21751 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21752 opened an X connection before calling x-get-resource (Bug#3194).
21754 * play/doctor.el: Remove reference to obsolete website.
21755 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21757 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21759 Remove find-file-not-found-hook VC method. (Bug#2757)
21760 * vc-hooks.el (vc-file-not-found-hook)
21761 (vc-default-find-file-not-found-hook): Remove functions.
21762 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21763 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21766 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21768 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21770 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21771 compatibility function for `looking-back'.
21773 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21774 Use `ispell-looking-back'.
21776 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21778 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21779 rather than `filename'.
21781 2009-06-23 Miles Bader <miles@gnu.org>
21783 * face-remap.el (text-scale-set): New function.
21785 2009-06-23 Glenn Morris <rgm@gnu.org>
21787 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21789 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21791 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21793 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21795 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21796 Simplify Persian conditionals.
21798 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21799 variable `filename'.
21801 * comint.el (comint-insert-input): Doc fix.
21803 * Makefile.in (ELCFILES): Fix typo in previous change.
21805 2009-06-23 Miles Bader <miles@gnu.org>
21807 * cus-start.el: Add entry for `recenter-redisplay'.
21809 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21811 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21812 Add an optional argument for the backend, use it instead of
21813 calling vc-backend.
21814 (vc-mode-line): Add an optional argument for the backend.
21815 Pass the backend to vc-state and vc-working-revision. Move code for
21816 special handling for vc-state being a buffer to ...
21818 * vc-rcs.el (vc-rcs-find-file-hook):
21819 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21821 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21822 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21823 vc-stay-local-p and vc-mode-line calls.
21825 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21826 (vc-cvs-diff, vc-cvs-annotate-command)
21827 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21828 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21829 vc-mode-line calls.
21831 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21833 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21834 backend when calling vc-mode-line.
21835 (vc-register): Do not create a closure for calling the vc register
21836 function, call it directly.
21838 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21840 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21841 to make it obvious item can be clicked.
21843 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21845 2009-06-23 Kenichi Handa <handa@m17n.org>
21847 * language/korea-util.el (korean-key-bindings): Change the binding
21848 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21851 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21853 Sync with Tramp 2.1.16.
21855 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21857 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21858 when a loading of a package fails. Completion function for rsync
21859 is `tramp-completion-function-alist-ssh'.
21860 (all): Replace all calls of `split-string' and
21861 `tramp-split-string' by `tramp-compat-split-string'.
21862 (tramp-default-method): Use `tramp-compat-process-running-p'.
21863 (tramp-default-proxies-alist): Allow also Lisp forms.
21864 (tramp-remote-path): Add choice "Private Directories".
21865 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21866 (tramp-domain-regexp): Allow also "-", "_" and ".".
21867 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21868 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21869 (tramp-debug-message): Insert header line in debug buffer.
21870 (tramp-handle-directory-files-and-attributes-with-stat):
21871 Care about filenames with spaces, or starting with "-".
21872 (tramp-handle-dired-uncache): New defun.
21873 (tramp-handle-insert-directory): Don't flush the directory from
21874 cache, this is handled by `dired-uncache' now.
21875 (tramp-handle-insert-file-contents): Improve error handling.
21876 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21877 Quote `tramp-end-of-output'.
21878 (tramp-action-password): Improve trace message.
21879 (tramp-check-for-regexp): Both echoes must be present, before removing.
21880 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21881 (tramp-compute-multi-hops): Eval cons cells of
21882 `tramp-default-proxies-alist'.
21883 (tramp-maybe-open-connection): Use the same command pattern for
21884 first hop and further hops.
21885 (tramp-wait-for-output): Remove handling of newlines.
21886 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21887 (tramp-split-string): Remove function. It is handled in
21890 * net/tramp-cmds.el (tramp-bug):
21891 Recommend `tramp-cleanup-all-connections' in the bug mail.
21893 * net/tramp-compat.el (tramp-compat-split-string)
21894 (tramp-compat-process-running-p): New defuns.
21896 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21897 for `dired-uncache'.
21899 * net/tramp-gvfs.el: New package.
21901 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21902 Add handler for `dired-uncache'.
21903 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21905 * net/trampver.el: Update release number. Make version check fit
21908 2009-06-22 Jim Meyering <meyering@redhat.com>
21910 Automatically handle .xz suffix (XZ-compressed files), too.
21911 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21912 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21914 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21915 Nick Roberts <nickrob@snap.net.nz>
21917 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21918 repository (http://sphinx.net.ru/hg/gdb-mi/).
21920 2009-06-22 Glenn Morris <rgm@gnu.org>
21922 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21923 `mode' and `eval' entries. (Bug#3430)
21925 * Makefile.in (ELCFILES): Add fadr.elc.
21927 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21928 differing behavior of \n and ^ in strings. (Bug#3385)
21930 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21932 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21934 (lisp-indent-function): Make it a defcustom.
21936 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21938 * progmodes/gdb-ui.el: Replace with ...
21939 * progmodes/gdb-mi.el: ... this file.
21940 * progmodes/gud.el: Modify for gdb-mi.el.
21942 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21944 * fadr.el: New file.
21946 See ChangeLog.14 for earlier changes.
21948 ;; Local Variables:
21952 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21954 This file is part of GNU Emacs.
21956 GNU Emacs is free software: you can redistribute it and/or modify
21957 it under the terms of the GNU General Public License as published by
21958 the Free Software Foundation, either version 3 of the License, or
21959 (at your option) any later version.
21961 GNU Emacs is distributed in the hope that it will be useful,
21962 but WITHOUT ANY WARRANTY; without even the implied warranty of
21963 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21964 GNU General Public License for more details.
21966 You should have received a copy of the GNU General Public License
21967 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.