1 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
3 * calc/calc-units.el (math-logunits-quant): Add support for
6 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
8 * allout.el (allout-after-copy-or-kill-hook): New hook for
9 extension-specific processing of killed text.
10 (allout-mode): Include new allout-after-copy-or-kill-hook among
12 (allout-kill-line) (allout-kill-topic): Ensure that processing
13 after kill happens even if barf-if-buffer-read-only is raised.
14 Include new allout-after-copy-or-kill-hook among that subsequent
16 (allout-deannotate-hidden): Actually remove the annotation text
19 * allout.el (allout-listify-exposed): Copy text sans text properties.
21 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
23 * net/dbus.el (dbus-list-activatable-names): Add optional argument
26 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
30 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
32 * calc/calc.el (calc-logunits-field-reference) Renamed from
33 `calc-default-field-reference-level'.
34 (calc-logunits-power-reference): Renamed from
35 `calc-default-power-reference-level'
37 * calc/calc-units.el (math-logunits-quant): Renamed from
39 (math-logunits-plus): Renamed from math-logcombine.
40 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
41 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
42 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
44 (calcFunc-fieldquant): Renamed from `calcFunc-fieldlevel'.
45 (calcFunc-powerquant): Renamed from `calcFunc-powerlevel'.
46 (calc-logunits-quantity): Renamed from `calc-level'.
47 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
48 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
49 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
50 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
51 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
54 * calc/calc-help.el (calc-u-prefix-help): Removed "L" reference.
55 (calc-ul-prefix-help): Remove.
56 (calc-l-prefix-help): New function.
57 (calc-full-help): Add reference to `calc-l-prefix-help'.
59 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
61 * calc/README: Mention logarithmic units.
63 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
65 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
66 non-ASCII characters (Bug#7925).
68 2011-02-05 Glenn Morris <rgm@gnu.org>
70 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
72 * calendar/diary-lib.el (diary-font-lock-keywords):
73 Tweak diary-time-regexp match. (Bug#7891)
75 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
76 (f90-mode): Use it for mode's `find-tag-default-function' property.
78 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
80 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
82 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
84 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
87 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
89 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
90 font-lock-syntax-table remappings.
91 (sh-here-doc-markers, sh-here-doc-re): Remove.
92 (sh-font-lock-close-heredoc): Remove.
93 (sh-syntax-propertize-here-doc): New function.
94 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
95 instead of the sh-here-doc-re.
96 (sh-font-lock-paren): Don't do anything in comments or strings.
97 Handle line continuations. Accept a few more chars.
98 Don't rely on the font-lock-syntax-table remappings.
99 `esac' is not a valid pattern.
100 (sh-syntax-propertize-function): Handle here-docs differently, so we
101 don't bother syntax-propertizing the insides.
103 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
104 Handle new bashisms ";&" and ";;&" (bug#7947).
106 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
108 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
109 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
111 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
113 * net/tramp.el (tramp-postfix-method-format)
114 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
115 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
116 (tramp-postfix-user-regexp, tramp-prefix-port-format)
117 (tramp-prefix-port-regexp, tramp-postfix-host-format)
118 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
121 2011-02-04 Sam Steingold <sds@gnu.org>
123 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
125 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
127 * international/mule-util.el (with-coding-priority): Doc fix.
129 2011-02-04 Eli Zaretskii <eliz@gnu.org>
131 * arc-mode.el (archive-mode-map): Fix a typo in last change.
133 2011-02-03 Sam Steingold <sds@gnu.org>
135 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
136 Do not error out when `func' is nil.
138 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
140 * net/tramp-sh.el (tramp-remote-path): Add default settings for
141 `tramp-default-remote-path' to the docstring.
142 (tramp-get-remote-path): Suppress error message when `getconf
145 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
147 2011-02-03 Glenn Morris <rgm@gnu.org>
149 * vc/vc-hg.el (vc-hg-command): Doc fix.
151 * term/w32-win.el (libpng-version): Declare for compiler.
153 * msb.el: No need to load dired while compiling.
155 * emacs-lisp/elint.el (elint-standard-variables):
156 Remove a couple of built-ins that now have doc-strings.
158 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
159 `require' is automatically `eval-and-compile'd.
161 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
162 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
164 * strokes.el (strokes-fill-current-buffer-with-whitespace):
165 Move definition before use.
166 (strokes-report-bug): Make it obsolete.
168 2011-02-02 Sam Steingold <sds@gnu.org>
170 * apropos.el (apropos-print): Now that `apropos-mode' inherits
171 from `special-mode', entering it makes the buffer read-only, so
172 call it only when everything has been already inserted.
173 * emacs-lisp/ert.el (ert--setup-results-buffer)
174 (ert-results-pop-to-backtrace-for-test-at-point)
175 (ert-results-pop-to-messages-for-test-at-point)
176 (ert-results-pop-to-timings): Ditto.
177 * emacs-lisp/package.el (package--list-packages): Ditto.
178 * play/solitaire.el (solitaire): Ditto.
180 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
182 * progmodes/compile.el: Make all faces inherit.
183 (compilation-warning): Inherit from font-lock-variable-name-face.
184 (compilation-info): Inherit from font-lock-type-face.
185 (compilation-line-number): Reassign to font-lock-keyword-face.
186 (compilation-column-number): Reassign to font-lock-doc-face.
187 (compilation-leave-directory-face): Reassign to
188 font-lock-builtin-face.
190 2011-02-02 Eli Zaretskii <eliz@gnu.org>
192 * dired.el (dired-insert-directory): Don't invoke `ls' when
193 ls-lisp.el is used to emulate it.
195 2011-02-01 Julien Danjou <julien@danjou.info>
197 * color.el (color-gradient): Add a color-gradient function.
199 2011-02-01 Sam Steingold <sds@gnu.org>
201 * simple.el (special-mode-map): Bind "h" to `describe-mode';
202 bind "z" to `kill-this-buffer'.
203 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
204 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
205 (apropos-mode): Inherit from `special-mode'.
206 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
207 * bookmark.el (bookmark-bmenu-mode): Define using
208 `define-derived-mode' inheriting from `special-mode'.
209 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
210 * image-mode.el (image-mode-map): Ditto.
211 * replace.el (occur-mode): Define using
212 `define-derived-mode' inheriting from `special-mode'.
213 * tar-mode.el (tar-mode): Inherit from `special-mode'.
214 * calendar/diary-lib.el (diary-fancy-display-mode):
215 Inherit from `special-mode-map'.
216 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
217 Inherit from `special-mode'.
218 * emacs-lisp/package.el (package-menu-mode-map): Copy from
220 (package-menu-mode): Define using `define-derived-mode'
221 inheriting from `special-mode'.
222 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
223 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
224 (xesam-mode-map): Define separately.
225 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
226 * progmodes/compile.el (compilation-minor-mode-map)
227 (compilation-mode-map): Inherit from `special-mode-map'.
228 * vc/diff-mode.el (diff-mode-shared-map):
229 Inherit from `special-mode-map'.
230 * vc/log-view.el (log-view-mode-map): Add a comment.
232 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
234 * custom.el (load-theme): Define return value. Drop use of
235 unsafep; call custom-theme-load-confirm for non-known-safe themes.
236 (custom-theme-load-confirm): Scroll in the correct window.
237 (custom-enabled-themes): Add custom-safe-themes to :set-after.
239 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
240 checkbox if load-theme fails.
242 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
244 * progmodes/compile.el (compilation-next-error): Check there's
245 a message before using it (bug#7941).
247 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
249 * calc/calc-mtx.el (math-lud-pivot-check): New function.
250 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
253 2011-01-31 Alan Mackenzie <acm@muc.de>
255 * progmodes/cc-cmds.el (c-forward-over-illiterals):
256 Continue parsing if we encounter a naked # (Bug#7595).
257 (c-beginning-of-statement): Avoid loop in locating the beginning
260 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
262 * files.el (copy-directory): Fix arguments to recursive call.
264 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
266 * files.el (copy-directory): If destination is an existing
267 directory, copy into a subdirectory there.
269 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
271 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
274 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
276 * image-dired.el (image-dired-mouse-display-image): No-op if no
277 file is found (Bug#7817).
279 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
281 2011-01-31 Kenichi Handa <handa@m17n.org>
283 * international/quail.el (quail-keyboard-layout-alist):
284 Remove superfluous SPC for "pc105-uk" (bug#7927).
286 2011-01-31 Glenn Morris <rgm@gnu.org>
288 * msb.el (msb-menu-bar-update-buffers): Update for changed
289 argument handling of menu-bar-select-frame. (Bug#7902)
291 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
293 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
294 to the recursion depth (Bug#7722).
296 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
298 * term/ns-win.el (ns-find-file): Expand ns-input-file with
299 command-line-default-directory (Bug#7872).
301 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
303 * progmodes/compile.el (compilation--flush-directory-cache):
304 New function, extracted from compilation--remove-properties.
305 (compilation--remove-properties, compilation--parse-region): Use it.
306 (compilation--previous-directory): Handle one more case.
307 (compilation-enable-debug-messages): Remove.
308 (compilation-parse-errors, compilation--flush-parse): Just remove the
309 left over debug messages.
311 2011-01-31 Sam Steingold <sds@gnu.org>
313 * progmodes/compile.el (compilation-enable-debug-messages):
314 Add a variable to make the parsing messages introduced in
315 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
316 (compilation-parse-errors, compilation--flush-parse): Use it.
318 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
320 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
321 (rcirc-nick-completion-format): New defcustom.
322 (rcirc-complete): Use it.
324 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
326 * net/rcirc.el: Clean log filenames (Bug#7933).
327 (rcirc-log-write): Use convert-standard-filename.
328 (rcirc-log-filename-function): Documentation updates.
330 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
332 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
333 Check report-emacs-bug-can-use-osx-open and use that if t.
334 (report-emacs-bug-can-use-osx-open): New function.
335 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
336 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
338 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
340 * vc/vc-dispatcher.el (vc-set-async-update): New function for
341 updating Dired or VC-dir buffers after async command completes.
343 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
344 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
346 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
347 completions if it exists. Use vc-set-async-update.
348 (vc-git-pull): Use vc-set-async-update.
350 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
351 read-shell-command. Use vc-set-async-update.
352 (vc-hg-merge-branch): Use vc-set-async-update.
354 2011-01-29 Daiki Ueno <ueno@unixuser.org>
356 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
357 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
360 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
362 * progmodes/compile.el: Avoid an N² behavior in grep.
363 (compilation--previous-directory): New fun.
364 (compilation--previous-directory-cache): New var.
365 (compilation--remove-properties): Flush it.
366 (compilation-directory-properties, compilation-error-properties):
367 Use the new fun to speed up looking for the current directory.
369 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
371 * vc/vc-hg.el (vc-hg-history): New var.
372 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
373 (vc-hg-merge-branch): New function.
375 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
376 the other way around.
378 * vc/vc-git.el (vc-git-branches, vc-git-pull)
379 (vc-git-merge-branch): New functions.
380 (vc-git-history): New var.
382 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
384 * vc/vc-dispatcher.el (vc-do-async-command): New function.
386 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
389 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
392 2011-01-28 Leo <sdl.web@gmail.com>
394 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
395 highlighting to the "this function is advised" message.
397 * help-mode.el (help-mode-finish): Apply highlighting here, to
398 avoid clobbering by substitute-command-keys (Bug#6304).
400 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
402 * woman.el (woman0-roff-buffer): Process roff escape sequences
403 occurring prior to the first request (Bug#7843).
405 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
407 * progmodes/compile.el: Don't use font-lock any more.
408 (compilation-error-regexp-alist-alist): Change handling of makepp
409 so it preserves the warning/error distinction on subsequent files.
410 Simplify various rules.
411 (compilation-directory-properties): Use font-lock-face.
412 Add a compilation-message property.
413 (compilation-internal-error-properties): Use font-lock-face.
414 Don't set the compilation-debug property here.
415 (compilation--put-prop, compilation--remove-properties)
416 (compilation--parse-region, compilation--ensure-parse)
417 (compilation--ensure-parse): New functions.
418 (compilation-parse-errors): New function, largely inspired of
419 compilation-mode-font-lock-keywords. Set compilation-debug here.
420 (compilation--parsed): New var.
421 (compilation--flush-parse): Use compilation--ensure-parse.
422 (compilation-start): Don't call font-lock.
423 (compilation-turn-on-font-lock): Remove.
424 (compilation-setup): Don't set font-lock-extra-managed-props not change
425 other font-lock settings, other than keywords.
426 Don't activate font-lock-mode.
427 Set change-major-mode-hook and before-change-functions.
428 (compilation--unsetup): Remove properties and hooks.
429 (compilation-next-single-property-change): New function.
430 (compilation-next-error): Use it to parse when needed.
431 (compile-goto-error): Parse buffer as needed.
432 (compilation--compat-error-properties): Don't need a dummy `face'
435 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
437 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
438 (compilation-process-setup-function): Fix docstring's false promises.
439 (compilation-error-regexp-alist-alist): Catch omake's continuous
440 recompilation message and avoid reuse of old markers.
441 (compilation-parse-errors-function): Declare obsolete.
442 (compilation-buffer-modtime): Remove.
443 (compilation--make-cdrloc, compilation--loc->col)
444 (compilation--loc->line, compilation--loc->file-struct)
445 (compilation--loc->marker, compilation--loc->visited)
446 (compilation--make-file-struct, compilation--file-struct->file-spec)
447 (compilation--file-struct->formats)
448 (compilation--file-struct->loc-tree): New macros. Use them.
449 (compilation--message): New defstruct. Use them.
450 (compilation-next-error-function): Don't mess with timestamps to try
451 and guess when to reparse.
453 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
455 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
456 (tex-old-error-file-name): New function,
457 extracted from tex-compilation-parse-errors.
458 (tex-compilation-parse-errors): Remove.
459 (tex-error-regexp-alist): New var.
460 (tex-shell): Use it to avoid compilation-parse-errors-function.
462 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
463 (grep-mode-font-lock-keywords): Remove regexp that seems like
464 a left-over from before we used compile.el.
465 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
466 modifying the buffer within with-silent-modifications.
468 * progmodes/compile.el: Cleanup text-properties namespace by using
469 `compilation-message' instead of `message', `compilation-directory'
470 instead of `directory', and `compilation-debug' instead of `debug'.
471 (compilation-last-buffer, compilation-parsing-end)
472 (compilation-error-list, compilation-old-error-list): Move to the
473 compatibility part of the code.
474 (compilation-error-properties): If `file' is a function, let it return
476 (compilation-mode-font-lock-keywords): Be more conservative with the
477 omake "^ *" pattern prefix, to try and minimize the risk of
478 pathologically slow regexp matching.
479 (compilation-start): Use inhibit-read-only.
480 (compilation--unsetup): New function.
481 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
482 (compilation-filter): Minor tweaks.
483 (compilation-next-error-function): Try and avoid abusing variables.
484 (compilation--flush-file-structure): New fun.
485 (compilation-fake-loc): Use it to improve behavior when file is reused.
486 (debug-ignored-errors): Add "Moved past last ...".
487 (compilation--compat-error-properties)
488 (compilation--compat-parse-errors): Rename by doubling the "-".
490 Port features from the previous prolog.el to the new one.
491 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
492 (prolog-program-name, prolog-program-switches, prolog-consult-string)
493 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
494 variable and use a function to compute the value dynamically.
495 (prolog-prompt-regexp): Add regexp for GNU Prolog.
496 (prolog-continued-prompt-regexp): Remove, unused.
497 (prolog-find-value-by-system): Try and use the value of prolog-system
498 in the *prolog* buffer if it helps.
499 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
500 (prolog-zip-on): ..and check prolog-system and version here instead.
501 (prolog-inferior-self-insert-command): New command.
502 (prolog-inferior-mode-map): Use it.
503 (prolog-inferior-error-regexp-alist): New var.
504 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
505 (prolog-input-filter): Use derived-mode-p.
506 (prolog-inferior-guess-flavor): New function.
507 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
508 make-comint to avoid running comint-mode twice.
509 (prolog-inferior-buffer): New fun.
510 (prolog-old-process-region, prolog-old-process-file):
511 Don't call prolog-bsts here...
512 (prolog-build-prolog-command): ...do it here instead.
513 (prolog-old-process-region, prolog-old-process-file):
514 Use compilation-fake-loc and compilation-forget-errors.
515 (prolog-consult-compile-region): Use bolp.
517 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
519 * image-mode.el (image-display-size): Doc fix (Bug#7820).
521 2011-01-27 Sam Steingold <sds@gnu.org>
523 * midnight.el (clean-buffer-list-kill-never-buffer-names):
524 Remove "*server*" which is never created by emacs server.
526 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
528 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
529 there are some diff switches.
531 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
533 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
534 Copy change made to ruby-font-lock-syntactic-keywords.
536 * htmlfontify.el: Make it obey the font-lock-face text property.
537 Miscellaneous cleanup such as:
538 - Don't hide expressions after a closing paren.
539 - Move initial setq into let.
540 - Hoist common parts out of ifs.
541 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
542 (hfy-face-at): Use get-text-property instead.
543 (hfy-prop-invisible-p): Use invisible-p if available.
544 (htmlfontify-manual): Use \\[...].
545 (hfy-html-quote-regex): Use [...].
546 (hfy-combined-face-spec): Simplify.
547 (hfy-compile-face-map): Don't presume point-min==1.
548 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
550 (hfy-text-p): η-reduce.
551 (hfy-tags-for-file): Receive cache-hash directly.
552 (hfy-mark-tag-names): Adjust call.
554 2011-01-27 Glenn Morris <rgm@gnu.org>
556 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
557 (msb-after-load-hook): Remove eval-after-load wackiness.
559 2011-01-25 Sam Steingold <sds@gnu.org>
561 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
562 literal "diff" (important for windows-nt).
564 2011-01-25 Glenn Morris <rgm@gnu.org>
566 * emacs-lisp/copyright.el (copyright-at-end-flag)
567 (copyright-names-regexp): Add safety properties.
568 (copyright-year-ranges): New option.
569 (copyright-find-end): New function, split from copyright-update-year.
570 (copyright-update-year): Use copyright-find-end.
571 (copyright-fix-years): Optionally, convert years to ranges.
572 Handle years continued over comment lines.
573 Do not mess with the fill-prefix.
574 Do not call copyright-update.
575 (copyright-update-directory): Optionally, fix years rather than update.
576 Skip directories. Find files with only safe local vars.
578 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
580 * files.el (file-name-non-special): Only change buffer-file-name after
581 insert-file-contents if it's `visit'ing the file (bug#7854).
583 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
585 * dired.el (dired-revert): Doc fix (Bug#7758).
587 * simple.el (line-move-visual): Doc fix (Bug#7594).
589 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
591 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
592 here-doc which ends with an underscore.
593 (ruby-mode-set-encoding): Skip shebang line always.
594 (ruby-mode-map): Bind C-c C-c to comment-region.
595 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
596 (ruby-forward-sexp): Stop after literal hash key labels.
597 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
600 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
602 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
603 the correct buffer (Bug#7650).
605 2011-01-25 Glenn Morris <rgm@gnu.org>
607 * comint.el (comint-mode): Doc fix. (Bug#7897)
609 * simple.el (do-auto-fill): Give it a doc string.
611 * button.el (make-text-button): Doc fix. (See bug#7881)
613 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
615 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
616 Don't move backward, so as not to fall in an inf-loop (bug#7736).
618 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
619 Handle ?" and friends differently (e.g. don't use backrefs).
621 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
623 * calc/calc.el (calc-default-power-reference-level)
624 (calc-default-field-reference-level): New variables.
625 * calc/calc-units.el (math-standard-units): Add dB and Np.
626 (math-logunits): New variable.
627 (math-extract-logunits, math-logcombine, calcFunc-luplus)
628 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
629 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
631 (math-find-base-units-rec): Add entry for ln(10).
632 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
633 (calc-ul-prefix-help): New function.
634 * calc/calc-ext.el (calc-init-extensions): Autoload new units
635 functions. Add keybindings for new units functions.
637 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
639 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
640 rcirc buffers. (Bug#4940)
642 2011-01-22 Glenn Morris <rgm@gnu.org>
644 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
645 split out from copyright-update-year.
646 (copyright-update): Don't mess with the GPL version if we don't own the
647 copyright. Update license regexp, and remove no longer needed
649 (copyright-fix-years): Use copyright-find-copyright.
651 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
653 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
655 2011-01-22 Jari Aalto <jari.aalto@cante.net>
657 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
658 (lm): Rename to landmark.
659 (lm-test-run): Rename to landmark-test-run.
661 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
663 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
664 "Case sensitive" menu item.
666 2011-01-22 Roland McGrath <roland@frob.com>
668 * comint.el (comint-replace-by-expanded-history-before-point): Fix
669 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
671 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
673 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
675 2011-01-22 Jari Aalto <jari.aalto@cante.net>
677 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
678 Assume foo(bar) is a manpage reference rather than some unquoted
681 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
683 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
684 Suggested by Flo <sensorflo@gmail.com>.
686 2011-01-22 Glenn Morris <rgm@gnu.org>
688 * progmodes/compile.el (compilation-error-regexp-alist):
689 Fix custom type. (Bug#7812)
691 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
693 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
694 allout-number-siblings, in keeping with what obtained due to
695 (now-defunct) allout-keybindings-list. Ditch repeat binding to
697 (allout-before-change-handler): Better expose spots affected by
700 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
702 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
704 2011-01-22 Phil Hagelberg <phil@evri.com>
706 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
707 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
708 (pcmpl-ssh-config-hosts): New function.
709 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
710 pcmpl-ssh-known-hosts.
712 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
714 * calc/calc-undo.el (calc-undo): Autoload it.
715 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
716 and autoload for `calc-undo'.
717 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
719 * calc/calc-graph.el:
720 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
722 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
724 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
725 keybindings to `calc-undo'.
727 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
729 Don't mess with *temp*.
730 * obsolete/spell.el: Move from textmodes/spell.el.
732 * term.el (term-read-input-ring):
733 * startup.el (display-startup-echo-area-message):
734 * progmodes/antlr-mode.el (antlr-directory-dependencies):
735 * comint.el (comint-read-input-ring): Use with-temp-buffer.
736 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
739 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
741 * allout.el: (allout-institute-keymap): Use fset instead of
744 (allout-hotspot-key-handler): Check for non-control-modified
745 bindings for hotspot characters if there are no control-modified
748 * allout.el: Summary - migrate to defining allout mode using
749 define-minor-mode instead of defun. Significantly clean-up
750 internal keymap provisions, refactoring and, in the process,
751 removing a lot of accumulated cruft.
753 allout-mode-map is now a keymap by virtue of being a defalias to
754 allout-mode-map-value, which contains the actual keymap structure.
756 (allout-mode): Use define-minor-mode rather than defun.
757 Remove now-unnecessary minor-mode setup activities from the body.
758 Specify :keymap as allout-mode-map so the minor-mode-map-alist
759 entry will be '(allout-mode . allout-mode-map) - see
760 allout-mode-map-value, below. Adjust docstring to track changes.
761 (allout-minor-mode): Remove this defalias, now that we're using
763 (allout-mode-map): Set value to be 'allout-mode-map. The actual
764 keymap is allout-mode-map-value, via defalias.
765 (allout-mode-map-value): The variable holding the actual mode
766 keymap structure, by virtue of defalias from allout-mode-map.
767 (allout-compose-and-institute-keymap): Rename from
768 allout-bind-keys, and including the binding-composition
769 functionality of the former produce-allout-mode-map and
770 allout-setup-mode-map.
771 (allout-institute-keymap): Take over the "setup" part of the former
772 allout-setup-mode-map. Reassign allout-mode-map-value value and
774 (allout-command-prefix) (allout-prefixed-keybindings)
775 (allout-unprefixed-keybindings):
776 Use allout-compose-and-institute-keymap to process the bindings.
777 (allout-unprefixed-keybindings): Remove extraneous '?' question
779 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
780 user can customize if they want to use that binding.
781 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
782 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
783 elided that, previously, instead of the one for \C-h.)
784 (allout-hotspot-key-handler): Remove attempt to resolve the key
785 through the literal key-string lookup on allout-keybindings-list.
786 That probably hasn't worked for a Long Time, and removal of
787 allout-keybindings-list further simplifies the keybindings
789 (allout-pre-command-business): Use allout-mode-map-value instead
791 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
792 the bindings if they want to use a keybinding having a trailing
793 \C-h. No deprecation needed since this feature was never in a
795 (allout-keybindings-list): Remove. It's not been useful for a
796 while. (See allout-hotspot-key-handler changes, above.)
797 (produce-allout-mode-map): Remove. Consolidate into
798 allout-compose-and-institute-keymap.
799 (allout-mode-map-adjustments): Remove. No longer necessary with
800 removal of allout-preempt-trailing-ctrl-h.
801 (allout-setup-mode-map): Remove. Consolidate into
802 allout-compose-and-institute-keymap and allout-institute-keymap.
804 2011-01-20 Glenn Morris <rgm@gnu.org>
806 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
808 * simple.el (read-expression-history): Remove, it's in minibuf.c.
810 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
812 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
814 * files.el (find-alternate-file, basic-save-buffer)
815 (basic-save-buffer-2, revert-buffer, recover-file)
816 (kill-buffer-ask, abort-if-file-too-large)
817 (set-visited-file-name, write-file, backup-buffer)
818 (basic-save-buffer, save-some-buffers):
819 * dired-aux.el (dired-compress-file): Callers changed.
821 2011-01-19 Glenn Morris <rgm@gnu.org>
823 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
824 Also check the property status. (Bug#7861)
826 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
828 * net/tramp.el (tramp-debug-message): Extend function exclude
829 list. Use `regexp-opt'.
831 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
833 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
834 highlighting doesn't spill over subsequent lines.
836 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
837 keymap expression. Improve docstring.
839 * electric.el (electric-indent-post-self-insert-function):
840 Don't auto-indent for indent-to-left-margin, it's too often
843 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
845 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
846 spaces if the frame was resized, so that the full visible buffer
847 serves as canvas for strokes.
849 2011-01-16 Glenn Morris <rgm@gnu.org>
851 * info-xref.el (info-xref-docstrings): Replace cl function.
852 Also skip directories.
854 2011-01-16 Kevin Ryde <user42@zip.com.au>
856 * info-xref.el: Version 3.
857 (info-xref-check, info-xref-check-all): Move commentary details
858 into docstrings for better visibility.
859 Use compilation-mode for the results buffer.
860 (info-xref-output, info-xref-output-error, info-xref-with-output)
861 (info-xref-filename, info-xref-in-progress):
862 New internals for this.
863 (info-xref-check-list, info-xref-check-buffer)
864 (info-xref-check-all-custom): Use those.
865 (info-xref-output-buffer): Rename from info-xref-results-buffer.
866 (info-xref-output-heading): Rename from info-xref-filename-heading.
867 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
868 (info-xref-filename-heading): Move to output managing section.
869 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
870 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
871 (info-xref-subfile-p): Move to generic section with those two.
872 (info-xref-check-node): New function split from
873 info-xref-check-buffer, shared by info-xref-docstrings.
874 (info-xref-goto-node-p): Move to a checking section with that func.
875 (info-xref-unavail): New counter.
876 (info-xref-check-node): Use it.
877 (info-xref-with-output): Show count of unavailables at end of output.
878 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
879 symlinks. Exclude .texi files. Exclude Emacs backup files.
880 (info-xref-check-all-custom): Fix quietening viper-mode and
881 gnus-registry-install -- use setq not let so as not to unbind
884 2011-01-16 Juri Linkov <juri@jurta.org>
886 * isearch.el (isearch-abort): Don't quit if search has
887 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
889 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
891 * files.el (backup-buffer): Make last-resort backup file in
894 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
895 make it with permission 700.
897 2011-01-15 Kenichi Handa <handa@m17n.org>
899 * mail/rmailmm.el (rmail-mime-insert-header):
900 Set rmail-mime-coding-system to a cons whose car is the last coding
901 system used to decode the header.
902 (rmail-mime-find-header-encoding): New function.
903 (rmail-mime-insert-decoded-text):
904 Override rmail-mime-coding-system if it is a cons.
905 (rmail-show-mime): If only a header part was decoded, find the
906 coding system while ignoring mm-charset-override-alist.
908 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
910 * subr.el (event-start, event-end): Doc fix (Bug#7826).
912 2011-01-15 Kenichi Handa <handa@m17n.org>
914 * mail/rmailmm.el (rmail-mime-next-item)
915 (rmail-mime-previous-item): Delete them.
916 (rmail-mime-shown-mode): Recursively call for children.
917 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
919 (rmail-mime-raw-mode): Recursively call for children.
920 (rmail-mode-map): Change mapping of tab and backtab to
921 forward-button and backward-button respectively.
922 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
924 (rmail-mime-update-tagline): New function.
925 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
926 body display is changed.
927 (rmail-mime-toggle-button): Rename from rmail-mime-image.
928 (rmail-mime-image): Delete this button type.
929 (rmail-mime-toggle): New button type.
930 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
931 body display is changed. Change the save button label to "Save".
932 Don't process show/hide button here.
933 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
934 the body display is changed. Unconditionally call
935 rmail-mime-insert for children.
936 (rmail-mime-handle): Update `display' vector of the just inserted
938 (rmail-mime-process): If mail-header-parse-content-type returns
939 nil, use "text/plain" as the fallback type.
940 (rmail-mime-insert): For raw-mode, recursively call
941 rmail-mim-insert for children.
942 (rmail-mime): Handle the case that the current buffer is not rmail
943 buffer (e.g. in summary buffer).
945 2011-01-15 Kenichi Handa <handa@m17n.org>
947 * mail/rmailmm.el (rmail-mime-next-item)
948 (rmail-mime-previous-item): Skip the body of a non-multipart
949 entity if a tagline is shown.
951 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
953 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
954 (tmm-prompt): Simplify.
955 (tmm-add-prompt): Remove unused var `win'.
957 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
958 to minor mode which used nil accidentally to mean "turn off".
960 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
962 * net/tramp-sh.el (tramp-find-inline-compress)
963 (tramp-get-inline-coding): Quote command after pipe symbol for
964 local calls under W32. (Bug#6784)
966 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
968 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
969 only when running under W32.
971 2011-01-15 Eli Zaretskii <eliz@gnu.org>
973 * progmodes/grep.el (grep-compute-defaults): Quote the program
974 file name after the pipe symbol in Grep templates. (Bug#6784)
975 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
977 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
979 * buff-menu.el (Buffer-menu-buffer-list): New var.
980 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
981 restricted buffer list is not lost on revert (Bug#7749).
983 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
985 * net/ldap.el (ldap-search-internal): Discard stderr output.
987 2011-01-15 Eli Zaretskii <eliz@gnu.org>
989 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
991 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
993 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
995 2011-01-15 Kenichi Handa <handa@m17n.org>
997 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
998 part as a plain text.
999 (rmail-mime-process-multipart): Set the default content-type to
1000 nil for unknown multipart subtypes (bug#7651).
1002 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1004 * hexl.el (hexl-mode-old-*): Remove.
1005 (hexl-mode--old-var-vals): New var to replace them.
1006 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1007 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1008 Use them to set local vars (bug#7846).
1009 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1010 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1011 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1013 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1014 (smerge-resolve--normalize-re): New var.
1015 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1016 (smerge-resolve): Use them.
1017 * newcomment.el (comment-only-p): New function.
1018 (comment-or-uncomment-region): Use it.
1020 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1022 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1023 table, get the value before switching to the output buffer. (Bug#7733)
1025 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1027 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1029 2011-01-14 Kim F. Storm <storm@cua.dk>
1031 * emulation/cua-base.el (cua--init-keymaps):
1032 Remap exchange-point-and-mark in cua-global-keymap.
1034 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1036 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1039 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1041 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1043 (easy-menu-create-menu, easy-menu-convert-item-1):
1044 Use :label rather than nil for labels. Use `case'.
1045 Add :enable as alias for :active.
1046 (easy-menu-binding): Obey :label.
1048 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1050 Use run-mode-hooks for major mode hooks (bug#513).
1051 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1052 Rename from reftex-toc-map.
1053 (reftex-toc-mode): Use define-derived-mode.
1054 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1055 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1056 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1057 (reftex-select-label-mode, reftex-select-bib-mode):
1058 Use define-derived-mode.
1059 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1060 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1061 Move init into delcaration.
1062 (reftex-index-mode, reftex-index-phrases-mode):
1063 Use define-derived-mode.
1064 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1065 speedbar-syntax-table. Move init into declaration.
1066 (speedbar-mode-map): Rename from speedbar-key-map.
1067 Move init into declaration.
1068 (speedbar-file-key-map): Move init into declaration.
1069 (speedbar-mode): Use define-derived-mode.
1070 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1071 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1072 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1073 (chart-face-list): Move initialization into declaration.
1074 (chart-mode): Use define-derived-mode.
1075 * calculator.el (calculator-mode-map): Move init into declaration.
1076 (calculator-mode): Use define-derived-mode.
1078 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1079 work for nested comments.
1081 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1082 (prolog-use-prolog-tokenizer-flag): Change default when
1083 syntax-propertize can be used.
1084 (prolog-syntax-propertize-function): New var.
1085 (prolog-mode-variables): Move make-local-variable into `set'.
1086 Don't make comment-column local since we don't set it.
1087 Set comment-add (as it was in previous prolog.el). Use dolist.
1088 Set syntax-propertize-function.
1089 (prolog-mode, prolog-inferior-mode):
1090 Call prolog(-inferior)-menu directly, not through the mode-hook.
1091 (prolog-buffer-module, prolog-indent-level)
1092 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1093 (prolog-comment-limits, prolog-goto-comment-column):
1094 Use line-(end|beginning)-position.
1095 (prolog-build-prolog-command): Tighten up regexp.
1096 (prolog-consult-compile): Move make-local-variable into `set'.
1097 (prolog-consult-compile-filter, prolog-goto-next-paren)
1098 (prolog-help-on-predicate, prolog-clause-info)
1099 (prolog-mark-predicate): Don't let+setq.
1100 (prolog-indent-line): Use indent-line-to.
1101 Only call prolog-goto-comment-column if necessary.
1102 (prolog-indent-level): Use bobp.
1103 (prolog-first-pos-on-line): Remove, not used any more.
1104 (prolog-in-string-or-comment): Use syntax-ppss if available.
1105 (prolog-help-on-predicate): Use read-string.
1106 (prolog-goto-predicate-info): Simplify.
1107 (prolog-read-predicate): Use `default' rather than `initial'.
1108 (prolog-temporary-file): Use make-temp-file to close a security hole.
1109 (prolog-toggle-sicstus-sd): New command.
1110 (prolog-electric-underscore, prolog-variables-to-anonymous):
1111 Use dynamic-scoping as it was meant.
1112 (prolog-menu): Move menu definitions to top-level.
1113 Use a toggle-button for Sicstus's source debugger.
1114 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1116 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1117 Move other menu definition to top-level.
1119 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1121 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1122 name. Keep original document's directory as default-directory
1124 (doc-view-initiate-display): Fall back to normal mode when
1125 doc-view-mode cannot be enabled, also when extracting the document
1126 text into a separate buffer (bug#6446).
1128 * simple.el (shell-command): Don't error out if shell command
1129 buffer contains text with non-nil read-only property when erasing
1132 2011-01-13 Kim F. Storm <storm@cua.dk>
1134 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1135 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1136 items when cycling through the matches.
1138 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1140 * dired-x.el (dired-omit-verbose): New defcustom that allows
1141 disabling the omit messages.
1142 (dired-omit-expunge): Use it.
1144 2011-01-13 Christian Ohler <ohler@gnu.org>
1146 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1148 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1150 * font-lock.el (font-lock-verbose): Default to nil.
1152 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1154 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1155 (compose-mail): New arg RETURN-ACTION.
1156 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1158 * mail/sendmail.el (mail-return-action): New var.
1159 (mail-mode): Make it buffer-local.
1160 (mail-bury): Obey it. Move special Rmail window handling to
1162 (mail, mail-setup): New arg RETURN-ACTION.
1163 (sendmail-user-agent-compose): Move from simple.el.
1165 * mail/rmail.el (rmail-mail-return): New function.
1166 (rmail-start-mail): Pass it to compose-mail.
1168 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1170 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1171 menus. Add menu item for customize-themes.
1173 * cus-theme.el (customize-themes):
1174 * emacs-lisp/package.el (package--list-packages):
1175 Use switch-to-buffer.
1177 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1179 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1181 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1183 * progmodes/prolog.el: Fix up coding convention and such.
1184 (prolog-indent-width): Use the same default as in
1185 previous prolog.el rather than tab-width which depends on which buffer
1186 is current when the file is loaded.
1187 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1189 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1190 (prolog-known-systems): Remove.
1191 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1192 Move initialization into declaration.
1193 (prolog-mode-map): Move initialization into declaration.
1194 Remove system-specific mode-map vars, since they referred to the same
1196 (prolog-mode-variables): Obey the user's preference w.r.t
1197 adaptive-fill-mode. Prefer symbol-value to `eval'.
1198 (prolog-mode-keybindings-edit): Add compatibility bindings.
1199 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1200 (mercury-mode-map): New var.
1201 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1202 (prolog-ensure-process, prolog-process-insert-string)
1203 (prolog-consult-compile): Use with-current-buffer.
1204 (prolog-guess-fill-prefix): Simplify data flow.
1205 (prolog-replace-in-string): New function to use instead of
1207 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1208 (prolog-uncomment-region): Use `uncomment-region' when available.
1209 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1210 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1211 of int-to-char and char-to-int.
1212 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1214 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1216 * progmodes/prolog.el: Replace by a whole new file.
1218 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1220 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1221 (declare-function, undefined, insert-for-yank)
1222 (replace-regexp-in-string): Follow checkdoc's recommendations.
1224 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1226 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1227 refreshing the diary buffer.
1229 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1231 * allout.el: Add 2011 to the file copyright.
1232 (allout-encrypt-string): Prevent encryption from adding an extra
1233 newline at the end of the topic body.
1234 (allout-version): Increment to 2.3.
1236 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1238 * net/dbus.el (dbus-unregister-service): Complete doc.
1239 Fix call of dbus-error signal.
1240 (dbus-register-property): Use `dont-register' keyword.
1242 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1244 * net/dbus.el (dbus-unregister-service): Translate returned
1245 integer into a symbol.
1246 (dbus-register-property): Use `dbus-register-service' to do the
1249 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1251 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1252 Suggested by Joakim Verona.
1254 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1256 * wid-edit.el (visibility): Replace :on-image and :off-image
1257 widget properties with :on-glyph and :off-glyph, for consistency
1258 with the `visibility' widget.
1259 (widget-toggle-value-create, widget-visibility-value-create):
1260 Merge into a single function `widget-toggle-value-create'.
1262 * cus-edit.el (custom-variable-value-create, custom-visibility)
1263 (custom-face-edit-value-create, custom-face-value-create):
1264 Replace :on-image and :off-image widget properties with :on-glyph and
1265 :off-glyph, for consistency with the `visibility' widget.
1267 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1269 * net/ldap.el (ldap-search-internal): Don't use eval.
1271 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1273 * subr.el (read-char-choice): Use read-key.
1275 * custom.el (custom-safe-themes): Rename from
1276 custom-safe-theme-files. Add :risky tag.
1277 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1278 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1280 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1282 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1283 from Search and add a label to Undo.
1285 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1286 inappropriate buttons and adding :vert-only tags.
1288 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1289 removal of Help tool-bar button. Remove Undo button for space.
1291 * info.el (info-tool-bar-map): Add :vert-only tags.
1293 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1295 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1296 image backend support. Either of them is fine.
1298 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1300 * subr.el (y-or-n-p): Doc fix.
1302 * custom.el (custom-safe-theme-files): New defcustom.
1303 (custom-theme-load-confirm): New function.
1304 (load-theme): Load theme using `load', confirming with
1305 custom-theme-load-confirm if necessary.
1307 * subr.el (read-char-choice): New function, factored out from
1308 dired-query and hack-local-variables-confirm.
1310 * dired-aux.el (dired-query):
1311 * files.el (hack-local-variables-confirm): Use it.
1313 * dired-aux.el (dired-compress-file):
1314 * files.el (abort-if-file-too-large, find-alternate-file)
1315 (set-visited-file-name, write-file, backup-buffer)
1316 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1317 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1318 Use new format string args for y-or-n-p and yes-or-no-p.
1320 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1322 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1323 [gcc-include]: Tighten file name match, add match for column
1325 [gnu]: Remove unused group.
1327 2011-01-08 Glenn Morris <rgm@gnu.org>
1329 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1331 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1333 2011-01-07 Sam Steingold <sds@gnu.org>
1335 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1336 the `explicit-shell-file-name' because that is the
1337 non-interactive shell.
1339 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1341 * subr.el (y-or-n-p): Accept format string args.
1343 2011-01-07 Glenn Morris <rgm@gnu.org>
1345 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1347 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1349 * allout.el (allout-back-to-current-heading): Ensure return to
1350 the visible containing topic, rather than a collapsed one.
1351 (allout-view-change-hook): Remove hook that was deprecated long ago.
1352 (allout-exposure-change-hook): Remove documentation remarks
1353 concerning removed allout-view-change-hook.
1354 (allout-flag-region): Remove invocation of and documentation
1355 remarks concerning allout-view-change-hook.
1357 2011-01-06 Glenn Morris <rgm@gnu.org>
1359 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1360 (vc-bzr-annotate-extract-revision-at-line):
1361 Handle authors with embedded spaces. (Bug#7792)
1363 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1365 * doc-view.el (doc-view-image-width): New variable.
1366 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1367 backend for PNG images, and do dynamic rescaling instead of
1368 reconverting the whole doc.
1370 2011-01-05 Glenn Morris <rgm@gnu.org>
1372 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1374 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1376 * allout.el: Reconcile with changes in line movement behavior for
1377 long text lines that cross more than a single physical window
1378 line, ie when truncate-lines is nil.
1379 (allout-next-visible-heading): Provide for change in line-move
1380 behavior on long lines when truncate-lines is nil. In that case,
1381 line-move can wind up on the same textual line when it moves to
1382 the next window line, and moving to the bullet position after the
1383 move yields zero advancement. Add logic to detect and compensate
1384 for the lack of progress.
1385 (allout-current-topic-collapsed-p): move-end-of-line respect for
1386 field boundaries is different when operating with body lines
1387 shorter than window width versus ones greater than window width,
1388 which can yield false negatives in this function. Avoid
1389 difference by applying move-end-of-line while field-text-motion is
1392 2011-01-04 Glenn Morris <rgm@gnu.org>
1394 * textmodes/rst.el (rst-compile-toolsets):
1395 Add pdf and s5 to option alist.
1397 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1399 * net/dbus.el (dbus-register-property): Add optional parameter
1400 dont-register-service. Updated docstring accordingly.
1402 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1404 * textmodes/rst.el (rst-compile-pdf-preview)
1405 (rst-compile-slides-preview): Remove extra line.
1407 2011-01-04 Glenn Morris <rgm@gnu.org>
1409 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1410 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1411 default to `prog' without a .py extension.
1412 (rst-compile-pdf-preview, rst-compile-slides-preview):
1413 Use program names from rst-compile-toolsets, rather than hard-coding.
1414 (rst-portable-mark-active-p): Fix presumed typo.
1416 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1418 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1419 libpng versions both before and after 1.4.0. (Bug#7716)
1421 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1423 * time.el (display-time-mode): Mention display-time-interval in
1424 the doc string. (Bug#7713)
1426 2011-01-02 Kenichi Handa <handa@m17n.org>
1428 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1429 condition-case and return an error message string if something
1431 (rmail-show-mime): Adjust for the above change. Insert the
1432 header by rmail-mime-insert-header.
1434 2011-01-02 Kenichi Handa <handa@m17n.org>
1436 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1437 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1438 (rmail-mime-mbox-buffer)
1439 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1440 (rmail-mime-entity): Argument changed. All codes handling an
1441 entity object are changed.
1442 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1444 (rmail-mime-entity-children, rmail-mime-entity-handler)
1445 (rmail-mime-entity-tagline): New functions.
1446 (rmail-mime-message-p): New function.
1447 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1448 (rmail-mime-entity-segment, rmail-mime-next-item)
1449 (rmail-mime-previous-item, rmail-mime-shown-mode)
1450 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1451 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1452 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1454 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1455 (rmail-mime-insert-decoded-text): New function.
1456 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1457 (rmail-mime-insert-image): Argument changed. Caller changed.
1458 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1459 (rmail-mime-set-bulk-data): New funciton.
1460 (rmail-mime-insert-bulk): Argument changed.
1461 (rmail-mime-multipart-handler): Return t.
1462 (rmail-mime-process-multipart): Argument changed.
1463 Handle "multipart/alternative" here.
1464 (rmail-mime-process): Argument changed.
1465 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1466 (rmail-mime-insert): Argument changed. Handle raw display mode.
1467 (rmail-mime): Argument changed. Handle toggling of raw display
1469 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1470 rmail-mime-view-buffer.
1471 (rmail-insert-mime-forwarded-message): Likewise.
1472 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1474 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1475 non-nil, handle the header in rmail-show-mime-function.
1477 2011-01-02 Leo <sdl.web@gmail.com>
1479 * help-fns.el (describe-variable): Fix previous change.
1481 2011-01-02 Juri Linkov <juri@jurta.org>
1483 * isearch.el (isearch-lazy-highlight-error): New variable.
1484 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1485 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1486 to the current value of `isearch-error' (Bug#7468).
1488 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1490 * help-fns.el (describe-variable): Don't emit trailing whitespace
1493 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1495 * textmodes/rst.el (rst-compile-pdf-preview)
1496 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1498 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1500 * emulation/edt-mapper.el: Override mapping of function keys so
1501 that the later call to read-key-sequence works.
1503 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1505 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1506 Unix EOLs. (Bug#7589)
1508 2011-01-02 Leo <sdl.web@gmail.com>
1510 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1511 if point is not behind eshell-last-output-end (Bug#7585).
1513 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1515 * files.el (file-local-variables-alist):
1516 Make permanent-local (bug#7767).
1518 2011-01-02 Glenn Morris <rgm@gnu.org>
1520 * version.el (emacs-copyright): Set short copyright year to 2011.
1522 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1524 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1525 an existing temp buffer. (Bug#7746)
1527 2011-01-02 Glenn Morris <rgm@gnu.org>
1529 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1530 multiple addresses. (Bug#7760)
1532 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1534 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1535 do-auto-fill if everything points back to allout-auto-fill.
1536 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1537 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1539 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1541 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1544 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1546 * doc-view.el (doc-view-set-doc-type): New function refactored
1548 (doc-view-fallback-mode): New function.
1549 (doc-view-mode): Use it.
1550 (doc-view-mode-maybe): New function that checks if doc-view-mode
1551 can be used and falls back to the next best mode otherwise.
1553 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1554 DVI, OpenDocument, and MS Office files.
1556 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1558 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1560 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1562 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1563 on a copy of auto-mode-alist, because that deletes with side
1566 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1568 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1569 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1570 fallback instead of hard coding fundamental mode.
1572 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1574 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1575 Office) files also for searching.
1577 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1579 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1580 Office) files. Not yet enabled via auto-mode-list.
1581 (doc-view-unoconv-program): New custom variable.
1582 (doc-view-mode-p): Handle new odf document type.
1583 (doc-view-odf->pdf): New conversion function.
1584 (doc-view-convert-current-doc): Call it for odf files.
1585 (doc-view-mode): Recognize newly supported file extensions.
1587 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1589 * net/tramp.el (tramp-default-method-alist)
1590 (tramp-default-user-alist)
1591 (tramp-local-host-regexp, tramp-prefix-domain-format)
1592 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1595 * net/tramp-gvfs.el:
1597 * net/tramp-imap.el:
1599 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1600 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1602 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1604 * saveplace.el (save-place-alist-to-file): Save list sorted and
1605 pretty-printed, so that it is mergeable by line-based text merging,
1606 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1608 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1610 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1611 (allout-mode): Argument "toggle" => "force".
1612 Refine the docstring.
1613 Remove special provisions for reactivation, besides the 'force'
1615 Consolidate layout provisions coce directly into the activation
1616 condition branch, now that we've removed those provisions.
1617 (allout-unload-function): Explicitly activate the mode before
1618 deactivating, if it's initially deactivated.
1619 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1620 warnings for version of function used only where
1621 set-buffer-multibyte is unavailable.
1623 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1625 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1626 are handled by the menu-bar entries. As before, don't use
1627 :visibile to avoid changing the tool-bar.
1629 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1631 * net/secrets.el (secrets-delete-alias): New defun.
1633 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1635 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1636 methods, otherwise ~/.ssh/config would be ignored.
1638 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1640 * emacs-lisp/rx.el: Make it a superset of sregex.
1641 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1642 of args, add `regex' alias.
1643 (rx-info): Add arg to distinguish head and standalone forms.
1644 (rx-check, rx-form): Pass the corresponding arg.
1646 (rx-repeat): Make it work for any number of args.
1647 (rx-syntax): Make it accept syntax chars as is.
1648 * obsolete/sregex.el: Move from emacs-lisp/.
1649 * emacs-lisp/re-builder.el: Remove sregex support.
1650 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1652 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1654 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1655 PRIMARY first, then the clipboard. (Bug#7699)
1657 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1659 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1662 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1664 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1665 .emacs.elc (Bug#7530).
1667 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1668 image spec (Bug#7480).
1670 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1672 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1673 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1676 2010-12-20 Leo <sdl.web@gmail.com>
1678 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1679 always be performed (Bug#7680).
1681 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1683 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1684 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1687 * color.el: Move from gnus/.
1689 * vc/diff.el (diff-better-file-name): Function deleted.
1690 abbreviating file names causes problems with shell-quote-argument.
1691 (diff-no-select): Just use expand-file-name.
1693 * tool-bar.el (tool-bar--image-expression): New function.
1694 (tool-bar-local-item, tool-bar--image-exp): Use it.
1695 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1696 Use :enable instead of :visible to avoid changing the tool-bar
1697 configuration unnecessarily.
1699 * info.el (info-tool-bar-map): Add separators.
1701 2010-12-17 Ken Brown <kbrown@cornell.edu>
1703 * loadup.el: Use version numbers in Cygwin build.
1705 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1707 * ido.el (ido-file-internal): Ask for confirmation before
1708 overwriting an existing file (Bug#1238).
1710 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1712 * tool-bar.el (tool-bar-setup): Add separators.
1714 * menu-bar.el (featurep): Use menu-bar-separator.
1716 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1718 Migrate allout encryption provisions from pgg to epg.
1720 * allout.el (allout-toggle-current-subtree-encryption)
1721 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1722 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1723 for simpler universal argument interpretation.
1724 (allout-toggle-subtree-encryption): Adjust docstring to describe
1725 changed encryption provisions. Change fetch-pass to keymode-cue, for
1726 simpler universal argument interpretation. Remove provisions for
1727 handling key type and identity - they'll all be within
1728 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1729 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1730 for keypair recipients (universal argument > 1) and, in addition,
1731 associating the specified recipients with the outline (universal
1732 argument > 4) using a file local variable setting for
1733 'epa-file-encrypt-to'.
1734 Require epa, for recipients handling.
1735 Change how regexp filtering elements are named.
1736 Describe the problem with caching of incorrect symmetric-decryption
1738 Use the epa-passphrase-callback-function, in case the user is using
1740 Support saving of the selected keypair recipients when invoked with a
1742 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1744 Establish epg-context with armoring and default epg-protocol.
1745 Remove all passphrase cache, verification, and hinting code.
1746 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1747 No longer used, delete.
1748 (allout-mode): Adjust docstring to describe changed encryption
1749 provisions. Describe the problem with caching of incorrect
1750 symmetric-decryption keys.
1751 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1752 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1753 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1754 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1757 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1759 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1760 key selection prompt; make 'silent as default (Bug#7487).
1762 2010-12-16 Leo <sdl.web@gmail.com>
1764 * eshell/eshell.el (eshell-directory-name):
1765 Use locate-user-emacs-file (Bug#7578).
1767 2010-12-15 Glenn Morris <rgm@gnu.org>
1769 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1771 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1772 Scott Evans <gse@antisleep.com>
1774 * rect.el (rectange--default-line-number-format)
1775 (rectangle-number-line-callback): New functions.
1776 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1778 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1780 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1781 Delete unused variables.
1782 (move-to-column-force): Remove function obsolete since 21.2.
1784 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1786 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1787 (tramp-handle-insert-file-contents): Do not set permanent-local
1790 * net/tramp-cache.el (tramp-persistency-file-name):
1791 Use `locate-user-emacs-file' if fboundp.
1793 * net/tramp-sh.el (tramp-methods): Add "ksu".
1794 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1797 2010-12-14 Glenn Morris <rgm@gnu.org>
1799 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1800 (find-tag-marker-ring): Declare.
1801 (js-find-symbol): Require etags.
1803 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1805 (mail-alias-file): Don't autoload. Doc fix.
1806 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1807 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1808 Mark as obsolete, and risky.
1809 (mail-setup): Simplify.
1811 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1812 * mail/sendmail.el (build-mail-aliases): Update autoload.
1814 * dired.el (dired-trivial-filenames, dired-chown-program)
1815 (dired-auto-revert-buffer): Remove autoload cookies.
1816 * mail/sendmail.el (mail-recover-1): Require 'dired.
1818 * dired.el (dired-subdir-switches, dired-chown-program)
1819 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1820 Make into defcustoms.
1821 (dired-chown-program): Simplify initialization.
1823 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1825 2010-12-13 Romain Francoise <romain@orebokech.com>
1827 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1829 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1831 * net/netrc.el (netrc-point-at-eol): Remove the unused
1832 netrc-point-at-old and netrc-bound-and-true-p bindings.
1833 (netrc-parse): Cache the netrc contents.
1835 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1837 * subr.el (posn-col-row): Evaluate header-line-format in the
1838 context of the POSITION window's buffer.
1840 2010-12-13 Glenn Morris <rgm@gnu.org>
1842 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1843 (with-silent-modifications): Doc fixes.
1845 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1847 * net/tramp.el (tramp-action-password, tramp-process-actions):
1848 Revert previous from. Use `save-restriction'.
1850 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1852 * calendar/diary-lib.el (diary-list-sexp-entries):
1853 Handle case of no newline at end of file. (Bug#7536)
1855 2010-12-13 Glenn Morris <rgm@gnu.org>
1857 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1859 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1861 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1862 (tramp-process-actions): Do not widen.
1864 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1865 Protect buffer-modified value. (Bug#7557)
1867 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1869 * log-edit.el (log-edit-changelog-entries):
1870 Regexp quote filename. (Bug#7505)
1872 2010-12-13 Tom Breton <tehom@panix.com>
1874 * cus-edit.el (custom-save-all):
1875 Bind print-length and print-level to nil. (Bug#7581)
1877 2010-12-13 Glenn Morris <rgm@gnu.org>
1879 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1880 Run hooks to update menu contents. (Bug#7586)
1882 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1883 file names, for the sake of MS Windows. (Bug#7588)
1885 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1887 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1888 empty lines without a leading space.
1890 2010-12-13 Leo <sdl.web@gmail.com>
1892 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1893 while mapping over marks (Bug#6810).
1895 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1897 * image-dired.el (image-dired-db-file)
1898 (image-dired-temp-image-file, image-dired-gallery-dir)
1899 (image-dired-temp-rotate-image-file): Set default values relative
1900 to image-dired-dir (Bug#7518).
1902 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1904 * format.el (format-decode-run-method): Pass args FROM and TO, not
1905 point-min and point-max, to shell-command-on-region (Bug#7488).
1907 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1909 * frame.el (blink-cursor-mode): Make default t for ns.
1911 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1913 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1915 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1917 * comint.el (comint-dynamic-list-input-ring)
1918 (comint-dynamic-complete-filename)
1919 (comint-replace-by-expanded-filename)
1920 (comint-dynamic-simple-complete)
1921 (comint-dynamic-list-filename-completions)
1922 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1924 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1927 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1929 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1932 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1934 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1937 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1939 * files.el (file-relative-name): Handle UNC file names on
1940 DOS/Windows. (Bug#4674)
1942 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1944 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1945 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1946 (epg-context-set-passphrase-callback): Mention that the callback
1947 is not called when used with GnuPG 2.x.
1949 2010-12-13 Glenn Morris <rgm@gnu.org>
1951 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1952 Ensure ps-footer-font-size-internal is initialized.
1953 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1955 2010-12-13 Kenichi Handa <handa@m17n.org>
1957 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1958 within condition-case.
1959 (rmail-show-mime): Don't use condition-case.
1960 (rmail-search-mime-message): New function.
1961 (rmail-search-mime-message-function): Set to
1962 rmail-search-mime-message.
1964 2010-12-13 Leo <sdl.web@gmail.com>
1966 * ido.el (ido-common-initialization): New function. (bug#3274)
1968 (ido-completing-read): Call it.
1970 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1972 * bookmark.el (bookmark-name-from-full-record): Rename back to
1973 this original name from `bookmark-name-from-record' reverting part
1974 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1975 As Drew Adams pointed out, there was no reason to cause churn for
1976 third-party callers.
1978 2010-12-12 Alan Mackenzie <acm@muc.de>
1980 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1981 template arglist, check that the current language supports this.
1983 2010-12-11 Glenn Morris <rgm@gnu.org>
1985 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1986 state of the file matches. (Bug#7544)
1987 (vc-bzr-register, vc-bzr-checkin)
1988 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1989 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1991 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1993 2010-12-11 Karel Klíč <kklic@redhat.com>
1995 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1997 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1999 Derive from prog-mode, use derived-mode-p, and fix up various
2000 minor style issues in lisp/progmodes.
2002 * progmodes/vhdl-mode.el (vhdl-mode):
2003 * progmodes/verilog-mode.el (verilog-mode):
2004 * progmodes/vera-mode.el (vera-mode):
2005 * progmodes/sql.el (sql-mode):
2006 * progmodes/scheme.el (scheme-mode):
2007 * progmodes/perl-mode.el (perl-mode):
2008 * progmodes/octave-inf.el (inferior-octave-mode):
2009 * progmodes/autoconf.el (autoconf-mode):
2010 * progmodes/m4-mode.el (m4-mode):
2011 * progmodes/inf-lisp.el (inferior-lisp-mode):
2012 * progmodes/idlwave.el (idlwave-mode):
2013 * progmodes/icon.el (icon-mode):
2014 * progmodes/idlw-help.el (idlwave-help-mode):
2015 * progmodes/dcl-mode.el (dcl-mode):
2016 * progmodes/idlw-shell.el (idlwave-shell-mode):
2017 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2018 (ebrowse-member-mode, ebrowse-electric-position-mode):
2019 Use define-derived-mode.
2021 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2022 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2023 (xscheme-debugger-mode-p, xscheme-send-string-1):
2024 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2025 (tcl-load-file, tcl-restart-with-file):
2026 * progmodes/ps-mode.el (ps-run-running):
2027 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2028 * progmodes/js.el (js--get-all-known-symbols):
2029 * progmodes/inf-lisp.el (inferior-lisp-proc):
2030 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2031 (idlwave-template, idlwave-update-buffer-routine-info)
2032 (idlwave-update-current-buffer-info)
2033 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2034 (idlwave-scan-class-info, idlwave-fix-keywords)
2035 (idlwave-list-buffer-load-path-shadows):
2036 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2037 (idlwave-toolbar-remove):
2038 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2039 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2040 (idlwave-shell-menu-def):
2041 * progmodes/idlw-complete-structtag.el
2042 (idlwave-prepare-structure-tag-completion):
2043 * progmodes/gud.el (gud-set-buffer):
2044 * progmodes/f90.el (f90-backslash-not-special):
2045 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2047 * progmodes/xscheme.el (xscheme-start)
2048 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2049 * progmodes/which-func.el (which-function):
2050 * progmodes/vhdl-mode.el (vhdl-set-style):
2051 * progmodes/verilog-mode.el (verilog-set-compile-command)
2052 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2053 (verilog-set-define, verilog-auto-reeval-locals):
2054 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2055 * progmodes/simula.el (simula-mode):
2056 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2057 * progmodes/python.el (python-check, python-mode):
2058 * progmodes/prolog.el (prolog-mode-variables):
2059 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2060 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2061 * progmodes/delphi.el (delphi-mode):
2062 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2063 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2064 (c-font-lock-init): Move make-local-variable to their setq.
2066 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2067 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2069 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2070 (sh-set-shell): Don't set require-final-newline since it's already done
2072 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2073 since we never set it.
2074 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2075 Use read-string and standard prompt.
2076 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2077 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2078 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2079 (meta-common-mode-map): Rename from meta-mode-map.
2080 Remove C-m binding, which is a user preference, not mode specific.
2081 (meta-common-mode): New major mode; replace meta-common-initialization.
2082 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2083 around with font-lock.
2084 * progmodes/etags.el (select-tags-table-mode):
2085 Derive from special-mode.
2086 * progmodes/octave-mod.el (octave-mode):
2087 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2088 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2089 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2090 Let define-derived-mode do its job.
2091 * progmodes/cpp.el (cpp-edit-mode-map):
2092 Move initialization into declaration.
2093 (cpp-edit-mode): Use define-derived-mode.
2094 (cpp-edit-load): Use derived-mode-p.
2095 * progmodes/mixal-mode.el (mixal-mode):
2096 * progmodes/f90.el (f90-mode):
2097 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2098 require-final-newline since prog-mode does it already.
2099 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2100 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2101 * progmodes/antlr-mode.el: Require cc-mode upfront.
2102 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2104 (antlr-directory-dependencies, antlr-show-makefile-rules):
2106 (antlr-language-option): Don't assume point-min==1.
2107 (antlr-mode): Use define-derived-mode.
2108 * progmodes/ada-mode.el: Use derived-mode-p.
2109 (ada-mode): Use define-derived-mode.
2110 Use hack-local-variables-hook.
2112 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2114 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2115 (texinfo-mode): Don't disable adaptive-fill-mode.
2116 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2117 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2118 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2119 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2120 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2121 (texinfo-insert-@quotation, texinfo-insert-@samp)
2122 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2123 (texinfo-insert-@uref): Use define-skeleton.
2124 (texinfo-insert-@-with-arg): Delete.
2126 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2128 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2129 nil, do quote archive member names. (Bug#6144)
2131 2010-12-10 Glenn Morris <rgm@gnu.org>
2133 * files.el (diff-no-select): Declare.
2135 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2136 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2138 * comint.el (comint-input-ring-file-name): Doc fix.
2140 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2142 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2144 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2145 Use them instead of `nil' and `>', respectively.
2146 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2148 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2149 and menu-bar-positive-p instead of `nil' and `>', respectively.
2152 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2154 * whitespace.el (whitespace-newline-mode): Code fix.
2156 2010-12-09 Glenn Morris <rgm@gnu.org>
2158 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2159 Rename functions without commas, update callers.
2161 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2163 * whitespace.el (whitespace-cleanup-region):
2164 Clean up spaces before tabs. (Bug#7582)
2166 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2168 * bookmark.el: Adjust parameter names and doc strings to resolve
2169 confusion over whether "bookmark" meant a bookmark name or a
2170 bookmark record. Along the way, shorten one function's name for
2171 similar reasons. (Issue #7548)
2172 (bookmark-name-from-record): New name for
2173 `bookmark-name-from-full-record'. All callers changed.
2174 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2175 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2176 (bookmark-get-annotation, bookmark-set-annotation)
2177 (bookmark-get-filename, bookmark-set-filename)
2178 (bookmark-get-position, bookmark-set-position)
2179 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2180 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2181 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2182 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2183 Rename `bookmark' parameter to `bookmark-name-or-record', to
2184 clearly show its role, and shorten or adjust doc strings accordingly.
2185 (bookmark-set-name): Same, and pass the parameter directly to
2186 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2187 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2188 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2189 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2190 and in some cases shorten doc string accordingly.
2191 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2192 and `new-name', and adjust an internal variable to avoid confusion.
2193 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2194 parameter in doc string.
2196 2010-12-08 Glenn Morris <rgm@gnu.org>
2198 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2199 from gdb's history file. (Bug#7575)
2201 * mail/emacsbug.el (report-emacs-bug):
2202 Try to handle some other mail clients.
2204 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2206 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2207 Use string-prefix-p.
2208 (file-name-version-regexp): New var.
2209 (file-name-sans-versions):
2210 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2211 (jka-compr-get-compression-info): Use dolist.
2212 (jka-compr-compression-info-list): Don't bother specifying
2213 version/backup regexps.
2215 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2217 * simple.el (just-one-space): Make argument n default to 1 if
2220 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2222 * electric.el (electric-indent-post-self-insert-function):
2223 Delete trailing newlines even if we don't reindent.
2225 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2227 * minibuffer.el (completion-at-point): Remove the `arg'.
2228 * bindings.el (complete-symbol): Move back from minibuffer.el.
2230 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2232 * simple.el (just-one-space): Delete newlines for negative arg.
2234 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2236 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2237 (ansi-color-filter-apply): Simplify.
2238 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2240 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2242 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2244 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2246 * dired.el (dired-use-ls-dired): Set default to a special
2247 "unspecified" value.
2248 (dired-insert-directory): When called the first time, check
2249 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2251 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2253 * replace.el: Add "collect" feature to occur.
2254 (occur-collect-regexp-history): New var.
2255 (occur-read-primary-args): Return a replace string for nlines,
2257 (occur): Extend the meaning of nlines.
2259 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2261 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2262 (which-func-update-1): Distinguish symbols from strings.
2263 (which-function): Stay within 80 columns.
2265 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2267 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2269 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2271 (comment-style): Use comment-styles's docs to describe values.
2273 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2275 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2276 and ns-show-prefs (Bug#7535).
2278 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2279 bindings (Bug#7535).
2281 2010-12-03 Glenn Morris <rgm@gnu.org>
2283 * nxml/nxml-mode.el: Require rng-nxml.
2284 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2285 Remove declarations.
2287 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2288 * nxml/rng-nxml.el, nxml/rng-valid.el:
2289 Remove leading `*' from defcustom docs.
2291 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2292 (normal-top-level-add-to-load-path, tty-handle-args):
2293 Convert comments to basic doc-strings.
2295 * net/browse-url.el (browse-url-url-at-point)
2296 (browse-url-default-browser): Remove autoload cookies.
2298 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2299 Remove more undefined cl functions.
2301 * vc/diff.el (diff-sentinel): Make new arguments optional.
2302 * ibuf-ext.el (diff-sentinel): Update declaration.
2304 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2306 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2307 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2308 (epg-context-set-passphrase-callback): Mention that the callback
2309 is not called when used with GnuPG 2.x.
2311 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2313 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2314 (tramp-file-name-port): Check also for `tramp-default-port'.
2315 (tramp-get-connection-name): New defun.
2316 (tramp-get-connection-process): Use it.
2317 (tramp-debug-message): Extend function exclude list.
2318 (tramp-drop-volume-letter): Fix doc string.
2320 * net/tramp-cmds.el: Remove solved todo item.
2324 * net/tramp-gvfs.el:
2326 * net/tramp-imap.el:
2327 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2328 and `tramp-default-user-alist', respectively.
2330 * net/tramp-gw.el (tramp-gw-open-connection):
2331 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2333 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2334 `tramp-file-name-port'.
2336 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2337 and "psftp". Exchange "%k" marker with options.
2338 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2339 Compute size of link target.
2340 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2341 `tramp-current-*' up due to gateway methods. Optimze computing of
2342 copy arguments. Use `tramp-get-connection-name' and
2343 `tramp-get-connection-buffer'. Improve debug messages.
2344 (tramp-compute-multi-hops): Remove port determination.
2345 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2347 * net/trampver.el: Update release number.
2349 2010-12-02 Glenn Morris <rgm@gnu.org>
2351 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2352 Avoid infinite loop over windows. (Bug#7492)
2354 * progmodes/flymake.el (flymake-check-file-limit):
2355 Allow nil to mean "no limit".
2356 (flymake-check-patch-master-file-buffer): Update for above change.
2357 Allow a .tex file-name extension to be optional.
2358 (flymake-master-tex-init): Also match \include statements.
2360 2010-11-30 Sam Steingold <sds@gnu.org>
2362 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2363 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2364 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2365 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2366 define-derived-mode').
2367 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2368 users who want to call `nxml-parent-document-set'.
2370 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2372 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2373 stand-alone lines, since that is handled by log-edit-match-to-eoh
2376 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2378 * dired.el (dired-get-filename): Replace backslashes with slashes
2379 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2380 * locate.el (locate-default-make-command-line): Don't consider
2381 drive letter and root directory part of
2382 `directory-listing-before-filename-regexp'. (Bug#7308)
2383 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2385 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2387 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2388 of :smie-open/close-alist.
2389 (smie-next-sexp): Make it accept a "start token" as argument.
2390 (smie-indent-keyword): Be careful not to misidentify tokens that span
2391 more than one line, as empty lines. Add argument `token'.
2393 2010-11-27 Kenichi Handa <handa@m17n.org>
2395 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2396 multipart subtypes, insert all as usual.
2398 * mail/rmail.el: Require rfc2047.
2400 2010-11-27 Kenichi Handa <handa@m17n.org>
2402 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2403 (rmail-mime-entity-disposition)
2404 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2405 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2406 (rmail-mime-save): Handle the case that the button's `data' is a
2408 (rmail-mime-insert-text): New function.
2409 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2410 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2411 (rmail-mime-insert-bulk): New function mostly copied from the old
2412 rmail-mime-bulk-handler.
2413 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2414 (rmail-mime-process-multipart): New function mostly copied from
2415 the old rmail-mime-multipart-handler.
2416 (rmail-mime-show): Just call rmail-mime-process.
2417 (rmail-mime-process): New function mostly copied from the old
2419 (rmail-mime-insert-multipart, rmail-mime-parse)
2420 (rmail-mime-insert, rmail-show-mime)
2421 (rmail-insert-mime-forwarded-message)
2422 (rmail-insert-mime-resent-message): New functions.
2423 (rmail-insert-mime-forwarded-message-function): Set to
2424 rmail-insert-mime-forwarded-message.
2425 (rmail-insert-mime-resent-message-function): Set to
2426 rmail-insert-mime-resent-message.
2428 * mail/rmailsum.el: Require rfc2047.
2429 (rmail-header-summary): Handle multiline Subject: field.
2430 (rmail-summary-line-decoder): Change the default to
2431 rfc2047-decode-string.
2433 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2434 (rmail-mime-feature): Change the default to `rmailmm'.
2435 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2436 (rmail-display-labels): Likewise.
2437 (rmail-show-message-1): Check rmail-enable-mime, and use
2438 rmail-show-mime-function for a MIME message. Decode the headers
2439 according to RFC2047.
2441 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2443 * progmodes/which-func.el (which-func-imenu-joiner-function):
2444 Return a string, as expected.
2445 (which-function-mode): Make sure we stop any previous timer before
2448 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2450 * net/tramp.el (tramp-default-method-alist)
2451 (tramp-default-user-alist, tramp-default-proxies-alist):
2452 Adapt custom options type. (Bug#7445)
2454 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2456 * progmodes/python.el: Add Ipython support (Bug#5390).
2457 (python-shell-prompt-alist)
2458 (python-shell-continuation-prompt-alist): New options.
2459 (python--set-prompt-regexp): New function.
2460 (inferior-python-mode, run-python, python-shell):
2461 Require ansi-color. Use python--set-prompt-regexp to set the comint
2462 prompt based on the Python interpreter.
2463 (python--prompt-regexp): New var.
2464 (python-check-comint-prompt)
2465 (python-comint-output-filter-function): Use it.
2466 (run-python): Use a pipe (Bug#5694).
2468 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2470 * progmodes/python.el (run-python): Doc fix.
2471 (python-keep-current-directory-in-path): New var (Bug#7454).
2473 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2475 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2476 Prompt user before actually printing.
2478 2010-11-27 Glenn Morris <rgm@gnu.org>
2480 * startup.el (package-enable-at-startup, package-initialize):
2481 Remove unnecessary declarations.
2483 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2485 * international/characters.el (glyphless-char-display-control):
2486 Exclude newline and TAB from the c0-control group.
2488 2010-11-27 Glenn Morris <rgm@gnu.org>
2490 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2491 (expand-mail-aliases): Remove unnecessary autoload.
2493 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2495 * shell.el (shell-dir-cookie-re): Move definition before use.
2497 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2498 Replace undefined CL functions.
2500 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2502 * simple.el (prog-mode): Set bidi-paragraph-direction to
2505 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2507 2010-11-26 Glenn Morris <rgm@gnu.org>
2509 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2510 diary-outlook-formats can be sensitive to calendar-date-style.
2511 (diary-outlook-formats): Simplify the default setting.
2512 (diary-from-outlook-internal): Pass subject and body as arguments.
2513 Use dolist rather than dotimes. Don't save the diary buffer.
2514 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2515 Pass subject and body as explicit arguments to the -internal function.
2517 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2519 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2520 parsing them. This makes mailto:...?subject=foo\nbar work.
2522 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2524 * vc/diff.el (diff): Fix last change.
2526 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2528 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2529 (pcase--dontcare-upats): New var.
2530 (pcase-let, pcase-let*): Generate better code.
2531 Accept the same bodies as `let'.
2532 (pcase-dolist): New macro.
2533 (pcase--trivial-upat-p): New helper function.
2534 (pcase--expand): Strip leading "(let nil" if any.
2536 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2538 * mail/mailclient.el (browse-url): Require.
2539 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2540 use the external browser function to send the mail (bug#7469).
2542 * net/browse-url.el (browse-url-browser-function): Revert the
2543 default back to the previous value, since the new value broke
2545 (browse-url-mailto-function): New variable for mailto: URLs.
2546 (browse-url): Use the new variable for mailto: URLs.
2548 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2550 * eshell/esh-cmd.el (eshell-parse-command):
2551 * eshell/esh-arg.el (eshell-parse-arguments):
2552 * eshell/em-script.el (eshell-source-file):
2553 Use with-silent-modifications.
2555 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2557 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2558 for a merge location.
2560 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2561 (vc-bzr-merge-branch): Always prompt.
2562 (vc-bzr-async-command): Use the full branch filename.
2564 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2566 * shell.el (shell): Use current-buffer by default if it's already
2567 a shell mode buffer and its process is dead.
2568 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2570 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2572 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2573 Mention that the keywords should be comma separated.
2575 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2577 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2578 Accept optional prefix arg meaning to prompt for a command.
2579 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2580 prefix arg meaning to prompt for a command.
2581 (vc-pull): Alias for vc-update.
2583 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2584 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2585 (vc-bzr-merge-branch): New functions, implementing merge-branch
2586 and pull operations.
2588 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2590 * Makefile.in: Fix up last merge.
2592 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2593 (diff-sentinel): Get them as arguments instead.
2594 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2595 (diff-file-local-copy, diff-better-file-name): New funs.
2596 (diff-no-select): Rename from diff-into-buffer.
2597 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2598 Prefer closures to buffer-local variables.
2599 (diff): Adjust accordingly.
2600 (diff-buffer-with-file): Move from files.el.
2601 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2602 (diff-buffer-internal): Remove.
2603 (diff-buffer-buffer): Remove.
2604 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2605 the buffer name used, and so as not to mess up windows and frames.
2607 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2609 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2610 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2611 (diff-buffer-with-file): Use it.
2612 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2615 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2617 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2618 \ref's or \pageref's value as default instead of initial input.
2620 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2622 * files.el (backup-by-copying-when-mismatch): The default value is
2625 * startup.el (normal-top-level):
2626 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2627 `backup-by-copying-when-mismatch'.
2629 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2631 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2633 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2635 * progmodes/python.el (python-font-lock-keywords):
2636 Highlight top-level augmented assignments (Bug#6445).
2638 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2640 * term/ns-win.el (ns-right-control-modifier)
2641 (ns-right-command-modifier): Defvar them.
2643 * cus-start.el (all): Add ns-right-control-modifier and
2644 ns-right-command-modifier (Bug#7458).
2646 2010-11-20 Glenn Morris <rgm@gnu.org>
2648 * emacs-lisp/authors.el (authors-ignored-files)
2649 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2651 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2653 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2654 (report-emacs-bug-parse-query-results)
2655 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2656 keywords used for querying the bug database to show them in the
2657 existing bugs buffer.
2659 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2661 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2663 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2665 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2667 * international/characters.el (glyphless-char-display-control):
2668 Make it a defcustom, with update-glyphless-char-display as its
2670 (top level): Don't call update-glyphless-char-display.
2672 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2674 Sync with Tramp 2.2.0.
2676 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2677 `file-remote-p' (due to compatibility).
2679 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2680 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2682 * net/trampver.el: Update release number.
2684 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2686 * faces.el (glyphless-char): Define value for `pc'.
2688 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2690 Implemented a bug querying mechanism.
2691 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2692 (report-emacs-bug-create-existing-bugs-buffer)
2693 (report-emacs-bug-parse-query-results)
2694 (report-emacs-bug-query-existing-bugs): New functions.
2696 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2698 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2699 a \ref{} or \pageref{} macro, then use its value as initial input.
2701 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2703 * calc/calc-units.el (math-build-units-table-buffer):
2704 calc/README: Mention that the TeX specific units won't use the
2705 `tex' prefix in TeX mode.
2706 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2707 prefix for units in TeX mode.
2709 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2711 * simple.el (kill-new, kill-append, kill-region):
2712 * comint.el (comint-kill-region): Make the yank-handler argument
2715 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2717 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2718 that are both openers (resp. closers) and something else.
2719 (smie-grammar): Loosen definition of valid values.
2720 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2721 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2722 (smie-indent-after-keyword): Adjust users.
2723 (smie-indent-keyword): Don't indent empty lines.
2725 * vc-hg.el (vc-hg-program): New var.
2726 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2727 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2729 2010-11-18 Glenn Morris <rgm@gnu.org>
2731 * emacs-lisp/autoload.el (autoload-find-destination): The function
2732 coding-system-eol-type may return non-numeric values. (Bug#7414)
2734 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2736 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2738 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2740 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2742 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2744 * textmodes/picture.el (picture-mouse-set-point): Don't use
2745 posn-col-row; explicitly compute the motion based on the posn at
2746 the window-start (Bug#7390).
2748 2010-11-18 Glenn Morris <rgm@gnu.org>
2750 * novice.el (disabled-command-function):
2751 Fix 2009-11-15 change. (Bug#7384)
2753 2010-11-18 Glenn Morris <rgm@gnu.org>
2755 * calendar/calendar.el (diary-iso-date-forms): Make elements
2756 mutually exclusive. (Bug#7377)
2758 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2760 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2761 when filling the remaining "unconstrained" values.
2763 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2768 * files.el (safe-local-variable-p): Gracefully handle errors.
2770 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2771 Use smie-indent-virtual when indenting relative to an opener.
2772 (smie-rule-separator): Use smie-rule-parent.
2773 (smie-indent-keyword): Consult rules, even for openers at bol.
2774 (smie-indent-comment-close): Try to align closer's content.
2776 2010-11-18 Glenn Morris <rgm@gnu.org>
2778 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2780 2010-11-18 Glenn Morris <rgm@gnu.org>
2782 * printing.el (pr-menu-bind): Doc fix.
2784 * speedbar.el (speedbar-toggle-images): Doc fix.
2786 * progmodes/python.el (python-shell): Doc fix.
2788 * wid-edit.el (widget-field-use-before-change)
2789 (widget-use-overlay-change): Doc fixes.
2791 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2793 Minor cleanup to improve style.
2794 * textmodes/rst.el (rst-update-section): Use point-marker.
2795 (rst-get-decoration): Eliminate unneeded assignment.
2796 (rst-promote-region, rst-straighten-decorations)
2797 (rst-section-tree, rst-adjust): Use point-marker.
2798 (rst-toc-mode-mouse-goto): Avoid setq.
2799 (rst-shift-region-guts, rst-shift-region-left)
2800 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2801 (rst-convert-bullets-to-enumeration): Use copy-marker.
2803 * minibuffer.el (completion-fail-discreetly): New var.
2804 (completion--do-completion): Use it.
2806 * electric.el (electric-pair-pairs): New var.
2807 (electric-pair-post-self-insert-function): Use it.
2808 (electric-layout-post-self-insert-function): Don't insert a before
2809 newline unless it's actually needed.
2811 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * progmodes/python.el (run-python): Explain why we remove the current
2814 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2816 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2818 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2820 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2821 (octave-mode-map): Don't bind ;, SPC, and LF.
2822 (octave-auto-indent, octave-auto-newline): Remove.
2823 (electric-layout-rules): Declare.
2824 (octave-mode): Set electric-layout-rules.
2825 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2826 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2827 (octave-electric-space): Remove.
2829 * electric.el (electric-layout-mode): New minor mode.
2830 (electric--after-char-pos): New function.
2831 (electric-indent-post-self-insert-function): Use it.
2832 (electric-layout-rules): New var.
2833 (electric-layout-post-self-insert-function): New function.
2834 (electric-indent-mode): Make them interact better.
2836 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2838 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2839 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2840 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2842 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2844 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2845 Make sure to check inside the word (Bug#6761).
2847 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2849 * startup.el (command-line): If the cursorColor resource is set,
2850 change the cursor face-spec (Bug#7392).
2852 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2854 The main features of the following allout.el changes are:
2855 - implement user customization for the allout key bindings
2856 - add a customization control by which the user can inhibit use of
2857 a trailing Ctrl-H, so by default it's reserved for use with
2858 describe-prefix-bindings
2859 - adapt to new version of called-interactively-p, while
2860 maintaining backwards compatibility with old version
2861 - fix hotspot navigation so i works properly with meta-modified keys
2863 * allout.el (allout-keybindings, allout-bind-keys)
2864 (allout-keybindings-binding, allout-prefixed-keybindings)
2865 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2866 (allout-keybindings-list, allout-mode-map-adjustments)
2867 (allout-setup-mode-map): Establish allout-mode keymaps as user
2868 customizable settings, and also establish a customizable setting which
2869 regulates whether or not a trailing control-h is reserved for use with
2870 describe-prefix-bindings - and inhibit it by default, so that control-h
2871 *is* reserved for describe-prefix-bindings unless the user changes it.
2873 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2874 and accurately between modified and unmodified events, and handle
2875 modified events more comprehensively.
2877 * allout.el (allout-substring-no-properties):
2878 Alias to use or provide version of `substring-no-properties'.
2879 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2881 * allout.el (allout-next-single-char-property-change):
2882 Alias to use or provide version of `next-single-char-property-change'.
2883 (allout-annotate-hidden, allout-hide-by-annotation):
2884 Use `allout-next-single-char-property-change'.
2886 * allout.el (allout-select-safe-coding-system):
2887 Alias to use or provide version of `select-safe-coding-system'.
2888 (allout-toggle-subtree-encryption):
2889 Use `allout-select-safe-coding-system'.
2891 * allout.el (allout-set-buffer-multibyte):
2892 Alias to use or provide version of `set-buffer-multibyte'.
2893 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2895 * allout.el (allout-called-interactively-p): Macro for using the
2896 different versions of called-interactively-p identically, depending on
2897 the subroutine's argument signature.
2898 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2899 Use `(interactive "p")' instead of `(called-interactively-p)'.
2901 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2902 (allout-previous-visible-heading, allout-forward-current-level)
2903 (allout-backward-current-level, allout-show-children):
2904 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2906 * allout.el (allout-before-change-handler):
2907 Exempt edits to the (overlaid) character after the allout outline
2908 bullet from edit confirmation prompt.
2910 * allout.el (allout-add-resumptions):
2911 Ensure that it respects correct buffer for keybindings.
2913 * allout.el (allout-beginning-of-line):
2914 Use `allout-previous-single-char-property-change' alias for the sake of
2915 diverse compatibility.
2917 * allout.el (allout-end-of-line):
2918 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2920 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2922 * frame.el (frame-notice-user-settings): Don't clobber other
2923 user-set parameters when calling face-set-after-frame-default in
2924 response to background-color parameter (Bug#7373).
2926 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2928 * international/characters.el (glyphless-char-display-control):
2929 Rename from glyphless-char-control; all users changed. Doc fix.
2930 Signal an error if display method is not one of the recognized
2933 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2935 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2936 (tramp-compat-line-end-position): Remove them.
2938 * net/tramp.el (tramp-parse-rhosts-group)
2939 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2940 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2941 (tramp-parse-netrc-group, tramp-parse-putty-group)
2942 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2943 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2944 (tramp-sh-handle-file-selinux-context)
2945 (tramp-sh-handle-file-name-all-completions)
2946 (tramp-sh-handle-insert-directory)
2947 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2948 (tramp-wait-for-output, tramp-send-command-and-read)
2949 * net/tramp-smb.el (tramp-smb-read-file-entry)
2950 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2952 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2954 (tramp-remote-coding-commands): Add an alternative using "base64
2955 -d -i". This is needed for older base64 versions from GNU
2956 coreutils. Reported by Klaus Reichl
2957 <Klaus.Reichl@thalesgroup.com>.
2959 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2961 * simple.el (count-words-region): New function.
2963 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2965 * shell.el (shell-dir-cookie-re): New custom variable.
2966 (shell-dir-cookie-watcher): New function.
2968 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2969 and compilation-mode (bug#7350).
2971 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2972 highlight when one of them is empty.
2974 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2976 (skeleton-newline): New function.
2977 (skeleton-internal-1): Use it.
2979 * simple.el (open-line): `newline' may strip trailing space.
2981 2010-11-12 Kevin Ryde <user42@zip.com.au>
2983 * international/mule-cmds.el (princ-list): Use mapc.
2985 2010-11-12 Glenn Morris <rgm@gnu.org>
2987 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2988 Use it to replace all instances of "*Compile-Log*"
2990 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2992 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2995 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2997 * progmodes/modula2.el: Use SMIE and skeleton.
2998 (m2-mode-syntax-table): (*..*) can be nested.
2999 Add //...\n. Fix paren syntax.
3000 (m2-mode-map): Remove LF and TAB bindings.
3001 (m2-indent): Add safety property.
3002 (m2-smie-grammar): New var.
3003 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3004 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3005 (m2-mode): Use define-derived-mode.
3006 (m2-newline, m2-tab): Remove.
3007 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3008 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3009 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3010 (m2-import): Use define-skeleton.
3012 2010-11-11 Glenn Morris <rgm@gnu.org>
3014 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3016 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3017 (ls-lisp-verbosity): Add custom :set-after property.
3018 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3019 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3020 (ls-lisp-insert-directory): Update caller.
3021 (ls-lisp-set-options): New function.
3022 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3025 * play/landmark.el (lm-prompt-for-move):
3026 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3028 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3030 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3031 (idlwave-study-twins): Prefix dynamic local variable `name'.
3032 (idlwave-routine-twin-compare): Update for above change.
3034 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3035 Prefix dynamic local variables `name', `kwd', and `link'.
3036 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3037 * progmodes/idlw-complete-structtag.el
3038 (idlwave-complete-structure-tag-help):
3039 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3040 (idlwave-complete-sysvar-tag-help)
3041 (idlwave-complete-class-structure-tag-help):
3042 Update for above name changes.
3044 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3046 * net/browse-url.el (browse-url-browser-function): Change the
3047 default to use `browse-url-mail' on mailto: URLs.
3049 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3051 * emacs-lisp/package.el (package-read-all-archive-contents):
3052 Reset package-archive-contents to nil before re-reading.
3054 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3056 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3057 already found as misspellings by (flyspell-large-region), just
3058 do highlighting (bug#7322).
3060 2010-11-10 Glenn Morris <rgm@gnu.org>
3062 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3064 * emulation/edt.el (edt-with-position): New macro.
3065 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3066 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3067 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3069 * emulation/tpu-extras.el (tpu-with-position): New macro.
3070 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3072 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3074 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3075 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3076 (texinfo-master-menu, texinfo-insert-node-lines)
3077 (texinfo-multiple-files-update):
3078 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3079 Use line-beginning-position.
3081 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3082 No recent Emacs supports system-type `emx'.
3084 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3085 (ada-command-separator, ada-default-prj-properties)
3086 (ada-find-any-references): Update for above name change.
3088 * dirtrack.el (dirtrack-directory-function)
3089 (dirtrack-canonicalize-function):
3090 * filecache.el (file-cache-completion-ignore-case)
3091 (file-cache-case-fold-search, file-cache-ignore-case):
3092 * term.el (serial-port-is-file-p): Cosmetic change.
3094 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3095 Remove non-existent `windows-95' system-type.
3096 * dired.el (dired-chown-program): Remove non-existent `linux'
3099 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3100 (ping-program-options): Remove non-existent `linux' system-type.
3102 * startup.el (package-initialize): Update declaration.
3104 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3105 (ls-lisp-handle-switches): Use time-less-p.
3106 (ls-lisp-format-time): Use float-time.
3108 * textmodes/remember.el (remember-time-to-seconds): Remove.
3109 (remember-store-in-mailbox): Use float-time.
3111 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3113 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3114 never a real function.
3115 (with-no-warnings): Remove compat stub, now unused.
3116 (time-less-p): Doc fix.
3117 (time-to-number-of-days): Simplify.
3119 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3121 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3122 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3123 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3124 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3125 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3127 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3128 (eshell-shuffle-files, eshell-shorthand-tar-command)
3129 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3130 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3131 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3132 Prefix dynamic local variable `matches'.
3134 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3135 Prefix dynamic local variable `skeleton'.
3137 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3139 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3140 in mail buffer; make yank-action always a command that yanks original
3143 2010-11-09 Glenn Morris <rgm@gnu.org>
3145 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3147 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3149 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3150 completion field (bug#7211).
3152 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3153 Fix handling of backslash escapes.
3154 (python-quote-syntax): Adjust accordingly.
3156 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3158 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3159 (vc-mtn-workfile-branch): Adjust to new output format.
3161 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3163 * international/mule-cmds.el (princ-list): Mark as obsolete.
3165 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3167 * emacs-lisp/smie.el: New package.
3169 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3171 * files.el (backup-by-copying-when-mismatch):
3172 Set `permanent-local' property.
3174 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3175 `permanent-local' property for `backup-by-copying-when-mismatch'.
3177 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3179 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3181 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3183 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3184 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3185 AUTOINOUT for SV style multidimensional arrays, bug294.
3186 Reported by Eric Mastromarchi.
3187 (verilog-preprocess): Use with-current-buffer and
3188 font-lock-fontify-buffer to cleanup style issues.
3190 2010-11-09 Glenn Morris <rgm@gnu.org>
3192 * locate.el (locate, locate-mode): Doc fixes.
3194 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3196 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3197 user for confirmation.
3198 (server-force-stop): Use it.
3199 (server-start): Use server-force-stop for kill-emacs-hook, to
3200 avoid user interaction while killing Emacs.
3202 2010-11-09 Glenn Morris <rgm@gnu.org>
3204 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3205 (meta-indent-line): Simplify.
3207 * vc/emerge.el (emerge-line-number-in-buf):
3208 * textmodes/ispell.el (ispell-region):
3209 * textmodes/fill.el (current-fill-column):
3210 * progmodes/xscheme.el (xscheme-send-current-line):
3211 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3212 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3213 * progmodes/sh-script.el (sh-handle-prev-do):
3214 * progmodes/meta-mode.el (meta-indent-line):
3215 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3217 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3218 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3219 * progmodes/fortran.el (fortran-looking-at-if-then):
3220 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3221 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3222 (cperl-find-pods-heres):
3223 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3224 * net/quickurl.el (quickurl-list-insert):
3225 * net/ldap.el (ldap-search-internal):
3226 * net/eudc.el (eudc-expand-inline):
3227 * mail/sendmail.el (sendmail-send-it):
3228 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3229 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3230 (viper-brac-function):
3231 * calc/calc-yank.el (calc-do-grab-region):
3232 * calc/calc-keypd.el (calc-keypad-press):
3233 * term.el (term-move-columns, term-insert-spaces):
3234 * speedbar.el (speedbar-highlight-one-tag-line):
3235 * simple.el (current-word):
3236 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3237 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3239 * hippie-exp.el (he-line-beg):
3240 * epa.el (epa--marked-keys):
3241 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3242 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3243 (dired-relist-entry):
3244 * buff-menu.el (Buffer-menu-buffer):
3245 * array.el (current-line):
3246 * allout.el (allout-resolve-xref)
3247 (allout-latex-verbatim-quote-curr-line):
3248 Replace yet more uses of end-of-line etc with line-end-position, etc.
3250 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3252 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3253 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3254 (checkdoc-syntax-table): Initialize in the declaration.
3255 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3256 the mode on unconditionally.
3258 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3259 (extent-end-position, extent-start-position): Remove setf method for
3260 non-existing functions (bug#7319).
3262 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3264 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3265 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3266 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3267 (smie-prec2->grammar): Rename from smie-prec2-levels.
3268 (smie-grammar): Rename from smie-op-levels.
3269 (smie-indent--hanging-p): Rename from smie-hanging-p.
3270 (smie-rule-hanging-p): New alias.
3271 (smie-indent--bolp): Rename from smie-bolp.
3272 (smie-indent--hanging-p): New alias.
3273 (smie--token): New dynamically bound variable.
3274 (smie-indent--parent): New function.
3275 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3276 (smie-rule-next-p): Rename from smie-next-p.
3277 (smie-rule-prev-p): Rename from smie-prev-p.
3278 (smie-rule-sibling-p, smie-rule-parent)
3279 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3280 (smie-rule-separator-outdent): New var.
3281 (smie-indent--rule): Merge with smie-indent--column.
3282 (smie-indent-forward-token, smie-indent-backward-token):
3283 Also recognize close parens.
3284 (smie-indent-keyword): Don't use smie-indent--column any more.
3285 (smie-indent-after-keyword): Ignore closers by default.
3286 (smie-indent-line): Use with-demoted-errors.
3287 * progmodes/octave-mod.el (octave-smie-grammar):
3288 Rename from octave-smie-op-levels.
3289 (octave-smie-rules): Adjust to new behavior.
3290 * progmodes/prolog.el (prolog-smie-grammar):
3291 Rename from prolog-smie-op-levels.
3293 2010-11-07 Glenn Morris <rgm@gnu.org>
3295 * eshell/esh-util.el (subst-char-in-string)
3296 (directory-files-and-attributes): These compatibility definitions are
3297 not needed on any version of Emacs since at least 21.4.
3299 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3300 (verilog-get-end-of-line): Remove.
3301 (verilog-within-string, verilog-re-search-forward-substr)
3302 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3303 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3304 Use point-at-bol, point-at-eol.
3305 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3307 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3308 (electric-pascal-terminate-line, pascal-set-auto-comments)
3309 (pascal-indent-paramlist, pascal-indent-declaration)
3310 (pascal-get-lineup-indent, pascal-func-completion)
3311 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3312 Use point-at-bol, point-at-eol.
3313 * progmodes/flymake.el (flymake-line-beginning-position)
3314 (flymake-line-end-position): Remove.
3315 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3316 * eshell/esh-util.el (line-end-position, line-beginning-position):
3317 Remove compat definitions.
3319 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3321 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3322 Use line-end-position.
3324 * emacs-lisp/chart.el (chart-zap-chars):
3325 * play/decipher.el (decipher-set-map):
3326 * progmodes/ada-mode.el (ada-get-current-indent)
3327 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3328 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3329 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3330 (ada-get-all-references):
3331 * progmodes/cperl-mode.el (cperl-electric-paren)
3332 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3333 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3334 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3335 (cperl-word-at-point-hard):
3336 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3337 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3338 (idlwave-shell-display-line):
3339 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3340 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3341 * progmodes/js.el (js--re-search-forward-inner)
3342 (js--re-search-backward-inner):
3343 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3344 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3345 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3346 * textmodes/flyspell.el (flyspell-process-localwords):
3347 * textmodes/ispell.el (ispell-buffer-local-parsing)
3348 (ispell-buffer-local-dict, ispell-buffer-local-words):
3349 Use point-at-bol and point-at-eol.
3351 * speedbar.el (speedbar-generic-item-info)
3352 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3353 (speedbar-add-indicator, speedbar-check-vc-this-line)
3354 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3355 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3356 Replace more uses of end-of-line etc with line-end-position.
3358 2010-11-06 Glenn Morris <rgm@gnu.org>
3360 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3361 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3362 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3363 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3364 (texinfo-multiple-files-update):
3365 * textmodes/table.el (table--probe-cell-left-up)
3366 (table--probe-cell-right-bottom):
3367 * textmodes/picture.el (picture-tab-search):
3368 * textmodes/page-ext.el (pages-copy-header-and-position)
3369 (pages-directory-for-addresses):
3370 * progmodes/vera-mode.el (vera-get-offset):
3371 * progmodes/simula.el (simula-calculate-indent):
3372 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3373 * progmodes/prolog.el (end-of-prolog-clause):
3374 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3375 * progmodes/icon.el (indent-icon-exp):
3376 * progmodes/etags.el (tag-re-match-p):
3377 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3378 * progmodes/ebnf2ps.el (ebnf-begin-file):
3379 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3380 (dcl-save-local-variable):
3381 * play/life.el (life-setup):
3382 * play/gametree.el (gametree-looking-at-ply):
3383 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3384 * mail/sendmail.el (mail-mode-auto-fill):
3385 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3386 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3387 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3388 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3389 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3390 * type-break.el (type-break-file-keystroke-count):
3391 * term.el (term-replace-by-expanded-history-before-point)
3392 (term-skip-prompt, term-extract-string):
3393 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3394 (speedbar-contract-line, speedbar-toggle-line-expansion)
3395 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3396 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3397 * sort.el (sort-skip-fields):
3398 * skeleton.el (skeleton-internal-list):
3399 * simple.el (line-move-finish, line-move-to-column):
3400 * shell.el (shell-forward-command):
3401 * misc.el (copy-from-above-command):
3402 * makesum.el (double-column):
3403 * ebuff-menu.el (electric-buffer-update-highlight):
3404 * dired.el (dired-move-to-end-of-filename):
3405 * dframe.el (dframe-popup-kludge):
3406 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3407 * arc-mode.el (archive-get-lineno):
3408 Use line-end-position and line-beginning-position.
3410 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3411 (idlwave-study-twins): Prefix dynamic local `class'.
3412 (idlwave-routine-twin-compare): Update for above name change.
3414 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3415 Use boundp tests to silence compiler. Update for changed name of
3416 bytecomp-filename variable.
3418 * emulation/viper-cmd.el (viper-read-string-with-history):
3419 Prefix dynamic local `initial'.
3420 (viper-minibuffer-standard-hook): Update for above name change.
3422 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3423 (elint-init-form): Update for above name change.
3425 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3426 local variables `cbeg' and `cend' a prefix.
3427 (mail-extr-voodoo): Update for above name change.
3429 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3430 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3431 (reftex-toc-promote-action): Doc fix.
3433 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3434 `prompt', `data' a prefix.
3435 (reftex-select-post-command-hook, reftex-select-callback)
3436 (reftex-select-mouse-accept, reftex-select-read-cite):
3437 Update for above name changes.
3439 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3440 `refstyle' to reftex-refstyle.
3441 (reftex-offer-label-menu): Update for above name change.
3442 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3443 `refstyle' name change.
3445 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3446 with with-current-buffer.
3447 (diff, template): Give dynamic local variables a prefix.
3448 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3449 (emerge-line-number-in-buf): Update for above name change.
3450 (emerge-combine-versions-internal): Rename local `template' to
3451 emerge-combine-template.
3452 (emerge-combine-versions-edit): Update for above name change.
3454 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3456 * textmodes/reftex-cite.el
3457 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3458 entries with whitespace after \bibitem.
3459 (reftex-create-bibtex-file): Match entries containing numbers and
3460 symbol constituents. Make sure that entries with whitespace at
3461 various places are found.
3463 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3465 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3467 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3469 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3471 2010-11-05 Glenn Morris <rgm@gnu.org>
3473 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3474 (woman2-roff-buffer): Give local variable `request' a prefix.
3475 (woman0-macro): Rename argument `request' in the same way.
3476 (woman-request): New name for `request' dynamic variable.
3477 (woman-unquote, woman-forward-arg): Update for above name change.
3478 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3479 (woman1-unquote): New name for `unquote' dynamic variable.
3480 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3481 (woman-translations): Rename from `translations'. No longer global.
3482 (woman2-tr, woman-translate): Update for above name change.
3483 (woman-translate): Check for bound variable.
3484 (woman2-roff-buffer): Give local variable `translations' a prefix.
3486 * play/doctor.el: Give all local variables a prefix. Update callers.
3487 (doc$, doctor-put-meaning): Use backquote.
3489 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3490 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3492 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3493 variables bytes, ptr, op a prefix.
3494 (disassemble-offset): Update for above change.
3496 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3498 * emacs-lisp/package.el (package-unpack): Remove no-op.
3499 (package--builtins, package--dir): Doc fix.
3500 (package-activate-1, package-activate, package-install)
3501 (package-compute-transaction): Fix error message.
3502 (package-delete): Use delete-directory. Omit system packages.
3503 (package-initialize): Set package-alist to nil first.
3504 (package-menu-mark-delete, package-menu-mark-install): Don't add
3505 symbols that are inconsistent with the package state.
3506 (package-menu-execute): Perform deletions and installations as
3507 single batch operations.
3509 2010-11-03 Glenn Morris <rgm@gnu.org>
3511 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3512 (props): Remove unnecessary declaration.
3514 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3515 set-process-query-on-exit-flag.
3517 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3518 (reftex-toc-do-promote): Remove unused local `mpos'.
3519 (reftex-toc-restore-region): Make `mpos' local to this function.
3521 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3523 * play/landmark.el (lm-losing-threshold): Correct spelling.
3524 (lm-human-plays): Use new name.
3526 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3527 (gomoku-human-plays): Use new name.
3529 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3530 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3531 (gomoku-score-trans-table, gomoku-winning-threshold)
3532 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3534 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3536 * emacs-lisp/package.el: Don't put built-in packages in
3537 package-alist, to avoid loading inefficiencies.
3538 (package-built-in-p): Make VERSION optional, and treat it as a
3539 minimum acceptable version.
3540 (package-activate): Search separately for built-in packages.
3541 Emit a warning if a dependency fails.
3542 (define-package): Handle most common case, where there is no
3543 obsolete package, first.
3544 (package-compute-transaction): Print required version in error.
3545 (package--initialized): New variable.
3546 (list-packages): Use it.
3547 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3548 built-in packages in packages-alist; keep it separate.
3549 Set package--initialized.
3550 (describe-package): Avoid activating packages as a side-effect.
3551 Search separately for built-in packages.
3552 (describe-package-1): Handle the case where an elpa package is
3553 simultaneously built-in and available/installed.
3554 (package-installed-p, package--generate-package-list):
3555 Search separately for built-in packages.
3556 (package-load-descriptor): Doc fix.
3558 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3560 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3561 Handle __DATA__ and __END__.
3563 2010-11-02 Noah Friedman <friedman@splode.com>
3565 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3566 nil, do not ask to recompile files that are not already compiled,
3567 and do not recompile them.
3569 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3571 * emacs-lisp/package.el (package-initialize): Ensure that
3572 obsoleted built-in packages are not in package-activated-list
3574 (describe-package-1): Make the "installed" status override
3577 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3579 * subr.el (version-separator, version-regexp-alist): Remove '*'
3581 (version-list-<=, version<=, version=): Doc fix.
3583 2010-11-01 Kenichi Handa <handa@m17n.org>
3585 * faces.el (glyphless-char): Inherit underline for tty.
3587 2010-11-01 Kenichi Handa <handa@m17n.org>
3589 Implement various display methods for glyphless characters.
3591 * international/characters.el (char-acronym-table): New variable.
3592 (glyphless-char-control): New variable.
3593 (update-glyphless-char-display): New funciton.
3595 * faces.el (glyphless-char): New face.
3597 2010-11-01 Glenn Morris <rgm@gnu.org>
3599 * calendar/holidays.el (general-holidays, oriental-holidays)
3600 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3601 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3602 the definitions of their targets.
3604 * emacs-lisp/smie.el (smie): New custom group.
3605 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3607 * faces.el (xw-defined-colors, x-setup-function-keys):
3608 * mouse-sel.el (x-select-text):
3609 * term/w32console.el (x-setup-function-keys): Update declarations.
3611 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3613 * textmodes/ispell.el (comment-add): Declare.
3615 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3618 * info.el (finder-keywords-hash, package-alist): Declare.
3620 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3622 * finder.el (finder-compile-keywords): Don't use intern-soft,
3623 since package names may not yet exist in the obarray.
3625 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3627 * vc/vc-arch.el (vc-arch-checkin):
3628 * vc/vc-cvs.el (vc-cvs-checkin):
3629 * vc/vc-mtn.el (vc-mtn-checkin):
3630 * vc/vc-rcs.el (vc-rcs-checkin):
3631 * vc/vc-sccs.el (vc-sccs-checkin):
3632 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3633 since 2010-04-21 commit by Stefan Monnier.
3635 2010-11-01 Glenn Morris <rgm@gnu.org>
3637 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3639 * startup.el (package-enable-at-startup, package-initialize):
3642 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3645 2010-10-31 Julien Danjou <julien@danjou.info>
3647 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3648 (byte-recompile-directory):
3649 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3650 Use `byte-recompile-file'.
3652 2010-10-31 Glenn Morris <rgm@gnu.org>
3654 * cus-start.el: Handle standard values via a keyword.
3655 Only set version property if specified.
3656 (cursor-in-non-selected-windows, menu-bar-mode)
3657 (tool-bar-mode, show-trailing-whitespace):
3658 Do not specify standard values.
3659 (transient-mark-mode, temporary-file-directory): Use :standard.
3661 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3663 * term/x-win.el (x-get-selection-value): New function that gets
3664 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3666 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3668 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3669 preserve owner and group when editing files. (Bug#7289)
3671 2010-10-31 Glenn Morris <rgm@gnu.org>
3673 * speedbar.el (speedbar-mode):
3674 * play/fortune.el (fortune-in-buffer, fortune):
3675 * play/gomoku.el (gomoku-mode):
3676 * play/landmark.el (lm-mode):
3677 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3678 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3680 * select.el (x-selection): Mark it as an obsolete alias.
3682 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3684 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3685 major-mode (bug#7284).
3687 2010-10-31 Glenn Morris <rgm@gnu.org>
3689 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3690 rather than just an unused variable that inherits from the real one.
3692 2010-10-31 Alan Mackenzie <acm@muc.de>
3694 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3695 This fixes bug #7185.
3697 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3699 * startup.el (command-line): Search for package directories, and
3700 don't load package.el if none are found.
3702 * emacs-lisp/package.el (describe-package, list-packages):
3703 Call package-initialize if it has not been called yet.
3705 2010-10-30 Alan Mackenzie <acm@muc.de>
3707 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3708 which fontifies the tail of an enum.
3709 (c-basic-matchers-after): Insert a call to the above new function.
3710 This fixes bug #7264.
3712 2010-10-30 Glenn Morris <rgm@gnu.org>
3714 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3715 tool-bar-mode, transient-mark-mode. (Bug#7306)
3716 Include the :set property in the dumped Emacs.
3718 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3720 SMIE: change indent rules format, improve smie-setup.
3721 * emacs-lisp/smie.el (smie-precs-precedence-table)
3722 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3723 Mark them pure so the tables gets built at compile time.
3724 (smie-bnf-precedence-table): Store the closer-alist in the table.
3725 (smie-prec2-levels): Preserve the closer-alist.
3726 (smie-blink-matching-open): Be more forgiving in case of indentation.
3727 (smie-hanging-p): Rename from smie-indent--hanging-p.
3728 (smie-bolp): Rename from smie-indent--bolp.
3729 (smie--parent, smie--after): New dynamic vars.
3730 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3731 (smie-indent-rules): Remove.
3732 (smie-indent--offset-rule): Remove fun.
3733 (smie-rules-function): New var.
3734 (smie-indent--rule): New fun.
3735 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3736 (smie-indent-exps): Use it.
3737 (smie-setup): Setup paren blinking; add keyword args for token
3738 functions; extract closer-alist from op-levels.
3739 (smie-indent-debug-log): Remove var.
3740 (smie-indent-debug): Remove fun.
3741 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3742 (prolog-smie-rules): New fun to replace it.
3743 (prolog-mode-variables): Simplify.
3744 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3745 it's setup automatically.
3746 (octave-smie-indent-rules): Remove.
3747 (octave-smie-rules): New fun to replace it.
3748 (octave-mode): Simplify.
3750 2010-10-29 Glenn Morris <rgm@gnu.org>
3752 * files.el (temporary-file-directory): Remove (already defined in C).
3753 * cus-start.el: Add temporary-file-directory.
3755 * abbrev.el (abbrev-mode):
3756 * composite.el (auto-composition-mode):
3757 * menu-bar.el (menu-bar-mode):
3758 * simple.el (transient-mark-mode):
3759 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3760 that they do not define the associated variables twice.
3761 * simple.el (transient-mark-mode): Remove defvar.
3762 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3763 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3764 Handle multiple groups, and also custom-delayed-init-variables.
3765 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3767 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3769 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3770 (pcase-if): Add one minor optimization.
3771 (pcase-split-equal): Rename from pcase-split-eq.
3772 (pcase-split-member): Rename from pcase-split-memq.
3773 (pcase-u1): Add strings to the member optimization.
3774 Add `guard' variant of predicates.
3775 (pcase-q1): Add string patterns.
3777 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3779 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3781 2010-10-28 Glenn Morris <rgm@gnu.org>
3783 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3784 Move menu-bar related settings to ../menu-bar.el.
3785 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3786 Move ns-specific settings here from term/ns-win.el.
3788 * simple.el (x-selection-owner-p): Remove unused declaration.
3790 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3792 * minibuffer.el (completion-cycling): New var (bug#7266).
3793 (minibuffer-complete, completion--do-completion):
3794 Use completion--flush-all-sorted-completions.
3795 (minibuffer-complete): Only cycle if completion-cycling is set.
3796 (completion--flush-all-sorted-completions): Unset completion-cycling.
3797 (minibuffer-force-complete): Set completion-cycling.
3798 (completion-all-sorted-completions): Move declaration before first use.
3800 2010-10-28 Leo <sdl.web@gmail.com>
3802 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3803 which changes the order of matches seen by users (bug#7231).
3805 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3807 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3808 Don't confuse -omega as "-o mega".
3810 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3812 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3813 (log-edit-author): New dynamic var.
3814 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3815 to return the author if different from committer.
3816 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3818 * play/landmark.el: Adjust commenting convention.
3819 (lm-nil-score): Rename from nil-score.
3820 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3821 (OOOOscore): Move into a let in lm-score-trans-table.
3822 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3824 * electric.el (electric-indent-chars): Autoload.
3825 * progmodes/octave-mod.el (octave-mode):
3826 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3827 (ruby-mode-abbrev-table): Merge initialization and declaration.
3829 2010-10-27 Glenn Morris <rgm@gnu.org>
3831 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3834 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3836 * term/ns-win.el: Restore require of cl when compiling.
3837 (menu-bar-final-items): Remove non-existent `windows' menu.
3838 (ns-handle-nxopen): Optionally handle the temp-case.
3839 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3840 (ns-insert-file, ns-find-file): Use `pop'.
3842 2010-10-26 Glenn Morris <rgm@gnu.org>
3844 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3846 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3848 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3850 * term/common-win.el (x-setup-function-keys): Remove most of the
3851 keymappings. Comment on the remaining ones.
3853 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3855 * server.el (server-port): New option. (Bug#854)
3856 (server-start): Use server-port.
3858 2010-10-26 Glenn Morris <rgm@gnu.org>
3860 * term/ns-win.el (ns-version-string): Remove unused declaration.
3861 (ns-invocation-args): Change to x-invocation-args.
3862 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3863 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3864 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3865 Use x-invocation-args instead of ns-invocation-args.
3866 (ns-initialize-window-system, handle-args-function-alist):
3867 Use x-handle-args instead of ns-handle-args.
3868 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3869 * startup.el (command-line-ns-option-alist): Replace
3870 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3871 ns-handle-iconic with the x- equivalents.
3873 * term/common-win.el (x-select-enable-clipboard):
3874 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3876 * term/ns-win.el: No need to require cl when compiling.
3877 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3878 (xw-defined-colors): Use the common-win definitions.
3879 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3880 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3881 * term/common-win.el (x-select-text, x-alternatives-map)
3882 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3883 * loadup.el [ns]: Load common-win.
3885 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3887 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3888 recipients; expand mail aliases (Bug#7280).
3890 2010-10-25 Glenn Morris <rgm@gnu.org>
3892 * term/common-win.el (x-handle-switch): Simplify with pop.
3893 Optionally handle numeric switches.
3894 (x-handle-numeric-switch): Just call x-handle-switch.
3895 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3896 (x-handle-name-switch, x-handle-display, x-handle-args):
3899 * term/ns-win.el: Do not require easymenu.
3900 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3901 <spell>: Move adjustments to menu-bar.el.
3902 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3903 <separator-undo, spell>: Move ns-win's adjustments here.
3904 * loadup.el [ns]: Do not load easymenu.
3906 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3908 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3911 * startup.el (fancy-startup-tail): Instead of using inline images,
3912 refer to image files from etc/.
3914 * wid-edit.el (checkbox): Likewise.
3915 (widget-image-find): Center image specs.
3917 2010-10-24 Glenn Morris <rgm@gnu.org>
3919 * term/ns-win.el (x-select-text): Doc fix.
3920 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3921 (x-select-text): Move to term/common-win.
3922 * term/w32-win.el (xw-defined-colors): Move to common-win.
3923 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3924 (x-setup-function-keys, x-select-text): Move to common-win.
3925 * term/common-win.el (x-select-text, x-alternatives-map)
3926 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3929 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3931 * net/mairix.el (mairix-searches-mode-map):
3932 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3934 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3936 * verilog-mode.el (verilog-directive-re): Make this variable
3937 auto-built for efficiency of execution and updating.
3938 (verilog-extended-complete-re): Support 'pure' fucntion & task
3939 declarations (these have no bodies).
3940 (verilog-beg-of-statement): General cleanup to enable support of
3941 'pure' fucntion & task declarations (these have no bodies).
3942 These efforts together fix Verilog bug210 from veripool; which was also
3943 noticed by Steve Pearlmutter.
3944 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3945 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3946 Support `elsif. Reported by Shankar Giri.
3947 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3948 attribute handling for lining up declarations and assignments.
3949 (verilog-beg-of-statement-1): Fix issue where continued declaration
3950 is indented differently if it is after a begin..end clock.
3951 (verilog-in-attribute-p, verilog-skip-backward-comments)
3952 (verilog-skip-forward-comment-p): Support proper treatment of
3953 attributes by indent code. Reported by Jeff Steele.
3954 (verilog-in-directive-p): Fix comment to correctly describe function.
3955 (verilog-backward-up-list, verilog-in-struct-region-p)
3956 (verilog-backward-token, verilog-in-struct-p)
3957 (verilog-in-coverage-p, verilog-do-indent)
3958 (verilog-pretty-declarations): Use verilog-backward-up-list as
3959 wrapper around backward-up-list inorder to properly skip comments.
3960 Reported by David Rogoff.
3961 (verilog-property-re, verilog-endcomment-reason-re)
3962 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3963 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3964 of if). Reported by Max Bjurling and
3965 (verilog-calc-1): Fix for clocking block in modport
3966 declaration. Reported by Brian Hunter.
3968 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3970 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3971 (verilog-gate-keywords, verilog-read-sub-decls)
3972 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3973 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3974 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3975 (verilog-read-decls): Fix spaces in V2K module parameters causing
3976 mis-identification as interfaces, bug287.
3977 (verilog-read-decls): Fix not treating "parameter string" as a
3978 parameter in AUTOINSTPARAM.
3979 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3980 treating `elsif similar to `endif inside AUTOSENSE.
3981 (verilog-do-indent): Implement correct automatic or static task or
3982 function end comment highlight. Reported by Steve Pearlmutter.
3983 (verilog-font-lock-keywords-2): Fix highlighting of single
3984 character pins, bug264. Reported by Michael Laajanen.
3985 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3986 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3987 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3988 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3989 (verilog-pretty-expr): Fix interactive arguments, bug272.
3990 Reported by Mark Johnson.
3991 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3992 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3993 bug269. Suggested by Gary Delp.
3994 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3995 (verilog-preprocessor, verilog-set-compile-command):
3996 Create verilog-preprocess and verilog-preprocessor to show
3997 preprocessed output.
3998 (verilog-get-beg-of-line, verilog-get-end-of-line)
3999 (verilog-modi-file-or-buffer, verilog-modi-name)
4000 (verilog-modi-point, verilog-within-string): Move defmacro's
4001 before first use to avoid warning. Reported by Steve Pearlmutter.
4002 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4003 (verilog-colorize-region, verilog-highlight-buffer)
4004 (verilog-highlight-includes, verilog-highlight-modules)
4005 (verilog-highlight-region, verilog-mode): Rename colorize to
4006 highlight to match other packages. Disable module highlighting,
4007 as received speed complaints, reenable for experimentation only
4008 using new verilog-highlight-modules.
4009 (verilog-read-decls): Fix regexp stack overflow in very large
4010 AUTO_TEMPLATEs, bug250.
4011 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4012 (verilog-scan): Create verilog-save-buffer-state to standardize
4013 making insignificant changes that shouldn't call hooks.
4014 (verilog-save-no-change-functions, verilog-save-scan-cache)
4015 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4016 Create verilog-save-no-change-functions to wrap verilog-scan
4017 preservation, and fix to work with nested preserved calls.
4018 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4019 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4020 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4021 (verilog-submit-bug-report): Update variable list to be complete.
4022 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4023 breaking on-the-fly font-locking.
4024 (verilog-colorize-buffer, verilog-colorize-include-files)
4025 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4026 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4027 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4028 AUTOINST cell instance name, middle mouse button now finds-file on
4029 it. Suggested by Brad Dobbie.
4030 (verilog-alw-get-temps, verilog-auto-reset)
4031 (verilog-auto-sense-sigs, verilog-read-always-signals)
4032 (verilog-read-always-signals-recurse): Fix loop indexes being
4033 AUTORESET. AUTORESET now assumes any variables in the
4034 initialization section of a for() should be ignored.
4035 Reported by Dan Dever.
4036 (verilog-error-font-lock-keywords)
4037 (verilog-error-regexp-emacs-alist)
4038 (verilog-error-regexp-xemacs-alist): Fix error detection of
4039 Cadence HAL, reported by David Asher. Repair drift between the
4040 three similar error variables.
4041 (verilog-modi-lookup, verilog-modi-lookup-cache)
4042 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4043 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4044 Fix slow verilog-auto expansion on very large files.
4045 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4046 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4047 "{1*2{...". Broke in last revision.
4048 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4049 submodule connections with replications "{#{a},#{b}}".
4051 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4053 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4054 Fix typo in docstring.
4056 2010-10-24 Kenichi Handa <handa@m17n.org>
4058 * face-remap.el (text-scale-adjust): Call read-event with a proper
4061 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4063 * emacs-lisp/unsafep.el: Don't mark functions that display
4064 messages as safe. Suggested by Johan Bockgård.
4066 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4068 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4069 Turn comments into docstrings.
4071 * minibuffer.el (completion--replace): Move point where it belongs
4072 when there's a common suffix (bug#7215).
4074 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4076 Merge read-color and facemenu-read-color (Bug#7242).
4078 * faces.el (read-color): Use the completion code from
4079 facemenu-read-color. Require match in completion. Doc fix.
4081 * facemenu.el (facemenu-read-color): Alias for read-color.
4082 (facemenu-set-foreground, facemenu-set-background):
4085 * frame.el (set-background-color, set-foreground-color)
4086 (set-cursor-color, set-mouse-color, set-border-color):
4089 2010-10-24 Leo <sdl.web@gmail.com>
4091 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4092 argument of delete-file and delete-directory (Bug#7011).
4094 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4096 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4099 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4101 * emacs-lisp/package.el (package--generate-package-list): Make the
4102 *Packages* buffer read-only.
4104 2010-10-24 Alan Mackenzie <acm@muc.de>
4106 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4107 result of `c-beginning-of-decl-1' between invocations of a lambda
4108 function (Bug #7265).
4110 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4112 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4113 executable is not available on the system (Bug#7268).
4115 2010-10-24 Glenn Morris <rgm@gnu.org>
4117 * select.el (selection-coding-system, next-selection-coding-system):
4118 Sync doc with C versions.
4120 * w32-vars.el (x-select-enable-clipboard):
4121 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4122 * term/common-win.el (x-select-enable-clipboard): Move here.
4124 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4125 definition of C variable.
4127 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4128 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4129 Don't redefine things that are defined in C.
4130 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4131 (show-trailing-whitespace, auto-hscroll-mode)
4132 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4133 Set up the appropriate custom properties.
4135 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4138 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4139 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4140 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4141 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4143 2010-10-23 Glenn Morris <rgm@gnu.org>
4145 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4148 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4149 Sync docs with C version.
4151 * term/ns-win.el (xw-defined-colors):
4152 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4154 * term/pc-win.el (x-select-enable-clipboard):
4155 * term/x-win.el (x-select-enable-clipboard):
4156 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4158 * comint.el (comint-password-prompt-regexp): Make it less vague.
4161 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4163 * help.el (finder-by-keyword): Remove unnecessary autoload.
4165 2010-10-22 Glenn Morris <rgm@gnu.org>
4167 * loadup.el: Unconditionally load float-sup.
4168 * paren.el (show-paren-delay):
4169 * emacs-lisp/float-sup.el:
4170 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4171 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4172 (lazy-lock-stealth-verbose): Assume float support.
4173 * ps-print.el: Assume float support on Emacs.
4174 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4175 Remove non-float branch.
4177 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4178 src/Makefile no longer being pre-processed.
4180 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4182 * emacs-lisp/find-func.el (find-library): Use test-completion.
4184 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4186 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4188 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4190 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4191 space in stat format string.
4192 (tramp-send-command): Unset $PS1 when using here documents, in
4193 order not to get several prompts.
4194 (tramp-get-inline-coding): Return `nil' in case of errors.
4196 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4198 * hexl.el (hexl-mode, hexl-mode-exit):
4199 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4200 (hexl-revert-buffer-function): New function.
4201 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4203 2010-10-19 Alan Mackenzie <acm@muc.de>
4205 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4206 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4207 that these keywords aren't wrongly matched as identifiers.
4209 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4210 setting of c-new-BEG and c-new-END from c-before-change to
4211 c-after-change. (Bug#7181)
4213 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4215 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4218 * custom.el (custom-theme-set-variables): Likewise.
4219 (load-theme): Add custom-theme-set-faces and
4220 custom-theme-set-variables to safe-functions while loading.
4221 (custom-enabled-themes): Mark as risky.
4223 2010-10-18 Julien Danjou <julien@danjou.info>
4225 * bindings.el: Remove end dashes in default mode-line-format.
4227 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4229 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4230 to delete-forward-char.
4232 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4233 deletechar, and hence delete-forward-char.
4235 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4237 * repeat.el (repeat): Use read-key (bug#6256).
4239 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4241 * emacs-lisp/unsafep.el: Don't mark functions that display
4242 messages as safe. Suggested by Johan Bockgård.
4244 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4246 * minibuffer.el (completion--replace): Move point where it belongs
4247 when there's a common suffix (bug#7215).
4249 2010-10-19 Kenichi Handa <handa@m17n.org>
4251 * international/characters.el: Add category '|' (word breakable)
4252 to fullwidth characters.
4254 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4256 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4257 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4258 order to make stat results a float. Patch by Andreas Schwab
4259 <schwab@linux-m68k.org>.
4261 2010-10-18 Julien Danjou <julien@danjou.info>
4263 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4264 hidden by `make-pointer-invisible'.
4266 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4268 * files.el (locate-file-completion-table): Strip non-matching elements
4269 before checking length of list (bug#7238).
4271 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4273 * custom.el (custom-theme-set-variables): Mark as a safe function.
4274 (load-theme): Check forms using unsafep.
4276 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4278 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4280 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4281 Fix aspell data file searching (bug#7230).
4283 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4285 * cus-theme.el (custom-theme--migrate-settings): New var.
4286 (customize-create-theme): Allow editing the `user' theme.
4287 (custom-theme-add-variable, custom-theme-add-var-1)
4288 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4289 to the front of each variable or face widget.
4290 (custom-theme-write): Save theme settings in the correct order.
4291 Optionally, remove saved settings from user customizations.
4292 (custom-theme-write-variables, custom-theme-write-faces):
4293 Save only the checked widgets.
4294 (customize-themes): Add a link for migrating custom settings.
4296 * custom.el (custom-declare-theme, provide-theme):
4297 Use custom-theme-name-valid-p.
4298 (custom-theme-name-valid-p): Remove checks that are now
4299 unnecessary since themes no longer obey load-path.
4301 * cus-edit.el (custom-variable-value-create): For the simple
4302 style, hide documentation string when hidden.
4304 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4306 * cus-edit.el (custom-variable, custom-face): Combine the
4307 :inhibit-magic and :display-style properties into a single
4308 :custom-style property.
4309 (custom-toggle-hide-variable, custom-toggle-hide-face):
4310 New functions. If hiding an edited value, save it to :shown-value.
4311 (custom-variable-value-create, custom-face-value-create): Use them.
4312 (custom-magic-reset): Allow magic property to be unset.
4314 * custom.el: Custom themes no longer use load-path.
4315 (custom-theme-load-path): New option. Change built-in theme
4317 (custom-enabled-themes): Add custom-theme-load-path dependency.
4318 (custom-theme--load-path): New function.
4319 (load-theme, custom-available-themes): Use it.
4321 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4322 (customize-themes): Link to custom-theme-load-path variable.
4323 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4324 :custom-style property.
4326 * themes/*.el: Moved to etc/.
4328 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4330 * textmodes/reftex-cite.el
4331 (reftex-extract-bib-entries-from-thebibliography): Do not move
4332 point when searching for \bibitem entries. Match entries with
4333 spaces or tabs in front of arguments.
4335 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4337 * cus-theme.el (customize-create-theme): Delete overlays after
4338 erasing. If given a THEME arg, display only the faces of that arg
4339 instead of custom-theme--listed-faces.
4340 (custom-theme-variable-menu, custom-theme-variable-action)
4341 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4342 (custom-theme-add-variable, custom-theme-add-face): Apply value
4343 from the theme settings, instead of the current value.
4344 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4345 (custom-theme-visit-theme): Allow calling outside theme buffers.
4346 (custom-theme-merge-theme): Don't enable the theme when merging.
4347 (custom-theme-write-variables, custom-theme-write-faces): Use the
4348 :shown-value properties to save buffer values, not global ones.
4349 (customize-themes): Display a warning about user customizations.
4351 * cus-edit.el (custom-variable-value-create)
4352 (custom-face-value-create): Obey new special properties
4353 :shown-value and :inhibit-magic.
4355 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4357 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4358 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4361 2010-10-14 Kenichi Handa <handa@m17n.org>
4363 * mail/rmail.el (rmail-show-message-1): Catch an error of
4364 base64-decode-region and just show an error message (bug#7165).
4366 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4367 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4368 a font-spec (bug#7197).
4370 2010-10-14 Glenn Morris <rgm@gnu.org>
4372 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4374 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4376 * international/mule.el (define-coding-system):
4377 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4378 * composite.el (compose-region): Fix typo in docstring.
4380 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4382 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4383 only after checking the theme-face property.
4385 * faces.el (face-spec-reset-face): Reset all attributes in one
4386 single call to set-face-attribute.
4387 (face-spec-match-p): Make it a defsubst.
4388 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4389 (x-create-frame-with-faces, tty-create-frame-with-faces)
4390 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4391 frame-set-background-mode, since they are recomputed immediately
4392 afterwards in face-set-after-frame-default.
4393 (face-set-after-frame-default): Minor optimization.
4394 (cursor): Provide non-trivial defface spec.
4396 * custom.el (custom-theme-recalc-face): Simplify.
4398 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4400 * calc/calc-alg.el (math-var): Rename from `var'.
4401 (math-is-polynomial, math-is-poly-rec): Replace `var'
4404 * calc/calcalg2.el (math-var): Rename from `var'.
4405 (calcFunc-table, math-scan-for-limits): Replace `var'
4408 2010-10-13 Glenn Morris <rgm@gnu.org>
4410 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4412 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4414 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4416 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4418 * net/tls.el (tls-program): Remove spurious %s from openssl.
4419 (tls-starttls-switches): Remove starttls hack.
4420 (open-tls-stream): Ditto.
4421 (tls-find-starttls-argument): Ditto.
4423 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4425 * image.el (image-library-alist): Declare as obsolete alias.
4426 (image-type-available-p): Use `dynamic-library-alist'.
4428 * term/w32-win.el (dynamic-library-alist):
4429 Use instead of `image-library-alist'.
4431 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4433 * subr.el (last): Make it faster. (Bug#7174)
4435 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4437 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4439 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4441 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4442 (describe-theme-1): Extract doc from unloaded themes.
4444 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4446 * themes/tango-theme.el:
4447 * themes/tango-dark-theme.el:
4448 * themes/wheatgrass-theme.el: New files.
4450 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4452 * cus-theme.el (describe-theme, customize-themes)
4453 (custom-theme-save): New commands.
4454 (custom-new-theme-mode-map): Bind C-x C-s.
4455 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4456 (customize-create-theme): New optional arg THEME.
4457 (custom-theme-revert): Use it.
4458 (custom-theme-visit-theme): Remove dead code.
4459 (custom-theme-merge-theme): Use custom-available-themes.
4460 (custom-theme-write): Make interactive.
4461 (custom-theme-write): Use custom-theme-name-valid-p.
4462 (describe-theme-1, custom-theme-choose-revert)
4463 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4465 (custom-theme-allow-multiple-selections): New option.
4466 (custom-theme-choose-mode): New major mode.
4468 * custom.el (custom-theme-set-variables): Remove dead code.
4469 Obey custom--inhibit-theme-enable.
4470 (custom--inhibit-theme-enable): New var.
4471 (provide-theme): Obey it.
4472 (load-theme): Replace load with manual read/eval, in order to
4473 check for correctness. Use custom-theme-name-valid-p.
4474 (custom-theme-name-valid-p): New function.
4475 (custom-available-themes): Use it.
4477 * cus-edit.el (custom--initialize-widget-variables): New function.
4478 (Custom-mode): Use it.
4480 * cus-face.el (custom-theme-set-faces): Remove dead code.
4481 Obey custom--inhibit-theme-enable.
4483 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4485 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4487 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4489 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4491 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4492 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4493 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4495 * cus-start.el (all): ns-right-alternate-modifier is new.
4497 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4499 * emacs-lisp/lisp.el (lisp-completion-at-point):
4500 Use emacs-lisp-mode-syntax-table for the whole function.
4502 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4504 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4505 instead of font-lock-mode before adding keywords.
4506 Remove hi-lock-mode off code. Remove inhibit hack.
4507 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4508 non-nil; removed hook inhibit hack.
4510 2010-10-12 Glenn Morris <rgm@gnu.org>
4512 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4513 (load-path-shadows-find): ... to this.
4514 (list-load-path-shadows): Update for above change.
4516 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4518 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4520 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4521 Fix comment for declare-function.
4523 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4525 * custom.el (custom-fix-face-spec): New function; code moved from
4526 custom-face-edit-fix-value.
4527 (custom-push-theme): Use it when checking if a face has been
4528 changed outside customize.
4529 (custom-available-themes): New function.
4530 (load-theme): Use it.
4532 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4534 * custom.el (custom-push-theme): Cleanup (use cond).
4535 (disable-theme): Recompute the saved-face property.
4536 (custom-theme-recalc-face): Follow face alias before setting prop.
4538 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4539 New variables, containing checkbox images.
4541 * startup.el (fancy-startup-tail):
4542 * wid-edit.el (checkbox): Use them.
4544 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4546 * shell.el (shell-mode-map):
4547 * progmodes/modula2.el (m2-mode-map):
4548 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4549 * play/mpuz.el (mpuz-mode-map):
4550 * play/landmark.el (lm-mode-map):
4551 * play/decipher.el (decipher-mode-map):
4552 * play/5x5.el (5x5-mode-map):
4553 * net/telnet.el (telnet-mode-map):
4554 * net/quickurl.el (quickurl-list-mode-map):
4555 * net/mairix.el (mairix-searches-mode-map):
4556 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4557 * net/dig.el (dig-mode-map):
4558 * mail/mspools.el (mspools-mode-map):
4559 * hexl.el (hexl-mode-map):
4560 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4561 (wordstar-C-o-map, wordstar-C-q-map):
4562 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4563 * emacs-lisp/chart.el (chart-map):
4564 * edmacro.el (edmacro-mode-map):
4565 * erc/erc-list.el (erc-list-menu-mode-map):
4566 * array.el (array-mode-map): Declare and define in one step.
4568 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4570 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4572 * epa.el (epa-passphrase-callback-function): Display filename
4573 passed as the 3rd arg.
4574 * epa-file.el (epa-file-passphrase-callback-function):
4575 Pass filename to epa-passphrase-callback-function.
4577 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4579 * cus-edit.el (custom-face-widget-to-spec)
4580 (custom-face-get-current-spec, custom-face-state): New functions.
4581 (custom-face-set, custom-face-mark-to-save)
4582 (custom-face-value-create, custom-face-state-set): Use them.
4584 * cus-theme.el (custom-theme--listed-faces): New var.
4585 (customize-create-theme): Use *Custom Theme* as the buffer name.
4586 Set revert-buffer-function. Optional arg BUFFER. Insert all
4587 faces listed in custom-theme--listed-faces.
4588 (custom-theme-revert): New function.
4589 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4591 (custom-theme-write): Prompt for theme name if empty.
4592 (custom-theme-write-variables): Use dolist.
4593 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4595 2010-10-09 Alan Mackenzie <acm@muc.de>
4597 Enhance fontification of declarators to take account of the
4598 presence/absence of "typedef".
4600 * cc-engine.el (c-forward-type): New &optional param
4602 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4603 presence of either or both of a "struct"-like keyword and "typedef".
4605 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4606 fontification of declarators which follow a "}".
4607 (c-font-lock-declarations): Fontify declarators according to the
4608 presence/absence of "typedef".
4610 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4612 (c-typedef-decl-key): New lang variable built from
4613 c-typedef-decl-kwds.
4615 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4617 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4618 since that's too annoying. Move the filter groups commands to
4621 * epa.el (epa-passphrase-callback-function): Say what we're
4622 querying the password for.
4624 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4625 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4627 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4629 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4630 (custom-magic-value-create): Pad button tags with spaces.
4631 (custom-face-edit): New variable.
4632 (custom-face-value-create): Determine whether to use the usual
4633 face editor here, instead of using custom-face-selected.
4634 Pass face defaults to custom-face-edit widget.
4635 (custom-face-selected, custom-display-unselected): Delete widgets.
4636 (custom-display-unselected-match): Function removed.
4637 (custom-face-set, custom-face-mark-to-save):
4638 Accept custom-face-edit widgets as the direct widget child.
4640 * wid-edit.el (widget--completing-widget): New var.
4641 (widget-default-complete): Bind it when doing completion.
4642 (widget-string-complete, widget-file-complete): Use it.
4644 2010-10-09 Glenn Morris <rgm@gnu.org>
4646 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4647 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4648 (holiday-hebrew-misc): Small simplifications.
4650 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4652 * net/browse-url.el: Don't require thingatpt, term, dired,
4653 executable, or w3-auto when compiling.
4654 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4656 (browse-url-text-emacs): Require term.
4658 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4660 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4662 2010-10-08 Glenn Morris <rgm@gnu.org>
4664 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4666 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4667 (shadows-compare-text-p): Make it an obsolete alias for...
4668 (load-path-shadows-compare-text): ... new name.
4669 (find-emacs-lisp-shadows): Update for above name change.
4670 (load-path-shadows-same-file-or-nonexistent): New name for the old
4671 shadow-same-file-or-nonexistent.
4673 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4675 * minibuffer.el (completion--some, completion--do-completion)
4676 (minibuffer-complete-and-exit, minibuffer-completion-help)
4677 (completion-basic-try-completion)
4678 (completion-basic-all-completions)
4679 (completion-pcm--find-all-completions): Use lexical-let to
4680 avoid some false matches in variable completion (Bug#7056)
4682 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4684 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4686 2010-10-08 Leo <sdl.web@gmail.com>
4688 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4689 return non-nil if the file exists (Bug#7090).
4691 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4693 * minibuffer.el (completion--replace):
4694 Better preserve markers (bug#7138).
4696 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4698 * server.el (server-process-filter): Doc fix.
4700 2010-10-08 Drew Adams <drew.adams@oracle.com>
4702 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4704 2010-10-08 Glenn Morris <rgm@gnu.org>
4706 * vc/ediff-wind.el (ediff-setup-control-frame):
4707 * vc/ediff-ptch.el (ediff-default-backup-extension):
4708 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4709 (ediff-exec-process): Remove system-types emx, windows-95.
4711 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4713 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4715 * cus-edit.el (custom-variable, custom-face): Doc fix.
4716 (custom-face-edit): Add value-create attribute.
4717 (custom-face-edit-value-create)
4718 (custom-face-edit-value-visibility-action): New functions.
4719 Hide unused face attributes by default, and add a visibility toggle.
4720 (custom-face-edit-deactivate): Show empty values with shadow face.
4721 (custom-face-selected): Only use this for face specs with default
4723 (custom-face-value-create): Cleanup.
4725 * wid-edit.el (widget-checklist-value-create): Use dolist.
4726 (widget-checklist-match-find): Make second arg optional.
4728 2010-10-07 Glenn Morris <rgm@gnu.org>
4730 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4733 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4734 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4735 load-path-shadows-mode, update references.
4736 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4737 Rename variable and button.
4738 (list-load-path-shadows): Update button caller.
4740 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4742 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4743 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4744 (smie-merge-prec2s): Handle those new entries.
4745 (smie-prec2-levels): Only set precedence to nil for actual
4747 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4748 that is now unnecessary.
4750 2010-10-07 Miles Bader <miles@gnu.org>
4752 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4754 2010-10-07 Glenn Morris <rgm@gnu.org>
4756 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4757 (mail-position-on-field): Remove declarations.
4758 (mail-position-on-field): Autoload it.
4759 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4760 and mail-header-end. Don't require sendmail.
4762 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4763 (shadow-mode): New mode.
4764 (shadow-find-file): New button.
4765 (list-load-path-shadows): Use shadow-mode and buttons.
4767 * iimage.el (iimage-version): Remove.
4768 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4769 Turn into defcustoms.
4770 (iimage-mode-map): Give it a doc string.
4772 * calendar/appt.el (appt-activate): Give a warning rather than an error
4773 if there is no diary-file.
4775 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4777 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4778 Use `tramp-handle-find-backup-file-name'.
4780 2010-10-06 Glenn Morris <rgm@gnu.org>
4782 * font-core.el (font-lock-defaults-alist): Remove variable.
4783 (font-lock-mode): Doc fix.
4784 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4785 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4786 (font-lock-set-defaults): Doc fix.
4787 Do not consult font-lock-defaults-alist.
4789 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4791 * emacs-lisp/cl.el: No longer provide cl-19.
4793 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4795 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4796 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4797 New defuns, taken from tramp-smb.el.
4798 (tramp-coding-system-change-eol-conversion)
4799 (tramp-set-process-query-on-exit-flag): Remove.
4801 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4802 (tramp-compat-coding-system-change-eol-conversion)
4803 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4806 * net/tramp-gvfs.el:
4807 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4808 by `tramp-compat-set-process-query-on-exit-flag'.
4810 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4811 Use `tramp-handle-directory-files-and-attributes',
4812 `tramp-handle-file-exists-p' and
4813 `tramp-handle-file-newer-than-file-p'.
4814 (tramp-imap-handle-file-exists-p)
4815 (tramp-imap-handle-file-executable-p)
4816 (tramp-imap-handle-file-readable-p)
4817 (tramp-imap-handle-directory-files-and-attributes)
4818 (tramp-imap-handle-file-newer-than-file-p): Remove.
4820 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4821 by `tramp-compat-set-process-query-on-exit-flag' and
4822 `tramp-coding-system-change-eol-conversion' by
4823 `tramp-compat-coding-system-change-eol-conversion'.
4825 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4826 Use `tramp-handle-directory-files-and-attributes',
4827 `tramp-handle-file-exists-p' and
4828 `tramp-handle-file-newer-than-file-p'.
4829 (tramp-smb-handle-directory-files-and-attributes)
4830 (tramp-smb-handle-file-exists-p)
4831 (tramp-smb-handle-file-newer-than-file-p): Remove.
4832 (tramp-smb-maybe-open-connection):
4833 Replace `tramp-set-process-query-on-exit-flag' by
4834 `tramp-compat-set-process-query-on-exit-flag'.
4836 2010-10-05 Glenn Morris <rgm@gnu.org>
4838 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4840 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4842 Continue reorganization of load dependencies. (Bug#7156)
4844 * net/tramp.el (tramp-handle-file-local-copy-hook)
4845 (tramp-delete-temp-file-function): Move down.
4846 (tramp-exists-file-name-handler): Move up.
4847 (tramp-register-file-name-handlers): Simplify autoload.
4848 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4849 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4850 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4851 (tramp-handle-file-name-completion)
4852 (tramp-handle-file-name-directory)
4853 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4854 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4855 (tramp-handle-find-backup-file-name)
4856 (tramp-handle-insert-file-contents, tramp-handle-load)
4857 (tramp-handle-substitute-in-file-name)
4858 (tramp-handle-unhandled-file-name-directory)
4859 (tramp-mode-string-to-int, tramp-local-host-p)
4860 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4862 * net/tramp-gvfs.el (top):
4863 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4865 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4866 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4868 2010-10-04 Glenn Morris <rgm@gnu.org>
4870 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4871 (appt-activate): Give status messages.
4873 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4875 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4876 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4877 `gnutls-negotiate' (formerly `starttls-negotiate').
4878 Remove trivial wrapper `starttls-open-stream'.
4880 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4882 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4883 log-outgoing commands.
4884 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4885 to create a buffer local revert-buffer-function variable.
4886 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4887 revert-buffer-function lambda.
4889 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4891 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4892 `gnutls-boot'. Make TYPE the only required parameter.
4893 Allow TRUSTFILES and KEYFILES to be lists.
4894 (open-ssl-stream): Use it.
4896 2010-10-03 Glenn Morris <rgm@gnu.org>
4898 * subr.el (directory-sep-char): Remove obsolete variable.
4899 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4902 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4903 * vc/vc.el (vc-static-header-alist): Doc fix.
4904 * vc/vc-cvs.el (vc-cvs-header):
4905 * vc/vc-rcs.el (vc-rcs-header):
4906 * vc/vc-sccs.el (vc-sccs-header):
4907 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4908 * obsolete/vc-mcvs.el (vc-mcvs-header):
4909 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4912 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4914 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4915 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4917 2010-10-03 Glenn Morris <rgm@gnu.org>
4919 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4921 * textmodes/rst.el (rst-font-lock-keywords-function):
4924 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4926 * printing.el: Drop Emacs 20 code.
4928 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4929 without having used appt.el already).
4931 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4932 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4933 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4935 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4936 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4938 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4939 (charset-width, find-charset-region, chars-in-region, forward-point)
4940 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4941 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4942 Remove compatibility cruft (none of these are used by ps*.el).
4944 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4946 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4948 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4950 * server.el (server-process-filter, server-return-error):
4951 Give emacsclient time to shut down after receiving an error string.
4953 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4955 * files.el (remote-file-name-inhibit-cache): New defcustom.
4957 * time.el (display-time-file-nonempty-p):
4958 Use `remote-file-name-inhibit-cache'.
4960 * net/tramp.el (tramp-completion-reread-directory-timeout):
4963 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4964 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4965 `remote-file-name-inhibit-cache'. Check also for an integer
4966 value. Add/increase counter when `tramp-verbose' >= 10.
4967 (tramp-set-file-property): Add/increase counter when
4968 `tramp-verbose' >= 10.
4970 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4971 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4972 (tramp-bug): Set tramp-autoload cookie. Report all interned
4973 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4974 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4975 characters only in strings.
4977 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4978 to backward compatibility.
4980 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4981 (tramp-handle-file-name-all-completions)
4982 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4983 (tramp-open-connection-setup-interactive-shell):
4984 Call `tramp-cleanup-connection' directly.
4986 2010-10-02 Glenn Morris <rgm@gnu.org>
4988 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4990 * subr.el (char-bytes): Remove obsolete function.
4992 * isearch.el (isearch-return-char): Remove obsolete function.
4994 * mouse.el: No longer provide mldrag.
4995 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4996 Remove obsolete aliases.
4998 * comint.el (comint-kill-output): Remove obsolete alias.
5000 * composite.el (decompose-composite-char): Remove obsolete function.
5001 * ps-def.el (decompose-composite-char): Remove unused function.
5003 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5005 * outline.el (outline-visible): Remove obsolete function.
5007 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5008 * faces.el (internal-find-face, internal-get-face)
5009 (frame-update-faces, frame-update-face-colors)
5010 (x-frob-font-weight, x-frob-font-slant)
5011 (internal-frob-font-weight, internal-frob-font-slant)
5012 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5013 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5014 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5016 * emulation/viper-util.el (viper-get-face):
5017 * obsolete/lucid.el (find-face, get-face): Use facep.
5018 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5019 Remove unused functions.
5020 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5022 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5023 delete tempfile if interrupted during compilation.
5025 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5027 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5029 (tls-program): Add --insecure to be consistent with the defaults from
5030 openssl s_client. Now all three commands are insecure.
5032 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5034 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5035 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5036 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5038 2010-10-01 Glenn Morris <rgm@gnu.org>
5040 * obsolete/sc.el: Remove file.
5042 * files.el (temporary-file-directory): On darwin, also try
5043 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5045 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5047 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5048 Let's not break compatibility gratuitously, shall we?
5050 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5052 * net/tls.el (tls-starttls-switches): New variable.
5053 (tls-find-starttls-argument): Use it.
5054 (open-tls-stream): Ditto.
5056 * net/netrc.el (netrc-credentials): Return the value of the "default"
5058 (netrc-machine): Ditto.
5060 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5062 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5064 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5066 * server.el (server-start): Don't write pid to the authentication file.
5067 (server-create-tty-frame): Don't send pid.
5068 (server-process-filter): Send pid at the start of every connection.
5070 2010-09-30 Glenn Morris <rgm@gnu.org>
5072 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5073 (show-all-diary-entries): Remove obsolete function aliases.
5075 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5076 Remove options, obsolete since 22.1.
5077 (appt-display-format, appt-display-message):
5078 Remove backwards-compatibility code.
5079 (appt-check): No longer check appt-issue-message.
5080 (appt-make-list): No longer autoload it. Doc fix. No longer
5081 activate the package.
5083 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5085 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5086 (starttls-negotiate): Just call boot, and let the handshake be
5087 triggered from the read loop.
5089 2010-09-29 Glenn Morris <rgm@gnu.org>
5091 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5092 not displaying the diary.
5093 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5094 * calendar/appt.el (appt-check): No longer need to kill diary.
5096 * calendar/diary-lib.el (diary-list-entries): Move the
5097 "Preparing..." message entirely here.
5098 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5099 messages to diary-list-entries.
5100 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5101 diary-display-function.
5103 * calendar/diary-lib.el (diary-include-other-diary-files):
5104 Trap some recursive includes.
5106 * calendar/appt.el (appt-activate): Check diary file.
5108 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5110 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5113 * calendar/time-date.el: No need to require cl for Emacs 21.
5115 2010-09-28 Glenn Morris <rgm@gnu.org>
5117 * calendar/appt.el (appt-check): Minor simplification.
5119 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5121 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5124 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5126 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5127 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5129 2010-09-27 Kenichi Handa <handa@m17n.org>
5131 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5134 2010-09-27 Kenichi Handa <handa@m17n.org>
5136 * international/mule.el (define-coding-system): Docstring fixed.
5138 * international/mule-diag.el (describe-character-set): Use princ
5139 with proper print-length and print-level instead of insert.
5141 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5143 * window.el (walk-windows): Doc fix (bug#7105).
5145 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5147 * emacs-lisp/float-sup.el (e): Remove.
5149 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5151 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5153 (starttls-negotiate): Use it.
5155 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5157 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5160 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5164 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5166 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5168 * net/netrc.el (netrc-store-data): New function.
5170 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5172 * net/gnutls.el: GnuTLS glue code to set up a connection.
5174 2010-09-25 Julien Danjou <julien@danjou.info>
5176 * notifications.el: Call dbus-register-signal only if it is bound.
5178 2010-09-25 Glenn Morris <rgm@gnu.org>
5180 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5181 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5182 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5183 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5184 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5185 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5186 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5187 * eshell/esh-util.el, eshell/esh-var.el:
5188 Remove leading `*' from docs of faces and defcustoms.
5190 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5192 * eshell/em-ls.el (eshell-ls-archive-regexp):
5193 * eshell/esh-util.el (eshell-tar-regexp):
5194 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5195 * info.el (Info-suffix-list):
5196 * international/mule.el (auto-coding-alist):
5197 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5198 * progmodes/etags.el (tags-compression-info-list):
5199 Support xz compression.
5201 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5203 * files.el (get-free-disk-space): Don't assume the "df" output
5204 columns line up (Bug#6995).
5206 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5208 * finder.el (finder-unknown-keywords):
5209 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5210 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5212 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5214 * server.el (server-start): Revert part of 2010-08-08 change. Using
5215 address 127.0.0.1 for local host is now done in Fmake_network_process.
5217 2010-09-24 Glenn Morris <rgm@gnu.org>
5219 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5220 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5221 * textmodes/css-mode.el, textmodes/dns-mode.el:
5222 Move autoloaded auto-mode-alist entries to files.el.
5223 * files.el (auto-mode-alist): Move entries here.
5225 2010-09-23 Glenn Morris <rgm@gnu.org>
5227 * isearch.el (isearch-lazy-highlight-cleanup)
5228 (isearch-lazy-highlight-initial-delay)
5229 (isearch-lazy-highlight-interval)
5230 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5231 * net/net-utils.el (ipconfig-program-options):
5232 Move aliases to options before the associated definitions.
5234 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5236 * newcomment.el (comment-normalize-vars): Better test validity of
5239 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5241 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5242 (float-e): New name for `e'.
5243 (degrees-to-radians, radians-to-degrees):
5244 * calendar/solar.el (solar-longitude):
5245 * calculator.el (calculator-registers, calculator-funcall):
5246 * textmodes/artist.el (artist-spray-random-points):
5247 * play/bubbles.el (bubbles--initialize-images): Use new names.
5249 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5251 Update to CEDET 1.0's version of EIEIO.
5253 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5255 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5256 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5257 (class-precedence-list): If class is nil, return nil.
5258 (eieio-generic-call): If class of first input arg is nil, don't
5259 look up static methods, and do check for primary methods.
5260 (initialize-instance): See if the default needs to be evaluated
5261 during the constructor.
5262 (eieio-perform-slot-validation-for-default): Don't do the check
5263 for values that will eventually be evaluated.
5264 (eieio-eval-default-p): New function.
5265 (eieio-default-eval-maybe): Use it.
5267 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5269 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5270 method-invocation-order.
5271 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5272 (eieio-class-precedence-dfs): Compute class precedence list using
5274 (eieio-class-precedence-bfs): Compute class precedence list using
5276 (eieio-class-precedence-c3): Compute class precedence list using
5278 (class-precedence-list): New function.
5279 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5280 (inconsistent-class-hierarchy): New error symbol.
5281 (call-next-method): Stow the replacement argument list for future
5282 call-next-method invocations.
5284 2010-09-23 Glenn Morris <rgm@gnu.org>
5286 * calendar/appt.el (appt-check): If not displaying the diary,
5287 use (diary 1) to only get the entries we need.
5288 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5289 that it is in day order. (Bug#7019)
5291 * calendar/appt.el (appt-check): Rather than showing the diary,
5292 just turn off invisible display, and only if needed.
5294 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5296 2010-09-23 Glenn Morris <rgm@gnu.org>
5298 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5299 (byte-compile-defvar, byte-compile-cl-warn):
5300 Start warnings with lower-case, like the majority.
5302 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5304 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5306 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5307 * files.el (auto-mode-alist): Move ld-script entries here, further down
5310 * vc/add-log.el: Don't require timezone when compiling.
5311 (timezone-make-date-sortable): Autoload it.
5312 (change-log-sortable-date-at): Don't require timezone.
5313 Use `ignore-errors'.
5315 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5316 Move alias before definition, so it does not need autoloading.
5318 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5319 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5320 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5321 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5322 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5323 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5324 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5325 * textmodes/tex-mode.el, textmodes/two-column.el:
5326 Remove leading `*' from docs of defcustoms etc.
5328 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5330 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5332 2010-09-22 Dan Christensen <jdc@uwo.ca>
5334 * calendar/time-date.el (date-to-time): Try using parse-time-string
5335 first before using the slower timezone-make-date-arpa-standard.
5337 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5339 * calendar/time-date.el (format-seconds): Comment fix.
5341 2010-09-22 Glenn Morris <rgm@gnu.org>
5343 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5344 is not automatically buffer-local.
5346 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5348 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5349 (smie-indent-comment): Be more careful with comment-start-skip.
5350 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5351 (smie-indent-functions): Use them.
5353 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5355 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5357 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5359 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5360 tool-bar-position. Don't modify frame parameters here.
5361 (menu-bar-options-save): Add tool-bar-position.
5363 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5365 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5367 * textmodes/reftex-parse.el (reftex-what-macro)
5368 (reftex-context-substring): Let-bind forward-sexp-function to nil
5369 since we don't need/want to treat \begin...\end as a block (bug#7053).
5371 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5373 * simple.el (blink-matching-open): Use syntax-class.
5375 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5376 Set invisibility spec for pascal's outline mode.
5377 (pascal-outline-change): Clean up calling convention.
5378 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5380 * progmodes/prolog.el (prolog-smie-forward-token)
5381 (prolog-smie-backward-token): New functions.
5382 (prolog-mode-variables): Use them to parse "!," correctly.
5383 Set up smie-blink-matching for ".".
5385 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5387 (ispell-region, ispell-process-line): Update users.
5389 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5392 * textmodes/ispell.el: Fix commenting convention.
5393 (ispell-parse-output): Simplify, use push.
5394 (ispell-region): Use match-string-no-properties.
5395 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5396 (ispell-minor-mode): Use define-minor-mode.
5397 (ispell-message): Remove unused var `skip-regexp'.
5398 (ispell-add-per-file-word-list): Use dynamic let-binding.
5399 Try and use the proper comment marker.
5401 * mail/sendmail.el: Fix commenting convention.
5402 (sendmail-send-it): Use line-beginning-position.
5404 * help-fns.el (describe-variable): Add original value, if applicable.
5406 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5408 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5410 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5412 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5414 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5415 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5416 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5417 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5418 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5419 something like "." can also be a closer.
5420 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5421 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5422 Rename internal functions to use "--". Update callers.
5424 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5426 * fringe.el (fringe-styles): New var.
5427 (fringe-mode, fringe-query-style): Use it.
5429 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5431 * progmodes/sql.el: Version 2.8
5432 (sql-login-params): Update widget structure; changes still needed.
5433 (sql-product-alist): Add :list-all and :list-table features for
5434 SQLite, Postgres and MySQL products.
5435 (sql-redirect): Handle default value.
5436 (sql-execute, sql-execute-feature): New functions.
5437 (sql-read-table-name): New function.
5438 (sql-list-all, sql-list-table): New functions. User API.
5439 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5440 for above functions.
5441 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5442 for above functions.
5443 (sql-postgres-login-params): Add user and database defaults.
5444 (sql-buffer-live-p): Bug fix.
5445 (sql-product-history): New variable.
5446 (sql-read-product): New function. Use it.
5447 (sql-set-product, sql-product-interactive): Use it.
5448 (sql-connection-history): New variable.
5449 (sql-read-connection): New function. Use it.
5450 (sql-connect): New function.
5451 (sql-for-each-login): Redesign function interface.
5452 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5453 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5454 (sql-comint): Check for program. Existing live buffer.
5455 (sql-comint-postgres): Add port parameter.
5457 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5459 * emacs-lisp/warnings.el: Fix commenting convention.
5460 (display-warning): Use special mode and make the buffer read-only.
5462 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5464 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5465 empty string when it follows a repeated or optional pattern.
5467 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5469 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5470 (indent-region): Use indent-according-to-mode.
5472 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5474 * fringe.el (fringe-mode): Doc fix.
5476 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5478 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5479 refreshing the preview buffer.
5481 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5483 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5484 (latex-syntax-propertize-rules): New consts; replace
5485 tex-font-lock-syntactic-keywords.
5486 (tex-env-mark, latex-env-before-change): New functions.
5487 (latex-electric-env-pair-mode): New minor mode.
5488 (tex-font-lock-verb): Change arguments; do move point.
5489 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5490 representation as a form of comment.
5491 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5492 (doctex-syntax-propertize-rules): New const; replaces
5493 doctex-font-lock-syntactic-keywords.
5494 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5496 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5497 (fortran-make-syntax-propertize-function): New function; replaces
5498 fortran-font-lock-syntactic-keywords.
5499 (fortran-mode): Use it.
5500 (fortran-line-length): Use it. Improve interactive spec.
5502 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5503 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5504 when adding surrounding \(..\).
5506 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5508 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5510 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5511 Use with-current-buffer.
5513 * isearch.el (isearch-face): Rename from `isearch'.
5514 (isearch-highlight): Use new name.
5516 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5518 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5519 5, for `half' width fringes. (Bug#6933)
5521 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5523 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5524 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5526 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5528 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5530 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5531 in calculating new frame position. Add more space between new and
5532 parent on the left (Bug#7048).
5534 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5536 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5539 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5541 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5543 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5544 obsolete alias for x-selection-value.
5546 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5548 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5550 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5553 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5555 * net/tramp-compat.el (tramp-compat-with-temp-message)
5556 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5557 (tramp-compat-process-put): New defuns.
5559 * net/tramp.el (top):
5560 * net/tramp-gvfs.el (top):
5561 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5563 * net/tramp.el (tramp-progress-reporter-update):
5564 Use `tramp-compat-funcall'.
5566 * net/tramp.el (tramp-process-actions):
5567 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5568 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5569 (tramp-get-remote-stat, tramp-get-remote-readlink):
5570 Use `tramp-compat-with-temp-message'.
5572 * net/tramp-sh.el (top): Require 'cl.
5573 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5574 (tramp-open-connection-setup-interactive-shell):
5575 Use `tramp-compat-process-put'.
5577 2010-09-15 Alan Mackenzie <acm@muc.de>
5579 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5581 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5583 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5585 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5586 `lexical' for warnings related to lexical scoping.
5587 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5588 global vars which don't have a prefix and could hence affect lexical
5589 scoping in unrelated files.
5591 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5593 * net/imap.el: Revert back to version
5594 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5597 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5599 * obsolete/old-whitespace.el (whitespace-unload-function):
5600 Explicitly pass `obarray' to `unintern' to avoid a warning.
5602 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5604 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5605 Add `when' argument. Update callers.
5607 * subr.el (unintern): Declare the obarray arg mandatory.
5609 2010-09-14 Glenn Morris <rgm@gnu.org>
5611 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5614 * calendar/diary-lib.el (diary-included-files): New variable.
5615 (diary-list-entries): Maybe initialize diary-included-files.
5616 (diary-include-other-diary-files): Append to diary-included-files.
5617 * calendar/appt.el (appt-update-list): Also check the members of
5618 diary-included-files. (Bug#6999)
5619 (appt-check): Doc fix.
5621 2010-09-14 David Reitter <david.reitter@gmail.com>
5623 * simple.el (line-move-visual): Do not truncate goal column to
5624 integer size. (Bug#7020)
5626 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5628 * repeat.el (repeat): Allow repeating when the last event is a click.
5629 Suggested by Drew Adams (bug#6256).
5631 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5633 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5634 Replace setting HGRCPATH to "" by some less invasive --config options.
5636 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5638 * font-lock.el (font-lock-beginning-of-syntax-function):
5641 2010-09-14 Glenn Morris <rgm@gnu.org>
5643 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5644 and tool-bar modes. (Bug#6211)
5645 (menu-bar-mode): Move setting of standard-value after the
5646 minor-mode definition, otherwise it seems to have no effect.
5648 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5650 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5651 Fix typo. (Bug#6976)
5653 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5655 * whitespace.el: Allow cleaning up blanks without blank
5656 visualization (Bug#6651). Adjust help window for
5657 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5658 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5659 (whitespace-style): Add new value 'face. Adjust docstring.
5660 (whitespace-space, whitespace-hspace, whitespace-tab):
5661 Adjust foreground property face.
5662 (whitespace-line-column): Adjust docstring and type declaration.
5663 (whitespace-style-value-list, whitespace-toggle-option-alist)
5664 (whitespace-help-text): Adjust const initialization.
5665 (whitespace-toggle-options, global-whitespace-toggle-options):
5667 (whitespace-display-window, whitespace-interactive-char)
5668 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5669 (whitespace-help-scroll): New fun.
5671 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5673 * calendar/time-date.el (format-seconds): Comment fix.
5675 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5677 * progmodes/sql.el: Version 2.7.
5678 (sql-buffer-live-p): Improve detection.
5679 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5680 (sql-set-sqli-buffer): Use it.
5681 (sql-product-interactive): Run `sql-set-sqli-hook'.
5682 (sql-rename-buffer): Code cleanup.
5683 (sql-redirect, sql-redirect-value): New functions. More to come.
5685 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5687 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.
5688 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5689 (TRAMP_SRC): New macro.
5690 ($(lisp)/net/tramp-loaddefs.el): New target.
5692 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5694 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5696 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5698 * net/tramp.el (top): Don't show loading message. Require just
5699 'tramp-compat, everything else is required there.
5700 Use `ignore-errors' where appropriate.
5701 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5702 (tramp-terminal-type, tramp-end-of-output)
5703 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5704 (tramp-completion-function-alist-ssh)
5705 (tramp-completion-function-alist-telnet)
5706 (tramp-completion-function-alist-su)
5707 (tramp-completion-function-alist-putty, tramp-remote-path)
5708 (tramp-remote-process-environment, tramp-sh-extra-args)
5709 (tramp-actions-before-shell, tramp-uudecode)
5710 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5711 (tramp-perl-file-attributes)
5712 (tramp-perl-directory-files-and-attributes)
5713 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5714 (tramp-perl-encode, tramp-perl-decode)
5715 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5716 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5717 (tramp-handle-make-symbolic-link, tramp-handle-load)
5718 (tramp-handle-file-name-as-directory)
5719 (tramp-handle-file-name-directory)
5720 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5721 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5722 (tramp-do-file-attributes-with-ls)
5723 (tramp-do-file-attributes-with-perl)
5724 (tramp-do-file-attributes-with-stat)
5725 (tramp-handle-set-visited-file-modtime)
5726 (tramp-handle-verify-visited-file-modtime)
5727 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5728 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5729 (tramp-handle-file-selinux-context)
5730 (tramp-handle-set-file-selinux-context)
5731 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5732 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5733 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5734 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5735 (tramp-handle-file-ownership-preserved-p)
5736 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5737 (tramp-handle-directory-files-and-attributes)
5738 (tramp-do-directory-files-and-attributes-with-perl)
5739 (tramp-do-directory-files-and-attributes-with-stat)
5740 (tramp-handle-file-name-all-completions)
5741 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5742 (tramp-handle-copy-file, tramp-handle-copy-directory)
5743 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5744 (tramp-do-copy-or-rename-file-via-buffer)
5745 (tramp-do-copy-or-rename-file-directly)
5746 (tramp-do-copy-or-rename-file-out-of-band)
5747 (tramp-handle-make-directory, tramp-handle-delete-directory)
5748 (tramp-handle-delete-file)
5749 (tramp-handle-dired-recursive-delete-directory)
5750 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5751 (tramp-handle-insert-directory)
5752 (tramp-handle-unhandled-file-name-directory)
5753 (tramp-handle-expand-file-name)
5754 (tramp-handle-substitute-in-file-name)
5755 (tramp-handle-executable-find, tramp-process-sentinel)
5756 (tramp-handle-start-file-process, tramp-handle-process-file)
5757 (tramp-handle-call-process-region, tramp-handle-shell-command)
5758 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5759 (tramp-handle-insert-file-contents)
5760 (tramp-handle-insert-file-contents-literally)
5761 (tramp-handle-find-backup-file-name)
5762 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5763 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5764 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5765 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5766 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5767 (tramp-find-file-exists-command, tramp-open-shell)
5768 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5769 (tramp-open-connection-setup-interactive-shell)
5770 (tramp-local-coding-commands, tramp-remote-coding-commands)
5771 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5772 (tramp-inline-compress-commands, tramp-find-inline-compress)
5773 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5774 (tramp-send-command, tramp-wait-for-output)
5775 (tramp-send-command-and-check, tramp-barf-unless-okay)
5776 (tramp-send-command-and-read, tramp-mode-string-to-int)
5777 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5778 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5779 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5780 (tramp-method-out-of-band-p, tramp-local-host-p)
5781 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5782 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5783 (tramp-get-test-command, tramp-get-test-nt-command)
5784 (tramp-get-file-exists-command, tramp-get-remote-ln)
5785 (tramp-get-remote-perl, tramp-get-remote-stat)
5786 (tramp-get-remote-readlink, tramp-get-remote-trash)
5787 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5788 (tramp-get-local-uid, tramp-get-local-gid)
5789 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5791 (tramp-methods, tramp-default-method-alist)
5792 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5793 Move initialization to tramp-sh.el.
5794 (tramp-temp-name-prefix): Make it a defconst.
5795 (tramp-dissect-file-name): Don't check anymore for multi-hop
5797 (tramp-debug-outline-regexp): Add a docstring.
5798 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5799 (tramp-get-debug-buffer): Use it.
5801 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5802 initialization forms.
5803 (tramp-set-connection-property): Don't protect `tramp-message'
5804 call, it isn't necessary any longer.
5805 (tramp-dump-connection-properties): Use `ignore-errors'.
5807 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5808 'password-cache and 'auth-source.
5810 * net/tramp-gvfs.el (top):
5811 * net/tramp-smb.el (top): Require 'tramp-sh.
5813 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5815 * net/tramp-sh.el: New file, derived from tramp.el.
5816 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5817 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5818 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5819 Use `ignore-errors' where appropriate.
5820 (tramp-sh-file-name-handler-alist): Rename from
5821 `tramp-file-name-handler-alist'.
5822 (tramp-send-command-and-check): Return t or nil. Remove all
5823 `zerop' checks, where called.
5824 (tramp-handle-set-file-modes)
5825 (tramp-do-copy-or-rename-file-directly)
5826 (tramp-handle-delete-directory, tramp-handle-delete-file)
5827 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5828 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5829 (tramp-get-remote-ln): Set tramp-autoload cookie.
5831 * net/tramp-fish.el: Remove file.
5833 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5835 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5836 buffer-file-name to avoid file-locking. (Bug#7026)
5838 2010-09-13 Julien Danjou <julien@danjou.info>
5840 * notifications.el (notifications-notify): Add support for
5841 image-path and sound-name.
5842 (notifications-specification-version): Add this variable.
5844 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5846 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5848 2010-09-12 Leo <sdl.web@gmail.com>
5850 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5851 (rcirc-completion-start): New variables.
5852 (rcirc-nick-completions): Rename to rcirc-completions.
5853 (rcirc-nick-completion-start-offset): Delete.
5854 (rcirc-completion-at-point): New function for constructing
5855 completion data for both nicks and irc commands. Add to
5856 completion-at-point-functions in rcirc mode.
5857 (rcirc-complete): Rename from rcirc-nick-complete; use
5858 rcirc-completion-at-point.
5859 (defun-rcirc-command): Update rcirc-client-commands.
5861 2010-09-11 Glenn Morris <rgm@gnu.org>
5863 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5864 atomically, to avoid parallel build errors. (Bug#4196)
5866 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5868 * progmodes/sql.el: Version 2.6
5869 (sql-dialect): Synonym for "sql-product".
5870 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5871 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5872 Set "sql-buffer" to buffer name not buffer object so multiple sql
5873 interactive buffers work properly. Reverts misguided changes in
5875 (sql-comint): Make sure different buffer name is used if "*SQL*"
5876 buffer is for a different product.
5877 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5879 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5880 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5881 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5882 Accept new buffer name or prompt for one.
5883 (sql-port): Default to zero.
5884 (sql-comint-mysql): Handle "sql-port" as a numeric.
5885 (sql-port-history): Delete unused variable.
5886 (sql-get-login): Default "sql-port" to a number.
5887 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5888 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5889 "sqlite3" executables.
5890 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5891 (sql-buffer-live-p): New function.
5892 (sql-mode-menu, sql-send-string): Use it.
5893 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5895 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5896 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5898 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5900 * net/netrc.el (netrc-credentials): New convenience function.
5902 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5904 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5905 to replace texinfo-font-lock-syntactic-keywords.
5906 (texinfo-mode): Use it.
5908 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5909 Use syntax-propertize-function.
5911 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5912 replace sgml-font-lock-syntactic-keywords.
5913 (sgml-mode): Use it.
5915 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5916 since we don't use it.
5918 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5920 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5922 (vhdl-fontify-buffer): Adjust.
5924 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5925 replace tcl-font-lock-syntactic-keywords.
5928 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5929 replace simula-font-lock-syntactic-keywords.
5930 (simula-mode): Use it.
5932 * progmodes/sh-script.el (sh-st-symbol): Remove.
5933 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5934 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5935 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5936 (sh-font-lock-paren): Set syntax-multiline.
5937 (sh-font-lock-syntactic-keywords): Remove.
5938 (sh-syntax-propertize-function): New function to replace it.
5941 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5942 Define while compiling.
5943 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5944 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5945 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5946 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5947 (ruby-here-doc-end-syntax): Only define when
5948 syntax-propertize is not available.
5949 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5951 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5952 (electric-indent-chars): Silence bytecompiler.
5953 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5954 electric-indent-chars.
5956 * progmodes/python.el (python-syntax-propertize-function): New var to
5957 replace python-font-lock-syntactic-keywords.
5958 (python-mode): Use it.
5959 (python-quote-syntax): Simplify and adjust to new use.
5961 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5962 replace perl-font-lock-syntactic-keywords.
5963 (perl-syntax-propertize-special-constructs): New fun to replace
5964 perl-font-lock-special-syntactic-constructs.
5965 (perl-font-lock-syntactic-face-function): New fun.
5966 (perl-mode): Use it.
5968 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5969 to replace octave-font-lock-close-quotes.
5970 (octave-syntax-propertize-function): New function to replace
5971 octave-font-lock-syntactic-keywords.
5972 (octave-mode): Use it.
5974 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5975 replaces mixal-font-lock-syntactic-keywords.
5976 (mixal-mode): Use it.
5978 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5979 New var; replaces makefile-font-lock-syntactic-keywords.
5980 (makefile-mode): Use it.
5981 (makefile-imake-mode): Adjust.
5983 * progmodes/js.el (js--regexp-literal): Define while compiling.
5984 (js-syntax-propertize-function): New var; replaces
5985 js-font-lock-syntactic-keywords.
5988 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5989 replaces gdb-script-font-lock-syntactic-keywords.
5990 (gdb-script-mode): Use it.
5992 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5993 (fortran--font-lock-syntactic-keywords): New var.
5994 (fortran-line-length): Update syntax-propertize-function and
5995 fortran--font-lock-syntactic-keywords.
5997 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5999 * progmodes/cfengine.el (cfengine-mode):
6000 Use syntax-propertize-function.
6001 (cfengine-font-lock-syntactic-keywords): Remove.
6003 * progmodes/autoconf.el (autoconf-mode):
6004 Use syntax-propertize-function.
6005 (autoconf-font-lock-syntactic-keywords): Remove.
6007 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6008 (ada-after-change-function, ada-initialize-syntax-table-properties)
6009 (ada-handle-syntax-table-properties): Only define when
6010 syntax-propertize is not available.
6011 (ada-mode): Use syntax-propertize-function.
6013 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6014 (font-lock-fontify-syntactic-keywords-region): Move handling of
6015 font-lock-syntactically-fontified to...
6016 (font-lock-default-fontify-region): ...here.
6017 Let syntax-propertize-function take precedence.
6018 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6020 * emacs-lisp/syntax.el (syntax-propertize-function)
6021 (syntax-propertize-chunk-size, syntax-propertize--done)
6022 (syntax-propertize-extend-region-functions): New vars.
6023 (syntax-propertize-wholelines, syntax-propertize-multiline)
6024 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6025 (syntax-propertize): New functions.
6026 (syntax-propertize-rules): New macro.
6027 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6028 (syntax-ppss): Call syntax-propertize.
6030 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6032 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6034 * textmodes/ispell.el (ispell-init-process): Improve comments.
6035 XEmacs compatibility changes regarding (add-hook) 'local option
6036 and (set-process-query-on-exit-flag).
6038 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6040 * net/tramp-cache.el (tramp-parse-connection-properties):
6041 Set tramp-autoload cookie.
6043 2010-09-09 Glenn Morris <rgm@gnu.org>
6045 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6046 (imagemagick-register-types): Doc fix.
6048 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6050 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6052 * progmodes/js.el (require): Require is already "eval-and-compile".
6053 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6054 (js--re-search-backward): Use js--re-search-forward.
6056 * progmodes/fortran.el (fortran-line-length): Don't recompute
6057 syntactic keywords redundantly a second time.
6059 * progmodes/ada-mode.el: Replace "(set '" with setq.
6060 (ada-mode): Simplify.
6061 (ada-create-case-exception, ada-adjust-case-interactive)
6062 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6063 (ada-search-ignore-string-comment, ada-move-to-start)
6064 (ada-move-to-end): Use with-syntax-table.
6066 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6067 (font-lock-unfontify-region, font-lock-default-fontify-region):
6068 Update usage correspondingly.
6069 (font-lock-fontify-syntactic-keywords-region):
6070 Set parse-sexp-lookup-properties buffer-locally here.
6071 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6073 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6075 2010-09-08 Glenn Morris <rgm@gnu.org>
6077 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6078 Error if not compiled with -DBYTE_CODE_METER.
6080 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6081 Ignore dir-locals-file.
6083 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6085 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6087 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6088 for the `gnu' messages.
6089 (compilation-set-skip-threshold): New command.
6090 (compilation-start): Use \' rather than $.
6091 (compilation-forget-errors): Use clrhash.
6093 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6095 * textmodes/ispell.el (ispell-valid-dictionary-list):
6098 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6100 Migrate to Tramp 2.2. Rearrange load dependencies.
6101 (Bug#1529, Bug#5448, Bug#5705)
6103 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6104 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6105 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6107 * net/tramp.el (top): Remove all other tramp-* loads except
6108 tramp-compat.el. Remove all changes to tramp-unload-hook for
6109 other tramp-* packages. Rearrange defun order. Change calls of
6110 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6111 `tramp-compat-octal-to-decimal' to new function names.
6112 (tramp-terminal-type, tramp-initial-end-of-output)
6113 (tramp-methods, tramp-foreign-file-name-handler-alist)
6114 (tramp-tramp-file-p, tramp-completion-mode-p)
6115 (tramp-send-command-and-check, tramp-get-remote-path)
6116 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6117 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6118 (with-file-property, with-connection-property): Move to
6120 (tramp-local-call-process, tramp-decimal-to-octal)
6121 (tramp-octal-to-decimal): Move to tramp-compat.el.
6122 (tramp-handle-shell-command): Do not require 'shell.
6123 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6125 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6127 * net/tramp-cache.el (top): Require 'tramp. Add to
6128 `tramp-unload-hook'.
6129 (tramp-cache-data, tramp-get-file-property)
6130 (tramp-set-file-property, tramp-flush-file-property)
6131 (tramp-flush-directory-property, tramp-get-connection-property)
6132 (tramp-set-connection-property, tramp-flush-connection-property)
6133 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6135 (with-file-property, with-connection-property): New defuns, moved
6137 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6140 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6141 (tramp-version): Set tramp-autoload cookie.
6143 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6144 changes to tramp-unload-hook for other tramp-* packages. Add to
6145 `tramp-unload-hook'.
6146 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6147 (tramp-compat-call-process): New defuns, moved from tramp.el.
6149 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6150 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6151 Add to `tramp-unload-hook'. Change call of
6152 `tramp-compat-decimal-to-octal' to new function name.
6153 (tramp-fish-method): Make it a defconst.
6154 (tramp-fish-file-name-p): Make it a defsubst.
6155 (tramp-fish-method, tramp-fish-file-name-handler)
6156 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6158 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6159 `tramp-foreign-file-name-handler-alist'. Add to
6160 `tramp-unload-hook'.
6161 (tramp-ftp-method): Make it a defconst.
6162 (tramp-ftp-file-name-p): Make it a defsubst.
6163 (tramp-ftp-method, tramp-ftp-file-name-handler)
6164 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6166 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6167 `tramp-foreign-file-name-handler-alist'. Add to
6168 `tramp-unload-hook'. Change checks, whether package can be
6170 (tramp-gvfs-file-name-p): Make it a defsubst.
6171 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6172 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6173 (tramp-gvfs-handle-file-directory-p): New defun.
6174 (tramp-gvfs-file-name-handler-alist): Use it.
6176 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6177 `tramp-foreign-file-name-handler-alist'. Add to
6178 `tramp-unload-hook'.
6179 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6180 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6182 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6183 (tramp-gw-open-connection): Set tramp-autoload cookie.
6185 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6186 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6187 Add to `tramp-unload-hook'. Change checks, whether package can be
6189 (tramp-imap-file-name-p): Make it a defsubst.
6190 (tramp-imap-method, tramp-imaps-method)
6191 (tramp-imap-file-name-handler)
6192 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6194 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6195 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6196 Add to `tramp-unload-hook'. Change checks, whether package can be
6197 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6199 (tramp-smb-tunnel-method): Make it a defconst.
6200 (tramp-smb-file-name-p): Make it a defsubst.
6201 (tramp-smb-method, tramp-smb-file-name-handler)
6202 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6204 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6205 (tramp-uuencode-region): Set tramp-autoload cookie.
6207 * net/trampver.el (top) Add to `tramp-unload-hook'.
6208 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6209 cookie. Update release number.
6211 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6213 * textmodes/ispell.el (ispell-start-process): Make sure original
6214 arg list is properly initialized (Bug#6993, Bug#6994).
6216 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6218 * files.el (directory-abbrev-alist): Use \` as default regexp.
6220 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6221 chars like - or ] (bug#6984).
6222 (rx-any-condense-range): Explode 2-char ranges.
6224 2010-09-06 Glenn Morris <rgm@gnu.org>
6226 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6228 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * textmodes/bibtex.el:
6231 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6233 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6235 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6236 since no callers use it.
6237 (imap-message-get): Ditto.
6238 (imap-message-put): Ditto.
6239 (imap-mailbox-map): Ditto.
6240 (imap-mailbox-put): Ditto.
6241 (imap-mailbox-get): Ditto.
6242 (imap-mailbox-get): Revert last change for this function.
6244 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6246 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6247 callers to use `imap-fetch' instead. According to the comments, this
6248 should be safe, since all other IMAP clients use the 1:* syntax.
6249 (imap-enable-exchange-bug-workaround): Remove.
6250 (imap-debug): Remove -- doesn't seem very useful.
6252 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6254 * net/imap.el (imap-log): New convenience function used throughout
6255 instead of repeating the same code all over the place.
6257 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6259 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6260 when mouse-drag-copy-region is non-nil (Bug#6956).
6262 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6264 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6265 Improve regexps (Bug#6987).
6266 (dired-sort-toggle): Search more robustly for -t flag.
6268 * files.el (get-free-disk-space): Search more robustly for
6269 "available" column. Suggested by Ehud Karni
6270 <ehud@unix.mvs.co.il>.
6272 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6274 * international/uni-bidi.el:
6275 * international/uni-category.el:
6276 * international/uni-combining.el:
6277 * international/uni-decimal.el:
6278 * international/uni-mirrored.el:
6279 * international/uni-name.el: Regenerate.
6281 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6283 * electric.el (electric-indent-post-self-insert-function):
6284 Don't reindent with a sloppy indentation function.
6286 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6287 border case in change-log-mode.
6289 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6291 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6292 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6293 Recognize leading tab in gcc-include regexp. Ignore names with
6294 leading "from" or "in" in gnu regexp (Bug#6937).
6296 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6298 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6299 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6300 (ispell-start-process): Avoid setq and simplify logic.
6301 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6302 (kill-buffer-hook): Don't use it globally with code that uses
6303 expand-file-name since that may call kill-buffer via
6304 code_conversion_restore.
6306 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6308 * emacs-lisp/package.el (package-directory-list): Only call
6309 file-name-nondirectory on a string.
6311 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6313 * emacs-lisp/package.el (package--download-one-archive):
6314 Ensure that archive-contents is valid before saving it.
6315 (package-activate-1, package-mark-obsolete, define-package)
6316 (package-compute-transaction, package-list-maybe-add): Use push.
6318 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6320 Use SMIE's blink-paren for octave-mode.
6321 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6322 Backslashes do not escape single-quotes, single-quotes do.
6323 (octave-block-else-regexp, octave-block-end-regexp)
6324 (octave-block-match-alist): Remove.
6325 (octave-smie-bnf-table): New var, with old content.
6326 (octave-smie-op-levels): Use it.
6327 (octave-smie-closer-alist): New var.
6328 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6329 (octave-blink-matching-block-open): Remove.
6330 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6331 (octave-electric-space): Let self-insert-command run expand-abbrev and
6334 * electric.el (electricity): New group.
6335 (electric-indent-chars): New var.
6336 (electric-indent-post-self-insert-function): New fun.
6337 (electric-indent-mode): New minor mode.
6338 (electric-pair-skip-self): New custom.
6339 (electric-pair-post-self-insert-function): New function.
6340 (electric-pair-mode): New minor mode.
6342 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6343 calcAlg-blink-matching-open.
6344 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6345 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6346 Use the new blink-matching-check-function.
6348 Provide blink-matching support to SMIE.
6349 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6350 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6351 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6353 * simple.el (newline): Fix last change to properly remove itself from
6356 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6358 * simple.el (newline): Eliminate optimization.
6359 Use post-self-insert-hook to set hard-newline and things before
6360 running post-self-insert-hook.
6361 (blink-matching-check-mismatch): New function.
6362 (blink-matching-check-function): New variable.
6363 (blink-matching-open): Use them.
6364 Skip back forward over prefix chars skipped by forward-sexp.
6365 Don't check if the parens are backslash escaped.
6366 (blink-paren-post-self-insert-function): Check backslash escaping here.
6368 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6370 * emacs-lisp/package.el (package-menu-mode-map):
6371 Change package-menu-revert bindings to revert-buffer.
6372 (package-menu-mode): Set revert-buffer-function.
6373 (package-menu-revert): Doc fix.
6375 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6377 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6378 `default-directory' unless using Ispell per-directory personal
6379 dictionaries and not in a mini-buffer under XEmacs.
6380 (kill-buffer-hook): Do not kill ispell process on exit when
6381 `ispell-process-directory' is "~/". (Bug#6143)
6383 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6385 * simple.el (kill-new): Call interprogram-cut-function with only
6388 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6389 Remove cut buffer from error message.
6391 * term/x-win.el (x-select-text):
6392 * term/pc-win.el (x-selection-value):
6393 * term/ns-win.el (x-selection-value):
6394 * eshell/em-term.el:
6395 * w32-fns.el (x-get-selection-value):
6396 * mouse-sel.el (mouse-sel-set-selection-function):
6397 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6399 * term/x-win.el: Update documentation for x-last-selected-text-*.
6400 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6401 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6402 (x-select-text): Remove argument PUSH, update documentation.
6403 Remove cut-buffer code.
6404 (x-selection-value-internal): Was previously x-selection-value.
6405 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6406 Update documentation, remove cut-buffer code.
6407 Call x-selection-value-internal.
6408 (x-clipboard-yank): Call x-selection-value-internal.
6409 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6411 * term/pc-win.el (x-last-selected-text):
6412 x-cut-buffer-or-selection-value renamed to x-selection-value
6413 (x-select-text): Remove argument PUSH, update documentation.
6415 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6416 x-cut-buffer-or-selection-value renamed to x-selection-value
6417 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6418 (x-select-text): Remove argument PUSH, update documentation.
6420 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6422 * w32-fns.el (x-last-selected-text):
6423 x-cut-buffer-or-selection-value renamed to x-selection-value.
6424 (x-cut-buffer-max): Remove.
6425 (x-select-text): Remove argument PUSH, update documentation.
6427 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6429 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6431 * mouse-sel.el (mouse-sel-get-selection-function):
6432 x-cut-buffer-or-selection-value renamed to x-selection-value.
6433 (x-select-text): Remove optional push.
6435 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6437 * simple.el (blink-paren-function): Move from C to here.
6438 (blink-paren-post-self-insert-function): New function.
6439 (post-self-insert-hook): Use it.
6441 * emacs-lisp/pcase.el (pcase-split-memq):
6442 Fix overenthusiastic optimisation.
6443 (pcase-u1): Handle the case of a lambda pred.
6445 2010-08-31 Kenichi Handa <handa@m17n.org>
6447 * international/mule-cmds.el (standard-display-european-internal):
6448 Setup standard-display-table for 8-bit characters by storing 8-bit
6449 characters in the element vector.
6451 * disp-table.el (standard-display-8bit):
6452 Setup standard-display-table for 8-bit characters by storing 8-bit
6453 characters in the element vector.
6454 (standard-display-european): Likewise.
6456 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6458 * textmodes/nroff-mode.el (nroff-view): New command.
6459 (nroff-mode-map): Bind it to C-c C-c.
6461 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6463 * emacs-lisp/smie.el (smie-down-list): New command.
6465 Remove old indentation and navigation code on octave-mode.
6466 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6467 smie-down-list rather than add a binding for octave-down-block.
6468 (octave-mark-block, octave-blink-matching-block-open):
6469 Rely on forward-sexp-function.
6470 (octave-fill-paragraph): Don't narrow, so you can use
6471 indent-according-to-mode.
6472 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6473 (octave-in-block-p, octave-re-search-forward-kw)
6474 (octave-re-search-backward-kw, octave-indent-calculate)
6475 (octave-end-as-array-index-p, octave-block-end-offset)
6476 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6477 (octave-down-block, octave-backward-up-block, octave-up-block)
6478 (octave-before-magic-comment-p, octave-indent-line): Remove.
6480 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6482 * emacs-lisp/package.el (package--read-archive-file): Just use
6483 `read', to avoid copying an additional string.
6484 (package-menu-mode): Set header-line-format here.
6485 (package-menu-refresh, package-menu-revert): Signal an error if
6486 not in the Package Menu.
6487 (package-menu-package-list): New var.
6488 (package--generate-package-list): Operate on the current buffer;
6489 don't assume that it is *Packages*, since the user may rename it.
6490 Allow persistent package listings and sort keys using
6491 package-menu-package-list and package-menu-package-sort-key.
6492 (package-menu--version-predicate): Fix version calculation.
6493 (package-menu-sort-by-column): Don't select the window.
6494 (package--list-packages): Create the *Packages* buffer.
6495 Set package-menu-package-list-key.
6496 (list-packages): Sorting by status is now the default.
6497 (package-buffer-info): Use match-string-no-properties.
6498 (define-package): Add a &rest argument for future proofing, but
6500 (package-install-from-buffer, package-install-buffer-internal):
6501 Merge into a single function, package-install-from-buffer.
6502 (package-install-file): Change caller.
6504 * finder.el: Load finder-inf using `require'.
6505 (finder-list-matches): Sorting by status is now the default.
6506 (finder-compile-keywords): Simpify printing.
6508 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6510 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6511 (octave-mode-map): Remove special bindings for forward/backward-block
6512 and octave-backward-up-block. Use smie-close-block.
6513 (octave-continuation-marker-regexp): New var.
6514 (octave-continuation-regexp): Use it.
6515 (octave-operator-table, octave-smie-op-levels)
6516 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6517 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6518 (octave-mode): Use SMIE.
6519 (octave-close-block): Delete.
6521 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6523 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6524 CLIPBOARD, not in PRIMARY. (Bug#6944)
6526 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6528 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6530 (smie-indent-column): Allow indirection through variables.
6532 * composite.el (save-buffer-state): Delete, unused.
6533 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6534 (font-lock-default-fontify-region): Use with-syntax-table.
6535 * jit-lock.el (with-buffer-unmodified): Remove.
6536 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6538 Use `declare' in defmacros.
6539 * window.el (save-selected-window):
6540 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6541 * progmodes/python.el (def-python-skeleton):
6542 * net/dbus.el (dbus-ignore-errors):
6543 * jka-cmpr-hook.el (with-auto-compression-mode):
6544 * international/mule.el (with-category-table):
6545 * emacs-lisp/timer.el (with-timeout):
6546 * emacs-lisp/lisp-mnt.el (lm-with-file):
6547 * emacs-lisp/eieio.el (with-slots):
6548 * emacs-lisp/easymenu.el (easy-menu-define):
6549 * emacs-lisp/debug.el (debugger-env-macro):
6550 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6551 (Multiple-value-call, Multiple-value-prog1):
6552 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6553 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6554 edebug rule to definition.
6555 * emacs-lisp/lisp-mode.el (save-selected-window)
6556 (with-current-buffer, combine-after-change-calls)
6557 (with-output-to-string, with-temp-file, with-temp-buffer)
6558 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6559 (dolist, dotimes, when, unless):
6560 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6562 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6564 * finder.el: Require `package'.
6565 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6566 (finder-package-info): Var deleted.
6567 (finder-keywords-hash, finder--builtins-alist): New vars.
6568 (finder-compile-keywords): Compute package--builtins and
6569 finder-keywords-hash instead of finder-keywords-hash, respecting
6570 the "Package" header.
6571 (finder-unknown-keywords, finder-list-matches):
6572 Use finder-keywords-hash and package--list-packages.
6573 (finder-mode): Don't set font-lock-defaults.
6574 (finder-exit): We don't use "*Finder-package*" and "*Finder
6575 Category*" buffers anymore.
6577 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6578 (package--builtins): Set default value to nil.
6579 (package-initialize): Load precomputed value of package--builtins
6581 (package-alist, package-compute-transaction)
6582 (package-download-transaction): Improve docstring.
6583 (package-read-all-archive-contents): Do not change
6584 package--builtins here.
6585 (list-packages): Make package-list-packages an alias for this.
6586 Sort by status by default.
6587 (package--list-packages): Add optional PACKAGES arg.
6588 (describe-package-1): Use font-lock-face property. For built-in
6589 packages, insert file commentary.
6590 (package--generate-package-list): Rename from
6591 package-list-packages-internal; all callers changed. Add optional
6592 PACKAGES arg. Add alphabetical sort fallbacks.
6593 (package-menu--version-predicate, package-menu--status-predicate)
6594 (package-menu--description-predicate)
6595 (package-menu--name-predicate): New functions.
6597 * info.el (Info-finder-find-node): Search package-alist instead of
6598 finder-package-info.
6600 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6602 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6604 (version-to-list): Handle versions like "10.3d".
6606 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6608 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6609 (macroexp-accumulate): Use `declare'.
6611 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6613 * whitespace.el (whitespace-style): Adjust type declaration.
6615 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6617 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6618 empty argument to gvfs-copy.
6620 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6622 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6623 handle new TRASH arg of `delete-file'.
6625 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6627 * net/tramp.el (tramp-handle-insert-directory): Don't use
6628 `forward-word', its default syntax could be changed.
6630 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6631 Michael Albinus <michael.albinus@gmx.de>
6633 Implement compression for inline methods.
6635 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6636 (tramp-copy-size-limit): Allow also nil.
6637 (tramp-inline-compress-commands): New defconst.
6638 (tramp-find-inline-compress, tramp-get-inline-compress)
6639 (tramp-get-inline-coding): New defuns.
6640 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6641 replaced by `tramp-get-inline-coding'.
6642 (tramp-handle-file-local-copy, tramp-handle-write-region)
6643 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6645 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6647 Detect ssh 'ControlMaster' argument automatically in some cases.
6649 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6650 (tramp-default-method): Use it.
6652 2010-08-26 Karel Klíč <kklic@redhat.com>
6654 * net/tramp.el (tramp-file-name-for-operation):
6655 Add file-selinux-context.
6657 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6659 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6661 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6663 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6666 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6668 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6669 (js-paren-indent-offset, js-square-indent-offset)
6670 (js-curly-indent-offset): New options.
6671 (js--proper-indentation): Use them.
6673 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6675 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6676 instead of inspecting font-lock properties (Bug#6916).
6678 2010-08-26 David Reitter <david.reitter@gmail.com>
6680 * server.el (server-visit-files): Run pre-command-hook and
6681 post-command-hook for each buffer while it is current (Bug#6910).
6682 (server-execute): Do not run hooks here.
6684 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6686 Sync with Tramp 2.1.19.
6688 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6689 (tramp-reporter-dump-variable, tramp-load-report-modules)
6690 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6691 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6693 * net/tramp-compat.el (top): Do not autoload
6694 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6695 only when `start-file-process' is not bound.
6696 (byte-compile-not-obsolete-vars): Define if not bound.
6697 (tramp-compat-funcall): New defmacro.
6698 (tramp-compat-line-beginning-position)
6699 (tramp-compat-line-end-position)
6700 (tramp-compat-temporary-file-directory)
6701 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6702 (tramp-compat-copy-file, tramp-compat-copy-directory)
6703 (tramp-compat-delete-file, tramp-compat-delete-directory)
6704 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6706 (tramp-advice-file-expand-wildcards): Do not use
6707 `tramp-handle-file-remote-p'.
6708 (tramp-compat-make-temp-file): Simplify fallback implementation.
6709 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6710 (tramp-compat-copy-tree): Remove function.
6711 (tramp-compat-delete-file): New defun.
6712 (tramp-compat-delete-directory): Provide implementation for older
6714 (tramp-compat-file-attributes): Handle only
6715 `wrong-number-of-arguments' error.
6717 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6718 Add PRESERVE_SELINUX_CONTEXT.
6719 (tramp-fish-handle-delete-file): Add TRASH arg.
6720 (tramp-fish-handle-directory-files-and-attributes):
6721 Do not use `tramp-fish-handle-file-attributes.
6722 (tramp-fish-handle-file-local-copy)
6723 (tramp-fish-handle-insert-file-contents)
6724 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6726 * net/tramp-gvfs.el (top): Require url-util.
6727 (tramp-gvfs-mount-point): Remove.
6728 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6729 and `set-file-selinux-context'.
6730 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6731 (tramp-gvfs-handle-file-selinux-context)
6732 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6733 (with-tramp-dbus-call-method): Format trace message.
6734 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6735 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6736 Implement backup call, when operation on local files fails.
6737 Use progress reporter. Flush properties of changed files.
6738 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6739 Use `tramp-compat-delete-file'.
6740 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6741 (tramp-gvfs-handle-make-directory): Make more traces.
6742 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6743 (tramp-gvfs-url-file-name): Hexify file name in url.
6744 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6745 into account for the resulting file name.
6746 (tramp-gvfs-handler-askquestion): Preserve current message, in
6747 order to let progress reporter continue afterwards. (Bug#6257)
6748 Return dummy mountpoint, when the answer is "no".
6749 See `tramp-gvfs-maybe-open-connection'.
6750 (tramp-gvfs-handler-mounted-unmounted)
6751 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6752 attribute "default_location". Set "prefix" property.
6753 Handle default-location.
6754 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6755 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6756 exists. Raise an error, if not (due to a corresponding answer
6757 "no" in interactive questions, for example).
6758 Use `tramp-compat-funcall'.
6760 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6761 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6762 (tramp-imap-do-copy-or-rename-file)
6763 (tramp-imap-handle-insert-file-contents)
6764 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6765 (tramp-imap-handle-delete-file): Add TRASH arg.
6767 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6768 Add PRESERVE-SELINUX-CONTEXT.
6769 (tramp-smb-handle-copy-file)
6770 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6771 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6772 Use `with-progress-reporter'.
6773 (tramp-smb-handle-delete-file): Add TRASH arg.
6775 * net/tramp.el (tramp-methods): Move hostname to the end in all
6776 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6778 (tramp-verbose): Describe verbose level 9.
6779 (tramp-completion-function-alist)
6780 (tramp-file-name-regexp, tramp-chunksize)
6781 (tramp-local-coding-commands, tramp-remote-coding-commands)
6782 (with-connection-property, tramp-completion-mode-p)
6783 (tramp-action-process-alive, tramp-action-out-of-band)
6784 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6785 (tramp-exists-file-name-handler): Fix docstring.
6786 (tramp-remote-process-environment): Use `format' instead of
6787 `concat'. Protect version string by apostroph.
6788 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6790 (tramp-file-name-regexp-unified)
6791 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6792 not regard the volume letter as remote filename. (Bug#5447)
6793 (tramp-perl-file-attributes)
6794 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6795 (tramp-vc-registered-read-file-names): Read input as
6796 here-document, otherwise the command could exceed maximum length
6798 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6799 `set-file-selinux-context'.
6800 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6801 backtrace functions.
6802 (tramp-error-with-buffer): Don't show the connection buffer when
6803 we are in completion mode.
6804 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6805 (tramp-handle-file-selinux-context)
6806 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6807 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6809 (with-progress-reporter): New defmacro.
6810 (tramp-debug-outline-regexp): New defconst.
6811 (top, tramp-rfn-eshadow-setup-minibuffer)
6812 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6813 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6814 (tramp-completion-mode-p, tramp-check-for-regexp)
6815 (tramp-open-connection-setup-interactive-shell)
6816 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6817 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6818 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6819 Use `tramp-compat-funcall'.
6820 (tramp-handle-make-symbolic-link): Flush file properties.
6821 (tramp-handle-load, tramp-handle-file-local-copy)
6822 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6823 (tramp-handle-vc-registered, tramp-maybe-send-script)
6824 (tramp-find-shell): Use `with-progress-reporter'.
6825 (tramp-do-file-attributes-with-stat): Add space in format string,
6826 in order to work around a bug in pdksh. Reported by Gilles Pion
6828 (tramp-handle-verify-visited-file-modtime): Do not send a command
6829 when the connection is not established.
6830 (tramp-handle-set-file-times): Simplify the check for utc.
6831 (tramp-handle-directory-files-and-attributes)
6832 (tramp-get-remote-path): Use `copy-tree'.
6833 (tramp-completion-handle-file-name-all-completions): Ensure, that
6834 non remote files are still checked. Oops.
6835 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6836 Handle PRESERVE-SELINUX-CONTEXT.
6837 (tramp-do-copy-or-rename-file): Add progress reporter.
6838 (tramp-do-copy-or-rename-file-directly): Do not use
6839 `tramp-handle-file-remote-p'.
6840 (tramp-do-copy-or-rename-file-out-of-band):
6841 Use `tramp-compat-delete-directory'.
6842 (tramp-do-copy-or-rename-file-out-of-band)
6843 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6844 Use `format-spec-make'.
6845 (tramp-handle-delete-file): Add TRASH arg.
6846 (tramp-handle-dired-uncache): Flush directory cache, not only file
6848 (tramp-handle-expand-file-name)
6849 (tramp-completion-handle-file-name-all-completions)
6850 (tramp-completion-handle-file-name-completion):
6851 Use `tramp-connectable-p'.
6852 (tramp-handle-start-file-process): Set connection property "vec".
6853 Use it, in order to invalidate file caches. Check only for
6854 `remote-tty' process property.
6855 Implement tty setting. (Bug#4604, Bug#6360)
6856 (tramp-file-name-for-operation): Add `call-process-region' and
6857 `set-file-selinux-context'.
6858 (tramp-find-foreign-file-name-handler)
6859 (tramp-advice-make-auto-save-file-name)
6860 (tramp-set-auto-save-file-modes): Remove superfluous check for
6861 `stringp'. This is done inside `tramp-tramp-file-p'.
6862 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6863 operations when we are in completion mode. This gives the user
6864 the chance to correct the file name in the minibuffer.
6865 (tramp-completion-mode-p): Use `non-essential'.
6866 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6867 compatibility: Use `completion-ignore-case' if
6868 `read-file-name-completion-ignore-case' does not exist.
6869 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6870 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6872 (tramp-action-password): Hide password prompt before next run.
6873 (tramp-process-actions): Widen connection buffer for the trace.
6874 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6875 process property. Trace stty settings if `tramp-verbose' >= 9.
6876 Apply workaround for IRIX64 bug. Move argument of last
6877 `tramp-send-command' where it belongs to.
6878 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6879 front of `login-args'.
6880 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6881 on "/dev/null" instead of "/".
6882 (tramp-get-ls-command-with-dired): Make test for "--dired"
6884 (tramp-set-auto-save-file-modes): Adapt version check.
6885 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6886 (tramp-handle-process-file): Call the program in a subshell, in
6887 order to preserve working directory.
6888 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6889 `tramp-remote-sh' from `tramp-methods'.
6890 (tramp-get-ls-command): Make test for "--color=never" stronger.
6891 (tramp-check-for-regexp): Use (forward-line 1).
6893 * net/trampver.el: Update release number.
6895 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6897 * help.el (help-map): Bind `C-h P' to describe-package.
6899 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6901 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6902 when downloading archives.
6903 (describe-package-1): Add package commentary.
6904 (package-install-button-action): New function.
6905 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6906 (package-menu-view-commentary): Function removed.
6907 (package-list-packages-internal): Hide the `package' package too.
6909 2010-08-25 Kenichi Handa <handa@m17n.org>
6911 * language/misc-lang.el ("Arabic"): New language environment.
6912 Setup composition-function-table for Arabic characters.
6914 * international/fontset.el (setup-default-fontset): Fix typo for
6915 arabic OTF spec (fini->fina).
6917 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6919 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6922 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6924 * whitespace.el: Allow cleaning up blanks without blank
6925 visualization (Bug#6651). Adjust help window for
6926 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6927 instead of whitespace-line-column (from EmacsWiki). New version
6929 (whitespace-style): Add new value 'face. Adjust docstring.
6930 (whitespace-space, whitespace-hspace, whitespace-tab):
6931 Adjust foreground property face.
6932 (whitespace-line-column): Adjust docstring and type declaration.
6933 (whitespace-style-value-list, whitespace-toggle-option-alist)
6934 (whitespace-help-text): Adjust const initialization.
6935 (whitespace-toggle-options, global-whitespace-toggle-options):
6937 (whitespace-display-window, whitespace-interactive-char)
6938 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6939 (whitespace-help-scroll): New fun.
6941 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6943 * emacs-lisp/package.el (list-packages): Alias for
6944 package-list-packages.
6946 2010-08-24 Kevin Ryde <user42@zip.com.au>
6948 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6951 * progmodes/ruby-mode.el (ruby): Add defgroup.
6953 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6955 * progmodes/python.el: Add Ipython support (Bug#5390).
6956 (python-shell-prompt-alist)
6957 (python-shell-continuation-prompt-alist): New options.
6958 (python--set-prompt-regexp): New function.
6959 (inferior-python-mode, run-python, python-shell):
6960 Require ansi-color. Use python--set-prompt-regexp to set the comint
6961 prompt based on the Python interpreter.
6962 (python--prompt-regexp): New var.
6963 (python-check-comint-prompt)
6964 (python-comint-output-filter-function): Use it.
6965 (run-python): Use a pipe (Bug#5694).
6967 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6969 * progmodes/python.el (python-send-region): Send a different
6970 Python command if Ipython is in use.
6971 (python-check-version): Use a Python command to find the version.
6973 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6975 * mouse.el (mouse-yank-primary): Avoid setting primary when
6976 deactivating the mark (Bug#6872).
6978 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6980 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6981 with "else" (Bug#3991).
6983 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6985 * net/dbus.el: Accept UNIX domain sockets as bus address.
6986 (top): Don't initialize `dbus-registered-objects-table' anymore,
6987 this is done in dbusbind,c.
6988 (dbus-check-event): Adapt test for bus.
6989 (dbus-return-values-table, dbus-unregister-service)
6990 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6993 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6995 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6997 2010-08-22 Juri Linkov <juri@jurta.org>
6999 * simple.el (read-extended-command): New function with the logic
7000 for `completing-read' moved to Elisp from `execute-extended-command'.
7001 Use `function-called-at-point' in `minibuffer-default-add-function'
7002 to get a command name for M-n (bug#5364, bug#5214).
7004 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7006 * startup.el (command-line-1): Issue warning for ignored arguments
7007 --unibyte, etc (Bug#6886).
7009 2010-08-22 Leo <sdl.web@gmail.com>
7011 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7012 (ignore, bright, dim, keyword): Split list of nicknames before
7013 passing to rcirc-add-or-remove (Bug#6894).
7015 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7017 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7019 2010-08-22 Leo <sdl.web@gmail.com>
7021 Fix buffer-list rename&refresh after killing a buffer in ido.
7022 * ido.el: Revert Óscar's.
7023 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7024 Remember the buffers at head, rather than their name.
7025 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7027 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7028 Stefan Monnier <monnier@iro.umontreal.ca>
7030 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7031 extra backslash added to each line (bug#6890).
7033 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7035 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7037 2010-08-22 Glenn Morris <rgm@gnu.org>
7039 * menu-bar.el (menu-bar-games-menu): Add landmark.
7041 2010-08-22 Glenn Morris <rgm@gnu.org>
7043 * align.el (align-regexp): Make group and spacing arguments
7044 use the interactive defaults when non-interactive. (Bug#6698)
7046 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7047 expansion, so as not to need sendmail.
7048 (mail-text-start): Remove declaration.
7049 (rmail-retry-failure): Require sendmail.
7051 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7053 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7055 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7057 * progmodes/flymake.el (flymake-start-syntax-check-process):
7058 Use `start-file-process' in order to let it run also on remote hosts.
7060 2010-08-22 Kenichi Handa <handa@m17n.org>
7062 * files.el: Add `word-wrap' as safe local variable.
7064 2010-08-22 Glenn Morris <rgm@gnu.org>
7066 * woman.el (woman-translate): Case matters. (Bug#6849)
7068 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7070 * simple.el (kill-region): Doc fix (Bug#6787).
7072 2010-08-22 Glenn Morris <rgm@gnu.org>
7074 * calendar/diary-lib.el (diary-header-line-format):
7075 Fit it to the window, not the frame.
7077 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7079 * subr.el (ignore-errors): Add debug declaration.
7081 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7083 * whitespace.el (whitespace-color-off): Remove post-command-hook
7086 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7088 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7090 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7092 * cus-edit.el (custom-group-value-create): Add extra newline
7093 before end line (Bug#6876).
7095 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7097 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7098 when extending it. Before killing on the second click, check if
7099 the buffer is the correct one. Doc fix.
7100 (mouse-secondary-save-then-kill): Allow usage without first
7101 calling mouse-start-secondary, by defaulting to point. Don't save
7102 an empty secondary selection. Doc fix.
7104 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7106 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7107 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7109 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7110 Adjust initialization.
7111 (whitespace-bob-marker, whitespace-eob-marker)
7112 (whitespace-buffer-changed): New vars.
7113 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7114 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7115 (whitespace-post-command-hook, whitespace-display-char-on):
7117 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7118 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7120 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7122 * files.el (locate-file-completion-table): Only list the .el and .elc
7123 extensions if there's no other choice (bug#5955).
7125 * facemenu.el (facemenu-self-insert-data): New var.
7126 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7128 (facemenu-add-face): Use them.
7130 * simple.el (blink-matching-open): Obey forward-sexp-function.
7132 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7134 * simple.el (prog-mode-map): New var.
7135 (prog-indent-sexp): New command.
7137 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7139 * progmodes/prolog.el (smie): Require.
7141 * emacs-lisp/smie.el (smie-default-backward-token)
7142 (smie-default-forward-token): Strip properties.
7143 (smie-next-sexp): Be more careful with associative operators.
7144 (smie-forward-sexp-command): Generalize.
7145 (smie-backward-sexp-command): Simplify.
7146 (smie-closer-alist): New var.
7147 (smie-close-block): New command.
7148 (smie-indent-debug-log): New var.
7149 (smie-indent-offset-rule): Add a few more cases.
7150 (smie-indent-column): New function.
7151 (smie-indent-after-keyword): Use it.
7152 (smie-indent-keyword): Use it.
7153 Fix up the opener code's point position.
7154 (smie-indent-comment): Only applies at BOL.
7155 (smie-indent-debug): New command.
7157 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7158 declarations that are useful before running the macro.
7160 2010-08-18 Joakim Verona <joakim@verona.se>
7162 * image.el (imagemagick-types-inhibit): New variable.
7163 (imagemagick-register-types): New function.
7164 * image-mode.el (image-transform-properties): New function.
7165 (image-transform-set-scale, image-transform-fit-to-height)
7166 (image-transform-set-rotation, image-transform-set-resize)
7167 (image-transform-fit-to-width, image-transform-fit-to-height):
7169 (image-toggle-display-image): Support image transforms.
7171 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7173 * image.el (create-animated-image): Don't add heuristic mask to image
7176 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7178 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7179 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7181 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7185 Font-lock '...' strings, plus various simplifications and fixes.
7186 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7187 (octave-font-lock-close-quotes): New function.
7188 (octave-font-lock-syntactic-keywords): New var.
7189 (octave-mode): Use it. Set beginning-of-defun-function.
7190 (octave-mode-map): Don't override the <foo>-defun commands.
7191 (octave-mode-menu): Pass it directly to easy-menu-define;
7192 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7193 (octave-block-match-alist): Fix up last change so that
7194 octave-close-block uses the more specific keyword.
7195 (info-lookup-mode): Silence byte-compiler.
7196 (octave-beginning-of-defun): Not interactive any more.
7198 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7199 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7200 (octave-completion-at-point-function): Make sure point is within
7202 (octave-reindent-then-newline-and-indent):
7203 Use reindent-then-newline-and-indent.
7204 (octave-add-octave-menu): Remove.
7206 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7208 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7209 (report-emacs-bug-can-use-xdg-email): New functions.
7210 (report-emacs-bug): Set can-xdg-email to result of
7211 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7212 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7215 * net/browse-url.el (browse-url-default-browser): Add cond
7216 for browse-url-xdg-open.
7217 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7219 2010-08-17 Glenn Morris <rgm@gnu.org>
7221 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7222 (c-fontify-recorded-types-and-refs): Define for compiler.
7223 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7226 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7229 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7231 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7233 (tramp-handle-process-file): Call the program in a subshell, in
7234 order to preserve working directory.
7235 (tramp-action-password): Hide password prompt before next run.
7236 (tramp-process-actions): Widen connection buffer for the trace.
7238 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7240 * net/rcirc.el (rcirc-log-process-buffers): New option.
7241 (rcirc-print): Use it.
7242 (rcirc-generate-log-filename): New function.
7243 (rcirc-log-filename-function): Change default to
7244 rcirc-generate-log-filename (Bug#6828).
7246 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7248 * simple.el (deactivate-mark): If select-active-regions is `only',
7249 only set selection for temporarily active regions.
7251 * cus-start.el: Change defcustom for select-active-regions.
7253 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7255 * mouse.el (mouse--drag-set-mark-and-point): New function.
7256 (mouse-drag-track): Use LOCATION arg to push-mark.
7257 Use mouse--drag-set-mark-and-point to take click-count into
7258 consideration when updating point and mark (Bug#6840).
7260 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7262 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7263 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7265 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7267 * font-lock.el (lisp-font-lock-keywords-2):
7268 Add combine-after-change-calls, condition-case-no-debug,
7269 with-demoted-errors, and with-silent-modifications (Bug#6025).
7271 2010-08-14 Kevin Ryde <user42@zip.com.au>
7273 * emacs-lisp/copyright.el (copyright-update-year)
7274 (copyright-update): Temporary switch-to-buffer to ensure the
7275 buffer change being queried is visible (Bug#5394).
7277 2010-08-14 Tom Tromey <tromey@redhat.com>
7279 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7282 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7284 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7287 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7289 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7290 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7291 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7292 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7293 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7294 Call menu-bar-set-tool-bar-position.
7296 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7298 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7299 comment style (bug#6834).
7300 * progmodes/scheme.el (scheme-mode-syntax-table):
7301 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7302 "b" flag in "' 14b" syntax.
7304 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7305 for (un)commenting the region and performing completion.
7306 (octave-mode-menu): Use standard commands for help and completion.
7307 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7308 (octave-mode): Use define-derived-mode.
7309 Set completion-at-point-functions and don't set columns.
7310 Don't disable adaptive-fill-regexp.
7311 (octave-describe-major-mode, octave-comment-region)
7312 (octave-uncomment-region, octave-comment-indent)
7313 (octave-indent-for-comment): Remove.
7314 (octave-indent-calculate): Rename from calculate-octave-indent.
7315 (octave-indent-line, octave-fill-paragraph): Update caller.
7316 (octave-initialize-completions): No need to make an alist.
7317 (octave-completion-at-point-function): New function.
7318 (octave-complete-symbol): Use it.
7319 (octave-insert-defun): Use define-skeleton.
7321 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7322 (octave-mode-map): Use comment-dwim (bug#6829).
7324 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7326 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7327 indentation of inserted comment.
7329 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7331 * faces.el (region): Add type gtk that uses gtk colors.
7333 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7334 Handle theme-name change.
7336 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7338 * progmodes/sql.el: Version 2.5
7339 (sql-product-alist): Add :prompt-cont-regexp property for several
7341 (sql-prompt-cont-regexp): New variable.
7342 (sql-output-newline-count, sql-output-by-send):
7343 New variables. Record number of newlines in input text.
7344 (sql-send-string): Handle multiple filters and count newlines.
7345 (sql-send-magic-terminator): Count terminator newline.
7346 (sql-interactive-remove-continuation-prompt): Filters output to
7347 remove continuation prompts; one for each newline.
7348 (sql-interactive-mode): Set up new variables, prompt regexp and
7350 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7351 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7353 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7355 * emacs-lisp/pcase.el: New file.
7357 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7359 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7360 as here-document, otherwise the command could exceed maximum
7361 length of command line.
7362 (tramp-handle-vc-registered): Call script accordingly.
7363 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7365 2010-08-10 Kenichi Handa <handa@m17n.org>
7367 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7370 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7372 * emacs-lisp/package.el (package-version-split)
7373 (package--version-first-nonzero, package-version-compare):
7375 (package-directory-list, package-load-all-descriptors)
7376 (package--built-in, package-activate, define-package)
7377 (package-installed-p, package-compute-transaction)
7378 (package-read-all-archive-contents)
7379 (package--add-to-archive-contents, package-buffer-info)
7380 (package-tar-file-info, package-list-packages-internal):
7381 Use version-to-list and version-list-*.
7383 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7384 Use version-to-list.
7385 (package-upload-buffer-internal): Use version-list-<=.
7387 2010-08-09 Kenichi Handa <handa@m17n.org>
7389 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7392 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7394 * tutorial.el (tutorial--default-keys): C-d is now bound to
7395 delete-forward-char (Bug#6826).
7397 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7398 for `double' value of mouse-1-click-follows-link (Bug#6807).
7400 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7402 * replace.el (replace-highlight): Bind isearch-forward and
7403 isearch-error, ensuring that highlighting is updated if the user
7404 switches the search direction (Bug#6808).
7406 * isearch.el (isearch-lazy-highlight-forward): New var.
7407 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7408 (isearch-lazy-highlight-update): Use it.
7410 2010-08-08 Kenichi Handa <handa@m17n.org>
7412 * international/mule.el (define-charset): Store NAME as :base property.
7413 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7414 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7415 current priority. Force using the designation of the specific
7416 charset by adding `charset' text property. Improve the whole algorithm.
7418 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7420 * emulation/pc-select.el (pc-selection-mode-hook)
7421 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7422 (pc-selection-mode): Fix typos in docstrings.
7424 2010-08-08 Kenichi Handa <handa@m17n.org>
7426 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7427 ctext-non-standard-encodings-alist here.
7429 * international/mule.el (ctext-non-standard-encodings-alist):
7430 Add "koi8-r" and "microsoft-cp1251".
7431 (ctext-standard-encodings): New variable.
7432 (ctext-non-standard-encodings-table): List only elements for
7433 non-standard encodings.
7434 (ctext-pre-write-conversion): Adjust for the above change.
7435 Check ctext-standard-encodings.
7437 * international/mule-conf.el (compound-text): Doc fix.
7438 (ctext-no-compositions): Doc fix.
7439 (compound-text-with-extensions): Doc fix.
7441 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7443 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7445 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7447 * progmodes/which-func.el (which-func-format): Split help-echo text
7448 into lines, like other mode-line tooltips.
7450 * server.el (server-start): When using TCP sockets, force IPv4
7451 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7453 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7455 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7457 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7459 * term.el (term-delimiter-argument-list): Reflow docstring.
7460 (term-read-input-ring, term-write-input-ring, term-send-input)
7461 (term-bol, term-erase-in-display, serial-supported-or-barf):
7462 Fix typos in docstrings.
7464 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7466 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7468 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7470 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7472 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7474 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7475 Fix typo in docstring (bug#6747).
7477 2010-08-08 Leo <sdl.web@gmail.com>
7479 * eshell/esh-io.el (eshell-get-target): Better detection of
7480 read-only file (Bug#6762).
7482 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7484 * align.el (align-default-spacing): Doc fix.
7485 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7487 2010-08-08 Stephen Peters <speters@itasoftware.com>
7489 * calendar/icalendar.el
7490 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7491 (icalendar--get-weekday-numbers): New.
7492 (icalendar--convert-recurring-to-diary): Handle multiple byday
7493 values in weekly rules. (Bug#6766)
7495 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7497 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7498 (icalendar--create-uid, icalendar-export-region)
7499 (icalendar--parse-summary-and-rest): Code formatting.
7501 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7503 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7504 to italicize headers.
7505 (calc-highlight-selections-with-faces): New variable.
7506 (calc-selected-face, calc-nonselected-face): New faces.
7508 * calc/calccomp.el (math-comp-highlight-string): Use
7509 `calc-highlight-selections-with-faces' to determine how to highlight
7512 * calc/calc-sel.el (calc-show-selections): Change message to when
7513 using faces to highlight selections.
7515 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7517 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7518 Add SQLite 3 keywords, functions and datatypes.
7519 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7522 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7524 * simple.el (select-active-regions): Move to keyboard.c.
7525 (deactivate-mark): Used saved-region-selection.
7526 (select-active-region): Function removed.
7527 (activate-mark, set-mark, push-mark-command)
7528 (handle-shift-selection): Don't call it.
7529 (keyboard-quit): Avoid adding the region to the window selection.
7531 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7532 select-active-regions implementation.
7533 (mouse-yank-at-click): Doc fix.
7535 * cus-start.el: Add custom declaration for select-active-regions.
7537 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7539 * simple.el (delete-forward-char): Doc fix.
7541 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7542 after reading the tutorial.
7544 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7546 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7547 Fix for the case that a C style comment has its delimiters alone on
7548 their respective lines.
7550 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7552 * net/tramp.el (tramp-handle-start-file-process): Set connection
7554 (tramp-process-sentinel): Use it for flushing the cache.
7555 We cannot do it via the process buffer, the buffer could be deleted
7556 already when running the sentinel.
7558 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7560 * comint.el (comint-mode): Make directory tracking functions
7561 functional on remote files. (Bug#6764)
7563 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7565 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7567 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7569 * emacs-lisp/find-gc.el (find-gc-source-files):
7570 Rename unexec.c => unexcoff.c.
7572 * emacs-lisp/authors.el (authors-fixed-entries):
7573 Rename unexec.c => unexcoff.c.
7575 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7577 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7578 cache, not only file cache.
7579 (tramp-process-sentinel): New defun.
7580 (tramp-handle-start-file-process): Use it, in order to invalidate
7583 2010-08-03 Leo <sdl.web@gmail.com>
7585 * server.el (server-start): Simplify loop.
7587 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7589 * frame.el (screen-height, screen-width, set-screen-width)
7590 (set-screen-height): Remove ancient compatibility aliases.
7592 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7593 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7595 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7596 that change current buffer.
7598 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7600 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7601 beginning of the string. Use `string-match-p'. (Bug#6765)
7603 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7605 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7607 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7609 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7610 (package--builtins): Tweak descriptions.
7611 (package-print-package): Upcase descriptions if necessary.
7612 Show all built-in packages in font-lock-builtin-face.
7613 (package-list-packages-internal): Omit "emacs" package.
7614 Show status of built-in packages as "built-in".
7616 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7618 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7619 before killing to preserve the primary selection (Bug#6701).
7621 * term/x-win.el (x-select-text): Doc fix.
7623 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7625 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7626 (objc-font-lock-extra-types):
7627 * progmodes/cc-mode.el (c-basic-common-init):
7628 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7629 (c++-make-template-syntax-table)
7630 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7631 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7632 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7633 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7634 * progmodes/cc-fonts.el (c-make-inverse-face)
7635 (c-basic-matchers-after):
7636 * progmodes/cc-engine.el (c-forward-keyword-clause)
7637 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7638 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7639 (c-guess-continued-construct, c-guess-basic-syntax):
7640 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7641 The above functions were modified or created.
7643 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7645 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7647 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7649 * files.el (bidi-paragraph-direction): Define safe local values.
7651 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7652 language-info-alist. Remove outdated FIXME in a comment.
7654 2010-07-31 Alan Mackenzie <acm@muc.de>
7656 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7657 Auto-fill broken in C/C++ modes.
7659 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7661 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7662 (menu-bar-showhide-tool-bar-menu-customize-disable)
7663 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7664 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7665 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7666 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7667 make a menu for Options => toolbar that can move it.
7669 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7671 * emacs-lisp/package-x.el (package--make-rss-entry):
7672 (package-maint-add-news-item, package--update-news)
7673 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7675 * emacs-lisp/package.el (package-archive-url): Rename from
7677 (package-install): Doc fix.
7678 (package-download-single, package-download-tar, package-install)
7679 (package-menu-view-commentary): Callers changed.
7681 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7683 * net/tramp.el (tramp-handle-start-file-process): Check only for
7684 `remote-tty' process property.
7685 (tramp-open-shell): Don't check for tty.
7686 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7689 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7692 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7694 * emacs-lisp/package.el (package-load-list, package-archives)
7695 (package-archive-contents, package-user-dir)
7696 (package-directory-list, package--builtins, package-alist)
7697 (package-activated-list, package-obsolete-alist): Mark as risky.
7699 2010-07-28 Phil Hagelberg <phil@evri.com>
7701 Add support for non-default package repositories.
7702 * emacs-lisp/package.el (package-archive-base): Var deleted.
7703 (package-archives): New variable.
7704 (package-archive-contents): Doc fix.
7705 (package-load-descriptor): Do nothing if descriptor file is missing.
7706 (package--write-file-no-coding): New function.
7707 (package-unpack-single): Use it.
7708 (package-archive-id): New function.
7709 (package-download-single, package-download-tar)
7710 (package-menu-view-commentary): Use it.
7711 (package-installed-p): Make second argument optional.
7712 (package-read-all-archive-contents): New function.
7713 (package-initialize): Use it.
7714 (package-read-archive-contents): Add ARCHIVE argument.
7715 (package--add-to-archive-contents): New function.
7716 (package-install): Don't call package-read-archive-contents.
7717 (package--download-one-archive): Store archive file in a
7718 subdirectory of package-user-dir.
7719 (package-menu-execute): Remove spurious line movement.
7721 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7723 * cus-start.el (tool-bar-style): Add text-image-horiz.
7725 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7727 * progmodes/gud.el (gud-common-init): Check for remoteness of
7728 `file', and not of `default-directory'.
7730 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7732 * net/tramp.el (tramp-methods): Move hostname to the end in all
7733 ssh `tramp-login-args'.
7734 (tramp-verbose): Describe verbose level 9.
7735 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7736 (tramp-open-connection-setup-interactive-shell): Trace stty
7737 settings if `tramp-verbose' >= 9.
7738 (tramp-handle-start-file-process): Implement tty setting.
7739 (Bug#4604, Bug#6360)
7741 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7742 `tramp-verbose' to 9.
7744 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7746 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7747 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7748 Remove references to package `lisp-re' (bug#4369).
7750 2010-07-27 Tom Tromey <tromey@redhat.com>
7752 * progmodes/js.el (js-mode):
7753 * progmodes/make-mode.el (makefile-mode):
7754 * progmodes/simula.el (simula-mode):
7755 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7757 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7759 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7761 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7762 (display-time-world-buffer-name, display-time-world-mode-map):
7763 Fix typos in docstrings.
7765 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7767 * image-mode.el (image-display-size): New function.
7768 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7769 (image-mode-fit-frame): Use it (Bug#6639).
7771 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7773 * dired.el (dired-buffers-for-dir): Handle list values of
7774 dired-directory (Bug#6636).
7776 2010-07-26 Sam Steingold <sds@gnu.org>
7778 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7779 Do not call `x-get-selection' the second time, reuse the value.
7781 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7783 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7784 which consist of control chars only. Suggested by Richard Stallman.
7786 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7788 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7789 exists before passing an error to find-file-not-found-functions
7792 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7794 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7795 Remove leading nil element, adjust values.
7796 (tetris-shapes, tetris-shape-scores):
7797 Change representation of shapes and remove some redundancy.
7798 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7799 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7800 Adjust for working with new representation of shapes.
7801 (tetris-shape-rotations): New function.
7802 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7803 (tetris-rotate-prev, tetris-rotate-next):
7804 Adjust for working with the new version of tetris-test-shape.
7806 2010-07-23 Markus Triska <markus.triska@gmx.at>
7808 * progmodes/ps-mode.el: Use comint (bug#5954).
7809 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7810 (ps-mode-other-newline): Simplify.
7811 (ps-run-mode): Derive from comint-mode instead of
7812 fundamental-mode, yielding input history etc.
7813 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7814 (ps-run-send-string): Adapt for comint-mode.
7815 (ps-run-newline): Remove now unneeded function.
7817 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7819 * net/tramp.el (tramp-methods): Move hostname to the end in all
7820 plink `tramp-login-args'.
7822 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7824 * net/tramp.el (tramp-open-shell): New defun.
7825 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7828 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7830 * net/tramp.el (tramp-file-name-regexp-unified)
7831 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7832 not regard the volume letter as remote filename. (Bug#5447)
7834 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7836 * custom.el (custom-declare-variable): Give a clearer error message
7837 when the docstring is missing (bug#6476).
7839 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7841 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7842 (sql-login-params): New widget definition.
7843 (sql-oracle-login-params, sql-mysql-login-params)
7844 (sql-solid-login-params, sql-sybase-login-params)
7845 (sql-informix-login-params, sql-ingres-login-params)
7846 (sql-ms-login-params, sql-postgres-login-params)
7847 (sql-interbase-login-params, sql-db2-login-params)
7848 (sql-linter-login-params): Use it.
7849 (sql-sqlite-login-params): Use it; Define "database" parameter as
7851 (sql-sqlite-program): Change to "sqlite3".
7852 (sql-comint-sqlite): Make sure database name is complete.
7853 (sql-for-each-login): New function.
7854 (sql-connect, sql-save-connection): Use it.
7855 (sql-get-login-ext): New function.
7856 (sql-get-login): Use it.
7857 (sql-make-alternate-buffer-name): Handle :file parameters.
7859 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7861 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7862 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7864 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7866 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7868 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7870 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7872 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7874 * net/tramp.el (tramp-get-ls-command)
7875 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7878 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7880 * progmodes/sql.el: Version 2.3.
7881 (sql-connection-alist): Change keys from symbols to strings;
7882 enhanced the widget definition.
7883 (sql-mode-menu): Add submenu to select connections.
7884 (sql-interactive-mode-menu): Add "Save Connection" item.
7885 (sql-add-product): Fix menu item.
7886 (sql-get-product-feature): Improved error handling.
7887 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7888 (sql-make-alternate-buffer-name): Simplified.
7889 (sql-product-interactive): Handle missing product.
7890 (sql-connect): Support string keys, minor improvements.
7891 (sql-save-connection): New function.
7892 (sql-connection-menu-filter): New function.
7894 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7896 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7897 (tramp-open-connection-setup-interactive-shell):
7898 Apply workaround for IRIX64 bug. Move argument of last
7899 `tramp-send-command' where it belongs to.
7901 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7903 * net/tramp.el (tramp-perl-file-attributes)
7904 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7905 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7906 front of `login-args'.
7908 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7910 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7911 Set `show-trailing-whitespace' to nil.
7912 (display-time-world-display): Simplify.
7914 2010-07-18 Alan Mackenzie <acm@muc.de>
7916 Enhance `c-file-style' in file/directory local variables.
7917 * progmodes/cc-mode.el (c-count-cfss): New function.
7918 (c-before-hack-hook): Call `c-set-style' differently according to
7919 whether c-file-style was set in file or directory local
7922 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7924 * progmodes/sql.el: Version 2.2.
7925 (sql-product, sql-user, sql-database, sql-server, sql-port):
7926 Use defcustom :safe keyword rather than putting safe-local-variable
7928 (sql-password): Use defcustom :risky keyword rather than putting
7929 risky-local-variable property.
7930 (sql-oracle-login-params, sql-sqlite-login-params)
7931 (sql-solid-login-params, sql-sybase-login-params)
7932 (sql-informix-login-params, sql-ingres-login-params)
7933 (sql-ms-login-params, sql-postgres-login-params)
7934 (sql-interbase-login-params, sql-db2-login-params)
7935 (sql-linter-login-params): Add `port' option.
7936 (sql-get-product-feature): Add NO-INDIRECT parameter.
7937 (sql-comint-oracle, sql-comint-sybase)
7938 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7939 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7940 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7941 (sql-comint-linter): Rename sql-connect-* functions to
7943 (sql-product-alist, sql-mode-menu): Rename as above and
7944 :sqli-connect-func to :sqli-comint-func.
7945 (sql-connection): New variable.
7946 (sql-interactive-mode): Set it.
7947 (sql-connection-alist): New variable.
7948 (sql-connect): New function.
7949 (sql--alt-buffer-part, sql--alt-if-not-empty)
7950 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7952 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7954 * image-mode.el (image-bookmark-make-record): Do not set context
7955 in an image (Bug#6650).
7957 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7959 * simple.el (select-active-region): New function.
7960 (push-mark-command, set-mark, activate-mark)
7961 (handle-shift-selection): Use it.
7962 (deactivate-mark): Don't check for size of region.
7964 * mouse.el (mouse-drag-track): Use select-active-region.
7966 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7968 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7971 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7973 * term/x-win.el (x-select-enable-primary): Change default to nil.
7974 (x-select-enable-clipboard): Add :version keyword.
7976 * mouse.el (mouse-drag-copy-region):
7977 * simple.el (select-active-regions): Likewise.
7979 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7981 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7982 (vc-coding-system-for-diff): Use it to decide whether to inherit
7983 from the file the EOL format for reading the diffs of that file.
7986 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7988 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7989 unibyte, so compressed attachments are not compressed again.
7991 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7993 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7994 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7995 (tramp-find-shell): Simplify setting connection property.
7996 (tramp-get-ls-command): Make test for "--color=never" stronger.
7998 2010-07-15 Simon South <ssouth@member.fsf.org>
8000 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8001 blocks within record declarations (i.e. variant parts) correctly.
8003 2010-07-15 Simon South <ssouth@member.fsf.org>
8005 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8006 over literal tokens when parsing so newlines aren't "absorbed" by
8007 single-line comments. Corrects the indentation of case blocks
8008 that have a comment on the first line.
8010 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8012 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8013 by Drew Adams (Bug#5504).
8015 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8017 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8018 now that Unicode is used (Bug#6594).
8020 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8022 * term/x-win.el (x-select-enable-clipboard): Default to t.
8023 (x-initialize-window-system): Don't overwrite Paste menu item.
8025 * simple.el (select-active-regions): Default to t.
8026 (push-mark-command): Don't overwrite primary with empty string.
8028 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8029 (mouse-drag-copy-region): Default to nil.
8031 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8032 Cut/Copy/Paste menu bar items.
8034 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8036 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8037 Patch applied by Karl Fogel.
8039 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8040 and `bookmark-current-buffer' if they have been already set in
8041 another buffer (e.g gnus-art).
8043 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8044 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8046 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8048 * bookmark.el (bookmark-make-record-default): Allow unneeded
8049 information to be omitted from the record.
8051 Adjust declarations and calls:
8053 * info.el (bookmark-make-record-default): Adjust declaration.
8054 (Info-bookmark-make-record): Adjust call.
8056 * woman.el (bookmark-make-record-default): Adjust declaration.
8057 (woman-bookmark-make-record): Adjust call.
8059 * man.el (bookmark-make-record-default): Adjust declaration.
8060 (Man-bookmark-make-record): Adjust call.
8062 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8064 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8066 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8068 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8069 This is also from Thierry Volpiatto's patch in bug #6444. However,
8070 because it was extraneous to the functional change in that patch,
8071 and causes a re-indendation, I am committing it separately.
8073 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8075 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8076 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8077 Patch applied by Karl Fogel (Bug#6444).
8079 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8081 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8083 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8085 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8086 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8087 (ns-alternatives-map): Change S-tab binding to backtab
8090 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8093 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8095 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8098 * language/tv-util.el (tai-viet-re): Remove format.
8100 2010-07-12 Kenichi Handa <handa@m17n.org>
8102 * language/hebrew.el: Remove no-byte-compile declaration.
8103 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8104 composition-function-table for 3-character looking back.
8105 (hebrew-font-get-precomposed): New function.
8106 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8108 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8110 * mouse.el (mouse-drag-track): Handle select-active-regions
8113 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8115 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8116 empty argument to gvfs-copy.
8118 2010-07-10 Glenn Morris <rgm@gnu.org>
8120 * calendar/calendar.el (calendar-week-end-day): New function.
8121 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8122 Respect calendar-week-start-day. (Bug#6606)
8123 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8124 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8125 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8126 respect calendar-week-start-day.
8128 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8130 * simple.el (use-region-p): Doc fix (Bug#6607).
8132 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8134 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8135 Add regexps for cucumber and ruby.
8137 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8139 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8140 (epa-file-insert-file-contents): Hack to prevent
8141 find-file from opening empty buffer when decryption failed
8144 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8146 * textmodes/ispell.el (ispell-alternate-dictionary):
8147 Use file-readable-p.
8148 Return nil if no word-list is found at default locations.
8149 (ispell-complete-word-dict): Default to nil.
8150 (ispell-command-loop): Use 'word-list' when using lookup-words.
8151 (lookup-words): Use ispell-complete-word-dict or
8152 ispell-alternate-dictionary. Check for word-list availability
8153 and handle errors if needed with better messages (Bug#6539).
8154 (ispell-complete-word): Use ispell-complete-word-dict or
8155 ispell-alternate-dictionary.
8157 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8159 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8160 builtins (BufferError, BytesWarning, WindowsError; callables
8161 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8163 2010-07-07 Glenn Morris <rgm@gnu.org>
8165 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8166 (zone-shift-left): Ignore intangibility, and any errors from
8168 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8169 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8170 deleting, and copying text properties.
8171 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8172 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8173 to point-max is hard.
8174 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8175 (zone-fill-out-screen): Ignore intangibility.
8177 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8179 * menu-bar.el (menu-bar-mode):
8180 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8183 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8184 word/line selection (Bug#6565).
8186 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8188 * net/dbus.el (dbus-send-signal): Declare function.
8190 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8192 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8193 (dbus-register-property): New optional argument EMITS-SIGNAL.
8194 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8196 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8198 * mouse.el (mouse-drag-overlay): Variable deleted.
8199 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8200 (mouse--remap-link-click-p): New function.
8201 (mouse-drag-track): Handle dragging by using temporary Transient
8202 Mark mode, instead of a special overlay.
8203 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8206 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8209 2010-07-02 Juri Linkov <juri@jurta.org>
8211 * autoinsert.el (auto-insert-alist): Fix readability
8212 by using dotted pair notation for lambda.
8214 2010-07-02 Juri Linkov <juri@jurta.org>
8216 * faces.el (read-face-name): Rename arg `string-describing-default'
8217 to `default'. Doc fix. Display the default value in quotes
8218 in the prompt. With empty input, return the `default' arg,
8219 unless the default value is a string (in which case return nil).
8220 (describe-face): Replace the string `default' arg of `read-face-name'
8221 with the symbol `default'.
8223 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8225 * emulation/viper-cmd.el (viper-delete-backward-char)
8226 (viper-del-backward-char-in-insert)
8227 (viper-del-backward-char-in-replace, viper-change)
8228 (viper-backward-indent): Replace delete-backward-char with
8229 delete-char (Bug#6552).
8231 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8233 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8235 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8237 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8238 argument passed to frame-creation-function (Bug#5378).
8240 * faces.el (x-handle-named-frame-geometry)
8241 (x-handle-reverse-video, x-create-frame-with-faces)
8242 (face-set-after-frame-default, tty-create-frame-with-faces):
8243 Don't separately consult default-frame-alist. It is now passed as the
8246 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8248 * startup.el (command-line): Don't call tool-bar-setup in a
8251 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8253 * ruler-mode.el (ruler--save-header-line-format): New fun.
8254 (ruler-mode): Use it as a setter function, so as not to overwrite
8255 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8257 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8259 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8260 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8261 (vc-log-outgoing): Use it.
8262 (vc-diff-internal): Set diff-vc-backend.
8264 * vc/diff-mode.el (diff-vc-backend): New var.
8266 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8268 * dynamic-setting.el (font-setting-change-default-font):
8269 Remove call to message.
8271 2010-06-28 Kenichi Handa <handa@m17n.org>
8273 * international/quail.el (quail-insert-kbd-layout): Fix the
8274 showing of untranslated characters.
8276 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8278 * simple.el (delete-active-region): New option.
8279 (delete-backward-char): Implement in Lisp.
8280 (delete-forward-char): New command.
8282 * mouse.el (mouse-region-delete-keys): Deleted.
8283 (mouse-show-mark): Simplify.
8285 * bindings.el (global-map): Bind delete and DEL, the former to
8286 delete-forward-char.
8288 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8290 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8291 (ruby-mode): Bind indent-line-function (Bug#5119).
8293 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8295 * startup.el (command-line): Recognize "0" X resource value.
8297 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8299 * startup.el (command-line): Use X resources to set the value of
8300 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8302 * menu-bar.el (menu-bar-mode):
8303 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8304 Set init-value to t.
8306 * frame.el (frame-notice-user-settings): Don't change
8307 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8308 vice versa (Bug#2249).
8310 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8312 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8314 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8316 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8317 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8319 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8320 default directories are expanded (Bug#6143).
8322 2010-06-24 Juri Linkov <juri@jurta.org>
8324 * minibuffer.el (completions-format): Change default from nil to
8325 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8327 2010-06-24 Juri Linkov <juri@jurta.org>
8329 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8330 buffer-locally to lambda that re-runs the vc diff command.
8333 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8335 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8336 echo area is in use (Bug#3412).
8338 2010-06-22 Glenn Morris <rgm@gnu.org>
8340 * textmodes/texinfmt.el (texinfo-format-region)
8341 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8342 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8343 (texinfo-format-option, texinfo-noindent):
8344 Use line-beginning-position and line-end-position.
8346 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8347 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8348 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8351 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8353 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8354 forward-line fallout.
8356 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8358 * mouse.el (mouse-appearance-menu): Add docstring.
8360 * help.el (describe-key): Print up-event using key-description.
8362 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8364 * net/zeroconf.el (zeroconf-resolve-service)
8365 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8366 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8368 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8370 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8372 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8374 Avoid displaying files with a nil state in vc-dir.
8375 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8376 cases that cause insertion.
8377 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8380 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8382 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8384 2010-06-29 Leo <sdl.web@gmail.com>
8386 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8388 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8390 * generic-x.el (bat-generic-mode): Fix regexp for command line
8391 switches (Bug#5719).
8393 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8395 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8396 of nconc to avoid pure storage error (Bug#6239).
8398 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8400 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8401 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8402 bindings of bookmark-automatically-show-annotations (Bug#6515).
8404 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8406 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8407 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8409 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8411 * comint.el (make-comint, make-comint-in-buffer): Mention return
8412 value in the docstrings. (Bug#6498)
8414 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8416 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8417 since it is not present when using some non-default switches.
8419 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8421 * simple.el (compose-mail): Fix doc string to refer to
8422 `compose-mail-user-agent-warnings', instead of to the
8423 nonexistent `compose-mail-check-user-agent'.
8425 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8427 Fix an indentation bug:
8429 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8430 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8433 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8434 (c-clear->-pair-props-if-match-before): now return t when they've
8435 cleared properties, nil otherwise.
8436 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8437 by taking account of the existing value.
8439 * progmodes/cc-defs.el
8440 (c-clear-char-property-with-value-function): Fix this to clear the
8441 property rather than overwriting it with nil.
8443 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8445 * emacs-lisp/package.el (package-print-package): Add link to
8446 package description via describe-package.
8447 (describe-package-1): List package requirements. Add button to
8448 perform installation.
8449 (package-menu-describe-package): New command.
8451 * help-mode.el (help-package): New button type.
8453 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8455 * emacs-lisp/package.el: Move package-list-packages binding to
8457 (describe-package, describe-package-1, package--dir): New funs.
8458 (package-activate-1): Use package--dir.
8460 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8462 * help-mode.el (help-package-def): New button type.
8464 * menu-bar.el: Move package-list-packages binding here from
8467 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8469 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8471 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8473 * emacs-lisp/edebug.el (edebug-read-list):
8474 Phase out old-style backquotes.
8476 2010-06-17 Juri Linkov <juri@jurta.org>
8478 * help-mode.el (help-mode): Set buffer-local variable
8479 revert-buffer-function to help-mode-revert-buffer.
8480 (help-mode-revert-buffer): New function.
8482 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8483 before popping to "*info*" (like in other Info functions).
8484 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8485 old-history-forward. Pop to old-buffer-name or "*info*" to
8486 recreate the killed buffer. Set Info-history-forward from
8487 old-history-forward.
8488 (Info-breadcrumbs-depth): Add :group and :version.
8490 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8492 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8494 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8496 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8497 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8499 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8501 * emacs-lisp/package.el (package-menu-mode-map):
8502 Move initialization into declaration.
8504 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8506 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8508 * emacs-lisp/package.el (package-archive-base): Point to
8510 (package-enable, package-load-list): New defcustoms.
8511 (package-user-dir, package-directory-list): Turn into defcustoms.
8512 Don't include package-user-dir in package-directory-list.
8513 (package--builtins-base): Don't include Emacs as a "package".
8514 (package-subdirectory-regexp): New var.
8515 (package-load-all-descriptors, package-compute-transaction)
8516 (package-download-transaction): Obey package-load-list.
8517 (package-activate-1): Rename from package-do-activate.
8518 (package-list-packages-internal): Check package-load-list.
8519 (package-load-descriptor, package-generate-autoloads)
8520 (package-unpack, package-unpack-single)
8521 (package--read-archive-file, package-delete):
8522 Use expand-file-name.
8524 * emacs-lisp/package-x.el: New file. Package uploading
8525 functionality split out from package.el.
8527 * startup.el (command-line): Load packages after reading init file.
8529 2010-06-17 Tom Tromey <tromey@redhat.com>
8531 * emacs-lisp/package.el: New file.
8533 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8535 Fix vc-annotate for renamed files when using Git.
8536 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8537 ls-files. Doe not pass the object as a file name to cat-file, it
8539 (vc-git-annotate-command): Pass the file name using -- to avoid
8540 ambiguity with the revision.
8541 (vc-git-previous-revision): Pass a relative file name.
8543 2010-06-22 Glenn Morris <rgm@gnu.org>
8545 * progmodes/js.el (js-mode-map): Use standard capitalization and
8546 ellipses for menu entries.
8548 * wid-edit.el (widget-complete): Doc fix.
8550 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8552 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8554 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8556 Fix annotating other revisions for renamed files in vc-annotate.
8557 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8558 VC backend. Use it when non-nil.
8559 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8562 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8563 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8564 Do not pass the file name to the 'previous-revision call when we
8565 don't want a file diff. (Bug#6489)
8567 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8569 Fix finding revisions for renamed files in vc-annotate.
8570 * vc/vc.el (vc-find-revision): Add an optional argument for
8571 the VC backend. Use it when non-nil.
8572 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8573 backend to vc-find-revision. (Bug#6487)
8575 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8577 Fix reading file names in Git annotate buffers.
8578 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8579 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8581 2010-06-20 Alan Mackenzie <acm@muc.de>
8583 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8584 in file local variables, set it first.
8586 2010-06-19 Glenn Morris <rgm@gnu.org>
8588 * descr-text.el (describe-char-unicode-data): Insert separating
8589 space when needed. (Bug#6422)
8591 * progmodes/idlwave.el (idlwave-action-and-binding):
8592 Fix typo in 2009-12-03 change. (Bug#6450)
8594 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8596 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8597 handling for `lambda' (misunderstanding).
8599 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8601 * calc/calc-poly.el (math-accum-factors): Make sure that
8602 constants aren't distributed after they are factored out.
8604 2010-06-16 Juri Linkov <juri@jurta.org>
8606 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8607 `list-colors-print'. (Bug#6332)
8609 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8611 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8613 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8614 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8616 * font-lock.el (font-lock-major-mode): Rename from
8617 font-lock-mode-major-mode to distinguish it from
8618 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8619 (font-lock-set-defaults):
8620 * font-core.el (font-lock-default-function): Adjust users.
8621 (font-lock-mode): Don't set it at all.
8623 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8625 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8627 2010-06-16 Glenn Morris <rgm@gnu.org>
8629 * calendar/appt.el (appt-time-msg-list): Doc fix.
8630 (appt-check): Let-bind appt-warn-time.
8631 (appt-add): Make the 3rd argument optional.
8632 Simplify argument names. Doc fix. Check for integer WARNTIME.
8633 Only add WARNTIME to the output list if non-nil.
8635 2010-06-16 Ivan Kanis <apple@kanis.eu>
8637 * calendar/appt.el (appt-check): Let the 3rd element of
8638 appt-time-msg-list specify the warning time.
8639 (appt-add): Add new argument with the warning time. (Bug#5176)
8641 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8643 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8644 older than version 1.6. (Bug#6361)
8646 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8648 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8649 used by cl-do-arglist. (Bug#6408)
8651 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8653 * textmodes/ispell.el (ispell-dictionary-base-alist):
8654 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8655 Suggested by Rolando Pereira (bug#6434).
8657 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8659 * facemenu.el (list-colors-sort): Doc fix.
8661 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8663 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8665 2010-06-14 Juri Linkov <juri@jurta.org>
8667 Add sort option `list-colors-sort'. (Bug#6332)
8668 * facemenu.el (color-rgb-to-hsv): New function.
8669 (list-colors-sort): New defcustom.
8670 (list-colors-sort-key): New function.
8671 (list-colors-display): Doc fix. Sort list according to the option
8673 (list-colors-print): Add HSV values to `help-echo' property of
8676 2010-06-14 Juri Linkov <juri@jurta.org>
8678 * compare-w.el: Move to the "vc" subdirectory.
8680 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8682 * image-mode.el (image-mode-map): Remap left-char and right-char.
8684 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8686 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8688 * term/common-win.el (x-colors): Add all the color names defined
8689 in rgb.txt (Bug#6332).
8691 * facemenu.el (list-colors-print): Don't print extra names if it
8692 will overflow the window width.
8694 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8697 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8699 * files.el (make-directory): Doc fix (bug#6396).
8701 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8703 * net/tramp.el (tramp-remote-process-environment): Protect version
8704 string by apostroph.
8705 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8707 (tramp-file-name-for-operation): Add `call-process-region'.
8708 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8710 * net/tramp-compat.el (top): Do not autoload
8711 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8712 only when `start-file-process' is not bound.
8713 (tramp-advice-file-expand-wildcards): Do not use
8714 `tramp-handle-file-remote-p'.
8715 (tramp-compat-make-temp-file): Handle the case, that
8716 `make-temp-file' has no third argument EXTENSION.
8718 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8720 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8722 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8724 2010-06-11 Juri Linkov <juri@jurta.org>
8726 * finder.el (finder-known-keywords): Add keyword "vc"
8727 for version control.
8729 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8730 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8731 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8732 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8734 2010-06-11 Juri Linkov <juri@jurta.org>
8736 Move version control related files to the "vc" subdirectory.
8737 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8738 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8739 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8740 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8741 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8742 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8743 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8744 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8745 Move files to the "vc" subdirectory.
8747 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8749 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8752 2010-06-11 Stephen Eglen <stephen@gnu.org>
8754 * shell.el: Bind `shell-resync-dirs' to M-RET.
8756 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8758 * notifications.el: Move file from lisp/net, because it is
8759 supposed to talk locally to the user.
8761 2010-06-10 Julien Danjou <julien@danjou.info>
8763 * net/notifications.el (notifications-on-action-signal)
8764 (notifications-on-closed-signal): Pass notification id as first
8765 argument to the callback functions. Add docstrings.
8766 (notifications-notify): Fix docstring.
8768 2010-06-10 Glenn Morris <rgm@gnu.org>
8770 * emacs-lisp/authors.el (authors-ignored-files)
8771 (authors-valid-file-names): Add some files.
8773 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8775 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8776 merge conflict, giving preference to the emacs-23 version of the code.
8778 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8780 * emacs-lisp/advice.el (ad-compile-function):
8781 Define warning-suppress-types before we let-bind it (bug#6275).
8783 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8784 declare it, make it buffer-local and permanent-local (bug#6324).
8785 (vc-resynch-window): Adjust name.
8786 * vc-hooks.el (vc-find-file-hook): Adjust name.
8788 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8790 * net/notifications.el (notifications-notify): Fix docstring.
8792 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8794 Update to Unicode 6.0.0 beta.
8795 * international/charprop.el: Update copyright.
8796 * international/mule-cmds.el (ucs-names): Update character ranges.
8797 * international/uni-bidi.el:
8798 * international/uni-category.el:
8799 * international/uni-combining.el:
8800 * international/uni-comment.el:
8801 * international/uni-decimal.el:
8802 * international/uni-decomposition.el:
8803 * international/uni-digit.el:
8804 * international/uni-lowercase.el:
8805 * international/uni-mirrored.el:
8806 * international/uni-name.el:
8807 * international/uni-numeric.el:
8808 * international/uni-old-name.el:
8809 * international/uni-titlecase.el:
8810 * international/uni-uppercase.el: Regenerate.
8812 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8814 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8815 (smie-precs-precedence-table): Fix typo in docstring.
8817 * vc-mtn.el (log-edit-extract-headers): Declare function.
8819 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8821 * net/notifications.el (dbus-register-signal): Declare function.
8822 (notifications-notify): Fix typos and reflow docstring.
8824 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8826 Improve VC create/retrieve tag/branch.
8827 * vc.el (vc-create-tag): Do not read the directory name for VCs
8828 with repository revision granularity. Adjust the tag/branch
8829 prompt. Reset VC properties.
8830 (vc-retrieve-tag): Do not read the directory name for VCs
8831 with repository revision granularity. Reset VC properties.
8833 2010-06-09 Julien Danjou <julien@danjou.info>
8835 * net/notifications.el: New file.
8837 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8839 Add optional support for resetting VC properties.
8840 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8841 call vc-file-clearprops when true.
8842 (vc-resynch-buffer): Add new optional argument, pass it down.
8843 (vc-resynch-buffers-in-directory): Likewise.
8845 Improve support for special markup in the VC commit message.
8846 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8847 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8848 * vc-git.el (vc-git-checkin):
8849 * vc-bzr.el (vc-bzr-checkin): Likewise.
8851 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8853 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8854 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8856 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8858 * iimage.el: Remove images as soon as the underlying text is modified.
8859 (iimage-modification-hook): New function.
8860 (iimage-mode-buffer): Use it.
8862 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8864 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8865 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8866 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8867 (smie-indent-keyword): Add handling of open-paren keywords.
8868 (smie-indent-comment-continue): Don't assume comment-continue.
8870 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8872 * window.el (pop-to-buffer): Remove the conditional that
8873 compares new-window and old-window, so it will reselect
8874 the selected window unconditionally.
8875 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8877 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8879 * emacs-lisp/smie.el (smie-indent-offset-after)
8880 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8881 (smie-indent-after-keyword): Use them.
8882 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8883 (smie-indent-keyword): Tweak the black magic.
8884 (smie-indent-comment-continue): Strip comment-continue before use.
8885 (smie-indent-functions): Indent comments before keywords.
8887 2010-06-06 Juri Linkov <juri@jurta.org>
8889 * isearch.el (isearch-lazy-highlight-search): Fix looping
8890 by checking for empty match. This syncs this loop with the
8891 similar loop in `isearch-search'. (Bug#6362)
8893 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8895 * net/dbus.el (dbus-register-method): Declare function.
8896 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8897 (dbus-introspect): Doc fix.
8898 (dbus-event-bus-name, dbus-introspect-get-interface)
8899 (dbus-introspect-get-argument): Reflow docstrings.
8901 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8903 vc-log-incoming/vc-log-outgoing fixes for Git.
8904 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8905 incoming/outgoing logs.
8906 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8907 instead of vc-git-compute-remote.
8908 (vc-git-compute-remote): Remove.
8910 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8912 * term/common-win.el (x-colors): Add "dark green" and "dark
8913 turquoise" (Bug#6332).
8915 2010-06-04 Juri Linkov <juri@jurta.org>
8917 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8918 Instead of setting `replace' to t and replacing the same string
8919 with itself, don't do certain actions when
8920 kill-do-not-save-duplicates is non-nil and string is equal to car
8921 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8922 interprogram-paste strings to kill-ring, and don't push the input
8923 argument `string' to kill-ring.
8924 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8926 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8928 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8930 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8932 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8933 (tramp-gvfs-handler-mounted-unmounted)
8934 (tramp-gvfs-connection-mounted-p): Handle default-location.
8936 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8937 move files to trash.
8939 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8941 * international/mule-cmds.el (nonascii-insert-offset)
8942 (nonascii-translation-table): Add obsolescence information.
8944 * international/mule.el (make-translation-table-from-vector): Doc fix.
8946 2010-06-03 Glenn Morris <rgm@gnu.org>
8948 * desktop.el (desktop-clear-preserve-buffers):
8949 Add "*Warnings*" buffer. (Bug#6336)
8951 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8953 vc-log-incoming/vc-log-outgoing improvements for Git.
8954 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8956 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8958 Add bindings for vc-log-incoming and vc-log-outgoing.
8959 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8960 and vc-log-outgoing.
8961 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8962 and vc-log-outgoing.
8964 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8966 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8967 (rcirc-handler-366): Always sort nicknames.
8969 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8971 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8973 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8975 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8977 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8979 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8980 (rcirc-sort-nicknames-join): Avoid setq.
8982 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8984 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8985 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8986 (rcirc-handler-366): Use them.
8988 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8990 Split smie-indent-calculate into more manageable chunks.
8991 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8992 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8993 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8994 (smie-indent-exps): Extract from smie-indent-calculate.
8995 (smie-indent-functions): New var.
8996 (smie-indent-functions): Use them.
8998 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9000 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9001 (smie-indent-calculate): Simplify and cleanup.
9003 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9005 * net/tramp-gvfs.el (top): Require url-util.
9006 (tramp-gvfs-mount-point): Remove.
9007 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9009 (with-tramp-dbus-call-method): Format trace message.
9010 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9011 Implement backup call, when operation on local files fails.
9012 Use progress reporter. Flush properties of changed files.
9013 (tramp-gvfs-handle-make-directory): Make more traces.
9014 (tramp-gvfs-url-file-name): Hexify file name in url.
9015 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9016 into account for the resulting file name.
9017 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9018 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9019 (tramp-gvfs-handler-mounted-unmounted)
9020 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9021 attribute "default_location". Set "prefix" property.
9022 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9023 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9024 exists. Raise an error, if not (due to a corresponding answer
9025 "no" in interactive questions, for example).
9027 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9029 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9031 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9033 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9036 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9038 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9039 * vc-git.el (vc-git-compute-remote): New function.
9040 (vc-git-log-outgoing): Use it instead of hard coding a value.
9041 (vc-git-log-incoming): New function.
9043 Improve state updating for VC tag commands.
9044 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9045 to update the state of all buffers in the directory.
9047 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9049 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9051 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9052 `file-directory-p' to the filename part rather than to the whole text.
9054 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9056 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9058 2010-05-31 Drew Adams <drew.adams@oracle.com>
9060 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9062 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9064 * subr.el (momentary-string-display): Just use read-event to read
9065 the exit event (Bug#6238).
9067 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9069 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9071 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9073 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9074 Suggested by Eli Zaretskii <eliz@gnu.org>.
9076 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9078 * minibuffer.el (completion-file-name-table): Don't return a boundary
9079 past the end of `string' (bug#6299).
9080 (completion--file-name-table): Delegate to completion-file-name-table
9081 for the `boundaries' case.
9083 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9085 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9088 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9089 `path-separator', but maintain compatibility with Emacs 20.2.
9091 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9093 * server.el (server-process-filter): Receive parent-id argument
9095 (server-create-window-system-frame): New arg. Pass parent-id as
9098 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9100 Bidi-sensitive word movement with arrow keys.
9101 * subr.el (right-arrow-command, left-arrow-command): Move to
9104 * bindings.el (right-char, left-char): Move from subr.el and
9105 rename from right-arrow-command and left-arrow-command.
9106 (right-word, left-word): New functions.
9107 (global-map) <right>: Bind to right-char.
9108 (global-map) <left>: Bind to left-char.
9109 (global-map) <C-right>: Bind to right-word.
9110 (global-map) <C-left>: Bind to left-word.
9112 * ls-lisp.el (ls-lisp-classify-file): New function.
9113 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9114 (ls-lisp-classify): Call ls-lisp-classify-file.
9115 (insert-directory): Remove blanks from switches.
9117 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9119 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9120 (ansi-color-drop-regexp): New constant.
9121 (ansi-color-apply, ansi-color-filter-region)
9122 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9123 (ansi-color-apply): Build string list before calling concat.
9125 2010-05-28 Juri Linkov <juri@jurta.org>
9127 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9128 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9131 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9133 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9134 to ignored backtrace functions.
9135 (with-progress-reporter): Expand docstring.
9136 (tramp-handle-delete-file): Implement TRASH argument.
9137 (tramp-get-remote-trash): New defun.
9139 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9141 * net/tramp-compat.el (tramp-compat-delete-file):
9142 Use `symbol-value' for backward compatibility.
9144 * net/tramp.el (tramp-handle-make-symbolic-link)
9146 (tramp-do-copy-or-rename-file-via-buffer)
9147 (tramp-do-copy-or-rename-file-directly)
9148 (tramp-do-copy-or-rename-file-out-of-band)
9149 (tramp-handle-process-file, tramp-handle-call-process-region)
9150 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9151 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9152 (tramp-delete-temp-file-function): Use `delete-file' instead
9153 of `tramp-compat-delete-file'.
9155 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9156 (tramp-fish-handle-make-symbolic-link)
9157 (tramp-fish-handle-process-file): Use `delete-file' instead
9158 of `tramp-compat-delete-file'.
9160 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9161 Use `delete-file' instead of `tramp-compat-delete-file'.
9163 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9164 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9165 `tramp-compat-delete-file'.
9167 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9168 Use `delete-file' instead of `tramp-compat-delete-file'.
9170 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9171 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9172 (tramp-smb-handle-write-region): Use `delete-file' instead of
9173 `tramp-compat-delete-file'.
9174 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9176 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9178 * dired.el (dired-delete-file): New arg TRASH.
9179 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9180 (dired-do-flagged-delete, dired-do-delete): Use trash.
9182 * speedbar.el (speedbar-item-delete): Allow trashing.
9184 * files.el (delete-directory): New arg TRASH.
9186 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9187 (ange-ftp-rename-remote-to-remote)
9188 (ange-ftp-rename-local-to-remote)
9189 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9190 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9192 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9195 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9196 handle new TRASH arg of `delete-file'.
9198 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9199 (tramp-handle-make-symbolic-link, tramp-handle-load)
9200 (tramp-do-copy-or-rename-file-via-buffer)
9201 (tramp-do-copy-or-rename-file-directly)
9202 (tramp-do-copy-or-rename-file-out-of-band)
9203 (tramp-handle-process-file, tramp-handle-call-process-region)
9204 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9205 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9206 (tramp-delete-temp-file-function): Use null TRASH arg in
9207 tramp-compat-delete-file call.
9209 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9210 (tramp-fish-handle-delete-file)
9211 (tramp-fish-handle-make-symbolic-link)
9212 (tramp-fish-handle-process-file): Use null TRASH arg in
9213 `tramp-compat-delete-file' call.
9215 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9216 arg in `tramp-compat-delete-file' call.
9218 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9219 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9220 `tramp-compat-delete-file' call.
9222 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9223 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9224 `tramp-compat-delete-file' call.
9226 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9227 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9228 (tramp-smb-handle-write-region): Use null TRASH arg in
9229 tramp-compat-delete-file call.
9230 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9231 (tramp-smb-handle-delete-file): Rename arg.
9233 * diff.el (diff-sentinel):
9234 * epg.el (epg--make-temp-file, epg-decrypt-string)
9235 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9236 * jka-compr.el (jka-compr-partial-uncompress)
9237 (jka-compr-call-process, jka-compr-write-region):
9238 * server.el (server-sentinel): Remove optional arg from
9239 delete-file, reverting 2010-05-03 change.
9241 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9243 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9244 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9246 2010-05-27 Kenichi Handa <handa@m17n.org>
9248 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9249 element of GSTRING is nil.
9251 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9253 * emacs-lisp/smie.el (smie-forward-token-function)
9254 (smie-backward-token-function): New vars.
9255 (smie-backward-sexp, smie-forward-sexp)
9256 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9257 (smie-default-backward-token): Rename from smie-backward-token and
9259 (smie-default-forward-token): Rename from smie-forward-token and
9261 (smie-next-sexp): Handle nil results from next-token.
9262 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9264 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9266 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9267 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9269 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9271 * htmlfontify.el (hfy-face-resolve-face): New function.
9272 (hfy-face-to-style): Use it (Bug#6279).
9274 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9276 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9277 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9279 2010-05-26 Glenn Morris <rgm@gnu.org>
9281 * emulation/edt.el (edt-load-keys): Use locate-library.
9283 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9285 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9286 (log-edit-changelog-entries): Doc fix.
9287 (log-edit-changelog-insert-entries): Args changed.
9288 Rename relative filenames in ChangeLog entries. Delete tabs.
9289 (log-edit-insert-changelog-entries): Reorganize return value of
9290 `log-edit-changelog-entries' to pass filenames to
9291 log-edit-changelog-insert-entries.
9293 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9295 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9296 `image-dired-dired-insert-marked-thumbs' to
9297 `image-dired-dired-toggle-marked-thumbs'.
9299 * image-dired.el: Require cl when compiling.
9300 (image-dired-dired-toggle-marked-thumbs): Rename from
9301 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9302 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9303 to 'no-dir. Skip files whose names don't match
9304 `image-file-name-regexp'. When file has a thumbnail overlay,
9305 delete it. (Bug#5270)
9307 2010-05-25 Juri Linkov <juri@jurta.org>
9309 * image-mode.el (image-mode): Add image-after-revert-hook to
9311 (image-after-revert-hook): New function. (Bug#5669)
9313 2010-05-25 Juri Linkov <juri@jurta.org>
9315 * image.el (image-animated-p): When delay between animated images
9316 is 0, set it to 10 (0.1 sec). (Bug#6258)
9318 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9320 * net/tramp.el (tramp-handle-insert-directory): Don't use
9321 `forward-word', its default syntax could be changed.
9323 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9325 * net/tramp.el (tramp-progress-reporter-update): New defun.
9326 (with-progress-reporter): Use it.
9327 (tramp-process-actions):
9328 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9329 Preserve current message, in order to let progress reporter continue
9330 afterwards. (Bug#6257)
9332 2010-05-25 Glenn Morris <rgm@gnu.org>
9334 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9337 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9339 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9340 (rcirc-default-full-name): Change to "unknown".
9341 (rcirc-user-name-history): Add variable.
9343 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9344 Jonathan Rockway <jon@jrock.us>
9346 * net/rcirc.el (rcirc-server-alist): Add :pass.
9347 (rcirc): When prompting for connection parameters, also prompt for
9348 username and password.
9349 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9350 value to server when connecting.
9352 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9354 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9355 (smie-merge-prec2s): Pass the tables as separate args.
9356 (smie-bnf-precedence-table): Adjust call accordingly.
9357 (smie-prec2-levels): Set levels at the end.
9359 Replace Lisp calls to delete-backward-char by delete-char.
9360 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9361 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9362 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9363 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9364 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9365 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9366 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9367 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9368 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9369 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9370 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9371 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9372 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9373 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9374 delete-backward-char by calls to delete-char.
9376 2010-05-25 Kenichi Handa <handa@m17n.org>
9378 * language/hebrew.el (hebrew-shape-gstring): New function.
9379 Register it in composition-function-table for all Hebrew combining
9382 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9384 * epa.el (epa--select-keys): Don't explicitly delete the window since
9385 that can fail (e.g. sole window in frame). Use dedication instead.
9387 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9389 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9391 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9393 * image.el (image-refresh): Define as an alias for image-flush.
9395 * image-mode.el (image-toggle-display-image): Caller changed.
9397 2010-05-21 Juri Linkov <juri@jurta.org>
9399 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9400 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9401 whitespace, call wildcard-to-regexp on substrings and concat them
9402 with "\\|". (Bug#6114)
9404 2010-05-21 Alan Mackenzie <acm@muc.de>
9406 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9407 Replace parameter `here' with `here-' and `here-plus', which sandwich
9408 any pertinent CPP construct.
9409 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9410 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9411 CPP construct from taking part in the scanning.
9413 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9415 * net/tramp.el (tramp-do-copy-or-rename-file)
9416 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9417 Tune `with-progress-reporter' messages.
9418 (tramp-handle-vc-registered):
9419 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9420 (tramp-fish-handle-insert-file-contents)
9421 (tramp-fish-maybe-open-connection):
9422 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9423 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9424 (tramp-imap-handle-insert-file-contents)
9425 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9427 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9429 * add-log.el (change-log-font-lock-keywords):
9430 Highlight all authors in multi-author entries.
9432 * smerge-mode.el (smerge-refine-ignore-whitespace)
9433 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9434 Fix typos in docstrings.
9435 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9437 2010-05-21 Glenn Morris <rgm@gnu.org>
9439 * progmodes/fortran.el (fortran-mode):
9440 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9442 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9443 having a relative path in src/Makefile.in.
9445 2010-05-20 Kevin Ryde <user42@zip.com.au>
9447 * help-mode.el (help-make-xrefs): For Info node links turn
9448 newlines into spaces. Link node names with newlines are matched
9449 by help-xref-info-regexp and buttonized, this change ensures they
9450 can be followed successfully with RET. (Bug#6206)
9452 2010-05-20 Juri Linkov <juri@jurta.org>
9454 * locate.el (locate): Use pop-to-buffer instead of
9455 switch-to-buffer-other-window. (Bug#6204)
9457 2010-05-20 Juri Linkov <juri@jurta.org>
9459 * replace.el (replace-highlight): Fix lazy-highlighting
9460 for `M-s w str M-% str RET'.
9462 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9464 * isearch.el (isearch-yank-word-or-char): Pull next subword
9465 when `subword-mode' is activated. (Bug#6220)
9467 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9469 * isearch.el (isearch-update-post-hook): New hook.
9470 (isearch-update): Use the new hook. (Bug#6225)
9472 2010-05-20 Juri Linkov <juri@jurta.org>
9474 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9475 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9478 2010-05-20 Juri Linkov <juri@jurta.org>
9480 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9483 2010-05-20 Juri Linkov <juri@jurta.org>
9485 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9486 FILE-NAME to read from the minibuffer when called interactively
9487 with prefix argument instead of using buffer-file-name.
9488 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9490 * dired.el: Update autoloads.
9492 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9494 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9495 nxml-finish-element, for consistency with SGML mode.
9497 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9500 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9502 * composite.el: Require cl when compiling.
9503 (reference-point-alist, compose-gstring-for-graphic)
9504 (compose-gstring-for-terminal): Fix typos in docstrings.
9506 2010-05-19 Juri Linkov <juri@jurta.org>
9508 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9509 set-window-parameter.
9511 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9513 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9515 (tramp-maybe-open-connection): Use it.
9517 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9519 * simple.el (move-end-of-line): Make sure we are at line beginning
9520 before backing up to end of previous line.
9522 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9524 * password-cache.el (password-cache-remove): Fix docstring.
9526 * net/secrets.el: Autoload the widget functions.
9527 (secrets-search-items, secrets-create-item)
9528 (secrets-get-attributes, secrets-expand-item): Attributes will be
9529 stored on the password database without leading ":", as all other
9531 (secrets-mode): Fix docstring.
9532 (secrets-show-secrets): Provide it as autoloaded command only when
9533 D-Bus support is available. Check existence of Secret Service API.
9535 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9537 * indent.el (indent-region): Deactivate region (bug#6200).
9539 2010-05-19 Glenn Morris <rgm@gnu.org>
9541 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9543 2010-05-19 Kenichi Handa <handa@m17n.org>
9545 * composite.el: Register compose-gstring-for-graphic in
9546 composition-function-table only for combining characters (Mn, Mc, Me).
9548 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9550 * calc/calc-trail.el (calc-trail-isearch-forward)
9551 (calc-trail-isearch-backward): Ensure that the new window
9552 point is set correctly.
9554 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9556 * subr.el (read-quoted-char): Resolve modifiers after key
9557 remapping (bug#6212).
9559 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9561 Add visualization code for secrets.
9562 * net/secrets.el (secrets-mode): New major mode.
9563 (secrets-show-secrets, secrets-show-collections)
9564 (secrets-expand-collection, secrets-expand-item)
9565 (secrets-tree-widget-after-toggle-function)
9566 (secrets-tree-widget-show-password): New defuns.
9568 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9570 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9571 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9572 handled in smie-next-sexp.
9573 (smie-indent-calculate): Provide a starting indentation (so the
9574 recursion is well-founded ;-).
9576 Fix handling of non-associative equal levels.
9577 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9578 when it's not needed.
9579 (smie-op-left, smie-op-right): New functions.
9580 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9581 Better handle equal levels to distinguish the associative case from
9582 the "multi-keyword construct" case.
9583 (smie-backward-sexp, smie-forward-sexp): Use it.
9585 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9587 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9589 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9590 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9592 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9594 Provide a simple generic indentation engine and use it for Prolog.
9595 * emacs-lisp/smie.el: New file.
9596 * progmodes/prolog.el (prolog-smie-op-levels)
9597 (prolog-smie-indent-rules): New var.
9598 (prolog-mode-variables): Use them to configure SMIE.
9599 (prolog-indent-line, prolog-indent-level): Remove.
9601 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9603 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9604 order before computing the averages.
9606 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9608 * calc/calc-vec.el (calc-histogram):
9609 (calcFunc-histogram): Allow vectors as inputs.
9610 (math-vector-avg): New function.
9612 * calc/calc-ext.el (math-group-float): Have the number of digits
9613 being grouped depend on the radix (Bug#6189).
9615 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9617 * version.el (emacs-copyright, emacs-version): Don't define here,
9618 now that emacs.c defines it.
9620 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9622 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9623 "Describe Language Environment" menu item.
9625 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9627 Bidi-sensitive movement with arrow keys.
9628 * subr.el (right-arrow-command, left-arrow-command): New functions.
9630 * bindings.el (global-map): Bind them to right and left arrow keys.
9632 Don't override standard definition of convert-standard-filename.
9633 * files.el (convert-standard-filename):
9634 Call w32-convert-standard-filename and dos-convert-standard-filename on
9635 the corresponding systems.
9637 * w32-fns.el (w32-convert-standard-filename): Rename from
9638 convert-standard-filename. Doc fix.
9640 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9641 (convert-standard-filename): Don't defalias.
9642 (register-name-alist, make-register, register-value)
9643 (set-register-value, intdos): Obsolete aliases for the
9644 corresponding dos-* functions and variables.
9645 (dos-intdos): Add a doc string.
9647 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9649 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9650 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9651 (math-compose-tex-func):
9652 * calc/calccomp.el (math-compose-expr):
9653 * calc/calc-ext.el (math-format-flat-expr-fancy):
9654 * calc/calc-store.el (calc-read-var-name):
9655 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9657 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9658 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9659 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9660 (math-standard-units): Add units.
9662 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9664 * progmodes/asm-mode.el (asm-mode):
9665 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9667 * pcomplete.el (pcomplete-completions-at-point): New function,
9668 extracted from pcomplete-std-complete.
9669 (pcomplete-std-complete): Use it.
9671 2010-05-15 Glenn Morris <rgm@gnu.org>
9673 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9674 Remove references to CVS, RCS and Old directories.
9676 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9678 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9681 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9683 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9684 (sh-mode-syntax-table): Give it a default value instead.
9685 (sh-header-marker): Make buffer-local.
9686 (sh-mode): Move make-local-variable to the corresponding setq.
9687 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9688 Use complete-with-action.
9690 * simple.el (prog-mode): New (abstract) major mode.
9691 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9692 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9694 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9696 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9697 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9698 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9699 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9700 (sql-escape-newlines-filter, sql-input-sender)
9701 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9703 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9705 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9707 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9708 latex-open-block and C-c / to latex-close-block.
9710 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9711 and C-c C-e to sgml-close-tag.
9713 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9715 * net/tramp.el (with-progress-reporter): Create reporter object
9716 only when the message would be displayed. Handle nested calls.
9717 (tramp-handle-load, tramp-handle-file-local-copy)
9718 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9719 (tramp-maybe-send-script, tramp-find-shell):
9720 Use `with-progress-reporter'.
9721 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9724 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9725 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9726 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9727 Use `with-progress-reporter'.
9729 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9731 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9732 process everytime when spellchecking from the minibuffer (bug#6143).
9734 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9736 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9738 * dos-fns.el: Add "dos-" prefix for namespace control.
9739 (convert-standard-filename): Define as alias for
9740 dos-convert-standard-filename but only if applicable.
9742 2010-05-12 Alan Mackenzie <acm@muc.de>
9744 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9745 Push the mark at the start of these functions when appropriate.
9747 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9749 * minibuffer.el (completion-cycle-threshold): New custom var.
9750 (completion--do-completion): Use it.
9751 (minibuffer-complete): Use cycling if appropriate.
9753 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9755 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9756 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9758 2010-05-11 Juri Linkov <juri@jurta.org>
9760 * scroll-all.el (scroll-all-check-to-scroll):
9761 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9763 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9765 * iimage.el (iimage-mode-map): Move initialization into declaration.
9766 (iimage-mode-buffer): Use with-silent-modifications.
9767 Simplify calling convention. Adjust callers.
9768 (iimage-mode): Don't run hook redundantly.
9770 * minibuffer.el (completion-pcm--pattern->regex):
9771 Fix last change (bug#6160).
9773 2010-05-10 Juri Linkov <juri@jurta.org>
9775 Remove nodes visited during Isearch from the Info history.
9776 * info.el (Info-isearch-initial-history)
9777 (Info-isearch-initial-history-list): New variables.
9778 (Info-isearch-start): Record initial values of
9779 Info-isearch-initial-history and Info-isearch-initial-history-list.
9780 Add Info-isearch-end to isearch-mode-end-hook.
9781 (Info-isearch-end): New function.
9783 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9785 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9786 format string, in order to work around a bug in pdksh.
9787 Reported by Gilles Pion <gpion@lfdj.com>.
9788 (tramp-handle-verify-visited-file-modtime): Do not send a command
9789 when the connection is not established.
9790 (tramp-handle-set-file-times): Simplify the check for utc.
9792 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9794 Fix use of `filter-buffer-substring' (rework previous change).
9795 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9796 (cua-repeat-replace-region):
9797 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9798 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9799 (cua-cut-region-to-global-mark): Use it.
9801 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9803 * progmodes/sql.el: Version 2.1.
9804 (sql-product-alist): Redesign structure of product info.
9805 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9806 (sql-port, sql-port-history): New variables.
9807 (sql-interactive-product): New variable.
9808 (sql-send-terminator): New variable.
9809 (sql-imenu-generic-expression): Add "Types" imenu entry.
9810 (sql-oracle-login-params, sql-sqlite-login-params)
9811 (sql-mysql-login-params, sql-solid-login-params)
9812 (sql-sybase-login-params, sql-informix-login-params)
9813 (sql-ingres-login-params, sql-ms-login-params)
9814 (sql-postgres-login-params, sql-interbase-login-params)
9815 (sql-db2-login-params, sql-linter-login-params)
9816 (sql-oracle-scan-on): New variables.
9817 (sql-mode-map): Add C-c C-i to start interactive mode.
9818 (sql-mode-menu): Update existing menu entries.
9819 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9820 (sql-mode-oracle-font-lock-keywords)
9821 (sql-mode-postgres-font-lock-keywords)
9822 (sql-mode-ms-font-lock-keywords)
9823 (sql-mode-sybase-font-lock-keywords)
9824 (sql-mode-informix-font-lock-keywords)
9825 (sql-mode-interbase-font-lock-keywords)
9826 (sql-mode-ingres-font-lock-keywords)
9827 (sql-mode-solid-font-lock-keywords)
9828 (sql-mode-mysql-font-lock-keywords)
9829 (sql-mode-sqlite-font-lock-keywords)
9830 (sql-mode-db2-font-lock-keywords)
9831 (sql-mode-linter-font-lock-keywords): Update initialization to
9832 reduce run-time complexity.
9833 (sql-add-product, sql-del-product): New functions.
9834 (sql-set-product-feature, sql-get-product-feature): New functions.
9835 (sql-product-font-lock): Update product API.
9836 (sql-add-product-keywords): New function.
9837 (sql-highlight-product): Update product API.
9838 (sql-help-list-products): New function.
9839 (sql-help): Dynamically lists free and non-free products.
9840 (sql-get-login): Correct bug in handling history and added
9842 (sql-copy-column): Copy without properties.
9843 (sqli-input-sender): Apply filters to SQLi input.
9844 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9845 Implement as a filter.
9846 (sql-escape-newlines-filter): Implement as a filter.
9847 (sql-remove-tabs-filter): New function.
9848 (sql-send-magic-terminator): New function.
9849 (sql-send-string): Implement magic terminator.
9850 (sql-send-region): Use `sql-send-string'.
9851 (sql-interactive-mode): Use product API.
9852 (sql-product-interactive): Use product API.
9853 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9854 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9855 (sql-db2, sql-linter): Use `sql-product-interactive'.
9856 (sql-connect): New function.
9857 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9858 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9859 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9860 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9863 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9865 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9866 New custom variable.
9867 (completion-pcm--string->pattern): Use it.
9868 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9869 Make it handle any symbol as `any'.
9870 (completion-pcm--merge-completions): Extract common suffix for the new
9871 `prefix' symbol as well.
9872 (completion-substring--all-completions): Use the new `prefix' symbol.
9874 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9876 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9878 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9879 (tramp-compat-funcall): New defmacro.
9880 (tramp-compat-line-beginning-position)
9881 (tramp-compat-line-end-position)
9882 (tramp-compat-temporary-file-directory)
9883 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9884 (tramp-compat-copy-file, tramp-compat-copy-directory)
9885 (tramp-compat-delete-file, tramp-compat-delete-directory)
9886 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9887 * net/tramp.el (top, with-progress-reporter)
9888 (tramp-rfn-eshadow-setup-minibuffer)
9889 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9890 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9891 (tramp-completion-mode-p, tramp-check-for-regexp)
9892 (tramp-open-connection-setup-interactive-shell)
9893 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9894 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9895 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9896 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9897 (tramp-reporter-dump-variable, tramp-load-report-modules)
9898 (tramp-append-tramp-buffers)
9899 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9901 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9903 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9905 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9906 buffer-modtime. Adjust users.
9908 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9910 * international/mule.el (auto-coding-alist): Only purecopy
9911 car of each item, not the whole list (Bug#6083).
9913 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9915 * progmodes/js.el (js-mode): Make paragraph variables local before
9916 calling c-setup-paragraph-variables (Bug#6071).
9918 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9920 * composite.el (compose-region, reference-point-alist): Fix typos
9923 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9925 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9926 gnuplot's "set" command.
9928 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9930 * abbrev.el (last-abbrev-text): Doc fix.
9931 (abbrev-prefix-mark): Don't escape parenthesis.
9933 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9935 * composite.el (find-composition): Doc fix.
9937 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9939 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9940 (sql-oracle-program, sql-sqlite-options)
9941 (sql-query-placeholders-and-send): Doc fixes.
9942 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9943 (sql-imenu-generic-expression, sql-buffer)
9944 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9945 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9946 (sql-mode-sybase-font-lock-keywords)
9947 (sql-mode-informix-font-lock-keywords)
9948 (sql-mode-interbase-font-lock-keywords)
9949 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9950 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9951 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9952 (sql-product-feature, sql-highlight-product)
9953 (comint-line-beginning-position, sql-rename-buffer)
9954 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9955 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9956 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9957 Fix typos in docstrings.
9959 2010-05-08 Juri Linkov <juri@jurta.org>
9961 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9962 property instead of `invisible' and `after-string' (bug#5998).
9964 2010-05-08 Juri Linkov <juri@jurta.org>
9966 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9968 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9970 * filecache.el (file-cache-add-directory-list)
9971 (file-cache-add-directory-recursively): Fix typos in docstrings.
9973 2010-05-08 Kenichi Handa <handa@m17n.org>
9975 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9976 (gujarati-composable-pattern): Fix typo.
9978 2010-05-08 Kenichi Handa <handa@m17n.org>
9980 * language/indian.el (oriya-composable-pattern)
9981 (tamil-composable-pattern, malayalam-composable-pattern):
9982 Add two-part vowels to "v" (vowel sign).
9984 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9986 * files.el (copy-directory): Handle symlinks (Bug#5982).
9988 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9990 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9991 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9994 2010-05-08 Glenn Morris <rgm@gnu.org>
9996 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9998 * minibuffer.el (completion-at-point): Doc fix.
10000 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10002 * electric.el (Electric-command-loop): Minor tweak.
10004 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10005 better with dedicated windows.
10007 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10009 * Version 23.2 released.
10011 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10012 Stefan Monnier <monnier@iro.umontreal.ca>
10014 Highlight vendor specific properties.
10015 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10016 (css-proprietary-property): New face.
10017 (css-font-lock-keywords): Use them.
10019 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10021 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10023 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10025 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10026 * files.el (auto-mode-alist): Remove redundant entries.
10028 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10029 * simple.el (auto-save-mode): Move from files.el.
10030 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10032 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10034 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10036 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10038 * mail/binhex.el (binhex-decode-region-internal)
10039 * mail/uudecode.el (uudecode-decode-region-internal)
10040 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10041 (dns-read-type, dns-query)
10042 * pgg-parse.el (pgg-parse-armor)
10043 * pgg.el (pgg-verify-region)
10044 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10047 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10049 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10051 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10053 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10054 * emulation/cua-base.el (cua-repeat-replace-region):
10055 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10056 (cua-cut-region-to-global-mark):
10057 Remove text properties with `set-text-properties'.
10059 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10061 * net/tramp.el (top, with-progress-reporter):
10062 Use `symbol-function' inside `funcall'.
10064 * net/tramp-compat.el (tramp-compat-file-attributes)
10065 (tramp-compat-delete-file, tramp-compat-delete-directory):
10066 Handle only `wrong-number-of-arguments' error.
10068 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10069 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10072 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10074 * minibuffer.el (completion--sreverse, completion--common-suffix):
10076 (completion-pcm--merge-completions): Extract common suffix when safe.
10078 * emacs-lisp/easy-mmode.el (define-minor-mode):
10079 Make :variable more flexible.
10080 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10082 2010-05-05 Juri Linkov <juri@jurta.org>
10084 Add `slow' and `history' tags to the desktop data.
10086 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10087 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10088 (Info-finder-find-node): Require `finder.el' to be able
10089 to restore node from the desktop.
10090 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10091 data `Info-history' and `slow' tag in the assoc list.
10092 (Info-restore-desktop-buffer): Don't restore nodes with the
10093 `slow' tag. Restore `Info-history'.
10095 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10097 Add FORCE argument to `delete-file'.
10099 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10100 forcing to delete the temporary file.
10101 (ange-ftp-delete-file): Add FORCE arg.
10102 (ange-ftp-rename-remote-to-remote)
10103 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10104 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10105 Force file deletion.
10107 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10109 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10110 (tramp-handle-make-symbolic-link, tramp-handle-load)
10111 (tramp-do-copy-or-rename-file-via-buffer)
10112 (tramp-do-copy-or-rename-file-directly)
10113 (tramp-do-copy-or-rename-file-out-of-band)
10114 (tramp-handle-process-file, tramp-handle-call-process-region)
10115 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10116 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10117 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10119 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10120 (tramp-fish-handle-make-symbolic-link)
10121 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10123 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10124 Use `tramp-compat-delete-file'.
10126 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10127 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10129 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10130 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10132 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10133 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10134 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10135 Use `tramp-compat-delete-file'.
10137 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10140 * subr.el (add-minor-mode): Use push.
10141 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10142 * emulation/edt.el (edt-select-mode): Simplify.
10144 Use define-minor-mode in more cases.
10145 * term/tvi970.el (tvi970-set-keypad-mode):
10146 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10147 (normal-erase-is-backspace-mode):
10148 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10149 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10150 (get-scroll-bar-mode): New function.
10151 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10153 Use define-minor-mode for less obvious cases.
10154 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10155 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10156 * international/iso-ascii.el (iso-ascii-mode):
10157 * frame.el (auto-raise-mode, auto-lower-mode):
10158 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10160 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10162 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10163 in order to see error messages for failed logins.
10165 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10167 * diff.el (diff-sentinel):
10169 * epg.el (epg--make-temp-file, epg-decrypt-string)
10170 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10172 * jka-compr.el (jka-compr-partial-uncompress)
10173 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10175 * server.el (server-sentinel): Use delete-file's new FORCE arg
10178 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10180 Use define-minor-mode where applicable.
10181 * view.el (view-mode):
10182 * type-break.el (type-break-query-mode)
10183 (type-break-mode-line-message-mode):
10184 * textmodes/reftex.el (reftex-mode):
10185 * term/vt100.el (vt100-wide-mode):
10186 * tar-mode.el (tar-subfile-mode):
10187 * savehist.el (savehist-mode):
10188 * ibuf-ext.el (ibuffer-auto-mode):
10189 * composite.el (auto-composition-mode):
10190 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10191 Use define-minor-mode.
10192 (vhdl-mode): Use static mode-line format.
10193 (vhdl-mode-line-update): Delete.
10194 (vhdl-create-mode-menu, vhdl-activate-customizations)
10195 (vhdl-hs-minor-mode): Don't bother calling it.
10197 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10199 * simple.el (with-wrapper-hook): Move.
10200 (buffer-substring-filters): Mark obsolete.
10201 (filter-buffer-substring-functions): New variable.
10202 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10204 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10205 Michael Albinus <michael.albinus@gmx.de>
10207 Implement compression for inline methods.
10209 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10210 (tramp-copy-size-limit): Allow also nil.
10211 (tramp-inline-compress-commands): New defconst.
10212 (tramp-find-inline-compress, tramp-get-inline-compress)
10213 (tramp-get-inline-coding): New defuns.
10214 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10215 replaced by `tramp-get-inline-coding'.
10216 (tramp-handle-file-local-copy, tramp-handle-write-region)
10217 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10219 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10221 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10222 Remove unused functions.
10224 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10225 Set find-tag-default-function as a variable rather than a property.
10227 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10228 * progmodes/etags.el (tags-completion-at-point-function):
10229 Remove left over interactive spec. Add autoloading stub.
10230 (complete-tag): Use tags-completion-at-point-function.
10232 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10234 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10236 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10238 * ido.el (ido-init-completion-maps): Remove C-v binding.
10239 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10241 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10243 * minibuffer.el (tags-completion-at-point-function): New function.
10244 (completion-at-point-functions): Use it.
10246 * progmodes/etags.el (complete-tag): Revert last change.
10248 2010-04-29 Alan Mackenzie <acm@muc.de>
10250 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10251 off-by-one error (in end of macro position).
10253 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10255 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10256 firefox is absent. Don't autoload.
10257 (browse-url-galeon-program): Don't autoload.
10259 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10261 * bindings.el (complete-symbol): Move into minibuffer.el.
10263 * minibuffer.el (complete-tag): Move from etags.el. If tags
10264 completion cannot be performed, return nil instead of signalling
10266 (completion-at-point): Make it an alias for complete-symbol.
10267 (complete-symbol): Move from bindings.el, and replace with the
10268 body of completion-at-point.
10270 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10272 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10274 * net/tramp.el (tramp-remote-selinux-p): New defun.
10275 (tramp-handle-file-selinux-context)
10276 (tramp-handle-set-file-selinux-context): Use it.
10278 2010-04-28 Sam Steingold <sds@gnu.org>
10280 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10281 `safe-local-variable' if the value is a string or a symbol with
10282 the property `bug-reference-url-format'.
10284 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10286 * progmodes/bug-reference.el (bug-reference-url-format):
10287 Revert 2010-04-27 change due to security risk.
10289 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10291 Make it possible to locally disable a globally enabled mode.
10292 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10293 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10294 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10295 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10296 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10297 that subsequent hooks get a chance to disable it.
10299 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10301 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10302 Avoid re-enabling a minor mode after the user turned the minor mode
10303 off if MODE-enable-in-buffers is run twice (typically once from
10304 fundamental-mode's after-change-major-mode-hook and a second time from
10305 run-mode-hook's own after-change-major-mode-hook).
10307 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10309 2010-04-27 Sam Steingold <sds@gnu.org>
10311 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10312 `safe-local-variable' if the value is a string or a function, as
10313 documented and implemented on 2010-04-02.
10315 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10317 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10318 when method is 'kill.
10320 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10322 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10323 condition in default directory check.
10324 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10325 Kill ispell process when killing its associated buffer.
10327 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10329 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10330 but we aren't using it.
10332 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10334 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10335 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10337 2010-04-24 Glenn Morris <rgm@gnu.org>
10339 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10340 Ignore VCS-ignore files, and deleted nextstep preferences files.
10341 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10342 (authors-ambiguous-files): New list.
10343 (authors-valid-file-names): Add some deleted files.
10344 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10345 (authors-disambiguate-file-name): New function. (Bug#5501)
10346 (authors-canonical-file-name): Doc fix.
10347 Don't warn about obsolete files.
10348 (authors-canonical-file-name, authors-scan-el):
10349 Use authors-disambiguate-file-name.
10351 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10352 Add autoload cookies.
10353 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10354 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10355 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10356 They have definitions / compiler macros in cl.el.
10357 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10358 Replace manual autoloads with generated ones.
10359 (htmlfontify-unload-rgb-file): Remove autoload.
10360 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10362 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10364 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10365 (byte-compile-setq-default): Optimize for the
10366 single-var case and don't call byte-compile-form in this case to avoid
10367 inf-loop with byte-compile-set-default.
10369 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10371 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10373 Implement SELINUX backends.
10375 * net/tramp.el (tramp-file-name-handler-alist):
10376 Add `file-selinux-context' and `set-file-selinux-context'.
10377 (tramp-handle-file-selinux-context)
10378 (tramp-handle-set-file-selinux-context): New defuns.
10379 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10380 Handle PRESERVE-SELINUX-CONTEXT.
10382 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10383 Add `file-selinux-context' and `set-file-selinux-context'.
10384 (tramp-gvfs-handle-file-selinux-context)
10385 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10386 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10388 * net/ange-ftp.el (ange-ftp-copy-file):
10389 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10390 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10391 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10392 Add PRESERVE-SELINUX-CONTEXT.
10394 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10396 Synchronize with Tramp repository.
10398 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10399 (tramp-action-process-alive, tramp-action-out-of-band)
10400 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10401 (tramp-exists-file-name-handler): Fix docstring.
10402 (with-progress-reporter): New defmacro.
10403 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10404 (tramp-maybe-open-connection): Use it.
10406 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10408 Detect ssh 'ControlMaster' argument automatically in some cases.
10410 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10411 (tramp-default-method): Use it.
10413 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10415 * net/tramp.el (tramp-handle-copy-file): Add new optional
10416 parameter `preserve-selinux-context'.
10417 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10419 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10421 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10422 Ensure, that non remote files are still checked. Oops.
10424 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10428 * icomplete.el (icomplete-completions): Use `non-essential'.
10430 * net/tramp.el (tramp-connectable-p): New defun.
10431 (tramp-handle-expand-file-name)
10432 (tramp-completion-handle-file-name-all-completions)
10433 (tramp-completion-handle-file-name-completion): Use it.
10435 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10437 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10439 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10441 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10443 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10445 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10448 * info.el (info-tool-bar-map): Add labels.
10450 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10452 * cus-edit.el (custom-commands): Add labels for tool bar.
10453 (custom-buffer-create-internal, Custom-mode): Adjust for
10454 labels in custom-commands.
10456 * dynamic-setting.el: Renamed from font-setting.el.
10458 2010-04-21 John Wiegley <jwiegley@gmail.com>
10460 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10461 toggles the use of virtual buffers.
10462 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10463 (ido-toggle-virtual-buffers): New function.
10465 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10467 Use `define-derived-mode'; fix window selection; doc fixes.
10468 * play/tetris.el (tetris, tetris-update-speed-function)
10469 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10470 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10471 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10472 (tetris-pause-game): Fix typos in docstrings.
10473 (tetris-mode-map, tetris-null-map):
10474 Move initialization into declaration.
10475 (tetris-mode): Define with `define-derived-mode';
10476 set show-trailing-whitespace to nil.
10477 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10479 2010-04-21 Karel Klíč <kklic@redhat.com>
10481 * files.el (backup-buffer): Handle SELinux context, and return it
10482 if a backup was made by renaming.
10483 (backup-buffer-copy): Set SELinux context to the target file.
10484 (basic-save-buffer): Set SELinux context of the newly written file.
10485 (basic-save-buffer-1): Now it also returns any SELinux context.
10486 (basic-save-buffer-2): Set SELinux context of the newly created file,
10488 * net/tramp.el (tramp-file-name-for-operation):
10489 Add file-selinux-context.
10491 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10493 Make the log-edit comments use RFC822 format throughout.
10495 * vc.el (vc-checkin, vc-modify-change-comment):
10496 Adjust to new vc-start/finish-logentry.
10497 (vc-find-conflicted-file): New command.
10498 (vc-transfer-file): Adjust to new vc-checkin.
10499 (vc-next-action): Improve scoping.
10501 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10502 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10504 * vc-git.el (vc-git-log-edit-mode): Remove.
10505 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10506 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10508 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10509 (vc-start-logentry): Remove argument `extra'.
10510 (vc-finish-logentry): Remove extra args.
10512 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10513 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10514 (vc-bzr-conflicted-files): New function.
10516 * log-edit.el (log-edit-extra-flags)
10517 (log-edit-before-checkin-process): Remove.
10518 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10519 (log-edit-headers-alist): New var.
10520 (log-edit-header-contents-regexp): New const.
10521 (log-edit-match-to-eoh): New function.
10522 (log-edit-font-lock-keywords): Use them.
10523 (log-edit): Insert a "Summary:" header as default.
10524 (log-edit-mode): Mark font-lock rules as case-insensitive.
10525 (log-edit-done): Cleanup headers.
10526 (log-view-process-buffer): Remove.
10527 (log-edit-extract-headers): New function to replace it.
10529 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10531 * subr.el (default-direction-reversed): Remove obsolescence info.
10533 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10535 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10538 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10539 I.e. include text after point in the completion region.
10540 Also, return nil when we're not after/in a symbol.
10542 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10543 default enable-multibyte-characters.
10545 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10547 * international/mule.el: Help the user choose a valid coding-system.
10548 (read-buffer-file-coding-system): New function.
10549 (set-buffer-file-coding-system): Use it. Prompt the user if the
10550 coding-system cannot encode all the chars.
10552 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10553 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10554 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10555 Don't use *vc-bzr-shelve*.
10557 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10559 Fix the version number for added files.
10560 * vc-hg.el (vc-hg-working-revision): Check if the file is
10561 registered after hg parent fails (Bug#5961).
10563 2010-04-19 Glenn Morris <rgm@gnu.org>
10565 * htmlfontify.el (htmlfontify-buffer)
10566 (htmlfontify-copy-and-link-dir): Autoload entry points.
10568 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10570 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10571 name relative to the project root (Bug#5960).
10573 2010-04-19 Glenn Morris <rgm@gnu.org>
10575 * vc-git.el (vc-git-print-log): Doc fix.
10577 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10579 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10581 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10583 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10584 default settings (Bug#5928).
10586 2010-04-19 Glenn Morris <rgm@gnu.org>
10588 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10590 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10592 2010-04-19 Kenichi Handa <handa@m17n.org>
10594 * language/indian.el (malayalam-composable-pattern): Fix previous
10595 change (add U+0D4D "SIGN VIRAMA").
10596 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10597 (tamil-composable-pattern): Fix typo in the regexp.
10598 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10599 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10600 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10602 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10604 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10605 paragraph-separate (Bug#5821).
10607 2010-04-19 Juri Linkov <juri@jurta.org>
10609 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10611 * info.el (Info-find-node-2): Comment out code that skips
10613 (Info-mouse-follow-link): New command.
10614 (Info-link-keymap): New keymap.
10615 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10616 Return a string with links instead of inserting breadcrumbs
10617 to the Info buffer.
10618 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10619 Instead of putting the `invisible' text property over the Info
10620 header, make an overlay over the Info header with the `invisible'
10621 property and `after-string' set to the string returned by
10622 `Info-breadcrumbs'.
10624 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10626 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10627 Reported by monkey@sandpframing.com.
10629 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10631 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10632 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10633 available in the "keyseq cache" any more.
10635 * custom.el (defcustom): Add edebug spec.
10637 2010-04-18 Juri Linkov <juri@jurta.org>
10639 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10641 * view.el (view-file, view-buffer): Move test for special mode-class
10642 from view-file to view-buffer.
10644 * tar-mode.el (tar-extract): Turn if's into one cond
10645 like in arc-mode.el.
10647 2010-04-18 Juri Linkov <juri@jurta.org>
10649 Add 7z archive format support (bug#5475).
10651 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10652 (archive-7z-extract): New defcustom.
10653 (archive-find-type): Add magic string for 7z.
10654 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10655 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10656 `buffer' arg of `call-process'.
10657 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10658 call the function `archive-7z-extract' with the variable
10659 `archive-7z-extract' let-bound to `archive-zip-extract'.
10660 (archive-7z-summarize, archive-7z-extract): New functions.
10662 * international/mule.el (auto-coding-alist):
10663 * files.el (auto-mode-alist): Add 7z file extension.
10665 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10667 * loadup.el: Setup hash-cons for pure data.
10669 Fix duplicate entries in cedet's loaddefs.el files.
10670 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10671 Should make most file-local generated-autoload-file unnecessary.
10672 (print-readably): Silence warnings.
10673 (autoload-find-destination): Take load-name as an arg to make sure
10674 it's the same as the one that will be in the file.
10675 (autoload-generate-file-autoloads): Adjust to above changes.
10676 Try to make the dataflow a bit simpler.
10678 * cvs-status.el (cvs-refontify): Remove unused.
10680 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10682 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10684 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10685 twos-complement mode.
10687 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10689 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10690 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10691 (calc-inverse): Add "Option" to message, as appropriate.
10692 (calc-hyperbolic): Add "Option" to message, as appropriate.
10693 (calc-option, calc-is-option): New functions.
10695 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10696 (calc-option-prefix-help): New function.
10698 * calc/calc-misc.el (calc-help): Add "Option" entry.
10700 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10701 (calc-option-flag): New variable.
10702 (calc-do): Set `calc-option-flag to nil.
10703 (calc-set-mode-line): Add "Opt " as appropriate.
10705 2010-04-16 Juri Linkov <juri@jurta.org>
10707 Move scrolling commands from simple.el to window.el
10708 because their primitives are implemented in window.c.
10710 * simple.el (scroll-error-top-bottom)
10711 (scroll-up-command, scroll-down-command, scroll-up-line)
10712 (scroll-down-line, scroll-other-window-down)
10713 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10714 * window.el (scroll-error-top-bottom)
10715 (scroll-up-command, scroll-down-command, scroll-up-line)
10716 (scroll-down-line, scroll-other-window-down)
10717 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10718 Move from simple.el to window.el because their primitives are
10719 implemented in window.c.
10721 2010-04-16 Juri Linkov <juri@jurta.org>
10723 * isearch.el (isearch-lookup-scroll-key): Check both
10724 `isearch-scroll' and `scroll-command' properties.
10725 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10727 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10729 * simple.el (scroll-up-command, scroll-down-command)
10730 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10732 2010-04-15 Juri Linkov <juri@jurta.org>
10734 * simple.el (scroll-up-command, scroll-down-command)
10735 (scroll-up-line, scroll-down-line): Put `scroll-command'
10736 property on the these symbols. Remove them from
10737 `scroll-preserve-screen-position-commands'.
10739 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10740 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10741 Remove it from `scroll-preserve-screen-position-commands'.
10743 * isearch.el (isearch-allow-scroll): Doc fix.
10745 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10747 * net/tramp.el (tramp-error-with-buffer): Don't show the
10748 connection buffer when we are in completion mode.
10749 (tramp-file-name-handler): Catch the error for some operations
10750 when we are in completion mode. This gives the user the chance to
10751 correct the file name in the minibuffer.
10753 2010-04-15 Glenn Morris <rgm@gnu.org>
10755 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10757 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10759 Simplify by using `define-derived-mode'.
10760 * info.el (Info-mode):
10761 * calendar/todo-mode.el (todo-mode):
10762 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10763 (gomoku-mode-map): Move initialization into declaration.
10765 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10768 * ido.el (ido-file-name-all-completions-1):
10769 * minibuffer.el (minibuffer-completion-help):
10770 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10772 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10774 * simple.el (non-essential): New var.
10776 Add a new field `location' to bookmarks for non-file bookmarks.
10777 * bookmark.el (bookmark-location): Use the new field, if present.
10778 (bookmark-insert-location): Undo last change, not needed any more.
10779 * man.el (Man-bookmark-make-record):
10780 * woman.el (woman-bookmark-make-record): Add `location' field.
10782 2010-04-14 Juri Linkov <juri@jurta.org>
10784 * simple.el (scroll-error-top-bottom): New defcustom.
10785 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10787 * emulation/pc-select.el (pc-select-override-scroll-error):
10788 Obsolete in favor of `scroll-error-top-bottom'.
10790 2010-04-14 Juri Linkov <juri@jurta.org>
10792 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10793 `scroll-up-command' and `M-v' to `scroll-down-command'.
10795 * emulation/cua-rect.el (cua--init-rectangles):
10796 * forms.el (forms--change-commands):
10797 * image-mode.el (image-mode-map):
10798 Remap scroll-down-command and scroll-up-command
10799 in addition to scroll-down and scroll-up.
10801 2010-04-14 Juri Linkov <juri@jurta.org>
10803 * mwheel.el (scroll-preserve-screen-position-commands):
10804 Add mwheel-scroll to this list of commands.
10806 * simple.el (scroll-preserve-screen-position-commands):
10807 Add scroll-up-command, scroll-down-command, scroll-up-line,
10808 scroll-down-line to this list of commands.
10810 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10812 * obsolete/complete.el: Move from lisp/complete.el.
10814 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10816 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10817 to the minor mode function now turns the mode ON unconditionally.
10819 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10821 * vc-dir.el (vc-dir-kill-line): New command.
10822 (vc-dir-mode-map): Bind it to C-k.
10824 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10826 * woman.el: Add bookmark declarations to silence the compiler.
10827 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10828 step to compatibility between man and woman bookmarks.
10829 Adjust for Man-default-bookmark-title renaming.
10830 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10832 * man.el: Add bookmark declarations to silence the compiler.
10833 (Man-name-local-regexp): Make it match NAME as well.
10834 (Man-getpage-in-background): Return the buffer.
10835 (Man-notify-when-ready): Use `case'.
10836 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10837 Don't hardcode "NAME". Simplify.
10838 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10839 Rename from Man-bookmark-make-record.
10840 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10841 we have the actual man-args. Use Man-getpage-in-background rather
10842 than `man' since the arg is already processed. Let bookmark.el do the
10843 window handling. Only wait for the relevant process.
10844 Don't forget to autoload.
10846 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10848 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10850 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10852 (woman-mode): Setup bookmark support.
10854 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10855 (man-bookmark-jump): New functions.
10856 (Man-mode): Setup bookmark support.
10858 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10860 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10861 recognize ssh-keygen prompt (Bug#2817).
10863 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10865 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10867 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10869 Synchronize with Tramp repository.
10871 * net/tramp.el (tramp-completion-function-alist)
10872 (tramp-file-name-regexp, tramp-chunksize)
10873 (tramp-local-coding-commands, tramp-remote-coding-commands):
10875 (tramp-remote-process-environment): Use `format' instead of `concat'.
10876 (tramp-handle-directory-files-and-attributes)
10877 (tramp-get-remote-path): Use `copy-tree'.
10878 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10879 compatibility: Use `completion-ignore-case' if
10880 `read-file-name-completion-ignore-case' does not exist.
10881 (tramp-do-copy-or-rename-file-directly): Do not use
10882 `tramp-handle-file-remote-p'.
10883 (tramp-do-copy-or-rename-file-out-of-band):
10884 Use `tramp-compat-delete-directory'.
10885 (tramp-do-copy-or-rename-file-out-of-band)
10886 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10887 Use `format-spec-make'.
10888 (tramp-find-foreign-file-name-handler)
10889 (tramp-advice-make-auto-save-file-name)
10890 (tramp-set-auto-save-file-modes): Remove superfluous check for
10891 `stringp'. This is done inside `tramp-tramp-file-p'.
10892 (tramp-debug-outline-regexp): New defconst.
10893 (tramp-get-debug-buffer): Use it.
10894 (tramp-check-for-regexp): Use (forward-line 1).
10895 (tramp-set-auto-save-file-modes): Adapt version check.
10897 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10898 Wrap call of `featurep' for 2nd argument.
10899 (tramp-compat-make-temp-file): Simplify fallback implementation.
10900 (tramp-compat-copy-tree): Remove function.
10901 (tramp-compat-delete-directory): Provide implementation for older
10904 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10905 Do not use `tramp-fish-handle-file-attributes.
10907 * net/trampver.el: Update release number.
10909 2010-04-10 Glenn Morris <rgm@gnu.org>
10911 * progmodes/compile.el (compilation-save-buffers-predicate):
10912 Add missing :version tag.
10914 2010-04-09 Sam Steingold <sds@gnu.org>
10916 * progmodes/compile.el (compilation-save-buffers-predicate):
10917 Remove the "autoload" cookie.
10919 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10920 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10921 and `bug-reference-prog-mode' can be used in hooks directly.
10923 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10925 Add --author support to git commit.
10926 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10927 (vc-git-log-edit-mode): New minor mode.
10928 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10931 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10933 * vc-hooks.el, vc-git.el: Improve documentation comments.
10935 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10937 Fix some of the problems in defsubst* (bug#5728).
10938 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10939 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10941 2010-04-07 Sam Steingold <sds@gnu.org>
10943 * progmodes/compile.el (compilation-save-buffers-predicate):
10944 New custom variable.
10945 (compile, recompile): Pass it to `save-some-buffers'.
10947 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10949 * wid-edit.el (widget-choose): Move cursor to the second line of
10950 the buffer (Bug#5695).
10952 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10954 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10955 * vc.el (vc-print-log-setup-buttons): New function split out from
10956 vc-print-log-internal.
10957 (vc-log-internal-common): New function, a parametrized version of
10958 vc-print-log-internal.
10959 (vc-print-log-internal): Just call vc-log-internal-common with the
10961 (vc-incoming-outgoing-internal):
10962 (vc-log-incoming, vc-log-outgoing): New functions.
10963 (vc-log-view-type): New permanent local variable.
10965 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10967 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10968 of the dynamic bound vc-short-log.
10969 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10971 * vc-git.el (vc-git-log-outgoing): New function.
10972 (vc-git-log-view-mode): Use vc-log-view-type instead
10973 of the dynamic bound vc-short-log.
10975 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10976 of the dynamic bound vc-short-log. Highlight the tag.
10977 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10978 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10979 (vc-hg-incoming-mode): Remove.
10980 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10982 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10984 Fix default-directory for vc-root-diff.
10985 * vc.el (vc-root-diff): Bind default-directory to the root
10986 directory for the diff command.
10988 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10990 * progmodes/verilog-mode.el (verilog-forward-sexp):
10991 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10992 word keywords, suggested by Steve Pearlmutter.
10993 (verilog-pretty-declarations): Support lineup of declarations in
10995 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10996 fix bug for /* / comments.
10997 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10998 Speed up and simplfy as this is never called with a bound.
10999 (verilog-pretty-declarations): Enhance to line up declarations
11000 inside a parameter list, suggested by Alan Morgan.
11001 (verilog-pretty-expr): Tune assignment regular expression match
11002 string for corner cases; also use markers instead of character
11003 number as indent changes the later.
11005 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11007 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11008 as missing keyword.
11009 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11010 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11011 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11012 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11014 (verilog-keywords):
11015 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11016 1800-2009 keywords, including "global.".
11018 2010-04-06 John Wiegley <jwiegley@gmail.com>
11020 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11021 appearing in buffer list (if a live buffer name matched a recentf
11022 file basename). Should use uniquify to offer a real solution.
11024 2010-04-06 John Wiegley <jwiegley@gmail.com>
11026 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11027 comment to code, and add a :version tag.
11028 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11030 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11032 Enable recentf-mode if using virtual buffers.
11033 * ido.el (recentf-list): Declare for byte-compiler.
11034 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11035 (ido-make-buffer-list): Simplify.
11036 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11038 2010-04-05 Juri Linkov <juri@jurta.org>
11040 Scrolling commands which scroll a line instead of full screen.
11041 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11043 * simple.el (scroll-up-line, scroll-down-line): New commands.
11044 Put property isearch-scroll=t on them.
11046 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11049 2010-04-05 Juri Linkov <juri@jurta.org>
11051 Scrolling commands which do not signal errors at top/bottom.
11052 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11054 * simple.el (scroll-up-command, scroll-down-command): New commands.
11055 Put property isearch-scroll=t on them.
11057 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11058 `scroll-down-command' and [next] from `scroll-up' to
11059 `scroll-up-command'.
11061 * emulation/cua-base.el: Put property CUA=move on
11062 `scroll-up-command' and `scroll-down-command'.
11063 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11064 and `scroll-down-command' to `cua-scroll-down'.
11066 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11068 * help.el (describe-mode): Return nil.
11070 2010-04-04 John Wiegley <jwiegley@gmail.com>
11072 * ido.el (ido-use-virtual-buffers): New variable to indicate
11073 whether "virtual buffer" support is enabled for IDO.
11074 (ido-virtual): Face used to indicate virtual buffers in the list.
11075 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11076 exists, but a virtual buffer of that name does (which would be why
11077 it was in the list), recreate the buffer by reopening the file.
11078 (ido-make-buffer-list): If virtual buffers are being used, call
11079 `ido-add-virtual-buffers-to-list' before the make list hook.
11080 (ido-virtual-buffers): New variable which contains a copy of the
11081 current contents of the `recentf-list', albeit pared down for the
11082 sake of speed, and with proper faces applied.
11083 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11084 create a list of "virtual buffers" to present to the user in
11085 addition to the currently open set. Note that this logic could
11086 get rather slow if that list is too large. With the default
11087 `recentf-max-saved-items' of 200, there is little speed penalty.
11089 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11091 * font-lock.el: Require CL when compiling.
11092 (font-lock-turn-on-thing-lock): Use `case'.
11094 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11096 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11099 2010-04-02 Juri Linkov <juri@jurta.org>
11101 * ehelp.el (electric-help-orig-major-mode):
11102 New buffer-local variable.
11103 (electric-help-mode): Set it to original major-mode. Doc fix.
11104 (with-electric-help): Use `electric-help-orig-major-mode' instead
11105 of (default-value 'major-mode). Doc fix.
11106 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11108 2010-04-02 Sam Steingold <sds@gnu.org>
11110 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11111 `vc-hg-command' with a list of flags.
11113 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11114 Also accept "patch" and "RFE".
11115 (bug-reference-fontify): `bug-reference-url-format' can also be a
11116 function to be able to handle the bug kind.
11117 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11119 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11121 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11122 value to fboundp, it may not be a symbol.
11124 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11126 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11128 2010-03-31 Juri Linkov <juri@jurta.org>
11130 * simple.el (next-line, previous-line): Re-throw a signal
11131 with `signal' instead of using `ding'.
11132 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11134 2010-03-31 Juri Linkov <juri@jurta.org>
11136 * simple.el (keyboard-escape-quit): Raise deselecting the active
11137 region higher than exiting the minibuffer.
11138 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11140 2010-03-31 Juri Linkov <juri@jurta.org>
11142 * image.el (image-animated-p): Use `image-metadata' instead of
11143 `image-extension-data'. Get GIF extenstion data from metadata
11144 property `extension-data'.
11146 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11148 * simple.el (append-to-buffer): Simplify.
11150 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11152 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11153 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11155 2010-03-31 Kenichi Handa <handa@m17n.org>
11157 * language/sinhala.el (composition-function-table): Fix regexp for
11158 the new Unicode specification.
11160 * language/indian.el (devanagari-composable-pattern)
11161 (tamil-composable-pattern, kannada-composable-pattern)
11162 (malayalam-composable-pattern): Adjust for the new Unicode
11164 (bengali-composable-pattern, gurmukhi-composable-pattern)
11165 (gujarati-composable-pattern, oriya-composable-pattern)
11166 (telugu-composable-pattern): New variables to cope with the new
11167 Unicode specification. Use them in composition-function-table.
11169 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11171 Make tmm-menubar work for the Buffers menu again (bug#5726).
11172 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11173 vectors rather than cons cells, as used in menu-bar-update-buffers.
11175 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11177 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11178 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11179 electric punctuation for "{}();,:" (Bug#5586).
11181 * mail/sendmail.el (mail-default-directory): Doc fix.
11183 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11185 * mail/sendmail.el (mail-default-directory): Doc fix.
11187 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11189 * subr.el (version-regexp-alist, version-to-list)
11190 (version-list-<, version-list-=, version-list-<=)
11191 (version-list-not-zero, version<, version<=, version=): Doc fix.
11194 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11196 * vc.el (vc-root-diff): Doc fix.
11198 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11200 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11202 * simple.el (append-to-buffer): Fix last change.
11204 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11206 * simple.el (append-to-buffer): Ensure that point is preserved if
11207 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11210 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11212 * files.el (auto-mode-case-fold): Change default to t.
11214 2010-03-30 Juri Linkov <juri@jurta.org>
11216 * dired-x.el (dired-omit-mode): Doc fix.
11218 2010-03-30 Juri Linkov <juri@jurta.org>
11220 * replace.el (occur-accumulate-lines): Move occur-engine related
11221 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11222 to be located after `occur-engine'.
11224 2010-03-30 Juri Linkov <juri@jurta.org>
11226 Make occur handle multi-line matches cleanly with context.
11227 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11229 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11230 (occur-engine): Add local variables `ret', `prev-after-lines',
11231 `prev-lines'. Use more arguments for `occur-context-lines'.
11232 Set first elem of its returned list to `data', and the second elem
11233 to `prev-after-lines'. Don't print the separator line.
11234 In the end, print remaining context after-lines.
11235 (occur-context-lines): Add new arguments `begpt', `endpt',
11236 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11237 after-lines of the previous match with before-lines of the
11238 current match and not overlap them. Return a list with two
11239 values: the output line and the list of context after-lines.
11241 2010-03-30 Juri Linkov <juri@jurta.org>
11243 * replace.el (occur-accumulate-lines): Fix a bug where the first
11244 context line at the beginning of the buffer was missing.
11246 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11248 * files.el: Make bidi-display-reordering safe variable for boolean
11251 2010-03-29 Phil Hagelberg <phil@evri.com>
11252 Chong Yidong <cyd@stupidchicken.com>
11254 * subr.el: Extend progress reporters to perform "spinning".
11255 (progress-reporter-update, progress-reporter-do-update):
11256 Handle non-numeric value arguments.
11257 (progress-reporter--pulse-characters): New var.
11259 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11261 * progmodes/compile.el (compilation-start): Fix regexp detection
11262 of initial cd command (Bug#5771).
11264 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11266 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11268 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11270 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11271 * progmodes/gdb-mi.el: Restore.
11272 * progmodes/gdb-ui.el: Remove.
11273 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11275 2010-03-25 Glenn Morris <rgm@gnu.org>
11277 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11278 all dired buffers, even tramp ones. (Bug#5755)
11280 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11282 Add "union tags" in mpc.el.
11283 * mpc.el: Remove backward compatibility code.
11284 (mpc-browser-tags): Change default.
11285 (mpc--find-memoize-union-tags): New var.
11286 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11287 (mpc-cmd-find): Handle the case where the playlist does not exist.
11289 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11290 (mpc-cmd-add): Use mpc-cmd-flush.
11291 (mpc-tagbrowser-tag-name): New fun.
11292 (mpc-tagbrowser-buf): Use it.
11293 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11295 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11298 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11299 Use replace-regexp-in-string.
11300 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11301 (makefile-imake-mode-syntax-table): Move init into defvar.
11302 (makefile-mode): Use define-derived-mode.
11304 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11305 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11306 not be present any more.
11308 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11310 * faces.el (set-face-attribute): Fix typo in docstring.
11311 (face-valid-attribute-values): Reflow docstring.
11313 2010-03-24 Glenn Morris <rgm@gnu.org>
11315 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11317 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11319 * indent.el (indent-for-tab-command): Doc fix.
11321 2010-03-24 Alan Mackenzie <acm@muc.de>
11323 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11324 Fix off-by-one error. Fixes bug #5747.
11326 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11328 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11329 (image-dired-read-comment): Doc fix.
11331 * json.el (json-object-type, json-array-type, json-key-type)
11332 (json-false, json-null, json-read-number):
11333 * minibuffer.el (completion-in-region-functions):
11334 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11335 (cal-tex-cursor-week):
11336 * emacs-lisp/trace.el (trace-function):
11337 * eshell/em-basic.el (eshell/printnl):
11338 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11339 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11340 * obsolete/levents.el (allocate-event, event-key, event-object)
11341 (event-point, event-process, event-timestamp, event-to-character)
11342 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11343 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11344 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11345 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11346 (reftex-highlight-selection): Fix typos in docstrings.
11348 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11350 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11352 2010-03-24 Glenn Morris <rgm@gnu.org>
11354 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11355 2008-02-13 without comment; mark it obsolete.
11356 (rmail-highlight-headers): Use rmail-highlight-face once more.
11358 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11360 * woman.el (woman2-process-escapes): Only consume the newline if
11361 the filler character is on a line by itself (Bug#5729).
11363 2010-03-24 Kenichi Handa <handa@m17n.org>
11365 * language/indian.el (devanagari-composable-pattern): Add more
11368 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11370 * net/trampver.el: Update release number.
11372 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11374 * net/tramp.el (tramp-find-executable):
11375 Use `tramp-get-connection-buffer'. Make the regexp for checking
11376 output of "wc -l" more robust.
11377 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11378 (tramp-open-connection-setup-interactive-shell): Remove workaround
11379 for OpenSolaris bug, it is not needed anymore.
11381 2010-03-24 Glenn Morris <rgm@gnu.org>
11383 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11385 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11387 * files.el (auto-mode-alist): Accept more verilog file patterns.
11389 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11391 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11393 2010-03-24 Glenn Morris <rgm@gnu.org>
11395 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11396 log-edit-before-checkin-process.
11398 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11400 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11402 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11403 (log-view-process-buffer, log-edit-extra-flags): Declare.
11405 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11407 2010-03-23 Sam Steingold <sds@gnu.org>
11409 Fix bug#5620: recalculate all markers on compilation buffer
11410 modifications, not on file modifications.
11411 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11412 variable: the buffer modification time, for buffers not associated with
11414 (compilation-mode): Create it.
11415 (compilation-filter): Update it.
11416 (compilation-next-error-function): Use it instead of
11417 `visited-file-modtime' for timestamp.
11419 2010-03-23 Juri Linkov <juri@jurta.org>
11421 Implement Occur multi-line matches.
11422 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11424 * replace.el (occur): Doc fix.
11425 (occur-engine): Set `begpt' to the beginning of the first line.
11426 Set `endpt' to the end of the last match line. At first, count
11427 line numbers between `origpt' and `begpt'. Split out code from
11428 `out-line' variable to new let-bindings `match-prefix' and
11429 `match-str'. In `out-line' add non-numeric prefix to all
11430 non-first lines of multi-line matches. Finally, count lines
11431 between `begpt' and `endpt' and add to `lines'.
11433 2010-03-23 Juri Linkov <juri@jurta.org>
11435 * replace.el (occur-accumulate-lines, occur-engine):
11436 Use `occur-engine-line' instead of duplicate code.
11437 (occur-engine-line): New function created from duplicate code
11438 in `occur-accumulate-lines' and `occur-engine'.
11440 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11441 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11443 2010-03-23 Juri Linkov <juri@jurta.org>
11445 * finder.el: Remove TODO tasks.
11447 * info.el (Info-finder-find-node): Add node "all"
11448 with all package info. Handle a list of multiple keywords
11449 separated by comma.
11450 (info-finder): In interactive use with a prefix argument,
11451 use `completing-read-multiple' to read a list of keywords
11452 separated by comma.
11454 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11456 Add a new completion style `substring'.
11457 * minibuffer.el (completion-basic--pattern): New function.
11458 (completion-basic-try-completion, completion-basic-all-completions):
11460 (completion-substring--all-completions)
11461 (completion-substring-try-completion)
11462 (completion-substring-all-completions): New functions.
11463 (completion-styles-alist): New style `substring'.
11465 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11467 Get rid of .elc files after removal of the corresponding .el.
11468 * Makefile.in (compile-clean): New target.
11469 (compile-main): Use it.
11471 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11473 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11474 don't do make there. When compiling with separate object dir, there
11475 is no Makefile there.
11477 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11479 Get rid of the ELCFILES abomination, again.
11480 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11481 (all, compile): Don't call compile-last.
11482 (compile-main): Build the "elcfiles" list dynamically.
11483 (compile-targets): New (internal) target.
11485 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11487 * Makefile.in (top_srcdir): Define.
11488 (abs_top_builddir): Define.
11489 (srcdir): Don't append `/..'.
11490 (EMACS): Use ${abs_top_builddir}.
11491 (all, compile, compile-always, compile-last): Don't set emacswd.
11492 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11494 (lisp): Use $(srcdir) instead of @srcdir@.
11496 2010-03-21 Juri Linkov <juri@jurta.org>
11498 Fix message of multi-line occur regexps and multi-buffer header lines.
11499 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11501 * replace.el (occur-1): Don't display regexp if it is longer
11502 than window-width. Use `query-replace-descr' to display regexp.
11503 (occur-engine): Don't display regexp in the buffer header for
11504 multi-buffer occur. Display a separate header line with total
11505 match count and regexp for multi-buffer occur.
11506 Use `query-replace-descr' to display regexp.
11508 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11510 * net/secrets.el: Fix parenthesis.
11511 (secrets-enabled): Fix parenthesis.
11513 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11515 Use more relative file and directory names.
11516 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11517 (setwins, setwins_almost, setwins_for_subdirs):
11518 Don't `cd'; output relative names.
11519 (all, compile, compile-always, compile-last): Set emacswd.
11520 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11521 Just cd to the lisp source dir so we can use relative file names.
11523 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11525 2010-03-20 Glenn Morris <rgm@gnu.org>
11527 * textmodes/rst.el: Use faces for font-lock customization, and make the
11528 old -face variables obsolete.
11529 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11530 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11531 (rst-block-face, rst-external-face, rst-definition-face)
11532 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11533 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11535 (rst-font-lock-keywords-function): Update for above changes.
11537 2010-03-20 Juri Linkov <juri@jurta.org>
11540 * obsolete/s-region.el: Move to obsolete.
11542 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11544 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11546 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11548 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11550 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11552 Add special markup processing for commit logs.
11553 * log-edit.el (log-edit-extra-flags): New variable.
11554 (log-edit): Add new argument MODE. Use that mode when non-nil
11555 instead of the log-view-mode.
11556 (log-view-process-buffer): New function.
11558 * vc.el: Document that the checkin method takes optional
11559 arguments. Document new backend specific method: log-view-mode.
11560 (vc-default-log-edit-mode): New function.
11561 (vc-checkin): Use a backend specific log-view-mode.
11562 Pass extra arguments to the checkin method.
11563 (vc-modify-change-comment): Pass a dummy extra argument.
11565 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11567 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11568 (vc-finish-logentry): Process the log buffer before passing it
11569 down. Pass log-edit-extra-flags.
11571 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11573 (log-edit-extra-flags, log-edit-before-checkin-process):
11576 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11578 (log-edit-extra-flags, log-edit-before-checkin-process):
11580 (vc-hg-log-edit-mode): New derived mode.
11582 * vc-arch.el (vc-arch-checkin):
11583 * vc-cvs.el (vc-cvs-checkin):
11584 * vc-git.el (vc-git-checkin):
11585 * vc-mtn.el (vc-mtn-checkin):
11586 * vc-rcs.el (vc-rcs-checkin):
11587 * vc-sccs.el (vc-sccs-checkin):
11588 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11590 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11592 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11595 2010-03-19 Glenn Morris <rgm@gnu.org>
11597 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11599 2010-03-18 Glenn Morris <rgm@gnu.org>
11601 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11603 * replace.el (query-replace-history): Give it a doc string.
11604 (map-query-replace-regexp): Use query-replace-from-history-variable
11605 and query-replace-to-history-variable.
11607 * mail/hashcash.el (declare-function): Remove duplicate definition.
11609 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11610 Make it an obsolete alias for report-emacs-bug-address.
11611 (message-strip-special-text-properties): Declare.
11612 (report-emacs-bug): Remove test for a pretest bug address.
11613 Combine message-mode-specific code.
11615 * mail/supercite.el: Don't require sendmail.
11616 (mh-in-header-p): Declare rather than using with-no-warnings.
11617 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11618 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11620 * calendar/cal-french.el: Convert to utf-8.
11622 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11625 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11627 * net/secrets.el (secrets-enabled): New variable. Use it instead
11630 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11632 * net/secrets.el (top): Register the D-Bus signals only when the
11633 service "org.freedesktop.secrets" can be pinged.
11634 Provide subfeature `enabled'.
11636 2010-03-14 Juri Linkov <juri@jurta.org>
11638 Add finder unknown keywords.
11640 * finder.el (finder-unknown-keywords): New function.
11642 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11643 to create a Finder node with unknown keywords.
11645 2010-03-14 Juri Linkov <juri@jurta.org>
11647 * finder.el (finder-compile-keywords): Replace `princ' with
11648 `prin1' on a list of symbols interned from keyword strings.
11650 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11651 a comma, then split keywords using a comma and optional whitespace.
11652 Otherwise, split by whitespace.
11660 * progmodes/mixal-mode.el: Fix keywords.
11662 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11664 * Makefile.in (ELCFILES): Add net/secrets.elc.
11666 * net/secrets.el: New file.
11668 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11670 * facemenu.el (list-colors-display, list-colors-print): New arg
11671 callback. Use it to allow selecting colors.
11673 * wid-edit.el (widget-image-insert): Insert image prop even if the
11674 current display is non-graphic.
11675 (widget-field-value-set): New fun.
11676 (editable-field): Use it.
11677 (widget-field-value-get): Clean up unused var.
11678 (widget-color-value-create, widget-color--choose-action):
11679 New funs. Allow using list-colors-display to choose color.
11681 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11683 * cus-edit.el: Resort topmost custom groups.
11684 (custom-buffer-sort-alphabetically): Default to t.
11685 (customize-apropos): Use apropos-parse-pattern.
11686 (custom-search-field): New var.
11687 (custom-buffer-create-internal): Add custom-apropos search field.
11688 (custom-add-parent-links): Don't display parent doc.
11689 (custom-group-value-create): Don't sort top-level custom group.
11690 (custom-magic-value-create): Show visibility button before option name.
11692 (custom-variable-state): New fun, from custom-variable-state-set.
11693 (custom-variable-state-set): Use it.
11694 (custom-group-value-create): Hide options with standard values
11695 using the :hidden-states property. Use progress reporter.
11697 (custom-show): Simplify.
11698 (custom-visibility): Disable images by default.
11699 (custom-variable): New property :hidden-states.
11700 (custom-variable-value-create): Enable images for
11701 custom-visibility widgets. Use :hidden-states property to
11702 determine initial visibility.
11704 * wid-edit.el (widget-image-find): Give images center ascent.
11705 (visibility): Add :on-image and :off-image properties.
11706 (widget-visibility-value-create): Use them.
11708 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11710 * cus-edit.el (processes): Remove from development group.
11711 (oop, hypermedia): Delete group.
11712 (comm): Promote to top-level group.
11714 * net/browse-url.el (browse-url):
11715 * net/xesam.el (xesam):
11716 * net/tramp.el (tramp):
11717 * net/goto-addr.el (goto-address):
11718 * net/ange-ftp.el (ange-ftp): Put in comm group.
11720 * view.el (view): Remove from editing group.
11722 * uniquify.el (uniquify): Put in files group.
11724 * net/browse-url.el (browse-url):
11725 * ps-print.el (postscript): Put in external group.
11727 * cus-edit.el (outlines):
11728 * textmodes/text-mode.el (text-mode-hook):
11729 * textmodes/table.el (table):
11730 * textmodes/picture.el (picture):
11731 * outline.el (outlines): Put in wp group.
11733 * nxml/nxml-mode.el (nxml): Remove from wp group.
11735 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11737 * mail/metamail.el (metamail): Remove from hypermedia group.
11739 * cus-edit.el (abbrev):
11740 * whitespace.el (whitespace):
11741 * vcursor.el (vcursor):
11742 * reveal.el (reveal):
11743 * hl-line.el (hl-line): Put in convenience group.
11745 * epg-config.el (epg): Put in data group.
11747 * emulation/pc-select.el (pc-select): Put in emulations group.
11749 * calculator.el (calculator): Put in applications group.
11751 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11753 Add .dir-locals.el support for file-less buffers.
11754 * files.el (hack-local-variables): Split out code to apply local
11755 variable settings ...
11756 (hack-local-variables-apply): ... here. New function.
11757 (hack-dir-local-variables): Use the default directory for when the
11758 buffer does not have an associated file.
11759 (hack-dir-local-variables-non-file-buffer): New function.
11760 * diff-mode.el (diff-mode):
11761 * vc-annotate.el (vc-annotate-mode):
11762 * vc-dir.el (vc-dir-mode):
11763 * log-edit.el (log-edit-mode):
11764 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11766 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11768 Add support for shelving snapshots and for showing shelves.
11769 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11770 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11772 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11773 (vc-bzr-extra-menu-map): Map them.
11775 2010-03-11 Glenn Morris <rgm@gnu.org>
11777 * cus-edit.el (customize-changed-options-previous-release):
11780 * image.el (image-animate-max-time): Fix :version tag.
11782 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11786 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11788 * vc-git.el (vc-git-revision-table): Include remote branches.
11790 2010-03-10 Kim F. Storm <storm@cua.dk>
11792 Animated image API.
11793 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11795 * image.el (image-animate-max-time): New defcustom.
11796 (image-animated-types): New defconst.
11797 (create-animated-image, image-animate-timer)
11798 (image-animate-start, image-animate-stop, image-animate-timeout)
11799 (image-animated-p): New functions.
11801 * image-mode.el (image-toggle-display-image):
11802 Replace `create-image' with `create-animated-image'.
11804 2010-03-09 Miles Bader <miles@gnu.org>
11806 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11807 instead of "format:"; this ensures that the output is
11808 newline-terminated.
11810 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11812 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11813 that all errors are caught, and that the return value is always a
11816 2010-03-08 Kenichi Handa <handa@m17n.org>
11818 * language/misc-lang.el (windows-1256): New coding system.
11819 (cp1256): New alias of windows-1256 (bug#5690).
11821 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11823 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11824 call to rfc822-bad-address. (Bug#5692)
11826 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11828 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11829 Use vc-git-root as default directory for revision path (Bug#5657).
11831 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11833 * calculator.el (calculator): Don't bind split-window-keep-point
11836 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11838 * vc-git.el: Re-flow to fit into 80 columns.
11839 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11840 Remove spurious `quote' element in each case alternative.
11841 (vc-git-show-log-entry): Use prog1.
11842 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11844 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11846 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11848 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11850 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11851 definition, not the name (Bug#5481).
11853 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11855 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11856 argument with a local variable. (Bug#5670)
11858 2010-03-02 Juri Linkov <juri@jurta.org>
11860 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11862 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11864 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11865 error when FILENAME and NEWNAME are existing remote directories.
11867 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11868 parameter DIR-FLAG.
11870 2010-03-02 Glenn Morris <rgm@gnu.org>
11872 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11873 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11875 2010-03-01 Kenichi Handa <handa@m17n.org>
11877 * language/burmese.el (burmese-composable-pattern): Rename from
11878 myanmar-composable-pattern.
11880 * international/characters.el (script-list):
11881 * international/fontset.el (script-representative-chars):
11882 Change myanmar to burmese.
11883 (otf-script-alist): Likewise.
11884 (setup-default-fontset): Likewise. Re-fix :otf spec.
11886 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11888 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11890 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11892 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11894 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11896 * net/tramp.el (tramp-handle-write-region): START can be a string.
11897 Take care in the checks. Reported by Dan Davison
11898 <davison@stats.ox.ac.uk>.
11900 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11902 * net/dbus.el (dbus-introspect, dbus-get-property)
11903 (dbus-set-property, dbus-get-all-properties):
11904 Use `dbus-call-method' when noninteractive. (Bug#5645)
11906 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11908 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11909 * emacs-lisp/elint.el (elint-add-required-env):
11910 * calendar/icalendar.el (icalendar--add-diary-entry):
11911 * calc/calcalg2.el (math-tracing-integral):
11912 * files.el (recover-session-finish): Use with-current-buffer
11913 instead of save-excursion.
11915 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11917 Fix in-buffer completion when after-change-functions modify the buffer.
11918 * minibuffer.el (completion--replace): New function.
11919 (completion--do-completion): Use it and use relative movement.
11921 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11923 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11925 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11927 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11928 Allow the characters _<> in the stack entry (Bug#5653).
11930 2010-02-26 Kenichi Handa <handa@m17n.org>
11932 * language/burmese.el: Fix entries in composition-function-table.
11933 (myanmar-composable-pattern): New variable.
11935 * international/fontset.el (setup-default-fontset): Add an entry
11938 * international/characters.el (script-list): Add Myanmar
11941 2010-02-26 Glenn Morris <rgm@gnu.org>
11943 * custom.el (custom-initialize-delay): Doc fix.
11945 * mail/sendmail.el (send-mail-function): Autoload the call
11946 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11948 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11950 * files.el (hack-local-variables-filter): For eval forms, also
11951 check safe-local-variable-p (Bug#5636).
11953 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11955 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11956 setting the modes by `ignore-errors'. It might fail, for example
11957 if the file is not owned by the user but the group.
11958 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11960 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11962 * files.el (directory-listing-before-filename-regexp):
11963 Use stricter matching for iso-style dates, to avoid false matches with
11964 date-like filenames (Bug#5597).
11966 * htmlfontify.el (htmlfontify): Doc fix.
11968 * eshell/eshell.el (eshell): Doc fix.
11970 * startup.el (fancy-about-screen): In mode-line, apply
11971 mode-line-buffer-id face only to the buffer name (Bug#5613).
11973 2010-02-20 Kevin Ryde <user42@zip.com.au>
11975 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11976 In `watcom' anchor regexp to start of line, to avoid slowness
11979 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11981 * subr.el (remove-yank-excluded-properties): Explain in a comment
11982 why `category' property is removed.
11984 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11986 * isearch.el (isearch-update-post-hook, isearch-update):
11987 Revert 2010-02-17 change.
11989 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11991 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11992 (icalendar--convert-weekly-to-ical)
11993 (icalendar--convert-yearly-to-ical)
11994 (icalendar--convert-block-to-ical)
11995 (icalendar--convert-cyclic-to-ical)
11996 (icalendar--convert-anniversary-to-ical): Take care of time
11997 specifications where hour has 1-digit only (Bug#5549).
11999 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12001 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12002 of disassemble output in GDB 7.1.
12004 2010-02-19 Glenn Morris <rgm@gnu.org>
12006 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12007 property. (Bug#5593)
12009 2010-02-18 Sam Steingold <sds@gnu.org>
12011 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12013 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12015 Use abbreviated file names in bookmarks (bug#5591).
12016 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12017 calls to expand-file-name.
12018 (bookmark-relocate): Use abbreviated file names in bookmarks.
12019 (bookmark-load): Use abbreviated file names in messages.
12021 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12023 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12024 expand "." and "..". Reported by Thierry Volpiatto
12025 <thierry.volpiatto@gmail.com>.
12027 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12029 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12030 permissions of the temporary file to "0600". In case the remote
12031 file has no read permissions for the owner, there might be
12032 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12034 22010-02-18 Glenn Morris <rgm@gnu.org>
12036 * emacs-lisp/authors.el (authors-renamed-files-alist):
12037 Add entries for INSTALL.CVS.
12039 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12041 * vc-bzr.el: Fix typo in Known Bugs section.
12043 * isearch.el (isearch-update-post-hook): New hook.
12044 (isearch-update): Use the new hook.
12046 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12048 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12049 Fix errors in copying directories.
12050 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12051 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12052 (tramp-handle-delete-file)
12053 (tramp-handle-dired-recursive-delete-directory)
12054 (tramp-handle-write-region): Flush also the cache for the upper
12057 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12059 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12061 * cus-edit.el (hardware): Doc fix.
12063 * man.el (man): Add to external custom group.
12065 * delim-col.el (columns): Move to wp custom group.
12067 * doc-view.el (doc-view): Add to data custom group.
12069 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12071 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12072 by ispell-parse-output (Bug#5575).
12074 2010-02-16 Kenichi Handa <handa@m17n.org>
12076 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12077 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12078 (skkdic-convert): Use `euc-japan' coding system for writing.
12080 2010-02-16 Glenn Morris <rgm@gnu.org>
12082 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12083 tex-main-file before using it. (Bug#5562)
12085 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12087 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12088 warnings, since it is annoying for the user to see them each time he
12091 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12093 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12094 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12095 instead of PROC for caching "first-password-request". Otherwise,
12096 new processes would not profit from passwords already entered.
12098 * net/tramp-cache.el (tramp-dump-connection-properties):
12099 Don't save "first-password-request" property.
12101 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12103 * outline.el (outline-head-from-level):
12104 * simple.el (with-wrapper-hook):
12105 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12106 (elint-defun, elint-buffer-env, elint-top-form-logged)
12107 (elint-unbound-variable):
12108 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12109 Fix typos in docstrings.
12111 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12113 * files.el (insert-directory): When WILDCARD-REGEXP and
12114 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12115 whole directory. (Bug#5551)
12117 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12118 dired's alignment sanity. (Bug#5516)
12120 2010-02-14 Juri Linkov <juri@jurta.org>
12122 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12123 Remove remaining ^H with their preceding chars. (Bug#5566)
12125 2010-02-13 Glenn Morris <rgm@gnu.org>
12127 * simple.el (transpose-subr): Give it a doc-string.
12129 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12132 2010-02-12 Juri Linkov <juri@jurta.org>
12134 * arc-mode.el (archive-unique-fname): Make directories for nested
12135 archives. (Bug#5540)
12137 2010-02-12 Juri Linkov <juri@jurta.org>
12139 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12141 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12143 * subr.el (copy-overlay): Handle deleted overlays.
12145 * man.el (Man-completion-table): Don't signal an error if we can't run
12146 manual-program (bug#4056).
12148 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12150 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12152 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12154 * info.el (Info-bookmark-jump): Simplify.
12156 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12157 (bookmark-default-handler): Accept new bookmark field `buffer'.
12159 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12161 * iswitchb.el (iswitchb-completions): Revert last change.
12163 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12165 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12166 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12167 This prevents file names like "~/" being listed literally.
12169 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12171 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12172 Remove dead code. (Bug#5546)
12174 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12176 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12177 correctly (Bug#5548).
12179 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12181 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12182 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12184 2010-02-08 Kenichi Handa <handa@m17n.org>
12186 * international/mule-util.el (with-coding-priority): Add autoload
12187 cookie for putting `lisp-indent-function'.
12189 2010-02-07 Glenn Morris <rgm@gnu.org>
12191 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12192 Move F2003 named interfaces from keywords-2 to keywords-1, and
12193 use function-name-face rather than constant-face.
12194 Simplify "abstract interface" regexp.
12196 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12198 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12199 ID-FORMAT. Pass it to `file-attributes'.
12201 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12203 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12205 * faces.el (set-face-attribute): Allow calling
12206 internal-set-lisp-face-attribute with 'unspecified family and
12207 foundry argument (Bug#5536).
12209 2010-02-07 Glenn Morris <rgm@gnu.org>
12211 * progmodes/f90.el (f90-font-lock-keywords-2)
12212 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12213 Handle F2003 named interfaces.
12215 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12217 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12218 beg and end before calling c-get-state-before-change-functions.
12220 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12222 * vc-bzr.el (vc-bzr-dir-extra-headers):
12223 Disable the pending merges header.
12225 2010-02-05 Juri Linkov <juri@jurta.org>
12227 * doc-view.el (doc-view-mode):
12228 * image-mode.el (image-mode): Put property mode-class=special.
12231 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12233 * vc-svn.el (vc-svn-revision-table): New function.
12235 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12237 * net/ange-ftp.el (ange-ftp-insert-directory):
12238 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12239 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12240 Handle also directories. (Bug#5478)
12242 2010-02-05 Glenn Morris <rgm@gnu.org>
12244 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12246 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12248 * startup.el (command-line-1): Convert options beginning with a
12249 single dash as well (Bug#5519).
12251 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12253 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12254 * minibuffer.el (completion-initials-expand): Only check the presence
12255 of delims *within* the boundaries, since otherwise the / delim is
12256 always found for files.
12258 Fix up various corner case problems.
12259 * doc-view.el (doc-view-last-page-number): New function.
12260 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12261 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12262 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12263 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12264 (doc-view-convert-current-doc): Don't create the resolution.el file
12266 (doc-view-pdf/ps->png): Do it here instead.
12267 (doc-view-already-converted-p): Check that resolution.el is present.
12268 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12269 windows that are not yet showing images.
12271 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12273 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12274 `dired-uncache' for every elemnt which is an absolute file name.
12276 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12277 directory, handle its directory component.
12278 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12279 function is called permanently and creates noise, otherwise.
12281 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12282 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12283 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12285 2010-02-04 David Burger <dburger@google.com> (tiny change)
12287 * macros.el (apply-macro-to-region-lines):
12288 Minor simplification. (Bug#5485)
12290 2010-02-04 Glenn Morris <rgm@gnu.org>
12292 * mail/rmail.el (rmail-show-message-1): Handle malformed
12293 quoted-printable text. (Bug#5441)
12295 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12297 * simple.el (visual-line-mode): Capitalize lighter.
12299 2010-02-03 John Wiegley <jwiegley@gmail.com>
12301 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12302 list of files considered for "virtual buffer" completions.
12304 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12306 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12307 also in case of (and (not full) (not wildcard)). This is needed
12308 when dired is called with a list of files, which are not in
12309 `default-directory'. (Bug#5478)
12311 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12313 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12315 2010-02-02 Juri Linkov <juri@jurta.org>
12317 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12318 from unidiff to allow function-line after @@.
12320 2010-02-02 Juri Linkov <juri@jurta.org>
12322 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12323 '(RCS SCCS) with inverted condition.
12325 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12327 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12330 2010-02-01 Juri Linkov <juri@jurta.org>
12332 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12333 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12334 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12335 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12337 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12339 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12340 (doc-view-revert-buffer): New command.
12341 (doc-view-mode-map): Use it.
12343 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12345 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12346 pending merge is detected.
12348 2010-01-31 Juri Linkov <juri@jurta.org>
12350 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12351 beginning of interactive spec like all other grep commands do.
12352 Put "all" in front of "gz". (Bug#5260)
12354 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12356 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12358 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12360 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12361 regexp is incorrect (Bug#5476).
12363 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12365 * net/tramp.el (tramp-handle-insert-directory): Handle also
12366 symlinks, when FILENAME is not in `default-directory'.
12368 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12370 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12371 FILE is not in `default-directory'. (Bug#5478)
12373 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12374 of SWITCHES. Handle the case, FILENAME is not in
12375 `default-directory'. (Bug#5478)
12376 (tramp-register-file-name-handlers): Add safe-magic property.
12378 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12380 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12383 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12385 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12386 (flymake-master-make-header-init): Add other C++ filename masks.
12387 (flymake-find-possible-master-files)
12388 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12390 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12392 Fix some busybox annoyances.
12394 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12395 not responding." string.
12396 (tramp-open-connection-setup-interactive-shell): Dump stty
12397 settings. Enable "neveropen" arg for all `tramp-send-command'
12398 calls. Handle "=" in variable values properly.
12399 (tramp-find-inline-encoding): Raise an error, when no encoding is
12401 (tramp-wait-for-output): Check, whether PROC buffer is available.
12402 Remove spurious " ^H" sequences, sent by busybox.
12403 (tramp-get-ls-command): Suppress coloring, if possible.
12405 2010-01-28 Glenn Morris <rgm@gnu.org>
12407 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12409 * log-edit.el (log-edit-strip-single-file-name): Add missing
12410 :safe, :group, and :version tags.
12412 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12414 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12415 buffers. (Bug#5477)
12417 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12419 * files.el (delete-directory): Handle moving to trash without
12420 first doing recursion (Bug#5436).
12422 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12424 * vc-hooks.el (vc-path): Mark as obsolete.
12426 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12428 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12431 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12433 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12435 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12437 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12439 * vc-bzr.el (vc-bzr-revision-table): New function.
12441 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12443 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12444 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12446 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12448 Remove support for adding --signoff on commit.
12449 Future support will use an incompatible generic mechanism.
12450 * vc-git.el (vc-git-add-signoff): Remove variable.
12451 (vc-git-toggle-signoff): Remove function.
12452 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12454 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12455 Rename from xterm-set-background-mode. Return t if the background mode
12457 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12458 earlier, call it again in case the background mode has changed.
12460 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12462 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12465 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12467 * emacs-lisp/assoc.el (aelement): Doc fix.
12468 (aput, adelete, amake): Use lexical-let (Bug#5450).
12470 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12472 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12473 is the same as subprogram call, not declaration. (Bug#5435).
12475 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12477 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12478 (tramp-smb-maybe-open-connection): Use it.
12480 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12482 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12484 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12486 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12487 just because we see "encoding: 8bit".
12488 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12490 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12492 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12494 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12496 * jka-compr.el (jka-compr-load): If load-file is not in
12497 load-history, try its file-truename version. (bug#5447)
12499 2010-01-21 Alan Mackenzie <acm@muc.de>
12501 Fix a situation where deletion of a cpp construct throws an error.
12502 * progmodes/cc-engine.el (c-invalidate-state-cache):
12503 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12504 special cpp construct is still in the buffer.
12505 (c-parse-state): Record the special cpp with markers, not numbers.
12507 2010-01-21 Kenichi Handa <handa@m17n.org>
12509 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12510 process last-command-event, as it is now decoded first (Bug#5380).
12512 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12514 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12516 2010-01-20 Glenn Morris <rgm@gnu.org>
12518 * indent.el (tab-always-indent): Fix custom-type.
12520 2010-01-19 Alan Mackenzie <acm@muc.de>
12522 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12523 buffer throws "args out of range".
12524 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12525 playing the role of delimiter.
12527 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12529 * progmodes/ada-mode.el: Fix bug#5400.
12530 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12531 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12532 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12533 Improve comments in "is" portion. Handle null procedure declaration.
12534 (ada-move-to-end): Improve doc string.
12536 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12538 * ido.el (ido-cur-list): Initialize to nil.
12539 Remove obsolete information from commentary.
12540 (ido-choice-list): Initialize to nil.
12541 (ido-get-bufname): Reject minibuffers.
12542 (ido-make-buffer-list): If "default" is a nonexistent
12543 buffer, ignore it, as per the function's comment.
12544 (ido-kill-buffer-internal): New function.
12545 (ido-kill-buffer-at-head): Use it.
12546 (ido-visit-buffer): Likewise.
12548 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12550 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12552 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12554 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12555 Fix typos in chart titles.
12557 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12558 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12559 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12560 (describe-class, eieio-describe-generic, describe-generic):
12561 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12562 (eieio-speedbar-expand):
12563 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12564 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12565 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12566 (viper-del-backward-char-in-replace, viper-backward-indent)
12567 (viper-brac-function, viper-register-to-point, viper-submit-report):
12568 * net/tramp.el (tramp-remote-coding-commands):
12569 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12570 Fix typos in docstrings.
12572 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12574 * mail/sendmail.el (mail-yank-original): Set the mark if the
12575 specified function for yanking does not do it.
12577 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12579 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12581 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12582 resyncing a directory.
12584 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12586 * progmodes/ada-mode.el: Fix bug#1920.
12587 (ada-ident-re): Delete ., allow multibyte characters.
12588 (ada-goto-label-re): New; matches goto labels.
12589 (ada-block-label-re): New; matches block labels.
12590 (ada-label-re): New; matches both.
12591 (ada-named-block-re): Deleted; callers changed to use
12592 `ada-block-label-re' instead.
12593 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12594 Use `ada-block-label-re'.
12595 (ada-indent-on-previous-lines): Improve handling of goto labels.
12596 (ada-get-indent-block-start): Special-case block label.
12597 (ada-get-indent-label): Split into `ada-indent-block-label' and
12598 `ada-indent-goto-label'.
12599 (ada-goto-stmt-start, ada-goto-next-non-ws):
12600 Optionally ignore goto labels.
12601 (ada-goto-next-word): Simplify.
12602 (ada-indent-newline-indent-conditional): Insert newline before
12603 trying to fix indentation; doc fix.
12605 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12607 * calc/calc.el (calc-command-flags): Give it an initial value.
12609 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12611 * files.el (minibuffer-with-setup-hook):
12612 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12613 (artist-key-draw-continously, artist-key-do-continously-continously)
12614 (artist-key-set-point-continously, artist-mouse-draw-continously):
12615 Fix typos in docstrings.
12617 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12619 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12620 Never return t (Bug#3898).
12622 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12624 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12625 can parse the output of the external commands (Bug#5279).
12627 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12629 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12631 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12633 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12635 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12637 * startup.el (command-line): Remove unused --icon-type arg.
12638 Handle --display arg, passing it to command-line-1 (Bug#5392).
12640 2010-01-16 Mario Lang <mlang@delysid.org>
12642 * emacs-lisp/chart.el (chart-translate-namezone):
12643 * textmodes/artist.el (artist-compute-popup-menu-table):
12644 Remove duplicated words in doc-strings.
12646 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12648 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12649 to mairix-search to suppress threading (Bug#5342).
12651 2010-01-15 Kenichi Handa <handa@m17n.org>
12653 * international/mule-cmds.el (canonicalize-coding-system-name):
12654 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12656 2010-01-15 Glenn Morris <rgm@gnu.org>
12658 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12660 * wid-edit.el (widget-keymap): Doc fix.
12662 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12663 former seems to be more widely accepted by various svn versions.
12665 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12667 * find-cmd.el (find-constituents):
12668 * vc-arch.el (vc-arch-root):
12669 * window.el (window-body-height, pop-up-frames):
12670 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12671 * progmodes/ada-stmt.el (ada-if):
12672 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12673 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12674 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12675 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12677 * progmodes/flymake.el (flymake-post-syntax-check):
12678 Fix typo in error message.
12680 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12682 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12683 which is always a string. (Bug#5313)
12685 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12687 * progmodes/ada-xref.el (ada-default-prj-properties):
12688 Simplify previous change.
12690 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12692 * progmodes/ada-xref.el (ada-default-prj-properties):
12693 Default ada_project_path to $ADA_PROJECT_PATH.
12695 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12697 * progmodes/ada-mode.el (ada-create-keymap):
12698 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12700 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12702 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12703 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12704 (ada-get-current-indent, ada-imenu-generic-expression)
12705 (ada-which-function): Check for it.
12707 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12709 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12710 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12712 2010-01-14 Glenn Morris <rgm@gnu.org>
12714 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12716 2010-01-14 Kenichi Handa <handa@m17n.org>
12718 * composite.el (auto-composition-mode): Make it a buffer local
12719 variable (permanent-local).
12720 (auto-composition-function): Set the default value to
12721 auto-compose-chars.
12722 (auto-composition-mode): Make it a simple function, not a minor mode.
12723 (global-auto-composition-mode): Likewise.
12724 (turn-on-auto-composition-if-enabled): Delete it.
12726 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12728 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12730 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12732 * files.el (copy-directory): Compute target for recursive
12733 directories with identical names. (Bug#5343)
12735 2010-01-12 Glenn Morris <rgm@gnu.org>
12737 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12738 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12740 2010-01-11 Sam Steingold <sds@gnu.org>
12742 * imenu.el (imenu-default-create-index-function): Detect infinite
12743 loops caused by imenu-prev-index-position-function.
12745 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12747 * htmlfontify.el (htmlfontify-load-rgb-file)
12748 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12749 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12750 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12751 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12752 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12753 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12754 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12755 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12756 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12757 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12758 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12759 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12760 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12761 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12762 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12763 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12764 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12765 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12766 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12767 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12768 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12769 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12770 backslash-quoting from parentheses, etc.
12772 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12774 * progmodes/js.el: Autoload javascript-mode alias.
12776 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12778 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12779 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12780 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12781 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12782 Fix typos in docstrings.
12783 (ffap-url-regexp): Doc fix.
12784 (ffap-at-mouse): Fix typo in message.
12786 2010-01-11 Glenn Morris <rgm@gnu.org>
12788 * version.el (emacs-copyright): Set copyright year to 2010.
12790 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12792 * format.el (format-annotate-function): Only set
12793 write-region-post-annotation-function after running to-fn so as not to
12794 affect nested write-region calls (bug#5273).
12796 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12798 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12801 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12803 * man.el (Man-goto-section): Signal error if the section is not
12806 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12808 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12809 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12811 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12813 * progmodes/compile.el: Don't treat compile-command as safe if
12814 compilation-read-command might be nil (Bug#4218).
12816 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12818 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12821 2010-01-08 Kenichi Handa <handa@m17n.org>
12823 * international/fontset.el (build-default-fontset-data):
12824 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12826 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12828 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12829 to `create-file-buffer' as it expects, not just a buffer name.
12830 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12831 to help uniquify. (Bug#3224)
12833 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12835 * font-setting.el (font-setting-change-default-font): Use user-spec
12838 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12840 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12842 2010-01-05 Tom Tromey <tromey@redhat.com>
12844 * progmodes/python.el (python-font-lock-keywords):
12845 Handle qualified decorators (Bug#881).
12847 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12849 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12850 in a lightweight checkout.
12852 2010-01-05 Kenichi Handa <handa@m17n.org>
12854 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12856 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12858 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12860 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12862 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12863 checkouts. (Bug#618)
12864 (vc-bzr-log-view-mode): Also highlight the author.
12865 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12866 (vc-bzr-shelve-menu-map):
12867 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12868 (vc-bzr-shelve-apply): Make prompt more explicit.
12870 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12872 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12873 They are valid characters in URL paths (rfc3986), and at least
12874 Firefox does not understand the encoded version (Bug#3166).
12876 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12878 * progmodes/octave-mod.el (octave-end-keywords)
12879 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12880 Add "end" keyword (Bug#3061).
12881 (octave-end-as-array-index-p): New function.
12882 (calculate-octave-indent): Use it.
12884 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12886 * bookmark.el: Consistently put the text property on the bookmark name.
12887 (bookmark-bmenu-marks-width): Bump back to 2, to include
12889 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12890 property on the bookmark name, instead of not putting it at all.
12891 (bookmark-bmenu-list): Fix where we put the text property.
12893 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12895 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12896 for showing buffer modified state (as added in the previous change).
12898 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12900 * bookmark.el: Show modified state of bookmark buffer more accurately.
12901 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12902 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12903 (with-buffer-modified-unmodified): New macro.
12904 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12905 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12906 Use new macro to preserve the buffer modified state.
12908 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12910 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12911 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12912 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12913 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12914 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12915 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12916 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12918 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12920 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12921 Make the lines in the generated doc string shorter. (Bug#4668)
12923 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12925 * net/rcirc.el: Add follow-link binding (Bug#4738).
12927 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12929 * Makefile.in (bzr-update): Rename from cvs-update.
12930 (cvs-update): New target for backward compatibility.
12932 * makefile.w32-in (bzr-update): Rename from cvs-update.
12933 (cvs-update): New target for backward compatibility.
12935 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12937 * bookmark.el: Remove gratuitous gratitude.
12939 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12941 * bookmark.el (bookmark-bmenu-any-marks): New function.
12942 (bookmark-bmenu-save): Clear buffer modification if no marks.
12944 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12946 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12947 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12948 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12949 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12951 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12952 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12953 To: emacs-devel {_AT_} gnu.org
12954 Subject: bookmark.el bug report
12955 Date: Mon, 28 Dec 2009 14:19:16 +0800
12956 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12958 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12960 * bookmark.el: Improvements suggested by Drew Adams:
12961 (bookmark-bmenu-ensure-position): New name for
12962 `bookmark-bmenu-check-position'. Just ensure the position,
12963 don't return any meaningful value.
12964 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12967 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12969 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12970 (bookmark-yank-point, bookmark-bmenu-check-position):
12971 Fix typos in docstrings.
12972 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12973 (bookmark-name-from-full-record, bookmark-get-position)
12974 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12975 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12976 Remove useless quoting of parenthesis, etc. in docstrings.
12978 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12979 (ediff-append-custom-diff): Fix typo in error message.
12980 (ediff-meta-mark-equal-files): Fix typos in messages.
12982 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12984 * net/imap-hash.el (imap-hash-make): Doc fix.
12985 (imap-hash-test): Fix typo in error message; reflow docstring.
12986 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12987 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12988 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12989 Fix typos in docstrings.
12990 (imap-hash-open-connection): Fix typo in error message.
12992 * play/gomoku.el (gomoku): Fix typos in docstring.
12994 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12995 (gdb-jsonify-buffer): Fix typos in docstring.
12996 (gdb-goto-breakpoint): Fix typo in error message.
12997 ("Display Other Windows"): Fix typo in help message.
12998 (gdb-speedbar-expand-node): Fix typo in question.
13000 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13001 (idlwave-html-system-help-location, idlwave-html-help-location)
13002 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13003 (idlwave-help-browser-generic-args, idlwave-help-directory)
13004 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13005 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13006 (idlwave-online-help, idlwave-help-html-link)
13007 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13008 Fix typos in docstrings.
13009 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13011 (idlwave-help-assistant-start): Fix typo in error message.
13013 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13014 (octave-electric-space): Fix typos in docstrings.
13016 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13018 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13020 2010-01-01 Juri Linkov <juri@jurta.org>
13022 * comint.el (comint-input-ring-size): Make it a defcustom and
13023 increase the default to 500 (Bug#5148).
13025 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13027 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13028 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13029 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13031 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13033 Show working revision correctly for mercurial.
13034 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13035 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13037 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13039 Declare some functions for the byte-compiler.
13040 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13041 (speedbar-timer-fn, speedbar-change-expand-button-char)
13042 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13044 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13046 This changeset reverts GDB Graphical Interface to use annotations.
13047 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13049 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13051 Make vc-dir work on subdirectories of the bzr root.
13052 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13053 Return file names relative to it.
13054 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13055 relative directory to vc-bzr-after-dir-status.
13057 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13059 * font-lock.el (font-lock-refresh-defaults): New function, which
13060 can be used to let font-lock react to external changes in
13061 variables like font-lock-defaults and keywords.
13062 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13064 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13066 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13068 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13070 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13072 Supersede color.diff settings in git log (bug#5211).
13074 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13075 escape chars in its output when the user has color.diff set to `always'.
13076 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13078 2009-12-26 Kevin Ryde <user42@zip.com.au>
13080 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13081 node. Keep previous "Index" name to work with past coreutils too.
13083 * man.el (man): Revise docstring a bit to show -a and -l as
13084 examples. Add -k description since support for it has otherwise
13085 been a secret. (Further to bug#3717.)
13086 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13087 "no matches" rather than "Can't find manpage", as the latter reads
13088 like -k was interpreted as a page name, which is not so. (Bug#5431)
13090 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13092 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13093 switches. Check also for //SUBDIRED// line.
13095 2009-12-25 Kenichi Handa <handa@m17n.org>
13097 * language/indian.el (devanagari-composable-pattern): Fix to
13098 handle ZWNJ and ZWJ. Use it in composition-function-table for
13100 (malayalam-composable-pattern): Fix previous change.
13102 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13104 * ps-print.el (ps-face-attributes): It was not returning the
13105 attribute face for faces specified as string. Reported by harven
13106 <harven@free.fr>. (Bug#5254)
13107 (ps-print-version): New version 7.3.5.
13109 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13111 * calendar/icalendar.el (icalendar--convert-tz-offset):
13112 Fix timezone names.
13113 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13114 (icalendar--add-diary-entry): Remove the trailing blank that
13115 diary-make-entry inserts.
13117 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13119 Make `file-expand-wildcards' work for remote files.
13121 * files.el (file-expand-wildcards): In case of remote files, check
13122 only local file name part for wildcards. Provide feature 'files
13123 and subfeature 'remote-wildcards. (Bug#5198)
13125 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13126 if there is already an established connection.
13127 (tramp-advice-file-expand-wildcards): Remove it.
13129 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13130 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13131 Activate advice for older GNU Emacs versions. (Bug#5237)
13133 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13135 Some doc fixes (more needed).
13137 * find-cmd.el (find-constituents): Reflow docstring.
13138 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13139 (find-generic): Doc fix.
13141 2009-12-17 Juri Linkov <juri@jurta.org>
13143 Fix regression from 23.1 to allow multiple modes in Local Variables.
13145 * files.el (hack-local-variables-filter): While ignoring duplicates,
13146 don't take `mode' into account.
13147 (hack-local-variables-filter, hack-dir-local-variables):
13148 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13150 2009-12-17 Juri Linkov <juri@jurta.org>
13152 Make `dired-diff' safer. (Bug#5225)
13154 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13155 `current' or when `file' is a directory of the `current' file.
13157 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13159 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13160 unconditionally preloaded files.
13162 2009-12-16 Juri Linkov <juri@jurta.org>
13164 Revert to old 23.1 logic of using the file at the mark as default.
13165 * dired-aux.el (dired-diff): Use the file at the mark as default
13166 if it's not the same as the current file, and the target dir is
13167 the current dir or the mark is active. Add the current file
13168 as the arg of `dired-dwim-target-defaults'. Use the default file
13169 in the prompt. (Bug#5225)
13171 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13173 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13174 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13175 (tramp-check-for-regexp): Check also, when an echoing shell stops
13176 to echo sent commands.
13178 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13180 * Makefile.in: Revert last change (Bug#5191).
13182 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13184 * vc-hg.el (vc-hg-print-log): Fix argument order.
13185 (vc-hg-working-revision): Make sure the command is executed in a
13186 known environment so that we can parse the output. (Bug#4417)
13188 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13190 * progmodes/python.el (python-symbol-completions): Remove text
13191 properties from symbol string before calling python-send-receive.
13193 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13195 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13196 when there are values for both file and line. (Bug#5060)
13198 2009-12-14 Juri Linkov <juri@jurta.org>
13200 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13201 whitespace after the file name of the first line of unified format,
13202 because git-diff doesn't output whitespace and file modification time
13203 after the file name.
13205 2009-12-14 David Kastrup <dak@gnu.org>
13207 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13208 check if it already has the `display' property added by
13209 `Info-display-images-node', and not put the `invisible' property
13212 2009-12-13 Glenn Morris <rgm@gnu.org>
13214 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13215 (report-emacs-bug): In message-mode, sort manually before storing
13216 original report text. (Bug#5178)
13217 Remove superfluous save-excursion.
13219 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13221 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13222 when responding to "GetAll" properties.
13224 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13226 * simple.el (compose-mail): Remove mail-setup-with-from from
13227 customization checks.
13229 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13231 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13232 RAR archives created on Unix systems.
13234 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13236 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13237 the varalias that was accidentally removed by the 2009-11-19 change
13240 2009-12-12 Kenichi Handa <handa@m17n.org>
13242 * language/indian.el (indian-compose-regexp): New function.
13243 (malayalam-composable-pattern): Fix the pattern.
13244 (composition-function-table): Set malayalam-composable-pattern for
13245 Malayalam characters.
13247 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13249 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13250 rather than down-mouse-1, based on follow-link conventions.
13252 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13255 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13257 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13258 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13259 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13260 (verilog-leap-to-head, verilog-backward-token):
13261 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13263 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13265 * progmodes/verilog-mode.el (verilog-auto-lineup)
13266 (verilog-nameable-item-re): Cleanup user-visible spelling and
13267 documentation errors. One reported by Gary Delp.
13268 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13269 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13270 package, bug195. Reported by Pierre-David Pfister.
13272 2009-12-11 Glenn Morris <rgm@gnu.org>
13274 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13276 * mail/emacsbug.el: No longer require sendmail.
13277 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13278 (report-emacs-bug-orig-text): Doc fix.
13279 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13280 New local variables, to adapt to different mail-user-agents.
13281 (report-emacs-bug): Fix test for a gnu.org address.
13282 Use overlays for emphasis, since font-lock defeats 'face property.
13283 Pretest bugs also end up at the newsgroup these days.
13284 Stop message-mode stripping text properties.
13285 Set and use the new buffer-local variables.
13286 (report-emacs-bug-hook): Add doc-string.
13287 Remove some unnecessary save-excursions and simplify.
13288 Use the appropriate hook and send-command.
13290 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13291 capitalization of some menu entries.
13293 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13295 * whitespace.el (whitespace-display-char-on):
13296 Ensure `buffer-display-table' is unique when two or more windows are
13297 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13300 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13302 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13303 characters in the Attribute field.
13305 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13307 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13309 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13311 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13312 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13313 Disregard autoload-excludes.
13314 (update-directory-autoloads): Obey autoload-excludes here instead.
13315 But don't store its contents in no-autoloads and remove entries that
13316 refer to excludes files.
13318 2009-12-10 Glenn Morris <rgm@gnu.org>
13320 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13321 (expand-mail-aliases): Define for compiler.
13323 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13324 Define for compiler.
13326 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13327 appropriate for the mail-user-agent in use.
13329 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13331 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13333 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13335 Fix short log parsing and fontification.
13336 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13337 Fix fontification for the [merge] label.
13339 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13341 Drop some properties to avoid surprises (bug#5002).
13342 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13343 (hfy-fontify-buffer): Use it.
13345 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13348 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13349 Adjust all callers.
13350 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13351 args compulsory. Adjust callers.
13352 (ffap-gopher-at-point): Remove unused var `name'.
13354 Get rid of the ELCFILES abomination.
13355 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13356 (compile-elcfiles): New phony target.
13357 (compile-main): Compute ELCFILES dynamically.
13358 (compile-clean): New target to remove left-over elc files.
13359 (compile, all): Use it.
13361 2009-12-09 Kenichi Handa <handa@etlken>
13363 * international/mule-diag.el: Require help-mode instead of help-fns.
13365 2009-12-09 Kenichi Handa <handa@m17n.org>
13367 * international/mule-cmds.el (ucs-names): Supply sufficiently
13368 fine ranges instead of pre-calculating accurate ranges.
13369 Iterate with bigger gc-cons-threshold.
13371 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13373 Add support for stashing a snapshot of the current tree.
13374 * vc-git.el (vc-git-stash-snapshot): New function.
13375 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13377 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13379 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13380 instead of `(beginning|end)-of-line'.
13382 2009-12-08 Glenn Morris <rgm@gnu.org>
13384 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13386 * Makefile.in (ELCFILES): Regenerate.
13388 2009-12-07 Juri Linkov <juri@jurta.org>
13390 Don't lazy-highlight the comint output in history Isearch mode.
13392 * comint.el (comint-history-isearch-search): Instead of
13393 `comint-line-beginning-position', use `comint-after-pmark-p'
13394 to check if point if before the process mark, and go to
13395 `process-mark' in this case.
13397 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13399 * textmodes/tex-mode.el (latex-complete)
13400 (latex-indent-or-complete): Remove.
13401 (latex-mode): Set completion-at-point-functions instead.
13403 Provide a standard completion command and hook it into TAB.
13404 * minibuffer.el (completion-at-point-functions): New var.
13405 (completion-at-point): New command.
13406 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13407 * progmodes/python.el (python-mode-map): Use completion-at-point.
13408 (python-completion-at-point): Rename from python-partial-symbol and
13409 adjust for use in completion-at-point-functions.
13410 (python-mode): Setup completion-at-point for Python completion.
13411 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13412 extracted from lisp-complete-symbol.
13413 (lisp-complete-symbol): Use it.
13414 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13415 setup completion-at-point for Elisp completion.
13416 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13417 Use completion-at-point.
13418 * ielm.el (ielm-map): Use completion-at-point.
13419 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13420 * progmodes/sym-comp.el: Move to...
13421 * obsolete/sym-comp.el: Move from progmodes.
13423 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13425 Prevent save-buffer in Rmail buffers from using the coding-system
13426 of the current message, and from clobbering the encoding mnemonics
13427 in the mode line (Bug#4623).
13429 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13431 (rmail-message-encoding): New variable.
13432 (rmail-write-region-annotate): Record the encoding of the current
13433 message in rmail-message-encoding.
13434 (rmail-after-save-hook): New function, restores the encoding of
13435 the current message after the message collection is saved.
13437 2009-12-07 Juri Linkov <juri@jurta.org>
13439 * progmodes/grep.el (grep-read-files): Use `completing-read'
13440 instead of `read-string'. Set its `collection' arg to
13441 `read-file-name-internal'. (Bug#4301)
13443 2009-12-07 Juri Linkov <juri@jurta.org>
13445 Correctly restore original Isearch point. (Bug#4994)
13447 * isearch.el (isearch-mode): Move `isearch-push-state' after
13448 `(run-hooks 'isearch-mode-hook)'.
13449 (isearch-cancel): When `isearch-push-state-function' is defined,
13450 let-bind `isearch-cmds' to the first state (the last element of
13451 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13452 function and restores the original point). Otherwise, move point
13453 to `isearch-opoint'.
13455 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13457 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13458 chars that don't have names, so the table can be built much faster at
13461 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13463 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13464 change. Suggested by David Kastrup.
13466 * simple.el (compose-mail): Check for incompatibilities and warn.
13467 (compose-mail-user-agent-warnings): New option.
13469 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13471 Support showing a single log entry from vc-annotate.
13472 * vc.el (print-log): Add a new argument: START-REVISION.
13473 (vc-print-log-internal): Add a new optional argument and
13474 pass it to the backend.
13475 (vc-print-log, vc-print-root-log): Adjust callers.
13476 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13477 buffer already displays the requested log entry, use it.
13478 Otherwise display only the log entry in question.
13479 * vc-svn.el (vc-svn-print-log):
13480 * vc-mtn.el (vc-mtn-print-log):
13481 * vc-hg.el (vc-hg-state):
13482 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13483 (vc-git-show-log-entry): Return t on success.
13484 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13485 (vc-bzr-show-log-entry): Return t on success.
13486 * vc-rcs.el (vc-rcs-print-log):
13487 * vc-sccs.el (vc-sccs-print-log):
13488 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13490 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13492 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13493 Add menus to the meta mode. (Bug#5043)
13495 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13497 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13500 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13502 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13504 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13505 Berbain <raphael.berbain@gmail.com>.
13507 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13509 (tramp-initial-end-of-output): New defconst.
13510 (tramp-methods, tramp-find-shell)
13511 (tramp-open-connection-setup-interactive-shell)
13512 (tramp-maybe-open-connection): Use it.
13513 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13514 Handle existence of `#' and `$'.
13516 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13517 Use `tramp-initial-end-of-output'.
13519 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13521 Get the background mode from the terminal for xterm, and set
13523 * term/xterm.el (xterm-set-background-mode): New function.
13524 (terminal-init-xterm): Use it in case xterm supports background
13525 color queries. Recompute faces after getting the background
13528 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13530 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13531 number comment back on its own line, for easier parsing.
13533 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13535 Make it work for non-file buffers (bug#5102).
13536 * doc-view.el (doc-view-current-cache-dir):
13537 Use doc-view-buffer-file-name rather than buffer-file-name.
13538 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13540 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13542 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13543 author field is too short.
13545 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13547 * vc-git.el (vc-git-print-log): Handle a limit argument.
13548 Display the short log in graph form and with labels.
13549 (vc-git-log-view-mode): Handle labels.
13551 Make vc-revert change VC state from 'added to 'unregistered.
13552 * vc-git.el (vc-git-revert): Call git reset first.
13554 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13556 * net/newst-backend.el, net/newst-plainview.el:
13557 * net/newst-reader.el, net/newst-ticker.el:
13558 * net/newst-treeview.el, net/newsticker.el:
13559 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13561 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13563 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13565 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13566 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13567 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13568 Update annotation regexp.
13570 * simple.el (beginning-of-visual-line): Constrain to field
13571 boundaries (Bug#5106).
13573 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13575 * xml.el (xml-substitute-numeric-entities):
13576 Move newsticker--decode-numeric-entities in newst-backend.el to
13577 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13578 * net/newst-backend.el (newsticker--parse-generic-feed)
13579 (newsticker--parse-generic-items)
13580 (newsticker--decode-numeric-entities):
13581 Move newsticker--decode-numeric-entities in newst-backend.el to
13582 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13584 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13586 * progmodes/js.el (js--js-not): Add null to the list of values.
13588 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13590 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13592 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13594 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13595 delimiter if it is at the end of the current line.
13596 (bibtex-generate-url-list): Fix docstring.
13598 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13600 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13601 minibuffer's content with itself.
13602 Fold the confirm-after-completion case into the `confirm' case.
13603 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13605 2009-12-06 Kevin Ryde <user42@zip.com.au>
13607 * ffap.el (ffap-rfc-path): Make this a defcustom since
13608 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13610 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13611 manuals, similar to existing setup for help-mode. (Bug#3913.)
13613 2009-12-05 Juri Linkov <juri@jurta.org>
13615 Save and restore dired buffer's point positions too. (Bug#4880)
13617 * dired.el (dired-save-positions): Return in the first element
13618 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13620 (dired-restore-positions): First restore buffer's position.
13621 While restoring window's positions, check if window still displays
13622 the original buffer.
13624 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13626 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13629 * shell.el (shell): Require ansi-color (Bug#5113).
13631 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13633 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13635 2009-12-05 Alan Mackenzie <acm@muc.de>
13637 * progmodes/cc-mode.el (c-before-hack-hook)
13638 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13639 `c-file-style' to work again. This reversion restores the current
13640 software to its state in Emacs 23.1. (Bug#4146)
13642 2009-12-05 Kevin Ryde <user42@zip.com.au>
13644 * textmodes/sgml-mode.el (sgml-lexical-context):
13645 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13647 2009-12-05 Juri Linkov <juri@jurta.org>
13649 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13650 for virtual nodes. (Bug#4147)
13651 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13652 when moving from a virtual node.
13653 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13654 (Info-mode): Add `Info-virtual-index' to the docstring.
13656 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13658 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13659 track of the buffer position of the end of a BibTeX entry as this
13660 position may change during reformatting.
13661 (bibtex-format-entry): Remove whitespace before processing
13662 numerical fields so that we recognize the latter properly.
13663 (bibtex-reformat): Do not use push which changes the global value
13664 of bibtex-entry-format.
13665 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13666 (bibtex-field-re-init): Replace only space characters by regexp
13668 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13669 (bibtex-initialize): Also update bibtex-strings.
13670 (bibtex-kill-field): Preserve white space at end of entry.
13671 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13672 Update bibtex-reference-keys.
13674 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13676 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13677 point after a star, if that's the only place where modifications can
13680 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13682 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13685 2009-12-04 Juri Linkov <juri@jurta.org>
13687 * proced.el (proced): Call `(proced-update t)' to update process
13688 information instead of only running proced-post-display-hook.
13689 (proced-send-signal): Add a leading space to the buffer name
13690 " *Marked Processes*" to make this buffer ephemeral.
13692 2009-12-04 Juri Linkov <juri@jurta.org>
13694 * dired.el (dired-auto-revert-buffer): New defcustom.
13695 (dired-internal-noselect): Use it.
13697 2009-12-04 Juri Linkov <juri@jurta.org>
13699 Change roles of modes and functions in image-mode.el (Bug#5062).
13701 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13702 in `auto-mode-alist'.
13703 (image-mode-previous-major-mode): New variable.
13704 (image-minor-mode-map): Rename from `image-mode-text-map'.
13705 (image-mode): Move graceful error-handling code from
13706 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13707 (image-minor-mode): Remove all image-handling code.
13708 Replace `image-mode-text-map' with `image-minor-mode-map'.
13709 Check for `image-type' in mode-line format string.
13710 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13711 (image-mode-as-text): New function with most code from
13712 `image-mode-maybe'.
13713 (image-toggle-display-text): Move code that removes image
13714 properties from `image-toggle-display' to here.
13715 (image-toggle-display-image): New function with code that adds
13716 image properties copied from `image-toggle-display'.
13717 (image-toggle-display): Remove most code with leaving only code
13718 that toggles between `image-mode-as-text' and `image-mode'.
13720 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13722 * net/newst-treeview.el
13723 (newsticker--treeview-list-highlight-start): Restored call to
13724 save-excursion: Selected item was stuck.
13725 (newsticker--treeview-list-select): New.
13726 (newsticker--treeview-item-show-text)
13727 (newsticker--treeview-item-show)
13728 (newsticker--treeview-item-update): Use new
13729 newsticker-treeview-item-mode.
13730 (newsticker-treeview-update): Keep current item.
13731 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13732 (newsticker--treeview-first-feed): Doc change.
13733 (newsticker-treeview-list-menu)
13734 (newsticker-treeview-item-menu): Add menu entries.
13735 (newsticker-treeview-item-mode): New.
13737 * net/newst-backend.el (newsticker-customize): Delete other
13740 2009-12-04 Sam Steingold <sds@gnu.org>
13742 * log-view.el (log-view-mode-map): "q" calls quit-window,
13743 like in all the other non-self-insert buffers.
13745 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13748 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13749 key decoding rather than do it manually via last-input-event +
13751 (term-exec): Use delete-and-extract-region.
13752 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13753 (term-process-pager): Remove unused var `i'.
13754 (term-dynamic-simple-complete): Make obsolete.
13755 (serial-update-config-menu): Remove unused vars `y' and `str'.
13756 (term-update-mode-line): Remove unused var `temp'.
13758 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13760 Limit the number of log entries displayed by default.
13761 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13762 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13763 using a prefix argument.
13765 2009-12-03 Glenn Morris <rgm@gnu.org>
13767 * progmodes/idlwave.el (class): Restore still useful declaration.
13769 2009-12-03 Alan Mackenzie <acm@muc.de>
13771 Enhance `c-parse-state' to run efficiently in "brace deserts".
13773 * progmodes/cc-mode.el (c-basic-common-init):
13774 Call c-state-cache-init.
13775 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13776 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13777 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13779 * progmodes/cc-langs.el (c-before-font-lock-function):
13780 c-extend-and-neutralize-syntax-in-CPP has been renamed
13781 c-neutralize-syntax-in-and-mark-CPP.
13783 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13784 with `category' properties now, not `syntax-table' ones.
13786 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13787 enhanced (but slower) version of c-end-of-macro that won't land
13788 inside a literal or on another awkward character.
13789 (c-state-cache-too-far, c-state-cache-start)
13790 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13791 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13792 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13793 (c-state-min-scan-pos, c-state-brace-pair-desert)
13794 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13795 buffer local variables.
13796 (c-state-literal-at, c-state-lit-beg)
13797 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13798 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13799 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13800 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13801 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13802 (c-renarrow-state-cache)
13803 (c-append-lower-brace-pair-to-state-cache)
13804 (c-state-push-any-brace-pair, c-append-to-state-cache)
13805 (c-remove-stale-state-cache)
13806 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13807 (c-invalidate-state-cache-1, c-parse-state-1)
13808 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13809 (c-parse-state): Enhance and refactor.
13810 (c-debug-parse-state): Amend to deal with all the new variables.
13812 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13813 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13814 modify to use category text properties rather than syntax-table ones.
13815 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13816 to switch off/on the syntactic paren property of C++ template
13817 delimiters using the category property.
13818 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13819 template delims suppressed.
13820 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13821 New constant/macros which apply category properties to the start
13822 and end of preprocessor constructs.
13823 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13824 "comment out" the syntactic value of characters in preprocessor
13826 (c-with-cpps-commented-out)
13827 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13828 with characters in all or all but one preprocessor constructs
13831 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13833 * proced.el (proced-filter-alist): Use regexp-quote.
13835 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13838 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13839 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13840 arguments. Expand `default-directory'.
13842 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13843 the benefit of returning an expanded localname.
13844 (tramp-tramp-file-p): Handle the case NAME is not a string.
13846 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13848 Add support for bzr shelve/unshelve.
13849 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13850 (vc-bzr-extra-menu-map): New variables.
13851 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13852 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13853 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13854 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13855 (vc-bzr-dir-extra-headers): Display shelves.
13857 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13859 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13861 * textmodes/bibtex.el (bibtex-complete-internal):
13862 Use completion-in-region.
13863 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13865 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13867 Support applying stashes. Improve UI.
13868 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13869 (vc-git-stash-apply, vc-git-stash-pop)
13870 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13871 (vc-git-stash-menu): New functions.
13872 (vc-git-stash-menu-map): New variable.
13873 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13875 2009-12-03 Glenn Morris <rgm@gnu.org>
13877 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13878 (vc-print-log-internal): Fix previous change.
13879 (vc-revert): Correct pluralization.
13881 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13883 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13884 it to be an alist any more.
13885 (makefile-complete): Use completion-in-region.
13887 * progmodes/octave-mod.el (octave-complete-symbol):
13888 Use completion-in-region.
13891 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13892 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13893 (idlwave-complete-class): Don't quote lambda.
13894 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13895 (idlwave-mode-map): Move initialization into declaration.
13896 (idlwave-action-and-binding): Use backquotes.
13897 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13899 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13900 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13901 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13902 `parts', and `all-parts'.
13903 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13904 (idlwave-convert-xml-system-routine-info): Remove unused string
13906 (idlwave-display-user-catalog-widget): Use dolist.
13907 (idlwave-scanning-lib): Declare dynamically-scoped var.
13908 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13909 (completion-highlight-first-word-only): Declare to silence bytecomp.
13910 (idlwave-popup-select): Tighten scope of `resp'.
13911 (idlwave-find-struct-tag): Remove unused var `beg'.
13912 (idlwave-after-load-rinfo-hook): Declare.
13913 (idlwave-sintern-class-info): Remove unused var `taglist'.
13914 (idlwave-find-class-definition): Remove unused var `list'.
13915 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13916 (idlwave-what-module-find-class): Remove unused var `classes'.
13918 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13920 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13922 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13924 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13925 buffers visited. Remove redundant current-buffer-saving.
13927 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13929 Use completion-in-buffer and remove uses of dynamic scoping.
13930 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13931 (pascal-buffer-to-use, pascal-flag): Don't declare.
13932 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13933 (pascal-get-completion-decl, pascal-keyword-completion):
13934 Add `pascal-str' argument, save-excursion,
13935 return the found completions, and don't filter with pascal-pred.
13936 (pascal-completion-cache): New var.
13937 (pascal-completion): Don't switch buffer any more (it was never
13938 necessary). Don't save-excursion any more (it's done by the called
13939 subroutines). Use a cache to avoid redundant computations.
13940 Use complete-with-action rather than pascal-completion-response and
13941 let it apply the predicate as well.
13942 (pascal-complete-word): Use completion-in-buffer when
13943 pascal-toggle-completions is nil.
13944 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13946 (pascal-comp-defun): Don't change buffer any more.
13947 Use complete-with-action rather than pascal-completion-response and
13948 let it apply the predicate as well.
13949 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13952 2009-12-02 Kenichi Handa <handa@m17n.org>
13954 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13955 shape for all Indic scripts.
13957 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13959 Use completion-in-buffer.
13960 * wid-edit.el (widget-field-text-end): New function.
13961 (widget-field-value-get): Use it.
13962 (widget-string-complete, widget-file-complete)
13963 (widget-color-complete): Use it and completion-in-region.
13964 (widget-complete): Don't narrow the buffer.
13966 2009-12-02 Glenn Morris <rgm@gnu.org>
13968 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13969 (rmail-select-summary): Use rmail-pop-to-buffer.
13970 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13971 rmail-pop-to-buffer, to prevent horizontal splits.
13973 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13974 save-excursion with save-current-buffer.
13975 Widen before searching. (Bug#5093)
13976 (diary-list-sexp-entries): Remove superfluous save-excursion.
13978 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13980 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13983 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13985 * ido.el (ido-file-internal): Handle filenames at point that do
13986 not have a directory part. (Bug#5049)
13988 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13990 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13991 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13993 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13995 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13996 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13999 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14001 * comint.el (comint-insert-input): Ignore clicks to the right of
14002 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14004 * vc.el (vc-print-log-internal): Don't wait for the process to
14005 terminate before setting up the major mode.
14007 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14010 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14013 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14015 2009-12-01 Glenn Morris <rgm@gnu.org>
14017 * window.el (window--display-buffer-2): Fix previous changes.
14019 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14021 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14023 2009-12-01 Glenn Morris <rgm@gnu.org>
14025 * Makefile.in (ELCFILES): Add mpc.elc.
14027 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14029 * mpc.el: New file.
14031 2009-12-01 Glenn Morris <rgm@gnu.org>
14033 * window.el (window-to-use): Define for compiler.
14035 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14036 consistent with others (no final period).
14038 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14039 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14041 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14043 Make vc-print-log buttons work.
14044 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14046 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14048 * savehist.el (savehist-autosave-interval): Allow setting to nil
14049 through customize. (Bug#5056)
14051 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14053 Fix references to jit-lock properties.
14054 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14055 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14056 (perl-font-lock-special-syntactic-constructs):
14057 Quote jit-lock-defer-multiline property.
14059 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14061 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14063 2009-11-30 Juri Linkov <juri@jurta.org>
14065 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14066 value `buffer' of `multi-isearch-next-buffer-current-function'.
14067 Use `(current-buffer)' when `buffer' is nil.
14068 (multi-isearch-next-buffer-from-list): Don't fallback to
14069 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14071 2009-11-30 Juri Linkov <juri@jurta.org>
14073 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14074 of buffers with `get-buffer' to `multi-isearch-buffers'.
14075 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14076 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14077 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14078 FILES with `expand-file-name' converting relative file names
14079 to absolute. Doc fix. (Bug#4727)
14081 2009-11-30 Juri Linkov <juri@jurta.org>
14083 * misearch.el (multi-isearch-read-buffers)
14084 (multi-isearch-read-matching-buffers): New functions.
14085 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14086 Use them in the `interactive' spec. Doc fix.
14087 (multi-isearch-read-files, multi-isearch-read-matching-files):
14089 (multi-isearch-files, multi-isearch-files-regexp):
14090 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14092 2009-11-30 Juri Linkov <juri@jurta.org>
14094 * doc-view.el (doc-view-continuous):
14095 Rename from `doc-view-continuous-mode'.
14096 (doc-view-menu): Move "Toggle display" to the top.
14097 Add submenu "Continuous" with radio buttons "Off"/"On"
14098 and "Save as Default".
14099 (doc-view-scroll-up-or-next-page)
14100 (doc-view-scroll-down-or-previous-page)
14101 (doc-view-next-line-or-next-page)
14102 (doc-view-previous-line-or-previous-page):
14103 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14105 2009-11-30 Juri Linkov <juri@jurta.org>
14107 * comint.el (comint-mode-map): Rebind `M-r' from
14108 `comint-previous-matching-input' to
14109 `comint-history-isearch-backward-regexp'.
14110 Unbind `M-s' to allow global key binding `M-s'.
14111 Add menu items for `comint-history-isearch-backward' and
14112 `comint-history-isearch-backward-regexp'. (Bug#3746)
14114 2009-11-30 Juri Linkov <juri@jurta.org>
14116 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14117 For def=recenter, replace `recenter' with `recenter-top-bottom'
14118 that is called with `this-command' and `last-command' let-bound
14119 to `recenter-top-bottom'. When the last `def' was not `recenter',
14120 set `recenter-last-op' to nil. (Bug#4981)
14122 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14124 Minor cleanup and simplification.
14125 * filecache.el (file-cache-add-directory)
14126 (file-cache-add-directory-recursively)
14127 (file-cache-add-from-file-cache-buffer)
14128 (file-cache-delete-file-regexp, file-cache-delete-directory)
14129 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14130 (file-cache-temp-minibuffer-message): Delete function.
14131 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14133 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14134 Don't signal an error when bumping into EOB in tr, s, or y.
14136 2009-11-29 Juri Linkov <juri@jurta.org>
14138 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14141 * descr-text.el (describe-char-unidata-list): Use lowercase name
14142 for "Unicode name" like in other tags.
14144 2009-11-29 Juri Linkov <juri@jurta.org>
14146 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14147 New compatibility macro.
14148 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14150 2009-11-29 Juri Linkov <juri@jurta.org>
14152 Add defcustom to define the cycling order of `recenter-top-bottom'.
14155 * window.el (recenter-last-op): Doc fix.
14156 (recenter-positions): New defcustom.
14157 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14158 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14160 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14162 Improve integration of Tramp and ange-ftp in eshell.
14164 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14165 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14166 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14168 * eshell/esh-util.el (top): Require also Tramp when compiling.
14169 (eshell-directory-files-and-attributes): Check for FTP remote
14171 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14172 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14173 (eshell-file-attributes): Handle ".". Return `entry'.
14175 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14176 (ange-ftp-directory-files-and-attributes)
14177 (ange-ftp-real-directory-files-and-attributes): New defuns.
14179 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14180 shell with "exec" when possible. This prevents trailing prompts
14181 in `start-file-process'.
14183 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14185 Try and remove assumptions about point-min==1.
14186 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14187 (rng-compute-mode-line-string): Show the validation percentage in
14188 terms of the narrowed text, not the widened text.
14189 (rng-do-some-validation): Don't catch internal errors when debugging.
14190 (rng-first-error): Simplify.
14191 (rng-after-change-function): Remove work around. AFAIK the bug has
14192 been fixed a while ago.
14194 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14195 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14197 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14199 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14200 `cd' doesn't always do it for us (bug#5067).
14202 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14203 on 2009-10-25 as part of some other change (bug#5067).
14205 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14207 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14209 (byte-compile-warnings): Use byte-compile-warning-types.
14210 (byte-compile-save-excursion): Warn about use of set-buffer right
14211 after save-excursion.
14213 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14214 the excursion as well.
14216 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14218 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14219 providing a Tramp related implementation of "su" and "sudo".
14220 (eshell-unix-initialize): Add "su" and "sudo".
14222 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14224 * net/socks.el (socks-send-command): Convert binary request to
14225 unibyte before sending. This fixes mishandling of some port
14226 numbers such as 129.
14228 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14230 * help.el (describe-bindings-internal): Remove `interactive'.
14232 * man.el (Man-completion-table): Trim a terminating "(".
14233 Remove the space between name page a section.
14234 Add the command's description on the `help-echo' property.
14235 Remove `process-connection-type' binding since it's unused by
14237 Provide completion for the "<section> <name>" format as well.
14238 (Man-default-man-entry): Remove spurious var shadowing the argument.
14240 2009-11-26 Kevin Ryde <user42@zip.com.au>
14242 * log-view.el: Add "Keywords: tools", since its other keywords
14243 aren't in finder-known-keywords, and following vc.el.
14245 * sha1.el (sha1-string-external): default-directory "/" in case
14246 otherwise non-existent. process-connection-type pipe for touch of
14247 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14249 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14251 Misc coding convention cleanups.
14252 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14253 hfy-init-kludge-hooks.
14254 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14255 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14256 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14258 (hfy-slant, hfy-weight): Use tables rather than code.
14259 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14260 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14261 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14262 (hfy-face-to-css): Remove `nconc' with single arg.
14263 (hfy-p-to-face-lennart): Use `or'.
14264 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14265 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14266 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14267 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14268 (hfy-force-fontification): Use run-hooks.
14270 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14272 Various minor fixes.
14273 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14274 Javascript belongs in the header, not the body.
14275 (hfy-javascript): Remove.
14276 (hfy-fontify-buffer): Don't insert it any more.
14277 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14278 Fix bug in invis handling when there were no invis props in a chunk.
14280 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14282 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14284 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14286 * finder.el (finder-mode-map): Add a menu.
14288 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14290 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14291 "unsigned" structs.
14293 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14294 fork" statement better.
14296 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14298 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14299 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14300 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14301 Reported by Clay Douglass.
14303 (verilog-auto-inst, verilog-auto-star-safe)
14304 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14305 Fix removing "// Interfaces" when saving .* expansions.
14306 Reported by Pierre-David Pfister.
14308 2009-11-26 Glenn Morris <rgm@gnu.org>
14310 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14313 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14315 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14316 Really use previous revision.
14318 2009-11-25 Kevin Ryde <user42@zip.com.au>
14320 * man.el (Man-completion-table): default-directory "/" in case
14321 doesn't otherwise exist. process-environment COLUMNS=999 so as
14322 not to truncate long names. process-connection-type pipe to avoid
14323 any chance of hitting the pseudo-tty TIOCGWINSZ.
14324 (man): completion-ignore-case t for friendliness and since man
14325 itself is case-insensitive on the command line.
14326 Further to Bug#3717.
14328 * arc-mode.el: Add "Keywords: files", so the details in its
14329 commentary can be reached from finder-by-keyword.
14330 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14331 editing mode, but it's comms related and sgml-mode.el has "comm"
14333 * textmodes/bibtex-style.el: Add "Keywords: tex".
14334 * international/isearch-x.el, international/ja-dic-cnv.el:
14335 * international/ja-dic-utl.el, international/kkc.el:
14336 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14338 2009-11-25 Juri Linkov <juri@jurta.org>
14340 * man.el (Man-completion-table): Modify regexp to include
14341 section names to completion strings. (Bug#3717)
14343 2009-11-25 Juri Linkov <juri@jurta.org>
14345 Search recursively in gzipped files. (Bug#4982)
14347 * progmodes/grep.el (grep-highlight-matches): Add new options
14348 `always' and `auto'. Doc fix.
14349 (grep-process-setup): Check `grep-highlight-matches' for
14350 `auto-detect' to determine the need to compute grep defaults.
14351 Move Windows/DOS specific --colors settings handling
14352 to `grep-compute-defaults'. Check `grep-highlight-matches'
14353 to get the value of "--color=".
14354 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14355 has the value `auto-detect'. Move Windows/DOS specific settings
14356 from `grep-process-setup'.
14357 (zrgrep): New command with alias `rzgrep'.
14359 2009-11-25 Juri Linkov <juri@jurta.org>
14361 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14362 to nil instead of switching off view-mode. (Bug#4896)
14364 2009-11-25 Juri Linkov <juri@jurta.org>
14366 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14368 * mwheel.el (mwheel-scroll-up-function)
14369 (mwheel-scroll-down-function): New defvars.
14370 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14371 `scroll-up', and `mwheel-scroll-down-function' instead of
14374 * doc-view.el (doc-view-scroll-up-or-next-page)
14375 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14376 Use this ARG in the call to image-scroll-up/image-scroll-down.
14377 Change `interactive' spec to "P". Goto next/previous page only
14378 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14379 SPC/DEL case). Doc fix.
14380 (doc-view-next-line-or-next-page)
14381 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14383 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14384 `doc-view-scroll-up-or-next-page', and buffer-local
14385 `mwheel-scroll-down-function' to
14386 `doc-view-scroll-down-or-previous-page'.
14388 2009-11-25 Juri Linkov <juri@jurta.org>
14390 Provide additional default values (directories at other Dired
14391 windows) via M-n in the minibuffer of some Dired commands.
14393 * dired-aux.el (dired-diff, dired-compare-directories)
14394 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14395 `minibuffer-default' in `minibuffer-with-setup-hook'.
14396 (dired-dwim-target-directory): Find a window that displays Dired
14397 buffer instead of failing when the next window is not Dired.
14398 Use `get-window-with-predicate' to find for the next Dired window.
14399 (dired-dwim-target-defaults): New function.
14401 * ediff-util.el (ediff-read-file-name):
14402 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14403 in `minibuffer-with-setup-hook'.
14405 2009-11-25 Juri Linkov <juri@jurta.org>
14407 Provide additional default values (file name at point or at the
14408 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14410 * minibuffer.el (read-file-name-defaults): New function.
14411 (read-file-name): Reset `minibuffer-default' to nil when
14412 it duplicates initial input `insdef'.
14413 Bind `minibuffer-default-add-function' to lambda that
14414 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14415 (minibuffer-insert-file-name-at-point): New command.
14417 * files.el (file-name-at-point-functions): New defcustom.
14418 (find-file-default): Remove defvar.
14419 (find-file-read-args): Don't use `find-file-default'.
14420 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14421 to `read-file-name'.
14422 (find-file-literally): Use `read-file-name' with
14423 `confirm-nonexistent-file-or-buffer'.
14425 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14427 * dired.el (dired-read-dir-and-switches):
14428 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14429 to `read-file-name'.
14430 (dired-file-name-at-point): New function.
14431 (dired-mode): Add hook `dired-file-name-at-point' to
14432 `file-name-at-point-functions'.
14434 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14436 Really make the *Completions* window soft-dedicated (bug#5030).
14437 * window.el (window--display-buffer-2): Add `dedicated' argument.
14438 (display-buffer): Pass it when needed so the dedicated flag is set
14439 after calling set-window-buffer, which would otherwise reset it.
14441 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14443 * progmodes/meta-mode.el (meta-complete-symbol):
14444 * progmodes/etags.el (complete-tag):
14445 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14446 Use completion-in-region.
14448 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14449 (dabbrev-completion): Use completion-in-region.
14450 (dabbrev--abbrev-at-point): Simplify regexp.
14452 * abbrev.el (abbrev--before-point): Use word-motion functions
14453 if :regexp is not specified (bug#5031).
14455 * subr.el (string-prefix-p): New function.
14457 * man.el (Man-completion-cache): New var.
14458 (Man-completion-table): Use it.
14460 * vc.el (vc-print-log-internal): Make `limit' optional for better
14461 compatibility (e.g. with vc-annotate.el).
14463 2009-11-24 Kevin Ryde <user42@zip.com.au>
14465 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14466 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14468 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14469 when .el source file not found or other error.
14471 2009-11-24 Markus Triska <markus.triska@gmx.at>
14473 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14475 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14477 Handle the [back] button properly (bug#4979).
14478 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14479 Use help-setup-xref, help-buffer, and with-help-window.
14480 (describe-char): Add `buffer' argument.
14481 Pass proper command to help-setup-xref. Don't meddle with
14482 help-xref-stack-item directly.
14483 (describe-text-category): Use with-help-window and help-buffer.
14485 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14486 for the displayed buffer (bug#4887).
14488 * man.el (Man-completion-table): New function.
14491 2009-11-24 David Reitter <david.reitter@gmail.com>
14493 * vc-git.el (vc-git-registered): Use checkout directory (where
14494 .git is) rather than the file's directory and a relative path spec
14495 to work around a bug in git.
14497 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14499 Improve handling of processes on remote hosts.
14501 * eshell/esh-util.el (eshell-path-env): New defvar.
14502 (eshell-parse-colon-path): New defun.
14503 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14505 * eshell/esh-ext.el (eshell-search-path):
14506 Use `eshell-parse-colon-path'.
14507 (eshell-remote-command): Remove argument HANDLER.
14508 (eshell-external-command): Check for FTP remote connection.
14510 * eshell/esh-proc.el (eshell-gather-process-output):
14511 Use `file-truename', in order to start also symlinked files.
14512 Apply `start-file-process' instead of `start-process'.
14513 Shorten `command' to the local file name part.
14515 * eshell/em-cmpl.el (eshell-complete-commands-list):
14516 Use `eshell-parse-colon-path'.
14518 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14520 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14521 to `eshell-directory-change-hook'.
14523 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14525 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14526 because it could be enabled automatically if view-read-only is non-nil.
14528 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14530 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14531 made on 2009-11-22.
14533 2009-11-24 Glenn Morris <rgm@gnu.org>
14535 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14536 deleted variable bookmark-bmenu-bookmark-column.
14538 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14540 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14542 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14544 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14545 two slashes to the "file:" prefix.
14546 (browse-url-file-url): De-munge Cygwin filenames before passing
14547 them to Windows browser.
14548 (browse-url-default-windows-browser): Use call-process.
14550 2009-11-23 Juri Linkov <juri@jurta.org>
14552 Implement DocView Continuous mode. (Bug#4896)
14553 * doc-view.el (doc-view-continuous-mode): New defcustom.
14554 (doc-view-mode-map): Bind C-n/<down> to
14555 `doc-view-next-line-or-next-page', C-p/<up> to
14556 `doc-view-previous-line-or-previous-page'.
14557 (doc-view-next-line-or-next-page)
14558 (doc-view-previous-line-or-previous-page): New commands.
14560 2009-11-23 Juri Linkov <juri@jurta.org>
14562 Implement Isearch in comint input history. (Bug#3746)
14563 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14564 `isearch-mode-hook'.
14565 (comint-history-isearch): New defcustom.
14566 (comint-history-isearch-backward)
14567 (comint-history-isearch-backward-regexp): New commands.
14568 (comint-history-isearch-message-overlay): New buffer-local variable.
14569 (comint-history-isearch-setup, comint-history-isearch-end)
14570 (comint-goto-input, comint-history-isearch-search)
14571 (comint-history-isearch-message, comint-history-isearch-wrap)
14572 (comint-history-isearch-push-state)
14573 (comint-history-isearch-pop-state): New functions.
14575 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14577 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14579 (tramp-handle-make-symbolic-link)
14580 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14582 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14583 (tramp-handle-process-file): Use it.
14585 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14587 * window.el (move-to-window-line-last-op): Remove.
14588 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14590 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14592 Make M-r mirror the new cycling behavior of C-l.
14593 * window.el (move-to-window-line-last-op): New var.
14594 (move-to-window-line-top-bottom): New command.
14595 (global-map): Bind M-r move-to-window-line-top-bottom.
14597 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14599 * dired-x.el (dired-guess-shell-alist-default):
14600 Support xz format. (Bug#4953)
14602 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14604 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14605 last-command-char/last-command-event.
14606 (viper-prefix-arg-value): Do correct conversion of event-char for
14609 * emulation/viper-util.el, emulation/viper.el:
14610 Use viper-last-command-char instead of
14611 last-command-char/last-command-event.
14613 * ediff-init.el, ediff-mult.el, ediff-util.el:
14614 Replace last-command-char and last-command-event
14615 with (ediff-last-command-char) everywhere.
14617 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14618 created in fundamental mode.
14620 * ediff.el (ediff-version): Revert the change of interactive-p to
14621 called-interactively-p.
14623 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14625 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14626 generation from word-movement command names.
14628 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14630 * cus-start.el (all): Add native condition for font-use-system-font.
14632 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14634 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14635 Correct the patch from 2009-11-18. (Bug#3910)
14637 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14639 * progmodes/subword.el: Rename from lisp/subword.el.
14641 * subword.el: Rename to progmodes/subword.el.
14643 * Makefile.in (ELCFILES): Adapt to subword.el move.
14645 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14646 Stefan Monnier <monnier@iro.umontreal.ca>
14648 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14649 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14650 (bookmark-bmenu-show-filenames): Use push.
14651 (bookmark-bmenu-hide-filenames): Use local var instead of
14652 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14653 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14654 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14655 filenames now that the bookmark names are always available.
14657 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14659 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14660 (bookmark-search-pattern): Move and leave unbound.
14661 (bookmark-bmenu-mode-map): Change binding.
14662 (bookmark-read-search-input): Simplify.
14663 Don't use text-char-description. Don't error on non-char events.
14664 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14665 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14666 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14667 Use a local var for the timer.
14668 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14669 (i.e. bookmark-bmenu-search).
14671 2009-11-21 Glenn Morris <rgm@gnu.org>
14673 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14675 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14677 * net/browse-url.el (browse-url-default-windows-browser):
14678 Use cygstart for cygwin.
14680 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14682 * bookmark.el: Formatting and doc fixes only:
14683 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14684 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14685 Minor grammar and punctuation fixes in doc string.
14686 (bookmark-read-search-input): Adjust to fit within 80 columns.
14688 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14690 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14691 (c-backward-into-nomenclature): Adapt to subword renaming.
14693 * subword.el (subword-forward, subword-backward, subword-mark)
14694 (subword-kill, subword-backward-kill, subword-transpose)
14695 (subword-downcase, subword-upcase, subword-capitalize)
14696 (subword-forward-internal, subword-backward-internal):
14697 Rename from forward-subword, backward-subword, mark-subword,
14698 kill-subword, backward-kill-subword, transpose-subwords,
14699 downcase-subword, upcase-subword, capitalize-subword,
14700 forward-subword-internal, backward-subword-internal.
14702 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14704 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14706 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14708 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14709 (bookmark-bmenu-filter-alist-by-regexp)
14710 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14711 (bookmark-bmenu-search): New command.
14712 (bookmark-bmenu-mode-map): Bind it.
14714 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14716 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14717 backward-subword to quit the byte-compiler.
14719 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14721 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14723 * progmodes/cc-cmds.el (c-update-modeline)
14724 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14725 Refer to subword.el functions instead of cc-subword.el.
14727 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14728 subword.el functions instead of cc-subword.el.
14730 * progmodes/cc-subword.el: Rename to subword.el.
14731 * subword.el: Rename from progmodes/cc-subword.el.
14732 (subword-mode-map): Rename from c-subword-mode-map.
14733 (subword-mode): Rename from c-subword-mode.
14734 (global-subword-mode): New global minor mode.
14735 (forward-subword): Rename from c-forward-subword.
14736 (backward-subword): Rename from c-backward-subword.
14737 (mark-subword): Rename from c-mark-subword.
14738 (kill-subword): Rename from c-kill-subword.
14739 (backward-kill-subword): Rename from c-backward-kill-subword.
14740 (transpose-subwords): Rename from c-tranpose-subword.
14741 (downcase-subword): Rename from c-downcase-subword.
14742 (capitalize-subword): Rename from c-capitalize-subword.
14743 (forward-subword-internal): Rename from c-forward-subword-internal.
14744 (backward-subword-internal): Rename from c-backward-subword-internal.
14746 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14748 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14749 from a dired buffer.
14750 (vc-dired-deduce-fileset): New function.
14751 (vc-root-diff, vc-print-root-log): Use it.
14753 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14754 nil LIMIT argument to vc-print-log-internal.
14756 2009-11-20 Glenn Morris <rgm@gnu.org>
14758 * Makefile.in (ELCFILES): Regenerate.
14760 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14762 * calc/calc.el (calc-set-mode-line):
14763 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14764 (math-format-number): Rename `math-format-complement-signed' to
14765 `math-format-twos-complement'.
14767 * calc/calc-bin.el (math-format-twos-complement): Rename from
14768 math-format-complement-signed.
14769 (calc-radix): Rename `calc-complement-signed-mode' to
14770 `calc-twos-complement-mode'.
14771 (calc-octal-radix, calc-hex-radix): Add an argument for
14774 * calc/calc-embed.el (calc-embedded-mode-vars):
14775 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14777 * calc/calc-ext.el (calc-init-extensions):
14778 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14779 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14781 * calc/calc-units.el (math-build-units-table-buffer):
14782 Let `calc-twos-complement-mode' be nil.
14784 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14787 * calc/calc-vec.el (calcFunc-vunpack):
14788 * calc/calc-aent.el (calc-do-calc-eval):
14789 * calc/calc-forms.el (math-format-date):
14790 * calc/calc-graph.el (calc-graph-plot):
14791 * calc/calc-math.el (math-use-emacs-fn):
14792 * calc/calccomp.el (math-compose-expr):
14793 Let `calc-twos-complement-mode' be nil.
14795 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14797 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14798 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14799 * minibuffer.el (completion-in-region-functions): New hook.
14800 (completion-in-region): New function.
14801 * emacs-lisp/lisp.el (lisp-complete-symbol):
14802 * pcomplete.el (pcomplete-std-complete): Use it.
14804 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14806 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14807 (latex-complete-alist): New vars.
14808 (latex-string-prefix-p, latex-complete-bibtex-keys)
14809 (latex-complete-envnames, latex-complete-refkeys)
14810 (latex-complete-data): New functions.
14811 (latex-complete, latex-indent-or-complete): New commands.
14813 * window.el (display-buffer-mark-dedicated): New var.
14814 (display-buffer): Obey it.
14815 * minibuffer.el (minibuffer-completion-help): Use it.
14817 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14819 * filecache.el (file-cache-add-file): Use push and cons.
14820 (file-cache-delete-file-regexp): Use push.
14821 (file-cache-complete): Use completion-in-region.
14823 * simple.el (with-wrapper-hook): Fix thinko.
14825 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14826 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14827 Use with-current-buffer and string-to-number.
14828 (hfy-fallback-colour-values): Use assoc-string.
14829 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14830 (hfy-face-at): Remove unused var `found-face'.
14831 (hfy-compile-stylesheet): Remove unused var `css'.
14832 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14834 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14835 Use with-current-buffer.
14836 (hfy-text-p): Use expand-file-name and fewer setq.
14838 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14840 * htmlfontify.el, hfy-cmap.el: New files.
14842 2009-11-19 Juri Linkov <juri@jurta.org>
14844 * minibuffer.el (completions-format): New defcustom.
14845 (completion--insert-strings): Implement vertical format.
14847 * simple.el (switch-to-completions): Move point to the first
14848 completion when point was at the beginning of the buffer.
14850 2009-11-19 Juri Linkov <juri@jurta.org>
14852 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14854 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14856 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14858 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14859 (mail-signature): Change default to t.
14860 (mail-from-style): Deprecate `system-default' value.
14861 (mail-insert-from-field): For default value of mail-from-style,
14862 default to `angles' unless `angles' needs quoting and `parens'
14864 (mail-citation-prefix-regexp): Use citation regexp from
14867 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14869 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14870 Set variables for computing the prompt for reading password.
14872 2009-11-19 Glenn Morris <rgm@gnu.org>
14874 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14876 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14878 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14879 (newsticker-treeview-listwindow-height): Fix custom type.
14881 2009-11-19 Kenichi Handa <handa@m17n.org>
14883 * descr-text.el (describe-char-padded-string): Compose with TAB
14884 only if there's a font for CH.
14885 (describe-char): Fix the condition for detecting a trivial composition.
14887 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14889 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14890 more accurate version of the regexp. (Bug#3910)
14892 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14894 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14896 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14898 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14899 (font-setting-change-default-font): Fix typo in docstring.
14901 2009-11-18 Alan Mackenzie <acm@muc.de>
14903 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14905 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14907 * font-setting.el (font-use-system-font): Move ...
14909 * cus-start.el (all): ... to here.
14911 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14913 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14914 Don't set `ad-return-value' if `ad-do-it' doesn't.
14916 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14919 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14921 * menu-bar.el: Put "Use system font" in Option-menu.
14922 (menu-bar-options-save): Add font-use-system-font.
14924 * loadup.el: If feature system-font-setting or font-render-setting is
14925 there, load font-setting.
14927 * Makefile.in (ELCFILES): Add font-settings.el.
14928 * font-setting.el: New file.
14930 2009-11-17 Glenn Morris <rgm@gnu.org>
14932 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14934 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14935 Preserve point in the list buffer. (Bug#4939)
14937 (newsticker--treeview-list-update-highlight)
14938 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14940 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14942 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14945 * calc/calc-ext.el (calc-init-extensions): Remove references to
14948 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14950 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14951 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14954 2009-11-16 Kevin Ryde <user42@zip.com.au>
14956 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14957 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14959 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14960 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14961 Ignore trailing spaces by omit-nulls to split-string (fixing
14962 regression from Emacs 21 due to the incompatible split-string
14963 change). (Bug #4928.)
14965 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14967 * vc.el (vc-log-show-limit): Default to 2000.
14968 (vc-print-log-internal): Insert buttons to request more entries
14969 when limiting the output.
14971 * vc-sccs.el (vc-sccs-print-log):
14972 * vc-rcs.el (vc-rcs-print-log):
14973 * vc-cvs.el (vc-cvs-print-log):
14974 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14977 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14979 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14980 error when `tramp-gvfs-dbus-event-vector' is set.
14981 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14983 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14985 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14987 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14989 * net/dbus.el (dbus-unregister-service): New defun.
14990 (dbus-register-property): Register the handlers of
14991 "org.freedesktop.DBus.Properties" for SERVICE.
14992 (dbus-property-handler): Fix docstring.
14994 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14996 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14997 Quote doc string reference in defvaralias as it is not in special form.
14998 (byte-compile-output-docform): Doc fix.
15000 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15002 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15003 (calc-complement-signed-mode): New variables.
15004 (calc-set-mode-line): Add indicator for twos-complements.
15005 (math-format-number): Format twos-complement notation.
15007 * calc/calc-bin.el (calc-word-size): Reset the variables
15008 `math-2-word-size' and `math-half-2-word-size'.
15009 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15010 (calc-symclip): New functions.
15012 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15014 * calc/calc-embed.el (calc-embedded-mode-vars):
15015 Add `calc-complement-signed-mode' to the list of modes.
15017 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15018 (calc-b-oper-keys): Add `calc-symclip' to list.
15020 * calc/calc-ext.el (math-read-number-fancy): Read complement
15022 (calc-init-extensions): Add binding for `calc-symclip'.
15023 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15025 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15027 (calc-modes-menu): Add item for twos complement mode.
15029 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15031 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15033 * register.el (jump-to-register, insert-register): Handle Semantic
15034 tags. From commented-out advice in semantic/senator.el.
15036 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15038 * vc.el (vc-log-show-limit): New variable.
15039 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15040 when using a prefix argument.
15041 (vc-print-log-internal): Add new argument LIMIT.
15043 * vc-svn.el (vc-svn-print-log):
15044 * vc-mtn.el (vc-mtn-print-log):
15045 * vc-hg.el (vc-hg-print-log):
15046 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15047 pass it to the log command when set. Make the BUFFER argument
15050 * vc-sccs.el (vc-sccs-print-log):
15051 * vc-rcs.el (vc-rcs-print-log):
15052 * vc-git.el (vc-git-print-log):
15053 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15054 ignore it. Make the BUFFER argument non-optional
15056 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15058 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15060 * dired.el (dired-mode-map): Move encryption items to "Operate"
15063 * strokes.el (strokes-update-window-configuration): Make strokes
15064 buffer current before erasing (Bug#4906).
15066 2009-11-15 Juri Linkov <juri@jurta.org>
15068 * simple.el (set-mark-default-inactive): Add :type, :group
15069 and :version. (Bug#4876)
15071 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15073 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15074 (archive-unique-fname): ... here. (Bug#4929)
15076 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15078 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15081 * novice.el (disabled-command-function): Add useful args.
15082 Setup the help buffer so that [back] works.
15083 Remove redundant call to help-mode.
15084 (disabled-command-function): Use `case'.
15085 (en/disable-command): New function extracted from enable-command.
15086 (enable-command, disable-command): Use it.
15088 2009-11-14 Glenn Morris <rgm@gnu.org>
15090 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15091 constants. (Bug#4913)
15093 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15095 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15097 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15098 defined in C that have no doc-strings. (Bug#1063)
15100 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15102 * cus-edit.el (data, files):
15103 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15105 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15107 * simple.el (shell-command): Doc fix (Bug#4891).
15109 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15111 2009-11-14 Glenn Morris <rgm@gnu.org>
15113 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15114 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15115 If they are already loaded, eval-after-load will do the right thing.
15117 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15120 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15122 * simple.el (x-selection-owner-p): Declare.
15123 (read-mail-command): Use custom radio type rather than choice.
15124 (completion-no-auto-exit): Doc fix.
15126 * custom.el (defgroup):
15127 * epg-config.el (epg): Doc fixes.
15129 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15131 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15132 * international/ccl.el (define-ccl-program): Do not purecopy the
15133 docstring, defconst does it anyway.
15135 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15137 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15140 * x-dnd.el (x-dnd-maybe-call-test-function):
15141 * window.el (split-window-vertically):
15142 * whitespace.el (whitespace-help-on):
15143 * vc-rcs.el (vc-rcs-consult-headers):
15144 * userlock.el (ask-user-about-lock-help)
15145 (ask-user-about-supersession-help):
15146 * type-break.el (type-break-force-mode-line-update):
15147 * time-stamp.el (time-stamp-conv-warn):
15148 * terminal.el (te-set-output-log, te-more-break, te-filter)
15149 (te-sentinel, terminal-emulator):
15150 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15151 (term-write-input-ring, term-check-source, term-start-output-log):
15152 (term-display-buffer-line, term-dynamic-list-completions):
15153 (term-ansi-make-term, serial-term):
15154 * subr.el (selective-display):
15155 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15156 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15157 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15158 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15159 (speedbar-remove-localized-speedbar-support)
15160 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15161 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15162 (speedbar-buffers-line-directory):
15163 * simple.el (shell-command-on-region, append-to-buffer)
15164 (prepend-to-buffer):
15165 * shadowfile.el (shadow-save-todo-file):
15166 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15167 (scroll-bar-maybe-set-window-start):
15168 * sb-image.el (speedbar-image-dump):
15169 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15170 (load-save-place-alist-from-file):
15171 * ps-samp.el (ps-print-message-from-summary):
15172 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15173 (ps-background-image, ps-begin-job, ps-do-despool):
15174 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15175 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15176 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15177 (pr-call-process, pr-file-list, pr-interface-save):
15178 * novice.el (disabled-command-function)
15179 (enable-command, disable-command):
15180 * mouse.el (mouse-buffer-menu-alist):
15181 * mouse-copy.el (mouse-kill-preserving-secondary):
15182 * macros.el (kbd-macro-query):
15183 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15184 * informat.el (batch-info-validate):
15185 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15186 * hippie-exp.el (try-expand-dabbrev-visible):
15187 * help-mode.el (help-make-xrefs):
15188 * help-fns.el (describe-variable):
15189 * generic-x.el (bat-generic-mode-run-as-comint):
15190 * finder.el (finder-mouse-select):
15191 * find-dired.el (find-dired-sentinel):
15192 * filesets.el (filesets-file-close):
15193 * files.el (list-directory):
15194 * faces.el (list-faces-display, describe-face):
15195 * facemenu.el (list-colors-display):
15196 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15197 * epg.el (epg--process-filter, epg-cancel):
15198 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15199 (epa--read-signature-type):
15200 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15201 (emerge-file-names):
15202 * ehelp.el (electric-helpify):
15203 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15204 * ediff-vers.el (rcs-ediff-view-revision):
15205 * ediff-util.el (ediff-setup):
15206 * ediff-mult.el (ediff-append-custom-diff):
15207 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15209 * echistory.el (Electric-command-history-redo-expression):
15210 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15211 * disp-table.el (describe-display-table):
15212 * dired.el (dired-find-buffer-nocreate):
15213 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15214 * dabbrev.el (dabbrev--same-major-mode-p):
15215 * chistory.el (list-command-history):
15216 * apropos.el (apropos-documentation):
15217 * allout.el (allout-obtain-passphrase):
15218 (allout-copy-exposed-to-buffer):
15219 (allout-verify-passphrase): Use with-current-buffer.
15221 2009-11-13 Glenn Morris <rgm@gnu.org>
15223 * Makefile.in (ELCFILES): Regenerate.
15225 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15227 * net/dbus.el (dbus-registered-objects-table): Rename from
15228 `dbus-registered-functions-table', because it contains also properties.
15229 (dbus-unregister-object): Unregister also properties.
15230 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15231 Use a timeout of 500 msec, in order to not block.
15232 (dbus-register-property, dbus-property-handler): New defuns.
15234 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15236 * simple.el (minibuffer-default-add-completions): Drop deprecated
15239 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15241 * textmodes/artist.el (artist-mouse-choose-operation):
15242 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15243 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15244 (artist-compute-up-event-key): New function.
15245 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15247 2009-11-13 Kenichi Handa <handa@m17n.org>
15249 * language/japan-util.el: Make sure that the value of jisx0208
15250 property is jisx0208 character.
15252 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15254 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15255 car or each item, not the whole list.
15257 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15259 * minibuffer.el (minibuffer-completion-help):
15260 Use minibuffer-hide-completions.
15262 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15264 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15265 (dired-revert): Use them (bug#4880).
15267 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15269 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15271 2009-11-12 Juri Linkov <juri@jurta.org>
15273 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15275 (find-file-literally-at-point): Alias of `ffap-literally'.
15277 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15279 * textmodes/ispell.el (ispell-skip-region-alist):
15280 * textmodes/css-mode.el (auto-mode-alist):
15281 * progmodes/compile.el (auto-mode-alist):
15282 * international/mule.el (ctext-non-standard-encodings-alist)
15283 (ctext-non-standard-encodings-regexp):
15284 * simple.el (shell-command-switch, text-read-only):
15285 * replace.el (occur-mode-map):
15286 * paths.el (rmail-file-name):
15287 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15288 * find-file.el (ff-special-constructs):
15289 * files.el (file-name-handler-alist):
15290 * composite.el: Purecopy strings.
15292 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15294 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15296 * widget.el (define-widget): Purecopy the docstring.
15297 * international/mule-cmds.el (charset): Do not purecopy the
15298 docstring here, define-widget does it.
15300 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15301 * textmodes/bibtex-style.el (auto-mode-alist):
15302 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15303 * progmodes/compile.el (compile-command):
15304 * language/korea-util.el (default-korean-keyboard):
15305 * international/mule-conf.el (file-coding-system-alist):
15306 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15307 * tooltip.el (tooltip-frame-parameters):
15308 * newcomment.el (comment-end, comment-padding):
15309 * dired.el (dired-trivial-filenames):
15310 * comint.el (comint-file-name-prefix): Purecopy initial values.
15312 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15314 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15315 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15317 (tramp-advice-make-auto-save-file-name)
15318 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15319 after removing the advice.
15321 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15323 * progmodes/grep.el (grep-regexp-alist):
15324 * international/mule-cmds.el (iso-2022-control-alist):
15325 * emacs-lisp/timer.el (timer-duration-words):
15326 * subr.el (version-separator, version-regexp-alist):
15327 * minibuffer.el (completion-styles-alist):
15328 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15329 Change defvars to defconsts.
15331 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15332 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15333 * international/mule-conf.el: Allow to be byte compiled.
15335 * international/mule.el (define-charset): Purecopy props.
15336 (load-with-code-conversion): Purecopy doc string and file name.
15337 (put-charset-property): Purecopy strings.
15338 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15340 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15341 (define-char-code-property): Correctly purecopy the table.
15343 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15345 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15347 * subr.el (add-hook): Purecopy strings.
15348 (eval-after-load): Purecopy load-history-regexp and the form.
15350 * custom.el (custom-declare-group): Purecopy load-file-name.
15352 * subr.el (menu-bar-separator): New defconst.
15353 * net/eudc.el (eudc-tools-menu):
15354 * international/mule-cmds.el (set-coding-system-map)
15355 (mule-menu-keymap):
15356 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15357 * vc-hooks.el (vc-menu-map):
15358 * replace.el (occur-mode-map):
15359 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15360 (menu-bar-edit-menu, menu-bar-goto-menu)
15361 (menu-bar-custom-menu, menu-bar-showhide-menu)
15362 (menu-bar-options-menu, menu-bar-tools-menu)
15363 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15364 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15365 (menu-bar-help-menu):
15366 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15367 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15369 * term/x-win.el (x-gtk-stock-map):
15370 * progmodes/vera-mode.el (auto-mode-alist):
15371 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15372 (inferior-lisp-program, inferior-lisp-load-command):
15373 * progmodes/hideshow.el (hs-special-modes-alist):
15374 * progmodes/gud.el (same-window-regexps):
15375 * progmodes/grep.el (grep-program, find-program, xargs-program):
15376 * net/telnet.el (same-window-regexps):
15377 * net/rlogin.el (same-window-regexps):
15378 * language/ethiopic.el (font-ccl-encoder-alist):
15379 * vc-sccs.el (vc-sccs-master-templates):
15380 * vc-rcs.el (vc-rcs-master-templates):
15381 * subr.el (cl-assertion-failed):
15382 * simple.el (next-error-overlay-arrow-position):
15383 * lpr.el (lpr-command):
15384 * locate.el (locate-ls-subdir-switches):
15385 * info.el (same-window-regexps, info)
15386 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15387 * image-mode.el (image-mode, auto-mode-alist):
15388 * hippie-exp.el (hippie-expand-ignore-buffers):
15389 * format.el (format-alist):
15390 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15392 * facemenu.el (facemenu-keybindings):
15393 * dired.el (dired-listing-switches, dired-chown-program):
15394 * diff.el (diff-switches, diff-command):
15395 * cus-edit.el (same-window-regexps):
15396 * bindings.el (mode-line-mule-info)
15397 (mode-line-buffer-identification): Purecopy strings.
15399 2009-11-11 Juri Linkov <juri@jurta.org>
15401 * simple.el (dired-get-filename) <declare-function>:
15402 Tell the byte-compiler about dired-get-filename.
15403 (shell-command): In Dired mode, get filename from the current line
15404 as the default value.
15406 2009-11-10 Glenn Morris <rgm@gnu.org>
15408 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15409 * calendar/holidays.el, progmodes/cperl-mode.el:
15410 Update x-popup-menu declarations.
15412 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15413 (list-load-path-shadows): Use dolist.
15414 (list-load-path-shadows): Use with-current-buffer.
15416 2009-11-10 Juri Linkov <juri@jurta.org>
15418 * minibuffer.el (read-file-name): Support a list of default values
15419 in `default-filename'. Use the first file name where only one
15420 element is required. Doc fix.
15422 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15424 * net/dbus.el (dbus-unregister-object): Release service, if no
15425 other method is registered for it.
15427 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15429 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15430 bookmark-sort-flag is non-nil (Bug#4653).
15432 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15434 * emulation/cua-base.el: Add CUA property to some CC mode commands
15437 2009-11-08 Kevin Ryde <user42@zip.com.au>
15439 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15440 at end of sentence (Bug#4818).
15442 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15444 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15445 Handle "see declaration of" MSFT statements (Bug#4100).
15447 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15449 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15450 (tramp-advice-file-expand-wildcards): Unload via
15451 `ad-remove-advice'.
15453 * net/trampver.el: Update release number.
15455 2009-11-08 Kevin Ryde <user42@zip.com.au>
15457 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15460 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15462 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15463 in order to keep context in SELinux.
15465 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15467 * dired-aux.el (dired-query): Place cursor in echo area and allow
15470 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15471 menu item if not on a directory (Bug#4701).
15473 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15475 Sync with Tramp 2.1.17.
15477 * net/tramp.el (tramp-handle-copy-directory): Don't use
15478 `file-remote-p' (due to compatibility).
15480 * net/tramp-compat.el (tramp-compat-copy-directory)
15481 (tramp-compat-delete-directory): New defuns.
15483 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15484 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15485 Use `tramp-compat-delete-directory'.
15487 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15488 (tramp-smb-handle-delete-directory):
15489 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15491 * net/trampver.el: Update release number.
15493 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15495 * tar-mode.el (tar-copy): Call write-region on the right buffer
15498 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15499 by hand, if necessary (Bug#4878).
15501 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15503 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15504 align size column (Bug#4839).
15506 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15509 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15511 * progmodes/ld-script.el (auto-mode-alist):
15512 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15514 * cus-face.el (custom-declare-face): Purecopy face spec.
15516 2009-11-06 Kenichi Handa <handa@m17n.org>
15518 * international/uni-bidi.el: Re-generated.
15519 * international/uni-category.el: Re-generated.
15520 * international/uni-combining.el: Re-generated.
15521 * international/uni-mirrored.el: Re-generated.
15523 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15525 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15526 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15527 (tex-start-options, slitex-run-command, latex-run-command)
15528 (tex-run-command, tex-directory):
15529 * textmodes/ispell.el (ispell-html-skip-alists)
15530 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15531 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15532 (adaptive-fill-regexp):
15533 * textmodes/dns-mode.el (auto-mode-alist):
15534 * progmodes/python.el (interpreter-mode-alist):
15535 * progmodes/etags.el (tags-compression-info-list):
15536 * progmodes/etags.el (tags-file-name):
15537 * net/browse-url.el (browse-url-galeon-program)
15538 (browse-url-firefox-program):
15539 * mail/sendmail.el (mail-signature-file)
15540 (mail-citation-prefix-regexp):
15541 * international/mule-conf.el (eight-bit):
15542 * international/latexenc.el (latex-inputenc-coding-alist):
15543 * international/fontset.el (x-pixel-size-width-font-regexp):
15544 * emacs-lisp/warnings.el (warning-type-format):
15545 * emacs-lisp/trace.el (trace-buffer):
15546 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15547 (emacs-lisp-mode-map):
15548 * calendar/holidays.el (holiday-solar-holidays)
15549 (holiday-bahai-holidays, holiday-islamic-holidays)
15550 (holiday-christian-holidays, holiday-hebrew-holidays)
15551 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15552 (hebrew-holidays-1, holiday-oriental-holidays)
15553 (holiday-general-holidays):
15554 * x-dnd.el (x-dnd-known-types):
15555 * tool-bar.el (tool-bar):
15556 * startup.el (site-run-file):
15557 * shell.el (shell-dumb-shell-regexp):
15558 * rfn-eshadow.el (file-name-shadow-tty-properties)
15559 (file-name-shadow-properties):
15560 * paths.el (remote-shell-program, news-directory):
15561 * mouse.el ([C-down-mouse-3]):
15562 * menu-bar.el (menu-bar-tools-menu):
15563 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15564 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15565 (jka-compr-compression-info-list):
15566 * isearch.el (search-whitespace-regexp):
15567 * image-file.el (image-file-name-extensions):
15568 * find-dired.el (find-ls-option):
15569 * files.el (directory-listing-before-filename-regexp)
15570 (directory-free-space-args, insert-directory-program)
15571 (list-directory-brief-switches, magic-fallback-mode-alist)
15572 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15573 (automount-dir-prefix):
15574 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15575 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15576 (face-font-registry-alternatives, face-font-registry-alternatives)
15577 (face-font-family-alternatives):
15578 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15579 (facemenu-foreground-menu, facemenu-face-menu):
15580 * epa-hook.el (epa-file-name-regexp):
15581 * dnd.el (dnd-protocol-alist):
15582 * textmodes/rst.el (auto-mode-alist):
15583 * button.el (default-button): Purecopy strings.
15585 2009-11-06 Glenn Morris <rgm@gnu.org>
15587 * Makefile.in (ELCFILES): Update.
15589 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15591 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15592 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15594 * nxml/xsd-regexp.el (xsdre-gen-categories):
15595 * nxml/xmltok.el (xmltok-parse-entity):
15596 * nxml/rng-parse.el (rng-parse-validate-file):
15597 * nxml/rng-maint.el (rng-format-manual)
15598 (rng-manual-output-force-new-line):
15599 * nxml/rng-loc.el (rng-save-schema-location-1):
15600 * nxml/rng-cmpct.el (rng-c-parse-file):
15601 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15602 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15604 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15606 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15607 Remove extra save-excursions and make-variable-buffer-local's.
15608 Suggested by Stefan Monnier.
15610 (verilog-getopt-file, verilog-module-inside-filename-p)
15611 (verilog-set-define): Merge GNU 1.35 and repair changes from
15612 switching to using with-current-buffer.
15614 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15615 being treated as a number and confusing AUTORESET.
15616 Reported by Dan Dever.
15618 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15619 Add verilog-auto-ignore-concat to fix backward compatibility with
15620 older verilog-modes. Reported by Dan Katz.
15622 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15623 containing closing anchors "...$".
15625 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15626 Reported by Wade Smith.
15628 (verilog-batch-execute-func): Comment on function usage.
15630 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15632 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15635 (verilog-label-re, verilog-calc-1): Support proper indent of named
15638 (verilog-backward-token, verilog-basic-complete-re)
15639 (verilog-beg-of-statement, verilog-indent-re): Support proper
15640 indent of the assert statement at the beginning of a block of text.
15642 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15643 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15646 2009-11-05 Glenn Morris <rgm@gnu.org>
15648 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15649 Emacs 19. (Bug#1531)
15650 (byte-compile-fix-header): Update for the above change.
15651 Drop test for epoch::version.
15653 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15654 * cus-dep.el (custom-make-dependencies):
15655 * finder.el (finder-compile-keywords):
15656 Use autoload-rubric's feature argument.
15658 * calendar/diary-lib.el (top-level): Make load behave more like require.
15660 * vc-git.el (vc-git-stash-map): Move definition before use.
15662 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15664 * custom.el (custom-declare-group): Purecopy standard-value.
15665 (custom-declare-group): Purecopy custom-prefix.
15667 * international/mule.el (load-with-code-conversion):
15668 Call do-after-load-evaluation unconditionally.
15670 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15672 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15674 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15676 2009-11-04 Glenn Morris <rgm@gnu.org>
15678 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15679 (byte-compile-compatibility): Remove option.
15680 (byte-compile-close-variables, byte-compile-fix-header)
15681 (byte-compile-insert-header, byte-compile-output-docform)
15682 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15683 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15684 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15685 (byte-compile-insert, byte-compile-defun):
15686 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15687 (byte-defop-compiler19): Remove.
15688 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15689 used by anything. Replace all calls with byte-defop-compiler.
15691 2009-11-04 Juri Linkov <juri@jurta.org>
15693 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15694 (menu-bar-options-menu): Don't quote the `prop' arg of
15695 `menu-bar-make-mm-toggle'.
15697 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15699 * calendar/calendar.el (cal-loaddefs):
15700 * calendar/diary-lib.el (diary-loaddefs):
15701 * calendar/holidays.el (hol-loaddefs):
15702 * eshell/esh-module.el (esh-groups): Load rather than require.
15704 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15706 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15708 (todo-top-priorities): Only display-buffer when called interactively.
15709 (todo-item-start): Don't save excursion point.
15710 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15711 (todo-insert-item-here, todo-file-item, todo-remove-item):
15712 Adjust uses of todo-item-start and todo-item-end.
15714 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15715 (autoload-rubric): Don't use any more.
15717 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15718 and only put a prop if it is non-nil.
15720 2009-11-03 Juri Linkov <juri@jurta.org>
15722 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15723 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15725 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15726 and "Menu" to make top-level menu item visually one unit (like
15727 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15728 multi-word menu items). Fix :help string for quit-window.
15730 2009-11-03 Glenn Morris <rgm@gnu.org>
15732 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15733 (byte-compile-file-form-define-abbrev-table)
15734 (byte-compile-file-form-custom-declare-variable)
15735 (byte-compile-variable-ref, byte-compile-defvar):
15736 Whether or not a warning is enabled should only affect whether we issue
15737 the warning, not whether or not we collect the relevant data.
15738 Eg warnings can be turned on and off throughout the course of a file.
15740 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15741 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15743 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15745 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15746 * play/mpuz.el (mpuz-create-buffer):
15747 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15748 (lm-print-y,s,noise, lm-print-w0, lm-init):
15749 * play/gomoku.el (gomoku-prompt-for-move):
15750 * play/fortune.el (fortune-in-buffer):
15751 * play/dissociate.el (dissociated-press):
15752 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15753 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15754 * mail/supercite.el (sc-eref-show):
15755 * mail/smtpmail.el (smtpmail-send-it):
15756 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15757 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15758 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15759 (rmail-summary-goto-msg, rmail-summary-expunge)
15760 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15761 (rmail-summary-add-label, rmail-summary-output-menu)
15762 (rmail-summary-output-body):
15763 * mail/rfc822.el (rfc822-addresses):
15764 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15765 * mail/mailpost.el (post-mail-send-it):
15766 * mail/hashcash.el (hashcash-generate-payment):
15767 * mail/feedmail.el (feedmail-run-the-queue)
15768 (feedmail-queue-send-edit-prompt-help-first)
15769 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15770 (feedmail-deduce-address-list):
15771 * eshell/esh-ext.el (eshell-remote-command):
15772 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15773 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15774 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15775 (viper-save-string-in-file, viper-valid-marker):
15776 * emulation/viper-keym.el (viper-toggle-key):
15777 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15778 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15779 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15780 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15781 (viper-exec-form-in-emacs, viper-brac-function):
15782 * emulation/viper.el (viper-delocalize-var):
15783 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15784 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15785 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15786 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15787 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15788 * emulation/edt.el (edt-electric-helpify):
15789 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15790 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15791 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15792 (cua-indent-to-global-mark-column):
15793 * calendar/diary-lib.el (calendar-mark-1):
15794 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15795 Use with-current-buffer.
15796 * emulation/viper.el (viper-delocalize-var): Use dolist.
15798 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15800 * comint.el (comint-replace-by-expanded-history-before-point):
15801 Replace !! with the previous input string literally (Bug#1795).
15803 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15805 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15806 to be made up of whitespace.
15808 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15810 * minibuffer.el (read-file-name): Don't use file dialogs for
15811 remote directories (Bug#99).
15813 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15815 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15817 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15819 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15820 instead of deleting the window or frame.
15822 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15824 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15825 Support face colors.
15827 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15828 New function. Support face colors (Bug#1168).
15829 (tex-common-initialization): Use it.
15831 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15832 mode allows it (Bug#1168).
15834 2009-10-31 Juri Linkov <juri@jurta.org>
15836 * facemenu.el (list-colors-display): Don't mark buffer as
15837 modified (Bug#3948).
15839 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15841 * international/mule-diag.el (list-character-sets-1):
15842 Minor message fix (Bug#3526).
15844 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15845 Fix face property (Bug#4834).
15846 (etags-list-tags, etags-tags-apropos-additional)
15847 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15850 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15853 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15855 * textmodes/two-column.el (2C-split):
15856 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15857 * textmodes/tex-mode.el (tex-set-buffer-directory):
15858 * textmodes/spell.el (spell-region, spell-string):
15859 * textmodes/reftex.el (reftex-erase-buffer):
15860 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15861 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15862 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15863 (reftex-select-item):
15864 * textmodes/reftex-ref.el (reftex-label-info-update)
15865 (reftex-offer-label-menu):
15866 * textmodes/reftex-index.el (reftex-index-change-entry)
15867 (reftex-index-phrases-info):
15868 * textmodes/reftex-global.el (reftex-create-tags-file)
15869 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15870 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15871 (reftex-view-crossref-from-bibtex):
15872 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15873 (reftex-extract-bib-entries-from-thebibliography)
15874 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15875 * textmodes/refbib.el (r2b-capitalize-title):
15876 (r2b-convert-buffer, r2b-help):
15877 * textmodes/page-ext.el (pages-directory)
15878 (pages-directory-goto-with-mouse):
15879 * textmodes/bibtex.el (bibtex-validate-globally):
15880 * textmodes/bib-mode.el (bib-capitalize-title):
15881 * textmodes/artist.el (artist-clear-buffer, artist-system):
15882 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15883 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15884 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15885 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15886 (xscheme-send-control-g-interrupt, xscheme-start-process)
15887 (xscheme-process-sentinel, xscheme-cd):
15888 * progmodes/verilog-mode.el (verilog-read-always-signals)
15889 (verilog-set-define, verilog-getopt-file)
15890 (verilog-module-inside-filename-p):
15891 * progmodes/sh-script.el:
15892 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15893 (python-pdbtrack-grub-for-buffer, python-execute-file):
15894 * progmodes/octave-inf.el (inferior-octave):
15895 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15896 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15897 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15898 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15899 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15900 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15901 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15902 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15903 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15904 (idlwave-shell-examine-display, idlwave-shell-run-region)
15905 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15906 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15907 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15908 (idlwave-help-get-help-buffer):
15909 * progmodes/gud.el (gud-basic-call, gud-find-class)
15910 (gud-tooltip-activate-mouse-motions-if-enabled):
15911 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15912 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15913 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15914 (ebrowse-tags-next-file):
15915 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15916 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15917 (ebnf-eps-finish-and-write):
15918 * progmodes/cpp.el (cpp-edit-save):
15919 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15920 * progmodes/cc-defs.el (c-emacs-features):
15921 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15922 (antlr-directory-dependencies):
15923 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15924 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15925 (ada-find-any-references, ada-make-filename-from-adaname)
15926 (ada-make-body-gnatstub):
15927 * obsolete/rnews.el (news-list-news-groups):
15928 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15929 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15930 * net/rcirc.el (rcirc-debug):
15931 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15932 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15933 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15934 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15935 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15936 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15937 (newsticker--treeview-list-clear-highlight)
15938 (newsticker--treeview-list-update-highlight)
15939 (newsticker--treeview-list-highlight-start)
15940 (newsticker--treeview-tree-update-highlight)
15941 (newsticker--treeview-get-selected-item)
15942 (newsticker-treeview-mark-list-items-old)
15943 (newsticker--treeview-set-current-node):
15944 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15945 * net/newst-backend.el (newsticker--get-news-by-funcall)
15946 (newsticker--get-news-by-wget, newsticker--image-get)
15947 (newsticker--image-sentinel):
15948 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15949 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15950 (eudc-ph-close-session):
15951 * net/eudc.el (eudc-save-options):
15952 * language/thai-word.el (thai-update-word-table):
15953 * language/japan-util.el (japanese-string-conversion):
15954 * international/titdic-cnv.el (tsang-quick-converter)
15955 (ziranma-converter, ctlau-converter):
15956 * international/mule-cmds.el (describe-language-environment):
15957 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15958 (skkdic-convert-postfix, skkdic-convert-prefix):
15959 (skkdic-convert-okuri-nasi, skkdic-convert):
15960 * emacs-lisp/re-builder.el (reb-update-overlays):
15961 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15962 * emacs-lisp/gulp.el (gulp-send-requests):
15963 * emacs-lisp/find-gc.el (trace-call-tree):
15964 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15965 (eieio-describe-generic):
15966 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15967 * emacs-lisp/edebug.el (edebug-outside-excursion):
15968 * emacs-lisp/debug.el (debugger-make-xrefs):
15969 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15970 * emacs-lisp/chart.el (chart-new-buffer):
15971 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15972 Use with-current-buffer.
15973 * textmodes/artist.el (artist-system): Don't call
15974 copy-sequence on a fresh string.
15975 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15977 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15979 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15980 is no item to edit. (Bug#4820)
15981 (todo-top-priorities): Restore point and restore narrowing in Todo
15984 2009-10-31 Glenn Morris <rgm@gnu.org>
15986 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15987 (comint-last-output-start, comint-last-input-start)
15988 (comint-last-input-end): Don't defvar when compiling.
15989 (ange-ftp-process-file): Use bound-and-true-p.
15991 * pcmpl-rpm.el (top-level): Move provide statement to end.
15992 (pcmpl-rpm): Remove unused custom group.
15994 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15996 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15998 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15999 (byte-compile-warnings): Add `constants' as an option.
16000 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16001 (display-call-tree): Update for byte-compile-fdefinition possibly
16002 returning `(macro lambda ...)'. (Bug#4778)
16003 (byte-compile-variable-ref, byte-compile-setq-default):
16004 Respect `constants' member of byte-compile-warnings.
16006 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16008 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16009 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16012 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16014 * textmodes/ispell.el (ispell-skip-region-alist):
16015 * international/mule-conf.el (eight-bit):
16016 * international/fontset.el (font-encoding-alist):
16017 * startup.el (pure-space-overflow-message):
16018 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16019 * paths.el (gnus-nntp-service, rmail-spool-directory)
16020 (term-file-prefix):
16021 * files.el (save-some-buffers-action-alist):
16022 * cmuscheme.el (same-window-buffer-names):
16023 * ielm.el (same-window-buffer-names):
16024 * shell.el (same-window-buffer-names):
16025 * mail/sendmail.el (same-window-buffer-names):
16026 * progmodes/inf-lisp.el (same-window-buffer-names):
16027 * bindings.el (mode-line-client)
16028 (mode-line-column-line-number-mode-map):
16029 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16030 (tibetan-precomposed-regexp): Purecopy string arguments.
16032 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16034 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16035 (calcDigit-nondigit):
16036 * calc/calc-yank.el (calc-copy-to-buffer):
16037 * calc/calc-units.el (calc-invalidate-units-table):
16038 * calc/calc-trail.el (calc-trail-yank):
16039 * calc/calc-store.el (calc-insert-variables):
16040 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16041 * calc/calc-prog.el (calc-read-parse-table):
16042 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16043 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16044 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16045 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16046 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16047 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16048 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16049 * calc/calc-ext.el (calc-realign):
16050 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16051 (calc-embedded-finish-edit, calc-embedded-make-info)
16052 (calc-embedded-finish-command, calc-embedded-stack-change):
16053 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16055 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16056 shell-dynamic-complete-filename in preference to
16057 comint-dynamic-complete-filename.
16059 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16060 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16061 Don't consider whether the display supports colors.
16062 (bookmark-import-new-list): Use dolist.
16063 (bookmark-bmenu-mode-map): Move initialization into declaration.
16064 (bookmark-bmenu-list): Use dolist, simplify.
16065 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16066 (menu-bar-final-items): Use push.
16068 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16070 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16071 it works on remote files.
16072 (vc-hg-diff): Don't pass any `--cwd' argument.
16074 2009-10-27 Kevin Ryde <user42@zip.com.au>
16076 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16077 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16078 (Further to Bug#3921).
16080 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16082 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16083 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16084 calling `tramp-imap-put-file'. Add file size to the call.
16085 (tramp-imap-get-file-entries): Compute also user name, file size,
16087 (tramp-imap-handle-insert-directory): Insert uid and gid.
16088 (tramp-imap-handle-file-attributes): Transform uid and gid
16089 according to `id-format'.
16090 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16091 size in header X-Size.
16093 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16095 * simple.el (transpose-subr): Give clearer error when the mark
16096 is not set. (Bug#4807)
16098 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16100 * net/tramp.el (tramp-perl-file-truename): New defconst.
16101 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16102 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16103 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16104 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16106 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16107 Ignore `dired-call-process'.
16108 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16110 2009-10-26 Julian Scheid <julians37@gmail.com>
16112 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16113 (tramp-get-remote-readlink): New defun.
16114 (tramp-handle-file-truename): Use it.
16115 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16116 file exists if cache value present.
16117 (tramp-check-cached-permissions): New defun.
16118 (tramp-handle-file-readable-p): Use it.
16119 (tramp-handle-file-writable-p): Likewise.
16120 (tramp-handle-file-executable-p): Likewise.
16121 (tramp-handle-file-name-all-completions): Try using Perl to get
16122 partial completions. When perl not available, combine `cd' and
16123 `ls' into single remote operation and use shell expansion to get
16124 partial remote directory contents. Set `file-exists-p' cache for
16125 directory and any files returned by ls. Change cache handling to
16126 support partial directory contents. Use error message emitted by
16127 remote `cd' or Perl code for local tramp-error.
16128 (tramp-do-copy-or-rename-file-directly): Avoid separate
16129 tramp-send-command-and-check call.
16130 (tramp-handle-process-file): Merge three remote ops into one.
16131 Do not flush all caches when `process-file-side-effects' is set.
16132 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16133 file-attributes shows uid/gid to be set already.
16135 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16137 * textmodes/tex-mode.el (tex-dvi-view-command)
16138 (tex-show-queue-command, tex-open-quote):
16139 * progmodes/ruby-mode.el (auto-mode-alist)
16140 (interpreter-mode-alist): Purecopy strings.
16142 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16144 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16145 string for the hook, keymap and abbrev table.
16147 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16149 * x-dnd.el (x-dnd-xdnd-to-action):
16150 * startup.el (fancy-startup-text, fancy-about-text): Change to
16151 defconst from defvar.
16153 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16155 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16156 Purecopy initialization strings.
16158 * mail/sendmail.el (mail-header-separator)
16159 (mail-personal-alias-file):
16160 * mail/rmail.el (rmail-default-dont-reply-to-names)
16161 (rmail-ignored-headers, rmail-retry-ignored-headers)
16162 (rmail-highlighted-headers, rmail-secondary-file-directory)
16163 (rmail-secondary-file-regexp):
16164 * files.el (null-device, file-name-invalid-regexp)
16165 (locate-dominating-stop-dir-regexp)
16166 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16167 (interpreter-mode-alist): Use mapcar instead of mapc.
16169 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16171 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16172 (completion-ignored-extensions):
16173 (debug-ignored-errors): Purecopy strings.
16175 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16177 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16178 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16179 (pcomplete--here): Use push.
16181 * subr.el (all-completions): Declare the 4th arg obsolete.
16183 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16185 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16186 (pcomplete-unquote-argument): New function.
16187 (pcomplete--common-suffix): Always pay attention to case.
16188 (pcomplete--table-subvert): Quote and unquote the text.
16189 (pcomplete--common-quoted-suffix): New function.
16190 (pcomplete-std-complete): Use it and pcomplete-begin.
16192 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16193 we're inside a dedicated or minibuffer window.
16195 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16197 * bookmark.el: Update documentation, especially documentation
16198 of `bookmark-alist' and of the bookmark file format.
16199 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16201 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16203 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16204 keybindings apply to the mail buffer (Bug#4003). Shrink help
16207 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16208 (global-whitespace-mode, global-whitespace-newline-mode)
16209 (whitespace-toggle-options, global-whitespace-toggle-options):
16210 Doc fix (Bug#3660).
16212 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16213 of xmltok-start before the end tag was inserted (Bug#2840).
16215 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16216 patterns that are preceded by an open-paren (Bug#1320).
16218 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16220 * files.el (delete-directory): Delete symlinks to directories with
16221 delete-file (Bug#4739).
16223 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16225 * vc.el (vc-backend-for-registration): Rename from
16226 vc-get-backend-for-registration. Update callers.
16228 * international/mule-cmds.el (set-language-info-alist):
16230 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16231 (charset): Purecopy the name.
16232 (define-char-code-property): Purecopy string arguments.
16234 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16235 Purecopy string arguments.
16237 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16238 * ediff-hook.el (menu-bar-ediff-menu):
16239 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16240 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16242 2009-10-24 Glenn Morris <rgm@gnu.org>
16244 * comint.el (comint-dynamic-list-completions):
16245 * term.el (term-dynamic-list-completions): Use choose-completion rather
16246 than obsolete alias mouse-choose-completion.
16248 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16249 file-cache-choose-completion.
16250 (file-cache-choose-completion): Handle an optional event argument.
16251 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16253 * progmodes/octave-mod.el (octave-complete-symbol):
16254 Use choose-completion if mouse-choose-completion is ever removed.
16256 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16259 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16262 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16264 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16266 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16267 Ignore `pred' now that we receive one.
16268 Handle test-completion specially.
16270 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16272 * vc.el (vc-responsible-backend): Throw an error if not backend is
16273 found. Remove the REGISTER argument. Move the code dealing with
16275 (vc-get-backend-for-registration): ... here. New function.
16276 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16277 of vc-responsible-backend, pass the file name instead of the
16280 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16282 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16284 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16285 (pcomplete-comint-setup): Don't modify a global var via
16286 accidental side-effects.
16287 (pcomplete-shell-setup): Adjust call accordingly.
16288 (pcomplete-parse-comint-arguments): Use push.
16290 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16292 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16293 Allow uncapitalized info node names (Bug#3921).
16295 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16296 to the DEBUG file (Bug#3781).
16298 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16300 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16301 dictionary entry (Bug#4579).
16303 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16305 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16306 from `rfn-eshadow-update-overlay-hook' when unloading.
16307 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16308 "rsyncc". Adjust doc string.
16309 (tramp-temp-buffer-file-name): New buffer-local defvar.
16310 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16311 Keep temporary file when indicated by method ("rsync" and
16313 (tramp-handle-write-region): Handle APPEND.
16314 (tramp-delete-temp-file-function): New defun. Added to
16315 `kill-buffer-hook'.
16317 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16319 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16321 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16323 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16324 (color-name-rgb-alist, tty-standard-colors)
16325 (tty-color-mode-alist): Change to defconst.
16327 * simple.el (mark-inactive): Purecopy message.
16329 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16330 (global-map, yank-menu):
16331 * textmodes/ispell.el (ispell-menu-map):
16332 * net/eudc.el (eudc-tools-menu):
16333 * international/mule-cmds.el (describe-language-environment-map)
16334 (setup-language-environment-map, set-coding-system-map)
16335 (mule-menu-keymap):
16336 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16337 * replace.el (occur-mode-map):
16338 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16340 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16342 * calc/calc.el (math-read-number, math-read-number-simple):
16343 Use `save-match-data'.
16345 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16347 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16348 rather than fiddling with global-map bindings, since it should only
16349 affect per-terminal settings.
16350 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16352 * minibuffer.el (completion-table-with-terminator): Allow to specify
16353 the terminator-regexp.
16355 * simple.el (switch-to-completions): Look for *Completions* in other
16358 * pcomplete.el: Allow the use of completion-tables.
16359 (pcomplete-std-complete): New command.
16360 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16361 (pcomplete--here): Use a function for `form' rather than an expression,
16362 so it can be byte-compiled.
16363 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16364 Add edebug declaration.
16365 (pcomplete-show-completions): Remove unused var `curbuf'.
16366 (pcomplete-do-complete, pcomplete-stub):
16367 Don't assume `completions' is a list of strings any more.
16369 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16371 * find-dired.el (find-name-arg): Fix typo in docstring.
16373 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16375 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16376 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16378 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16381 * comint.el (comint-read-input-ring, comint-write-input-ring)
16382 (comint-substitute-in-file-name)
16383 (comint-dynamic-complete-as-filename)
16384 (comint-dynamic-simple-complete)
16385 (comint-dynamic-list-filename-completions)
16386 (comint-dynamic-list-completions)
16387 (comint-redirect-results-list-from-process): Minor simplifications.
16389 2009-10-21 Kevin Ryde <user42@zip.com.au>
16391 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16392 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16393 the first form. And insert a blank line after ";;; Code" since
16394 that's usual style. (Bug#4612)
16396 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16398 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16400 * minibuffer.el (completion-table-with-terminator): Properly implement
16401 boundaries, in case `terminator' appears in the suffix.
16402 (completion--embedded-envvar-table): Don't return boundaries if
16403 there's no valid completion. Simplify.
16404 (completion-file-name-table): New completion table extracted from
16405 completion--file-name-table.
16406 (completion--file-name-table): Use it.
16407 (read-file-name-predicate): Declare obsolete.
16408 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16409 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16410 completion-file-name-table, and use the `pred' argument.
16411 * files.el (locate-file-completion-table): Use the `pred' arg rather
16412 than read-file-name-predicate.
16413 (abbreviate-file-name): Use \` rather than ^ for BOS.
16415 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16417 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16418 vc-responsible-backend to register, it causes problems.
16420 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16422 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16424 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16426 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16427 (tramp-smb-handle-file-attributes): Use it.
16428 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16429 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16430 `mapcar'. Use `tramp-smb-get-stat-capability'.
16431 Add `dired-filename' text properties.
16432 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16433 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16436 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16438 * subr.el (read-key-delay): Reduce to 0.01.
16439 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16442 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16444 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16446 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16447 (Info-menu): Remove unused vars `last' and `completions'.
16448 (Info-index-nodes): Remove unused var `node'.
16450 * info.el (Info-complete-menu-item): Use complete-with-action.
16452 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16454 Make vc-annotate work through copies and renames.
16455 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16456 Return the file name too.
16457 (vc-annotate-revision-at-line)
16458 (vc-annotate-find-revision-at-line)
16459 (vc-annotate-revision-previous-to-line)
16460 (vc-annotate-show-log-revision-at-line): Update to get the file
16461 name from vc-annotate-extract-revision-at-line.
16462 (vc-annotate-show-diff-revision-at-line-internal): Change the
16463 argument to mean whether to show a file diff or not. Get the file
16464 name from vc-annotate-extract-revision-at-line.
16465 (vc-annotate-show-diff-revision-at-line):
16466 Update vc-annotate-show-diff-revision-at-line call.
16467 (vc-annotate-warp-revision): Add an optional file argument.
16469 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16470 (vc-git-annotate-extract-revision-at-line): Also return the file
16473 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16474 command. Remove unused code.
16475 (vc-hg-annotate-re): Update to match --follow output.
16476 (vc-hg-annotate-extract-revision-at-line): Also return the file
16479 * vc.el: Update annotate-extract-revision-at-line documentation.
16481 2009-10-18 Kevin Ryde <user42@zip.com.au>
16483 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16484 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16486 * net/browse-url.el (browse-url): Identify alist with "consp and
16487 not functionp" and let all other things go down the `apply' leg,
16488 as suggested by Stefan. (Further to bug#4531.)
16490 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16492 * minibuffer.el (read-file-name): Check for repeat before putting
16493 a default argument in file-name-history (Bug#4657).
16495 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16496 read syntax (Bug#4737).
16498 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16500 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16502 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16503 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16504 entries and make note of obsolete tags.
16506 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16508 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16510 2009-10-18 Glenn Morris <rgm@gnu.org>
16512 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16513 grep, so that binary files (eg international/uni-bidi.el) can match.
16514 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16515 now, and in any case the file header format has changed.
16517 2009-10-17 Glenn Morris <rgm@gnu.org>
16519 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16520 (flyspell-get-word, flyspell-large-region)
16521 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16523 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16525 * Makefile.in (ELCFILES): Add ede/shell.
16527 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16529 * term/common-win.el (x-colors): Purecopy it.
16531 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16533 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16534 permissive for when the buffer is empty.
16535 (tar-header-block-tokenize): Decode the username and groupname.
16536 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16538 2009-10-17 Eric Ludlam <zappo@gnu.org>
16540 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16541 contains multibyte characters, choose first applicable coding
16542 system automatically.
16544 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16546 * international/mule-cmds.el (select-safe-coding-system): If the file
16547 has a coding cookie, use it regardless of any other setting (bug#4712).
16549 2009-10-17 Glenn Morris <rgm@gnu.org>
16551 * foldout.el (foldout-mouse-swallow-events):
16552 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16554 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16555 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16556 (dired-keep-marker-symlink, dired-dwim-target)
16557 (dired-copy-preserve-time): Do not autoload these defcustoms.
16559 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16560 messages from messing up the file coding. (Bug#4623)
16562 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16564 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16565 if no match is found for the current dictionary. (Bug#4578)
16567 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16568 optional, since that is how it is documented, and this is often called
16569 with a nil argument. (Bug#4577)
16570 (flyspell-external-point-words, flyspell-auto-correct-word)
16571 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16572 (flyspell-word-search-backward): Remove nil argument in calls to
16573 flyspell-get-word, since it is not needed now.
16575 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16577 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16579 2009-10-16 Glenn Morris <rgm@gnu.org>
16581 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16583 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16585 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16586 (ange-ftp-file-size): New function.
16587 (ange-ftp-file-attributes): Use it.
16589 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16591 * net/tramp-smb.el (tramp-smb-version): New defvar.
16592 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16595 2009-10-16 Glenn Morris <rgm@gnu.org>
16597 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16598 Maybe copy some custom properties from old to new name. (Bug#4706)
16600 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16602 * subr.el (error, sit-for, start-process-shell-command)
16603 (start-file-process-shell-command): Set the calling convention
16604 after the function definition.
16606 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16608 * subr.el (error, sit-for, start-process-shell-command)
16609 (start-file-process-shell-command): Use the new
16610 set-advertised-calling-convention feature.
16612 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16614 * international/ucs-normalize.el (ucs-normalize-version):
16616 (check-range): Adjust for Unicode 5.2.
16618 2009-10-15 Juri Linkov <juri@jurta.org>
16620 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16621 to the `menu-item' format.
16623 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16625 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16626 if the environment variable does not exist.
16628 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16629 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16631 (tramp-smb-handle-add-name-to-file)
16632 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16633 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16634 (tramp-smb-handle-file-attributes)
16635 (tramp-smb-do-file-attributes-with-stat)
16636 (tramp-smb-handle-file-local-copy)
16637 (tramp-smb-handle-insert-directory)
16638 (tramp-smb-handle-make-directory)
16639 (tramp-smb-handle-make-directory-internal)
16640 (tramp-smb-handle-make-symbolic-link)
16641 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16642 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16643 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16644 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16645 Handle long file names.
16646 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16647 process is running.
16648 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16649 Read share names with "-g" option.
16651 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16653 * net/rcirc.el (rcirc-view-log-file): New command.
16654 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16655 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16658 2009-10-15 Glenn Morris <rgm@gnu.org>
16660 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16661 from the second command-line argument.
16662 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16663 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16664 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16665 w32-batch-update-autoloads.
16666 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16667 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16669 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16670 the headers cannot be located. Simplify, subtracting superflous
16673 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16675 Replace completion-base-size by completion-base-position to fix bugs
16676 such as (bug#4699).
16677 * simple.el (completion-base-position): New var.
16678 (completion-base-size): Mark as obsolete.
16679 (choose-completion): Make it work for mouse events as well.
16680 Pass the new base-position to choose-completion-string.
16681 (choose-completion-guess-base-position): New function, extracted from
16682 choose-completion-delete-max-match.
16683 (choose-completion-delete-max-match): Use it. Make obsolete.
16684 (choose-completion-string): Use the new base-position info.
16685 (completion-root-regexp): Delete.
16686 (completion-setup-function): Preserve completion-base-position.
16687 Eliminate obsolete base-size manipulation.
16688 * minibuffer.el (display-completion-list): Don't mess with base-size.
16689 (minibuffer-completion-help): Set completion-base-position instead.
16690 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16692 * textmodes/bibtex.el (bibtex-complete):
16693 * emacs-lisp/crm.el (crm--choose-completion-string):
16694 Adjust to new calling convention.
16695 * complete.el (partial-completion-mode): Use minibufferp to avoid
16696 bumping into incompatible change to choose-completion-string-functions.
16697 * ido.el (ido-choose-completion-string): Make its calling convention
16699 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16700 base-size manipulation.
16701 (comint-dynamic-list-input-ring): Use dotimes and push.
16702 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16703 fundamental-mode. Use `or'.
16705 2009-10-14 Juri Linkov <juri@jurta.org>
16707 * misearch.el (multi-isearch-next-buffer-from-list)
16708 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16710 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16712 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16715 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16716 string we return is all made up of text from the completions rather
16717 than part from the completions and part from the input (bug#4219).
16719 * ido.el (ido-everywhere): Use define-minor-mode.
16721 * buff-menu.el (list-buffers, ctl-x-map):
16722 Mark the entry points with ;;;###autoload cookies.
16724 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16726 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16727 correctly in the detached head case.
16728 (vc-git-print-log): Remove unused binding.
16730 * vc.el (vc-responsible-backend): When a directory is passed for
16731 for registration create a VC repository if no backend is
16732 responsible for the directory argument.
16733 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16735 * vc.el: Move comments about RCS and SCCS ...
16737 * vc-sccs.el: ... here, respectively.
16739 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16741 * minibuffer.el (completion--file-name-table): Return nil if there's
16742 no file completion, even if substitute-in-file-name changed
16743 the string (bug#4708).
16745 2009-10-13 Juri Linkov <juri@jurta.org>
16747 * files-x.el (read-file-local-variable-value): Don't filter out
16748 minor modes from mode name completion (bug#4664).
16750 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16752 * international/mule-cmds.el (ucs-names): Remove exclusion of
16753 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16755 2009-10-13 Kenichi Handa <handa@m17n.org>
16757 * international/uni-name.el: Regenerated.
16759 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16761 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16762 should be automatically buffer-local, but isn't.)
16764 2009-10-12 Sam Steingold <sds@gnu.org>
16766 * progmodes/compile.el (compilation-next-error-function): Fix the
16767 timestamps if the buffer has been visited before.
16768 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16769 non-anchored patterns, like the perl one (bug#3928).
16771 2009-10-12 Glenn Morris <rgm@gnu.org>
16773 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16776 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16778 * proced.el (proced-unload-function): New function.
16780 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16781 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16784 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16786 2009-10-11 Juri Linkov <juri@jurta.org>
16788 * files-x.el (read-file-local-variable-value):
16789 Provide default value only for bound variables (bug#4664).
16791 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16793 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16794 connection methods like smb.
16796 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16799 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16800 (tramp-smb-file-name-handler-alist): Add handlers for
16801 `add-name-to-file', `make-symbolic-link'.
16802 (tramp-smb-handle-add-name-to-file)
16803 (tramp-smb-do-file-attributes-with-stat)
16804 (tramp-smb-handle-make-symbolic-link)
16805 (tramp-smb-get-cifs-capabilities): New defuns.
16806 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16807 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16808 (tramp-smb-handle-file-local-copy)
16809 (tramp-smb-handle-make-directory-internal)
16810 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16811 The file name syntax depends on cifs capabilities.
16812 (tramp-smb-handle-file-attributes):
16813 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16814 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16815 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16817 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16819 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16820 (eieio-defclass): Apply deftype handler and setf-method properties
16822 (eieio-add-new-slot): Avoid union function from cl library.
16823 (eieio--typep): New function.
16824 (eieio-perform-slot-validation): Use it.
16826 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16828 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16829 Update documentation to refer to the variables documented in r1.135.
16832 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16834 * bookmark.el (Info-suffix-list): Remove this unused variable.
16835 (bookmark-current-point): Remove this obsolete variable.
16836 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16837 Adjust for removal of bookmark-current-point.
16839 (bookmarks-already-loaded, bookmark-current-buffer)
16840 (bookmark-yank-point): Document. (Bug#4188)
16842 2009-10-10 Glenn Morris <rgm@gnu.org>
16844 * frame.el (frame-height): Doc fix.
16846 * calendar/calendar.el (calendar-split-width-threshold): New option.
16847 (calendar-basic-setup): Use calendar-split-width-threshold.
16849 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16851 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16852 Ideographic Supplement" range (U+1F200..U+1F2FF).
16854 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16856 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16857 since the list will have been rebuilt anyway. (Bug#4349)
16859 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16861 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16862 (bookmark-bmenu-execute-deletions): Don't save here, as
16863 bookmark-delete will now do so if necessary.
16864 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16867 2009-10-09 Glenn Morris <rgm@gnu.org>
16869 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16871 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16873 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16874 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16875 argument now, so the two function's behaviors will match. (Bug#3645)
16877 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16879 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16880 (tramp-file-name-real-host, tramp-file-name-port):
16881 Apply `save-match-data'.
16883 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16884 case both directories are remote.
16885 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16886 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16888 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16890 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16892 2009-10-07 Glenn Morris <rgm@gnu.org>
16894 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16897 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16899 * files-x.el (read-file-local-variable): Include some
16900 non-user-variables in the completion table (bug#4664).
16902 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16904 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16907 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16908 (tramp-smb-file-name-handler-alist): Add handler for
16909 `copy-directory', `expand-file-name', `set-file-modes'.
16910 (tramp-smb-handle-copy-directory)
16911 (tramp-smb-handle-expand-file-name)
16912 (tramp-smb-handle-set-file-modes): New defuns.
16913 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16914 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16916 (tramp-smb-handle-insert-directory): Don't flush the cache.
16917 (tramp-smb-maybe-open-connection): Check for samba client and
16920 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16922 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16923 to not error out of search for "^lisp=" fails.
16925 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16927 * makefile.w32-in (WINS_UPDATES): New macro.
16928 (custom-deps, finder-data, autoloads): Use it.
16930 2009-10-07 Glenn Morris <rgm@gnu.org>
16932 * Makefile.in (autoloads): Revert previous change.
16933 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16934 the list of preloaded files passed on the command-line, get
16935 it from src/Makefile.
16937 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16938 show the original buffer rather than a random one.
16940 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16942 * help.el (describe-no-warranty): Place point in a slightly better
16943 position in the GPLv3 text.
16945 2009-10-06 Sam Steingold <sds@gnu.org>
16947 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16948 the comm attribute is present before calling regexp-quote.
16950 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16952 * play/animate.el (animate-string): For good effect, make sure
16953 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16955 * play/animate.el (animate-sequence, animate-birthday-present):
16956 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16958 2009-10-06 Glenn Morris <rgm@gnu.org>
16960 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16962 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16963 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16964 (batch-update-autoloads): Process a string value of autoload-excludes,
16965 set during the build process.
16966 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16968 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16969 inside with-parsed... macro so that `v' is defined.
16971 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16972 * progmodes/fortran.el (fortran-end-of-block)
16973 (fortran-beginning-of-block):
16974 Also push mark in the macro case.
16976 * emerge.el (emerge-show-file-name):
16977 * calc/calc.el (calc-quit):
16978 * calc/calc-misc.el (calc-big-or-small):
16979 * calc/calc-graph.el (calc-graph-view):
16980 * calc/calc-ext.el (calc-reset):
16981 * calendar/calendar.el (calendar-basic-setup):
16982 Use window-full-height-p.
16984 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16985 header we don't understand, don't insert another. (Bug#4624)
16986 If changing mime charset, insert the new one in the right place.
16988 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16990 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16991 (cal-tex-cursor-month): Correctly increment the end date for diary and
16992 holiday listing. (Bug#4626)
16994 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16996 * help-fns.el (describe-function-1): Don't burp if the function is not
16999 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17001 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17002 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17003 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17004 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17006 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17007 (eieio-default-superclass): Reflow docstrings.
17008 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17009 (eieio-unbind-method-implementations, defmethod)
17010 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17011 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17012 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17013 (eieio-slot-originating-class-p, eieio-slot-name-index)
17014 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17015 (constructor, initialize-instance, no-next-method, object-print)
17016 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17017 Fix typos in docstrings.
17018 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17019 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17020 (next-method-p): Doc fixes.
17021 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17022 Fix typos in error messages.
17023 (eieio-defmethod): Fix typo in description of generic method.
17025 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17026 (eieio-persistent-save-interactive, slot-missing):
17027 Fix typos in docstrings.
17028 (eieio-instance-inheritor-slot-boundp): Doc fix.
17030 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17031 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17033 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17034 (eieio-custom-object-apply-reset):
17035 Fix typos in docstrings and error messages.
17037 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17038 Fix typo in docstring.
17040 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17041 (eieio-browse-tree): Doc fix.
17042 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17043 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17044 Fix typos in docstrings.
17046 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17047 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17048 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17049 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17052 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17054 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17055 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17056 Set log-view-vc-backend so that diff can work.
17058 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17060 (vc-diff-internal): Autoload this instead of vc-version-diff.
17062 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17064 * simple.el (eval-expression): Doc fix.
17066 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17068 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17070 * files.el (directory-files-no-dot-files-regexp): New defconst.
17071 (delete-directory): Use it.
17072 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17074 * net/tramp.el (tramp-verbose): Fix docstring.
17075 (tramp-methods): Add recursive option to `tramp-copy-args'.
17076 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17077 "scp1_old", "scp2_old", "rsync", "rsyncc".
17078 (tramp-default-method): Check also for `auth-source-user-or-password'.
17079 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17080 Add handler for `copy-directory'.
17081 (tramp-handle-copy-directory): New defun.
17082 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17083 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17084 Optimize sent command.
17086 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17088 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17089 window if necessary.
17091 * calendar/calendar.el (calendar-basic-setup): Don't call
17092 switch-to-buffer in a dedicated window.
17094 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17096 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17097 don't do anything related to relocating, just return nil.
17098 (bookmark-error-no-filename): New error.
17099 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17100 bookmark has no file. Don't even attempt to handle things that
17101 are not files; the whole point of custom handlers is to keep that
17102 knowledge elsewhere anyway. Tighten some comments.
17103 (bookmark-file-or-variation-thereof): Remove now-unused function.
17104 (bookmark-location): Doc string fix.
17107 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17109 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17110 don't use a file dialog, because they usually don't know how to read
17111 a directory target from the user. (Bug#4230)
17112 Also, make sure the prompt can display directories as well as files.
17114 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17116 * bookmark.el (bookmark-set, bookmark-buffer-name):
17117 Improve doc strings. (Bug#1193)
17119 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17121 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17122 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17123 (bookmark-get-annotation, bookmark-set-annotation)
17124 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17125 (bookmark-set-position, bookmark-get-front-context-string)
17126 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17127 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17128 (bookmark-jump-other-window, bookmark-handle-bookmark)
17129 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17130 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17131 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17132 Improve doc strings to say whether bookmark can be a string or
17133 a record or both, and make other consistency and clarity fixes.
17134 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17135 (bookmark-default-annotation-text, bookmark-yank-word)
17136 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17137 (bookmark-import-new-list, bookmark-maybe-rename)
17138 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17139 (bookmark-bmenu-bookmark): Give these doc strings.
17140 (bookmark-bmenu-check-position): Give this a doc string, but also
17141 add a FIXME comment about how the function may be pointless.
17142 (bookmark-default-handler): Rework doc string and change a
17143 parameter name, to clarify that this takes a bookmark record
17144 not a bookmark name.
17145 (bookmark-set): Change a parameter name to indicate its meaning,
17146 and improve the doc string a bit.
17149 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17151 * bookmark.el (bookmark-alist): Document the new `handler' element
17152 in the param alist.
17153 (bookmark-make-record-function): Adjust documentation for above.
17156 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17158 * info.el (Info-bookmark-make-record): Document this function.
17159 (Info-bookmark-jump): Document with a doc string, not just a comment.
17162 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17164 * files.el (copy-directory): New defun.
17166 * dired-aux.el (dired-copy-file-recursive): Use it.
17168 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17170 * files-x.el (modify-dir-local-variable)
17171 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17174 * recentf.el (recentf-unload-function): New function.
17176 2009-10-04 Glenn Morris <rgm@gnu.org>
17178 * window.el (window-full-height-p): Add doc string.
17180 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17182 * window.el (window-full-height-p): New function. (Bug#4543)
17184 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17186 * vc.el: Remove commented out code.
17187 (vc-derived-from-dir-mode): Remove, unused.
17188 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17190 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17192 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17193 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17194 there could be recursive loading when `default-directory' is a
17195 remote file name. (Bug#4614)
17197 2009-10-03 Glenn Morris <rgm@gnu.org>
17199 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17201 (calendar-generate-window): Test for shrinkability rather than width.
17203 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17204 reusing existing buffers, in case we happen to visit two files with the
17205 same basename. (Bug#4593)
17207 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17209 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17210 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17211 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17212 subdirs of cedet as well.
17213 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17215 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17217 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17218 Obey advertised-signature-table.
17220 * help-fns.el (help-function-arglist): Don't check
17221 advertised-signature-table.
17222 (describe-function-1): Do it here instead so it also applies to subrs.
17224 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17226 * simple.el (start-file-process): Say in the doc-string, that file
17227 handlers might not support pty association, if PROGRAM is nil.
17229 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17230 HOST and USER are strings. They are nil, when there are
17231 incomplete entries in ~/.netrc, for example.
17232 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17233 root directory ("device busy" error otherwise).
17235 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17236 Flush file properties of created directory.
17238 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17240 * makefile.w32-in (WINS_BASIC): Remove cedet.
17241 (WINS_CEDET): Add cedet.
17242 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17244 2009-10-02 Kevin Ryde <user42@zip.com.au>
17246 * net/browse-url.el (browse-url): Pass any symbol in
17247 browse-url-browser-function to `apply', since if you've mistakenly put
17248 an unbound symbol then the error is clearer. (Bug#4531)
17250 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17252 * allout.el (allout-init, allout-back-to-current-heading)
17253 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17254 (allout-ascend, allout-up-current-level, allout-end-of-level)
17255 (allout-previous-visible-heading, allout-forward-current-level)
17256 (allout-backward-current-level, allout-show-children):
17257 * apropos.el (apropos-describe-plist):
17258 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17259 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17260 * completion.el (add-completion, add-permanent-completion):
17261 * descr-text.el (describe-text-category, describe-char):
17262 * desktop.el (desktop-lazy-abort):
17263 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17264 * dired.el (dired-build-subdir-alist):
17265 * ediff.el (ediff-version):
17266 * elide-head.el (elide-head, elide-head-show):
17267 * emerge.el (emerge-version):
17269 * face-remap.el (variable-pitch-mode):
17270 * faces.el (describe-face):
17271 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17273 * files.el (find-file-existing, auto-save-mode):
17274 * font-lock.el (font-lock-fontify-buffer):
17275 * help-fns.el (describe-function, describe-variable)
17276 (describe-syntax, describe-categories):
17277 * help.el (view-lossage, describe-bindings, describe-key)
17279 * hexl.el (hexl-current-address):
17280 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17281 * info.el (Info-goto-emacs-key-command-node):
17282 * log-edit.el (log-edit-insert-cvs-template)
17283 (log-edit-insert-cvs-rcstemplate):
17284 * menu-bar.el (menu-bar-mode):
17285 * mouse.el (mouse-appearance-menu):
17286 * newcomment.el (comment-indent-new-line):
17287 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17288 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17289 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17290 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17291 * recentf.el (recentf-mode):
17292 * savehist.el (savehist-mode, savehist-save):
17293 * shadowfile.el (shadow-copy-files):
17294 * simple.el (kill-ring-save, next-line, previous-line)
17295 (normal-erase-is-backspace-mode):
17296 * strokes.el (strokes-update-window-configuration)
17297 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17298 (strokes-xpm-for-stroke):
17299 * time.el (emacs-uptime, emacs-init-time):
17300 * tutorial.el (tutorial--describe-nonstandard-key)
17301 (tutorial--detailed-help):
17302 * type-break.el (type-break-mode)
17303 (type-break-mode-line-message-mode, type-break-query-mode)
17304 (type-break-guesstimate-keystroke-threshold):
17305 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17306 * version.el (emacs-version):
17307 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17308 * winner.el (winner-mode):
17309 * calendar/timeclock.el (timeclock-in, timeclock-out)
17310 (timeclock-status-string, timeclock-change)
17311 (timeclock-workday-remaining-string)
17312 (timeclock-workday-elapsed-string)
17313 (timeclock-when-to-leave-string):
17314 * calendar/todo-mode.el (todo-add-category):
17315 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17316 * emacs-lisp/autoload.el (update-file-autoloads):
17317 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17318 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17319 (checkdoc-message-text, checkdoc-defun):
17320 * emacs-lisp/debug.el (debugger-list-functions):
17321 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17322 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17323 (eieio-describe-generic):
17324 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17325 * emacs-lisp/shadow.el (list-load-path-shadows):
17326 * emulation/cua-base.el (cua-mode):
17327 * emulation/edt.el (edt-set-scroll-margins):
17328 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17329 (tpu-toggle-regexp, tpu-toggle-search-direction)
17330 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17331 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17332 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17333 (viper-set-parsing-style-toggling-macro)
17334 (viper-set-emacs-state-searchstyle-macros):
17335 * emulation/viper.el (viper-set-hooks):
17336 * eshell/esh-mode.el (eshell-truncate-buffer):
17337 * international/mule-cmds.el (prefer-coding-system)
17338 (describe-input-method, describe-language-environment):
17339 * international/mule-diag.el (list-character-sets)
17340 (describe-character-set, describe-coding-system)
17341 (describe-fontset, list-fontsets, list-input-methods):
17342 * mail/sendmail.el (mail-signature):
17343 * net/ange-ftp.el (ange-ftp-copy-file):
17344 * net/browse-url.el (browse-url):
17345 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17346 * net/quickurl.el (quickurl-add-url):
17347 * net/rcirc.el (names, topic):
17348 * net/xesam.el (xesam-mode):
17349 * play/5x5.el (5x5-new-game):
17350 * play/yow.el (apropos-zippy):
17351 * progmodes/ada-mode.el (ada-mode-version):
17352 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17354 (f90-beginning-of-block):
17355 * progmodes/fortran.el (fortran-end-of-block)
17356 (fortran-beginning-of-block):
17357 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17358 * progmodes/python.el (python-describe-symbol, python-shell):
17359 * term/ns-win.el (ns-print-buffer):
17360 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17361 * textmodes/flyspell.el (flyspell-mode-on):
17362 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17363 (pages-directory-for-addresses):
17364 * textmodes/table.el (table-recognize-cell)
17365 (table-query-dimension, table-generate-source)
17366 (table-insert-sequence, table--warn-incompatibility):
17367 * textmodes/tex-mode.el (tex-validate-buffer):
17368 * textmodes/texinfmt.el (texinfmt-version)
17369 (texinfo-format-buffer):
17370 Use `called-interactively-p' instead of `interactive-p'.
17372 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17374 * image-mode.el (image-toggle-display):
17375 * emacs-lisp/elp.el (elp-instrument-function):
17376 * emacs-lisp/advice.el (ad-make-advised-definition):
17377 * emacs-lisp/easy-mmode.el (define-minor-mode):
17378 * net/browse-url.el (browse-url-maybe-new-window):
17379 * progmodes/sh-script.el (sh-learn-buffer-indent):
17380 Pass new argument 'any to `called-interactively-p'.
17382 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17384 * international/uni-bidi.el:
17385 * international/uni-category.el:
17386 * international/uni-combining.el:
17387 * international/uni-comment.el:
17388 * international/uni-decimal.el:
17389 * international/uni-decomposition.el:
17390 * international/uni-digit.el:
17391 * international/uni-lowercase.el:
17392 * international/uni-mirrored.el:
17393 * international/uni-name.el:
17394 * international/uni-numeric.el:
17395 * international/uni-old-name.el:
17396 * international/uni-titlecase.el:
17397 * international/uni-uppercase.el:
17398 Regenerate from Unicode 5.2.0 data.
17400 2009-10-01 Glenn Morris <rgm@gnu.org>
17402 * Makefile.in (ELCFILES): Regenerate.
17404 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17406 * subr.el (interactive-p): Mark obsolete.
17407 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17408 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17409 advertised-signature-table for subroutines as well.
17411 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17412 (set-advertised-calling-convention): New function.
17413 (make-obsolete, define-obsolete-function-alias)
17414 (make-obsolete-variable, define-obsolete-variable-alias):
17415 Make the optional-ness of `when' obsolete.
17416 (define-obsolete-face-alias): Make `when' non-optional.
17417 * help-fns.el (help-function-arglist):
17418 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17419 Use advertised-signature-table.
17421 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17423 * files.el (delete-directory): New defun. The original function
17424 in fileio.c has been renamed to `delete-directory-internal'.
17426 * dired.el (dired-delete-file): Call `delete-directory' with
17427 RECURSIVE parameter.
17429 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17430 parameter RECURSIVE. Implementation is missing.
17432 * net/tramp.el (tramp-handle-make-directory): Flush upper
17433 directory's file properties.
17434 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17435 (tramp-handle-dired-recursive-delete-directory): Flush directory
17436 properties after the remove command only.
17438 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17439 Handle optional parameter RECURSIVE.
17441 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17442 Handle optional parameter RECURSIVE.
17444 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17445 connection timeout.
17446 (tramp-smb-handle-delete-directory): Handle optional parameter
17449 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17451 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17452 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17453 (byte-compile-defmacro): Use backquotes.
17455 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17457 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17458 has no associated file.
17459 (vc-resynch-buffer): Use vc-dir-buffers.
17461 2009-10-01 Glenn Morris <rgm@gnu.org>
17463 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17464 (chart-file-count):
17465 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17466 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17467 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17468 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17469 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17470 (eieio-copy-parents-into-subclass, make-instance, class-children)
17471 (eieio-generic-form):
17473 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17474 match-data. (Bug#4555).
17476 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17477 rather than parsing it as a regexp. This relaxes the layout
17478 requirements and makes errors easier to detect.
17479 (check-declare-verify): Check file is regular.
17480 (check-declare-directory): Doc fix.
17481 * subr.el (declare-function): Doc fix.
17483 * ibuffer.el (ibuffer-format-qualifier):
17484 * isearch.el (hi-lock-regexp-okay):
17485 * calc/calc.el (math-zerop):
17486 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17487 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17488 Remove unused declarations.
17490 2009-09-30 Eric Ludlam <zappo@gnu.org>
17492 * emacs-lisp/eieio.el (boolean-p): Delete.
17494 2009-09-30 Glenn Morris <rgm@gnu.org>
17496 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17498 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17499 filename is not a string.
17501 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17503 * files.el (safe-local-eval-forms): Fix typo.
17505 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17507 * vc-hooks.el (vc-dir-buffers): New var.
17508 (vc-state-refresh): New function.
17509 (vc-state): Use it.
17510 (vc-after-save): Always ask the backend to recompute the new state.
17511 Always call vc-dir if necessary, using vc-dir-buffers.
17512 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17513 Use vc-dir-buffers.
17514 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17515 (vc-dir-prepare-status-buffer, vc-dir-update)
17516 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17517 Don't call expand-file-name on default-directory.
17519 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17521 * speedbar.el (speedbar-item-delete):
17522 * calc/calc-prog.el (calc-kbd-if):
17523 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17525 * epa.el (epa-key-list-mode-map):
17526 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17528 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17529 (hs-show-hook): Fix typo in docstring.
17531 2009-09-29 Glenn Morris <rgm@gnu.org>
17533 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17534 file-name-nondirectory call preventing location of cedet files.
17535 (check-declare-verify): Use literal search rather than re-search.
17536 Add basic defmethod and defclass, and define-overloadable-function.
17538 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17539 Use tramp-compat-file-attributes rather than nonexistent
17540 tramp-compat-handle-file-attributes.
17542 * Makefile.in (lisptagsfiles4): New.
17543 (AUTOGENEL): Add cedet loaddefs files.
17544 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17545 (update-elclist, compile-always, backup-compiled-files)
17546 (bootstrap-clean): Add yet another directory level.
17547 (update-elclist): Use LC_COLLATE rather than COLLATE.
17548 (ELCFILES): Update, via `make update-elclist'.
17550 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17552 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17553 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17554 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17556 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17558 * Makefile.in (lisptagsfiles3): Define.
17559 (TAGS, TAGS-LISP): Use it.
17560 (update-elclist): Add third directory level to look for elc files.
17561 (compile-always): Likewise.
17562 (backup-compiled-files): Likewise.
17563 (bootstrap-clean): Likewise.
17564 (ELCFILES): Update.
17566 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17568 * Makefile.in (ELCFILES): Add CEDET files.
17570 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17572 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17574 * net/tramp.el (top): Require tramp-imap.
17576 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17577 Use `tramp-compat-handle-file-attributes'.
17579 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17581 * net/tramp-imap.el: New package.
17583 2009-09-28 Eric Ludlam <zappo@gnu.org>
17585 * emacs-lisp/chart.el:
17586 * emacs-lisp/eieio-base.el:
17587 * emacs-lisp/eieio-comp.el:
17588 * emacs-lisp/eieio-custom.el:
17589 * emacs-lisp/eieio-datadebug.el:
17590 * emacs-lisp/eieio-opt.el:
17591 * emacs-lisp/eieio-speedbar.el:
17592 * emacs-lisp/eieio.el: New files.
17594 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17596 * whitespace.el (whitespace-trailing-regexp)
17597 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17600 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17602 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17605 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17606 menu-bar-ediff-menu.
17608 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17609 define-overloadable-function.
17611 * progmodes/autoconf.el: Provide autoconf as well, so that this
17612 file can be `require'd.
17614 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17616 * emacs-lisp/autoload.el (generated-autoload-feature)
17617 (generated-autoload-load-name): New vars.
17618 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17619 (make-autoload): Recognize define-overloadable-function and
17620 defclass forms (for EIEIO).
17622 * Makefile.in (update-subdirs): Exclude cedet directory.
17624 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17626 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17628 * faces.el: Default light-background background for region face to
17629 ns_selection_color under NS.
17631 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17633 * net/imap-hash.el: New library, see NEWS.
17635 * Makefile.in (ELCFILES): Add imap-hash.el.
17637 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17639 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17640 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17641 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17642 definition where the docstring could be taken for the return value.
17644 2009-09-26 Glenn Morris <rgm@gnu.org>
17646 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17647 Add option to only show images below a certain size.
17648 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17649 save-excursion calls.
17651 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17653 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17654 subdirectories) and eieio.
17656 2009-09-26 Alan Mackenzie <acm@muc.de>
17658 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17659 Correct buggy bracketing. (Bug#4289)
17661 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17662 character constants (as case labels). (Bug#4289)
17664 2009-09-25 Juri Linkov <juri@jurta.org>
17666 * files.el (safe-local-eval-forms): Allow time-stamp in
17667 before-save-hook (Bug#4554).
17669 2009-09-25 Drew Adams <drew.adams@oracle.com>
17671 * menu-bar.el (list-buffers-directory): Doc fix.
17673 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17675 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17676 Try and avoid copying twice the same paragraph.
17677 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17678 Remove save-excursion.
17679 (log-edit-changelog-entry): Do it here instead.
17681 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17683 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17684 when available, instead of hardcoding mode names. Doc fix.
17686 * menu-bar.el (list-buffers-directory): Add docstring.
17687 Make automatically buffer-local.
17689 * dired.el (dired-mode):
17690 * files.el (cd-absolute):
17691 * pcvs.el (cvs-temp-buffer):
17692 * pcvs-util.el (cvs-get-buffer-create):
17693 * shell.el (shell-mode):
17694 * vc-dir.el (vc-dir-mode):
17695 Don't make `list-buffers-directory' buffer local.
17697 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17699 * comint.el (comint-exec, comint-run, make-comint):
17700 Doc fixes (Bug#4542).
17702 2009-09-25 Glenn Morris <rgm@gnu.org>
17704 * mail/rmailmm.el (rmail-mime): New custom group.
17705 Move all defcustoms in this file into this group.
17706 (rmail-mime-media-type-handlers-alist): Revert previous change.
17707 (rmail-mime-show-images): New option.
17708 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17709 references to it, since it wasn't actually used for anything.
17710 (rmail-mime-insert-image): New function.
17711 (rmail-mime-image): Use rmail-mime-insert-image.
17712 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17713 obey the value of `rmail-mime-show-images' option. Print the size of
17716 2009-09-25 David Engster <deng@randomsample.de>
17718 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17720 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17722 * whitespace.el: Does not highlight trailing spaces While point is
17723 at end of line. Does not highligt spaces at beginning of buffer
17724 while point is at beginning of buffer. Does not highlight spaces
17725 at end of buffer while point is at end of buffer. (Bug#4177)
17727 (whitespace-display-mappings): Adjust initialization.
17728 (whitespace-point, whitespace-font-lock-refontify): New vars.
17729 (whitespace-color-on, whitespace-color-off): Adjust code.
17730 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17731 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17732 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17734 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17736 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17738 * textmodes/sgml-mode.el: Remove xml-mode alias.
17740 * files.el (auto-mode-alist, conf-mode-maybe)
17741 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17743 2009-09-24 Alan Mackenzie <acm@muc.de>
17745 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17746 c-forward-conditionals, but it doesn't move point and doesn't set
17748 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17749 (c-down-conditional-with-else, c-backward-conditional)
17750 (c-forward-conditional): Refactor to use c-scan-conditionals.
17752 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17754 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17755 (help-default-arg-highlight): Remove.
17756 (help-highlight-arg): New function.
17757 (help-do-arg-highlight): Use it.
17758 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17760 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17762 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17763 Undo last change, which didn't fix the problem and introduced others.
17765 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17767 * progmodes/gdb-mi.el: Don't require speedbar.
17768 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17770 2009-09-24 Glenn Morris <rgm@gnu.org>
17772 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17774 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17776 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17777 there is no newline after the final mime boundary. (Bug#4539)
17778 Move markers on insertion so that any buttons inserted don't end up in
17779 the next part of a multipart message.
17780 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17781 (rmail-mime-bulk-handler): Optionally handle images.
17782 (rmail-mime-image): New button action.
17783 (rmail-mime-image-handler): New function.
17784 (rmail-mime-mode): New mode.
17785 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17787 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17789 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17790 than just dropping elements from it (bug#4504).
17792 * term.el (term-set-scroll-region): Don't move cursor any more.
17793 (term-handle-ansi-escape): Call term-goto here instead.
17794 Suggested by Ivan Kanis <apple@kanis.eu>.
17796 * term.el: Require CL.
17797 (term-ansi-reset): New function.
17798 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17799 (term-handle-colors-array): Simplify.
17801 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17803 * allout.el (allout-overlay-interior-modification-handler)
17804 (allout-obtain-passphrase):
17805 * epa-file.el (epa-file-write-region):
17806 * ps-print.el (ps-begin-job):
17807 * vc-hooks.el (vc-toggle-read-only):
17808 * vc-rcs.el (vc-rcs-rollback):
17809 * vc-sccs.el (vc-sccs-rollback):
17810 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17811 (vc-version-diff, vc-revert, vc-rollback):
17812 * wdired.el (wdired-check-kill-buffer):
17813 * emacs-lisp/authors.el (authors):
17814 * net/socks.el (socks-open-connection):
17815 * net/zeroconf.el (zeroconf-service-add-hook):
17816 * obsolete/vc-mcvs.el (vc-mcvs-register):
17817 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17818 (gdb-select-frame):
17819 * progmodes/grep.el (lgrep, rgrep):
17820 * progmodes/idlw-help.el (idlwave-help-check-locations)
17821 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17822 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17823 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17824 (reftex-toc-rename-label): Fix typos in error messages.
17826 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17827 (dired-copy-how-to-fn): Doc fix.
17828 (dired-files-attributes, dired-read-shell-command):
17829 Fix typos in docstrings.
17831 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17832 (dired-x-find-file-other-window): Reflow docstrings.
17833 (dired-omit-marker-char, dired-read-shell-command)
17834 (dired-x-submit-report): Fix typos in docstrings.
17836 * shell.el (shell-mode-hook):
17837 * view.el (View-scroll-line-forward):
17838 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17839 Fix typos in docstrings.
17841 * net/dig.el (dig-invoke): Fix typo in docstring.
17842 (query-dig): Reflow docstring.
17844 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17845 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17846 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17847 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17848 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17849 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17850 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17851 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17852 (idlwave-completion-map, idlwave-current-indent)
17853 (idlwave-custom-ampersand-surround, idlwave-customize)
17854 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17855 (idlwave-define-abbrev, idlwave-determine-class-special)
17856 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17857 (idlwave-end-block-reg, idlwave-end-of-statement)
17858 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17859 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17860 (idlwave-explicit-class-listed, idlwave-file-header)
17861 (idlwave-fill-paragraph, idlwave-find-class-definition)
17862 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17863 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17864 (idlwave-in-quote, idlwave-indent-action-table)
17865 (idlwave-indent-expand-table, idlwave-indent-line)
17866 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17867 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17868 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17869 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17870 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17871 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17872 (idlwave-outlawed-buffers, idlwave-popup-select)
17873 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17874 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17875 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17876 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17877 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17878 (idlwave-statement-type, idlwave-struct-skip)
17879 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17880 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17881 (idlwave-what-module-find-class): Fix typos in docstrings.
17882 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17883 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17884 (idlwave-find-module, idlwave-find-structure-definition)
17885 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17886 (idlwave-list-load-path-shadows, idlwave-next-statement)
17887 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17888 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17889 (idlwave-template): Reflow docstrings.
17891 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17892 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17893 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17894 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17895 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17896 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17897 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17898 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17899 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17900 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17901 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17902 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17903 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17904 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17905 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17906 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17907 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17908 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17909 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17910 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17911 Fix typos in docstrings.
17912 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17913 (idlwave-shell-hide-output, idlwave-shell-mode)
17914 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17917 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17919 2009-09-24 Ivan Kanis <apple@kanis.eu>
17921 * term.el (term-bold-attribute): New var.
17922 (term-handle-colors-array): Use it.
17924 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17926 * progmodes/gdb-mi.el (gdb-version): New variable.
17927 (gdb-non-stop-handler): Set gdb-version.
17928 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17929 Condition "--thread" option on gdb-version.
17930 (gdb-invalidate-threads): Remove unused argument.
17932 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17934 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17935 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17937 2009-09-23 Glenn Morris <rgm@gnu.org>
17939 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17940 replying to mail without References or Message-Id. (Bug#4525)
17942 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17944 * term/ns-win.el (ns-reg-to-script): New variable.
17946 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17948 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17950 2009-09-22 Sam Steingold <sds@gnu.org>
17952 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17953 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17954 to 1 because hg returns status 1 when nothing is found.
17955 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17957 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17959 * textmodes/fill.el: Convert to utf-8 encoding.
17960 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17963 * add-log.el (change-log-fill-forward-paragraph): New function.
17964 (change-log-mode): Use it so fill-region DTRT.
17965 Set fill-indent-according-to-mode here rather than in
17966 change-log-fill-paragraph.
17967 (change-log-fill-paragraph): Remove.
17969 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17971 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17972 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17974 2009-09-22 Glenn Morris <rgm@gnu.org>
17976 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17977 the scroll-bar scroll the calendar window rather than the buffer.
17979 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17980 commands that move point (as opposed to scrolling).
17982 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17984 * emacs-lisp/elint.el (elint): New custom group.
17985 (elint-log-buffer): Make it a defcustom.
17986 (elint-scan-preloaded, elint-ignored-warnings)
17987 (elint-directory-skip-re): New options.
17988 (elint-builtin-variables): Doc fix.
17989 (elint-preloaded-env): New variable.
17990 (elint-unknown-builtin-args): Add an entry for encode-time.
17991 (elint-extra-errors): Make it a variable rather than a constant.
17992 (elint-preloaded-skip-re): New constant.
17993 (elint-directory): Skip files matching elint-directory-skip-re.
17994 (elint-features): New variable, local to linted buffers.
17995 (elint-update-env): Initialize elint-features. Possibly add
17996 elint-preloaded-env to the buffer's environment.
17997 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17999 (elint-init-form): New function, extracted from elint-init-env.
18000 Make non-list forms a warning rather than an error.
18001 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18002 easy-menu-define, put that adds an error-condition, and provide.
18003 When requiring cl, also require cl-macs. Really require cl, to handle
18004 some cl macros. Store required libraries in the list elint-features,
18005 so as not to re-load them. Treat cc-require like require.
18006 (elint-init-env): Call elint-init-form to do the work.
18007 Handle eval-and-compile and such like.
18008 (elint-add-required-env): Do not clear messages.
18009 (elint-special-forms): Add handlers for function, defalias, if, when,
18011 (elint-form): Add optional argument to ignore elint-special-forms,
18012 useful to prevent recursive calls from handlers. Doc fix.
18013 Respect elint-ignored-warnings.
18014 (elint-form): Respect elint-ignored-warnings.
18015 (elint-bound-variable, elint-bound-function): New variables.
18016 (elint-unbound-variable): Respect elint-bound-variable.
18017 (elint-get-args): Respect elint-bound-function.
18018 (elint-check-cond-form): Add some simple handling for (f)boundp and
18020 (elint-check-defalias-form): New handler.
18021 (elint-check-let-form): Make an empty let a warning rather than an
18023 (elint-check-setq-form): Make an empty setq a warning rather than an
18024 error. Respect elint-ignored-warnings.
18025 (elint-check-defvar-form): Accept null doc-strings.
18026 (elint-check-conditional-form): New handler. Does some simple-minded
18027 checking of featurep and (f)boundp tests.
18028 (elint-put-function-args): New function.
18029 (elint-initialize): Use elint-scan-doc-file rather than
18030 elint-find-builtin-variables. Use elint-put-function-args.
18031 Possibly scan preloaded-file-list.
18032 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18033 extend to handle functions as well.
18035 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18037 * linum.el (linum-delete-overlays, linum-update-window):
18038 Do not modify the right margin. (Bug#3971)
18040 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18042 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18043 Use nxml-mode instead of xml-mode.
18045 2009-09-21 Kevin Ryde <user42@zip.com.au>
18047 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18049 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18051 * net/dig.el (dig-mode): Use define-derived-mode.
18053 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18055 * vc-dispatcher.el (vc-do-command): Return the process object in
18056 the asynchronous case. Use when instead of if. Do not run
18057 vc-exec-after to display a message if not enabled. (Bug#4463)
18059 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18060 properties to the stash strings.
18061 (vc-git-stash-list): Return a list of strings.
18062 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18063 (vc-git-stash-show-at-point): New functions.
18064 (vc-git-stash-map): New keymap.
18066 * register.el (ctl-x-r-map): Define the keys here instead of
18069 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18071 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18072 list, to workaround performance problem (bug#4485).
18074 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18076 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18078 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18080 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18081 Document that this option is not recommended to use.
18083 2009-09-19 Glenn Morris <rgm@gnu.org>
18085 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18088 * calc/calc-alg.el (var):
18089 * calc/calcalg2.el (var): Define for compiler.
18091 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18093 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18094 Doc fix (Bug#3932).
18096 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18098 * time-stamp.el (time-stamp-month-dd-yyyy)
18099 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18100 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18101 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18102 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18103 Remove functions that have been obsolete since 1995 (Bug#4436).
18105 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18106 indent buffer only if called interactively (Bug#4452).
18108 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18109 Eli Zaretskii <eliz@gnu.org>
18111 This fixes bug#4197 (merged to bug#865, though not identical).
18112 * server.el (server-auth-dir): Add docstring note about FAT32.
18113 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18114 but warn against using them.
18116 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18118 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18119 older GDB where there is no has_more field.
18121 2009-09-19 Glenn Morris <rgm@gnu.org>
18123 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18125 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18127 * files.el (auto-mode-alist): Change default for XML files to nXML
18130 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18132 * server.el (server-ensure-safe-dir): Pass 'integer
18133 to `file-attributes', as suggested.
18135 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18137 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18138 (dired-query): Use read-key.
18140 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18142 * cus-start.el (ns-use-qd-smoothing): Remove.
18144 2009-09-18 Glenn Morris <rgm@gnu.org>
18146 * allout.el (top-level): Remove unnecessary progn.
18148 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18150 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18151 definition of abbrev table.
18153 * speedbar.el (speedbar-track-mouse):
18154 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18155 * net/eudc.el (eudc-expand-inline):
18156 * net/newst-backend.el (newsticker--cache-read-feed):
18157 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18158 condition-case handlers.
18160 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18162 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18163 (gdb-var-list): Add an element for has_more field.
18164 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18165 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18166 (gdb-var-update-handler-1): Parse output of dynamic variable
18167 objects (STL containers).
18168 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18169 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18171 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18173 (gud-speedbar-buttons): Make node expandable if expression "has more"
18176 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18178 * startup.el (emacs-quick-startup): Remove variable and all uses.
18179 (command-line): Set `inhibit-x-resources' instead.
18180 (command-line-1): Use `inhibit-x-resources' instead.
18182 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18184 * subr.el: Fix last change to avoid using the `unless' macro,
18185 which breaks bootstrapping.
18187 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18189 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18190 extended definitions, in case we reload subr.el after having
18192 (eval-next-after-load): Mark as obsolete.
18194 2009-09-17 Juri Linkov <juri@jurta.org>
18196 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18197 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18198 (menu-bar-showhide-menu, menu-bar-tools-menu)
18199 (menu-bar-describe-menu, menu-bar-help-menu)
18200 (minibuffer-local-completion-map, minibuffer-local-map):
18203 2009-09-17 Glenn Morris <rgm@gnu.org>
18205 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18206 arguments, whether or not it has a handler.
18208 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18210 * simple.el (hard-newline): Give it a doc-string.
18212 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18213 (lisp-mode-syntax-table): Give them doc-strings.
18215 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18217 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18218 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18219 (menu-bar-options-menu, menu-bar-showhide-menu)
18220 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18221 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18222 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18223 (menu-bar-options-menu, menu-bar-tools-menu)
18224 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18225 (menu-bar-help-menu):
18226 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18229 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18230 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18231 calls for the menu names and :help.
18233 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18235 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18236 to :minor-mode-function (bug#4455).
18238 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18240 * startup.el (command-line): Initialize the window-system after
18241 processing the command-line.
18243 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18244 page-delimiter matches the empty string.
18246 2009-09-16 Glenn Morris <rgm@gnu.org>
18248 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18249 byte-compile-not-obsolete-var. It's a list now.
18250 (byte-compile-not-obsolete-funcs): New variable.
18251 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18252 byte-compile-not-obsolete-funcs.
18253 (byte-compile-variable-ref, byte-compile-defvar): Update for
18254 byte-compile-not-obsolete-vars name-change and list nature.
18255 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18256 and variables behind (f)boundp tests.
18257 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18259 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18261 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18263 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18265 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18266 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18269 2009-09-15 Stephen Eglen <stephen@gnu.org>
18271 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18272 the virtual-buffers, use the name of the buffer specified by
18273 find-file-noselect, as the match may be a symlink. (This was a
18274 problem if the target and the symlink had different names.)
18276 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18278 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18280 * desktop.el (desktop-path): Check user-emacs-directory.
18282 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18284 * loadup.el: Use after-load-functions to GC after loading each file.
18285 Remove the explicit GC calls that used to be sprinkled around.
18287 * subr.el (after-load-functions): New hook.
18288 (do-after-load-evaluation): Run it. Use string-match-p to detect
18289 `obsolete' packages, rather than painfully extracting the relevant
18292 2009-09-15 Glenn Morris <rgm@gnu.org>
18294 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18295 free variable `doc'.
18297 * dired.el (dired-mode-map): Add menu entry for async shell command.
18299 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18300 variables, also consider the .elc files, since the .el files are
18301 normally gzipped (subsequent code locates the .el.gz from the .elc).
18303 * calc/calc-prog.el (arglist): Define for compiler.
18305 * calendar/diary-lib.el (diary-display-function): Change the default to
18307 (body): Define for compiler.
18309 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18310 (byte-compile-file-form, byte-compile-lambda)
18311 (byte-compile-top-level-body, byte-compile-form)
18312 (byte-compile-variable-ref, byte-compile-setq)
18313 (byte-compile-setq-default, byte-compile-body)
18314 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18315 (batch-byte-compile): Give some more local variables with common names
18316 a "bytecomp-" prefix to avoid masking warnings about free variables.
18318 * startup.el (command-line-1): Give local variables with common names a
18319 distinguishing prefix, so as not to hide free variable warnings during
18322 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18323 clever and add a suffix to make a unique name, just let the user decide
18324 whether or not to overwrite it. If the input is a directory, write the
18325 default filename to that directory. (Bug#4388)
18326 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18327 is a filename-as-a-directory.
18329 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18331 * textmodes/page.el (what-page): Don't move to beginning of line.
18332 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18334 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18336 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18338 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18340 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18341 * help.el (help-for-help-internal): Add purecopy calls for text.
18343 * vc.el (top): print-log method now takes an optional SHORTLOG
18344 argument. Add a new method: root.
18345 (vc-root-diff, vc-print-root-log): New functions.
18346 (vc-log-short-style): New variable.
18347 (vc-print-log-internal): Add support for showing short logs.
18349 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18350 vc-print-root-log and vc-print-root-diff.
18352 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18353 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18354 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18357 * vc-cvs.el (vc-cvs-print-log):
18358 * vc-mtn.el (vc-mtn-print-log):
18359 * vc-rcs.el (vc-rcs-print-log):
18360 * vc-sccs.el (vc-sccs-print-log):
18361 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18362 that is ignored for now.
18364 * vc-mtn.el (vc-mtn-annotate-command):
18365 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18367 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18369 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18370 to function-key-map, and give them ascii-character property.
18371 * term/x-win.el (x-alternatives-map):
18372 * term/ns-win.el (ns-alternatives-map):
18373 * term/internal.el (msdos-key-remapping-map):
18374 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18376 2009-09-14 Glenn Morris <rgm@gnu.org>
18378 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18379 temp-buffers (2009-09-12).
18381 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18383 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18384 the new read-key function.
18386 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18388 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18389 is defined (Bug#4405).
18391 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18393 * recentf.el (recentf-cleanup): Use a hash table to find
18394 duplicates (Bug#4407).
18396 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18398 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18399 kp-0 to ascii equivalents (Bug#4325).
18401 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18403 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18405 * eshell/em-hist.el:
18406 * eshell/em-dirs.el (eshell-complete-user-reference):
18407 Declare pcomplete functions and variables to avoid compiler warnings.
18409 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18411 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18412 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18413 * eshell/em-alias.el (eshell-aliases-file):
18414 * eshell/em-hist.el (eshell-history-file-name):
18415 Use expand-file-name instead of concat to make file names (Bug#4308).
18417 2009-09-13 Glenn Morris <rgm@gnu.org>
18419 * ediff-merg.el (ediff-do-merge):
18420 * filesets.el (filesets-run-cmd):
18421 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18422 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18423 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18424 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18425 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18426 Replace empty `let's with `progn'.
18428 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18430 * mail/sendmail.el (send-mail-function):
18431 * tooltip.el (tooltip-mode):
18432 * simple.el (transient-mark-mode):
18433 * rfn-eshadow.el (file-name-shadow-mode):
18434 * frame.el (blink-cursor-mode):
18435 * font-core.el (global-font-lock-mode):
18436 * files.el (temporary-file-directory)
18437 (small-temporary-file-directory, auto-save-file-name-transforms):
18438 * epa-hook.el (auto-encryption-mode):
18439 * composite.el (global-auto-composition-mode):
18440 Use custom-initialize-delay.
18441 * startup.el (command-line): Don't explicitly call
18442 custom-reevaluate-setting for all the above vars.
18443 * custom.el (custom-initialize-safe-set)
18444 (custom-initialize-safe-default): Delete.
18446 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18448 * term/x-win.el (x-initialize-window-system):
18449 * term/w32-win.el (w32-initialize-window-system):
18450 * term/ns-win.el (ns-initialize-window-system): Don't call
18451 mouse-wheel-mode since it's enabled globally by default already.
18453 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18454 actually define the variable, but only silences the byte-compiler.
18455 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18456 before looking it up.
18457 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18460 2009-09-12 Glenn Morris <rgm@gnu.org>
18462 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18464 (elint-add-required-env): Don't beep on error.
18465 (elint-forms): In case of error, return ENV unchanged.
18466 (elint-init-env): Skip non-list forms.
18467 (elint-log): Handle unknown file positions.
18469 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18471 * epg.el (epg-make-context): Add autoload cookie.
18472 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18473 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18474 (epg-verify-string, epg-start-sign, epg-sign-file)
18475 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18476 (epg-encrypt-string, epg-start-export-keys)
18477 (epg-export-keys-to-file, epg-export-keys-to-string)
18478 (epg-start-import-keys, epg-import-keys-from-file)
18479 (epg-import-keys-from-string, epg-start-receive-keys)
18480 (epg-receive-keys, epg-import-keys-from-server)
18481 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18482 (epg-sign-keys, epg-start-generate-key)
18483 (epg-generate-key-from-file, epg-generate-key-from-string):
18484 Remove autoload cookie.
18486 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18488 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18489 reevaluation of trash-directory.
18491 * mwheel.el: Fix last change.
18492 (mouse-wheel-mode): New defvar.
18493 (mouse-wheel-mode): Remove autoload cookie.
18495 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18497 * mwheel.el (mwheel-installed-bindings): New var.
18498 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18499 the bindings we set last time. Use custom-initialize-delay.
18500 * loadup.el: Load mwheel after term/*-win.el.
18501 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18502 and mouse-wheel-up-event now that their first evaluation is done
18503 sufficiently late to be correct.
18505 * startup.el (tutorial-directory): Make it a defcustom.
18506 Use custom-initialize-delay rather than eval-at-startup to set it.
18507 * image.el (image-load-path): Make it a defcustom.
18508 Use custom-initialize-delay rather than eval-at-startup to set it.
18509 * subr.el (eval-at-startup): Remove.
18510 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18512 * subr.el (do-after-load-evaluation): Warn the user after loading an
18515 2009-09-12 Glenn Morris <rgm@gnu.org>
18517 * proced.el (proced-mark-alt): Remove alias.
18518 (proced-mode-map): Remove proced-mark-alt.
18520 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18521 Elint file and directory. Remove initialization entry.
18523 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18525 (elint-current-buffer): Set mode-line-process.
18526 (elint-init-env): Handle define-derived-mode.
18527 Fix declare-function with unspecified arglist. Guard against odd
18528 defalias statements (eg iso-insert's 8859-1-map).
18529 (elint-add-required-env): Use a temp buffer.
18530 (elint-form): Just print the function/macro name, not the whole form.
18531 Return env unchanged if we fail to parse a macro.
18532 (elint-forms): Guard against parse errors.
18533 (elint-output): New function, to handle batch mode.
18534 (elint-log-message): Add optional argument. Use elint-output.
18535 (elint-set-mode-line): New function.
18537 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18539 * emacs-lisp/elp.el (elp-not-profilable): Add more
18540 functions (Bug#4233).
18542 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18544 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18545 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18547 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18549 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18550 (gdb-var-list-children): Use json parsing.
18552 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18554 * progmodes/js.el (js--proper-indentation): Handle the case where
18555 char-before is null. Reported by Deniz Dogan.
18557 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18559 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18561 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18563 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18564 (epg-digest-algorithm-alist): Add SHA224.
18565 (epg-context-set-passphrase-callback)
18566 (epg-context-set-progress-callback): Add description about
18569 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18571 * custom.el (custom-delayed-init-variables): New var.
18572 (custom-initialize-delay): New function.
18573 * startup.el (command-line): "Re"evaluate all vars in
18574 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18575 explicitly any more.
18576 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18577 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18579 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18581 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18583 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18584 (gdb-var-update-handler): Use json parsing.
18586 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18588 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18589 decode annotated text, regardless of language environment. (Bug#2741)
18591 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18593 * Makefile.in (autoloads): Make rmail.el writable as well.
18595 2009-09-11 Glenn Morris <rgm@gnu.org>
18597 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18599 * dired.el: Regenerate with extracted autoloads.
18600 * Makefile.in (autoloads): Make dired.el writable.
18602 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18603 * ibuffer.el: Regenerate with extracted autoloads.
18604 * Makefile.in (autoloads): Make ibuffer.el writable.
18606 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18607 * version.el (emacs-copyright, emacs-major-version)
18608 (emacs-minor-version): Reformat doc-strings for make-docfile.
18610 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18611 functions and variables, since they must be stuff specific to some other
18613 (apropos-print): Make mouse-click message less specific about button.
18615 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18616 that records where a macro was defined.
18617 * help-fns.el (describe-function-1): Mention if a function has a
18619 * help-mode.el (help-function-cmacro): New button.
18621 * locate.el (top-level): Always require dired.
18622 (locate-mode-map): Initialize inside the defvar.
18624 * net/ange-ftp.el (dired-compress-file): Declare.
18625 (ange-ftp-dired-compress-file): Add doc string.
18627 * term/ns-win.el (x-display-name, x-setup-function-keys):
18628 Unify doc-strings with X versions.
18630 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18632 * emulation/crisp.el (crisp-mode-map): Move initialization
18634 (crisp-mode): Use define-minor-mode.
18636 * progmodes/xscheme.el (xscheme-evaluation-commands):
18637 Put a :advertised-binding property rather than using
18638 advertised-xscheme-send-previous-expression.
18639 (advertised-xscheme-send-previous-expression): Declare obsolete.
18640 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18642 (crisp-mode): Add corresponding bindings to
18643 undo's :advertised-binding instead.
18644 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18645 than using dired-advertised-find-file.
18646 (dired-advertised-find-file):
18647 * simple.el (advertised-undo):
18648 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18649 (widget-keymap): Put a :advertised-binding property rather
18650 than using advertised-widget-backward.
18651 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18652 than using advertised-undo.
18653 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18655 2009-09-10 Simon South <ssouth@slowcomputing.org>
18657 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18658 Mark mode is enabled and region is active; otherwise indent or
18659 insert TAB as usual.
18660 (delphi-mode): Update description of TAB-key binding.
18662 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18664 * subr.el (define-key-rebound-commands): Mark obsolete.
18665 * startup.el (precompute-menubar-bindings): Remove.
18666 (normal-top-level): Remove obsolete code that tried to precompute
18668 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18669 define-key-rebound-commands and precompute-menubar-bindings.
18671 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18673 * net/imap.el (imap-interactive-login): Better messages.
18674 (imap-open): Fix bug with renamed buffer on reconnect.
18675 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18676 for easier debugging and cleaner code. On successful (guessed based on
18677 server capabilities) secondary authentication, set imap-state
18679 (imap-last-authenticator): Define imap-last-authenticator as a variable
18682 2009-09-10 Glenn Morris <rgm@gnu.org>
18684 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18686 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18687 (byte-compile-file-form-autoload): Don't warn about unknown functions
18688 where the autoload statement comes after the use.
18689 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18690 that any handlers inside the body (eg require) are in turn respected.
18692 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18695 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18696 and syntax and abbrev tables basic docs, if they don't have any.
18698 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18700 * international/mule-cmds.el (top-level): Require cl when compiling.
18701 (view-hello-file): Use default-value rather than
18702 default-enable-multibyte-characters.
18704 * progmodes/fortran.el: Move all safe and risky properties into the
18707 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18708 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18709 * mail/undigest.el:
18710 Put autoloads in rmail.el rather than loaddefs.el.
18711 * mail/rmail.el: Regenerate with extracted autoloads.
18713 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18714 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18716 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18718 Reported in thread for Bug#4375.
18719 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18720 "-data-evaluate-expression" instead of print.
18721 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18722 (gdb-tooltip-print): Parse output from above MI command.
18723 (gdb): Revert 2009-08-11 change. User should detach inferior
18726 Remove the word "separate" from IO functions as inferior
18727 output is now never displayed in the GUD buffer.
18729 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18731 * startup.el (command-line-normalize-file-name): On Windows and
18732 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18734 2009-09-10 Juri Linkov <juri@jurta.org>
18736 * isearch.el (isearch-text-char-description): Propertize escape
18737 character sequences with the `escape-glyph' face. (Bug#4344)
18739 * simple.el (shell-command): Set asynchronous process filter to
18740 `comint-output-filter'. (Bug#4343)
18742 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18743 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18744 the list. Move "asm" to the bottom.
18745 (grep-find-ignored-directories): Add `choice' with nil value
18746 to empty the list easily.
18747 (grep-find-ignored-files): New option.
18748 (grep-files-history): Set to nil by default instead of '("ch" "el").
18749 (grep-compute-defaults): Add "<X>" to `grep-template'.
18750 (grep-read-files): Bind new local variables `default-alias' and
18751 `default-extension'. Use a list of default values for the file prompt.
18752 (lgrep): Add `--exclude=' command line options composed from
18753 `grep-find-ignored-files'.
18754 (rgrep): Add `-name' command line options composed from
18755 `grep-find-ignored-files'. (Bug#4301)
18757 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18759 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18762 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18764 * calendar/time-date.el (autoload):
18765 Expand define-obsolete-function-alias into defalias and make-obsolete
18766 for old Emacsen that Gnus supports.
18767 (with-no-warnings): Define it for old Emacsen.
18768 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18770 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18771 float-time is available; suppress compile warning for time-to-seconds.
18773 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18775 * net/imap.el (imap-message-map): Docstring fix.
18777 2009-09-09 Glenn Morris <rgm@gnu.org>
18779 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18780 line numbers too. (Bug#4374)
18782 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18784 * smerge-mode.el (smerge-remove-props, smerge-refine):
18785 Use with-silent-modifications (bug#4342).
18787 * subr.el (with-silent-modifications): New macro.
18789 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18791 * files.el (top-level): Require `cl' when compiling.
18793 2009-09-07 Glenn Morris <rgm@gnu.org>
18795 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18797 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18798 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18800 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18802 * vc-git.el (vc-git-annotate-command): Use separator to parse
18803 arguments correctly.
18805 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18807 * proced.el (proced-mode): Doc fix.
18809 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18811 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18813 (tramp-do-file-attributes-with-ls): Check for file existence at
18815 (tramp-do-file-attributes-with-stat): Likewise.
18816 (tramp-convert-file-attributes): Return nil when attr is nil.
18818 2009-09-05 Glenn Morris <rgm@gnu.org>
18820 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18821 properties to this button.
18822 (diary-fancy-display): Don't extend the button to the final newline.
18823 (diary-fancy-display-mode): Continue to define "q" as a local key.
18825 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18828 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18830 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18831 (byte-compile-dest-file-function): New option.
18832 (byte-compile-dest-file): Doc fix.
18833 Obey byte-compile-dest-file-function.
18834 (byte-compile-cl-file-p): New function.
18835 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18836 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18837 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18838 than for file being previously loaded.
18839 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18840 (byte-compile-file-form-require): Handle the case where requiring a file
18841 indirectly causes CL to be loaded.
18843 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18845 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18846 before killing the old buffer, since by the time `kill-buffer' is
18847 run so many buffer variables have been set to nil that it may not
18848 behave as expected. (Bug#4061)
18850 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18852 * files.el (find-alternate-file): If the old buffer is modified
18853 and visiting a file, behave similarly to `kill-buffer' when
18854 killing it, thus reverting to the pre-1.878 behavior; see
18855 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18856 for discussion. Also, consult `buffer-file-name' as a variable
18857 not as a function, for consistency with the rest of the code.
18859 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18861 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18862 also when adding a new directory.
18864 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18867 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18869 * files.el (locate-file-completion-table): Make it provide boundary
18870 information, so partial-completion works better.
18872 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18874 * mail/footnote.el (Footnote-text-under-cursor):
18875 Check footnote-text-marker-alist before using it (bug#4324).
18877 2009-09-04 Glenn Morris <rgm@gnu.org>
18879 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18880 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18881 * play/solitaire.el, play/tetris.el:
18882 Remove leading * from defcustom and defface docs.
18884 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18886 (diary-fancy-overriding-map): New variable.
18887 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18890 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18893 2009-09-03 Glenn Morris <rgm@gnu.org>
18895 * arc-mode.el (archive-mode):
18896 * dos-fns.el (set-default-process-coding-system):
18897 * man.el (Man-getpage-in-background):
18898 * menu-bar.el (menu-bar-describe-menu):
18899 * server.el (server-process-filter):
18900 * startup.el (command-line):
18901 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18902 * w32-fns.el (set-default-process-coding-system):
18903 * x-dnd.el (x-dnd-handle-file-name):
18904 * international/mule-cmds.el (mule-menu-keymap)
18905 (set-default-coding-systems, language-info-alist, set-language-info)
18906 (set-language-environment, standard-display-european-internal)
18907 (set-locale-environment):
18908 * international/mule-diag.el (mule-diag):
18909 * mail/emacsbug.el (report-emacs-bug):
18910 * mail/rmail.el (rmail-mode):
18911 * mail/sendmail.el (mail-setup):
18912 Use default-value rather than default-enable-multibyte-characters.
18914 * progmodes/f90.el: Move all safe properties into the defcustoms.
18915 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18917 * calendar/appt.el (appt-check):
18918 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18919 (diary-check-diary-file, diary-list-entries)
18920 (diary-include-other-diary-files, diary-simple-display)
18921 (diary-fancy-display, diary-print-entries)
18922 (diary-mark-included-diary-files, diary-make-entry):
18923 Don't call substitute-in-file-name on diary-file.
18925 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18926 Stefan Monnier <monnier@iro.umontreal.ca>
18928 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18929 (footnote-mode-map): Move initialization into the declaration.
18930 (footnote-minor-mode-map): Define it rather than changing global-map.
18931 (footnote-mode): Use define-minor-mode.
18933 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18935 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18936 (tramp-do-file-attributes-with-perl)
18937 (tramp-do-file-attributes-with-stat): Rename from
18938 `tramp-handle-file-attributes-with-*'.
18939 (tramp-handle-file-attributes): Use them.
18940 (tramp-do-directory-files-and-attributes-with-perl)
18941 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18942 `tramp-handle-directory-files-and-attributes-with-*'.
18943 (tramp-handle-directory-files-and-attributes): Use them.
18944 (tramp-method-out-of-band-p): Additional parameter SIZE.
18945 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18946 (tramp-handle-write-region): Use it.
18947 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18948 (tramp-handle-vc-registered): Check, whether the first run did
18949 return files to be tested.
18950 (tramp-advice-make-auto-save-file-name): Do not call directly
18951 `tramp-handle-make-auto-save-file-name', because this would bypass
18952 the locking mechanism.
18954 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18955 (file-remote-p, process-file, start-file-process, set-file-times)
18956 (tramp-compat-file-attributes): Compatibility functions shall not
18957 call directly `tramp-handle-*', because this would bypass the
18959 (tramp-compat-number-sequence): New defun.
18961 2009-09-02 Glenn Morris <rgm@gnu.org>
18963 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18964 alias for float-time.
18965 (time-to-number-of-days): In Emacs, use float-time.
18966 * net/newst-backend.el (time-add): Suppress warnings from compat
18968 * time.el (emacs-uptime, emacs-init-time):
18969 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18970 Use float-time rather than time-to-seconds.
18972 * minibuffer.el (completion-initials-expand): Fix typo.
18974 * faces.el (modeline, modeline-inactive, modeline-highlight)
18975 (modeline-buffer-id):
18976 * info.el (info-menu-5): Mark these face aliases as obsolete.
18978 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18980 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18982 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18983 no "--thread" option.
18984 (gdb-stopped): Don't print "Switched to thread" message when it is
18987 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18989 * minibuffer.el (completion-try-completion)
18990 (completion-all-completions): Remove ill-defined (and
18991 mistakenly installed and luckily never used nor documented)
18992 `completion-styles' property.
18993 (completion-initials-expand, completion-initials-all-completions)
18994 (completion-initials-try-completion): New functions.
18995 (completion-styles-alist): Add doc to each entry.
18996 Add new `initials' entry.
18998 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19000 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19001 MI command -var-evaluate-expression.
19002 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19003 and tweak for case of string child.
19004 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19006 2009-09-01 Glenn Morris <rgm@gnu.org>
19008 * add-log.el (change-log-date-face, change-log-name-face)
19009 (change-log-email-face, change-log-file-face, change-log-list-face)
19010 (change-log-conditionals-face, change-log-function-face)
19011 (change-log-acknowledgement-face):
19012 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19013 (custom-modified-face, custom-set-face, custom-changed-face)
19014 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19015 (custom-documentation-face, custom-state-face, custom-comment-face)
19016 (custom-comment-tag-face, custom-variable-tag-face)
19017 (custom-variable-button-face, custom-face-tag-face)
19018 (custom-group-tag-face-1, custom-group-tag-face):
19019 * diff-mode.el (diff-header-face, diff-file-header-face)
19020 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19021 (diff-added-face, diff-changed-face, diff-function-face)
19022 (diff-context-face, diff-nonexistent-face):
19023 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19024 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19025 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19026 (Info-title-4-face):
19027 * isearch.el (isearch-lazy-highlight-face):
19028 * log-view.el (log-view-file-face, log-view-message-face):
19029 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19030 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19031 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19033 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19034 (smerge-base-face, smerge-markers-face):
19035 * wid-edit.el (widget-documentation-face, widget-button-face)
19036 (widget-field-face, widget-single-line-field-face)
19037 (widget-inactive-face, widget-button-pressed-face):
19038 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19039 (woman-addition-face):
19040 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19041 (eshell-ls-executable-face, eshell-ls-readonly-face)
19042 (eshell-ls-unreadable-face, eshell-ls-special-face)
19043 (eshell-ls-missing-face, eshell-ls-archive-face)
19044 (eshell-ls-backup-face, eshell-ls-product-face)
19045 (eshell-ls-clutter-face):
19046 * eshell/em-prompt.el (eshell-prompt-face):
19047 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19048 * obsolete/old-whitespace.el (whitespace-highlight-face):
19049 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19050 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19051 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19052 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19053 (antlr-font-lock-literal-face):
19054 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19055 (ebrowse-root-class-face, ebrowse-file-name-face)
19056 (ebrowse-default-face, ebrowse-member-attribute-face)
19057 (ebrowse-member-class-face, ebrowse-progress-face):
19058 * progmodes/make-mode.el (makefile-space-face):
19059 * progmodes/sh-script.el (sh-heredoc-face):
19060 * textmodes/flyspell.el (flyspell-incorrect-face)
19061 (flyspell-duplicate-face):
19062 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19063 * textmodes/texinfo.el (texinfo-heading-face):
19064 Mark face aliases with "-face" suffix as obsolete.
19066 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19069 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19070 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19071 easy-menu-define wants to modify these.
19073 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19075 * net/browse-url.el (browse-url-file-url):
19076 * term/internal.el (dos-codepage-setup):
19077 Use default-value rather than default-enable-multibyte-characters.
19079 * progmodes/etags.el (etags-goto-tag-location):
19080 * progmodes/flymake.el (flymake-highlight-line)
19081 (flymake-goto-file-and-line, flymake-goto-line):
19082 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19083 (gdb-goto-breakpoint):
19084 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19085 * progmodes/python.el (python-find-function)
19086 (python-pdbtrack-track-stack-file):
19087 * progmodes/verilog-mode.el (verilog-surelint-off):
19088 * term/ns-win.el (ns-open-file-select-line):
19089 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19090 Use forward-line rather than goto-line.
19092 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19093 * textmodes/reftex-index.el (reftex-display-index):
19094 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19095 * textmodes/reftex-toc.el (reftex-toc):
19096 Remove unnecessary bindings of default-major-mode (all are followed by
19097 major-mode check and possible mode switch).
19099 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19101 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19102 Handle watchpoints (bug#4282).
19103 (def-gdb-thread-buffer-command): Enable thread to be selected by
19104 clicking without selecting threads buffer first.
19105 (gdb-current-context-command): Use selected frame so that "up",
19106 "down" etc work in the GUD buffer.
19107 (gdb-update): Find selected frame before rendering stack buffer.
19108 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19110 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19112 * progmodes/sym-comp.el (displayed-completions): Remove.
19113 (symbol-complete): Use minibuffer-complete.
19115 2009-08-31 Glenn Morris <rgm@gnu.org>
19117 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19119 * apropos.el (apropos-symbols-internal):
19120 Handle (obsolete) face aliases.
19122 * faces.el (describe-face): Adjust the output format to be more like
19123 describe-variable, and to mention (obsolete) face aliases.
19124 Adjust the whitespace so that help-setup-xref works.
19126 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19127 * calendar/diary-lib.el (diary-button-face):
19128 Mark these face aliases as obsolete.
19130 * calendar/calendar.el (calendar-today): Doc fix.
19132 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19134 * progmodes/gdb-mi.el (gdb-control-all-threads)
19135 (gdb-control-current-thread): Force tool bar update.
19136 (gdb-non-stop-handler): New function.
19137 (gdb-init-1): Use it to test if non-stop mode is supported.
19138 Remove unused gdbmi buffer type.
19140 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19142 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19143 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19145 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19147 * comint.el (comint-exec-1): Check command is non-null first.
19148 Part of gdb-mi.el change (2009-08-28).
19150 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19152 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19154 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19156 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19157 instead of `dolist' to avoid a recursive require when bootstrapping.
19159 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19161 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19163 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19165 * net/imap.el (imap-send-command): Simplify.
19166 (imap-wait-for-tag): point-max -> buffer-size.
19168 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19170 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19171 with constant argument.
19173 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19175 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19177 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19178 Change default, since most of our files don't have a history.
19179 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19182 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19185 * calc/calc.el: Improve commenting convention.
19186 (calc-digit-map, toplevel): Simplify.
19188 * comint.el (comint-insert-input): Be careful to only set point if we
19189 don't delegate to some other command.
19191 * proced.el (proced-signal-list): Make it an alist.
19192 (proced-grammar-alist): Capitalize names.
19193 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19194 Disable undo manually and make it read-only.
19195 Use completion-annotate-function.
19197 * minibuffer.el (minibuffer-message): If the current buffer is not
19198 a minibuffer, insert the message in the echo area rather than at the
19200 (completion-annotate-function): New variable.
19201 (minibuffer-completion-help): Use it.
19202 (completion--embedded-envvar-table): Environment vars are
19203 always case-sensitive.
19205 2009-08-30 Glenn Morris <rgm@gnu.org>
19207 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19208 from fortran-current-defun.
19209 (fortran-beginning-of-subprogram): Be more precise about finding the
19210 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19211 (fortran-end-of-subprogram): Simplify.
19212 (fortran-current-defun): Use fortran-start-prog-re.
19214 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19216 * subr.el (do-after-load-evaluation): Simplify.
19218 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19220 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19222 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19223 (vc-rcs-print-log): Use it.
19225 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19227 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19229 * paths.el (abbrev-file-name): Move to abbrev.el.
19230 * abbrev.el (abbrev-file-name): Move from paths.el.
19231 Obey user-emacs-directory.
19232 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19233 user-emacs-directory.
19234 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19235 abbrev-file-name and calc-settings-file any more.
19236 * startup.el (command-line): Recompute abbrev-file-name and
19237 abbreviated-home-dir.
19238 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19239 of the special code for when C-h bindings haven't been changed.
19240 (display-startup-echo-area-message): Use with-current-buffer.
19241 (command-line-1): Use a list of strings, rather than a list of lists
19242 of strings for longopts.
19244 * files.el (get-free-disk-space): Use / for default-directory.
19246 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19247 Use with-current-buffer.
19249 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19250 Recognize immutable variables like most-positive-fixnum.
19251 (byte-compile-setq-default): Check and warn if trying to assign
19252 to an immutable variable, or a non-variable.
19254 * progmodes/cc-vars.el (c-comment-continuation-stars):
19255 * progmodes/cc-engine.el (c-looking-at-bos):
19256 * progmodes/cc-cmds.el (c-toggle-auto-state)
19257 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19258 (c-comment-line-break-function): Add version of obsolescence.
19260 2009-08-28 Juri Linkov <juri@jurta.org>
19262 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19263 associated with `archive-mode'.
19265 * image.el (image-type-header-regexps): Use only JPEG magic number
19266 to determine JPEG images, and don't use `image-jpeg-p' because
19267 Emacs can display non-JFIF non-Exif JPEG images.
19269 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19271 * arc-mode.el (archive-mode):
19272 * emacs-lisp/re-builder.el (re-builder-unload-function):
19273 Protect against the default value of `major-mode' being nil.
19275 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19277 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19278 Fix typos in docstrings.
19280 * progmodes/js.el (js--macro-decl-re): Doc fix.
19281 (js--plain-method-re, js--split-name): Refloc docstring.
19282 (js--class-styles, js--make-merged-item, js--splice-into-items):
19283 Fix typos in docstrings; reflow docstrings.
19284 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19285 (js--variable-decl-matcher, js--inside-pitem-p)
19286 (js--parse-state-at-point, js--get-all-known-symbols)
19287 (js--symbol-history, js-find-symbol, js--js-references)
19288 (js--moz-interactor, js--js-encode-value, js--read-tab):
19289 Fix typos in docstrings.
19291 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19293 * textmodes/reftex.el (reftex-get-file-buffer-force):
19294 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19295 * emulation/viper.el (viper-go-away, viper-set-hooks):
19296 * emacs-lisp/re-builder.el (re-builder-unload-function):
19297 * emacs-lisp/bytecomp.el (byte-compile-file):
19298 * ses.el (ses-unload-function):
19299 * hexl.el (hexl-find-file):
19300 * files.el (normal-mode):
19301 * ehelp.el (with-electric-help):
19302 * autoinsert.el (auto-insert-alist):
19303 * arc-mode.el (archive-mode):
19304 Use (default-value 'major-mode) instead of default-major-mode.
19306 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19307 * international/mule.el (load-with-code-conversion):
19308 * emacs-lisp/debug.el (debug):
19309 * ediff-vers.el (ediff-rcs-get-output-buffer):
19310 * dired.el (dired-internal-noselect): Don't let-bind
19311 default-major-mode around code that doesn't use it.
19312 E.g. buffer creation via get-buffer-create doesn't use it.
19314 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19316 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19317 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19318 when writing the temp file. Otherwise, epa-file gets confused.
19319 (tramp-register-file-name-handlers): Make it a defun. Move also
19320 `epa-file-handler' to the front of `file-name-handler-alist'.
19322 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19324 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19325 start right after a ^M.
19326 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19327 (tramp-completion-file-name-regexp-separate)
19328 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19329 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19330 Don't modify last-coding-system-used by accident.
19331 (tramp-completion-file-name-handler): Apply the checks here,
19332 instead during registration.
19333 (tramp-register-file-name-handlers): Rename from
19334 `tramp-register-file-name-handler'. Register both
19335 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19336 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19338 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19340 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19341 Remove variable ...
19342 (gdb-init-1, gdb-display-separate-io-buffer)
19343 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19345 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19346 (gdb-inferior-filter): Use comint-output-filter to stop
19347 echoing and remove ^M characters.
19349 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19351 * emulation/viper-init.el (viper-restore-cursor-type):
19352 * emulation/cua-base.el (cua--update-indications):
19353 Replace default-cursor-type with (default-value 'cursor-type).
19355 * mail/sendmail.el (mail-recover-1):
19356 * international/mule-diag.el (describe-current-coding-system-briefly)
19357 (describe-current-coding-system):
19358 * international/mule-cmds.el (select-safe-coding-system)
19359 (select-message-coding-system)
19360 (set-language-environment-coding-systems, set-locale-environment):
19361 * hexl.el (hexl-insert-multibyte-char):
19362 * dos-w32.el (find-buffer-file-type-coding-system):
19363 * simple.el (what-cursor-position):
19364 Replace uses of default-buffer-file-coding-system
19365 with (default-value 'buffer-file-coding-system).
19367 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19368 Replace uses of default-cursor-in-non-selected-windows
19369 with (default-value 'cursor-in-non-selected-windows).
19370 Use with-current-buffer.
19372 * mail/feedmail.el: Use CL macros.
19373 (feedmail-run-the-queue, feedmail-send-it-immediately):
19374 * dos-w32.el (find-buffer-file-type): Replace uses of
19375 default-buffer-file-type with (default-value 'buffer-file-type).
19377 2009-08-28 Glenn Morris <rgm@gnu.org>
19379 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19380 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19381 Use default-value of major-mode rather than default-major-mode.
19383 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19385 * Makefile.in (update-elcfiles): Report left over elc files.
19387 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19388 expand-file-name and with-current-buffer.
19389 (mail-get-names, mail-directory): Use with-current-buffer.
19391 * vc.el (vc-read-revision): New function.
19392 (vc-version-diff, vc-merge): Use it.
19394 2009-08-27 Sam Steingold <sds@gnu.org>
19396 * simple.el (kill-do-not-save-duplicates): New user option.
19397 (kill-new): When it is non-nil, and the new string is the same as
19398 the latest kill, set replace to t to avoid duplicates in kill-ring.
19400 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19402 * net/tramp.el (tramp-handle-process-file): Do not flush all
19403 caches when `process-file-side-effects' is set.
19404 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19405 instead of `tramp-find-file-exists-command'.
19406 Unset `process-file-side-effects'.
19408 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19410 * net/tramp.el (tramp-methods): New method "rsyncc".
19411 (top): Add completion function for "rsyncc".
19412 (tramp-message-show-message): New defvar.
19413 (tramp-message, tramp-error): Use it.
19414 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19416 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19417 `tramp-methods' entry `copy-env' of "rsyncc".
19418 (tramp-vc-registered-read-file-names): New defconst.
19419 (tramp-vc-registered-file-names): New defvar.
19420 (tramp-handle-vc-registered): Implement optimization strategy.
19421 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19422 (tramp-vc-file-name-handler): New defun.
19423 (tramp-get-ls-command, tramp-get-test-command)
19424 (tramp-get-file-exists-command, tramp-get-remote-ln)
19425 (tramp-get-remote-perl, tramp-get-remote-stat)
19426 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19428 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19429 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19431 (tramp-get-file-property): Check for timestamps in
19432 `tramp-cache-inhibit-cache'.
19433 (tramp-set-file-property): Write timestamp.
19435 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19437 * language/japan-util.el (japanese-symbol-table): Add entries for
19440 * international/characters.el: Add category `j' to cp932-2-byte.
19442 2009-08-27 Kenichi Handa <handa@m17n.org>
19444 * international/fontset.el (build-default-fontset-data): New macro.
19445 (setup-default-fontset): Use build-default-fontset-data for CJK,
19446 tibetan, ethiopic, and ipa.
19448 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19450 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19451 (enable-multibyte-characters): Not customizable any more.
19453 * subr.el (default-mode-line-format, default-header-line-format)
19454 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19455 (default-direction-reversed, default-truncate-lines)
19456 (default-left-margin, default-tab-width, default-case-fold-search)
19457 (default-left-margin-width, default-right-margin-width)
19458 (default-left-fringe-width, default-right-fringe-width)
19459 (default-fringes-outside-margins, default-scroll-bar-width)
19460 (default-vertical-scroll-bar, default-indicate-empty-lines)
19461 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19462 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19463 (default-scroll-down-aggressively, default-fill-column)
19464 (default-cursor-type, default-buffer-file-type)
19465 (default-cursor-in-non-selected-windows)
19466 (default-buffer-file-coding-system, default-major-mode)
19467 (default-enable-multibyte-characters): Mark as obsolete.
19469 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19471 * vc-dir.el (vc-dir-update): Remove debug helper.
19473 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19475 2009-08-26 Sam Steingold <sds@gnu.org>
19477 * simple.el (save-interprogram-paste-before-kill): New user option.
19478 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19479 save the interprogram-paste into kill-ring before overriding it
19480 with the Emacs kill.
19482 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19484 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19485 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19486 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19487 and move to vc-rcs.el.
19488 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19490 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19491 (vc-rcs-update-changelog): Remove.
19492 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19493 and move to vc-rcs.el.
19495 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19496 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19498 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19499 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19500 vc.el, renamed to be RCS specific.
19502 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19504 (vc-cvs-update-changelog): Move here from vc.el.
19506 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19509 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19511 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19513 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19515 * vc-git.el (vc-git-register): Use "git add" for directories.
19516 (vc-git-stash, vc-git-stash-show): New functions.
19517 (vc-git-extra-menu-map): Bind them.
19519 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19520 directory correctly in case the item is a directory itself.
19522 * vc.el: Document the desired behavior for reverted files in the
19524 (vc-default-prettify-state-info): Remove function, unused.
19526 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19528 2009-08-26 Glenn Morris <rgm@gnu.org>
19530 * bindings.el (standard-mode-line-format): Reposition dashes in
19531 which-func entry. (Bug#4217)
19533 * files.el (enable-local-variables, enable-local-eval)
19534 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19536 (auto-mode-alist, ignored-local-variables)
19537 (save-some-buffers-action-alist): Move risky declarations to the
19539 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19540 (font-lock-defaults, format-alist, imenu--index-alist)
19541 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19542 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19543 (mode-line-modified, mode-line-mule-info, mode-line-position)
19544 (mode-line-process, mode-line-remote, outline-level)
19545 (parse-time-rules, rmail-output-file-alist)
19546 (special-display-buffer-names, vc-mode):
19547 Move risky declarations to the relevant files.
19548 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19549 (mode-line-modified, mode-line-process, mode-line-position)
19550 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19551 * font-core.el (font-lock-defaults):
19552 * format.el (format-alist):
19553 * vc-hooks.el (vc-mode):
19554 * window.el (special-display-buffer-names):
19555 * international/mule-cmds.el (input-method-alist):
19556 Define riskiness here (dumped file) rather than in files.el.
19557 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19558 * imenu.el (imenu-generic-expression, imenu--index-alist):
19559 * outline.el (outline-level):
19560 * time.el (display-time-string):
19561 * calendar/parse-time.el (parse-time-rules):
19562 * mail/rmailout.el (rmail-output-file-alist):
19563 Autoload riskiness here, rather than placing in files.el.
19565 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19567 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19569 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19571 * simple.el (process-file-side-effects): New defvar.
19573 * dired-aux.el (dired-show-file-type):
19574 * vc.el (vc-diff-internal):
19575 * vc-arch.el (vc-arch-diff):
19576 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19577 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19578 * vc-git.el (vc-git-registered, vc-git-working-revision)
19579 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19580 (vc-git--empty-db-p):
19581 * vc-hooks.el (vc-user-login-name):
19582 * vc-svn.el (vc-svn-registered, vc-svn-state)
19583 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19584 * progmodes/grep.el (grep-probe): Let-bind
19585 `process-file-side-effects' with nil.
19587 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19589 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19590 daemon. Replace ping by checking for running service for bluez
19591 and zeroconf. (Bug#4239)
19593 2009-08-25 Kevin Ryde <user42@zip.com.au>
19595 * net/dig.el (dig): Add autoload cookie.
19597 2009-08-25 Glenn Morris <rgm@gnu.org>
19599 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19600 load-history for absolute file-names.
19601 (byte-compile-file-form-require): Warn about use of the cl package.
19603 * format.el (format-alist): Doc fix.
19605 * play/bubbles.el (top-level): Don't require cl at run-time.
19607 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19610 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19612 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19614 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19616 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19618 * calc/calc-alg.el (math-trig-rewrite)
19619 (math-hyperbolic-trig-rewrite): New functions.
19620 (calc-simplify): Simplify trig functions when asked.
19622 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19624 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19626 2009-08-24 Kenichi Handa <handa@m17n.org>
19628 * language/ind-util.el (mapthread): Delete it.
19629 (combinatorial): New function.
19630 (indian--puthash-cv): Use combinatorial instead of mapthread.
19632 2009-08-22 Kevin Ryde <user42@zip.com.au>
19634 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19635 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19636 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19637 Clarify docstring that the value is strings not symbols.
19638 (checkdoc-list-of-strings-p): New function.
19640 2009-08-22 Glenn Morris <rgm@gnu.org>
19642 * files.el (auto-mode-alist):
19643 * hippie-exp.el (he-concat-directory-file-name):
19644 * lpr.el (lpr-windows-system, printer-name):
19645 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19646 * ps-print.el (ps-windows-system):
19647 * startup.el (command-line):
19648 * emulation/viper-ex.el (viper-glob-function):
19649 * international/mule-cmds.el (set-language-environment-coding-systems):
19650 * net/ange-ftp.el (ange-ftp-write-region):
19651 * obsolete/fast-lock.el (fast-lock-cache-name):
19652 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19653 unisoft-unix, vax-vms, win32, w32.
19655 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19656 given name if the pattern is not more specific.
19658 * calendar/lunar.el (lunar-phase-names): New option.
19659 (lunar-phase): Doc fix.
19660 (lunar-cycles-per-year): New constant.
19661 (lunar-index): New function.
19662 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19663 (lunar-phase-name): Use lunar-phase-names.
19664 (calendar-lunar-phases): Use format.
19665 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19667 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19668 Copy imenu-example--name-and-position function here for own use.
19669 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19671 * bs.el (bs--redisplay):
19672 * cus-edit.el (custom-redraw):
19673 * ibuffer.el (ibuffer-bury-buffer):
19674 * server.el (server-goto-line-column):
19675 * startup.el (command-line-1):
19676 * strokes.el (strokes-xpm-for-stroke):
19677 * term.el (term-display-buffer-line):
19678 * view.el (View-goto-line):
19679 * calc/calc.el (calc-do, calc-trail-buffer):
19680 * play/gamegrid.el (gamegrid-add-score-insecure):
19681 * progmodes/ada-mode.el (ada-compile-goto-error):
19682 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19683 (ebrowse-select-1st-to-9nth):
19684 * progmodes/cperl-mode.el (cperl-time-fontification):
19685 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19686 * progmodes/gud.el (gud-display-line):
19687 (idlwave-shell-display-line):
19688 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19689 * progmodes/make-mode.el (makefile-browser-toggle):
19690 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19691 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19692 * textmodes/picture.el (picture-draw-rectangle):
19693 * textmodes/reftex-index.el (reftex-index-goto-letter):
19694 (reftex-select-jump-to-previous):
19695 * textmodes/reftex-sel.el (reftex-find-start-point)
19696 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19697 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19698 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19699 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19700 * textmodes/two-column.el (2C-associated-buffer):
19701 Use forward-line rather than goto-line.
19703 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19706 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19707 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19708 (quick-check-list-to-regexp): Declare.
19710 * progmodes/make-mode.el (makefile-browser-insert-selection):
19711 Use goto-char rather than goto-line.
19713 * progmodes/prolog.el (compilation-error-regexp-alist)
19714 (compilation-forget-errors): Declare.
19716 2009-08-22 Juri Linkov <juri@jurta.org>
19718 * progmodes/grep.el (lgrep, rgrep): At the beginning
19719 set `dir' to `default-directory' unless `dir' is a non-nil
19720 readable directory. (Bug#4052)
19721 (lgrep, rgrep): Change a weird way to report an error
19722 from using `read-string' to using `error'.
19723 Instead of using interactive arguments in the function body,
19724 add new argument `confirm'.
19726 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19728 * textmodes/remember.el (remember-buffer):
19729 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19730 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19731 (icalendar-extract-ical-from-buffer):
19732 * net/newst-treeview.el (newsticker-groups-filename):
19733 * net/newst-backend.el (newsticker-cache-filename):
19734 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19735 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19736 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19737 (speedbar-buffers-line-path, speedbar-path-line)
19738 (speedbar-buffers-line-path):
19739 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19741 * epa.el (epa-display-verify-result):
19742 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19744 2009-08-21 Glenn Morris <rgm@gnu.org>
19746 * progmodes/js.el (inferior-moz-process): Fix declaration.
19748 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19750 * obsolete/rnewspost.el (news-mail-reply):
19751 Use goto-char rather than goto-line.
19753 * term/ns-win.el (ns-open-file-select-line):
19754 Use line-beginning-position rather than goto-line.
19756 * apropos.el (apropos-command):
19757 * ehelp.el (electric-helpify):
19758 * printing.el (pr-show-setup):
19759 * strokes.el (strokes-help):
19760 * tutorial.el (tutorial--describe-nonstandard-key)
19761 (tutorial--detailed-help):
19762 * woman.el (woman-mini-help, woman-display-extended-fonts):
19763 * calc/calc-help.el (calc-describe-key):
19764 * emulation/edt.el (edt-electric-helpify):
19765 * international/mule-diag.el (mule-diag):
19766 * play/yow.el (apropos-zippy):
19767 * progmodes/python.el (python-describe-symbol):
19768 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19769 * textmodes/table.el (*table--cell-describe-mode)
19770 (*table--cell-describe-bindings):
19771 Use help-print-return-message rather than the now obsolete alias.
19773 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19774 (calendar-cursor-to-visible-date):
19775 * play/5x5.el (5x5-position-cursor):
19776 * play/decipher.el (decipher):
19777 * play/gomoku.el (gomoku-goto-xy):
19778 * play/landmark.el (lm-goto-xy):
19779 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19780 (mpuz-paint-digit):
19781 Use forward-line, not goto-line.
19783 * mail/rmail.el (rmail-obsolete): Delete custom group.
19784 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19785 (rmail-remote-password, rmail-remote-password-required):
19786 Remove unneeded :set-after and :set properties.
19788 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19790 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19792 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19794 * loadup.el: Remove leftover macos code.
19796 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19797 Explicitly pass the date format to git blame so that user local
19798 so that the output format can be parsed.
19800 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19802 * net/dbus.el (top): Don't check for (getenv
19803 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19805 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19807 * log-edit.el (log-edit-strip-single-file-name): New var.
19808 (log-edit-insert-changelog): Use it. Bug#3571
19810 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19812 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19815 * help.el (help-print-return-message): Rename from
19816 print-help-return-message.
19818 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19819 cvs-mode-map parent hack.
19820 (log-view-mode): Derive from special-mode.
19822 * linum.el (linum-mode): window-size-change-functions is redundant.
19823 Adapt to new window-configuration-change-hook behavior.
19824 (linum-after-size, linum-after-config): Remove.
19826 * imenu.el (imenu-example--name-and-position)
19827 (imenu-example--lisp-extract-index-name)
19828 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19831 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19832 (inferior-prolog-mode): Use it.
19833 (inferior-prolog-load-file): Reset list of errors.
19835 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19837 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19839 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19841 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19843 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19844 is running already.
19846 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19848 * subr.el (listify-key-sequence-1): Use normal syntax since those
19849 integers are nowadays always represented by the same (positive) number
19851 (read-key-empty-map): New const.
19852 (read-key-delay): New var.
19853 (read-key): New function.
19854 (force-mode-line-update): Use with-current-buffer.
19855 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19856 (start-process-shell-command, start-file-process-shell-command):
19857 Discourage the use of command-args.
19859 2009-08-19 Glenn Morris <rgm@gnu.org>
19861 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19863 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19865 * simple.el (choose-completion-string): Don't rely on
19866 minibuffer-completing-file-name and ad-hoc checks to decide whether
19867 to continue completion or not.
19869 * minibuffer.el (minibuffer-hide-completions): New function.
19870 (completion--do-completion): Use it.
19871 (completions-annotations): New face.
19872 (completion--insert-strings): Use it.
19873 (completion-pcm--delim-wild-regex): Add docstring.
19874 (completion-pcm--string->pattern): Add support for 0-width delimiters
19875 in completion-pcm--delim-wild-regex.
19877 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19879 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19880 Remove unused var `buffer-modified-p'.
19882 * minibuffer.el (completion--do-completion): Move point for the #b001
19883 case as well (bug#4176).
19884 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19886 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19888 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19889 and :session buses.
19891 2009-08-18 Kenichi Handa <handa@m17n.org>
19893 * international/ucs-normalize.el (ucs-normalize-version):
19895 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19896 (utf-8-hfs): Make it perform normalization on encoding too.
19898 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19899 (sentence-end-without-space): Delete duplicated chars.
19900 (sentence-end-base): Likewise.
19902 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19903 (html-mode): Delete duplicated chars from sentence-end-base.
19905 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19906 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19908 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19910 * files.el (hack-one-local-variable): If the mode function is for
19911 a minor mode, pass it an argument (Bug#4148).
19913 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19915 * net/tramp.el (tramp-register-completion-file-name-handler):
19916 Check also for (member 'partial-completion completion-styles).
19918 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19920 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19923 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19925 * progmodes/cperl-mode.el: Merge upstream 6.2.
19926 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19927 (cperl-forward-re): Check cperl-brace-recursing.
19928 (cperl-highlight-charclass): New function.
19929 (cperl-find-pods-heres): Use it.
19930 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19931 (cperl-beautify-regexp-piece): Fix column calculation.
19932 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19933 (cperl-beautify-level): Don't process entire regexp.
19934 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19936 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19937 (cperl-init-faces): Build a list in the normal way.
19939 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19941 * calendar/parse-time.el (parse-time-string-chars): Save match
19944 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19946 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19947 (sql-product): Use it.
19948 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19949 (sql-set-product): Add completion.
19950 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19951 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19952 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19953 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19954 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19955 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19956 (sql-highlight-db2-keywords): Remove.
19957 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19958 (sql-highlight-product): Use derived-mode-p.
19959 (sql-set-sqli-buffer): Use with-current-buffer.
19960 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19963 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19965 * term.el: Fix commenting convention, turn comments into docstrings.
19967 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19969 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19971 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19973 * calendar/parse-time.el (parse-time-string-chars): Compute using
19974 character classes, to handle non-ascii characters (Bug#3190).
19976 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19978 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19979 another heredoc if the user adds another < (Bug#3226).
19981 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19982 Don't initialize based on window-system (Bug#4124).
19984 * facemenu.el (facemenu-read-color): Use a completion function
19985 that accepts any defined color, such as RGB triplets (Bug#3677).
19987 * files.el (get-free-disk-space): Change fallback default
19988 directory to /. Expand DIR argument before switching to fallback.
19989 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19991 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19993 * files.el (load-library): Doc fix.
19995 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19997 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19998 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19999 incremental search string.
20001 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20004 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20005 (ediff-merge-region-is-non-clash)
20006 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20007 Also check if the job is really a merge job.
20009 * ediff.el (ediff-current-file): New function.
20011 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20013 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20015 (js-insert-and-indent): Delete function.
20016 (js-mode-map): Don't bind keys to js-insert-and-indent.
20017 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20018 (js-end-of-defun): Rename from js--end-of-defun.
20019 (js-auto-indent-flag): Delete variable.
20021 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20023 * progmodes/js.el: Remove proclaim statement.
20024 Defvar which-func-imenu-joiner-function to silence compiler.
20026 * files.el (auto-mode-alist): Use js-mode for .js files.
20028 * progmodes/js2-mode.el: Remove file.
20030 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20032 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20034 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20036 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20037 Karl Landstrom <karl.landstrom@brgeight.se>
20039 * progmodes/js.el: New file.
20041 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20043 * timezone.el (timezone-parse-date): Add ability to understand ISO
20044 basic format (minimal separators) dates in addition to the
20045 already-supported extended format dates.
20047 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20049 * international/ucs-normalize.el: Add a `coding' file variable.
20051 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20053 2009-08-14 Sam Steingold <sds@gnu.org>
20055 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20057 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20059 * faces.el (help-argument-name): Define it here instead of
20060 help-fns.el, because in daemon mode help-fns.el may be loaded when
20061 faces are still uninitialized (Bug#1078).
20063 * help-fns.el (help-argument-name): Move defface to faces.el.
20065 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20067 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20068 create buffer with a pty but no process so that GDB can make the
20069 inferior the controlling process.
20071 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20073 * international/ucs-normalize.el: New file.
20075 2009-08-13 Richard Stallman <rms@gnu.org>
20077 * mail/rmail.el (rmail-get-attr-names):
20078 Accept an attribute header that is too short.
20080 * mail/rmail.el (rmail-forget-messages):
20081 Ignore nil elt in rmail-message-vector. Use dotimes.
20083 * progmodes/compile.el (compilation-goto-locus):
20084 Use next-error-move-function.
20086 * simple.el (next-error-move-function): New variable.
20088 2009-08-12 Juri Linkov <juri@jurta.org>
20090 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20091 always non-nil. (Bug#4052)
20093 * replace.el (read-regexp): Return empty string when
20094 `default-value' is nil.
20095 (keep-lines-read-args): Don't use empty string as the
20096 default value for `read-regexp'. (Bug#2495)
20098 2009-08-12 Juri Linkov <juri@jurta.org>
20100 * international/mule-cmds.el (ucs-insert): Change arguments
20101 from `arg' to `character', `count', `inherit' to be the same
20102 as in `insert-char'. Doc fix. (Bug#4039)
20104 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20106 2009-08-12 Juri Linkov <juri@jurta.org>
20108 * files-x.el: New file.
20110 * files.el: Move code that deals with adding/deleting
20111 file/directory-local variables to files-x.el.
20113 * Makefile.in (ELCFILES): Add files-x.elc.
20115 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20117 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20118 to use `goto-line'.
20119 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20121 (gdb-invalidate-disassembly): Do not refresh upon receiving
20122 'update signal. Instead, update all disassembly buffers only after
20124 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20125 (gdb-starting): Move -data-list-register-names...
20126 (gdb-stopped): ...here so it's sent when first thread stops.
20127 (gdb-registers-handler-custom): Do nothing if register names are
20130 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20131 from `gdb-mi.el' to avoid extra tangling.
20133 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20134 change which breaks `gud-def' definitions used in `gdb'.
20135 (gdb-update-gud-running): No extra fuss for updating frame number.
20137 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20139 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20140 (describe-language-environment-map, setup-language-environment-map)
20141 (set-coding-system-map): Move initialization into declaration.
20142 (set-language-info-alist): Last arg to define-key-after can be skipped.
20144 * international/quail.el (quail-completion-1): Simplify.
20145 (quail-define-rules): Use slightly more compact code.
20146 (quail-insert-decode-map): Propertize keys, compact columns.
20148 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20151 2009-08-10 Miles Bader <miles@gnu.org>
20153 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20154 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20155 (js2-instance-member, js2-private-member, js2-private-function-call)
20156 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20157 (js2-magic-paren, js2-external-variable):
20158 Remove "-face" suffix from face names.
20159 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20160 (js2-highlight-undeclared-vars, js2-peek-token)
20161 (js2-parse-function-params, js2-mode-show-errors)
20162 (js2-mode-show-warnings, js2-make-magic-delimiter)
20163 (js2-mode-highlight-magic-parens): Update to use new face names.
20165 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20167 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20168 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20170 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20172 * subr.el: Provide hashtable-print-readable.
20174 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20175 hs-c-like-adjust-block-beginning.
20176 (hs-hide-block-at-point): Stop hiding at the beginning of
20177 hs-block-end-regexp (Bug#700).
20179 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20181 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20183 (gdb-registers-handler-custom): Do not fail when register names
20186 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20188 * progmodes/gdb-mi.el (gdb-control-all-threads)
20189 (gdb-control-current-thread): Interactive setters for
20190 `gdb-gud-control-all-threads' to use in menu.
20191 (gdb-show-run-p): Show «Go» when process is not active.
20192 (gud-tool-bar-map): Add non-stop/A,T indicator.
20193 Uses gud/thread.xpm and gud/all.xpm.
20195 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20197 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20198 (nslookup-font-lock-keywords): Make it a variable.
20199 (net-utils-mode): New mode for viewing diagnostic network output.
20200 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20201 (net-utils-run-simple): New function.
20202 (ifconfig, iwconfig, netstat, arp, route): Use it.
20204 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20206 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20207 (gdb-memory-set-address, def-gdb-set-positive-number)
20208 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20209 after changing settings.
20210 (gdb-invalidate-disassembly): Update when first shown.
20211 (gdb-edit-locals-value): Fixed.
20212 (gdb-registers-handler-custom): Print registers in right order and
20213 allow changing register values (only for current thread yet).
20214 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20215 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20216 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20217 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20218 Thread info in mode name.
20219 (gdb-registers-mode-map): TAB to switch to locals.
20221 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20223 * mail/rmail.el (rmail-add-mbox-headers)
20224 (rmail-set-message-counters-counter): Search for
20225 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20227 2009-08-08 Glenn Morris <rgm@gnu.org>
20229 * Makefile.in (ELCFILES): Update.
20231 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20233 * mail/sendmail.el (mail-yank-original):
20234 Set buffer-file-coding-system from the one used by the message whose
20237 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20238 to "windows" when "pgnuplot" is used.
20239 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20240 Don't call accept-process-output if "pgnuplot" is used.
20241 (calc-graph-init): Don't send -display and -geometry to
20242 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20243 running "pgnuplot -V" with shell-command-to-string.
20245 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20248 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20250 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20253 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20255 * vc-dispatcher.el (vc-resynch-window): Update comment.
20257 * term.el (term-handle-ansi-escape): Add comments with the
20258 terminfo capabilities implemented.
20260 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20262 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20263 (gdb-var-create-handler): Rewritten using JSON parser.
20264 (gdb-propertize-header): Move earlier.
20265 (gdb-set-header): Remove to avoid duplication.
20266 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20267 Refresh disassembly buffers only after threads list have been
20269 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20272 2009-08-04 Juri Linkov <juri@jurta.org>
20274 * files.el: Commands to add/delete file/directory-local variables.
20275 (read-file-local-variable, read-file-local-variable-value)
20276 (read-file-local-variable-mode, modify-file-local-variable)
20277 (modify-file-local-variable-prop-line)
20278 (modify-dir-local-variable): New functions.
20279 (add-file-local-variable, delete-file-local-variable)
20280 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20281 (add-dir-local-variable, delete-dir-local-variable)
20282 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20283 (copy-dir-locals-to-file-locals-prop-line): New commands.
20285 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20287 * abbrev.el (insert-abbrev-table-description): Prettify output.
20288 Suggested by Karl Chen.
20290 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20292 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20293 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20294 (gdb-overlay-arrow-position, gdb-thread-position)
20295 (gdb-disassembly-position): Declare variables.
20296 (gdb-wait-for-pending): Function now.
20297 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20298 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20299 compilation goes smoothly.
20300 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20301 (gdb-non-stop-setting): New customization setting which replaces
20302 `gdb-non-stop' so changing it doesn't break active GDB session.
20303 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20304 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20305 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20306 (gdb-show-threads-by-default): New customization options.
20307 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20309 (gdb-get-buffer-create): Send buffers update signal when they are
20311 (gdb-invalidate-locals, gdb-invalidate-registers)
20312 (gdb-invalidate-breakpoints)
20313 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20314 (gdb-invalidate-memory): Accept update signal.
20315 (gdb-current-context-command): Use --frame option.
20316 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20317 Implement `gdb-frame-number' selection logic.
20318 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20319 whether to show GUD toolbar buttons.
20320 (gdb-thread-exited): Unselect current thread when it exits.
20321 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20322 (gdb-mark-line): Routine which sets overlay arrow or inverses
20323 video on fringeless displays.
20324 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20325 to build aligned columns of data in GDB buffers and set text
20326 properties line-by-line.
20327 (gdb-invalidate-breakpoints)
20328 (gdb-breakpoints-list-handler-custom)
20329 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20330 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20331 (gdb-registers-handler-custom): Align data columns.
20332 (gdb-locals-handler-custom): Now prints data like in variable
20334 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20335 Remove confusing buttons.
20336 (gdb-invalidate-threads): Append --frame.
20337 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20338 between breakpoints/threads buffers.
20339 (gdb-set-window-buffer): Now can ignore dedicated windows.
20340 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20341 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20342 (def-gdb-thread-buffer-gud-command): Replaces
20343 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20344 for fine thread control.
20345 (gdb-preempt-existing-or-display-buffer): New function used to
20346 display bound buffers without breaking window layout.
20347 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20348 (gdb-select-frame): New version of `gdb-frames-select' which now
20349 sets `gdb-frame-number' so commands may use --frame option instead
20350 of inner debugger state.
20351 (gdb-frame-handler): Do not set `gdb-frame-number'.
20352 (gdb-threads-mode-map): Select threads with mouse.
20354 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20355 avoid compilation warning.
20356 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20359 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20360 Argument `key' renamed to `buffer-type'.
20361 (gdb-current-context-buffer-name): Do not add thread info to
20362 buffer name when no thread is selected.
20363 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20364 command (bug 3794).
20365 (gdb-thread-selected): Handle `=thread-selected' notification.
20366 (gdb-wait-for-pending): New macro to deal with congestion problems.
20367 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20369 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20370 This fixes problem similar to one described in bug 3947.
20371 (gud-menu-map): More menu items.
20372 (gdb-init-1): Reset `gdb-thread-number' to nil.
20374 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20377 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20378 (gdb-current-context-command): Do not append --thread if
20379 `gdb-thread-number' is nil.
20380 (gdb-running-threads-count, gdb-stopped-threads-count):
20382 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20383 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20384 New customization options.
20385 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20387 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20388 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20389 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20390 set `gdb-thread-number' and update `gud-running' properly.
20391 (gdb-running): Update threads list when new threads appear.
20392 (gdb-stopped): Support non-stop operation and new thread switching
20394 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20395 (gdb-json-partial-output): New set of JSON routines.
20396 (def-gdb-auto-update-trigger): New `signal-list' optional
20398 (gdb-thread-list-handler-custom): Update `gud-running',
20399 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20400 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20401 (gdb-continue-thread, gdb-step-thread): New commands for fine
20402 thread execution control.
20403 (gud-menu-map): New menu items to switch non-stop options.
20404 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20405 (gdb-send): Mimic RET properly (bug 3794).
20407 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20408 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20410 (def-gdb-auto-update-handler): New nopreserve optional argument.
20411 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20413 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20414 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20415 (gdb-parent-mode): New mode to derive other GDB modes from.
20416 (gdb-display-disassembly-for-thread)
20417 (gdb-frame-disassembly-for-thread): New commands for threads
20420 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20421 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20422 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20423 (gdb-update): We now store all GDB buffers in a list so that they
20424 can be updated by traversing a list instead of calling invalidate
20425 triggers explicitly.
20426 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20427 pair for GDB buffer.
20428 (gdb-stack-buffer-name): Add thread information.
20429 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20430 handle pending triggers.
20431 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20432 (def-gdb-thread-buffer-simple-command)
20433 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20434 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20435 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20436 New commands which show buffers bound to thread.
20437 (gdb-stack-list-locals-regexp): Remove unused regexp.
20439 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20440 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20441 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20442 to (gud-comint-buffer) in *-buffer-name functions
20443 because (gdb-get-target-string) already does that.
20444 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20445 (gdb-changed-registers-handler): Rewritten without regexps.
20447 * progmodes/gdb-mi.el: Basic thread selection support.
20448 (gdb-thread-number): New variable.
20449 (gdb-current-context-command): New macro which adds --thread
20451 (gdb-threads-mode-map): Select thread with SPC.
20452 (gdb-thread-list-handler-custom): Mark current thread with overlay
20453 arrow. Synchronize GDB thread and Emacs thread.
20454 (gdb-select-thread): New command which selects current thread.
20455 (gdb-invalidate-frames, gdb-invalidate-locals)
20456 (gdb-invalidate-registers): Use --thread option.
20458 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20460 * net/tramp.el (top): Make check for tramp-gvfs loading more
20462 (tramp-handle-insert-file-contents): `unwind-protect' must be
20463 inside `with-parsed-tramp-file-name'.
20465 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20468 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20470 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20471 directory if CLASSPATH is not set.
20473 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20475 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20477 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20479 2009-08-02 Kevin Ryde <user42@zip.com.au>
20481 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20482 Update freshmeat link. Delete newsforge.com as it seems gone.
20484 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20486 * select.el (x-set-selection): Doc fix (Bug#4021).
20488 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20490 * help-fns.el (describe-variable): Treat list return values from
20491 dir-locals-find-file properly (Bug#4005).
20493 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20495 * net/tramp.el (tramp-debug-message): Print also microseconds.
20497 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20499 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20501 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20502 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20505 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20506 (tramp-get-file-property): Use it.
20508 * autorevert.el (auto-revert-handler):
20509 Allow `auto-revert-tail-mode' for remote files.
20511 2009-08-02 Jason Rumney <jasonr@gnu.org>
20513 * minibuffer.el (read-file-name): Treat confirm options to
20514 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20516 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20518 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20519 (font-lock-variable-name-face, font-lock-constant-face):
20520 Darken the colors for light backgrounds.
20522 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20524 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20525 month names. (Bug#3987)
20527 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20529 * simple.el (line-move-finish): Pass whole number to
20530 line-move-to-column.
20531 (line-move-visual): Perform hscroll to the recorded position.
20533 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20535 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20537 2009-07-29 Alan Mackenzie <acm@muc.de>
20539 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20541 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20543 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20544 (gdb-place-breakpoints): Use full path when setting breakpoints.
20546 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20548 * calc/calc.el (calc-mode-map): Add keybinding for
20549 `calc-transpose-lines'.
20551 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20553 * calc/calc-misc.el (calc-transpose-lines): New function.
20555 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20557 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20558 Simplify check for out-of-band methods.
20559 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20560 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20562 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20564 * vc-git.el (vc-git-checkin): Fix typo.
20566 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20568 * progmodes/js2-mode.el: New file.
20570 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20572 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20573 (gud-menu-map): Adjust tooltip accordingly.
20575 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20577 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20578 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20580 * add-log.el (change-log-mode-map): Add a menu.
20582 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20584 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20585 function returns nil.
20586 (dbus-handle-event): Handle special return value :ignore.
20587 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20589 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20591 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20594 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20598 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20600 * term/pc-win.el (x-display-name, x-colors)
20601 (x-select-enable-clipboard, x-select-text): Doc fix.
20603 * term/common-win.el (x-display-name, x-colors): Doc fix.
20605 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20606 (xw-defined-colors): Doc fix.
20608 * w32-fns.el (x-select-text, x-setup-function-keys)
20609 (x-get-selection, x-set-selection): Doc fix.
20611 * term/x-win.el (x-select-text, x-setup-function-keys)
20612 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20614 * select.el (x-set-selection): Doc fix.
20616 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20618 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20619 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20620 "IsNSSSupportAvailable" method is not available.
20621 Reported by Steve Youngs <steve@sxemacs.org>.
20623 2009-07-24 Kenichi Handa <handa@m17n.org>
20625 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20626 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20627 (build-unicode-category-table): Fix range checks.
20629 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20631 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20632 the buffer we try to sync is current when calling
20635 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20636 not show up to date files.
20638 2009-07-24 Glenn Morris <rgm@gnu.org>
20640 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20641 Add autoload cookies. If necessary, initialize.
20642 (elint-log): Handle non-file buffers.
20643 (elint-initialize): Add optional argument to reinitialize.
20644 (elint-find-builtin-variables): Save excursion.
20646 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20648 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20651 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20653 * vc.el (vc-print-log-internal): New function, split out from ...
20654 (vc-print-log): ... here.
20655 (vc-dir-move-to-goal-column): Declare.
20657 * vc-git.el (vc-git-add-signoff): New variable.
20658 (vc-git-checkin): Use it.
20659 (vc-git-toggle-signoff): New function.
20660 (vc-git-extra-menu-map): Bind it to menu.
20661 (vc-git--run-command-string): Accept a nil FILE argument.
20662 (vc-git-stash-list): New function.
20663 (vc-git-dir-extra-headers): Use it.
20665 2009-07-23 Glenn Morris <rgm@gnu.org>
20667 * help-fns.el (describe-variable): Describe ignored and risky local
20668 variables in a similar way to that in which we describe safe ones.
20670 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20671 (byte-compile-output-file-form, byte-compile-output-docform)
20672 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20673 Give some more local variables with common names a "bytecomp-" prefix,
20674 so as not to shadow things during compilation.
20675 * emacs-lisp/cl-macs.el (load-time-value)
20676 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20677 `outbuffer' to `bytecomp-outbuffer'.
20679 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20680 since the next two variables cover them automatically now.
20681 (elint-builtin-variables, elint-autoloaded-variables): New.
20682 (elint-unknown-builtin-args): Remove all members, since they can be
20683 parsed automatically now.
20684 (elint-extra-errors): New.
20685 (elint-env-add-env, elint-env-add-macro): Use cadr.
20686 (elint-current-buffer): Use or. Change final message.
20687 (elint-get-top-forms): Use line-end-position.
20688 (elint-init-env): Use cadr. Handle autoload, declare-function,
20690 (elint-add-required-env): Doc fix. Use or. Standardize error.
20691 (regexp-assoc): Remove unused function.
20692 (elint-top-form): Set elint-current-pos, to record the start of the
20693 top-level form, for compilation-mode.
20694 (elint-form): Trap errors in macro expansion. Use dolist.
20695 (elint-unbound-variable): Use elint-builtin-variables and
20696 elint-autoloaded-variables.
20697 (elint-get-args): Use cadr, or.
20698 (elint-check-cond-form): Use dolist, cadr.
20699 (elint-check-condition-case-form): Doc fix. Use cadr.
20700 Use elint-extra-errors.
20701 (elint-log): New function.
20702 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20703 Distinguish errors and warnings.
20704 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20705 Use a bytecomp-style format.
20706 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20707 (elint-get-log-buffer): Use compilation mode. Disable undo.
20708 Don't truncate lines.
20709 (elint-initialize): Set builtin and autoloaded variable lists.
20710 Only process elint-unknown-builtin-args if non-nil.
20711 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20713 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20715 2009-07-22 Kevin Ryde <user42@zip.com.au>
20717 * net/newst-backend.el (newsticker--parse-atom-1.0)
20718 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20719 (newsticker--parse-rss-1.0):
20720 * progmodes/idlwave.el (idlwave-mode):
20721 * progmodes/idlw-shell.el (idlwave-shell-mode):
20722 * progmodes/vera-mode.el (vera-mode):
20723 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20724 * progmodes/vhdl-mode.el (vhdl-mode):
20725 * textmodes/table.el (table-generate-source)
20726 (table--warn-incompatibility):
20727 Hyperlink urls in docstrings with URL `...'.
20729 2009-07-22 Glenn Morris <rgm@gnu.org>
20731 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20732 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20733 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20734 Remove leading * from defcustom docs.
20736 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20738 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20740 (list-load-path-shadows): Optionally, just return shadows as a string.
20742 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20744 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20746 * mail/rmailedit.el (rmail-edit-mode):
20747 Use auto-save-include-big-deletions.
20749 * mail/rmail.el (rmail-variables):
20750 Use auto-save-include-big-deletions.
20752 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20755 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20757 * calc/calc.el (calc-undo-length): New variable.
20758 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20760 2009-07-21 Richard Stallman <rms@gnu.org>
20762 * files.el (auto-save-mode): Handle buffer-save-size = -2
20765 2009-07-21 Glenn Morris <rgm@gnu.org>
20767 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20769 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20771 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20772 silence compiler. Instead...
20773 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20774 (ps-print-ensure-fontified): Update for above function name changes.
20776 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20777 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20778 silence compiler. Instead...
20779 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20780 (mh-show-buffer): Only define for compiler.
20781 (pr-mh-current-message): Update for above function name changes.
20783 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20785 (find-file-noselect, insert-file-1): Update for above change.
20787 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20789 * mail/mailclient.el (mailclient-send-it): Fix message.
20791 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20792 (edebug-eval): Check cl-debug-env is bound.
20793 (print-level, print-circle): Don't redefine built-in variables.
20795 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20796 (custom-print-vectors): Remove old comments from doc.
20798 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20799 (emerge-version): Make the variable an obsolete alias for the
20800 emacs-version variable. Make the function obsolete.
20801 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20802 Emerge options, rather than merging in into the main Options menu.
20803 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20804 and auto advance modes. Disable edit/fast items when not relevant.
20806 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20808 * term/vt420.el (terminal-init-vt420): Fix typo.
20810 2009-07-20 Sam Steingold <sds@gnu.org>
20812 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20813 variable (removed from compile.el on 2004-03-11).
20815 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20817 * files.el (hack-local-variables-filter): Fix last change.
20819 2009-07-19 Juri Linkov <juri@jurta.org>
20821 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20822 (dir-local-variables-alist): New buffer-local variable.
20823 (hack-local-variables-filter): If variable is not dir-local,
20824 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20825 because file-local overrides dir-local.
20826 (c-postprocess-file-styles) <declare-function>:
20827 Remove obsolete declaration.
20828 (hack-dir-local-variables): Add dir-local variable/value pair to
20829 `dir-local-variables-alist' and remove duplicates. Doc fix.
20831 * help-fns.el (describe-variable): Add information about
20832 file-local and dir-local variables.
20834 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20836 * files.el (hack-local-variables-filter): Rewrite.
20838 2009-07-19 Glenn Morris <rgm@gnu.org>
20840 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20841 Silence compiler by only defining on XEmacs.
20843 * international/mule.el (auto-coding-regexp-alist): Only match
20844 BABYL... at the start of buffer, not of lines. (Bug#3790)
20846 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20847 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20848 (cal-menu-context-mouse-menu): Doc fix.
20850 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20852 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20854 2009-07-18 Juri Linkov <juri@jurta.org>
20856 * info.el: Virtual Info keyword finder.
20857 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20858 (Info-finder-file): New variable.
20859 (Info-finder-find-file): New function.
20860 (finder-known-keywords, finder-package-info)
20861 (find-library-name, lm-commentary): Use defvar and
20862 declare-function to silence compiler warnings.
20863 (Info-finder-find-node): New function.
20864 (info-finder): New command.
20866 * subr.el (process-kill-buffer-query-function): New function.
20867 (add-hook)<kill-buffer-query-functions>: Add hook
20868 `process-kill-buffer-query-function'.
20870 2009-07-18 Alan Mackenzie <acm@muc.de>
20872 * progmodes/cc-mode.el (c-before-hack-hook)
20873 (c-postprocess-file-styles): Give invocation of `c-set-style'
20874 DONT-OVERRIDE parameter of t. Already set style variables will
20875 thus not be overridden by style settings given by `c-file-syle'.
20877 * files.el (hack-local-variables-filter): Remove entries with
20878 duplicate keys from `file-local-variables-alist'.
20880 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20882 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20883 x-set-selection if display-selections-p returns nil for the
20886 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20888 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20890 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20892 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20893 Accept nil in addition to a regexp.
20894 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20895 Accept nil in addition to a regexp.
20896 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20897 buffers that have an associated file. Handle nil values of
20898 desktop-buffers-not-to-save and desktop-files-not-to-save.
20901 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20902 (x-disown-selection-internal): New functions.
20904 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20906 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20908 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20909 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20911 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20913 * simple.el (set-mark): Revert last change.
20915 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20917 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20918 rendering of pngs is not possible instead of messaging a long
20921 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20923 * w32-fns.el (x-selection-owner-p): New function.
20925 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20926 (mouse-yank-at-click, mouse-yank-primary):
20927 If select-active-regions is non-nil, deactivate the mark before
20930 * simple.el (deactivate-mark, set-mark): Only save selection if we
20933 2009-07-17 Kenichi Handa <handa@m17n.org>
20935 * case-table.el (describe-buffer-case-table): Fix for the case
20936 that KEY is a cons.
20938 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20940 * vc-rcs.el (vc-rcs-find-file-hook):
20941 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20943 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20945 * net/tramp.el (tramp-wait-for-output): Handle the case when
20946 commands do not return a newline but a null byte before the shell
20949 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20951 * term/ns-win.el (ns-set-alpha): Don't declare.
20952 (ns-set-background-alpha): Remove function.
20954 2009-07-16 Kevin Ryde <user42@zip.com.au>
20956 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20957 y-or-n-p, for safety.
20959 2009-07-16 Richard Stallman <rms@gnu.org>
20961 * files.el (auto-save-mode): If buffer-saved-size is -2,
20964 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20965 (rmail-retry-ignored-headers): Add more uninteresting fields.
20967 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20969 * net/rcirc.el (rcirc): Use history variables.
20970 (rcirc-server-name-history, rcirc-nick-name-history)
20971 (rcirc-server-port-history): New variables.
20973 2009-07-15 Kenichi Handa <handa@m17n.org>
20975 * international/mule-cmds.el (set-language-environment-charset):
20976 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20979 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20980 Delete unibyte-display.
20982 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20984 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20986 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20988 * simple.el (deactivate-mark): Optional argument FORCE.
20989 (set-mark): Use deactivate-mark.
20991 * info.el (Info-search): No need to check transient-mark-mode
20992 before calling deactivate-mark.
20994 * select.el (x-set-selection): Doc fix.
20995 (x-valid-simple-selection-p): Allow buffer values.
20996 (xselect--selection-bounds): Handle buffer values.
20997 Suggested by David De La Harpe Golden.
20999 * mouse.el (mouse-set-region, mouse-drag-track):
21000 Call copy-region-as-kill before setting the mark, to let
21001 select-active-regions work.
21003 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21005 * simple.el (deactivate-mark): If select-active-regions is
21006 non-nil, copy the selection data into a string.
21007 (activate-mark): If select-active-regions is non-nil, set the
21008 selection to the current buffer.
21009 (set-mark): Update selection if select-active-regions is non-nil.
21011 * select.el (x-valid-simple-selection-p): Allow buffer values.
21013 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21015 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21016 and more featureful message-mode.
21018 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21020 * select.el (x-set-selection): Doc fix.
21021 (x-valid-simple-selection-p): Disallow selection data consisting
21022 of a list or cons of integers, since that is not used.
21023 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21024 (xselect-convert-to-string, xselect-convert-to-length)
21025 (xselect-convert-to-filename, xselect-convert-to-charpos)
21026 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21028 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21030 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21031 output in -break-info command (Emacs bug #3794).
21033 2009-07-14 Glenn Morris <rgm@gnu.org>
21035 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21036 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21037 (edebug-print-length, edebug-print-level, edebug-print-circle)
21038 (edebug-sit-for-seconds, edebug-view-outside)
21039 (edebug-bounce-point, edebug-set-global-break-condition)
21040 (edebug-Go-nonstop-mode, edebug-trace-mode)
21041 (edebug-Trace-fast-mode, edebug-continue-mode)
21042 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21043 (edebug-visit-eval-list): Doc fixes.
21045 * subr.el (def-edebug-spec): Doc fix.
21047 2009-07-14 Kenichi Handa <handa@m17n.org>
21049 * international/characters.el: Fix setting of category ?C.
21051 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21053 * term/ns-win.el (x-select-font): defalias x-select-font to
21054 ns-popup-font-panel instead of generate-fontset-menu.
21056 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21058 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21060 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21062 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21063 the PK\003\004 header (Bug#3770).
21065 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21067 * pcomplete.el (pcomplete-comint-setup): Check for
21068 shell-dynamic-complete-filename too.
21070 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21072 * simple.el (temporary-goal-column): Change the value for
21073 line-move-visual to a cons cell.
21074 (line-move-visual): Record or set the window hscroll, if
21075 necessary (Bug#3494).
21076 (line-move-1): Handle cons value of temporary-goal-column.
21078 2009-07-11 Kenichi Handa <handa@m17n.org>
21080 * international/mule-diag.el (describe-character-set): Don't show
21083 2009-07-10 Sam Steingold <sds@gnu.org>
21085 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21086 Omake sometimes indents the errors it prints, so allow all
21087 regexps to start with spaces.
21089 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21091 * cus-edit.el (customize-changed-options-previous-release):
21092 Bump value to 22.1. (Bug#3804)
21094 2009-07-08 Sam Steingold <sds@gnu.org>
21096 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21097 to be a cons cell (test . ignored-directory) to selectively ignore
21098 some directories depending on the location of the search.
21100 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21102 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21103 remote user is root, on the local host.
21104 (tramp-local-host-p): Either the local user or the remote user
21105 must be root. (Bug#3771)
21107 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21109 * progmodes/gdb-mi.el (gdb): Remove description of
21110 gdb-use-separate-io-buffer.
21111 (menu): Don't allow toggling of or enable
21112 gdb-use-separate-io-buffer from menubar.
21114 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21116 * mail/unrmail.el (unrmail): Make sure the message ends with two
21117 newlines (Bug#3769).
21119 2009-07-08 Glenn Morris <rgm@gnu.org>
21121 * calendar/calendar.el (calendar-current-date): Rework previous change.
21123 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21125 * calendar/calendar.el (calendar-current-date):
21126 Add an optional argument giving an offset from today.
21128 2009-07-08 Glenn Morris <rgm@gnu.org>
21130 * tutorial.el (tutorial--describe-nonstandard-key):
21131 Adjust the message for when a key has been unbound.
21132 (help-with-tutorial): Hide the arch-tag.
21134 2009-07-08 Kenichi Handa <handa@m17n.org>
21136 * international/fontset.el (setup-default-fontset): For each
21137 script, append (not set) font-specs.
21139 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21142 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21144 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21145 -data-list-register-names to ...
21146 (gdb-starting): ... here because GDB 7.0 requires execution to
21147 have started when using this MI command.
21148 (gdb-set-header): New function to distinguish select and
21149 unselected tabs in gdb buffers.
21150 (gdb-propertize-header): New macro that uses gdb-set-header.
21151 (gdb-breakpoints-header, gdb-locals-header): Use it.
21152 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21154 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21156 * Makefile.in (ELCFILES): Remove fadr.elc.
21158 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21160 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21161 may contain frame information, so `string-match' should be used.
21162 (gdb-update): Disassembly is invalidated through
21163 `gdb-get-selected-frame'.
21164 (gdb-pad-string): New function to pad string with spaces.
21165 (gdb-invalidate-disassembly): Invalidate only if the buffer
21167 (gdb-disassembly-handler-custom): Column alignment.
21168 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21170 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21172 (gdb-frame-handler): Match convention to for disassembly buffer
21174 (gdb-stack-list-frames-handler): Rewritten without regexps.
21175 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21176 not highlight breakpoints without line information.
21177 (gdb-input): Add trailing newline to command.
21179 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21181 (gdb-breakpoints-list-handler-custom): Replacement for
21182 `gdb-break-list-handler'. Using real parser instead of regexps
21184 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21185 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21186 to place breakpoints.
21187 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21189 (gdb-disassembly-handler-custom): Show overlay arrow.
21190 (gdb-disassembly-place-breakpoints): Show breakpoints in
21191 disassembly buffer.
21192 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21193 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21194 instead of parsing breakpoints buffer. Fixed old menu references
21199 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21200 (gdb-memory-address): New variable which holds top address of
21201 memory page shown in memory buffer.
21202 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21203 New customization variables.
21205 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21206 display the memory buffer.
21207 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21208 buffer display parameters.
21209 (def-gdb-memory-format, gdb-memory-format-binary)
21210 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21211 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21212 Functions for setting memory buffer format.
21213 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21214 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21215 unit size used in memory buffer.
21216 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21217 Switch to next/previous page of memory buffer.
21218 Now using (bindat-get-field) instead of fadr functions.
21220 2009-07-07 Sam Steingold <sds@gnu.org>
21222 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21223 non-top-level files.
21225 2009-07-07 Kenichi Handa <handa@m17n.org>
21227 * international/mule-cmds.el (reset-language-environment):
21228 Put the highset priority to the charset iso-8859-1.
21230 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21232 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21233 to the end of the line when locating the block (Bug#700).
21235 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21237 * net/tramp.el (tramp-handle-write-region): Flush file properties
21238 in case of short track.
21240 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21242 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21243 Coded custom representation of verilog error regular expressions
21244 to work with Emacs-22's new format.
21245 (verilog-error-regexp-xemacs-alist): Coded custom representation
21246 of verilog error regular expressions to work with XEmacs format.
21247 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21248 error recognition into XEmacs.
21249 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21250 error recognition into Emacs-22.
21252 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21254 * woman.el: Remove stand-alone closing parentheses.
21255 (woman-file-name, woman2-format-paragraphs)
21256 (woman-leave-blank-lines): Code cleanup.
21257 (woman-use-own-frame): Change default to nil.
21258 (woman-italic, woman-bold, woman-unknown, woman-addition):
21259 Change defaults to inherit from default faces.
21260 (woman2-process-escapes): Consume the newline after a stand-alone
21261 filler character (Bug#3651).
21263 2009-07-06 Glenn Morris <rgm@gnu.org>
21265 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21266 (top-level): Move provide to the end.
21267 (ffap): Remove defunct URL from custom group.
21269 * subr.el (eval-after-load): Doc fix.
21271 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21273 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21274 `calc-embedded-word' is called twice.
21276 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21278 * files.el (find-alternate-file-other-window, find-alternate-file):
21279 Obey confirm-nonexistent-file-or-buffer.
21281 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21283 * dired-aux.el (dired-show-file-type): Handle remote files.
21285 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21287 * desktop.el (desktop-globals-to-save):
21288 Add file-name-history (Bug#2750).
21290 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21292 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21294 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21296 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21297 property on entire argument since this is what eshell-lisp-command
21300 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21302 * net/tramp-gvfs.el (tramp-gvfs-methods)
21303 (tramp-gvfs-zeroconf-domain)
21304 (tramp-bluez-discover-devices-timeout): Add version flag.
21305 (tramp-gvfs-handler-mounted-unmounted)
21306 (tramp-gvfs-connection-mounted-p): Polish handling of
21307 incompatibilities between GVFS 0.2 and 1.0.
21309 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21311 * cus-start.el (all): Add make-pointer-invisible.
21313 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21315 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21316 formatted correctly.
21318 2009-07-02 Juri Linkov <juri@jurta.org>
21320 * info.el: Virtual Info files and nodes.
21321 (Info-virtual-files, Info-virtual-nodes): New variables.
21322 (Info-current-node-virtual): New variable.
21323 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21325 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21326 to check for a virtual file instead of checking a fixed list
21328 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21329 instead of ad-hoc processing of "dir" and (apropos history toc).
21330 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21331 instead of ad-hoc processing of "dir" and (apropos history toc).
21332 Reread a file when moving from a virtual node.
21333 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21334 (Info-directory-toc-nodes, Info-directory-find-file)
21335 (Info-directory-find-node): New functions.
21336 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21337 (Info-history): Move part of code to
21338 `Info-history-find-node'.
21339 (Info-history-toc-nodes, Info-history-find-file)
21340 (Info-history-find-node): New functions.
21341 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21342 (Info-toc): Move part of code to `Info-toc-find-node'.
21343 (Info-toc-find-node): New function.
21344 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21345 the current Info file name to references because now the node
21346 "*TOC*" belongs to the same Info manual.
21347 (Info-toc-build): Rename from `Info-build-toc'.
21348 (Info-toc-nodes): Rename input argument `file' to `filename'.
21349 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21350 instead of ad-hoc processing of ("dir" apropos history toc).
21351 (Info-index-nodes): Use Info-virtual-file-p
21352 to check for a virtual file instead of checking a fixed list
21354 (Info-index-node): Add check for `Info-current-node-virtual'.
21355 Raise `save-match-data' higher up the tree to contain
21356 `search-forward' too (bug fix).
21357 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21358 (Info-virtual-index-nodes): New variable.
21359 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21360 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21361 (Info-apropos-file, Info-apropos-nodes): New variables.
21362 (Info-apropos-toc-nodes, Info-apropos-find-file)
21363 (Info-apropos-find-node, Info-apropos-matches): New functions.
21364 (info-apropos): Move part of code to `Info-apropos-find-node' and
21365 `Info-apropos-matches'.
21366 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21367 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21368 for a virtual file instead of checking a fixed list of node names.
21370 * simple.el (async-shell-command): New command.
21372 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21374 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21375 instead of `mount-info'.
21377 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21379 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21380 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21382 2009-07-02 Kenichi Handa <handa@m17n.org>
21384 * international/mule.el (set-keyboard-coding-system): Force *-unix
21385 coding-system to avoid eol conversion.
21387 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21389 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21390 Add handler for `process-file', `shell-command' and
21391 `start-file-process'.
21392 (tramp-gvfs-handle-shell-command)
21393 (tramp-gvfs-handle-start-file-process)
21394 (tramp-gvfs-handle-process-file): New defuns.
21395 (tramp-synce-list-devices): Simplify check for existence of property.
21397 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21399 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21401 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21403 * language/korean.el (set-language-info-alist): Add korean-cp949,
21406 2009-07-01 Kenichi Handa <handa@m17n.org>
21408 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21410 * international/encoded-kb.el: Deleted.
21412 * international/mule.el (set-keyboard-coding-system): Perform the
21413 necessary setup here instead of calling encoded-kbd-setup-display.
21415 2009-07-01 Glenn Morris <rgm@gnu.org>
21417 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21419 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21421 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21423 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21425 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21426 Handle also the 'rename case, when setting file modes. (Bug#3712)
21427 (tramp-default-file-modes): Remove execute permissions.
21429 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21430 (top): Add a default for "synce" in `tramp-default-user-alist'.
21431 Add completion function for "synce" method.
21432 (tramp-hal-service, tramp-hal-path-manager)
21433 (tramp-hal-interface-manager, tramp-hal-interface-device):
21435 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21436 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21439 * net/trampver.el: Update release number.
21441 2009-06-30 Kenichi Handa <handa@m17n.org>
21443 * international/fontset.el (setup-default-fontset): Add CJK fonts
21444 for symbols and the other miscellaneous characters.
21446 * language/korea-util.el (setup-korean-environment-internal):
21447 Make char-width-table suitable for Korean environments.
21448 (exit-korean-environment): Cancel above.
21450 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21451 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21452 setup-function to make char-width-table suitable for respective
21453 environments, and an exit-function to cancel that.
21455 * language/japan-util.el (setup-japanese-environment-internal):
21456 Call use-cjk-char-width-table with arg `ja_JP'.
21458 * international/characters.el (cjk-char-width-table): Delete it.
21459 (cjk-char-width-table-list): New variable.
21460 (use-cjk-char-width-table): New arg local-name.
21461 (use-default-char-width-table): Fix for the case that Emacs is
21462 already using the default char-width-table.
21464 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21466 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21467 modes mandatory. (Bug#3712)
21469 2009-06-29 Alan Mackenzie <acm@muc.de>
21471 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21472 correction between the visible width of TABs and their number of bytes.
21474 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21476 * server.el (server-buffer-done): Prevent kill-buffer from
21477 prompting by clearing the buffer modification flag (Bug#3696).
21479 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21481 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21482 (verilog-endcomment-reason-re): Support unique case and priority case.
21483 (verilog-basic-complete-re): Support localparam lineup.
21484 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21485 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21487 (verilog-leap-to-case-head): Now support *nested* unique &
21488 priority case statements.
21489 (verilog-auto-lineup): Make just declarations the default (as it
21491 (verilog-leap-to-case-head): Support priority/unique case statements.
21492 (verilog-auto-lineup): Rework to give users radio buttons to
21493 select the various styles of automatic lineup.
21494 (verilog-error-regexp-alist): Rework to support the XEmacs style
21495 of error regular expressions from compilers, lint tools &
21496 simulators. Note that GNU Emacs has made it impossible for a mode
21497 to load such things.
21498 (electric-verilog-terminate-line, verilog-indent-declaration)
21499 (verilog-auto-wiure): Rework for radio button selection of
21500 auto-lineup selection of specification of auto lineup.
21501 (verilog-beg-of-statement-1): Redesign to support proper operation
21502 in additional code, based on testing with auto-lineup.
21503 (verilog-calculate-indent, assignments & declarations)
21504 (verilog-backward-token): Enhance to support auto-lineup of
21505 assignments & declarations.
21506 (verilog-in-directive-p, verilog-at-struct-p): New function for
21507 easy test of whether we are.
21508 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21509 to support safe execution at almost anyline.
21510 (verilog-calc-1): Properly support indenting deep inside generate
21512 (verilog-init-font): Remove definition & use of verilog-init-font,
21513 as it is redundant with font-lock-defaults.
21514 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21515 to avoid circular calls if syntax-ppss is a function (as is the
21516 case now in 22.x GNU Emacs) as that function would sometimes call
21517 itself, leading to (nearly) infinite recursion.
21518 (verilog-ovm-begin-re, verilog-ovm-end-re)
21519 (verilog-ovm-statement-re, verilog-leap-to-head)
21520 (verilog-backward-token): Add support for OVM macros. Some are
21521 complete statements, and others open and close scopes like begin
21523 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21524 (verilog-defun-level-generate-only-re): Really fix the defun-list
21526 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21527 coverpoint, constraint and cross statements.
21528 (verilog-defun-level-list, verilog-generate-defun-level-list)
21529 (verilog-all-defun-level-list): Redo these specifications - it is
21530 too hard to support eval-when compile aggregation of lists also
21531 built at when-compile time.
21532 (verilog-defun-level-list): Place defconsts of variables used in
21533 building regular expressions which are built in eval-when-compile
21534 bodies in the same eval-when-compile body to facilitate compile
21536 (verilog-beg-block-re-ordered): Support indenting
21537 virtual/protected tasks and functions.
21538 (verilog-defun-level-list, verilog-in-generate-region-p)
21539 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21540 indentation of some module items (generate items).
21541 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21542 across virtual/protected tasks and functions.
21544 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21546 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21547 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21548 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21549 in concatenations. Reported by Yishay Belkind.
21550 (verilog-auto-ascii-enum): Support one-hot state machines in
21551 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21552 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21553 modport in AUTOINST and add vl-modport for users.
21554 Reported by David Rogoff.
21555 (verilog-auto-inout-module, verilog-auto-inst)
21556 (verilog-decls-get-interfaces, verilog-insert-definition)
21557 (verilog-insert-one-definition, verilog-read-decls)
21558 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21559 (verilog-sig-modport, verilog-signals-combine-bus)
21560 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21561 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21562 Suggested by David Rogoff.
21563 (verilog-repair-open-comma): Fix non-insertion of comma when
21564 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21565 (verilog-make-width-expression): Simplify [A-1:0] expression
21566 widths to just {A{1'b0}}.
21567 (verilog-mode): Cleanup checkdoc warnings.
21568 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21569 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21570 inputs/outputs or data type. Suggested by Vasu Kandadi.
21571 (next-error-last-buffer): Fix byte-compiler warning.
21572 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21573 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21574 or shell command text during AUTO expansion. Suggested by Tad Truex.
21575 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21576 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21577 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21578 in AUTOINOUT. Reported by Matthew Lovell.
21579 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21580 causing use of <= assignments. Reported by Alex Reed.
21581 (verilog-read-decls): Fix triand, trior, wand, wor to be
21582 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21583 (verilog-extended-complete-re): Support import "DPI-C" functions.
21584 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21585 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21586 (verilog-insert-date, verilog-insert-year)
21587 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21588 Windows systems. Reported by Michael Potts.
21589 (verilog-read-module-name): Fix AUTOINST when the child module
21590 declaration's name is a tick define. Reported by Elliot Mednick.
21591 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21592 passed to next parameter's definition. Reported by Bruce T.
21593 (verilog-read-decls): Fix detecting "parameter int" when using
21594 AUTOINSTPARAM. Reported by Bruce T.
21595 (verilog-goto-defun): Fix goto not finding modules unless first
21596 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21597 (verilog-mode): Expand -f flag arguments on entry to mode so
21598 verilog-goto-defun will work. Reported by Lawrence Butcher.
21599 (verilog-getopt): Expand environment variables in -f file
21600 arguments. Suggested by Lawrence Butcher.
21601 (verilog-set-define): Fix "Symbol's value as variable is void"
21602 when reading enumerations.
21603 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21604 Suggested by Stephen Peltan.
21605 (verilog-read-defines): Fix reading of enumerations in include
21606 files. Reported by Steve Peltan.
21608 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21610 * files.el (trash-directory): Fix defcustom type.
21612 2009-06-28 Juri Linkov <juri@jurta.org>
21614 * help-fns.el (describe-function-1): Correctly locate adviced
21615 functions in hyperlink (Bug#2438).
21617 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21619 * files.el (trash-directory): Change default to nil.
21620 (move-file-to-trash): If trash-directory is nil and
21621 system-move-file-to-trash is unbound, perform freedesktop-style
21624 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21626 * files.el (move-file-to-trash): Add freedesktop trash
21629 2009-06-28 Glenn Morris <rgm@gnu.org>
21631 * autorevert.el (global-auto-revert-non-file-buffers)
21632 (global-auto-revert-mode): Doc fixes.
21634 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21636 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21638 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21640 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21641 opened an X connection before calling x-get-resource (Bug#3194).
21643 * play/doctor.el: Remove reference to obsolete website.
21644 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21646 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21648 Remove find-file-not-found-hook VC method. (Bug#2757)
21649 * vc-hooks.el (vc-file-not-found-hook)
21650 (vc-default-find-file-not-found-hook): Remove functions.
21651 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21652 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21655 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21657 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21659 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21660 compatibility function for `looking-back'.
21662 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21663 Use `ispell-looking-back'.
21665 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21667 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21668 rather than `filename'.
21670 2009-06-23 Miles Bader <miles@gnu.org>
21672 * face-remap.el (text-scale-set): New function.
21674 2009-06-23 Glenn Morris <rgm@gnu.org>
21676 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21678 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21680 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21682 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21684 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21685 Simplify Persian conditionals.
21687 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21688 variable `filename'.
21690 * comint.el (comint-insert-input): Doc fix.
21692 * Makefile.in (ELCFILES): Fix typo in previous change.
21694 2009-06-23 Miles Bader <miles@gnu.org>
21696 * cus-start.el: Add entry for `recenter-redisplay'.
21698 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21700 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21701 Add an optional argument for the backend, use it instead of
21702 calling vc-backend.
21703 (vc-mode-line): Add an optional argument for the backend.
21704 Pass the backend to vc-state and vc-working-revision. Move code for
21705 special handling for vc-state being a buffer to ...
21707 * vc-rcs.el (vc-rcs-find-file-hook):
21708 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21710 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21711 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21712 vc-stay-local-p and vc-mode-line calls.
21714 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21715 (vc-cvs-diff, vc-cvs-annotate-command)
21716 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21717 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21718 vc-mode-line calls.
21720 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21722 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21723 backend when calling vc-mode-line.
21724 (vc-register): Do not create a closure for calling the vc register
21725 function, call it directly.
21727 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21729 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21730 to make it obvious item can be clicked.
21732 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21734 2009-06-23 Kenichi Handa <handa@m17n.org>
21736 * language/korea-util.el (korean-key-bindings): Change the binding
21737 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21740 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21742 Sync with Tramp 2.1.16.
21744 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21746 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21747 when a loading of a package fails. Completion function for rsync
21748 is `tramp-completion-function-alist-ssh'.
21749 (all): Replace all calls of `split-string' and
21750 `tramp-split-string' by `tramp-compat-split-string'.
21751 (tramp-default-method): Use `tramp-compat-process-running-p'.
21752 (tramp-default-proxies-alist): Allow also Lisp forms.
21753 (tramp-remote-path): Add choice "Private Directories".
21754 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21755 (tramp-domain-regexp): Allow also "-", "_" and ".".
21756 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21757 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21758 (tramp-debug-message): Insert header line in debug buffer.
21759 (tramp-handle-directory-files-and-attributes-with-stat):
21760 Care about filenames with spaces, or starting with "-".
21761 (tramp-handle-dired-uncache): New defun.
21762 (tramp-handle-insert-directory): Don't flush the directory from
21763 cache, this is handled by `dired-uncache' now.
21764 (tramp-handle-insert-file-contents): Improve error handling.
21765 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21766 Quote `tramp-end-of-output'.
21767 (tramp-action-password): Improve trace message.
21768 (tramp-check-for-regexp): Both echoes must be present, before removing.
21769 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21770 (tramp-compute-multi-hops): Eval cons cells of
21771 `tramp-default-proxies-alist'.
21772 (tramp-maybe-open-connection): Use the same command pattern for
21773 first hop and further hops.
21774 (tramp-wait-for-output): Remove handling of newlines.
21775 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21776 (tramp-split-string): Remove function. It is handled in
21779 * net/tramp-cmds.el (tramp-bug):
21780 Recommend `tramp-cleanup-all-connections' in the bug mail.
21782 * net/tramp-compat.el (tramp-compat-split-string)
21783 (tramp-compat-process-running-p): New defuns.
21785 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21786 for `dired-uncache'.
21788 * net/tramp-gvfs.el: New package.
21790 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21791 Add handler for `dired-uncache'.
21792 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21794 * net/trampver.el: Update release number. Make version check fit
21797 2009-06-22 Jim Meyering <meyering@redhat.com>
21799 Automatically handle .xz suffix (XZ-compressed files), too.
21800 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21801 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21803 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21804 Nick Roberts <nickrob@snap.net.nz>
21806 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21807 repository (http://sphinx.net.ru/hg/gdb-mi/).
21809 2009-06-22 Glenn Morris <rgm@gnu.org>
21811 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21812 `mode' and `eval' entries. (Bug#3430)
21814 * Makefile.in (ELCFILES): Add fadr.elc.
21816 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21817 differing behavior of \n and ^ in strings. (Bug#3385)
21819 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21821 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21823 (lisp-indent-function): Make it a defcustom.
21825 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21827 * progmodes/gdb-ui.el: Replace with ...
21828 * progmodes/gdb-mi.el: ... this file.
21829 * progmodes/gud.el: Modify for gdb-mi.el.
21831 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21833 * fadr.el: New file.
21835 See ChangeLog.14 for earlier changes.
21837 ;; Local Variables:
21841 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21843 This file is part of GNU Emacs.
21845 GNU Emacs is free software: you can redistribute it and/or modify
21846 it under the terms of the GNU General Public License as published by
21847 the Free Software Foundation, either version 3 of the License, or
21848 (at your option) any later version.
21850 GNU Emacs is distributed in the hope that it will be useful,
21851 but WITHOUT ANY WARRANTY; without even the implied warranty of
21852 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21853 GNU General Public License for more details.
21855 You should have received a copy of the GNU General Public License
21856 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.